Академический Документы
Профессиональный Документы
Культура Документы
BEGINNER'S GUIDE
Do you think that vision systems are difficult to use or install?
It is true that vision systems have a wide variety of models and elements such as
illumination and controls; however, this guide presents important steps and points for
each phase of the implementation, installation, and operation of a vision system.
STEP 1 Camera
SELECTION 1 Selection based on resolution (high-resolution or standard type)
SELECTION 2 Selection by CCD (color or monochrome)
SELECTION 3 Selection based on the image transfer time (high-speed or standard type)
SELECTION 4 Selection based on physical sizes (compact or standard type)
STEP 2 Illumination
SELECTION 1 Determine the type of illumination needed (specular reflection/diffuse reflection/transmitted light)
SELECTION 2 Determine the appropriate model
SELECTION 3 Determine the correct color (wavelength)
STEP 3 Lens
SELECTION 1 Focal distance and field of view
SELECTION 2 Focus an image with a large depth of field (focal range)
SELECTION 3 Contrast differences due to lens performance
1 High-resolution type
2 High-speed type Monochrome and color
3 Standard type cameras are available.
4 Compact type
Resolution = Y direction of the FOV (mm) / the number of pixels the CCD has in the Y direction
With an FOV of 30 mm (1.18") in the Y direction the resolution can be obtained by the following formulas: (A standard
310,000 pixel camera (Y = 480 pixels) and a high resolution 2 million-pixel camera (Y = 1,200 pixels)
[Resolution when using a 310,000-pixel camera] = 30 mm (1.18") / 480 pixels = 0.063 mm (0.0025") per pixel
[Resolution when using a 2 million-pixel camera] = 30 mm (1.18") / 1200 pixels = 0.025 mm (0.001") per pixel
The "minimum detectable object size" when performing defect detections and dimensional measurements.
[Minimum detectable object size when using a 310,000-pixel camera] = 0.063 mm (0.0025") per pixel x a 4-pixel square = a 0.25-mm (0.01")square
[Minimum detectable object size when using a 2 million-pixel camera" = 0.025 mm (0.001") per pixel x a 4-pixel square = a 0.1-mm (0.004") square
The formulas above show that a camera with 2 million pixels or more is required to detect a "Ø0.1 (0.004")-mm foreign
particle" within a 30 (1.18")-mm FOV".
[Reference]
Magnifies a ø0.5-mm (0.02") foreign particle in a 30-mm (1.18") FOV TIP 1
310,000 pixels 2 million pixels
The most suitable
camera can be selected
based on resolution!
The images show that the
2 million-pixel camera
can obtain a better image
with clearer contrast.
2
SELECTION 2 Selection by CCD type (color or monochrome)
Selecting a color or monochrome camera should be based on what type of flaws need to be detected. Flaws that are not
easily distinguishable from the background may require the use of a color camera. The following example illustrates this
type of scenario.
(1) Image captured with a color camera (2) Image after fine color processing (3) Stabilized stain detection image
The monochrome camera cannot capture the contrast between the stain and the
shading gradations on the background, which results in an unstable inspection.
Image (2) shows that the color camera internally captures the contrast between
the yellow flaw and the white background. And Image (3) is in the contrast view
of the Stain tool. This example shows that color processing provides stability in
difficult flaw detection applications.
As shown in the example below, a monochrome camera can be used when there is significant brightness change instead
of a hue change.
SELECTION 3 Selection based on the image transfer time (high-speed or standard type)
The standard speed 310,000 pixel camera transfers images at a rate of 16.0 ms. The same resolution, high-speed
version has an image transfer speed of 4.7 ms. High-speed camera types are effective in inspections that require faster
processing times due to high-speed production lines.
3 ms 12 ms High-speed cameras
Inspections Inspections
improve yield rates and
19980 4999
workpiece/min. workpiece/min.
stabilize inspections!
Flaw detection and Dimensional measurement, Print defect inspection, Position correction (XY),
Position correction (YX) Angle correction (360°)
3
SELECTION 4 Selection based on physical size (compact or standard type)
KEYENCE's line of compact cameras offer the same resolution with a significantly reduced footprint.
The compact cameras are available in both color and monochrome versions. Compact cameras have an advantage when
there is limited space to install the camera on existing equipment.
A: 30 mm (1.18"), B: 15 mm (0.59")
It requires only A + B = 45 mm (1.77").
TIP 4
Measure the space required to mount the camera on
a machine prior to specifying which camera is needed
for inspection.
4
STEP 2 Illumination Selection
LED illumination is necessary in most vision system Types of illumination
applications. There are three steps to select the most suitable
illumination type for an application.
1 Determine the type of illumination needed Coaxial vertical Low-angle Direct ring
CA-DX CA-DL CA-DR
2 Determine the appropriate model
3 Determine the correct color (wavelength)
Backlight Dome Bar
CA-DS CA-DD CA-DB
Lighting basics
Incoming light The incoming light (the brown arrow) reflects on the target
surface in the three ways.
Illumination used in vision system applications can be divided into the following three types:
(1) Specular reflection
Light is reflected off of the target directly back to the camera. This illumination is effective for inspecting highly reflective
targets such as glass substrates.
(2) Diffuse reflection
Light is dispersed in many directions as it reflects off of the surface of the target. This illumination method is effective for
inspecting targets through reflective packaging.
(3) Transmitted light
Light is applied from behind the target and the camera receives the transmitted silhouette. This is commonly used in
dimensional measurements.
(1) Sample image of specular illumination (2) Sample image of diffuse reflection (3) Sample image of transmitted light
Detecting chips on the edge of a glass substrate Inspecting print on a chip through transparent film Inspecting foreign particles on nonwoven fabric
TIP 5
Select the appropriate illumination from the following three types: specular reflection, diffuse
reflection and transmitted light according to the target material, shape, and application.
5
SELECTION 2 Determine the appropriate model
Once an illumination method has been selected according to the type (specular-reflective, diffused-reflective, or
transmissive), the model is selected according to the target to be inspected, the background of the inspection target, and
its surroundings.
2 It is necessary to enhance the difference between the glass plate and background.
w
a color camera is used, the normal selection is white. When a monochrome camera is used, it is
Blu
llo
Ye
e
necessary to know the following information. e
Hue circle
Pu
ng
Complementary colors are those on the opposite side from each other on the hue
rp
Complementary color
ra
le
O
circle. When light from a complementary color is applied to an object, the object Red
will appear very dark.
Invisible Invisible
Visible light
light light
Ultraviolet light Purple Blue Green-blue Blue-green Green Yellow-green Yellow Orange Red Ultraviolet light
380 430 480 490 500 560 580 595 650 780
(Unit : nm)
TIP 6 Do not randomly select an illumination method. Instead, follow the procedure below to efficiently select a suitable unit.
CCD size
0.14"
View angle
16 mm (0.63")/ 25 mm (0.98")/ 50
mm (1.97"). From the necessary field 16 mm
0.63"
of view of the target and the focal WD Focal distance
distance of the lens, the WD (working 45 mm
The WD and viewable area are determined by the focal
distance) can be determined. 1.77"
distance and the CCD size. When NOT using a close up WD = 200 mm 7.87"
ring, the following proportional expression can be applied.
(3) The more closed the aperture is the larger the depth of field
A narrower aperture and bright illumination make focusing easy
Camera
View
Tape
(3 mm 0.12")
15 mm
(059")
45°
When the aperture is closed When the aperture is open
(CA-LH25) (CA-LH25)
Field of view 60 mm (2.36”)/ Stain size: Approx. 0.3 mm (0.01”) Stain level 54 Stain level 38
(1) Determine the appropriate focal distance and field of view needed
(2) Determine the lens aperture according to the depth of field needed
(3) Select a high-resolution lens or standard lens according to the inspection accuracy
7
STEP 4 Inspection assessment
Prepare more than one sample including Good item Defective item
both acceptable and defective targets
It is effective to conduct tests with samples of both acceptable and
defective targets in order to verify the vision system's detection accuracy.
Actual examples of flaws that occur in production should be used to
test the system in order to give the most accurate representation of
inspection results.
Good item Defective item [large tolerance] Defective item [tight tolerance]
Deformation Deformation
(small)
The inspection accuracy will factor into determining the type of camera that is needed and should be calculated prior to
purchasing. For example, when detecting a 20-mm (0.79") target by using a 1 million-pixel camera with a 25-mm (0.98")
FOV, one pixel represents 0.025 mm. Theoretically, the detection limit is 0.025 mm (0.001") if one pixel is regarded as the
minimum detectable size. However, it is necessary to factor in a larger margin for error due to various conditions that may
affect an inspection in actual production scenarios.
For example, if the chip flaw above is 0.5 mm (0.02"), it can be stably detected since the minimum flaw size would be
represented with 20 pixels. On the other hand, if the chip is 0.05 mm (0.002"), it is more likely to cause unstable results
since the flaw is represented by just 2 pixels.
Statistical processing
The average measurement value is 6.3 pixels and the upper limit is set to 17 pixels. Any measurements that exceed this
threshold will be counted as NG parts. The red circles indicate large flaws while the blue and green circles indicate those
flaws that cannot be stably extracted. This may be corrected by using a higher resolution camera.
Upper limit: 17
Stricter tolerances
If the upper limit is decreased in order to detect the flaws circled in green, the detection range overlaps the maximum
value of the good items. Therefore, if the upper limit is further decreased, the good targets are more likely to be
detected as NG.
Upper limit: 11
9
INSPECTION 3 Tact time and image processing time
It is inevitably necessary to consider the image processing time of the vision system. The latest vision systems allow for
high-speed processing and can inspect up to 100 targets in one second. However, since the processing time varies
according to the number of pixels in the camera's CCD, number of inspections in the program, etc, it is still important to
confirm the processing time of the vision system and the tact time of the inspection lines.
Vision system
Sensor, etc.
PLC PC PLC
Image capture/transfer: The time during which an image is captured and the captured image is transferred to the
controller. Image processing: A captured image is processed and various inspections are completed.
(Presence detection/dimensional measurement/position inspection/count, etc.)
Status output: Outputting OK/NG judgement.
Processing speed of the vision system Convert into the inspection tact time
Image capture/transfer time: X ms to XX ms
Image processing: X ms to XXX ms X00/min. to X000/min.
Camera installation
Is the camera insulated from shock and vibration?
TIPS
The camera could be damaged if installed without
Close-up ring insulation. This can be prevented by mounting the
Camera mounting hole
camera with the resin mounting bracket supplied with
Attention needed when using more the camera when purchased. in order to secure the The bracket used to mount the
than one close-up ring. insulation. camera should have an elongated
hole for adjustments.
TIPS
Make sure that the lens is tightened TIPS
securely to the camera especially It is often necessary to fine-tune the
when using multiple close-up rings. camera position in order to capture
If the required FOV is 2 mm or less, it images. In doing this, the adjustment
is recommended to use a macro lens time can be reduced by using a jig
instead. with an elongated hole which allows
the camera to move up and down.
Target
Lock screw
Are the focus ring and aperture iris Aperture
tightly mounted?
Working distance Do not open the aperture
(WD) more than needed.
TIPS FOV (Y)
TIP
CCTV lenses are generally used in vision systems. In order to set the view angle to
approximately 2 mm (0.079") with a CCTV lens, close-up lenses are used. However,
too many close-up lenses may hinder the capture of clear images and, as a result,
inspections may become unstable. Therefore, macro lenses are more effective when
capturing an FOV from 0.5 (0.02") to 2 mm (0.079"). KEYENCE offers various telecentric
macro lenses that work effectively for dimensional measurements.
11
SUPPLEMENTAL MATERIAL Installation tips Illumination
As with cameras and lenses, there are also installation tips when it comes to illumination. Sometimes
it takes time to install the illumination device, even when the appropriate illumination is selected. This
page introduces technical tips to minimize your installation time.
Intensity fluctuation
The illumination intensity fluctuates immediately Controller and monitor
after the power is turned on. Is the monitor placed near the controller?
TIP TIP
The illumination intensity becomes unstable Area type The illumination adjustment is done with the
immediately after the power is turned on due to controller. When performing this operation, it is better
temperature drift. Set the intensity after it becomes to place the monitor near the illumination so that the
stable (generally, it takes about 15 to 30 minutes). live image can be viewed while making adjustments
to the intensity level of the light.
to the right shows that an LED has the longest operational life Fluorescent
Halogen
and a halogen has the shortest. Since LEDs have good response 50
0
times, which allows for strobe lighting, it is possible to make the
0
30 000
00
00
h
00
00
10
20
10
20
www.keyence.com
Copyright (c) 2009 KEYENCE CORPORATION. All rights reserved. CVbeginner-KA-EN0714-E 0079-1 611277