SPHERE: Benchmarking YOLO vs. CNN on a Novel Dataset for High-Accuracy Solar Panel Defect Detection in Renewable Energy Systems
Source abstract
Abstract
Solar panels are critical for renewable electricity generation, yet defects significantly reduce power output and risk grid instability, necessitating reliable AI-driven defect detection. We propose the SPHERE (Solar Panel Hidden-Defect Evaluation for Renewable Energy) method for such cases. This study compares deep learning models for classifying solar panel images (broken, clean, and dirty) using a novel, proprietary dataset of 6079 images augmented to enhance performance. The following three models were evaluated: YOLOv8-m, YOLOv9-e, and a custom CNN with 9-fold cross-validation. Pre-trained models (e.g., VGG16 and ResNet) were assessed but outperformed by YOLO variants. Metrics included accuracy, precision–recall, F1-score, sensitivity, and specificity. YOLOv8-m achieved the highest accuracy (97.26%) and specificity (95.94%) with 100% sensitivity, excelling in defect identification. YOLOv9-e showed slightly lower accuracy (95.18%) but maintained high sensitivity. The CNN model demonstrated robust generalization (92.86% accuracy) via cross-validation, though it underperformed relative to YOLO architectures. Results highlight YOLO-based models’ superiority, particularly YOLOv8-m, in balancing precision and robustness for this classification task. This study underscores the potential of YOLO frameworks in automated solar panel inspection systems, offering enhanced maintenance and grid stability reliability. This contributes to advancing AI applications in renewable energy infrastructure, ensuring efficient defect detection and sustained power output. The dataset’s novelty and the models’ comparative analysis provide a foundation for future research in autonomous maintenance solutions.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Advanced Neural Network Applications · Photovoltaic System Optimization Techniques · Solar Radiation and Photovoltaics
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Electrical and Electronics Engineering, Gazi University, Ankara 06570, Turkey
References (54)
Show source-provided references
1. IEA (2023). World Energy Outlook 2023, IEA. Available online: https://www.iea.org/reports/world-energy-outlook-2023.
2. Interaction determinants and projections of China’s energy consumption: 1997–203010.1016/j.apenergy.2020.116345 ↗
3. A novel review on optimization techniques used in wind farm modelling10.1016/j.ref.2020.09.001 ↗
4. Güneş Paneli Kusurlarının Derin Öğrenme Tabanlı Sınıflandırılması
5. Solar panel inspection techniques and prospects10.1016/j.measurement.2023.112466 ↗
6. Revolutionizing solar energy with ai-driven enhancements in photovoltaic technology
7. The role of artificial intelligence in photo-voltaic systems design and control: A review10.1016/j.rser.2017.04.046 ↗
8. Artificial intelligence-based maximum power point tracking controllers for Photovoltaic systems: Comparative study10.1016/j.rser.2016.11.125 ↗
9. A novel fault diagnosis technique for photovoltaic systems based on artificial neural networks10.1016/j.renene.2016.01.036 ↗
10. Photovoltaic plant condition monitoring using thermal images analysis by convolutional neural network-based structure10.1016/j.renene.2020.01.148 ↗
11. Certain study on MPPT algorithms to track the global MPP under partial shading on solar PV module/array10.12785/ijcds/080409 ↗
12. ESD-YOLOv8: An Efficient Solar Cell Fault Detection Model Based on YOLOv810.1109/ACCESS.2024.3466209 ↗
13. Barrett, A., Bratanov, D., Amarasingam, N., Sera, D., and Gonzalez, F. (2024, January 4–7). Machine Learning Based Damage Detection in Photovoltaic Arrays Using UAV-Acquired Infrared and Visual Imagery. Proceedings of the 2024 International Conference on Unmanned Aircraft Systems (ICUAS), Crete, Greece.10.1109/ICUAS60882.2024.10556847 ↗
14. Li, M., Zhang, M., Wu, D., Zhang, H., Yang, P., Chen, Y., Sun, X., and Feng, J. (November, January 31). DEA-YOLOv9: A Lightweight Method for the Photovoltaic Module Defect Detection with Multi-Scale and Self-Attention Mechanism. Proceedings of the 2024 International Conference on Sensing, Measurement & Data Analytics in the era of Artificial Intelligence (ICSMD), Huangshan, China.10.1109/ICSMD64214.2024.10920527 ↗
15. Rafaeli, O., Svoray, T., Blushtein-Livnon, R., and Nahlieli, A. (2024). Prompt-Based Segmentation at Multiple Resolutions and Lighting Conditions using Segment Anything Model 2. arXiv.
16. Phan, Q.B., and Nguyen, T.T. (2023, January 6–9). A novel approach for PV cell fault detection using YOLOv8 and particle swarm optimization. Proceedings of the 2023 IEEE 66th International Midwest Symposium on Circuits and Systems (MWSCAS), Tempe, AZ, USA.10.1109/MWSCAS57524.2023.10406139 ↗
17. Particle swarm optimization10.1109/ICNN.1995.488968 ↗
18. Shi, Y., and Eberhart, R. (1998, January 4–9). A modified particle swarm optimizer. Proceedings of the 1998 IEEE International Conference on Evolutionary Computation Proceedings. IEEE World Congress on Computational Intelligence, Anchorage, AK, USA.
19. Malik, P., Saxena, V., Raj, S., Singh, S., and Kumar, S. (2024, January 27–29). Fault Detection of the Solar Photovoltaic Modules Using YOLO Models. Proceedings of the 2024 IEEE Region 10 Symposium (TENSYMP), New Delhi, India.10.1109/TENSYMP61132.2024.10752194 ↗
20. Lee, M. (2025, March 10). Solar Dataset on Roboflow Universe. Available online: https://universe.roboflow.com/marius-lee/solar-x0bfa.
21. Ab Hamid, M.Z., Daud, K., Soh, Z.H.C., Osman, M.K., Isa, I.S., and Jadin, M.S. (2024, January 23–24). YOLOv9-Based Hotspots Recognition in Solar Photovoltaic Panels: Integrating Image Processing Techniques for Targeted Region Identification. Proceedings of the 2024 IEEE 14th International Conference on Control System, Computing and Engineering (ICCSCE), Penang, Malaysia.10.1109/ICCSCE61582.2024.10696296 ↗
22. Droguett, S.E., and Sanchez, C.N. (2025, March 10). Solar Panel Detection on Satellite Images: From Faster R-CNN to YOLOv10. Available online: https://cs231n.stanford.edu/2024/papers/solar-panel-detection-on-satellite-images-from-faster-r-cnn-to-y.pdf.
23. Faster R-CNN: Towards real-time object detection with region proposal networks10.1109/TPAMI.2016.2577031 ↗
24. Wang, C.Y., Yeh, I.H., and Mark Liao, H.Y. (October, January 29). Yolov9: Learning what you want to learn using programmable gradient information. Proceedings of the European Conference on Computer Vision, Milan, Italy.
25. Yolov10: Real-time end-to-end object detection
26. Multi-resolution dataset for photovoltaic panel segmentation from satellite and aerial imagery10.5194/essd-13-5389-2021 ↗
27. A comprehensive review of yolo architectures in computer vision: From yolov1 to yolov8 and yolo-nas10.3390/make5040083 ↗
28. Pa, M., and Kazemi, A. (2022, January 9–11). A Fault Detection Scheme Utilizing Convolutional Neural Network for PV Solar Panels with High Accuracy. Proceedings of the 2022 IEEE 1st Industrial Electronics Society Annual On-Line Conference (ONCON), Kharagpur, India.10.1109/ONCON56984.2022.10126746 ↗
29. Mehta, S., and Kundra, D. (2024, January 18–20). Utilizing CNN-GAN for Enhanced Detection and Classification of Dust on Solar Panels. Proceedings of the 2024 5th International Conference on Smart Electronics and Communication (ICOSEC), Trichy, India.10.1109/ICOSEC61587.2024.10722527 ↗
30. Deep Learning for Solar Panels Defect Classification Using Data Augmentation Strategies10.21528/lnlm-vol22-no2-art3 ↗
31. Zhang, M., Liao, B., and Wang, H. (2023, January 24–26). Combining deep learning with R-CDT for solar defect recognition. Proceedings of the Eighth International Conference on Energy System, Electricity, and Power (ESEP 2023), Wuhan, China.10.1117/12.3024263 ↗
32. Chakraborty, S., Ferdous, M., Hafiz, B., Zahir, S., Shamsuddoha, A., Orchi, N., and Dipto, S. (2024, January 8–9). Violence Detection: A Multi-Model Approach Towards Automated Video Surveillance and Public Safety. Proceedings of the 2024 International Conference on Advances in Computing, Communication, Electrical, and Smart Systems (iCACCESS), Dhaka, Bangladesh.10.1109/iCACCESS61735.2024.10499466 ↗
33. Exploring Deep Learning for Underwater Plastic Debris Detection and Monitoring10.12911/22998993/187970 ↗
34. Geng, T., Yu, H., Yuan, X., Ma, R., and Li, P. (2024). Research on Segmentation Method of Maize Seedling Plant Instances Based on UAV Multispectral Remote Sensing Images. Plants, 13.10.3390/plants13131842 ↗
35. Nadif, I., and Kusrini, K. (2023, January 8–9). License Plate Localization and Character Recognition using YOLOv8 and Convolutional Neural Network. Proceedings of the 2023 Eighth International Conference on Informatics and Computing (ICIC), Manado, Indonesia.10.1109/ICIC60109.2023.10382046 ↗
36. Yang, G., Wang, J., Nie, Z., Yang, H., and Yu, S. (2023). A Lightweight YOLOv8 Tomato Detection Algorithm Combining Feature Enhancement and Attention. Agronomy, 13.10.3390/agronomy13071824 ↗
37. Tahir, N., Long, Z., Zhang, Z., Asim, M., and ELAffendi, M. (2024). PVswin-YOLOv8s: UAV-Based Pedestrian and Vehicle Detection for Traffic Management in Smart Cities Using Improved YOLOv8. Drones, 8.10.3390/drones8030084 ↗
38. Khalid, S., Oqaibi, H., Aqib, M., and Hafeez, Y. (2023). Small Pests Detection in Field Crops Using Deep Learning Object Detection. Sustainability, 15.10.3390/su15086815 ↗
39. Niedbała, G., Elmasry, G., Abdullah, A., Amran, G., Tahmid, S., Alabrah, A., Al-Bakhrani, A., and Ali, A. (2024). A Deep-Learning-Based Model for the Detection of Diseased Tomato Leaves. Agronomy, 14.10.3390/agronomy14071593 ↗
40. Kohavi, R. (1995, January 20–25). A study of cross-validation and bootstrap for accuracy estimation and model selection. Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), Montréal, QC, Canada. Available online: https://ai.stanford.edu/~ronnyk/accEst.pdf.
41. Schmidhuber, J. (2012, January 16–21). Multi-column deep neural networks for image classification. Proceedings of the 2012 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Providence, RI, USA. Available online: https://dl.acm.org/doi/abs/10.5555/2354409.2354694.
42. Scikit-learn: Machine learning in Python
43. (2025, April 20). Scikit-Learn. Available online: https://scikit-learn.org.
44. An introduction to ROC analysis10.1016/j.patrec.2005.10.010 ↗
45. A systematic analysis of performance measures for classification tasks10.1016/j.ipm.2009.03.002 ↗
46. The class imbalance problem: A systematic study10.3233/IDA-2002-6504 ↗
47. The use of the area under the ROC curve in the evaluation of machine learning algorithms10.1016/S0031-3203(96)00142-2 ↗
48. (2025, April 20). TensorFlow. Available online: https://www.tensorflow.org/api_docs/python/tf.
49. The pascal visual object classes (voc) challenge10.1007/s11263-009-0275-4 ↗
50. Lin, T.Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C.L. (2014, January 6–12). Microsoft coco: Common objects in context. Proceedings of the Computer Vision—ECCV 2014: 13th European Conference, Zurich, Switzerland. proceedings, part v 13.10.1007/978-3-319-10602-1_48 ↗
51. Woo, S., Park, J., Lee, J.Y., and Kweon, I.S. (2018, January 8–14). Cbam: Convolutional block attention module. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01234-2_1 ↗
52. Lv, Z., Li, J., Xu, Z., Wang, Y., and Li, H. (2021, January 25–27). Parallel computing of spatio-temporal model based on deep reinforcement learning. Proceedings of the International Conference on Wireless Algorithms, Systems, and Applications, Nanjing, China.10.1007/978-3-030-85928-2_31 ↗
53. A novel perspective on travel demand prediction considering natural environmental and socioeconomic factors10.1109/MITS.2022.3162901 ↗
54. A fast spatial-temporal information compression algorithm for online real-time forecasting of traffic flow with complex nonlinear patterns10.1016/j.chaos.2024.114852 ↗