Professional Documents
Culture Documents
Abstract— In this paper, we analyze the properties of the is relative high harmonic distortions. This kind of critical
vector fields associated with all possible configurations of a issues in power conversion has led to the development of
single-phase DC/AC inverter with the objective of designing a new control algorithms relying on recent advances of the
hybrid controller for the generation of an approximation of
a sinusoidal reference signal. Using forward invariance tools theory of switching and hybrid systems [4], [5], [6].
for general hybrid systems, a hybrid controller is designed for In this paper, we propose a hybrid controller for a single
the switched differential equations capturing the dynamics of phase DC/AC inverter designed using hybrid system theory.
the DC/AC inverter. Then, global asymptotic stability of a set The proposed control law manages to accomplish the task
of points nearby the reference trajectory, called the tracking of getting a sinusoidal output signal as close as possible to
band, is established. This property is found to be robust to small
perturbations, and variation of the input voltage. Simulations the reference signal by controlling the four switches. For this
illustrating the major results are included. purpose, we use a switched differential equation to capture
the dynamics of the DC/AC inverter. The proposed controller
I. I NTRODUCTION triggers switches based on the value of the current and
voltage of the RLC filter. Results on forward invariance of
Besides fossil and nuclear-based power, future energy
sets for general hybrid systems are used to analyze the effect
distribution systems ought to be capable of interconnecting
of the proposed controller. More precisely, we show that our
diverse renewable sources, such as hydroelectric generators,
controller renders a region around the reference trajectory,
photovoltaic arrays, and wind turbines, as well as energy
which we refer to as the tracking band, forward invariant
storage systems. A particular challenge imposed by these
and that solutions from outside this region converge to it in
“smart grid” futuristic views is the high variability of the
finite time. This property allows us to show global asymp-
power provided by the renewable sources, mainly due to
totic stability of the tracking band, which, in turn, implies
their high dependence on environmental conditions. In turn,
robustness to small perturbations and variation of the input
this variability imposes a challenge to power conversion, in
voltage. Additionally, the harmonic distortion introduced by
particular, between DC and AC signals.
our controller is small according to our FFT analysis (and it
In this paper, a single-phase DC/AC inverter, one of
appears to outperform a PWM-based controller).
the most common topologies used in power conversion, is
The structure of this paper is as follows. After modeling
studied. This circuit is capable of transforming DC input
the DC/AC inverter, basic concepts of hybrid systems are
voltage into an approximate AC output voltage. As shown
presented in Section III. Then, in Section IV-A, we introduce
in Figure 1, by controlling the positions of the four switches
the reference trajectory, a ellipse-shaped limit cycle, on the
of the inverter, the sign of the input DC voltage to the RLC
current-voltage plane. The proposed control law is introduced
filter changes, and when appropriately controlled, the voltage
in Sections IV-B. The properties of closed-loop system
across the capacitor and the current though the inductor
with our controller are studied in Sections V. Finally, in
can evolve almost sinusoidally. Typically, DC/AC invert-
Section VI, simulations are presented to show the capabilities
ers are controlled using Pulse Width Modulation (PWM)
of the proposed controller.
techniques. PWM-based controllers trigger switches of the
inverters whenever the difference of a carrier signal, usually II. M ODELING A S INGLE -P HASE DC/AC I NVERTER
a triangular wave, and the reference sinusoidal signal changes
A single-phase DC/AC inverter circuit consists of four
sign. The performance of PWM-based controllers has been
controlled switches connecting to a series RLC filter, as
thoroughly studied in the literature [1], [2], [3]. One of the
shown in Figure 1.The DC signal VDC is the input signal
shortcomings of PWM-based controllers is that the control
to the inverter. The output signal vC denotes the voltage
of the output voltage magnitude is not robust to changes
across the capacitor C, and iL denotes the current through
of the input DC voltage. Without a DC voltage regulator
the inductor L. The objective of a controller selecting the
at its input, the “sinusoidal” output would be significantly
positions of the switches S1 − S4 is to generate an output vC
affected. Another disadvantage of PWM-based controllers
that approximates a sinusoidal signal of a desired frequency
J. Chai, and R. G. Sanfelice are with the Department of Aerospace by appropriately toggling the switches.
and Mechanical Engineering, University of Arizona 1130 N. Moun- The presence of switches in the circuit introduces
tain Ave, AZ 85721. Email: amy89@email.arizona.edu, non-smooth dynamics. By controlling the position of the
sricardo@u.arizona.edu. Research by J. Chai and R. G. San-
felice has been partially supported by the NSF CAREER Grant no. ECS- switches, to either “ON” or “OFF” position, the voltage Vin
1150306 and by AFOSR Grant no. FA9550-12-1-0366.
Vin R L
times 0 = t0 ≤ t1 ≤ t2 ... ≤ tJ . A solution to the hybrid
+
+ S1 S4 iL system (3) is given by a hybrid arc φ satisfying the dynamics
C vC of (3). A hybrid arc φ is a function on a hybrid time domain
VDC − that, for each j ∈ N, t 7→ φ(t, j) is absolutely continuous on
the interval {t : (t, j) ∈ dom φ }. A solution φ to (3) is said
− S2 S3 to be complete if dom φ is unbounded and maximal if there
does not exist another pair φ′ such that φ is a truncation
of φ′ to some proper subset of dom φ′ . Furthermore, we
Fig. 1: Single-phase DC/AC inverter circuit diagram. say that a set K ⊂ Rn is forward invariant for H if every
maximal solution φ from K is complete and φ(t, j) ∈ K
to the RLC filter will equal either VDC , −VDC , or 0. for all (t, j) ∈ dom φ. For more details about solutions to
Differential equations describing the system dynamics are hybrid systems, see [7].
given as
IV. A H YBRID C ONTROLLER FOR THE G ENERATION OF
iL − L1 vC
V
q− R
i̇L DC
AN A PPROXIMATION OF A S INUSOIDAL VOLTAGE
= fq (z) := L L
1 , (1)
v̇C C iL A. Sinusoidal Reference Trajectory
where R, L, C are parameters of the circuit, z := (iL , vC ) ∈ Reference signals t 7→ (i∗L (t), vC ∗
(t)) are given by the
R2 , and q is a logic variable that describes the position of steady-state response of the RLC filter in Figure 1 to si-
the switches. In this way, q ∈ Q := {−1, 0, 1} leads to the nusoidal input signals t 7→ Vin (t) = A sin (ωt + θ), where
following states of interest of the inverter circuit: A, ω > 0 are the magnitude and angular frequency, respec-
1
V R
L − L iL − L vC
DC
when S1 = S3 = ON and tively, and θ is the initial phase. Using the equations of the
S2 = S4 = OFF; filter, under the effect of the input Vin (t), every steady-state
1 solution, in particular, (i∗L , vC
∗
), satisfies V (i∗L (t), vC
∗
V R
− DC − i L − vC when S1 = S3 = OFF and (t)) = c
i̇L = L L L
for all t ≥ 0, where
S 2 = S4 = ON;
R 1
− i − v
2
L C when S 1 = S4 = OFF and
L L iL vC 2
z ∈ R2
V (z) := + (4)
S2 = S3 = ON
(2) a b
1 with constants a and b given by
v̇C = iL
C 1 1
Typically, DC/AC inverters are controlled by an algorithm a := q , b := q .
2 1 2 2 1 2
generating a switching profile following the so-called Pulse R + (Lω − Cω ) Cω R + (Lω − Cω )
Width Modulation (PWM) technique. In this paper, moti-
vated by the shortcomings of PWM-based control for in- B. Control strategy
verters discussed in the introduction, a new control law is A hybrid control strategy is developed for the inverter to
developed and analyzed through a hybrid control approach switch among the three operation modes described in (2).
for the purpose of having robust control of the inverter. Next, This hybrid control strategy provides an alternative to the
we introduce basic concepts of hybrid systems and develop traditional PWM control approach with arbitrary precision
new supporting results in the next section. for an inverter. More precisely, the hybrid control strategy
III. BASIC C ONCEPTS OF H YBRID S YSTEMS guarantees that the output trajectory converges to a region
(tracking band) nearby the reference trajectory satisfying (4).
A hybrid system H, or more precisely, a closed-loop
1) Tracking Band: The tracking band is defined as a
system with a hybrid controller in our case, can be written
neighborhood around the set {z : V (z) = c}, which defines
as ( the reference trajectory. More precisely, given ci and co such
ẋ = f (x) x∈C
H (3) that ci < c < co , the tracking band is given by
x+ ∈ G(x) x ∈ D,
{z ∈ R2 : ci ≤ V (z) ≤ co }. (5)
where C, f, D, and G represent the flow set, the flow map,
the jump set, and the jump map, respectively. Solutions On the (iL , vC ) plane, the tracking band has an outer
to (3) have continuous and/or discrete behavior depending boundary given by So = {z ∈ R2 : V (z) = co }, which is the
on the system data (C, f, D, G). Following [7], besides the outer green dashed line in Figure 2, and an inner boundary
usual time variable t ∈ R≥0 , we consider the number of given by Si = {z ∈ R2 : V (z) = ci }, which is the inner
jumps, j ∈ N := {0, 1, 2, ...}, as an independent variable. green dash line in Figure 2. The reference trajectory, which
Thus, hybrid time is parametrized by (t, j). The domain is the blue solid line in Figure 2, is enclosed by the tracking
of a solution to H is given by a hybrid time domain. A band. A trajectory to (2) with the proposed control strategy is
hybrid time domain is defined as a subset E of R≥0 × N shown in red solid line and, as the figure depicts, remains in
that, for each (T, J) ∈ E, E ∩ ([0, T ] × {0, 1, ...J}) can the tracking band for all time while describing a “periodic”
J−1
be written as ∪j=0 ([tj , tj+1 ], j) for some finite sequence of orbit. The parameters used for Figure 2 are: R = 0.6Ω,
vC vC
vi, M2 , q+ = 0
L = 0.1H, C = 0.04F, VDC = 5V, ci = 0.9, co = 1.1, and
So
c = 1. So iii, q+ = 1 iv, q+ = −1
0.015 iL iL
Reference
Solution
0.01
Boundaries
So
ii, q+ = 1 Si Si i, q+ = −1
0.005 Si v, M1 , q+ = 0
vC 0
(a) q = −1 (b) q = 1
vC
So
−0.005 ii, q+ = 1
iii, q+ = 1
−0.01
iL
−0.015
−0.2 −0.15 −0.1 −0.05 0 0.05 0.1 0.15 0.2
iL
Si
control law.
(c) q = 0
2) Control Logic for Strong Forward Invariance of the
Tracking Band: In Section IV-B.1, So , Si , ci , co were intro- Fig. 3: Regions on the (iL , vC ) plane for each q ∈ Q used
duced to define the tracking band. Here, for the ease of in rules i-vi of the algorithm for forward invariance. The
introducing the control logic, we define a (small enough) corresponding rules are also indicated.
positive parameter ǫ and the sets
A hybrid controller denoted by Hfw = (Cfw , ffw , Dfw , Gfw )
M1 = {z ∈ R2 : V (z) = co , 0 ≤ iL ≤ ǫ, vC ≤ 0}; is constructed based on the proposed control logic above.
M2 = {z ∈ R2 : V (z) = co , −ǫ ≤ iL ≤ 0, vC ≥ 0}. The controller has a logic state, which, with some abuse of
notation, we denote as q ∈ Q, and has input z. Its dynamics
Proposed control algorithm for forward invariance: are given by the hybrid system
Using current values of z and q, switch q according to the (
q̇ = ffw (q) (q, z) ∈ Cfw
following rules (see Figure 3): Hfw
q + ∈ Gfw (q) (q, z) ∈ Dfw
i. if z ∈ (So \ M1 ) ∩ {z ∈ R2 : iL ≥ 0} and q 6= −1,
switch to vector field for q = −1 to steer the trajectory where the flow map ffw is defined as
to Si ;
ii. if z ∈ (So \ M2 ) ∩ {z ∈ R2 : iL ≤ 0} and q 6= 1, switch ffw (q) := 0,
to vector field for q = 1 to steer the trajectory to Si ; the flow set Cfw is defined as
iii. if z ∈ Si ∩ {z ∈ R2 : iL ≥ 0} and q = −1 or q = 0, Cfw := (q, z) ∈ Q × R2 : V (z) ∈ [ci , co ] ,
(6)
switch to vector field for q = 1 to steer the trajectory to
So ; Gfw is
the jump map defined as
iv. if z ∈ Si ∩ {z ∈ R2 : iL ≤ 0} and q = 1 or q = 0,
−1 if q 6= −1 and
switch to vector field for q = −1 to steer the trajectory
[(V (z) = co and iL ≥ 0 and z ∈ / M1 )
to So ;
or (V (z) = ci and iL ≤ 0)];
v. if z ∈ M1 and q = 1, switch to vector field for q = 0 to
0 if (z ∈ M1 and iL 6= ǫ and q = 1)
steer the trajectory to the right hand side of the (iL , vC )
plane;
or (z ∈ M2 and iL 6= −ǫ and q = −1);
Gfw (q) :=
vi. if z ∈ M2 and q = −1, switch to vector field for q = 0
1 if q 6= 1 and
to steer the trajectory to the left hand side of the (iL , vC )
[(V (z) = co and iL ≤ 0 and z ∈ / M2 )
plane.
or (V (z) = ci and iL ≥ 0)];
Note that the proposed control algorithm includes regions
{0, 1} if (V (z) = co , iL = −ǫ, vC ≥ 0);
M1 and M2 , on which switches to mode q = 0 inside the
{−1, 0}
tracking band take place. This mechanism is included to if (V (z) = co , iL = ǫ, vC ≤ 0);
prevent fast switching at points in {z : V (z) = co , iL = and the jump set Dfw is defined as
0}, from where, when q ∈ {−1, 1}, solutions would flow 2
Dfw := {(q,
S z) ∈ Q × R :2 V (z) = ci , iL q ≤ 0, q 6= 0}
“horizontally” (to the left or to the right) on the (iL , vC )
plane. S{(q, z) ∈ Q × R2 : V (z) = co , iL q ≥ 0, q 6= 0}
{(q, z) ∈ Q × R : V (z) = ci , q = 0}.
Next, we propose a controller implementing the control
logic described above, and state key properties of the vector When Hfw is used to control the plant in (1), the output of
fields for q ∈ Q. the plant, which is z, becomes the input of Hfw , and its output
q becomes the input of the plant. This yields a hybrid closed- 3) Augmented Logic for Global Convergence: Global
loop system with state variable η = [q z ⊤ ]⊤ , which can convergence to T can be guaranteed by adding a controller
cl cl
be written as the hybrid system Hfw = (Cfw , ffw , Dfw , Gcl
fw ) that steers solutions into T globally. To obtain such a prop-
given by erty, a controller that guarantees the following is required:
1) solutions from every point outside of So converge to So
(
cl
cl η̇ = ffw (η) η ∈ Cfw
Hfw + cl in finite time;
η ∈ Gfw (η) η ∈ Dfw ,
2) solutions from every point inside of Si converge to Si
where in finite time.
0
Gfw (q)
In this section, we introduce one possible controller that
cl
ffw (η) = VDC R 1 cl iL . guarantees the global convergence property.
L q − L iL − L vC , Gfw (η) =
1
vC The controller is defined as follows. When z is outside the
C iL
(interior of) the tracking band (5), we use a static controller
The closed-loop system Hfw cl
satisfies the hybrid basic con- Hg defined on [
ditions introduced in [7, Assumption 6.5]. Cg := {z ∈ R2 : V (z) ≥ co } {z ∈ R2 : V (z) ≤ ci }
Lemma 1 (Hybrid basic conditions): The hybrid model
cl and given by
Hfw of the inverter system satisfies the basic hybrid con- (
cl
ditions, i.e., its data (Cfw , ffw , Dfw , Gcl 0 if V (z) ≥ co
fw ) is such that κ(z) :=
m if V (z) ≤ ci ,
(A1) Cfw and Dfw are closed sets;
(A2) ffw cl
: Q × R2 → Q × R2 is continuous; where m is a constant parameter taking value from {−1, 1}.
(A3) Gcl 2 2
fw : Q × R ⇉ Q × R is outer semicontinu-
The static feedback law κ is the output of Hg , which is used
ous and locally bounded relative to Dfw, and Dfw ⊂ to control q of the plant (1), while its input is the current and
dom Gcl fw .
voltage vector z. In this way, the choice κ = 0, which selects
Thus, according to [7, Section 6.1], the hybrid closed-loop the vector field f0 (z) of (1), is used to steer the solutions
system Hfw cl
is a well-posed hybrid system. Then, the behav- to So from outside of {z ∈ R2 : V (z) < co }. The choice
ior of the hybrid system Hfw cl
is robust to small perturbations. κ = −1 (or κ = 1 depending on the value of m) is used to
Lemma 2 (Inner product properties): Given positive sys- steer the solution to Si from inside {z ∈ R2 : V (z) > ci }.
cl
tem constants R, L, C, ω, VDC such that LCω 2 ≥ 1, the Now, similar to Hfw , we define a closed-loop system Hgcl
following hold: by applying controller Hg to the plant (1). The system Hgcl
has state z and is defined on Cg . The dynamics of Hgcl are
a) h∇V (z), fq (z)i ≤ 0, for all (q, z) ∈ Q × R2 such that
given by
z ∈ Γ, (q, iL ) ∈ {(q, iL ) ∈ Q × R : iL ≤ 0, q =
ż = fg (z) := fκ(z) (z) z ∈ Cg .
1} ∪ {(q, iL ) ∈ Q × R : iL ≥ 0, q = −1};
b) h∇V (z), fq (z)i ≥ 0, for all (q, z ∈ Q × R2 ) such that Proposition 2 (Global Convergence): Given positive sys-
z ∈ Γ, (q, iL ) ∈ {(q, iL ) ∈ Q × R : iL ≤ 0, q = tem constants R, L, C, ω, VDC and ci < co such that
√
−1} ∪ {(q, iL ) ∈ Q × R : iL ≥ 0, q = 1}; LCω 2 > 1 and VDC > b co , from every point z such
c) h∇V (z), fq (z)i ≤ 0, for all (q, z) ∈ Q × R2 such that that V (z) ≤ ci or V (z) ≥ co , the unique solution to Hgcl
z ∈ M1 ∪ M2 and q = 0; converges to the tracking band (5) in finite time.
4) Supervisor Controller: With appropriately chosen pa-
where Γ is defined as
rameters for controllers Hfw and Hg , we can globally “track”
Γ = {z ∈ R2 : −αVDC ≤ −αRiL + (β − α)vC ≤ αVDC } any reference trajectory (i∗L , vC
∗
) described by (4). For this
2 2 purpose, we introduce a hybrid supervisor controller denoted
with α = 2 and β = 2 .
a L b C Hs that uses information of the location of z and switches
Define the set T := Q × {z ∈ R2 : V (z) ∈ [c1 , co ]}, i.e.,
between controller Hfw and Hg to guarantee global conver-
points in T are located in the tracking band on the (iL , vC )
gence and forward invariance of the tracking band. Figure 4
plane, and have state q ∈ Q. The following result states that
shows the feedback control architecture.
the set T is a forward invariant set for the closed-loop system
cl
Hfw . q i̇L = −
R
iL −
1
vC +
VDC
q z
Proposition 1 (Forward invariance): Given positive sys- v̇C =
1
L
iL
L L
0
−0.005
2.5635 −0.005
−0.01
−0.01
−0.015 −0.015
−0.25 −0.2 −0.15 −0.1 −0.05 0 0.05 0.1 0.15 0.2 −0.2 −0.15 −0.1 −0.05 0 0.05 0.1 0.15 0.2
49.93 iL iL
3) This simulation confirms that the proposed controller is A simulation of H with initial condition x0 inside Si is
robust to variations of VDC , which is a key robustness shown in Figure 8b. The solution starts with p = 2. Then,
property of our controller when compare to a PWM- p is switched to 1 by Hs , and the solution stays within the
based controller. Figure 7a shows steady vC output tracking band from then on.
of the inverter with the proposed controller (in red),
even when there is a step change in the value of VDC , VII. C ONCLUSION
see Figure 7b. On the other hand, the vC output of In this paper, a hybrid controller for a single-phase DC/AC
the inverter with a PWM-based controller (in blue) has inverter has been designed. Given appropriate system con-
significant transient response and enlarged magnitude stants and reference signal, the proposed hybrid controller
after the step in VDC from 5V to 7V at 3s. Both is robust to variable input voltage and small perturbations,
solutions have the same initial condition z(0, 0) = while guaranteeing global convergence to the forward in-
(0.1, 0.01). variant tracking band in finite time. Numerical results show
0.3
PWM-based controller
Proposed controller
that the output voltage has less harmonic distortion than the
0.2
output of PWM-based control technique.
0.1
vC
0
R EFERENCES
−0.1 [1] J. Rodriguez, J. Pontt, C. A. Silva, P. Correa, P. Lezana, P Cortés, and
−0.2
U. Ammann. Predictive current control of a voltage source inverter.
0 1 2 3
t [sec]
4 5 6 IEEE Transactions on Industrial Electronics,, 54(1):495–503, 2007.
[2] J. Rodriguez, J.-S. Lai, and F. Zheng P. Multilevel inverters: a survey of
(a) vC output of the single-phase inverter with PWM-based topologies, controls, and applications. IEEE Transactions onIndustrial
and proposed hybrid controllers for VDC with a step at 3s. Electronics,, 49(4):724–738, 2002.
0.015
Reference
[3] S. Mariéthoz and M. Morari. Explicit model-predictive control of
7
0.01
Solution a PWM inverter with an LCL filter. Industrial Electronics, IEEE
Transactions on, 56(2):389–399, 2009.
6.5 0.005
[4] P.C. Loh, G.H. Bode, and P.-C. Tan. Modular hysteresis current control
VDC 6 vC 0 of hybrid multilevel inverters. 152(1):1–8, 2005.
[5] M. Senesky, G. Eirea, and T. J. Koo. Hybrid modelling and control of
−0.005
5.5
power electronics. In Hybrid Systems: Computation and Control, pages
5
−0.01 450–465. Springer, 2003.
−0.015 [6] S. Kouro, P. Cortés, R. Vargas, U. Ammann, and J. Rodrı́guez. Model
0 1 2 3 4 5 6 −0.2 −0.1 0 0.1 0.2
t [sec]
iL predictive controla simple and powerful method to control power
converters. IEEE Transactions on Industrial Electronics,, 56(6):1826–
(b) VDC signal. (c) Corresponding trajectory 1838, 2009.
of proposed controller. [7] A. R. Teel R. Goebel, R. G. Sanfelice. Hybrid Dynamical Systems.
Princeton University Press, 2012.
Fig. 7: Simulations with a step in VDC at 3s. [8] R. G. Sanfelice, D. A. Copp, and P. Nanez. A toolbox for simulation
of hybrid systems in Matlab/Simulink: Hybrid Equations (HyEQ)
Toolbox. In Proceedings of Hybrid Systems: Computation and Control
B. Simulations of full closed-loop system H Conference, pages 101–106, 2013.
For the full closed-loop system H, which employs the
supervisor Hs , we show simulations with different initial