Patent ID: 6038336
Filing Date: 2000-03-14
Classification: G01R

Abstract:
A printed circuit board testing circuit for an automatic inserting apparatus comprising:a scanner for converting an image signal of a reference printed circuit board into first image data;image detecting means for converting an image signal of a modified printed circuit board into second image data;storing means for storing said first and second image data, hole information data and component information data by being formed with image data storing means for storing said first and second image data of said scanner and image data detecting means, hole information data storing means for storing hole information of inserting components into said reference and modified printed circuit boards, and component information data storing means for storing component information data to be inserted into said reference printed circuit board;a monitor for displaying said first and second image data of said reference and modified printed circuit boards on a screen;a first controlling means for receiving respective first and second image data of said reference printed circuit board and modified printed circuit board received via said scanner and image data detecting means to detect said hole information data of respective reference printed circuit board and modified printed circuit board, comparing detected respective hole information data to detect the hole information data of said modified printed circuit board which does not correspond to said hole information data of said reference printed circuit board, and storing the unpaired hole information data in said hole information data storing means; anda second controlling means for comparing said hole information data stored in said reference printed circuit board received via said scanner with said hole information data of said CAD stored in said hole information data storing means, and detecting the defect of said reference printed circuit board, wherein said second controlling means performs steps of comparing said hole information data of said reference printed circuit board supplied via said scanner with said hole information data of said CAD to detect the defect of said reference printed circuit board, and the steps comprises:a seventh step of reading out said first image data of said reference printed circuit board received via said scanner during an off-line state, and extracting said hole information data of said reference printed circuit board from said read-out first image data by using said image recognition algorithm;an eighth step of computing absolute coordinates by using said hole information data extracted in said seventh step, setting two reference holes from said computed absolute coordinates, and extracting relative coordinates of respective holes by centering about the set reference holes;a ninth step of reading out said hole information data of said CAD stored in said hole information data storing means, and computing said relative coordinates of respective holes of said read-out hole information data;a tenth step of covering circumscribing squares over respective holes of said reference printed circuit board so as to check whether said hole of said reference printed circuit board computed in said eighth step is included in the center of said hole computed in said ninth step, and comparing a hole size of said printed circuit board with a hole size supplied from said CAD when the hole of said printed circuit board exists within said covered circumscribing square; andan eleventh step of deciding as a normal hole when said hole sizes are identical to each other or an abnormal hole when said hole sizes are different from each other in said tenth step, and storing said hole information data corresponding to said abnormal hole in said hole information data storing means.