Bare PCB Inspection and Sorting System

Similar documents
PCB Fault Detection by Image Processing Tools: A Review

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

IJRASET: All Rights are Reserved

Quality Control of PCB using Image Processing

AUTOMATIC ATIC PCB DEFECT DETECTION USING IMAGE SUBTRACTION METHOD

Real Time Traffic Light Control System Using Image Processing

Image Recognition for PCB Soldering Platform Controlled by Embedded Microchip Based on Hopfield Neural Network

International Journal of Advance Engineering and Research Development

INDIAN VEHICLE LICENSE PLATE EXTRACTION AND SEGMENTATION

An Evaluation of Automatic License Plate Recognition Vikas Kotagyale, Prof.S.D.Joshi

Keyword: Morphological operation, template matching, license plate localization, character recognition.

INTELLIGENT SEGREGATION SYSTEM

Detection of Defects in Glass Using Edge Detection with Adaptive Histogram Equalization

Brain Tumor Segmentation of MRI Images Using SVM Classifier Abstract: Keywords: INTRODUCTION RELATED WORK A UGC Recommended Journal

Note to Coin Exchanger

Leukemia Detection With Image Processing Using Matlab And Display The Results In Graphical User Interface

BASIC OPERATIONS IN IMAGE PROCESSING USING MATLAB

AUTOMATIC RESISTOR COLOUR CODING DETECTION & ALLOCATION

Traffic Sign Recognition Senior Project Final Report

Automatic License Plate Recognition System using Histogram Graph Algorithm

Detection and Verification of Missing Components in SMD using AOI Techniques

AUTOMATIC NUMBER PLATE DETECTION USING IMAGE PROCESSING AND PAYMENT AT TOLL PLAZA

AUTOMATED MALARIA PARASITE DETECTION BASED ON IMAGE PROCESSING PROJECT REFERENCE NO.: 38S1511

An Electronic Eye to Improve Efficiency of Cut Tile Measuring Function

Automatic Licenses Plate Recognition System

Automatic Electricity Meter Reading Based on Image Processing

Number Plate Recognition Using Segmentation

Automatic Optical Inspection For Mechanical Defect Identification

Image Processing and Particle Analysis for Road Traffic Detection

Automation in Autoconer Section of the Spinning Mill

Face Recognition Based Attendance System with Student Monitoring Using RFID Technology

AN EFFICIENT APPROACH FOR VISION INSPECTION OF IC CHIPS LIEW KOK WAH

Design and Implementation of an Intelligent Parking Management System Using Image Processing

Sri Shakthi Institute of Engg and Technology, Coimbatore, TN, India.

A SURVEY ON HAND GESTURE RECOGNITION

Human Computer Interaction by Gesture Recognition

FPGA based Real-time Automatic Number Plate Recognition System for Modern License Plates in Sri Lanka

Automated Number Plate Verification System based on Video Analytics

Wheeler-Classified Vehicle Detection System using CCTV Cameras

Student Attendance Monitoring System Via Face Detection and Recognition System

Smart Parking System for Locating Vacant Parking Slots

FLUORESCENCE MAGNETIC PARTICLE FLAW DETECTING SYSTEM BASED ON LOW LIGHT LEVEL CCD

Vehicle License Plate Recognition System Using LoG Operator for Edge Detection and Radon Transform for Slant Correction

Camera Overview. Digital Microscope Cameras for Material Science: Clear Images, Precise Analysis. Digital Cameras for Microscopy

Automatic Crack Detection on Pressed panels using camera image Processing

Paper Sobel Operated Edge Detection Scheme using Image Processing for Detection of Metal Cracks

EFFICIENT ATTENDANCE MANAGEMENT SYSTEM USING FACE DETECTION AND RECOGNITION

World Journal of Engineering Research and Technology WJERT

Number Plate Recognition System using OCR for Automatic Toll Collection

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

