{"title":"基于最优输运理论的光伏电池异常检测精度分类","authors":"Ning Kang, Wenju Hu, Dan Wang, 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":"{\"title\":\"Precision classification for anomaly detection in photovoltaic cells via optimal transport theory\",\"authors\":\"Ning Kang, Wenju Hu, Dan Wang, 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}","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}
Precision classification for anomaly detection in photovoltaic cells via optimal transport theory
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.
期刊介绍:
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