A Comprehensive Fault Diagnosis Framework for Three-Level Grid-Tied Inverters

In the realm of modern power electronics, three-level neutral-point clamped (3L-NPC) on-grid inverters have become a cornerstone for renewable energy integration. Compared to conventional two-level topologies, these inverters offer superior performance, characterized by lower output voltage and current harmonics, reduced switching losses, and higher efficiency, making them ideal for medium-voltage grid-connected applications such as solar farms and wind power plants. However, the increased component count and complexity of the 3L-NPC structure also elevate its susceptibility to failures. Among the most critical and frequent faults are open-circuit failures in power switches and malfunctions in current sensors. An undetected fault can degrade system performance, lead to secondary damage, and in severe cases, trigger grid instability or safety hazards. Therefore, developing fast, accurate, and reliable fault diagnosis methods is paramount for ensuring the high reliability and availability of on-grid inverter systems.

Traditional diagnostic approaches often focus on a single fault type. However, in a practical on-grid inverter system, both power switch and current sensor faults can manifest with similar symptoms, such as distorted output currents. A diagnostic method designed for only one type of fault may generate false alarms when the other occurs, compromising the system’s operational integrity. This necessitates the development of a unified strategy capable of simultaneously diagnosing both major fault categories. This article presents a novel, model-based simultaneous fault diagnosis strategy for 3L-NPC on-grid inverters, leveraging an advanced adaptive sliding mode observer (ASMO).

System Modeling and Fault Analysis of the 3L-NPC On-Grid Inverter

The topology of a three-phase 3L-NPC on-grid inverter is shown conceptually in the figure above. Each phase leg consists of four power switches (IGBTs with anti-parallel diodes). The system connects to the grid through filter inductors. For model-based diagnosis, an accurate mathematical representation is crucial. A Mixed Logical Dynamic (MLD) model is employed here, which effectively captures the switching states of the inverter.

The state-space model of the inverter system, considering unknown disturbances, can be expressed as:

$$
\begin{aligned}
\dot{\mathbf{i}} &= \mathbf{A} \mathbf{i} + \mathbf{B} \mathbf{u} + \mathbf{D} \boldsymbol{\eta} \\
\mathbf{y} &= \mathbf{C} \mathbf{i}
\end{aligned}
$$

where \( \mathbf{i} = [i_a, i_b, i_c]^T \) is the state vector (three-phase grid currents), \( \mathbf{u} = [s_a, s_b, s_c]^T \) is the input vector related to switching functions and grid voltages, \( \mathbf{y} \) is the output, and \( \boldsymbol{\eta} \) represents bounded unknown disturbances. The matrices \( \mathbf{A}, \mathbf{B}, \mathbf{C}, \mathbf{D} \) are derived from the circuit parameters (filter inductance \(L\), resistance \(R\), DC-link voltage \(U_{dc}\)). The switching function for phase \(x\) (\(x = a, b, c\)) is defined as \( s_x = \delta_{x1} – \delta_{x2} + \delta_{x3} – \delta_{x4} \), where \( \delta_{xm} = 1 \) indicates the switch is ON.

Fault Characteristics

1. Power Switch Open-Circuit Faults: When an IGBT fails open, the current path is altered depending on the fault location and the current direction. The table below summarizes the effect on the phase current waveform for faults in one phase leg.

Faulty Switch Current Direction (Positive) Current Direction (Negative) Effect on Phase Current \(i_x\)
VTx1 (Upper Outer) Blocked Normal Positive half-cycle attenuated but not zero.
VTx2 (Upper Inner) Blocked Normal Positive half-cycle forced to zero.
VTx3 (Lower Inner) Normal Blocked Negative half-cycle forced to zero.
VTx4 (Lower Outer) Normal Blocked Negative half-cycle attenuated but not zero.

2. Current Sensor Faults: Three common types are considered: complete failure (output stuck at zero), offset fault (output stuck at a constant value \(c_1\)), and gain fault (output scaled by a factor \(c_2\)). These faults corrupt the feedback signal to the controller, leading to distorted current regulation in the on-grid inverter. A key discriminating feature is that during a switch open-circuit fault, the sum of the three-phase currents remains zero, whereas a current sensor fault will cause this sum to deviate from zero.

Proposed Adaptive Sliding Mode Observer (ASMO)

The core of the diagnosis strategy is a novel Adaptive Sliding Mode Observer designed for the on-grid inverter model. Its purpose is to generate a precise estimate \(\hat{\mathbf{i}}\) of the grid currents under healthy conditions. The observer is formulated as:

$$
\begin{aligned}
\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{aligned}
$$

where \(\mathbf{S} = \mathbf{C}(\hat{\mathbf{i}} – \mathbf{i}) = [S_a, S_b, S_c]^T\) is the sliding surface vector, and \(\mathbf{f}(\mathbf{S}) = [f(S_a), f(S_b), f(S_c)]^T\) is a newly designed adaptive reaching law. This reaching law is critical for performance and is defined for each phase as:

$$
f(S_x) = -k \cdot h(S_x) \cdot \lambda(S_x)
$$

