
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























r
r x
r
Kx = Ax + Bv
r r r r (^) r r Y = Cx + Ev
r
r
r
r
x(t)^ $ → x(s)$ = f(x,$ d,$ v)$ y(t) $ → y(s)$ = f(x,$ d,$ v)$
The state equations of a system are employed and placed in matrix form:
State Space analysis is very popular in modern control theory where the rule is “the more variables you can sense the better off you are.” In fact one tries to feedback ALL STATE VARIABLES so you can tailor the system transfer function to better achieve the dynamical response you seek. Later, in chapter 11, we will employ two feedback loops one for current and one for voltage as an example: We repeat the two loop current/voltage control schematic below (1) Std Vo compared to Vref as an outer control loop (2) Inner current feedback loop on iL compared to i(control)
C
R
L
D 1 v(t)
Q 1 v g(t)
S Q
R
clock 0 Ts
v ref
v(t)
buck converter
controlinput current-programmed controller
analog comparator
measure switch current
latch
i s(t) i L(t)
conventional output voltage controller
compensator
R f
i c(t)R f
i s(t)
i s(t)R f
Another example of feedback with dual loops would be the boost converter below with proportional / integral control. In simple proportional control the error signal can never be zero
as we need a small error signal to drive d(t) creation. The error can be made small with high gain but this creates other problems. For example small Vo variations could cause big d(t) variations. This doesn’t create instability in the sense of a growing disturbance but big variations of d(t) cause bigger swings on the way to recovery. One solution is to employ integration to the error signal, e, so that the output will change until the error is exactly zero and ∫e*dt is also zero. This effect occurs even at very low loop gain as the integrator with low gain still gets e zero in steady state. We can then use both proportional control and integral control together, giving a control parameter Kpi.
Kpi = Ki ∫(Vref - Vo)dt + Kp(Vref - Vout) Generally Ki is low to avoid integrator over hunting (integrator wind-up) and Kp is large for fast large signal disturbances. Below the dual loop boost converter employs the output voltage error as a virtual current reference. IL is usually triangular / sawtooth in shape and acts also as a stabilizing ramp as we will show in Ch. 11.
C 2
R 2
i(t)^ L
R 3
R 1 C 1
i R1(t) i C1(t)
i 1 (t) v^1 (t) v^2 (t)
v out(t)
i C2(t)
v L(t)
Independent K without Independent state variables mutual coupling Inputs
r x =
i
1
2
k =
1
2
r u = [i (^) in]
Dependent variables r y =
i
o
R 1
Then without much thinking we can combine these four into matrix form using state space matrix formalism. k r& x = Ax+Bu. Below we further justify the specific choice of A & B matrices based on the well known circuit node and loop equations.
[ ]
1
2
1
2
1
2 3
1
2 in
d v (t) dt
d v (t) dt
di(t) dt
v (t)
v (t)
i(t)
i (t)
dx(t) dt
= A x(t) + B
u(t) In the way of a check we find the following:
c 1 1
1 int i =^ C dV^1 dt
= (^) i - V R
c 2 2
2 2 2 3
i =^ C
d V dt
= i(t) -
⇒ Second rows of A and K
di(t) dt
= (^) V - (^) V ⇒ Third rows of A and K
In summary,
Forget for now the DCM of operation and consider only x (dT ) 1 s r (^) and x (d T ) 2 s r (^) ′ and consider only a V d (input). We then get two separate state equations for the two switch intervals. x 1 =^ A x + 1 B V 1 d r r^ x 2 =^ A 2 x +^ B V 2 d
r
Simplify Vo terms of x only Vo = C 1 x Vo = C 2 x during dTs during d’Ts
The change during the first interval is:
We can do a similar step for the second interval as shown on page 11.
That is:
We can now get the net change over the switching period:
b. Average State Variable Over Ts by Time Weighting We next calculate an average by weighting each state variable matrix by the appropriate duty cycle. r r x = [A d + 1 A d ] x + [B d + 2 ′ (^1) B d ] V 2 ′ d V o = [C d + 1 C d ] x 2 ′
r
Consider first a converter with two state variables: iL and vc. Also only consider CCM operation with only two time intervals D 1 and (1-D 1 ). We find for external sources, u or v.
Consider the buck converter below:
We write the state equations for L and C. vL(inductor) = LdiL/dt
For D 1 Ts transistor on: vL = D 1 Vin - Vc For D 2 Ts diode on: vL = -Vc
ic(capacitor) = iL - i(load) = Cdvc/dt
Dividing ic by L and vL by C we obtain
di dt dv dt
i v
L
c
L c
1 in
A 1 =A 2 =A B changes for Buck with switching
B 1 u =
in
, B 2 u =
1 in
Next consider the boost converter below:
We write state equations for L and C vL(inductor) = LdiL/dt
For D 1 Ts transistor on: vL = Vin For D 2 Ts diode on: vL = D 1 Vin - Vc
ic(capacitor) = D 2 iL - Vc/R = Cdvc/dt
2
Now B 1 = B 2 = B =
in
c. General Quiescent Operation point and Small Signal Excursions valid only at that point
x → X + x, v$ (^) o → (^) V (^) o + (^) v , d$o → D + d$
Look familiar except for the matrix bookkeeping? Then expand neglect all higher order terms, keeping only DC and AC terms. For simplicity small signal variations (^) v$ (^) d on (^) vd are
assumed zero for now and vd ≡ Vd. Using
r x equation:
r x = Ax+ BV (^) d + x[A] +$ d[(A - A ) X + (B - B ) V ]$ 1 2 1 2 d ↓ ↓ ↓ ↓ dc terms ac terms dc terms A(average) ≡ A 1 D + A 2 D’ note: time average on A 1 , A 2
B(average) ≡ B 1 D + B 2 D’ and the dc values x, Vd
y(t)^ $ = C x(t) - E$ u(t) + {(C - C ) X + (E - E ) U}$ 1 2 1 2 d(t)$
can easily be changed to Laplace form and
x(s)$ d(s)^ $ calculated or any other transfer function of interest.
C
R
v o
. L
V d
.
1 : 1 r L (^) r c
x 2
x 1
V d=8V V o=5V rL=20m ohms L=5uH rc=10m ohms C=2,000uF R=200m ohms fs=200kHz
5
8
During DTs (switch on) we obtain state loop equations
Cx 2 R
v o
r L L r c
x 2
x 1
V d
.
(x 1 - Cx 2 )
Now use the standard state space form. x & = [A 1 ] [x 1 ] + B 1 Vd ↓ ↓ ↓ ↓ ↓
1
2
1
1 2
x
x
Rr Rr r r L R r (^) L (^) r
C R r C R r
x
x
c L c L c (^) c
c c
d
During D’Ts (switch off series diode on) A 2 = A 1 B 2 = 0
Cx 2 R
v o
r L L r c
x 2
x 1
V d = 0
.
(x 1 - Cx 2 )
Vo for both DTs and D’Ts intervals is R(x - C 1 x )& 2
o
c c c
V = R(x - C^ x )&^ =^2
R r R+ r
R+ r 1 2 x 1 x
o
c c c
1
2
R r R+ r
R+ r
x
x
During both DTs and D’Ts
V o =^ C x = 1 C x 2
r r
Time Averaged Matrices over the switch period Ts are obtained as follows. A = A 2 = A 1 from AD + (1-D)A = A B = DB 1 C = C 1 = C 2 Using the simplification R>> rc + rL we know from circuit values
V (s)$ o = Cx(s) + [(C - C ) X]$ 1 2 d(s)$
sI − A −^1
1 2
1 2 d
d(s)
V (s)$ o - d(s)^ $ = [sI- A ]
1 2
1 2 d
1 + sr C
LC[s + s(
(r + r ) L
d
c 2 c L
Please note that the forward converter transfer function has
the following properties:
w =^
r C
The general shape of Vo/d versus frequency is then
plotted below on page 20.
Looking ahead to feedback conditions, for avoiding oscillation we want 76° phase margin @ unity gain in the open loop part of the gain. That is the actual phase angle of
the
v d
o $ minus 180°should be > 76°. 76 °> φ- 180°