Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
EE360 (Chapter 9) Learning Outcomes:After completing this chapter the student will be able to:
Improve transient response PD Kðs þ zc Þ 1. Zero at zc is selected to put design point on
root locus.
2. Active circuits are required to implement.
3. Can cause noise and saturation; implement
with rate feedback or with a pole (lead).
s þ zc
Improve transient response Lead K 1. Zero at zc and pole at pc are selected to put
s þ pc
design point on root locus.
2. Pole at pc is more negative than zero at zc .
3. Active circuits are not required to implement.
ðs þ z Þðs þ z Þ
Improve steady-state error and Apago
PID K PDF Enhancer
s
lag lead
1. Lag zero at z lag and pole at origin improve
transient response steady-state error.
2. Lead zero at zlead improves transient
response.
3. Lag zero at zlag is close to, and to the left of,
the origin.
4. Lead zero at zlead is selected to put design
point on root locus.
5. Active circuits required to implement.
6. Can cause noise and saturation; implement
with rate feedback or with an additional pole.
ðs þ zlag Þðs þ zlead Þ
Improve steady-state error and Lag-lead K 1. Lag pole at plag and lag zero at zlag are used
ðs þ plag Þðs þ plead Þ
transient response to improve steady-state error.
2. Lead pole at plead and lead zero at zlead are
used to improve transient response.
3. Lag pole at plag is small and negative.
4. Lag zero at zlag is close to, and to the left of,
lag pole at plag .
5. Lead zero at zlead and lead pole at plead are
selected to put design point on root locus.
6. Lead pole at plead is more negative than lead
zero at zlead .
7. Active circuits are not required to implement.
E1C09 11/03/2010 13:29:59 Page 506
Passive-Circuit Realization
Lag, lead, and lag-lead compensators can also be implemented with passive net-
works. Table 9.11 summarizes the networks and their transfer functions. The transfer
functions can be derived with the methods of Chapter 2.
The lag-lead transfer function can be put in the following form:
1 1
sþ sþ
T1 T2
Gc ðsÞ ¼ ð9:50Þ
1 a
sþ sþ
aT 1 T2
where a < 1. Thus, the terms with T1 form the lead compensator, and the terms with T2
form the lag compensator. Equation (9.50) shows a restriction inherent in using this
passive realization. We see that the ratio of the lead compensator zero to the lead
compensator pole must be the same as the ratio of the lag compensator pole to the lag
compensator zero. In Chapter 11 we design a lag-lead compensator with this restriction.
A lag-lead compensator without this restriction can be realized with an active
network as previously shown or with passive networks by cascading the lead and lag
networks shown in Table 9.11. Remember, though, that the two networks must be
isolated to ensure that one network does not load the other. If the networks load
each other, the transfer function will not be the product of the individual transfer
functions. A possible realization using the passive networks uses an operational
amplifier to provide isolation. The circuit is shown in Figure 9.63. Example 9.10
demonstrates the design of a passive compensator.
Function
Apago PDF Enhancer
Network Transfer function,
Vo ðsÞ
Vi ðsÞ
R2
+ +
1
Lag compensation R2 sþ
R2 R2 C
vi(t) vo(t)
R1 þ R2 1
sþ
C ðR1 þ R2 ÞC
– –
R1
1
Lead compensation + + sþ
R1 C
C 1 1
vi(t) R2 vo(t) sþ þ
R1 C R2 C
– –
R1
+ +
Lag-lead compensation
C1 1 1
R2 sþ sþ
vi(t) vo(t) R1 C 1 R2 C2
1 1 1 1
C2 s þ
2 þ þ sþ
R1 C 1 R 2 C 2 R 2 C 1 R1 R2 C 1 C 2
– –
E1C09 11/03/2010 13:29:56 Page 504
Active-Circuit Realization
In Chapter 2, we derived
Z2(s)
V o ðsÞ Z2 ðsÞ
¼ ð9:44Þ
I2(s) V i ðsÞ Z1 ðsÞ
Z1(s)
Vi (s) V1(s)
– Vo(s) as the transfer function of an inverting operational amplifier whose
Ia(s) configuration is repeated here in Figure 9.60. By judicious choice of Z1(s)
I1(s) + and Z2(s), this circuit can be used as a building block to implement the
compensators and controllers, such as PID controllers, discussed in this
chapter. Table 9.10 summarizes the realization of PI, PD, and PID
controllers as well as lag, lead, and lag-lead compensators using opera-
FIGURE 9.60 Operational amplifier
configured for transfer function realization tional amplifiers. You can verify the table by using the methods of
Chapter 2 to find the impedances.
TABLE 9.10 Active realization of controllers and compensators, using an operational amplifier
Z2 ðsÞ
Function Z1 ðsÞ Z2 ðsÞ Gc ðsÞ ¼ Z1 ðsÞ
R1 R2 R2
Gain
R1
1
R C
Integration RC
s
C R
Differentiation RCs
Apago PDF Enhancer
R1 R C 2 sþ
1
PI controller R2 R2 C
R1 s
C
R2
PD controller 1
R2 C s þ
R1 R1 C
C1
R2 C2 2 3
1
PID controller 6 R2 C 1 R1 C 2 7
6
4 R 1 þ C 2 þ R2 C 1 s þ s 5
7
R1
C1 C2
1
sþ
C1 R1 C1
Lag compensation
R1 R2 C2 1
sþ
R2 C2
where R2 C2 > R1 C1
1
C1 C2 sþ
C1 R1 C1
C2 1
Lead compensation sþ
R2 C2
R1 R2
where R1 C1 > R2 C2
Root Locus – Closed Loop Design using RL
Design Fixed!
Target!
C (s) G (s )
Controller Plant
Im Im Im
Re Re Re
Re
Add a zero
Im Im Im
Re Re Re
Root Locus – Adding Poles/Zeros Remarks
• Adding only zero C ( s ) = K ( s + z ), ( z > 0)
– often problematic because such controller amplifies the
high-frequency noise.
C (s) G (s ) s+z
Controller Plant C (s) = K , ( z > 0, p > 0)
s+ p
Re Re
Root Locus:
Possible Design Point via
gain adjustment
Desired design point that
cannot be met via simple
gain adjustment
One Solution:
Compensate the system with additional poles and
zeros, so that the compensated system has a root
locus that goes through the desired pole location
Compensation techniques (a) Cascade; (b) feedback
9.2 Improving Steady-state error by cascade
PI (Proportional + Integral) compensation
Placing an open-loop pole at the origin:
Increase the system type by one, therefore steady
state error can be improved.
𝐾2
PI Controller transfer function = 𝐾1 +
𝑠
PI controller
Improving System Performance
Ideal Integral Compensation (PI)
Lag Compensation
1 Lag Compensation
1
e(∞)c = = 0.0108
1 + Kpc
the pure second-order system response; c3 ðtÞ, with a third pole close to the
dominant poles, yields the most error.
Students who are using MATLAB should now run ch4p2 in Appendix B.
You will learn how to generate a step response for a transfer
function and how to plot the response directly or collect the
points for future use. The example shows how to collect the points
and then use them to create a multiple plot, title the graph, and
labeltheaxesandcurvestoproducethegraphinFigure4.24tosolve
Example 4.8.
System responses can alternately be obtained using Simulink.
Simulink is a software package that is integrated with MATLAB
to provide a graphical user interface (GUI) for defining systems
and generating responses. The reader is encouraged to study
Appendix C, which contains a tutorial on Simulink as well as
some examples. One of the illustrative examples, Example C.1,
solves Example 4.8 using Simulink.
Another method to obtain systems responses is through the use of
MATLAB’s LTI Viewer. An advantage of the LTI Viewer is that it
displays the values of settling time, peak time, rise time, maximum
response,andthefinal valueonthestepresponseplot.Thereaderis
encouraged to study Appendix E at www.wiley.com/college/nise,
whichcontainsatutorialontheLTIVieweraswellassomeexamples.
Example E.1 solves Example 4.8 using the LTI Viewer.
Design Fixed!
Target!
C (s) G (s )
Controller Plant
Im Im Im
Re Re Re
Re
Add a zero
Im Im Im
Re Re Re
1 Lead Compensation
1 Feedback Compensation
Gc (s) = s + zc
4 4
Ts = = = 3.320
ζωn 1.205
We desire Ts = 3.320/3 = 1.107 for the compensated system.
Thus, the real part of the compensated complex pole,
ζωn = 4/Ts = 4/1.107 = 3.613
The angle made with the positive real-axis must be the same as
before (120.26o ) to maintain 16% overshoot. Therefore we can
determine the imaginary part ωd by trigonometry.
ωd
tan(180o − 120.26o ) =
3.613
ωd = 3.613 tan(180o − 120.26o ) = 6.193
We must now solve for the zero that will place the desired point on
the new RL. At the desired point the sum of angles from the
open-loop poles is −275.6o . To achieve a point on the RL we
require a zero positioned so that the sum of angles equals an odd
multiple of 180o .
−275.6o + θzc = −180o
θz c = 94.6o
What is the coordinate of a zero that makes an angle of 95.6o with
the desired complex pole at −3.613 + j6.193?
6.193
tan(180o − 95.6o ) =
3.613 − σ
σd = 3.006
The RL for the compensated system is as follows:
Notice that the 2nd -order approximation is not as good for the
compensated system. We can determine from simulation that the
following quantities differ from their ideal values:
Ideal Simulated
%OS 16 11.8
Ts 1.107 1.2
Tp 0.507 0.5
A PD controller can be implemented in a similar manner to the PI
controller by placing the proportional and derivative compensators
in parallel:
C (s) G (s ) s+z
Controller Plant C (s) = K , ( z > 0, p > 0)
s+ p
Re Re
Re
-p1 -z 1
s + z1
∠C Lead ( s ) = ∠ = ∠( s + z1 ) − ∠( s + p1 )
s + p1
= θ z − θ p = θ Lead > 0
2009 Spring ME451 - GGZ Week 10-11: Root Locus Page 66
Root Locus – Lag Compensators
• Negative angle contribution
Test point Im
Re
-z 2 -p2
s + z2
∠C Lag ( s) = ∠ = ∠( s + z 2 ) − ∠( s + p2 )
s + p2
= θ z − θ p = θ Lag < 0
2009 Spring ME451 - GGZ Week 10-11: Root Locus Page 67
Root Locus – Rules of Lead/Lag Compensators
• Lead compensator
– Improve transient response
– Improve stability s + z1
C Lead ( s ) = K1
s + p1
• Lag compensator
– Reduce steady state error
s + z2
C Lag ( s ) = K 2
s + p2
• Lead-lag compensator
– Take into account all the above issues.
C LL ( s ) = C Lead ( s )C Lag ( s )
2009 Spring ME451 - GGZ Week 10-11: Root Locus Page 68
Root Locus – Example: Radar Tracking System
4
s(s + 2)
4 C (s) G (s )
G(s) = Controller Plant
s ( s + 2)
Odd number
o
∠G(s)H(s) =180 ×(2k +1), k = 0,±1,±2,...
2 3j
Angle condition is not satisfied.
∠G (−2 + 2 3 j ) = −210
Re
Angle deficiency φ = 30
Desired pole
∠C ( −2 + 2 3 j ) = 30( =: φ ) Im
2 3j
∠GC ( −2 + 2 3 j ) = −180
Re
There are many ways to design such C(s)!
s
∠C Lead ( s ) = θ Lead > 0
• Triangle relations
Re
-p1 -z 1
θ p + θ Lead + (π − θ z ) = π
θ z − θ p = θ Lead
• Draw PC and PD Re
B O
C
φ D
∠CPB = ∠BPD = -p(=-5.4) -z(=-2.9)
2
• Pole and zero of C(s) are shown in the figure.
C1 C2
R4
R2
R1
R3
- -
vi (t ) + + vo (t )
Vo ( s ) R4 R2 R1C1 s + 1
= − − ⋅
Vi ( s ) R3 R1 R2 C 2 s + 1
2009 Spring ME451 - GGZ Week 10-11: Root Locus Page 76
Root Locus – RTS: Lead Compensator Design (7)
• Transfer function z
K
Vo ( s ) R2 R1C1 ( s + R 1C ) R4 R4C1 ( s + R 1C )
C ( s) = = ⋅ = ⋅ 1 1 1 1
Vi ( s ) R1 R2 C2 ( s + R C ) R3 R3C2 ( s + R 1C )
1
2 2 2 2
p
• Lead compensator • Lag compensator
1 Im 1 Im
− −
R2 C 2 R1C1
Re Re
1 1
− −
R1C1 R2 C 2
1.2
0.8
0.6
Lead compensator gives
0.4 • faster transient response
(shorter rise and settling time)
0.2 • improved stability
0
0 1 2 3 4 5
2009 Spring ME451 - GGZ Week 10-11: Root Locus Page 78
Root Locus – RTS: Lead Compensator Design (9)
Error constants (after lead compensation)
4 ( s + 2.9)
G ( s)C Lead ( s ) = ⋅ 4.675
s ( s + 2) ( s + 5.4)
5
K p := lim G ( s )C Lead ( s ) = ∞ 3
s →0
• Ramp-error constant 2
Ramp response
K v := lim sG ( s )C Lead ( s ) = 5.02 1
s →0
0
0 1 2 3 4 5
NOT SATISFACTORY!