JimmyM
Flashlight Enthusiast
I have an LED project I'm working on. I have a big RGB LED 3 dies in series per color. I'll be powering it from (probably) a 14.4V nominal NiMH pack. The LED is rated at 350mA per color. Since I want to vary the intensity of each color I have 2 methods I could employ. PWM and current control.
I've tested a 31kHz switched mode supply being controlled directly by my microcontroller. One switch/inductor/diode/cap for each color. It can measure the current on each LED leg and adjust the current to keep it at what ever level I have programmed. So 200mA stays constant as battery voltage falls. This is pretty efficient.
The alternative would be to use a single switched mode supply to drop battery voltage down to the maximum required by LED, probably 11V(Blue). And use a resistor on the other 2 so that each one will be limited to 350mA Max. To control individual brightness I can use PWM to switch the LED. PWM frequency can be high enough to avoid strobing effects.
But which is better for color/brightness control? At low currents, LEDs act a little wonky.
At low brightness, would PWM (pulsing 350mA to each color) at varying duty cycles be better? Or would varying the DC current be better?
I've tested a 31kHz switched mode supply being controlled directly by my microcontroller. One switch/inductor/diode/cap for each color. It can measure the current on each LED leg and adjust the current to keep it at what ever level I have programmed. So 200mA stays constant as battery voltage falls. This is pretty efficient.
The alternative would be to use a single switched mode supply to drop battery voltage down to the maximum required by LED, probably 11V(Blue). And use a resistor on the other 2 so that each one will be limited to 350mA Max. To control individual brightness I can use PWM to switch the LED. PWM frequency can be high enough to avoid strobing effects.
But which is better for color/brightness control? At low currents, LEDs act a little wonky.
At low brightness, would PWM (pulsing 350mA to each color) at varying duty cycles be better? Or would varying the DC current be better?