融合视觉标定与斑点检测算法的PCB钻孔定位方法

Fusion of visual calibration and spot detection algorithm for PCB drilling positioning

  • 摘要: 为了解决目前PCB(printed circuit board)钻孔定位方法中多次标定的问题,提出了一种新的PCB钻孔定位方法,融合了视觉标定和斑点检测算法,能适应动态变化的拍摄环境,提高了PCB钻孔定位时的鲁棒性。这一方法基于张正友标定法,通过多视角拍摄标定板以获取相机参数和畸变系数。之后,利用这些参数校正PCB图像,并运用多尺度空间斑点检测算法提取PCB图像中的钻孔点中心坐标。最终,借助相机参数和PCB钻孔点的图像坐标,成功地还原了PCB钻孔点的三维空间坐标,实现了高效的钻孔点定位。通过实验得出,本文方法的定位精度可在0.1 mm上下浮动,平均定位误差可以控制在0.05 mm~0.07 mm。结果表明,本文方法具备一定的操作灵活性和鲁棒性,符合PCB机械钻孔加工需求。

     

    Abstract: To address the issue of multiple calibrations in current printed circuit board (PCB) drilling positioning methods, a novel PCB drilling positioning method that integrated visual calibration and spot detection algorithms was proposed, which could adapt to dynamically changing shooting environments, thereby improving the robustness of PCB drilling positioning. The proposed method was based on Zhang's calibration method, and the camera parameters as well as distortion coefficients were obtained by shooting the calibration board from multiple angles. These parameters were then used to correct the PCB image, and a multi-scale spatial spot detection algorithm was employed to extract the center coordinates of the drilling points in the PCB image. Finally, with the help of camera parameters and image coordinates of PCB drilling points, the three-dimensional spatial coordinates of PCB drilling points were successfully reconstructed, and efficient drilling point positioning was realized. Through the experiment, the positioning accuracy of this method fluctuates around 0.1 mm, with an average positioning error controlled within 0.05 mm~0.07 mm. The results show that this method possesses a certain degree of operational flexibility and robustness, which meets the requirements of PCB mechanical drilling processing.

     

/

返回文章
返回