Automatic Detection of PCB Defects



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

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

PCB Defect Detection and Classification Using Image Processing

Bare PCB Verification System Using Optical Inspection & Image Processing

PCB DETECTION AND CLASSIFICATION USING DIGITAL IMAGEPROCESSING

Novel Automatic PCB Inspection Technique Based on Connectivity

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.

Image Processing Based Automatic Visual Inspection System for PCBs

Printed Circuit Board Defect Detection using Wavelet Transform

PCB defect detection based on pattern matching and segmentation algorithm

AUTOMATIC ATIC PCB DEFECT DETECTION USING IMAGE SUBTRACTION METHOD

Wavelet-Based Printed Circuit Board Inspection System

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

PCB Defect Detection Using Image Processing And Embedded System

COMPUTER VISION SYSTEM FOR PRINTED CIRCUIT BOARD INSPECTION

Analecta Vol. 8, No. 2 ISSN

VECTORAL IMAGING THE NEW DIRECTION IN AUTOMATED OPTICAL INSPECTION

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

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

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

Barcode Based Automated Parking Management System

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

Defect detection of gold-plated surfaces on PCBs using Entropy measures

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

Neural Network based Vehicle Classification for Intelligent Traffic Control

ECE 533 Project Report Ashish Dhawan Aditi R. Ganesan

Limitations of Human Vision. What is computer vision? What is computer vision (cont d)?

MACHINE VISION FOR SMARTPHONES. Essential machine vision camera requirements to fulfill the needs of our society

Colour Image Segmentation Technique for Screen Printing

FACE RECOGNITION BASED ATTENDANCE MARKING SYSTEM

FPGA Implementation of Human Behavior Analysis Using Facial Image

1. Single sided PCB: conductors on only one surface of a dielectric base.


Fingerprint s Core Point Detection using Gradient Field Mask

CHAPTER 5. OVERVIEW OF THE MANUFACTURING PROCESS

Automated Optical Inspection is one of many manufacturing test methods common in the assembly of printed circuit boards. This list includes:

Learn about OCR: Optical Character Recognition Track, Trace & Control Solutions

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

Morphological segmentation of histology cell images

A Simple Feature Extraction Technique of a Pattern By Hopfield Network

FLEXIBLE CIRCUITS MANUFACTURING

Optimize Position and Path Planning of Automated Optical Inspection

CHAPTER 1. Introduction to CAD/CAM/CAE Systems

A PHOTOGRAMMETRIC APPRAOCH FOR AUTOMATIC TRAFFIC ASSESSMENT USING CONVENTIONAL CCTV CAMERA

Face Recognition For Remote Database Backup System

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

Numerical Research on Distributed Genetic Algorithm with Redundant

HANDS-FREE PC CONTROL CONTROLLING OF MOUSE CURSOR USING EYE MOVEMENT

Signature Region of Interest using Auto cropping

LO5: Understand commercial circuit manufacture

Simulation and Design of Printed Circuit Boards Utilizing Novel Embedded Capacitance Material

A Dynamic Approach to Extract Texts and Captions from Videos

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

Application Note. Soldering Methods and Procedures for 1st and 2nd Generation Power Modules. Overview. Analysis of a Good Solder Joint

Signature Segmentation from Machine Printed Documents using Conditional Random Field

Designing a Schematic and Layout in PCB Artist

Geometric Optics Converging Lenses and Mirrors Physics Lab IV

SVM Based License Plate Recognition System

COLOR-BASED PRINTED CIRCUIT BOARD SOLDER SEGMENTATION

COMPARISON OF OBJECT BASED AND PIXEL BASED CLASSIFICATION OF HIGH RESOLUTION SATELLITE IMAGES USING ARTIFICIAL NEURAL NETWORKS

Computer Vision for Quality Control in Latin American Food Industry, A Case Study

International Journal of Advanced Information in Arts, Science & Management Vol.2, No.2, December 2014

QUALITY TESTING OF WATER PUMP PULLEY USING IMAGE PROCESSING

Comparison of different image compression formats. ECE 533 Project Report Paula Aguilera

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

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

A Study of Automatic License Plate Recognition Algorithms and Techniques

