4 ms·
I'm assuming it saves $0.47 per car to use slow PWM to set brightness rather than a linear regulator.
by Zak 2y ago
I'm assuming it saves $0.47 per car to use slow PWM to set brightness rather than a linear regulator.
- marssaxman 2y agoIs it possible to control LED brightness with a linear regulator? I am surprised to hear it - when I was making light effects with LEDs years ago, I understood PWM to be the only practical mechanism, due to the strongly non-linear conductivity curve. But maybe it's possible, if you just want to fix your LEDs at a specific brightness which never changes, that you could find exactly the right current level...?
- kedikedi 2y agoYou can but it isn’t efficient. You lose (V_in - V_out)*I_led Watts to heat if you use a linear regulator. You might ask why not connect them in series and get the voltage difference as small as possible. But the “forward voltages” of LEDs are highly temperature dependent and car battery voltage is (somewhat) engine rpm dependent (might swing between 12 and 13.8V between no rpm and some rpm. It’s kept flat at 13.8V)
- deleted 2y ago[deleted]
- SAI_Peregrinus 2y agoLinear regulators can do it easily, if used in a constant-current driver configuration. That constant can be variable, so regulated-current might be a better name. Your classic LM317 linear regulator can do it pretty easily, with a potentiometer instead of a fixed resistor to set the output current. Section 9.3.3[1] of the datasheet describes the circuit, though in practice you might add a couple of capacitors for stability. There are also a number of discrete-transistor circuits. A current mirror with a rheostat is probably the simplest, though not generally ideal performance. [1]https://www.ti.com/lit/ds/symlink/lm317.pdf?ts=1734395381792#%5B%7B%22num%22%3A391%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C0%2C464.4%2C0%5D https://www.ti.com/lit/ds/symlink/lm317.pdf?ts=1734395381792...
- marssaxman 2y agoInteresting! I have used plenty of LM317s with LEDs, but I never thought of using them to regulate brightness - I would just pick whichever resistor corresponded to the forward current specified in the emitter datasheet. Didn't realize that there was enough room on the curve to use current control as a meaningfully configurable brightness setting.
- Zak 2y agoAs a flashlight nerd and reviewer, I know a number of ways to control the brightness of an LED, and linear regulators are a fairly common one. It's important to note that a linear regulator can be designed to target a specific voltage, or a specific current. LEDs should be regulated with current for the reason you mentioned. One that I think would work well in cars is a fixed-current linear regulator like the AMC7135. There's no need to do anything fancy to control it; put a 7135 in the circuit and the LED gets 350mA. Two in parallel and it gets 700mA, and so on. More fancy is a linear regulator with variable current output. Linear regulators are a low-end option for flashlights, with switched-mode power supplies being preferred for their superior efficiency. A car has a lot more energy to work with and more mass with which to sink and radiate heat.
- ssl-3 2y agoDoes slow PWM save money? I first noticed slow PWM in factory tail lights on Cadillacs somewhere around the turn of the century. I pointed it out to my dad one night when we were out for a walk, and told him how to see it on a car that was disappearing down the road. It took a few seconds for him to understand and to observe it himself, and then he said "I can accept that you're annoyed by that, but maybe they just build them that way because they think it looks cool." Ever since that night, I have always assumed that slow PWM was used as a deliberate visual effect: After all, General Motors isn't really trying to squeeze a few pennies out of a new Cadillac [that's what Chevrolet is for!]. (I also think it's a dick move on the manufacturer's part, whether it is to save forty-seven cents, or if it is to look cool, or even if it is both.)
- Zak 2y agoThis prompted me to go look for a better answer, and I found a good candidate: pulsed current at a relative low frequency (~60hZ) allows higher perceived brightness from smaller/cheaper LEDs. From my perspective, it is undesirable to increase the brightness of car taillights relative to what was typical with incandescent bulbs or to make them flicker. https://electronics.stackexchange.com/questions/164078/why-is-pwm-used-to-control-leds-even-when-theyre-only-used-on-or-off https://electronics.stackexchange.com/questions/164078/why-i...
- neuralRiot 2y agoThe PWM function is built-in into the electronic switches that drive the light outputs, so you can programmatically control the brightness, it also accepts different switching frequencies so it’s just a matter of increasing the frequency for the “strobe effect” to be unnoticeable. The advantage of these switches over analog are several, including output diagnostic and lower power dissipation.
- Zak 2y agoKeeping in mind that it's on a moving vehicle, and road users often pan their eyes around rapidly, the frequency would need to be higher than for many other situations. Or they could use a variable linear regulator with no flickering at all.