The function \(h(S_x)\) is a smooth switching function, and \(\lambda(S_x)\) is an adaptive term:

$$
h(S_x) = \begin{cases}
\frac{1-e^{-k_1 S_x}}{1+e^{-k_1 S_x}}, & \text{if } 0 < S_x \leq \varepsilon \\
\frac{e^{k_1 S_x}-1}{e^{k_1 S_x}+1}, & \text{if } -\varepsilon \leq S_x < 0 \\
k S_x / \varepsilon, & \text{if } |S_x| < \varepsilon
\end{cases}
$$

$$
\lambda(S_x) = \begin{cases}
\frac{e^{S_x} – 1}{k_2}, & \text{if } S_x \geq \varepsilon \\
\frac{e^{S_x} – 1}{e^{\varepsilon} – 1}, & \text{if } |S_x| < \varepsilon \\
\frac{1 – e^{-S_x}}{k_2}, & \text{if } S_x \leq -\varepsilon
\end{cases}
$$

where \(k, k_1, k_2, \varepsilon\) are positive design parameters, with \(0 < k_2 < 1\).

Advantages of the Proposed ASMO:
1. Fast Convergence: When the error is large (\(|S_x| > \varepsilon\)), \(h(S_x) \approx \text{sign}(S_x)\) and \(\lambda(S_x)\) is an exponential term, leading to a much faster reaching speed compared to conventional constant-rate reaching laws.
2. Chattering Suppression: When the error is small near the sliding surface (\(|S_x| < \varepsilon\)), \(h(S_x)\) approaches zero linearly, and \(\lambda(S_x)\) becomes a power term, drastically reducing the switching gain and effectively suppressing chattering.

The estimation error dynamics \(\mathbf{e} = \hat{\mathbf{i}} – \mathbf{i}\) is given by \(\dot{\mathbf{e}} = \mathbf{A} \mathbf{e} + \mathbf{D}\boldsymbol{\eta} – \mathbf{f}(\mathbf{S})\). Using a Lyapunov stability approach, it can be proven that the error system is asymptotically stable if the parameters satisfy \(k k_1 > \bar{\eta} (e^{\varepsilon}-1)\), where \(\bar{\eta}\) is the bound of the disturbance.

Simultaneous Fault Diagnosis Strategy

The diagnosis framework uses the residual signals generated by comparing the measured currents \(\mathbf{i}\) from the on-grid inverter with the observed currents \(\hat{\mathbf{i}}\) from the ASMO. The strategy consists of two main stages: Fault Detection & Isolation (FDI) and Fault Identification.

Stage 1: Fault Detection, Phase Isolation, and Fault Type Discrimination

Step 1: Fault Detection. A detection variable \(d\) is constructed to signal any anomaly in the on-grid inverter system.

$$
d = \ln\left( 1 + \frac{ \sum_{x=a,b,c} \frac{1}{T}\int_{t-T}^{t} |\hat{i}_x(\tau)| d\tau }{ \sum_{x=a,b,c} \frac{1}{T}\int_{t-T}^{t} |i_x(\tau)| d\tau } \right)
$$

Under normal operation, \(d \approx 0\). An adaptive threshold \([J_1, J_2]\) is calculated online to account for modeling errors and noise. A fault is detected if \(d \notin [J_1, J_2]\).

Step 2: Faulty Phase Isolation. Upon fault detection, phase-specific residuals \(r_x\) are examined over a short initial post-fault window to identify the faulty phase.

$$
r_x = \frac{1}{T} \int_{t-T}^{t} (\hat{i}_x(\tau) – i_x(\tau)) d\tau
$$

The phase \(x\) with the maximum absolute value \(|r_x|\) is identified as the faulty phase.

Step 3: Switch Fault vs. Sensor Fault Discrimination. This critical step uses the fundamental property of current sum. Let \(Q = i_a + i_b + i_c\) and \(\hat{Q} = \hat{i}_a + \hat{i}_b + \hat{i}_c\). An adaptive threshold band \([\hat{Q} – \Delta_Q, \hat{Q} + \Delta_Q]\) is established.
– If \(Q\) remains within this band, a power switch open-circuit fault is declared on the isolated phase.
– If \(Q\) deviates outside this band, a current sensor fault is declared on the isolated phase.

Stage 2: Fault Identification

A. Identification of the Specific Faulty Switch: For a diagnosed switch fault, two variables are used.
1. The sign of \(r_x\) indicates the faulty half-bridge: \(r_x > 0\) points to the upper half-bridge (VTx1 or VTx2), while \(r_x < 0\) points to the lower half-bridge (VTx3 or VTx4).
2. A localization variable \(w_x\) is defined based on the polarity of the estimated current \(\hat{i}_x\):
$$ w_x = \begin{cases}
\text{sign}(\hat{i}_x), & \text{if } |\hat{i}_x| > \Delta \\
0, & \text{if } |\hat{i}_x| \leq \Delta
\end{cases} $$
where \(\Delta\) is a small threshold to avoid noise.

The fault is precisely located using the following logic:

