Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Scientific Reports
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. scientific reports
  3. articles
  4. article
Fault detection and diagnosis in photovoltaic systems using artificial intelligence and time–frequency analysis
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 20 February 2026

Fault detection and diagnosis in photovoltaic systems using artificial intelligence and time–frequency analysis

  • Abdellatif Seghiour1,
  • Yacine Bendjeddou1,
  • Imene Meriem Mostefaoui1,
  • Aissa Chouder2,
  • Hisham Alharbi3,
  • Abdullah S. Bin Humayd4,
  • Abebe Wondiferaw Wondimeneh5 &
  • …
  • Abdulrahman Babqi3 

Scientific Reports , Article number:  (2026) Cite this article

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Energy science and technology
  • Engineering

Abstract

This research introduces a novel artificial intelligence (AI) framework for fault detection and diagnosis (FDD) in photovoltaic (PV) systems that combines Convolutional Neural Networks (CNNs) with time–frequency analysis via the Wigner–Ville Distribution (WVD). The proposed method transforms raw numerical measurements—including solar irradiance, temperature, voltage, current, and power—into compact 6 × 12 time–frequency image representations, enabling effective spatial feature extraction by CNNs that are well suited to image-like data. The framework is benchmarked under both noiseless and noisy conditions on a comprehensive 17‑class dataset comprising one healthy condition (C0) and sixteen fault types (F1–F16), including progressive short‑circuit faults within a single string, pure partial‑shading faults, and combined inter‑string short‑circuit and asymmetric partial‑shading patterns along PV strings. To contextualize performance, the CNN–WVD model is compared not only with classical Artificial Neural Networks (ANNs) and Deep Neural Networks (DNNs) but also with Gradient Boosting Machines (GBM), Random Forests (RF), Support Vector Machines (SVM), and k‑Nearest Neighbors (kNN), all trained on the same WVD‑transformed data. In noiseless conditions, ANN and DNN achieve 99.51% and 99.49% accuracy, respectively, while the CNN attains 97.09%; RF, SVM, GBM, and kNN reach 93.47%, 88.62%, 84.01%, and 75.69% accuracy. Under noisy conditions that emulate real PV environments, the CNN is the most robust model with 90.27% accuracy, outperforming ANN (82.20%), RF (82.80%), SVM (83.85%), GBM (73.85%), DNN (76.27%), and kNN (72.80%). Key contributions include: (i) the use of WVD to obtain highly informative time–frequency representations of PV electrical signals, (ii) a structured data‑organization strategy that maps multivariate PV measurements into fixed‑size WVD images, and (iii) a CNN architecture that preserves high discrimination capability across closely related fault severities and locations, even in the presence of noise achieving 90.8% accuracy under realistic sensor noise (\(1 \times\) baseline uncertainty: \(\pm 10{W \mathord{\left/ {\vphantom {W {m^{2} }}} \right. \kern-0pt} {m^{2} }}\) irradiance, \(\pm 2 \, C\) temperature, \(\pm 5 \, V\) voltage, \(\pm 1 \, A\) current, \(\pm 25 \, W\) power) and maintaining 71.5% accuracy at \(3 \times\) noise, representing extreme aging sensor conditions. With a competitive degradation of only 8.91 percentage points—lower than the neural-network baselines (ANN: 16.27%, DNN: 15.00%) and the tree ensemble RF (11.34%)—the CNN + WVD framework demonstrates superior noise robustness for long-term deployment in real-world PV installations. By bridging advanced time–frequency analysis with deep learning and systematically comparing against a broad set of machine‑learning baselines, the proposed framework enables fully automated, fine‑grained PV fault classification without manual feature engineering, thereby enhancing monitoring reliability, reducing downtime, and supporting predictive maintenance in large‑scale PV deployments.

Data availability

The datasets used and/or analyzed during the current study are available from the corresponding author upon reasonable request.

