PCB Defect Detection and Classification Using Image Processing



Similar documents
An Algorithm for Classification of Five Types of Defects on Bare Printed Circuit Board

PCB DETECTION AND CLASSIFICATION USING DIGITAL IMAGEPROCESSING

Automatic Detection of PCB Defects

AN ALGORITHM TO GROUP DEFECTS ON PRINTED CIRCUIT BOARD FOR AUTOMATED VISUAL INSPECTION

Detection of Bare PCB Defects by Image Subtraction Method using Machine Vision

Ms. Prachi P. Londe #1, Prof. Atul N. Shire #2 #1 II nd Year M.E. (D.E), EXTC Dept.DBNCOET Yavatmal. #2 H.O.D, EXTC Dept,DBNCOET Yavatmal.

Bare PCB Verification System Using Optical Inspection & Image Processing

Novel Automatic PCB Inspection Technique Based on Connectivity

PCB defect detection based on pattern matching and segmentation algorithm

Wavelet-Based Printed Circuit Board Inspection System

PCB Defect Detection Using Image Processing And Embedded System

AUTOMATIC ATIC PCB DEFECT DETECTION USING IMAGE SUBTRACTION METHOD

Printed Circuit Board Defect Detection using Wavelet Transform

Image Processing Based Automatic Visual Inspection System for PCBs

Computer-Aided System for Defect Inspection in the PCB Manufacturing Process

Artwork master Inspection and touch up Production phototools Inspection and touch up. development of outer layers

COMPUTER VISION SYSTEM FOR PRINTED CIRCUIT BOARD INSPECTION

Face Recognition For Remote Database Backup System

An Automatic Optical Inspection System for the Diagnosis of Printed Circuits Based on Neural Networks

Manjeet Kaur Bhullar, Kiranbir Kaur Department of CSE, GNDU, Amritsar, Punjab, India

Analecta Vol. 8, No. 2 ISSN

Neural Network based Vehicle Classification for Intelligent Traffic Control

CHAPTER 5. OVERVIEW OF THE MANUFACTURING PROCESS

Locating and Decoding EAN-13 Barcodes from Images Captured by Digital Cameras

Open Access A Facial Expression Recognition Algorithm Based on Local Binary Pattern and Empirical Mode Decomposition

The application of image division method on automatic optical inspection of PCBA

ECE 533 Project Report Ashish Dhawan Aditi R. Ganesan

COARSE RESOLUTION DEFECT LOCALIZATION ALGORITHM FOR AN AUTOMATED VISUAL PCB INSPECTION

Automatic Extraction of Signatures from Bank Cheques and other Documents

Development and Integration of a Micro-Computer. . based Image Analysis System for Automatic PCB Inspection

Enhanced Boosted Trees Technique for Customer Churn Prediction Model

COLOR-BASED PRINTED CIRCUIT BOARD SOLDER SEGMENTATION

Fuzzy Candlestick Approach to Trade S&P CNX NIFTY 50 Index using Engulfing Patterns

Signature Region of Interest using Auto cropping

Performance Based Evaluation of New Software Testing Using Artificial Neural Network

Super-resolution method based on edge feature for high resolution imaging

ICSES Journal on Image Processing and Pattern Recognition (IJIPPR), Aug. 2015, Vol. 1, No. 1

Barcode Based Automated Parking Management System

Numerical Research on Distributed Genetic Algorithm with Redundant

Sanaullah Ahmad Rizvi 1, K.B.Neelima 2, Dr. T. Saravanan 3 Bharath University, Chennai, India

MACHINE VISION MNEMONICS, INC. 102 Gaither Drive, Suite 4 Mount Laurel, NJ USA

Friendly Medical Image Sharing Scheme

Optimize Position and Path Planning of Automated Optical Inspection

Dynamic Load Balancing of Virtual Machines using QEMU-KVM

Keywords: Forecasting, S&P CNX NIFTY 50, Fuzzy-logic, Fuzzy rule-base, Candlesticks, Fuzzycandlesticks, Figure 1.2: White Candle

