Mounted connector pin test using image processing
First Claim
Patent Images
1. A method for testing connectors located in equipment and containing arrays of pins to identify individual unsatisfactory pins, the pins in said arrays arranged in rows and projecting from a mounting surface, said method comprising the steps of:
- illuminating said pins and said mounting surface in a manner to avoid projecting pin shadows on said mounting surface;
producing and displaying on a display device an image of at least a portion of said mounting surface and said pin rows viewed from a direction approximately parallel to said pins;
entering into memory a binary version of said image comprising a matrix of pixels in horizontal rows and vertical columns;
associating contiguous pixels of one of the two binary brightness values in said binary image into identified blobs;
computing for each said identified blob a predetermined set of descriptive blob attributes, including the blob dimensions and the location of the blob center;
selecting a first group of blobs consisting of the blobs remaining after excluding the blobs whose centers are located in regions of the image that depict regions of the connector under test which do not contain pin arrays;
selecting a second group of blobs consisting of the blobs in said first group whose dimensions are within a predetermined blob dimension range;
generating a histogram of the locations of the centers of the blobs in said second group by horizontal pixel row;
identifying for each histogram peak that exceeds a predetermined number of blob center locations, the respective horizontal pixel row that bisects it;
for each of said identified peak-bisecting horizontal pixel rows, assigning the blobs in said first group whose centers lie within a predetermined distance of the peak-bisecting pixel row to a respective pin blob row, and identifying the blobs so assigned as pin blobs, each corresponding to a pin;
defining for each pin blob row a centerline that is the straight line that passes closest to the centers of the pin blobs assigned to the respective pin blob row, and overlaying said defined pin blob row centerlines on the image displayed on said display device;
calculating the spacings between pin blobs and their respective row centerlines and between adjacent pin blobs;
applying predetermined criteria to said calculated spacings and to the computed blob attributes of said pin blobs to identify corresponding unsatisfactory pins; and
displaying a notation of said identified unsatisfactory pins on said display device.
1 Assignment
0 Petitions
Accused Products
Abstract
A digital image of the connector pins and their mounting surface background is produced from a direction parallel to the pins by a ccd camera with a telocentric lens and a fiber optic ring light. The image is filtered, binarized and blob analyzed by computer to find rows of blobs that represent rows of pins. The attributes and spacing of the pin blobs are then compared against predetermined criteria to determine pin failures.
-
Citations
14 Claims
-
1. A method for testing connectors located in equipment and containing arrays of pins to identify individual unsatisfactory pins, the pins in said arrays arranged in rows and projecting from a mounting surface, said method comprising the steps of:
-
illuminating said pins and said mounting surface in a manner to avoid projecting pin shadows on said mounting surface; producing and displaying on a display device an image of at least a portion of said mounting surface and said pin rows viewed from a direction approximately parallel to said pins; entering into memory a binary version of said image comprising a matrix of pixels in horizontal rows and vertical columns; associating contiguous pixels of one of the two binary brightness values in said binary image into identified blobs; computing for each said identified blob a predetermined set of descriptive blob attributes, including the blob dimensions and the location of the blob center; selecting a first group of blobs consisting of the blobs remaining after excluding the blobs whose centers are located in regions of the image that depict regions of the connector under test which do not contain pin arrays; selecting a second group of blobs consisting of the blobs in said first group whose dimensions are within a predetermined blob dimension range; generating a histogram of the locations of the centers of the blobs in said second group by horizontal pixel row; identifying for each histogram peak that exceeds a predetermined number of blob center locations, the respective horizontal pixel row that bisects it; for each of said identified peak-bisecting horizontal pixel rows, assigning the blobs in said first group whose centers lie within a predetermined distance of the peak-bisecting pixel row to a respective pin blob row, and identifying the blobs so assigned as pin blobs, each corresponding to a pin; defining for each pin blob row a centerline that is the straight line that passes closest to the centers of the pin blobs assigned to the respective pin blob row, and overlaying said defined pin blob row centerlines on the image displayed on said display device; calculating the spacings between pin blobs and their respective row centerlines and between adjacent pin blobs; applying predetermined criteria to said calculated spacings and to the computed blob attributes of said pin blobs to identify corresponding unsatisfactory pins; and displaying a notation of said identified unsatisfactory pins on said display device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. Apparatus for testing connectors containing arrays of pins to identify individual unsatisfactory pins,said pins arranged in rows and projecting outward from a mounting surface, said apparatus comprising:
-
illuminating means for illuminating said pins and said mounting surface in a manner to avoid projecting pin shadows on said mounting surface; camera means for producing a digital image of said pins and said mounting surface, said digital image comprising a matrix of pixels in horizontal rows and vertical columns; binarizing means for driving each of the pixels of said digital image to either of two brightness values, black or white, respectively; memory means for temporarily storing the binarized image; display means for displaying said binarized image; blob analysis means for associating contiguous pixels of one of said brightness values in said binarized image into identified blobs, and computing for each identified blob a predetermined set of respective descriptive attributes, including the blob dimensions and the location of the blob center; approximate pin row identifying means for identifying as approximate pin rows the respective horizontal pixel rows around which blob centers are locally clustered; pin blob selecting and assigning means for selecting as pin blobs, each representative of a pin, and for assigning to an individual pin blob row those blobs whose centers lie within a predetermined distance of each of said respective identified approximate pin rows; pin blob row centerline defining means for defining for each respective pin blob row its straight row centerline; calculating means for calculating the spacings between pin blobs and their respective pin blob row centerlines and between adjacent pin blobs; pin blob testing means for applying predetermined criteria to said spacings and the blob attributes of said pin blobs to identify unsatisfactory pins; and control means for controlling said binarizing means memory means, display means, blob analysis means, approximate pin row identifying means, pin blob selecting and assigning means, pin blob row centerline defining means, calculating means and blob testing means. - View Dependent Claims (10, 11, 12, 13, 14)
-
Specification