The text of a manual · part 3 of 9
Compact Color Vision System CV-301 Series Instruction Manual, pages 21 to 30
Pages 21 to 30 of 86
The original document is the PDF (1.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Keyence CV-301
Page 21
Chapter 2
Preparation
2.1.4 Selecting Lens Select the lens based on the target size (Y) and the distance between the lens and the target (working distance). Refer to the following chart to select the best lens for your application.
2
▲
PROG No 0 MODE AREA•CON SHUTTER REGISTER WINDOW 1 MEASURE 000000 TOL H= 000000 L = 000000 ILLU OFF T=000017 RAW SCRN ------
Y
WD Y
▲
CV-L3* CV-L6*
1000
CV-L16*
CV-L50*
Y: Field (mm)
100
5
0.
5 1.
1
0.5
10
5
1.
5
0.5
15
10
1
1.5
30
20
5
40
10
50
15
10
100
1000
10000
WD: Working distance (mm)
* Type of lens
The value in the chart (● ●) indicates the thickness of the close-up adapter (option). Insert the close-up adapter between the lens and the camera.
Close-up adapter
13
Page 22
Chapter 2
Preparation ■ How to read the chart Using a 16 mm lens with a working distance of 500 mm, a field of approximately 70 mm is obtained. Combining a 50 mm lens and a 5 mm close-up adapter provides a field of about 20 mm. Note 1: The figures in the chart on the previous page are referencce values only. You may need to make some adjustments when setting the actual product. Note 2: Some types of monitors may not show the frame of the screen. Although this does not affect the measurement result, if you need to see the screen up to the corners, use an under-scanning type monitor.
2
No 0 MOD ARE SHUT REGI
PROG No 0 MODE AREA•CON SHUTTER REGISTER
WIND MEA 0000 TOL H= 00 L = 00 ILLU OFF T=000 RAW
Over-scanning type monitor
14
WINDOW 1 MEASURE 000000 TOL H= 000000 L = 000000 ILLU OFF T=000017 RAW SCRN ------
Under-scanning type monitor
Page 23
Chapter 2
Preparation
2.1.5 Checking Connection 1. Turn on the power. Turn on the connected 24 VDC power supply. 2. Check the monitor. A raw (unprocessed) screen is displayed. * A raw screen is a screen which is seen through the camera. PROG
2
No 0 MODE AREA•CON SHUTTER REGISTER WINDOW 1 MEASURE 000000 TOL H= 000000 L = 000000 ILLU OFF T=000017 RAW SCRN --------
3. Adjust the diaphragm and focus of the lens. 1) Turn the diaphragm ring and focus ring to adjust the diaphragm and focus while watching the monitor. 2) After adjustment is complete, secure the lock-screws to lock the rings. Diaphragm ring lock-screw
Focus ring lock-screw
•
Diaphragm adjustment Adjust the diaphragm so that the screen displays a clear contrast and the target can be easily distinguished from the background.
•
Focus adjustment Adjust the focus until the target contour becomes clear. If the diaphragm is adjusted so that the image is too bright or too dark, proper focus adjustment will not be obtained. Adjust the diaphragm at the same time as the focus.
Notes: Check the following items if nothing appears on the monitor. • Did you use the 24 VDC (600 mA) power supply? Are the “+24 V” and “0 V” power supply terminals properly connected? • Are the cables for the camera, remote control console, and monitor properly connected? • Did you remove the cap from the lens? • Is the lens diaphragm opened enough?
15
Page 24
Chapter 2
Preparation • •
2.2
Is the monitor turned on? Is the video input terminal for the monitor properly connected?
Illumination Use illumination for more stable detection. If you install the CV-301 in locations with the following conditions, the detection may not be accurate. Change the location or use the speciallydesigned illumination equipment. • Locations directly exposed to sunlight
2
•
Locations where the ambient light varies greatly depending on the time of day
•
Locations where the illumination level is changed by the movement of a machine or people.
Illumination equipment ■ Ring lamp Mount the ring lamp around the lens to evenly illuminate the target. The ring lamp is available as an option (CV-R11).
Ring lamp
Target
Other than the ring lamp, the fiber light and other illumination equipment are also available. Order the model that best suits your application. Note: The illumination lamp has a recommended service life. When the light intensity changes, detection errors may result. Replace the lamp before this problem occurs.
16
Page 25
Chapter 3 Measurement Mode Selection by Application Explains the type and operation of the measurement modes and how to select the appropriate mode.
3.1
Measurement Modes and Typical Applications ............... 18
3.1.1 [AREA•CON “Area continuous”] / [AREA•TRG “Area trigger”] .................................................... 18 3.1.2 [AREA + POS “Area + Position”] ........................................... 18 3.1.3 [ABS•POS “Absolute position”] .............................................. 20 3.1.4 [REL•POS “Relative position”] ............................................... 20 3.2
Selecting Measurement Mode for Application ................. 21
Page 26
Chapter 3
3.1
Measurement mode selection by application
Measurement Modes and Typical Applications The CV-301 has 4 measurement modes: [AREA•CON (TRG) “Area continuous (trigger)”], [AREA + POS “Area + Position”], [ABS•POS “Absolute position”], and [REL•POS “Relative position”]. This manual describes how to set the [AREA] mode.
3.1.1 [AREA•CON “Area continuous”] / [AREA•TRG “Area trigger”] RUN No 0 MODE AREA•CON
WINDOW 1 MEASURE 005512
3
TOL H= 100000 L = 003000
T=000017 PROCES2 ● -------
Window
Typical applications: Detection of presence/absence of a target, detection of a missing target, detection of color and shape of a target, and measurement of area •
Measures the area of a target.
•
Measures the area of the extracted color in the window or the area of the background.
•
Up to eight windows can be drawn at a single setting. The measured data for each window will be output.
•
To detect a target continuously, use the [AREA•CON “Area continuous”] mode.
•
To detect a target using an external trigger with intervals, use the [AREA•TRG “Area trigger”] mode.
3.1.2 [AREA + POS “Area + Position”] Typical applications: Detection of presence/absence of a target, detection of a missing target, detection of color and shape of a target, measurement of area, and positioning •
Corrects the position of the window using [POS “Position adjustment”] in the [AREA•TRG] mode.
•
The camera can be set to trigger mode only.
•
There are two methods of [POS “Position adjustment”]: Pattern search and line sensor.
■ [POS “Position adjustment”] To correct the window position, select one of the following two methods according to your application.
18
Page 27
Chapter 3
Measurement mode selection by application
Window
PROG POS • 1 COLOR MODE • P PW SW SEN • 2 +151 +220 93 TOL X = +100 = -100 Y = +100 = -100 MAT 50 T=000093 PROCES1 ●-------
X-coordinate
Y-coordinate
Pattern search Corrects the window position by using a target with a complicated shape (characters or marks) as a reference. •
Encloses the target in a window and saves an image of it. Next, it searches the images captured during measurement for the saved one (this process is called “search”). Displays the center coordinate value of the most similar image.
➮
For the setting procedure, refer to page 65.
Line sensor Corrects the window position by using the edge or line mark of a target as a reference. Correction using the line sensor can be faster than using the pattern search. Y-coordinate
X-coordinate
Position adjustment window
PROG POS • 1 COLOR MODE • X+Y XW YW FILTER +222 +50 TOL X = +100 = -100 Y = +100 = -100 T=000038 PROCES1 ●-------
•
Sets a position adjustment window in the X- and Y- direction. Detects the first edge of the target (color/background selectable) in the window and measures the position.
➮
For the setting procedure, refer to page 65.
19
3
Page 28
Chapter 3
Measurement mode selection by application
3.1.3 [ABS. POS “Absolute position”] RUN No 0 MODE ABS• POS MEASURE X = +0 Y = +0 MAT 00 TOL X = +100 = -100 Y = +100 = -100 MAT 50 T=000104 RAW SCRN ●-------
X1
3
Y1
Typical applications: Positioning and robot handling •
Detects the position of a target.
•
Detects the position of a target using [POS “Position adjustment”] and determines the result.
•
There are two methods of [POS “Position adjustment”]: Pattern search and line sensor. ➮ Refer to [AREA + POS] section on page 18.
•
Outputs the measurement result and the coordinate value of the target position.
•
The camera can be set to trigger mode only.
3.1.4 [REL. POS “Relative position”] PROG No 0 MODE REL•POS SHUTTER REGISTER POS • 1 POS • 2
Y2
X= +0 Y= +44 00 ILLU OFF
Y1
T=000150 PROCES2 ●-------
X2
X1
Typical applications: Positioning and detection of target displacement •
Detects the relative position of two targets.
•
Detects the position of two targets using [POS. 1 “Position adjustment 1”] and [POS. 2 “Position adjustment 2”], measures the distance between them, and determines the result.
•
There are two methods of [POS “Position adjustment”]: Pattern search and line sensor. ➮ Refer to [AREA + POS] section on page 18.
20
•
Outputs the measurement result and the coordinate value of the distance.
•
The camera can be set to trigger mode only.
Page 29
Chapter 3
3.2
Measurement mode selection by application
Selecting measurement mode for application Refer to the following table to select the measurement mode best suited for your application. ● indicates the best measurement mode. ❍ indicates the applicable measurement mode. Measurement mode Area
Inspection item
Area + Relative Absolute position position position
M ed
M ed icine
Area Inspection item
Area + Relative Absolute position position position
Visual inspection
Checking presence/absence of target
M ed
Measurement mode
●
●
●
●
●
●
●
●
●
●
3 icine icine
Area measurement
Detection of joints
●
●
Area measurement, detection of printing or marks
Shape differentiation k
Mil k
Mil
● k
Mil
●
Detection of liquid surface
●
Detection of chipped target
Tea Tea
❍
❍
❍
●
Tea
21
Page 30
Chapter 3
Measurement mode selection by application ● indicates the best measurement mode. ❍ indicates the applicable measurement mode.
Measurement mode Area Inspection item
Area + Relative Absolute position position position
●
●
❍
Differentiation of target orientation
Area + Relative Absolute position position position
❍
●
●
●
Control of robot handling
●
●
Positioning
●
22
Area Inspection item Detection of misaligned labels
Checking for different package types
3
Measurement mode
●