基于改进YOLOv8的光伏组件缺陷检测模型

Photovoltaic-Module Defect-Detection Model Based on Improved YOLOv8

  • 摘要: 针对在大型光伏电站运行发电复杂场景下,光伏组件红外图像中存在小目标缺陷位置密集或重叠导致的定位不精准、识别精度低等问题,基于YOLOv8n网络提出一种FDA-YOLOv8n光伏组件缺陷检测模型。首先在Backbone层将FasterNet Block融入C2f模块中,以降低模型计算量和参数量;接着在SPPF层后添加可变形注意力机制DAT(deformable attention transformer),通过引入可变形注意力机制和动态采样点,旨在优化特征图的提取,以更好地适应位置密集缺陷的检测需求。其次将Neck层与ASF-YOLO进行融合,并添加P2小目标检测层,提升模型对小目标缺陷的检测精度。最后引入损失函数Inter-MPDIoU,增强模型对小目标缺陷的定位能力。实验结果表明,提出的FDA-YOLOv8n检测模型与原YOLOv8n模型相比,其参数量仅为2.4 M,降低了20%,mAP@0.5提升3.5%,mAP@0.5:0.95提升了2.5%。此外,热斑和电池串故障缺陷的检测精度分别提升了5.1%和5.5%,展现了该模型对小目标缺陷检测的优越性。

     

    Abstract: An FDA-YOLOv8n photovoltaic module defect-detection model based on YOLOv8n was investigated to address the problems of imprecise positioning and low recognition accuracy. These problems are caused by small target defects with dense or overlapping locations in the infrared images obtained by photovoltaic modules under the complex scenario of large-scale photovoltaic power plant operation and power generation. First, the FasterNet Block was integrated into the C2f module in the backbone layer to reduce the parameter count and amount of model computation. Then, a deformable attention transformer (DAT) was added after the SPPF layer and used with dynamic sampling points to optimize the extraction of feature maps. This allowed better adaptation to the detection of location-intensive defects. Second, the neck layer was fused with ASF-YOLO, and a P2 small-object detection layer was added to improve the small-object defect-detection accuracy of the model. Finally, a loss function inter-MPDIoU was introduced to enhance the small-object defect-localization ability of the model. Experimental results showed that the proposed FDA-YOLOv8n detection model only used 2.4 M parameters, which was 20% lower than those used by the original YOLOv8n model. Meanwhile, mAP@0.5 improved by 3.5%, and mAP@0.5:0.95 improved by 2.5% compared with the results of the original YOLOv8n model. In addition, the detection accuracies of hotspot and battery string fault defects were improved by 5.1% and 5.5%, respectively, demonstrating the accuracy of the model for small-object defect detection.

     

/

返回文章
返回