Professional Documents
Culture Documents
Lesson 39 Cumulative Review
Lesson 39 Cumulative Review
Lesson 39 Cumulative Review
Section 9.2
Cascade Compensation and
Steady-State Error
Uncompensated System:
Kz1 z 2 !
Kv0 =
p1 p2 !
Compensated System:
K ( z1 z 2 !)zc
K vN =
( p1 p2 !) pc
zc
K vN = K v 0 > Kv0
pc
0.108 1
estep (¥) = = 0.0108 =
10 1 + K pN
zc K pN
K pN = 91.59 =
pc K p 0
= 11.13
Section 9.3
Improving Transient Response
via Cascade Compensation
q 2 - q1 - q3 - q 4 + q5 = (2k + 1) ×180°
qC = q 2 - q1
Imag(Desired Point)
= tan(Required Angle)
p c - Real(Desired Point)
5.252
= tan(7.31°)
p c - 2.014
pc = 42.96
Section 11.3
Design of Lag Compensation
via Frequency Response
Two goals:
1. Improve
static error
constant by
increasing only
the low-
frequency gain.
2. Increase the
phase margin to
yield the desired
transient
response.
s + 0.1
-20dB GC ( s) =
5° to 12° s + 0.01
“LAG”
Section 11.4
Lead Compensation via
Frequency Response
The lead
compensator will
simultaneously
increase the phase
margin while also
increasing the
bandwidth.
1
s+
1 T
GC ( s) = ×
b s+ 1
bT
1
wMAX =
T b
æ 1- b ö
fMAX = tan ç
-1
÷
ç2 b ÷
è ø
1
GC ( jwMAX ) =
b
1. Find wBW.
2. Select K to achieve SS error requirements.
3. Create Bode plot, observe uncompensated phase
margin.
4. Calculate required FM.
5. Determine b from the require phase contribution.
6. Determine |GC(jw)| at wMAX.
7. Determine wFm
8. Design the break frequencies.
9. Reset system gain.
10.Check bandwidth, simulate, and redesign.
Lesson #39: Cumulative Review
Lead Compensation Example 36/66
100K
G( s) =
s( s + 36)(s + 100)
%OS = e
æç -zp
è
1-z 2 ö÷
ø
= 0.20 z = 0.456
p
Tp = (1 - 2z ) +
2
4z 4 - 4z 2 + 2 = 0.1 wBW = 46.6 rad/sec
w BW 1 - z 2
100K
K v = lim sG( s) = = 40
s ®0 36 ×100
K = 1440
Lesson #39: Cumulative Review
Lead Compensation Example Uncomp-
37/66
K = 1440 ensated:
wF = 29.6 rad/s
M
f = -146°
FM = 34°
Target:
z = 0.456
FM = 48.1°
Compensator:
fMAX =
48.1° - 34° + 10°
= 24.1°
Lesson #39: Cumulative Review
Lead Compensation Example 38/66
b = 0.42 wMAX =
11 1
= 25.3 = 60.2
T b T bT
1
GC ( jwMAX ) = 1
s+
b 1 T
GC ( s) = ×
b s+ 1
GC ( jwMAX ) = 1.54
bT
GC ( jwMAX ) = 3.76dB 1 s + 25.3
GC ( s) = ×
wMAX = wF = w0 dB 0.42 s + 60.2
342,600 × (s + 25.3)
M
342,600 × (s + 25.3)
GC ( s) × G( s) =
s( s + 36)(s + 100)(s + 60.2)
Section 11.5
Lag-Lead Compensation via
Frequency Response
æ 1 öæ 1 ö
çs+ ÷ç s + ÷
T1 T2
GC ( s ) = GLEAD ( s )GLAG ( s ) = ç
ç g
֍
֍ 1
÷
÷ (g > 1)
çs+T ÷ç s + gT ÷
è 1 øè 2 ø
• There is an additional constraint on this circuit:
the parameter g replaces the parameter a for the
lag network and the parameter b for the lead
network. We now require that a =1/ b.
• As a result, we may have to make some design
trade-offs.
Lesson #39: Cumulative Review
Lag-Lead Design Procedure 43/66
K v = 12 K = 48
wF = 1.83 rad/s
M
f = -176°
FM = 4°
1 - sin (fMAX ) 1
fMAX = 56° b= = 0.094 g= = 10.6
1 + sin (fMAX ) b
Choose the lag compensator’s upper break
frequency one decade below wFM:
wF = 1.83 rad/s
M
zC , LAG = 0.183 rad/s
The lower break frequency is a factor of g lower:
0.183 rad/s æ
ç s+
1 ö
pC , LAG = 1ç T2
÷
÷ = 0.094 (s + 0.183)
10.6 GLAG ( s ) =
g çs+ 1 ÷ (s + 0.0172 )
pC , LAG = 0.0172 rad/s ç
è gT2 ÷
ø
Lesson #39: Cumulative Review
Lag-Lead Compensator Design Example 48/66
æ 1 ö
1 çs+ ÷
pC , LEAD = = 5.96 rad/sec G ç T1 ÷ = 10.6 (s + 0.56 )
b × T1 LEAD ( s ) = g
ç g ÷ (s + 5.96 )
çs+T ÷
è 1 ø
GLAG - LEAD ( s) =
(s + 0.183)(s + 0.56 )
(s + 0.0172)(s + 5.96)
48(s + 0.183)(s + 0.56 )
GTOTAL ( s) =
s(s + 1)(s + 4)(s + 0.0172)(s + 5.96 )
The system as designed meets or exceeds all
required specifications:
Section 13.4
Transfer Functions in Digital
Control Systems
æ z -1 ö ì 2 1 ü
G( z) = ç ÷ × zí - ý
è z ø î s s + 1þ
æ z -1 ö æ 2z -z ö
G( z) = ç ÷×ç + -T ÷
è z ø è z -1 z - e ø
æ z -1 ö æ 2z z ö
G( z) = ç ÷×ç - ÷ (T=0.5)
è z ø è z - 1 z - 0.607 ø
æ z - 1 ö æ z 2
- 0.213z ö
G( z ) = ç ÷ × çç ÷÷
è z ø è (z - 1)(z - 0.607) ø
z - 0.213
G( z) =
z - 0.607
Lesson #39: Cumulative Review
53/66
Section 13.10
Cascade Compensation
Design via the S-Plane
3. Implement the
compensator using an
algorithm:
Lesson #39: Cumulative Review
The Tustin Transformation 56/66
1
G p ( s) =
s( s + 6)(s + 10)
1977 × (s + 6)
Ge ( s) =
s( s + 6)(s + 10)(s + 29.1)
1977 × (s + 6) 2( z - 1)
GC ( s) = s=
(s + 29.1) T ( z + 1)
æ 2( z - 1) ö
1977 × çç + 6 ÷÷
è T ( z + 1) ø
GC ( z ) =
æ 2( z - 1) ö T = 0.01
çç + 29.1÷÷
è T ( z + 1) ø
1778 z - 1674
GC ( z ) =
z - 0.746
Lesson #39: Cumulative Review
Digital Compensator Example 60/66
Section 13.11
Implementing the Digital
Compensator
X ( z ) a3 z + a2 z + a1 z + a0
3 2
GC ( z ) = =
E( z) b2 z + b1 z + b0
2
(b z
2
2
) (
+ b1 z + b0 X ( z ) = a3 z + a2 z + a1 z + a0 E ( z )
3 2
)
2
( 3 2
)
b2 z X ( z ) = a3 z + a2 z + a1 z + a0 E ( z ) - (b1 z + b0 )X ( z )
æ a3 a2 a1 -1 a0 -2 ö æ b1 -1 b0 -2 ö
X ( z ) = çç z + + z + z ÷÷ E ( z ) - çç z + z ÷÷ X ( z )
è b2 b2 b2 b2 ø è b2 b2 ø
a3 * a a a b b
x* (t ) = e (t + T ) + 2 e* (t ) + 1 e* (t - T ) + 0 e* (t - 2T ) - 1 x* (t - T ) - 0 x* (t - 2T )
b2 b2 b2 b2 b2 b2
X ( z ) a2 z + a1 z + a0
2
GC ( z ) = =
E ( z ) b2 z + b1 z + b0
2
a2 * a1 * a0 * b1 * b0 *
x (t ) = e (t ) + e (t - T ) + e (t - 2T ) - x (t - T ) - x (t - 2T )
*
b2 b2 b2 b2 b2
a2 * a1 * a0 * b1 * b0 *
x (t ) = e (t ) + e (t - T ) + e (t - 2T ) - x (t - T ) - x (t - 2T )
*
b2 b2 b2 b2 b2
z + 0.5 X ( z)
GC ( z ) = 2 =
z - 0.5 z + 0.7 E ( z )
(z 2
)
- 0.5z + 0.7 X ( z ) = (z + 0.5)E ( z )
( ) ( )
X ( z ) = z -1 + 0.5z -2 E ( z ) + 0.5z -1 - 0.7 z -2 X ( z )