this post was submitted on 17 Aug 2024
75 points (98.7% liked)

Asklemmy

43336 readers
778 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Seen this in many houses, people upgrade their lighting setup and install a dimmer. Which works. But usually it also makes the lights flicker unintentionally, which is super annoying IMO.

Now, my understanding of electrical engineering is pretty rudimentary so I'd appreciate more something that explains the concept in a way that Cavewoman Mothra can understand rather than something technically accurate.

Thanks

all 29 comments
sorted by: hot top controversial new old
[–] [email protected] 66 points 3 weeks ago (4 children)

Power coming into the house is AC which means 50-60 times a second the power goes from +110/240V to -110/240v.

LED lights run off DC power, so to change the power type a capacitor is somewhere that holds enough charge to keep the item working until the AC power is back to a usable positive value.

Dimmers limit the power going to the light, so the capacitor doesn't charge enough to keep the light and circuitry on for the full negative swing of AC power.

This is ungodly rudimentary, and corrections are welcome. There is also many nuances I am missing.

[–] [email protected] 25 points 3 weeks ago (1 children)

It should be noted that there are LED bulbs that will take a dimmed signal and convert it into a dimmer light. If you buy dimmer capable LEDs (though that still doesn't work with all dimmers), you can get dimmed light without the flicker, and without having to resort to smart home crap.

[–] [email protected] 5 points 3 weeks ago

But you also need a dimmer that supports LEDs. Some dimmers have a minimum power requirement, which is much higher than almost every LED bulb

[–] [email protected] 19 points 3 weeks ago* (last edited 3 weeks ago)

Dimmers will typically use a triac which cuts up the sinusoidal waveform. It doesnt actually lower the amplitude per se, but it limits the fraction of the time the waveform is on. Kinda like this. This means that a lot of the time the led isnt gettingas much or any power. The average power will be lower, and if the LED driving circuitry isnt designed to compensate for this, the LED will flicker.

Clarification on triacs: they get turned on a certain fraction of the way into the cycle. Triacs will stay on until the voltage across them is 0. Conveniently the zero-crossing of the AC wave (when the wall voltage crosses zero to start foing negative or from negative to positive) does just that.

[–] [email protected] 11 points 3 weeks ago* (last edited 3 weeks ago)

Well written.

I think an important concept to introduce is Pulse Width Modulation, or PWM for short.

Normal AC Power coming out of wall looks like a sine wave, in that it smoothly cycles between +110/240V and -110/240V. This means that 50% of the time the voltage is positive and 50% of the time the voltage is negative.

PWM usually deals with signals which are either entirely on or off, with no transiton between them. This way, you can vary the amount of "power" delivered by varying how much of the time the signal is on and how much of the time it's off.

Dimmers usually modify the sine way in a way that tries to accomplish the same thing, by chopping up the signal to make the effective "on" time be shorter than 50%.

With non-dimmable LEDs, this messes with the AC to DC circuitry in the lamp in the way slazer2au says, because the lamp doesn't retain enough power between two on-cycles to stay on.

[–] [email protected] 7 points 3 weeks ago (2 children)

Thanks, some of this makes sense. But why is it then not constantly flickering? They usually flicker for, say, five seconds then they stop flickering for 20 then they flicker again and so on. Or they flicker for like a minute then they're fine for a couple more minutes, then back again flickering. The timings vary a lot from house to house.

[–] [email protected] 8 points 3 weeks ago

Building on their comment, perhaps the capacitor is building up energy and dissipates it every 20 seconds. Like beats in resonance when you hear a pulsing in the volume when a guitar plays a single note or chord.

[–] [email protected] 3 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

In my experience some brands of "dimmable" LED lights flicker and some do not. If you problems with flickering lights, try a different brand on that socket as an experiment. It might be the quality or type of components used.

[–] [email protected] 1 points 3 weeks ago (1 children)

No LED bulbs will work properly with triac based dimmers. "Dimmable LEDs" are horrible hacks that just about cling on for dear life, and many just won't work at all. Those dimmers are for incandescent bulbs.

The right way to dim an LED is pulse width modulation of the DC power, not chopping up the AC wave. That's what smart bulbs do because they have the dimming logic after the power supply is convertered from AC to DC in the bulb enclosure.

[–] [email protected] 1 points 3 weeks ago (1 children)

Well, this is anecdotal, but I bought an older home (circa 1990's) with dimmers already built in. We went through a number of LED bulbs and most flickered and some did not.

[–] [email protected] 2 points 3 weeks ago (1 children)

Those that worked worked more by luck than by design though. That's what I'm trying to say. Different dimmer, and you'll probably get different ones working.

[–] [email protected] 1 points 3 weeks ago

Can you give me a few examples (links)/to what I should look for if I decide to go through the effort of swapping the old ones out?

[–] [email protected] 26 points 3 weeks ago

It's because they aren't installing the correct bulbs. Some dimmers work by cutting the 'pulse' that goes to the light early, some of them work by lowering the voltage/current.

When you install a direct LED to one that cuts the pulse, you get flickering. Incandescent bulbs don't do this because they're white-hot and don't change luminosity fast enough for you to notice.

Basically: If they're flickering -- they did it wrong.

[–] [email protected] 18 points 3 weeks ago (1 children)

LED lights are either all on or all off, the only way to dim a LED, is to make it blink really fast and change the time it’s on vs the time it’s off. Cheap LED lights don’t blink fast enough, so you see them flicker.

[–] [email protected] 14 points 3 weeks ago (1 children)

That's not the only way to dim an LED, just the cheapest. Variable current power regulators are the premium option.

A screw-in LED bulb combines LEDs and power regulating electronics. Some of them handle the variable input voltage a household dimmer provides gracefully, but that's more expensive.

[–] [email protected] 7 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Changing the current can change the hue (color) of the led. In some cases it’s okay in some cases it isn’t. Cinema lights for instance don’t dim with voltage because of that. Instead they have 3 separate drivers synchronized to dim in a canon. One after the other so that there is always the same number of LEDs on at all time regardless of the dimmer level.

[–] [email protected] 3 points 3 weeks ago

That's true. Describing current regulation as the premium option was an oversimplification. For household lighting, it's usually the premium option.

[–] [email protected] 9 points 3 weeks ago* (last edited 3 weeks ago)

Because of the differences in how incandescent bulbs work vs LED and Florescent, and thus how their dimmers have to work.

Incandescent: you just heat up a bit of metal until it's glowing hot. Literally the same effect as leaving something metal in a campfire or furnace until it glows, just super hot so super bright and white.

Florescent: have a tube of gas, and then put a super high frequency voltage across it (thousands of Hz), and enough energy will be imparted to the gas molecules that they will emit photons.

LEDs: apply a constant DC current to a bit of a custom grown semi conductor, and that will give the semi conductor atoms enough energy that they will release photons.

The main thing about those, is that for Florescent and LEDs, they require very specific types of power.

  • Florescent bulbs require a very high frequency voltage, this is what the electronics in the bottom of a CFL do, convert the 60Hz of AC power from your house into super high frequency voltage.

  • LEDs on the other hand, can't use AC, and need constant current applied, not constant voltage, so all the electronics in the bottom of those bulbs work on converting your house's 60Hz AC power into like ~24V of DC power.

  • Incandescents on the other hand, do not care what type of power you put into them since any type of power can make them hot as long as you put enough in. You can feed them high or low frequency AC, you can feed them DC, you can feed them constant current, or constant voltage, they do not care, as long as you put electrical power into them.

Now it comes to dimmers. If you want to reduce the brightness of an incandescent bulb, you just need to reduce the power going to it, which in a constant voltage AC system like a house, means reducing the voltage.

The first dimmers did this by putting a variable resistor in series with the bulb. When it's resistance is zero the bulb is at full brightness, when it's the same as the bulb it's at half, and when it's resistance is way higher than the bulb's then the bulb is super dim.

This is good because it's super cheap and easy and you can precisely lower the voltage while maintaining the exact same waveform, but the problem with this is that you're feeding the same amount of power to the circuit no matter what, the resistor is just burning up the excess and turning it into heat.

So then we landed on how we built the vast majority of classical dimmers you see today: switched dimmers. Since incandescents are just hot metal, and there's a lag between when you heat metal and when it cools, you don't actually need to give it a clean wave form. Modern dimmers just switch on and off really fast to reduce the average amount of power going to the bulb. At 50% brightness, the dimmer might be switching on for 20ms then off for 20ms then on for 20ms then off for 20ms.

It's a great simple solution for incandescents, but when you try and feed the precise electronics of an LED or Florescent, that messy, choppy signal, they can't handle it and often just see it as the power coming on and off or it messes with their internal circuitry.

[–] [email protected] 6 points 3 weeks ago (1 children)

Maybe not what you needed but here's a demonstration of the dimmer from my favorite ee youtuber electroboom. Starting at around 3:00

[–] [email protected] 3 points 3 weeks ago

Man, he's great

[–] [email protected] 5 points 3 weeks ago* (last edited 3 weeks ago)

Dimmer switch limits the power. The light doesn't like that.

[–] [email protected] 4 points 3 weeks ago (1 children)

Just wanted to let you know that there are a couple of eli5 communities. Just a sec- I'll try to link.

[–] [email protected] 5 points 3 weeks ago* (last edited 3 weeks ago) (2 children)
[–] [email protected] 3 points 3 weeks ago

Doh, two communities, but none for us who need it explained like we're four. /s

[–] [email protected] 1 points 3 weeks ago

Thanks! Just joined

[–] [email protected] 1 points 3 weeks ago (1 children)

It could be pulse width modulation?

[–] [email protected] 2 points 3 weeks ago

It turns the power on and off very quickly and the dimmer controls the length of time it spends in the power on position

[–] [email protected] 0 points 3 weeks ago

Perhaps not the WHY, because I would have thought there'd be a rectifier to convert to DC, but the string lights I've used (costco feit) don't flicker when dimmed.

They usually have a separate wall-wart they run from and often have a wireless remote that dims as well as changimg colors.

I see this as a better way to run LEDs off household ac, as the power supply and controls are designed to work together.