Solution 7.9.4.2
Σ
G
C
G
P
+
R
C
Figure 1: Cascade Compensation with UnityFeedback
Part (a)
For the system of Figure 1 wehave
G
p
=
1
s(s+0:5)
and G
c
= k
pd
+ k
d
s:
The PD compensator can be put in the form:
G
c
= k
d
s+ k
pd
= k
d
(s+k
pd
=k
d
)=k
d
(s+a);;
whichisapurezero. The calculation of k
d
and the ratio k
pd
=k
d
is based on
Figure 2. Eachofthe vectors in Figure 2 is the polar representation of one
of the factors in G
c
G
p
evaluated at s = ;3+j2. That is the vector V
1
is
the polar representation of the factor s in the denominator of G
c
G
p
, V
2
the
polar representation of the factor s+0:5, and V
3
the polar representation of
s +a.Thus,
G
c
G
p
(s) j
s=;3+j2
=
K
c
jV
3
j
6
(jV
1
j
6
1
)(jV
2
j
6
2
)
=
K
c
jV
3
j
jV
1
jjV
2
j
6
(;
1
;
2
)
The evaluation of G
c
G
p
at s = ;3+j2hasnowbeen broken down into
acomposite magnitude and a composite angle. For the root locus to pass
through this point, wemust have
;
1
;
2
= ;180
:
Since all the angles except are known, wecanwrite
=
1
+
2
;180
=
h
180
;tan
;1
(2=3)
i
+
h
180
;tan
;1
(2=2:5)
i
;180
= 146:31
+141:34
;180
=107:65
1
θ
1
θ
2
-0.5
α
-3 -a
Im(s)
Re(s)
2
V
3
=
s + a
V
2 =
s + 0.5
V
1 =
s
Figure 2: Satisfaction of Angle Condition For Desired Closed Loop Poles
Then
a = 3;
2
tan(180
;107:65
)
= 3;
2
tan(72:35
)
= ;2:364:
The gain that places a closed loop pole at s = ;3+j2, and another at
s = ;3;j2isobtained by solving
K
c
jV
3
j
jV
1
jjV
2
j
=1;; (1)
or
K =
jV
1
jjV
2
j
jV
3
j
;; (2)
at s = ;3+j2. The gain to place the poles at this location is then
K =
p
13
p
10:25
p
4:405
=5:5:
The PD compensator is then
G
c
=5:5(s+2:364):
2
Since k
d
=5:5, and
k
pd
k
d
=2:364;;
wehave
k
pd
= 2:364k
d
=2:3645:5 ! 13:
Part (b)
K
v
= lim
s!0
sG
c
(s)G
p
(s)=lim
s!0
s
5:5(s+2:364
s(s+0:5)
=
5:52:364
0:5
=26
Then the steady state error to a ramp input is
e
ss
=
1
K
v
=
1
26
=0:0385;;
or less than four percent.
Part (c)
To nd the time response we rst nd the closed loop system in factored
form. The system has two closed loop poles, and one zero. The location of
the twoclosed loop poles is known, namely s = ;3j2. The root locus of
the compensated system is shown in Figure 3.
We see that one closed loop pole will be almost on top of the zero at
s = ;1:002 The other twoclosedlooppoles will be at approximately s =
;3j2. Thus the closed loop system in factored form is:
T
c
(s)=
5:5(s+2:364)
(s+3;j2)(s+3+j2)
The output C(s) for a step is
C(s) =
1
s
T
c
(s)
=
5:5(s+2:364)
s(s+3;j2)(s+3+j2)
At this pointweknowthegeneral form of c(t). That is,
c(t)=
h
1+2jMje
;3t
cos(2t+ )
i
1(t);;
3
Im(s)
-2.36
2
-3
Desired Closed Loop Poles
Re(s)
Figure 3: Root Locus of Compensated System
where =
6
M.Soweknow quite a bit. What remains to be done is to nd
the constants B and M.
M = (s+3;j2)C
c
(s) j
s=;3+j2
= (s+3;j2)
5:5(s+2:364)
s(s+3;j2)(s+3+j2)
s=;3+j2
= 0:8
6
;2:246 rad:
Thus, nally wehave
c(t)=
h
1+1:6e
;3t
cos(2t;2:246)
i
1(t)
The time response is shown in Figure 4.
4
0
0.5
1
1.5
Closed Loop Response
012345
Time in Seconds
Figure 4: Step Response of Compensated System
5