Jfi Keiel Aur
Jfi Keiel Aur
net/publication/335478856
CITATIONS READS
3 480
5 authors, including:
All content following this page was uploaded by Aurelio Salton on 24 August 2020.
Abstract
1. Introduction
∗ Corresponding author.
Email address: [email protected] (Jeferson Vieira Flores)
2
this context, literature offers two main approaches to digital controller design
known as design by emulation (DE) and discrete-time design (DD) [16]. The
main idea behind DE based techniques is to design a continuous-time controller
which satisfy a prescribed performance and then to converted it into a digital
40 controller for the practical implementation. Although it can benefit from a wide
range of continuous-time design methods, the closed-loop stability/performance
will depend on the controller discretization method employed and the adequate
choice of sampling-time. For instance, an extensive analysis of discretization
effects in the performance of resonant controllers is presented in [17], proving
45 that accuracy of the resonant peak is very sensitive to the method and sampling
rate employed, specially for high order harmonics. On the other hand, DD
firstly obtains a discrete-time model of the plant to directly design a digital
controller from it, which can guarantee prescribed properties such as phase
margin and performance if an appropriate discretization method is used [18]. In
50 [19], the authors presented the state-space formulation of the discretized system
for several discretization methods in the context of linear-parameter-varying
systems and provided guidelines to choose an adequate sampling-time such that
the approximation error is minimized and stability is preserved.
The UPS modeling proposed in [13] assumes the load at the inverter out-
55 put as an unknown parameter, yielding an uncertain continuous-time system.
The use of DD for this class of systems is not straightforward since discretiza-
tion methods such as zero-order hold (ZOH) and Tustin do not preserve an
affine dependence with the uncertain parameter, compromising the equivalence
between the polytopic description of the continuous and discrete-time system
60 [20]. This assumption is paramount when considering robust controller design
based on LMI constraints. Through the power series approximation of the plant
matrices discretized by ZOH, it is shown in [21] that this equivalence which
equivalence? holds for a sufficiently small sampling time, which is, neverthe-
less, an approximated result. When it comes to discrete-time design of resonant
65 controllers to single and three phase UPS, we can point out [22, 23, 24]. In
[22], assuming the UPS time-invariant nominal model and a zero-order hold
3
discretization, a suboptimal H∞ multiple resonant controller is derived, while
in [23] a two-step procedure based on frequency response analysis is employed
to tune proportional-resonant controllers. Authors in [24] compared the effects
70 of two plant discretization methods in the design of digital infinite-gain resonant
controllers applied to UPS, however no experimental results were provided.
This work addresses the DD of finite-gain multiple resonant controllers con-
sidering the Forward Euler and Adams-Bashforth discretization methods, which
maintain the affinity with respect to the time-varying uncertainty. A novel state-
75 space formulation of digital finite-gain multiple resonant controllers is proposed
and the controller design problem is converted to the synthesis of a discretized
plant and controller state-feedback. In particular, the proposed control struc-
ture explicitly considers the additional states derived from the Adams-Bashforth
discretization method as degrees of freedom available for feedback. Then, a sys-
80 tematic procedure is derived to determine the gains associated to state-feedback
by the solution of a convex optimization problem under LMI constraints that
guarantee closed-loop stability and performance. Simulation and experimen-
tal results in a 3.5kVA commercial UPS are considered to evaluate the effects
of continuous-time discretization methods under the IEC 62040-3 performance
85 requirements. As a benchmark, all results are compared to the DE proposed
in [13], where the Tustin pre-warping approximation is considered to digitally
implement a multiple resonant controller designed in continuous-time.
Notation: N is the set of natural numbers, R is the set of real numbers,
R+ is the set of non-negative real numbers, C is the set of complex numbers,
90 Rn denotes the n-dimensional Euclidean space, Rn×m is the set of n × m real
matrices, 0 is the null matrix of appropriate dimension, I is the 2×2 identity
matrix, k·k is the Euclidean vector norm. For a real matrix Q, Q0 denotes its
transpose. Moreover Q > 0 (Q < 0) means Q is symmetric and positive definite
(negative definite).
4
95 2. UPS Model
S1 LC filter Load
C1
R Lf Lf
Vcc u
S2 iL f
+ 1
id
Cf vout Yo
C2
−
where,
R KPWM
− Lf − L1f
Ac (Yo ) = Lf , Bc = Lf ,
1
Cf − YCo (t)
f
0 (2)
h i0 h i
Ec = 0 − C1f , Cc = 0 1 .
In this case, x(t) = [iLf (t) vout (t)]0 is the state vector, where iLf denotes the
inductor current and vout the capacitor voltage, which is also assumed to be the
5
105 plant output y(t). The effects of the half-bridge inverter are now described by a
static gain KPWM multiplying the control signal u(t). Since the load connected
to the UPS output is usually unknown and time-varying, we considered Yo (t)
as an uncertain parameter restricted to the interval Ymin ≤ Yo (t) ≤ Ymax . Note
that in this formulation Ac (Yo ) is an affine matrix function of Yo (t).
where the state xd (k) ∈ Rn and matrices A(Yo ), B, E and C depend on the
discretization method employed. The equivalence between (1) and (3) is given
by the solution of state equation (1) at t = (k + 1)T , which yields [25]
(k+1)T
Z
x((k + 1)T ) = x(kT ) + f (x, u, id , Yo )(τ )dτ (4)
kT
6
Considering xd (k) = x(k), then it follows that matrices A(Yo ), B, E and C are
A(Yo ) = I + T Ac (Yo ), B = T Bc ,
(6)
E = T Ec , C = Cc .
Based on the reasoning in [21], this method is equivalent to the ZOH dis-
cretization for sufficient small sampling periods.
3.2. Adams-Bashforth
Multi-step methods are an alternative to approximate the solution of (4)
by the use of information in the previous samples, leading to a smaller local
truncation error when compared to one step methods. The Adams-Bashforth
(AB) three-step method [19] approximates the solution (4) by
T
x((k + 1)T ) ' x(kT ) + (5f |(k−2) − 16f |(k−1) + 23f |(k) ) (7)
12
where f |(k) := f (x, u, id , Yo )(kT ). To represent the discretized system in the
form (3), it is considered the augmented state
Remark 1. In both Euler and AB methods, the affine dependence on the un-
certain parameter is preserved, which is not verified for other methods such as
125 ZOH and the trapezoidal approximation (Tustin). Although ZOH yields an ex-
act equivalence between x(t) and x(k) at the sampling instants, A(Yo ) has an
7
exponential dependence on Yo , which is also propagated to matrices B(Yo ) and
E(Yo ). The same is verified for the Tustin method, where all discretized ma-
trices depend on the inverse of (I − A(Y0 )T /2) [19]. In addition, this method
130 (which one? or both of them? Strange, I thought they did) does not preserve the
original states (current and voltage), compromising in this way the application
of state-feedback controllers as considered in this work.
4. Controller Design
u(z) α2 z + α1
Cpr (z) = = k̄e + 2 , (9)
e(z) z − 2z cos(ωd T )e−ξωr T + e−2ξωr T
p
where ωd = ωr 1 − ξ 2 and k̄e , α1 and α2 are free tuning parameters to be
determined. In this case, e(z) denotes the Z-transform of the tracking error
140 e(k) = r(k) − y(k), where r(k) is a given periodic reference signal.
Assuming ξ = 0 and the closed-loop system stable, then the IMP is satis-
fied since the frequency response of Cr (z) shows infinite magnitude (resonance
peak) at ωr , resulting in a zero steady-state error for sinusoidal references and
disturbances with that frequency. However, the digital implementation of infi-
nite gain resonant structures may lead to several problems, mostly related to
high sampling rates, numerical accuracy and high amplitude control signals [26].
In order to overcome some of these issues, a damping factor ξ was introduced
in (9), at the cost of a residual tracking error caused by the finite magnitude
at ωr . This control structure can also be adapted to address the problem of
8
multiple harmonic rejection at frequencies ωri , i = 1, . . . , h in the so-called
proportional-multiple-resonant (PMR) structure:
h
X α2i z + α2i−1
Crh (z) = ke + (10)
i=1
z 2 − 2z cos(ωdi T )e−ξi ωri T + e−2ξi ωri T
with xr (k) ∈ R2h being the PMR controller state vector and i = 1, . . . , h, with
h denoting the number of harmonics to be compensated. Controller matrices
are given by
1−β0i
β0i ωri β1i
A ri = , Bri = ωri ,
−ωri β1i β2i β1 i (12)
h i
Cri = kc2i−1 kc2i , Dr = ke .
ξω
ri
β0i = e−ξωri T sin(ωdi T ) + cos(ωdi T ) ,
ωdi
sin(ω T )
di
β1i = e−ξωri T ,
ωdi
ξω
ri
β2i = e−ξωri T − sin(ωdi T ) + cos(ωdi T ) .
ωdi
This realization in of particular interest since the controller design is now
cast as a state feedback problem where the tuning parameters are gains kc2i−1 ,
kc2i and ke . Original variables α2i and α2i−1 can be recovered through:
9
ke +
Discrete-time
r(k) e(k) Multiple xr (k) u(k) u(t) x(t) x(k) y(k)
+ [kc1 kc2 . . . kc2h−1 kc2h ] + D/A UPS A/D C
− Resonant
Controller
+
[kp1 (kp2 − ke )]
+ Addit.
+ [kp3 . . . kpn ]
States
Now, concatenating the UPS dynamics (3) and the controller in (11), the
augmented system is expressed by:
xa (k + 1) = Aa (Yo )xa (k) + Ba u(k) + Ea q(k)
(13)
y(k) = Ca xa (k)
with the augmented state xa (k) = [xd (k)0 xr (k)0 ]0 ∈ Rn+2h . Notice that xd (k) ∈
Rn represents the discretized plant states with n = 2 for the Euler method or
n = 6 for the AB. The vector of exogenous inputs becomes q(k) = [r(k) id (k)]0
and matrices are given by
A(Yo ) 0 0 ... 0
−B C Ar1 0 ... 0
r1
.. ..
Aa (Yo ) = −Br2 C 0 . ,
.
A r2
.. ..
.. ..
. . . . 0
−Brh C 0 ... 0 A rh (14)
h i0
Ba = B0 0 0 ... 0 ,
0
0 B0r1 B0r2 ··· B0rh
Ea = ,
E0 0 0 ... 0
h i
Ca = C 0 0 ... 0 .
10
with Kp ∈ R1×n = [kp1 kp2 · · · kpn ], i.e., the PMR output (11) added to a plant
state-feedback. In this case, the closed-loop system assumes the form depicted in
Fig. 2, where the block “additional states” compute the vector [f |0(k−1) f |0(k−2) ]0
necessary to implement the control law with the Adams-Bashforth discretiza-
tion. In the Forward Euler method, these states are set to zero. Moreover, (15)
can be rewritten as an augmented state-feedback plus a feedforward term
where
K = [kp1 (kp2 − ke ) . . . kpn kc1 kc2 . . . kc2h−1 kc2h ].
with
F(Yo ) =Aa (Yo ) + Ba K,
0
B0 ke B0r1 B0r2 ··· B0rh
G = .
E0 0 0 ... 0
Next section presents an LMI framework to obtain the controller gains K
ensuring both the closed-loop robust stability and performance. To this end,
145 the PMR tunning problem is cast in a convex optimization problem subject to
LMI constraints, which can be solved by standard computational packages.
In order to satisfy the constraints imposed by the IEC 62040-3 standard, the
following performance criteria are also considered:
1) PC1: The closed-loop poles pi , i = 1, . . . , n + 2h must lie inside the
circular region described by
11
150 of the z-plane where 0 < ρ ≤ 1 is a fixed scalar directly related to the desired
transient dynamics [27].
2) PC2: Minimize the quadratic cost function
∞
2
X
J(z) := kz(k)k2 = z(k)0 z(k) (19)
k=0
The proof of theorem (1) is omitted since conditions (20) - (23) are standard
results in the discrete-time LMI framework [27, 28].
12
Based on the previous theorem, feedback gain K can be determined by
solving the following optimization problem:
5. Numerical results
In this section, the proposed control strategy is applied to a 3.5 kVA half-
bridge inverter with parameters detailed in Table 1, which are based on a com-
mercial UPS manufactured by CP Eletrônica, a Schneider Electric affiliate. Both
175 linear (purely resistive) and nonlinear loads (composed of a rectifier bridge and
a parallel RC filter) with parameters determined according to IEC 62040-3 are
employed to assess the proposed controller performance. An harmonic analysis
of the nonlinear load indicates that the most significant disturbance components
are in third, fifth, seventh, and ninth harmonics [13]. In addition, the PWM
180 switching frequency is supposed to match the sampling frequency fs , which can
assume the values of 21.6, 10.8 or 5.4 kHz. All numerical results are compared
to the DE methodology proposed in [13], where the Tustin method with pre-
warping compensation is considered to obtain the discrete-time version of the
PMR controller.
185 The region of PC1 is chosen to result in a recovering time under 100 ms,
once in continuous-time systems poles are s = σ ± jωd it implies σ ≤ −40 for
DE or ρ ≤ eσT when mapped for DD. The value of ξ1 is set to zero in all cases
13
¯ i = 2, · · · , 4. Aiming
to ensure the nominal reference tracking, while ξi = ξ,
for a fair comparison, the cost function of PC2 has been adjusted to match
190 the maximum control signal obtained with the equivalent DE when supplying
the maximum nonlinear load. Table 2 resumes all parameters considered in the
design stage, where is assumed that Cz ∈ R1×n+2h = ψ[1 . . . 1] and Dz = 1.
14
Table 2: Design parameters
200 Figure 3 summarizes the simulation results obtained for each design method.
One can see that no significant difference is noticed when the sampling frequency
is reduced from 21.6 to 10.8kHz, with a maximum THD variation under 0.2%
in the worst scenario (AB, h=1). However, the THD is increased significantly
when this frequency is further reduced to 5.4kHz, ranging from around 1.5%
205 (AB, h=4) to 8% (DE, h=1). Despite that variation, the THD limit of 8%
prescribed in the IEC62040-3 is satisfied for h = 3 in all methods. We also point
out that methods based on DD are less susceptible to frequency variations when
compared to DE.
210 All tests considered the experimental setup depicted in Fig. 4 and schemat-
ically illustrated in Fig. 5, also provided by CP Eletrônica. More specifically
the inverter switching module is composed of a Semikron SKD31F/08 three
phase rectifier bridge and a Semikron SKM400GB128D IGBT module with a
SKHI22AR driver. The output voltage and inductor current measurements
215 are obtained with an insulated transformer and a Hall effect sensor, respec-
tively. Data acquisition and control are performed by means of a dSPACE
DS1104 board with associated conditioning circuits. In addition, a Tektronix
TDS2024C oscilloscope with a Tektronix A622 AC/DC current probe and a
15
18 21.6 kHz 18 21.6 kHz
10.8 kHz 10.8 kHz
16 5.4 kHz 16 5.4 kHz
14 14
12 12
THD (%)
THD (%)
10 10
8 8
6 6
4 4
2 2
0 0
0 1 2 3 4 0 1 2 3 4
Number of resonant modes (h) Number of resonant modes (h)
18 21.6 kHz
10.8 kHz
16 5.4 kHz
14
12
THD (%)
10
0
0 1 2 3 4
Number of resonant modes (h)
(c) DD AB
Fluke 43B Power Quality Analyzer are employed to record signal waveforms
220 and perform the harmonic analysis. For the UPS performance evaluation two
scenarios based on IEC 62040-3 have been considered: one to evaluate steady-
state performance by checking the harmonic distortion and another to verify
the closed-loop transient response. Based on the simulation results presented in
the previous section, only the frequencies of 10.8 and 5.4kHz will be considered.
225 In the first scenario, Figures 6 and 7 present a comparison of the output
voltage THD obtained by all controller designs for an increasing number of
compensated harmonics. One can readily notice that there is no significant
difference between the digital implementation methods at 10.8kHz, once their
THDs are similar with marginal differences associated to the experimental setup
230 EU REMOVERIA ESSA PARTE EM VERMELHO e a frase em azul depois
dessa também. In addition, an average increasing of near 1% can be noted
16
Figure 4: Experimental test bench.
u(k)
x(k)
PC dSPACE
17
when comparing these results with the simulations in Fig. 3. On the other
hand, at 5.4kHz the difference between DE and DD methods is significant when
only one or two harmonics are compensated. Comparing the DD controllers, AB
235 discretization led to better steady-state results due to the additional states (and
therefore degrees of freedom) used in the state-feedback approach. In Figure 8
is depicted the magnitude of Td (z) = y(z)/id (z), i.e., the closed-loop transfer
function from the disturbance signal id to the output voltage at each harmonic
component (doted lines). For h = 2, there exists a significant difference in the
240 magnitude of the first uncompensated harmonic (5th) between the methods,
resulting in a smaller THD for the DD. However, for h = 3 this difference is
small and occurs at uncompensated harmonics with less significance (7th and
9th), resulting in a similar THD for all methods.
11 DE
10 DD Euler
DD Adams
9
8
7
THD (%)
6
5
4
3
2
1
0
1 2 3
Number of compensated harmonics (h)
18
20 DE
19 DD Euler
18
17 DD Adams
16
15
14
13
THD (%)
12
11
10
9
8
7
6
5
4
3
2
1
0
1 2 3
Number of compensated harmonics (h)
30 30
20 20
10 10
Magnitude (dB)
Magnitude (dB)
0 0
−10 −10
−20 −20
−30 −30
DE DE
DD Euler DD Euler
−40 DD AB −40 DD AB
1 2 3 4 1 2 3 4
10 10 10 10 10 10 10 10
Frequency (rad/s) Frequency (rad/s)
(a) h = 2 (b) h = 3
Figure 8: Magnitude frequency response from disturbance to the output at 5.4 kHz.
Table 3 displays THD and IHD measurements for resonant controllers with
245 h = 3 and h = 4 when fs = 5.4 kHz. Despite an almost perfect disturbance
attenuation at the compensated harmonics, the infinite gain resonant controller
violates the standard IHD limits for uncompensated (7th and 9th) harmonics.
19
This is explained from Bode’s integral formula [29]: the attenuation of distur-
bances at some frequencies leads to an unavoidable amplification at other regions
250 of the spectrum which, in this case, comprehends the higher order harmonics.
On the other hand, this can be relaxed by the introduction of a damping factor
at the compensated harmonics, at the expense of an increase in the tolerable
THD/IHD.
20
30
Undervoltage transient limit DE
DD Euler
20 DD Adams
Nominal value (%)
10
−10
−20
30
Undervoltage transient limit DE
DD Euler
20 DD Adams
Nominal value (%)
10
−10
−20
21
analyzer when h = 1 and h = 4 (fs = 5.4kHz). As expected, the multiple
resonant strategy clearly leads to a significant attenuation of the output voltage
THD in all cases. In Fig. 12 the output voltage and current waveforms for the
265 case with the smaller THD reading is presented, i.e. AB method and h = 4.
6. Conclusion
This paper compared the effect of plant discretization methods in the digital
resonant control of UPS systems. In particular, since the plant continuous-time
model is uncertain, only discretization methods that preserve an affine depen-
270 dence with the uncertain parameter between continuous and discrete-time sys-
tems have been considered. Whereas the Euler Forward discretization method is
22
Figure 12: Output voltage and current waveforms for h = 4 and fs = 5.4kHz.
23
Acknowledgment
References
295 [1] IEC 62040-3, Uninterruptible Power Systems (UPS) - Part 3: Method of
specifying the performance and test requirements, IEC, Switzerland, 2011
(2011).
[3] S. Jung, Y. Tzou, Discrete sliding-mode control of a pwm inverter for sinu-
soidal output waveform synthesis with optimal sliding curve, IEEE Trans-
actions on Power Electronics 11 (4) (1996) 567–577 (July 1996).
310 [6] G. Wu, L. Sun, K. Y. Lee, Disturbance rejection control of a fuel cell power
plant in a grid-connected system, Control Engineering Practice 60 (2017)
183 – 192 (2017).
24
[7] D. Xu, Y. Dai, C. Yang, X. Yan, Adaptive fuzzy sliding mode command-
filtered backstepping control for islanded pv microgrid with energy storage
315 system, Journal of the Franklin Institute 356 (4) (2019) 1880 – 1898 (2019).
[8] B. A. Francis, W. M. Wonham, The internal model principle for linear mul-
tivariable regulators, Applied Mathematics and Optimization 2 (2) (1975)
170–194 (June 1975).
[10] S. Fukuda, T. Yoda, A novel current-tracking method for active filters based
on a sinusoidal internal model [for pwm invertors], IEEE Transactions on
Industry Applications 37 (3) (2001) 888–895 (May 2001).
25
[15] M. Chilali, P. Gahinet, H∞ design with pole placement constraints: an
LMI approach, Automatic Control, IEEE Transactions on 41 (3) (1996)
358–367 (Mar 1996).
26
cations through frequency response analysis, IET Power Electronics 9 (15)
(2016) 2871–2879 (Sept. 2016).
27