Modelling A Three-Phase Current Source Inverter
Modelling A Three-Phase Current Source Inverter
A current source inverter model has been developed in the given paper that is constructed from six LTI models
for the different switching modes. The overall model is in a piecewise affine form that supports the use of model
predictive control. The model has been verified against engineering expectations and its open-loop performance
shows that it is a promising basis of model predictive control structures.
Keywords: model predictive control, current source inverter, space vector modulation, modelling,
simulation
Unauthenticated
Download Date | 7/5/17 4:28 AM
106 NEUKIRCHNER AND MAGYAR
Unauthenticated
Download Date | 7/5/17 4:28 AM
MODELLING A THREE-PHASE CURRENT SOURCE INVERTER 107
vectors (Fig.3), based on the switching pattern and Solving Eqs.(3) and (5) yields the dwell times T0,
frequency of the inverter. As Iref passes through the T1, and T2 at any given θ angle as shown in Eq.(6):
vectorial spaces, different switch sets are applied to
!
formulate the desired output. As a result, when Iref 𝑇! = 𝑚! sin ( − θ)𝑇!
!
rotates one revolution, the output continues for one !
𝑇! = 𝑚! sin ( + θ)𝑇!
cycle based on the fundamental frequency. ! (6)
𝑇! = 𝑇! − 𝑇! −𝑇!
! !
3.2. Calculating Dwell-Time for − ≤θ≤ ,
! !
The dwell time for stationary vectors represents the time where ma = | Iref | / IDC is the modulation index in the
that space vectors spend in a sector during TS. The basic domain: ma ∈ [0, 1].
method used for dwell-time calculations is the so-called When Iref is inside of other sectors a multiple of
ampere-second balancing principle. The main idea π/3 is subtracted from θ so that the modified angle σ
behind it is that the product of the sampling period TS ! !
happens to fall within the range of − ≤ θ ≤ for use
and the reference vector Iref is equal to the sum of the ! !
current vectors multiplied by the time interval of chosen in Eq.(7):
space vectors. With small enough TS, Iref can be
!
assumed as constant over a period. With this notion, the σ = θ − (𝑘 − 1)
!
reference current is approximated from the 𝑠 = 1, 2, … , 6 (7)
neighbouring vectors corresponding to the actual sector ! !
for − ≤θ≤ ,
and from the zero vector for adjusting the length. ! !
The ampere-second balancing principle is given by
where s is the sector index. This method save sthe need
𝑰!"# 𝑇! = 𝑰! 𝑇! + 𝑰! 𝑇! + 𝑰! 𝑇! for implementing unnecessary calculations and code
(3) capacities.
𝑇! = 𝑇! + 𝑇! + 𝑇!
where T0, T1, and T2 denote the dwell times of the 3.3. Switching Sequence
vectors I0, I1, and I2. From Eq.(2), the individual values
of space vectors in SECTOR I are defined in Eq.(4): As far as designing the switching pattern of the SVM
for the CSI a few notions should be specified for
! ! switching loss reduction:
𝑰! 𝑇! = 𝐼!" e!! ! • The state transition should involve the least
!
!
! (4) amount of switches (one switch is desired).
𝑰! 𝑇! = 𝐼!" e! !
! • Minimum amount of switches should be
𝑰! 𝑇! = 0 involved as Iref transits from the current to the
next state.
Unauthenticated
Download Date | 7/5/17 4:28 AM
108 NEUKIRCHNER AND MAGYAR
Table 2. Typical switching sequence for Sector I. The are needed. Hence, linear differential equations for the
sequence was repeated twice to achieve a smoother !
output signal. In this case, the sampling period TS is
state variable x = 𝑖!" 𝑉!!" 𝑉 !" 𝑖 𝑖 , input variable u =
! !! ! !
one 12th of the fundamental time period. The active VDC and output variable y = [iR iS]T can be derived using
switch pairs are S6, S1 and S1, S2 for space vectors I1 KVL and KCL. Arranging the expressions for the
and I2. The chosen zero state (with switches S1, S4) is aforementioned state variables and recognizing VDC as
chosen for I0 such that the minimum switching loss the input of the system, yields the following state-space
requirement is met. matrices for the zero switching state as shown in
Vectors I1 I2 I0 I1 I2 I0 Eqs.(10)-(12):
S1 X X X X X X
!!"
S2 X X − 0 0 0 0
S3 !!"
! ! !
S4 X 0 − 0 −
!! !! !!
S5
! ! !!
S6 X X X 𝐀𝟎 = 0 0 − − − (10)
!! !! !!
dwell T1 T2 T0 T1 T2 T0 !! ! !!
time TS TS 0 0
!! !! !!
! ! !!
0 0
The typical sequence can be observed in Table 2. !! !! !!
Iref is created by I1, I2, and I0 with the mentioned dwell
! !
time rule 6. Ts can be divided into three or more
𝐁 = −! 0 0 0 0 (11)
segments (T0, T1, and T2) according to the desired THD !"
Unauthenticated
Download Date | 7/5/17 4:28 AM
MODELLING A THREE-PHASE CURRENT SOURCE INVERTER 109
Figure 4. Three-phase sinusoidal waveform of the CSI output currents iA , iB, and iC with a sample period of Ts = T/36 and
a modulation index of ma = 0.9. The output wave can be smoothened by adding higher filter parameters or further
reducing the sampling period.
Figure 5. Comparison of the inverter output current iA and the filtered load current iR with Ts = T /36 and ma = 0.9. The
background s’s value indicates the corresponding affine state of the model at a given time.
4. MPC assisted SVPWM been applied in the field of power electronics, where the
control frequency ranges from a few hundred Hz up to a
few MHz [5,6]. The main challenge of implementing
The aim of the previous sections was to develop a MPC consists of solving the associated optimization
model for the inverter that describes the switching problem in a bounded time.
behaviour of the dynamics. The obtained piecewise The predicted values are assumed to be constant
affine model gives a good basis for the model predictive after time k. Then, the control problem can be
control technique that is advantageous from two points formulated as follows:
of view: the possibility of introducing constraints to the
state and input variables and the fact that optimal
control problems can be formulated within it. min J (x[k])
The aim is to find the optimal space vectors in s.t. x[k] = x[k|k]
such a way that the error between the predicted states of J(x[k]) = ! !!! ||𝑄(𝒙 𝑘 + 𝑗 𝑘] − xref ([k]))||
2
(14)
the inverter and the chosen reference values are
minimized with respect to constraints. Previously, the where x[k + j | k] denotes the prediction of the state at
method of model predictive control was reserved only time k + j based on the information available at time k,
for applications with relatively slow time scales, like N is the prediction horizon, Q is the constant weighting.
plants and chemical processes. The reason for this is The optimal state-finding algorithm follows:
that MPC requires an optimization problem to be solved
at each sampling instant in order to obtain the control OptimalError = inf
input. Over the past decade, more and more applications for s = 1 : 7 do
use fast MPC applications, thanks to the advances in 𝑥(1) 𝑥(2) … 𝑥(𝑁) ! =
computer technology. The optimization problem is often 𝐵! 0 ⋯ 0 𝑢 0 𝐴!
NP hard, and finding a solution is taxing in terms of the 𝐴! 𝐵! ⋯ 0 𝑢 1 𝐴!!
calculation time of the control device, thus limiting the ∙ + 𝑥(0)
⋮ ⋮ ⋱ ⋮ ⋮ ⋮
rate at which the control could intervene with the !!! !!! !
𝐴! 𝐵! 𝐴! 𝐵! ⋯ 𝐵! 𝑢 𝑁 𝐴!
application. In particular, model predictive control has
Unauthenticated
Download Date | 7/5/17 4:28 AM
110 NEUKIRCHNER AND MAGYAR
Figure 6. MPC reference tracking with f = 50Hz, 𝐼̂ = 37.5A, and N = 2. In order to create the simplest implicit MPC for a
finite state PWA environment, every affine state was tested with the according horizon in every iteration.
Figure 7. Comparison of classic SVPWM and MPC on the same system. The SVPWM is applied with a modulation
index of 0.9, and the MPC reference tracking with f = 50Hz, 𝐼̂ = 37.5A, and N = 2.
Unauthenticated
Download Date | 7/5/17 4:28 AM
MODELLING A THREE-PHASE CURRENT SOURCE INVERTER 111
Unauthenticated
Download Date | 7/5/17 4:28 AM