Journal of Shandong University(Engineering Science) ›› 2022, Vol. 52 ›› Issue (3): 80-85.doi: 10.6040/j.issn.1672-3961.0.2020.509

• Mechanical, Energy and Power Engineering • Previous Articles     Next Articles

A machine vision system for measuring screw pitch with image processing techniques

Tianyu HAN(),Changhou LU*(),Jianmei LI,Ang YIN,Qiulin HOU   

  1. School of Mechanical Engineering, Shandong University, Jinan 250061, Shandong, China
  • Received:2020-09-22 Online:2022-06-20 Published:2022-06-23
  • Contact: Changhou LU E-mail:201834001@mail.sdu.edu.cn;luchh@sdu.edu.cn

Abstract:

In order to solve problems of damage to workpiece and high-cost of measuring equipment by contact measuring method, a low-cost and high-precision screw pitch measuring system based on machine vision was designed. The system was built on MATLAB and consisted of four sub-systems: image acquisition system, mechanical system, stepping control system, image and data processing system. Sub-pixel mosaic algorithm was used to splice the sub-images of the lead screw and a complete lead screw image could be obtained. Image quality was improved by image enhancement and filtering. Morphological edge extraction and sub-pixel edge location algorithm were used to extract the screw edge accurately, and pitch errors were measured automatically by data processing program. The experimental results showed that the relative error of the machine vision system and standard instrument (JCS-040A) for the measurement results of the three types of ball screw pitches didn't exceed 0.04%、0.06%、0.09%, respectively. The feasibility of the system in industrial measurement of lead screw was validated.

Key words: screw, machine vision, pitch error, image mosaic, image processing

CLC Number: 

  • TH136

Fig.1

Composition of measurement system platform"

Fig.2

Technical route of measurement system"

Fig.3

Image mosaic process"

Fig.4

Gray distribution of screw edge"

Fig.5

Comparison of two contour extraction methods"

Fig.6

Pixel level edge detection of the screw"

Fig.7

Sub-pixel level edge detection of the screw"

Table 1

3 kinds of ball screw sample specific parameters"

丝杠型号 公称导程/ mm 公称直径/ mm 精度等级 丝杠全长/mm 实测长度/mm 任意2Π行程内行程变动量最大偏差ep/μm 指定行程内最大允差ep/μm
4210# 10 40 4 1002 355 7 18
2505-588-34# 5 25 3 588 375 6 13
3210# 10 30 4 600 370 7 18

Fig.8

Ball screw sample"

Fig.9

Laser dynamic stroke measuring instrument for ball screw"

Fig.10

Measurement results of 3 sample pitches by 2 methods"

