Showing posts with label capacitor flashlight. Show all posts
Showing posts with label capacitor flashlight. Show all posts

Tuesday, August 14, 2012

A more practical capacitor-Powered Flashlight

In an earlier post, "A mechanically-powered capacitor flashlight" I wrote about those cheap LED-based "shake-powered" flashlights that were seen on many an annoying commercial several years ago.

You might recall that their promise was that they would never need batteries and one simply shook them back-and-forth to generate all the power that was needed.  In that same post I also noted that many of these same flashlights actually did contain batteries and that while they still worked if those batteries were removed, it took several minutes of shaking to get any usable light and that it was quite an effort to maintain a useful light output!

At the end of this article, I mentioned a few things that might make such a light more practical and useful, including:
  • A better capacitor.  The cheap flashlight had a rather small (0.22 Farad) capacitor for energy storage - not very much energy, really, approximately 6.6 Joules maximum or less than 1/1000th of what a single AA alkaline cell contains!  Being a standard "super cap" its internal resistance was quite high (10's of ohms) which meant that a large percentage of the energy dumped into it during charging and that extracted from it to run the LED was lost as heat - not much heat, but heat just the same.
  • A switching converter to run the LED.  The LED didn't even begin to light until 2.7-3.0 volts or so appeared across the capacitor and it isn't usefully bright until there is 3.6-4.2 volts available which meant that a significant portion of the energy in the capacitor (all of that at voltages of 3-ish volts and below) was unusable.  A simple switching converter would allow both extraction of that additional energy as well as regulate the LED's current so that its brightness was more consistent over the entire charge range and, in theory, could also be adjusted upwards or downwards as necessary.  The efficacy of trying this with a capacitor of high internal resistance would probably be dubious...
One of the conclusions in this earlier article was that the back-and-forth shaking motion wasn't a very efficient means of generating electricity - both in terms of expended muscle energy (since you have to move and stop the entire mass of your arm!) and compared to a conventional crank-type generator - and it would necessarily be larger and heavier in order to be more efficient.  By using a conventional spinning generator and gearing up rotational speed, one can more-efficiently rotate a smaller magnet faster amongst a larger number of poles with a motion that requires less human effort.  What's more, a crank-type generator is quite "scalable" in its input:  You could crank it fairly gently for a long time or do so vigorously for a shorter time and get roughly comparable results in terms of total energy output - within reason, of course.
Figure 1:
The prototype capacitor-based flashlight using a Maxwell Energy
2600 Farad, 2.5 volt "Boostcap".
Click on the image for a larger version.

What is more likely in most situations is that one actually has a source of power somewhere (an already-charged battery, solar panels, a plug-in power supply, etc.) that can be used to charge the flashlight and that it's unnecessary to actually bring along the means of charging the battery with you.

Such devices are already available in the form of batteries, particularly rechargeables, so having a capacitor-powered rechargable flashlight is more of an intellectual exercise rather than one of practicality, but being practical has not always been much of a deterrent to the experimenting nerd!

Some time ago The Electronic Goldmine in Arizona had a large quantity of  Maxwell BCAP0010 BoostCaps tm* available. These were obtained for just $6 each had a rated capacity of 2600 Farads (yes, that's 2.6 kF or kiloFarads!) at 2.5 volts with a "surge voltage" of 2.8 volts - whatever that means...

Comment:  I noted that at other times they had models that were rated at around 3 kiloFarads at 2.7 volts, but these were sold for far more than $6 each.  Alas, as is the nature of surplus, the supply was limited and they sold out fairly quickly.  Sometimes these types of capacitors will show up elsewhere on the surplus market so if you want some, it would pay to look around!

Compared with the 0.22F capacitor in the original flashlight, these units have 10000+ times larger capacity (albeit lower voltage) and very low internal resistance - in the milliohm area - as their intended use was to provide a large burst of current for a short time, say, on an electric vehicle.

To demonstrate, I charged one of these capacitors to 2.5 volts and then I carefully shorted out the terminals with a length of #14 AWG bare copper wire, holding it in pliers.  Within a second or so the current from the capacitor had burned this wire open and in so-doing, it only lost about 0.1-0.15 volts!  For these particular capacitors the maximum rated current is on the order of 600 amps so I have no doubt that I could have repeated the same trick (not recommended!) with larger gauge wire!

What this means is that resistive losses of this type of capacitor (e.g. a "Boostcap") are negligible when it comes to its being charged by a power source and then being discharged by an LED.  As an example, let's assume that we need to draw 100 milliamps to run our hypothetical LED circuit from two different types of capacitors:
  • A standard "supercap" with an internal resistance of 10 ohms - an nice, round value, typical of these types of capacitor.
  • A "boostcap" power system with an internal resistance of 100 milliohms - that value being mostly that of thin wires connecting to the capacitor:  The capacitor itself would likely have an internal resistance a fraction of this!
If we take the formula:  P = I^2 R (that is, power equals the square of the current multiplied by the resistance) with the resistance values above and assuming an LED current of 100 milliamps - and ignoring other losses we get:
  • A loss of 100 milliwatts from a standard super cap.
  • A loss of 1 milliwatt from the "boostcap" and its connecting wires.
Now, if that LED were running from, say, 2 volts at 100 milliamps, the total LED power in each case would be 200 milliwatts - but you can see that the super cap would be losing 100 milliwatts of that in heat while the boost cap would be losing just 1 milliwatt - a considerable difference!  (This assumes that we are somehow ignoring the power loss of the resistance when we are running our LED...)

Clearly, the use of a boostcap offers superior efficiency when discharging, but it also works in reverse:  One could dump many amps into the capacitor (if you used thicker connecting wire) and charge it very quickly and efficiently.

We still have the problem of running the LED, however.  The boostcap capacitors that I obtained were designed to be charged to just 2.5 volts or so and this is too low to run a standard white LED, which needs 3.6-4.2 volts just to light up brightly, so an electronic boost circuit is required and this was accomplished using a variation of the ubiquitous "Joule Thief" circuit:
Figure 2:
Schematic of the flashlight.  This diagram includes a "blocking oscillator" (a.k.a. "Joule Thief") and a current sensing circuit.
See the text for recommendations on transistors to use for Q1.
Click on the image for a larger version.

Important Note:
  • This discussion assumes that one is using an LED with a 3.6 volt threshold as is typical for most white and blue LEDs.  LEDs with lower voltages (e.g. typical red or yellow that operate in the 1.6-2.5 volt region) can't be used with this circuit because their operational voltage would be below that of the full-charge voltage of the capacitor and would be immediately destroyed by the current, from the capacitor, through T1.

While there are more efficient circuits out there, there are almost none that are simpler than the Joule Thief and adaptable to parts that might be found in scrounging around the junk box.

What I came up with is the circuit in the diagram.  At it's heart (Q1, T1, R1, LED1)  it is the Joule Thief circuit comprising a "Blocking Oscillator (link)" that, using inductive "kick" from T1, will produce a voltage higher than that of the power supply (our capacitor), sufficient to light the LED.

While the simplest version of the circuit using the aforementioned components did work, it was very bright at the higher capacitor voltage (above, say, 1.8 volts) but it got noticeably dimmer - but still useful - at lower voltages.  Since the intent was to provide a "useful" amount of light I decided that I didn't need "maximum brightness" at the higher voltages and that I'd be happy with a much dimmer - but consistent - brightness at a much wider range of capacitor voltages.  This also had the obvious and beneficial side-effect of allowing a much longer run-time since, overall, the power consumption was reduced to a fairly steady level over the entire voltage range.

To regulate the LED current a simple circuit was added consisting of T2, D1, R2, R3, C2 and Q2.  The way this circuit works is that the AC current through the LED goes through the primary of T2 and is then integrated by D1, R3 and C2 and if this resulting voltage is too high (correlating with higher average LED current) Q2 would conduct, "pinching" off the drive to Q1.

Originally, a circuit consisting simply of a series resistor along with a transistor like Q2 was tried in which the current through the resistor - if it exceeded the 0.6 volts required to turn on the transistor - would be used to turn off the oscillator and regulate it, but this added resistor required that a bit of the LED's current to be lost as heat through it - plus, it just didn't work very well!

Using a simple transformer arrangement to "transduce" the current into voltage reduced the efficiency losses that occurred with a series resistor while still being fairly simple.  Being simple also meant that there was still a fair amount (say, 25% or so) of LED brightness variation between the target 1.1-2.5 volt range, but that was considered to be acceptable for a simple circuit.  This circuit is also somewhat affected by temperature owing to the fact that not only do the various current gains of the transistors change, but so do the threshold voltage of the transistors and D1.

In this circuit there's really only one critical component and that's Q1, an NPN transistor that was specifically designed for use in photoflash inverters and as such it can switch several amps of current with low collector-emitter drop, this rating being several times that of the more ubiquitous 2N3904 or equivalent.  While a standard NPN like the '3904 will work, it will not work very as well and will be much less efficient.  The KSD5041 may be bought from Mouser Electronics, substituted with a 2SC695, an NTE11 or maybe even found on the flash board of a discarded disposable camera.

An even better alternative for Q1 was suggested by Brooke Clarke (a link to one of his web pages analyzing the Joule Thief may be found here) and that is the Zetex ZTX1048A, available through Mouser and Digi-Key for approximately $1 each in small quantities.  This device - like the KSD5041 and 2SC695 - offer increased efficiency by virtue of its very low collector-emitter saturation voltage - an important consideration when one has conflicting needs of both high current and low voltage in a circuit such as this and according to the specification sheets, the '1048 offers the possibility of even lower saturation voltage than the '5041!

Figure 3:
The capacitor flashlight's circuitry.
Click on the image for a larger version.
The two inductors were toroids salvaged from a defunct computer power supply - and even some of the original wire was salvaged!  In this particular power supply - and several others that I have seen - it's common to see several different-sized toroidal inductors and I happened to choose the larger one for T1.

The circuit itself was built "dead bug" - that is, components were hanging in free space, soldered to each other's leads with the entire assembly being "potted" in thermoset ("hot-melt") glue to stabilize the components to prevent shorting and lead breakage.  As can be seen from the pictures a small piece of PVC pipe was used to not only contain the circuit, but also to shield the positive terminal of the capacitor so that it was not possible to accidentally short it out - something that could conceivably start a fire!

The LED itself is a 3-watt Luxeon III Star that I had kicking around but it's not being run at anywhere near its maximum ratings so about any 1-3 watt white LED that you might find would suffice.  While it's not running a watt of power, the converter probably produces too much output for a single, epoxy-cased white LED, but 3-6 identical units in parallel would probably have be fine with the added benefit that they could be aimed so that their built-in lenses could be used to advantage to shape the resulting beam of light.

Originally, I considered putting a lens on the single LED to concentrate the light but I soon realized that without using a special lens designed specifically for this LED I'd end up with less light overall due to optical inefficiencies.  Even with the LED being "bare" its light output is more than enough to be useful, even walking along a mountain trail in the dark, and its beam is broadly cast so that one isn't as subject to the "spotlight effect" of some LED flashlights where you can see only that which is directly in the beam while the surroundings disappear!

To charge the flashlight I set a variable-voltage bench supply at exactly 2.60 volts and then applied it to the connector (not visible in the pictures) which is wired directly across the capacitor.  From a state of complete discharge (0 volts) it will take several hours for a 1 amp bench supply to fully-charge the capacitor!  Whatever you do, do not allow the capacitor's voltage to exceed its maximum ratings or else it may be damaged:  I have no idea what actually happens if you do this, but I wouldn't recommend trying!

It's worth mentioning at this point that my charging method is extremely inefficient since, when using a linear supply, most of the power input would be lost as heat!  A far more efficient (and somewhat more complex) method would be to use a switching converter to provide the capacitor charge current and have its maximum voltage set to 2.60 volts and this would be much preferred in a power-limited situation where one had only battery or solar as the energy source.

* * *

Update - As of the time of this posting (August, 2013) I've used this flashlight for more than a year, now (since August, 2011) - both around the house and at night while hiking in the mountains and in that time I have only charged it once - and it's still going strong.

Additional Update - As of this update (January, 2017) there is still enough remnant of the original charge on the capacitor to power the light to reasonable brightness.  For most of the years this device has been sitting on a shelf, having been used for a while during an extended power failure to find another flashlight.

* * *

While it may sound like this capacitor can store a reasonable amount of energy storage (and it can!) it's worth noting that the total amount of energy stored in one of these capacitors when it is fully-charged (approximately 8200 joules) is in the same ballpark as the amount of energy contained in a single fresh AA alkaline cell!  Anyone who has actually used a reasonably efficient AA-cell powered LED flashlight knows that it's perfectly capable of providing 10's of hours of useful light, so the duration of the single charge thusfar shouldn't be too surprising.  Just for fun, I dug up some typical numbers:
  • For an AA Alkaline cell, given an average of about 1.25 volts and a usable capacity of 2.2 amp/hours at that voltage, this correlates with a energy storage capacity of 9000-9500 joules, depending on load, temperature, end-of-charge voltage, etc.
  • These calculations ignore the fact that some of the energy being stored in the capacitor or battery at low voltage is not usable as the LED's converter circuit will not operate below approximately 0.9 volts and be able to extract energy.  This is arguably a greater factor with the capacitor because by the time an alkaline battery drops below 0.9 volt, it has almost no residual energy (only a few percent, at most) while 10-12% of the original energy remains in the capacitor.

These numbers are a bit misleading since not all of that energy is usable with equal efficiency in each case over the entire voltage/charge range, but it gives a general idea as to the magnitude.

So, does this flashlight actually work?  Yes, it does!

Is this flashlight really practical?  No, not really.

As it turns out the capacitor itself is not only fairly heavy - about 525g (1 pound) - but it is also quite large - 60mm (2-3/8") diameter and 172mm (6-3/4") long - not including the circuity or bolts:  I have fairly large hands and I find myself moving the flashlight from one to the other as I hike along owing to a bit of muscle fatigue from its diameter and weight.  Again, the capacitor itself was $6 from a surplus seller but that was just a fraction of its original cost (perhaps $150-$200) and one could buy an awful lot of AA cells for its original price!

The main advantage of the capacitor is that unlike a battery, it really doesn't have a fixed number of cycles that it will last before wearing out.  Another advantage is that by knowing its voltage, one can precisely gauge how much useful power remains - a tricky proposition with batteries, especially considering that over time, they lose capacity as they age to a degree that isn't easily determined ahead of time.

I suppose that as time goes on capacitor technology will improve and eventually the power/size/weight will approach (and even surpass!) that of conventional battery technology, but until then a flashlight such as this is a bit of a nerdy novelty!

* "BoostCap" is a trademark of Maxwell Technologies 

[End]

This page stolen from ka7oei.blogspot.com
 

Sunday, May 13, 2012

A mechanically-powered capacitor flashlight?

A later article about a less-impractical and potentially more useful capacitor-powered flashlight was described in the
August 14, 2012 post which may be found at this link (click here).

You probably saw them in those annoyingly repetitive low-budget commercials several years ago (similar to those for the "Faraday Flashlight" or "Faraday Torch"):   Flashlights that you "shake" to generate electricity with the claim that "you'll never need batteries".

The insides of a "shake" flashlight, showing the magnet, coil, circuit board and the two non-rechargeable CR3032 lithium coin cells.
Figure 1:
Insides of a "shake" flashlight showing the magnet, coil, etc.
Click on image for a larger version.
Why, then, do they have a battery?

Careful inspection of the flashlight - even without taking it apart - will reveal that it has a pair of non-rechargeable CR3032 lithium coin cells - the two edge-on flat metal disks as seen in figure 1Not visible in this picture is a small, green cylinder on the backside of the circuit board to the right of the coin cells which is a 0.22 Farad, 5.5 volt capacitor.  It is this component that is capable of being charged and discharged many times while the disposable coin cells aren't!

The way that these flashlights are purported to work is by the motion of the user causing a magnet to move repeatedly through a coil, this being different from the rotating fields in more conventional, rotary electric generators.  As the strong magnet moves, current flows through the coil and is rectified using a 4-diode bridge to assure that the polarity is always correct.  A simple switch with a series resistor and white LED completes the circuit, providing light.

Why the battery, then?

Several years ago - as an experiment - I took one of these flashlights on a hike with some friends, having removed the battery and discharged the capacitor completely.  As it started to get dark I took out the flashlight to see how useful it actually would be if it were necessary to generate all of the power through the motion of the magnet.

Knowing that it was going to get dark (it always does at night, around here!) I wielded the flashlight while there was still enough light to see and started shaking it, taking partial advantage of my already-swinging arms as I walked along.  It took several minutes before I got even the slightest hint of light from the light, but that was no surprise - and for a very good reason:  The capacitor had to be charged to 2.7-3.0 volts before the LED would produce any light at all and I still had another 1-2 volts to go before enough current could flow through the circuit and the flashlight had any hope of being bright enough to be useful!
Figure 2:
Circuit diagram of a typical "Shake light" - nothing special here!
Click on image for a larger version.
By the time it got dark enough to require the flashlight I'd managed to charge the capacitor to the point where it was quite bright when it was first turned on, a process that had required a mere 10-15 minutes of walking with the flashlight's magnet moving back and forth and occasionally shaking it.

Upon turning it on, the light dimmed dramatically within a few 10's of seconds, but stayed illuminated, providing barely adequate light to avoid large obstacles - but not quite enough to avoid medium-to-small rocks and tree roots in the trail.  Fortunately, being quite tall and fairly familiar with this trail - plus hiking with a group of people who had proper flashlights - I was easily able to lift my feet to avoid obstacles and avoid doing face-plants in the dirt!  I could vigorously shake the flashlight to briefly get more light, causing the light to be pointed in random, useless directions while doing so, but it faded down again soon after I stopped.

What did work was to completely shut off the flashlight and, "mooching" off the lights from the rest of the hiking party, continue on my way while shaking the light as I walked along, only occasionally turning it on.  This strategy of turning off the light while shaking permitted the capacitor in the flashlight to be charged to a higher voltage than it would be if it were on with the LED dragging the voltage back down faster than it was charged and this allowed occasional bursts of bright, useful light.

My suspicions as to why a "free energy" flashlight actually has a battery were confirmed:  It is unlikely that the consumer would actually follow the instructions for a flashlight that required some action beforehand such as:
"Shake vigorously for 3-5 minutes before turning it on.   When it gets dim, turn it off and then shake it vigorously for a several more minutes before using it again."
Thoughtfully including a few inexpensive coin cells allows for both instant gratification and light:  Without having to work just to get the light to work out-of-the-box probably went a long way toward preventing customer returns on flashlights that didn't seem to work because people didn't read and follow the directions!

If you look at the diagram in figure 2 you'll notice that the non-rechargeable battery is placed in parallel with the energy from the coil and the capacitor.  What this means is that after extensive use with the coin cells exhausted, the battery is still in place, adding a bit of loss to the mechanical generation of power as one attempts to "charge" them.  Ignoring this issue, in the case of a light with a dead battery, the user may not be aware that it might be necessary to shake the such a light for a while before it becomes useful - and that assumes that the battery isn't going to badly drag down the charge accumulating on the capacitor!

What's worse, there's the impression by the user that it "never needs batteries" and that it can always be counted on:  While this is (technically) true, it's unlikely that someone finding the battery dead in this thing from having accidentally left it on would be accustomed to shaking it for a few minutes just to get any light at all.  These factors probably explain why it is that one hardly sees these flashlights advertised anymore!

A practical "shake-light" is possible, but the folks that made the unit described above didn't go about it in the right way for a number of reasons, no doubt related to keeping costs down:
  • The coil/magnet's mechanical setup isn't as efficient as it could be.  The use of springs (or other magnets) would improve the mechanical efficiency and "spring" the moving magnet away from the end-stops rather than the mechanical energy being absorbed in the plastic/rubber bumpers at each end.
  • More efficient coil arrangement.  A series of independent coils (e.g. a number of "linear poles") stronger magnet(s), etc. might allow for more energy recovery rather than a single, large coil.
  • Resistive losses in the coil.  The current of the of the coil is dumped into the capacitor fairly inefficiently.  As noted below, even if the coil was loss-less, the capacitor's internal resistance would rob the effort of efficiency. 
  • Improved efficiency of energy recovery from the coil.  Ideally, one would use a small, switching converter to optimally take the energy from the coil and use it to charge the capacitor.  As it is, a 4-diode bridge (using 1N4001-type diodes) has a minimum "2-diode" voltage drop (of around 1.2 volts) is used, wasting a significant portion of the effort - much of it due to effective impedance mismatch between the energy source (the coil) and the load (the capacitor).
  • Better capacitor.  A standard "supercap" is used in the above flashlight.  These capacitors have fairly high internal resistance (10's of ohms, typically) which means that a fair amount of energy is actually lost when the capacitor is charged or discharged - particularly if either is attempted quickly!  In comparison, "Ultracaps" and similar have far lower internal resistance (fractions of ohms) and would work much more efficiently.  It's worth noting that two "fresh" lithium coin cells in series will output about 6.4 volts - this, into a capacitor that is rated for just 5.5 volts!
  • A switching converter to run the LED.  This could be as simple as something along the lines of the "Joule Thief."  As noted above, the LED doesn't even begin to light until 2.7-3.0 volts or so appears across the capacitor and it isn't usefully bright until there is 3.6-4.2 volts available which means that we have over "3 volts of effort" before we get any light at all!  A switching converter could not only allow the LED to be illuminated with as little as 0.8-0.9 volts across the capacitor and utilize more of its charge, but it could more efficiently and consistently power the LED over the voltage range instead of burning power in the resistor shown in the diagram above!  Practically speaking, in order for this to work one would need a better capacitor as noted above.
  • Regulating the LED's current.  As odd as it sounds, reducing the LED's current would probably help make the light a bit more useful.  As it is, an 18 ohm resistor is present - most likely to prevent the two coin cells from being exhausted as quickly, but this simple arrangement causes there to be too much LED current when the battery is fresh and, perhaps, too little when the battery is weak - or possibly when running from the capacitor alone.  A simple current regulator circuit to keep the LED current lower all of the time would help to maintain a more consistent light level under most conditions even if it were lower overall and allow the charge from either the capacitor or battery to last longer.  More ideally, a simple regulator could be incorporated into a simple circuit like the "Joule Thief" mentioned above and increase usefulness and efficiency and charge longevity all at once!
  •  Some sort of power management.  All of the above tend to conspire to reduce efficiency, but if there were some "smarts" involved better use of the available energy from the moving coil could be made.  One growing field of interest has to do with "energy harvesting" and some of the techniques and available chips to do this might be adapted to improve overall efficacy.
While doing all of the above could actually make such a device practical, it would also (significantly) add to the cost.  It is unlikely, however, that a "shake light" would ever be as "human-efficient" as a simple crank-type generator owing to the mechanical nature of this action:  Turning a crank takes a bit less effort than moving one's entire arm back and forth!