首页|一种基于条纹相位特征的印刷电路板三维重建方法

一种基于条纹相位特征的印刷电路板三维重建方法

扫码查看
重建印刷电路板(PCB)表面元器件的三维形貌对确保其贴装质量具有重要意义。为提升PCB表面三维重建的精度和可靠性,本文提出了一种基于条纹相位特征的PCB三维重建方法。首先,基于自适应权重法建立多曝光图像的融合规则,进而合成高质量的条纹图像,并构建异步多频相移法以求解视场内各像素点的相位值;其次,针对结构光三角立体模型因标定误差而影响PCB重建精度的问题,由相机和结构光发生器视线映射关系建立高度重建模型;在此基础上,基于标准量块的测量值标定并拟合出最终的三维重建参数。实验结果表明,所提方法可有效提升高动态范围复杂表面的三维重建效果;在精度评价实验中,采用所提三维重建方法测量陶瓷标准球的平均直径误差为0。0188 mm,且能准确可靠地恢复PCB表面元器件的三维形貌,进一步检验了所提方法的有效性。
A Printed Circuit Board Three-Dimensional Reconstruction Method Based on Fringe Phase Characteristics
Objective Printed circuit board(PCB)is a crucial component of electronic products,and its mounting quality directly affects the stability and reliability of electronic products.Therefore,three-dimensional(3D)reconstruction of PCB is essential for accurately detecting solder joint defects and component mounting positions,etc.,which is vital for ensuring PCB mounting quality.At present,the structured light method is widely used in PCB 3D reconstruction due to its simple operation,versatility,and high precision.However,the accuracy of PCB 3D reconstruction is compromised by two main factors.First,the varying reflectivity of the PCB surface can lead to abnormal and missing fringe phase information.Second,calibration errors of the structured light system can further affect accuracy.We propose a PCB 3D reconstruction method based on fringe phase characteristics,which effectively addresses the issue of missing 3D point clouds when measuring high dynamic range surfaces and improves the accuracy of 3D reconstruction.Methods The structured light system consists of a structured light generator and a camera.Initially,a multi-exposure image fusion rule based on adaptive weights is established,which calculates the weight map through sample images captured at different exposure time and synthesizes the fringe image sequences.The weight map is determined by two factors:the relationship between each pixel's intensity value and the overall brightness of the current image,and the variation of the same pixel between neighboring exposure images.Next,the phase value is solved using an asynchronous multi-frequency phase shift method.To improve the calibration accuracy of the structured light system,we build a height reconstruction model based on the perspectives of the camera and the structured light generator.The optimal function is formulated by examining the offset between the measured value and the actual value of the gage blocks.Subsequently,the Levenberg-Marquardt algorithm is used to fit and optimize the 3D reconstruction parameters in the optimization function.Finally,the 3D reconstruction results of the proposed method are verified using selected dark and high reflectivity areas on the PCB surface,and the accuracy is confirmed with a standard ball.Results and Discussions Our method can effectively optimize the image intensity of the dark region and saturated region while preserving the structure of the fringe in the synthesized image.This significantly addresses the issue of fringe loss on the surface with complex reflectivity(Fig.7).In addition,the accuracy and stability of surface phase calculation are enhanced by increasing phase shift steps in the main phase shift fringe sequence,which greatly influences phase unwrapping precision.Consequently,the proposed method can accurately reconstruct the 3D shape of the measured objects(Fig.8)and the reconstruction rate of the samples is 98.3%(Table 3).The performance of the proposed method is significantly superior to the other three methods.In the precision evaluation experiment,the average diameter error of the standard ball measured by the proposed method is 0.0188 mm and the root mean square error(RMSE)is 0.0441(Table 4).These results demonstrate that the proposed method can reduce the error in 3D reconstruction parameters using gage blocks to further optimize the parameters of the camera and the structured light generator.When compared to the PCB 3D reconstruction results of the triangular stereo model and phase-height model,the proposed method exhibits better accuracy and stability,leading to improved measured outcomes.Conclusions To improve the accuracy and reliability of PCB 3D reconstruction,we propose a method based on fringe phase characteristics.The main conclusions are as follows.Firstly,the multi-exposure image fusion method based on adaptive weights is used to synthesize the coded fringe images,and the phase field is then solved using the asynchronous multi-frequency phase shift method,enhancing the measurement success rate for high dynamic range and complex surface.This approach effectively addresses the issue of missing point clouds on high dynamic range surfaces.Secondly,the system calibration error,caused by camera error transmission and simplification of the structured light generator model,is reduced using gage block constraints to optimize 3D reconstruction parameters.Thirdly,experimental results demonstrate that the proposed method can accurately reconstruct the 3D shape of high dynamic range and complex surface and significantly reduce the problem of point cloud loss.In the precision evaluation experiment,the proposed method measured the average diameter of a standard ball with a diameter of 20.0148 mm,achieving an average diameter error of 0.0188 mm.Compared to the triangular stereo model and the phase-height model,the proposed method offers superior precision and stability in PCB measurement results.

three-dimensional reconstructionfringe structured lightprinted circuit boardparameter calibrationimage fusion

吴福培、彭俊龙、叶玮琳、郑志丹、李昇平

展开 >

汕头大学工学院机械工程系,广东汕头 515063

三维重建 条纹结构光 印刷电路板 参数标定 图像融合

广东省自然科学基金广东省普通高校重点领域专项广东省普通高校创新团队资助项目

2021A15150106612020ZDZX20052020KCXTD012

2024

光学学报
中国光学学会 中国科学院上海光学精密机械研究所

光学学报

CSTPCD北大核心
影响因子:1.931
ISSN:0253-2239
年,卷(期):2024.44(14)
  • 5