Modern Control Engineering Problems CH 8 PDF
Modern Control Engineering Problems CH 8 PDF
Modern Control Engineering Problems CH 8 PDF
dw
-I'
--0.2
0r
0.2 sec.
The presence of transport lag can thus be determined, and the complete transfer function determined from the experimental curves i s
330(x + 7 ) e f i 2 '
G'isje-" =
s(s
+ I)(.s2 + N.Y f
.-
64)
(This is the same system considered in Problem A-6-8.) Clearly, the closed-loop poles are located at s = -2 and s = -5, and the system is not oscillatory. (The unit-step response, however, exhibits overshoot due to the presence of a zero at s = -1. See Figure h-46.)
Show that the closed-loop f r e q ~ u n c yresponse of this systcm will exhibit a resonant peak. although the dumping ratio o f the closed-loop poles is greater than unity.
Solution. Q u r c 8-92 shows the Bodc diagram for- the system. The resonant peak value is npproximately 3.5 dB. (Note that, in the abscnce of n zero. thc second-order system with [ ;-0.7 \\ill
not exhibit a resonant peak; ho\vevcr, the presence of a closed-loop zero will cause such a peak.,)
A-8-2.
+ Bu
+ Du
is given by
Y ( s ) = G(s)U(s)
where G ( s ) is the transfer matrix and is given by
Hence
) follows:
Assuming that U 2 ( j w ) = 0, we find Y , ( j w ) / U , ( j w ) and Y 2 ( j w ) / U , ( j w as
U2(jw)
( j ~+)4jw
~
+ 25
y2(jw) --
jw - 25
( j ~ +) 4jw
~ + 25
- 2
)
Notice that Y,(jw)/U2(jw)is a nonminimum-phase transfer function.
A-8-3.
Referring to Problem A-8-2, plot Bode diagrams for the system, usillg MATLAB
Solution. MATLAB Program 8-14 produces Bode diagrams for the system. There are four sets of
Bode diagrams: two for input 1 and two for input 2. These Bode diagrams are shown in Figure 8-93.
B = [ l 1;o 11;
0;o 1 I;
D = [O 0;o 01;
c = [l
bode(A,B,C,D)
From: U ,
Figure 8-93
Bode diagrxns
Example Problems and Solutions
Bode D~agrams
From: ti2
Figure 8-94
Closed-loop system.
A-8-4.
Using MATLAB, plot Bode diagrams for the closed-loop system shown in Figure 8-94 for K = 1,
K = 10, and K = 20. Plot three magnitude curves in one diagram and three phase-angle curves
in another diagram.
K
R ( s ) s ( s + l)(s + 5) + K
K
s3 + 6s' + 5s + K
Hence the numerator and denominator of C ( s ) / R ( s )are
C(s) -
num=[O 0 0 K ]
den = 11 6 5 K]
A possible MATLAB program is shown in MATLAB Program 8-15.The resulting Bode diagrams
are shown in Figures 8-%(a) and (b).
w = logspace(-1,2,200);
for i = 1 :3;
if i = 1; K = l;[mag,phase,wl = bode(I0 0 0 K1,[1 6 5 K1,w);
mag1dB = 20*log1 O(mag); phase1 = phase; end;
if i = 2; K = 1O;[mag,phase,w] = bode([O 0 0 K], [I 6 5 K],w);
mag2dB = 20*log1 O(mag); phase2 = phase; end;
if i = 3; K = 20;[mag,phase,w] = bode([O 0 0 K],[1 6 5 K],w);
mag3dB = 20*log1 0(mag); phase3 = phase; end;
end
semilogx(w,magl dB,'-',wImag2dB,'-',w,mag3dB,'-')
grid
title('Bode Diagrams of G(s) = K/[s(s + 1)(s + 5)], where K = 1, K = 10, and K = 20')
xlabel('Frequency (rad/secI1)
ylabel('Gain (dB)')
text(1.2,-31 ,'K = 1')
text(1 .l ,-8,'K = 10')
text(l1,-31 , ' K = 20')
semilogx(w,phasel ,'-',wIphase2, '-'I~Iphase3,'-')
grid
xlabel('Frequency (rad/secI1)
ylabel('Phase (deg)')
text(0.2,-90,'K = 1 ')
text(0.2,-20,'K = l o ' )
text(1.6,-20,'K = 20')
Frequency (radlscc)
(2)
Figure 8-95
Bode diagra ns:
(a) Magnitudeversus-frequzncy
curves: (b) phaseangle-versusfrequency citrves.
A-8-5.
where
Then
Hence, we see that the plot of G ( j w ) is a circle centered at (0.5,O) with radius equal to 0.5.The
upper semicircle corresponds to 0 5 w 5 co, and the lower semicircle corresponds to
-co 5 0 5 0.
A-8-6.
Prove the following mapping theorem: Let F ( s ) be a ratio of polynomials in s. Let P be the number of poles and Z be the number of zeros of F ( s ) that lie inside a closed contour in the s plane,
with multiplicity accounted for. Let the closed contour be such that it does not pass through any
poles or zeros of F ( s ) . T h e closed contour in the s plane then maps into the F ( s ) plane as a closed
curve.The number N of clockwise encirclements of the origin of the F ( s ) plane, as a representative points traces out the entire contour in the s plane in the clockwise direction, is equal to Z - P.
Solution. To prove this theorem, we use Cauchy's theorem and the residue theorem. Cauchy's
theorem states that the integral of F ( s ) around a closed contour in the s plane is zero if F ( s ) is
analytic within and on the closed contour. or
where X ( s ) is analytic in the closed contour in the s plane and all the poles and zeros are located
F(s) = (s
+Z~)~X(S)
then F ( s ) has a zero of kth order at s = -zl. Differentiating F ( s ) with respect to s yields
F 1 ( s )= k ( s 4 z , ) ~ - ' x ( s )+
(S
+ z,)~x'(s)
Hence,
If the last term on the right-hand side of Equation (8-26) does not contain any poles or zeros
in the closed contour in the s plane, F f ( s ) / F ( s )is analytic in this contour except at the zero
s = -zi .Then, referring to Equation (8-25) and using the residue theorem, which states that the
integral of F ' ( . s ) / F ( s )taken in the clockwise direction around a closed contour in the .r plane is
equal to -27i-j times the residues at the simple poles of F ' ( s ) / F ( s ) or
,
we have
where
Z = k , + h 2 + . . - = total number of
contour in the s plane
/eras
[The k multiple zeros (or poles) are considered k zeros (or poles) located at the same point.]
Since F ( s ) is a complex quantity, F ( s ) can be written
and
r ) be written
Notins that F r ( ~ ) / F ( can
we obtain
If the closed contour in the .s plane is mapped into the closed contour
The integral $,.ri In(F1is zero since the magnitude I n J F /1s the same at the initial point and the final
point of the contour 1: Thus we obtain
The angular difference between the final and initial values of 0 is equal to the total change in
the phase angle of F f ( s ) / F ( s )as a representative point in the s plane moves along the closed
contour. Noting that N is the number of clockwise encirclements of the origin of the F ( s ) plane
and B2 - 0, is zero or a multiple of 2 n sad, we obtain
'"
Figure 8-96
Determination of
encirclement of the
origin of F ( s ) plane.
F(s) Plane
""
F(s) Plane
Origin encircled
02-01=2r
(a)
('J)
Figure 8-97
(a) Nyquist plot;
(b) complete Nyquist
plot in the G plane.
(4
Chapter 8 / Frequency-Response Analysis
Solution. Figure 8-97(b) shows a complete Nyquist plot in the G plane.The answers to the three
questions are as follows:
(a) The closed-loop system is stable, because the critical point (-I
Nyquist plot.That is,since P = O and N = O. we have Z = N
+ P = 0.
(b) The open-loop transfer function has one pole in the right-half s plane. Hence, P = 1. (The
open-loop system is unstable.) For the closed-loop system to be stable, the Nyquist plot must
encircle the critical point (-1 + JO) once counterclockwise. However, the Nyquist plot does
not encircle the critical point. Hence, N = U.Therefore, Z = N + P = 1.The closed-loop system is unstable.
(c) Since the open-loop transfer function has one zero, but no poles, in the right-half s plane, we
have Z = N + P = O.Thus, the closed-loop system is stable. (Note that the zeros of the
open-loop transfer function do not affect the stability of the closed-loop system.)
A-8-8.
Is a closed-loop system with the following open-loop transfer function and with K
2 stable?
- -- K
-3w2 c jw(1
2w2)
This open-loop transfer function has no poles in the right-half s plane. Thus, for stability, the
-1 + jO point should not be encircled by the Nyquist plot. Let us find the point where the Nyquist
plot crosses the negative real axis. Let the imaginary part of G(jw)H(jw) be zero, or
I
2w2 = 0
from which
Hence,
1s
unstable
597
Figure 8-98
Closed-loop system
A-8-9.
Consider the closed-loop system shown in Figure 8-98. Determine the critical value of K for stability by the use of the Nyquist stability criterion.
is a circle with center at - K / 2 on the negative real axis and radius K / 2 , as shown in Figure 8-99(a).
As w is increased from -oo to oo,the G ( j o ) locus makes a counterclockwise rotation. In this system, P = 1 because there is one pole of G(s) in the right-half s plane. For the closed-loop system
to be stable, Z must be equal to zero.Therefore, N = Z - P must be equal to -1, or there must
be one counterclockwise encirclement of the -1 + jO point for stability. (If there is no encirclement of the -1 + jO point, the system is unstable.) Thus, for stability, K must be greater than
unity, and K = 1gives the stability limit. Figure 8-99(b) shows both stable and unstable cases of
G ( j w ) plots.
'"
G Plane
G Plane
Figure 8-99
(a) Polar plot of
K / ( h - 1);
(b) polar plots of
K /(jw - 1 ) for
stable and unstable
cases.
598
(Stable)
P= 1
N=O
Z=1
(Unstable)
A-8-10.
K(cos0.8w
j sinO.$w)(l
1 + a12
jw)
--
0.80~
Solving this equation for the smallest positive value of w, we obtain
w = -tan
w = 2.4482
Substituting w
C(j2.4482)
K
1
+ 2.44822
(cos 1.9586
The critical value of K for stability is obtained by letting G(j2.4482) equal -1. Hence,
0.378K
or
K = 2.65
Figure 8-100 shows the Nyquist or polar plots of 2 . 6 5 ~ " ~ ' " i (+l jw) and 2.65/(1 + jw).The firstorder system without transport lag is stable for all values of K, but the one with a transport lag of
0.8 sec becomes unstable for K > 2.65.
Figure 8-100
Polar plots cf
2.65e-"81w/(1 + jw)
and 2.65/(1 + jw).
Example Problems and Solutions
A-8-11.
Draw a Nyquist plot with MATLAB and examine the stability of the closed-loop system.
Solution. MATLAB Program 8-16 produces the Nyquist diagram shown in Figure 8-101. From
this figure, we see that the Nyquist plot does not encircle the -1 + jO point. Hence, N = 0 in the
Nyquist stability criterion. Since no open-loop poles lie in the right-half s plane, P = 0. Therefore,
Z = N + P = 0. The closed-loop systemis stable.
MATLAB Program 8-1 6
num = [O 20 20 101;
den = [ I 11 10 01;
nyquist(num,den)
v = [-2 3 -3 31; axidv)
grid
Nyquist Diagram
Figure 8-101
Nyquist plot of
G(s) =
+ s + 0.5)
s(s + l ) ( s + 10)
20(s2
A-8-12.
Real Axis
'
Consider the same system as discussed in Problem A-8-11. Draw the Nyquist plot for only the
positive frequency region.
Solution. Drawing a Nyquist plot for only the positive frequency region can be done by the use
of the following command:
[re,im,w] = nyquistinum,den,w)
The frequency region may be divided into several subregions by using different increments. For
example, the frequency region of interest may be divided into three subregions as follows:
w l = 0.1 :0.1 :I 0;
w2 = 10:2:100;
w3 = 100:10:500;
w = [wl w2 w31
Chapter 8 / Frequency-Response Analysis
MATLAB Program 8-17 uses this frequency region. Using this program. we obtain the Nyquist
plot shown in Figure 5-102.
den = [ I 11 10 01;
w l = 0.1:0.1:10; w 2 = lO:L:IO0; w3 = 100:
LV = [wl w2 w31;
[re,im,w] = nyquist(num,den,w);
plot(re,im)
L, = [-3 3 -5 I I; axis(vj
grid
title('Nyquist Plot of G(s) = 20(sA2 + s + O . ~ ) / [ S (+S1 )(s + 1 0)11)
xlabel('Real Axis')
ylabel('lmag Axis')
Figure 8-102
Nyquist plot for the
positive t'rec1:lency
region.
A-8-13.
20(s2
xis
+ l)(.s
4-
where
0.5 j
+ 10)
Locatc on the polar locus frequency points nhere 0) = 0.2. 0.3. 0.5, 1. 2.0 , JO, and 20 rucl.:'scc
Also. find the ~nagnitudesand phase angles of G ( j w ) a t the spccilied frequency points.
60 1
frequency vector w = logscale(d,, d,, n). MATLAB Program 8-18 uses the following frequency vector:
This MATLAB program plots the polar locus and locates the specified frequency points on the
polar locus, as shown in Figure 8-103.
YO ----- The following table shows the specified frequency values w and
% the corresponding values of magnitude and phase (in degrees) ----[ w mag phase]
Figure 8-103
Polar plot of G ( j o )
given in Problem
A-8-13.
Real Axis
+ 6)/(sA2 + 5s + 4)')
603
Figure 8-104
Nyquist plot for
positive-feedback
system.
Real Axis
Note that the Nyquist plot for the positive-feedback case is a mirror image about the imaginary
axis of the Nyquist plot for the negative-feedback case.This may be seen from Figure 8-105, which
was obtained by use of MATLAB Program 8-20. (Note that the positive-feedback case is unstable, but the negative-feedback case is stable.)
Use thls N y q u ~ s t
plot for negative
feedback system
Figure 8-105
Nyquist plots for
positive-feedljack
system and negativefeedback system.
Figure 8-106 shows a block diagram of a space vehicle control system. Determine the gain K such
that the phase margin is 50". What is the gain margin in this case?
Solution. Since
we have
/G(jw) = /jw
+2
2/10
tan-'
o
-
- 180"
The requiremellt that the phase margin be 50" means that / ~ ( j w , ) must be equal to -130, where
w, is the gain crossover frequency, or
Hence, we set
tan-'
0,
-=
50'
Since the phase curve never crosses the -180" line, the gain margin is +oo dB. Noting that the
magnitude of G ( j o ) must be equal to O dB at o = 2.3835, we have
Figure 8-106
Space vehicle control
system.
Example Problems and Solutions
is given by
show that the bandwidth a,,
w,/w,,
versus 5.
Solution. The bandwidth w,, is determined from l ~ ( j w , ) / ~ ( j o ,=) ] -3 dB. Quite often, instead of
-3 dB, we use -3.01 dB, which is equal to 0.707.Thus,
'Then
d(.t
0.707
+ (21w,.w,J2
( w J ~ , , yields
)~
Frequency-Response Analysis
Figure 8-10;'
Curve of cob,W,
versus 5, where w, is
the bandwidth.
A-8-17.
Solution. A possible MATLAB program is shown in MATLAB Program 8-21. The resulting
Nyquist diagrams are shown in Figure 8-109. From the diagrams, we see that the system is stable
when K = I.It is critically stable when K = 7.5.The system is unstable when K = 20.
A-8-18.
Figure 8-110 shows a block diagram of a chemical reactor system. Draw a Bode diagram of G(jw).
Also, draw the G(jw) locus on the Nichols chart. From the Nichols diagram, read magnitudes and
phase angles of the closed-loop frequency response and then plot the Bode diagram of the closedloop system G(jw),![l + ~ ( j o ) ] .
Solution. Noting that
Figure 8-1118
Control system.
Example Problems and Solutions
N y q ~ ~ iDiagrams
st
of G(.s)H(s)= lOK/[s(.s + S)(O.ls
Figure 8-109
Nyquist diagrams.
Figure 8-110
Block diagram of a
chemical reactor
system.
-5
-3
-4
-2
Rcal Axis
-1
+ I)]for K =
1, 7.5, and 20
we have
le-""" = /cos(O.lw)
- j sin(0.lw] = - 0 . 1 ~
(rad)
Figure 8-11 1
Bode cliagr.lm of
G(jw) of the system
shown in F ~ g u r e
8-110.
0.1
0.2
0.4 0.6
609
Figure 8-112
G ( j w ) locus
superimposed on
Nichols chart
(Problem A-8-18).
Figure 8-113
Bode diagram of the
closed-loop
frequency response
(Problem A-8-18).
610
A-8-19.
A Bode diagram of the open-loop transfer function G(s j of a unity-feedback control system is
shown in Figure 8-1 14. It is known that the open-loop transfer function is minimum phase. From
the diagram, it can be seen that there is 21 pair of complex-conjugate poles at w = 2 rad/sec.
Determine the damping ratio of the quadratic term involving these complex-conjugate poles.
Also, determine the transfer function G ( s ) .
Solution. Referring to Figure 8-9 and examining the Bode diagram of Figure 8-1 14, we find thc
damping ratio (' and undamped natural frequency w,, of the quadratic term to be
5 = 0.1,
w,, = 2 rad/sec
Noting that there is another corner frequency at w = 0.5 rad/sec and the slope of the magnitude
curve in the low-frequency region is -40 dB/decade, G ( j w ) can be tentatively determined as
follows:
Since, from Figure 8-1 14, we find IG(jO.l)l = 40 dB, the gain value K can be determined to he utlity.
Also, the calculated phasc curve, / G ( j w j versus w, agrees with the given phase curve. Hence, thc
transfer function G ( s ) can be determined to be
Figure 8-114
f3ode diagram ot the
open-loop t~ansfer
lunclwn of , I unltyleedback control
hystem
A-8-20.
A closed-loop control system may include an unstable element within the loop. When the Nyquist
stability criterion is to be applied to such a system, the frequency-response curves for the unstable element must be obtained.
How can we obtain experimentally the frequency-response curves for such an unstable element'! Suggest a possible approach to the experimental determination of the frequency response
of an unstable linear element.
Solution. One possible approach is to measure the frequency-response characteristics of the unstable element by using it as a part of a stable system.
Consider the system shown in Figure 8-115. Suppose that the element G,(s) is unstable.The
complete system may be made stable by choosing a suitable linear element G,(s). We apply a sinusoidal signal at the input.At steady state, all signals in the loop will be sinusoidal. We measure
the signals e(t), the input to the unstable element, and x(t), the output of the unstable element.
By changing the frequency [and possibly the amplitude for the convenience of measuring e ( t )
and x(t)] of the input sinusoid and repeating this process, it is possible to obtain the frequency response of the unstable linear element.
PROBLEMS
B-8-1. Consider the unity-feedback system with the openloop transfer function:
10
G(s) = --s + l
Obtain the steady-state output of the system when it is subjected to each of the following inputs:
(a)
G(s) = ------
612
> T2 > 0)
B-8-6.
ahow that
C(s)
G(s)
+ 1)
s(s2 + 0.8s + 9
)
Given
(7'1
4
+ 2{w,s + w;
--
s2
This is a nonn~inimum-phasesystem.Two of the three openloop poles are located in the right-half s plane as follows:
Open-loop poles at J
Using the Nyquist stability criterion, determine the stability of the closed-loop system.
-1.4656
+ ~)(T,s+ I )
K(T,,S
=
s2(Ts + 1)
1
s'
+ 0.22 + s + 1
G ( s )=
s2 + 2s + 1
s 3 + 0.2s2 + s + 1
ol'
Suppose that we choose the Nyquist path as shown in Figure 8-117. Draw the corresponding G(jw)locus in the G(s)
plane. Using the Nyquist stability criterion, determine the
stability of the system.
Figure 8-117
Nyquist path.
B-8-18. Consider the closed-loop system shown in Figure
8-1 18. G(s)has no poles in the right-half s plane.
If the Nyquist plot of G(s) is as shown in Figure
8-1 19(a), is this system stable?
If the Nyquist plot is as shown in Figure 8-119(b), is this
system stable?
(b)
Figure 8-119
Nyquist plots.
Figure 8-118
Closed-loop system.
6 14
Chapter 8 /
Figure 8-120
Nyquist plot.
Frequency-Response Analysis
Figure 8-121
Control systcm.
B-8-21. Consider a negative-feedback system with the following open-loop transfer function:
Plot the Nyquist diagram of G(s). If the system were a positivc-feedback one with the same open-loop transfer function G(s), u h a t would the Nyquist diagram look like?
There are four individual Nyquist plots involved in this system. Draw two Nyquist plots for the input u, in one diagram
and two Nyquist plots for the input u2 in another diagram.
Write a MATLAB program to obtain these two diagrams.
for k
Figure 8-123
Control system.
Figure 8-122
Closed-loop system.
Problems
Figure 8-124
Control system.
Figure 8-126
Process control system.
Figure 8-125
c d n t r o ~system.
B-8-31. Consider a unity-feedback control system whose
open-loop transfer function is
0.1
0.4 0.6
6 8 10
20
40 60 100
w in radisec
Figure 8-127
w in radisec
Figure 8-128
Problems