Hacker News new | ask | show | jobs
by ulrikrasmussen 21 days ago
I notice PWM all around me all the time. Lots of cheaper LED lights use it, and I see it whenever I move my eyes, also when not consciously looking for it - instead of a blur I see series of lamps as a brief afterimage.

As a child I got headaches from CRT monitors at 60hz and I could see them flicker. I haven't noticed the PWM on modern monitors, but maybe these Apple ones would trigger me?

2 comments

Chevy/Cadillac tail lights? Hate them. Looks like 60Hz, no idea why such a low frequency in a car.
I'm a little baffled that GM continues to do this even on later models. I can pick them out a long way away, at night especially. It makes their cars look cheap and possibly dangerous.

It's odd that I/we notice it more on their high-end nameplate (Cadillac), where they theoretically have more money to address these sorts of issues.

I haven't taken notice of the brand, but I certainly have also noticed a few cars with horrible PWM. It really does look bad I think.

I miss how amusement parks looked at night when I was a kid, all bathed in warm, colorful glowing lights. They are still bathed in warm colorful lights, but half of them now have shitty PWM.

Why should battery-powered diodes flicker anyway?
It's usually the cheapest way to dim LEDs.
Usually tail lights are made up of a matrix of LEDs. They could dim them by only energizing a checkerboard pattern of half of the matrix (using flat DC, not PWM), then energizing the whole matrix when the brakes are applied. If the PWM duty cycle is less than 50% for some reason, then they could energize that portion of the matrix instead.

Or they could raise their damn PWM frequency.

They could also use a linear regulator to limit current with no PWM at all, and that would still be pretty cheap. It's probably not as cheap though.
Or they could just increase the PWM frequency. Whether it's an RC oscillator or an MCU, that frequency is a knob that can be turned, and its adjustability is not a mystery.

They've been using a low frequency for decades, now, which strongly suggests that selection of a low frequency for PWM was very deliberate.

Apparent brightness controlled by duty cycle.
To be fair, they're grabbing your attention, which is part of the reason they exist.
It grabs my attention in a way that reminds me never to buy that type of car.
Would you say it has a non-zero improvement to noticing the car there, since human eyes are MUCH better at detecting change than constants? Would that translate to reduced rear-ends/accidents?

If so, this seems to be a safety feature that an owner would appreciate!

The cheap LEDs are not intentionally pulse-width modulated (at least not unless they’re dimmed, and dimming a cheap LED is asking for trouble).

They are deeply modulated at 2x the mains frequency because they use a very simple drive circuit that lights them up whenever the absolute value of the input voltage exceeds some threshold.