This page is partly based on a post I wrote in 2017 and also includes some material from an article that was published in the UV4Plants Bulleting titled Using LEDs: drivers and dimming. Please, consult this earlier article for additional information about the different approaches used to adjust the light output of LEDs.
Mains AC frequency
Incandescent (tungsten) lamps, including tungsten-halogen lamps as well as many fluorescent lamps flicker at twice the frequency of the mains power (\(2 \times 50 = 100\,\mathrm{Hz}\) in Europe and \(2 \times 60 = 120\,\mathrm{Hz}\) in North America). This flickering is not on/off but between brighter and less bright output. The AC power follows a sinusoidal wave shape and there is enough delay in the cooling of the tunsten fillament or in the decay of the fluorescence of the coating to maintain some light output at the crossover when voltage is at zero.
With a light sensor with a fast response and an ordinary oscilloscope the pulses can be observed and the frequency, amplitude and duty cycle precisely measured.
Pulse Width Modulation
A commonly used approach to dimming of LEDs is to quickly switch them on and off. This is a square or rectangular wave shape, making it more obvious at low frequency. However, if the frequency is high enough, our eyes do not perceive the flicker. Above about 100 Hz humans see light as constant even when pulsed on and off. Some animals do perceive higher frequencies than humans. The perceived brightness depends on the proportion of the time the LEDs emit light. The frequency is kept constant while the width of the pulses is changed, thus receiving the name pulse width modulation, abbreviated PWM.
In the post Small fill/video LED lights I mention that of three video LED lights I tested two used PWM. However, the frequencies used are 49 kHz and 146 kHz. Depending on the camera and settings used these fast frequencies can help mitigate problems. When PWM dimming is used for general illumination, the frequencies commonly used vary between 100 Hz and 1 kHz.
Constant Current
An approach to dimming that is gradually gaining popularity is based on constant current (CC) regulation. In this approach LEDs emit light without interruption and their brightness is adjusted by changing the electrical current flowing through them. Currently, most drivers implementing CC dimming do use high frequency oscillations in the circuit but these are filtered out with only a small residual oscillation remaining in the light output.
Mechanical shutters
Different types of shutters are in use. In large format cameras and in some medium format cameras shutters are frequently located in the lens and simply open and close. In most medium, full-frame and smaller formats in cameras with interchangeable lenses the shutter is located very near the focal plane, that is just in front of the film or sensor. These shutters, when set to relatively low shutter speeds, actually open and close. However, high shutter speeds are obtained with a slit that travels across the focal plane, and the exposure time is adjusted by the changing width of the slit keeping constant the speed at which the curtain with the slit travels. The consequence is that at fast shutter speeds different parts of the image are captured at slightly different times. Obviously, if the illumination varies during the time when the slit moves, different parts of the image receive different amounts of light resulting in visble banding. If the shutter speed is such that a slit is not used, instead of banding, the flickering results in succesive images in a series being inconsistent, with some ligher and others darker. The travel time of the slit across the photograph depends on the camera. Something like 2.4 ms to 15 ms can be guessed based on flash synchronization speeds.
One way to avoid uneven exposure is to use slow-enough shutters speeds and select speeds that match a whole multiple of the duration of a cycle. So, if the frequency is 100 Hz, using 1/100 s, 1/50 s, 1/25 s, etc., can help avoid banding. At low shutter speeds, enough cycles are included in each exposure that all slow shutter speeds works just fine.
Another artefact introduced, but unrelated to illumination, is the distortion of the shape of fast moving objects. In this case the object moves during the travel of the slit, an thus appears deformed in the photograph.
CMOS image sensors
Most modern digital system cameras have a mechanical shutter and an electronic shutter. When the mechanical shutter controls the exposure time, the sensor is active for a longer time than the exposure length and consequently the discussion on the previous section applies. When the electronic shutter is in use, the mechanical shutter remains open, and the exposure time is controlled electronically by the integration time during which photons are collected.
CMOS digital sensors, except in exceptional cases, work so that pixels are read one row at a time. We have the equivalent of a moving slit, but a very narrow one. The readout speed describes the time it takes to read the data from the every pixel once. We face again the problem not all the image is captured simultaneously, and this, as in the case of the slit, can introduce both banding and deformation of fast moving objects. Until recently, readout times for CMOS sensors were relatively long at around 50 to 70 ms. Newer sensors, have readout times as low as 5 ms. The just announced newest top-of-the-line Sony camera has a global electronic shutter, meaning that the whole image is captured simultaneously.
Measuring the readout speed
If we have a pulsing light source at a known frequency, counting the number of bright bands we see on the image and multiplying this number by the duration of one cycle gives the readout time. If we assess this number to a fraction of the width of a band in the image we can get a very good estimate. In the old times a TV set with a scanning rate of 50 Hz or 60 Hz was used to test camera shutters. With a PWM-dimmed LED lamp the bands are very well defined. The values I measured for three cameras using a LED lamp with PWM dimming at 166 Hz are shown in the table below.
Camera | Year | Resolution | Readout time |
---|---|---|---|
E-M1 | 2013 | 16.3 MPix | 63 ms (1/16 s) |
E-M1 II | 2016 | 20.4 MPix | 15.6 ms (1/64 s) |
OM-1 | 2022 | 20.4 MPix, stacked BSI | 7.8 ms (1/128 s) |
An RGB lamp
LED lamps with four channels (Red, Green, Blue and White, RGBW) that can be dimmed independently by PWM are widely available (Figure 2). These lamps, when dimmed, produce pulses of different widths in the different channels. Even when pulses are of the same relative width, they are not necessarily synchronized. When such lamps are dimmed, photographs may show strong multicolour banding (Figure 3).
Indoor Ambient Light
[2025-03-07] Nowadays LEDs are used almost exclusively for artificial illumination. In many cases their dimming is implemented by PWM. Banding and variation in exposure between succesive photographs can be a problem. It is best to take some on-site test photographs in advance and assess which shutter speed settings can be used safely. With LEDs we cannot any longer assume that the pulsing will be at twice the frequency of AC mains power. There can be also differences in frequency among luminaires in the same room or among bulbs in the same luminaire. Even some LED lights sold for use in photography when dimmed can create strong banding artefacts in photographs taken using the electronic shutter. See page Small fill/video LED lights at this site for test results.
To avoid nasty surprises, one needs to get to know the illumination available, not only in relation to colour temperature and brightness, but do also in relation to flicker. When needed adjust the shutter speed to minimize banding. Some cameras, like the OM-1, have a function that adjusts the set of selectable shutter speeds based on the frequency at which illumination varies. When this flicker scan mode is enabled, the banding can be assessed directly in the Live View image in advance of taking a photograph, and shutter speed adjusted as necessary.