兰州理工大学学报 ›› 2025, Vol. 51 ›› Issue (6): 107-115.

• 自动化技术与计算机技术 • 上一篇    下一篇

一种基于全局-局部双分支注意力网络的绝缘子缺陷检测算法

焦亮1, 王宗顺2, 王思润1, 李策*3   

  1. 1.天水长城开关厂集团有限公司, 甘肃 天水 741020;
    2.兰州理工大学 自动化与电气工程学院, 甘肃 兰州 730050;
    3.兰州理工大学 微电子现代产业学院, 甘肃 兰州 730050
  • 收稿日期:2024-09-19 发布日期:2025-12-31
  • 通讯作者: 李 策(1974-),男,辽宁营口人,博士,教授,博导.Email:lice@lut.edu.cn
  • 基金资助:
    国家自然科学基金(62363025),甘肃省高等学校创新基金(2021A-109)

A dual-branch global-local attention network for insulator defect detection

JIAO Liang1, WANG Zhong-shun2, WANG Si-run1, LI Ce3   

  1. 1. China Tianshui Great Wall Switch Factory Group Co. Ltd., Tianshui 741020, China;
    2. School of Automation and Electrical Engineering, Lanzhou University of Technology, Lanzhou 730050, China;
    3. School of Microelectronics Industry Education Integration, Lanzhou University of Technology, Lanzhou 730050, China
  • Received:2024-09-19 Published:2025-12-31

摘要: 绝缘子的表面缺陷可能会严重影响其性能,甚至导致电力故障,因此对绝缘子表面缺陷的准确识别和精确定位是确保电力系统安全运行的关键.绝缘子缺陷检测的重点是准确识别和精确定位其材料表面缺陷,然而基于传统深度学习的方法在检测绝缘子微小缺陷时存在检出率差等局限性.针对该问题,提出了一种基于全局-局部双分支注意力模块(GLDA)的改进型YOLOX-S算法.首先,全局分支使用传统的注意力机制,并对K和V进行下采样以减少计算量,从而捕捉低频全局信息;同时,局部分支有效地融合了共享权重和上下文感知权重,以聚合高频的局部信息;其次,采用自适应空间特征融合(ASFF)模块提取缺陷的多尺度信息,提高绝缘子缺陷检测精度;最后,引入完整交并比(CIoU)损失指标对基线模型的训练损失进行优化.实验结果显示,该方法的准确率、召回率和平均精度均值分别达到93.2%、92.9%和95.2%.

关键词: 绝缘子缺陷检测, 深度学习, 注意力机制, 多尺度

Abstract: Surface defects of insulators can severely deteriorate their performance and may even lead to power failures. Therefore, accurate identification and precise localization of surface defects on insulators are essential for ensuring the safe operation of the power system. The focus of insulator defect detection is the accurate identification and localization of defects in its materials. However, conventional deep learning-based methods face limitations such as poor detection rates when identifying small defects. To address this issue, this paper proposes aglobal and local dual-branch attention module (GLDA). Firstly, the global branch utilizes a traditional attention mechanism but applies downsampling to K and V to reduce computational load, capturing low-frequency global information. The local branch effectively integrates shared weights and context-aware weights to aggregate high-frequency local information. Secondly, an Adaptive Spatial Feature Fusion (ASFF) module is used to extract multi-scale information of defects, enhancing detection accuracy. Lastly, the CIoU algorithm is introduced to optimize the training loss of the baseline model. Experimental results show that the proposed method achieves accuracy, recall, and mAP of 93.2%, 92.9%, and 95.2%, respectively.

Key words: insulator defect detection, deep learning, attention mechanism, multi-scale

中图分类号: