Defect detection and classification of printed circuit board using MATLAB

Similar documents
PCB Error Detection Using Image Processing

Smart Traffic Control System Using Image Processing

Smearing Algorithm for Vehicle Parking Management System

Chord Classification of an Audio Signal using Artificial Neural Network

International Research Journal of Engineering and Technology (IRJET) e-issn: Volume: 03 Issue: 07 July p-issn:

Scan. This is a sample of the first 15 pages of the Scan chapter.

TechNote: MuraTool CA: 1 2/9/00. Figure 1: High contrast fringe ring mura on a microdisplay

Automatic Tablet Pack Quality Monitoring System for Small Scale Pharmaceutical Firms Ratish Rao.N 1, Dr.Surekha B 2

Distortion Analysis Of Tamil Language Characters Recognition

Automatic Defect Recognition in Industrial Applications

Reducing Waste in a Converting Operation Timothy W. Rye P /F

VLSI Design: 3) Explain the various MOSFET Capacitances & their significance. 4) Draw a CMOS Inverter. Explain its transfer characteristics

Coal Mines Security System

+ Human method is pattern recognition based upon multiple exposure to known samples.

AIMCAL FALL CONFERENCE. More Than Defect Detection. The Real Value of Web Inspection

Laser Conductor. James Noraky and Scott Skirlo. Introduction

A Design Approach of Automatic Visitor Counting System Using Video Camera

Flexible Electronics Production Deployment on FPD Standards: Plastic Displays & Integrated Circuits. Stanislav Loboda R&D engineer

2. Problem formulation

Real-time Chatter Compensation based on Embedded Sensing Device in Machine tools

Halal Logo Detection and Recognition System

An MFA Binary Counter for Low Power Application

Introduction to Signal Processing D R. T A R E K T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y

Reconfigurable Neural Net Chip with 32K Connections

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

Interactive Tic Tac Toe

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

Research on sampling of vibration signals based on compressed sensing

RELIABILITY REPORT FOR. MAX6070xxAUTxx+T PLASTIC ENCAPSULATED DEVICES. December 19, 2012 MAXIM INTEGRATED 160 RIO ROBLES SAN JOSE, CA 95134

Auto classification and simulation of mask defects using SEM and CAD images

7 SEGMENT LED DISPLAY KIT

