Download Print this page

OPTEX FA CVS3 Operation Manual

Edge identification sensor

Advertisement

Quick Links

CVS3
Edge Identification
Sensor
Operation Manual
・Thank you for purchasing the color vision sensor series Edge Identification
Sensor (CVS3).
・Before operating the product, read this manual thoroughly for optimum use.
・Keep this manual handy for future reference.
・This product cannot be used as safety device for protection of human
body.
1
Before Operation
What is Edge Identification Sensor?
 The image sensor detects the edge (contour) of the color of captured image
and stores it as the reference image. The sensor compares the reference image
and the object image to find the missing edge (=the contour may not be
perfect), and stain (= unnecessary pixels may be occupied by edge data). The
object is judged OK when its missing/stain pixels are less than the threshold
setting.. The sensor identifies letters, shapes, directions, stains, and missing
edges.
Parts Identification
Operation buttons
LCD display
Installation hole
Hole for installing the
unit. Screw of M4×
50mm or more is
recommended. (φ4.3,
pitch: 87.0mm, depth:
42.0mm)
Camera and light
are mounted on
the back side.
Power supply,
External connecter
Input/Output wire
Connector for optional products. (Remote
monitor, external light, cable, etc.)
Main Menu
DOWN
UP
Setup parameter
SET
reference screen
See page 7.
DOWN
UP
Teaching menu
SET
See page 9.
DOWN
UP
Reference screen of
SET
other parameters
See page 13.
DOWN
UP
Output
changes
SET
Holding captured image
Holds the image captured at
the moment the output
changes.
*Cleared when another bank
is selected.
4
Descriptions of Teaching Menu
Teaching Menu Screen
Outside of Judgment area (light blue)
 Select in
WINDOW SIZE
. It is not object area,
but the position of captured image in this area is
corrected.
Masking area (blue)
 Select in