A New Image Edge Detection Method using Quality-based Clustering. Bijay Neupane Zeyar Aung Wei Lee Woon. Technical Report DNA #

Circle Object Recognition Based on Monocular Vision for Home Security Robot

Fabrication of Complex Circuit Using Electrochemical Micromachining on Printed Circuit Board (PCB)

PIN IN PASTE APPLICATION NOTE.

Grid Density Clustering Algorithm

Simultaneous Gamma Correction and Registration in the Frequency Domain

addressed. Specifically, a multi-biometric cryptosystem based on the fuzzy commitment scheme, in which a crypto-biometric key is derived from

Automated Contact Resistance Tester CR-2601

Automotive Applications of 3D Laser Scanning Introduction

Enhanced Boosted Trees Technique for Customer Churn Prediction Model

ARM7 Based Smart ATM Access & Security System Using Fingerprint Recognition & GSM Technology

DIAGONAL BASED FEATURE EXTRACTION FOR HANDWRITTEN ALPHABETS RECOGNITION SYSTEM USING NEURAL NETWORK

ENHANCING ATM SECURITY USING FINGERPRINT AND GSM TECHNOLOGY

Executive Summary. Table of Contents

Virtual Mouse Using a Webcam

Visual Structure Analysis of Flow Charts in Patent Images

The Don ts of Better Flexible Circuit Design and Manufacture By Mark Finstad Friday, 01 June 2007

Flexible Circuit Simple Design Guide

Binary Adders: Half Adders and Full Adders

A new similarity measure for image segmentation

Binary Image Scanning Algorithm for Cane Segmentation

PCB Artist Tutorial:

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

A fast multi-class SVM learning method for huge databases

Volume 3, Issue 6, June 2015 International Journal of Advance Research in Computer Science and Management Studies

Transcription:

IJIRST International Journal for Innovative Research in Science & Technology Volume 1 Issue 6 November 2014 ISSN (online): 2349-6010 Automatic Detection of PCB Defects Ashish Singh PG Student Vimal H. Nayak Assistant Professor Mohammed G. Vayada Assistant Professor Abstract A Printed Circuit Board (PCB) is everywhere from a small toy to a big electronic machine which we used in our daily life. PCB consists of circuit with various electronic components mounted on surface. PCB manufacturing consists of three stages in which inspection of PCB necessary to reduce the defects. First is printing, second is component fabrication over PCB surface and third is the component soldering. In this paper the automatic machine inspection using the different algorithm is discussed mainly subtraction algorithm. In this algorithm we will compare an Ideal image with the Test image in which the defect needs to be detected like missing hole, pin hole, underetch, short-circuit, mousebite, open-circuit etc. Keywords: Machine vision, PCB defects, Image subtraction, Defect detection. I. INTRODUCTION The technology of computer vision has been highly developed and used in several industry applications. One of these applications is the automatic visual inspection of printed circuit boards (PCB). The automatic visual inspection is important because it removes the subjective aspects and provides fast, quantitative and dimensional assessments. As PCBs normally contain complex and detailed patterns, manual visual inspection is very tiring and very subjective to errors. On the other hand, automatic systems do not get tired and are consistent. In electronics mass-production manufacturing, printed circuit board (PCB) inspection is a time consuming task. Manual inspection does not guarantee that PCB defects can be detected. The company whose turnover is not huge tends to do manual inspection because of high cost of optical inspection machine. In this paper we will design a system of low cost and of high accuracy which will benefit all. There are various defects which a human cannot detect via a naked eye. In this paper an algorithm is designed using MATLAB which will automatically detect the defects in PCB. The main disadvantage of manual inspection of PCB defects are human errors, inconsistent grading and labor intensive. The inspection process can be automated by PC-Based Machine Vision. To identify the fatal defects the system uses a connectivity approach, it finds any type of error like: PCB board printing and missing holes, short circuit etc. For this research, the main defect focus is on PCB missing component, wrong hole size, etching, and various basic defects. This is very difficult to visualize by human eye. The result, obtained based on the proposed technique is possibly be applied in automated PCB manufacturing process. II. LITERATURE SURVEY Bare printed circuit board (PCB) is a PCB without any placement of electronic components (Hong et al., 1998) which is used along with other components to produce electrics goods. In order to reduce cost spending in manufacturing caused by the defected bare PCB, the bare PCB must be inspected. Moganti [2] et al. (1996) proposed three categories of PCB inspection algorithms: referential approaches, non-referential approaches, and hybrid approaches. Referential approaches consist of image comparison and model-based technique. 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. Hybrid approaches involve a combination both of the referential and the non-referential approaches. Heriansyah et al. [R Heriansyah 2012] [3][4] proposed a technique that classifies the defects that could occur on the PCB using neural network. The algorithm segments the image into basic primitive patterns, enclosing the primitive patterns; patterns All rights reserved by www.ijirst.org 285

