基于双目视觉的复杂工件孔洞目标检测定位

Hole target detection and location of complex workpiece based on binocular vision

  • 摘要: 针对金属3D打印件孔洞部位支撑残留后处理问题,提出了一种双目视觉检测定位方法。测量系统基于弧段椭圆识别算法进行工件孔位检测,通过计算待加工孔位在双目模组主相机光心坐标系中的位姿、并将该位姿转换到加工现场机械臂基坐标系,为离线编程和自动加工提供坐标信息。首先标定双目相机并检验硬件系统对标定角点的测量精度;然后对复杂工件的待加工位置椭圆特征进行提取,基于极线校正后图像对左右图椭圆进行同行像素点采集和双目匹配;最终根据多视图原理进行匹配点对的坐标计算,进而输出带有坐标信息的空间圆环。对双目相机模组进行了标定靶球测量验证实验,结果显示尺寸测量误差小于0.20 mm。对实际工件进行了测量定位实验,结果表明,该系统测量圆孔尺寸的最大误差小于0.84%,圆心空间位置误差小于0.50 mm,圆环姿态最大误差小于0.5°。

     

    Abstract: A binocular vision detection and positioning method was proposed to solve the problem of post-processing of hole support residue in metal 3D printing parts. The hole position of the workpiece was detected by the measuring system based on the arc ellipse recognition algorithm. By calculating the pose of the hole position to be machined in the optical center coordinate system of the main camera in binocular module, and converting the pose to the base coordinate system of the robot arm on machining site, the coordinate information was provided for off-line programming and automatic machining. Firstly, the binocular camera was calibrated and the measurement accuracy of the hardware system was checked. Then, the position ellipse features of the complex workpiece to be processed were extracted, and the parallel pixel acquisition and binocular matching were carried out for left and right image ellipses based on the pole-corrected images. Finally, the coordinates of matching point pairs were calculated according to the multi-view principle, and the spatial ring with coordinate information was output. A calibration target ball measurement verification experiment was carried out for binocular camera module. The results show that the measurement error is less than 0.20 mm. The measurement and positioning experiment of the actual workpiece was carried out. The results show that the maximum error of the system is less than 0.84%, the error of the center space is less than 0.50 mm, and the maximum error of the attitude of the ring is less than 0.5°.

     

/

返回文章
返回