基于机器视觉的柱头螺栓关键尺寸测量方法

Measurement method for key dimensions of stud bolts based on machine vision

  • 摘要: 针对高铁用柱头螺栓的关键尺寸测量存在精度不足、效率低下和人工依赖性强等问题,提出了一种基于机器视觉的柱头螺栓关键尺寸测量方法。该方法结合图像金字塔技术和改进型快速非局部均值滤波技术进行图像预处理,有效抑制毛刺干扰并提高圆角特征的精度。通过引入四向Sobel算子实现螺纹轮廓边缘的精确提取,并分别采用最小二乘法直线拟合与圆拟合算法测量柱头螺栓几何尺寸参数及倒角特征。实验结果表明,该方法具有显著的测量精度和稳定性:相较于对比算法,本方法的外螺纹大径测量相对误差降低至0.17%,螺栓总长度测量的标准差减小至0.006 8 mm,实现了柱头螺栓关键尺寸参数的高精度、高稳定性自动化测量。

     

    Abstract: Aiming at the problems of insufficient precision, low efficiency and strong manual dependence in the measurement of key dimensions of stud bolts for high-speed railways, a method for measuring key dimensions of stud bolts based on machine vision is proposed. Image pyramid technology and improved fast non-local means filtering technology are combined for image preprocessing, which effectively suppresses burr interference and improves the extraction accuracy of fillet features. A four-directional Sobel operator was introduced to achieve accurate extraction of thread contour edges, and the least square method for linear fitting and circle fitting algorithms were used to measure the geometric parameters and chamfer features of stud bolts, respectively. Experimental results show that the method has significant measurement accuracy and stability. Compared with the comparison algorithm, the relative error of external thread major diameter measurement is reduced to 0.17%, and the standard deviation of bolt total length measurement is reduced to 0.006 8 mm, realizing high-precision and high-stability automatic measurement of key dimension parameters of stud bolts.

     

/

返回文章
返回