














































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















































First find the forward transfer function, G(s). Pot:
Preamp: K Power amp: G (^) 1(s) = (^) s(s+100)^100 Motor and load:
J = 0.05 + 5 (^15 ) 2 = 0.25 ; D = 0.01 + 3 (^15 ) 2 = 0.13;
K (^) t Ra =
5 ; K^ b^ = 1. Therefore,
G (^) m(s) =
θm(s) Ea (s) =
K (^) t Ra J s(s+^1 J(D + KtKRa b))
= (^) s(s+1.32)0..
Gears: K 2 = 25050 =^15 Therefore,
Plotting the Bode plots for K = 1,
Solution to Case Study Challenge 409
a. Phase is 180 o^ at ω = 11.5 rad/s. At this frequency the gain is - 48.41 dB, or K = 263.36. Therefore, for stability, 0 < K < 263.36. b. If K = 3, the magnitude curve will be 9.54 dB higher and go through zero dB at ω = 0.94 rad/s. At this frequency, the phase response is -125.99 o. Thus, the phase margin is 180 o^ - 125.99 o^ = 54.01 o. Using Eq. (10.73), ζ = 0.528. Eq. (4.38) yields %OS = 14.18%. c. Program: numga=50.88; denga=poly([0 -1.32 -100]); 'Ga(s)' Ga=tf(numga,denga); Gazpk=zpk(Ga) '(a)' bode(Ga) title('Bode Plot at Gain of 50.88') pause [Gm,Pm,Wcp,Wcg]=margin(Ga); 'Gain for Stability' Gm pause '(b)' numgb=50.883; dengb=denga; 'Gb(s)' Gb=tf(numgb,dengb); Gbzpk=zpk(Gb) bode(Gb) title('Bode Plot at Gain of 350.88') [Gm,Pm,Wcp,Wcg]=margin(Gb); 'Phase Margin' Pm for z=0:.01: Pme=atan(2z/(sqrt(-2z^2+sqrt(1+4z^4))))(180/pi); if Pm-Pme<=0; break end end z percent=exp(-zpi/sqrt(1-z^2))
Computer response: ans = Ga(s)
Answers to Review Questions 411
ANSWERS TO REVIEW QUESTIONS
1. a. Transfer functions can be modeled easily from physical data; b. Steady-state error requirements can be considered easily along with the design for transient response; c. Settles ambiguities when sketching root locus; (d) Valuable tool for analysis and design of nonlinear systems. 2. A sinusoidal input is applied to a system. The sinusoidal output's magnitude and phase angle is measured in the steady-state. The ratio of the output magnitude divided by the input magnitude is the magnitude response at the applied frequency. The difference between the output phase angle and the input phase angle is
412 Chapter 10: Frequency Response Methods
the phase response at the applied frequency. If the magnitude and phase response are plotted over a range of different frequencies, the result would be the frequency response for the system.
3. Separate magnitude and phase curves; polar plot 4. If the transfer function of the system is G(s), let s=jω. The resulting complex number's magnitude is the magnitude response, while the resulting complex number's angle is the phase response. 5. Bode plots are asymptotic approximations to the frequency response displayed as separate magnitude and phase plots, where the magnitude and frequency are plotted in dB. 6. Negative 6 dB/octave which is the same as 20 dB/decade 7. Negative 24 dB/octave or 80 dB/decade 8. Negative 12 dB/octave or 40 dB/decade 9. Zero degrees until 0.2; a negative slope of 45o/decade from a frequency of 0.2 until 20; a constant -90o
10. Second-order systems require a correction near the natural frequency due to the peaking of the curve for different values of damping ratio. Without the correction the accuracy is in question. 11. Each pole yields a maximum difference of 3.01 dB at the break frequency. Thus for a pole of multiplicity three, the difference would be 3x3.01 or 9.03 dB at the break frequency, - 4. 12. Z = P - N, where Z = # of closed-loop poles in the right-half plane, P = # of open-loop poles in the right- half plane, and N = # of counter-clockwise encirclements of -1 made by the mapping. 13. Whether a system is stable or not since the Nyquist criterion tells us how many rhp the system has 14. A Nyquist diagram, typically, is a mapping, through a function, of a semicircle that encloses the right half plane. 15. Part of the Nyquist diagram is a polar frequency response plot since the mapping includes the positive jω axis. 16. The contour must bypass them with a small semicircle. 17. We need only map the positive imaginary axis and then determine that the gain is less than unity when the phase angle is 180o. 18. We need only map the positive imaginary axis and then determine that the gain is greater than unity when the phase angle is 180o. 19. The amount of additional open-loop gain, expressed in dB and measured at 180o of phase shift, required to make a closed-loop system unstable. 20. The phase margin is the amount of additional open-loop phase shift, ΦM, required at unity gain to make the closed-loop system unstable. 21. Transient response can be obtained from (1) the closed-loop frequency response peak, (2) phase margin 22. a. Find T(jω)=G(jω)/[1+G(jω)H(jω)] and plot in polar form or separate magnitude and phase plots. b. Superimpose G(jω)H(jω) over the M and N circles and plot. c. Superimpose G(jω)H(jω) over the Nichols chart and plot.
414 Chapter 10: Frequency Response Methods
b.
c.
a.
0 0.5 1 1.
0°
30°
60°
90° 120°
150°
180°
210°
240° 270°
300°
330°
Solutions to Problems 415
b.
0 0.2 0.4 0.
0°
30°
60°
90° 120°
150°
180°
210°
240° 270°
300°
330°
c.
0 5 10 15 20
0°
30°
60°
90° 120°
150°
180°
210°
240° 270°
300°
330°
a.
Solutions to Problems 417
b. System 2
c. System 3
d.
418 Chapter 10: Frequency Response Methods
-0.
-0.
-0.
-0.
-0.
0
-0.1 0 0.1 0.2 0.3 0.4 0.5 0. Real Axis
Imag Axis
-150 10 -1 10 0 10 1 10 2
0
Frequency (rad/sec)
Gain dB
10 -1^10 0 10 1 10
0
Frequency (rad/sec)
Phase deg
Program: numg=[1 5]; deng=conv([1 6 100],[1 4 25]); G=tf(numg,deng); 'G(s)' Gzpk=zpk(G) nyquist(G) axis([-3e-3,4e-3,-5e-3,5e-3]) w=0:0.1:100; [re,im]=nyquist(G,w); for i=1:1:length(w)
420 Chapter 10: Frequency Response Methods
a. Since the real-axis crossing is at -0.3086, P = 0, N = 0. Therefore Z = P - N = 0. System is stable. Derivation of real - axis crossing: ( ) ( )
2 2 4 3
ω ω ω ω = ω^ ω^ ω
Thus, the imaginary part = 0 at ω = 18. Substituting this frequency into G j ( ω) , the real part is evaluated to be -0.3086. b. P = 0, N = -2. Therefore Z = P - N = 2. System is unstable. c. P = 0, N = 0. Therefore Z = P - N = 0. System is stable d. P = 0, N = -2. Therefore Z = P - N = 2. System is unstable. 10. System 1: For K = 1,
Solutions to Problems 421
The Nyquist diagram intersects the real axis at -0.0021. Thus K can be increased to 478.63 before there are encirclements of -1. There are no poles encircles by the contour. Thus P = 0. Hence, Z = P - N, Z = 0 + 0 if K <478.63; Z = 0 –(-2) if K > 478.63. Therefore stability if 0 < K < 478.63. System 2: For K = 1,
The Nyquist diagram intersects the real axis at -0.720. Thus K can be increased to 1.39 before there are encirclements of -1. There are no poles encircles by the contour. Thus P = 0. Hence, Z = P - N, Z = 0 + 0 if K <1.39; Z = 0 – (-2) if K > 1.39. Therefore stability if 0 < K < 1.39. System 3: For K = 1,
Solutions to Problems 423
Phase margin: Raising the magnitude curve by 60 dB yields 0 dB at 9.07 rad/s, where the phase curve
is 200.3 o. Hence, the phase margin is 180 o-200.3 o^ = - 20.3 o. K = 100: For K = 1, phase response is 180 o^ at ω = 6.63 rad/s. Magnitude response is -53.6 dB at this frequency. For K = 100, magnitude curve is raised by 40 dB yielding – 13.6 dB at 6.63 rad/s. Thus, the gain margin is 13.6 dB. Phase margin: Raising the magnitude curve by 40 dB yields 0 dB at 2.54 rad/s, where the phase curve is 107.3 o. Hence, the phase margin is 180 o-107.3 o^ = 72.7 o. K = 0.1:
For K = 1, phase response is 180 o^ at ω = 6.63 rad/s. Magnitude response is -53.6 dB at this frequency. For K = 0.1, magnitude curve is lowered by 20 dB yielding – 73.6 dB at 6.63 rad/s. Thus, the gain margin is 73.6 dB.. System 2: Plotting Bode plots for K = 1 yields
For K = 1, phase response is 180 o^ at ω = 1.56 rad/s. Magnitude response is -2.85 dB at this frequency. For K = 1000, magnitude curve is raised by 60 dB yielding + 57.15 dB at 1.56 rad/s. Thus, the gain
424 Chapter 10: Frequency Response Methods
margin is
426 Chapter 10: Frequency Response Methods
Program: %Enter G(s)************************ numg=1; deng=poly([0 -3 -12]); 'G(s)' G=tf(numg,deng) w=0.01:0.1:100; %Enter K ************************** K=input('Type gain, K '); bode(KG,w) pause [M,P]=bode(KG,w); %Calculate Gain Margin************** for i=1:1:length(P); if P(i)<=-180; fprintf('\nGain K = %g',K) fprintf(', Frequency(180 deg) = %g',w(i)) fprintf(', Magnitude = %g',M(i)) fprintf(', Magnitude (dB) = %g',20log10(M(i))) fprintf(', Phase = %g',P(i)) Gm=20log10(1/M(i)); fprintf(', Gain Margin (dB) = %g',Gm) break end end %Calculate Phase Margin************** for i=1:1:length(M); if M(i)<=1; fprintf('\nGain K = %g',K) fprintf(', Frequency (0 dB) = %g',w(i)) fprintf(', Magnitude = %g',M(i)) fprintf(', Magnitude (dB) = %g',20log10(M(i))) fprintf(', Phase = %g',P(i)) Pm=180+P(i);; fprintf(', Phase Margin = %g',Pm) break end end 'Alternate program using MATLAB margin function:' clear clf %Bode Plot and Find Points %Enter G(s)************************ numg=1; deng=poly([0 -3 -12]); 'G(s)' G=tf(numg,deng) w=0.01:0.1:100; %Enter K ************************** K=input('Type gain, K '); bode(KG,w) [Gm,Pm,Wcp,Wcg]=margin(KG) 'Gm(dB)' 20log10(Gm)
Computer response:
Solutions to Problems 427
ans =
G(s)
Transfer function: 1
s^3 + 15 s^2 + 36 s
Type gain, K 40
Gain K = 40, Frequency(180 deg) = 6.01, Magnitude = 0.0738277, Magnitude (dB) = -22.6356, Phase = -180.076, Gain Margin (dB) = 22. Gain K = 40, Frequency (0 dB) = 1.11, Magnitude = 0.93481, Magnitude (dB) = -0.585534, Phase = -115.589, Phase Margin = 64.
Alternate program using MATLAB margin function:
ans =
G(s)
Transfer function: 1
s^3 + 15 s^2 + 36 s
Type gain, K 40
Gm =