WindAid is also electronics

Posted on April 25, 2018 by Roberto Weiser 

Back in the summer of 2014 I had one of the best experiences of my life (sounds cheesy and the start of a teenage girl movie doesn’t it?). I was just finishing university and graduating with an electronics engineering bachelor degree at the university of Plymouth and before getting hooked into a 9-5 job I was looking to have an experience where I could combine three different factors:

  1. Traveling
  2. Engineering (in particular electronics and renewable energies)
  3. Helping other people

After a long web search I applied to and contacted different organizations and companies. After a few months I had the opportunity of either going to Peru with WindAid or Rwanda with Practical Action. To be honest I got scared with the Rwanda opportunity as I had to travel the country on my own going from village to village assessing them energetically. The work was very interested but I got scared given its recent history :), therefore, I decided to go to Peru. Best decision ever!

With that said, one of the best things I did at WindAid was to use my skills as an electronics engineer to create a device that could actually make a difference. After analyzing the electronic devices WindAid uses for its electricity generation system (battery charge controller and inverter), it was obvious that they could benefit from having their own devices custom made and locally built, after talking to the WindAid Team and understanding what they were looking for I decided to take on  the design of the first WindAid battery charge controller; let me tell you how did I arrive to that conclusion:

  • WindAid was paying a high cost to import the device. The controller itself wasn’t that expensive but the shipping and customs made the overall cost quite high.
  • Because the model used was a generic cheap controller from the far east, there was no documentation available. Meaning that if there was an issue with the controller there was no contact point to ask for help.
  • No capability of repairing: because the circuit was unknown and there was no local technical support. A lot of the controllers ended up in the bin if they suddenly stopped working.
  • Controller had no Maximum Power Point Tracking (MPPT) function: this optimization has the potential of making the energy conversion process more efficient. Since this was a simple controller it didn’t feature this function.

The team was excited to have me undertake the project since that meant it would be highly beneficial for the organization to have its own controller. After the initial R&D costs, the controller production cost would be half the price compared to the current one. Also, by having the knowledge of the insides of the controller it would make it enormously easier to repair in case of malfunction.

What’s the battery charge controller for?

The main purpose of the battery charge controller is to monitor the voltage levels of the battery and make sure they are not too high or too low, and in case they are, take actions such as disconnecting the turbine from the battery.

Controller Development

Requirements

  1. Must be easy to assemble for people without previous experience
  2. Must be easy to repair
  3. Must protect the battery from overcharge and undercharge
  4. Must show the user the battery level
  5. Must convert the AC generated voltage from the turbine to DC voltage
  6. The controller must be designed so it works with a 12V battery
  7. Must be compatible and able to work with WindAid 1.7 wind turbine model
  8. Must have an MPPT stage to improve the energy conversion and extraction process
  9. Must be robust and have a fail safe mode in case of failure
  10. Components must be able to be sourced from local suppliers
  11. Materials selected for the enclosure must be sustainable (low embodied, energy, local, recyclable)

Electronics design

The proposed design for the controller was the following depicted in the block diagram below:

Circuit elements and components

Series capacitors

Experimental use as it has the possibility of increasing the efficiency of the energy extraction process as described “Analysis of wind power for battery charging” by E. Mulijadi.

Power rectifier

This element converts (rectifies) the sinusoidal voltage from the wind turbine generator into a DC voltage in order to charge and work with the 12V battery.

Voltage sensors

Measure the battery voltage to determine under and over voltage conditions. It is also used in the MPPT algorithm calculations

Current sensors

Measure the output current of the generator that goes into the battery. It is used to determine if the charge must be stopped in case of over current and for the MPPT algorithm calculations.

Relays (switches) for battery protections and DC/DC bypass

The relay close to the generator is used in case of overcharging and it connects a load to the generator so most of the current is drawn that way. The other relay is used to disconnect the battery from the inverter, this is used in case of undercharging so the battery is not used in case it is near the under voltage level. Also a switch was placed in order to bypass the DC/DC converter in case this fails.

DC/DC converter

A DC/DC converter of SEPIC topology was used to implement the MPPT optimization. The DC/DC converter acts as an element that changes the impedance seen by the source from the load, therefore has the ability to change the rotation speed of the generator thus allowing it to reach the maximum power point.

Microcontroller

The device needs a MCU to perform all the MPPT algorithm calculations, sense and calculate the battery voltage and current, drive the DC/DC converter control signal and open/close the protection relays.

LCD screen

A LCD screen was added to display useful information such as voltage, current, power and battery level.

 

Circuit schematics

From the block diagram, commercial components and detailed design was done producing the schematics:

Printed Circuit Board design

After finishing the circuit diagram and schematics a PCB was designed taking into account the following considerations:

  • Similar size as commercial options
  • Components must be THT so they can be easily soldered and unsoldered
  • Labels with important information must be added
  • Holes for M3 screws must be placed

 

Software design

The MCU was programmed with a custom made code written in C following a finite state machine topology:

 

State Functions Conditions
Initialization I/O config, peripherals initial setup, check state of sensors Only happens once when device is powered up
Read sensors Sensors are read and next state is decided according to the readings Always comes back after another state has completed its routine
Simple Charge Direct connection from generator to battery without using the DC/DC converter VBATT < 14.5V

IGEN < 7.8A

BYPASS SW = HIGH

MPPT Charge MPPT algorithm is executed VGEN > 4V

BYPASS SW = LOW

VBATT < 14.5V

IGEN < 7.8A

No Charge Battery charging is interrupted and the parallel resistance is connected to the generator VBATT > 14.5V

VGEN > 4V

IBAT > 7.8A

 

Mechanical design

Unfortunately there was no enclosure made for the controller and it was delivered as in the following picture:

If you are an enclosure designer or you just like to make boxes we need your help!

The controller will be on a harsh environment so it needs a good enclosure that can withstand sand, dust, moisture and also dissipate heat or ventilate. Ideally will be made of steel as it can be easily found in the region (lots of mines around) and can be reused with other controllers. The initial enclosure concept was the following:

Current state and what’s next

After assembling the whole device, initial testing was made to validate its core functions with satisfactory results. These initial test consisted in measuring the accuracy of sensors, opening/closing of relays and correct functioning of the DC/DC converter.

The project is currently still in development and being tested with real turbines. Also a modular version was designed in order to increase its repairability and ease of teaching for the volunteers and local communities.

The next step is to do a vast amount of testing with real systems to validate the functionality of the controller. Particularly the MPPT feature.

After finishing with testing and validation, the boards can be mass produced and distributed around the communities. Because this is not a commercial product and it is not next to communication infrastructure, EMC compliance will not be necessary (yet).

Are you interested in developing electronic devices? Do you think we should include sustainable design principles in the development process? Do you agree that engineers should only create devices to improve human existence?

If these questions resonate with you please visit Developpa and join its mailing list to learn about electronics development, sustainable design and create stuff for good! Also you will be able to access all the design worksheets and resources to help you complete your product development.

The WorldWind Issue 4

The WorldWind Issue 4

In this issue of the WorldWind newsletter, you can read about our remote monitoring project, progress with building the Playa Blanca Community Wind Workshop, intern roles currently available and what’s coming next.

The WorldWind Issue 3

The WorldWind Issue 3

In this third issue of the WorldWind newsletter, we give you updates on WindAid Institute’s work with wind turbines in since our last newsletter update!

We hope you enjoy reading all about the projects over the summer, the revival of the Cajamarca Region projects and what’s happening in the volunteer house and the workshop.

Press Release 2016

WindAid launches first “Community Wind Workshop” in the small fishing village of Playa Blanca in Northern Peru. Read our official 2016 press release here