Professional Documents
Culture Documents
1/1
Tim Davidson
EE3CL4:
Introduction to Linear Control Systems
Section 3: Fundamentals of Feedback
Tim Davidson
McMaster University
Winter 2016
EE 3CL4, 3
2/1
Tim Davidson
Outline
EE 3CL4, 3
4/1
Transfer function
Tim Davidson
Y (s) = G(s)U(s)
Stability (more details later):
EE 3CL4, 3
6/1
Tim Davidson
nG (s)
dG (s)
and Gc (s) =
nC (s)
dC (s) ,
Y (s)
nC (s)nG (s)
= Gc (s)G(s) =
R(s)
dC (s)dG (s)
Key quantity, error: E(s) = R(s) Y (s)
EE 3CL4, 3
7/1
Tim Davidson
EE 3CL4, 3
8/1
Tim Davidson
E(s) = 1 Gc (s)G(s) R(s) G(s)Td (s)
Controller cannot mitigate effect of Td (s)
No capability for disturbance rejection
Y (s)
R(s)
by pole-zero
cancellation
but difficult to implement to sufficient accuracy
cannot stabilize TY (s)
d (s)
EE 3CL4, 3
9/1
Tim Davidson
Y (s)
R(s)
(when Td (s) = 0)
T (s)/T (s)
G(s)/G(s)
EE 3CL4, 3
11 / 1
Tim Davidson
EE 3CL4, 3
12 / 1
Tim Davidson
Gc (s)G(s)
R(s)
1 + H(s)Gc (s)G(s)
G(s)
+
Td (s)
1 + H(s)Gc (s)G(s)
H(s)Gc (s)G(s)
N(s)
1 + H(s)Gc (s)G(s)
EE 3CL4, 3
13 / 1
Tim Davidson
E(s) =
1
R(s)
1 + Gc (s)G(s)
G(s)
Td (s)
1 + Gc (s)G(s)
+
Gc (s)G(s)
N(s)
1 + Gc (s)G(s)
EE 3CL4, 3
14 / 1
Tim Davidson
E(s) =
1
G(s)
L(s)
R(s)
Td (s) +
N(s)
1 + L(s)
1 + L(s)
1 + L(s)
What do we want?
EE 3CL4, 3
15 / 1
Stability, H(s) = 1
Tim Davidson
E(s) =
G(s)
L(s)
1
R(s)
Td (s) +
N(s)
1 + L(s)
1 + L(s)
1 + L(s)
nG (s)
dG (s) ;
Gc (s) =
nC (s)
dC (s) ;
L(s) =
nC (s) nG (s)
dC (s) dG (s)
Hence,
1
dC (s)dG (s)
=
1 + L(s)
dC (s)dG (s) + nC (s)nG (s)
= closed loop poles are roots of dC (s)dG (s) + nC (s)nG (s)
These can be in left half plane even if G(s) is unstable,
but they can also be in the right half plane if G(s) is stable
EE 3CL4, 3
16 / 1
Performance: s-domain,
H(s) = 1
Tim Davidson
E(s) =
G(s)
L(s)
1
R(s)
Td (s) +
N(s)
1 + L(s)
1 + L(s)
1 + L(s)
EE 3CL4, 3
17 / 1
Tim Davidson
EE 3CL4, 3
18 / 1
Tim Davidson
1
1 + L(s)
L(s)
1 + L(s)
EE 3CL4, 3
19 / 1
Tim Davidson
Performance: time-domain
Difficult for arbitrary inputs
In classical control techniques, typically assessed via
nature of transient component of step response
how fast does system respond?
how long does it take to settle to new operating point
steady-state error for constant changes in position, or
EE 3CL4, 3
20 / 1
Trade-off example
Tim Davidson
Y (s) =
s3
5000Ka
R(s)
+ 20000s + 5000Ka
s + 1000
+ 3
Td (s)
2
s + 1020s + 20000s + 5000Ka
1020s2
EE 3CL4, 3
21 / 1
Responses for Ka = 10
Tim Davidson
Low gain:
steady-state disturbance might not be negligible
slow transient response for step input
EE 3CL4, 3
22 / 1
Tim Davidson
Medium gain:
steady-state disturbance much reduced
faster transient response for step input,
EE 3CL4, 3
23 / 1
Tim Davidson
Responses for
Ka = 10, 100, 1000
Disturbance step response and step response
High gain:
steady-state disturbance almost completely rejected
fast transient response for step input,
but now significant overshoot
Actually can show by Routh Hurwitz technique (later)
that loop is unstable for Ka 4080
EE 3CL4, 3
24 / 1
Robustness
Tim Davidson
Y (s)
R(s)
EE 3CL4, 3
26 / 1
Tim Davidson
1
G(s)
L(s)
R(s)
Td (s) +
N(s)
1 + L(s)
1 + L(s)
1 + L(s)
EE 3CL4, 3
27 / 1
Tim Davidson
Advantages of feedback
EE 3CL4, 3
28 / 1
Tim Davidson
Price of feedback
EE 3CL4, 3
30 / 1
A second-order system
Tim Davidson
Y (s) =
n2
G(s)
R(s)
R(s) = 2
1 + G(s)
s + 2n s + n2
EE 3CL4, 3
31 / 1
Step response
Tim Davidson
n2
s s2 +2n s+n2
1 n t
e
sin(n t + )
1 2 and = cos1 .
G(s)
1+G(s)
EE 3CL4, 3
32 / 1
Tim Davidson
EE 3CL4, 3
33 / 1
Tim Davidson
EE 3CL4, 3
34 / 1
Key parameters of
(under-damped) step response
Tim Davidson
With =
p
1 2 and = cos1 ,
y (t) = 1
1 n t
e
sin(n t + )
EE 3CL4, 3
35 / 1
Tim Davidson
y (t) = 1
1 n t
e
sin(n t + )
p
n 1 2
1 2
EE 3CL4, 3
36 / 1
Tim Davidson
Percentage overshoot
Mpt fv
fv
1 2
EE 3CL4, 3
37 / 1
Tim Davidson
EE 3CL4, 3
38 / 1
Tim Davidson
Hence ess = 0
1 n t
e
sin(n t + )
EE 3CL4, 3
39 / 1
Settling time
Tim Davidson
y (t) = 1
1 n t
e
sin(n t + )
final value?
Tricky.
Instead, approximate by time constants of envelopes:
1 n t
e
EE 3CL4, 3
40 / 1
Tim Davidson
5% settling time
Time constant, 1 n = 2.
After t = 6, envelopes are almost within 5%
Response is within 5%
3
Hence, Ts,5
; approx. good for . 0.9
n
EE 3CL4, 3
41 / 1
Tim Davidson
2% settling time
EE 3CL4, 3
42 / 1
Tim Davidson
y (t) = 1
1 n t
e
sin(n t + )
EE 3CL4, 3
43 / 1
Tim Davidson
EE 3CL4, 3
44 / 1
Tim Davidson
EE 3CL4, 3
45 / 1
Design problem
Tim Davidson
K
n2
G(s)
= 2
= 2
,
1 + G(s)
s + ps + K
s + 2n s + n2
EE 3CL4, 3
46 / 1
Pole positions
Tim Davidson
Ts
4
n
P.O. = 100 e
For Ts 4, n 1
1 2
EE 3CL4, 3
47 / 1
Pole positions
Tim Davidson
n 1
s1 , s2 = n jn
where = cos1 ().
1/ 2
p
1 2 = n cos() jn sin()
EE 3CL4, 3
48 / 1
Tim Davidson
p2
1/ 2
2K
EE 3CL4, 3
49 / 1
Caveat
Tim Davidson
with
T (s) =
n2
s2 + 2n s + n2
EE 3CL4, 3
50 / 1
Tim Davidson
(s)
Consider a general transfer function T (s) = Y
R(s)
Y (s) =
X
1 X Ai
Bk s + Ck
+
+
2
s
s + i
s + 2k s + (k2 + k2 )
i
Step response
y (t) = 1 +
X
i
Ai ei t +
X
k
Dk ek t sin(k t + k )
EE 3CL4, 3
51 / 1
Tim Davidson
EE 3CL4, 3
53 / 1
Steady-state error
Tim Davidson
1
R(s)
1 + Gc (s)G(s)
s0
1
R(s)
1 + Gc (s)G(s)
EE 3CL4, 3
54 / 1
Tim Davidson
EE 3CL4, 3
55 / 1
Step input
Tim Davidson
s0
1
R(s)
1 + Gc (s)G(s)
Gc (s)G(s) =
K
s
QM
i=1 (s
QQ
N
k =1 (s
+ zi )
+ pk )
where zi 6= 0 and pk 6= 0.
Limit as s 0 depends strongly on N.
If N > 0, lims0 Gc (s)G(s) and ess = 0
If N = 0,
ess =
A
1 + Gc (0)G(0)
EE 3CL4, 3
56 / 1
System types
Tim Davidson
EE 3CL4, 3
57 / 1
Tim Davidson
Q
K M
i=1 (s+zi )
Q
sN Q
k =1 (s+pk )
Q
K M (zi )
Kp = lim Gc (s)G(s) = QQ i=1
s0
k =1 (pk )
Note that this can be computed from positions of the
EE 3CL4, 3
58 / 1
Ramp input
Tim Davidson
satisfied,
s(A/s2 )
A
= lim
s0 1 + Gc (s)G(s)
s0 s + sGc (s)G(s)
A
= lim
s0 sGc (s)G(s)
ess = lim
EE 3CL4, 3
59 / 1
Tim Davidson
A
sGc (s)G(s)
Q
K M
i=1 (s+zi )
Q
sN Q
k =1 (s+pk )
EE 3CL4, 3
60 / 1
Parabolic input
Tim Davidson
satisfied,
s(A/s3 )
A
= lim 2
s0 1 + Gc (s)G(s)
s0 s Gc (s)G(s)
ess = lim
EE 3CL4, 3
61 / 1
Tim Davidson
A
s2 Gc (s)G(s)
Q
K M
i=1 (s+zi )
Q
sN Q
k =1 (s+pk )
EE 3CL4, 3
62 / 1
Tim Davidson
EE 3CL4, 3
63 / 1
Tim Davidson
Gc (s)G(s) = K1 K /( s + 1)
Hence, Gc (s)G(s) is a type-0 system.
Hence, for a step input,
ess =
where Kp = K1 K .
A
1 + Kp
EE 3CL4, 3
64 / 1
Tim Davidson
1
0.5
Let G(s) = s+2
= 0.5s+1
.
EE 3CL4, 3
65 / 1
Tim Davidson
EE 3CL4, 3
66 / 1
Tim Davidson
K1 s + K2
K2
=
s
s
(K1 s+K2 )
When K2 6= 0, Gc (s)G(s) = K s(
s+1)
Hence, Gc (s)G(s) is a type-1 system.
Hence, for a step input, ess = 0
For ramp input,
A
,
Kv
where Kv = lims0 sGc (s)G(s) = KK2
ess =
EE 3CL4, 3
67 / 1
Tim Davidson
1
0.5
Same system: G(s) = s+2
= 0.5s+1
.
2
Prop. + Int. control, Gc (s) = K1 + Kss = K1 s+K
.
s
EE 3CL4, 3
68 / 1
Tim Davidson
EE 3CL4, 3
70 / 1
Tim Davidson
G(s)
L(s)
1
R(s)
Td (s) +
N(s)
1 + L(s)
1 + L(s)
1 + L(s)
Stability
Good tracking in the steady state
Good tracking in the transient
Good disturbance rejection (good regulation)
Good noise suppression
Robustness to model mismatch
EE 3CL4, 3
71 / 1
Tim Davidson