Faulty Switch Condition
VTx1 \(r_x > 0\) and \(w_x = 1\)
VTx2 \(r_x > 0\) and \(w_x = 0\)
VTx3 \(r_x < 0\) and \(w_x = 0\)
VTx4 \(r_x < 0\) and \(w_x = -1\)

B. Identification of the Current Sensor Fault Type: For a diagnosed sensor fault, the variable \(w_x\) is first checked. A fault identification variable \(B_x\), the derivative of the measured current, is then used.
$$ B_x = \frac{d i_x(t)}{dt} $$
The fault type is determined as follows:

Fault Type (Code) Condition
Complete Failure (DF) \(|B_x| < \varpi\) and \(w_x = 0\)
Offset Fault (SF) \(|B_x| < \varpi\) and \(w_x = \pm 1\)
Gain Fault (GF) \(|B_x| \geq \varpi\)

where \(\varpi\) is a small threshold to account for noise in the derivative calculation.

Experimental Validation and Performance Analysis

The proposed method was validated using a Hardware-in-the-Loop (HIL) experimental platform based on a TMS320F28335 DSP, with a 10 kHz sampling rate. The on-grid inverter parameters were: Grid Voltage 220V/50Hz, \(U_{dc}=500V\), \(L=8mH\), \(R=0.3\Omega\).

Diagnosis Performance

The framework successfully diagnosed all single switch open-circuit faults and current sensor faults. The ASMO provided accurate current estimates, enabling fast and reliable residual generation. The table below summarizes the key diagnosis times for different fault scenarios injected at various points in the current cycle.

Fault Type (Example) Average Detection & Isolation Time Key Diagnostic Variables
VTx1 Open-Circuit < 5 ms (within next positive half-cycle) \(d\) exceeds threshold, \(r_x>0\) max, \(Q\) within band, \(w_x=1\)
CSx Gain Fault (c=0.5) < 2 ms \(d\) exceeds threshold, \(r_x\) max, \(Q\) outside band, \(B_x \neq 0\)
CSx Complete Failure < 2 ms \(d\) exceeds threshold, \(r_x\) max, \(Q\) outside band, \(B_x = 0, w_x=0\)

Robustness Verification

The method demonstrated strong robustness against common grid and system disturbances, with no false alarms during the following non-faulty transients:

1. DC-Link Voltage Fluctuation (500V to 600V): The adaptive thresholds adjusted correctly, and a subsequent VTb2 fault was diagnosed accurately.
2. Grid Voltage Sag (220V to 185V): The system remained stable, and a current sensor failure was correctly identified without misclassification.
3. Inductor Parameter Imbalance (La=7.5mH, Lb=8.0mH, Lc=8.5mH): Despite unbalanced steady-state currents, the adaptive detection thresholds prevented false alarms. A VTc3 open-circuit fault was subsequently located correctly.

Comparative Analysis

The proposed ASMO and the overall diagnosis framework offer distinct advantages over existing methods.

Observer Performance: Compared to traditional, delayed-suppression, and other advanced sliding mode observers, the proposed ASMO with its novel adaptive reaching law demonstrated superior dynamic response (faster convergence to the sliding surface) and better steady-state performance (significantly reduced chattering) in estimating the on-grid inverter currents.

Overall Diagnosis Method: The table below provides a qualitative comparison with recent literature.

Aspect / Method Literature Methods Proposed Method
Diagnosis Target Mostly single fault type (only switches or only sensors). Simultaneous diagnosis of switch open-circuit and current sensor faults.
Data & Complexity Some require massive data for AI training or complex signal processing (e.g., wavelet packs). Model-based; uses only current measurements. Low complexity, easy implementation.
Extra Actions Some require injecting test signals or modifying modulation. Non-intrusive; no system modification needed.
Robustness May require re-tuning under varying conditions. High, due to adaptive thresholds for detection and discrimination.
Diagnosis Time ~0.3 to 1.2 fundamental periods (6-24 ms for 50Hz). Very fast: < 0.25 periods (<5 ms for switch faults, ~2 ms for sensor faults).

Conclusion

This article has presented a comprehensive and robust fault diagnosis framework for three-level neutral-point clamped on-grid inverters. The core innovation lies in the integration of a specially designed Adaptive Sliding Mode Observer with a logical decision-making strategy to achieve simultaneous diagnosis of power switch open-circuit faults and current sensor faults. The ASMO ensures accurate current estimation with fast convergence and minimal chattering. The diagnostic logic effectively uses the residuals to first detect a fault, isolate the faulty phase, and then discriminate between the two major fault types using the sum of currents. Subsequent identification variables enable precise localization of the faulty switch or classification of the sensor fault type.

Experimental results on an HIL platform confirm the method’s effectiveness, speed, and strong robustness against parameter variations and grid disturbances. By preventing false alarms and enabling rapid, accurate fault identification, this framework significantly enhances the reliability and maintainability of critical on-grid inverter systems in renewable energy applications. Future work will focus on extending this strategy to diagnose concurrent multiple faults and to integrate it with fault-tolerant control schemes.

Scroll to Top