Printed circuit board defect detection using mathematical morphology and MATLAB image processing tools

various concentrated work on detection of defects on printed circuit boards (PCBs) have been done, but it is also crucial to classify these defects in order to analyze and identify the root causes of the defects. This project is aimed in detecting and classifying the defects on bare single layer PCBs by introducing a hybrid algorithm by combining the research done by Heriansyah et al [1] and Khalid [2]. This project proposes a PCB defect detection and classification system using a morphological image segmentation algorithm [1] and simple the image processing theories [2]. Based on initial studies, some PCB defects can only exist in certain groups. Thus, it is obvious that the image processing algorithm could be improved by applying a segmentation exercise. This project uses template and test images of single layer, bare, grayscale computer generated PCBs. The research improves Khalid [2] work by increasing the number of defect categories from 5 to 7, with each category classifying a minimum of 1 to a maximum 4 different types of defects and a total of 13 out of 14 defects were classified.

[1]  Cihan H. Dagli,et al.  Automatic PCB Inspection Algorithms: A Survey , 1996, Comput. Vis. Image Underst..

[2]  Li Xuemei,et al.  The PCB defect inspection system design based on lab windows/CVI , 2009, 2009 International Conference on Industrial Mechatronics and Automation.

[3]  Sotoshi Yamada,et al.  Application of Phase for Image Processing during Inspection of Printed Circuit Board by Eddy-Current Testing Probe , 2000 .

[4]  Z. Aspar,et al.  Performance evaluation of wavelet-based PCB defect detection and localization algorithm , 2002, 2002 IEEE International Conference on Industrial Technology, 2002. IEEE ICIT '02..

[5]  Z. Aspar,et al.  Analysis of the wavelet-based image difference algorithm for PCB inspection , 2002, Proceedings of the 41st SICE Annual Conference. SICE 2002..

[6]  Zuwairie Ibrahim,et al.  An image processing approach towards classification of defects on printed circuit board , 2007 .

[7]  Wen-Yen Wu,et al.  Automated inspection of printed circuit boards through machine vision , 1996 .

[8]  D. Tsai,et al.  Defect Detection of Gold-Plated Surfaces on PCBs Using Entropy Measures , 2002 .

[9]  Rudi Heriansyah,et al.  Classification of defects on bare PCB using neural network technique , 2004 .

[10]  M. Iwahara,et al.  Improvement on Defect Detection Performance of PCB Inspection Based on ECT Technique With Multi-SV-GMR Sensor , 2007, IEEE Transactions on Magnetics.

[11]  Zuwairie Ibrahim,et al.  COARSE RESOLUTION DEFECT LOCALIZATION ALGORITM FOR AUTOMATED VISUAL PCB INSPECTION , 2002 .