SlideShare a Scribd company logo
1 of 98
Download to read offline
MAE 4421 – Control of Aerospace
& Mechanical Systems
SECTION 6:
ROOT‐LOCUS DESIGN
K. Webb MAE 4421
Introduction
2
K. Webb MAE 4421
3
Introduction
 Consider the following unity‐feedback system
 Assume
 A proportional controller
 Design for 8% overshoot
 Use root locus to determine to
yield required
ln 0.08
ln 0.08
0.63
 Desired poles and gain:
 , 2 2.5
 2.4
3
4 3 3
K. Webb MAE 4421
4
Introduction
 Overshoot is 8%, as desired, but steady‐state error is large:
 29.4%
 Position constant:
lim
→
lim
→
3
1 3
2.4
 Steady‐state error:
1
1
1
1
1
1 2.4
0.294
K. Webb MAE 4421
5
Introduction
 Let’s say we want to reduce steady‐state error to
 Determine required gain
1
1
1
1
0.02
1
0.2
1 49
 Transient response is
degraded
 59.2%
 Can set overshoot or
steady‐state error via gain
adjustment
 Not both simultaneously
K. Webb MAE 4421
6
Introduction
 Now say we want OS 8% and 1 , we’d need:
0.63 and 4.6
 Desired poles are not on the
root locus
 Closed‐loop poles can exist
only on the locus
 If we want poles elsewhere,
we must move the locus
 Modify the locus by adding
dynamics (poles and zeros)
to the controller
 A compensator
K. Webb MAE 4421
7
Introduction
 We’ll learn how to use root‐locus techniques to
design compensators to do the following:
 Improve steady‐state error
 Proportional‐integral (PI) compensator
 Lag compensator
 Improve dynamic response
 Proportional‐derivative (PD) compensator
 Lead compensator
 Improve dynamic response and steady‐state error
 Proportional‐integral‐derivative (PID) compensator
 Lead‐lag compensator
K. Webb MAE 4421
8
Compensation Configurations
 Two basic compensation configurations:
 Cascade compensation
 Feedback compensation
 We will focus on cascade compensation
K. Webb MAE 4421
Improving Steady‐State Error
9
K. Webb MAE 4421
10
Improving Steady‐State Error
 We’ve seen that we can improve steady‐state error by
adding a pole at the origin
 An integrator
 System type increased by one for unity‐feedback
 For example, consider the
previous example
 Let’s say we are happy with
8% overshoot and the
corresponding pole locations
 But, want to reduce steady‐
state error to 2% or less
K. Webb MAE 4421
11
Improving Steady‐State Error
 System is type 0
 Adding an integrator to will increase it to type 1
 Zero steady‐state error for constant reference
 Let’s first try a very simple approach:
 Plot the root locus for this system
 How does the added pole at the origin affect the locus?
K. Webb MAE 4421
12
Improving Steady‐State Error
 Now have
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 MAE 4421
13
Improving Steady‐State Error
 Desired poles no longer satisfy the angle
criterion:
∠
∠ 128.8° 111.9° 68.1°
∠ 308.8° 180°
 Excess angle from the additional pole at
the origin,
 How could we modify to satisfy the
angle criterion at ?
 A zero at the origin would do it, of course
 But, that would cancel the desired pole at the origin
 How about a zero very close to the origin?
K. Webb MAE 4421
14
Improving Steady‐State Error
 Now,
 Angle contributions nearly cancel
 is not on the locus, but very close
 The closer the zero is to the
origin, the closer will be to the
root locus
 Let 0.1
 Controller transfer function:
0.1
 Plot new root locus to see how
close it comes to
K. Webb MAE 4421
15
Improving Steady‐State Error
 Now only two asymptotes to
 90°, 270°
 1.95
 Real‐axis breakaway point:
 1.99
 not on locus, but close
 Closed‐loop poles with 0.63:
, 1.96 2.44
 Gain: 2.37
 Determined from the MATLAB root
locus plot
K. Webb MAE 4421
16
Improving Steady‐State Error
 Initial transient relatively unchanged
 Pole/zero pair near the origin nearly
cancel
 2nd‐order poles close to desired
location
 Zero steady‐state error
 Pole at origin increases system type
to type 1
 Slow transient as error is integrated
out
 2nd‐order approximation is valid
 Poles: 0.07,
1.96 2.44
 Zeros: 0.1
K. Webb MAE 4421
Ideal Integral Compensation
17
K. Webb MAE 4421
18
Proportional‐Integral Compensation
 The compensator we just designed is an ideal integral or
proportional‐integral (PI) compensator
 Control input to plant, , has two components:
 One proportional to the error, plus
 One proportional to the integral of the error
 Equivalent to:
K. Webb MAE 4421
19
PI Compensation – Summary
 PI compensation
 Controller adds a pole at the origin and a zero nearby
 Pole at origin (integrator) increases system type,
improves steady‐state error
 Zero near the origin nearly cancels the added pole,
leaving transient response nearly unchanged
K. Webb MAE 4421
20
PI Compensation – Zero Location
 Compensator zero very close to the origin:
 Closed‐loop poles moved very little from uncompensated
location
 Relatively low integral gain,
 Closed‐loop pole close to origin – slow
 Slow transient as error is integrated out
 Compensator zero farther from the origin:
 Closed‐loop poles moved farther from uncompensated
location
 Relatively higher integral gain,
 Closed‐loop pole farther from the origin – faster
 Error is integrated out more quickly
K. Webb MAE 4421
21
PI Compensation – Zero Location
 Root locus and step response variation with :
K. Webb MAE 4421
Lag Compensation
22
K. Webb MAE 4421
23
Lag Compensation
 PI compensation requires an ideal integrator
 Active circuitry (opamp) required for analog implementation
 Susceptible to integrator windup
 An alternative to PI compensation is lag compensation
 Pole placed near the origin, not at the origin
 Analog implementation realizable with passive components
(resistors and capacitors)
 Like PI compensation, lag compensation uses a closely‐
spaced pole/zero pair
 Angular contributions nearly cancel
 Transient response nearly unaffected
 System type not increased
 Error is improved, not eliminated
K. Webb MAE 4421
24
Lag Compensation – Error Reduction
 Consider the following generic feedback system
 A type 0 system, assuming 0, ∀
 Position constant:
lim
→
⋯
⋯
 Now, add lag compensation
 The compensated position constant :
⋯
⋯
K. Webb MAE 4421
25
Lag Compensation – Error Reduction
 Compensator pole is closer to the origin than the
compensator zero, so
and
 For large improvements in , make
 But, to avoid affecting the transient response, we need
 As long as both and are very small, we can satisfy
both requirements: and
⋯
⋯
K. Webb MAE 4421
26
Lag Compensation – Example
 Apply lag compensation to our previous example
 Design for a 10x improvement of the position constant
 Want 0 (relative to other poles)
 Let 0.01
 Want a 10x improvement in
 10 0.1
 Lag pole and zero differ by a factor of 10
 Static error constant improved by a factor of 10
 Lag pole/zero are very close together relative to poles at 1, 3
 Angular contributions nearly cancel
 Transient response nearly unaffected
K. Webb MAE 4421
27
Lag Compensation – Example
 Root locus and step response of lag‐compensated system
K. Webb MAE 4421
28
Lag Compensation – Example
 Now, let 0.4 and 0.04
 2nd‐order poles moved more
 Faster low‐frequency closed‐loop pole
 Faster overall response
K. Webb MAE 4421
29
Lag Compensation – Summary
 Lag compensation
, where
 Controller adds a pole near the origin and a slightly‐
higher‐frequency zero nearby
 Steady‐state error improved by
 Angle contributions from closely‐spaced pole/zero
nearly cancel
 Transient response is nearly unchanged
K. Webb MAE 4421
Improving Transient Response
30
K. Webb MAE 4421
31
Improving Transient Response
 Consider the following system
 Root locus:
 Three asymptotes to
at 60°, 180°, and 300°
 Real‐axis breakaway
point: 1.88
 Locus crosses into RHP
K. Webb MAE 4421
32
Improving Transient Response
 Design proportional controller for 10% overshoot
 1.72
 Overshoot < 10% due to third pole
K. Webb MAE 4421
33
Improving Transient Response
 Now, decrease settling time to 1.5
 Maintain same overshoot ( 0.59)
4.6
3.1
 Desired poles:
 , 3.1 4.23
 Not on the locus
 Must add compensation
to move the locus where
we want it
 Derivative compensation
K. Webb MAE 4421
Ideal Derivative Compensation
34
K. Webb MAE 4421
35
Proportional‐Derivative Compensation
 One way to improve transient response is to add the
derivative of the error to the control input to the plant
 This is ideal derivative or proportional‐derivative (PD)
compensation
 Compensator transfer function:
 Compensator adds a single zero at
K. Webb MAE 4421
36
PD Compensation
 Compensator zero will change the root locus
 Placement of the zero allows us to move the locus to place
closed‐loop poles where we want them
 One less asymptote to
 decreased by one
 Asymptote origin changes
Σ Σ
 As increases (moves left), moves right, toward the
origin
 As decreases (moves right), moves further into the
LHP
K. Webb MAE 4421
37
PD Compensation
 Derivative compensation allows us to speed up the
closed‐loop response
 Control signal proportional to (in part) the derivative of
the error
 When the reference, , changes quickly:
 Error, , changes quickly
 Derivative of the error, , is large
 Control input, , may be large
 Derivative compensation anticipates future error
and compensates for it
K. Webb MAE 4421
38
PD Compensation – Example 1
 Now add PD compensation to our example system
 Root locus depends on
 Let’s first assume 3
 Two real‐axis segments
 6 3
 Between pole at 1 and
 Two asymptotes to
 90°, 270°

 As varies from 0 … 3, varies
from 5 … 3.5
 Breakaway point between 6 … 3
K. Webb MAE 4421
39
PD Compensation – Example 1
 As moves to the left, moves to the right
 Moving allows us to move the locus
K. Webb MAE 4421
40
PD Compensation – Example 1
 Now move the zero further to the left:
 Still two real‐axis segments
 6
 3 1
 Two asymptotes to
 90°, 270°

 As varies from 3 … ∞,
varies from 3.5 … ∞
 Breakaway point between
K. Webb MAE 4421
41
PD Compensation – Example 1
 Asymptote origin continues to move to the right
K. Webb MAE 4421
42
PD Compensation – Calculating
 For this particular system, we’ve seen:
 Additional zero decreased the number of asymptotes to
by one
 A stabilizing effect – locus does not cross into the RHP
 Adjusting allows us to move the asymptote origin
left or right
 Next, we’ll determine exactly where to place to
place the closed‐loop poles where we want them
K. Webb MAE 4421
43
PD Compensation – Example 2
 Desired 2nd‐order poles: , 3.1 4.23
 Calculate required value for such that these points are on the
locus
 Must satisfy the angle criterion
∠ 180°
∠
180°
116.4°
91.35°
55.57°
 The required angle from :
83.3°
 Next, determine
K. Webb MAE 4421
44
PD Compensation – Example 2
 Compensator zero, , must contribute at
,
 Calculate the required value of
∠ ∠ 3.1 4.23 83.3°
tan
4.23
3.1
tan
4.23
3.1
4.23
tan
3.1
4.23
tan 83.3°
3.1
 The required compensator zero:
K. Webb MAE 4421
45
PD Compensation – Example 2
 Locus passes through
desired points
 Closed‐loop poles at
for
 Third closed‐loop pole
at
 Close to zero at
3.6
 2nd‐order
approximation likely
justified
K. Webb MAE 4421
46
PD Compensation – Example 2
 Settling time reduced,
as desired
 Overshoot is a little
higher than 10%
 Higher order pole and
zero do not entirely
cancel
 Iterate to further refine
performance, if desired
K. Webb MAE 4421
47
PD Compensation – Summary
 PD compensation
 Controller adds a single zero
 Angular contribution from the compensator zero
allows the root locus to be modified
 Calculate to satisfy the angle criterion at desired
closed‐loop pole locations
 Use magnitude criterion or plot root locus to determine
required gain
K. Webb MAE 4421
Lead Compensation
48
K. Webb MAE 4421
49
Sensor Noise
 Feedback control requires measurement of a
system’s output with some type of sensor
 Inherently noisy
 Measurement noise tends to be broadband in nature
 I.e., includes energy at high frequencies
 High‐frequency signal components change rapidly
 Large time derivatives
 Derivative (PD) compensation amplifies measurement
noise
 An alternative is lead compensation
 Amplification of sensor noise is reduced
K. Webb MAE 4421
50
Lead Compensation
 PD compensation utilizes an ideal differentiator
 Amplifies sensor noise
 Active circuitry (opamp) required for analog implementation
 An alternative to PD compensation is lead compensation
 Compensator adds one zero and a higher‐frequency pole
, where
 Pole can be far enough removed to have little impact on 2nd‐order
dynamics
 Additional high‐frequency pole reduces amplification of noise
 Analog implementation realizable with passive components
(resistors and capacitors)
K. Webb MAE 4421
51
Lead Compensation – Example
 Apply lead compensation to our previous example system
 Desired closed‐loop poles:
, 3.1 4.23
 Angle criterion must be satisfied at
∠ 180°
∠ ∠ 180°
∠ 180° ∠
∠
∠ 263.3°
 Required net angle contribution from
the compensator:
∠ 443.3° 83.3°
K. Webb MAE 4421
52
Lead Compensation – Example
 For to be on the locus, we need ∠ 83.3°
 Zero contributes a positive angle
 Higher‐frequency pole contributes a smaller negative angle
 Net angular contribution will be positive, as required:
∠ ∠ ∠ 83.3°
 Compensator angle is the angle
of the ray from through
and
∠ 88.3°
 Infinite combinations of and
will provide the required
K. Webb MAE 4421
53
Lead Compensation – Example
 An infinite number of possible / combinations
 All provide 83.3°
 Different static error
constants
 Different required gains
 Different location of other
closed‐loop poles
 No real rule for how to
select and
 Some options:
 Set as high as acceptable
given noise requirements
 Place below or slightly left
of the desired poles
K. Webb MAE 4421
54
Lead Compensation – Example
 Root locus and Step response for ,
 Lower‐frequency pole/zero do not adequately cancel
K. Webb MAE 4421
55
Lead Compensation – Example
 Root locus and Step response for ,
 Effect of lower‐frequency pole/zero reduced
K. Webb MAE 4421
56
Lead Compensation – Example
 Root locus and Step response for ,
 Lower‐frequency pole/zero very nearly cancel
K. Webb MAE 4421
57
Lead Compensation – Example
 Root locus and Step response for ,
 Higher‐frequency pole/zero almost completely cancel
K. Webb MAE 4421
58
Lead Compensation – Example
 Here, or
are good
choices
 Steady‐state error
varies
 Error depends on
gain required for
each lead
implementation
K. Webb MAE 4421
59
Lead Compensation – Summary
 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 MAE 4421
Improving Error and Transient Response
60
K. Webb MAE 4421
61
Improving Error and Transient Response
 PI (or lag) control improves steady‐state error
 PD (or lead) control can improve transient response
 Using both together can improve both error and
dynamic performance
 PD or lead compensation to achieve desired transient
response
 PI or lag compensation to achieve desired steady‐state error
 Next, we’ll look at two types of compensators:
 Proportional‐integral‐derivative (PID) compensator
 Lead‐lag compensator
K. Webb MAE 4421
62
Improving Error and Transient Response
 Two possible approaches to the design procedure:
1. First design for transient response, then design for
steady‐state error
 Response may be slowed slightly in the process of
improving steady‐state error
2. First design for steady‐state error, then design for
transient response
 Steady‐state error may be affected
 In either case, iteration is typically necessary
 We’ll follow the first approach, as does the text
K. Webb MAE 4421
PID Compensation
63
K. Webb MAE 4421
64
Proportional‐Integral‐Derivative Compensation
 Proportional‐integral‐
derivative (PID) compensation
 Combines PI and PD
compensation
 PD compensation adjusts
transient response
 PI compensation improves
steady‐state error
 Controller transfer function:
 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 MAE 4421
65
PID Design Procedure
 PID compensator design procedure:
1. Determine closed‐loop pole location to provide desired
transient response
2. Design PD controller (zero location and gain) to place
closed‐loop poles as desired
3. Simulate the PD‐compensated system, iterate if necessary
4. Design a PI controller, add to the PD‐compensated system,
and determine the gain required to maintain desired
dominant pole locations
5. Determine PID parameters: , , and
6. Simulate the PID‐compensated system and iterate, if
necessary
K. Webb MAE 4421
66
PID Compensation – Example
 Design PID compensation to satisfy the following
specifications:
 2
 % 20%
 Zero steady‐state error to a constant reference
 First, design PD compensator to satisfy dynamic
specifications
K. Webb MAE 4421
67
PID Compensation – Example
 Calculate desired closed‐loop pole locations
4.6
2.3
ln 0.2
ln 0.2
0.46
1
2.3
0.46
1 0.46
4.49
 Desired 2nd‐order poles:
, 2.3 4.49
 Uncompensated root locus does
not pass through the desired poles
 Gain adjustment not sufficient
 Compensation required
K. Webb MAE 4421
68
PID Compensation – Example
 PD compensator design
 Determine the required angular contribution of the
compensator zero to satisfy the angle criterion at
∠ 180°
∠ 180° ∠
∠
∠ 1 106.15°
∠ 3 81.14°
∠ 6 50.51°
∠ 237.8°
∠ 180° 237.8° 417.8°
 Required angle from PD zero
57.8°
K. Webb MAE 4421
69
PID Compensation – Example
 Use required compensator angle to place the PD zero,
∠ ∠
∠ ∠ 2.3 4.49
tan
4.49
2.3
4.49
tan 57.8°
2.3 5.13
 PD compensator transfer
function:
5.13
K. Webb MAE 4421
70
PID Compensation – Example
 PD‐compensated root locus
 Determine required gain
from MATLAB plot, or
 Apply the magnitude
criterion:
1
1 3 6
15 5.13
1.55
 PD compensator:
1.55 5.13
K. Webb MAE 4421
71
PID Compensation – Example
 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
K. Webb MAE 4421
72
PID Compensation – Example
 Next, add PI compensation to the PD‐compensated system
 Add a pole at the origin and a zero close by
 Where should we put the zero, ?
 In this case, open‐loop pole at the origin will become a closed‐
loop pole near
 Very small yields very slow closed‐loop pole
 Error integrates out very slowly
 Small means PI compensator will have less effect on the PD‐
compensated root locus
 Simulate and iterate
K. Webb MAE 4421
73
PID Compensation – Example
 Step response for various values:
 Here, works well
 Moving away from the
open‐loop pole at the
origin moves the 2nd‐order
poles significantly:
, 1.86 3.63
 Faster low‐frequency
closed‐loop pole means
error is integrated out more
quickly
K. Webb MAE 4421
74
PID Compensation – Example
 The resulting PID compensator:
0.8
5.13
 Required gain: 1.15
1.15 6.817 3.718
 The PID gains:
6.817, 3.718, 1.15
K. Webb MAE 4421
75
PID Compensation – Example
 Step response of the PID‐compensated system:
 Settling time is a little
slow
 A bit of margin on the
overshoot
 Iterate
 First, try adjusting gain
alone
 If necessary, revisit the
PD compensator
K. Webb MAE 4421
76
PID Compensation – Example
 Increasing gain to speed things up a bit, while
increasing overshoot
 Recall, however that root
locus asymptotes are
vertical
 Increasing gain will have
little effect on settling
time
 If further refinement is
required, must revisit the
PD compensator
K. Webb MAE 4421
77
PID Compensation – Example
 How valid was the second‐order approximation we used for design
of this PID‐compensated system?
 Pole at 0.78
 Nearly canceled by the zero at
0.8
 Pole at s 5.5
 Not high enough in frequency to be
negligible, but
 Partially canceled by zero at
5.13
 But, validity of the assumption is not
really important
 Used as starting point to locate poles
 Iteration typically required anyway
K. Webb MAE 4421
78
PID Compensation – Summary
 PID compensation
 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 MAE 4421
Lead‐Lag Compensation
79
K. Webb MAE 4421
80
Lead‐Lag Compensation
 Just as we combined derivative and integral compensation, we can
combine lead and lag as well
 Lead‐lag compensation
 Lead compensator improves transient response
 Lag compensator improves steady‐state error
 Compensator transfer function:
 Lead compensator adds a pole and zero ‐
 Lag pole/zero close to the origin ‐ 0
K. Webb MAE 4421
81
Lead‐Lag Design Procedure
 Lead‐lag compensator design procedure:
1. Determine closed‐loop pole location to provide desired transient
response
2. Design the lead compensator (zero, pole, and gain) to place closed‐
loop poles as desired
3. Simulate the lead‐compensated system, iterate if necessary
4. Evaluate the steady‐state error performance of the lead‐
compensated system to determine how much of an improvement
is required to meet the error specification
5. Design the lag compensator to yield the required steady‐state error
performance
6. Simulate the lead‐lag‐compensated system and iterate, if necessary
K. Webb MAE 4421
82
Lead‐Lag Compensation – Example
 Design lead‐lag compensation to satisfy the following
