Monday, September 1, 2014

Browse » home» » » » Simple Solar Circuits

Simple Solar Circuits

Simple Solar Circuits

SolarCircuits
Simple Solar Circuits:
How to get started adding solar power to your small electronics projects. Use the sun to power small solar and battery powered night lights, garden lights, and decorations for halloween.

SolarCircuits   SolarCircuits
The first part of a solar schema is… a device for collecting sunlight. To keep things simple, we’re using a single nicely made small solar panel for all of these diagram. The panel that we’re using for these diagram is this one, part number PWR1241 from BG Micro, about $3 each. This is a monolithic copper indium diselenide solar panel, apparently printed on a 60mm square of glass and epoxy coated for toughness. On the back of the panel are two (thin) solderable terminals, with marked polarity. (While you can solder directly to the terminals, be sure to stress-relieve the connections, e.g., with a blob of epoxy over your wires.) In full sunlight the panel is specified to produce 4.5 V at up to 90 mA, although 50 mA seems like a more typical figure.
[Before we move onto our first examples, a word of caution: These are small simple diagram. In building these, we will quite intentionally gloss over a number of minor details and issues that are unimportant at these low powers, but could become critical if you were to try to scale up.]
Direct Drive:
The most obvious way to use power from a solar panel is to connect your load directly to the output leads of the solar panel.
solar1
Here are a couple of examples of this in practice:
SolarCircuits   SolarCircuits
On the left, we’ve hooked up one of our little solar panels directly to a small motor taken from an old CD player. When you set it out in the sunlight or bring it close to a lamp, the motor starts to spin. On the right we’ve hooked one of the panels right up to a high-power blue LED. The reason that we’ve used a high-power LED here is that it can easily withstand 50-90 mA from the solar panel– a “regular” LED designed for 20 mA would be destroyed by that current. (The LED is the same type that we used for our high-power LED blinking schema.)
Interruption-resistant direct drive:
The “direct drive” diagram work well for their design function, but are rather basic. They provide no energy storage, and so are quite vulnerable to blinking out when a bird or cloud passes overhead. For some applications, like running a small fan or pump, that may be perfectly acceptable. For other cases, like powering a microcontroller or other computer, a brief power interruption can be disruptive. Our next schema design adds a supercapacitor as a “flywheel” to provide continued power during brief interruptions.
solar2
SolarCircuits
Instead of adding a single supercapacitor, you might notice that we’ve actually added two. That’s because the supercaps that we had on hand are rated for 2.75 V– not enough to handle the 4.5 V output of the panel when sunlight is present. To get around this limitation, we used two of the caps in series, for which the voltage ratings add, giving us a barely-okay total rating of 5.5 V. (Note: be careful adding capacitors of different values in series– the voltage ratings may scale in non-obvious ways.) When first exposed to the light, this schema takes about 30 s to 1 minute to charge the capacitors enough that the LED can turn on. After it’s fully charged, the schema can be removed from the sunlight and still drive the blue LED for about 30 s to 1 minute– a very effective flywheel for light duty applications.
Adding a battery
While interruption resistance is nice, a capacitor generally does not provide sufficient energy storage to power a solar schema for extended periods of time in the dark. A rechargeable battery can of course provide that function, and also provides a fairly consistent output voltage that a capacitor cannot. In this next schema, we use the solar panel to charge up a NiMH rechargeable battery and also LED off of the power, which will stay on when it gets dark out.
solar3
SolarCircuits
In this schema the solar panel charges up a 3-cell NiMH battery (3.6 V). Between the two is a “reverse blocking” diode. This one-way valve allows current to flow from the solar panel to the battery, but does not allow current to flow backwards out of the battery through the solar panel. That’s actually an important concern because small solar panels like these can leak up to 50 mA in the reverse direction in the dark. We’re using a garden-variety 1N914 diode for reverse blocking, but there are also higher-performance diodes available that have a lower “forward voltage.”
In this design we are continuously “trickle charging” up the battery when sunlight is present. For NiMH batteries and sealed lead-acid batteries (the two types that are most suitable for this sort of un-monitored schema) it is generally safe to “trickle” charge them by feeding them current at a rate below something called “C/10″. For our 1300 mAh battery cells, C/10 is 130 mA, so we should keep our charging below 130 mA; not a problem since our solar panels only source up to 90 mA.
The other thing to notice about this schema is that it’s pretty darned inefficient. The LED is on all the time, whenever the battery is at least slightly charged up. That means that even while the schema is in bright sunlight it is wasting energy by running the LED: a sizable portion of the solar panel current goes to driving the LED, not to charging the battery.
Detecting Darkness
We have written recently about how to make a useful dark-detecting LED driver schema. That schema used an infrared phototransistor. To add a darkness detecting capability to our solar schema is even easier, actually, because our solar panel can directly serve as a sensor to tell when it’s dark outside.
solar4
SolarCircuits
To perform the switching, we use a PNP transistor that is controlled by the voltage output from the solar panel. When it’s sunny, the output of the panel is high, which turns off the transistor, but when it gets dark, the transistor lets current flow to our yellow LED. This schema works very well and is a joy to use– it would make a good upgrade to the dark detecting pumpkin to make it go solar with this schema.
A solar garden light schema
While the last schema works well for driving a yellow or red LED, it runs at 2.4 V (the output of the NiMH battery), it does not have sufficient voltage to drive a blue or white output LED. So, we can add to that schema the simple Joule Thief voltage booster to get a good design for a solar garden light: A solar-charged battery with a dark detector that drives a Joule Thief to run a white output LED.
solar5
Naturally, you’d want to give this a tough, weatherproof enclosure if it were going to be run outside. (A mason jar comes to mind!) This schema is actually very close to how many solar garden lights work, although there are many different diagram that they use.
Adding a microcontroller
Our last schema examples extend the previous designs by adding a small AVR microcontroller. We use the voltage output from the solar panel again to perform darkness detection, but instead take it to an analog input of the microcontroller. The microcontroller is potentially a very low current, efficient device that lets you save power by not running the LED all the time, but (for example) waiting until an hour or two after darkness and/or fading the LEDs on or off, or even intermittently blinking for very low average power consumption.
solar6
SolarCircuits
In this example we have the PWM (pulse-width modulation) output of the microcontroller driving a Joule Thief style voltage booster to run the white LED. (This is one of many, many different working designs for this sort of boosting diagram.)
We also made a second version of this schema, with two red LED outputs to make a spooky Jack-o’-lantern:
solar7
SolarCircuits

White
To finish it up, we carved a beautiful white pumpkin and added this schema to make our microcontroller-driven, dark-detecting, solar-powered programmable pumpkin, which faded its eyes in and out one at a time. Note the long leads on the solar panel and wires to the LEDs to reach.
We hope that you might find this introduction to simple solar diagram helpful; let’s see those solar jack-o-lanterns!

No comments:

Post a Comment