Processes 12 00348 v2
Processes 12 00348 v2
Article
An Optimal Switching Sequence Model Predictive Control
Scheme for the 3L-NPC Converter with Output LC Filter
Felipe Herrera 1 , Andrés Mora 2 , Roberto Cárdenas 1, * , Matías Díaz 3 , José Rodríguez 4 and Marco Rivera 5,6
1 Electrical Engineering Department, University of Chile, Avda. Beauchef 851, Santiago 8370451, Chile;
felherrera@ug.uchile.cl
2 Electrical Engineering Department, Universidad Técnica Federico Santa María, Valparaíso 2390123, Chile;
andres.mora@usm.cl
3 Electrical Engineering Department, University of Santiago of Chile, Santiago 9170125, Chile;
matias.diazd@usach.cl
4 Engineering Faculty, Universidad San Sebastian, Santiago 4080871, Chile; jose.rodriguezp@uss.cl
5 Power Electronics, Machines and Control (PEMC) Research Group, Department of Electrical and Electronic
Engineering, Faculty of Engineering, University of Nottingham, 15 Triumph Rd, Lenton,
Nottingham NG7 2GT, UK; marcoriv@utalca.cl or marco.rivera@nottingham.ac.uk
6 Laboratorio de Conversión de Energías y Electrónica de Potencia (LCEEP), Universidad de Talca, Merced 437,
Curicó 3341717, Chile
* Correspondence: rcardenas@ing.uchile.cl
as discussed in [6], the cascaded interconnection of the voltage and current control loops
has some drawbacks. Firstly, because SISO design tools are used, the inner and outer loops
are separately designed with different bandwidths to avoid cross–couplings between the
dynamics of the voltage and current control loops (usually, the outer loop is one order
of magnitude slower than the inner loop). This produces a relatively slower transient
response. Secondly, the controllers must be carefully tuned because their parameters affect
the system’s dynamic response. To overcome the drawbacks of cascaded linear controllers,
model predictive control schemes, which are MIMO systems, have recently been proposed.
Model predictive control (MPC) has been garnering growing interest in the realm
of power electronics converter applications. Most common applications include grid-
connected converters, inverters with RL loads, inverters with output LC filters, and high-
performance drives [11]. MPC has several advantages, such as simplicity for the inclusion
of nonlinearities, simple treatment of constraints, the multivariable case and stochastic case
can be easily considered [12], dead times can be compensated [13,14], etc. On the other
hand, the disadvantage of some MPC algorithms, for instance, finite set MPC (or FS–MPC),
is their relatively high computational load, particularly in power converter topologies
where a large number of vectors are available. However, the exponential development
in the processing power of microprocessors (such as digital signal processors and field-
programmable gate arrays) has allowed the implementation of MPC algorithms in real-time
platforms [14,15].
A wide variety of MPC algorithms for power electronics converters exist. An MPC
algorithm can be considered, in general terms, as any algorithm that uses a model of
the system to predict its future behaviour and select the most appropriate control action
based on the solution to an optimal criterion [16]. The optimal criterion is evaluated in a
cost function and can be, for example, tracking of the system state variables, minimising
common-mode voltage, or reducing the converter switching frequency [16,17]. After
the optimal criterion has been reached, and consequently the best possible solution to
the optimisation problem has been obtained, the algorithm sends it to the converter to
be synthesised.
MPC algorithms are classified according to the nature of the optimisation variable in
the control problem. In broad terms, these algorithms for power electronics are classified
as direct MPC or indirect MPC methods [17]. In direct MPC methods, the optimisation
variable is an integer-valued vector representing the state of the converter switching device.
Conversely, in indirect MPC the optimisation variable is a real-valued vector representing
the fundamental component of the converter output voltage or duty cycles.
Direct MPC methods are subdivided into three categories: optimal switching vector
MPC (OSV–MPC), MPC with hysteresis bounds, and MPC with an implicit modulator.
OSV-MPC, commonly named finite control set MPC (FCS–MPC) in the literature, was first
proposed to control the output current of a two-level inverter connected to an RL load [18].
Since then, it has been applied to many converter topologies [16]. In this strategy, the
converter switches are directly computed and sent to the converter, thus allowing direct
manipulation of the controlled variables. The advantages of OSV-MPC are an intuitive
design procedure, straightforward implementation, and fast transient response [17]. How-
ever, they come at the cost of high computational complexity, particularly for multilevel
power converters, and variable switching frequency due to the absence of a modulator [19].
Direct MPC methods with implicit modulators have been proposed to overcome
the issue of variable switching frequency introduced by OSV-MPC while maintaining its
advantages [20,21]. These strategies attempt to emulate the behaviour of pulse-width
modulation techniques. In particular, optimal switching sequence MPC (OSS–MPC) and
modulated MPC (M2 PC) introduce the concept of variable switching time instants [17].
According to the concept of variable switching time instants, the position of the converter
switches can change at any moment during a sampling interval. Then, the strategies
compute a sequence of switch positions and their corresponding duty cycles to be applied
during the next sampling interval. Thus, a fixed switching frequency is achieved, resulting
Processes 2024, 12, 348 3 of 25
discusses further details of the OSS–MPC proposed in this work, including the cost function;
meanwhile, solving the optimal problem and reaching the optimal solution are discussed
in Section 5 and Section 5.2, respectively.
Section 6 discusses an optimisation algorithm to calculate the common-mode voltage.
This has already been discussed in [26] but, for completeness, is briefly discussed in this
section. Section 7 presents the hardware-in-the-loop (HIL) system utilized to validate the
proposed control strategy as well as the results obtained with the HIL platform. In Section 8,
the performance of the proposed OSS–MPC algorithm is compared with that obtained with
the state-of-the-art OSS–MPC reported in [27]. Finally, an appraisal of the work is discussed
in the conclusions.
3L-NPC
LC filter
(a)
6
-+0 -0- 00- +0-
0+0 ++0
5
4 2
0 1 1 1
1
3
-00 +++ 0--
-++ +--
0++ 000
--- +00 0 0 1 1
-0+ --0
00+
0-0
+0+ +-0 -1 -1 -1 0
(b) (c)
Figure 1. 3L-NPC converter: (a) topology; (b) space of switching vectors; (c) 7S-SS for the region R6 .
According to the circuit diagram depicted in Figure 1a, the inverter voltages,
⊺
vabc = vao vbo vco , are provided by
1
vabc = V u + (1 − |uabc |)vn (1)
2 dc abc
Processes 2024, 12, 348 5 of 25
⊺
where |uabc |= |ua | |ub | |uc | and vn = 12 (vC2 − vC1 ) is the NP-voltage. Using the transfor-
mation, Tαβ , the inverter voltages (1) in the stationary αβ frame can be expressed as
1
V us − Tαβ |uabc |vn .
vs = (2)
2 dc
On the other hand, for a three-phase load with a floating neutral, the NP-voltage
evolves as a function of the NP-current, in , according to
dvn
(C1 +C2 ) = in , in = |uabc |⊺ iabc (3)
dt
⊺
Therefore, for a given output current, iabc = ias ibs ics , as shown in (3), only small- and
medium-size SVs, uS and uM (see Figure 1b) respectively, can affect the NP-voltage [34].
However, to balance the NP voltage, small SVs play a significant role because the redun-
dancy of each SV drives an NP-current of the same amplitude but in the opposite direction.
This tendency impacts vn but not vs when the capacitors are balanced with a negligible
voltage ripple, i.e., vn ≈ 0.
To synthesize a desired inverter output voltage, the three nearest SVs are typically
employed in carrier-based and space-vector PWM techniques [34,35]. Due to the presence
of redundancies, several switching sequences (or switching patterns) can synthesize the
desired output voltage. Therefore, the generation of switching sequences can be used
for several purposes, such as to reduce the switching frequency and to minimize the
NP-voltage ripple [34].
Based on the above analysis, the seven-segment switching sequence (7S-SS) [34] will
be adopted in this work to implement the OSS–MPC strategy for voltage and current
control. This switching pattern consists of four SVs, which are arranged in such a way that
the transition between two adjacent switching states demands only one switching action.
Additionally, each switching period is split into two sub-cycles of duration T0 = Ts /2,
in which the disposition of the second sub-cycle is a reversal of the arrangement of the
first [34], as shown in the example in Figure 1c. Furthermore, the first sub-cycle starts with
an N-type small-size SV (uS− ) and ends with the P-type redundancy (uS+ ). Therefore, each
7S-SS candidate can be defined accordingly as
n o
S ≜ uS− [t0 ], u1 [t1 ], u2 [t2 ], uS+ [2t3 ], u2 [t2 ], u1 [t1 ], uS− [t0 ] (4)
where ti is the time in which the ith switching vector is synthesized by the converter, as
depicted in Figure 1c.
Since the twelve internal regions (highlighted in grey in Figure 1b) have two N-type
small-size SVs, each of them is further partitioned into two sub-regions to reduce the
NP-voltage ripple [34]. Thus, to determine which dominant N-type small-size SV should
be utilised to assemble the desired switching sequence, the space of SVs is divided into
36 regions, as shown in Figure 1b. Then, according to the OSS–MPC principles, a 7S-SS
candidate is denoted as S j , where j ∈ R≜{1, . . . , 36}.
of Figure 2). The common-mode injection signal is designed to balance the neutral-point
voltage between the DC-link capacitors. Notice that the NP-voltage optimisation loop
presented in this work has already been discussed in [26]. However, for completeness, it is
briefly summarised in Section 6.
Load
PWM
3 Ref.
OSS State
NP-Voltage MPC
Control
Figure 2. Proposed control system, composed of an MPC where the load voltage and the converter’s
output current are controlled in a single-stage MPC. The common-mode voltage is obtained using a
second MPC algorithm, as already discussed in [26].
y = Cxs (6b)
Matrices A, B, and E contain the parameters of the filter and matrix C is the iden-
tity matrix.
" # " #
− L −1 R − L −1
V −1
dc
L 0
A= B= 2 E= (7)
C− f
1
0 0 −C−f 1
R = R f I2 L = L f I2 C f = C f I2 (8)
where ℓ ∈ {0, 1, 2, 3} is the index for the switching vectors of the sequence. The instan-
taneous evolution of the state-vector prediction at the end of the sub-cycle corresponds
to its average trajectory when the seven-segment SS defined by (4) (see [24]) is applied to
the system:
3
dxs
xs [k + 1] = xs [k] + T0 ∑ d (10)
ℓ=0
dt t=ℓ ℓ
To simplify the analysis, every subinterval slope, mℓ = f ( xsℓ , usℓ , ioℓ ), is approxi-
mated using the values of the state and disturbance vector at the sampling instant, k, as
mℓ ≈ f ( xs [k], usℓ , io [k]). Therefore, the prediction of the average trajectory can be ex-
pressed as
3
x s [ k + 1] = A d x s [ k ] + E d i o [ k ] + B d ∑ usℓ dℓ (11)
ℓ=0
where Ad = I4 + T0 A, Ed = T0 E and Bd = T0 B. Because for any N-type seven-segment
SS, us0 = u− +
S , and us3 = uS , the duty cycles d0 and d3 can be combined as ds = d0 + d3 ,
which is the duty cycle for the small vectors of the sequence [24]. Then, the following linear
representation of the average trajectory can be stated as
xs [k + 1] = Ad xs [k ] + Ed io [k] + Bd Ud (12)
d2 ∈ D ≜ [0, 1]3
d = ds d1 (13a)
U = us u1 u2 (13b)
Even when the forward-Euler discretisation algorithm is widely used for the imple-
mentation of MPC algorithms, there are some issues which are produced when this method-
ology is applied to LC-filtered stand-alone loads. Some of these issues are as follows:
• For these sort of applications, usually two cascaded MPC algorithm are implemented [36]
to regulate the voltages and currents. An outer MPC regulates the voltages and an
inner MPC regulates the converter’s output currents; in this case, the standard forward-
Euler algorithm performs well. Nevertheless, when nested cascaded MPC loops are
implemented, two cost functions are required and a global optimum is not necessarily
reached. This is further discussed in [37].
• To obtain a global optimum, a single cost function is recommended, which has to
consider the tracking errors of the currents and load voltages. However, an LC-filtered
load is a plant which is not reachable in a single-step horizon, i.e., the output currents
Processes 2024, 12, 348 8 of 25
and load voltages cannot reach their reference values in one step because the B matrix
of (11) is not squared (see [28]). To solve this issue when the forward-Euler discretisa-
tion method is used, an MPC algorithm with a two-step horizon has been proposed
in [37]; nevertheless, this larger prediction horizon may produce a relatively large
computer burden, which can be justifiable for a large and costly modular multilevel
converter but is hardly convenient for a smaller stand-alone application.
• Moreover, one of the main disadvantages of forward-Euler-based MPC algorithms
for single-stage implementation (i.e., the application presented in this work) is the
unconstrained solution obtained from the cost solution of (30). The matrices Ad and
Bd obtained using the forward-Euler discretisation method (see (12)) are prone to
producing an unconstrained solution for Ud which is very weakly related to the load-
voltage tracking error. Therefore, when forward-Euler is applied to the system of
Figure 1b, poor performance or even a complete lack of control could be obtained
for the regulation of the load voltage. Conversely, when the improved-Euler method
is used to discretise (6a) and (6b), more exact matrices are obtained for Ad and Bd
(see (17)) and the unconstrained solution for Ud can be tuned (by adjusting the cost
weights) to be dependent on both the tracking error of the load voltage as well as on
the tracking error of the 3L-NPC converter output current.
Based on the comparison presented above, in this work the discretisation of the
continuous-time model is performed using the improved-Euler method [38]. This is further
discussed in the next section.
The average slope is multiplied by Ts because it is the time length between predictions
in the interval [k, k + 1] and predictions in the interval [k + 1, k + 2]. To simplify (14), some
assumptions about the states and inputs used for computational purposes are required.
Firstly, the slope of the system at the kth time instant is computed with the values measured
at the time instant k (i.e., f ( xsℓ , usℓ , ioℓ ) ≈ f ( xs [k ], usℓ , io [k])). Secondly, the slope at the
(k + 1)th time is computed with the predicted state vector, xs [k + 1], using the forward-
Euler approximation defined by (12). The switching sequence applied is the same as that
of time instant k (i.e., f ( xsℓ [k + 1], usℓ [k + 1], ioℓ [k + 1]) ≈ f ( xs [k + 1], usℓ , io [k + 1])). The
disturbance vector is assumed to be constant during the switching cycle but different
between switching cycles (i.e., io [k] ̸= io [k + 1]). Considering these assumptions, the
state-vector trajectory is described by
" #
Ts
xs(ℓ+1) = xsℓ + f ( xs [k], usℓ , io [k ]) + f ( xs [k + 1], usℓ , io [k + 1]) dℓ (15)
2
The slopes mℓ [k ] = f ( xs [k], usℓ , io [k]) and mℓ [k + 1] = f ( xs [k + 1], usℓ , io [k + 1]) are
described by the following equations:
Processes 2024, 12, 348 9 of 25
Then, the average trajectory of the state vector, using the improved-Euler method, is
computed as " #
3
Ts
x s [ k + 1] = x s [ k ] +
2 ∑ m ℓ [ k ] + m ℓ [ k + 1] d ℓ (18)
ℓ=0
Replacing (16a) and (17) into (18), and after some algebraic manipulations, the follow-
ing expression is obtained:
1 1
xs [k + 1] = I + Ts A + Ts2 A2 xs + I + Ts A Ts BUd
4 4
(19)
1 1 1
+ I + Ts A Ts Eio [k ] + Ts Eio [k + 1]
2 2 2
Equation (19) is useful when an observer-predictor computes io [k + 1], and the dif-
ference between io [k ] and io [k + 1] is sufficiently large. However, if it is assumed that
io [k] ≈ io [k + 1] then the average prediction model is simplified to
1 1
xs [k + 1] = I + Ts A + Ts2 A2 xs + I + Ts A Ts BUd
4 4
(20)
1
+ I + Ts A Ts Eio [k]
4
where V ∗ is the magnitude of the reference voltage vector and ω is the fundamental
frequency of the output voltage (ω = 2π f 0 ).
The reference current is obtained as a function of the reference voltage. Replacing the
reference voltage vector into the dynamic equation of the output voltages yields [39]
dv∗o 1 ∗
= (i − i o ) (22)
dt Cf s
Solving the equation for i∗s , the converter reference current vector is obtained:
The positive-definite matrix Q = diag(λi ,λi ,λv ,λv ) is used to trade-off the control
objectives of the state-vector tracking. Similarly, the weighting factor, λu , is used to penalize
the control effort. The optimisation variable of the problem is the average switching vector,
u(k ). The average switching vector is the product between the switching matrix and the
duty cycle vector, u(k) = Ud.
Firstly, the term of the cost function used to penalize the reference tracking error will
be reformulated as a function of the average switching vector, u(k). Replacing (12) in (27)
yields
∥Bd u − ( x∗s [k + 1] − Ad xs [k] − Ed io [k])∥2Q (28)
| {z }
: =κ [ k ]
where the value of κ can be obtained using (12). If x∗s [k + 1] = Ad xs [k ] + Ed io [k] + Bd Ud,
then the required Bd Ud to produce x∗s [k + 1] is equal to x∗s [k + 1] − Ad xs [k] − Ed io [k ]. This
is defined as κ in (28).
The second term of the cost function in Equation (27) has the vector uss . Vector uss is
the steady-state control action. The steady-state control action is the input vector needed
to drive the system towards the steady-state solution. The expression for this vector is
obtained by solving the circuit of Figure 3 for uss . The steady-state control input, uss , is
defined as
2
uss = 1 − ω 2 L f C f I2 + ωR f C f J v∗o + R f I2 + ωL f J io (29)
Vdc
Processes 2024, 12, 348 11 of 25
Finally, the cost function for the optimisation problem can be written as
s.t. 1⊺ d = 1 (31b)
dj ≥ 0 (31c)
The optimisation problem has the same form as the one solved in [26]. Therefore,
the same optimiser will be used. Thus, the usual strategy to solve MPC problems with
3L-NPC converters of evaluating each region, R j ∈ {R1 , . . . , R24 }, of the space of vectors
is avoided.
5. Optimal Solution
In this section, the optimisation problem presented in (31a), (31b) and (31c) will
be solved to obtain the optimal switching vector sequence and its corresponding duty
cycles to be applied during the next sampling instant. Two cases of the problem are
distinguished: first, the linear modulation stage where the duty cycles are positive, and
second, the overmodulation stage where the duty cycle of the small switching vectors
becomes negative.
min Jj (U j , d j ) (32a)
d
s. t. 1⊺ d j = 1 (32b)
where Q′ is the modified weight matrix, Q′ = B⊺d QBd . The elements of the switching
matrix, U j ∈ R2×3 , are the vectors of the switching sequence:
u u1α u2α
U j = sα (35)
usβ u1β u2β
Considering the equality constraint of the relaxed optimisation problem, the duty
cycles for the small switching vectors, as a function of the remaining duty cycles, can be
written as
dSj = 1 − d1j − d2j (36)
An auxiliary variable, dηj , is defined to eliminate the dependent variable dS from the
optimisation vector d j : ⊺
dηj = d1j d2j (37)
The relationship between d j and dηj is as follows:
−1 −1 1
dj = 1 0 dηj + 0
(38)
0 1 0
| {z } |{z}
M N
⊺
Then, u = Ud = U Mdηj + N = U Mdηj + U N and u⊺ = d⊺ U ⊺ = Mdηj + N U ⊺ =
d⊺ηj M ⊺ + N ⊺ U ⊺ . The cost function in terms of dηj is
J = d⊺ηj M ⊺ U ⊺ Q′ + λu I 2 U Mdηj
+ 2dηj M ⊺ U ⊺ Q′ + λu I 2 U N
(39)
− 2dηj M ⊺ U ⊺ B⊺d Qκ + λu uss + N ⊺ U ⊺ Q′ + λu I 2 U N
Computing the gradient of J with respect to dηj and making it equal to zero yields
∇ J dηj = 2M ⊺ U ⊺ Q′ + λu I 2 U Mdηj
+ 2M ⊺ U ⊺ Q′ + λu I 2 U N
(40)
− 2M ⊺ U ⊺ B⊺d Qκ + λu uss = 0
Reorganizing (40) to leave the terms related to the duty cycles on the left, (41) is obtained:
M ⊺ U ⊺ Q′ + λu I 2 U Mdηj =
(41)
M ⊺ U ⊺ B⊺d Qκ + λu uss − M ⊺ U ⊺ Q′ + λu I 2 U N
Now, it is necessary to map the solution back to its original variables. Replacing (42)
in (38) yields
h iu
−1 −1 uc
drj = M (U M ) N − M (U M ) U N (44)
1
The optimal duty cycles for the linear modulation stage are computed using the
(3 × 3) matrix:
Processes 2024, 12, 348 13 of 25
∆ = u S × u1 + u2 × u S + u1 × u2 (46)
Figure 4. Control region of the 3L-NPC converter. (a) Hexagon divided into 12 sectors to reduce the
computational burden of the OSS–MPC algorithm, and (b) close-up look into sectors S1 –S2 .
When the optimal sector is calculated, the duty cycles of the switching sequences
contained in it are evaluated. The sector whose duty cycles complies with the non-negativity
constraint is the optimal sector, and thus the optimal switching sequence is found.
The conventional enumeration algorithm can be reduced to only three regions after
the sector has been identified. Each sector has three candidate switching sequences, but
only one of them fulfils the non-negativity constraint. Thus, the optimal pair {U ⋆ , d⋆ }
is found by evaluating the non-negativity condition over the duty cycles vector of each
(2)
candidate region. However, if uuc falls outside control region V (e.g., see uuc in Figure 4b)
then none of the candidate switching sequences fulfil the non-negativity constraint.
The aforementioned case occurs during a transient operation. The candidate switching
sequence is then reduced to one and is built by the medium and large switching vectors
belonging to the only outer region that intersects the optimal sector. The case is further
analyzed in the next subsection.
Processes 2024, 12, 348 14 of 25
1⊺ 0
d1j d2j = 1 (49)
Notice that one of the two optimisation variables is dependent. Thus, if we set d2j to
be dependent of d1j , we can find an auxiliary vector to reduce the equality-constrained
optimisation problem into an unconstrained optimisation problem:
0 0
d j = 1 d1j + 0 (50)
−1 1
| {z } |{z}
M′ N′
⊺
Then, u = Ud = U M ′ d j + N ′ = (u1 − u2 )d1 + u2 and u⊺ = d⊺j U ⊺ = M ′ d j + N ′ U ⊺
+ 2( u1 − u2 )⊺ Q ′ + λ u I 2 u2 d1
d
J = 2( u1 − u2 )⊺ Q ′ + λ u I 2 ( u1 − u2 ) d1
d(d1j )
(52)
+ 2( u1 − u2 )⊺ Q ′ + λ u I 2 u2
⋆ (u1 − u2 )⊺ (uuc − u2 )
d1j = (54)
( u1 − u2 )⊺ ( u1 − u2 )
Notice that the denominator of d1j ⋆ is the length between a large and the medium
4
∥∆u∥22 = (u1 − u2 )⊺ (u1 − u2 ) = (55)
9
Processes 2024, 12, 348 15 of 25
1
D abc = d1⋆ u⋆abc,1 + d2⋆ u⋆abc,2 + d⋆S u⋆abc,0 + u⋆abc,3 (57)
2
−1 ⋆
in which u⋆abc,ℓ = Tαβ usℓ are the three-phase switching states that produce the OSS.
Finally, the three-phase reference signals sent to the PWM modulator are
where u0⋆ is the optimal common-mode signal to be injected to reduce the NP-voltage
tracking error. For further analysis and discussion of the methodology proposed to obtain
the common-mode signal, the reader is referred to [26].
Parameter Value
Switching and sampling frequency f s = 20 kHz
DC-link voltage Vdc = 700 V
LC filter R f = 1 mΩ L f = 2.4 mH C f = 15 µF
Load resistance R L = 30 Ω
Nonlinear load Ln = 1.8 mH Cn = 2.2 mF Rn = 60 Ω
Filter current weight factor λi = 0.25
Load-voltage weight factor λv = 0.02
Processes 2024, 12, 348 16 of 25
Figure 5. (a) HIL platform used to perform the experiments, (b) topology of the nonlinear load.
For the HIL results discussed in this section, the current of the nonlinear load used
in some tests, corresponds to that shown in Figure 6; notice that the non-linear current
is estimated in the processor using the auto-regressive model provided by the Lagrange
polynomial shown in Equation (61). For the results shown in Figures 7–10, the weight
related to the control effort is set to λu = 0. The effects of using different values of λu in the
performance of the proposed control system are discussed using Figures 11 and 12.
Figure 6. Estimated and measured current when a nonlinear load is connected: (a) α−component of
the load current, (b) β−component of the load current.
Processes 2024, 12, 348 17 of 25
Figure 7. Steady–state results for different load conditions: (a,d,g) load output voltage without load,
with resistive load and with nonlinear load, (b,e,h) load output current without load, with resistive
load and with nonlinear load, (c,f,i) DC–link capacitor voltages without load, with a resistive linear
load and nonlinear load.
10
9
8
7
6
5
4
3
2
1
0
10
9
8
7
6
5
4
3
2
1
0
0 100 200 300 400 500 600 700 800 900 1000
Frequency
Figure 8. Harmonic spectrum of (a) load output voltage and (b) load output current when a nonlinear
load is connected.
Figure 9. Transient operation of the system for reference voltage step: (a) voltage step from 300 (V) to
100 (V), (b) voltage step from 100 (V) to 300 (V).
Processes 2024, 12, 348 18 of 25
Figure 10. Transient operation of the system for a load step: (a) load output voltage, (b) filter inductor
current.
Figure 11. System performance over variation of λu : (a) Percentage of the effective (RMS) load
voltage tracking error respect to the λu variation, (b) Total harmonic distortion of the load voltage,
considering a wide λu variation.
The performance of the controllers is evaluated using the following goodness factors:
RMS error (RMSE), percentage of voltage error (Ev ), and total harmonic distortion (THD).
The percentage of error is defined as follows:
s
100 1
∥v∗ ∥ Np k∑
Ev [%] = ∥v(k) − v∗ (k)∥22 (59)
∈P
where P = {1, 2, . . . , Np } is the set of indices of the measurements vector and Np = T1 /Ts
is the total number of elements in the vector. T1 is the period of the fundamental frequency
and Ts is the period of the sampling frequency. Whenever the desired reference amplitude
is unknown, the root-mean-square error (RMSE) will be used. The RMS error is defined
as follows:
s
1
Np k∑
∗
RMSE( x − x ) = ∥ x(k) − x∗ (k)∥22 (60)
∈P
previous switching interval. The voltage reference, vo [k + 1], is computed by shifting the
phase of the reference signal one step ahead. The load output current, io [k + 1], is estimated
using the Lagrange extrapolation technique. The Lagrange extrapolation technique uses
the actual and past measurements of the signal to estimate its future value. The load output
current, io [k + 1], is computed as follows [41]:
system tends toward uss , which does not penalize the voltage error. Thus, the voltage error
increases.
As shown in Figure 11b, the voltage THD presents slight variations around 1%, as
shown in Figure 11b. The system’s transient response is also dependent on the value of λu .
A trade-off between settling time and overshoot must be reached, as shown in Figure 12.
Increasing λu up to 100 will reduce the settling time of the system but increase the voltage
overshoot. However, for λu >> 100, the system response will present a damped sinusoidal
oscillation which increases the settling time.
Figure 13. Simulation of the system performance when the reference voltage is changed from 0 V
to 300 V: (a) output capacitor voltages with the proposed method, (b) inductor currents with the
proposed method, (c) output capacitor voltages with prior OSS–MPC [27], (d) inductor currents with
prior OSS–MPC [27].
Figure 14. Amplification of Figure 13: (a) output capacitor voltages with the proposed method,
(b) inductor currents with the proposed method, (c) output capacitor voltages with prior OSS–
MPC [27], (d) inductor currents with prior OSS–MPC [27].
The performance of the control systems has also been tested considering a balanced
load step of 30 Ω in t = 0.1 s. Before the step, the system is operating without a load parallel
connected with the capacitor of the LC-filter. Figure 15a,b shows the performance obtained
with the OSS–MPC strategy proposed in this work; meanwhile, Figure 15c,d shows the
results obtained with the work reported in [27]. Again, the peak current overshot shown
in Figure 15b is smaller than that of Figure 15d, with peak values of approximately 14.5 A
and 21.5 A, respectively. The control strategy of [27] has a smaller dip in the load voltage
for the step in t = 0.1 s; however, this better performance is obtained because neither the
control effort nor the peak currents are considered in the cost function reported in that
work. Moreover, as discussed previously for the results presented in Figure 14d, lightly
damped current oscillations are produced after the load step, as depicted in Figure 15d.
These current oscillations also affect the load voltage, as shown in Figure 15c, for the time
immediately after t = 0.1 s. It is concluded that, for the load step change, the performance
of the proposed control system is better than that of [27], which is shown in Figure 15c,d.
The peak current is lower and the lightly damped oscillations in the currents and voltages
are completely avoided, as depicted in Figure 15a,b.
Figure 15. Simulation of the system performance when a linear load is connected: (a) output capacitor
voltages with the proposed method, (b) inductor currents with the proposed method, (c) output
capacitor voltages with prior OSS–MPC [27], (d) inductor currents with prior OSS–MPC [27].
The performance of the proposed control system is also clearly superior to that re-
ported in [27], when the nonlinear load of Figure 5b is connected at the output of the
Processes 2024, 12, 348 22 of 25
LC-filter. The simulation results are shown in Figure 16a,b; before t ≈ 0.05, the capaci-
tor at the nonlinear load is completely discharged and it is equivalent to a short circuit
immediately after the nonlinear load is connected at t ≈ 0.05 s. Therefore, the control
system reported in [27] has a bad performance because neither current control nor current
limitation is considered in the cost function reported in that paper. Hence, the current
shown in Figure 16b reaches a peak value of 297.2 A; meanwhile, the peak current achieved
by the OSS–MPC algorithm reported in this work is 33 A. Of course, with this large current
the control strategy of [27] manages to regulate the load voltage in approximately 20 ms
vs. 80 ms for the proposal, but it is unlikely that the power converter and LC filter could
withstand this large output current surge. Therefore, the lack of current regulation is
certainly a very strong drawback of the control strategy being compared with the MPC
scheme reported in this work.
Figure 16. Simulation of the system performance when a nonlinear load is connected at the output
of the LC filter: (a) inductor currents with the proposed method, (b) inductor currents with prior
OSS–MPC [27].
9. Conclusions
In this paper, an optimal switching sequence MPC algorithm was proposed for a three-
level neutral-point-clamped inverter with an output LC filter. The strategy is an extension
of the cascaded optimal switching sequence MPC proposed in the literature for current
and direct power control of active front-end 3L-NPC inverters. The control objectives
of the algorithm were twofold: (1) achieve good tracking performance for the LC filter
variables (current and voltages) and (2) maintain a balanced neutral-point voltage between
the DC-link capacitors of the converter using the algorithm already reported in [26]. To
achieve the objectives, the strategy solves two cascaded optimisation problems. The first
optimisation problem—called the outer optimisation loop—computes the optimal sequence
of switching vectors and their corresponding duty cycles to achieve the objectives related
to tracking the AC side variables. Then, the optimal solution of the outer optimisation loop
reported previously in [26] is used to compute an optimal common-mode signal designed
to balance the neutral-point voltage between the DC-link capacitors.
As discussed in the final paragraphs of Section 3.2.1 of this work, the standard forward-
Euler implementation typically used for predictive control has some problems implement-
ing a single-stage OSS–MPC algorithm regulating the current and voltage of a load con-
nected to an LC-filtered 3L-NPC converter, because the unconstrained solution is weakly
dependant on the load-voltage tracking error. Therefore, a two-step horizon has to be
considered, or another discretisation methodology, as the improved forward-Euler has to
be selected. Therefore, a discrete-time model based on the improved-Euler discretisation
method was used to predict the future values of the state-vector trajectory. Notice that this
methodology allows the implementation of a single-stage MPC algorithm to regulate the
load voltage and the converter output current.
Experimental results are provided to validate the performance of the proposed strategy
using the PLEXIM hardware-in-the-loop (HIL) platform RT Box 1 to emulate the power
electronics stage, and the control algorithm was executed by the dSPACE MicroLabBox
control platform. Three cases were considered in steady-state operation: (1) system perfor-
mance without load, (2) system performance with linear load, and (3) system performance
Processes 2024, 12, 348 23 of 25
with nonlinear load. In all cases, the MPC algorithm is capable of achieving good tracking
of the load-voltage reference with a small error and low THD. In addition, the strategy is
capable of maintaining well-balanced voltages at the DC-link capacitors. Moreover, the
performance of the proposed control system has been compared with that obtained from
the work reported in [27] using simulations. For all the tests performed, i.e., step changes
in the output voltage, step changes in the load voltage, and operation with a nonlinear
load at the output, the proposed control system has consistently outperformed the results
obtained with the control strategy of [27].
Author Contributions: Conceptualization, F.H., A.M., R.C. and J.R.; formal analysis, F.H., A.M.,
R.C., M.D. and M.R.; funding acquisition, R.C., M.D. and J.R.; investigation, F.H., J.R. and M.R.;
methodology, A.M. and R.C.; project administration, R.C.; resources, M.D.; software, F.H., M.D. and
M.R.; supervision, A.M. and R.C.; validation, F.H., A.M. and R.C.; writing—original draft, F.H. and
A.M.; writing—review and editing, A.M., R.C., M.D., J.R. and M.R. All authors have read and agreed
to the published version of the manuscript.
Funding: This research was funded by ANID Fondecyt grants, numbers 1221392, 1231030 and
1220556. The support of Fondequip EQM210117 and Basal grant FB0008 is kindly acknowledged.
The financial support of the Junta de Andalucía (CTEICU, SGU) project ProyExcel-00381 was also
important for the successful completion of this research work. Finally, the work of F. Herrera was
supported by anid grant ANID-PCHA/Doctorado Nacional/2022-21220759.
Data Availability Statement: The original contributions presented in the study are included in the
article, further inquiries can be directed to the corresponding author.
Conflicts of Interest: The authors declare no conflicts of interest. The funders had no role in the design
of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or
in the decision to publish the results.
Abbreviations
The following abbreviations are used in this manuscript:
References
1. Loh, P.C.; Newman, M.; Zmood, D.; Holmes, D. A comparative analysis of multiloop voltage regulation strategies for single and
three-phase UPS systems. IEEE Trans. Power Electron. 2003, 18, 1176–1185. [CrossRef]
2. Hua, B.; Zhengming, Z.; Liqiang, Y.; Bing, L. A High Voltage and High Power Adjustable Speed Drive System Using the
IntegratedLCand Step-Up Transforming Filter. IEEE Trans. Power Electron. 2006, 21, 1336–1346. [CrossRef]
Processes 2024, 12, 348 24 of 25
3. Alhosaini, W.; Zhao, Y. A Model Predictive Voltage Control using Virtual Space Vectors for Grid-Forming Energy Storage
Converters. In Proceedings of the 2019 IEEE Applied Power Electronics Conference and Exposition (APEC), Anaheim, CA, USA,
17–21 March 2019; pp. 1466–1471. [CrossRef]
4. Xue, C.; Zhou, D.; Li, Y. Finite-Control-Set Model Predictive Control for Three-Level NPC Inverter-Fed PMSM Drives with LC
Filter. IEEE Trans. Ind. Electron. 2021, 68, 11980–11991. [CrossRef]
5. Wu, L.; Qi, X.; Shi, X.; Su, T.; Deng, Y.; Xu, D. Sensorless Predictive Control Methods for Induction Motor-An Overview.
In Proceedings of the 2021 IEEE International Conference on Predictive Control of Electrical Drives and Power Electronics
(PRECEDE), Jinan, China, 20–22 November 2021; pp. 536–541. [CrossRef]
6. Dragičević, T. Model Predictive Control of Power Converters for Robust and Fast Operation of AC Microgrids. IEEE Trans. Power
Electron. 2018, 33, 6304–6317. [CrossRef]
7. Mohamed, I.S.; Rovetta, S.; Do, T.D.; Dragicević, T.; Diab, A.A.Z. A Neural-Network-Based Model Predictive Control of
Three-Phase Inverter with an Output LC Filter. IEEE Access 2019, 7, 124737–124749. [CrossRef]
8. Babayomi, O.; Li, Y.; Zhang, Z.; Kennel, R.; Kang, J. Overview of Model Predictive Control of Converters for Islanded AC
Microgrids. In Proceedings of the 2020 IEEE 9th International Power Electronics and Motion Control Conference (IPEMC2020-
ECCE Asia), Nanjing, China, 29 November–2 December 2020; pp. 1023–1028. [CrossRef]
9. Lio, W.H.; Rossiter, J.; Jones, B.L. A review on applications of model predictive control to wind turbines. In Proceedings of the
2014 UKACC International Conference on Control (CONTROL), Loughborough, UK, 9–11 July 2014; pp. 673–678. [CrossRef]
10. Soto-Sanchez, D.E.; Pena, R.; Cardenas, R.; Clare, J.; Wheeler, P. A Cascade Multilevel Frequency Changing Converter for
High-Power Applications. IEEE Trans. Ind. Electron. 2013, 60, 2118–2130. [CrossRef]
11. Kazmierkowski, M.P. Model Predictive Control of High Power Converters and Industrial Drives [Book News]. IEEE Ind. Electron.
Mag. 2018, 12, 55–56. [CrossRef]
12. Mesbah, A. Stochastic Model Predictive Control: An Overview and Perspectives for Future Research. IEEE Control. Syst. Mag.
2016, 36, 30–44. [CrossRef]
13. Elmorshedy, M.F.; Xu, W.; El-Sousy, F.F.M.; Islam, M.R.; Ahmed, A.A. Recent Achievements in Model Predictive Control
Techniques for Industrial Motor: A Comprehensive State-of-the-Art. IEEE Access 2021, 9, 58170–58191. [CrossRef]
14. Mirzaeva, G.; Mo, Y. Model Predictive Control for Industrial Drive Applications. IEEE Trans. Ind. Appl. 2023, 59, 7897–7907.
[CrossRef]
15. Karamanakos, P.; Geyer, T.; Oikonomou, N.; Kieferndorf, F.D.; Manias, S. Direct Model Predictive Control: A Review of Strategies
That Achieve Long Prediction Intervals for Power Electronics. IEEE Ind. Electron. Mag. 2014, 8, 32–43. [CrossRef]
16. Renjith, K.K.; Sankar, D.; Hima, T. A Comprehensive Review on Finite Control Set Model Predictive Control: Trends and
Prospects. In Proceedings of the 2022 Third International Conference on Intelligent Computing Instrumentation and Control
Technologies (ICICICT), Kannur, India, 11–12 August 2022; pp. 206–210. [CrossRef]
17. Karamanakos, P.; Liegmann, E.; Geyer, T.; Kennel, R. Model Predictive Control of Power Electronic Systems: Methods, Results,
and Challenges. IEEE Open J. Ind. Appl. 2020, 1, 95–114. [CrossRef]
18. Rodriguez, J.; Pontt, J.; Silva, C.A.; Correa, P.; Lezana, P.; Cortes, P.; Ammann, U. Predictive Current Control of a Voltage Source
Inverter. IEEE Trans. Ind. Electron. 2007, 54, 495–503. [CrossRef]
19. Karamanakos, P.; Geyer, T. Guidelines for the Design of Finite Control Set Model Predictive Controllers. IEEE Trans. Power
Electron. 2020, 35, 7434–7450. [CrossRef]
20. Tarisciotti, L.; Zanchetta, P.; Watson, A.; Clare, J.; Degano, M.; Bifaretti, S. Modulated model predictive control (M2PC) for a
3-phase active front-end. In Proceedings of the 2013 IEEE Energy Conversion Congress and Exposition, Denver, CO, USA, 15–19
September 2013; pp. 1062–1069. [CrossRef]
21. Vazquez, S.; Marquez, A.; Aguilera, R.; Quevedo, D.; Leon, J.I.; Franquelo, L.G. Predictive Optimal Switching Sequence Direct
Power Control for Grid-Connected Power Converters. IEEE Trans. Ind. Electron. 2015, 62, 2010–2020. [CrossRef]
22. Karamanakos, P.; Nahalparvari, M.; Geyer, T. Fixed Switching Frequency Direct Model Predictive Control with Continuous and
Discontinuous Modulation for Grid-Tied Converters with LCL Filters. IEEE Trans. Control. Syst. Technol. 2020, 29, 1503–1518.
[CrossRef]
23. Xu, B.; Liu, K.; Ran, X. Computationally Efficient Optimal Switching Sequence Model Predictive Control for Three-Phase Vienna
Rectifier Under Balanced and Unbalanced DC Links. IEEE Trans. Power Electron. 2021, 36, 12268–12280. [CrossRef]
24. Mora, A.; Cárdenas-Dobson, R.; Aguilera, R.P.; Angulo, A.; Donoso, F.; Rodriguez, J. Computationally Efficient Cascaded Optimal
Switching Sequence MPC for Grid-Connected Three-Level NPC Converters. IEEE Trans. Power Electron. 2019, 34, 12464–12475.
[CrossRef]
25. Vazquez, S.; Acuna, P.; Aguilera, R.P.; Pou, J.; Leon, J.I.; Franquelo, L.G. DC-Link Voltage-Balancing Strategy Based on Optimal
Switching Sequence Model Predictive Control for Single-Phase H-NPC Converters. IEEE Trans. Ind. Electron. 2020, 67, 7410–7420.
[CrossRef]
26. Mora, A.; Cardenas, R.; Aguilera, R.P.; Angulo, A.; Lezana, P.; Lu, D.D.C. Predictive Optimal Switching Sequence Direct Power
Control for Grid-Tied 3L-NPC Converters. IEEE Trans. Ind. Electron. 2021, 68, 8561–8571. [CrossRef]
27. Zheng, C.; Dragičević, T.; Zhang, Z.; Rodriguez, J.; Blaabjerg, F. Model Predictive Control of LC-Filtered Voltage Source Inverters
with Optimal Switching Sequence. IEEE Trans. Power Electron. 2021, 36, 3422–3436. [CrossRef]
Processes 2024, 12, 348 25 of 25
28. Quevedo, D.E.; Aguilera, R.P.; Geyer, T. Predictive Control in Power Electronics and Drives: Basic Concepts, Theory, and Methods.
In Advanced and Intelligent Control in Power Electronics and Drives; Orłowska-Kowalska, T., Blaabjerg, F., Rodríguez, J., Eds.; Studies
in Computational Intelligence; Springer International Publishing: Cham, Switzerland, 2014; pp. 181–226. [CrossRef]
29. Nabae, A.; Takahashi, I.; Akagi, H. A New Neutral-Point-Clamped PWM Inverter. IEEE Trans. Ind. Appl. 1981, IA-17, 518–523.
[CrossRef]
30. Akagi, H. Multilevel Converters: Fundamental Circuits and Systems. Proc. IEEE 2017, 105, 2048–2065. [CrossRef]
31. Zakzewski, D.; Resalayyan, R.; Khaligh, A. Hybrid Neutral Point Clamped Converter: Review and Comparison to Traditional
Topologies. IEEE Trans. Transp. Electrif. 2023, 1. [CrossRef]
32. Rocha, A.V.; de Paula, H.; dos Santos, M.E.; Filho, B.J.C. Increasing long belt-conveyors availability by using fault-resilient
medium voltage AC drives: Part II—Reliability and maintenance assessment. In Proceedings of the 2012 IEEE Industry
Applications Society Annual Meeting, Las Vegas, NV, USA, 7–11 October 2012; pp. 1–8. ISSN: 0197-2618.
33. Akagi, H.; Watanabe, E.H.; Aredes, M. Instantaneous Power Theory and Applications to Power Conditioning; Wiley: Hoboken, NJ,
USA, 2007; p. 379.
34. Wu, B. High-Power Converters and AC Drives; Wiley-IEEE Press: Hoboken, NJ, USA, 2006.
35. Jayakumar, V.; Chokkalingam, B.; Munda, J.L. A Comprehensive Review on Space Vector Modulation Techniques for Neutral
Point Clamped Multi-Level Inverters. IEEE Access 2021, 9, 112104–112144. [CrossRef]
36. Arias-Esquivel, Y.; Cárdenas, R.; Urrutia, M.; Diaz, M.; Tarisciotti, L.; Clare, J.C. Continuous Control Set Model Predictive Control
of a Modular Multilevel Converter for Drive Applications. IEEE Trans. Ind. Electron. 2023, 70, 8723–8733. [CrossRef]
37. Arias-Esquivel, Y.; Cárdenas, R.; Tarisciotti, L.; Díaz, M.; Mora, A. A Two-Step Continuous-Control-Set MPC for Modular
Multilevel Converters Operating with Variable Output Voltage and Frequency. IEEE Trans. Power Electron. 2023, 38, 12091–12103.
[CrossRef]
38. Süli, E.; Mayers, D. An Introduction to Numerical Analysis; Cambridge University Press: Cambridge, UK, 2003.
39. Zheng, C.; Yang, J.; Gong, Z. Efficient Finite-Set Model Predictive Voltage Control of Islanded-Mode Grid-Forming Inverters with
Current Constraints. IEEE Access 2022, 10, 95919–95927. [CrossRef]
40. Mattavelli, P. An improved deadbeat control for UPS using disturbance observers. IEEE Trans. Ind. Electron. 2005, 52, 206–212.
[CrossRef]
41. Yaramasu, V.; Wu, B. Fundamentals of Model Predictive Control. In Model Predictive Control of Wind Energy Conversion Systems;
Wiley: Hoboken, NJ, USA, 2017; pp. 117–148. [CrossRef]
42. Hackl, C. MPC with analytical solution and integral error feedback for LTI MIMO systems and its application to current control
of grid-connected power converters with LCL-filter. In Proceedings of the 2015 IEEE International Symposium on Predictive
Control of Electrical Drives and Power Electronics (PRECEDE), Valparaiso, Chile, 5–6 October 2015; pp. 61–66. [CrossRef]
43. Oravec, J.; Bakosova, M.; Hanulova, L. Experimental Investigation of Robust MPC Design with Integral Action for a Continuous
Stirred Tank Reactor. In Proceedings of the 2018 IEEE Conference on Decision and Control (CDC), Miami, FL, USA, 17–19
December 2018; pp. 2611–2616. [CrossRef]
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.