specifications:
 2
 % 20%
 2% steady‐state error to a constant reference
 First, design the lead compensator to satisfy the
dynamic specifications
 Then, design the lag compensator to meet the steady‐
state error requirement
K. Webb MAE 4421
83
Lead‐Lag Compensation – Example
 Design the lead compensator to achieve the same
desired dominant 2nd‐order pole locations:
, 2.3 4.49
 Again, an infinite number of possibilities
 Let’s assume we want to limit the lead pole to
due to noise considerations
 Lower pole frequency results in amplification of less noise
100
 Apply the angle criterion to determine
K. Webb MAE 4421
84
Lead‐Lag Compensation – Example
∠ 180° → ∠ 180° ∠
∠
∠ 1 106.15°
∠ 3 81.14°
∠ 6 50.51°
∠ 237.8°
∠ 180° 237.8°
∠ 417.8° 57.8°
∠
∠ 100 2.63°
∠
60.43°
K. Webb MAE 4421
85
Lead‐Lag Compensation – Example
 Next, calculate from
∠
tan
tan
tan
4.49
tan 60.43°
2.3
4.85
K. Webb MAE 4421
86
Lead‐Lag Compensation – Example
 Lead compensator:
4.85
100
 From magnitude
criterion or MATLAB
plot, K 156
 Lead compensator
transfer function:
156
4.85
100
 Next, simulate the lead‐compensated system to verify
dynamic performance and to evaluate steady‐state error
K. Webb MAE 4421
87
Lead‐Lag Compensation – Example
 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 MAE 4421
88
Lead‐Lag Compensation – Example
 Desired position constant:
1
1
0.02
1
1 49
 for lead‐compensated system
,
1
0.138
1 6.26
 Required error constant
improvement
,
7.83
K. Webb MAE 4421
89
Lead‐Lag Compensation – Example
 Arbitrarily set 0.01
 To achieve desired error, we need
8 ⋅ 0.08
 The lag compensator transfer function:
0.08
0.01
 Angles from lag pole/zero effectively cancel, so required gain is
unchanged:
156
 Lead‐lag compensator transfer function:
156
4.85
100
0.08
0.01
K. Webb MAE 4421
90
Lead‐Lag Compensation – Example
 Root locus and closed‐loop poles/zeros for the lead‐lag‐
compensated system:
 Second‐order poles:
,
 Other closed‐loop poles:
100.2
5.2
0.07
 Closed‐loop zeros:
0.08
4.85
K. Webb MAE 4421
91
Lead‐Lag Compensation – Example
 Step response for the lead‐lag‐compensated system:
 Steady‐state error
requirement is satisfied
 Slow closed‐loop pole at
results in very
slow tail as error is
eliminated
 Can speed this up by
moving the lag pole/zero
away from the origin
 Dominant poles will move
K. Webb MAE 4421
92
Lead‐Lag Compensation – Example
 Increase the lag pole/zero frequency by 8x
0.08 and 0.64
 Lag pole/zero now affect the
root locus significantly
 Dominant poles move:
, 1.9 3.8
 Required gain for 0.46
changes:
123
 Reduced gain will reduce
 / ratio must increase
K. Webb MAE 4421
93
Lead‐Lag Compensation – Example
 Some iteration shows
reasonable transient
and error performance
for:
0.08
0.8
130
 Lead‐lag compensator:
130
4.85
100
0.8
0.08
K. Webb MAE 4421
94
Lead‐Lag Compensation – Summary
 Lead‐lag compensation
, and
 Two zeros and two poles
 Cascade of lead and lag compensators
 Lead compensator
 Added pole/zero improves transient response
 Lag compensator
 Steady‐state error improved by /
 Nearby zero partially cancels angular contribution of the pole,
limiting its effect on the root locus
 May introduce a slow transient
K. Webb MAE 4421
Summary
95
K. Webb MAE 4421
96
Compensator Summary
Type Transfer function Improves Comments
PI Error • Pole at origin
• Zero near origin
• Increases system type
• May introduce a slow transient
• Active circuitry required
• Susceptible to integrator windup
Lag Error • Pole near the origin
• Small negative zero
•
• Error constant improved by /
• May introduce a slow transient
• Passive circuitry implementation
possible
K. Webb MAE 4421
97
Compensator Summary
Type Transfer function Improves Comments
PD Transient response • Zero at contributes angle to
satisfy angle criterion at desired
closed‐loop pole location
• Active circuitry required
• Amplifies sensor noise
Lead Transient response • Lower‐frequency zero
• Higher‐frequency pole
• Net angle contribution satisfies
angle criterion at design point
• Added pole helps reduce
amplification of higher‐frequency
sensor noise
• Passive circuitry implementation
possible
K. Webb MAE 4421
98
Compensator Summary
Type Transfer function Improves Comments
PID Error & transient
response
• PD compensation improves
transient response
• PI compensation improves
steady‐state error
• Active circuitry
• Amplifies noise
Lead‐lag Error & transient
response
• Lead compensation
improves transient
response
• Lag compensation improves
steady‐state error
• Passive circuitry
implementation possible
• Amplification of high‐
frequency noise reduced

More Related Content

Similar to Section 6 Root Locus Design.pdf

E ② chapter one - feedback amplifier
E ②   chapter one - feedback amplifierE ②   chapter one - feedback amplifier
E ② chapter one - feedback amplifierhaylat andu
 
Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentIsham Rashik
 
Module 5_Compensation Techniques in digital control system
Module 5_Compensation Techniques in digital control systemModule 5_Compensation Techniques in digital control system
Module 5_Compensation Techniques in digital control systemts619469
 
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...Theresa Lowry-Lehnen
 
EEP301: Analog control of DC motor
EEP301: Analog control of DC motorEEP301: Analog control of DC motor
EEP301: Analog control of DC motorUmang Gupta
 
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...Theresa Lowry-Lehnen
 
Chapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systemsChapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systemsBaghdad
 
12 15022 an adaptive manuscript (word)(edit)
12 15022 an adaptive manuscript (word)(edit)12 15022 an adaptive manuscript (word)(edit)
12 15022 an adaptive manuscript (word)(edit)nooriasukmaningtyas
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3Hattori Sidek
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3mkazree
 
Digital Control - 5th Lab.pdf
Digital Control - 5th  Lab.pdfDigital Control - 5th  Lab.pdf
Digital Control - 5th Lab.pdfssusera55490
 
Differntial Input to Single Ended Output, Two stage Op-amp
Differntial Input to Single Ended Output, Two stage Op-ampDifferntial Input to Single Ended Output, Two stage Op-amp
Differntial Input to Single Ended Output, Two stage Op-ampKarthik Rathinavel
 
The Extraordinary World of Quantum Computing
The Extraordinary World of Quantum ComputingThe Extraordinary World of Quantum Computing
The Extraordinary World of Quantum ComputingTim Ellison
 
IEE572 Final Report
IEE572 Final ReportIEE572 Final Report
IEE572 Final Reportjgoldpac
 

Similar to Section 6 Root Locus Design.pdf (20)

Lecture 3
Lecture 3Lecture 3
Lecture 3
 
