Next Article in Journal
Assessment of Decarbonization Scenarios for the Portuguese Road Sector
Previous Article in Journal
Energy Storage Readiness Index in Selected European Countries in the Light of Energy Transformation and Energy Security
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Boosting Solar Panel Reliability: An Attention-Enhanced Deep Learning Model for Anomaly Detection

by
M. R. Qader
1 and
Fatema A. Albalooshi
2,*
1
College of Engineering, University of Bahrain, Sakhir P.O. Box 32038, Bahrain
2
College of Information Technology, University of Bahrain, Sakhir P.O. Box 32038, Bahrain
*
Author to whom correspondence should be addressed.
Energies 2025, 18(24), 6591; https://doi.org/10.3390/en18246591
Submission received: 20 November 2025 / Revised: 8 December 2025 / Accepted: 13 December 2025 / Published: 17 December 2025

Abstract

Photovoltaic systems (PV) are increasingly recognized as fundamental to the worldwide adoption of renewable energy technologies. Nonetheless, the efficiency and longevity of solar panels can be compromised by various anomalies, ranging from physical defects to environmental impacts. Early and accurate detection of these anomalies is crucial for maintaining optimal performance and preventing significant energy losses. This study presents SolarAttnNet, a novel convolutional neural network (CNN) architecture with integrated channel and spatial attention mechanisms for solar panel anomaly detection. The proposed model addresses the critical need for automated detection systems, which are crucial for maintaining energy production efficiency and optimizing maintenance. This approach leverages attention mechanisms that emphasize the most relevant features within thermal and visual imagery, improving detection accuracy across multiple anomaly types. SolarAttnNet is evaluated on three distinct solar panel datasets, demonstrating its effectiveness through comprehensive ablation studies that isolate the contribution of each architectural component. Experimental results show that SolarAttnNet achieves superior performance compared to state-of-the-art methods, with accuracy improvements of 3.9% on the PV Systems-AD dataset (94.2% vs. 90.3%), 3.6% on the InfraredSolarModules dataset (92.1% vs. 88.5%), and 3.5% on the RoboflowAnomalies dataset (89.7% vs. 86.2%) compared to baseline ResNet-50. For challenging subtle anomalies like cell cracks and PID, the proposed model demonstrates even more significant improvements with F1-score gains of 4.8% and 5.4%, respectively. Ablation studies reveal that the channel attention mechanism contributes a 2.6% accuracy improvement while spatial attention adds 2.3% across datasets. This work contributes to advancing automated inspection technologies for renewable energy infrastructure, supporting more efficient maintenance protocols and ultimately enhancing solar energy production.
Keywords: attention mechanism; convolutional neural network (CNN); deep learning; electroluminescence imaging; fault diagnosis; infrared thermography; machine vision; photovoltaic systems; solar panel anomaly detection attention mechanism; convolutional neural network (CNN); deep learning; electroluminescence imaging; fault diagnosis; infrared thermography; machine vision; photovoltaic systems; solar panel anomaly detection

Share and Cite

MDPI and ACS Style

Qader, M.R.; Albalooshi, F.A. Boosting Solar Panel Reliability: An Attention-Enhanced Deep Learning Model for Anomaly Detection. Energies 2025, 18, 6591. https://doi.org/10.3390/en18246591

AMA Style

Qader MR, Albalooshi FA. Boosting Solar Panel Reliability: An Attention-Enhanced Deep Learning Model for Anomaly Detection. Energies. 2025; 18(24):6591. https://doi.org/10.3390/en18246591

Chicago/Turabian Style

Qader, M. R., and Fatema A. Albalooshi. 2025. "Boosting Solar Panel Reliability: An Attention-Enhanced Deep Learning Model for Anomaly Detection" Energies 18, no. 24: 6591. https://doi.org/10.3390/en18246591

APA Style

Qader, M. R., & Albalooshi, F. A. (2025). Boosting Solar Panel Reliability: An Attention-Enhanced Deep Learning Model for Anomaly Detection. Energies, 18(24), 6591. https://doi.org/10.3390/en18246591

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop