Sliding Mode Observer-Based Sensor Fault Diagnosis in a Photovoltaic System
Abstract
1. Introduction
- We have developed an efficient diagnostic approach using a single observer to estimate the state variables of the studied system.
- The presented method is able to detect and locate faults either in the simultaneous case or in the independent case.
- The detection performance over a range of threshold values in the presence of sensor faults, measurement noise, parameter variations, and varying environmental conditions is studied in order to determine the optimal threshold value.
- The residuals are generated in a robust way to avoid false alarms that can be caused by disturbances or noises.
- The sliding mode observer gains are determined through parametric adaptation laws that ensure system stability and enhance the efficiency of the diagnostic approach.
- Stability analysis of the sliding mode observer is conducted by choosing an appropriate Lyapunov function.
- A comparative study between the proposed diagnostic method and another existing in the literature was conducted based on a graphical and tabular analysis.
2. Photovoltaic System Modeling
3. Sliding Mode Observer
- The photovoltaic voltage vPV and the voltage across the load vload are measured variables, while the inductor current iL is unmeasured.
- The photovoltaic current iPV and the duty cycle α are known parameters.
4. Sensor Fault Detection and Isolation Strategy with Sliding Mode Observer
4.1. Residuals Generation
4.2. Threshold Selection
4.3. Threshold Sensitivity
- The False Alarm Rate (FAR) is the percentage of false alarms generated during normal operation. It is calculated as
- The Missed Detection Rate (MDR) is the percentage of actual faults that the system fails to detect. It is calculated aswhere Nuf denotes the number of undetected faults and Tf is the total number of faults.
- The detection Latency is the time delay between the instant a fault is injected and the moment it is successfully detected. It is defined as
5. Results and Discussion
5.1. First Case: Independent Multiple Sensor Faults
5.2. Second Case: Simultaneous Multiple Sensor Faults
6. Comparative Study
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Madeti, S.R.; Singh, S.N. A comprehensive study on different types of faults and detection techniques for solar photovoltaic system. Sol. Energy 2017, 158, 161–185. [Google Scholar] [CrossRef]
- Taghezouit, B.; Harrou, F.; Sun, Y.; Merrouche, W. Model-based fault detection in photovoltaic systems: A comprehensive review and avenues for enhancement. Results Eng. 2024, 21, 101835. [Google Scholar] [CrossRef]
- Osmani, K.; Haddad, A.; Lemenand, T.; Castanier, B.; Alkhedher, M.; Ramadan, M. A critical review of PV systems faults with the relevant detection methods. Energy Nexus 2023, 12, 100257. [Google Scholar] [CrossRef]
- Islam, M.; Rashel, M.R.; Ahmed, M.T.; Kamrul Islam, A.K.M.; Tlemçani, M. Artificial Intelligence in Photovoltaic Fault Identification and Diagnosis: A Systematic Review. Energies 2023, 16, 7417. [Google Scholar] [CrossRef]
- Kurukuru, V.S.B.; Haque, A.; Khan, M.A.; Sahoo, S.; Malik, A.; Blaabjerg, F. A Review on Artificial Intelligence Applications for Grid-Connected Solar Photovoltaic Systems. Energies 2021, 14, 4690. [Google Scholar] [CrossRef]
- Romero, H.F.M.; Rebollo, M.Á.G.; Cardeñoso-Payo, V.; Gómez, V.A.; Plaza, A.R.; Moyo, R.T.; Hernández-Callejo, L. Applications of Artificial Intelligence to Photovoltaic Systems: A Review. Appl. Sci. 2022, 12, 10056. [Google Scholar] [CrossRef]
- Navid, Q.; Hassan, A.; Fardoun, A.A.; Ramzan, R.; Alraeesi, A. Fault Diagnostic Methodologies for Utility-Scale Photovoltaic Power Plants: A State of the Art Review. Sustainability 2021, 13, 1629. [Google Scholar] [CrossRef]
- Aallouche, H.; Ouadi, H. Online fault detection and identification for an isolated PV system using ANN. IFAC Pap. 2022, 55, 468–475. [Google Scholar] [CrossRef]
- Navid, Q.; Hassan, A.; Fardoun, A.A.; Ramzan, R. An Online Novel Two-Layered Photovoltaic Fault Monitoring Technique Based Upon the Thermal Signatures. Sustainability 2020, 12, 9607. [Google Scholar] [CrossRef]
- Hajji, M.; Yahyaoui, Z.; Mansouri, M.; Nounou, H.; Nounou, M. Fault detection and diagnosis in grid-connected PV systems under irradiance variations. Energy Rep. 2023, 9, 4005–4017. [Google Scholar] [CrossRef]
- 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. 2017, 151, 496–513. [Google Scholar] [CrossRef]
- Xu, X.; Zhang, T.; Qiu, Z.; Gao, H.; Zhu, S. A Method Based on NGO-HKELM for the Autonomous Diagnosis of Semiconductor Power Switch Open-Circuit Faults in Three-Phase Grid-Connected Photovoltaic Inverters. Sustainability 2023, 15, 9588. [Google Scholar]
- Zare, A.; Simab, M.; Nafar, M.; Rodrigues, E.M.G. A novel method for fault diagnosis in photovoltaic arrays used in distribution power systems. Energy Syst. 2024. [Google Scholar] [CrossRef]
- Zhong, Y.; Zhang, B.; Ji, X.; Wu, J. Fault Diagnosis of PV Array Based on Time Series and Support Vector Machine. Int. J. Photoenergy 2024, 2024, 2885545. [Google Scholar] [CrossRef]
- Dadashpour, A.; Eskandari, A.; Nedaei, A.; Salehpour, S.; Parvin, P.; Livera, A.; Makrides, G.; Aghaei, M.A. Novel Long Short-Term Memory (LSTM)-based Degradation Detection in Photovoltaic Systems using Performance Ratio. In Proceedings of the 3rd International Conference on Energy Transition in the Mediterranean Area (SyNERGY MED), Limassol, Cyprus, 21–23 October 2024. [Google Scholar]
- Ding, S.; Tang, D.; Hang, J.; Zhao, J.; Gui, S. Robust Open-Switch Fault Diagnosis of Bidirectional DC/DC Converters Based on Extended Kalman Filter with Multiple Corrections. IEEE Trans. Circuits Syst. 2024, 71, 4363–4374. [Google Scholar]
- Abbas, M.; Chafouk, H.; El Mehdi Ardjoun, S.A. Fault Diagnosis in Wind Turbine Current Sensors: Detecting Single and Multiple Faults with the Extended Kalman Filter Bank Approach. Sensors 2024, 24, 728. [Google Scholar] [CrossRef]
- Varnoosfaderani, N.H.; Khorsandi, A. State estimation in an islanded hybrid solar-wind DC microgrid using Unscented Kalman Filter. Heliyon 2025, 11, e42073. [Google Scholar] [CrossRef]
- Jamalinia, E.; Zhang, Z.; Khazaei, J.; Blum, R.S. Data-Driven Dynamic State Estimation of Photovoltaic Systems via Sparse Regression Unscented Kalman Filter. IEEE Trans. Ind. Inform. 2025, 21, 2550–2559. [Google Scholar]
- Espinoza Trejo, D.R.; Taheri, S.; Pecina Sánchez, J.A. Switch fault diagnosis for boost DC–DC converters in photovoltaic MPPT systems by using high-gain observers. IET Power Electron. 2019, 12, 2793–2801. [Google Scholar]
- Espinoza Trejo, D.R.; Bárcenas, E.; Hernández Díez, J.E.; Bossio, G.; Espinosa Pérez, G. Open- and Short-Circuit Fault Identification for a Boost dc/dc Converter in PV MPPT Systems. Energies 2018, 11, 616. [Google Scholar] [CrossRef]
- Shahzad, E.; Khan, A.U.; Iqbal, M.; Saeed, A.; Hafeez, G.; Waseem, A.; Albogamy, F.R.; Ullah, Z. Sensor Fault-Tolerant Control of Microgrid Using Robust Sliding-Mode Observer. Sensors 2022, 22, 2524. [Google Scholar] [CrossRef] [PubMed]
- Dahech, K.; Allouche, M.; Damak, T.; Tadeo, F. Backstepping sliding mode control for maximum power point tracking of a photovoltaic system. Electr. Power Syst. Res. 2017, 143, 182–188. [Google Scholar] [CrossRef]
- Kang, Y.; Yao, L. Sliding mode observer-based fault diagnosis and continuous control set fault tolerant control for PMSM with demagnetization fault. Measurement 2024, 235, 114867. [Google Scholar] [CrossRef]
- Ahmad, M.; Azeem, F.; Zidan, H.A. Robust residual generator design for sensor fault detection in twin rotor aerodynamic system. e-Prime-Adv. Electr. Eng. Electron. Energy 2024, 8, 100620. [Google Scholar] [CrossRef]
- Xu, Y.; Ge, X.; Shen, W. Multi-objective nonlinear observer design for multi-fault detection of lithium-ion battery in electric vehicles. Appl. Energy 2024, 362, 122989. [Google Scholar] [CrossRef]
- Muhammed Ramees, M.K.P.; Waseem Ahmad, M.A. Noninvasive Sliding Mode Observer Based Approach for Detecting Open-Circuit Faults in HERIC Inverters. e-Prime-Adv. Electr. Eng. Electron. Energy 2024, 10, 100793. [Google Scholar] [CrossRef]
- Alam, Z.; Khan, M.A.; Khan, Z.A.; Ahmad, W.; Khan, I.; Khan, Q.; Irfan, M.; Nowakowski, G. Fault Diagnosis Strategy for a Standalone Photovoltaic System: A Residual Formation Approach. Electronics 2023, 12, 282. [Google Scholar] [CrossRef]
















