YOLO-CSM based components defect and foreign object detection on overhead transmission lines

Chunyang Liu, Lin Ma, Xin Sui, Nan Guo, Fang Yang, Xiaokang Yang, Yan Huang, Xiao WangResearch 2023

Abstract

Detecting component defects and attaching tiny-scaled foreign objects to the overhead transmission lines are critical to the national grid’s safe operation and power distribution. The urgent task, however, faces challenges such as the complex working environment and the massive amount of workforce investment, for which we propose a deep-learning-aided object detection approach, YOLO-CSM, to address the issue. Combined with two attention mechanisms (Swin Transformer and CBAM) and an extra detection layer, the proposed model can effectively capture global information and key visual features and promote its ability to identify tiny-scaled defects and distant objects in the visual fields. In order to validate this model, this work consolidates a dataset composed of public images and our field-taken picture samples. The experiment verifies the YOLO-CSM as a suitable solution for small and distant object detection that over-performs several well-used algorithms, featuring a 16.3% faster detection speed than YOLOv5 and a 3.3% better detection accuracy than YOLOv7. Finally, this work conducts an interpretability experiment to reveal the similarity between YOLO-CSM’s attention patterns and that of our humans, aiming to explain YOLO-CSM’s advantages in detecting small objects and minor defects in the working environments of power transmission lines.

Introduction: The High Stakes of Grid Maintenance

Maintaining overhead transmission lines is a high-stakes endeavor where foreign objects—such as kite lines, trash, or construction cranes—and component defects like broken insulators or dampers can lead to catastrophic grid failures. Modern inspection strategies increasingly rely on drones (UAVs) and specialized robots to capture visual data. However, processing this data is notoriously difficult. Objects of interest are often "tiny-scaled," occupying only a few pixels, or are viewed from great distances against complex, "noisy" backgrounds like dense forests or industrial sites. Standard object detection algorithms frequently struggle with these small, distant targets, leading to missed detections or false alarms.

Schematic of the power line inspection system using robots and UAVs to monitor components like insulators and dampers.

Methodology: The YOLO-CSM Architecture

To bridge the gap between automated detection and human expert performance, the researchers developed YOLO-CSM, an evolution of the YOLOv7 architecture. The model introduces three critical modifications designed to enhance sensitivity to minute details without losing global context:

  1. Convolutional Block Attention Module (CBAM): Integrated at the junction of the network's backbone and neck, CBAM helps the model prioritize what is important (channel attention) and where it is (spatial attention), sharpening the contrast between targets and messy backgrounds.
  2. Swin Transformer: Unlike standard convolutions that focus on local pixel neighborhoods, the Swin Transformer uses a hierarchical windowing mechanism to capture global dependencies. This gives the model an "associative ability" to understand relationships between distant parts of an image.
  3. Additional Detection Layer: A fourth prediction head was added specifically for small objects. By extracting early-stage, high-resolution features and splicing them with up-sampled results, the team created a 160x160 output layer with a tiny 4x4 receptive field, significantly increasing sensitivity to minute defects.

Data Preparation and Augmentation

The study utilized a consolidated dataset of 14,391 images, combining the public China Power Line Insulator Dataset (CPLID) with real-world field samples captured by inspection robots and drones. To ensure the model could handle the harsh realities of field inspections, the authors employed a rigorous data augmentation pipeline.

The data processing workflow, including annotation, enhancement via noise and blur, and manual elimination to ensure a high-quality training set.

As shown in the augmentation pipeline, techniques like Salt and Pepper noise (simulating electromagnetic interference) and Gaussian blur (simulating environmental conditions like wind or sand) were used to improve robustness. The final dataset covers five types of foreign objects (cranes, smoke, excavators, etc.) and two types of component defects.

Results and Discussion

YOLO-CSM demonstrates a superior balance of accuracy and speed, achieving a Mean Average Precision ([email protected]) of 98.9%. This represents a 3.2% improvement over the baseline YOLOv7 and significantly outperforms Faster-RCNN (87.3%). In terms of precision, the model reached 98.7%, surpassing the newer YOLOv8 (98.0%).

From a practical standpoint, the model clocked in at 66 FPS on a GeForce RTX 2080. While slightly slower than the base YOLOv7 (71 FPS), it remains 16.3% faster than YOLOv5, making it well-suited for real-time processing during drone flights. Interpretability experiments using Grad-CAM revealed that YOLO-CSM focuses on entire insulator strings and specific defects in a manner similar to human experts, suggesting the hybrid CNN-Transformer approach successfully captures global context while maintaining high-fidelity local detection.

Conclusion and Future Work

While YOLO-CSM sets a new benchmark for power line inspection, future work will focus on expanding the dataset to include more varied hardware, such as spacer bars and bird guards. Additionally, the researchers aim to further optimize the model for embedded systems, enabling AI to run directly on low-cost drone hardware without the need for high-powered ground stations.

Summary updated

BibTeX
@inproceedings{liu2023yolo,
  author = {Chunyang Liu and Lin Ma and Xin Sui and Nan Guo and Fang Yang and Xiaokang Yang and Yan Huang and Xiao Wang},
  title = {{YOLO-CSM based components defect and foreign object detection on overhead transmission lines}},
  booktitle = {Research},
  year = {2023},
  doi = {10.21203/rs.3.rs-3639443/v1},
}
Figure