1 焦洁, 肖正义. 12 m激光滚珠丝杠(副)动态行程测量仪的研制[J]. 设计与研究, 2013, (5): 72- 77.
JIAO Jie , XIAO Zhengyi . Development of 12m laser ball screw dynamic stroke measuring instrument[J]. Design and Research, 2013, (5): 72- 77.
2 GADELMAWLA E S . Computer vision algorithms for measurement and inspection of external screw threads[J]. Measurement, 2017, (100): 36- 49.
3 GADELMAWLA E S . Computer vision algorithms for measurement and inspection of spur gears[J]. Measurement, 2011, (44): 546- 556.
4 GADELMAWLA E S . A novel system for automatic measurement and inspection of screw threads[J]. Eng Manuf IMECH E: Part B, 2004, 2018 (B5): 545- 556.
5 ZHAO Leilei , FENG Hutian , RONG Qianfeng . A novel non-contact measuring system for the thread profile of a ball screw[J]. Mechanical Science, 2018, (9): 15- 24.
6 JING Min. Comprehensive measurement system for screw thread parameter based on machine vision[C]//Processdings of I.T. S Engineering College46. Noida, India: ICCCS, 2015: 266-270.
7 STEGER Carsten , URICH Markus , WIEDEMANN Christian . Machine vision algorithms and applications[M]. Berlin, Germany: Wiley-VCH, 2007: 279- 283.
8 郑艳飞. 基于区域配准的图像拼接算法[D]. 济南: 山东大学, 2012.
ZHENG Yanfei. Image mosaic algorithm based on regional registration[D]. Jinan: Shandong University, 2012.
9 WEI Shoude , LAI Shanghong . Fast template matching based on normalized cross correlation with adaptive multilevel winner update[J]. IEEE Transactions on Image Processing, 2008, 17 (11): 2227- 2235.
10 KUGLIN C D, HINES D C. The phase correlation image alignment method[C]//Processdings of Cybernetics and Society. New York, USA: IEEE, 1975: 163-165.
11 周虎. 高精度视觉测量系统关键技术研究与应用[D]. 上海: 东华大学, 2011.
ZHOU Hu. Research and application key technology for high precision image measurement system[D]. Shanghai: Donghua University, 2011.
12 侯秋林, 孙杰, 黄攀凌, 等. 基于机器视觉刀具几何参数检测算法与误差分析[J]. 山东大学学报(工学版), 2017, 47 (4): 78- 82.
HOU Qiulin , SUN Jie , HUANG Panling , et al. Algorithm and error analysis of tool geometric parameters detection based on machine vision[J]. Journal of Shandong University (Engineering Science), 2017, 47 (4): 78- 82.
13 周策策. 基于机器视觉的螺纹参数测量系统[D]. 天津: 天津大学, 2015.
ZHOU Cece. Thread parameter measuring system based on machine vision[D]. Tianjin: Tianjin University, 2015.
14 于梦竹. 基于亚像素边缘检测的图像放大算法研究与实现[D]. 哈尔滨: 哈尔滨工程大学, 2013.
YU Mengzhu. Research on image magnification algorithm based on sub-pixel edge detection[D]. Harbin: Harbin Engineering University, 2013.
15 厉超. 三米滚珠丝杠螺距精度动态测量系统研究[D]. 济南: 山东大学, 2007.
LI Chao. Study on dynamic measurement system of pitch precision of 3-meter ball screw[D]. Jinan: Shandong University, 2007.
[1] Huailei SONG,Zhonghu WU,Liping LI,Yili LOU,Wenjibin SUN,Hao LIU,Yujun ZUO. Influence of calcite veins on shale anisotropy at the microscopic scale based on digital images [J]. Journal of Shandong University(Engineering Science), 2021, 51(5): 91-99, 106.
[2] LI Peng, LIU Zhaoqiang, YANG Fengling, LIU Xin. Operating characteristics of oil-free twin-screw air compressor [J]. Journal of Shandong University(Engineering Science), 2021, 51(4): 84-90.
[3] Baocheng LIU,Yan PIAO,Xuemei SONG. Adaptive fusion target tracking based on joint detection [J]. Journal of Shandong University(Engineering Science), 2020, 50(3): 51-57.
[4] Shiqi SONG,Yan PIAO,Zexin JIANG. Vehicle classification and tracking for complex scenes based on improved YOLOv3 [J]. Journal of Shandong University(Engineering Science), 2020, 50(2): 27-33.
[5] ZHANG Xianhong, ZHANG Chunrui. Image enhancement algorithm based on six dimensional feedforward neural network model [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2018, 48(4): 10-19.
[6] HOU Qiulin, SUN Jie, HUANG Panling, SUN Chao, MOU Wenping. Algorithm and error analysis of tool geometric parameters detection based on machine vision [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2017, 47(4): 77-82.
[7] MENG Lingheng, DING Shifei. Depth perceptual model based on the single image [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2016, 46(3): 37-43.
[8] QIU Xiaoxin1,2, ZHANG Wenqiang1,2*, QIN Jinxian1,2, DU Zhengyang1,2, ZHANG Defeng1,2. Multi-target real-time tracking method under harsh environment [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2014, 44(2): 21-27.
[9] PAN Sheng-min1,2, ZHONG Yi1*, WANG Jian-hua2. Edge detection of extruded billet based on improved Canny operator [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2013, 43(5): 19-23.
[10] XU Shan-shan, LIU Ying-an*, XU Sheng. Wood defects recognition based on the convolutional neural network [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2013, 43(2): 23-28.
[11] WANG Yu-ying1, ZHANG Xi-zhong2, YANG Sen2. Morphological color image processing based on new ranking and
soft multi-structural elements
[J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2011, 41(2): 18-22.
[12] LI Yue-Yang, WANG Shi-Tong. An impulse noise filtering algorithm based on a robust neuro-fuzzy network [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2010, 40(5): 164-170.
[13] GUAN Yan-hua1,2, MIAO Hai-tao2, SONG Xiu-guang2. Study of the anchoring parameter for the hybrid bonding of FRP [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2010, 40(3): 128-132.
[14] GUAN Yan-hua1,2, JIANG Bin-song1, SONG Xiu-guang2, YANG Yong3. Experimental study on RC beams strengthened in shear  with  hybrid bonding of FRP [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2010, 40(2): 82-87.
[15] . [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2009, 39(1): 27-32.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] YU Jia yuan1, TIAN Jin ting1, ZHU Qiang zhong2. Computational intelligence and its application in psychology[J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2009, 39(1): 1 -5 .
[2] DENG Bin,WANG Jiang . Estimating parameters of a neuron model based on chaos synchronization and adaptive control[J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2007, 37(5): 19 -23 .
[3] GAO Hou-Lei, TIAN Jia, DU Jiang, WU Zhi-Gang, LIU Chu-Min. Distributed generation—new technology in energy development[J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2009, 39(5): 106 -110 .
[4] ZHANG Jianming, LIU Quansheng, TANG Zhicheng, ZHAN Ting, JIANG Yalong. New peak shear strength criterion with inclusion of shear action history[J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 0, (): 77 -81 .
[5] LEI Xiao-feng1, ZHUANG Wei1, CHENG Yu1, DING Shi-fei1, XIE Kun-qing2. OPHCLUS:An order-preserving based hierarchical clustering algorithm[J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2010, 40(5): 48 -55 .
[6] WANG Jun-guang, LIANG Bing. Investigation on triaxial creep claystone under pore pressure[J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2009, 39(3): 135 -138 .
[7] ZHANG Bo,LI Shu-cai,YANG Xue-ying,WANG Xi-ping,ZHANG Dun-fu . Numerical analysis on the stability of a rocksalt roadbed with two circular cavities [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2008, 38(1): 66 -69 .
[8] . [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2009, 39(1): 96 -101 .
[9] LIU Guo-cai, LIU Yu-chang, JU Pei-jun. A new delay-dependent global asymptotic stability forneural networks with time-varying delays[J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2010, 40(4): 53 -56 .
[10] LI Hai-Dong, TIAN Lan, LI Shu-Chen. Design and implementation of a tunnel detector based on  the two time-difference method[J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2009, 39(4): 74 -77 .