Docsity

Wolovich 7 e 8, Notas de estudo de Engenharia Elétrica

Pré-visualização parcial do texto

Baixe Wolovich 7 e 8 e outras Notas de estudo em PDF para Engenharia Elétrica, somente na Docsity!

264 ) Chapter 7 Response Goals Sketch an extended polar plot of the nominal loop pain 1(s) = G(s) Ms) in tha medium case of Example 7.2.13, and show Why e elosed-loop system is robustly stable jp. li f the Nyquist stability cri. terion. 7-2, Express the dynamic behavior of the 2 DOF controller system de- picted in Figure 7.1 in differential operator form. Show that the roots of (5) in Eq. (7.2.12) imply closed-loop system modes that are uncontrol- Table by the reference input r(t). Verify that in Example 7.2.13, A(s) = 4.215+1.63 and k(s) = 5+5.4 in the Inedium case defined by q(s) = s+2, and that h(s) = 24.615+16.26 and k(s) = s + 23.4 in the high case defined by (5) = s + 20. 7-4. Consider a system defined by the nominal state-space representation of Example 7.2.13. Assume that the magnitude of the external reference input 7(t) does not exceed 1 and that the pole at s = O remains invariant To prevent plant input saturation, assume also that the magnitude of u(t) cannot exceed 1. (a) Define a zeroless, second-order T(s), whose poles are located as far away from the ja»-axis as possible (consistent with the reguire- ment that Ju(t)| < 1), which will imply a robust ex(r) = O for step inputs using the 2 DOF design procedure of Section 7.2. (b) Determine the unique loop compensator polynomials h(s) and KO) tio) =s+G0=5+5. ? (0) Determine the maximum value that u(t) attains if a 1 DOF unity feedback design is employed, with g(s) = h(s). instead of the 2 DOF design. va 7-5. Consider the 2 DOF design procedure of Secti 7.2. In light of Eg. (7.2.10), note that a choice of é(s) = c(s)ê(s) /with 5(5) asbitrary, wall imply a aces) a T)y=5—=— 9 ds) 66) | Determine the effect that such a choice for 3(s) would have on the con- trollability and observability properties of the closed-loop system. When would such a choice imply closed-loop stability? ! 9 7-6. Show that the three 2 DOF designs presented in Example 7.2.13 im- ply a robust e,,(t) = O for step inputs, provided the plant pole at s = O remains invariant. ) » 7-7. Consider a system defined by the nominal transfer function Hs +B) O=-96+ Problems 265 Let ho(8), ko(8), and qu(8) define the 2 DOF compensator polynorials of any one of the three cases considered in Example 72.13. (a) Show that a choice here of the 2 DOF compensator polynomiala hs) nm (84 y)ha(5), K(9) me (84 B)ko (8), and q(8) me (+ 7)gals) will imply the exact same nominal plots as those depicted in Fig- ures 7,2, 7.3, and 7.4. (b) Determine the effect that such a choice for the compensator poly- nomials would have on the controllability and observability prop- erties of the closed-loop system. (e) When would such a design imply closed-loop stability? (d) Under what circumnstances would it be possible to replace s + B and s + y by polynomials of arbitrary degree? » 7-8,º Suppose that the nomunal value of a(s) changes from s(s — 1) to s(s — 1.2) in Example 7.2,13. Determine the resulting changes in the closed-loop poles in the three cases considered. Plo the unit step response of the closed-loop system in all three cases, and explain the differences in the sexling times of these “nonnominal” plots in light of the changes in the closed-loop poles. 7-9. Consider a stable 1 DOF unity feedback control system, such as that depicted in Figure 7.5. Determine whether ess(t) is (a) a robust O, (b) a nominal, finite K + 0, or (9) 00, in response to a step, à ramp, and a parabolic input, that is, when r(s) = zo with p,(s) =5!, s?, and 5º, respectively, if e(s)h(s) a(s)k(s) = me(s) mtos Mhacastol + ooo hs ho) = ser tmas+mao istype 0, 1, and 2, as defined by Eq. (7.3.15). Use your results to determine the entries of Table 7.1, and express any nominal, finite e,,(0) = K £ O Ls) = G(s)H(s) = TABLE7.1 AI DOF Steady-State Error Table for Problem 7-9 Eaá Type p=0 Type p=1 Type p=2 r(t) = Step r(t) = Ramp r(t) = Parabolic 266 Chapter 7 Response Goals as functions of the polynomial coefficients that define L(s) (assuming unit magnitude inputs). 7-10. Prove that if the loop gain transfer function of a system is type p. as defined by Eq. (7.3.15), then íts closed-loop sensitivity function S(s) satisfies the relationship tim 2 0 for 0 2 = =6 º r(s) st +as+ao+ Kpco + Uns + ul as in Eq. (4.2.25). Therefore, the resulting proportional design will imply a closed-loop system characterized by an undamped natural frequency um = 09 + Kpco (81.7) atvdtiro (8.1.6) and a damping ratio a E = avarkro id Moreover, for a unit step input r(s) = À, the error Keco 1 e) =r(8)-y6) = [ “Es xs É 19 276 Chapter 8 Classical Control Techniques with a damping ratio p= me =04 2a +Kro 2/5450 — using Eq. (8.1.8). Figure 8.3 depists a unit step response plot of »(t) = Ha(t) im this case, which also would step changes in the desired level Hs. Note that the Characterize the response of Ha(t) to arbitrary selection of Kp = 10 represents a design trade-off, since a larger value of Kp > 10 would further reduce the steady-state error at the expense of a more oscillatory response, hence the potential for tank overfiow, while a smaller value of Kp < 10 would have the reverse effect. A Bode plot of the loop gain magnitude . h Gal = 18-66 == To 2jo + 1) is depicted by the solid line in Figure 8.4, along with the sensitivity function magnitude, which is the dasbed line. Note that at the lower frequencies, 1 ISGol= Ta = that, we will assume, ensures adequate rejection of any external disturbances. “The gain margin GM = 00 in this case, and at the gain crossover frequency q, = 62 00, croscing through —4Sº at the comer frequency. PI compensation increases the loco gain at the lower values of e and decíeases the Joop gain at the higher valves Of as, without Sompromteing the stability margins, thatis, alBough Picompensition increase the phase lag of the lecp gun L(ja) = GQjaNHrQÃ) at ratos of o nes amd telow É, these frequencies generally are chosen consideraNty low the mid-range frequencies where the stability mangins are defined. Henve, Pt compensatioa improves many of the loop performance goals of a closod- 278 Chapter 8 Classical Control Techniques Utprida en(log scale) = ) o e FIGURE 8.5 A Bode Diagram of u PI Compensator Hps(ju) loop system, although it generally produces a more sluggish response, because of the reduction in the loop gain bandwidth. Another reason for employing integral compensation in combination with proportional compensation is to improve the steady-state tracking accuracy of a closed-loop system. For example, an Hpi(s) placed in series with G(s) increases the system type by one, which ensures a robust es(t) = O for step changes in the reference input r(1), provided the closed-loop system remains stable. illustrate the preceding, consider the liquid le whose nominal performance is defined by the open-loop transfer function »(s) 5 1 9 CADCAS C+DON+ Suppose a PI compensator is employed, with Kp = Ky = 1, and the resulting s+1 Hpils) = = Gs) = which cancels the pole at s = —1, is cascaded with G(s) under unity feedback, as in Figure 8.2. A Bode plot of the resulting loop gain magnitude 1 s+1 C+D02+D s |, is depicted by the dashed line in Figure 8.6. A plot of the loop gain magnitude associated with the P compensation of Example 8.1.12 is displayed by the solid line for comparison purposes. Note that the PI compensated L(jo) has a larger magnitude at the lower values of «w < 0.1 than that of the P compensated system, which implies improved disturbance rejection. Moreover, the Pr LG 0) = 1GGo)HprGo)l = 81 PIDComperuioo 279 s E] 0 Pp E E º E! LO 1 “a = -0 1 l “q ] h 102 102 10 w=10º 10! co(radisec) o FIGURE 8.6 Bode Plos of IL(Ju)l for P and PI Compensation compensated loop gain magnitude is considerably smaller at the higher values of «», which implies better noise attenuation and improved robust stability with respect to any unmodeled high frequency dynamics. Also, the GM remains = 00, and at the new gain crossover frequency w, = 1, 1 = J0+02) — so that the new OM = 78.7º, which represents a significant increase in the 48º of PM obtained using only proportional compensation. Therefore, improvement is obtained relative to virtually all of the loop performance goals. Figure 8.7 depicts a unit step response plot of the PI compensated system (the dashed trajectory). which is defined by the closed-loop transfer function O. Omo) ss Hs) 1+G()Hpils) s2+55+5 The step response of the P compensated system of Example 8.1.12 (the solid trajectory) is superim- posed for comparison purposes. Note that PI compensation reflects a damping ratio 4 = 1.12 > 1 in this case, hence no overshoot, as well as a robust es;(t) = O. However, because of the reduction in the loop gain bandwidth, its response is more sluggish than that associated with P compensation alone, which is characterized by an w, = 55 = 7.42, compared with an w, = 5 = 2.24 in the case of PI compensation. “Ljw) = LCljwp)Hpi(Jw) = 90º — 11.3º = —101.3º Ideal Proportional-Derivative (PD) Compensation In those cases where neither a relatively large proportional Kp nor a PI compensator is required to ensure adequate tracking accuracy, we may elect to combine a relatively small proportional gain Kp with an ideal | 282 Chapter 8 Classical Control Techniques Ideal Proportional-Integral-Derivative (PID) Compensation To obtain the benefits of both PI and PD compensation, a proportional- integral-derivative (PID) compensator may be employed. A PID com- pensator is defined “ideally” by the transfer function trios) E kp + El 4 os = ft Kret ko (8.119) oras Hpiols) = Kp (1 + E + Tos) (8.120) with [7 — dot Kp sr Kp Ti= % and To z However, as in the case of practical PD compensation. a practical PID compensator usvally includes an additional “roll-off" pole, as we will later show. A PID compensator implies added design flexibility. when compared toa P, PI, or PD compensator, since it involves three arbitrarily adjustable terms. This form of compensation is widely used in industrial process control applications, such as petroleum refining. paper making. and metal forming, where it often is called a three-term process controller. In many such instances, the nominal plant transfer function G(s) is unknown. and PID design is based on a step response analysis of the process, with the proportional gain Kp, the integral (or reset) time Ty, and the derivative time Tp, manually adjusted or tuned on-line to obtain the “best” perfor- mance. Well-established techniques, such as the Ziegler-Nichols tuning rules (67), can be used to determine nominal values for the three PID terms in such cases. cad In industrial applications, integral control often is termed reset con- trol, because without it, an operator must manually alter or “reset” the set-point value to achieve a desired output value. Integral control auto- matically ensures an output value equal to the set-point value, that is, a robust ess(t) = O for set-point changes in the reference input, without the requirement for manual reset. EXAMPLE 8.1.21 To illustrate ide: ples 8.1.12 and 8.1.15, whose performance is defined by the nominal, open-loop transfer function 1 5 G+DON+D si+6+5 In this case, the three adjustable terms of a series PID controller can be used to completely and oq = TO = 81 PIDCompensaion 283 arbitrarily position all three poles of the closed-loop system, since HO G6)Hpro(s) S(Kps? + Kps + Ki) Ho) 1+GOHpiols) S+(6+5KD) +(5+5Kp)s SR, Alternatively, both of the stable, nominal poles of pls asp 0 Fr6+5" G+DG+5 ats=—1 and —S can be “cancelled” by the zeros of Hpyp(s). For example, if Kp, Kp, and K; are chosen such that Gs) = Kosl+Kes+Kk a(S+IX5+S) 0208241205 +a s 5 s s for any arbitrary scalar a, it follows that the corresponding, nominal, loop gain transfer function Lt) = ()Hpro(s) = É Hriols) = which implies a closed-loop MO Ls) a rs) 1+L(69) sãya In particular, consider the utilization of an ideal PID compensator, with a = 2, so that 26+D(+5) 04! +245+2 Kosl+Kps+Ky E = s s s The resulting loop gain transfer function Hpro(s) = LU) = C6)Hpro(o) = à which implies a GM = 00 and a OM = 90º, defined at an w, = 2. We will assume that such a Choice for HpyD(s) reflects an acceptable loop gain bandwidth for the system. A Bode plot of the PID loop gain magnitude i 2 ILGo)| — 5 is depicted by the dotted line in Figure 8.9. Example 8.1.15 (the dashed line) and the P | are superimposed for comparison purposes. The unit step response of the ideal PID compensated ich i an et pei system, which is defined by the closed-loop Corresponding plots of the PI loop gain magnitude of loop gain magnitude of Example 8.1.12 (the solid line) mM.2 a r(s) s+2 05541 is depicted by the dotted trajectory in Figure 8.10. The unit step responses of the P compensated System of Example 8.1.12 and the PI compensated system of Example 8.1.15 are also displayed for comparison purposes by the solid and dashed lines, respectively. Note that PID compensation pro- duces a faster response than PI compensation, without the overshoot associated with P compensation alone, while retaining a robust e,,(t) = O. 2 284 Chapter 8 Classical Control Techniques 10º Es +40 102 10! co(radisec) e FIGURE 8.9 Bode Plots of |L(j)l for P, PI, and PID Compensation 12 e Output amplitude e a 04 / o2 Pá o 2 05 1152 25 3 35 445 5 Time e FIGURE 8.10 The Unit Step Responses of P, PI, and PID Compensation Practical PID Compensation A PID compensator need not be implemented with the derivative term in the forward path, especially when there are step changes in the reference input that could produce plant input saturation: for example, an actual 84 PIDCompention 285 implementation of the ideal Hpro(s) of Example 8.1.21, using the unity feedback configuration of Figure 8.2, would imply that us) 4 x) S+6+S 2 (Das 4245 +2 (o) Grs) 3 s+2 s+2 which is an improper transfer function. As a consequence, step changes in r(s), the desired level of tank two, would demand impulsive input flow rates of infinite magnitude to tank one, & physical impossibility. a such cases, a more practical implementation of PID compensation is that depicted in Figure 8.11, namely, a derivative term with a roli-off pole, K, Ho(s) = Fo Lis (8.1.22) Nº +1 implemented by means of a minor loop around the plant, and K, Hr) = Ko + (8.1.23) in the forward path, so that (9) = G(DHprlor(s) — G(LHpr(S) + Ho(s))y(s) (8.1.24) Alternatively, ideal derivative (velocity) feedback, with Hp(s) = Kos, could be used in those situations where a tachometer or an optical encoder is employed. Note that all configurations will imply the same PID loop gain transfer function L(s) = G(MHpi(s) + Ho(s)] (8.1.25) kr nd Ned 4 E 3 DT xo S Zir s E os Sese1 FIGURE 6.11 A Practical Minor Loop Implementation of a PID Controller - 288 — Chapter 8 Classical Control Techniques u A lug bo) E) cque BE LE N , DO este VU s+5) 2 NKe, Mk nes Ta e FIGURE 8.13 A Practical 2 DOF PID Compensator polynomial of degree 2 or less. Therefore, a choice of Nki a(9) = 428" + ais + (8.130) º NK t ) = qo = h(0) = DEL (8131) q(0) = go = h(0) Ko Will ensure a robust e,,(t) = O for step changes in the reference inpu, in DS dep this practical 2 DOF PID compensator, which is characterized by an output response transfer function 2 q a(s) r(s) (5) referring to EQ. (5.1.15), and an input response transfer function us aC) (o À alia(s) (8.1.32) Es (81,33) rs) cs) r(s) &(s) with q(s) given by Eq. (8.1.30), and N NkKe , NKr a s(s) = a(s)s (sede) sc (nº + rd [7 (8.1.34) using Egs. (5.1.13), (8.127) and (8.1,28). Justrate the preceding discussion, consider the liquid level control system moda our catier examples by a nominal els) 5 SO= o" pós +s EK =24,K =2 Ko = 04,000 N = 10, asin Examples 8.1.21 and 8.1.26, Eq (81.27) implies that uoyes(s+ qo) = sets Ko 81 PIDCompensation 289 and Eq, (8.1.28) implies that h(9) = NS? + Nkr NK ros? 4.605 +50 Ko Ko In this case, the loop guin (9) = O sMS+6+5) 2 = Tok) UI r6s +56 +255) s(0045 + 1) sich 15 analogous to that obtained using the minor loop PID compensator of Example 8.1.26. However, looking at Egs. (8.1.32) and (8.1.34), the output response transfer function of the closed-loop system is defined by HO ea(s) À Sq(s) Ho Bh) faso 2055 +05 4250 (+ Dis + 2.19) + S)s + 22.81) and, referring to Eg. (8.1.33), the input response transfer function is given by us a(a(s) À (5+ 1X + Sato) - a(s) rs) (5) (+ IS + 219 + Ss + 2281) (5 +2.19)(s + 22.81) Three distinct choices for q(s) will now be considered, each with NK; q(0) = qo = h(0) = 5 = 50 Ko which will ensure a robust es, (t) = O for step changes in r(t). In particular, so Gs) = sogy(s + DX + 22.81) = 2.195? + 52.145 +50 which cancels the two closed-Joop poles at s = —1 and —22.81, ao(s) = 50(s + 1) = S0s + 50 which cancels the slowest closed-loop pole at s = —1, and Ge(s) = 305 + 50 The step responses of the three resulting 2 DOF implementations, when compared to that of the practical, minor loop PID implementation of Example 8.1.26, reflect interesting differences in both the unit step output y(t) = H2(1) response plots of Figure 8.14 and the unit step plant input u(t) = Q(1) response plots of Figure 8.15. In both figures, the solid trajectories correspond to the minor loop PID implementation of Example 8.126, while the dashed, dotted, and dash-doued trajectories reflect the practical 2 DOF PID implementations for ga(s) = 2.195? + 52.145 +50, quís) = SOs +50, and q.(8) = 308 + 50, respectively. . Note that the y(t) responses of Figure 8.14 reflect only a night difference between the go(s) and o(s) cases. This is due to the relatively small s? coefficient, namely, 2,19, of Go(s), which implies à qo(s) = qu(s), Morcover, both of these cases display a superior step response, in the sense of no overshoot and a faster settling time, when compared with the more traditional minor loop PID implementation. 290 Chapter 8 Classical Control Techniques 12 FER) e FIGURE 8.14 The Unit Step Output y(1) Responses os 115 2 25 3 35 4 45 5 e FIGURE 8.15 The Unit “ep Plant Input u(r) Responses. i flow rate Q,(1) required Fi 8.15 reveals that the control effort u(t), that is, the tank one input ) in all tree 2 DOF PID cases, is less than that required in the minor loop PID case However, t can be shown that even moderate increases in the s? coefficient of g(s) will produce potentially saturating u(t) values. For example, although a relatively fast unit step y(t) response would be 82 Legados Compensa 29] produced by à so (8) mm qts) Z190 + Dl +2,19) which cancels the two slowest closed-loop poles, a tank one inpus fcrw rate (9,(1) = uls) chacacterina by à relatively large maximum inítial value Of 50/2.19 us 22.83 monta be required (ser Probiea 8-8). The qu(3) = 503 +50 and qu(s) = 304 + 50 cases display a design trade off vesweca tre sea SH response of the liquid level in tank to Hs(1) = yl1) and the reuirel cmagrizade (A the input Bow rate Qi(1) = u(s) to tank one, For example, a control system designer cniá vary the coetíicient qy. im an otheruise fixed g(3) = que + SO, witbans alfecting the Loop properties «A the system uni! mm appropriate response is obtained. Such a procedure would imgty a gereral 2 DOF four-term controller, as depicted in Pigure 8.13, with qa = O, qy the variable farta term, am qu = 4/0) fixes at h(0), tis finally of interest to note that Example 8,1.35 represents the “com. verse” of Example 1.2.3. In particular, in Exacugie 72.13 we retzined a desired response performance while varying the lo performance, Here, we have retaincd a desired loop performance wtile varying the response performance, The abslity to achieve the specific trade cffs associated with bexh examples is due to the design Sexibility afforded by 2 DOF compes- satiom. LAG AND LEAD COMPENSATION Oxher' popular types of classical control are lag. lead, or a combsatoa Of the two, which is termed lag-lead compensation As we will sum, ation is to proportioral.inegral (PT) compensatica with low frequency loop ga Compensalia is analogoss to proportional-Serivative (PD) compensation with a high frequency loop gain roll-off, and lag-lead compensatiom is analogoas to PID compensatios with a loop gain roli-off at bexh high and low values of w. AI three of these controllers are characterized by a proper, raional transfer functioa H(s), generally placed in the forward path im cascade with the plant G(5), which is then closed under usity feedback im a sam- dard 1 DOF configuration to aber or “reshape” the loop gaim frequency response LG = ju) = GluwH(jo) e2u For this reason, this turm of compensator design ofica is referred 10 as loopshaping Loopstaçing techniques were firs: developed by Bode [7] for the design of feedback amplifers, and they were Inter motbed for 294 Chapter 8 Classical Control Techniques Im particular, dE the loop compensator H(9) es 1, DO o pel o pa O RENO RE UE Therefore, for a unit ramp input, when (3) + À EUGALER ' Poti. de O me O OS 4 TOR which implies that K$ 2 100 to ensure a steady-state ramp tracking emor 5 1%, as desired am eimino . BRURE RSS A Bode Dixprait O Tag Cormpenenror youalo 83 Lag and Lagá Compenamion 295 tom bug) sujo O pot tono 3 o A Bode diagram of O(s), with Kg = 100, is depicted by dashed lines in Pigure 9.17, Mono that the system won bo unstable 1 closed under nity feeback with J1(3) 1, because at the phase crossover Erequeney op os TD me 3,16, [G(/3,16)] 8 1000/10 + 940 » 1 (s66 Problem 89), However, 8 40 dl reduction in the Joop gain would reduce [O(/3, 10) to 00909 = 5, which wonda imply o GM w LH, or nearly 21 dl, The resulting gain crossover frequency mw *s 0,8, would be characterized by a phane anple se = 138º, hence 4 DM 15 43º, To obraln these stability margins, à lag compensator with Kas 1, Ts O, and ar es 100 can be emplayed, resulting in à La AOLHI OU + +10 1000 + 1 840,00] with comer frequencies at a 0.001 and 0,1, The Bode diagram of this Hhs(Jai) is depicted by the dorted lines in Pigure 8.17, An oe 100 Is employed to produce the 40 dB gain attenustion, and à value of Te 10 Is chosen so that the second comer frequency occurs at a low enough value of «o se 0.1 to minimize the phase lag introduced by Mis(/0) At the gain crossover frequency 09, * 0.8. A Bode diagram of the loop gain vf lhe compensated system, G(/00) Hia(J0s) ia depicted by the solid lines fa Pigure 8.17, A MATLAB computation [46] was used to determine that the actual GM ms 9.77 (or 19.8 dB) ata phase cromover frequency o = 2.99, with a corresponding PM 29.97" ata gain crossover frequency a e 0.793, Figure 8,18 depices a unit step response of the resulting closed-loop system, which is defined dy the transfer function 2) q Mol) 105 + 1 6) O TA GO) a(9) 84 + 110015) 410 0115É 410.015 + Ma) ms K o ú 1Ocs 40.1) (4 + 0 MI)E + 0091 & jp RODE + 10.108) The response ix characterized by a maximum overshoot Mp of nearly 15%, anda long setting time to OE ta [59], Tn general, this phenomenon dx caused by the mode defined by the pole elosest to + FRURCAAS A Vi Step Respontt E Comando Dag Cien 296 Chapter 8 Classical Control Techniques the origin requiring an excessive amount of time to decay to O. In this case, the mode e-9-!!", due to the pole at s = —0.111, implies a 2% setting time £, greater than 14 seconds, with y(t) = 1.013 at t = 20 seconds, which may be unacceptable in certain applications. Such an occurrence can be remedied by a 2 DOF implementation in which a zero of q(s) cancels the tail-producing pole (see Problem 8-11). Lag and Pi Compensation As we noted at the beginning of this section, lag compensation is anal- ogous to PI compensation. In particular, consider the lag compensator defined by Eq. (8.2.3). If we “fix” the ratio Ê Eko =» K=ukp (825) and further define K kr =— =— (8.2.6) Ky por e E 7 (8.2.6) it follows that in the limiting case as + — O,orasa — oo and K — oo in Figure 8.16, K) fes+1) s+d (E lim Hio(s) = lim Kg — mt A 2 mts) (827 anão e s a as defined by Eq. (8.1.14) and depicted in Figure 8.5. This observation serves to illustrate an altemative use for lag compensution, namely to increase the low frequency loop gain in order to improve the steady-state accuracy of the system and to enhance the disturbance rejection properties of the closed-loop system. EXAMPLE 8.2.8 To illustrate this altemative use for lag compensation, consider the with Ks = 1, as defined by the open-loop transfer function servomotor 10 SO =EDGrIo which is 0.01 x G(s) of Example 8.2.4. If closed under unity feedback with H(5) = 1, the stability margins would be analogous to those given by the G(s)Hia(s) Of Example 8.2.4. This type 1 82 Log and Lead Compensation 297 system would also imply a robust e,(t) = O for step changes in the reference input. However, the steady-state unit ramp error would be an unacceptable * = 1, or 100%. The introduction of a series lag compensator defined'b an Ts+1 gl! 3401 K (++) Hal) =roa = O iogis Ts 7000] a (+) Kr=1 which is 100 x Hio(s) of Example 8.2.4, would yield the exact same loop gain transfer function GS) Hia(8) às in that example. The resulting increase in the low frequency loop gain would enhance the disturbance rejection properties of the compensated system, as well as ensure the desired 1% steady-state accuracy for ramp inputs. Moreaver, in the limiting case defined by Eq. (8.2.7), (6+%) dim, Hiols)= lim Ke T (+ à) would achieve à robust es (t) = O for ramp inputs as well, since such an Hia(s) would become a PI compensator, and the loop gain transfer function G(s) Hia(s) = G(s)Hpr(s) would be type 2. The stability margins and the transient response would be affected only slightly by this increase in the low frequency gain. In Example 82.8, the asymptotic |Hia(J0)| = 1 at frequencies above «=0.1. As a consequence, the loop gain of the compensated system is unaffected at the medium and high frequencies, which is the exact opposite of the loop gain changes obtained in Example 8.2.4. Indeed, differences in the magnitude of the plant transfer function gain K, could require any one of an infinite number of corresponding amplitude choices for Ha(s) to maintain the same loop gaia L(s) = G(s) Hia(s). For example, if Ka = 10, so that 100 O = Enero then the choice of an Ts+1 10s + 1 O.M(s + 0.1) Ho = = Ooo +1 540001 would ensure the same desired loop gain transfer function G(s) Hia(s) as that obtained in Examples 8.2.4 and 8.2.8. Such an Hia(s) would be characterized by an asymptotic |Hia(ja)| = 10, or +20 dB, at low values. of co, and à |Hia(juo)| = 0.1, or —20 dB, at the higher values of «», so that the lag compensator would amplify the lower frequencies and attenuate the higher frequencies. EXAMPLE 8.2.19 To ilustre the preceding. ty the K, = 100 open-loop transfer function 100 1000, CO = IDO REA DErIo Recall chat this G(s) would De unstable if closed under unity feedback with H(5) = 1, because at the phase crossover frequency ay = 10 = 3.16, |6(3.16)] = 9.09 > 1. However, if we employ Tese der o fot! «o 2/ - - 1 mr “p= 1947 ulsudimcy o FIGURE 8,20 A Bode Diagram of Lead Compensation 82 Lag and Lead Compensation 301 82.12) and (8.2.14) will imply that 1 dE 6 cogu 7 E ioga” 90 a lead compensator with a = 0.1, Eas. ( ' 1 Ta === Vas Volvio Therefore, referring to Eq. (8.2.9). the lead compensator is defined by s+1 0 03476 +1) Ts+1 Hit) = KT = O oi 1 O s+10 with corver irequencies at « = 1 and 10. It may be noted that in this case the zero of Hle(s) at $=—| cancels a coresponding pole of G(s). , . Bode diagrams of G(ju), Hi(Ja), and the resulting loop gain (Ja) Hie(j0) of the compen- sated system are depicted in Figure 8.20 by the dashed, dotted, and solid lines, respectively. Note that the gain crossover frequency of the compensated system, namely w; = 3.16, corresponds to the phase crossover frequency w of the uncompensated system. Moreover, q = 3.16 = w repre- «ents the frequency where the stabilizing phase lead contributed by Hu(s) peaks at nearly 55%. A MATLAB computation was used to determine that the actual GM = 5.67 (or 15.07 dB) at a phase crossover frequency ap = 10.07. Figure 8.21 depicts a unit step response of the closed-loop system, as defined by the closed-loop transfer function sts) G() His) 347 o 347 rs) É T+ GG) Hs) = 572051 +1005+347 (5 +2.58+/4.09)(s + 14.84) The response is characterized by a maximum overshoot M, = 13% and a 2% sestling time 1, = 1.28 seconds, which is much faster than that associated with the lag compensator unit step response of Figure 8.18, Since 0.0347 = K 1,03 < 1, and Ty > Ta. The frequency response of such a Hujw), with increasing comer frequencies at 1 1 1 o Ad d, aii 82.24) Ti n n mn t ) is depicted by the Bode diagram of Figure 8.22. It may be noted that the lag-lead compensator defined by Eq. (8.2.23) is a “restrictive” second- order compensator because both of its poles and zeros are real. When a plant is characterized by desirable low frequency and desir- able high frequency loop gain properties, lag-lead compensation can be used to attenuate the amplitude of the loop gain at the mid-range frequen- cies to improve the stability margins of the compensated system. In such lrniohas 20 log K FIGURE 8.22 The Bode Diagram of a Lag-Lead Compensator