基于改进YOLO v8n的聚乙烯管道焊缝检测算法研究与应用OA
Study on enhanced YOLOv8n algorithm for detecting weld defects in polyethylene pipelines
在YOLO v8的基础上提出了一种改进的焊缝缺陷目标检测算法FWD-YOLO,在backbone部分替换了Conv和C2f模块,Neck部分调用动态采样模块DySample来增强模型对变形和复杂背景的适应能力,同时调入多层通道注意力机制实现多尺度特征融合,并优化了模型的损失函数.通过验证,在工厂现场采集的包含9个缺陷特征的焊缝缺陷数据集上,改进的FWD-YOLO与基线YOLO v8n相比,mAP@50提升了4.8%,达到73.3%,召回率提升了3%,参数量降低22.4%,浮点运算速度降低42.6%;且与YOLO v5n、YOLO v6n、YOLO v9t、YOLO v10n、YOLO 11n及YOLO 12n等基线模型相比,精度均有一定提升;该改进模型能够为聚乙烯管道焊缝的质量检测提供一种高效、可靠的解决方案,为管道系统的安全运行提供了技术支持.
Detecting weld defects in polyethylene pipelines remains challenging due to low defect visibility,complex back-ground interference,and high variability in defect morphology as factors that traditionally necessitate extensive human ex-pertise.To address these limitations,this study presents FWD-YOLO,an improved object detection model based on YOLOv8n,specifically tailored for weld defect inspection.Key enhancements include:(1)replacing the standard Conv and C2f modules in the backbone with more efficient alternatives;(2)integrating the dynamic sampling module DySam-ple into the neck to improve robustness against geometric deformations and cluttered backgrounds;(3)introducing a multi-layer channel attention mechanism to facilitate effective multi-scale feature fusion;and(4)optimizing the loss func-tion to better balance precision and recall.Evaluated on a self-constructed dataset encompassing nine distinct defect cate-gories,FWD-YOLO achieves a 4.8%absolute improvement in mAP@50(reaching 73.3%),a 3%gain in recall,while simultaneously reducing model parameters by 22.4%and floating-point operations(FLOPs)by 42.6%com-pared to the original YOLOv8n.Furthermore,FWD-YOLO outperforms other lightweight YOLO variants,including YOLOv5n,YOLOv6n,YOLOv9t,YOLOv10n,YOLOv11n,and YOLOv12n,in terms of detection accuracy.These results demonstrate that FWD-YOLO offers an efficient,accurate,and deployable solution for automated quality inspection of polyethylene pipeline welds,thereby contributing to the safe and reliable operation of pipeline infrastructure.
郄继春;王振超;徐璐;尤启江;张士军;陆剑峰
罗森博格(无锡)管道技术有限公司,江苏 无锡 214161||同济大学电子与信息工程学院,上海 201804罗森博格(无锡)管道技术有限公司,江苏 无锡 214161||江南大学机械工程学院,江苏 无锡 214122罗森博格(无锡)管道技术有限公司,江苏 无锡 214161罗森博格(无锡)管道技术有限公司,江苏 无锡 214161罗森博格(无锡)管道技术有限公司,江苏 无锡 214161同济大学电子与信息工程学院,上海 201804
化学化工
聚乙烯对接焊缝缺陷检测图像识别YOLO v8n模型改进
polyethylene buttfusion jointdefect detectionimage recognitionYOLO v8nmodel improvement
《中国塑料》 2026 (3)
48-55,8
评论