智能计算机与应用2025,Vol.15Issue(1) :211-216,封3.DOI:10.20169/j.issn.2095-2163.250131

基于YOLOv5的轻量化管道漏磁信号检测

Lightweight magnetic leakage signal detection of pipelines based on YOLOv5

柴万昊 杨弘道 朱康 梁君华 卿粼波 吴晓红
智能计算机与应用2025,Vol.15Issue(1) :211-216,封3.DOI:10.20169/j.issn.2095-2163.250131

基于YOLOv5的轻量化管道漏磁信号检测

Lightweight magnetic leakage signal detection of pipelines based on YOLOv5

柴万昊 1杨弘道 2朱康 1梁君华 2卿粼波 1吴晓红1
扫码查看

作者信息

  • 1. 四川大学 电子信息学院,成都 610065
  • 2. 达州帝泰克检测设备有限公司,四川 达州 635000
  • 折叠

摘要

石油天然气主要通过管道的方式进行运输,而油气管道会因各种内外因素导致缺陷的产生.为了实现对管道缺陷分布的精确定位,并且易于在边缘端进行部署,本文改进了YOLOv5 网络.为了降低网络参数量,将YOLOv5 的主干网络替换成更加轻量化的MobileNetv3,并且优化了部分卷积的通道数;为了充分利用到真实框和预测框之间向量角度等信息,将SIoU作为YOLOv5 的损失函数;最后将CARAFE上采样算子引入网络中,来获取较大的感受野.结果表明,改进后的算法相较于原始算法,参数量减少了 79.8%,模型大小减少了 77.4%,mAP提高了 0.8%,在轻量化的同时提升了检测精度.

Abstract

Oil and gas are mainly transported through pipelines,while oil and gas pipelines may cause defects due to various internal and external factors.In order to accurately locate the distribution of pipeline defects and facilitate deployment at the edge,the YOLOv5 network was improved in this paper.Firstly,in order to reduce the number of network parameters,the backbone network of YOLOv5 is replaced by the more lightweight MobileNetv3,and the number of channels of partial convolution is optimized.Then,in order to make full use of information such as vector Angle between the real box and the predicted box,SIoU is used as the loss function of YOLOv5.Finally,the CARAFE up-sampling operator is introduced into the network to obtain a large receptive field.The results show that compared with the original algorithm,the parameters of the improved algorithm are reduced by 79.8%,the model size is reduced by 77.4%,and the mAP is increased by 0.8%,which improves the detection accuracy as well as the lightweight.

关键词

油气管道/漏磁信号/YOLOv5/轻量化

Key words

oil and gas pipelines/magnetic leakage signal/YOLOv5/Lightweight

引用本文复制引用

出版年

2025
智能计算机与应用
哈尔滨工业大学

智能计算机与应用

影响因子:0.357
ISSN:2095-2163
段落导航相关论文