Solution 6.8.3.2
The root locus is shown in Figure 1. Eventually two limbs of the root locus
Im(s)
Re(s)
-30
-2 -1
Figure 1: Root locus
will cross into the righthalf plance, but near the origin the pole at s = ;30
has very little in
uence on the root locus. Near the origin the root locus
looks very like that of the simpler transfer function
G(s)=
K
s(s +2)
:
So a good place to start looking for the roots is s = ;1j!, where
! = 1
"p
1;
2
#
= 0:75:
1
1 1.05 1.1 1.15 1.2 1.25 1.3 1.35 1.4 1.45 1.5
170
175
180
185
190
195
Figure 2: Angle versus jsj = !
n
Indeed, the contribution of the pole at s = ;30 at s = ;1+j0:75 is 2:2605
.
The MATLAB program
p1 =0
p2 = 2
p3 = 20
zeta = 0.8
omegan =linspace(1,1.5,200);;
s=-zeta*omegan + j* omegan *sqrt(1-zeta^2);;
ang = (angle(s + p1)+angle(s+p2)+angle(s+p3))*180/pi;;
plot(omegan,ang)
print -deps 6832a.eps
creates the plot shown in Figure 2. Wesee that the root locus crosses
the rayofconstant damping ratio =0:8ats = ;0:82. Indeed, at s =
;0:9608+ j7206, where the net angle is 180:03
.
Then the gain to place closed loop poles at s = ;0:83 + j3is
K = jsjjs+2jjs+20jj
s=;0:9608+j0:7206
=28:9371:
The natural frequency of the closed loop poles is
!
n
=
p
0:9608
2
+0:7206
2
=3:1127:
2
The MATLAB program
p1 =0
p2 = 2
p3 = 20
zeta = 0.8
omegan =linspace(1,1.5,200);;
s=-zeta*omegan + j* omegan *sqrt(1-zeta^2);;
ang = (angle(s + p1)+angle(s+p2)+angle(s+p3))*180/pi;;
plot(omegan,ang)
print -deps 6832a.eps
s=-zeta*omegan(81) + j*omegan(81)*sqrt(1-zeta^2)
K=abs(s + p1)*abs(s+p2)*abs(s+p3)
omegana = omegan(81)
zeta = 0.8
sc = conj(s)
tn2 = zpk([],[s sc],omegana^2)
g=zpk([],[0 -2 -20],K)
tc = feedback(g,1)
T=linspace(0,5,200);;
[Yn2,T] = step(tn2,T);;
[Ytc,T] = step(tc,T);;
plot(T,Yn2,'k-',T,Ytc,'k--')
print -deps sr6832.eps
Prints and plots the step responses of T
c
(t) and T
N2
(t) shown in Figure 3
3
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
0
0.2
0.4
0.6
0.8
1
1.2
1.4
T
N2
T
C
Figure 3: Comparison of step responses
4