Академический Документы
Профессиональный Документы
Культура Документы
1 / 78
Tim Davidson
Transfer
functions
Open loop
Stability &
Performance
EE3CL4:
Closed loop
Stability &
Introduction to Linear Control Systems
Performance
Open loop vs
Section 3: Fundamentals of Feedback
closed loop
Step resp.:
2nd-order
G(s) Tim Davidson
A taste of
pole-placement
design
Extensions
McMaster University
Steady-state
error
Winter 2018
Summary and
plan
EE 3CL4, §3
2 / 78
Tim Davidson Outline
Transfer
functions 1 Transfer Function (review)
Open loop
Stability &
Performance
2 Open loop control
Closed loop Stability & Performance
Stability &
Performance
Open loop vs
3 Closed loop control
closed loop
Stability & Performance
Step resp.:
2nd-order
G(s) 4 Open loop control vs closed loop control
A taste of
pole-placement
design
Extensions
5 Step resp.: 2nd-order G(s)
Steady-state A taste of pole-placement design
error
Extensions
Summary and
plan
6 Steady-state error
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
• Y (s) = G(s)U(s)
Step resp.:
2nd-order
G(s) • Stability (more details later):
A taste of
pole-placement
design
Extensions
the output y (t) is bounded for all bounded inputs u(t)
Steady-state
error if and only if
Summary and the poles of G(s) are in the open left half plane
plan
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
• E(s) = 1 − Gc (s)G(s) R(s) − G(s)Td (s)
Step resp.:
2nd-order 1
• For good tracking want Gc (s) ≈ G(s)
G(s)
A taste of
pole-placement
• One design strategy: with G(s) = ndG (s) , Gc (s) = ndC (s)
design
Extensions
G (s) C (s)
Steady-state
error • Put poles of Gc (s) near zeros of G(s), and
Summary and put zeros of Gc (s) near poles of G(s)
plan • Known as “pole-zero cancellation”
• That strategy very sensitive to knowledge of G(s)
• Problematic if G(s) has zeros in the right half plane
EE 3CL4, §3
8 / 78
Tim Davidson Stability & Performance
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
• E(s) = 1 − Gc (s)G(s) R(s) − G(s)Td (s)
Open loop vs
closed loop
Step resp.:
2nd-order
• Controller cannot mitigate effect of Td (s)
G(s)
A taste of
• No capability for disturbance rejection
pole-placement
design
Extensions
• If G(s) and Gc (s) are stable, so is the “open loop”.
Steady-state
error What if G(s) is not stable?
Summary and Y (s)
plan • In theory, controller can stabilize by pole-zero
R(s)
cancellation
• but difficult to implement to sufficient accuracy
• cannot stabilize TY (s)
d (s)
EE 3CL4, §3
9 / 78
Tim Davidson Stability & Performance
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
• In practice, we rarely model G(s) accurately, and it may
Performance
change with age, temperature and many other effects
Open loop vs
closed loop
• What if G(s) not perfectly known?
Step resp.:
Y (s)
2nd-order • Let T (s) = R(s) (when Td (s) = 0)
G(s)
A taste of
pole-placement
• Let actual process transfer function be G(s) + ∆G(s)
design
Extensions • What is the ratio of relative error in T (s) due to relative
Steady-state error in G(s) for small errors?
error
∆T (s)/T (s)
Summary and • That is, what is lim∆G(s)→0 ∆G(s)/G(s)
plan
• Can show (prove for yourself) that this “sensitivity” = 1
• That means that for small errors the relative error in
T (s) is the same as the relative error in G(s);
we can’t design Gc (s) to make it smaller
EE 3CL4, §3
11 / 78
Tim Davidson Closed loop control
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
What is the output Y (s)? (Calculate yourself for practice)
pole-placement
design
Extensions
Gc (s)G(s)
Steady-state Y (s) = R(s)
error 1 + H(s)Gc (s)G(s)
Summary and
plan
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 / 78
Tim Davidson The error signal, H(s) = 1
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop What is the error E(s) = R(s) − Y (s)?
Step resp.:
2nd-order To simplify things, consider the case where H(s) = 1
G(s)
A taste of
pole-placement
design
1
Extensions
E(s) = R(s)
Steady-state 1 + Gc (s)G(s)
error
G(s)
Summary and − Td (s)
plan 1 + Gc (s)G(s)
Gc (s)G(s)
+ N(s)
1 + Gc (s)G(s)
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Define loop gain: L(s) = Gc (s)G(s)
Extensions
Steady-state
error
1 G(s) L(s)
Summary and E(s) = R(s) − Td (s) + N(s)
plan 1 + L(s) 1 + L(s) 1 + L(s)
What do we want?
EE 3CL4, §3
15 / 78
Tim Davidson Stability, H(s) = 1
Transfer
functions 1 G(s) L(s)
E(s) = R(s) − Td (s) + N(s)
Open loop 1 + L(s) 1 + L(s) 1 + L(s)
Stability &
Performance
Closed loop
Stability &
Performance • Stability: bounded inputs lead to bounded errors
Open loop vs
closed loop • For simplicity, let Td (s) = 0, N(s) = 0
Step resp.:
2nd-order nG (s) nC (s) nC (s) nG (s)
G(s) • G(s) = dG (s) ; Gc (s) = dC (s) ; L(s) = dC (s) dG (s)
A taste of
pole-placement
design • Hence,
Extensions
1 dC (s)dG (s)
Steady-state =
error 1 + L(s) dC (s)dG (s) + nC (s)nG (s)
Summary and
plan
• =⇒ 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 / 78
Tim Davidson Performance: s-domain,
Transfer H(s) = 1
functions
Open loop
Stability &
Performance
Closed loop
1 G(s) L(s)
E(s) = R(s) − Td (s) + N(s)
Stability &
Performance 1 + L(s) 1 + L(s) 1 + L(s)
Open loop vs
closed loop
Steady-state
error • Good disturbance rejection:
Summary and
plan
=⇒ L(s) large where Td (s) large
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.: 1
2nd-order Define sensitivity: S(s) =
G(s) 1 + L(s)
A taste of
pole-placement
design
L(s)
Extensions Define complementary sensitivity: C(s) =
1 + L(s)
Steady-state
error
Steady-state
error
Summary and
plan
EE 3CL4, §3
20 / 78
Tim Davidson Trade-off example
Transfer
Disk drive system
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
5000Ka
Extensions
Y (s) = R(s)
Steady-state s3 + 1020s2
+ 20000s + 5000Ka
error
s + 1000
Summary and + 3 2
Td (s)
plan s + 1020s + 20000s + 5000Ka
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
Low gain:
plan
• steady-state disturbance might not be negligible
• slow transient response for step input
EE 3CL4, §3
22 / 78
Tim Davidson Responses for Ka = 10, 100
Transfer
functions Disturbance step response and step response
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Medium gain:
Summary and
plan • steady-state disturbance much reduced
• faster transient response for step input,
but now some overshoot
EE 3CL4, §3
23 / 78
Tim Davidson Responses for
Transfer Ka = 10, 100, 1000
functions
Disturbance step response and step response
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error High gain:
Summary and • steady-state disturbance almost completely rejected
plan
• 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 / 78
Tim Davidson Robustness
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
• What if G(s) is not perfectly known?
2nd-order
Y (s)
G(s) • How does T (s) = R(s) change as G(s) changes?
A taste of
pole-placement
design
Extensions
• As in open loop case, look at ratio of relative error in T (s)
Steady-state due to a relative error in G(s), for small errors,
error ∆T (s)/T (s)
lim∆G(s)→0 ∆G(s)/G(s)
Summary and
plan
• For an open loop system this sensitivity is 1
• For the closed loop system, with H(s) = 1,
1
this sensitivity is S(s) = 1+Gc (s)G(s)
• Now can design controller to manage sensitivity
EE 3CL4, §3
26 / 78
Tim Davidson Open loop vs closed loop
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Error: E(s) = R(s) − Y (s); Loop gain: L(s) = Gc (s)G(s),
Step resp.:
2nd-order
G(s)
A taste of
Open loop, with process input Gc (s)R(s) + Td (s)
pole-placement
design
Extensions
Steady-state
Eol (s) = 1 − L(s) R(s) − G(s)Td (s)
error
Summary and
plan
Closed loop, with H(s) = 1,
1 G(s) L(s)
Ecl (s) = R(s) − Td (s) + N(s)
1 + L(s) 1 + L(s) 1 + L(s)
EE 3CL4, §3
27 / 78
Tim Davidson Advantages of feedback
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design • Can mitigate disturbances
Extensions
Steady-state
error • Can stabilize (most) unstable processes
Summary and
plan • Can mitigate errors in the model of process
EE 3CL4, §3
28 / 78
Tim Davidson Price of feedback
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order • more components than open loop
G(s)
A taste of
pole-placement
design • introduces noise, but can “shape” the response
Extensions
Steady-state Gc (s)G(s)
error • less gain: 1+G instead of Gc (s)G(s)
c (s)G(s)
Summary and
plan • potential for instability even when G(s) is stable
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
G(s) ωn2
Y (s) = R(s) = 2 R(s)
1 + G(s) s + 2ζωn s + ωn2
EE 3CL4, §3
31 / 78
Tim Davidson Step response
Transfer • What is the step response?
functions
• Set R(s) = 1/s; take inverse Laplace transform of Y (s)
Open loop
Stability &
ωn2
Performance • Y (s) =
Closed loop
s s2 +2ζωn s+ωn2
Stability &
Performance • For the case of 0 < ζ < 1,
Open loop vs
closed loop
1 −ζωn t
y (t) = 1 − e sin(ωn βt + θ)
Step resp.: β
2nd-order p
G(s) where β = 1 − ζ 2 and θ = cos−1 ζ.
A taste of
pole-placement
G(s)
design • Recall pole positions of 1+G(s) (ignore the zero):
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
32 / 78
Tim Davidson Typical step responses, fixed ωn
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
33 / 78
Tim Davidson Typical step responses, fixed ζ
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
34 / 78
Tim Davidson Key parameters of
Transfer (under-damped) step response
functions
p
Open loop With β = 1 − ζ 2 and θ = cos−1 ζ,
Stability &
Performance
1 −ζωn t
Closed loop y (t) = 1 − e sin(ωn βt + θ)
Stability &
Performance
β
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
35 / 78
Tim Davidson Peak time and peak value
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
1 −ζωn t
design
Extensions
y (t) = 1 − e sin(ωn βt + θ)
β
Steady-state
error
• Peak time: first time dy (t)/dt = 0
Summary and
plan • Can show that this corresponds to ωn βTp = π
π
• Hence, Tp = p
ωn 1 − ζ 2
√
− ζπ/ 1−ζ 2
• Hence, peak value, Mpt = 1 + e
EE 3CL4, §3
36 / 78
Tim Davidson Percentage overshoot
Transfer
functions
Open loop
Stability &
Performance
Let fv denote the final value of the step response.
Closed loop
Stability &
Percentage overshoot defined as:
Performance
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
38 / 78
Tim Davidson Steady-state error, ess
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
In general this is not zero. (See “Steady-state error” section)
Steady-state
error
Summary and
However, for our second-order system,
plan
1 −ζωn t
y (t) = 1 − e sin(ωn βt + θ)
β
Hence ess = 0
EE 3CL4, §3
39 / 78
Tim Davidson Settling time
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
1 −ζωn t
pole-placement
design y (t) = 1 − e sin(ωn βt + θ)
Extensions β
Steady-state
error • How long does it take to get (and stay) within ±x% of
Summary and final value?
plan
• Tricky.
• Instead, approximate by time constants of envelopes:
1 −ζωn t
1± e
β
EE 3CL4, §3
40 / 78
Tim Davidson 5% settling time
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
• After 3 time consts, env. error reduced by factor 1/e3 ;
Steady-state becomes ≈ 5% of envelope error at t = 0
error
• In figure, ζ = 0.5, ωn = 1, error bounds at ±0.05:
Summary and
plan Time constant, ζω1 n = 2.
After t = 6, envelopes are almost within ±5%
Response is within ±5%
3
• Hence, Ts,5 ≈ ζω
n
; approx. good for ζ . 0.9
EE 3CL4, §3
41 / 78
Tim Davidson 2% settling time
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
• After 4 time consts, env. error reduced by a factor 1/e4 ;
Steady-state
error becomes ≈ 2% of envelope error at t = 0
Summary and
plan
• In figure, ζ = 0.5, ωn = 1, error bounds at ±0.02:
After t = 8, envelopes are almost within ±2%
Response is also almost within ±2%
4
• Hence, Ts,2 ≈ ζω
n
; approx. good for ζ . 0.9
EE 3CL4, §3
42 / 78
Tim Davidson Rise time (under-damped)
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state 1 −ζωn t
error y (t) = 1 − e sin(ωn βt + θ)
β
Summary and
plan
• How long to get to the target (for first time)?
• Tr , the smallest t such that y (t) = 1
EE 3CL4, §3
43 / 78
Tim Davidson 10%–90% Rise time
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
For what values of K and p is
Step resp.:
2nd-order • the settling time ≤ 4 secs, and
G(s)
A taste of
pole-placement
• the percentage overshoot ≤ 4.3%?
design
Extensions
Steady-state
error
Open loop
Stability &
Performance
Closed loop
Stability & √
4
Performance
1−ζ 2
Open loop vs
Ts ≈ P.O. = 100 e− ζπ/
closed loop ζωn
Step resp.:
2nd-order
G(s)
A taste of • For Ts ≤ 4, ζωn ≥ 1
pole-placement
design
√
Extensions • For P.O. ≤ 4.3%, ζ ≥ 1/ 2
Steady-state
error
Where should we put the poles of T (s)?
Summary and
plan
EE 3CL4, §3
47 / 78
Tim Davidson Pole positions
Transfer
functions
√
ζωn ≥ 1 ζ ≥ 1/ 2
Open loop
Stability &
Performance p
Closed loop s1 , s2 = −ζωn ± jωn 1 − ζ 2 = −ωn cos(θ) ± jωn sin(θ)
Stability &
Performance
Open loop vs
where θ = cos−1 (ζ).
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
48 / 78
Tim Davidson Final design constraints
Transfer
functions √
Open loop
ζωn ≥ 1 ζ ≥ 1/ 2
Stability &
Performance
Closed loop
Stability & √
Performance
p≥2 p≥ 2K
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
49 / 78
Tim Davidson Caveat
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance • Our work on transient response has been for systems
Open loop vs
closed loop
with
ωn2
Step resp.: T (s) =
2nd-order
G(s)
s2 + 2ζωn s + ωn2
A taste of
pole-placement
design
Extensions • What about other systems?
Steady-state
error
Summary and
plan
EE 3CL4, §3
50 / 78
Tim Davidson Poles, zeros and transient
Transfer response
functions
Open loop
Stability &
Performance
• Consider a general transfer function T (s) = Y (s)
R(s)
Closed loop
Stability &
• Step response: Y (s) = T (s) 1s
Performance
Open loop vs
• Consider case with DC gain = 1; no repeated poles
closed loop
• Partial fraction expansion
Step resp.:
2nd-order
G(s) 1 X Ai X Bk s + Ck
A taste of Y (s) = + +
pole-placement
design s s + σi
i
s + 2αk s + (αk2 + ωk2 )
2
k
Extensions
Steady-state
error
Summary and
• Step response
plan
X X
y (t) = 1 + Ai e−σi t + Dk e−αk t sin(ωk t + θk )
i k
EE 3CL4, §3
51 / 78
Tim Davidson
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
53 / 78
Tim Davidson Steady-state error
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
1
Open loop vs E(s) = R(s) − Y (s) = R(s)
closed loop
1 + Gc (s)G(s)
Step resp.:
2nd-order
G(s) If the the conditions are satisfied, the final value theorem
A taste of
pole-placement
design
gives steady-state tracking error:
Extensions
1
Steady-state ess = lim e(t) = lim s R(s)
error t→∞ s→0 1 + Gc (s)G(s)
Summary and
plan
One of the fundamental reasons for using feedback, despite
the cost of the extra components, is to reduce this error.
We will examine this error for the step, ramp and parabolic
inputs
EE 3CL4, §3
54 / 78
Tim Davidson Step, ramp, parabolic
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
55 / 78
Tim Davidson Step input
Transfer 1
functions
ess = lim e(t) = lim s R(s)
Open loop t→∞ s→0 1 + Gc (s)G(s)
Stability &
Performance
Summary and
• Limit as s → 0 depends strongly on N.
plan
• If N > 0, lims→0 Gc (s)G(s) → ∞ and ess = 0
• If N = 0,
A
ess =
1 + Gc (0)G(0)
EE 3CL4, §3
56 / 78
Tim Davidson System types
Transfer
functions
Open loop
Stability &
Performance
Steady-state A
• For systems of type 0, ess = 1+G (0)G(0)
error c
Summary and
plan
EE 3CL4, §3
57 / 78
Tim Davidson Position error constant
Transfer
functions A
• For type-0 systems, ess = 1+G (0)G(0)
Open loop c
Stability &
K M (zi )
Extensions
Q
Steady-state Kposn = lim Gc (s)G(s) = QQ i=1
error s→0
k =1 (pk )
Summary and
plan
Step resp.:
• For type-1 systems, Gc (s)G(s) has
Q
one pole at the origin.
K z
2nd-order
G(s)
Hence, ess = KAv , where Kv = Q pi k i
k
A taste of
pole-placement
design • Note Kv can be computed from non-zero poles and zeros
Extensions
Open loop
Stability &
Performance • The parabolic input, which represents a step change in
Closed loop acceleration is r (t) = At 2 /2.
Stability &
Open loop vs
closed loop • Assuming conditions of final value theorem are
Step resp.:
2nd-order satisfied,
G(s)
s(A/s3 )
A taste of
pole-placement A
design
ess = lim = lim 2
s→0 1 + Gc (s)G(s) s→0 s Gc (s)G(s)
Extensions
Steady-state
error
Summary and
plan • Again, type number will play a key role.
EE 3CL4, §3
61 / 78
Tim Davidson Acceleration error constant
Transfer
functions • For a parabolic input ess = lims→0 A
s2 Gc (s)G(s)
Open loop
K M
Q
i=1 (s+zi )
Stability &
Performance • Recall Gc (s)G(s) =
sN Q
Q
k =1 (s+pk )
Closed loop
Stability &
Performance
• For type-0 and type-1 systems, Gc (s)G(s) has at most one
Open loop vs pole at origin. Hence, ess → ∞
closed loop
Step resp.:
• For type-2 systems, Gc (s)G(s) has
Q
two poles at the origin.
K z
2nd-order
G(s)
Hence, ess = KAa , where Ka = Q pi k i
k
A taste of
pole-placement
design • Again, Ka can be computed from non-zero poles and zeros
Extensions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
A
ess =
1 + Kposn
where Kposn = K1 K .
EE 3CL4, §3
64 / 78
Tim Davidson Robot steering system,
Transfer P control example
functions
Open loop
Stability &
1
• Let G(s) = s+2 0.5
Performance = 0.5s+1 .
Closed loop
Stability &
Performance • Proportional control, Gc (s) = K1 . Choose K1 = 18.
Open loop vs
closed loop • Since Gc (s)G(s) is type-0:
Step resp.:
2nd-order
• finite steady-state error for a step,
G(s) • unbounded steady-state error for a ramp
A taste of
pole-placement
design
Extensions • In this example, Kp = KK1 = 9
Steady-state
error
• The steady-state error for a step input will be
Summary and 1
plan
1+Kp = 10% of the height of the step.
Open loop
Stability &
Performance • Left: y (t) for unit step input, r (t) = u(t)
Closed loop
Stability & • Right: y (t) for unit ramp input, r (t) = tu(t)
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
66 / 78
Tim Davidson Robot steering system,
Transfer PI control
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Let’s examine a proportional-plus-integral controller:
Open loop vs
closed loop
K2 K1 s + K2
Step resp.: Gc (s) = K1 + =
2nd-order s s
G(s)
A taste of
pole-placement
Open loop
1
• Same system: G(s) = s+2 0.5
Stability &
Performance
= 0.5s+1 .
Closed loop
Stability &
Performance
• Prop. + Int. control, Gc (s) = K1 + Ks2 = K1 s+K
s
2
.
Open loop vs Choose K1 = 18 and K2 = 20.
closed loop
Summary and
plan
• The steady-state error for a ramp input will be
1
Kv = 10% of the slope of the ramp.
Open loop
Stability &
Performance • Left: y (t) for unit step input, r (t) = u(t)
Closed loop
Stability & • Right: y (t) for unit ramp input, r (t) = tu(t)
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
69 / 78
Tim Davidson Robot steering system,
Transfer PI2I control
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance Let’s examine a PI plus double integral controller:
Open loop vs
closed loop K2 K3 K1 s2 + K2 s + K3
Gc (s) = K1 + + 2 =
Step resp.:
2nd-order
s s s2
G(s)
A taste of
2
• When K3 6= 0, Gc (s)G(s) = K (K1ss2 (τ+K2 s+K3 )
pole-placement
design
Extensions s+1)
Steady-state • Hence, Gc (s)G(s) is a type-2 system.
error
• Hence, for a step input or a ramp input, ess = 0
Summary and
plan • For parabolic input,
A
ess = ,
Ka
where Ka = lims→0 s2 Gc (s)G(s) = KK3
EE 3CL4, §3
70 / 78
Tim Davidson Robot steering system,
Transfer PI2I control example
functions
Open loop
1
• Same system: G(s) = s+2 0.5
Stability &
Performance
= 0.5s+1 .
Closed loop
Stability &
Performance
• Prop. + Int. + double int. control, Gc (s) = K1 + Ks2 + Ks23 .
Open loop vs Choose K1 = 18, K2 = 20, K3 = 20.
closed loop
Summary and
plan
• The steady-state error for a parabolic input would be
1
Kv = 10% of the curvature of the parabola.
Open loop
Stability &
Performance • Left: y (t) for unit step input, r (t) = u(t)
Closed loop
Stability & • Right: y (t) for unit ramp input, r (t) = tu(t)
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
72 / 78
Tim Davidson Robot steering system,
Transfer PI2I control example
functions
Open loop
Stability & • y (t) for unit step input, r (t) = u(t), extended time scale
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
73 / 78
Tim Davidson Robot steering system,
Transfer PI2I control example
functions
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error
Summary and
plan
EE 3CL4, §3
74 / 78
Tim Davidson Transient responses and poles
Should we have been able to predict transient responses from pole (and
Transfer
functions zero) positions? Return to case of K1 = 18, K2 = K3 = 20
Open loop
Stability &
Performance
Closed loop
Stability &
Performance
Open loop vs
closed loop
Step resp.:
2nd-order
G(s)
A taste of
pole-placement
design
Extensions
Steady-state
error Y (s)
Closed loop transfer functions, T (s) = R(s)
:
Summary and
plan P one real pole, time const. = 1/20 = 0.05s
PI one real pole near the P one; plus another real pole (time
const. ≈ 1s) that is close to a zero
PI2I one real pole near the P one; plus a conjugate pair with
time const. ≈ 2s, angle ≈ 60◦ , but near zeros
EE 3CL4, §3
75 / 78
Tim Davidson Step responses
To highlight the impacts of the different poles, we have done a partial fraction
Transfer expansion of the transfer function and used that to compute the step response
functions
Steady-state
error Notes:
Summary and • 10% steady state error in the P case; it is zero in other cases
plan
• Second term for each system has a similar decay rate (similar pole
positions)
• Third term in PI case decays much more slowly; third term in PI2I case even
slower (small real parts of these poles)
• Terms related to poles that are near zeros have comparatively small
magnitudes
EE 3CL4, §3
77 / 78
Tim Davidson Summary: Desirable properties
Transfer
functions
Open loop
Stability &
Performance
Closed loop
Stability &
Performance