E ② chapter one - feedback amplifier
E ②   chapter one - feedback amplifierE ②   chapter one - feedback amplifier
E ② chapter one - feedback amplifier
 
Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller Assignment
 
Module 5_Compensation Techniques in digital control system
Module 5_Compensation Techniques in digital control systemModule 5_Compensation Techniques in digital control system
Module 5_Compensation Techniques in digital control system
 
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...
 
EEP301: Analog control of DC motor
EEP301: Analog control of DC motorEEP301: Analog control of DC motor
EEP301: Analog control of DC motor
 
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...
Junior cycle science physics in action. By Theresa Lowry-Lehnen. Science Teac...
 
Chapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systemsChapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systems
 
12 15022 an adaptive manuscript (word)(edit)
12 15022 an adaptive manuscript (word)(edit)12 15022 an adaptive manuscript (word)(edit)
12 15022 an adaptive manuscript (word)(edit)
 
Burden Testing, Theory, and Practice
Burden Testing, Theory, and PracticeBurden Testing, Theory, and Practice
Burden Testing, Theory, and Practice
 
1 bode plot
1 bode plot1 bode plot
1 bode plot
 
UNIT-3-PPT (2).pptx
UNIT-3-PPT (2).pptxUNIT-3-PPT (2).pptx
UNIT-3-PPT (2).pptx
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3
 
Digital Control - 5th Lab.pdf
Digital Control - 5th  Lab.pdfDigital Control - 5th  Lab.pdf
Digital Control - 5th Lab.pdf
 
Differntial Input to Single Ended Output, Two stage Op-amp
Differntial Input to Single Ended Output, Two stage Op-ampDifferntial Input to Single Ended Output, Two stage Op-amp
Differntial Input to Single Ended Output, Two stage Op-amp
 
The Extraordinary World of Quantum Computing
The Extraordinary World of Quantum ComputingThe Extraordinary World of Quantum Computing
The Extraordinary World of Quantum Computing
 
air craft Pitch
air craft Pitchair craft Pitch
air craft Pitch
 
Out of step
Out of stepOut of step
Out of step
 
IEE572 Final Report
IEE572 Final ReportIEE572 Final Report
IEE572 Final Report
 

Recently uploaded

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 

Recently uploaded (20)

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 