Automatic LP Digitalization Spring Group 6: Michael Sibley, Alexander Su, Daphne Tsatsoulis {msibley, ahs1,

Digital Audio Design Validation and Debugging Using PGY-I2C

KHT 1000C HV-Probe Calibrator. Instruction Manual

Advanced Techniques for Spurious Measurements with R&S FSW-K50 White Paper

Optimization of Multi-Channel BCH Error Decoding for Common Cases. Russell Dill Master's Thesis Defense April 20, 2015

A Pseudorandom Binary Generator Based on Chaotic Linear Feedback Shift Register

Improved 32 bit carry select adder for low area and low power

Power Optimization of Linear Feedback Shift Register (LFSR) using Power Gating

CSE 166: Image Processing. Overview. Representing an image. What is an image? History. What is image processing? Today. Image Processing CSE 166

EMBEDDED ZEROTREE WAVELET CODING WITH JOINT HUFFMAN AND ARITHMETIC CODING

R13. II B. Tech I Semester Regular Examinations, Jan DIGITAL LOGIC DESIGN (Com. to CSE, IT) PART-A

A Defect Grading Method for Digital Radiographic Image

IoT Based Controlling and Monitoring of Smart City

TSIU03, SYSTEM DESIGN. How to Describe a HW Circuit

220KV EHV NETWORK AT RELIANCE JAMNAGAR REFINERY COMPLEX

Avoiding False Pass or False Fail

UNIT IV CMOS TESTING. EC2354_Unit IV 1

ANALYSIS AND IMPLEMENTATION OF IOT BASED ENERGY METER

CHAPTER-9 DEVELOPMENT OF MODEL USING ANFIS

PROCEEDINGS OF SPIE. Classification and printability of EUV mask defects from SEM images

COMPLEXITY REDUCTION FOR HEVC INTRAFRAME LUMA MODE DECISION USING IMAGE STATISTICS AND NEURAL NETWORKS.

Deep Neural Networks Scanning for patterns (aka convolutional networks) Bhiksha Raj

Investigation of Aesthetic Quality of Product by Applying Golden Ratio

A Compact 3-D VLSI Classifier Using Bagging Threshold Network Ensembles

Fixed Audio Output for the K2 Don Wilhelm (W3FPR) & Tom Hammond (NØSS) v August 2009

Revision 1.2d

Martin Lehmköster

ISSN:

Figure 2: Original and PAM modulated image. Figure 4: Original image.

Appendix D. UW DigiScope User s Manual. Willis J. Tompkins and Annie Foong

MAXIM INTEGRATED PRODUCTS

Intelligent Farm Surveillance System for Animal Detection in Image Processing using combined GMM and Optical Flow method

Chapter 6 Digital Circuit 6-5 Department of Mechanical Engineering

Troubleshooting EMI in Embedded Designs White Paper

Area-Efficient Decimation Filter with 50/60 Hz Power-Line Noise Suppression for ΔΣ A/D Converters

FEASIBILITY STUDY OF USING EFLAWS ON QUALIFICATION OF NUCLEAR SPENT FUEL DISPOSAL CANISTER INSPECTION

Lab #10 Hexadecimal-to-Seven-Segment Decoder, 4-bit Adder-Subtractor and Shift Register. Fall 2017

Visual Communication at Limited Colour Display Capability

Abstract. Keywords INTRODUCTION. Electron beam has been increasingly used for defect inspection in IC chip

Muscle Sensor KI 2 Instructions

Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003

Understanding PQR, DMOS, and PSNR Measurements

Automatic Piano Music Transcription

VLSI Technology used in Auto-Scan Delay Testing Design For Bench Mark Circuits

Wafer defects can t hide from

Digital Logic Design: An Overview & Number Systems

ANALOGUE AND DIGITAL ELECTRONICS STUDENT S WORKBOOK U1: INTRODUCTION

International Journal of Engineering Research-Online A Peer Reviewed International Journal

Combinational Logic Design

Is Optical Test Just an Illusion? By Lloyd Doyle. Background

Perfecting the Package Bare and Overmolded Stacked Dies. Understanding Ultrasonic Technology for Advanced Package Inspection. A Sonix White Paper

A Review on Hybrid Adders in VHDL Payal V. Mawale #1, Swapnil Jain *2, Pravin W. Jaronde #3

International Journal of Advance Engineering and Research Development IOT ENABLED SMART REFRIGERATOR

Usage of any items from the University of Cumbria s institutional repository Insight must conform to the following fair usage guidelines.

Lecture 9 Source Separation

for Digital IC's Design-for-Test and Embedded Core Systems Alfred L. Crouch Prentice Hall PTR Upper Saddle River, NJ

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

Contrastive Analysis and Research on Negative Pressure Beam Tube System and Positive Pressure Beam Tube System for Mine Use

An Efficient 64-Bit Carry Select Adder With Less Delay And Reduced Area Application

LITE-ON TECHNOLOGY CORPORATION

An Efficient Low Bit-Rate Video-Coding Algorithm Focusing on Moving Regions

Underground Cable Fault Distance Detector System Using IoT Wi-Fi Module & Microcontroller

inter.noise 2000 The 29th International Congress and Exhibition on Noise Control Engineering August 2000, Nice, FRANCE

Department of CSIT. Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30

WINTER 15 EXAMINATION Model Answer

Lab #12: 4-Bit Arithmetic Logic Unit (ALU)

Development of an Optical Music Recognizer (O.M.R.).

BUILDING A SYSTEM FOR WRITER IDENTIFICATION ON HANDWRITTEN MUSIC SCORES

Politecnico di Torino HIGH SPEED AND HIGH PRECISION ANALOG TO DIGITAL CONVERTER. Professor : Del Corso Mahshid Hooshmand ID Student Number:

Transcription:

Defect detection and classification of printed circuit board using MATLAB Mr.M.H.Thigale 1, Shivani Gaikwad 2, Priyanka Nangare 3, Nivedita Hule 4 1Mr.M.H.Thigale, Assistant Professor, Dr. D Y Patil Institute Of Engineering Management Research, Akurdi. 2Shivani Gaikwad, Dr. D Y Patil Institute Of Engineering Management Research, Akurdi. 3Priyanka Nangare, Dr. D Y Patil Institute Of Engineering Management Research, Akurdi. 4 Nivedita Hule, Dr. D Y Patil Institute Of Engineering Management Research, Akurdi. ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - The importance of the Printed Circuit Board inspection process has been magnified by requirements of the modern manufacturing environment. In electronics mass production manufacturing facilities, an attempt is often to achieve 100% quality assurance. In this work Machine Vision PCB Inspection System is applied at the first step of manufacturing. In this system a PCB inspection system is proposed and the inspection algorithm mainly focuses on the defect detection and defect classification of the defects. Defect classification is essential to the identification of the defect sources. The purpose of the system is to provide the automatic defect detection of PCB and relieve the human inspectors from the tedious task of finding the defects in PCB which may lead to electric failure. We first compare a standard PCB inspection image with a PCB image to be inspected. Normalized Cross- Correlation has been used to differentiate between defective and defect free printed circuit board. Different PCBs have been inspected using normalized cross-correlation and further defected PCBs have been used for detection of all possible defects. Here we proposes a PCB defect detection and classification system using a morphological image segmentation algorithm and simple the image processing theories. The proposed algorithm group all 14 defects found on PCB into 7 Groups.The proposed algorithm involves MATLAB image processing operations such as image subtraction, logical XOR, Flood fill. Nowadays various algorithms are developed for PCB defect detection some of them are Referential, Non referential, Hybrid, Contact Method And Noncontact Method. In this project, Defect detection and classification is done using image processing approach which is part of noncontact algorithm.here we also used normalized cross correlation which differentiate between defective and defect free PCB. Depending on NCC result, if pcb is defected further segmentation is done on pcb.after segmentation,by using arithmetic and image processing operation we can detect defects and classify based on similarities and area of occurance. There are 14 known types of defects for single layer, bare PCBs as shown in Table I. Key Words: Printed circuit board, Normalized cross correlation, Morphological segmentation, Image processing, Defect detection, Defect classification. 1. INTRODUCTION Visual inspection is one of the largest cost consuming process in PCB.It also responsible for detecting various types of defects and ensure quality assurance for all finished product. There are two process included in pcb inspection. -Defect Detection -Defect Classification. 2. LITERATURE SURVEY Moganti proposed firstly three categories of PCB inspection algorithms: 1]referential approach: where comparision is made between test and reference image. 2] non-referential approaches :where general design rule verify such as width of conductor and insulator 3] hybrid approaches: where combination of Referential approach and Non-referential approaches 2017, IRJET Impact Factor value: 5.181 ISO 9001:2008 Certified Journal Page 1812

