Abstract
Photovoltaic (PV) systems nowadays represent an essential component of renewable energy production. However, undetected faults often compromise their reliability, leading to significant energy losses and high maintenance costs. Existing deep learning approaches for PV fault diagnosis have achieved high accuracy, but they require massive, labeled datasets and high computational resources, which make them unsuitable for real-time applications. This paper proposes a lightweight, self-supervised hybrid learning framework for real-time PV fault diagnosis to address these limitations. First, the dataset is split into training, testing, and validation subsets. Thereafter, weighted class calculation steps are performed to overcome the issue of imbalance in the data. Then, a self-supervised pre-training phase is established to enable the encoder to produce effective internal representations prior to the implementation of a supervised fine-tuning classifier, characterized as a lightweight feed-forward network (Dense–Dropout–Dense Softmax), which will be trained using categorical cross-entropy and fault-type labels. Finally, a supervised fine-tuning stage is employed based on the pre-trained hybrid CNN–transformer encoder to perform PV fault classification. The experimental results indicate that the proposed approach outperforms existing models by achieving an overall accuracy of 99.8%, a recall of 99.6%, and an outstanding specificity of 100%. The confusion matrix demonstrates that classification is excellent on all operating types. Runtime analysis indicates that the model processes each sample in 2.78 ms and requires 0.07 MB to store weights of 19,429 parameters, confirming its suitability for real-time deployment. These findings highlight that using a hybrid CNN–Transformer encoder with self-supervised learning can improve fault detection and classification performance while significantly reducing inference time, making it an effective and efficient solution for intelligent PV system monitoring.
| Original language | English |
|---|---|
| Article number | 173 |
| Journal | Algorithms |
| Volume | 19 |
| Issue number | 3 |
| DOIs | |
| Publication status | Published - Mar 2026 |
Bibliographical note
Publisher Copyright:© 2026 by the authors.
Keywords
- convolutional neural network
- deep learning
- fault detection
- lightweight classifier
- masked feature prediction
- self-supervised learning
Fingerprint
Dive into the research topics of 'Lightweight Self-Supervised Hybrid Learning for Generalizable and Real-Time Fault Diagnosis in Photovoltaic Systems'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver