Knowledge · Lighting

Selecting machine vision lighting: geometry, wavelength and timing

Changing contrast causes missed detections, false rejects and extra operator interventions. This guide helps you select ring, bar, backlight, dome or strobe lighting from the surface, motion, field of view and available mounting space.

Confirm the choice with representative good, poor and borderline samples at production speed and with the planned shielding.

Industrial Computer Vision lighting and imaging hardware
Controlled illumination creates the contrast your camera and software need, often more than megapixels alone.

Create contrast for the inspection decision

An inspection needs a visible difference between acceptable and defective products. Select the camera and lens together with the illumination. Reflections can saturate a code, shadows can resemble defects and surface variations can shift the tool result. The lighting trial must show that the required distinction remains visible across production variation.

Start with the feature and the permitted product positions. Compare lighting angles on the same samples before adjusting inspection thresholds. Retain the raw images so that a later change can be traced to illumination, focus or software.

Use a short comparative trial to choose the light geometry. Then check whether that arrangement fits the machine and its maintenance access. Available product families are listed in the Computer Vision lighting hub. The following sections explain which contrast each arrangement can create and where it can fail.

In one sentence

Lighting determines how the feature and its background appear in the image. Validate their separation on independent samples before accepting an inspection threshold.

Compare light geometry and operating mode

Geometry describes the light’s direction relative to the surface and camera. Bright-field lighting sends substantial reflection from the flat surface toward the camera. Dark-field lighting keeps that reflection outside the lens while edges or texture scatter light into it. Pulsed operation is a separate choice and can be used with several geometries.

Computer Vision lighting setup in a production cell
Geometry and mounting rigidity matter as much as LED brightness, a loose bracket looks like a software bug.

Ring lights

A ring light surrounds the lens and can illuminate a compact field from several directions. Test it for printed contrast or presence checks on diffuse surfaces. On reflective parts, the ring may appear as a bright reflection that hides the feature. Check the centre, corners and allowed product tilts.

Bar lights

A bar light provides directional illumination. Change its height and angle to reveal an edge or scratch, then test whether the same angle remains useful across product positions. Two opposing bars can reduce some shadows, but may also suppress the directional contrast needed for a surface defect.

Backlights

A backlight places a bright surface behind the product, creating a silhouette. It is useful for outer contours and open holes. It does not show print on the front of an opaque part. For measurement, test edge position against a reference and check whether diffuse or more directional illumination suits the required accuracy. For full-frame imaging, see area scan .

Dome lights

A dome provides diffuse illumination from many directions. It can reduce distinct reflections on curved or glossy parts, while also reducing the shadows that reveal some scratches. Check access for the camera, conveyor and tooling. Test whether the observation opening creates a dark reflection on the product.

Strobe-capable sources and controllers

Strobe describes pulsed operation, not the shape of a light. A suitably timed pulse can limit motion blur when the sensor exposure, light and controller are compatible. Continuous lighting can also support moving products when it provides enough light during the required short exposure. Check pulse duration, trigger delay, peak current and duty cycle against the exact equipment ratings.

GeometryWins whenWatch-outs
RingCompact FOV, matte parts, integrated with cameraSpecular hot spots; limited angle control
BarCustom angles, long parts, dark-field textureMounting space; uniformity along length
BacklightSilhouette, holes, many transparent outlinesNo surface detail; access behind part
DomeShiny / curved / DPM glare controlBulk; softens wanted shadows
StrobeMotion freeze, ambient rejectionSync, controller, peak current design

Compare compatible lights and controllers in the lighting hub. Check the exact model’s current, pulse and thermal limits before designing its control circuit.

Continuous vs strobe, and sync with exposure

Continuous light can inspect moving products when it supplies enough light during a sufficiently short camera exposure. Motion does not by itself require strobing. Calculate the maximum exposure from permitted blur and product speed, then check the signal level and thermal load at that exposure.

Illustrative timing: allowing 0.05 mm movement at 1,000 mm/s gives 0.05 ÷ 1,000 = 50 µs. A continuous source can meet this if sufficient light reaches the sensor in 50 µs. A pulse can also limit effective exposure when it dominates ambient light and lies within the sensor’s active window. Check this on the chosen area scan cameras . Record trigger delay and jitter as well as pulse width; a short pulse outside the exposure window produces no usable image.

Industrial vision components for synchronized lighting and capture
Check trigger, sensor exposure and light timing together at the production speed.

Sync checklist

  • One master trigger, photoelectric, encoder or PLC pulse starts the sequence.
  • Exposure defines the window, light must be bright inside it; leftover glow after the shutter closes is wasted heat.
  • Prefer light over gain, noise hurts DPM grades and subtle defect thresholds.
  • Respect duty cycle, high-rate strobing needs a controller and thermal design rated for your takt.
  • Kill ambient competition, shields or overpowering pulses beat fighting sunlight with software.

For a 50 µs pulse at 100 pulses per second, duty cycle is 50 × 10⁻⁶ × 100 = 0.005, or 0.5%. This example does not establish a permissible peak current. Use the light/controller limits for that pulse width and repetition rate. The machine interface and ownership of settings are covered in smart vs PC-based vision .

Surfaces: matte, shiny, transparent, textured and DPM

Use the actual finish in the lighting trial. The same geometry can produce different contrast on painted, polished, oily or transparent surfaces.

Matte and diffuse

On matte parts, front illumination may provide usable print contrast. Include varnished or laminated variants if production permits them, because they can introduce reflections. Compare wavelengths on the same samples rather than assuming that white or red light is always preferable.

Shiny and specular

For glossy parts, move the light so that direct reflections do not obscure the feature. Compare a dome or polarization where suitable. Include dry and oily surfaces. Saturated pixels lose detail, so reducing a reflection must retain the defect signal as well.

Transparent and translucent

Transparent parts can transmit, refract and reflect light. Test backlighting for contours or fill level and front lighting for surface print. Include both surfaces, permitted wall thicknesses and any foam or bubbles. Compare the observed edge with the physical feature to avoid measuring a secondary reflection.

Textured surfaces

Low-angle illumination can reveal scratches or embossing by scattering light toward the camera. It can also amplify harmless texture. Compare the same defect with different orientations and separate normal surface variation from reject criteria.

Direct Part Marking (DPM)

For directly marked codes, the contrast may come from surface shape or scattering rather than ink. Compare the same code under several angles and include production marking variation. A successful decode on a reference part does not establish the production read rate. Compare candidate geometries in the lighting hub before choosing the final hardware.

SurfaceTypical lightBuyer hint
MatteRing / high-angle barCheck for hidden gloss films
ShinyDome / polarized / angled barsTrial oily + dry samples
TransparentBacklight ± careful frontSeparate silhouette vs print goals
TexturedDark-field low angleDo not confuse texture with defect
DPMDome / low-angle / multi-zoneLighting trial before SKU lock

Polarization: reduce glare without removing the feature

A polarizer on the light and a crossed analyzer on the lens can attenuate specular glare while diffuse light from the feature still reaches the sensor. This often helps on plastic trays, painted metals, blister packs and laminated labels. Always test that the target defect remains visible.

Crossed filters reduce the transmitted light and their effectiveness depends on material and angle. Compensate only within the validated exposure, aperture and light ratings. Check that the defect remains visible as the filters rotate. Inspect available filter options on the lighting product pages, note whether polarizing films or kits are available for the form factor you need.

Rule of thumb

If moving the light a few degrees removes the hotspot, fix geometry first. If every angle still mirrors the LED into the lens, try dome or crossed polarization next.

Buying specs that actually matter

Datasheets list illuminated area, wavelength, IP rating and strobe current. Use the order below to build a shortlist, then confirm it with production samples. Do not infer usable contrast or lifetime from a catalogue value alone.

Production environment where Computer Vision lighting must stay stable
Specify for real line conditions: motion, ambient light, washdown and worst-case parts, not a desk demo.

Illuminated area and working distance

The light must cover the FOV with acceptable uniformity at your mechanical WD. Undersized lights create centre-bright images; oversized lights waste space and may illuminate neighbouring stations. Match to lens FOV plans from the lenses discussion.

Geometry and mounting

Ring, bar, backlight or dome, and whether the robot, gripper or conveyor physically allows that shape. Cable exits, brackets and vibration locking are part of the spec, not afterthoughts.

Wavelength and colour

Choose wavelength by the contrast observed on representative materials. White light is relevant when colour differences are inspected; narrow-band illumination can help separate some materials with a monochrome camera. Fluorescence requires a suitable excitation wavelength and detection filter.

Continuous and strobe ratings

For moving products, validate either continuous or pulsed operation at the required exposure. If using pulses, check peak current, pulse width, repetition rate and thermal limits as a combination. A low duty cycle does not permit an arbitrary peak current.

Controller and I/O

Trigger inputs, intensity control (analogue, PWM, digital), and safe wiring to the camera strobe line determine how cleanly the station commissions. Integrated lights on smart devices simplify this; external bars on PC cells need explicit design.

Environment

IP rating, temperature, washdown chemicals and ESD context matter as much as optical niceties. A fogged dome window is an inspection outage.

Before you buy, eight questions

  1. What feature must become high contrast (edge, print, scratch, DPM module)?
  2. What is the surface class on worst-case production parts?
  3. How fast does the part move during exposure?
  4. Which geometries physically fit the cell (dome clearance, backlight access)?
  5. Do you need continuous, strobe, or both for changeover SKUs?
  6. Which wavelength improves contrast on your materials?
  7. Who owns trigger timing, camera, PLC or light controller?
  8. Have you scheduled a sample-based lighting trial?

Common first-system lighting mistakes

  • Buying the camera first and treating light as a last-minute LED strip.
  • Extending exposure beyond the motion limit to compensate for insufficient light.
  • Fighting specular metal with a brighter coaxial ring instead of dome or angle change.
  • Testing only reference parts without the allowed surface variation.
  • Ignoring ambient sunlight near windows, weekend no-reads that vanish on cloudy Tuesdays.
  • Raising gain instead of photons, then wondering why thresholds drift.
  • Skipping a structured feasibility lighting trial because “white light is white light.”
  • Leaving brackets adjustable forever, mechanical drift looks like software regression.

Industry snapshots

Packaging and FMCG

For packaging, test label and film contrast across the permitted formats. Validate continuous or pulsed operation at the maximum speed, then repeat after a recipe change.

Automotive and metal

For metal components, include oily and dry surfaces and the permitted marking variation. Compare low-angle and diffuse illumination on the same samples. Retain the images supporting the chosen arrangement.

Electronics

For electronics, check small features under the proposed geometry without losing detail to reflections. Include space for tooling and account for the installation’s electrostatic-discharge requirements.

Pharma and medical

For transparent packs, separate contour, fill and printed-code requirements. Confirm each under its intended light setting and retain the validated settings with the equipment record.

Short glossary

Bright-fieldLighting where the surface facing the camera is brightly illuminated; defects often appear darker.
Dark-fieldLow-angle lighting that lights raised or recessed texture while flat areas stay darker.
Diffuse lightSoft illumination from many directions, domes are a common embodiment.
Specular reflectionMirror-like bounce of the light source into the lens; primary glare mechanism.
StrobePulsed light synchronized with sensor exposure. Its duration can limit motion blur when it dominates ambient illumination.
Working distance (WD)Distance from light or lens to the inspected surface, must match FOV and uniformity.
DPMDirect Part Marking, codes or marks applied to the part itself, often low contrast.

FAQ: Computer Vision lighting

Is lighting really more important than camera resolution?

Often yes for first failures. Extra megapixels cannot create contrast that geometry never produced. Start with surface physics and light, then size the sensor.

When should I choose a dome over a ring?

Compare a dome when a ring creates reflections that hide the feature. A dome can reduce those reflections but may suppress useful scratch contrast and needs more space. Test both with the same surface variants.

Do I always need strobe on a conveyor?

No. Continuous lighting can work if it supplies enough light within the exposure allowed by motion. Compare it with pulsed operation using the same speed, blur limit and image-quality requirement. Validate pulse timing and equipment ratings if you choose strobing.

Can one light do every SKU?

Sometimes with multi-angle or multi-colour banks and recipe changes. Mixed matte and mirror SKUs may need two geometries. Design for the hardest part, not the average.

How does lighting relate to lenses and cameras?

FOV and WD from the lens define how large the illuminated field must be; the camera shutter and trigger define how you sync strobe. Treat them as one optical chain.

Where do we start if we have never specified vision lighting?

Collect worst-case samples, state the feature and takt, then run a short lighting trial. Begin from Knowledge, the feasibility mindset, and the lighting hub.

Next steps

Select lighting by the feature that must remain visible across the expected product variation. Test alternative angles or light types with good products, defects and borderline samples at production speed. Record settings, missed defects and false rejects. Include controllers, mounting, cleaning access, replacement and commissioning in the cost comparison, then use the product pages to select compatible equipment.

Related: Kennis / Knowledge, lenses, area scan cameras, smart vs PC vision.