Integration of Linear Displacement Encoder and Servo Motor for 180 Ton Powder Compacting Press

Touchless Fingerprint Recognization System

Detection of Faults Using Digital Image Processing Technique

AUTOMATIC LICENSE PLATE RECOGNITION USING IMAGE PROCESSING AND NEURAL NETWORK

Camera Overview. Digital Microscope Cameras for Material Science: Clear Images, Precise Analysis. Digital Cameras for Microscopy

Intelligent Indian Currency Detection with Note to Coin Exchanger

Master thesis: Author: Examiner: Tutor: Duration: 1. Introduction 2. Ghost Categories Figure 1 Ghost categories

International Journal of Advance Engineering and Research Development

Preprocessing and Segregating Offline Gujarati Handwritten Datasheet for Character Recognition

ME 6406 MACHINE VISION. Georgia Institute of Technology

Spring 2005 Group 6 Final Report EZ Park

ENHANCHED PALM PRINT IMAGES FOR PERSONAL ACCURATE IDENTIFICATION

Matlab Based Vehicle Number Plate Recognition

Applying Automated Optical Inspection Ben Dawson, DALSA Coreco Inc., ipd Group (987)

Finger rotation detection using a Color Pattern Mask

Version 6. User Manual OBJECT

Vision-Guided Motion. Presented by Tom Gray

Develop an Efficient Algorithm to Recognize, Separate and Count Indian Coin From Image using MATLAB

Morphological Image Processing Approach of Vehicle Detection for Real-Time Traffic Analysis

An Improved Bernsen Algorithm Approaches For License Plate Recognition

ZX Distance and Gesture Sensor Hookup Guide

Vehicle Number Plate Recognition with Bilinear Interpolation and Plotting Horizontal and Vertical Edge Processing Histogram with Sound Signals

Embedded Systems & Robotics (Winter Training Program) 6 Weeks/45 Days

ISSN No: International Journal & Magazine of Engineering, Technology, Management and Research

Displacement Measurement of Burr Arch-Truss Under Dynamic Loading Based on Image Processing Technology

NON UNIFORM BACKGROUND REMOVAL FOR PARTICLE ANALYSIS BASED ON MORPHOLOGICAL STRUCTURING ELEMENT:

Automatic Controlling of Electrical Appliances in Classroom Using Image Processing

RECOGNITION OF EMERGENCY AND NON-EMERGENCY LIGHT USING MATROX AND VB6 MOHD NAZERI BIN MUHAMMAD

DTMF based Surveillance Robot

VOICE CONTROLLED ROBOT WITH REAL TIME BARRIER DETECTION AND AVERTING

An Image Processing Approach for Screening of Malaria

Camera Overview. Digital Microscope Cameras for Material Science: Clear Images, Precise Analysis. Digital Cameras for Microscopy

IJRASET 2015: All Rights are Reserved

Analysis and Identification of Rice Granules Using Image Processing and Neural Network

Debugging a Boundary-Scan I 2 C Script Test with the BusPro - I and I2C Exerciser Software: A Case Study

I. INTRODUCTION MAIN BLOCKS OF ROBOT

Contrive and Effectuation of Active Distance Sensor Using MATLAB and GUIDE Package

BINARY. Logic functions for analog computation DIY BUILD GUIDE GRAYSCALE.

AUTOMATED WATER METER READING

FAULT DETECTION AND DIAGNOSIS OF HIGH SPEED SWITCHING DEVICES IN POWER INVERTER

Camera Overview. Olympus Digital Cameras for Materials Science Applications: For Clear and Precise Image Analysis. Digital Cameras for Microscopy

Instruction Manual Veritest

Scrabble Board Automatic Detector for Third Party Applications

QUALITY CHECKING AND INSPECTION BASED ON MACHINE VISION TECHNIQUE TO DETERMINE TOLERANCEVALUE USING SINGLE CERAMIC CUP

