IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i4p776-d1585993.html
   My bibliography  Save this article

Automatic Fault Classification in Photovoltaic Modules Using Denoising Diffusion Probabilistic Model, Generative Adversarial Networks, and Convolutional Neural Networks

Author

Listed:
  • Carlos Roberto da Silveira Junior

    (Department IV, Federal Institute of Goiás, Goiânia 74055-110, GO, Brazil
    These authors contributed equally to this work.)

  • Carlos Eduardo Rocha Sousa

    (Institute of Informatics, Federal University of Goiás, Goiânia 74055-900, GO, Brazil
    These authors contributed equally to this work.)

  • Ricardo Henrique Fonseca Alves

    (Petrobras, Rio de Janeiro 20231-030, RJ, Brazil
    These authors contributed equally to this work.)

Abstract

Current techniques for fault analysis in photovoltaic (PV) systems plants involve either electrical performance measurements or image processing, as well as line infrared thermography for visual inspection. Deep convolutional neural networks (CNNs) are machine learning algorithms that perform tasks involving images, such as image classification and object recognition. However, to train a model effectively to recognize different patterns, it is crucial to have a sufficiently balanced dataset. Unfortunately, this is not always feasible owing to the limited availability of publicly accessible datasets for PV thermographic data and the unequal distribution of different faults in real-world systems. In this study, three data augmentation techniques—geometric transformations (GTs), generative adversarial networks (GANs), and the denoising diffusion probabilistic model (DDPM)—were combined with a CNN to classify faults in PV modules through thermographic images and identify the type of fault in 11 different classes (i.e., soiling, shadowing, and diode). Through the cross-validation method, the main results found with the Wasserstein GAN (WGAN) and DDPM networks combined with the CNN for anomaly classification achieved testing accuracies of 86.98% and 89.83%, respectively. These results demonstrate the effectiveness of both networks for accurately classifying anomalies in the dataset. The results corroborate the use of the diffusion model as a PV data augmentation technique when compared with other methods such as GANs and GTs.

