IDEAS home Printed from https://ideas.repec.org/a/eee/renene/v256y2026iphs096014812502213x.html

CrackNet: A transformer-based approach for detecting microcrack in photovoltaic panels based on electroluminescence images

Author

Listed:
  • Gao, Han
  • Fan, Siyuan
  • He, Mingyue
  • Wang, Yu
  • Hong, Wenpeng
  • Ding, Wei

Abstract

Microcracks in photovoltaic (PV) panels affect power generation efficiency and system safety. Traditional detection methods cannot accurately identify defects with complex shapes due to background noise and low computational efficiency. This paper presents a transformer-based semantic segmentation model, CrackNet, for detecting microcracks in electroluminescence (EL) images. We design a scale-aware dynamic dilated attention (SDDA) mechanism to improve the model’s ability to detect local details and determine global dependencies. We incorporate a dynamic upsampling operator (DySample) to replace dynamic convolutions with a point-sampling strategy, significantly reducing computational complexity and improving processing speed. We propose a preprocessing method for EL images to suppress grid line interference and improve detection accuracy. Experimental results on a custom PV microcrack dataset show that CrackNet achieves an average intersection over union (mIoU) of 80.45% and mean pixel accuracy (mPA) of 82.47%, significantly outperforming mainstream models, such as U-Net and DeepLab v3+. Moreover, CrackNet has higher parameter efficiency (41.72 M parameters) and computational performance (67.10 G FLOPs) than similar algorithms.

Suggested Citation

  • Gao, Han & Fan, Siyuan & He, Mingyue & Wang, Yu & Hong, Wenpeng & Ding, Wei, 2026. "CrackNet: A transformer-based approach for detecting microcrack in photovoltaic panels based on electroluminescence images," Renewable Energy, Elsevier, vol. 256(PH).
  • Handle: RePEc:eee:renene:v:256:y:2026:i:ph:s096014812502213x
    DOI: 10.1016/j.renene.2025.124549
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S096014812502213X
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.renene.2025.124549?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Dhimish, Mahmoud, 2020. "Micro cracks distribution and power degradation of polycrystalline solar cells wafer: Observations constructed from the analysis of 4000 samples," Renewable Energy, Elsevier, vol. 145(C), pages 466-477.
    2. Hussain, Muhammed & Dhimish, Mahmoud & Titarenko, Sofya & Mather, Peter, 2020. "Artificial neural network based photovoltaic fault detection algorithm integrating two bi-directional input parameters," Renewable Energy, Elsevier, vol. 155(C), pages 1272-1292.
    3. Zhao, Xiaolong & Song, Chonghui & Zhang, Haifeng & Sun, Xianrui & Zhao, Jing, 2023. "HRNet-based automatic identification of photovoltaic module defects using electroluminescence images," Energy, Elsevier, vol. 267(C).
    4. 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).
    5. Cheng Yang & Fuhao Sun & Yujie Zou & Zhipeng Lv & Liang Xue & Chao Jiang & Shuangyu Liu & Bochao Zhao & Haoyang Cui, 2024. "A Survey of Photovoltaic Panel Overlay and Fault Detection Methods," Energies, MDPI, vol. 17(4), pages 1-37, February.
    6. Høiaas, Ingeborg & Grujic, Katarina & Imenes, Anne Gerd & Burud, Ingunn & Olsen, Espen & Belbachir, Nabil, 2022. "Inspection and condition monitoring of large-scale photovoltaic power plants: A review of imaging technologies," Renewable and Sustainable Energy Reviews, Elsevier, vol. 161(C).
    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. Cheng Yang & Fuhao Sun & Yujie Zou & Zhipeng Lv & Liang Xue & Chao Jiang & Shuangyu Liu & Bochao Zhao & Haoyang Cui, 2024. "A Survey of Photovoltaic Panel Overlay and Fault Detection Methods," Energies, MDPI, vol. 17(4), pages 1-37, February.
    2. Papargyri, Lamprini & Papanastasiou, Panos & Georghiou, George E., 2022. "Effect of materials and design on PV cracking under mechanical loading," Renewable Energy, Elsevier, vol. 199(C), pages 433-444.
    3. Tang, Wuqin & Yang, Qiang & Dai, Zhou & Yan, Wenjun, 2024. "Module defect detection and diagnosis for intelligent maintenance of solar photovoltaic plants: Techniques, systems and perspectives," Energy, Elsevier, vol. 297(C).
    4. Liu, Qiao & Shi, Haotian & Zhu, Yuyu & Chen, Lei & Liu, Manlu & Cao, Wen & Huang, Qi, 2025. "An efficient fault diagnosis method combining multi-angle feature expansion and visual image neural networks for solar photovoltaic modules," Energy, Elsevier, vol. 333(C).
    5. Shan, Chuan & Sun, Kangwen & Ji, Xinzhe & Cheng, Dongji, 2023. "A reconfiguration method for photovoltaic array of stratospheric airship based on multilevel optimization algorithm," Applied Energy, Elsevier, vol. 352(C).
    6. 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).
    7. Alberto Redondo Plaza & Victor Ndeti Ngungu & Sara Gallardo Saavedra & José Ignacio Morales Aragonés & Víctor Alonso Gómez & Lilian Johanna Obregón & Luis Hernández Callejo, 2023. "Partial Photoluminescence Imaging for Inspection of Photovoltaic Cells: Artificial LED Excitation and Sunlight Excitation," Energies, MDPI, vol. 16(11), pages 1-12, June.
    8. Izabela Rojek & Dariusz Mikołajewski & Marek Andryszczyk & Tomasz Bednarek & Krzysztof Tyburek, 2025. "Leveraging Machine Learning in Next-Generation Climate Change Adaptation Efforts by Increasing Renewable Energy Integration and Efficiency," Energies, MDPI, vol. 18(13), pages 1-22, June.
    9. Dhimish, Mahmoud & Ahmad, Ameer & Tyrrell, Andy M., 2022. "Inequalities in photovoltaics modules reliability: From packaging to PV installation site," Renewable Energy, Elsevier, vol. 192(C), pages 805-814.
    10. Abdulla, Hind & Sleptchenko, Andrei & Nayfeh, Ammar, 2024. "Photovoltaic systems operation and maintenance: A review and future directions," Renewable and Sustainable Energy Reviews, Elsevier, vol. 195(C).
    11. 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).
    12. Sairam, Seshapalli & Seshadhri, Subathra & Marafioti, Giancarlo & Srinivasan, Seshadhri & Mathisen, Geir & Bekiroglu, Korkut, 2022. "Edge-based Explainable Fault Detection Systems for photovoltaic panels on edge nodes," Renewable Energy, Elsevier, vol. 185(C), pages 1425-1440.
    13. Wang, Mengyuan & Xu, Xiaoyuan & Yan, Zheng, 2023. "Online fault diagnosis of PV array considering label errors based on distributionally robust logistic regression," Renewable Energy, Elsevier, vol. 203(C), pages 68-80.
    14. Parenti, Mattia & Fossa, Marco & Delucchi, Lorenzo, 2024. "A model for energy predictions and diagnostics of large-scale photovoltaic systems based on electric data and thermal imaging of the PV fields," Renewable and Sustainable Energy Reviews, Elsevier, vol. 206(C).
    15. Li, Fuxiang & Sui, Yunren & Lin, Haosheng & Sui, Zengguang & Wu, Wei, 2025. "High-resolution modeling and multiscale experiment study of photovoltaic with reverse-biased cell," Applied Energy, Elsevier, vol. 398(C).
    16. Cardoso, Andressa & Jurado-Rodríguez, David & López, Alfonso & Ramos, M. Isabel & Jurado, Juan Manuel, 2024. "Automated detection and tracking of photovoltaic modules from 3D remote sensing data," Applied Energy, Elsevier, vol. 367(C).
    17. Anna Katharina Schnatmann & Tobi Reimers & Erik Hüdepohl & Jonah Umlauf & Pia Kleinebekel & Fabian Schoden & Eva Schwenzfeier-Hellkamp, 2024. "Investigating the Technical Reuse Potential of Crystalline Photovoltaic Modules with Regard to a Recycling Alternative," Sustainability, MDPI, vol. 16(3), pages 1-17, January.
    18. Youssouf Mouleloued & Kamel Kara & Aissa Chouder & Abdelhadi Aouaichia & Santiago Silvestre, 2025. "Euclidean Distance-Based Tree Algorithm for Fault Detection and Diagnosis in Photovoltaic Systems," Energies, MDPI, vol. 18(7), pages 1-24, April.
    19. Qu, Zhaoyang & Zang, Jiye & Li, Lingcong & Dong, Yunchang & Qu, Nan, 2024. "Biomimetic model of photovoltaic cell defect detection based on mimic vision," Applied Energy, Elsevier, vol. 376(PA).
    20. Weiguo He & Deyang Yin & Kaifeng Zhang & Xiangwen Zhang & Jianyong Zheng, 2021. "Fault Detection and Diagnosis Method of Distributed Photovoltaic Array Based on Fine-Tuning Naive Bayesian Model," Energies, MDPI, vol. 14(14), pages 1-17, July.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:eee:renene:v:256:y:2026:i:ph:s096014812502213x. 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: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/renewable-energy .

    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.