Adaptive Model Predictive Control for Grid-Connected T-Type Three-Level Inverters

As traditional fossil energy resources become increasingly depleted and environmental concerns intensify, the development and application of renewable energy technologies such as solar and wind power have attracted widespread attention. Among these technologies, pulse width modulation (PWM) inverters play a pivotal role in photovoltaic systems, wind power generation, electric vehicle motor drives, and energy storage systems. In particular, the choice of types of solar inverter significantly affects system efficiency, power quality, and reliability. Among the various types of solar inverter, three-level inverters have emerged as a superior solution for medium- and high-power grid-connected applications due to their reduced output harmonics, lower voltage stress on switches, and higher conversion efficiency compared to traditional two-level inverters. The T-type three-level inverter, in particular, offers a favorable trade-off between component count and performance. However, it suffers from inherent issues such as neutral-point potential (NPP) fluctuation, output current ripple, and common-mode voltage (CMV). These problems can lead to increased switching stress, larger harmonics, and reduced system stability. Conventional model predictive control (MPC) methods have been applied to address these issues, but their performance degrades when system parameters deviate from nominal values due to aging, temperature variations, or manufacturing tolerances. To overcome this limitation, this paper presents an adaptive finite control set model predictive control (A-FCS-MPC) strategy that employs recursive least squares (RLS) with a forgetting factor for online parameter identification and real-time model update. The proposed method simultaneously optimizes output current tracking, NPP balance, and CMV suppression, and it is validated through MATLAB simulations. Results demonstrate that A-FCS-MPC significantly outperforms conventional FCS-MPC in terms of current THD, NPP fluctuation, and CMV peak, while maintaining fast dynamic response.

System Modeling of T-Type Three-Level Inverter

The topology of a T-type three-level inverter is shown in the system diagram. The inverter consists of three phases, each with four switches \(S_{x1}, S_{x2}, S_{x3}, S_{x4}\) (x = a, b, c). The dc-link is split by two capacitors \(C_1\) and \(C_2\) into positive, neutral, and negative rails. Each phase can output three voltage levels: \(+u_{dc}/2\) (P state), 0 (O state), and \(-u_{dc}/2\) (N state), as summarized in Table 1.

Table 1: Switching states and output voltages of T-type three-level inverter
\(S_{x1}\) \(S_{x2}\) \(S_{x3}\) \(S_{x4}\) Output voltage State
1 1 0 0 \(+u_{dc}/2\) P
0 1 1 0 0 O
0 0 1 1 \(-u_{dc}/2\) N

The 27 possible switching combinations produce vectors in the \(\alpha\beta\) frame: zero vectors, small vectors, medium vectors, and large vectors. Using Kirchhoff’s voltage law in the \(\alpha\beta\) frame, the continuous-time model is:

\[
\begin{cases}
u_\alpha = R i_\alpha + L \frac{di_\alpha}{dt} + e_\alpha,\\
u_\beta = R i_\beta + L \frac{di_\beta}{dt} + e_\beta,
\end{cases} \tag{1}
\]

where \(i_\alpha, i_\beta\) are grid currents, \(u_\alpha, u_\beta\) are inverter output voltages, \(e_\alpha, e_\beta\) are grid voltages, and \(R, L\) are the filter resistance and inductance. Discretizing (1) using forward Euler yields:

\[
\begin{cases}
i_\alpha(k+1) = \left(1-\frac{RT_s}{L}\right)i_\alpha(k) + \frac{T_s}{L}\big(u_\alpha(k)-e_\alpha(k)\big),\\[4pt]
i_\beta(k+1) = \left(1-\frac{RT_s}{L}\right)i_\beta(k) + \frac{T_s}{L}\big(u_\beta(k)-e_\beta(k)\big),
\end{cases} \tag{2}
\]

where \(T_s\) is the sampling period. Similarly, the capacitor voltages are discretized as:

\[
\begin{cases}
V_{cp}(k+1) = V_{cp}(k) + \frac{T_s}{C} i_{cp}(k),\\[4pt]
V_{cn}(k+1) = V_{cn}(k) + \frac{T_s}{C} i_{cn}(k),
\end{cases} \tag{3}
\]

with \(V_{cp}, V_{cn}\) being the voltages across the upper and lower capacitors. The neutral-point current is expressed as:

\[
i_{np}(k) = \sum_{x=a,b,c} (1-|S_x-1|)\, i_x(k). \tag{4}
\]

Since \(i_a+i_b+i_c=0\), (4) simplifies to:

\[
i_{np}(k) = \sum_{x=a,b,c} (-|S_x-1|) i_x(k). \tag{5}
\]

The neutral-point voltage difference is:

\[
\Delta V_{np}(k+1) = \Delta V_{np}(k) + \frac{T_s}{C} i_{np}(k). \tag{6}
\]

The common-mode voltage is defined as:

\[
u_{cm}(k) = \frac{1}{3}\big(u_{ao}(k)+u_{bo}(k)+u_{co}(k)\big). \tag{7}
\]

Conventional FCS-MPC

In traditional limited set model predictive control (FCS-MPC), the cost function is designed to minimize errors in output current, neutral-point voltage balance, and common-mode voltage simultaneously:

\[
g = \lambda_1\left|i_{\alpha}^{\mathrm{ref}}(k+1)-i_\alpha(k+1)\right| + \lambda_1\left|i_{\beta}^{\mathrm{ref}}(k+1)-i_\beta(k+1)\right| + \lambda_2\,\Delta V_{np}(k+1) + \lambda_3\,u_{cm}(k+1). \tag{8}
\]

Here \(\lambda_1,\lambda_2,\lambda_3\) are weighting factors. The algorithm evaluates all 27 switching states at each sampling instant and selects the one minimizing \(g\). However, if the model parameters \(R\) and \(L\) used in (2) deviate from actual values, the prediction accuracy degrades, leading to increased current ripple, larger NPP fluctuation, and higher CMV.

Proposed Adaptive FCS-MPC (A-FCS-MPC)

To mitigate the impact of parameter mismatches, we incorporate an online parameter identification scheme using recursive least squares (RLS) with a forgetting factor. Rewrite (2) in a compact form:

\[
i_{\alpha,\beta}(k+1) = A\, i_{\alpha,\beta}(k) + B\big(u_{\alpha,\beta}(k)-e_{\alpha,\beta}(k)\big), \tag{9}
\]

where \(A=1-\frac{RT_s}{L}\) and \(B=\frac{T_s}{L}\) are treated as unknown parameters to be identified. Define the parameter vector \(\boldsymbol{\theta}(k)=[A(k),\,B(k)]^T\) and the regressor vector \(\boldsymbol{\phi}(k)=[i_{\alpha,\beta}(k),\,u_{\alpha,\beta}(k)-e_{\alpha,\beta}(k)]\). The estimated current is:

\[
\hat{i}_{\alpha,\beta}(k+1) = \boldsymbol{\phi}(k)^T \boldsymbol{\theta}(k). \tag{10}
\]

The prediction error is:

\[
E_{\alpha,\beta}(k+1) = i_{\alpha,\beta}(k+1) – \boldsymbol{\phi}(k)^T\boldsymbol{\theta}(k). \tag{11}
\]

The RLS algorithm updates the parameters recursively:

\[
\begin{aligned}
\mathbf{K}(k) &= \frac{\mathbf{P}(k)\boldsymbol{\phi}(k)}{\lambda + \boldsymbol{\phi}(k)^T\mathbf{P}(k)\boldsymbol{\phi}(k)},\\
\boldsymbol{\theta}(k+1) &= \boldsymbol{\theta}(k) + \mathbf{K}(k) E_{\alpha,\beta}(k+1),\\
\mathbf{P}(k+1) &= \frac{1}{\lambda} \Big[\mathbf{P}(k) – \mathbf{K}(k)\boldsymbol{\phi}(k)^T\mathbf{P}(k) \Big],
\end{aligned} \tag{12}
\]

where \(\lambda\) (0 < λ < 1) is the forgetting factor and \(\mathbf{P}(k)\) is the covariance matrix. With the identified parameters \(\hat{A},\hat{B}\), the predicted currents are corrected:

\[
\begin{aligned}
i_\alpha^*(k+1) &= \hat{A}(k) i_\alpha(k) + \hat{B}(k)\big(u_\alpha(k)-e_\alpha(k)\big),\\
i_\beta^*(k+1) &= \hat{A}(k) i_\beta(k) + \hat{B}(k)\big(u_\beta(k)-e_\beta(k)\big).
\end{aligned} \tag{13}
\]

