Hi Guys!
I havent been online for some days (went mountainclimbing) and I am surprised about the number of posts and the questions belonging to voltage regulators and the question itself, how to deliver power to LEDs.
I like building little smart power supplies and optimizing them (also minimizeng them, "reduce to the max"), so I got a little knowledge meanwhile, and I will be happily sharing it.
1. In my opinion the best to supply LEDs is to use one, two or three cells, more are getting bulky and heavy. In all three cases the voltage is below, or can drop below 4 V, the voltage required to drive the LEDs. So my designs have a sep up circuit. There is a little problem when you use 3 cells. Then initially the voltage is ABOVE 4 V, later BELOW 4V. This would make a need for a Step-up/step-down converter, which is more difficult to build (so called flyback-converter, needs a special coil). I just use always 2 or more LEDs in a row, so the battery voltage is ALWAYS under the required voltage, making good conditions for a stepup.
2. There are two different principles of stepup converters: capacitor charge pumps and coil driven ones.
The charge pumps use cheaper, easier to find parts, but are usable only for smaller power amounts (up to 100 or 200 mA), also you can only DOUBLE a voltage (so for stepping up 1 cell you would need 2 converters in a row...).
The coil driven ones are my choice, they are for higher power (e.g. driving 36 LEDs in a 3Dcell MagLite), and better adjustable, also they can make high voltage ratings (e.g. 15V out of 3 V).
3. There are a LOT of Coil driven stepups out there on the market, because of the boom of handheld devices (cellular phones, PDAs, Discmans, MP3 players, etc.).
Known companies with good products are: Linear Technology, MAXIM, and National Semiconductor, as well as many others. I prefer Linear, because they always send me free samples of the ICs.
The disadvantage of these ICs is that they are usually only available in SMD packages (Surface Mounted Devices), which means they are tiny and REALLY small, but are also difficult to solder, but with a quiet hand and a good eye and some experience, you dont need any special equipment.
A good IC which requires few external components is the LT1308, which drives my 36LED Mag.
If you have some problems getting the coils (most electronic shops dont have the right coils), just give the manufacturer (coiltronics, etc.) a call and get some samples. In the datasheets of Linear Technologies are always the part numbers for the coils, so it will be easy.
When I make SMD boards, and want to make only one or two, I dont start the chemical itching machine. I just take a fine drilling tool (like the DREMEL) with a 0.5 mm tip and work out the spaces between the lines. This is fast and good.
Any comments and/or questions welcome
Ok, now back to the regulator thing:
1. When the input voltage of a regulator slowly drops, getting under the 3 V above output, it will start oscillating in a strange way (I had odd errors with that...), when the voltage drops further, it will behave as it would not be there...
2. PWM: (pulse width modulation)
A fine concept, to reduce the power delivered to an output without burning voltage like a linear regulator.
An example:
You want to drive a resistor of 1 Ohm with 4 Volts from a source of 8 Volts.
So instead of reducing the voltage by burning 4 Volts, you can switch on and off the resistor.
But: If you think, you will switch on for 50% of the time and then switch off for 50% of the time, this would make a middle of 50% x 8V = 4V, you are WRONG!!
Calculating this, you will have to look at the POWER, not the Voltage!
Power needed:
P = U x I ( Power = voltage x current )
You dont have the current, but can be calculated also:
I = U / R (current = voltage / resistance )
so P = U x U / R ( formula 1 in formula 2)
P = 4V x 4V / 1Ohm = 16 Watts
Ok, but when you hook the 1 Ohm resistor to 8 Volts, you get:
P = 8V x 8V / 1Ohm = 64 Watts !!!
So when you have 50% on time and 50% off time, you will deliver 64 x 50% = 32 Watts to the resistor, not the desired 16 watts.
So the right On-time will calcualte at 16W / 64W = 25%
Ok, why do all this?
The PWM works fine for resistors, and is often used for Lamps (indescendent !!), etc.
But when you use more complex loads like LEDs, it is getting complicated. A LED doesnt pull the double current when given double voltage, so you will not be able to calculate the on/off percentages.
Also when you drive a LED at high current (also when only for a few microseconds), the efficiency drops.
You can use a capacitor or a coil between the PWM regulator and the LED to smooth the voltage and current. But this is far too complex to calculate. You can build and try and adjust with a potentiometer.
All in all it is a lot of work, and I prefer an easy to use, high integrated circuit.
By the way: A step down converter (buck) is nothing else than a PWM plus a coil...
Ok, guys, so much for now, it makes fun to discuss with you ! If anybody wants to build a stepup/down/? for a specific purpose, feel free to tell me, I will assist as good as I can.
Bye!