FSI Machine Vision Training Programs

Periodic Comparison Method for Defects Inspection of TFT-LCD Panel

Recognition Of Vehicle Number Plate Using MATLAB

Implementation of License Plate Recognition System in ARM Cortex A8 Board

A Real Time based Physiological Classifier for Leaf Recognition

I. INTRODUCTION II. EXISTING AND PROPOSED WORK

Transcription:

Bare PCB Inspection and Sorting System Divya C Thomas 1, Jeetendra R Bhandankar 2, Devendra Sutar 3 1, 3 Electronics and Telecommunication Department, Goa College of Engineering, Ponda, Goa, India 2 Micro- Interconnecxion Pvt Ltd, Corlim, Goa, India Abstract: This paper proposes a bare PCB inspection system using image analysis wherein the inspection algorithm mainly focuses on the defect detection and finding the exact location of the defect using the real PCB images. In this project, we have built a MATLAB program to detect bare PCB faults and the results are properly shown on a MATLAB GUI. This paper proposes a system that reduces the flaws in defect detection using JIG tool and by human visual inspection. MATLAB image processing algorithms combined with Arduino based hardware provides a low cost and efficient solution for segregating between good and defective bare PCBs. Keywords: Arduino controller, Image Subtraction, MATLAB, PCB (Printed Circuit Board), Defect detection I. INTRODUCTION Printed circuit board mechanically supports as well as electrically connects electronic components through its conductive and nonconductive layers in the design. PCB defect detection has great importance in the PCB manufacturing process. Human visual inspection is the traditional way to inspect any defect in PCB but it is time consuming, tedious to workers as well as highly prone to errors due to human factors. In the current process found, the bare PCB testing is carried out using jig tool wherein connection between specific points are tested for short and open circuit. The output of the test indicates whether the PCB is faulty or not and test points between tracks where it is shorted or open. If found faulty then the bare PCB is visually inspected to find the type of fault. This process does not help us to exactly locate where the fault is present. This paper proposes a system which can classify between defective or non- defective PCB and show the exact location of the fault. PCB inspection using image analysis can overcome the disadvantages of human inspection in case of weariness, slowness and high cost. The advent of new electronic component fabrication technologies have made PCB design complex and compact which causes difficulties to human inspection process thus increasing inspection duration. Therefore, an automated PCB inspection system can be implemented that provides real time analysis of the bare PCB panels. In this paper we discuss a non-contact reference based image processing approach for defect detection and classification. A template of a defect free reference PCB image and a test PCB image are compared with each other using image subtraction and other procedures. II. BARE PCB DEFECTS [2]There are 14 known types of defects for single layer, bare PCBs Fig. 1 Bare PCB defects 420

TABLE I LIST OF BARE PCB DEFECTS Sr.No. Defects 1 Breakout 2 Pin Hole 3 Open Circuit 4 Under Etch 5 Mouse Bite 6 Missing Conductor 7 Spur 8 Short 9 Wrong Size Hole 10 Conductor too close 11 Spurious Copper 12 Excessive Short 13 Missing Hole 14 Over Etch III. METHODOLOGY This paper shows the method to automate the visual inspection and sorting of bare PCB into defective and non- defective by image analysis using image processing tools. [4]This system is based on referential approach that has to be implemented on defected PCB and template images in order to detect number of defects present on bare PCB. The project aims to find out the exact location of the defect on the PCB image by color differentiation to differentiate between short and open circuit. A. Overview Two images are needed for the inspection, the reference image and the test image. These images are captured from the reference and test PCB laminate using a high-resolution camera. Hardware based on Arduino controller is designed to tackle problems such as misalignment of PCB, height at which the images are captured and images with bad illumination conditions and it sorts between good and bad PCBs. Pre-processing of the image is done for obtaining accurate images which includes processes such as Image enhancement and Thresholding. Thresholding converts a gray scale image into a binary image for separation of objects of interest from the background so that further processing becomes easy. Image subtraction operation is performed between the reference image and the test image in order to point out differences between them. The resultant image shows all the defects differentiated by pseudocoloring and displayed on the GUI. B. Defect Detection Algorithm Fig. 2 Algorithm 421

