Professional Documents
Culture Documents
William J. Murphy
Washington University in St. Louis
Reference: Nise (2000): Chapter 9
06/04/09
EE/ME/CHE 431
Topics
Improving Steady-State Error
Improving Transient Performance
Improving both Steady-State and Transient Performance
Special-Purpose Compensators: Notch Filters
Feedback Compensation
06/04/09
EE/ME/CHE 431
Design Configurations
06/04/09
EE/ME/CHE 431
EE/ME/CHE 431
06/04/09
EE/ME/CHE 431
PI Compensation Method
(a) Point A
provides good
transient
performance but
gain is too small
for good steadystate
performance.
(b) Adding pole at
origin (Integral
Controller)
distorts root locus.
Operation at Point
A no longer
possible.
06/04/09
EE/ME/CHE 431
PI Compensation Method
Adding zero reshapes root
locus restoring point A as
a viable solution; thereby
restoring transient
performance.
Integral action has
increased system type;
thereby improving steadystate performance.
06/04/09
EE/ME/CHE 431
Lag Compensator
Gc =
K ( s + zc )
(s+
pc )
Compensator Gain = K * z c / pc
1) Select K to obtain desired closed - loop poles without compensator.
2) Select z c / pc ratio large so that steady - state performance is met.
3) Select p c close to origin and z c slightly to left (dipole) so that locus
is unchanged in vicinity of dominant pole pair.
06/04/09
EE/ME/CHE 431
06/04/09
EE/ME/CHE 431
Example 9.1
Problem: Given the gain
compensated system (a),
show that the PI
compensation reduces the
steady-state error without
significantly affecting the
transient response.
06/04/09
EE/ME/CHE 431
10
Example 9.1:
Gain Compensated System
K is selected to obtain a
damping ratio of 0.174.
K=164.6
Kp = 164.6/(1*2*10) = 8.23
e_steady-state = 1/
(1+8.23) = 0.108
06/04/09
EE/ME/CHE 431
11
Example 9.1:
PI Compensated System
Insert pole at s=0 and compute
angle from positive real axis to
desired closed-loop pole location.
Insert zero so that angle from
zero to desired dominant pole
location approximately equals that
of the added pole.
Calibrate (find value of K) that
establishes desired dominant
closed-loop poles.
Check closed-loop poles and
zeros to make sure desired poles
are dominant.
06/04/09
EE/ME/CHE 431
12
Example 9.1:
Performance Comparison
Transient
performances are
nearly identical.
PI compensated
system has zero
steady-state error for
step input - Type 1
performance.
06/04/09
EE/ME/CHE 431
13
EE/ME/CHE 431
14
EE/ME/CHE 431
15
K adjusted to
158.1 to retain
desired damping
ratio. Kp=87.75
Steady-state
error = 0.011.
06/04/09
EE/ME/CHE 431
16
Example 9.2:
Step Response Comparison
06/04/09
EE/ME/CHE 431
17
06/04/09
EE/ME/CHE 431
18
EE/ME/CHE 431
19
Proportional-plus-Derivative
(PD) Compensator
G c ( s ) = K1 + K 2 s = K 2 ( s +
K1
) = K ( s + zc )
K2
K2
= K1 (1 +
s)
K1
06/04/09
EE/ME/CHE 431
20
Using PD Compensation
06/04/09
EE/ME/CHE 431
21
06/04/09
EE/ME/CHE 431
22
06/04/09
EE/ME/CHE 431
23
Lead Compensation
( s + zc ) Kc ( s + zc )
1
G c ( s) = K c
=
K ( s + z c ) for
small.
( s + pc )
pc 1
pc
( s + 1)
pc
06/04/09
EE/ME/CHE 431
24
Example 9.3
Lead Compensator Design
Problem: Given the feedback control system
below,
design a lead compensator to yield a 16%
overshoot with
a threefold reduction in settling time.
06/04/09
EE/ME/CHE 431
25
06/04/09
EE/ME/CHE 431
26
MATLAB Code:
pc=15;Gc=zpk(-zc,pc,43.35*pc),
Gp=zpk([],[0 -4 -6],1);G=Gc*Gp
15
10
Zero/pole/gain:
650.25 (s+3.064)
-------------------s (s+15) (s+6) (s+4)
rlocus(G),hold,
rlocus(G,1),sgrid
Im a g A x is
-5
-1 0
-1 5
-2 0
-1 8
-1 6
-1 4
-1 2
-1 0
-8
-6
-4
-2
R e a l A x is
06/04/09
EE/ME/CHE 431
27
15
10
Im a g A x is
-5
-1 0
-1 5
-2 0
-1 8
-1 6
-1 4
-1 2
-1 0
-8
-6
-4
-2
R e a l A x is
06/04/09
EE/ME/CHE 431
28
Lead Compensator
Step Response
S te p R e s p o n s e
F ro m : U (1 )
1 .4
MATLAB Code::
1 .2
Gc=gain_adjustment*Gc
T o : Y (1 )
A m p lit u d e
0 .8
Zero/pole/gain:
379.3989 (s+3.064)
-----------------(s+15)
0 .6
0 .4
0 .2
0
0
0 .5
1 .5
2 .5
T im e (s e c . )
06/04/09
EE/ME/CHE 431
29
KI
KP
KI
2
G c ( s) = K p +
+ K D s = K D (s +
s+
)/s
s
KD
KD
Lag-lead Compensation
G c ( s) =
06/04/09
1
1
s
+
s
+
T
T
1
2
1
s+
s+
T1
T2
where < 1
EE/ME/CHE 431
30
Basic Approach to
PID & Lag-Lead Compensation
06/04/09
EE/ME/CHE 431
31
Example 9.5
Problem: Given the system below, design a PID controller
so that the system can operate with a peak time two-thirds that
of the uncompensated system at 20% overshoot and with zero
steady-state error for a step input.
EE/ME/CHE 431
32
06/04/09
EE/ME/CHE 431
33
Example 9.6
Problem: Design a lag-lead compensator for the system
below so that it will operate with 20% overshoot and a
twofold reduction in settling time. Also, the compensated
system should exhibit a tenfold improvement in steady-state
error for a ramp input.
EE/ME/CHE 431
34
06/04/09
EE/ME/CHE 431
35