assignment, patterns normalization, and classification were developed using binary morphological image processing and Learning Vector Quantization (LVQ) neural network. Shih-Chieh Lin et al [Shih-Chieh Lin and Chia-Hsin 2006] [5] proposed the method that can be divided into two stages, first stage was screening and the second stage was neural network to classify defect more accurately. 558 training samples were used to train the proposed system first. It was shown that pattern matching index is the optimal screen index in the first stage and in the second stage; it was shown that more than three indexes should be used to effectively identify defects. Khalid et al. [N. K. Khalid 2008] proposed algorithm that can be implemented on bare PCB to identify and to group PCB defects. However, the major limitation of this algorithm is that the proposed algorithm is developed to work with binary images only, whereas the output from the cameras is in gray scale format. Although the conversion can be made from gray scale to binary format imperfection still can be occurred. Thus, this algorithm should be improved to handle the gray scale image format. Moganti et al.(1996) [2] Proposed the improved PCB inspection system in which an image registration operation is done to solve the alignment problem. A noise elimination procedure is designed in such a way that the resultant defects found in this algorithm is more précised compare to previous algorithm. Algorithm was effective to the image processing algorithm developed by Khalid by increasing the classification of 14 defects from 5 to 7 groups. Again the limitation of this algorithm is that it can work with binary images only. Indera Putera et al [S. H. Indera Putera et al. 2012] did improvement to Khalid s work by classifying seven groups. This is done by combining image processing algorithm and the segmentation algorithm. Each image is segmented into four patterns and then produced five new images for each pair of segmented reference and test images processed and thus 20 new images produced. Out of which, seven images were beneficial for defects classification. The figure 1 shows the different type of defect present in the PCB. Fig. 1: Defects present in PCB Pin hole are the small gap that caused by the printed board outgassing during soldering. Pin hole formation during wave soldering is normally always associated with thickness of copper plating. Moisture in the board escapes through either thin copper plating or voids in the plating. Conductor breaking defect cause during the soldering process in which some of the portion is left due to which the circuit is not completed. Sometimes the component is missing which comes under this defect. Sometimes due to the negligence the conductor lines touch each other and the defect is called short circuit. Due to this defect there is high chance of damage when PCB is run. When two and more conductor matched with each other also comes under this defect. III. SIMULATION Image subtraction operation The image subtraction operation is primarily used to reveal the differences between images. Subtracting one image from another effectively removes all objects that do not change while preserving those that do change in pixel value. The way the input images are processed is similar to the image difference operation. The difference between two images f(x, y) and h(x, y) is expressed as: g1(x, y) = f(x, y) - h(x, y) g2(x, y) = h(x, y) - f(x, y) Where g1 and g2 denote positive and negative images, respectively. These formulations compute the difference between all pairs of corresponding pixels from image f and h. Image difference operation The image difference operation is performed to obtain a difference image of two images, specially the template image and the defective image. The method operates by comparing both images pixel by pixel using the XOR logical operator. This operation is similar to the image subtraction operation. The different between these two operations is positive and negative pixel image are combined together in an output image, and it is consider as a defective. All rights reserved by www.ijirst.org 286

