Method for recognizing a printed circuit board fiducial mark in order to decide origin point in chip mounter
First Claim
1. A method for recognizing a fiducial mark on a printed circuit board in order to decide an origin point in a chip mounter, said method comprising the steps of:
- a) storing fiducial mark recognition data including at least reference distance data from a center point to each boundary pixel of the fiducial mark, a total number of the reference distance data, a polarity number of the fiducial mark and a similarity threshold value, to form a reference database in a data storing means;
b) taking an image of a test area which is a portion of the printed circuit board, where the test area is wide enough for including one or more candidate objects and the fiducial mark is a member of the candidate objects, and transforming the image into digital data;
c) successively searching into the digital data of the image of the test area to meet all the candidate object;
d) calculating coordinates of boundary pixels of the candidate object which has been met during the searching step c);
e) calculating a coordinate of a center point of the candidate object from the coordinates of the boundary pixels of the candidate object, and then calculating distance data, whose number is equal to the total number of the reference distance data, from the center point to the boundary pixels;
f) calculating a similarity degree between the candidate object pattern and the pattern of the fiducial mark by means of a similarity function, where a particular similarity function is used for calculating the similarity degree according to the polarity number of the fiducial mark, and the distance data of the candidate object and the reference distance data of the fiducial mark are used by the similarity function for calculating the similarity degree; and
g) verifying whether a pattern of the candidate object is similar to a pattern of the fiducial mark by comparing the similarity degree which has been calculated with the similarity threshold value.
3 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a method for recognizing a printed circuit board fiducial mark in order to decide an origin point in a chip mounter so that electronic parts can be mounted on a desired position of the printed circuit board. Since the method can be used for a distorted image, it can exactly recognize a damaged object as well as a general object. The method can also reduce a calculation amount relative to a polarity number of a candidate object when the candidate object has the polarity number. The method can recognize a candidate object of the same pattern fiducial mark regardless of its size.
30 Citations
10 Claims
-
1. A method for recognizing a fiducial mark on a printed circuit board in order to decide an origin point in a chip mounter, said method comprising the steps of:
-
a) storing fiducial mark recognition data including at least reference distance data from a center point to each boundary pixel of the fiducial mark, a total number of the reference distance data, a polarity number of the fiducial mark and a similarity threshold value, to form a reference database in a data storing means; b) taking an image of a test area which is a portion of the printed circuit board, where the test area is wide enough for including one or more candidate objects and the fiducial mark is a member of the candidate objects, and transforming the image into digital data; c) successively searching into the digital data of the image of the test area to meet all the candidate object; d) calculating coordinates of boundary pixels of the candidate object which has been met during the searching step c); e) calculating a coordinate of a center point of the candidate object from the coordinates of the boundary pixels of the candidate object, and then calculating distance data, whose number is equal to the total number of the reference distance data, from the center point to the boundary pixels; f) calculating a similarity degree between the candidate object pattern and the pattern of the fiducial mark by means of a similarity function, where a particular similarity function is used for calculating the similarity degree according to the polarity number of the fiducial mark, and the distance data of the candidate object and the reference distance data of the fiducial mark are used by the similarity function for calculating the similarity degree; and g) verifying whether a pattern of the candidate object is similar to a pattern of the fiducial mark by comparing the similarity degree which has been calculated with the similarity threshold value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
- 7. The method as claimed in claim 1, wherein, in the case where the fiducial mark is a free mark whose the polarity number is one, the similarity function is as followings,
- space="preserve" listing-type="equation">SD3=min DIFF(k)!, 0≦
k<
N ##EQU12## where N is the total number of the reference distance data of the free mark, each of DIFF(k) is distance difference between the distance data of the candidate object and the reference distance of the fiducial mark, OBJ(n) is the distance data of the candidate object which has been calculated, and DB(n) is the reference distance data of the fiducial mark which has been stored, and % is a modular operator.
- space="preserve" listing-type="equation">SD3=min DIFF(k)!, 0≦
-
-
8. The method as claimed in claim 1, wherein in the verifying step when the calculated similarity degree is equal to or less than the stored similarity threshold value, the candidate object which has been met is taken as the fiducial mark to find, and when the calculated similarity degree is greater than the stored similarity threshold value, the candidate object which has been met is not taken as the fiducial mark to find.
-
9. The method as claimed in claim 1, further comprising the steps for preliminary test of:
-
storing an allowable range of pixel number in the data storing means; calculating a total pixel number of the candidate object; comparing the total pixel number of the candidate object is within the allowable range of pixel number to find out whether the candidate object is a suspected fiducial mark; and discarding the candidate object not to calculate the similarity degree when the total pixel number of the candidate object is out of the allowable range of pixel number, and embracing the candidate object to calculate the similarity degree when the total pixel number of the candidate object is within the allowable range of pixel number.
-
-
10. The method as claimed in claim 1, wherein
storing an allowable range of a rectangular size and an allowable aspect ratio range of a rectangular in the data storing means; -
calculating a width, a length and an aspect ratio of a rectangular within which the candidate object is just fitted; comparing the width, the length and the aspect ratio of the rectangular is within the allowable range of the rectangular size and the allowable aspect ration to find out whether the candidate object is a suspected fiducial mark; and discarding the candidate object not to calculate the similarity degree when the width, the length and the aspect ratio of the rectangular is out of the allowable range of the rectangular size and the allowable aspect ratio, and embracing the candidate object to calculate the similarity degree when the width, the length and the aspect ratio of the rectangular is out of the allowable range of the rectangular size and the allowable aspect ratio.
-
Specification