首页|期刊导航|软件导刊|YOLOv8-BGC:基于YOLOv8改进的光伏电池缺陷检测方法

YOLOv8-BGC:基于YOLOv8改进的光伏电池缺陷检测方法OA

YOLOv8-BGC:A Defect Detection Method for Photovoltaic Cells Based on Improved YOLOv8

中文摘要英文摘要

电致发光(EL)成像是检测光伏(PV)模块的一种有效方法.EL图像提供的高空间分辨率,可检测PV组件表面最细微的缺陷.然而,EL图像的分析通常是一个手动过程,成本高昂、耗时长,需要具备识别不同类型缺陷的专业知识.为此,提出一种改进YOLOv8的轻量化光伏电池缺陷检测算法YOLOv8-BGC.首先,结合CNN与Transformer的优势,提出一种能提取光伏电池缺陷图像全局特征信息与局部特征信息的BOT模块,以适应光伏电池缺陷特征;其次,在骨干网络末端和颈部网络中引入坐标注意力机制(GAM),降低信息碎片化并增强全局维度特征交互,以增强模型的运作效率、特征描述与解析能力;最后,在YOLOv8颈部网络中使用C2fGhost模块,减少特征通道融合过程中的浮点运算量,降低模型参数量,提升特征表达性能.实验表明,在不同光伏电池缺陷的数据集上,改进后的YOLOv8-BGC相较于原模型YOLOv8的模型参数、计算量分别减少6.7%、8.5%,mAP50提升3%,在轻量化的同时提升了模型准确率,实时性更强,相较于其他算法也具有一定优势,可满足工业部署要求.

Electroluminescence(EL)imaging is an effective method for detecting photovoltaic(PV)modules.The high spatial resolution pro-vided by EL images can detect the slightest defects on the surface of PV modules.However,the analysis of EL images is usually a manual pro-cess that is costly,time-consuming,and requires specialized knowledge of different types of defects.Therefore,a lightweight photovoltaic cell defect detection algorithm YOLOv8-BGC is proposed to improve YOLOv8.Firstly,combining the advantages of CNN and Transformer,a BOT module is proposed that can extract global and local feature information of photovoltaic cell defect images to adapt to the defect features of pho-tovoltaic cells;Secondly,coordinate attention mechanism(GAM)is introduced at the end of the backbone network and the neck network to re-duce information fragmentation and enhance global dimensional feature interaction,thereby improving the operational efficiency,feature de-scription,and parsing ability of the model;Finally,the C2fGhost module is used in the YOLOv8 neck network to reduce floating-point opera-tions during feature channel fusion,decrease model parameter count,and improve feature expression performance.Experiments have shown that on datasets with different defects in photovoltaic cells,the improved YOLOv8-BGC reduces model parameters and computational com-plexity by 6.7%and 8.5%respectively compared to the original YOLOv8 model,and increases mAP50 by 3%.It improves model accuracy and real-time performance while being lightweight.Compared with other algorithms,it also has certain advantages and can meet industrial deploy-ment requirements.

陈祖星;冯俊杰;李爽

六盘水师范学院 物理与电气工程学院,贵州 六盘水 553004六盘水师范学院 物理与电气工程学院,贵州 六盘水 553004六盘水师范学院 物理与电气工程学院,贵州 六盘水 553004

信息技术与安全科学

YOLOv8光伏电池缺陷检测BoT模块C2fGhost模块GAM模块

YOLOv8photovoltaic cellsdefect detectionBoT moduleC2fGhost moduleGAM module

《软件导刊》 2026 (4)

35-47,13

国家自然科学基金项目(12065016)贵州省教育厅高等学校科学研究项目(青年项目)(黔教计[2022]345)六盘水智能识别技术科技创新人才团队项目(52020-2023-0-20-20)六盘水师范学院校级本科专业建设项目(LPSSYYlzy2202)贵州省教育厅高等学校科学研究项目(青年项目)(黔教计[2022]346)大学生创新创业训练计划项目(S2024109771664)

10.11907/rjdk.241985

评论