Stamping part surface crack detection based on machine vision

IF 5.2 2区 工程技术 Q1 ENGINEERING, MULTIDISCIPLINARY
Xiaokang Ma , Zhengshui Kang , Chenghan Pu , Ziyu Lin , Muyuan Niu , Jun Wang
{"title":"Stamping part surface crack detection based on machine vision","authors":"Xiaokang Ma ,&nbsp;Zhengshui Kang ,&nbsp;Chenghan Pu ,&nbsp;Ziyu Lin ,&nbsp;Muyuan Niu ,&nbsp;Jun Wang","doi":"10.1016/j.measurement.2025.117168","DOIUrl":null,"url":null,"abstract":"<div><div>Cracks are the most common defects on the surface of stamping parts. Given the complex and varied structures of automotive stamping parts and their highly reflective surfaces, the current state-of-the-art methods lack effective automated inspection systems capable of precise online detection. Consequently, the identification of surface cracks in stamping parts on active stamping lines predominantly relies on manual visual inspection. However, this method is subjective, inefficient, and insufficient to meet the requirements for higher accuracy and detection rates. Therefore, this paper proposes a stamping part surface crack detection system based on machine vision. By devising an image acquisition module, high-resolution images of stamping parts are captured. Considering the strong reflectivity of the stamping part surface, an innovative gray-based contrast enhancement algorithm is proposed to adaptively balance the image contrast by comparing the grayscale values of the local window with the global image. To precisely locate and detect cracks, we design a novel crack online detection network (COD-Net), which is based on YOLOv9 as the backbone to improve detection efficiency and accuracy. This network incorporates the multi-scale crack attention (MCA) mechanism to obtain richer semantic information and more accurate feature representation. Notably, the crack detection context decoupling (CDCD) head is exploited in the detection head to improve localization accuracy and convergence speed. Moreover, we propose the CD-Loss, which introduces <span><math><mi>α</mi></math></span>-WIoU in the detection box loss function to enhance model performance and speed up convergence. Our method significantly improves recall and achieves an [email protected] of 99.3% on the test set compared with other state-of-the-art methods. Furthermore, our detection system has been successfully applied to an automotive stamping lines.</div></div>","PeriodicalId":18349,"journal":{"name":"Measurement","volume":"251 ","pages":"Article 117168"},"PeriodicalIF":5.2000,"publicationDate":"2025-03-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Measurement","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0263224125005275","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Cracks are the most common defects on the surface of stamping parts. Given the complex and varied structures of automotive stamping parts and their highly reflective surfaces, the current state-of-the-art methods lack effective automated inspection systems capable of precise online detection. Consequently, the identification of surface cracks in stamping parts on active stamping lines predominantly relies on manual visual inspection. However, this method is subjective, inefficient, and insufficient to meet the requirements for higher accuracy and detection rates. Therefore, this paper proposes a stamping part surface crack detection system based on machine vision. By devising an image acquisition module, high-resolution images of stamping parts are captured. Considering the strong reflectivity of the stamping part surface, an innovative gray-based contrast enhancement algorithm is proposed to adaptively balance the image contrast by comparing the grayscale values of the local window with the global image. To precisely locate and detect cracks, we design a novel crack online detection network (COD-Net), which is based on YOLOv9 as the backbone to improve detection efficiency and accuracy. This network incorporates the multi-scale crack attention (MCA) mechanism to obtain richer semantic information and more accurate feature representation. Notably, the crack detection context decoupling (CDCD) head is exploited in the detection head to improve localization accuracy and convergence speed. Moreover, we propose the CD-Loss, which introduces α-WIoU in the detection box loss function to enhance model performance and speed up convergence. Our method significantly improves recall and achieves an [email protected] of 99.3% on the test set compared with other state-of-the-art methods. Furthermore, our detection system has been successfully applied to an automotive stamping lines.
基于机器视觉的冲压件表面裂纹检测
裂纹是冲压件表面最常见的缺陷。考虑到汽车冲压件的复杂多变的结构及其高反射表面,目前最先进的方法缺乏能够精确在线检测的有效自动检测系统。因此,在主动冲压生产线上冲压件表面裂纹的识别主要依赖于人工目视检查。但是,这种方法比较主观,效率不高,无法满足更高的准确率和检出率的要求。为此,本文提出了一种基于机器视觉的冲压件表面裂纹检测系统。通过设计图像采集模块,采集冲压件的高分辨率图像。针对冲压件表面反射率较强的特点,提出了一种基于灰度的对比度增强算法,通过比较局部窗口与全局图像的灰度值,自适应平衡图像对比度。为了精确定位和检测裂缝,我们设计了一种新的裂缝在线检测网络(COD-Net),该网络以YOLOv9为骨干,提高了检测效率和精度。该网络采用多尺度裂缝注意(MCA)机制,以获得更丰富的语义信息和更准确的特征表示。值得注意的是,在检测头中利用了裂纹检测上下文解耦(CDCD)头,提高了定位精度和收敛速度。此外,我们提出了CD-Loss,在检测盒损失函数中引入α-WIoU,以提高模型性能并加快收敛速度。与其他最先进的方法相比,我们的方法显著提高了召回率,在测试集上达到了99.3%的[email protected]。此外,我们的检测系统已成功应用于汽车冲压生产线。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Measurement
Measurement 工程技术-工程:综合
CiteScore
10.20
自引率
12.50%
发文量
1589
审稿时长
12.1 months
期刊介绍: Contributions are invited on novel achievements in all fields of measurement and instrumentation science and technology. Authors are encouraged to submit novel material, whose ultimate goal is an advancement in the state of the art of: measurement and metrology fundamentals, sensors, measurement instruments, measurement and estimation techniques, measurement data processing and fusion algorithms, evaluation procedures and methodologies for plants and industrial processes, performance analysis of systems, processes and algorithms, mathematical models for measurement-oriented purposes, distributed measurement systems in a connected world.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信