involve a combination both of referential approaches and non-referential approaches. These approaches have the advantages of the both, but at same time they are more complex. Heriansyah, 2012 proposed a technique that classifies PCB defects using neural network. This algorithm segments the image into basic patterns assignment, patterns normalization, and classification of the defects developed by binary morphological image processing and Learning Vector Quantization (LVQ) neural network. Here the 11 Defective patterns have been designed. The designed to test and train the neural network and this design pattern are in 8 x 8 pixels size and have the binary format. This approach is pixel-based and classify seven defects (short, missing hole, pinhole, open, mouse-bite, spur, and etching problem). And contain few stages : segmentation, windowing (reference image and detected defects), defects detection, pattern assignment, normalization, and classification. neural network training part is done off-line, it does not affect the overall processing time. N. K. Khalid in 2008 Propose algorithm, which implemented using Bars PCB.In this algorithm two images take such as reference and test images. The algorithm limitation is it work on only binary images can be work with grayscale but with same modification or with not accurate. After taking two image subtraction will gives directly difference, then NOT and floodfill operator using this algorithm type of defects simply converted to 5 groups. Shown in Table below: 3.2 Various defects on PCB are as shown in following fig. S. H. Indera Putera, 2010 Did advance work then Khalid he made 7 groups instead of 5 groups so accuracy will increase. This is work as it combines segmentation algorithm each image segmented into 4 pattern produced 5 images for each pair of segmented image. So totally 20 new images produced. Out of which 7 is beneficial for result each group will defiantly contain one defect and maximum will be 4 defects. B. Kaur, G. Kaur and A. Kaur: This paper presented Printed Circuit Boards (PCBs) inspection using normalized cross correlation. Correlation Normalized Cross-Correlation is use to differentiate the defective and defect free PCB and further use defect defection techniques. 3.DESIGN METHODOLOGY FIG 1: DEFECTS ON PCB 3.1 INTRODUCTION PCB defects can be categorized into two groups; functional defects and cosmetic defects. 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. There are 14 known types of defects for single layer, bare PCBs as 2017, IRJET Impact Factor value: 5.181 ISO 9001:2008 Certified Journal Page 1813

3.3 FLOW CHART 3.4. BLOCK DIAGRAM 3.5 WORKING A) Normalized cross-correlation:- Normalized cross-correlation has been used for detection whether the PCB is defective or not.ncc gets two values either 0 or 1.If NCC is equal to 1 then there is correlation between images and they are matched to each other and if NCC equal to 0 there is no correlation. when both images are same means there is no defects,mathematical equation for NCC is given by, where Xi is base image and Yi is the test image. B) SEGMENTATION In this Images segmented into 4 segments using techniques like dilation, erosion, opening, and closing. Here we use template image as reference image which is without defect 2017, IRJET Impact Factor value: 5.181 ISO 9001:2008 Certified Journal Page 1814

