An LED illuminator looks steady to an operator, but a machine-vision camera captures alternating light and dark bands. A replacement camera can make the bands more visible. Before buying a more stable oscillator, record the timing of the lighting and camera exposure. A camera can register changes much faster than a person notices. The light driver may change average brightness by switching rapidly. A camera that exposes rows at different times can catch a different lighting state in each row. Those timing differences appear as spatial bands.
Pulse-width modulation, or PWM, changes the fraction of each cycle during which the lamp is on. At fixed frequency, a longer on-time usually increases average light. Exposure time determines how much light the pixel row accumulates. A rolling shutter can start each row's exposure at a different instant. Basler's documentation shows this process and describes exposure-state signals on some models. Check the signal definition for the particular camera. It can provide a reference without marking one simultaneous start for all rows.
A short exposure can see only the bright or dark interval
Suppose an LED dims at 1 kHz, so each period lasts 1 ms and the light is on for 0.4 ms. A row with a 0.2 ms exposure can fall wholly within the on interval. Another row can fall in the off interval and receive none of the same illumination. Their recorded brightness can differ substantially while the lamp appears constant. Keep 1 kHz and use a 2 ms per-row exposure. Ideally each row integrates two full PWM periods and therefore the same total on-time regardless of starting phase. Real light output has rise and fall times and exposure tolerances. The example is a first estimate for diagnosis.
Longer exposure creates another problem on a fast conveyor. Suppose a part moves at 2 m/s. A 0.2 ms exposure lets it move 0.4 mm. At 2 ms it moves 4 mm. If the customer needs to resolve an edge less than 1 mm wide, reducing banding can worsen detection through motion blur. Consider steady lighting where possible, a higher PWM frequency validated for the driver and optical output, or synchronized triggering of lighting and exposure. Suitability depends on lamp ratings, camera exposure coverage, and site safety.
Measure the light rather than guessing from the image
For a bench test, lock exposure, gain, and processing and use a stationary white target. Record actual light output with a suitable optical sensor. If first measuring current or the driver command, verify that it corresponds to optical pulses. Capture several frames under the same inputs and compare band positions, light waveform, and camera exposure timing on one reference. Repeat with a known steady light. A visible change that tracks the lighting waveform is stronger evidence than the pattern alone.
Check shutter type. A global shutter exposes all pixels in a frame over the same interval, changing whether row-by-row banding can appear. With lighting and frame timing still independent, average brightness can vary between frames. Cameras also may change exposure automatically or apply an anti-flicker setting. Disable or fix these for diagnosis, then repeat with the settings that customers actually use. Save frames of a stationary target, a moving target, and the relevant parts of the full field to distinguish exposure bands from motion blur.
Purchasing can turn that into practical acceptance criteria. At the specified exposure and line speed, the relevant feature must remain identifiable and image bands must stay within the project's limit. Ask the lamp vendor for the dimming method at the chosen brightness, adjustable PWM frequency, and trigger response. For the camera, list shutter type, trigger input, and exposure status output. If the pattern drifts over time and relative timing must be controlled, then assess long-term clock accuracy and a shared reference.
For an externally triggered design, make the actual lamp trigger, exposure state, and communication status observable. Test other dimming settings, recovery after disconnect, and another frame rate. One band-free setting may simply have favorable phase. Save repeatable waveforms and camera configuration for comparisons when component lots change.
If stripes only appear on some frames after changing lights, lock exposure and save a run of raw frames. Slow drift of the stripes suggests independent light and camera timebases. If they stay in the same location, check for fixed phase, lens reflections, background, or a sensor problem. Save examples of each rather than stopping when a brightness setting happens to work.