The neutral-point voltage difference and CMV are also recomputed using the corrected currents. The cost function becomes:

\[
g^* = \lambda_1\left|i_{\alpha}^{\mathrm{ref}}(k+1)-i_\alpha^*(k+1)\right| + \lambda_1\left|i_{\beta}^{\mathrm{ref}}(k+1)-i_\beta^*(k+1)\right| + \lambda_2\,\Delta V_{np}^*(k+1) + \lambda_3\,u_{cm}^*(k+1). \tag{14}
\]

The proposed A-FCS-MPC structure is illustrated conceptually. The control block consists of the T-type inverter, grid, RLS estimator, delay compensation, and the MPC optimizer.

Stability Analysis

Consider the actual system with disturbance \(\varepsilon(k+1)\):

\[
E_{\alpha,\beta}(k+1) = i_{\alpha,\beta}(k+1) – \boldsymbol{\phi}(k)^T\boldsymbol{\theta}(k) + \varepsilon(k+1). \tag{15}
\]

Assume \(\|\boldsymbol{\phi}(k)\| \le \bar{\phi},\; \|\varepsilon(k+1)\| \le \bar{\varepsilon}\). From (12) and (15), the parameter error \(\tilde{\boldsymbol{\theta}}(k) = \boldsymbol{\theta}^* – \boldsymbol{\theta}(k)\) evolves as:

\[
\tilde{\boldsymbol{\theta}}(k+1) = \big[\mathbf{I} – \mathbf{K}(k)\boldsymbol{\phi}(k)^T\big] \tilde{\boldsymbol{\theta}}(k) + \mathbf{K}(k)\varepsilon(k+1). \tag{16}
\]

Choose the Lyapunov function:

\[
V(k) = \tilde{\boldsymbol{\theta}}(k)^T \mathbf{P}(k)^{-1} \tilde{\boldsymbol{\theta}}(k). \tag{17}
\]

Using (12) and the matrix inversion lemma, the difference \(\Delta V(k) = V(k+1)-V(k)\) satisfies:

\[
\Delta V(k) = -\frac{\big(\boldsymbol{\phi}(k)^T\tilde{\boldsymbol{\theta}}(k)\big)^2}{\lambda + \boldsymbol{\phi}(k)^T\mathbf{P}(k)\boldsymbol{\phi}(k)} + \frac{1}{\lambda}\varepsilon(k+1)^T \mathbf{K}(k)^T \mathbf{P}(k+1)^{-1} \mathbf{K}(k) \varepsilon(k+1). \tag{18}
\]

Since \(\|\mathbf{K}(k)\| \le \|\mathbf{P}(k)\boldsymbol{\phi}(k)\|/\lambda\) and \(\mathbf{P}(k)>0\), there exists a positive constant \(c_K\) such that:

\[
\Delta V(k) \le -\frac{\big(\boldsymbol{\phi}(k)^T\tilde{\boldsymbol{\theta}}(k)\big)^2}{\lambda + \boldsymbol{\phi}(k)^T\mathbf{P}(k)\boldsymbol{\phi}(k)} + \frac{c_K}{\lambda}\|\varepsilon(k+1)\|^2. \tag{19}
\]

If the disturbance is bounded by \(\bar{\varepsilon}\), then \(\Delta V(k) \le 0\) for sufficiently large prediction errors, leading to \(\tilde{\boldsymbol{\theta}}(k) \to 0\). Thus the adaptive system is stable in the sense of Lyapunov.

Simulation Verification and Analysis

To evaluate the performance of A-FCS-MPC, a MATLAB/Simulink model was built for a grid-connected T-type three-level inverter. The system parameters are listed in Table 2. Both conventional FCS-MPC and A-FCS-MPC were tested with identical weighting factors \(\lambda_1=1,\lambda_2=1,\lambda_3=1\). The forgetting factor for RLS was set to \(\lambda=0.98\).

Table 2: System parameters
Parameter Value
DC voltage \(u_{dc}\) 520 V
DC capacitors \(C_{cp}=C_{cn}\) 4700 μF
Grid voltage \(e_n\) (RMS) 220 V
Grid frequency \(f\) 50 Hz
Reference current amplitude \(i_{\mathrm{ref}}\) 40 A
Filter inductance \(L\) 10 mH (default), 5 mH (for test)
Filter resistance \(R\) 10 Ω
Sampling period \(T_s\) 50 μs

