马晓锋, 王中任. 基于引导滤波与神经网络算法的螺纹孔检测方法[J]. 制造技术与机床, 2022, (1): 165-170. DOI: 10.19287/j.cnki.1005-2402.2022.01.030
引用本文: 马晓锋, 王中任. 基于引导滤波与神经网络算法的螺纹孔检测方法[J]. 制造技术与机床, 2022, (1): 165-170. DOI: 10.19287/j.cnki.1005-2402.2022.01.030
MA Xiaofeng, WANG Zhongren. Threaded hole detection method based on guided filtering and neural network algorithm[J]. Manufacturing Technology & Machine Tool, 2022, (1): 165-170. DOI: 10.19287/j.cnki.1005-2402.2022.01.030
Citation: MA Xiaofeng, WANG Zhongren. Threaded hole detection method based on guided filtering and neural network algorithm[J]. Manufacturing Technology & Machine Tool, 2022, (1): 165-170. DOI: 10.19287/j.cnki.1005-2402.2022.01.030

基于引导滤波与神经网络算法的螺纹孔检测方法

Threaded hole detection method based on guided filtering and neural network algorithm

  • 摘要: 为解决测量曲轴端面螺纹孔操作繁琐、精度差及效率低等问题, 以型号YC4W75曲轴为例,提出1种基于引导滤波与神经网络算法的螺纹孔检测方法。首先,将实时采集到的图像,利用引导滤波和形态学对图像进行预处理,消除表面噪声、花纹等影响,提取曲轴端面内螺纹小径的边缘特征,然后,结合RANSAC算法,利用Pytorch创建神经网络模型,对提取圆进行拟合,获取曲轴端面内螺纹小径的大小以及圆心间的距离。通过测试结果表明,内螺纹小径的误差在0.070 mm以内,各个螺纹孔与中心孔误差在0.200 mm以内,测量精度高、操作简单,满足工业现场精度要求,实现了曲轴端面螺纹孔位置信息的自动测量。

     

    Abstract: In order to solve the problems of tedious operation, poor accuracy and low efficiency in measuring the screw hole of crankshaft end face, a screw hole detection method based on guided filtering and neural network algorithm was proposed, taking the model YC4W75 crankshaft as an example. Firstly, real-time grabbed images were preprocessed using guided filtering and morphology to eliminate the effects of surface noise and mottle. The edge features of the internal thread path in the crankshaft end face were extracted. Then, combined with RANSAC algorithm, a neural network model was constructed using Pytorch to fit the extracted circle. The size of the internal thread path on the crankshaft end face and the distance between the centers of the circle were obtained. The test results show that the error of the small path of the internal thread is less than 0.070 mm, and the error of each thread hole and the center hole is less than 0.200 mm. The proposed method can meet the accuracy requirements of the industrial site due to high measurement accuracy and the operation simplicity. The automatic measurement of the position information of the threaded hole of the crankshaft end face is realized.

     

/

返回文章
返回