The emergence of surface mount technology (SMT) has created new challenges. The most challenging is the need for more capable system to monitor the product quality. Currently, the most popular method is based on machine vision for automated optical inspection (AOI). But they generally only work in 2D testing mode, cannot make a more objective assessment for solder joints. This paper describes a three-dimensional (3D) inspection system based on recovery of the surface of solder joints.Contents include four parts: combinate wavelet packet image denoising, and different filtering methods, the mixed denoising method of SMT solder joint image is studied; the 3D illumination model suitable for SMT solder joint reconstruction is presented; based on SFS technology, the 3D reconstruction technology of solder joint was studied; the 3D solid model and morphological parameters of solder joint were obtained. This paper resolved the problem of SMT solder joint 3D quality information automatic extraction. The results can provide 3D quality information for SMT solder joint quality comparison, analysis and intelligence discrimination of solder joint quality.
I. INTRODUCTION
The application of Surface Mount Technology (SMT) has opened a broad prospect for the miniaturization, thinness and lightness of electronic products. The PCB electronic circuit products formed by SMT have the advantages of small volume, light weight and high integration. However, the reliability problem is more and more prominent. In practice, information can be obtained from SMT solder joint images to test the quality of SMT solder joint and circuit reliability.
I. INTRODUCTION
Currently, the SMT solder joint quality inspection technology is mostly 2D detection method, through 2D image processing for solder joint quality detection. It is difficult to sample and detect the characteristics of solder joints due to the influence of angle and lighting. In order to overcome the shortcomings of 2D solder joint quality inspection, depth coordinate information is added, and 3D solder joint quality inspection is proposed. Accurate 3D solder joint detection overcomes the shortcomings of sensitivity to light and angle in 2D solder joint detection [1] .
I. INTRODUCTION
Therefore, this paper utilizes image grayscale information to reconstruct the Shape from Shading (SFS) of SMT solder joint through a single image, to complete the 3D quality inspection of the solder joint. The research contents of this paper include: based on the wavelet packet image denoising theory, combined with the different filtering methods, research on SMT solder joint image mixed denoising method; based on the light model theory, the illumination model of SMT solder joint 3D reconstruction is studied; based on SFS technology, the improved illumination model was used to study the solder joint 3D reconstruction technology; the 3D solid model of the solder joint was obtained, and the morphological parameters reflecting the 3D quality of the solder joint were extracted. Fig.1 is the overall research idea of the above ideas. SMT
II. ANALYSIS OF SMT SOLDER JOINT IMAGE MIXED DENOISE TECHNIQUE
In the processing of SMT solder joint images, different noises are mixed, including salt-pepper noise and gaussian noise, which brings difficulties to SMT solder joint Inspection.
II. ANALYSIS OF SMT SOLDER JOINT IMAGE MIXED DENOISE TECHNIQUE
Most of the existing denoising methods are aimed at single noise removal. In this paper, combined wavelet packet adaptive (AWP) threshold calculation method, Wiener filter is selected as linear filter; Median filter is selected to smooth the image. The SMT solder joint image mixed denoising method based on AWPWM is studied.
A. Wavelet Packet Adaptive Threshold Calculation Method
The wavelet packet adaptive threshold (AWP) processing method is as follows [2,3] :
A. Wavelet Packet Adaptive Threshold Calculation Method
(1) Calculating the variance of wavelet packet coefficient in the high-frequency part of wavelet packet decomposition;
A. Wavelet Packet Adaptive Threshold Calculation Method
(2) Arranging the absolute value of variance of wavelet packet coefficient in descending;
A. Wavelet Packet Adaptive Threshold Calculation Method
(3) According to the result of (2), the median value and wavelet packet coefficient are obtained;
A. Wavelet Packet Adaptive Threshold Calculation Method
(4) According to the results of (1), the optimal threshold position corresponding to the high-frequency coefficient is calculated and the optimal threshold value is obtained.
B. SMT Solder Joint Image Mixed Denoising Algorithm
Combined with AWP denoising algorithm, Wiener filtering and Median filtering, the SMT solder joint image mixed denoising algorithm is designed. The process is as follows:
B. SMT Solder Joint Image Mixed Denoising Algorithm
(1) Selecting the largest layer number of wavelet packet decomposition, and wavelet packet decomposition is carried out to obtain the wavelet packet coefficients of each layer;
B. SMT Solder Joint Image Mixed Denoising Algorithm
(2) Using Wiener filtering method to filter the wavelet packet coefficients of images;
B. SMT Solder Joint Image Mixed Denoising Algorithm
(3) Calculating the absolute value of variance and arrange it in descending order to get the median value and wavelet packet coefficient;
B. SMT Solder Joint Image Mixed Denoising Algorithm
(4) According to the AWP threshold calculation method, the optimal threshold value is calculated;
B. SMT Solder Joint Image Mixed Denoising Algorithm
(5) The AWP threshold denoising method is adopted to carry out the second denoising;
B. SMT Solder Joint Image Mixed Denoising Algorithm
(6) Reconstructing wavelet packet coefficient;
B. SMT Solder Joint Image Mixed Denoising Algorithm
(7) Median filter is used for smoothing to get the denoised image.
C. Denoising Results of SMT Solder Joint Images
The SMT solder joint image shown in Fig. 2(a), the proposed AWPWM method is used to denoise. The window size of Median filter is 3 by 3, and the wavelet packet transform adopts 3-layer decomposition. The result is shown in Fig. 2(b). Fig.2 (a) and Fig.2 (b), it can be concluded that the noise of solder joints in Fig.2 (a) has been basically eliminated, and edge information is well preserved.
A. The Surface Light Reflection Analysis of SMT Solder Joints
The SMT solder joint and its image have the following characteristics:
A. The Surface Light Reflection Analysis of SMT Solder Joints
(1) SMT solder joint is non-transparent body and will not produce transmitted light;
A. The Surface Light Reflection Analysis of SMT Solder Joints
(2) The influence of ambient light on solder joint images is small, which can be ignored;
A. The Surface Light Reflection Analysis of SMT Solder Joints
(3) The light source direction is the same as the shooting direction, and the diffuse reflection component is the basic term;
A. The Surface Light Reflection Analysis of SMT Solder Joints
(4) The surface of SMT solder joint is relatively smooth, the specular reflection component cannot be ignored.
A. The Surface Light Reflection Analysis of SMT Solder Joints
SMT solder joint surface illumination model is consisted of diffuse and specular reflection term.
B. Diffuse Reflection Model and Improvement
Commonly, the diffuse reflection models include Lambert model and Oren-Nayar model [4] .
B. Diffuse Reflection Model and Improvement
Lambert model is not considering the effect of observation direction on reflection results, and can only approximately descript light reflection phenomenon. Oren and Nayar proposed a new model, but its mathematical expression was complex and could not be used in SFS algorithm to reconstruct SMT solder joint 3D images.
B. Diffuse Reflection Model and Improvement
The Oren-Nayar illumination model considers the mutual reflection of light, but the surface of SMT solder joint is smooth, so the contribution of the mutual reflection to the grayscale information of solder joint image is small, and it has little impact on reconstruction accuracy. Therefore, the mutual reflection of the Oren-Nayar illumination model can be ignored to obtain a simplified illumination diffuse reflection model.
C. Specular Reflection Model and Improvement
The mathematical expression of the conventional specular reflection model is difficult to apply to the inverse calculation of nonlinear partial differential equations. Torrance-Sparrow puts forward a simple illumination specular reflection model. Assuming, slope distribution function of surface micro plane conforms to the gaussian distribution, the surface of the illuminated object is composed of numerous tiny plane mirrors, and the simplified specular reflection illumination intensity is obtained. The simplified illumination specular reflection model can simulate the illumination specular reflection model.
D. Illumination Model Analysis of SMT Solder Joint Surface
Based on the above analysis of the SMT solder joint surface illumination model, the improved illumination model can be written as follows:
D. Illumination Model Analysis of SMT Solder Joint Surface
(1) The illumination model of solder joint image contains two components: diffuse reflection component and specular reflection component;
D. Illumination Model Analysis of SMT Solder Joint Surface
(2) Improve the Oren-Nayar diffuse reflection model, eliminate the mutual reflection component;
D. Illumination Model Analysis of SMT Solder Joint Surface
(3) Improve the specular reflection model, simplify mathematical expression;
D. Illumination Model Analysis of SMT Solder Joint Surface
(4) The improved illumination model is obtained by linear superposition of specular reflection component and diffuse reflection component.
IV. RESEARCH ON 3D RECONSTRUCTION ALGORITHM BASED
ON IMPROVED ILLUMINATION MODEL The improved illumination model is used to reconstruct the 3D surface of objects, so SFS method must be used to solve the illumination model [5][6][7][8] . The gradient direction of the object surface is calculated by using the image grayscale, and then the surface height of the object is solved iteratively by the surface gradient direction.
IV. RESEARCH ON 3D RECONSTRUCTION ALGORITHM BASED
In this paper, linear method is used to solve the improved illumination model. Taking surface gradient as variable, use finite difference method to discretization, and then use Jacobi iterative method to solve.
A. Algorithm Flow of Surface 3D Reconstruction Based on SFS Technology
Combined with the improved lighting model, a single image reconstruction SMT solder joint surface 3D shape algorithm based on SFS technology is designed, and the flow is shown in Fig. 3. In Fig. 3, the discretization expression is the solution result expression of SFS method for improved illumination model, and reconstruction result is highly discrete matrix of solder joint surface. Fig. 4(a), and the left solder joint as shown in Fig. 4(b). This research method is used to extract the quality information of resistance solder joints. The test image is shown in Fig.6. The solid model of solder joint is shown in Fig.7. The 3D quality information and accuracy are shown in Tab.1.
VI. CONCLUSION
In this paper, 3D reconstruction of SMT solder joint surface and quality information extraction technology are studied, the main contents include: 1) Using the improved adaptive wavelet packet threshold calculation method, combined with Wiener filtering and Median filtering, the mixed denoising algorithm is studied to effectively remove the mixed noise in solder joint image;
VI. CONCLUSION
2) Improving the diffuse reflection and specular reflection of the solder joint surface, and superimposing linearly to obtain the SMT solder joint surface illumination model;
VI. CONCLUSION
3) Studying 3D reconstruction method of SMT solder joint surface based on SFS technology to realize 3D reconstruction of solder joint surface; 4) Studying 3D quality information extraction technology of SMT solder joint, and realizing the volume, middle profile and wetting angle extraction of SMT solder joint. The results show that the average accuracy of volume extraction is 90.09%.
ACKNOWLEDGMENT
This work was supported financially by Dalian High-level Talent Innovation support program (Project: No: 2017RQ038).
섹션 본문 42문단 · 10,293자
(제목 없음)
1The emergence of surface mount technology (SMT) has created new challenges. The most challenging is the need for more capable system to monitor the product quality. Currently, the most popular method is based on machine vision for automated optical inspection (AOI). But they generally only work in 2D testing mode, cannot make a more objective assessment for solder joints. This paper describes a three-dimensional (3D) inspection system based on recovery of the surface of solder joints.Contents include four parts: combinate wavelet packet image denoising, and different filtering methods, the mixed denoising method of SMT solder joint image is studied; the 3D illumination model suitable for SMT solder joint reconstruction is presented; based on SFS technology, the 3D reconstruction technology of solder joint was studied; the 3D solid model and morphological parameters of solder joint were obtained. This paper resolved the problem of SMT solder joint 3D quality information automatic extraction. The results can provide 3D quality information for SMT solder joint quality comparison, analysis and intelligence discrimination of solder joint quality.
I. INTRODUCTION
2The application of Surface Mount Technology (SMT) has opened a broad prospect for the miniaturization, thinness and lightness of electronic products. The PCB electronic circuit products formed by SMT have the advantages of small volume, light weight and high integration. However, the reliability problem is more and more prominent. In practice, information can be obtained from SMT solder joint images to test the quality of SMT solder joint and circuit reliability.
3Currently, the SMT solder joint quality inspection technology is mostly 2D detection method, through 2D image processing for solder joint quality detection. It is difficult to sample and detect the characteristics of solder joints due to the influence of angle and lighting. In order to overcome the shortcomings of 2D solder joint quality inspection, depth coordinate information is added, and 3D solder joint quality inspection is proposed. Accurate 3D solder joint detection overcomes the shortcomings of sensitivity to light and angle in 2D solder joint detection [1] .
4Therefore, this paper utilizes image grayscale information to reconstruct the Shape from Shading (SFS) of SMT solder joint through a single image, to complete the 3D quality inspection of the solder joint. The research contents of this paper include: based on the wavelet packet image denoising theory, combined with the different filtering methods, research on SMT solder joint image mixed denoising method; based on the light model theory, the illumination model of SMT solder joint 3D reconstruction is studied; based on SFS technology, the improved illumination model was used to study the solder joint 3D reconstruction technology; the 3D solid model of the solder joint was obtained, and the morphological parameters reflecting the 3D quality of the solder joint were extracted. Fig.1 is the overall research idea of the above ideas. SMT
II. ANALYSIS OF SMT SOLDER JOINT IMAGE MIXED DENOISE TECHNIQUE
5In the processing of SMT solder joint images, different noises are mixed, including salt-pepper noise and gaussian noise, which brings difficulties to SMT solder joint Inspection.
6Most of the existing denoising methods are aimed at single noise removal. In this paper, combined wavelet packet adaptive (AWP) threshold calculation method, Wiener filter is selected as linear filter; Median filter is selected to smooth the image. The SMT solder joint image mixed denoising method based on AWPWM is studied.
A. Wavelet Packet Adaptive Threshold Calculation Method
7The wavelet packet adaptive threshold (AWP) processing method is as follows [2,3] :
8(1) Calculating the variance of wavelet packet coefficient in the high-frequency part of wavelet packet decomposition;
9(2) Arranging the absolute value of variance of wavelet packet coefficient in descending;
10(3) According to the result of (2), the median value and wavelet packet coefficient are obtained;
11(4) According to the results of (1), the optimal threshold position corresponding to the high-frequency coefficient is calculated and the optimal threshold value is obtained.
B. SMT Solder Joint Image Mixed Denoising Algorithm
12Combined with AWP denoising algorithm, Wiener filtering and Median filtering, the SMT solder joint image mixed denoising algorithm is designed. The process is as follows:
13(1) Selecting the largest layer number of wavelet packet decomposition, and wavelet packet decomposition is carried out to obtain the wavelet packet coefficients of each layer;
14(2) Using Wiener filtering method to filter the wavelet packet coefficients of images;
15(3) Calculating the absolute value of variance and arrange it in descending order to get the median value and wavelet packet coefficient;
16(4) According to the AWP threshold calculation method, the optimal threshold value is calculated;
17(5) The AWP threshold denoising method is adopted to carry out the second denoising;
18(6) Reconstructing wavelet packet coefficient;
19(7) Median filter is used for smoothing to get the denoised image.
C. Denoising Results of SMT Solder Joint Images
20The SMT solder joint image shown in Fig. 2(a), the proposed AWPWM method is used to denoise. The window size of Median filter is 3 by 3, and the wavelet packet transform adopts 3-layer decomposition. The result is shown in Fig. 2(b). Fig.2 (a) and Fig.2 (b), it can be concluded that the noise of solder joints in Fig.2 (a) has been basically eliminated, and edge information is well preserved.
A. The Surface Light Reflection Analysis of SMT Solder Joints
21The SMT solder joint and its image have the following characteristics:
22(1) SMT solder joint is non-transparent body and will not produce transmitted light;
23(2) The influence of ambient light on solder joint images is small, which can be ignored;
24(3) The light source direction is the same as the shooting direction, and the diffuse reflection component is the basic term;
25(4) The surface of SMT solder joint is relatively smooth, the specular reflection component cannot be ignored.
26SMT solder joint surface illumination model is consisted of diffuse and specular reflection term.
B. Diffuse Reflection Model and Improvement
27Commonly, the diffuse reflection models include Lambert model and Oren-Nayar model [4] .
28Lambert model is not considering the effect of observation direction on reflection results, and can only approximately descript light reflection phenomenon. Oren and Nayar proposed a new model, but its mathematical expression was complex and could not be used in SFS algorithm to reconstruct SMT solder joint 3D images.
29The Oren-Nayar illumination model considers the mutual reflection of light, but the surface of SMT solder joint is smooth, so the contribution of the mutual reflection to the grayscale information of solder joint image is small, and it has little impact on reconstruction accuracy. Therefore, the mutual reflection of the Oren-Nayar illumination model can be ignored to obtain a simplified illumination diffuse reflection model.
C. Specular Reflection Model and Improvement
30The mathematical expression of the conventional specular reflection model is difficult to apply to the inverse calculation of nonlinear partial differential equations. Torrance-Sparrow puts forward a simple illumination specular reflection model. Assuming, slope distribution function of surface micro plane conforms to the gaussian distribution, the surface of the illuminated object is composed of numerous tiny plane mirrors, and the simplified specular reflection illumination intensity is obtained. The simplified illumination specular reflection model can simulate the illumination specular reflection model.
D. Illumination Model Analysis of SMT Solder Joint Surface
31Based on the above analysis of the SMT solder joint surface illumination model, the improved illumination model can be written as follows:
32(1) The illumination model of solder joint image contains two components: diffuse reflection component and specular reflection component;
33(2) Improve the Oren-Nayar diffuse reflection model, eliminate the mutual reflection component;
34(3) Improve the specular reflection model, simplify mathematical expression;
35(4) The improved illumination model is obtained by linear superposition of specular reflection component and diffuse reflection component.
IV. RESEARCH ON 3D RECONSTRUCTION ALGORITHM BASED
36ON IMPROVED ILLUMINATION MODEL The improved illumination model is used to reconstruct the 3D surface of objects, so SFS method must be used to solve the illumination model [5][6][7][8] . The gradient direction of the object surface is calculated by using the image grayscale, and then the surface height of the object is solved iteratively by the surface gradient direction.
37In this paper, linear method is used to solve the improved illumination model. Taking surface gradient as variable, use finite difference method to discretization, and then use Jacobi iterative method to solve.
A. Algorithm Flow of Surface 3D Reconstruction Based on SFS Technology
38Combined with the improved lighting model, a single image reconstruction SMT solder joint surface 3D shape algorithm based on SFS technology is designed, and the flow is shown in Fig. 3. In Fig. 3, the discretization expression is the solution result expression of SFS method for improved illumination model, and reconstruction result is highly discrete matrix of solder joint surface. Fig. 4(a), and the left solder joint as shown in Fig. 4(b). This research method is used to extract the quality information of resistance solder joints. The test image is shown in Fig.6. The solid model of solder joint is shown in Fig.7. The 3D quality information and accuracy are shown in Tab.1.
VI. CONCLUSION
39In this paper, 3D reconstruction of SMT solder joint surface and quality information extraction technology are studied, the main contents include: 1) Using the improved adaptive wavelet packet threshold calculation method, combined with Wiener filtering and Median filtering, the mixed denoising algorithm is studied to effectively remove the mixed noise in solder joint image;
402) Improving the diffuse reflection and specular reflection of the solder joint surface, and superimposing linearly to obtain the SMT solder joint surface illumination model;
413) Studying 3D reconstruction method of SMT solder joint surface based on SFS technology to realize 3D reconstruction of solder joint surface; 4) Studying 3D quality information extraction technology of SMT solder joint, and realizing the volume, middle profile and wetting angle extraction of SMT solder joint. The results show that the average accuracy of volume extraction is 90.09%.
ACKNOWLEDGMENT
42This work was supported financially by Dalian High-level Talent Innovation support program (Project: No: 2017RQ038).