This paper aims to achieve the accurate detection of ball grid array (BGA) solder joints. To this end, the author presented an adaptive template matching method for BGA solder joints based on shape detection. First, the region of interest (ROI) was selected from the X-ray image of the printed circuit board (PCB). Then, an edge template was generated through ROI extraction and threshold segmentation, and the direction vector f the edge template was taken as the prior knowledge. After that, the global traversal search was performed on the image pyramid in the top-down manner, aiming to obtain the potential matching targets. Finally, the edges were adjusted by the least squares method to yield the optimal matching results. The proposed method was proved robust, rapid and accurate through an experiment. The research findings shed new light on the BGA solder joint detection and extraction in various conditions.
adaptive template matching, automatic thresholding, ball grid array (bga), edge direction vector, image pyramid
 Mak CW, Afzulpurkar NV, Dailey MN, Saram PB, Bayesian A. (2014). Approach to Automated Optical Inspection for Solder Jet Ball Joint Defects in the Head Gimbal Assembly Process. IEEE Transactions on Automation Science and Engineering 11(4): 1155-1162. https://doi.org/ 10.1109/TASE.2014.2305654
 Said AF, Bennett B, Karam L. (2010). Robust automatic void detection in solder balls, Acoustics Speech and Signal Processing (ICASSP). 2010 IEEE International Conference, Dallas, 1650-1653. https://doi.org/ 10.1109/ICASSP.2010.5495524
 Ieamsaard J, Yammen S, Muneesawang P. (2015). Vertical Edge Detection Based Automatic Optical Inspection for Solder Jet Ball Joint Defect on Head Gimbal Assembly, 24-27. https://doi.org/ 10.1109/ECTICon.2015.7206989
 Shao HP, Hyum D. (2011). BGA void detection in X-ray images based on a new blobdetector, Image and Signal Processing (CISP). 2011 4th International Congress, Shanghai, 1847-1850. https://doi.org/ 10.1109/CISP.2011.6100555
 Du X. (2016). A mechanical parts inspection model based on image classification technology. Academic Journal of Manufacturing Engineering 14(3): 14-21.
 Saenthon A, Kaitwanidvilai S. (2010). Development of new edge detection filter based on genetic algorithm: An application to a soldering joint inspection. International Journal of Advanced Manufacturing Technology 46: 1009-1019. https://doi.org/ 10.1007/s00170-009-2157-x
 Zhang HZ, Wang XL, Li Y, Liu YJ, Zhou D, Hou BH. (2017). A new image identification method for elevator door protection. Academic Journal of Manufacturing Engineering 15(2): 15-22.
 Nss M, Pkdv Y, Fookes C. (2011). Design and development of automatic visual inspection system for PCB manufacturing. Robotics and Computer Integrated Manufacturing, 949-962. https://doi.org/ 10.1016/j.rcim.2011.03.007
 Dong Y, Wu CS, Lv QH, Li HK, Guo HM. (2015). Study of CO2 fluid density calculation model based on grayscale image. International Journal of Heat and Technology 33(1): 161-166. https://doi.org/ 10.18280/ijht.330122
 Abdelhameed MM, Mechatron ED. (2014). A robust methodology for solder joints extraction. Computer Engineering & Systems (ICCES), 268-273. https://doi.org/ 10.1109/ICCES.2013.6707217
 Rafiee SE, Sadeghiazad MM. (2015). 3D numerical analysis on the effect of rounding off edge radius on thermal separation inside a vortex tube. International Journal of Heat and Technology 33(1): 83-90. https://doi.org/ 10.18280/ijht.330112
 Bohm J, Wolter KJ, Heuer H. (2014). Solder Joint Inspection with Induction Thermography. 2014 IEEE 64th Electronic Components and Technology Conference, 1509-1516. https://doi.org/ 10.1109/ECTC.2014.6897494
 Hasnine M, Univ A. (2014). Exploration of aging induced evolution of solder joints using nanoindentation and microdiffraction. 2014 IEEE 64th Electronic Components and Technology Conference (ECTC), 379-394. https://doi.org/ 10.1109/ECTC.2014.6897315
 Said AF, Bennett BL, Toth F, Karam LJ. (2010). Non-wet solder joint detection in processorsockets and BGA assemblies. 2010 Proceedings 60th Electronic Components and Technology Conference (ECTC), 1147-1153. https://doi.org/ 10.1109/ ECTC.2010.5490846
 Pierce BL, Shelton DJ, Longbotham HG, Baddipudi S. (1994). Automated inspection of through hole solder joints utilizing X-ray imaging. IEEE Aerospace and Electronic Systems Magazine, 28-32. https://doi.org/ 10.1109/62.260040
 Park JS, Tou JT. (1990). A solder joint inspection system for automated printed circuit board manufacturing. 1990 IEEE IntConf Rob Autom, 1290-1295. https://doi.org/ 10.1109/ROBOT. 1990.126177
 Koh KC, Choi HJ, Kim JS, Cho HS. (2001). A statistical learning-based object recognition algorithm for solder joint inspection. Proceedings of SPIE-The International Society for Optical Engineering, 260-267. https://doi.org/ 10.1117/12.444096
 Lahari MS, Hijer R, Khuwaja GA. (2011). Efficient techniques for BGA solder joint identification in low resolution X-ray images. 2011 IEEE GCC Conference and Exhibition, 128-131. https://doi.org/ 10.1109/IEEEGCC.2011.5752465
 Deokhwa H, Heechan P, Hyungsuck C. (2009). Design of a multi-screen deflectometer for shape measurement of solder joints on a PCB. IEEE International Symposium on Industrial Electronics, 127-132. https://doi.org/ 10.1109/ISIE.2009.5213206