Suggested Citation

  • Carlos Roberto da Silveira Junior & Carlos Eduardo Rocha Sousa & Ricardo Henrique Fonseca Alves, 2025. "Automatic Fault Classification in Photovoltaic Modules Using Denoising Diffusion Probabilistic Model, Generative Adversarial Networks, and Convolutional Neural Networks," Energies, MDPI, vol. 18(4), pages 1-25, February.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:4:p:776-:d:1585993
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/4/776/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/4/776/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Peter M. Attia & Aditya Grover & Norman Jin & Kristen A. Severson & Todor M. Markov & Yang-Hung Liao & Michael H. Chen & Bryan Cheong & Nicholas Perkins & Zi Yang & Patrick K. Herring & Muratahan Ayko, 2020. "Closed-loop optimization of fast-charging protocols for batteries with machine learning," Nature, Nature, vol. 578(7795), pages 397-402, February.
    2. Huerta Herraiz, Álvaro & Pliego Marugán, Alberto & García Márquez, Fausto Pedro, 2020. "Photovoltaic plant condition monitoring using thermal images analysis by convolutional neural network-based structure," Renewable Energy, Elsevier, vol. 153(C), pages 334-348.
    3. Akram, M. Waqar & Li, Guiqiang & Jin, Yi & Chen, Xiao & Zhu, Changan & Zhao, Xudong & Khaliq, Abdul & Faheem, M. & Ahmad, Ashfaq, 2019. "CNN based automatic detection of photovoltaic cell defects in electroluminescence images," Energy, Elsevier, vol. 189(C).
    4. Alwosheel, Ahmad & van Cranenburgh, Sander & Chorus, Caspar G., 2018. "Is your dataset big enough? Sample size requirements when using artificial neural networks for discrete choice analysis," Journal of choice modelling, Elsevier, vol. 28(C), pages 167-182.
    5. Chine, W. & Mellit, A. & Lughi, V. & Malek, A. & Sulligoi, G. & Massi Pavan, A., 2016. "A novel fault diagnosis technique for photovoltaic systems based on artificial neural networks," Renewable Energy, Elsevier, vol. 90(C), pages 501-512.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Li, B. & Delpha, C. & Diallo, D. & Migan-Dubois, A., 2021. "Application of Artificial Neural Networks to photovoltaic fault detection and diagnosis: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 138(C).
    2. Chang, Zhonghao & Han, Te, 2024. "Prognostics and health management of photovoltaic systems based on deep learning: A state-of-the-art review and future perspectives," Renewable and Sustainable Energy Reviews, Elsevier, vol. 205(C).
    3. Fonseca Alves, Ricardo Henrique & Deus Júnior, Getúlio Antero de & Marra, Enes Gonçalves & Lemos, Rodrigo Pinto, 2021. "Automatic fault classification in photovoltaic modules using Convolutional Neural Networks," Renewable Energy, Elsevier, vol. 179(C), pages 502-516.
    4. Mellit, Adel & Kalogirou, Soteris, 2021. "Artificial intelligence and internet of things to improve efficacy of diagnosis and remote sensing of solar photovoltaic systems: Challenges, recommendations and future directions," Renewable and Sustainable Energy Reviews, Elsevier, vol. 143(C).
    5. Ramadoss Janarthanan & R. Uma Maheshwari & Prashant Kumar Shukla & Piyush Kumar Shukla & Seyedali Mirjalili & Manoj Kumar, 2021. "Intelligent Detection of the PV Faults Based on Artificial Neural Network and Type 2 Fuzzy Systems," Energies, MDPI, vol. 14(20), pages 1-19, October.
    6. Waqar Akram, M. & Li, Guiqiang & Jin, Yi & Chen, Xiao, 2022. "Failures of Photovoltaic modules and their Detection: A Review," Applied Energy, Elsevier, vol. 313(C).
    7. Jiang, Lidang & Hu, Changyan & Ji, Sibei & Zhao, Hang & Chen, Junxiong & He, Ge, 2025. "Generating comprehensive lithium battery charging data with generative AI," Applied Energy, Elsevier, vol. 377(PC).
    8. Pietro Iurilli & Luigi Luppi & Claudio Brivio, 2022. "Non-Invasive Detection of Lithium-Metal Battery Degradation," Energies, MDPI, vol. 15(19), pages 1-14, September.
    9. Segovia Ramírez, Isaac & Pliego Marugán, Alberto & García Márquez, Fausto Pedro, 2022. "A novel approach to optimize the positioning and measurement parameters in photovoltaic aerial inspections," Renewable Energy, Elsevier, vol. 187(C), pages 371-389.
    10. Haoying Wang & Guohui Wu, 2022. "Modeling discrete choices with large fine-scale spatial data: opportunities and challenges," Journal of Geographical Systems, Springer, vol. 24(3), pages 325-351, July.
    11. Chiwu Bu & Tao Liu & Tao Wang & Hai Zhang & Stefano Sfarra, 2023. "A CNN-Architecture-Based Photovoltaic Cell Fault Classification Method Using Thermographic Images," Energies, MDPI, vol. 16(9), pages 1-13, April.
    12. Yuqiang Zeng & Buyi Zhang & Yanbao Fu & Fengyu Shen & Qiye Zheng & Divya Chalise & Ruijiao Miao & Sumanjeet Kaur & Sean D. Lubner & Michael C. Tucker & Vincent Battaglia & Chris Dames & Ravi S. Prashe, 2023. "Extreme fast charging of commercial Li-ion batteries via combined thermal switching and self-heating approaches," Nature Communications, Nature, vol. 14(1), pages 1-9, December.
    13. Ester Vasta & Tommaso Scimone & Giovanni Nobile & Otto Eberhardt & Daniele Dugo & Massimiliano Maurizio De Benedetti & Luigi Lanuzza & Giuseppe Scarcella & Luca Patanè & Paolo Arena & Mario Cacciato, 2023. "Models for Battery Health Assessment: A Comparative Evaluation," Energies, MDPI, vol. 16(2), pages 1-34, January.
    14. Gu, Xubo & Bai, Hanyu & Cui, Xiaofan & Zhu, Juner & Zhuang, Weichao & Li, Zhaojian & Hu, Xiaosong & Song, Ziyou, 2024. "Challenges and opportunities for second-life batteries: Key technologies and economy," Renewable and Sustainable Energy Reviews, Elsevier, vol. 192(C).
    15. Zhang, Jianping & Zhang, Yinjie & Fu, Jian & Zhao, Dawen & Liu, Ping & Zhang, Zhiwei, 2024. "Capacity fading knee-point recognition method and life prediction for lithium-ion batteries using segmented capacity degradation model," Reliability Engineering and System Safety, Elsevier, vol. 251(C).
    16. Fan, Zhaohui & Fu, Yijie & Liang, Hong & Gao, Renjing & Liu, Shutian, 2023. "A module-level charging optimization method of lithium-ion battery considering temperature gradient effect of liquid cooling and charging time," Energy, Elsevier, vol. 265(C).
    17. Pratt, Lawrence & Govender, Devashen & Klein, Richard, 2021. "Defect detection and quantification in electroluminescence images of solar PV modules using U-net semantic segmentation," Renewable Energy, Elsevier, vol. 178(C), pages 1211-1222.
    18. Hsu, Chia-Wei & Xiong, Rui & Chen, Nan-Yow & Li, Ju & Tsou, Nien-Ti, 2022. "Deep neural network battery life and voltage prediction by using data of one cycle only," Applied Energy, Elsevier, vol. 306(PB).
    19. Sellak, Hamza & Ouhbi, Brahim & Frikh, Bouchra & Palomares, Iván, 2017. "Towards next-generation energy planning decision-making: An expert-based framework for intelligent decision support," Renewable and Sustainable Energy Reviews, Elsevier, vol. 80(C), pages 1544-1577.
    20. Kara Mostefa Khelil, Chérifa & Amrouche, Badia & Benyoucef, Abou soufiane & Kara, Kamel & Chouder, Aissa, 2020. "New Intelligent Fault Diagnosis (IFD) approach for grid-connected photovoltaic systems," Energy, Elsevier, vol. 211(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:18:y:2025:i:4:p:776-:d:1585993. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.