Vision-Based Precision Measurement Technology for O-Ring Seal Size
-
摘要: 针对现有O形密封圈尺寸测量方法的局限性,设计基于主动视觉的精密检测方法,并对快速自动调焦、亚像素边缘检测、边缘点拟合技术进行了研究。将快速自动调焦过程分为3个阶段,使用大步长和方差函数,结合灰度切割对比度增强与中值滤波,完成粗调焦;使用小步长和Tenengrad函数,完成细调焦;采用Brenner函数和微步距完成高灵敏度调焦.用Zernike矩算法对边缘点进行亚像素定位,并采用面积最小误差法拟合边缘点,求取O形密封圈的内径、外径.实验结果表明:本文方法经过16步搜索,在15 s内可自动完成调焦;与传统方法相比,通过亚像素提取,能将内外径测量结果达到微米级,满足O形密封圈测量需求.Abstract: To overcome the disadvantages in existing methods for detecting the size of O-ring seals, a precise measurement method based on active vision was proposed, and the technologies such as automatic quick-focusing, sub-pixel edge detection, and edge fitting were studied. The procedure of automatic quick-focusing was divided into three phases. The rough focusing was implemented through image contrast enhancement in gray scale, mid-value filter, large step and variance function calculation; the fine focusing was realized using small step and Tenengrad function; and the high sensitivity focusing was realized using micro step and Brenner function. In addition, edge points were located with sub-pixel accuracy using the Zernike moment algorithm. The inner and outer diameters of the O-ring seal were measured with the edge fitted by the minimum area error method. The experimental results show that the proposed method can realize an automatic focusing within 15 s in 16 search steps. Compared with the traditional methods, the proposed method, by sub-pixel detection, can reach a accuracy of 1 μm in the outer and inner diameter measurement of O-ring seals, which satisfies the measurement requirements of stability and accuracy for O-ring seals.
-
Key words:
- active vision /
- O-ring seal size /
- automatic focusing /
- particle swarm optimization /
- sub-pixel
-
全国液压气动标准化技术委员会. GB/T3452.1—2005 液压气动用O形橡胶密封圈第1部分:尺寸系列及公差[S].北京:中国标准出版社,2005. 刘艳芬. 橡胶O形圈的检测[J]. 润滑与密封,2002,27(4): 88-91. LIU Yanfeng. Detection of O-ring seal[J]. Lubrication Engineering, 2002, 27(4): 88-91. 伍济钢. 薄片零件尺寸机器视觉检测系统关键技术研究. 武汉:华中科技大学,2008. 孙秋成,谭庆昌,唐武生,等. 基于CCD的轴径检测方法[J]. 吉林大学学报:工学版,2010,40(5): 1273-1277. SUN Qiucheng, TAN Qingchang, TANG Wusheng, et al. Shaft diameter measuring method based on CCD[J]. Journal of Jilin University: Engineering and Technology Edition, 2010, 40(5): 1273-1277. 廖强,米林,周忆,等. 微尺寸视觉精密检测系统设计[J]. 重庆大学学报,2002,25(12): 21-23. LIAO Qiang, MI Lin, ZHOU Yi, et al. Design for precision measurement system based on machine vision[J]. Journal of Chongqing University, 2002, 25(12): 21-23. 廖强,刘兆东,郭静,等. 主动视觉技术在精密测量中的应用研究[J]. 计算机工程与应用,2009,45(10): 218-220. LIAO Qiang, LIU Zhaodong, GUO Jing, et al. Study of active vision technology in precision measurement[J]. Computer Engineering and Applications, 2009, 45(10): 218-220. KUO C F J, CHIU C H. Improved auto-focus search algorithms for CMOS image-sensing module[J]. Journal of Information Science and Engineering, 2011, 27(4): 1377-1393. RAMAKRISHNAN N. Development of a fast image processing algorithm for auto-focusing of an image in contact-less measurement[J]. MAPAN-Journal of Metrology Society of India, 2006, 21(2): 87-90. 翟永平,周东翔,刘云辉,等. 聚焦函数性能评价指标设计及最优函数选取[J]. 光学学报,2011,31(4): 0418002-1-0418002-11. ZHAI Yongping, ZHOU Dongxiang, LIU Yunhui, et al. Design of evaluation index for auto-focusing function and optimal function selection[J]. Acta Optica Sinica, 2011, 31(4): 0418002-1-0418002-11. UEMURA T, KOUTAKI G, UCHIMURA K. Image segmentation based on edge detection using boundary code[J]. International Journal of Innovative Computing Information and Control, 2011, 7(10): 6073-6083. LI Huaqing, LIAO Xiaofeng, LI Chuandong, et al. Edge detection of noisy images based on cellular neural networks[J]. Communications in Nonlinear Science and Numerical Simulation, 2011, 16(9): 3746-3759. SAVSANI V, RAO R V, VAKHARIA D P. Optimal weight design of a gear train using particle swarm optimization and simulated annealing algorithms[J]. Mechanism and Machine Theory, 2010, 45(3): 531-541. SINGH C, POOJ A. Improving image retrieval using combined features of hough transform and Zernike moments[J]. Optics and Lasers in Engineering, 2011, 49(12): 1384-1396. FROSIO I, BORGHESE N. Real-time accurate circle fitting with occlusions[J]. Pattern Recognition, 2008, 41(3): 1041-1055.
点击查看大图
计量
- 文章访问数: 1215
- HTML全文浏览量: 65
- PDF下载量: 422
- 被引次数: 0