基于改进Canny算子的焊缝熔宽测量

Weld width measurement based on improved Canny operator

  • 摘要:
    目的 焊缝熔宽是表征焊接质量与焊接稳定性的重要指标之一,该文旨在改善角焊缝熔宽测量难度高、误差大等问题。
    方法 设计了一种角焊缝的图像采集方式,提出基于被动视觉的获取焊缝熔宽的方法,改进了传统Canny算子的边缘提取算法。运用CCD工业相机采集待测焊缝图像,利用ROI提取、灰度化、中值滤波、双边滤波、高斯滤波对被采集图像进行预处理,然后使用改进的Canny算子提取焊缝边缘,概率Hough变换拟合熔池轮廓线段,利用标准化欧式方程获得焊缝宽度。
    结果 试验结果表明,焊缝熔宽测量平均时间为160 ms,平均绝对误差为0.34 mm。
    结论 此方法图像处理速度与测量精度满足焊缝表面检测要求,鲁棒性强。

     

    Abstract: Objective The weld width is one of the important indicators to characterizing welding quality and welding stability. This paper aims to improve the problem of high difficulty and error in measuring weld width of fillet weld. Methods The paper designs an image acquisition method for fillet weld, proposes a method based on passive vision to obtain weld width, and improves the edge extraction algorithm of traditional Canny operator. The images of weld are captured by using CCD industrial camera, the captured images are preprocessed by ROI extraction, grayscale, median filtering, bilateral filtering and Gaussian filtering, the edge of weld width is extracted by improved Canny operator, the melt pool contour line segment is fitted by probabilistic Hough transform, and the weld width is obtained by using normalized Euclidean equation. Results The experimental results show that average measurement time of weld width is 160 ms, and average absolute error is 0.34 mm. Conclusion The image processing speed and measurement accuracy of this method meet the requirements of weld surface detection, and the robustness is strong.

     

/

返回文章
返回