BARE PCB INSPECTION BY MEAN OF ECT TECHNIQUE WITH SPIN-VALVE GMR SENSOR

VECTORAL IMAGING THE NEW DIRECTION IN AUTOMATED OPTICAL INSPECTION

A Parallel Processor for Distributed Genetic Algorithm with Redundant Binary Number

Mouse Control using a Web Camera based on Colour Detection

REAL TIME TRAFFIC LIGHT CONTROL USING IMAGE PROCESSING

ISSN: (Online) Volume 2, Issue 2, February 2014 International Journal of Advance Research in Computer Science and Management Studies

Defect Detection of SMT Electronic Modules

INTEROPERABLE FEATURES CLASSIFICATION TECHNIQUE FOR CLOUD BASED APPLICATION USING FUZZY SYSTEMS

Impelling Heart Attack Prediction System using Data Mining and Artificial Neural Network

Watershed Algorithm for PCB Automatic Optical Inspection Systems

How To Filter Spam Image From A Picture By Color Or Color

O&M Service for Megasolar Power Plants and Precise Monitoring Techniques for PV Modules

Review of Mobile Applications Testing with Automated Techniques

Method of Fault Detection in Cloud Computing Systems

Fault Analysis in Software with the Data Interaction of Classes

AOI Systems Limited Automated Optical Inspection

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

A Robust Method for Solving Transcendental Equations

Designing a Schematic and Layout in PCB Artist

Space-filling Techniques in Visualizing Output from Computer Based Economic Models

Random forest algorithm in big data environment

Comparison of Various Particle Swarm Optimization based Algorithms in Cloud Computing

How to Build a Printed Circuit Board. Advanced Circuits Inc 2004

How To Use Neural Networks In Data Mining

Large-Scale Data Sets Clustering Based on MapReduce and Hadoop

Key Processes used to Build a Quality Printed Circuit Board

FACE RECOGNITION BASED ATTENDANCE MARKING SYSTEM

6367(Print), ISSN (Online) & TECHNOLOGY Volume 4, Issue 1, (IJCET) January- February (2013), IAEME

The Role of Size Normalization on the Recognition Rate of Handwritten Numerals

Performance Evaluation of Online Image Compression Tools

A Dynamic Approach to Extract Texts and Captions from Videos

Algorithm for License Plate Localization and Recognition for Tanzania Car Plate Numbers

Optimised Realistic Test Input Generation

Simulation and Analysis of Parameter Identification Techniques for Induction Motor Drive

AN IMPROVED DESIGN OF REVERSIBLE BINARY TO BINARY CODED DECIMAL CONVERTER FOR BINARY CODED DECIMAL MULTIPLICATION

Automated Model Based Testing for an Web Applications

A Genetic Algorithm Approach for Solving a Flexible Job Shop Scheduling Problem

Smart Card Security How Can We Be So Sure?

Android based Secured Vehicle Key Finder System

Fault Localization in a Software Project using Back- Tracking Principles of Matrix Dependency

An Energy-Based Vehicle Tracking System using Principal Component Analysis and Unsupervised ART Network

White Paper. Recommendations for Installing Flash LEDs on Flex Circuits. By Shereen Lim. Abstract. What is a Flex Circuit?

High-Mix Low-Volume Flow Shop Manufacturing System Scheduling

International Journal of Engineering Research ISSN: & Management Technology November-2015 Volume 2, Issue-6

Implementation of Modified Booth Algorithm (Radix 4) and its Comparison with Booth Algorithm (Radix-2)

Monitoring Web Browsing Habits of User Using Web Log Analysis and Role-Based Web Accessing Control. Phudinan Singkhamfu, Parinya Suwanasrikham

Keywords image processing, signature verification, false acceptance rate, false rejection rate, forgeries, feature vectors, support vector machines.

LO5: Understand commercial circuit manufacture

Scholars Research Library

Transcription:

International Journal of Emerging Research in Management &Technology Research Article August 2014 PCB Defect Detection and Classification Using Image Processing Abstract Kaur Kamalpreet * Thapar Polytechnic, ECE Punjab, India Kaur Beant Punjabi University, ECE Punjab, India Printed circuit boards are by far the most common method of assembling modern electronic circuits. During the manufacturing of PCB many defects are introduced which are harmful to precision circuit performance. A variety of ways has been established to detect the defects found on PCB, but it is also necessary to classify these defects so that the source of these defects can be identified. This study proposes an algorithm to group all 14 defects found on PCB into 5 Groups.the proposed algorithm involves MATLAB image processing operations,such as image subtraction, image addition, logical XOR, Flood fill, Opening,erosion. Keywords PCB, Defects, Image processing, MATLAB, Opening I. INTRODUCTION A bare printed circuit board (PCB) is a PCB that is used before the placement of components and the soldering process [1]. It is used along with other components to produce electronic goods. During the manufacturing of printed circuit boards, widths of insulators and conductors can change because of manufacturing defects such as dust, overetching, underetching, and spurious metals. To reduce manufacturing costs associated with defected bare PCBs, the inspection of bare PCBs is required as the foremost step of the manufacturing process. The objective of printed circuit board (PCB) inspection is to verify that the characteristics of board manufacturing are in conformity with the design specifications. PCB defects can be categorized into two groups; functional defects and cosmetic defects [5]. Functional defects can seriously affect the performance of the PCB or cause it to fail. Cosmetic defects affect the appearance of the PCB,but can also jeopardize its performance in the long run due to abnormal heat dissipation and distribution of current.three categories of PCB inspection algorithms have been proposed 1. Referential approaches: - It consists of image comparison and model based techniques. 2. Non-Referential approaches:- Non-referential approaches or design-rule verification methods are based on the verification of the general design rules that is essentially the verification of the widths of conductors and insulators. 3. Hybrid approaches: - Hybrid approaches involve a combination both of the referential and the non-referential approaches. II. PCB DEFECTS PCB defects can be categorized into two groups:- 1. Functional defects :- Functional defects can seriously affect the performance of the PCB or cause it to fail. 2. Cosmetic defects:- Cosmetic defects affect the appearance of the PCB, but can also jeopardize its performance in the long run due to abnormal heat dissipation and distribution of current. There are 14 known types of defects for single layer, bare PCBs as shown in Table I. Various defects have been shown in figure 1 and 2. Figure 1: Template image of bare PCB 2014, IJERMT All Rights Reserved Page 42

1.Breakout 2.Pinn hole 3.Open cicuit 4.Underetch 5.Mouse bite 6.Missing conductor 7.Spur 8.Short 9.Wrong size hole 10.Conductor too close 11.Spuriouscooper 12.Excessive short 13.Missing hole 14. Over etch Fig 2: Defective image of bare PCB Table 1: Various defects on Bare PCB S.NO. DEFECTS 1 OPEN CIRCUIT 2 SHORT 3 CONDUCTOR TOO CLOSE 4 MISSING CONDUCTOR 5 EXCESSIVE SHORT 6 BREAKOUT 7 PIN-HOLE 8 UNDER-ETCH 9 MOUSE-BITE 10 MISSING HOLE 11 OVER-ETCH 12 SPUR 13 WRONG SIZE HOLE 14 SPURIOUS COPPER III. METHODOLOGIES A. Image subtraction operation A new image is obtained as a result of the difference between the pixels in the same location of the two input images being subtracted. Image subtraction is widely used for change detection C=A-B; i.e.maximum value of A-B and Zero. (1) C(i,j,)=max(A(i,j)-B(i,j),0). (2) B. Image difference operation A new image is obtained as a result of comparison of both images pixel-by-pixel by XOR logic operator.this operation is also called as image comparison operation. C. Complement operation Complement operator is normally used to change the image from black to white and vice-versa.in complement of Binary image zeros become ones and ones become zeros black and white are reversed. D. Flood fill operation A hole is a set of background pixels that cannot be reached by filling in the background from the edge of the image.the floodfill operator changes the colour of a region.in grayscale images the holes are filled. Holes are area of dark pixels surrounded by lighter pixels. E. Image addition Image addition is a method of combining objects in two images.it uses OR logic operator. 2014, IJERMT All Rights Reserved Page 43

