基于YOLO-MPW模型的管道焊缝射线底片标志智能识别方法

An intelligent recognition method for marks on radiographs of pipeline welds based on the YOLO-MPW model

  • 摘要:
    目的 长输油气管道环焊缝射线底片是完整性评价与风险管控的核心依据,底片上的焊缝序列号、依据标准、焊缝位置标记等标志信息必须实现数字化归档。传统人工判读方式工作量大、效率低、成本高,且易因视觉疲劳导致漏判、误判,亟需研发一套兼顾识别精度与模型轻量化的智能识别方法。
    方法 以YOLO(You Only Look Once)v11n为基准模型,构建面向焊缝底片标志检测的YOLO-MPW(You Only Look Once for the Marks of Pipeline Weld radiographs)模型,并实施3项关键改进:①设计卷积门控线性单元转换器CF-CGLU(ConvFormer with Convolutional Gated Linear Unit),并嵌入C3k2模块,再利用门控机制动态分配特征权重,强化对关键字符区域的响应,抑制背景及遮挡噪声;②设计了轻量化检测头LDH(Lightweight Detection Head),采用深度可分离卷积替代标准卷积,在保持精度的同时,显著减少模型参数、降低复杂度;③引入采样算子CARAFE(Content-Aware ReAssembly of FEatures),增强了YOLO-MPW模型对重要特征的响应、特征图语义信息的利用。
    结果 以中国南方某油气管道焊缝射线底片为数据集进行训练验证,与YOLOv11n基准模型相比,YOLO-MPW模型的平均精度均值(mean Average Precision, mAP)mAP@0.50提升2.5%,参数量、计算量分别降低17.2%、18.2%;与RT-DETR(Real-Time Detection Transformer)、YOLOv3tiny、YOLOv5n等9种主流模型相比,YOLO-MPW模型在精度、参数量、计算复杂度3个方面均实现了最优,在重叠、遮挡、翻转等复杂工况下漏检率更低,且对目标边缘及不规则形状区域关注更均匀。
    结论 YOLO-MPW模型在管道焊缝射线底片标志识别中实现了“高精度+超轻量”协同突破,可满足现场实时检测需求,为管道完整性数字化管理提供了可复制的技术路径,可应用于油气站场、炼化装置、船舶焊缝等工业影像目标检测场景,具有极好的工程推广价值。

     

    Abstract:
    Objective Radiographs of girth welds in long-distance oil and gas pipelines are the core basis for integrity assessment and risk management. Marks on these radiographs—such as weld serial numbers, applicable standards, and weld positions—must be digitally archived. Traditional manual interpretation is labor-intensive, inefficient, costly, and prone to errors due to visual fatigue. Therefore, developing an intelligent, accurate, and lightweight recognition method is imperative.
    Methods Based on YOLO (You Only Look Once) v11n as the baseline model, a YOLO-MPW (You Only Look Once for the Marks of Pipeline Weld Radiographs) model was constructed for mark detection on weld radiographs, with three key improvements implemented: (1) A ConvFormer with Convolutional Gated Linear Unit (CF-CGLU) was designed and embedded into the C3k2 module. The gating mechanism was applied to dynamically allocate feature weights, enhance responses to key character regions, and suppress background and occlusion noise. (2) A Lightweight Detection Head (LDH) was designed, in which depthwise separable convolutions were used to replace standard convolutions, resulting in significant reductions in model parameters and complexity while the accuracy was maintained. (3) The Content-Aware ReAssembly of FEatures (CARAFE) sampling operator was introduced to enhance the model’s response to important features and improve the utilization of semantic information in feature maps.
    Results Using weld radiographs from a southern China oil and gas pipeline for training and validation, the YOLO-MPW model improved the mean Average Precision (mAP@0.50) by 2.5% compared to the YOLOv11n baseline model, while reducing parameter count and computational load by 17.2% and 18.2%, respectively. Against nine mainstream models—including RT-DETR (Real-Time Detection Transformer), YOLOv3tiny, and YOLOv5n—YOLO-MPW achieved the best performance in terms of accuracy, parameter count, and computational load, as well as lower missed-detection rates under challenging conditions such as overlapping, occlusion, and flipping, with more consistent attention to target edges and irregular shapes.
    Conclusion The YOLO-MPW model achieves a coordinated breakthrough in “high accuracy + ultra-lightweight” recognition of pipeline weld radiograph marks. It supports real-time on-site detection, offers a replicable technical solution for digital pipeline integrity management, and demonstrates robust engineering applicability across industrial imaging scenarios such as oil and gas stations, refining and chemical plants, and ship weld inspections.

     

/

返回文章
返回