提出一种漆包线线径在线自动检测方法,通过设计基于滑轮组的漆包线减震机构,有效地解决漆包线生产过程中震动幅度过大的问题。首先,对采集到的漆包线原始图像进行中值滤波、固定阈值分割、Sobel边缘检测;然后,进行三次样条插值运算得到亚像素边缘点,采用最小二乘法拟合上下边缘直线;最后,通过分割边缘直线方法计算漆包线线径。现场测试结果表明:应用该方法开发的系统分辨力为0.00018mm,能够满足企业±0.001mm检测精度要求,线径检测结果的测量不确定度为(0.1619±0.0001)mm,置信概率p=0.95,自由度ν=24,重复性检测与第三方检验机构得到的检测结果一致性较好。
Abstract
An online automatic detection method of enameled wire diameter is proposed, a kind of enameled wire shock-absorbing mechanism based on pulley block is designed, which can solve the problem that the vibration amplitude is too large and the wire diameter is not easy to be detected in the process of enameled wire production. Firstly, median filtering, fixed threshold segmentation and Sobel edge detection were carried out on the collected enameled wire original image, and then sub-pixel edges were obtained by cubic spline interpolation, and upper and lower edge lines were fitted by least square method, and finally the enameled wire diameter was calculated by the method of segmentation edge line. Field test results show that the resolution of the system developed by this method is 0.00018mm, meeting the requirements of the enterprise detection accuracy ±0.001mm, The detection results are 0.1619±0.0001mm, the confidence probability P=0.95, and the degree of freedom ν=24, the repeatability test is in good consistency with the test results obtained by quality inspection institutions.
关键词
计量学 /
漆包线线经 /
在线自动检测 /
机器视觉 /
减震机构 /
亚像素 /
图像算法
Key words
metrolog /
enameled wire diameter /
on-line automatic measurement /
shock-absorbing mechanism /
machine vision /
sub pixel /
image algorithm
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1]姜鸣, 张宏建. 流程管理在漆包线线径检测中的应用 [J]. 上海计量测试, 2014, (5): 33-35.
Jiang M, Zhang H J. Application research of process management for diameter detection of enameled wire [J]. [WTBX][STBX]Shanghai Metrology and Test[STBZ][WTBZ], 2014, (5): 33-35.
[2]Yang Y, Geng T, Li P, et al. Research for on-line measurement of optical fiber diameter based on machine vision [J]. [WTBX][STBX]Advanced Materials Research[STBZ][WTBZ], 2012, 433-440: 6497-6502.
[3]隋修武, 刘蕾, 杜玉红, 等. 基于线阵CCD的可吸收缝合线线径在线检测系统 [J]. 传感技术学报, 2014, 27(8): 1154-1158.
Sui X W, Liu L, Du Y H, et al. Online measurement system of absorbable suture diameter based on linear CCD [J]. [WTBX][STBX]Journal of Sensing Technology[STBZ][WTBZ], 2014, 27(8): 1154-1158.
[4]苑玮琦, 张波, 常乐, 等. 基于矢量加权线检测算子的虹膜环状线条检测 [J]. 仪器仪表学报, 2017, 38(6): 1378-1389.
Yuan W Q, Zhang B, Chang L, et al. Iris annular line detection based on vector weighted line detection operator [J]. Chinese Journal of Scientific Instrument,[STBZ][WTBZ], 2017, 38(6): 1378-1389.
[5]Wasilewska A, Pauk J, Ihnatouski M. Image processing techniques for ROI identification in rheumatoid arthritis patients from thermal images [J]. [WTBX][STBX]Acta Mechanica et Automatica[STBZ][WTBZ], 2018, 12(1): 49-53.
[6]刘智嘉, 夏寅辉, 杨德振, 等. 基于中值滤波器的红外图像噪声处理的改进方法 [J]. 激光与红外, 2019, 49(3): 376-380.
Liu Z J, Xia Y H, Yang D Z, et al. An improved method for infrared image noise processing based on median filter [J]. [WTBX][STBX]Laser and Infrared[STBZ][WTBZ], 2019, 49(3): 376-380.
[7]陈辉, 杨剑, 黄晓铭, 等. 基于多视图立体视觉的沙堆三维尺寸测量研究 [J]. 计量学报, 2019, 40(3): 403-408.
Chen H, Yang J, Huang X M, et al. Three-dimensional measurement of sand pile based on multi-view stereoscopic vision [J]. [WTBX][STBX]Acta Metrology Sinica[STBZ][WTBZ], 2019, 40(3): 403-408.
[8]Alnima R, Abdullah M, Alkaltakchi M, et al. Finger texture biometric verification exploiting multi-scale sobel angles local binary pattern features and score-based fusion [J]. [WTBX][STBX]Digital Signal Processing[STBZ][WTBZ], 2017, 70: 178-189.
[9]徐平, 常英杰, 薛凌云. 基于边缘像元投影的微小轴承亚像素边缘检测 [J]. 仪器仪表学报, 2016, 37(10): 2300-2306.
Xu P, Chang Y J, Xue L Y. Sub-pixel edge detection of small bearing based on edge pixel projection [J]. [WTBX][STBX]Chinese Journal of Scientific Instrument[STBZ][WTBZ], 2016, 37(10): 2300-2306.
[10]蒋旭, 赵静, 赵吉文, 等. 基于E-SPCM的直线电机动子位置高精度测量方法研究 [J]. 仪器仪表学报, 2019, 40(3): 212-220.
Jiang X, Zhao J, Zhao J W, et al. Research on high-precision measurement method of linear motor mover position based on E-SPCM [J]. [WTBX][STBX]Chinese Journal of Scientific Instrument[STBZ][WTBZ], 2019, 40(3): 212-220.
[11]Anto J, Neerka V, Somr M. Real-time optical measurement of displacements using subpixel image registration [J]. [WTBX][STBX]Experimental Techniques[STBZ][WTBZ], 2019, 43(3): 315-323.
[12]仲月娇, 张新敏, 徐阳. 基于机器视觉塑料螺母尺寸测量方法研究 [J]. 机械工程师, 2019, (3): 37-39.
Zhong Y J, Zhang X M, Xu Y. Research on measurement method of plastic nut dimension based on machine vision [J]. [WTBX][STBX]Mechanical Engineer[STBZ][WTBZ], 2019, (3): 37-39.
[13]支珊, 赵文珍, 赵文辉, 等. 基于齿轮局部图像的齿距机器视觉测量方法 [J]. 仪器仪表学报, 2018, 39(2): 225-231.
Zhi S, Zhao W Z, Zhao W H, et al. Measurement method of tooth pitch machine vision based on local image of gear [J]. [WTBX][STBX]Chinese Journal of Scientific Instrument[STBZ][WTBZ], 2018, 39(2): 225-231.
[14]张竟月, 孙斌, 谢玄达, 等. 基于激光和机器视觉的微量液体容量计量方法 [J]. 计量学报, 2018, 39(4): 504-509.
Zhang J Y, Sun B, Xie X D, et al. Volume metrology method for micro liquid based on laser and machine vision [J]. [WTBX][STBX]Acta Metrology Sinica[STBZ][WTBZ], 2018, 39(4): 504-509.
[15]王颖, 张玉存. 基于绿激光图像识别的热态大型锻件长度尺寸测量 [J]. 计量学报, 2018, 39(3): 316-320.
Wang Y, Zhang Y C. Measurement of the length and size of hot forging based on green laser image recognition [J]. [WTBX][STBX]Acta Metrology Sinica[STBZ][WTBZ], 2018, 39(3): 316-320.
[16]Yu Z X, Wang S H, Xu K, et al. The application on order analysis for the rotating machinery with LabVIEW [J]. [WTBX][STBX]Chinese Journal of Scientific Instrument[STBZ][WTBZ], 2016, 37(S1): 157-161.
[17]许景波, 聂家立, 王升, 等. 基于粗大误差估计的表面测量稳健滤波方法研究 [J]. 计量学报, 2017, 38(4): 391-395.
Xu J B, Nie J L, Wang S, et al. Robust filtering method for surface measurement based on rough error estimation [J]. [WTBX][STBX]Acta Metrology Sinica[STBZ][WTBZ], 2017, 38 (4): 391-395.
[18]王笑一, 石照耀, 林家春. 基于全齿廓信息的齿距偏差快速测量方法 [J]. 仪器仪表学报, 2016, 37(10): 2202-2210.
Wang X Y, Shi Z Y, Lin J C. Fast measurement method of tooth pitch deviation based on the whole tooth profile information [J]. [WTBX][STBX]Chinese Journal of Scientific Instrument[STBZ][WTBZ], 2016, 37(10): 2202-2210.
[19]Yang J, Liu X, Gu G, et al. A double threshold correction method for walk error in pulsed laser ranging system [J]. [WTBX][STBX]Infrared Physics and Technology[STBZ][WTBZ], 2019, 100: 28-36.
[20]孔繁栋, 陈超, 王灿, 任学弟. 不同的稳定性评估方法对量值比对结果的影响 [J]. 上海计量测试, 2018, (2): 37-39.
Kong F D, Chen C, Wang C, et al. The effect of different stability calculation methods on the results of quantity comparison [J]. [WTBX][STBX]Shanghai Metrology and Test[STBZ][WTBZ], 2008, (2): 37-39.
基金
2019年度浙江省基础公益研究计划项目(LGG19E050015);2018年度浙江省公益计划项目(GG18E050045)