基于退化图像增强的刀具磨损在机测量方法

On-machine measurement method for tool wear based on degraded image enhancement

  • 摘要: 机器视觉已成为刀具磨损在机测量的重要手段。在航空航天等关键零部件的小批量加工中,钛合金等难加工材料的切削实验成本高、切削过程不可逆,退化样本难以补采。文章同一实验采集104张刀具后刀面图像,其中22张因机床微振动、局部失焦和光照反射出现退化。针对该问题,提出基于退化图像增强的刀具磨损在机测量方法。采用Real-ESRGan对退化图像复原,随后进行灰度增强、滤波、阈值分割和形态学处理。Canny算子提取初始边缘,Zernike矩进行亚像素修正,异常点剔除后曲线平滑得到连续磨损边界,并建立侧刃基准线计算最大磨损宽度VBmax。结果表明,10组典型退化样本的平均绝对误差由63.48 μm降至12.95 μm,平均相对误差率由25.63%降至5.19%;在对比实验中,22张退化图像的平均绝对误差和平均相对误差率分别为14.49 μm和6.73%;全部104张图像的平均相对误差率为4.86%。该方法有效改善退化图像的磨损边界提取效果,提高复杂在机成像条件下VBmax测量的稳定性。

     

    Abstract: Machine vision has become an important approach for on-machine measurement of tool wear. In small-batch machining of key components in fields such as aerospace, cutting experiments on difficult-to-machine materials such as titanium alloys are costly, and the cutting process is irreversible. Therefore, degraded samples are difficult to acquire again. In this study, 104 flank face images of cutting tools were collected from the same experiment. Among them, 22 images were degraded because of machine tool micro-vibration, local defocus, and light reflection. To address this problem, an on-machine measurement method for tool wear based on degraded image enhancement is proposed. Real-ESRGAN is used to restore the degraded images. Then, gray-level enhancement, filtering, threshold segmentation, and morphological processing are performed. The Canny operator is used to extract the initial edge. Zernike moments are then used for subpixel correction. After outlier removal and curve smoothing, a continuous wear boundary is obtained. A side-edge reference line is established to calculate the maximum wear width VBmax. The results show that, for 10 typical degraded samples, the mean absolute error decreases from 63.48 μm to 12.95 μm, and the mean relative error decreases from 25.63% to 5.19%. In comparative experiments, the average absolute error and relative error for the 22 degraded images were 14.49 μm and 6.73%, respectively. For all 104 images, the mean relative error is 4.86%. The proposed method effectively improves wear boundary extraction from degraded images and enhances the stability of VBmax measurement under complex on-machine imaging conditions.

     

/

返回文章
返回