6 ms·
> My research into LED > technology turned up > the fact that it is a > bit of a technological > challenge to dim an LED. This is complete nonsense. While
by dmitrygr 9y ago
> My research into LED
> technology turned up
> the fact that it is a
> bit of a technological
> challenge to dim an LED.
This is complete nonsense. While pwm can indeed be used, many of the nicer LED drivers are actually variable current. While adjusting the voltage directly indeed does not work as expected for LEDs, a constant current driver does indeed produce a constant brightness. Varying the current varies the brightness. Only the cheapest displays and lighting installations use pwm for brightness control.
- modeless 9y ago... and many car/truck taillights. I think PWM taillights should be illegal. The artifacts are distracting.
- ChadMoran 9y agoThis, so much this. I have nystagmus which means my eyes move uncontrollably. Primarily on the horizontal plane. While my brian compensates for this and I don't see a moving image anything that uses PWD flickers very, very badly. PWM tail lights are THE ABSOLUTE WORST for this condition. Not only do I see it on the source but I see it on anything the light projects onto, it's horrible.
- exikyut 9y agoWait. Contemporary nystagmus == saccades? I haven't tracked the cause down yet - I know it's a nerve issue of some kind - but sometimes my jaw, arms or eyes (yup) can occasionally jump. My jaw and arms jump when I'm nervous (or have a buildup of too much nervous energy/excitement), while my eyes jump when I'm trying to focus on something too hard, they drift, and I try to course-correct too hard. (I think half my brain is aware of the drifting, but the other half, the part that would make the fine motor movements to keep my eyes locked, is happily whistling away blithely in a corner somewhere.) When my eyes jump and I overcorrect when I fail to re-point them where they need to be, I usually have a second or two where I'm not technically blind but I need to let my eyes refocus and remember their purpose in life (if you will) :P I always thought this was nystagmus (read the term online one day and went "!!! that's what it's called!")... but now I wonder, is what I'm dealing with something else? (An aside: I'm really, really bad at tracking moving objects in space. If someone else is holding onto something and I'm expected to look at it, I have to hold it instead. No other alternative.)
- ScottBurson 9y agoIf not banned outright, they should at least be required to use a 1MHz minimum frequency.
- Zak 9y ago10 or 20 kHz would probably be sufficient, based on talking with the author of some of the most used open-source flashlight driver firmwares, who is quite sensitive to PWM.
- walterbell 9y agoWhich flashlights use this firmware?
- Zak 9y agoThese are all enthusiast-oriented, not something you'd find in a retail store. At least one can only be ordered through a group buy on budgetlightforum.com right now, though a retail offering will come in the future. * BLF A6 (AKA Astrolux S1) * Astrolux S41/Manker E14 * BLF X5/X6 (AKA Astrolux S2/S3/SS) * Emisar D4, D1, D1S * BLF Q8 * BLF GT * Convoy S2+/C8 (new firmware version) These don't all use the same firmware, but they all use an open-source firmware with high-frequency PWM, except that I think the BLF GT does not use PWM. A number of expensive custom lights use these too; those often focus on metalworking and exotic materials. Firmware sources available here: http://bazaar.launchpad.net/~toykeeper/flashlight-firmware/trunk/files/head:/ http://bazaar.launchpad.net/~toykeeper/flashlight-firmware/t... I own an Astrolux S41 (Nichia 219B), Astrolux SS (3A) and a semi-custom light I assembled using the A6 and Biscotti firmwares by ToyKeeper. I plan to pick up the Emisar D4 (Nichia 219C) and D1S (5D).
- walterbell 9y agoThanks! I’ve been looking at [1] low-flicker, daylight simulation LED lights that can output 10K LUX. Great to hear that OSS firmware exists for some PWM lighting. [1] https://www.aputure.com/products/al528-1 https://www.aputure.com/products/al528-1
- exikyut 9y agoI've long wondered how this is actually done electronically. The only approach I've ever been able to come up with is a digipot connected to a linear power supply, but that would generate a bit of heat at low brightness settings, and I suspect even a 256-step digipot would exhibit visible fade "jumps". As someone who knows zero about electronics fundamentals... how is this done?
- Zak 9y agoLinear regulators are fairly common in flashlight drivers. They do generate waste heat at low output levels since the difference between battery voltage and LED forward voltage is just burned off, but the heat itself isn't a significant problem. Efficiency is more of an issue, but low-output runtime in LED flashlights is so long that most people will be able to charge their battery long before it runs out. Switch-mode power supplies are the high-end version. These can step the input voltage up or down to produce the required output voltage and can regulate current to one or many desired levels. More information on how both of these work is easy to find with a google search, but I should note that some things written about linear regulators assume a target voltage. When used to drive LEDs, regulators with a target current are required.
- exikyut 9y agoInteresting, thanks very much for the insight. > Switch-mode power supplies are the high-end version. These can step the input voltage up or down to produce the required output voltage and can regulate current to one or many desired levels. The way you wrote this makes it sound like SMPS don't have the smooth progression linear regulators do, which is in line with what I understand about SMPS designs. I presume the controller is connected to (or incorporates?) a digipot or similar, or is it actually possible to define an arbitrary reference voltage (derived from a digipot for example)? > More information on how both of these work is easy to find with a google search, but I should note that some things written about linear regulators assume a target voltage. When used to drive LEDs, regulators with a target current are required. Sure thing. And yeah, I find the constant-{voltage,current} thing a very fascinating/interesting quirk of LED regulation. At some point I'll find out why LEDs need constant current.
- Zak 9y agoWorse than typical PWM is running LEDs from AC mains power directly. I've seen this used in large, high-output panels. 20,000 lumens with 50/60 Hz flicker is rather unpleasant to be around. And yes, two other ways to dim an LED are a switch-mode power supply with output current regulation, or a variable linear regulator. I'm familiar with both approaches being used in flashlight drivers, though PWM is also quite common. Good PWM designs tend to be over 10 kHz, which is nearly always invisible to the naked eye.
- jdietrich 9y agoThe 2008 MBP did use PWM backlighting. PWM is slightly more efficient than a constant current regulator and gives a more consistent backlight color temperature. IIRC Apple have stuck with PWM backlighting for these reasons, but have moved to an extremely high frequency (~120kHz) which should be imperceptible even to the most sensitive users. Many other top-tier laptop manufacturers also use PWM backlighting, but with a switching frequency of around 1kHz.