MASK EDITOR
. This area is ignored
in judgment.
Teaching menu
Teaching Menu Common Procedure
Teaching menu
Page 10
Saves the teaching results and
SET
returns to the teaching menu.
3 sec. or more
Cancels the teaching results and
EXIT
returns to the teaching menu.
3 sec. or more
Window
Performs the
SET
UP
Selects the selection menu.
displayed option of
(Refer to
page 11 and 12
for details.)
DOWN
the selection menu.
EXIT
5
Settings (OTHER PARAMTR Menu)
Parameters to adjust the missing edge/stain detection.
Adjust to shorten the response time or to select the action for the
object change.
Adjust the parameters indicated in blue to stabilize the detection.
Function
Setting range
Description
(Initial value)
LCD display
Selects the bank selecting option.
0 to 14
: Selects the set bank. (Bank selection 2 input
Bank
is the external teaching input)
0 to 16
selection*
15
:Selects a bank by external input. (Bank selection 2
(16)
BANK
input is the external teaching input)
16
: Selects a bank by external input. (Bank selection 2
input is available.)
Copies the set values and masking display of the
Copy of
current bank to the destination bank. During copying,
0 to 14
bank
capture is interrupted. When the power is turned off,
settings
(0)
the setting returns to " 0."
BANKCOPY
Selects the threshold level of the occupied pixels out of
Background
AUTO,
the saved reference edge (displayed in red). The value
edge pixel
over the setting is judged NG. Select "
AUTO
" to adjust
threshold
1 to 9999
optimum pixel automatically.
level
(AUTO)
BKGD LVL
Select the area margin to be ignored near the saved
Background
AUTO,
reference contour. Select "
AUTO
" to adjust optimum
detection
width automatically.
Select larger value to ignore the
1 to 14
margin*
edge near the contour.
(AUTO)
BKGDMRGN
Set the edge threshold level of the stain detection area
Background
larger than that of the missing edge detection area, and
edge
0 to 7
select here smaller value
so that unnecessary stain is
detection
not detected.
Larger value will bring the display of
(6)
sensitivity
threshold margin
(page 4
, ④) closer to arrow DOWN.
BKGDSENS
*External teaching starts at rising of the bank selection 2 input signal.
*Select the bank number by binary digit for bank selection input.
(Example : Bank 10 = Bank 1 and 3 ON)
External Dimensions
Unit : mm
Connection of Power Supply and Input/Output Wire
The line colors and signal allocations of power supply and input/output
wire are as follows.
No
Color
1
Brown
12 to 24V DC
2
Blue
0V
3
Orange/Black
Bank selection 0 input
4
Yellow/Black
Bank selection 1 input
5
Pink
Bank selection 2/
External teaching input
6
Purple
Bank selection 3/
Synchronous input
1 2 3 4 5 6 7 8
7
Black
OK output
8
Red/Black
NG output/
Lighting control output
1
Changing the Screen Display Mode
VIEW
"D" display
"2" display
Displays the real-
Displays the
time image.
differentiated contour in
the seven(7) levels of
shading.
VIEW
Blue: Masking
Green: Object area of the missing checking
(Yellow pixels indicate the missing edges.)
Purple: Object area of stain
(Red pixels indicate stains.)
"C" display
Displays the judgment
result of missings and
stains.
5
Teaching Procedure
Main menu
DOWN
Page 5
UP
Selects the capture area.
SET
Page 11
3 sec. or more
*Cannot save the data
when the capture area
contains less than 16×16
DOWN
pixels only.
UP
Saves the captured
SET
image.
3 sec. or more
Page 11
DOWN
UP
Select the judgment
SET
area.
3 sec. or more
Page 11
*Cannot save the data
when the judgment area
DOWN
contains less than 36
UP
pixels only.
Masking
SET
Page 12
3 sec. or more
PC communication
DOWN
Data saving and loading
UP
with PC.
(PC software information :
http://www.optex-fa.com)
SET
3 sec. or more
EXIT
Returns to the Main
EXIT
menu
Locks the selected menu. The locked menu are displayed in
SET EXIT
blue and not changed. Press again to cancel the lock.
Simultaneously
3 sec. or more
9
Function
Setting range
Description
(Initial value)
LCD display
Selects Communication setting.
0
: Off
Communi-
1 to 5
: On. Baud rates are 4800, 9600, 19200, 38400,
cation
57600bps in order. Data length=8bit, no parity, stop
0 to 5
setting
bit=1bit.
(0)
COMMUNIC
When the communication function is activated, external
lighting and remote monitoring are deactivated.
Select"15". Press and hold
UP
turn the power on. Selected values and mask settings
Parameter
0 to 15
initialization
are all initialized.
(0)
10
: Locks all the settings.
INITIALZ
11
: Cancels the lock status.
Selects the threshold level of the missing pixels
Missing pixel
AUTO,
(displayed in yellow) from the saved reference contour.
threshold
1 to 9999
The value over the setting is judged as NG. Select
level
(AUTO)
"AUTO
" to adjust optimum pixel automatically.
JUDG LVL
Selects the contour width to set the captured contour
in boldface. Increasing by "1" widens the contour to
Missing edge
AUTO,
downward or right by 1 pixel so that slight position shift
detection
1 to 8
does not result in error detection. Select "
margin*
adjust optimum width automatically.
(AUTO)
JUDGMRGN
value is effective when search is not stable.
0
: Normal display
LCD up/down
0, 1
1
: Reverses the LCD display vertically.
reverse
(0)
Select
1
when installing the unit upside-down.
LCD VIEW
Delays turning OFF of the OK/NG output. Allows it to
OFF delay
0 to 5000
turn off when the judgment result remains in OFF
time
condition continuously for over the selected delay time
(0)
OFFDELAY
(unit: ms).
Delays turning ON of the OK/NG output. Allows it to
ON delay
0 to 5000
turn on when the judgment result remains in ON
time
condition continuously for over the selected delay time
(0)
ON DELAY
(unit: ms).
13
(谷折)
Specifications
CVS3-N20
Model
CVS3-P20
Detection angle
Capture range
90 to 150mm
40×40mm to
Capture area
65×65mm(±10%)
Light source
Supply Voltage
Power consumption
Resolution
Approx. 50000 hrs (In normal temperature and humidity.
Lamp duration
Brightness level down by 1/3 of the initial level)
Response time
48ms (Factory setting), 2.5ms (Min.), 518ms (Max.)
NPN/PNP open collector output 2 points
Output signal
max. 100mA Residual voltage 1.0V or less
Input
Bank selection/Synchronous/External teaching input 4 points
Operating temperature
Ambient humidity
Storage temperature/
humidity
Vibration/shock resistance
10 to 55Hz Amplitude 1.5mm, 500m/s
Material
Protection structure
Weight
Setup Procedure
You can complete the setup of CVS3 series simply by following the
menus in order.
SETUP PARAMTR
(page 7
)
Signal
 Select the parameters to display the specified contour (edge). If
regular reflection of light obstructs the normal detection, use the
external diffused lighting.
TEACHING
menu
(page 9
)
 Store the reference image as well as the capture range and judgment range.
OPTION PARAMTR
(page 13
)
 Adjust the parameters for stable detection of conforming/nonconforming
products. Select the action for positional change of object, the settings of
response time and input/output signals.
After learning the basic operation in the chapter 2, select the settings in the
steps ① to ③.
2
Parameter Reference/Selection Screen
Main menu
Page 5
Parameter reference screen
SET
3 sec. or more
VIEW
Previous
UP
setting item
DOWN
Next setting
item
Returns to the
EXIT
Main menu
SET EXIT
Simultaneously
3 sec. or more
Locks the selected values. The
locked values are displayed in blue
and not changed. Press again to
cancel the lock.
(See page 14
"INITIALZ".)
6
Capture Area (VIEW AREA)
Narrows the capture area ① when the object position is not properly corrected due to
unnecessary background contour, or ② when the shorter response time is required.
Capture area vertical
magnification/reduction
SET
     Magnifies the window vertically.
     Reduces the window vertically.
DOWN
Capture area horizontal
magnification/reduction
     Magnifies the window horizontally.
     Reduces the window horizontally.
DOWN
Result saving
     Saves the result and exits.
EXIT
     Cancels the result and exits.
DOWN
Saving the Reference Image (SAVE PATTERN)
Set the reference image to be compared with the object image. It takes 6 to 7 seconds
to save the image due to processing the contour information. (During processing,
"SAVE PATTERN
" turns red.) When selecting of the judgment area and the mask
setting is completed, adjust the object position so that its contour fits in their settings.
Judgment Area (WINDOW SIZE)
Selects the size and position of the judgment area. Set the required minimum setting
since a larger judgment area results in a longer response time.
Judgment area Up/Down
      Moves up the window.
SET
      Moves down the window.
DOWN
Judgment area Right/Left
      Moves the window to right.
      Moves the window to left.
DOWN
Judgment area vertical magnification/reduction
      Magnifies the window vertically.
      Reduces the window vertically.
DOWN
Judgment area horizontal
magnification/reduction
      Magnifies the window horizontally.
      Reduces the window horizontally.
DOWN
Result saving
     Saves the result and exits.
     Cancels the result and exits.
DOWN
EXIT
10
Function
Setting range
(Initial value)
LCD display
Select "1" to keep the output ON for the off-delay time
One shot/
after the output turns on.
0, 1
Output
When the off-delay time is set to " 0", the output remains
holding
(0)
on. Change the bank to turn off the output.
ONESHOT
Corrects the horizontal width variation of moving object
caused by influence of the rolling shutter. Increase/reduce
the value by "1" to change the width by approx. 0.8 %, and
Rolling
search the optimum value. The expansion rate is ±15.6% at
0 to 20
correction
and
, and
DOWN
the maximum value "20".
margin*
(0)
*The acceptable object transfer direction is only right/left
ROLLING
against the sensor front.
To magnify the correction value set at ROLLING of above.
Magnifi-
0, 1
When the distance to workpiece would fluctuate, select
cation
(0)
"1".
ROLLMAG
Adjusts delicately the angle of captured image to search
Rotating
the optimum angle. Increase/decrease the value by " 1" to
0 to 14
angle fine
rotate the image right/left by approx. 0.45 degree. The
adjustment
(0)
angle is ±6.2 at the maximum value " 14".
ROTATE
AUTO
" to
Selecting larger
Selects the number of pixels to search the captured edge
position so that the edge is aligned with the reference edge
by median point. Search is performed up to four(4) times
Position
as large as the setting to right/left, and up to the same
0 to 25
search range
number as the setting to up/down.
(5)
when position shifting of the object results in unstable
SEARCH
position correction.
0
: Starts searching from the point that position shifting is
given at median point of the edge that appears in the view
Position
area.
0, 1
search mode
1
: Use this when to detect only dirt. In this case edge is
(0)
SEARCHMD
not given. Position shifting is not given.
*Patent pending
14
(谷折)
2
Descriptions of LCD display
CVS3-N21
Main menu
CVS3-P21
20゜
31 to 39mm
17×20mm(±10%)
White LED 12 pcs
12 to 24V DC±10%
Max. 140mA/24V DC
16×16 to 208×236
0 to 40℃
35 to 85%/RH
Screen display mode
Indicates the current screen
-20 to 70℃, 35 to 95%/RH
mode.(Page 6
2
(10 times)
ABS / Acryl / Polycarbonate
Judgment result
IP67
Displays the result as OK or NG.
Approx. 180 g
Bank number / Response time
Indicates the selected bank number (0 to 14).
In the settings screen, indicates the time to output signals after
image capture in unit of 0.1 ms.
×
Detects the
background as edge.
3
3
Settings (SETUP PARAMTR Menu)
After installing the sensor and object, select the following settings to
obtain the optimum contour (edge). After completing the settings,
proceed with the teaching menu.
Function
LCD display
Parameter selection screen
Edge color
filter
COLORFIL
Red
Light
ON/OFF
LIGHT ON
Set value +1
UP
External light
DOWN
Set value -1
control signal
LIGHTOUT
Cancels the selected values
and returns to the
EXIT
Shutter time
parameter reference screen.
SHUTTER
Saves the selected values
SET
and returns to the
Edge
3 sec. or more
parameter reference
threshold
value
THRESHLD
Zoom
ZOOM
* The functions indicated in purple contain the set values for each bank.
: Frequently adjusted parameters.
** Appears
under the optimum threshold automatically. Manual adjustment is
7
however required in case the object was reflecting.
Specifies the area to be ignored in the judgment area. You can create
the shape by lapping over or cutting out the quadrangular windows.
UP
UP
UP
SET
UP
UP
UP
UP
EXIT
UP
11
Function
Description
LCD display
Synchron-
ization
input
SYNCHRON
* Calculate the object transformation ratio caused by rolling shutter using
the following formula.
Transformation ratio (%) =
Headquarters: 46-1 Takehanadounomae-machi, Yamashina-ku,
First printed on 17th Sep. 2004
Select larger value
Conforming product
15
(山折)
Captured image
Displays the image captured by
the camera.
Menu
Indicates the setting and editing
menus.
Number of pixels of missing
edge/stain
Indicates the numbers of pixels of
missing contour (yellow) and of
stain/scratch (red). Upper is
threshold level (white).
④ ⑤
Stability of threshold value
Displays the threshold margin of
the judged edge in arrow
UP/DOWN. Reduce the edge
)
threshold value (THRESHLD) if it
is displayed in arrow DOWN, or
increase the value if in arrow UP.
×
The optimum
The detected edge
setting.
is thin and unstable.
4
(山折)
Setting range
Description
(Initial value)
Selects the colors with which the edge is generated.
Set to eliminate unnecessary contour.
0
: Differentiates all colors evenly.
0 to 5
1
: Emphasizes the contour between B/W.
(1)
2
: Differentiates the green elements.
3
: Differentiates the blue and red elements.
4
: Differentiates the red elements.
5
: Differentiates the blue elements.
Controls the internal and external lighting. You can
set, for instance, the ultraviolet light to ON for the
specified bank.
0 to 3
0
: Internal light=OFF, External light=ON
(1)
1
: Internal light=ON, External light=ON
2
: Internal light=OFF, External light=OFF
3
: Internal light=ON, External light=OFF
0
: Red/Black line is used for NG output.
1
: Red/Black line turns off in synchronization with
0, 1
image capture.
2
: Black line turns off in synchronization with image
(0)
capture. Select "1" or "2" to control a commercial
light source.
Selects the shutter time (unit: 0.1 ms). Adjust it
AUTO,
according to the object speed.
1 to 250
SHUTTER value = 10 × Required line width (mm)
(100)**
÷ Object speed (m/s)
Selects the threshold value to binarize the detected
AUTO,
edge. In the process, search is performed for the
1 to 255
values smaller than the set value by 4 to 24, and the
(AUTO)**
optimum threshold value is applied.
Selects the zoom setting of the image sensor.
0
: Normal mode
0, 1
1
: Magnifies the center part to double size.
(0)
Reduces the height and width of capture area by
half.
"AUTO
" when inputs smaller than " 1". Possible to input
8
(山折)
Masking
Window
The mask is added/deleted in this
red part.
*The yellow bar is for guide.
The masked area is displayed in
blue.
Masking window Up/Down
     
UP
Moves up the window.
      Moves down the window.
DOWN
Masking window Right/Left
      Moves the window to right.
UP
      Moves the window to left.
DOWN
Masking window vertical
magnification/reduction
      Magnifies the window vertically.
UP
      Reduces the window vertically.
DOWN
Masking window horizontal
magnification/reduction
      Magnifies the window horizontally.
UP
      Reduces the window horizontally.
DOWN
Mask add/delete within masking window
      Masks the inside of window.
UP
      Deletes the inside of window.
DOWN
Mask add/delete outside masking window
      Masks the outside of window.
UP
      Deletes the outside of window.
DOWN
Masking result saving
      Saves the result and exits.
UP
      Cancels the result and exits.
DOWN
12
(谷折)
Setting range
Description
(Initial value)
Selects the synchronization input setting. When set
to
0
to 3, the bank selection 3 input is assigned to
the synchronization input. The capturing conditions
are as follows.
0
: While the synchronization input is Off
0 to 4
1
: When the synchronization input is switched from
(4)
On to Off
2
: While the synchronization input is On
3
: When the synchronization input is switched from
Off to On
4
: Captures images continuously
Object speed (m/s) × Horizontal resolution × 5.45
Horizontal capture area (mm)
OPTEX FA CO., LTD.
Kyoto Postal code: 607-8085 JAPAN
http://www.optex-fa.com
0640460
Sample object
CVS3
CVS3
TEST
TEST
Non-conforming product
16

Advertisement

loading
Need help?

Need help?

Do you have a question about the CVS3 and is the answer not in the manual?

Questions and answers