The reliable operation of solar inverters, particularly in medium-voltage grid-connected applications, is paramount for system stability and energy yield. Among power converter topologies, the Cascaded H-Bridge (CHB) inverter is favored for its high efficiency, low harmonic distortion, and modular scalability. However, the reliability of these solar inverters is challenged by switch failures, with open-circuit faults being a prevalent and insidious issue. Unlike short-circuit faults which often trigger immediate hardware protection, open-circuit faults may persist undetected, leading to current distortion, power imbalance, and subsequent secondary damage to the solar inverter system. Therefore, developing fast and accurate fault diagnosis methods is crucial for the maintenance and reliability of modern solar power plants.

Traditional fault diagnosis methods for solar inverters can be broadly categorized into signal-based, data-driven, and model-based approaches. Signal-based methods analyze extracted features like voltage or current signatures but can be sensitive to noise and load variations. Data-driven methods, including neural networks and support vector machines, offer powerful pattern recognition but require extensive training data and computational resources, which may not be ideal for real-time implementation in all solar inverters. Model-based methods, such as Luenberger or sliding mode observers, provide a robust framework by comparing the actual system behavior with a mathematical model. The Sliding Mode Observer (SMO) is particularly attractive for its inherent robustness to uncertainties and disturbances common in grid-connected solar inverters. This paper proposes a novel, comprehensive fault diagnosis strategy for CHB solar inverters based on an enhanced Adaptive Sliding Mode Observer (ASMO). The method enables the detection, module localization, and precise switch identification for both single and double open-circuit faults within one fundamental grid cycle.
1. System Modeling of CHB Solar Inverters
Accurate modeling is the foundation of any model-based diagnosis. For the CHB solar inverter, we employ a Mixed Logic Dynamic (MLD) model that seamlessly integrates the continuous dynamics of the grid-connected circuit with the discrete logic states of the semiconductor switches (IGBTs and diodes).
1.1 MLD Model Under Healthy Conditions
A three-phase CHB solar inverter with n H-bridge modules per phase is considered. The state equation derived from the circuit topology is:
$$
\begin{align}
L\frac{di_a}{dt} &= u_{am} – R i_a – e_a \\
L\frac{di_b}{dt} &= u_{bm} – R i_b – e_b \\
L\frac{di_c}{dt} &= u_{cm} – R i_c – e_c
\end{align}
$$
where \(i_x\), \(e_x\) are the grid current and voltage for phase \(x\) (\(x \in \{a,b,c\}\)), \(R\) and \(L\) are the filter resistance and inductance, and \(u_{xm}\) is the inverter output voltage relative to the grid neutral. The relationship between \(u_{xm}\) and the cascaded output voltages \(u_{xo}\) is given by a transformation that accounts for the common-mode voltage.
The core of the MLD model lies in defining the switching functions. Let \(S_{x_i}^{p}\) and \(S_{x_i}^{l}\) denote the switching states of the left and right bridge legs for the \(i\)-th module in phase \(x\), where a value of 1 indicates conduction. These functions depend not only on the gate drive signals \(s_{xij}\) for switch \(Q_{xij}\) but also on the direction of the phase current \(i_x\), represented by a logical variable \(\alpha\) (\(\alpha=1\) for \(i_x > 0\)). The logic expressions are:
$$
\begin{align}
S_{x_i}^{p} &= s_{xi1}\alpha + \bar{s}_{xi2}\bar{\alpha} \\
S_{x_i}^{l} &= s_{xi3}\bar{\alpha} + \bar{s}_{xi4}\alpha
\end{align}
$$
The output voltage coefficient \(k_{xi}\) for a single H-bridge module and the total modulation signal \(\sigma_x\) for phase \(x\) are:
$$
k_{xi} = S_{x_i}^{p} – S_{x_i}^{l}, \quad \sigma_x = \sum_{i=1}^{n} k_{xi}
$$
Finally, the continuous-time state-space model for the healthy solar inverter is compactly expressed as:
$$
\dot{\mathbf{i}} = \mathbf{A}\mathbf{i} + \mathbf{B}_1 \boldsymbol{\sigma} + \mathbf{B}_2 \mathbf{e}
$$
where \(\mathbf{i} = [i_a, i_b, i_c]^T\), \(\boldsymbol{\sigma} = [\sigma_a, \sigma_b, \sigma_c]^T\), \(\mathbf{e} = [e_a, e_b, e_c]^T\), and matrices \(\mathbf{A}\), \(\mathbf{B}_1\), \(\mathbf{B}_2\) are derived from system parameters. This can be rewritten as \(\dot{\mathbf{i}} = \mathbf{A}\mathbf{i} + \mathbf{B}\mathbf{u}\), where \(\mathbf{u}\) encapsulates the combined effect of modulation and grid voltage.
1.2 MLD Model Under Open-Circuit Fault Conditions
When an open-circuit fault occurs, the current path is altered, changing the valid switching states. For instance, if switch \(Q_{a1i}\) fails open, it can no longer conduct. The switching functions must be recalculated considering this constraint. The resulting faulty output voltage coefficient \(k_{xi}’\) differs from the healthy one. By deriving these new coefficients for each possible switch fault (e.g., \(Q_{a1i}\), \(Q_{a2i}\), \(Q_{a3i}\), \(Q_{a4i}\)), we obtain the faulty system model:
$$
\dot{\mathbf{i}}’ = \mathbf{A}\mathbf{i}’ + \mathbf{B}_1 \boldsymbol{\sigma}’ + \mathbf{B}_2 \mathbf{e}
$$
where \(\boldsymbol{\sigma}’\) is constructed using the faulty coefficients \(k_{xi}’\). This fault-specific model is crucial for designing the post-fault observer used in the diagnosis logic.
2. Proposed Adaptive Sliding Mode Observer Design
To estimate the grid currents for comparison with measured values, we design an Adaptive Sliding Mode Observer (ASMO). Incorporating an adaptive gain helps to reduce chattering, a common issue in traditional SMOs, while maintaining fast convergence and robustness against disturbances inherent in solar inverter operation.
The system model considering disturbance \(\boldsymbol{\delta}\) is:
$$
\begin{align}
\dot{\mathbf{i}} &= \mathbf{A}\mathbf{i} + \mathbf{B}\mathbf{u} + \mathbf{D}\boldsymbol{\delta} \\
\mathbf{y} &= \mathbf{C}\mathbf{i}
\end{align}
$$
The proposed ASMO is given by:
$$
\begin{align}
\dot{\hat{\mathbf{i}}} &= \mathbf{A}\hat{\mathbf{i}} + \mathbf{B}\mathbf{u} + \mathbf{f}(\mathbf{S}) \\
\hat{\mathbf{y}} &= \mathbf{C}\hat{\mathbf{i}}
\end{align}
$$
where \(\hat{\mathbf{i}}\) is the estimated current. The sliding surface is defined as \(\mathbf{S} = \mathbf{y} – \hat{\mathbf{y}}\). The innovative adaptive reaching law \(\mathbf{f}(\mathbf{S})\) is designed as:
$$
\mathbf{f}(\mathbf{S}) = \mathbf{K} \frac{\text{sign}(\mathbf{S})}{N(\mathbf{S})}, \quad N(\mathbf{S}) = \zeta + (1-\zeta)e^{-|\mathbf{S}|}
$$
Here, \(\mathbf{K} > 0\) is the observer gain matrix, and \(0 < \zeta < 1\) is a tuning parameter. The term \(N(\mathbf{S})\) adjusts the gain adaptively: when the error \(\mathbf{S}\) is large, \(N(\mathbf{S}) \approx 1\), providing a strong gain \(\mathbf{K}\) for fast reaching; as the error approaches zero, \(N(\mathbf{S}) \approx \zeta\), effectively increasing the gain to \(\mathbf{K}/\zeta\) to suppress chattering and improve steady-state accuracy. This design ensures a smooth transition and enhanced performance over fixed-gain SMOs.
Stability Proof: Consider the Lyapunov function candidate \(V = \frac{1}{2} \tilde{\mathbf{i}}^T \tilde{\mathbf{i}}\), where \(\tilde{\mathbf{i}} = \mathbf{i} – \hat{\mathbf{i}}\) is the estimation error. Its derivative is:
$$
\dot{V} = \tilde{\mathbf{i}}^T \dot{\tilde{\mathbf{i}}} = \tilde{\mathbf{i}}^T (\mathbf{A}\tilde{\mathbf{i}} + \mathbf{D}\boldsymbol{\delta} – \mathbf{f}(\mathbf{S}))
$$
With a proper selection of gain \(\mathbf{K}\) such that \(\|\mathbf{K}\| > \|\mathbf{D}\boldsymbol{\delta}\|\), it can be shown that \(\dot{V} < 0\), guaranteeing the convergence of the observer error to zero and proving the stability of the proposed ASMO for the solar inverter system.
3. Fault Diagnosis Strategy
The diagnosis strategy is a multi-stage process that utilizes signals from the ASMO and system measurements.
3.1 Fault Detection
Fault detection relies on identifying distortion in the grid current waveform. We define a current shape factor \(\phi_x = 3 i_{x\_rms}\) and its estimated counterpart \(\hat{\phi}_x\) from the ASMO. The detection feature \(M_x\) and an adaptive threshold \(T_x\) are constructed as:
$$
M_x = \log_3(1 + \phi_x), \quad T_x = \log_3\left(1 + |\phi_x – \hat{\phi}_x|\right)
$$
Under normal operation, \(M_x \approx T_x\). When a fault occurs in phase \(x\), \(\phi_x\) deviates, causing \(M_x > T_x\). To increase robustness, an integrated residual variable \(\eta_x = \int |\phi_x – \hat{\phi}_x| dt\) is used. The final fault detection flag \(D_x\) for phase \(x\) is raised if:
$$
D_x = 1 \quad \text{if} \quad (M_x > T_x) \ \text{and} \ (\eta_x = \max(\eta_a, \eta_b, \eta_c))
$$
3.2 Faulty Module Localization
Once a fault is detected in a phase, the specific faulty module within that phase must be identified. This is achieved by monitoring the DC-link capacitor voltages \(U_{dcpv\_xi}\). In a healthy module, the capacitor voltage fluctuates around its reference. During an open-circuit fault in a module, the power balance is disrupted, often causing a continuous rise in its capacitor voltage. A dynamic voltage threshold \(U_{dcpv\_th}\) is set:
$$
U_{dcpv\_th} = U_{dcpv\_avg} + k_1 \left( \frac{v_{g\_amp} i_d^*}{2n C \omega} \right)
$$
where \(U_{dcpv\_avg}\) is the average capacitor voltage in the phase, \(v_{g\_amp}\) is the grid voltage amplitude, \(i_d^*\) is the current reference, \(n\) is the number of modules, \(C\) is the capacitance, \(\omega\) is the grid angular frequency, and \(k_1\) is a coefficient. The module whose capacitor voltage consistently exceeds this threshold is identified as the faulty one. This method provides a simple yet effective way to isolate the faulty module without additional voltage sensors on the AC side.
3.3 Single Switch Fault Identification
After module localization, the specific faulty switch within the module is identified. The current residual \(\tilde{i}_x\) and its sign are analyzed. A fault location variable \(P_x\) is defined:
$$
P_x = \frac{\text{sign}(\tilde{i}_x) + 1}{2} + \text{sign}(i_x – \xi)
$$
where \(\xi\) is a small positive constant to avoid ambiguity at current zero-crossings. The value of \(P_x\) indicates the affected current half-cycle:
$$
P_x = \begin{cases}
3/2, & \text{if fault in upper switches } (Q_{x1} \text{ or } Q_{x4}) \\
1/2, & \text{if fault in lower switches } (Q_{x2} \text{ or } Q_{x3})
\end{cases}
$$
To distinguish between diagonal switches (e.g., \(Q_{x1}\) vs \(Q_{x4}\)), a post-fault ASMO is employed. Once a fault in a specific switch group (upper/lower) is suspected, the original healthy MLD model (\(\boldsymbol{\sigma}\)) in the ASMO is replaced with the fault-specific model (\(\boldsymbol{\sigma}’\)) corresponding to one of the candidate switches (e.g., for \(Q_{x1}\)). The behavior of the new current residual is then observed:
- If the residual remains nearly unchanged, the assumed fault model matches the actual fault (e.g., \(Q_{x1}\) is faulty).
- If the residual shows a distinct increasing or decreasing trend, the other diagonal switch is faulty (e.g., \(Q_{x4}\)).
This residual trend analysis allows for unambiguous identification of the exact faulty switch. The logic for single-switch fault diagnosis \(F_{xij}\) is summarized in Table 1.
| Faulty Switch | Conditions |
|---|---|
| \(Q_{xi1}\) | \(D_x=1, P_x=3/2, \text{ and post-fault residual trend is flat}\) |
| \(Q_{xi4}\) | \(D_x=1, P_x=3/2, \text{ and post-fault residual trend is decreasing}\) |
| \(Q_{xi2}\) | \(D_x=1, P_x=1/2, \text{ and post-fault residual trend is flat}\) |
| \(Q_{xi3}\) | \(D_x=1, P_x=1/2, \text{ and post-fault residual trend is increasing}\) |
3.4 Double Switch Fault Diagnosis
The diagnosis of a second open-circuit fault follows a sequential logic. After the first fault is diagnosed and isolated, the system’s operational model and the corresponding ASMO are updated to reflect this known fault state. When a second fault occurs, the fault detection variables (\(D_x, M_x, T_x, \eta_x\)) are recalculated based on the new measurements and the post-first-fault ASMO estimates. The fault location variable \(P_x\) is also recalculated. However, due to the severe current distortion caused by double faults, the precise identification of the second switch using residual trends may be challenging. Therefore, the diagnosis for the second fault focuses on identifying the affected switch group (upper or lower). The logic simplifies to:
$$
\begin{align}
\text{If } D_x=1 \text{ and } P_x=3/2 & \Rightarrow \text{Second fault is in } Q_{xi1} \text{ or } Q_{xi4} \\
\text{If } D_x=1 \text{ and } P_x=1/2 & \Rightarrow \text{Second fault is in } Q_{xi2} \text{ or } Q_{xi3}
\end{align}
$$
This provides critical information for system shutdown or reconfiguration, even if the exact second switch is not pinpointed.
4. Performance Evaluation and Comparative Analysis
4.1 Observer Performance
The proposed ASMO’s performance is superior to conventional observers. Compared to a traditional SMO with a constant gain and a sign function, the ASMO exhibits significantly faster convergence and markedly reduced chattering in the estimated currents. The adaptive term \(N(\mathbf{S})\) smooths the control action, leading to more accurate and stable estimates, which is vital for reliable residual generation in the fault diagnosis of solar inverters.
| Observer Type | Convergence Speed | Chattering | Robustness to Disturbance |
|---|---|---|---|
| Traditional SMO | Slow | High | Good |
| Improved SMO [26] | Medium | Medium | Good |
| Proposed ASMO | Fast | Low | Excellent |
4.2 Diagnostic Method Comparison
The proposed method offers a balanced set of advantages for solar inverter applications, as shown in Table 3. It achieves rapid diagnosis without needing extra voltage sensors on the AC output, unlike some carrier-based methods. It avoids the complexity and data requirements of machine learning approaches. Furthermore, it completes diagnosis within one fundamental cycle (typically <20 ms), which is faster than many model-predictive or SMO-based methods reported for other topologies like MMC. The integration of module-level DC voltage monitoring provides simple yet effective module isolation.
| Method / Reference | Topology | Core Technique | Extra Hardware | Diagnosis Time | Complexity |
|---|---|---|---|---|---|
| SVM-based [15] | 5L H-Bridge | Signal Decomp. + SVM | No | >26 ms | High |
| PCA-RVM [16] | CHB | PCA + Machine Learning | No | >20 ms | High |
| Model Predictive [27] | MMC | Capacitor Voltage Model | No | >20 ms | Medium |
| SMO-based [28] | MMC | Sliding Mode Observer | No | ~50 ms | Medium |
| Carrier-Based [29] | CHB | Sampled Output Voltage | Yes (Sensors) | <5 ms | Medium |
| Current Regulator [30] | CHB | Controller Signal Analysis | No | ~20 ms | Low |
| Proposed Method | CHB | Adaptive SMO + MLD Model | No | <15 ms | Low |
5. Conclusion
This paper has presented a comprehensive model-based fault diagnosis strategy for Cascaded H-Bridge solar inverters. The core of the method is a novel Adaptive Sliding Mode Observer designed using the system’s MLD model. This ASMO provides fast, accurate, and robust estimation of grid currents, forming the basis for all diagnostic calculations. The strategy efficiently combines:
- Fault Detection: Using adaptive thresholds on current shape factors.
- Module Localization: Leveraging the inherent DC capacitor voltage drift in the faulty module.
- Switch Identification: Analyzing current residual signs and the dynamic response of a post-fault observer to pinpoint the exact faulty switch, even distinguishing between diagonal devices.
The method is extended to handle double-switch fault scenarios. The entire process is designed to be completed within one fundamental grid cycle, ensuring a fast response critical for the protection and reliability of solar inverter systems. The approach requires no additional AC voltage sensors, maintaining the cost-effectiveness of the solar inverter design. Experimental validation confirms the method’s effectiveness, accuracy, and robustness against system disturbances, making it a highly suitable solution for enhancing the reliability of modern CHB-based solar power conversion systems.
