Huang Jing, Zeng Keyao, Zhang Zijun, Zhong Wanhan
School of Electronic, Electrical Engineering and Physics, Fujian University of Technology, Fuzhou, 350118, China.
Heliyon. 2023 Aug 1;9(8):e18826. doi: 10.1016/j.heliyon.2023.e18826. eCollection 2023 Aug.
Defects of solar panels can easily cause electrical accidents. The YOLO v5 algorithm is improved to make up for the low detection efficiency of the traditional defect detection methods. Firstly, it is improved on the basis of coordinate attention to obtain a LCA attention mechanism with a larger target range, which can enhance the sensing range of target features in addition to fully capturing feature information; secondly, the weighted bidirectional feature pyramid is used to balance the feature information with excessive pixel differences by assigning different weights, which is more conducive to multi-scale Fast fusion of features; finally, the usual coupled head of YOLO series is replaced with decoupled head, so that the task branch can be performed more accurately and the detection accuracy can be improved. The results of comparative experiments on the solar panel defect detection data set show that after the improvement of the algorithm, the overall precision is increased by 1.5%, the recall rate is increased by 2.4%, and the mAP is up to 95.5%, which is 2.5% higher than that before the improvement. It can more accurately determine whether there are defects, standardize the quality of solar panels, and ensure electrical safety.
太阳能电池板的缺陷容易引发电气事故。对YOLO v5算法进行改进,以弥补传统缺陷检测方法检测效率低的问题。首先,在坐标注意力的基础上进行改进,得到目标范围更大的LCA注意力机制,除了能充分捕捉特征信息外,还能增强目标特征的感知范围;其次,采用加权双向特征金字塔,通过分配不同权重来平衡像素差异过大的特征信息,更有利于多尺度特征的快速融合;最后,将YOLO系列常用的耦合头替换为解耦头,使任务分支执行更准确,提高检测精度。在太阳能电池板缺陷检测数据集上的对比实验结果表明,算法改进后,整体精度提高了1.5%,召回率提高了2.4%,mAP高达95.5%,比改进前提高了2.5%。它能更准确地判断是否存在缺陷,规范太阳能电池板的质量,确保电气安全。