560 likes | 602 Views
Vision Lighting Training Seminar. Today’s Objectives. Machine Vision Illumination Principles & Techniques Sample Applications Imaging Beyond the “Visible” – Near IR & UV “Pass” Filters and Polarization. Sources. LED - Light Emitting Diode Quartz Halogen – W/ Fiber Optics Fluorescent
E N D
Today’s Objectives • Machine Vision Illumination Principles & Techniques • Sample Applications • Imaging Beyond the “Visible” – Near IR & UV • “Pass” Filters and Polarization
Sources • LED - Light Emitting Diode • Quartz Halogen – W/ Fiber Optics • Fluorescent • Metal Halide (Microscopy) • Xenon • High Pressure Sodium • Ultraviolet (Black Light) • Infrared • Electro-luminescent
Source Comparisons ** Until Recently
Lighting – Intensity vs. Spectrum Quartz Halogen / Tungsten Mercury (Purple) 100 Daytime Sunlight Relative Intensity (%) 80 Fluorescent 60 White LED Xenon 40 20 Red LED 0 300 400 500 600 700 Wavelength (nm)
Optical Characteristics of an LED Mechanical Axis Optical Axis
Broad Area Linear Arrays (BALA) AL4424-660
RGB Lights • Red, Green, Blue light heads offer flexibility • Equal parts RGB creates white light • Color mixing capabilities
The right light helps the vision system do its job • Lighting is one of the least expensive, most flexible components in any machine vision inspection system. • Sample-appropriate Lighting is critical to a successful inspection.
The Visible Light Spectrum IR UV 390 735 400 nm 500 nm 600 nm 700 nm Human Visible Range Decreasing Frequency Increasing Wavelength Decreasing Photon Energy Increasing Photometric Output Increasing Penetration Depth
The Visible Light Spectrum • Light is Seen Differently by film, humans and CCDs IR UV 390 455 470 505 520 595 625 660 695 735 400 nm 500 nm 600 nm 700 nm Human Visible Range
Reflection on Specular Surfaces • Light reflects at the angle of incidence • Just like a pool ball off the bumper F1 = F2 1 2 • Surface Angle determines where light comes from in order to illuminate the surface
Divergence and Intensity • Intensity falls with the inverse square of the divergence radius • I = 1/r2 • Use collimation and short working distances when possible
Lighting Environment and the Part • Ring Light • Small Solid Angle Note: The solid angle of any light source may be increased by placing it closer to the object of interest. • Continuous Dome • Large Solid Angle
The Optimized Image • It’s All About Contrast! • Feature Separation or Segmentation • Maximum contrast • features of interest • Minimum contrast • features of no interest (noise) • Minimum sensitivity to normal variations • minor part differences • presence of, or change in ambient lighting • sample handling / presentation differences
Creating Contrast – Lighting Cornerstones • Change Light Direction w/ Respect to Sample and Camera (Geometry) - 3-D spatial relationship - sample, light & camera • Change Light Pattern (Structure) - Light Head Type: Spot, Line, Dome, Sheet - Illumination Type: B.F. - D.F. - Diffuse - B.L. • Change Spectrum (Color / Wavelength) -Monochrome, white vs. sample / camera response - Warm vs. cool color families – object vs. background Need to understand the impact of incident light on both the part of interest and its immediate background!
General Sequence for Lighting Analysis • Analyze Part Access / Presentation - Clear or obstructed - Min / Max WD range - Moving / stationary - Sweet Spot FOV • Analyze Surface Characteristics - Texture - Reflectivity / Specularity - Effective Contrast – Object vs. background - Surface flat, curved, combination • Light Types and Applications Techniques Awareness - Rings, Domes, Bars, ADIs, Spots, Controllers - Bright Field, Diffuse, Dark Field, Back Lighting • Determine Cornerstone Issues - 3-D Geometry, Structure, Color • Ambient Light Effects / Environmental Issues
Using Color Use Colored Light to Create Contrast Warm Cool • Use Like Colors or Families to Lighten(yellow light makes yellow features brighter) • Use Opposite Colors or Families to Darken(red light makes green features darker) R V O B Y G
Using RGB View with color camera under white light View with B&W camera under white light
Using Monochrome LED Illumination Red LED Green LED White Light Blue LED
Common Lighting Techniques Partial Bright Field Dark Field Back Lighting Diffuse Dome Axial Diffuse Full Bright Field
Bright Field vs. Dark Field Camera Bright Field Image Bright Field Ring Light Mirrored Surface
Bright Field vs. Dark Field Dark Field Image Camera Scratch Dark Field Ring Light Mirrored Surface
Dark Field • Angled light • Used on highly reflective surfaces • OCR or surface defect applications
Result of Dark-Field Light • Emphasize Height Changes • Diffuse Surfaces are Bright • Flat Polished Surfaces are Dark • Shape and Contour are Enhanced
Axial Diffuse • Light directed at beam splitter • Used on reflective objects
Result of Axial Diffuse Illumination • Surface Texture Is Emphasized • Angled Elevation Changes Are Darkened
Diffuse Dome • Similar to the light on an overcast day. • Creates minimal glare.
Wavelength vs. Composition Checklist Monochrome
Bright field spot light Dark Field ring light Line light Bright field ring light Stamped Date Code • Recessed metal part • Reflective, textured, flat or curved surface
Standard Dome Dark Field Ring Light Broad Area Linear Array Bright Field Ring Light Data Matrix • Peened data matrix • Flat, shiny surface
Bright Field Ring Light Dark Field Ring Light Broad Area Linear Array Axial Diffuse Illuminator UPC Bar Code • Printing beneath cellophane wrapped package
Bar Code under Clear Wrap Broad Area Linear Array
Dark Field Ring Light Bright Field Spot Light Bright Field Ring Light Diffuse Dome Axial Diffuse Illuminator Ink Jet OCR • Purple Ink • Concave, reflective surface
Imaging Beyond “Visible” – Near IR • Infra-red (IR) light interacts with sample material properties, often negating color differences. Black Red White Yellow White light – B&W Camera IR light – B&W Camera
Imaging Beyond “Visible” – Near IR • Near IR light can penetrate materials more easily because of the longer wavelength. Red 660 nm Back Light IR 880 nm Back Light
Imaging Beyond “Visible” – Near IR • Red 660 nm light reveals the blue dot matrix printed bottle date & lot codes. IR 880nm Back Light Red 660nm Back Light
Imaging Beyond “Visible” – Near UV • Near UV light when used w/ a matched UV excitation dye, illuminates codes and structural fibers. • Top Image Set: Diaper • Lower Image Set: Motor Oil Bottle
Imaging Beyond “Visible” – Near UV • Near UV light fluoresces many polymers, including nylon. • Top Image: UV Light, B&W CCD • Lower Image: UV Light, Color CCD
Designing Vision Lighting • When designing a vision system and parts handling / presentation, optimize the lighting solution early in the process, if possible. • Remember like colors (or color family) lighten and opposite colors darken. • If using monochrome LED light, let a band pass filter control ambient light. • Think Geometry – the 3-D spatial relationship among sample, light, and camera. • Consider how the light pattern and color will potentially interact with the sample and background surfaces.
Pass Filters in Machine Vision 715 nm Long Pass • Pass filters exclude light based on wavelength. • Sunlight and mercury vapor light are reduced by 4X • Fluorescent light is reduced by 35X 510 nm Short Pass 660 nm Band Pass
Pass Filters • Top Image: UV light w/ strong Red 660 nm “ambient” light. • Bottom Image: Same UV and Red 660 nm “ambient” light, with 510 nm Short Pass filter applied.