References

  1. Sizkouhi, A. M., Aghaei, M. & Esmailifar, S. M. A deep convolutional encoder-decoder architecture for autonomous fault detection of PV plants using multi-copters. Sol. Energy 223, 217–228 (2021).

    Google Scholar 

  2. Lu, X. et al. Efficient fault diagnosis approach for solar photovoltaic array using a convolutional neural network in combination of generative adversarial network under small dataset. Sol. Energy 253, 360–374 (2023).

    Google Scholar 

  3. Latoui, A. & Daachi, M. E. H. Real-time monitoring of partial shading in large PV plants using Convolutional Neural Network. Sol. Energy 253, 428–438 (2023).

    Google Scholar 

  4. Yousif, H. & Al-Milaji, Z. Fault detection from PV images using hybrid deep learning model. Sol. Energy 267, 112207 (2024).

    Google Scholar 

  5. Chen, X., Gao, W., Hong, C. & Tu, Y. A novel series arc fault detection method for photovoltaic system based on multi-input neural network. Int. J. Electr. Power Energy Syst. 140, 108018 (2022).

    Google Scholar 

  6. Lu, X. et al. Fault diagnosis model for photovoltaic array using a dual-channels convolutional neural network with a feature selection structure. Energy Convers. Manag. 248, 114777 (2021).

    Google Scholar 

  7. Ramírez, I. S., Márquez, F. P. G. & Chaparro, J. P. Convolutional neural networks and Internet of Things for fault detection by aerial monitoring of photovoltaic solar plants. Measurement https://doi.org/10.1016/J.MEASUREMENT.2024.114861 (2024).

    Google Scholar 

  8. Qu, J., Sun, Q., Qian, Z., Wei, L. & Zareipour, H. Fault diagnosis for PV arrays considering dust impact based on transformed graphical features of characteristic curves and convolutional neural network with CBAM modules. Appl. Energy 355, 122252 (2024).

    Google Scholar 

  9. Hong, Y. Y. & Pula, R. A. Detection and classification of faults in photovoltaic arrays using a 3D convolutional neural network. Energy 246, 123391 (2022).

    Google Scholar 

  10. Kellil, N., Aissat, A. & Mellit, A. Fault diagnosis of photovoltaic modules using deep neural networks and infrared images under Algerian climatic conditions. Energy 263, 125902 (2023).

    Google Scholar 

  11. Hou, Z., Liu, J., Shao, Z., Ma, Q. & Liu, W. Machine learning innovations in renewable energy systems with integrated NRBO-TXAD for enhanced wind speed forecasting accuracy. Electronics 14, 2329 (2025).

    Google Scholar 

  12. Hu, Q., Fan, C. & Guo, D. Forecasting future power via machine learning models for predicting energy consumption. Sādhanā 50(3), 225 (2025).

    Google Scholar 

  13. Liu, J., Hou, Z. & Yin, T. Short-term power load forecast using OOA optimized bidirectional long short-term memory network with spectral attention for the frequency domain. Energy Rep. 12, 4891–4908 (2024).

    Google Scholar 

  14. Hou, Z., Wang, B., Liu, J., He, Y. & Yao, Y. Physics-inspired time-frequency feature extraction and lightweight neural network for power quality disturbance classification. Front. Phys. 13, 1616367 (2025).

    Google Scholar 

  15. Hou, Z., Liu, J. & Yu, S. Enhanced analog circuit fault diagnosis via continuous wavelet transform and dual-stream convolutional fusion. Sci. Rep. 15(1), 19828 (2025).

    Google Scholar 

  16. Seghiour, A., Abbas, H. A., Chouder, A. & Rabhi, A. Deep learning method based on autoencoder neural network applied to faults detection and diagnosis of photovoltaic system. Simul. Model Pract. Theory 123, 102704 (2023).

    Google Scholar 

  17. Garoudja, E., Chouder, A., Kara, K. & Silvestre, S. An enhanced machine learning based approach for failures detection and diagnosis of PV systems. Energy Convers. Manag. 151, 496–513 (2017).

    Google Scholar 

  18. Chouder, A., Silvestre, S., Taghezouit, B. & Karatepe, E. Monitoring, modelling and simulation of PV systems using LabVIEW. Sol. Energy https://doi.org/10.1016/j.solener.2012.09.016 (2013).

    Google Scholar 

  19. Elmamoune, H., Abdellatif, S., Lakhdar, M., Aissa, C. & Said, B. An Improved Grey Wolf Optimizer for Parameter Extraction of Photovoltaic Cells. https://www.icaens.com/.

  20. Malik, A., Haque, A., Kurukuru, V. S. B., Khan, M. A. & Blaabjerg, F. Overview of fault detection approaches for grid connected photovoltaic inverters. e-Prime – Adv. Electr. Eng., Electron. Energy 2, 100035 (2022).

    Google Scholar 

  21. Saifi, I. A., Amir, M., Haque, A. & Iqbal, A. Investigation of condition monitoring system for grid connected photovoltaic (GCPV) system with power electronics converters using machine learning techniques. e-Prime – Adv. Electr. Eng., Electron. Energy 9, 100722 (2024).

    Google Scholar 

  22. Seghiour, A., Seghier, T., Zegnini, B. & Georgoulas, G. Multi-Class Classification Approach for the Diagnosis of Broken Rotor Bars Based on Air-Gap Magnetic Flux Density Spectrum. Electrotehnica, Electronica. Automatica (EEA) 65, 31–39 (2017).

    Google Scholar 

  23. El Fadili, Y. & Boumhidi, I. New design of an intelligent electromagnetic torque controller based on neural network and fractional calculus: Variable-speed wind energy systems application. e-Prime – Adv. Electr. Eng., Electron. Energy 10, 100829 (2024).

    Google Scholar 

  24. Venkatesh, S. N., Sugumaran, V., Subramanian, B., Josephin, J. S. F. & Varuvel, E. G. A comparative study on bayes classifier for detecting photovoltaic module visual faults using deep learning features. Sustain. Energy Technol. Assess. 64, 103713 (2024).

    Google Scholar 

  25. Hong, Y. Y. & Pula, R. A. Diagnosis of photovoltaic faults using digital twin and PSO-optimized shifted window transformer. Appl. Soft Comput. 150, 111092 (2024).

    Google Scholar 

  26. Amiri, A. F., Kichou, S., Oudira, H., Chouder, A. & Silvestre, S. Fault Detection and Diagnosis of a Photovoltaic System Based on Deep Learning Using the Combination of a Convolutional Neural Network (CNN) and Bidirectional Gated Recurrent Unit (Bi-GRU). Sustain. (Switzerland) 16, 1012 (2024).

    Google Scholar 

  27. Lu, S. D., Wu, C. C. & Sian, H. W. A novel fault diagnosis method for PV arrays using convolutional extension neural network with symmetrized dot pattern analysis. IET Sci., Meas. Technol. 18, 49–64 (2024).

    Google Scholar 

  28. Wang, M. H., Hung, C. C., Lu, S. D., Lin, Z. H. & Kuo, C. C. Fault Diagnosis for PV Modules Based on AlexNet and Symmetrized Dot Pattern. Energies (Basel) 16, 7563 (2023).

    Google Scholar 

  29. Chouder, A. & Silvestre, S. Automatic supervision and fault detection of PV systems based on power losses analysis. Energy Convers. Manag. 51, 1929–1937 (2010).

    Google Scholar 

