Vision for Solder Paste Depositing



Similar documents
Optimize Position and Path Planning of Automated Optical Inspection

VECTORAL IMAGING THE NEW DIRECTION IN AUTOMATED OPTICAL INSPECTION

Image Processing Based Automatic Visual Inspection System for PCBs

PCB Quality Inspection. Student Manual

Choosing a Stencil. By William E. Coleman, Ph.D. and Michael R. Burgess

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

Defect Detection of SMT Electronic Modules

Comparing Digital and Analogue X-ray Inspection for BGA, Flip Chip and CSP Analysis

3D SCANNING: A NEW APPROACH TOWARDS MODEL DEVELOPMENT IN ADVANCED MANUFACTURING SYSTEM

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

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

Automatic Detection of PCB Defects

Integrated sensors for robotic laser welding

The Basics of FEA Procedure

Building an Advanced Invariant Real-Time Human Tracking System

SPI HS70. Remote Control of Multiple Lines with RMCworks. Systematic Process Management by Inspection Spec Server

pb tec solutions GmbH, Max-Planck-Str. 11, Alzenau (Germany) Tel.: Fax:

AN IMPROVED DOUBLE CODING LOCAL BINARY PATTERN ALGORITHM FOR FACE RECOGNITION

Simultaneous Gamma Correction and Registration in the Frequency Domain

Self-Calibrated Structured Light 3D Scanner Using Color Edge Pattern

PHOTOGRAMMETRIC TECHNIQUES FOR MEASUREMENTS IN WOODWORKING INDUSTRY

Medical Image Segmentation of PACS System Image Post-processing *

PCB Assembly Guidelines for Intersil Wafer Level Chip Scale Package Devices

COLOR-BASED PRINTED CIRCUIT BOARD SOLDER SEGMENTATION

Automated Contact Resistance Tester CR-2601

A PHOTOGRAMMETRIC APPRAOCH FOR AUTOMATIC TRAFFIC ASSESSMENT USING CONVENTIONAL CCTV CAMERA

ADVANCES IN AUTOMATIC OPTICAL INSPECTION: GRAY SCALE CORRELATION vs. VECTORAL IMAGING

3D Scanner using Line Laser. 1. Introduction. 2. Theory

Types of 3D Scanners and 3D Scanning Technologies.

Ultraprint 2000 HiE. Ultraprint 2000 HiE Features MODULAR DESIGN ENSURES SUPERIOR ADAPTABILITY

Neural Network based Vehicle Classification for Intelligent Traffic Control

Multilevel Socket Technologies


CASE STUDY: SCREEN PRINTING SOLUTIONS FOR SMALL DIE & PRECISION ALIGNMENT CHALLENGES

BGA - Ball Grid Array Inspection Workshop. Bob Willis leadfreesoldering.com

Automatic Calibration of an In-vehicle Gaze Tracking System Using Driver s Typical Gaze Behavior

Problem Set V Solutions

PCB Component Placement Inspection

Colour Image Segmentation Technique for Screen Printing

3D Electroform Stencils for Two Level PCB

Relating Vanishing Points to Catadioptric Camera Calibration

Using NI Vision & Motion for Automated Inspection of Medical Devices and Pharmaceutical Processes. Morten Jensen 2004

Manufacturing Process and Cost Estimation through Process Detection by Applying Image Processing Technique

Galaxy Morphological Classification

CHAPTER I INTRODUCTION

LOCAL SURFACE PATCH BASED TIME ATTENDANCE SYSTEM USING FACE.

Shape Measurement of a Sewer Pipe. Using a Mobile Robot with Computer Vision

Analecta Vol. 8, No. 2 ISSN

Poker Vision: Playing Cards and Chips Identification based on Image Processing

A Cheap Visual Inspection System for Measuring Dimensions of Brass Gear

QUALITY TESTING OF WATER PUMP PULLEY USING IMAGE PROCESSING

THE CONTROL OF A ROBOT END-EFFECTOR USING PHOTOGRAMMETRY

Projection Center Calibration for a Co-located Projector Camera System

SOLDER CHARGE SMT: THE DESIGN AND VALIDATION OF NEW SOLDER ATTACH TECHNOLOGIES

SPINDLE ERROR MOVEMENTS MEASUREMENT ALGORITHM AND A NEW METHOD OF RESULTS ANALYSIS 1. INTRODUCTION

Force/position control of a robotic system for transcranial magnetic stimulation

Non-Contact Test Access for Surface Mount Technology IEEE

An Approach for Utility Pole Recognition in Real Conditions

Component Ordering in Independent Component Analysis Based on Data Power

ESE498. Intruder Detection System

A and M Electronics Contract Manufacturing Circuit Board Assembly Avenue Kearny Valencia, Ca (661) or (800)

Webinar HDI Microvia Technology Cost Aspects

Face Recognition For Remote Database Backup System

Phil Crowther, Product Management, April 2015 YuMi IRB Overview

Thresholding technique with adaptive window selection for uneven lighting image

Circle Object Recognition Based on Monocular Vision for Home Security Robot

Wave Soldering Problems

CALIBRATION OF A ROBUST 2 DOF PATH MONITORING TOOL FOR INDUSTRIAL ROBOTS AND MACHINE TOOLS BASED ON PARALLEL KINEMATICS

Optilia Instruments. Empowering Your Vision!

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

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

PCB inspection is more important today than ever before!

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

Bob Wettermann BEST Inc Rolling Meadows IL ABSTRACT

DICOM Correction Item

CAMI Education linked to CAPS: Mathematics

Nowcasting of significant convection by application of cloud tracking algorithm to satellite and radar images

Development of The Next Generation Document Reader -Eye Scanner-

Structural Axial, Shear and Bending Moments

Using Stencils to Simplify the Printed Circuit Board Assembly Process

Image Compression and Decompression using Adaptive Interpolation

M.I.S. Electronics Inc. Electronics Manufacturing Services

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

Mechanics. Determining the gravitational constant with the gravitation torsion balance after Cavendish. LD Physics Leaflets P

Optimization of Support Point Locations and Force Levels of the Primary Mirror Support System

LIST OF CONTENTS CHAPTER CONTENT PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK

Subspace Analysis and Optimization for AAM Based Face Alignment

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

2D symbols in distribution and logistics

Development of High Speed Oblique X-ray CT System for Printed Circuit Board

How To Fix Out Of Focus And Blur Images With A Dynamic Template Matching Algorithm

Ch9 Morphological Image Processing

Wii Remote Calibration Using the Sensor Bar

Market trends

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

LO5: Understand commercial circuit manufacture

Interference. Physics 102 Workshop #3. General Instructions

Making Multiple Code Reading Easy. Webinar

Transcription:

2007 IEEE International Conference on Control and Automation WeC5-3 Guangzhou, CHINA - May 30 to June 1, 2007 An Integrated Inspection Method based on Machine Vision for Solder Paste Depositing Shenglin Lu joolu@163.com Xianmin Zhang zhangxm@ scut.edu.cn Yongcong Kuang Abstract-The solder paste depositing inspection is very important in the process of Surface Mounting for print circuit board (PCB). An integrated inspection approach based on the machine vision was presented in the study. The method developed in this paper can identify the major defects of the solder paste depositing, such as displacement, deficiency, excess, bridge and overflow. Firstly, position compensation is applied to improve the inspection accuracy. Secondly, an image enhancement algorithm based on the texture is developed, which can enlarge the differences of the grayscale values between the PCB images and the solder paste images. Thirdly, the images of the printed PCB are analyzed by using the particle analysis method and the two-dimensional (2D) inspection results are obtained. A pseudo three-dimensional (3D) inspection approach is further proposed to identify the defects in the 3D state. Finally, experiment results are presented, which illustrate the validity of the approach. Keywords- machine vision; inspection; solder paste depositing I. INTRODUCTION The screen printer is one of the key equipments of the SMT industry [1]. Its performances directly affect the subsequent handling and the product quality. Thus, it is necessary to inspect the Printing Circuit Board (PCB) after screen printing. It was reported that 50-70% PCB assembling defects were from the stage of solder paste depositing [2]. The inspection of the solder paste depositing is one of the most important stages in the process control of SMT production line [3]. The defects of solder paste depositing include displacement, deficiency, excess, bridge, overflow, and so on. The typical inspection methods for the solder paste depositing include manual inspection, the laser scan inspection [4] and the inspection based on machine vision [5]. The manual inspection is a popular method because of its simple operation; however, it has many serious disadvantages, such as low efficiency and high probability of miss judgment. The laser scan approach provides more detailed defect information because of its 3D inspection function. However, the 3D model of the solder paste is acquired by point or line scans of a laser [6], so the inspection very slowly. Furthermore, the laser scan device is expensive. The method based on machine vision has the merits of high inspection accuracy and speed, thus it can be used in PCB solder paste depositing inspection of the screen printer. Moreover, no extra hardware cost is needed, because the approach can make full use of the existing hardware resource of the vision system of the screen printer. The main procedures of solder paste inspection based on machine vision include image acquisition, image enhancement and defect analysis. In order to improve the performance of this inspection approach, the position compensation method is utilized to determine precise position before acquiring PCB images. An image enhancement method based on texture is developed d, which can enlarge the differences of the grayscale values between PCB base images and solder paste images. In addition, the printed PCB images are analyzed by using the 2D inspection algorithm based on the particle analysis method. A pseudo 3D inspection approach is applied to inspect the defects of solder paste depositing in volume. Finally, the experiment results illustrate the validity of the proposed method. II. THE SCREEN PRINTER WORKFLOW As one of the key equipments, the main function of the solder paste screen printer is to deposit the solder paste on PCB precisely. The screen printer is composed of conveyer, squeegee system, machine vision system and planar 3 degrees of freedom (DOF) adjusting unit, etc. The machine vision system is used to align the PCB and the stencil, and to inspect solder paste depositing. A cycle of work flow of the screen is shown in Fig. 1. The position and pose of the PCB is not fixed after being loaded by the conveyer. Thus, the machine vision system need to measure the marks positioning by pattern matching so that the printer can find the differences of the position and pose of the PCB and the stencil. Then, these differences can be compensated by use of the planar 3-DOF adjusting unit. Manuscript received November 1, 2006. This work was supported by the Teaching and Research Award Program for Outstanding Young Teacher in Higher Education Institutions of MOE, P.R.C., the Guangdong Hong Kong Technology Cooperation Funding (Dongguan Project 20061682) and the Research Project of Ministry of Education and Guangdong Province (2006D90304001). Shenglin Lu is with the South China University of Technology, Guangzhou, GuangDong 510640 China 1-4244-0818-0/07/$20.00 ( 2007 IEEE 137

y V~~~ + x Figure 2. The position compensation of the PCB IV. IMAGE ENHENCEMENT Compared with the solder paste and the base of the PCB, the grayscales value of the pad is much higher. The difference can be distinguished easily by using a threshold function. But the grayscales of solder paste and the base of PCB are very similar, and their histograms are even partially overlapped. To accurately distinguish the image of solder paste and the base of PCB, an algorithm based on texture was presented in this section. Figure 1. The Workflow of the Screen Printer. III. POSITION COMPENSATION As shown in Fig. 1, the inspection program needs to be configured prior to inspection. The inspection program configurations include the setting of inspection sites, threshold values, image enhancement parameters, and so on. The inspection performance will be affected by the differences of the position and the pose between the PCB for configuration and the inspecting one. Here, a position compensation method is used to compensate the differences of the position and pose comparing with the PCB prior to the images acquisition. These differences are approximately equal to coordinates difference of the two marks of the PCBs, as shown in Fig. 2. The 6 and s can be calculated by the following equation: Ml'=Tm1 +s (1) M21=,Tm2 +s where ml and m2 represent the coordinates of markl and mark2 in the inspection program configuration, respectively. mli' and M2' are the coordinates of markl and mark2 in inspection, respectively. s is the shift vector and s=(alx, Jly)T. T is the rotation matrix which can be expressed as: cos6 - sin6 T = sin 6 cos ) From equation (1), one can find that there are 3 unknown variables and 4 equations. The 0 can be calculate easily by using the trigonometric function, then, the over constrained problem can be solved by using the least square method. The applying of the method of position compensation method can improve the inspection accuracy Figure 3. Image of solder paste. The (a) is the solder paste image by magnified 4 times, pitch=0.3mm, and the (b) is the solder paste image acquire by the vision system, pitch=l.omm. As shown in Fig.3 (a), the solder paste is mainly composed of little balls and its image has pit texture. However, the image of the PCB base and pad is very smooth. According to this feature, the images can be enhanced by increasing the solder paste grayscale value. It is well known that the texture of the image can evaluated by an n-order statistical moment of the histogram which can be expressed as [7] Aln L-1 y (Zi _-m)np(zi) i=o where zi is a random variable indicating intensity, p(zi) is the histogram of the intensity levels in a region, L is the number of possible intensity levels, and m is the mean value of grayscale. However, the histogram does not externalize the position of pixel information. Thus, the images need to be separated into x Xy parts before using n-order statistical moment, kin (X, y) is the n-older value of row x, column y part of the image. The enhancement algorithm base on n-order statistical moment can be written as 138

{ g(i, j) f (i, j) + h.u,, (x, y) u, > h g(i, j) f (i, j) u, < h where J(i, j) is the image without enhancement, g(i, j) is the image with enhancement, and h is a weight. This algorithm can enhance the images by increasing the grayscale of the solder paste part, so the solder paste and the base of PCB can be distinguished easily. The enhanced images can be separated into pad particle, solder paste particle and dark loop around solder paste particle by using a multithresholds function. V. INSPECTION METHOD A. 2D Inspection Based on Particle Analyze method The Particle analysis method has many advantages, such as simple and high speed. Furthermore, many particle factors are shift, scaling and rotation invariant. Thus, the particle analysis approach is suitable for 2D inspection. The defects of solder paste depositing can be inspected by analyzing the position, area and shape of the particles of solder paste and pads, which can be expressed by the following factors [8], Center: center position of the particle. A: area of the particle. Ah: area of the hole in the particle. ACH Area of the particle Convex Hull. P: Length of the outer boundary of the particle. Hydraulic Radius: The particle area divided by the particle perimeter. Heywood Circularity Factor: HC=P/(2sqrt( 7T A)), Perimeter divided by the circumference of a circle with the same area. The closer the shape of the particle is to a disk, the closer the Heywood circularity factor is to 1. I,,: moment of inertia with respect to the x axis. Iyy moment of inertia with respect to they axis. Type Factor: TF = A2 I(4ff. sqrt(i I,)), the type of the particle. Packing Ratio: PR= AI(A + Ah) it is used to judge whether deficiency of solder paste exist or not. The values of the factor mentioned above are inputted to the defect analyzer after being calculated. The defect analyzer is used to determine the defect existing or not by using a synthesis weight method. The defect analyzer can find out the defects of the solder paste, such as displacement, deficiency, excess, bridge and overflow. Though the 2D inspection method can determine most of the solder paste depositing defects, it can not inspect the volume defects of solder paste deposition. B. Pseudo-3D inspection Note that the 3D inspection algorithm can find out the defects of paste dose in volume, however, it needs a laser scanner and it is relatively slowly. To overcome these disadvantages, a pseudo-3d inspection approach was used in order to calculate the volume ratio by creating a simple 3D model of the solder paste depositing. As shown in Fig. 3 (b), there is a dark loop around the solder paste. One reason for the dark loop is that the PCB is illuminated by the coaxial illuminator of the vision system, thus the ray is perpendicular to the PCB according to the principle of reflection. If only the ray is perpendicular to the surface, the reflected ray is captured by the camera, so the image is bright; otherwise the image is dark, as shown in Fig. 4(a). Figure 4. ray Vu) (a) FaSolder Paste Base of PCB 3D Model of Solder paste. The (a) is the side view and the (b) is the top view. As shown in Fig. 4(b), Ap is the area of particle of the pad, A, is the area of particle of the solder paste and Ad is the area of particle of the dark loop around the solder paste. The volume ratio of the solder paste deposit can be obtained by Va Vt = 1 l2(a, + (A, + Ad) h /(AP.h) = (I/ 2Ad + A,) I AP (2) where Va represents the actual volume of the solder paste and V, is the theoretical volume of the solder paste. The defects can be found out by a threshold according to the volume ratio. This pseudo-3d inspection method can be carried out fast compare with the laser scanner inspection. VI. EXPERIMENT AND ANALYSIS In order to verify the performance of the integrated method, some experiments have been carried out. The machine vision system was shown in Fig. 5, the vision system includes a NM- PC1I409 image acquire card, two Teli-Cs8630i cameras, two AllyVision-COR30 coaxial illuminators. The solder paste is lead free. 139

Fig. 7 shows the misalarm rates of solder paste depositing defects for four kinds of electronic component From this figure, one finds that the misalarm rates reduced by using position compensation and texture-based image enhancement method. 8 Misalarm Rate * Without Position Compensation & Image U With Position Compensation Figure 5. The hardware of the vision system. The histogram of the images of the solder paste and PCB base is shown in Fig. 6. Fig. 6 (a) is the histogram of the image of the PCB base. Fig. 6 (b) is the histogram of the image of the solder paste before image enhancement. Fig. 6(c) is the histogram of image of solder paste after image enhancement. It can be seen that the histogram value of solder paste image was increased after image enhancement, and the difference of the mean grayscale values between the two images varies from 4.6 (109.8-105.2) toi3.7 (118.9-105.2). The increase value was related to the weight factor h. (a) Histogram of the image of the PCB base ChiplO05 ChipO4O2 QPF128 BGA128 P=0.5 P=l.0 Figure 7. Misalarm rates comparison. C With Image E With Position Compensation & Image TABLE I MISALARM RATES Defect type of solder paste Chip Chip IC IC 1005 0402 QFP BGA Displacement 3 9 5 7 Deficiency 1 6 7 5 Excess 2 3 2 2 Bridge, 0 0 1 0 Overflow 0 1 0 2 Table I shows the misalarm rates of five defects of solder paste depositing for four electronic components, two kinds chip and two kinds of ICs. One can finds that the misalarm rate of the displacement defect is the highest and is related to threshold value set by user. Whilst, the defect misalarm rate of the small and round pads is higher. The results of pseudo-3d inspection are shown in Fig. 8. Using pseudo-3d inspection algorithm measure the chiplo05 and chip 0402 fifteen times. The results show that the fluctuation range of the volume ratio described in equation (2) is from 50 to 110. Therefore, it can be concluded that the 3D inspection method is stable. (b) Histogram of the image of the solder paste before image enhancement 120 100 -u-chip 1005 * Chip 0402 > 80 60 40 (C) histogram of image of solder paste after image enhancement 0 2 4 6 8 Times Figure 6. Histogram of the image of the solder paste and PCB Figure 8. Pseudo-3D Inspection Results 10 12 14 16 140

VII. CONCLUSION [2] Glenn Wyllie, Mark Norris, "2D or Not 2D, That Is The Question!",Conference: SMTA International, 2003 An integrated inspection method of solder paste depositing [3] D. Burr, "Solder paste inspection: process control for defect reduction," based on the machine vision was presented. To improve the Test Conference, 1997. Proceedings., International, Nov. 1997,pp.1036. positioning precision of the inspection locations, the position [4] T. Okura, M. Kanai, S. Ogata, T. Takei, and H. Takakusagi, compensation method was performed. A texture-based "Optimization of solder paste printability with laser inspection algorithm is also proposed to enlarge the differences of the technique," Electronics Manufacturing Technology Symposium, 1995. grayscale values between the solder paste and the PCB base, Manufacturing Technologies - Present and Future' Seventeenth IEEEICPMT International, 1995, pp.361-365. which makes the multi-threshold method more stable and precise. Furthermore, the 2D and pseudo-3d inspection [5] Omron Inc. "AOI Inspection in Pb Free Craft," Equipment for Electronic Products Manufacturing, 2003, Vol64. approach can be used to inspect the solder paste depositing [6] J. Mahon, "Automatic 3-D inspection of solder paste on surface mount defects effectively. The experiment results demonstrated the printed circuit boards," Journal of Materials Processing Technology, feasibility and robustness of the integrated method. Volume 26, Issue 2, June 1991, pp. 245-256. [7] Rafael C. Gonzalez Richard E. Woods Digital Image Process Publishing REFERENCES House of Electronics Industry, 2004. [1] Nepcon South China 2007, [Online]. Available: [8] National lnstruments, IMAQ Vision Concepts Manual,2003, pp.10-1. 141