PCB image. Test image is which is defective PCB image. Which contain all 14 types of defects. both this images are segmented into 4 segments as ; square segment holesegment, thick-line segment and thin-line segment. Where square segment consist of square pads, the hole-segment consist image of hole pads, the thick-line segment consist of image of thick conductors and the thin-line segment consist images of thin conductors. 2.IMFILL OPERATION This operation could be useful in removing irrelevant artifacts from images. This operator is used to fill the holes in a binary image. FIG : SEGMENTATION OF IMAGES C) THRESHOLDING Thersholding is used to convert grayscale image into binary image. Here we consider threshold value and pixel of images compared with this threshold value. If threshold value is less than pixel intensity, then the pixel is binary one (white)or it is greater, then it is binary zero(black). D) IMAGE PROCESSING USING ARITHMETIC OPERATIONS:- After getting binary image, image processing algorithms are used and this are NOT, X-OR AND IMFILL operation. After processing these algorithms we get 5 images for each 4 segmented template or test image.thus we get 4*5 =20 images which will improve over all defect detection and classification ability of system. 1. NOT operator - NOT operator is just a complement of image that is it is used to change and image from black to white and vice varsa. 3.Image difference operation Image difference, is the simple technique which c consists of comparing both images pixel-by-pixel by XOR logic operator. Comparison operation is another name for image difference operation. Image difference operation is used to get the differences between two images. The truth table of XOR is given in Table below. TABLE 3: TRUTH TABLE OF XOR FIG : TRUTH TABLE OF NOT OPERATOR E)CLASSIFICATION: From the 20 images generated by the image processing algorithm, 7 images are named G13, G21, G22, G25, G33, G42 and G43. G13 is generated from the square segment, G21, 2017, IRJET Impact Factor value: 5.181 ISO 9001:2008 Certified Journal Page 1815

G22 and G23 from the hole segment, G33 from the thick-line segment and G42 and G43 from the thin line segment. The defects classified by these groups are listed in the table below- FUTURE SCOPE Due to large use of PCB in anywhere it should be defect free if it contain defects it will no more working state and all cost will be wasted so, in future this algorithm will very imp to overcome PCB fault due to defects. 6. REFERENCES [1] R. Heriansyah, S.A.R AI-Attas, and M.M. Ahmad Zabidi, 'Segmentation of PCB Images into Simple Generic Patterns using Mathematical Morphology and Windowing Technique', Co GRAMM Melaka, Malaysia 2002 TABLE 4:-DEFECTS CLASSIFIED 4. ADVANTAGES, DISADVANTAGES AND APPLICATIONS ADVANTAGES All defects are realized properly. Classification accuracy is good. Production cost is reduced. Less labour cost. Median filter is used to reduce the unwanted noise in the reference and test image of PCB. DISADVANTAGES All groups are unable to address the defects individually. Image arithmatic operation algorithms requires same size of reference and test PCB image. Algorithms do not work on loaded PCB s. [2] S. H. Indera Putera and Z. Ibrahim (2010.) Printed Circuit Board Defect Detection Using Mathematical Morphology and MATLAB Image Processing Tools, ICINT 2010, Shanghai, China [3] N. K. Khalid, Z. Ibrahim, M. S.Z. Abidin (May 2008) An algorithm to group defects on printed circuit board for automated visual inspection. IJSSST, Vol. 9, No. 2, ISSN: 1473-804x] [4] M. Moganti, F. Ercal, C. H. Dagli and S. Tsunekawa (1996), Automatic PCB inspection algorithms: A survey, Computer Vision and Image Understanding, vol.63, no.2. [5] Detection and Classification of Printed Circuit Boards Defects by B. Kaur, G. Kaur and A. Kaur (may 2014). APPLICATIONS Industries manufacturing consumer electronics products such as mobile phones, tablet pc, automatic washing machine. 5. CONCLUSION AND FUTURE SCOPE CONCLUSION After the experiment, the hybrid algorithm will successfully detect and classify 13 defects into 7 groups. The limitation of this algorithm will be that some groups are unable to address each defect individually. Future improvement for the algorithm should include the ability to detect and classify all 14 defects individually. 2017, IRJET Impact Factor value: 5.181 ISO 9001:2008 Certified Journal Page 1816