IV. THE PROPOSED ALGORITHM The study follows a two-step process to detect and classify the defects. In the first step, defects have been detected and in the second step, the defects have been classified. Step-I: Detection of defects in PCB image For detection of defects the template image (It) and the defective image (Id) are compared using image subtraction operation to obtain positive image (Ip) and Negative image (In) as shown below In=It-Id (3) Ip=Id-It (4) The addition of the positive image and the negative image gives all the defects present in the defective image as shown in equation (5). Ia=In+Ip (5) Step-II: Classification of defects: Here the defects have been been classified and grouped into 5 groups as given under: Group 1: Wrong size hole and missing hole Group 2: spur,short,conductor tor too close,underetch,spurious copper and excessive short. Group3: Pinhole and breakout Group4: overetch,mousebite and opencircuit Group5: Missing conductor A. Classification of group1 and group 2 defects: In this In image has been used along with the complement of template image (Itc). imfill operation (fill all the empty spaces and holes) has been applied on the complement of the template image( Itcf). The In image has been subtracted from the Itcf image to form difference image (Idh). Finally the resultant image Idh has been subtracted from Itcf. The group1 defects i.e. wrong hole size defect and missing hole defect has been presented by the output image (Ig1).Difference of In and Ig1 images gives group 2 defects. Itc=complement (It) (6) Itcf=flood fill (Itc) (7) Idh=Itcf-In (8) Ig1=Idh-In (9) Ig2=In-Ig1 (10) B. Classification of Group3 defects: In this Ip image has been used along with the complement of defective image (Idc). imfill operation (fill all the empty spaces and holes) has been applied on the complement of the defective image( Idcf). The Ip image has been subtracted from the Itcf image to form difference image(ide). Finally the resultant image Ide has been subtracted from Idcf. The group3 defects i.e.pinhole defect and breakout defects hve been presented by Ig3. Idc=complement (Id) (11) Idcf=floodfill(Idc) (12) Ide=Idcf-ip (13) Ig3=Idcf-Ide (14) C. Classification of Group 4 defects and group 5: In this the group 3 defects image(ig3) is subtracted from Ip to obtain result image Ir presenting 4 more defects namely overetch,opencircuit,mousebite and missing conductor.opening of Ir after flood filling it(irf) is done using disk structuring element of appropriate radius and subtracting it from Irf to separate missing conductor defect from other 3 defects. The group 4 defects have been presented by Ig4. Ir=Ip-Ig3 (15) Irf=floodfill Ir (16) I1=opening of (Irf,se);where se= disk structuring element (17) Ig4=Ir-I1 (18) Subtracting the group 4 defect image from Ir gives the group 5 defect i.e. missing conductor. Ig5=Ir-Ig4 (19) V. EXPERIMENTAL RESULTS The proposed method was tested using no. of defective PCB images.the defective PCB images were generated manually from template PCB images. Step1: Defect detection The different defects detected from the test images by using image subtraction method have been shown in Figure3 - Figure.7 2014, IJERMT All Rights Reserved Page 44

