您的位置:山东大学 -> 科技期刊社 -> 《山东大学学报(工学版)》

山东大学学报(工学版) ›› 2017, Vol. 47 ›› Issue (4): 77-82.doi: 10.6040/j.issn.1672-3961.0.2017.064

• • 上一篇    下一篇

基于机器视觉刀具几何参数检测算法与误差分析

侯秋林1,2,孙杰1,2*,皇攀凌1,2,孙超3,牟文平3   

  1. 1. 山东大学机械工程学院, 山东 济南 250061;2.山东大学高效洁净制造教育部重点实验室, 山东 济南 250061;3. 中航工业成都飞机工业(集团)有限责任公司, 四川 成都 610092
  • 收稿日期:2017-03-14 出版日期:2017-08-20 发布日期:2017-03-14
  • 通讯作者: 孙杰(1967— ),男,山东烟台人,教授,博士,主要研究方向为变形预测与控制,复合材料加工及再制造等.E-mail:sunjie@sdu.edu.cn E-mail:1757451519@qq.com
  • 作者简介:侯秋林(1991— ),女,山东菏泽人,硕士研究生,主要研究方向为机器视觉刀具检测方面的研究.E-mail:1757451519@qq.com
  • 基金资助:
    数控机床自动验刀系统开发资助项目(司科技(14)-063)

Algorithm and error analysis of tool geometric parameters detection based on machine vision

HOU Qiulin1,2, SUN Jie1,2*, HUANG Panling1,2, SUN Chao3, MOU Wenping3   

  1. HOU Qiulin1, 2, SUN Jie1, 2*, HUANG Panling1, 2, SUN Chao3, MOU Wenping3(1.School of Mechanical Engineering, Shandong University, Jinan 250061, Shandong, China;
    2.Key Laboratory of High Efficiency and Clean Mechanical of MOE, Shandong University, Jinan 250061, Shandong, China;
    3. Chengdu Aircraft Industrial(Group)Co., Ltd., Chengdu 610092, Sichuan, China
  • Received:2017-03-14 Online:2017-08-20 Published:2017-03-14

摘要: 为解决航空整体结构件数控加工过程中因换刀频繁而导致刀具出错的问题,提出一种连通域外接矩形的刀具几何参数检测算法,开发基于机器视觉的刀具几何参数在位快速检测系统。采用工业相机、双远心镜头等采集刀具图像,利用MATLAB软件对刀具图像进行灰度变换、二值化等预处理,详细分析连通域标记算法和外接矩形算法的处理过程。结果表明,基于机器视觉的刀具几何参数在位快速检测系统的直径误差小于0.01 mm,悬长误差小于0.08 mm、响应速度快、测量精度高和抗噪性强。

关键词: 机器视觉, 外接矩形, 误差分析, 连通域, 刀具几何参数

Abstract: A bounding rectangle algorithm of connected component was investigated for measuring tool geometrical parameters. An in-position detection system for measuring tool geometrical parameters was developed based on machine vision, which were to solve the problem of wrong tool because of tools’ change frequently in NC machining process of aeronautical monolithic components. The system was carried out by means of using industrial cameras, dual-telephoto lens and others to collect tool image, and using image processing software MATLAB to have image pretreatment including grayscale transformation and binarization. The processes of connected component labeling algorithm and bounding rectangle algorithm were analyzed. The results showed that diameter error was less than 0.01 mm and hanging length error was less than 0.08 mm in the in-position detection system for measuring tool geometrical parameters based on machine vision. The system had a high response speed, high measuring accuracy and anti-noise performance.

Key words: connected component, tool geometrical parameters, error analysis, machine vision, bounding rectangle

中图分类号: 

  • TG71
[1] HEINZ A, HASZLER A, KEIDELCete. Recent development in aluminum alloys of aerospace applications[J]. Material Science and Engineering, 1999, 280(1):102-107.
[2] 黄晓明. 铝合金航空整体结构件加工变形机理与预测研究[D].济南:山东大学,2015. HUANG Xiaoming. Deformation mechanism and prediction of aluminum alloy monolithic component in the milling[D].Jinan: Shandong University, 2015.
[3] 杨继昌,李金伴数控技术基础[M].北京:化学工业出版社,2004:1-45.
[4] 张佳平. 数字图像刀具几何参数测量系统的研究[D].厦门:厦门大学,2007. ZHANG Jiaping. Study of the cutting tools geometrical parameters measure system based on digital image[D]. Xiamen:Xiamen University, 2007.
[5] SEHARP Ed. Tool monitoring keeps on eye on automated turning[J].American Machinist, 2003, 137(10).
[6] JURKOVIC J, KOROSEC M, KOPAC J. New approach in tool wear measuring technique using CCD vision system[J].International Journal of Machine Tools and Manufacture, 2005, 45(9):1023-1030.
[7] WANG W H, HONG G S, WONG Y S. Flank wear measurement by a threshold independent method with sub-pixel accuracy[J]. International Journal of Machine Tools & Manufacture, 2006, 46(5):199-207.
[8] KASSIM A A, MANNAN M A, ZHU Mian. Texture analysis methods for tool condition monitoring[J]. Image and Vision Computing, 2007, 25(3):1080-1090.
[9] 徐洁. 数控立铣刀基本参数视觉测量方法研究[D].西安:西安工业大学,2014. XU Jie. Research on the basic parameters of CNC mills vision measurement method[D]. Xi'an: Xi'an Technological University, 2014.
[10] 赵云松. 数字图像刀具测量仪[D].成都:电子科技大学,2004. ZHAO Yunsong. A digital-image cutting tools measurement machine[D].Chengdu: University of Electronic Science and Technology of China, 2004.
[11] 刘力双.电子摄像式刀具预调测量仪的研究[D].天津:天津大学,2006. LIU Lishuang. Research of tool presetting and measuring machine based on CCD imaging[D].Tianjin: Tianjin University, 2006.
[12] 周敬,王俊元,张彬. 基于亚像素边缘检测的刀具几何参数测量[J].工具技术,2010,46(9):94-97. ZHOU Jing, WANG Junyuan, ZHANG Bin. Measurement of tool geometric parameters based on sub-pixel edge detection[J].Tool Engineering, 2010, 46(9):94-97.
[13] 刘大勇. 刀具预调测量仪关键技术的研究[D].天津:河北工业大学,2007. LIU Dayong. Key technology research of tool presetting and measuring instrument[D].Tianjin: Hebei University of Technology, 2007.
[14] 周洋. 图像式刀调仪视觉检测技术研究[D].无锡:江南大学,2011. ZHOU Yang. Research on vision inspection technology of tool measuring machine[D].Wuxi: Jiangnan University, 2011.
[15] 寇星源.基于图像处理的智能机床刀具检测技术研究[D].北京:北京邮电大学,2012. KOU Xingyuan. Research on CNC lathe tool parameters measurement based on image processing[D].Beijing:Beijing University of Posts and Telecommunications, 2012.
[16] 陈琛.刀具图像轮廓特征检测[D].西安:西安工业大学,2013. CHEN Chen. Contour feature detection of cutting tools image[D]. Xi'an:Xi'an Technological University, 2013.
[17] 关波.刀具几何参数图像测量技术研究[D].太原:中北大学,2015. GUAN Bo. Research on image measurement technology for cutting tool geometric parameter[D].Taiyuan: North University of China, 2015.
[18] 张川川. Canny算子刀具边缘快速提取研究[D].太原:中北大学,2015. ZHANG Chuanchuan. Study on the fast extraction of the edge of Canny operator cutter[D].Taiyuan:North University of China, 2015.
[19] 孙新国,孙亮,王二化. 立式数控铣床主轴刀柄和刀柄刀具结合面参数辨识方法的研究[J]. 机床与液压,2014(23):106-109. SUN Xinguo, SUN Liang, WANG Erhua. Study on joint surface parameter identification method of shaft-toolholder and toolholder-tool for vertical CNC milling machine[J].Machine Tool & Hydraulics, 2014(23):106-109.
[20] 汪博,孙伟,闻邦椿. 考虑主轴-刀柄-刀具结合面的高速主轴系统动力学特性有限元建模[J]. 机械工程学报,2012,48(15):83-89. WANG Bo, SUN Wei, WEN Bangchun. The finite element modeling of highspeed spindle system dynamics with spindle-holder-tool joints[J].Journal of Mechanical Engineering, 2012, 48(15):83-89.
[1] 毕侠飞,孙同景,杨福刚,张巍 . 非接触式并行连铸方坯在线定尺切割系统研究[J]. 山东大学学报(工学版), 2008, 38(1): 52-55 .
[2] 冯显英,任长志,黄燕云 . 基于机器视觉的异性纤维检测系统[J]. 山东大学学报(工学版), 2006, 36(4): 5-08 .
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!