Figure above illustrates a modern grid-connected inverter system similar to the one simulated. The results are organized in the following subsections.

Output Current Quality

The total harmonic distortion (THD) of the three-phase output currents was measured under nominal filter inductance \(L=10\,\mathrm{mH}\). With conventional FCS-MPC, the THD was 1.31%, while with the proposed A-FCS-MPC, the THD was reduced to 0.75%. When the filter inductance was reduced to \(L=5\,\mathrm{mH}\), THD values increased to 2.95% for FCS-MPC and 1.69% for A-FCS-MPC. The comparison demonstrates that A-FCS-MPC consistently yields lower current distortion, especially under degraded inductance conditions. A summary is given in Table 3.

Table 3: THD comparison under different filter inductances
Control method \(L=10\,\mathrm{mH}\) \(L=5\,\mathrm{mH}\)
Conventional FCS-MPC 1.31% 2.95%
Proposed A-FCS-MPC 0.75% 1.69%

Dynamic Response

To test transient behavior, the reference current amplitude was stepped from 30 A to 15 A (load reduction) at \(t=0.4\,\mathrm{s}\). Both methods tracked the new reference quickly, but A-FCS-MPC exhibited lower THD after the step: 1.64% compared to 2.52% for conventional FCS-MPC. Similarly, a step from 30 A to 45 A (load increase) yielded THD of 1.21% (A-FCS-MPC) versus 1.75% (FCS-MPC). The adaptive method maintains better current quality under both light and heavy load conditions.

Neutral-Point Voltage Balancing

The dc-link capacitor voltages were measured with a reference of 260 V each. The maximum voltage deviation \(\Delta V_{np}\) was recorded over several fundamental cycles. With conventional FCS-MPC, the maximum deviation was about 5 V. With A-FCS-MPC, the deviation was reduced to 2.6 V, representing a 48% improvement. Table 4 summarizes the results.

Table 4: Neutral-point voltage fluctuation comparison
Control method Max \(\Delta V_{np}\) (V)
Conventional FCS-MPC 5.0
Proposed A-FCS-MPC 2.6

Common-Mode Voltage Suppression

The peak-to-peak amplitude of the common-mode voltage was evaluated. Conventional FCS-MPC produced a CMV peak of about 4 V, while the proposed A-FCS-MPC reduced the peak to 2 V. The adaptive method therefore suppresses CMV by a factor of two.

Sensitivity to Weighting Factors

The influence of the weighting factor \(\lambda_2\) (NPP control) was examined by fixing \(\lambda_1=1,\lambda_3=1\) and varying \(\lambda_2\). Results are shown in Table 5. Increasing \(\lambda_2\) improves NPP balance, but a trade-off with current THD exists.

Table 5: Effect of weighting factor \(\lambda_2\) on NPP fluctuation and THD
\(\lambda_2\) Max \(\Delta V_{np}\) (V) THD (%)
0.1 6.0 0.72
1 2.6 0.75
10 0.8 1.02
100 0.2 1.45

Similarly, the weighting factor \(\lambda_1\) (current tracking) was varied while \(\lambda_2=\lambda_3=1\). As \(\lambda_1\) increases from 0.01 to 100, THD decreases monotonically, confirming that a higher priority on current error reduces distortion.

Conclusion

This paper has developed an adaptive finite control set model predictive control (A-FCS-MPC) strategy for T-type three-level grid-connected inverters, which represent one of the most efficient types of solar inverter for high-power applications. By integrating recursive least squares parameter identification, the proposed method compensates for model mismatches caused by parameter drifts. Simulation results confirm that A-FCS-MPC offers significant improvements over conventional FCS-MPC in terms of output current THD (0.75% vs. 1.31%), neutral-point voltage balance (2.6 V vs. 5.0 V), and common-mode voltage suppression (2 V vs. 4 V). The dynamic response remains fast and robust under load transients. The sensitivity analysis shows that weighting factors can be tuned to achieve desired trade-offs. The proposed adaptive scheme is thus a promising enabler for high-performance grid-connected inverters, further advancing the capabilities of modern types of solar inverter and renewable energy systems.

Scroll to Top