创建组件识别数据的方法.pdf - 第137页

137/178 IM-SMT-VSNDI C-0002 -000 Figure 112 2.12.3-3. M ark 2 This algorithm is used for r ecognition of th e com ponents whose shape co nsists of two parts as shown in Figure 1 13 . Figure 113 The target o bject is bina…

100%1 / 178
136/178
IM-SMT-VSNDIC-0002-000
Table 93 is the actual example of the recognition.
Items to be set Set value
Alignment Group Special
Alignment Type Special
Comp. Threshold 0
Comp. Tolerance 30
Search Area (mm) 11.0
Body Size X (mm) 19.0
Body Size Y (mm) 4.0
Body Size Z (mm) 0.3
Cntr. Offset X (mm) 0.0
Cntr. Offset Y (mm) 0.0
Cntr. Offset R (mm) 0.0
Ruler Width 3
Algorithm Special
Base Alignment As Mark
Vision Option 1 0
Vision Option 2 0
Vision Option 3 0
Common
Data
Vision Option 4 0
Items to be set Set value
Lead Group E 1
Common
Ruler Offset E 0
Lead Number: 1E 0
Reflect LL.: 1E (mm) 0.0
Lead Width: 1E (mm) 0.0
Lead Pitch: 1E (mm) 0.0
Find Pos X: 1E (mm) 4.0
E
Direction
Group 1
Find Pos Y: 1E (mm) 1.5
Lead Group W 1
Common
Ruler Offset W 0
Lead Number: 1W 0
Reflect LL.: 1W (mm) 0.0
Lead Width: 1W (mm) 0.0
Lead Pitch: 1W (mm) 0.0
Find Pos X: 1W (mm) 2.0
W
Direction
Group 1
Find Pos Y: 1W (mm) 1.5
Table 93
The position of the left and right detection lines in the E/W direction are set to 4.00mm from
the contour position for E direction, 2.0mm inward for the W direction.
For the “Find Pos” of the left and right detection lines, the “Find Pos” in the E/W direction is
set to 4.0 mm inward from the contour position in the E direction, and 2.0 mm in the W
direction. The upper and lower lines are set at positions offset 1.5 mm each from the center
line.
137/178
IM-SMT-VSNDIC-0002-000
Figure 112
2.12.3-3. Mark 2
This algorithm is used for recognition of the components whose shape consists of two parts
as shown in
Figure 113
.
Figure 113
The target object is binarized, then the component is detected from the detected target object.
It is possible to perform recognition on the irregular shaped component. For binarization, both
the fixed threshold and the automatic threshold can be used.
The average center-of-gravity of the two objects is determined to be the center of the
component, and the inclination is determined as the inclination of the straight line which
connects the center-of-gravity of the two objects.
White objects are normally recognized, but it is also possible to detect black objects on
a white background.
[Recognition check items]
Items Yes / No Notes
Body Size Yes
Lead pitch No
Lead width No
Lead length No
Lead position
No
Table 94
<< Mark 2 : Items to be set for components that have two parts >>
(Special components: Special shape, algorithm: Special 2, base Alignment Type: Mark type)
Items to be set Set value
Explanation
Alignment Group Special
Common
Data
Alignment Type Special
138/178
IM-SMT-VSNDIC-0002-000
Items to be set Set value
Explanation
Comp. Threshold
Sets the binarization level. (If 0 is
specified, the threshold is set
automatically.)
Comp. Tolerance
Specifies the tolerance of the shape as
a percentage.
Search Area (mm) Sets the range of the detection.
Body Size X (mm) Sets the size of the outer edge.
Body Size Y (mm) Sets the size of the outer edge.
Body Size Z (mm) Sets the size of the outer edge.
Cntr. Offset X (mm)
Sets the offset amount in the X direction
from the center position.
Cntr. Offset Y (mm)
Sets the offset amount in the Y direction
from the center position.
Cntr. Offset R (mm)
Sets the offset amount of the angle of
rotation.
Ruler Width 3 Not used.
Algorithm Special 2
Base Alignment As Mark
Vision Option 1 0
Vision Option 2 0
Vision Option 3 0
Vision Option 4
0
*3
Specifies the priority to perform “Cut
Inner Noise “/”Cut Outer Noise” function
and the object type.
Items to be set
Set
value
Explanation
Lead Group N 1
Common
Ruler Offset N --
Lead Number: 1N 1
Reflect LL.: 1N (mm)
*1
Lead Width: 1N (mm)
*1
Sets the size (surface area) of
the upper side.
Lead Pitch: 1N (mm) 0.0
Find Pos X: 1N (mm)
*2
N
direction
Group
1
Find Pos Y: 1N (mm)
*2
Sets the center of gravity
position of the upper side.
Lead Group S 1
Common
Ruler Offset S --
Lead Number: 1S 1
Reflect LL.: 1S (mm)
*1
Lead Width: 1S (mm)
*1
Sets the size (surface area) of
the lower side.
Lead Pitch: 1S (mm) 0.0
Find Pos X: 1S (mm)
*2
S
direction
Group
1
Find Pos Y: 1S(mm)
*2
Sets the center of gravity
position of the lower side.
Table 95
Note:
The parameters other than those shown in
Table 95
are not used.
Note *1: The size (surface area) of the object being detected is set to the “Reflect LL.” and
“Lead Width.” Field.
The diameter of the circle is specified by using the lead width as follows: