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

140/178 IM-SMT-VSNDI C-0002 -000 the noise is de tected as sh own in Figure 1 15, which elim inate the effects from the noise. Please refer to “A ppendix 1 . Noise process ing” for the details on the noise e lim ination …

100%1 / 178
139/178
IM-SMT-VSNDIC-0002-000
If the shape is a rectangle: The lead length x the lead width.
If the shape is a circle, The lead length = 0
(See Figure 114.)
Note *2: The center of gravity of the object being detected is set at a position offset from the
component center. (See Figure 114. In the example, the “Find Pos X” is 0.)
Figure 114
Note *3. This option parameter consists of one byte of data, and each bit has different
meaning.
If the values of Noise Cut for the outside and inside of the component are specified as n1/n2,
the value obtained from the formula below is set:
If the object is white, n2 x 8 + n1
If the object is black, 64 + n2 * 8 + n1
For example, if the noise cut outside the component is executed twice and the noise cut
inside the component three times, the values obtained from the following formula are set:
If the object is white, 3x8 + 2 = 26
If the object is black, 64 + 3x8 + 2 = 90
Also, if the noise cut is executed first on the outside and then on the inside of the component,
the value subtract 128 from this value is set. In the above example,
If the object is white, 26 – 128 = -102
If the object is black, 90 – 128 = -38
The functions for cutting noise on both inside and outside of the component are used when
Body Size Y
Find Pos
Y
Find Pos Y
Lead Width
Lead Width= 0
Lead Length
Lead Width
Bit Position
The value of
Cut Outer Noise
: (0
-
7): n1
The value of
Cut Outer Noise
: (0
-
7): n2
Surface Type: (0: White, 1: Black)
Noise cut order: (0: Inner
Outer, 1: Outer
Inner)
Find Pos X
N1 = 0
Find Pos X
S1 = 0
Body Size X
140/178
IM-SMT-VSNDIC-0002-000
the noise is detected as shown in Figure 115, which eliminate the effects from the noise.
Please refer to “Appendix 1. Noise processing” for the details on the noise elimination
process.
Figure 115
In the actual example shown in
Figure 116
, the “Cut Outer Noise” function is used to eliminate
the effects caused by the projection on the lead section in order to stabilize the shape.
Figure 116
Also, if the component is divided into two parts and the boundary between the parts is not
clearly seen due to the lighting level, component lot, or another factor as shown in
Figure 117
,
the noise cut function can be used in order to perform stable recognition.
The “Cut Outer Noise” function separate the two objects connected together in order to
perform stable recognition.
Cut Inner Noise
Cut Outer Noise
141/178
IM-SMT-VSNDIC-0002-000
Figure 117
In the example of actual recognition shown in
Figure 118
, the lead section and the body
section are separated by using the “Cut Outer Noise” function.
Figure 118
It is possible to perform recognition on horizontally placed components. In this case, the data
should be set to the E-W direction not to the N-S direction.
2.12.3-4. Mark 4
This algorithm is used to recognize components whose shape consists of four parts, as
shown in
Figure 119
.
Figure 119
This part cannot
be seen clearly.
“Cut Outer Noise”
function is used
Separate
the two
objects.