What Are Machine Vision Lighting Techniques?
Machine vision lighting techniques are specialized illumination methods designed to enhance contrast, highlight specific features, and eliminate unwanted reflections to enable reliable automated inspection and measurement. Proper lighting transforms challenging inspection tasks into solvable vision problems by making defects visible, edges sharp, and features measurable while suppressing irrelevant background information.
Lighting represents one of the most critical factors in vision system success. A well-designed lighting setup can make defects obvious and simplify image processing, while poor lighting forces complex algorithms to extract features from low-contrast noisy images. Common lighting techniques include bright field, dark field, backlighting, dome lighting, structured lighting, and coaxial illumination. Each technique suits specific inspection challenges, with selection depending on part geometry, surface properties, and the features requiring detection.
When Should Backlights, Darkfield, or Dome Lighting Be Used?
Backlighting suits edge detection and dimensional measurement of opaque objects, darkfield lighting reveals scratches and surface defects on reflective materials, and dome lighting eliminates shadows and hotspots on curved or irregular surfaces.
Lighting Methods: Feature Comparison
| Feature | Backlighting | Darkfield | Dome Lighting | Bright Field | Coaxial |
|---|---|---|---|---|---|
| Light Position | Behind part | Low angle, side | Surrounding hemisphere | Front, angled | Through lens axis |
| Image Appearance | Dark silhouette on bright background | Bright defects on dark background | Even, diffuse illumination | Direct illumination with shadows | Shadowless, on-axis |
| Best For | Edge detection, dimensional measurement | Surface defects, scratches on reflective parts | Curved/shiny surfaces, 3D features | General purpose, texture inspection | Flat reflective surfaces, wafers |
| Reveals | Outer dimensions, presence/absence, holes | Scratches, particles, surface irregularities | Overall appearance, color, markings | Surface texture, contrast features | Height variations, perpendicular features |
| Limitations | Opaque parts only, no surface detail | Requires angle adjustment, part positioning | Reduced edge contrast | Glare on shiny surfaces, shadows | Expensive setup, reduces light 50-70% |
| Setup Complexity | Simple | Moderate, angle-critical | Simple to moderate | Simple | Complex, requires beam splitter |
| Typical Applications | Blister pack inspection, connector pins | Wafer inspection, glass defects | Cap inspection, curved parts | PCB inspection, printing verification | Semiconductor, flat glass |
Backlighting
Backlighting positions a diffuse light source behind the part, creating a silhouette where the part appears dark against a bright background. This high-contrast illumination excels for measuring outer dimensions, detecting presence or absence of features, and inspecting holes. Pharmaceutical inspection systems use backlighting to verify tablet presence in blister packs, while electronics manufacturing uses it to inspect connector pins and verify lead placement. Backlighting works only for opaque parts where internal structure doesn't matter, and requires accurate part positioning since it provides minimal tolerance for focus variations.
Darkfield Lighting
Darkfield lighting positions light sources at shallow angles so light strikes the part but reflects away from the camera unless surface irregularities scatter light back toward the lens. Smooth surfaces appear dark while scratches, dents, or particles appear bright, dramatically enhancing defect visibility. Semiconductor wafer inspection uses darkfield lighting to detect micron-scale scratches and contamination, while automotive glass inspection employs it to find scratches and chips invisible under direct illumination. The technique requires careful angle adjustment, with optimal angles depending on surface finish.
Dome Lighting
Dome lighting surrounds the part with a hemispherical diffuse light source, providing even illumination from all directions simultaneously. This eliminates directional shadows and reduces hotspots on curved surfaces. Pharmaceutical cap inspection uses dome lighting to uniformly illuminate curved plastic or metal caps, while electronics connector inspection benefits from it when inspecting three-dimensional features and reflective metal surfaces. Dome lighting works well for curved, shiny, or multi-faceted parts but provides reduced contrast and edge definition compared to directional techniques.
How Do Structured Lighting Techniques Improve Inspection?
Structured lighting projects known patterns onto surfaces to measure three-dimensional geometry, detect surface defects through pattern distortion, and calculate depth information for robotic guidance and dimensional verification.
Laser Line Scanning
A laser projects a thin line onto the part surface while a camera views the line from an angle. Surface height variations cause the line to shift position in the camera image, with the shift magnitude proportional to height change. Applications include:
- Solder joint inspection - Measures solder paste volume before component placement
- Robotic bin picking - Generates 3D models of randomly oriented parts in bins
- Quality control - Provides 0.01-0.1mm height measurement resolution
The technique requires relative motion between part and laser, with stationary inspection using mechanical scanning and production lines using part motion for scanning.
Structured Light Projection
A projector displays patterns (grids, stripes, random dots) onto the surface while cameras capture the pattern distortion caused by surface geometry. Software triangulates the 3D surface shape from pattern deformation. Automotive body panel inspection projects grid patterns to detect dents and surface irregularities, while reverse engineering applications capture complete 3D geometry for quality verification. Structured light provides dense 3D data acquisition in fractions of a second but is sensitive to ambient light and requires controlled environments.
Photometric Stereo
Multiple light sources illuminate the part from different angles while a fixed camera captures images under each lighting condition. Software analyzes how surface shading changes with lighting direction to calculate surface normal vectors and reconstruct 3D surface detail. PCB inspection uses photometric stereo to detect lifted traces and solder mask defects, while document examination employs it to authenticate embossed security features. The method works best for matte surfaces where lighting angle affects brightness predictably.
What Is Coaxial Illumination?
Coaxial illumination delivers light through the camera lens optical axis using a beam splitter, providing on-axis lighting that eliminates shadows and highlights surface features perpendicular to the camera view while minimizing glare from flat surfaces.
A partially reflective mirror sits in the optical path between lens and camera at 45 degrees. Light from an LED source reflects off the beam splitter, traveling through the lens to the part, while returning light passes through the splitter to the camera sensor. This creates shadowless lighting where perpendicular surface features reflect light directly back while angled features appear darker. Semiconductor wafer inspection uses coaxial lighting to detect surface defects and verify marking legibility, while flat glass inspection employs it to detect contamination and scratches without glare interference. The technique requires beam splitter installation adding cost and blocks 50-70% of returning light, requiring brighter illumination to compensate.
How Does Lighting Choice Impact Camera Selection?
Lighting technique determines required camera sensitivity, dynamic range, color requirements, and frame rate capability, while camera specifications influence feasible lighting methods, exposure times, and illumination intensity needed for successful inspection.
Sensitivity Requirements
Darkfield and structured lighting techniques produce dimmer images than bright field or backlighting, requiring cameras with better low-light performance. Key considerations:
- Quantum efficiency - 60% QE with low read noise handles darkfield applications that fail with 40% QE sensors
- Strobed lighting - Requires sensitive cameras for brief intense light pulses
- Infrared applications - Need cameras with good near-infrared response beyond 800nm
Dynamic Range
Dome lighting creates relatively uniform brightness requiring less dynamic range than directional lighting with bright highlights and dark shadows. Backlit applications show extreme contrast with bright backgrounds and dark features, requiring cameras handling high dynamic range without saturation. Coaxial lighting on reflective parts can create bright reflections from flat surfaces while recessed features remain dark, demanding cameras that balance these extremes through appropriate exposure control.
Color vs Monochrome
Color inspection requires color cameras but these show 30-50% lower sensitivity than monochrome cameras due to Bayer filter absorption. Many machine vision applications use monochrome cameras with monochromatic LED lighting for maximum sensitivity and speed. Applications like food sorting, pharmaceutical color verification, or print quality inspection require color cameras specified during system design, as retrofitting often requires brighter lighting or longer exposures.
Frame Rate Considerations
High-speed inspection requires short exposure times to freeze motion, demanding bright lighting and sensitive cameras capturing adequate signal in 100-500 microsecond exposures. Structured light techniques projecting multiple patterns require cameras capturing several images rapidly, dictating minimum frame rates of 80+ fps for typical throughput. Backlighting provides ample illumination allowing short exposures and high frame rates, while darkfield techniques may require longer exposures limiting maximum inspection speed.
Conclusion
Machine vision lighting technique selection fundamentally determines inspection system success. Understanding when to use backlighting for dimensional measurement, darkfield for surface defect detection, dome lighting for curved reflective parts, structured lighting for 3D geometry, or coaxial illumination for flat surface inspection enables effective system design. Lighting and camera selection are interdependent, with each affecting the other's requirements and capabilities. Modern LED technology provides controllable, reliable illumination enabling sophisticated lighting techniques that, combined with advanced cameras and image processing, transform difficult inspection challenges into reliable automated quality control systems.
Recommended Resources
Explore more vision and imaging insights
EyeCheck 9000 the Lightning-swift Smart Camera series
The innovative developing engineers from EVT have added the lightning-swift EyeCheck 9000 smart camera series to the industrial camera market.
Basic Illumination Techniques for Machine Vision
Even with the most powerful technology, machine vision systems won't work without the right lighting. A system's lighting needs are highly variable, depending on the specific...
Lighten Up, Francis: Filter-Light Combinations Ease Machine Vision Data Requirements
If you need to find a green tab on a label, sort pills by color, or separate a black barcode from nearby red type, you might reach for a color...