Fig 3:Template image(it) Fig 4:Defective image(id) Fig 5:Negative image(in) Fig 6:Positive image(ip) Fig 7: detected defects(ia) StepII: Defect classification After the detection of all defects using image subtraction method, the defects should be classified in different groups. The visual results of various steps in classification have been shown in Figure8 Figure 12.From these figures it has been proved that the proposed method is able to classify all the faults in the defect image. Fig 8: Group 1 defects Fig 9: Group 2 defects Fig 10: Group 3 defects Fig 11: Group 4 defects Fig 12:Group 5 defects VI. CONCLUSIONS The detection and classification results of proposed method are promising. Most of the defects like wrong size hole, missing hole, missing conductor, pin hole are successfully detected without any misclassification. The proposed method has some drawbacks like it require the same size of template and defective images. And it requires orientation of test image and base image. Also during computation of defect detection and implementation this operation bring along the unwanted noise due to misalignment. Future work can be done to overcome these drawbacks. ACKNOWLEDGMENT Authors thankfully acknowledge the suggestions given by the unknown learned reviewers.. REFERENCES [1] J. Hong, K. Park and K. Kim, Parallel processing machine vision system for bare PCB inspection, Proc. of the 24th Annual Conference of the IEEE, pp.1346-1350, 1998. [2] M. Moganti, F. Ercal, C. H. Dagli and S. Tsunekawa, Automatic PCB inspection algorithms: A survey, Computer Vision and Image Understanding, vol.63, no.2, 1996. [3] R. S. Guh and J. D. T. Tannock, A neutral network approach to characterize pattern parameters in process control charts, Journal of Intelligent Manufacturing, vol.10, no.5, pp.449-462, 1996. [4] W. Y. Wu, M. J. Wang and C. M. Liu, Automated inspection of printed circuit boards through machine vision, Computers in Industry, vol.28, no.2, pp.103-111, 1996. [5] Ismail Ibrahim, Zuwairie Ibrahim, Kamal Khalil, Musa Mohd Mokji Syed Abdul Rahman Syed Abu Bakar, Norrima Mokhtar and Wan Khairunizam Wan Ahmad, An improved defect classification algorithm for six Printing defects and its implementation on real Printed circuit board images, International Journal of Innovative Computing, Volume 8, Number 5(A), May 2012 2014, IJERMT All Rights Reserved Page 45

[6] H. Rau and C.-H. Wu, Automatic optical inspection for detecting defects on printed circuit board inner layers, International Journal of Advanced Manufacturing Technology, vol.25, no.9-10, pp.940-946, 2005. [7] I. Ibrahim, Z. Ibrahim, M. S. Z. Abidin, M. M. Mokji, S. A. R. S. Abu-Bakar and S. Sudin, An algorithm for classification of six types of defect on bare printed circuit board, Proc. of the 33 rd International Electronics Manufacturing Technology Conference, Penang, Malaysia, 2008 [8] I. Ibrahim, Z. Ibrahim, M. S. Z. Abidin, M. M. Mokji and S. A. R. S. Abu-Bakar, Classificationalgorithm for six different defects on bare printed circuit board, Proc. of the 6th Student Conference on Research and Development, Johor Bahru, Malaysia, 2008. [9] R. C. Gonzalez and R. E. Woods, Digital Image Processing, 2nd Edition, Prentice-Hall, 2002. [10] A. Hussain, M. A. Jaffar and A. M. Mirza, Random-valued impulse noise removal using fuzzy logic,international Journal of Innovative Computing, Information and Control, vol.6, no.10, pp.4273-4288,2010. [11] R. C. Gonzalez and P. Wintz, Digital Image Processing, Addison-Wesley Publishing Company, 1987 [12] S. H. Indera Putera, Syahrul Fahmi Dzafaruddin, Maziah Mohamad, MATLAB Based Defect Detection and Classification of Printed Circuit Board Digital Information and Communication Technology and it's Applications (DICTAP), IEEE 2012 Second International Conference. Bangkok. [13] S. H. Indera Putera and Z. Ibrahim Printed Circuit Board Defect Detection Using Mathematical Morphology and MATLAB Image Processing Tools, ICINT 2010, Shanghai, China, 2010. [14] IJSSST, Vol. 9, No. 2, May 2008, ISSN: 1473-804x] N. K. Khalid, Z. IBRAHIM, M. S.Z. ABIDIN AN ALGORITHM TO GROUP DEFECTS ON PRINTEDCIRCUIT BOARD FOR AUTOMATED VISUAL INSPECTION. [15] Feng Xie, Alexandra Uitdenbogerd, Andy Song Detecting PCB Component Placement Defects by Genetic Programming 2013 IEEE Congress on Evolutionary Computation June 20-23, Cancún, México. [16] Zuwairie Ibrahim, Kamal Khalil, Wan Khairunizam Wan Ahmad Noise Elimination for Image Subtraction in Printed Circuit Board Defect Detection Algorithm INTERNATIONAL JOURNAL OF COMPUTERS & TECHNOLOGY Vol 10, No 2 Aug 10 2013, ISSN 22773061 2014, IJERMT All Rights Reserved Page 46