Abstract:In order to detect the dimensional quality of bolts, a comprehensive quality inspection algorithm with the actual edge profile was proposed. The algorithm starts with designing tolerance zone diagrams for bolt dimension as template diagrams according to the tolerance requirements on bolt drawing. Then performing preprocessing to bolt images, including three-piecewise linear grayscale enhancement, median filtering, and maximum inter-class variance, etc. Further rotating the bolt images to a horizontal position and performing canny edge detection, cropping the bolt images and the template images to obtain a binary image with the same position, size and white edge contour. Finally, carrying out image addition operation to the processed bolt images and template images. Whether the overall size of the bolt is qualified can be determined by comparing the number of white pixels of the template images and the images after image operation. Furthermore, a discrete sequence diagram detection method was proposed to realize the comprehensive dimensional quality detection of bolts all around.
[1] 孔德才, 张永军, 韩静涛. 不锈钢紧固件的生产技术[C]//第六届华北(扩大)塑性加工学术年会文集. 2009: 310-316.
[2] Khalili K, Vahidnia M. Improving the Accuracy of Crack Length Measurement Using Machine Vision[J]. Procedia Technology, 2015, 19(3):48-55.
[3] Giuseppe Di Leo, Consolatina Liguori, Antonio Pietrosanto, et al. A vision system for the online quality monitoring of industrial manufacturing[J]. Optics and Lasers in Engineering, 2017, 89: 162-168.
[4] 杨仁民, 郑洲, 陈斌, 等. 基于机器视觉的零件特征尺寸提取算法[J]. 包装工程, 2017, 38(9): 151-156.
Yang R M, Zheng Z, Chen B, et al. A part feature size extraction algorithm based on machine vision[J]. Packaging Engineering, 2017, 38(9): 151-156.
[5] 王爱珍. 基于机器视觉的低对比度物体二维尺寸测量方法的研究[D]. 西安: 西安理工大学, 2019.
[6] 李慧德. 基于机器视觉的在线尺寸测量方法研究[D]. 天津: 天津理工大学, 2014.
[7] 蒋汉荣. 对尺寸公差带和位置公差带的理解和区分─谈定位极限尺寸确定的公差带[J]. 机械工艺师, 1995,(12): 4-6.
Jang H R. Understanding and distinguishing of dimensional tolerance zones and position tolerance zones-Discussion on tolerance zones determined by location limit dimensions[J]. Mechanical Technologist, 1995,(12): 4-6.
[8] 高路. 公差带图在尺寸公差与配合教学中的应用[J]. 吉林化工学院学报, 2011, 28(12): 45-48.
Gao L. Application of tolerance zone diagram in teaching of dimensional tolerance and fit[J]. Journal of Jilin Institute of Chemical Technology, 2011, 28(12): 45-48.
[9] 徐兴波. 基于机器视觉的轴类零件尺寸测量系统的研制[D]. 武汉: 华中科技大学, 2015.
[10] 王浩军, 张圃, 杨燕. 基于自适应灰度三段线性变换的医学CT序列图像增强[J]. 电子世界, 2017,(15): 107-109.
Wang H J, Zhang P, Yang Y, et al. Medical CT image enhancement based on adaptive gray-level three-segment lineartransformation[J]. ElectronicWorld, 2017(15): 107-109.
[11] Bao N S, Wu Z F, Ran X, et al. Research on machine vision size measurement method based on particle weight[C]// 2017 IEEE 2nd Information Technology, Networking, Electronic and Automation Control Conference. Chengdu, China, 2017.
[12] 丁双,任国营,张福民,等. 改进的穿线法的卡尺图像识别[J]. 计量学报, 2019, 40(5): 765-769.
Ding S,Ren GY,Zhang F M,et al. Improved Threading Method for Caliper Image Recognition[J].Acta Metrologica Sinica, 2019, 40(5): 765-769.
[13] 朱力强, 王春薇, 王耀东,等. 基于特征点集距离描述的裂缝图像匹配算 法研究[J]. 仪器仪表学报, 2016, 37(12): 2851-2858.
Zhu L Q, Wang C W, Wang Y D, et al. Research on crack image matching algorithm based on feature point set distance description[J]. Chinese Journal of Scientific Instrument, 2016, 37(12): 2851-2858.
[14] Gao H, Gao T G, Cheng R H. Robust detection of median filtering based on data-pair histogram feature and local configuration pattern[J]. Journal of Information Security and Applications, 2020, 53:102506.
[15] 包能胜, 方海涛. 连续运动螺纹尺寸自适应机器视觉检测[J]. 计量学报, 2020, 41(9): 1062-1069.
Bao N S, Fang H T. Continuously moving thread size adaptive machine vision detection[J]. Acta Metrologica Sinica, 2020, 41(9): 1062-1069.
[16] GB/T 3106-2016. 紧固件 螺栓、螺钉和螺柱 公称长度和螺纹长度[S].
[17] Yang Z F, Bai J Y. Vial bottle mouth defect detection based on machine vision[C]//2015 IEEE Intermational Conference on Information and Automation. Lijiang: 2015: 2638-2642.
[18] 邢雪亮, 甘文波, 蒋朝根. 基于机器视觉的航空铆钉尺寸检测技术[J]. 计量学报, 2020, 41(5): 518-523.
Xing X L, Gan W B, Jiang C G. Aerospace rivet size detection technology based on machine vision[J]. Acta Metrologica Sinica, 2020, 41(5): 518-523.
[19] Zhimuleva E S, Zavyalov P S, Kravchenko M S. Development of Telecentric Objectives for Dimensional Inspection Systems[J]. Optoelectronics Instrumentation & Data Processing, 2018, 54(1): 52-60.