Download references

Acknowledgements

The authors would like to acknowledge the Deanship of Graduate Studies and Scientific Research, Taif University for funding this work.

Funding

This work is funded and supported by the Deanship of Graduate Studies and Scientific Research, Taif University.

Author information

Authors and Affiliations

  1. Electric Power and Energy Systems Research Laboratory, Ecole Supérieure en Génie Electrique Et Energétique d’Oran, 31000, Oran, Algeria

    Abdellatif Seghiour, Yacine Bendjeddou & Imene Meriem Mostefaoui

  2. Electrical Engineering Laboratory (LGE), University of M’sila, BP 166, 28000, M’Sila, Algeria

    Aissa Chouder

  3. Department of Electrical Engineering, College of Engineering, Taif University, 21944, Taif, Saudi Arabia

    Hisham Alharbi & Abdulrahman Babqi

  4. Department of Electrical Engineering, Umm Al-Qura University, 21421, Makkah, Saudi Arabia

    Abdullah S. Bin Humayd

  5. Department of Electrical and Computer Engineering, Faculty of Technology, Debre Markos University, P. BOX 269, Debre Markos, Ethiopia

    Abebe Wondiferaw Wondimeneh

Authors
  1. Abdellatif Seghiour
    View author publications

    Search author on:PubMed Google Scholar

  2. Yacine Bendjeddou
    View author publications

    Search author on:PubMed Google Scholar

  3. Imene Meriem Mostefaoui
    View author publications

    Search author on:PubMed Google Scholar

  4. Aissa Chouder
    View author publications

    Search author on:PubMed Google Scholar

  5. Hisham Alharbi
    View author publications

    Search author on:PubMed Google Scholar

  6. Abdullah S. Bin Humayd
    View author publications

    Search author on:PubMed Google Scholar

  7. Abebe Wondiferaw Wondimeneh
    View author publications

    Search author on:PubMed Google Scholar

  8. Abdulrahman Babqi
    View author publications

    Search author on:PubMed Google Scholar

Contributions

Abdellatif Seghiour, Yacine Bendjeddou, Imene Meriem Mostefaoui, Aissa Chouder: Conceptualization, Methodology, Software, Visualization, Investigation, Writing- Original draft preparation. Hisham Alharbi, Abdullah S. Bin Humayd, Abebe Wondiferaw Wondimeneh, Abdulrahman Babqi: Data curation, Validation, Supervision, Resources, Writing—Review & Editing, Project administration, Funding Acquisition.

Corresponding authors

Correspondence to Abdellatif Seghiour or Abebe Wondiferaw Wondimeneh.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Seghiour, A., Bendjeddou, Y., Mostefaoui, I.M. et al. Fault detection and diagnosis in photovoltaic systems using artificial intelligence and time–frequency analysis. Sci Rep (2026). https://doi.org/10.1038/s41598-026-39386-7

Download citation

  • Received: 01 June 2025

  • Accepted: 04 February 2026

  • Published: 20 February 2026

  • DOI: https://doi.org/10.1038/s41598-026-39386-7

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Keywords

  • Photovoltaic systems
  • Fault detection and diagnosis
  • Convolutional neural networks
  • Wigner-ville distribution
  • Renewable energy monitoring
Download PDF

Advertisement

Explore content

  • Research articles
  • News & Comment
  • Collections
  • Subjects
  • Follow us on Facebook
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • About Scientific Reports
  • Contact
  • Journal policies
  • Guide to referees
  • Calls for Papers
  • Editor's Choice
  • Journal highlights
  • Open Access Fees and Funding

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Scientific Reports (Sci Rep)

ISSN 2045-2322 (online)

nature.com sitemap

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing