YSD_Users_E.pdf - 第252页

5-63 5 Creating the board data 6.6.1 Pattern registration T o utilize pattern matching, you must register the reference pattern in the template. 1 Decide on the pattern. Decide which pattern you want to use for pattern m…

100%1 / 401
5-62
5
Creating the board data
6.6 Pattern matching
Pattern matching is a function for correcting board dimensional or reference hole errors, positioning errors
occurring from the board clamping mechanism, or local distortion of the board. To use this function, the image
of a particular board pattern must be registered as the template. Errors or distortion are corrected by comparing
the template you registered with an actual pattern being recognized. Pattern matching is useful when the
fiducial function cannot be used, for example, if the board has no fiducial marks or the mark does not match
any mark recommended by YAMAHA.
Any pattern can be used, but the pattern image should be smaller than about 1/4th of the monitor and must
meet the following conditions.
Each pattern clearly contrasts with the board. (It is okay if the outline of each pattern is definite.)
A pair of patterns are diagonally opposing on the board.
Pattern conditions
Pattern
Pattern
NG
NG
OK
Board Board
OK OK
Low contrast
63546-N7-00
c
CAUTION
Pattern matching requires a longer recognition time than normal mark recognition and its accuracy may drops slightly
when compared to cases using round or square marks. It is not necessary to use pattern matching for marks which
can be correctly recognized with "Algorithm Type" set to “Normal”.
5-63
5
Creating the board data
6.6.1 Pattern registration
To utilize pattern matching, you must register the reference pattern in the template.
1
Decide on the pattern.
Decide which pattern you want to use for pattern matching. Select a pair of patterns
that meet the conditions explained previously.
2
Enter the pattern name in the mark information.
Open the Mark screen and, in the Mark Name column, enter the name that you can
easily identify as a pattern.
3
Set the parameters.
Set the parameters as follows.
1. Set “Mark Type” of the Basic parameters to “Fiducial”.
2. Set “Algorithm Type” of the Vision parameters to “PTRN Outline” or “PTRN GrayLev” or "PTRN Whole".
PTRN Outline:
In most cases, select this parameter for pattern matching. When the outline is definite, the pattern
can be recognized even if uneven brightness portions are present inside the pattern.
PTRN GrayLev :
Selecting this parameter is more effective in recognizing a pattern whose brightness is uniform inside
the pattern. This parameter setting requires a longer time to recognize a pattern than in the “PTRN
Outline” setting and also the data size will be larger.
PTRN Whole:
Selecting this parameter is effective in acquiring details of a pattern image. Since the entire pattern
is recognized and the image is less compressed, this parameter setting requires a longer time than in
the "PTRN GrayLev" setting and also the data size will be even more larger.
Set to "PTRN Outline" or "PTRN GrayLev" or "PTRN Whole".
Entering the pattern name
Enter the pattern name.
64537-N7-00
Pattern recognition types
PTRN outline PTRN Graylev
Uneven brightness Uniform brightness
63547-N7-00
5-64
5
Creating the board data
4
Press the [Mark Adj] button to open the Mark Adjust windows.
Mark Adjust window
64538-N7-00
5
Set the board on the conveyor and clamp it.
6
Move the head so the pattern is displayed in the center of the vision monitor.
Use the Move Head button to move the head. When the head is positioned, press the [Close] button to
return to the Mark Adjust window.
7
Press the [Pattern] button.
The Pattern registration screen appears as shown below.
Pattern registration screen
64339-N7-00