首页|期刊导航|机电工程技术|基于DEEW-YOLO的焊缝X射线图像缺陷检测方法

基于DEEW-YOLO的焊缝X射线图像缺陷检测方法OA

Weld X-ray Image Defect Detection Algorithm Based on DEEW-YOLO

中文摘要英文摘要

在焊接过程中因受生产工艺、焊接环境等因素的影响,压力容器内会出现不同程度的焊缝缺陷,会影响焊接结构的力学性能和使用寿命.通过使用深度学习方法来实现焊缝 X 射线缺陷的自动识别,利用卷积神经网络(Convolutional Neural Networks,CNNs)自适应地提取出焊缝缺陷信息,能高效且准确地辨别出不同类型的焊缝缺陷,且可以消减人为因素造成的主观影响.但是目前大多数深度学习模型对于焊缝缺陷的检测精度仍存在误检、漏检以及微小缺陷识别率较低的问题,在此基础之上,提出一种基于 YOLOv8n 改进的 DEEW-YOLO 焊缝缺陷检测算法.将细节增强卷积(Detail-Enhanced Convolution,DEConv)与跨阶段特征融合模块(Faster Implementation of CSP Bottleneck with 2 Convolutions,C2f)相结合组成DEConv_C2f,以提高对焊缝局部细节的捕捉能力和优化特征表达;同时引入 ECA 注意力机制于关键网络层之中,提高模型对跨通道信息的捕捉能力;再者使用 WIoU 损失函数,保障高质量锚框与低质量锚框贡献间的平衡关系,并提高模型对边界框预测精度.DEEW-YOLO 模型在5个常见焊缝缺陷的m AP@0.5、Precision、Recall和FPS参数分别达到59.7%、69.0%、58.9%、144.9 f/s,显著优于原始YOLOv8n模型的性能.

During welding processes,various defects may occur in pressure vessels due to production techniques and environmental factors,which can compromise the mechanical properties and service life of welded structures.By employing deep learning methods for automated X-ray defect detection,convolutional neural networks(CNNs)can adaptively extract defect information,enabling efficient identification of different weld defect types while reducing human-induced subjective biases.However,most current CNN models still face challenges such as false positives,missed detections,and low recognition rates for minor defects.To address these issues,the DEEW-YOLO algorithm—an enhanced version of YOLOv8n for weld defect detection is proposed.The DEConv_C2f module integrates Detail-Enhanced Convolution(DEConv)with a two-convolution faster implementation of CSP bottleneck(C2f)to improve local detail capture and feature representation.Additionally,the ECA attention mechanism is incorporated into critical network layers to enhance cross-channel information capture.The WIoU loss function ensures balanced contributions between high-quality and low-quality anchor boxes while improving boundary prediction accuracy.The DEEW-YOLO model achieved mAP@0.5,Precision,Recall and FPS parameters of 59.7%,69.0%,58.9%and 144.9 f/s respectively,significantly outperforming the original YOLOv8n model.

李聚龙;陈科鹏;李大红;晏涛

湖北文理学院 机械工程学院,湖北 襄阳 441053||智能制造与机器视觉襄阳市重点实验室,湖北 襄阳 441053湖北文理学院 机械工程学院,湖北 襄阳 441053||智能制造与机器视觉襄阳市重点实验室,湖北 襄阳 441053中国化学工程第六建设有限公司,湖北 襄阳 441053湖北文理学院 机械工程学院,湖北 襄阳 441053||智能制造与机器视觉襄阳市重点实验室,湖北 襄阳 441053

信息技术与安全科学

X射线图像焊缝缺陷YOLOv8n深度学习

X-ray imageweld defectsYOLOv8ndeep learning

《机电工程技术》 2026 (11)

52-58,81,8

10.3969/j.issn.1009-9492.2026.11.009

评论