1) Hardware for PCB Sorting System: Fig. 3 Hardware Sorting Setup Fig. 4 Block diagram of Hardware Sorting Setup The proposed system requires the image capturing process to be very accurate without any problems such as misalignment, bad illumination or different heights at which the test and reference PCB images are captured. To tackle these issues, a hardware setup is made which is programmed using Arduino controller. Arduino controller is connected to the following components: a) Power Supply: A 12V adapter is used to provide power supply to the Arduino as well as other peripherals. b) MATLAB PC: PC with MATLAB Program is used to analyze and find defects in PCB under Test and coordinate the result as good or bad PCB to Arduino via Serial Communication. Program uploaded in Arduino will then drop the PCB at different depending upon the command send by MATLAB. c) Motor Driver Circuit: L293D IC is used to drive 2 motors, one servo motor and a dc motor. The servomotor is used to rotate the tray holding the PCB so that it can held at different positions for capturing image and after processing good and bad PCBs are dropped at 2 different positions. The dc motor is used to move the tray in and out in order to grab the PCB from the stack, to hold the PCB in the camera chamber for image capturing under good light conditions and to push the good and bad PCBs out at different positions. d) Current Booster Circuit: The transistors in the circuit act as switch that supplies current to the coils whenever triggered and these coils are in turn electromagnetically coupled to the hooks. There are 2 pairs of hooks which are connected to 2 sets of 422

coils. Hooks are used to grab the PCB from the stack and push the good and bad PCBs to different boxes. 2) Image Acquisition: [2] The process of selecting or capturing the image and giving it to system as an input is called image acquisition. Quality of the acquired image is one of key feature that depends on camera. When the camera devices are determined, it is crucial to provide proper illumination conditions to ensure image quality. Other factors such as orientation of the PCB and the height at which image is captured are considered for obtaining proper test and reference images by designing a proper hardware as discussed above. Images captured by camera are in RGB format which has to be converted to gray scale for image enhancement and further processing. 3) Image Preprocessing: Pre-processing of image is the most important step to increase accuracy of total processing procedure. The next step in image pre-processing is image enhancement using Histogram Equalization to sharpen the edges followed by thresholding. [2] Thresholding is a method to convert a gray scale image into a binary image so that objects of interest are separated from the back ground. [2] Thresholding algorithm involves simply setting all pixel values to a value of 0 or 1 depending on whether the gray level at each pixel is greater than or less than a threshold. Filtering of the test and binary images are done to avoid unwanted noise. Binary test image is ready for image subtraction algorithm. Binary template image is dilated according to the required tolerance so that some amount of extra copper is tolerable. 4) Image Subtraction: Image subtraction operation is performed in order to get the differences between two images that are the reference image and the inspected image. [2]The method compares both images pixel-by-pixel using XOR logic operator wherein 1 represents white pixel and 0 represents black pixel in a binary image thus the resulting image obtained contains defects. [2]The subtraction operation will produce negative and positive image. Positive image is obtained by subtracting the test image from the reference image and negative image is the result of subtracting the reference image from the test image. 5) Fault Detection: Open circuits or cuts in the PCB shown by positive image and short circuits or extra copper in the PCB shown by negative image are superimposed on the original reference image by pseudo-coloring in order to differentiate the faults and find the exact location of fault. This image is then displayed on the GUI created and an error message will indicate the type of fault. IV. RESULTS A. Capturing the PCB Image GUI is created to capture the image and store in the database. Here the camera connected to the PC will start the preview after clicking Preview button and stop the preview once the desired image is obtained by clicking stop preview button. By selecting on store image pushbutton the image will be stored in the Matlab database. Fig. 5 GUI for capturing image B. Fault Detection Test image and reference image is read from the database. The reference and test images in rgb format are converted to grayscale for easier further processing by thresholding. The reference and test grayscale images undergo image enhancement processes to obtain uniform brightness and sharpening the edges so that all the tracks are clear. Reference image is dilated to the desired tolerance level entered by the user if some amount of extra copper is allowed. Next process is image subtraction of the reference and test images to 423

obtain positive and negative images. These images are then superimposed on the original rgb reference image to obtain the exact location of fault. An error message is displayed on textbox on the GUI specifying whether there is short or open circuit error or there is no fault. Fig. 6 GUI for fault detection V. CONCLUSIONS This paper shows an automated bare PCB inspection system for detecting defects by image analysis. While implementing the system, we need to consider many issues that can arise and make careful plans for each step such as image acquisition, image preprocessing, image subtraction and defect recognition. Hardware setup can solve the common problems that arise as discussed. At present, the finished PCB inspection system can detect common PCB defects such as: short circuit, open circuit in real time images. After images have been acquired, thresholding, noise filtering and image subtraction operations are used to get noise-free positive and negative images which are then superimposed on the original reference image by pseudo-coloring to obtain the exact location of the defect. In this system, the results are displayed on Matlab GUI thus the user can load the image and start the processing on it by selecting given graphical elements such as pushbuttons for it. Also GUI is very simple to use as it does not need more experience or training to use. Human visual inspection of the resultant image with defects superimposed on GUI can determine whether the PCBs can be rectified or they have to be thrown out as scrap. VI. ACKNOWLEDGMENT I am deeply indebted to my guide, Prof. Devendra Sutar, Professor, Department of Electronics and Telecommunication Engineering, GEC and Mr. Jeetendra R Bhandankar, Senior Manager, Micro Interconnecxion Pvt Ltd., Corlim, Goa for allowing me to carry out this project under her supervision. He has given me confidence to take up this project and guided me at times of difficulty. I thank my teachers, who have taught enthusiastically at the Goa College of Engineering. I also thank Dr. Hassanali Virani, (Head of the Department), Department of Electronics and Telecommunication Engineering and Dr. Vinayak N. Shet (Principal) Goa College of Engineering for allowing me to do this project and providing the necessary infrastructure. I thank my parents, family members and well-wishers, without whom this project would not have taken shape. REFERENCES [1] International Journal of Engineering and Innovative Technology (IJEIT) Volume 4, Issue 11, May 2015 188 [2] A Review of PCB Defect Detection Using Image Processing, International Journal of Science, Engineering and Technology Research (IJSETR) Volume 4, Issue 4, April 2015,1. Anoop K.P, 2. Sarath N.S, 3. Sasi Kumar V. V. [3] PCB INSPECTION SYSTEM USING IMAGE PROCESSING, International Conference on Computing,Communication and Automation (ICCCA2015) 2015 IEEE 11, 1. Namita Kalyan Shinde, 2. Prof.S.S.Morade [4] A Novel Approach of Standard Data Base Generation for Defect Detection in Bare PCB, International Journal of Innovative Research in Science, Engineering and Technology Vol. 5, Issue 6, June 2016 1. Mukesh Kumar, 2. Niraj Kumar Singh, 3. Manjesh kumar,4. Ajay kumar Vishwakarma [5] PCB Fault Detection by Image Processing Tools: A Review, International Journal of Emerging Research in Management &Technology (Volume-3, Issue-8) 1. Akash Kasturkar, 2. Dr.S. D. Lokhande [6] Detection and Classification of Printed Circuit Board Defects Using Image Subtraction Method 1. Beant Kaur, 2. Gurmeet Kaur, 3. Amandeep Kaur [7] MATLAB Based Defect Detection and Classification of Printed Circuit Board Siti Hazurah Indera Putera,IEEE 2012 424