Electronics > Beginners
LED driver question
Red Squirrel:
I understand constant voltage PSUs and how they work, and how they will supply any device that works with that voltage and those devices draw whatever current they need. But constant current is a concept I always have a bit of trouble grasping. And before I start I just want to be sure, a LED driver is just another word for a constant current source right? Or do they do anything more special?
So my question is, say I have a LED module rated at 300ma with a forward voltage of 12v, if I want to power multiple of these from the same PSU do I just get a 300ma constant current PSU that has a higher voltage? Ex: at least 24v to power two modules. Add up the voltages, but current stays the same? From my little understanding of how these work they simply work the same as constant voltage, but instead of using voltage as feed back, it uses a shunt for current, and it will increase/decrease voltage as needed so that the draw is whatever it's rated at correct?
Now if I put 2 LEDs in parallel, then I would need double the current, so need 600ma correct? But this is probably bad practice as if one LED is removed from the circuit for any reason then the PSU will try to deliver 600ma to the 300ma rated LED right?
And lastly, lot of drivers tend to just use PWM instead of a smooth DC output, can I safely stick a capacitor at the end to smooth that out or will that mess up the current measurement somehow and cause it to deliver wrong current?
Whales:
> And before I start I just want to be sure, a LED driver is just another word for a constant current source right?
Most off-the-shelf LED drivers are some form of constant current driver.
An LED can technically be driven by anything: constant voltage, constant current, constant power & even more complex systems:
CV driving: possible, but fiddly. Has to be very accurate and under-drive the LED, otherwise risks blowing it up as the LED warms.
CC driving: works, stable, popular.
CV + resistor driving: works, stable, popular. Technically not CC, but close enough & requires less parts if you already have a known CV supply.
CP & other more complex driving schemes: not very popular, simpler methods typically work fine.
> if I want to power multiple of these from the same PSU do I just get a 300ma constant current PSU that has a higher voltage?
Yes
> From my little understanding of how these work they simply work the same as constant voltage, but instead of using voltage as feed back, it uses a shunt for current, and it will increase/decrease voltage as needed so that the draw is whatever it's rated at correct?
Yes.
Rather than thinking in terms of "reducing" and "increasing" voltage I suggest you think in terms of "more V and I" and "less V and I". For most loads (including LEDs): increasing either with increase the other.
Some CV supplies can be turned into CC supplies by modifying where they measure their feedback voltage from.
> And lastly, lot of drivers tend to just use PWM instead of a smooth DC output, can I safely stick a capacitor at the end to smooth that out or will that mess up the current measurement somehow and cause it to deliver wrong current?
No you can't just stick on a cap. It will charge quickly to full in the ON period and basically make lowering the PWM do nothing (except increase current draw over short periods, which increases stresses and can cause damage). You will instead want to put a proper filter on the PWM output (ie L + C), which effectively turns it into a switchmode power supply, but this requires some calculations & considerations to get right.
EDIT: PWMing LEDs can be anything from harmless to problematic. Technically driving them at a constant (variable) power instead of a PWM waveform is more efficient, but in most cases people don't care enough to pay for the extra parts. This also shifts the colour temps of white LEDs slightly.
Of course there's also the problem of when the PWM freq is so low that people and/or cameras notice it >:D
Red Squirrel:
Thanks for the info. So I'm mostly on the right track then. Basically debating on buying a cheap driver off amazon or making my own with arduino as I want to power a couple cheap COBs to make a camera light but I really don't want flicker. The issue with the amazon route is I have no way of knowing if they will use PWM or proper smooth DC. Might just chance it and I can always deal with trying to mod them after with the right filter like you said.
It seems PWM is the popular choice for some reason, I've even seen car headlights use it!
jhpadjustable:
--- Quote from: Whales on October 31, 2019, 04:44:48 am ---CP & other more complex driving schemes: not very popular, simpler methods typically work fine.
--- End quote ---
Mostly seen in laser diode drivers, those touchy little buggers.
--- Quote from: Red Squirrel on October 31, 2019, 05:05:38 am ---Thanks for the info. So I'm mostly on the right track then. Basically debating on buying a cheap driver off amazon or making my own with arduino as I want to power a couple cheap COBs to make a camera light but I really don't want flicker. The issue with the amazon route is I have no way of knowing if they will use PWM or proper smooth DC. Might just chance it and I can always deal with trying to mod them after with the right filter like you said.
--- End quote ---
You might be confusing PWM with a switching converter. PWM cannot regulate instantaneous current. If you try to PWM a 1A led with a 20% duty cycle switching a 5A source, you will be very disappointed very quickly. If the board claims to regulate current, the chances are very good it's a switching converter with current regulation. Dimming is usually a separate matter. Some chips have an input for PWM in the 100-1000Hz range, some have an analog input, some accept both, some do neither.
If you feel comfortable laying out a board, you could build your own driver. I'm working on a project with the Brightpower BP1808 right now. It's got a 3A maximum switch current and can be used in buck, boost, or buck-boost configurations. It accepts analog and/or PWM dimming input. They're under 20 cents each. Like most buck-type constant-current switchers, just add inductor, bypass cap, compensation cap, freewheel diode and current sense resistor according to the datasheet selection guides, and Robert's your mother's brother. I found in my buck design that the analog dimming dynamic range is about 40:1 by current. What that works out to in aperture depends on the LEDs you use and their luminous flux vs. current characteristic, but figure about 5 f-stops.
Whales:
--- Quote from: Red Squirrel on October 31, 2019, 05:05:38 am ---It seems PWM is the popular choice for some reason, I've even seen car headlights use it!
--- End quote ---
PWM is the cheapest & simplest option, especially if you already have a microcontroller in your design (eg a car).
Proper smooth DC requires filters and most often uses feedback. That's a few dollars more cost and complexity per unit than raw PWM.
Navigation
[0] Message Index
[#] Next page
Go to full version