Dual-Layer Physics-Residual-Constraint-Driven SAE-Mini-Transformer: DC-Side Fault Diagnosis of Photovoltaic Arrays for Edge Terminals
Ying Su, Shaorong Jia, Jiajie Li, Honglu Zhu
Key points
From the paper's conclusion- Single-sample inference takes approximately 0.8–1.0 ms, meeting real-time diagnosis requirements.
Abstract
Direct current-side (DC-side) faults, including string open circuits, string short circuits, string underperformance, sensor faults, and partial shading, threaten the safe operation of photovoltaic (PV) plants. Existing data-driven methods lack physical priors, struggle to extract coupled features from multivariate long time series, or require excessive computational resources for edge deployment. Overlapping fault features further limit fault discrimination and cross-site robustness. To address the aforementioned issues, this study aims to develop a DC-side fault diagnosis method that integrates physical consistency with PV operation, multi-class fault identification under complex operating conditions, and computational efficiency for edge deployment. The objective is to improve fault diagnosis performance and cross-site generalization while meeting the real-time diagnostic requirements of edge devices in PV power plants. This study proposes a lightweight stacked autoencoder (SAE)-Mini-Transformer fault diagnosis method driven by dual-layer physics-residual constraints. Three physical residuals, the electrical-consistency residual, power-ramp residual, and performance ratio (PR) out-of-range residual, embed physical constraints through sample weighting and joint-loss penalty terms. These constraints apply only during training, adding no computational overhead during inference. The SAE denoises and reduces the dimensionality of multi-source time-series data, while a Mini-Transformer with a streamlined encoder captures long-range temporal coupling between electrical and meteorological variables. A feature discrimination head outputs posterior probabilities for the normal state and five typical faults. Validation using measured operating data from three PV plants in China shows that the macro-averaged F1-score (Macro-F1) exceeds 93% at each plant, indicating good cross-site robustness. The model outperforms one-dimensional convolutional neural network (1D-CNN) and long short-term memory (LSTM) models and significantly reduces model complexity while maintaining recognition performance close to that of a standard Transformer. Single-sample inference takes approximately 0.8–1.0 ms, meeting real-time diagnosis requirements. Integrating PV operating physics with lightweight temporal modeling, the method provides theoretical support and an engineering reference for intelligent DC-side operation and maintenance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Photovoltaic array fault detection using a hybrid graph neural network and transformer architecture with multi-head attentionJournal of Renewable and Sustainable Energy · 2025
- Physics-Informed Photovoltaic Fault Diagnosis Using Hard-Clamped Feature Engineering and Progressive Fine-TuningApplied Sciences · 2026
- Physics-Informed Anomaly Detection and Fault Localization for Wind Turbines Using Multi-Strategy DASVDD and Bidirectionally Adjusted Reconstruction Error.Sensors (Basel, Switzerland) · 2026
- Comparative Evaluation of YOLO- and Transformer-Based Models for Photovoltaic Fault Detection Using Thermal ImageryEnergies · 2026
- A Review on Multimodal-Based Fault Detection and Diagnosis in Photovoltaic Systems: Fusion and Attention MechanismsIEEE Access · 2026
- Enhancing Photovoltaic Power Forecasting Using Soft Physical Constraint‐Based Deep Learning Under Limited Data ConditionsInternational Journal of Energy Research · 2026