| Parameters | Values |
|---|---|
| Maximum power Pmpp | 200 W |
| Short-circuit current iscr | 8.21 A |
| Open-circuit voltage voc | 32.9 V |
| Voltage at maximum power point Vmpp | 26.3 V |
| Current at maximum power point Impp | 7.61 A |
| Method | Class | Robustness | Computational Cost | Data Requirements | Detection Speed | False Alarm Rate |
|---|---|---|---|---|---|---|
| ANN [7] | Data-Driven AI | Medium | High | Very High | Moderate | Medium |
| LSTM [12] | Data-Driven AI | High | Very High | Very High | Slow | Low |
| SVM [11] | Data-Driven AI | High | Medium | High | Moderate | Medium |
| EKF [13] | Model-Based | Low | Medium | Low | Fast | High |
| UKF [15,16] | Model-Based | Medium | High | Low | Moderate | Medium |
| HGO, SMO [18,21,28] | Model-Based | Very High | Low | Low | Very Fast | Low |
| Proposed Method | Enhanced SMO | Very High | Low-Medium | Low-Medium | Extremely Fast | Very Low |
| MAPE | RMSE | ISE | IAE | ITAE | ||
|---|---|---|---|---|---|---|
| Proposed method | e1 | 0.4559 | 0.2922 | 0.2561 | 0.3641 | 0.6298 |
| e2 | 0.3780 | 0.5383 | 0.8692 | 0.7021 | 1.8109 | |
| e3 | 0.1527 | 0.0013 | 4.7469 × 10−6 | 0.0019 | 0.0023 | |
| Method in Ref. [28] | e1 | 0.5692 | 0.3409 | 0.3538 | 0.4710 | 0.7426 |
| e2 | 0.3335 | 0.4592 | 0.6327 | 0.6074 | 1.0137 | |
| e3 | 0.1842 | 0.0105 | 3.2997 × 10−4 | 0.0115 | 0.0133 |
| Rise Time (s) | Settling Time (s) | Overshoot | Steady State Error | ||
|---|---|---|---|---|---|
| Proposed method | pPV | 0.0183 | 0.0292 | 0.4301 | 0.0079 |
| vPV | 0.0240 | 0.0435 | 0.4301 | 0.0011 | |
| Method in Ref. [28] | pPV | 0.0128 | 0.2921 | 0.4271 | 0.0272 |
| vPV | 0.0132 | 0.3289 | 14.055 | 0.0458 | |
| FAR | MDR | Latency | Optimal Threshold | ||
|---|---|---|---|---|---|
| Proposed method | vPV | 0.00083 | 0.004 | 2.10−4 | 0.247 |
| vload | 0.00240 | 0.0035 | 2.10−4 | 0.281 | |
| Method in Ref. [28] | vPV | 0.013 | 0.0154 | 3.10−3 | 0.400 |
| vload | 0.0172 | 0.0278 | 4.10−3 | 0.281 | |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Dahech, K.; Boudabbous, A.; Ben Atitallah, A. Sliding Mode Observer-Based Sensor Fault Diagnosis in a Photovoltaic System. Sustainability 2025, 17, 11030. https://doi.org/10.3390/su172411030
Dahech K, Boudabbous A, Ben Atitallah A. Sliding Mode Observer-Based Sensor Fault Diagnosis in a Photovoltaic System. Sustainability. 2025; 17(24):11030. https://doi.org/10.3390/su172411030
Chicago/Turabian StyleDahech, Karim, Anis Boudabbous, and Ahmed Ben Atitallah. 2025. "Sliding Mode Observer-Based Sensor Fault Diagnosis in a Photovoltaic System" Sustainability 17, no. 24: 11030. https://doi.org/10.3390/su172411030
APA StyleDahech, K., Boudabbous, A., & Ben Atitallah, A. (2025). Sliding Mode Observer-Based Sensor Fault Diagnosis in a Photovoltaic System. Sustainability, 17(24), 11030. https://doi.org/10.3390/su172411030