Section 6 Root Locus Design.pdf

  • 1. MAE 4421 – Control of Aerospace & Mechanical Systems SECTION 6: ROOT‐LOCUS DESIGN
  • 2. K. Webb MAE 4421 Introduction 2
  • 3. K. Webb MAE 4421 3 Introduction  Consider the following unity‐feedback system  Assume  A proportional controller  Design for 8% overshoot  Use root locus to determine to yield required ln 0.08 ln 0.08 0.63  Desired poles and gain:  , 2 2.5  2.4 3 4 3 3
  • 4. K. Webb MAE 4421 4 Introduction  Overshoot is 8%, as desired, but steady‐state error is large:  29.4%  Position constant: lim → lim → 3 1 3 2.4  Steady‐state error: 1 1 1 1 1 1 2.4 0.294
  • 5. K. Webb MAE 4421 5 Introduction  Let’s say we want to reduce steady‐state error to  Determine required gain 1 1 1 1 0.02 1 0.2 1 49  Transient response is degraded  59.2%  Can set overshoot or steady‐state error via gain adjustment  Not both simultaneously
  • 6. K. Webb MAE 4421 6 Introduction  Now say we want OS 8% and 1 , we’d need: 0.63 and 4.6  Desired poles are not on the root locus  Closed‐loop poles can exist only on the locus  If we want poles elsewhere, we must move the locus  Modify the locus by adding dynamics (poles and zeros) to the controller  A compensator
  • 7. K. Webb MAE 4421 7 Introduction  We’ll learn how to use root‐locus techniques to design compensators to do the following:  Improve steady‐state error  Proportional‐integral (PI) compensator  Lag compensator  Improve dynamic response  Proportional‐derivative (PD) compensator  Lead compensator  Improve dynamic response and steady‐state error  Proportional‐integral‐derivative (PID) compensator  Lead‐lag compensator
  • 8. K. Webb MAE 4421 8 Compensation Configurations  Two basic compensation configurations:  Cascade compensation  Feedback compensation  We will focus on cascade compensation
  • 9. K. Webb MAE 4421 Improving Steady‐State Error 9
  • 10. K. Webb MAE 4421 10 Improving Steady‐State Error  We’ve seen that we can improve steady‐state error by adding a pole at the origin  An integrator  System type increased by one for unity‐feedback  For example, consider the previous example  Let’s say we are happy with 8% overshoot and the corresponding pole locations  But, want to reduce steady‐ state error to 2% or less
  • 11. K. Webb MAE 4421 11 Improving Steady‐State Error  System is type 0  Adding an integrator to will increase it to type 1  Zero steady‐state error for constant reference  Let’s first try a very simple approach:  Plot the root locus for this system  How does the added pole at the origin affect the locus?
  • 12. K. Webb MAE 4421 12 Improving Steady‐State Error  Now have 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
  • 13. K. Webb MAE 4421 13 Improving Steady‐State Error  Desired poles no longer satisfy the angle criterion: ∠ ∠ 128.8° 111.9° 68.1° ∠ 308.8° 180°  Excess angle from the additional pole at the origin,  How could we modify to satisfy the angle criterion at ?  A zero at the origin would do it, of course  But, that would cancel the desired pole at the origin  How about a zero very close to the origin?
  • 14. K. Webb MAE 4421 14 Improving Steady‐State Error  Now,  Angle contributions nearly cancel  is not on the locus, but very close  The closer the zero is to the origin, the closer will be to the root locus  Let 0.1  Controller transfer function: 0.1  Plot new root locus to see how close it comes to
  • 15. K. Webb MAE 4421 15 Improving Steady‐State Error  Now only two asymptotes to  90°, 270°  1.95  Real‐axis breakaway point:  1.99  not on locus, but close  Closed‐loop poles with 0.63: , 1.96 2.44  Gain: 2.37  Determined from the MATLAB root locus plot
  • 16. K. Webb MAE 4421 16 Improving Steady‐State Error  Initial transient relatively unchanged  Pole/zero pair near the origin nearly cancel  2nd‐order poles close to desired location  Zero steady‐state error  Pole at origin increases system type to type 1  Slow transient as error is integrated out  2nd‐order approximation is valid  Poles: 0.07, 1.96 2.44  Zeros: 0.1
  • 17. K. Webb MAE 4421 Ideal Integral Compensation 17
  • 18. K. Webb MAE 4421 18 Proportional‐Integral Compensation  The compensator we just designed is an ideal integral or proportional‐integral (PI) compensator  Control input to plant, , has two components:  One proportional to the error, plus  One proportional to the integral of the error  Equivalent to:
  • 19. K. Webb MAE 4421 19 PI Compensation – Summary  PI compensation  Controller adds a pole at the origin and a zero nearby  Pole at origin (integrator) increases system type, improves steady‐state error  Zero near the origin nearly cancels the added pole, leaving transient response nearly unchanged
  • 20. K. Webb MAE 4421 20 PI Compensation – Zero Location  Compensator zero very close to the origin:  Closed‐loop poles moved very little from uncompensated location  Relatively low integral gain,  Closed‐loop pole close to origin – slow  Slow transient as error is integrated out  Compensator zero farther from the origin:  Closed‐loop poles moved farther from uncompensated location  Relatively higher integral gain,  Closed‐loop pole farther from the origin – faster  Error is integrated out more quickly
  • 21. K. Webb MAE 4421 21 PI Compensation – Zero Location  Root locus and step response variation with :
  • 22. K. Webb MAE 4421 Lag Compensation 22
  • 23. K. Webb MAE 4421 23 Lag Compensation  PI compensation requires an ideal integrator  Active circuitry (opamp) required for analog implementation  Susceptible to integrator windup  An alternative to PI compensation is lag compensation  Pole placed near the origin, not at the origin  Analog implementation realizable with passive components (resistors and capacitors)  Like PI compensation, lag compensation uses a closely‐ spaced pole/zero pair  Angular contributions nearly cancel  Transient response nearly unaffected  System type not increased  Error is improved, not eliminated
  • 24. K. Webb MAE 4421 24 Lag Compensation – Error Reduction  Consider the following generic feedback system  A type 0 system, assuming 0, ∀  Position constant: lim → ⋯ ⋯  Now, add lag compensation  The compensated position constant : ⋯ ⋯
  • 25. K. Webb MAE 4421 25 Lag Compensation – Error Reduction  Compensator pole is closer to the origin than the compensator zero, so and  For large improvements in , make  But, to avoid affecting the transient response, we need  As long as both and are very small, we can satisfy both requirements: and ⋯ ⋯
  • 26. K. Webb MAE 4421 26 Lag Compensation – Example  Apply lag compensation to our previous example  Design for a 10x improvement of the position constant  Want 0 (relative to other poles)  Let 0.01  Want a 10x improvement in  10 0.1  Lag pole and zero differ by a factor of 10  Static error constant improved by a factor of 10  Lag pole/zero are very close together relative to poles at 1, 3  Angular contributions nearly cancel  Transient response nearly unaffected
  • 27. K. Webb MAE 4421 27 Lag Compensation – Example  Root locus and step response of lag‐compensated system
  • 28. K. Webb MAE 4421 28 Lag Compensation – Example  Now, let 0.4 and 0.04  2nd‐order poles moved more  Faster low‐frequency closed‐loop pole  Faster overall response
  • 29. K. Webb MAE 4421 29 Lag Compensation – Summary  Lag compensation , where  Controller adds a pole near the origin and a slightly‐ higher‐frequency zero nearby  Steady‐state error improved by  Angle contributions from closely‐spaced pole/zero nearly cancel  Transient response is nearly unchanged
  • 30. K. Webb MAE 4421 Improving Transient Response 30
  • 31. K. Webb MAE 4421 31 Improving Transient Response  Consider the following system  Root locus:  Three asymptotes to at 60°, 180°, and 300°  Real‐axis breakaway point: 1.88  Locus crosses into RHP
  • 32. K. Webb MAE 4421 32 Improving Transient Response  Design proportional controller for 10% overshoot  1.72  Overshoot < 10% due to third pole
  • 33. K. Webb MAE 4421 33 Improving Transient Response  Now, decrease settling time to 1.5  Maintain same overshoot ( 0.59) 4.6 3.1  Desired poles:  , 3.1 4.23  Not on the locus  Must add compensation to move the locus where we want it  Derivative compensation
  • 34. K. Webb MAE 4421 Ideal Derivative Compensation 34
  • 35. K. Webb MAE 4421 35 Proportional‐Derivative Compensation  One way to improve transient response is to add the derivative of the error to the control input to the plant  This is ideal derivative or proportional‐derivative (PD) compensation  Compensator transfer function:  Compensator adds a single zero at
  • 36. K. Webb MAE 4421 36 PD Compensation  Compensator zero will change the root locus  Placement of the zero allows us to move the locus to place closed‐loop poles where we want them  One less asymptote to  decreased by one  Asymptote origin changes Σ Σ  As increases (moves left), moves right, toward the origin  As decreases (moves right), moves further into the LHP
  • 37. K. Webb MAE 4421 37 PD Compensation  Derivative compensation allows us to speed up the closed‐loop response  Control signal proportional to (in part) the derivative of the error  When the reference, , changes quickly:  Error, , changes quickly  Derivative of the error, , is large  Control input, , may be large  Derivative compensation anticipates future error and compensates for it
  • 38. K. Webb MAE 4421 38 PD Compensation – Example 1  Now add PD compensation to our example system  Root locus depends on  Let’s first assume 3  Two real‐axis segments  6 3  Between pole at 1 and  Two asymptotes to  90°, 270°   As varies from 0 … 3, varies from 5 … 3.5  Breakaway point between 6 … 3
  • 39. K. Webb MAE 4421 39 PD Compensation – Example 1  As moves to the left, moves to the right  Moving allows us to move the locus
  • 40. K. Webb MAE 4421 40 PD Compensation – Example 1  Now move the zero further to the left:  Still two real‐axis segments  6  3 1  Two asymptotes to  90°, 270°   As varies from 3 … ∞, varies from 3.5 … ∞  Breakaway point between
  • 41. K. Webb MAE 4421 41 PD Compensation – Example 1  Asymptote origin continues to move to the right
  • 42. K. Webb MAE 4421 42 PD Compensation – Calculating  For this particular system, we’ve seen:  Additional zero decreased the number of asymptotes to by one  A stabilizing effect – locus does not cross into the RHP  Adjusting allows us to move the asymptote origin left or right  Next, we’ll determine exactly where to place to place the closed‐loop poles where we want them
  • 43. K. Webb MAE 4421 43 PD Compensation – Example 2  Desired 2nd‐order poles: , 3.1 4.23  Calculate required value for such that these points are on the locus  Must satisfy the angle criterion ∠ 180° ∠ 180° 116.4° 91.35° 55.57°  The required angle from : 83.3°  Next, determine
  • 44. K. Webb MAE 4421 44 PD Compensation – Example 2  Compensator zero, , must contribute at ,  Calculate the required value of ∠ ∠ 3.1 4.23 83.3° tan 4.23 3.1 tan 4.23 3.1 4.23 tan 3.1 4.23 tan 83.3° 3.1  The required compensator zero:
  • 45. K. Webb MAE 4421 45 PD Compensation – Example 2  Locus passes through desired points  Closed‐loop poles at for  Third closed‐loop pole at  Close to zero at 3.6  2nd‐order approximation likely justified
  • 46. K. Webb MAE 4421 46 PD Compensation – Example 2  Settling time reduced, as desired  Overshoot is a little higher than 10%  Higher order pole and zero do not entirely cancel  Iterate to further refine performance, if desired
  • 47. K. Webb MAE 4421 47 PD Compensation – Summary  PD compensation  Controller adds a single zero  Angular contribution from the compensator zero allows the root locus to be modified  Calculate to satisfy the angle criterion at desired closed‐loop pole locations  Use magnitude criterion or plot root locus to determine required gain
  • 48. K. Webb MAE 4421 Lead Compensation 48
  • 49. K. Webb MAE 4421 49 Sensor Noise  Feedback control requires measurement of a system’s output with some type of sensor  Inherently noisy  Measurement noise tends to be broadband in nature  I.e., includes energy at high frequencies  High‐frequency signal components change rapidly  Large time derivatives  Derivative (PD) compensation amplifies measurement noise  An alternative is lead compensation  Amplification of sensor noise is reduced
  • 50. K. Webb MAE 4421 50 Lead Compensation  PD compensation utilizes an ideal differentiator  Amplifies sensor noise  Active circuitry (opamp) required for analog implementation  An alternative to PD compensation is lead compensation  Compensator adds one zero and a higher‐frequency pole , where  Pole can be far enough removed to have little impact on 2nd‐order dynamics  Additional high‐frequency pole reduces amplification of noise  Analog implementation realizable with passive components (resistors and capacitors)
  • 51. K. Webb MAE 4421 51 Lead Compensation – Example  Apply lead compensation to our previous example system  Desired closed‐loop poles: , 3.1 4.23  Angle criterion must be satisfied at ∠ 180° ∠ ∠ 180° ∠ 180° ∠ ∠ ∠ 263.3°  Required net angle contribution from the compensator: ∠ 443.3° 83.3°
  • 52. K. Webb MAE 4421 52 Lead Compensation – Example  For to be on the locus, we need ∠ 83.3°  Zero contributes a positive angle  Higher‐frequency pole contributes a smaller negative angle  Net angular contribution will be positive, as required: ∠ ∠ ∠ 83.3°  Compensator angle is the angle of the ray from through and ∠ 88.3°  Infinite combinations of and will provide the required
  • 53. K. Webb MAE 4421 53 Lead Compensation – Example  An infinite number of possible / combinations  All provide 83.3°  Different static error constants  Different required gains  Different location of other closed‐loop poles  No real rule for how to select and  Some options:  Set as high as acceptable given noise requirements  Place below or slightly left of the desired poles
  • 54. K. Webb MAE 4421 54 Lead Compensation – Example  Root locus and Step response for ,  Lower‐frequency pole/zero do not adequately cancel
  • 55. K. Webb MAE 4421 55 Lead Compensation – Example  Root locus and Step response for ,  Effect of lower‐frequency pole/zero reduced
  • 56. K. Webb MAE 4421 56 Lead Compensation – Example  Root locus and Step response for ,  Lower‐frequency pole/zero very nearly cancel
  • 57. K. Webb MAE 4421 57 Lead Compensation – Example  Root locus and Step response for ,  Higher‐frequency pole/zero almost completely cancel
  • 58. K. Webb MAE 4421 58 Lead Compensation – Example  Here, or are good choices  Steady‐state error varies  Error depends on gain required for each lead implementation
  • 59. K. Webb MAE 4421 59 Lead Compensation – Summary  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
  • 60. K. Webb MAE 4421 Improving Error and Transient Response 60
  • 61. K. Webb MAE 4421 61 Improving Error and Transient Response  PI (or lag) control improves steady‐state error  PD (or lead) control can improve transient response  Using both together can improve both error and dynamic performance  PD or lead compensation to achieve desired transient response  PI or lag compensation to achieve desired steady‐state error  Next, we’ll look at two types of compensators:  Proportional‐integral‐derivative (PID) compensator  Lead‐lag compensator
  • 62. K. Webb MAE 4421 62 Improving Error and Transient Response  Two possible approaches to the design procedure: 1. First design for transient response, then design for steady‐state error  Response may be slowed slightly in the process of improving steady‐state error 2. First design for steady‐state error, then design for transient response  Steady‐state error may be affected  In either case, iteration is typically necessary  We’ll follow the first approach, as does the text
  • 63. K. Webb MAE 4421 PID Compensation 63
  • 64. K. Webb MAE 4421 64 Proportional‐Integral‐Derivative Compensation  Proportional‐integral‐ derivative (PID) compensation  Combines PI and PD compensation  PD compensation adjusts transient response  PI compensation improves steady‐state error  Controller transfer function:  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
  • 65. K. Webb MAE 4421 65 PID Design Procedure  PID compensator design procedure: 1. Determine closed‐loop pole location to provide desired transient response 2. Design PD controller (zero location and gain) to place closed‐loop poles as desired 3. Simulate the PD‐compensated system, iterate if necessary 4. Design a PI controller, add to the PD‐compensated system, and determine the gain required to maintain desired dominant pole locations 5. Determine PID parameters: , , and 6. Simulate the PID‐compensated system and iterate, if necessary
  • 66. K. Webb MAE 4421 66 PID Compensation – Example  Design PID compensation to satisfy the following specifications:  2  % 20%  Zero steady‐state error to a constant reference  First, design PD compensator to satisfy dynamic specifications
  • 67. K. Webb MAE 4421 67 PID Compensation – Example  Calculate desired closed‐loop pole locations 4.6 2.3 ln 0.2 ln 0.2 0.46 1 2.3 0.46 1 0.46 4.49  Desired 2nd‐order poles: , 2.3 4.49  Uncompensated root locus does not pass through the desired poles  Gain adjustment not sufficient  Compensation required
  • 68. K. Webb MAE 4421 68 PID Compensation – Example  PD compensator design  Determine the required angular contribution of the compensator zero to satisfy the angle criterion at ∠ 180° ∠ 180° ∠ ∠ ∠ 1 106.15° ∠ 3 81.14° ∠ 6 50.51° ∠ 237.8° ∠ 180° 237.8° 417.8°  Required angle from PD zero 57.8°
  • 69. K. Webb MAE 4421 69 PID Compensation – Example  Use required compensator angle to place the PD zero, ∠ ∠ ∠ ∠ 2.3 4.49 tan 4.49 2.3 4.49 tan 57.8° 2.3 5.13  PD compensator transfer function: 5.13
  • 70. K. Webb MAE 4421 70 PID Compensation – Example  PD‐compensated root locus  Determine required gain from MATLAB plot, or  Apply the magnitude criterion: 1 1 3 6 15 5.13 1.55  PD compensator: 1.55 5.13
  • 71. K. Webb MAE 4421 71 PID Compensation – Example  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
  • 72. K. Webb MAE 4421 72 PID Compensation – Example  Next, add PI compensation to the PD‐compensated system  Add a pole at the origin and a zero close by  Where should we put the zero, ?  In this case, open‐loop pole at the origin will become a closed‐ loop pole near  Very small yields very slow closed‐loop pole  Error integrates out very slowly  Small means PI compensator will have less effect on the PD‐ compensated root locus  Simulate and iterate
  • 73. K. Webb MAE 4421 73 PID Compensation – Example  Step response for various values:  Here, works well  Moving away from the open‐loop pole at the origin moves the 2nd‐order poles significantly: , 1.86 3.63  Faster low‐frequency closed‐loop pole means error is integrated out more quickly
  • 74. K. Webb MAE 4421 74 PID Compensation – Example  The resulting PID compensator: 0.8 5.13  Required gain: 1.15 1.15 6.817 3.718  The PID gains: 6.817, 3.718, 1.15
  • 75. K. Webb MAE 4421 75 PID Compensation – Example  Step response of the PID‐compensated system:  Settling time is a little slow  A bit of margin on the overshoot  Iterate  First, try adjusting gain alone  If necessary, revisit the PD compensator
  • 76. K. Webb MAE 4421 76 PID Compensation – Example  Increasing gain to speed things up a bit, while increasing overshoot  Recall, however that root locus asymptotes are vertical  Increasing gain will have little effect on settling time  If further refinement is required, must revisit the PD compensator
  • 77. K. Webb MAE 4421 77 PID Compensation – Example  How valid was the second‐order approximation we used for design of this PID‐compensated system?  Pole at 0.78  Nearly canceled by the zero at 0.8  Pole at s 5.5  Not high enough in frequency to be negligible, but  Partially canceled by zero at 5.13  But, validity of the assumption is not really important  Used as starting point to locate poles  Iteration typically required anyway
  • 78. K. Webb MAE 4421 78 PID Compensation – Summary  PID compensation  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
  • 79. K. Webb MAE 4421 Lead‐Lag Compensation 79
  • 80. K. Webb MAE 4421 80 Lead‐Lag Compensation  Just as we combined derivative and integral compensation, we can combine lead and lag as well  Lead‐lag compensation  Lead compensator improves transient response  Lag compensator improves steady‐state error  Compensator transfer function:  Lead compensator adds a pole and zero ‐  Lag pole/zero close to the origin ‐ 0
  • 81. K. Webb MAE 4421 81 Lead‐Lag Design Procedure  Lead‐lag compensator design procedure: 1. Determine closed‐loop pole location to provide desired transient response 2. Design the lead compensator (zero, pole, and gain) to place closed‐ loop poles as desired 3. Simulate the lead‐compensated system, iterate if necessary 4. Evaluate the steady‐state error performance of the lead‐ compensated system to determine how much of an improvement is required to meet the error specification 5. Design the lag compensator to yield the required steady‐state error performance 6. Simulate the lead‐lag‐compensated system and iterate, if necessary
  • 82. K. Webb MAE 4421 82 Lead‐Lag Compensation – Example  Design lead‐lag compensation to satisfy the following specifications:  2  % 20%  2% steady‐state error to a constant reference  First, design the lead compensator to satisfy the dynamic specifications  Then, design the lag compensator to meet the steady‐ state error requirement
  • 83. K. Webb MAE 4421 83 Lead‐Lag Compensation – Example  Design the lead compensator to achieve the same desired dominant 2nd‐order pole locations: , 2.3 4.49  Again, an infinite number of possibilities  Let’s assume we want to limit the lead pole to due to noise considerations  Lower pole frequency results in amplification of less noise 100  Apply the angle criterion to determine
  • 84. K. Webb MAE 4421 84 Lead‐Lag Compensation – Example ∠ 180° → ∠ 180° ∠ ∠ ∠ 1 106.15° ∠ 3 81.14° ∠ 6 50.51° ∠ 237.8° ∠ 180° 237.8° ∠ 417.8° 57.8° ∠ ∠ 100 2.63° ∠ 60.43°
  • 85. K. Webb MAE 4421 85 Lead‐Lag Compensation – Example  Next, calculate from ∠ tan tan tan 4.49 tan 60.43° 2.3 4.85
  • 86. K. Webb MAE 4421 86 Lead‐Lag Compensation – Example  Lead compensator: 4.85 100  From magnitude criterion or MATLAB plot, K 156  Lead compensator transfer function: 156 4.85 100  Next, simulate the lead‐compensated system to verify dynamic performance and to evaluate steady‐state error
  • 87. K. Webb MAE 4421 87 Lead‐Lag Compensation – Example  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%
  • 88. K. Webb MAE 4421 88 Lead‐Lag Compensation – Example  Desired position constant: 1 1 0.02 1 1 49  for lead‐compensated system , 1 0.138 1 6.26  Required error constant improvement , 7.83
  • 89. K. Webb MAE 4421 89 Lead‐Lag Compensation – Example  Arbitrarily set 0.01  To achieve desired error, we need 8 ⋅ 0.08  The lag compensator transfer function: 0.08 0.01  Angles from lag pole/zero effectively cancel, so required gain is unchanged: 156  Lead‐lag compensator transfer function: 156 4.85 100 0.08 0.01
  • 90. K. Webb MAE 4421 90 Lead‐Lag Compensation – Example  Root locus and closed‐loop poles/zeros for the lead‐lag‐ compensated system:  Second‐order poles: ,  Other closed‐loop poles: 100.2 5.2 0.07  Closed‐loop zeros: 0.08 4.85
  • 91. K. Webb MAE 4421 91 Lead‐Lag Compensation – Example  Step response for the lead‐lag‐compensated system:  Steady‐state error requirement is satisfied  Slow closed‐loop pole at results in very slow tail as error is eliminated  Can speed this up by moving the lag pole/zero away from the origin  Dominant poles will move
  • 92. K. Webb MAE 4421 92 Lead‐Lag Compensation – Example  Increase the lag pole/zero frequency by 8x 0.08 and 0.64  Lag pole/zero now affect the root locus significantly  Dominant poles move: , 1.9 3.8  Required gain for 0.46 changes: 123  Reduced gain will reduce  / ratio must increase
  • 93. K. Webb MAE 4421 93 Lead‐Lag Compensation – Example  Some iteration shows reasonable transient and error performance for: 0.08 0.8 130  Lead‐lag compensator: 130 4.85 100 0.8 0.08
  • 94. K. Webb MAE 4421 94 Lead‐Lag Compensation – Summary  Lead‐lag compensation , and  Two zeros and two poles  Cascade of lead and lag compensators  Lead compensator  Added pole/zero improves transient response  Lag compensator  Steady‐state error improved by /  Nearby zero partially cancels angular contribution of the pole, limiting its effect on the root locus  May introduce a slow transient
  • 95. K. Webb MAE 4421 Summary 95
  • 96. K. Webb MAE 4421 96 Compensator Summary Type Transfer function Improves Comments PI Error • Pole at origin • Zero near origin • Increases system type • May introduce a slow transient • Active circuitry required • Susceptible to integrator windup Lag Error • Pole near the origin • Small negative zero • • Error constant improved by / • May introduce a slow transient • Passive circuitry implementation possible
  • 97. K. Webb MAE 4421 97 Compensator Summary Type Transfer function Improves Comments PD Transient response • Zero at contributes angle to satisfy angle criterion at desired closed‐loop pole location • Active circuitry required • Amplifies sensor noise Lead Transient response • Lower‐frequency zero • Higher‐frequency pole • Net angle contribution satisfies angle criterion at design point • Added pole helps reduce amplification of higher‐frequency sensor noise • Passive circuitry implementation possible
  • 98. K. Webb MAE 4421 98 Compensator Summary Type Transfer function Improves Comments PID Error & transient response • PD compensation improves transient response • PI compensation improves steady‐state error • Active circuitry • Amplifies noise Lead‐lag Error & transient response • Lead compensation improves transient response • Lag compensation improves steady‐state error • Passive circuitry implementation possible • Amplification of high‐ frequency noise reduced