TL;DR
This paper introduces YOLO-FAD, an enhanced YOLOv11n model for detecting small defects in photovoltaic (PV) modules. By integrating novel modules like RFAConv, DyC3K2, and ASF, YOLO-FAD significantly improves detection accuracy (94.6% overall, 85.3% for small defects) and robustness, outperforming existing state-of-the-art models.
What Problem Does This Paper Address?
Photovoltaic (PV) modules are crucial for renewable energy, but they are susceptible to defects like hot spots and fractures during operation. These defects not only reduce energy output but can also lead to system failure. Detecting these defects, especially small and subtle ones, is challenging due to their low contrast and complex backgrounds in images like electroluminescence (EL) images. Traditional manual inspection is inefficient and error-prone. While deep learning models have advanced object detection, they often struggle with the specific challenges of small, low-contrast defects in PV modules, leading to missed detections and false positives. This paper aims to bridge this gap by developing a more accurate and robust automated defect detection system for PV modules.
Methods
The authors propose YOLO-FAD, an enhanced version of the YOLOv11n architecture. Key innovations include:
- RFAConv (Receptive Field Attention Convolution): Replaces traditional convolutions in the backbone and neck. It dynamically adjusts the receptive field and uses an attention mechanism to better capture subtle defect features and contextual information.
- DyC3K2 (Dynamic Convolution): Integrated into the trunk and neck networks, this module uses dynamic convolution to adaptively adjust convolution parameters based on input images, improving accuracy and robustness.
- ASF (Attentional Scale Sequence Fusion): Applied in the neck network, this structure fuses spatial and multi-scale features from different backbone layers (P2-P5) to enhance the model's ability to perceive small-object details.
- DyHead-detect: A dynamic detection head framework that expands the detection heads to four and incorporates multi-dimensional attention mechanisms (scale, spatial, channel) to refine classification and localization, especially for small targets.
Datasets
The primary dataset used for training and evaluation was collected using a DJI Zenmuse H20T thermal camera mounted on a DJI Matrice 300 RTK UAV. This dataset consists of 2272 concentrated, low-altitude aerial images of PV modules, with 80% for training, 10% for validation, and 10% for testing. The dataset contains four defect types: fracture, hot spot, plant, and battery string.
Additionally, the paper validates the model's generalization ability on two publicly available datasets:
- NEU-DET: For hot-rolled steel strip surface defects.
- PCB-DET: For printed circuit board defects.
- ELPV dataset: Specifically for PV defects (cracks, hot spots, cell defects).
Key Insights and Ideas
- The importance of dynamic receptive fields: RFAConv's ability to adapt the receptive field is crucial for capturing the fine details of small defects that might be missed by fixed-size kernels.
- Synergy of attention and dynamic convolutions: Combining attention mechanisms (RFAConv, ASF, DyHead) with dynamic convolutions (DyC3K2) creates a powerful system that can adapt to varying defect characteristics and complex backgrounds.
- Multi-scale feature fusion is key for small objects: The ASF module's ability to effectively fuse features from different scales is vital for enhancing the representation of small defects.
- Addressing class imbalance is critical: The dataset's severe class imbalance (many hot spots, few fractures) necessitates specific strategies like adaptive weighted loss and defect-aware oversampling to ensure the model learns to detect minority defect classes.
- Generalization across diverse defect types and datasets: YOLO-FAD demonstrates strong performance not only on PV defects but also on industrial surface defects and PCB defects, indicating its robust generalization capabilities.
Key Results
- YOLO-FAD achieved an overall accuracy of 94.6% and 85.3% for small defects on its custom dataset.
- It outperformed the baseline YOLOv11n by 3.0% in overall mAP and 10.1% in small defect mAP.
- YOLO-FAD surpassed other state-of-the-art models including YOLOv12, RT-DETR, and Improved Faster-RCNN.
- On the NVIDIA Jetson Nano embedded platform, YOLO-FAD achieved 15 FPS (22 FPS quantized) with 92.5% [email protected], demonstrating real-time applicability for UAV inspections.
- The model showed excellent performance on the NEU-DET and PCB-DET datasets, with [email protected] scores of 88.55% and 93.17%, respectively.
- Ablation studies confirmed that the combination of all four proposed modules (RFAConv, ASF, DyC3K2, DyHead) yielded the best performance.
Limitations and Future Work
- Class Imbalance: While mitigation strategies were employed, there is still room for improvement in addressing class imbalance, particularly for minority defect classes.
- Overlapping Defects: Detecting overlapping defects (e.g., plant covering hot spots) remains a challenge.
- Future Work:
- Optimizing the model using INT8 quantization and channel pruning for edge deployment to reduce inference latency.
- Integrating multi-modal fusion technology (e.g., combining EL and thermal images) to enhance feature representation.
- Designing a Transformer-based multi-object separation module to better handle overlapping defects.
Summary updated