PWM Dimming and Camera Flicker: What Frequency Keeps LED Displays Band-Free?

Last updated:

Rolling shutter bands on a video of a PWM-dimmed 7-segment LED display

Quick answer

Run PWM dimming at several kHz at least, and treat the multiplex scan rate as a hard floor. PWM light is 100% modulated at every brightness setting; the eye averages it out, but a rolling-shutter camera samples row by row and records dark bands whenever too few cycles fit into one exposure. IEEE 1789’s 1250 Hz low-risk point is a yardstick for people, not sensors, so bright scenes and fast shutters push the required frequency far higher, or toward steady DC current instead. Test at the lowest brightness the product will actually use, since dimmer settings band more easily.

Run PWM dimming at several kHz or higher, well above the 1250 Hz low-risk threshold in IEEE 1789, and choose a driver with a fast multiplex scan rate. Cameras pick up both, and short shutter times need even higher frequencies.

LED displays end up on camera more often than designers expect: product photos, demo videos, video calls, machine-vision inspection, phone recordings of a fault code. A display that looks steady to the eye can show rolling dark bands on video. The U.S. Department of Energy notes that a digital camera can sometimes pick up flicker, and lists places where cameras are used, such as TV studios and video conferencing, as settings where flicker matters. This article explains where the bands come from and how to avoid them.

What does PWM dimming do to the light?

PWM dimming does not lower the light level, it chops it, and that distinction is why cameras and eyes react differently.

How does PWM switch an LED full on and full off at a fixed frequency?

Pulse-width modulation (PWM) dims an LED by switching it fully on and fully off at a fixed frequency. The average brightness follows the duty cycle, but the light itself swings between full output and zero every cycle. In other words, PWM light is 100% modulated at every brightness setting. Lowering the brightness does not soften the swing. It only makes the on-pulses shorter.

Why do the eye and the camera disagree?

The eye averages light over time, so a fast on-off pattern looks steady. A camera does not average the same way. Each image is built from short exposures, and if the light changes during those exposures, the camera records the change. That is why a display can pass a visual check and still fail on video.

How do rolling shutters turn flicker into bands?

The bands you see in a video come from the camera sensor reading rows at different times, and a simple cycles-per-exposure count tells you how bad they will be.

Why does exposing rows at different times create bands?

Most phone and video cameras use CMOS sensors with a rolling shutter. The sensor exposes and reads the image row by row, so each row’s exposure window starts slightly later than the one above it. If the LED is on during one row’s window and off during the next, those rows record different brightness.

The result is horizontal light and dark bands across the display. When the flicker frequency sits close to a multiple of the frame rate, the bands drift slowly through the picture, which makes them easy to notice.

What is the cycles-per-exposure rule?

A useful way to judge banding is to count how many PWM cycles fit into one exposure: N = fPWM × texp. If every row’s exposure holds many full cycles, every row collects nearly the same light.

The leftover partial cycle is at most one cycle out of N, so for 100% modulated light the row-to-row difference shrinks roughly as 1/N. This is our own simplification, not a published standard, but it explains the pattern well. When N is below 1, a row can catch a whole pulse or miss it completely, and the bands become very strong.

Flicker frequency (illustrative)N at 1/60 s exposureN at 1/250 s exposureN at 1/1000 s exposure
105 Hz1.750.420.105
800 Hz13.33.20.8
2 kHz33.382
5 kHz83.3205
20 kHz3338020

All values in the table are illustrative, computed as N = f × t. Read it this way: a bright scene pushes the camera toward short exposures, and short exposures need a much higher flicker frequency to hold the same number of cycles.

How high should the PWM frequency be?

There is no single safe number, but IEEE 1789 gives useful reference points for people, and exposure time sets the bar for cameras.

Which IEEE 1789 reference points are useful here?

IEEE 1789 (2015) is a recommended practice for LED lighting, not for indicator displays, but its numbers are a useful yardstick. The figures below come from the DOE and DigiKey summaries of the standard.

Frequency rangeLow-risk modulation limitNo-observable-effect limit
Below 90 Hzf × 0.025 %f × 0.01 %
90 to 1250 Hzf × 0.08 %f × 0.0333 %
1250 to 3000 HzNo limitf × 0.0333 %
Above 3000 HzNo limitNo limit

Because PWM is 100% modulated, it only fits the low-risk zone above 1250 Hz and the no-observable-effect zone above 3000 Hz. DigiKey notes that dimming PWM typically runs at several kHz, and the DOE advises avoiding PWM dimming unless it is combined with other techniques.

What do cameras add on top?

IEEE 1789 is about people, not sensors. For cameras, the exposure time sets the bar. Working from the table above, 5 kHz still gives only about 5 cycles at 1/1000 s. In practice, if the display will be filmed in bright light or with high-frame-rate video, plan for tens of kHz, or avoid PWM altogether and dim with a lower DC current. That figure is derived from the cycles-per-exposure rule, not from a standard.

What happens when multiplexing and PWM stack up?

A multiplexed display already pulses at the scan rate, so adding PWM dimming on top introduces three effects worth knowing about.

Peak current per segment rises with the number of multiplexed digits, checked against the ratings of two OPTO PLUS LED displays

Why is the scan rate the floor?

In a multiplexed display, each digit is lit only during its own time slot. Whatever the dimming method, the light from a digit therefore repeats at the scan rate. Brightness control inside a scanning driver works by shortening the on-time within each slot, so the scan rate, not a separate PWM frequency, is what the camera sees. The table lists what each datasheet states.

DriverScan / refresh rateBrightness control
MAX7219800 Hz typ. with 8 digits (500 to 1300 Hz); rises to 8 × fOSC / N with fewer digits16 steps, 31/32 down to 1/32
HT16K33Frame 9.5 ms typ. at 1/9 duty, works out to about 105 Hz16 steps, 1/16 to 16/16
TM1637Not stated in the datasheet8 pulse-width steps
74HC595 (static)No scanningExternal, e.g. PWM on the output-enable pin (three-state outputs)

On the cycles-per-exposure table, the HT16K33’s roughly 105 Hz frame lands in the strong-banding row even at 1/60 s. The MAX7219 is better but still drops below one cycle at 1/1000 s.

Does dimming make banding worse?

Turning the brightness down keeps the frequency the same but makes the pulses shorter. With short exposures, a row is then more likely to fall completely between pulses, so the contrast between bands increases. Always test at the lowest brightness setting the product will use, because that is the worst case.

How do two clocks that do not agree cause a brightness wobble?

If firmware scans digits with one timer and applies PWM with another, the two frequencies can beat. The display then shows a slow brightness wobble at their difference frequency, which is easy to see by eye and on video. Derive both from the same timer, or make the PWM frequency an exact multiple of the scan rate.

How can you measure flicker on your display?

Rather than guessing, measure it: three methods are compared below, followed by a quick bench routine.

How do the three measurement methods compare?

MethodWhat you learnLimits
Photodiode or phototransistor + oscilloscopeActual light waveform, frequency, pulse width, how deep the light dipsNeeds a fast sensor and some setup; measure one digit at a time
Phone camera (manual shutter or slow-motion video)Whether bands appear in real recording conditionsQualitative only; results depend on the phone’s exposure
Flicker meterFrequency and flicker metrics in one readingMade for lighting; aim it at a single lit area of the display

What does a quick bench routine look like?

  • Load the final firmware, including the real scan rate and dimming steps.
  • Point a photodiode at one lit segment and read the waveform on a scope. Note the repetition frequency and the on-time at the lowest brightness.
  • Film the display with a phone at its fastest manual shutter, then in normal video mode.
  • Compare segments as well. Bands on video can look like uneven brightness, which has other causes covered in our article on uneven segment brightness.

Which steps belong on a design checklist?

To close, here is the order in which the design decisions should be made, and a reminder to check the LED ratings as well.

What order should the design decisions follow?

Order matters: first ask whether the display will ever be filmed or photographed. That answer decides whether static drive is worth its extra pins, which driver scan rate is acceptable, and how you dim. The safest approach for camera-critical products is static drive with steady DC current and no PWM, setting brightness through the current itself.

Our advice: if you must multiplex, pick a driver with a scan rate in the high hundreds of Hz or more, keep the dimming as shallow as the product allows, and confirm with a photodiode before the design is frozen.

Why check the LED ratings too?

Shorter, harder pulses mean higher peak current. Check the peak forward current and its duty-cycle condition in the display datasheet, as explained in how to read an LED specification table, and size the resistors with the series resistor guide. Displays in common anode and common cathode versions are listed in the 7-segment display category.

How do you get rid of the bands?

If the display already bands on camera, try the fixes below in order. Each one costs more than the one before it, so stop at the first that works.

  1. Raise the PWM frequency. Move it from the hundreds of hertz into the kilohertz range, and for products that will be filmed in bright light aim for tens of kHz. Re-check the driver output stage afterwards, since faster edges raise EMI.
  2. Derive the scan and PWM clocks from the same timer. If the two rates still have to differ, make the PWM frequency an exact multiple of the scan rate so that the beat disappears.
  3. Dim with current instead of duty. Lower the DC current through the series resistors or the driver’s current setting and keep the PWM duty high. The light output then stays close to constant and there is nothing for the shutter to sample.
  4. Raise the scan rate of a multiplexed display, or reduce the number of digits per scan group. The scan rate is the floor for whatever the camera sees, so no PWM setting can fix a 100 Hz frame on its own.
  5. Switch to static drive with steady DC current for camera-critical products. It costs more pins or a shift-register driver, but it removes the pulsing altogether.
  6. Verify with a photodiode and a phone at the lowest brightness setting before freezing the design. The lowest step is the worst case, and a fix that passes at full brightness can still band there.

Common mistakes with PWM dimming and flicker

These are the mistakes we see most often when a display flickers on camera but not to the eye. Checking them once can save a round of samples.

  • Setting the PWM frequency for the eye only. A few hundred hertz looks steady and still bands on every rolling-shutter camera.
  • Stacking PWM on top of multiplexing without checking the two rates. The beat between them shows up as a slow flicker that neither rate explains on its own.
  • Dimming to a very low duty with a coarse PWM resolution. The lowest steps jump visibly instead of fading.
  • Never measuring. A phone in slow-motion video mode shows the banding in a minute, before any instrument is needed.
  • Raising the PWM frequency as high as the timer allows. The driver edges get faster, EMI goes up and the output stage may not switch cleanly at all.

FAQ

Before you decide

Separate the PWM dimming frequency from the multiplex scan rate. The scan rate sets the floor for flicker, and the PWM frequency has to sit well above it, usually in the range of several kilohertz, before cameras stop showing bands.

Test at the lowest brightness setting you plan to ship. Narrow PWM pulses at low duty are where banding appears first, so a display that looks fine at full brightness can still fail on video at ten percent.

Why does my display look steady but band on video?

The eye averages fast flicker, while a rolling-shutter camera samples each row at a slightly different time. If the PWM or scan frequency is low compared with the exposure time, rows catch different amounts of light and form bands. The display is not faulty; the drive frequency is simply too low for the camera.

Is 1 kHz PWM enough?

For the eye, 1 kHz with 100% modulation is still below the 1250 Hz low-risk point in IEEE 1789. For cameras, it gives only one cycle per 1/1000 s exposure. Several kHz is a better starting point, and more for bright scenes.

Does lowering the brightness of a MAX7219 or HT16K33 cause more banding?

Usually yes. The scan rate stays the same while the on-time in each slot gets shorter, so short exposures are more likely to miss a pulse and the bands become more visible. If the product will be filmed, test the dimmed setting with a phone camera before you finalize the brightness levels.

Can OPLED (展躍光電) displays be driven without flicker?

Yes. OPLED (展躍光電) is a Taiwan LED display maker. Flicker comes from the drive circuit, not from the LEDs, so any of its 7-segment, dot-matrix or bar-graph displays can run flicker-free on steady DC current within the datasheet ratings. What you need to check is the continuous and peak forward current on the product datasheet.

These articles continue the same topic and are worth reading together.

References

These are the public sources this article draws on, in case you want to check the originals.

What should you prepare before requesting a quote?

Send us these details and we can quote a standard part or a custom 7-segment display in one pass:

  • Digit count and layout: single, dual, triple or quad digit, with or without decimal point or colon
  • Character height (for example 0.36″, 0.56″, 0.8″, 1.0″) or the viewing distance you need to cover
  • Color, and whether you need a specific wavelength or brightness bin
  • Common anode or common cathode
  • Brightness target (mcd) and ambient light: indoor, outdoor or dashboard
  • Drive method: static or multiplexed, and the driver IC you plan to use
  • Package: SMD or THT (through-hole), and any PCB footprint or height limits
  • Quantity: prototype, pilot run or annual volume
  • Target application and operating temperature range

Send the list through our contact page and our sales team will reply with a matching standard part or a custom proposal.

Leave a Reply

Your email address will not be published. Required fields are marked *