A recognition and correction method of declining BGA X-ray image based on transformation matrix
-
摘要: 针对基于X-Ray的焊球阵列封装(BGA)焊接缺陷检测中,现有的图像处理算法无法有效处理PCB意外倾斜的问题,提出了一种自动判断BGA焊点X射线图像倾斜程度并进行校正的方法。首先根据BGA焊点阵列排布的特性恢复出原始图像中的结构信息,然后使用广义逆矩阵求解出理想正视图像与实际倾斜图像之间的变换矩阵,最后对倾斜图像进行逆变换以得到理想正视图像,并使用变换矩阵估计出PCB的倾斜程度。实验针对正视与倾斜的BGA焊点的X射线图像,运用所提方法,准确判别出图像的倾斜程度,并进行了校正。此方法既可以作为一种图像质量评价算法,在BGA X-Ray缺陷检测中判断图像是否为需要的正视图像;也可以作为一种图像自动校正算法,提升基于X射线的自动检测系统的适应性。Abstract: During the quality inspection of BGA solder balls based on X-ray images, existing image processing algorithm can not effectively deal with the images of unexpectedly inclined PCB. A method which could automatically judge the inclination of X-ray images of BGA solder balls and correct them was proposed. The feature of BGA solder balls array was used in the method to rebuild the structural information firstly. Then the transformation matrix between ideal front view image and real inclined image would be calculated by Moore-Penrose generalized inverse matrix. Finally, the inverse matrix of transformation matrix was used to get the ideal front view image. At the same time, the angle of PCB could be estimated by using the transformation matrix. When used in the inclined X-ray images of BGA solder balls, the method could judge the inclination effectively and correct it to get the front view image. The method can be used as an image quality evaluation algorithm to judge whether the image is a desired image in industrial detection, as well as be used as an automatic image correction algorithm to improve the adaptability of the automatic detection system based on X-ray.
-
Key words:
- BGA solder ball /
- X-ray image /
- image detection /
- transformation matrix /
- slant correction
-
表 1 实验结果
Table 1. Results of experiments
yaw angle/(°) pitch angle/(°) roll angle/(°) image a: estimated -11.646 8 0.012 4 -0.000 3 image a: actual -10 0 0 image b: estimated -0.631 1 0.000 8 -0.000 4 image b: actual 0 0 0 -
[1] Mearig J, Goers B. An overview of manufacturing BGA technology[C]//17th IEEE International Electronics Manufacturing Technology Symposium. 1995: 434-437. [2] Lall P, Wei J. X-ray micro-CT and digital-volume correlation based three-dimensional measurements of deformation and strain in operational electronics[J]. 2015, 2015: 406-416. [3] Said A F, Bennett B L, Karam L J, et al. Automated void detection in solder balls in the presence of vias and other artifacts[J]. IEEE Transactions on Components Packaging & Manufacturing Technology, 2012, 2(11): 1890-1901. https://www.infona.pl/resource/bwmeta1.element.ieee-art-000006317150 [4] Nuanprasert S, Baba S, Suzuki T. An efficient method of occluded solder ball segmentation for automated BGA void defect inspection using X-ray images[C]//Conference of the IEEE Industrial Electronics Society. 2016: 003308-003313. [5] Peng S H, Nam H D. BGA void detection in X-ray images based on a new blob detector[C]//2011 4th international congress on image and signal processing. 2011: 1847-1850. [6] 欧阳兆煊. X射线图像几何畸变校正[D]. 广州: 华南理工大学, 2010.Ouyang Zhaoxuan. Geometry correction for X-ray image. Guangzhou: South China University of Technology, 2010 [7] Yuan Zehui, Li Shizhong. X-ray image distortion correction based on SVR[J]. Journal of Measurement Science and Sinstrumentation, 2015(3): 302-306. [8] 鲜飞. PCB组装领域中的X-射线检测技术[J]. 印制电路信息, 2010(11): 66-70. https://www.cnki.com.cn/Article/CJFDTOTAL-YZDL201011016.htmXian Fei. X-ray inspection in PCB assembly field. Printed Circuit Information, 2010(11): 66-70 https://www.cnki.com.cn/Article/CJFDTOTAL-YZDL201011016.htm [9] Yang M, Zhang J, Yuan M, et al. Calibration method of projection coordinate system for X-ray cone-beam laminography scanning system[J]. Ndt & E International, 2012, 52(4): 16-22. https://www.sciencedirect.com/science/article/pii/S0963869512001065 [10] Duda R O, Hart P E. Use of the Hough transformation to detect lines and curves in pictures[J]. Communications of the Acm, 1972, 15(1): 11-15. doi: 10.1145/361237.361242