443 Lecture 11
443 Lecture 11
443 Lecture 11
Matthew M. Peet
Illinois Institute of Technology
Derivative Feedback
• Pros and Cons
• PD Control
• Pole Placement
Integral Feedback
• Elimination of steady-state error
• Pole-Placement
2 16
1.5
14
1
12
Amplitude
Amplitude
0.5
10
0
8
−0.5
6
−1
4
−1.5
−2 2
−2.5 0
0 2 4 6 8 10 12 0 5 10 15 20 25
Time (sec) Time (sec)
M gl M gl
Figure: Case 1: k > 2
Figure: Case 2: k < 2
u(t) = TD ė(t)
Prediction:
• To measure ẏ(t), recall the definition of derivative:
Noise Amplification:
• Measurement of ẏ(t) is heavily influenced by noise.
e(t) − e(t − ∆t)
ẏ(t) ∼
=
∆t
• Sensor measurements have error
• As ∆t → 0, the effect of noise, σ is amplified:
e(t) − e(t − ∆t) 2σ
ẏ(t) ∼
= + →∞
∆t ∆t
M. Peet Lecture 11: Control Systems 7 / 32
Failure of Derivative Control
Inverted Pendulum
Controller: K̂(s) = TD s
Closed Loop Transfer Function:
TD /Js
M gl
s2 + TD /Js − 2J
Controller: K̂(s) = K [1 + TD s]
Closed Loop Transfer Function:
K̂(s)Ĝ(s) K [1 + TD s]
=
1 + K̂(s)Ĝ(s) s2 + bs + c + K [1 + TD s]
K [1 + TD s]
=
s2 + (b + KTD )s + (c + K)
The poles of the system are freely assignable for a 2nd order system.
• TD and K allow us to construct any denominator we desire.
Re(s)
s = −1.5 ± 1.4ı
M. Peet Lecture 11: Control Systems 12 / 32
PD Control
Example:
2.5
0.8
2
Amplitude
Amplitude
0.6
1.5
0.4
1
0.2
0.5
0 0
0 2 4 6 8 10 0 0.5 1 1.5 2 2.5 3 3.5
Time (sec) Time (sec)
Controller: K [1 + TD s]
s = −1.5 ± 1.4ı
Thus we want
• c + K = p1 p2 which means K = p1 p2 − c.
• b + KTD = −(p1 + p2 ) which means
p1 + p2 + b p1 + p2 + b
TD = − =−
K p1 p2 − c
Step Response
1.4
1.2
1
Amplitude
0.8
0.6
0.4
0.2
0
0 0.5 1 1.5 2 2.5 3 3.5
Time (sec)
Ramp Response:
Recall the ramp input:
1
u(t) = t û(s) =
s2
The steady-state error to a ramp input is
1 − Ĝ(s)
ess = lim sê(s) = lim s(1 − Ĝ(s))û(s) = lim
s→0 s→0 s→0 s
Parabolic Response:
Recall the parabolic input:
1
u(t) = t2 û(s) =
s3
The steady-state response to a parabolic input is
Ĝ(s)
lim sŷ(s) = sĜ(s)û(s) =
s→0 s2
ĜK̂
When in feedback, the closed loop has the form
1 + ĜK̂
Hence steady-state error has the form
!
ĜK̂ 1
ê(s) = 1 − sû(s) = sû(s)
1 + ĜK̂ 1 + ĜK̂
Step Response:
1
ess,step = lim
s→0 1 + Ĝ(s)K̂(s)
Ramp Response:
1 1 1
ess,ramp = lim = lim
s→0 1 + Ĝ(s)K̂(s) s s→0 sĜ(s)K̂(s)
Parabolic Response:
1 1 1
ess,parabola = lim 2
=
s→0 1 + Ĝ(s)K̂(s) s 2
s Ĝ(s)K̂(s)
M. Peet Lecture 11: Control Systems 24 / 32
Example of Ramp Response
Consider the Suspension Example: Open Loop:
s2 + s + 1
Ĝ(s) =
s4 + 2s3 + 3s2 + s + 1
s + 2s + 3s + s + 1 − s2 − s − 1
4 3 2
s4 + 2s3 + 2s2
1 − Ĝ(s) = =
s4 + 2s3 + 3s2 + s + 1 s4 + 2s3 + 3s2 + s + 1
Ramp Response:
1 − Ĝ(s) s3 + 2s2 + 2s
lim = lim 4 =0
s→0 s s→0 s + 2s3 + 3s2 + s + 1
The only way to control a ramp input using feedback is to put a pole at the
origin:
Controller: K̂(s) = T1I s
Ramp Response:
1 s4 + 2s3 + 3s2 + s + 1 TI s
ess,ramp = lim = lim = TI
s→0 sĜ(s)K̂(s) s→0 s2 + s + 1 s
Ĝ(s)K̂(s) s2 + s + 1
=
1 + Ĝ(s)K̂(s) TI s5 + 2TI s4 + 3TI s3 + (TI + 1)s2 + (TI + 1)s + 1
Three equations:
• b + KTD = ad
• c + K = bd
• K
TI = cd
Which can be solved as
• K = bd − c
• TI = K
cd
• TD = adK−b
Derivative Feedback
• Pros and Cons
• PD Control
• Pole Placement
Integral Feedback
• Elimination of steady-state error
• Pole-Placement