中国机械工程 ›› 2025, Vol. 36 ›› Issue (09): 2150-2157.DOI: 10.3969/j.issn.1004-132X.2025.09.027
邢海燕1(
), 武雪缘1, 蔡智会2, 赵力伟2(
), 苏田1, 韩晴1
收稿日期:2024-07-24
出版日期:2025-09-25
发布日期:2025-10-15
通讯作者:
赵力伟
作者简介:邢海燕,女,1971年生,教授、博士研究生导师。研究方向为电磁无损检测与可靠性评价、设备健康监测与故障诊断。发表论文50余篇。E-mail:xxhhyyhit@163.com基金资助:
Haiyan XING1(
), Xueyuan WU1, Zhihui CAI2, Liwei ZHAO2(
), Tian SU1, Qing HAN1
Received:2024-07-24
Online:2025-09-25
Published:2025-10-15
Contact:
Liwei ZHAO
摘要:
针对油气管道磁记忆信号特征自动提取及缺陷等级定量识别难题,提出一种结合残差神经网络和图神经网络的多模态融合模型即ResGNNet模型。采用金属磁记忆检测仪采集L245N管线钢不同深度缺陷的磁记忆原始信号。为实现特征的自动提取,保留原始磁记忆信号的完整信息并考虑样本之间的相互关系,利用K近邻-动态时间规整将原始信号转换成节点图,并利用格拉姆角场将原始信号转换成二维图像。设计的图神经网络、残差神经网络可分别自动提取一维信号和二维图像的嵌入特征向量。融合多模态嵌入特征向量经多头自注意力机制加权筛选后,输入Softmax分级模块,完成缺陷等级识别。模型验证结果表明,管道缺陷等级定量识别的准确率达到93%。
中图分类号:
邢海燕, 武雪缘, 蔡智会, 赵力伟, 苏田, 韩晴. 基于ResGNNet多模态融合的油气管道缺陷等级磁记忆定量识别[J]. 中国机械工程, 2025, 36(09): 2150-2157.
Haiyan XING, Xueyuan WU, Zhihui CAI, Liwei ZHAO, Tian SU, Qing HAN. Quantitative Identification of Oil and Gas Pipeline Defect Levels Based on Magnetic Memory Using ResGNNet Multi-modal Fusions[J]. China Mechanical Engineering, 2025, 36(09): 2150-2157.
| 检测方向 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| 峰峰值Hpp/(A·mm-1) | 28.1 | 11.6 | 21.2 | 36.3 |
| 检测方向 | 5 | 6 | 7 | 8 |
| 峰峰值Hpp/(A·mm-1) | 26.5 | 9.8 | 22.9 | 34.5 |
表1 同一缺陷8个检测方向的磁场切向分量峰峰值
Tab.1 Peak-to-peak values of the tangential component of the magnetic field for the same defect in 8 detection directions
| 检测方向 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| 峰峰值Hpp/(A·mm-1) | 28.1 | 11.6 | 21.2 | 36.3 |
| 检测方向 | 5 | 6 | 7 | 8 |
| 峰峰值Hpp/(A·mm-1) | 26.5 | 9.8 | 22.9 | 34.5 |
| 网络层 | 输入通道 | 输出通道 | 输出特征图尺寸 |
|---|---|---|---|
| Conv2d | 3 | 16 | 75×75×16 |
| Maxpool | 38×38×16 | ||
| Resblock1 | 16 | 32 | 19×19×32 |
| Resblock2 | 32 | 64 | 10×10×64 |
| Resblock3 | 64 | 128 | 5×5×128 |
| Avgpool | 128 | ||
| GConv1 | 320 | 320 | 320 |
| GConv2 | 320 | 128 | 128 |
| Concat | 256 | ||
| MultiHead | 256 | ||
| FC Layer | 3 | ||
| Softmax | 3 |
表 2 ResGNNet模型的主要参数
Tab.2 Main parameters of ResGNNet model
| 网络层 | 输入通道 | 输出通道 | 输出特征图尺寸 |
|---|---|---|---|
| Conv2d | 3 | 16 | 75×75×16 |
| Maxpool | 38×38×16 | ||
| Resblock1 | 16 | 32 | 19×19×32 |
| Resblock2 | 32 | 64 | 10×10×64 |
| Resblock3 | 64 | 128 | 5×5×128 |
| Avgpool | 128 | ||
| GConv1 | 320 | 320 | 320 |
| GConv2 | 320 | 128 | 128 |
| Concat | 256 | ||
| MultiHead | 256 | ||
| FC Layer | 3 | ||
| Softmax | 3 |
| 检测方向 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| 准确率/% | 92.85 | 86.66 | 94.66 | 100.00 |
| 检测方向 | 5 | 6 | 7 | 8 |
| 准确率/% | 92.31 | 87.50 | 93.75 | 96.44 |
表 3 不同检测方向缺陷等级识别准确率对比
Tab.3 Comparison of defect level identification accuracy in different detection directions
| 检测方向 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| 准确率/% | 92.85 | 86.66 | 94.66 | 100.00 |
| 检测方向 | 5 | 6 | 7 | 8 |
| 准确率/% | 92.31 | 87.50 | 93.75 | 96.44 |
| 精确率 | 召回率 | F1分数 | |
|---|---|---|---|
| Ⅰ级缺陷 | 95.74 | 93.75 | 94.74 |
| Ⅱ级缺陷 | 91.67 | 91.67 | 91.67 |
| Ⅲ级缺陷 | 84.62 | 91.67 | 88.00 |
| 宏平均 | 90.68 | 92.36 | 91.47 |
表4 模型分级识别性能评估 (%)
Tab.4 Model hierarchical recognition performance evaluation
| 精确率 | 召回率 | F1分数 | |
|---|---|---|---|
| Ⅰ级缺陷 | 95.74 | 93.75 | 94.74 |
| Ⅱ级缺陷 | 91.67 | 91.67 | 91.67 |
| Ⅲ级缺陷 | 84.62 | 91.67 | 88.00 |
| 宏平均 | 90.68 | 92.36 | 91.47 |
| 准确率 | ResNet | GNN | ResGNNet |
|---|---|---|---|
| 训练集 | 90.12 | 93.26 | 99.99 |
| 测试集 | 72.85 | 78.96 | 93.33 |
表 5 不同模型分级识别准确率 (%)
Tab.5 Different model classification recognition accuracy
| 准确率 | ResNet | GNN | ResGNNet |
|---|---|---|---|
| 训练集 | 90.12 | 93.26 | 99.99 |
| 测试集 | 72.85 | 78.96 | 93.33 |
| [1] | DUBOV A A. A Study of Metal Properties Using the Method of Magnetic Memory[J]. Metal Science and Heat Treatment, 1997, 39(9):401-405. |
| [2] | 苏三庆,高志刚,王威. 受拉钢丝应力状态的磁记忆信号峰峰值判别技术[J]. 西安建筑科技大学学报(自然科学版), 2018, 50(2):155-161. |
| SU Sanqing, GAO Zhigang, WANG Wei. Discrimination of Stress Stage about Steel Wire under Tension Based on Peak-peak Difference Value of Magnetic Memory Signals[J]. Journal of Xi’an University of Architecture and Technology, 2018, 50(2):155-161. | |
| [3] | 赵秉勋. 腐蚀-力-磁耦合模型及金属应力腐蚀的磁记忆方法研究[D]. 北京:北京交通大学, 2022. |
| ZHAO Bingxun. Research on corrosion-stress-magnetic coupling model and stress corrosion of metal based on magnetic memory method[D]. Beijing:Beijing Jiaotong University, 2022. | |
| [4] | 湛立宁, 卢俊文, 王肖逸, 等. 非接触式磁应力检测技术在埋地管道腐蚀评价中的应用[J]. 管道技术与设备, 2023(1):46-50. |
| ZHAN Lining, LU Junwen, WANG Xiaoyi, et al. Application of Non-contact Magnetic Stress Detection Technology in Corrosion Evaluation of Buried Pipelines[J]. Pipeline Technique and Equipment, 2023(1):46-50. | |
| [5] | 焦杨. 非接触式磁记忆检测技术在埋地管道上的应用[J]. 全面腐蚀控制, 2017, 31(11):23-25. |
| JIAO Yang. Application of Non Contact Magnetic Memory Testing Technology in Buried Pipeline[J]. Total Corrosion Control, 2017, 31(11):23-25. | |
| [6] | 石明江, 陈瑞, 冯林. 基于磁记忆的金属管道缺陷检测方法[J]. 电子测量与仪器学报, 2022, 36(1):44-53. |
| SHI Mingjiang, CHEN Rui, FENG Lin. Metal Pipeline Defect Detection Method Based on Magnetic Memory[J]. Journal of Electronic Measurement and Instrumentation, 2022, 36(1):44-53. | |
| [7] | 万勇, 王宇, 杨勇, 等. 管道缺陷类型多特征量阈值识别方法[J]. 油气储运, 2020, 39(3):268-276. |
| WAN Yong, WANG Yu, YANG Yong, et al. Multi-characteristic Threshold Identification Method for Pipeline Defect Types[J]. Oil & Gas Storage and Transportation, 2020, 39(3):268-276. | |
| [8] | 王贵生, 李炜, 杨勇, 等. 基于磁记忆信号特征的管道缺陷分类识别和分级识别方法[J]. 腐蚀与防护, 2022, 43(11):68-73. |
| WANG Guisheng, LI Wei, YANG Yong, et al. Identification Methods for Pipeline Defect Classification and Grading Based on Magnetic Memory Signal Characteristics[J]. Corrosion & Protection, 2022, 43(11):68-73. | |
| [9] | WAN Yuan, CHEN Xiaoli, SHI Ying. Adaptive Cost Dynamic Time Warping Distance in Time Series Analysis for Classification[J]. Journal of Computational and Applied Mathematics, 2017, 319:514-520. |
| [10] | KIPF T N, WELLING M. Semi-supervised Classification with Graph Convolutional Networks[J]. ArXiv e-Prints, 2016:arXiv:. |
| [11] | WANG Zhiguang, YAN Weizhong, OATES T. Time Series Classification from Scratch with Deep Neural Networks:a Strong Baseline[C]∥2017 International Joint Conference on Neural Networks. Anchorage, 2017:1578-1585. |
| [12] | HE Kaiming, ZHANG Xiangyu, REN Shaoqing, et al. Deep Residual Learning for Image Recognition[C]∥2016 IEEE Conference on Computer Vision and Pattern Recognition. Las Vegas, 2016:770-778. |
| [13] | SANTURKAR S, TSIPRAS D, ILYAS A, et al. How Does Batch Normalization Help Optimization?[J]. arXiv, 2018:1805.11604. |
| [14] | VASWANI A, SHAZEER N, PARMAR N, et al. Attention is All You Need[J]. arXiv, 2017:1706.03762. |
| [15] | 廖柯熹, 冷吉辉, 何腾蛟, 等. 一种埋地管道腐蚀缺陷检测方法[J]. 腐蚀与防护, 2021, 42(2):52-55. |
| LIAO Kexi, LENG Jihui, HE Tengjiao, et al. A Method for Detecting Corrosion Defects in Buried Pipelines[J]. Corrosion & Protection, 2021, 42(2):52-55. |
| [1] | 高祥冲, 刘培君, 陈换过, 彭程程, 宋树家, 林子竣. 斜逆断层作用下的油气管道应变极值表征方法[J]. 中国机械工程, 2025, 36(11): 2801-2809. |
| [2] | 聂鹏1, 杨程越1, 彭新月1, 于家鹤2, 潘五九1. 采用空间和通道激励注意力机制优化ResNet-50的CFRP/TC4叠层材料钻削刀具磨损状态监测[J]. 中国机械工程, 2024, 35(10): 1793-1801. |
| [3] | 孟庆鑫;王海波;贾鹏;张岚;. 水下金刚石绳锯机切割单层油气管道冲击特性研究[J]. J4, 2008, 19(6): 0-644. |
| 阅读次数 | ||||||
|
全文 |
|
|||||
|
摘要 |
|
|||||