Professional Documents
Culture Documents
DESIGN
ESE 499 – Feedback Control Systems
2 Introduction
Assume 𝐷𝐷 𝑠𝑠 = 𝐾𝐾
A proportional controller
Design for 8% overshoot
Use root locus to determine 𝐾𝐾 to
yield required 𝜁𝜁
ln 0.08
𝜁𝜁 = − = 0.63
𝜋𝜋 2 + ln2 0.08
𝐾𝐾𝑝𝑝 = 2.4
Steady-state error:
1 1
𝑒𝑒𝑠𝑠𝑠𝑠 = =
1 + 𝐾𝐾𝑝𝑝 1 + 𝐾𝐾
1
𝑒𝑒𝑠𝑠𝑠𝑠 = = 0.294
1 + 2.4
Feedback compensation
System is type 0
Adding an integrator to 𝐷𝐷 𝑠𝑠 will increase it to type 1
Zero steady-state error for constant reference
Now have 𝑛𝑛 − 𝑚𝑚 = 3
asymptotes to 𝐶𝐶 ∞
𝜃𝜃𝑎𝑎 = 60°, 180°, 300°
𝜎𝜎𝑎𝑎 = −1.33
Locus now crosses into the
RHP
Integrator has had a
destabilizing effect on the
closed-loop system
System is now type 1, but
Desired poles are no longer
on the root locus
K. Webb ESE 499
Improving Steady-State Error
13
Equivalent to:
PI compensation
𝑠𝑠 + 𝑎𝑎 𝐾𝐾𝑖𝑖
𝐷𝐷 𝑠𝑠 = 𝐾𝐾 = 𝐾𝐾𝑝𝑝 +
𝑠𝑠 𝑠𝑠
Controller adds a pole at the origin and a zero nearby
Lag compensation
𝑠𝑠+𝑧𝑧𝑐𝑐
𝐷𝐷 𝑠𝑠 = 𝐾𝐾
𝑠𝑠+𝑝𝑝𝑐𝑐
, where 𝑝𝑝𝑐𝑐 < 𝑧𝑧𝑐𝑐
Root locus:
Three asymptotes to 𝐶𝐶 ∞
at 60°, 180°, and 300°
Real-axis breakaway
point: 𝑠𝑠 = −1.88
Locus crosses into RHP
Two asymptotes to 𝐶𝐶 ∞
𝜃𝜃𝑎𝑎 = 90°, 270°
𝑧𝑧𝑐𝑐 −10
𝜎𝜎𝑎𝑎 =
2
As 𝑧𝑧𝑐𝑐 varies from 3 … ∞, 𝜎𝜎𝑎𝑎
varies from −3.5 … ∞
Breakaway point between
− 3…− 1
K. Webb ESE 499
PD Compensation – Example 1
41
PD compensation
𝐷𝐷 𝑠𝑠 = 𝐾𝐾 𝑠𝑠 + 𝑧𝑧𝑐𝑐
Root locus and Step response for 𝑧𝑧𝑐𝑐 = 0.5, 𝑝𝑝𝑐𝑐 = 8.5
Lower-frequency pole/zero do not adequately cancel
Root locus and Step response for 𝑧𝑧𝑐𝑐 = 1.5, 𝑝𝑝𝑐𝑐 = 11.3
Effect of lower-frequency pole/zero reduced
Root locus and Step response for 𝑧𝑧𝑐𝑐 = 2.5, 𝑝𝑝𝑐𝑐 = 19.2
Lower-frequency pole/zero very nearly cancel
Root locus and Step response for 𝑧𝑧𝑐𝑐 = 3.2, 𝑝𝑝𝑐𝑐 = 48.5
Higher-frequency pole/zero almost completely cancel
Lead compensation
𝑠𝑠 + 𝑧𝑧𝑐𝑐
𝐷𝐷 𝑠𝑠 = 𝐾𝐾 , where 𝑝𝑝𝑐𝑐 > 𝑧𝑧𝑐𝑐
𝑠𝑠 + 𝑝𝑝𝑐𝑐
Controller adds a lower-frequency zero and a higher-
frequency pole
Net angular contribution from the compensator
zero and pole allows the root locus to be modified
Allows for transient response improvement
Infinite number of possible 𝑧𝑧𝑐𝑐 /𝑝𝑝𝑐𝑐 combinations to
satisfy the angle criterion at the design point
K. Webb ESE 499
60 Improving Error and Transient Response
Proportional-integral-
derivative (PID) compensation
Combines PI and PD
compensation
PD compensation adjusts
transient response
PI compensation improves
steady-state error
Controller transfer function:
𝐾𝐾𝑖𝑖 𝐾𝐾𝑑𝑑 𝑠𝑠 2 + 𝐾𝐾𝑝𝑝 𝑠𝑠 + 𝐾𝐾𝑖𝑖
𝐷𝐷 𝑠𝑠 = 𝐾𝐾𝑝𝑝 + + 𝐾𝐾𝑑𝑑 𝑠𝑠 =
𝑠𝑠 𝑠𝑠
Two zeros and a pole at the origin
Pole/zero at/near the origin determined through PI compensator
design
Second zero location determined through PD compensator design
K. Webb ESE 499
PID Design Procedure
65
PD compensator design
Determine the required angular contribution of the
compensator zero to satisfy the angle criterion at 𝑠𝑠1
∠𝐷𝐷𝑝𝑝𝑝𝑝 𝑠𝑠1 𝐺𝐺 𝑠𝑠1 = 180°
∠𝐷𝐷𝑝𝑝𝑝𝑝 𝑠𝑠1 = 180° − ∠𝐺𝐺 𝑠𝑠1
∠𝐺𝐺 𝑠𝑠1 = −𝜙𝜙1 − 𝜙𝜙2 − 𝜙𝜙3
𝜙𝜙1 = ∠ 𝑠𝑠1 + 1 = 106.15°
𝜙𝜙2 = ∠ 𝑠𝑠1 + 3 = 81.14°
𝜙𝜙3 = ∠ 𝑠𝑠1 + 6 = 50.51°
∠𝐺𝐺 𝑠𝑠1 = −237.8°
∠𝐷𝐷𝑝𝑝𝑝𝑝 𝑠𝑠1 = 180° + 237.8° = 417.8°
Required angle from PD zero
𝜓𝜓𝑝𝑝𝑝𝑝 = 57.8°
K. Webb ESE 499
PID Compensation – Example
69
PD compensator transfer
function:
𝐷𝐷𝑝𝑝𝑝𝑝 𝑠𝑠 = 𝐾𝐾 𝑠𝑠 + 5.13
Performance
specifications not
met exactly
Higher-frequency
pole/zero do not
entirely cancel
Close enough for
now – may need to
iterate when PI
compensation is
added
Faster low-frequency
closed-loop pole means
error is integrated out more
quickly
K. Webb ESE 499
PID Compensation – Example
74
If further refinement is
required, must revisit the
PD compensator
K. Webb ESE 499
PID Compensation – Example
77
PID compensation
𝐾𝐾𝑖𝑖 𝐾𝐾𝑑𝑑 𝑠𝑠 2 + 𝐾𝐾𝑝𝑝 𝑠𝑠 + 𝐾𝐾𝑖𝑖
𝐷𝐷 𝑠𝑠 = 𝐾𝐾𝑝𝑝 + + 𝐾𝐾𝑑𝑑 𝑠𝑠 =
𝑠𝑠 𝑠𝑠
Two zeros and a pole at the origin
Cascade of PI and PD compensators
PD compensator
Added zero allows for transient response improvement
PI compensator
Pole at the origin increases system type
Nearby zero nearly cancels angular contribution of the pole,
limiting its effect on the root locus
K. Webb ESE 499
79 Lead-Lag Compensation
−1
𝐼𝐼𝐼𝐼 𝑠𝑠1
𝜓𝜓𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = tan
𝑅𝑅𝑅𝑅 𝑠𝑠1 + 𝑧𝑧𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙
𝐼𝐼𝐼𝐼 𝑠𝑠1
tan 𝜓𝜓𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 =
𝑅𝑅𝑅𝑅 𝑠𝑠1 + 𝑧𝑧𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙
𝐼𝐼𝐼𝐼 𝑠𝑠1
𝑧𝑧𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = − 𝑅𝑅𝑅𝑅 𝑠𝑠1
tan 𝜓𝜓𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙
4.49
𝑧𝑧𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = + 2.3
tan 60.43°
𝑧𝑧𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = 4.85
Lead compensator:
𝑠𝑠 + 4.85
𝐷𝐷𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 𝑠𝑠 = 𝐾𝐾
𝑠𝑠 + 100
From magnitude
criterion or MATLAB
plot, K = 156
Lead compensator
transfer function:
𝑠𝑠 + 4.85
𝐷𝐷𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 𝑠𝑠 = 156
𝑠𝑠 + 100
Performance
specifications not met
exactly
Higher-frequency
pole/zero do not entirely
cancel
Close enough for now –
may need to iterate when
lag compensation is
added, anyway
Steady-state error is
13.8%
K. Webb ESE 499
Lead-Lag Compensation – Example
88
Lead-lag compensator:
𝑠𝑠 + 4.85 𝑠𝑠 + 0.8
𝐷𝐷 𝑠𝑠 = 130
𝑠𝑠 + 100 𝑠𝑠 + 0.08
Lead-lag compensation
𝑠𝑠+𝑧𝑧𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 𝑠𝑠+𝑧𝑧𝑙𝑙𝑙𝑙𝑙𝑙
𝐷𝐷 𝑠𝑠 = 𝐾𝐾 , 𝑝𝑝𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 > 𝑧𝑧𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 and 𝑝𝑝𝑙𝑙𝑙𝑙𝑙𝑙 < 𝑧𝑧𝑙𝑙𝑙𝑙𝑙𝑙
𝑠𝑠+𝑝𝑝𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 𝑠𝑠+𝑝𝑝𝑙𝑙𝑙𝑙𝑙𝑙