A. Image separation operation Image separation operation is used to compare the difference and similarity of objects between two input images and then separate the objects into two groups of output images. The first group of image output consists of objects that have difference pixels value and the second group of image output consists of objects that have similar pixels value. Image addition operation The image addition operation is a method for combining objects in two images into one image by using the OR logical operator. In other words, this operation is used to create double exposures. If two images f(x, y) and h(x, y) are combined, the expression of this operation can be defined as follows: g3(x, y) = f(x; y) + h(x, y) Flood-fll (filling hole) operator A hole can be defined as a background region that is surrounded by a connected border of foreground pixels. In this research, a flood fill operator which is formed from a combination of operations, namely dilation, complementation, and intersection operations have been employed for filling hole in an image Labeling operation Labeling is a procedure for assigning a unique label to each object in an image. There are a number of different approaches to labeling connected components. The approaches could be grouped as one pass, two pass, and multiple pass algorithms. Counted object comparator operation The counted object comparator operation is used to compare the total counted objects between two images. This operation is needed in order to determine if there is any change in the total counted objects when some objects are inserted into an image. Image registration process The image registration process is an important stage in inspecting real PCB images. Image registration or matching can be broadly defined as the process of finding a transformation that aligns one image to another. In this research, geometric transformation is used to find a transformation that aligns a template image and a defective image. The four geometric transformations used for the image registration process are rotation, scaling, skewing, and shifting. The subtraction of images The image subtraction operation is one of the reference based inspection methods. This method is a powerful tool because it is simple, quick and effective in finding defects. Thus, this operation is used for defect detection in this study. However, this method suffers from inspection errors when noise occurs. This kind of noise can be introduced by the environment or the information transformation process used. Image subtraction can easily reduce the noise problem if the defective and template image can be aligned closely. By performing this method, two resultant images are produced: a positive and negative image. The positive image consists of open-circuit, pinhole, mousebite, and underetch positive defects. On the other hand, the negative image consists of missing hole, short-circuit and underetch negative defects. BLOCK DIAGRAM OF THE DEFECT DETECTION ALGORITHM Fig. 2: Algorithm for Detection of defects Fig. 3: Algorithm for Wrong hole size defect All rights reserved by www.ijirst.org 287

Fig. 4: Algorithm for Etching defect Fig. 5: Algorithm for Short Circuit defect IV. RESULT Fig. 6: Reference Image Fig. 7: Test Image Fig. 8: Registered Image Fig. 9: Positive Image Fig. 10: Negative Image Fig. 11: Etching effect Fig. 12: Total defect in PCB Fig.13: Wrong hole size V. CONCLUSION The algorithm designed will detect the three defect Wrong hole size, Etching and the Short circuit defect. All the remaining defect will be detected later the defects is detected using the MATLAB in which all the steps of algorithm is implemented as shown in output. Using this algorithm we can reduced the time of inspection of PCB in the manufacturing industry. It is a very low cost and efficient with time and can made be available to everyone and can expand to other industry. All rights reserved by www.ijirst.org 288

VI. FUTURE WORK In future the aim is to detect the all possible defects present in PCBs. The Labeling operation and Filtering will be used for the accuracy and efficiency. To find the various other method for the registration which will make sure the test image orientation and all parameter same as the reference image so that the subtraction of the image is good and output achieved is of high accuracy. In future the algorithm can be designed for the detection of the defect for multi-layer PCB which is not possible by using just camera and proposed algorithm. For that we need the optical inspection and different algorithm to detect the defect sin multi layered PCB. REFERENCES [1] J. Mandeville, Novel Method for Analysis of PCB. IBM J. Res. Develop. 29 (1985),73-86. [2] M. Monganti, F. Ercal, C. H. Dagli and S. Tsunekawa, Automatic PCB inspection algorithm: A survey, Computer Vision and Image Understanding, vol.63, no.2, 1996. [3] R. S. Guh and J.D.T. Tannock, A neural 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] Y. Sun, C Tsai. A New Model-Based Approach for Industrial Visual Inspection. Pattern Recognition 25 (1992), 1327-1336. [6] MAUROH IROMUT ATIBANA ROBERTO DE ALENCARL OTUFO, Novel Automatic PCB Inspection Technique Based on Connectivity 0-8186- 8102-0/97 1997 IEEE. [7] R. C. Gonzalez and R. E. Woods, Digital Image Processing, 2 nd Edition, Prentice-Hall, 2002. [8] R. M. Haralick and L.G. Shapiro, Computer and Robot Vision, Addision-Wesley, 1992 All rights reserved by www.ijirst.org 289