Precision classification for anomaly detection in photovoltaic cells via optimal transport theory

IF 6 2区 工程技术 Q2 ENERGY & FUELS
Ning Kang, Wenju Hu, Dan Wang, Rongji Xu
{"title":"Precision classification for anomaly detection in photovoltaic cells via optimal transport theory","authors":"Ning Kang,&nbsp;Wenju Hu,&nbsp;Dan Wang,&nbsp;Rongji Xu","doi":"10.1016/j.solener.2025.113704","DOIUrl":null,"url":null,"abstract":"<div><div>Solar energy, particularly photovoltaic (PV) systems, plays a crucial role in combating climate change. However, PV cell anomalies such as black cores and cracks, caused by environmental factors, significantly degrade their performance. Traditional detection methods are often inefficient and risky, while existing YOLO models like YOLOv9 face challenges in accurately detecting anomalies with irregular shapes or sizes. These anomalies lead to low confidence in predictions and inaccurate classification results. In this paper, a precision classification framework for anomaly detection in PV cells is introduced, leveraging optimal transport (OT) theory. The framework operates in two stages. In the first stage, an anomaly prototype pool is constructed by clustering features within ground-truth boxes using k-means. Anomaly prototypes are selected based on their cosine similarity to normal prototypes, with those exhibiting lower similarity to normal regions being chosen. To ensure diversity among the prototypes, an orthogonal loss is applied during this stage. In the second stage, OT theory is utilized to match YOLO-predicted bounding boxes with the prototypes. A cosine similarity matrix is first created between the bounding box features and the prototypes. The Sinkhorn-Knopp algorithm then generates an OT transport plan based on this matrix, refining the classification scores. This process enhances the accuracy of both anomaly classification and localization. Experiments conducted on the PVEL-AD dataset demonstrate that the proposed framework, when integrated with YOLOv9, achieves a 95.8% [email protected], marking a 2.6% improvement over the baseline method. Additionally, the True Positive Rate (TPR) increases by 1.6%, while the False Positive Rate (FPR) decreases from 2.5% to 1.1%. Visualizations further confirm a reduction in false negatives and improved localization accuracy. The paper also discusses the framework’s scalability and computational trade-offs, validating its effectiveness in enhancing the precision of PV anomaly detection.</div></div>","PeriodicalId":428,"journal":{"name":"Solar Energy","volume":"298 ","pages":"Article 113704"},"PeriodicalIF":6.0000,"publicationDate":"2025-06-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Solar Energy","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0038092X25004670","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENERGY & FUELS","Score":null,"Total":0}
引用次数: 0

Abstract

Solar energy, particularly photovoltaic (PV) systems, plays a crucial role in combating climate change. However, PV cell anomalies such as black cores and cracks, caused by environmental factors, significantly degrade their performance. Traditional detection methods are often inefficient and risky, while existing YOLO models like YOLOv9 face challenges in accurately detecting anomalies with irregular shapes or sizes. These anomalies lead to low confidence in predictions and inaccurate classification results. In this paper, a precision classification framework for anomaly detection in PV cells is introduced, leveraging optimal transport (OT) theory. The framework operates in two stages. In the first stage, an anomaly prototype pool is constructed by clustering features within ground-truth boxes using k-means. Anomaly prototypes are selected based on their cosine similarity to normal prototypes, with those exhibiting lower similarity to normal regions being chosen. To ensure diversity among the prototypes, an orthogonal loss is applied during this stage. In the second stage, OT theory is utilized to match YOLO-predicted bounding boxes with the prototypes. A cosine similarity matrix is first created between the bounding box features and the prototypes. The Sinkhorn-Knopp algorithm then generates an OT transport plan based on this matrix, refining the classification scores. This process enhances the accuracy of both anomaly classification and localization. Experiments conducted on the PVEL-AD dataset demonstrate that the proposed framework, when integrated with YOLOv9, achieves a 95.8% [email protected], marking a 2.6% improvement over the baseline method. Additionally, the True Positive Rate (TPR) increases by 1.6%, while the False Positive Rate (FPR) decreases from 2.5% to 1.1%. Visualizations further confirm a reduction in false negatives and improved localization accuracy. The paper also discusses the framework’s scalability and computational trade-offs, validating its effectiveness in enhancing the precision of PV anomaly detection.
基于最优输运理论的光伏电池异常检测精度分类
太阳能,特别是光伏(PV)系统,在应对气候变化方面发挥着至关重要的作用。然而,由于环境因素导致的光伏电池异常,如黑芯和裂纹等,会大大降低其性能。传统的检测方法往往效率低下且存在风险,而现有的YOLO模型(如YOLOv9)在准确检测不规则形状或大小的异常方面面临挑战。这些异常导致预测置信度低,分类结果不准确。本文利用最优传输理论,提出了一种用于光伏电池异常检测的精确分类框架。该框架分两个阶段运行。在第一阶段,使用k-means在地面真值盒内通过聚类特征构建异常原型池。根据异常原型与正常原型的余弦相似度选择异常原型,选择与正常区域相似度较低的异常原型。为了保证原型之间的多样性,在此阶段应用正交损耗。在第二阶段,利用OT理论将yolo预测的边界框与原型进行匹配。首先在边界框特征和原型之间创建余弦相似矩阵。然后,Sinkhorn-Knopp算法根据该矩阵生成OT传输计划,细化分类分数。该方法提高了异常分类和定位的准确性。在PVEL-AD数据集上进行的实验表明,当与YOLOv9集成时,所提出的框架达到95.8% [email protected],比基线方法提高2.6%。此外,真阳性率(TPR)增加了1.6%,而假阳性率(FPR)从2.5%下降到1.1%。可视化进一步证实了假阴性的减少和定位精度的提高。本文还讨论了该框架的可扩展性和计算权衡,验证了其在提高PV异常检测精度方面的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Solar Energy
Solar Energy 工程技术-能源与燃料
CiteScore
13.90
自引率
9.00%
发文量
0
审稿时长
47 days
期刊介绍: Solar Energy welcomes manuscripts presenting information not previously published in journals on any aspect of solar energy research, development, application, measurement or policy. The term "solar energy" in this context includes the indirect uses such as wind energy and biomass
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信