Documente Academic
Documente Profesional
Documente Cultură
4, APRIL 2018
Abstract— Due to the excellent self-learning ability of deep Vision-based inspection for solder joints has attracted more
learning, we propose a novel deep-learning-based method to and more researchers and engineers in the electronic industry
inspect surface-mount technology (SMT) solder joints in this because of its excellent advantages of noncontact, reliability,
paper. In contrast to the state-of-the-art learning-based methods
in which low-level features are extracted before learning, our efficiency, and repeatability. Classifier-based methods are dom-
method directly implements the inspection task without low- inant methods since the classifiers have excellent abilities
level feature extraction, which is based on a novel cascaded of robustness, nonlinear mapping, and self-learning [1]–[5].
convolutional neural network (CNN). Three kinds of CNNs with Hongwei et al. [1] used an improved AdaBoost and a decision
different network parameters compose the proposed cascaded tree to inspect chip components. In their method, the optimal
CNN. First, one kind of CNN is employed to adaptively learn
the regions of interest (ROIs) of SMT solder joint images. Then, features are selected via an improved AdaBoost from various
both the learned ROIs and the entire solder joint images are fed features that are extracted from several subregions of the solder
into the other two kinds of CNNs, respectively. Finally, inspection joint. Then, a decision tree is employed for classification after
results are achieved by the learned cascaded CNN. Comparison optimal feature selection. Wu et al. [2] employed a Bayes
experiments indicate that our proposed method can achieve more classifier and a support vector machine (SVM) for classi-
excellent inspection performance for SMT solder joints than that
of the state-of-the-art methods. fication of solder joints, in which color features, including
the average gray level, the percentage of highlights, and a
Index Terms— Cascaded network, convolutional neural net- template-matching feature, are extracted for the classifiers.
works (CNNs), regions of interest (ROIs), surface-mount tech-
nology (SMT) solder joint inspection, weighted-sum scheme. Meyer et al. [3] established a neural network framework
including a backpropagation (BP) neural network and a radial
basis function neural network to predict the quality and relia-
I. I NTRODUCTION
bility of ball grid array solder joints. Yan and Zhou [4] utilized
Fig. 1. Architecture of the proposed cascaded CNN. The input and output of the networks are an entire image and the corresponding inspection result,
respectively.
Fig. 3. Image acquisition system for AOI. Fig. 4. Segmentation process used to crop an individual solder joint image
from a PCB image.
D. Training Strategy device (CCD) color digital camera and a three-color (red,
In this paper, we implement our proposed method using green, and blue) hemispherical light-emitting diode array light
Caffe [18], an efficient framework for CNN. Stochastic gradi- resource.
ent descent and BP algorithms are used to update the weights In the system, three different color lights irradiate the
of each layer by a linear combination of the negative gradient electronic component directly and the component reflects the
and the previous weight updating [11], [19]. All weights are light toward the CCD camera above. Different regions present
initialized with the Gaussian distribution, whose mean value different colors toward the camera so that we are able to obtain
and variance are 0 and 0.01, respectively. The learning rate the 3-D shape and position information from the 2-D images
LR is 0.01 at the beginning and follows the descent formula acquired from the camera [21], [22].
as: First, a PCB image is captured by the AOI system, a part of
which is illustrated in Fig. 4. The main body of each image is
L R = lr b × (1 + γ × iter)−power (6)
an SMT component and surrounded by more than 100 solder
where the initial learning rate lr b is 0.01, γ is 0.001, power joints. Since there is a clear boundary between each solder
is 0.75, and iter is the current number of iterations. A gradual joint, each individual solder joint can be easily cropped and
decreasing learning rate can guarantee the network loss getting extracted by template matching and projection segmentation
close to minimum. The momentum and weight decay are from the image of PCB, as illustrated in Fig. 4.
set to 0.9 and 0.005, respectively, so that the network can For simplicity, a part of the acquired SMT solder joint image
avoid converging to local minimum and overfitting. A rectified is illustrated in Fig. 5 to describe the differences between
linear function ReLU [12] is used throughout as the activation the qualified and unqualified solder joints, which contains five
function. qualified solder joints (the left five) and five unqualified solder
All training processes are conducted in a computer with a joints (the right five). For more details, we select a qualified
NVIDIA Quadro K4200 4-GB GPU. The testing experiments sample and an unqualified sample to qualitatively distinguish
are running with an Intel Xeon E5-2630V3 2.4-GHz CPU and them in structure (shown in Fig. 6).
64-GB memory. For qualified samples, the red light irradiates the pad region
vertically, and therefore, red color will appear on this region
III. E XPERIMENTS AND D ISCUSSION if the pad region is flat enough. For the solder joint region,
A. Image Acquisition System the blue–green light is reflected toward the CCD camera
because of its slope structure. Thus, the solder joint region
In this paper, all the SMT solder joint samples are collected
of the qualified sample displays blue–green-like color. On the
from the electronic components mounted on the PCB by means
contrary, unqualified SMT solder joint samples, such as false
of SMT. The SMT solder joint images are collected by an
welding and lack of weld, show different colors in the solder
automatic optical inspection (AOI) image acquisition system,1
joint regions compared with qualified ones. For example,
as illustrated in Fig. 3. The system consists of a charge-coupled
as shown in Figs. 5 and 6, all qualified samples reflect the
1 The AOI image acquisition system is provided by EKTion (ShenZhen) red lights on the pad regions and the blue–green lights on
Technology Co., LTD. Available at http://www.ekt-tech.com. the solder joint regions. However, all unqualified samples
674 IEEE TRANSACTIONS ON COMPONENTS, PACKAGING AND MANUFACTURING TECHNOLOGY, VOL. 8, NO. 4, APRIL 2018
TABLE II TABLE IV
VALUES OF THE W EIGHT ρ C ALCULATED BY C OMPARISON R ESULTS A CHIEVED BY D IFFERENT I NSPECTION M ETHODS
D IFFERENT T RAINING S AMPLES
cascaded CNN consists of three kinds of CNNs with the [14] S. Ren, K. He, R. Girshick, and J. Sun, “Faster R-CNN: Towards
same structure and different network parameters. The proposed real-time object detection with region proposal networks,” IEEE Trans.
Pattern Anal. Mach. Intell., vol. 39, no. 6, pp. 1137–1149, Jun. 2017.
method adaptively determines the ROI of the SMT solder [15] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You only look
joint image via a sliding-window scheme based on one kind once: Unified, real-time object detection,” in Proc. IEEE Conf. Com-
of CNN. It utilizes the characteristic of CNN to combine put. Vis. Pattern Recognit. (CVPR), Las Vegas, NV, USA, Jun. 2016,
pp. 779–788.
the global and vital local information of the SMT solder [16] J. Long, E. Shelhamer, and T. Darrell, “Fully convolutional networks
joint image to make accurate predictions by using a cascaded for semantic segmentation,” in Proc. IEEE Conf. Comput. Vis. Pattern
structure. The experimental results indicate that the proposed Recognit. (CVPR), Boston, MA, USA, Jun. 2015, pp. 3431–3440.
[17] X. Bian, S. N. Lim, and N. Zhou, “Multiscale fully convolutional
method is superior to the state-of-the-art methods for SMT network with application to industrial inspection,” in Proc. IEEE Winter
solder joint inspection. Especially, the precision achieved by Conf. Appl. Comput. Vis. (WACV), Lake Placid, NY, USA, Mar. 2016,
the proposed method is 1 and much better than all the other pp. 1–8.
[18] Y. Jia et al. (2014). “Caffe: Convolutional architecture for fast feature
existing methods. This fact indicates that our proposed method embedding.” [Online]. Available: https://arxiv.org/abs/1408.5093
has the potential application for SMT solder joint inspection in [19] J. Bouvrie, “Notes on convolutional neural networks,” Neural Nets,
real industries. In addition, our proposed method is not limited 2006. [Online]. Available: http://cogprints.org/5869/
[20] R. Kohavi, “A study of cross-validation and bootstrap for accuracy
to a specific inspection task like SMT solder joint inspection. estimation and model selection,” in Proc. Int. Joint Conf. Artif. Intell.,
It is also suitable for any inspection work combining the global 1995, pp. 1137–1145.
information and local vital information for accurate inspection. [21] F. Wu, X. Zhang, Y. Kuan, and Z. He, “An AOI algorithm for PCB
based on feature extraction,” in Proc. World Congr. Intell. Control
In the future, we will apply the proposed method in the related Autom. (WCICA), Jun. 2008, pp. 240–247.
inspection fields. [22] N. Li, K.-L. Pan, and P. Li, “Research on solder joint intelligent optical
inspection analysis,” in Proc. Int. Conf. Electron. Packag. Technol. High
Density Packag. (ICEPT-HDP), Jul. 2008, pp. 1–4.
R EFERENCES [23] J. Davis and M. Goadrich, “The relationship between Precision-Recall
and ROC curves,” in Proc. Int. Conf. Mach. Learn., 2006, pp. 233–240.
[1] X. Hongwei, Z. Xianmin, K. Yongcong, and O. Gaofei, “Solder joint [24] N. Cai, Q. Ye, G. Liu, H. Wang, and Z. Yang, “IC solder joint inspection
inspection method for chip component using improved AdaBoost and based on the Gaussian mixture model,” Soldering Surf. Mount Technol.,
decision tree,” IEEE Trans. Compon., Packag., Manuf. Technol., vol. 1, vol. 28, no. 4, pp. 207–214, 2016.
no. 12, pp. 2018–2027, Dec. 2011.
[2] H. Wu, X. Zhang, H. Xie, Y. Kuang, and G. Ouyang, “Classification of
solder joint using feature selection based on Bayes and support vector
machine,” IEEE Trans. Compon., Packag., Manuf. Technol., vol. 3, no. 3,
pp. 516–522, Mar. 2013. Nian Cai received the B.Ed. degree in physics from
[3] S. Meyer, H. Wohlrabe, and K. J. Wolter, “Neural network modeling Nanjing University, Nanjing, China, in 1999, and
to predict quality and reliability for BGA solder joints,” in Proc. a direct-promotion program for the Ph.D. Diploma
60th Electron. Compon. Technol. Conf. (ECTC), Las Vegas, NV, USA, degree in biophysics from the Institute of Bio-
Jun. 2010, pp. 1596–1603. physics, Chinese Academy of Sciences, Beijing,
[4] T. Yan and D. Zhou, “The intelligent detection method study of PQFP China, in 2004.
solder joint defects based on improved neural network,” in Proc. 12th He is currently a Professor with the School of
Int. Conf. Electron. Packag. Technol. High Density Packag., Shanghai, Information Engineering, Guangdong University of
China, Aug. 2011, pp. 1–4. Technology, Guangzhou, China. He held a postdoc-
[5] Z. Wu, “Study on intelligent identification technology of solder joints toral program in pattern recognition and intelligent
defects based on LMBP neural network,” in Proc. 12th Int. Conf. system with Shanghai Jiaotong University, Shanghai,
Electron. Packag. Technol. High Density Packag., Shanghai, China, China, in 2006. His current research interests include image processing,
Aug. 2011, pp. 1–6. pattern recognition, computer vision, and signal processing and related areas.
[6] F. Wu and X. Zhang, “Feature-extraction-based inspection algorithm
for IC solder joints,” IEEE Trans. Compon., Packag., Manuf. Technol.,
vol. 1, no. 5, pp. 689–694, May 2011.
[7] G. Acciani, G. Brunetti, and G. Fornarelli, “Application of neural Guandong Cen received the B.E. degree in digital
networks in optical inspection and classification of solder joints in media technology from the Communication Uni-
surface mount technology,” IEEE Trans. Ind. Informat., vol. 2, no. 3, versity of China, Beijing, China, in 2016. He is
pp. 200–209, Aug. 2006. currently pursuing the M.E. degree in information
[8] G. Acciani, G. Brunetti, and G. Fornarelli, “Automatic detection of and communication engineering with the Guang-
solder joint defects on integrated circuits,” in Proc. IEEE Int. Symp. dong University of Technology, Guangzhou, China.
Circuits Syst., New Orleans, LA, USA, May 2007, pp. 1021–1024. His current research interests include deep learning
[9] N. Cai, J. Lin, Q. Ye, H. Wang, S. Weng, and B. W. K. Ling, “A new and computer vision.
IC solder joint inspection method for an automatic optical inspec-
tion system based on an improved visual background extraction algo-
rithm,” IEEE Trans. Compon., Packag., Manuf. Technol., vol. 6, no. 1,
pp. 161–172, Jan. 2016.
[10] N. Cai, Y. Zhou, Q. Ye, G. Liu, H. Wang, and X. Chen, “IC solder
joint inspection via robust principle component analysis,” IEEE Trans.
Compon., Packag., Manuf. Technol., vol. 7, no. 2, pp. 300–309, Jixiu Wu received the B.E. degree in communica-
Feb. 2017. tion engineering with the Guangdong University of
[11] Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner, “Gradient-based Technology, Guangzhou, China, in 2017, where he
learning applied to document recognition,” Proc. IEEE, vol. 86, no. 11, is currently pursuing the M.E. degree in information
pp. 2278–2324, Nov. 1998. and communication engineering.
[12] A. Krizhevsky, I. Sutskever, and G. E. Hinton, “Imagenet classification His current research interests include computer
with deep convolutional neural networks,” in Proc. Adv. Neural Inf. vision and machine learning.
Process. Syst., Stateline NV, USA, 2012, pp. 1097–1105.
[13] K. Simonyan and A. Zisserman, “Very deep convolutional networks
for large-scale image recognition,” in Proc. Comput. Sci., Sep. 2014,
pp. 1–14.
CAI et al.: SMT SOLDER JOINT INSPECTION VIA A NOVEL CASCADED CONVOLUTIONAL NEURAL NETWORK 677
Feiyang Li is currently pursuing the B.E. degree Xindu Chen received the B.S. and M.S. degrees
in information engineering with the Guangdong from the Department of Electrical Power, Huazhong
University of Technology, Guangzhou, China. University of Science and Technology, Wuhan,
His current research interests include deep learning China, in 1989 and 1992, respectively, and the Ph.D.
and computer vision. degree in mechanical engineering with the School
of Mechanical and Science, Huazhong University of
Science and Technology, in 1995.
He is currently a Professor with the School of
Mechanical and Electrical Engineering, Guangdong
University of Technology, Guangzhou, China. His
current research interests include precision engineer-
ing, mechanotronics, and intelligent manufacturing system and related areas.