{"id":1127,"date":"2019-11-06T02:56:57","date_gmt":"2019-11-06T02:56:57","guid":{"rendered":"https:\/\/pressbooks.library.ryerson.ca\/controlsystems\/?post_type=chapter&#038;p=1127"},"modified":"2021-01-14T16:02:40","modified_gmt":"2021-01-14T16:02:40","slug":"13-3-lead-controller-design-solved-examples","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/chapter\/13-3-lead-controller-design-solved-examples\/","title":{"raw":"13.3 Lead Controller Design \u2013 Solved Examples","rendered":"13.3 Lead Controller Design \u2013 Solved Examples"},"content":{"raw":"<div>\r\n<h3><strong>13.3.1 Lead Controller Design \u2013 Solved Example 1<\/strong><\/h3>\r\nConsider a typical unit feedback closed loop control system, as shown, which is to operate under Lead Control.\r\n<p style=\"text-align: center\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_1-300x117.png\" alt=\"\" width=\"300\" height=\"117\" class=\"size-medium wp-image-1128 aligncenter\" \/><\/p>\r\nThe Lead Controller transfer function is as follows:\r\n<p style=\"text-align: center\">[latex]g_c(s) = K_c \\cdot \\frac{\\tau s + 1}{\\alpha\\tau s +1} = \\frac{a_1 s + a_0}{b_1 s + 1}[\/latex]<\/p>\r\nWhere [latex]\\tau[\/latex] is the so-called Lead Time Constant and [latex]a&lt;1[\/latex] The process transfer function G(s) is:\r\n<p style=\"text-align: center\">[latex]G(s)=\\frac{0.5}{(s+5){(s+0.1)}^2}[\/latex]<\/p>\r\nOpen loop frequency response plots of G(s) are shown in Figure 13\u20113. The closed loop performance requirements are: the Steady State Error for the unit step input for the compensated closed loop system is to be no more than 2%; Percent Overshoot of the compensated closed loop system is to be no more than 15%; the Settling Time, [latex]T_{settle(\\pm 2 \\%)}[\/latex], is to be no more than 5 seconds \u2013 preferably less.\r\n\r\nCheck what the current (uncompensated system) values of the Phase Margin, [latex]\\Phi_m[\/latex], and the Crossover Frequency, [latex]\\omega_{cp}[\/latex], are. Estimate the uncompensated closed loop step response specs: Percent Overshoot, PO, Steady State Error, [latex]e_{ss(step\\%)}[\/latex], and Settling Time, [latex]T_{settle(\\pm 2 \\%)}[\/latex]. Next, based on the specifications, calculate the required values of the Phase Margin for the compensated system, [latex]\\Phi_{mc}[\/latex], and the DC gain of the controller, [latex]K_{dc}[\/latex].\r\n\r\nDesign the Lead Controller such that it meets the closed loop response requirements, and write the Lead Controller transfer function and its parameters. For your Controller, estimate the compensated closed loop step response specs: Percent Overshoot, PO, Steady State Error, [latex]e_{ss(step\\%)}[\/latex], Rise Time, [latex]T_{rise(100\\%)}[\/latex], and Settling Time, [latex]T_{settle(\\pm 2\\%)}[\/latex].\r\n\r\n[caption id=\"attachment_1135\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_2.png\" alt=\"Figure 13 3: Uncompensated Open Loop Frequency Response in Lead Design Example 1 \u2013 Gain and Phase Margins\" width=\"1200\" height=\"900\" class=\"wp-image-1135 size-full\" \/> Figure 13-3: Uncompensated Open Loop Frequency Response in Lead Design Example 1 \u2013 Gain and Phase Margins[\/caption]\r\n\r\nSOLUTION:\r\n\r\nLet\u2019s start by finding the open loop DC gain - note that reading the gains off the Bode plots is difficult due to decibel units \u2013 here the gain could be read off from Figure 13\u20113 as somewhere close to 20 dB. It is therefore, preferable to use the transfer function, if available, to compute the accurate gain values. Here we can compute the Uncompensated Open Loop DC gain \u2013 there is no controller, i.e. [latex]G_c(s)=1[\/latex] - from the process transfer function:\r\n<p style=\"text-align: center\">[latex]K_{dcopen}=\\lim_{s\\rightarrow 0}G(s)=\\lim_{s\\rightarrow 0}\\frac{0.5}{(s+5){(s+0.1)^2}}=\\frac{0.5}{5\\cdot0.01}=10[\/latex]<\/p>\r\nThe uncompensated closed loop DC gain is then:\r\n<p style=\"text-align: center\">[latex]K_{dc} = \\frac{K_{dc0}}{1 + K_{dc0}} = \\frac{10}{11}=0.9091[\/latex]<\/p>\r\nThe Phase Margin and the crossover frequency can be read off from the Bode plot in Figure 13\u20113 as: [latex]\\Phi_m = 33^{\\circ}[\/latex] and [latex]\\omega_{cp} = 0.3[\/latex] rad\/sec. The damping ratio [latex]\\zeta[\/latex] and the frequency of natural oscillations [latex]\\omega_n[\/latex] for the uncompensated closed loop system can now be estimated by either reading it off the Phase Margin graph in Figure 12\u20119, or by using the formula:\r\n<p style=\"text-align: center\">[latex]\\zeta = \\frac{\\tan\\Phi_m}{2\\sqrt{\\sqrt{({\\tan\\Phi_m)}^2 + 1}}} \\rightarrow \\zeta=0.3[\/latex]<\/p>\r\n\r\n<\/div>\r\n<p style=\"text-align: center\">[latex]\\omega_n=\\frac{\\tan\\Phi_m\\cdot\\omega_{cp}}{2\\zeta}=0.328[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]G_m(s)=K_{dc}\\frac{\\omega_n^2}{s^2 + 2\\zeta s + \\omega_n^2}[\/latex]<\/p>\r\nThe uncompensated closed loop model based on the Open Loop Frequency Response is then:\r\n<p style=\"text-align: center\">[latex]G_{mu}(s) = \\frac{0.0979}{s^2 + 0.1982s + 0.1077}[\/latex]<\/p>\r\n<p style=\"text-align: center\">Model specs can be calculated as:<\/p>\r\n<p style=\"text-align: center\">[latex]PO = 100\\cdot \\left ( e^{\\frac{-\\zeta\\pi}{\\sqrt{1-\\zeta^2}}} \\right ) = 37\\%[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}=40.4[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]T_{rise(100\\%)}=\\frac{\\pi - \\cos\\zeta^{-1}}{\\omega_n\\sqrt{1-\\zeta^2}}=6[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]T_{rise(100\\%)}=\\frac{\\pi - \\cos\\zeta^{-1}}{\\omega_n\\sqrt{1-\\zeta^2}}=6[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]G_{cl}(s) = \\frac{0.5}{s^3+5.2s^2+1.01s+0.55}[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]G_{cl}(s) = \\frac{0.5}{(s+5.02)(s^2+0.1793s+0.1095)}[\/latex]<\/p>\r\nThe closed loop transfer function has a dominant pair of complex poles, with the damping ratio [latex]\\zeta=0.27[\/latex] and the natural frequency of oscillations [latex]\\omega_n=0.33[\/latex] rad\/sec, which are close to the model estimates: [latex]\\zeta=0.3[\/latex], [latex]\\omega_n=0.33[\/latex] rad\/sec. The actual transfer function also has a real pole at \u2013 5.02, which is negligible, compared to the dominant pair of closed loop poles at [latex]-0.09\\pm j0.32[\/latex]. Thus, the assumed model is quite accurate \u2013 see the actual step response comparison, shown in Figure 13\u20114, Figure 13\u201130, and the calculated specs.\r\n\r\n[caption id=\"attachment_1145\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_3.png\" alt=\"Figure 13 4: Uncompensated Closed Loop Step Response in Lead Design Example 1\" width=\"1200\" height=\"900\" class=\"wp-image-1145 size-full\" \/> Figure 13-4: Uncompensated Closed Loop Step Response in Lead Design Example 1[\/caption]\r\n\r\nActual specs, compared to the model specs (based on uncompensated Open Loop Bode plots), are:\r\n<table class=\" aligncenter\" style=\"border-collapse: collapse;width: 100%;height: 160px\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 59px\">\r\n<td style=\"width: 33.3333%;height: 59px\"><\/td>\r\n<td style=\"width: 33.3333%;height: 59px\">Actual Uncompensated System<\/td>\r\n<td style=\"width: 33.3333%;height: 59px\">[latex]G_{mu}(s)[\/latex] - Model for the Uncompensated System<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"width: 33.3333%;height: 14px\">PO<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">41%<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">37%<\/td>\r\n<\/tr>\r\n<tr style=\"height: 29px\">\r\n<td style=\"width: 33.3333%;height: 29px\">[latex]e_{ss(step\\%)}[\/latex]<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">9.1%<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">9.1%<\/td>\r\n<\/tr>\r\n<tr style=\"height: 29px\">\r\n<td style=\"width: 33.3333%;height: 29px\">[latex]T_{rise(0-100\\%}[\/latex]<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">6.0 sec<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">6.0 sec<\/td>\r\n<\/tr>\r\n<tr style=\"height: 29px\">\r\n<td style=\"width: 33.3333%;height: 29px\">[latex]T_{settle(\\pm 2\\%)}[\/latex]<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">42.0 sec<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">40.4 sec<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe specs estimates from the model are very accurate, with all specs meeting the required values.\r\n\r\nNow, the Lead Controller design \u2013 we can choose a simplified design or an analytical design. First, always calculate the required DC gain of the controller \u2013 this part is the same in both approaches.\r\n\r\nBased on the required error specification:\r\n<p style=\"text-align: center\">[latex] e_{ss(step)c}=2\\% \\rightarrow \\frac{1}{1+K_{posc}} = 0.02 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]K_{posc}=\\frac{1}{0.02}-1\\rightarrow K_{posc}=49[\/latex]<\/p>\r\nThe compensated closed loop DC gain should be:\r\n<p style=\"text-align: center\">[latex]K_{dc(comp)} = \\frac{K_{posc}}{1+K_{posc}} = \\frac{49}{50}=0.98[\/latex]<\/p>\r\nThe controller DC gain is then:\r\n<p style=\"text-align: center\">[latex]K_c = a_0 = \\frac{K_{posc}}{K_{posu}}=\\frac{49}{10}=4.9[\/latex]<\/p>\r\nNext, \u201ctranslate\u201d the required PO spec into the equivalent closed loop damping ratio. For PO = 15%, the required damping ratio, based on Figure 7\u20114, is [latex]\\zeta = 0.517[\/latex]. The compensated Phase Margin should be, based on Figure 12\u20119: [latex]\\Phi_{m(comp)}=52^\\circ[\/latex]. Let\u2019s round off the Phase Margin to: [latex]\\Phi_{m(comp)}=55^\\circ[\/latex]. Next, \u201ctranslate\u201d the required Settling Time spec into the equivalent closed loop frequency of natural oscillations:\r\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)} \\frac{4}{\\zeta\\omega_n}=5 \\rightarrow \\omega_n=1.55[\/latex]<\/p>\r\nThat frequency can then be \u201ctranslated\u201d into the minimum required Phase Margin crossover frequency:\r\n<p style=\"text-align: center\">[latex]\\omega_{cp} = \\frac{2\\zeta\\omega_n}{\\tan(\\Phi_m)} = \\frac{2\\cdot0.517\\cdot1.55}{\\tan(55^\\circ)}=1.12[\/latex]<\/p>\r\nWhat do we do next? The two approaches differentiate on how we proceed.\r\n<div>\r\n<h3><strong>13.3.1.1 Lead Controller Design Solved Example 1: The \u201cSimplified\u201d Lead Design<\/strong><\/h3>\r\nBased on the required PO spec, let\u2019s decide on the \u201cgood\u201d Phase Margin for the compensated system \u2013 it will be [latex]\\Phi_{m(comp)}=55^{\\circ}[\/latex]. Next, based on the required Settling Time spec, let\u2019s decide on a \u201cgood\u201d crossover frequency \u2013 let us pick [latex]\\omega_{cp}=1.5[\/latex]. Remember that it is an arbitrary choice that does not guarantee that the solution is the \u201cbest\u201d, or \u201coptimal\u201d. It will result in one possible improvement of the system response. <strong>Note that in the Lead Design,<\/strong> <strong>the compensated crossover frequency will always be to the right of the uncompensated frequency of the crossover.<\/strong> If it were <strong>to the left<\/strong> of the uncompensated frequency of the crossover, we would end up with a Lag Design.\r\n\r\nAt the chosen frequency of 1.5 rad\/sec, we need to find the magnitude and phase of the original system G(s). Recall that reading values off the dB plot is notoriously inaccurate, and thus it is better to substitute [latex]s=j1.5[\/latex] into the transfer function G(s) to obtain more accurate values of magnitude and phase:\r\n<p style=\"text-align: center\">[latex]\\left |G(j1.5)\\right | = 0.042 \\frac{V}{V} = -27.5dB[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]\\angle G(j\\omega) = -189^{\\circ}[\/latex]<\/p>\r\nRecall that we are gaining the most phase \u201clead\u201d at the mid-point frequency of the Lead Controller (see the graph below). That mid-point will become our intended compensated crossover frequency, at which the Phase Margin will be measured. If we want to [latex]\\Phi_{m(comp)}= 55^{\\circ}[\/latex], then the required \u201cphase lift\u201d at [latex]\\omega_{cp}= 1.5[\/latex] would be:\r\n<p style=\"text-align: center\">[latex]\\theta=-180^{\\circ}+\\Phi_m - \\angle G(j1.5) = -180^{\\circ} + 55^{\\circ} + 189^{\\circ}=64^{\\circ}[\/latex]<\/p>\r\n<p style=\"text-align: center\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_4.png\" alt=\"\" width=\"507\" height=\"400\" class=\"aligncenter wp-image-1158 size-full\" \/><\/p>\r\nWe will get that phase lift from the largest phase gain of the Lead Controller:\r\n<p style=\"text-align: center\">[latex] \\varphi_{max} = \\sin^{-1}\\left (\\frac{1-\\alpha}{1+\\alpha} \\right ) = 64^{\\circ} \\rightarrow \\alpha = 0.053 [\/latex]<\/p>\r\nThe mid-point frequency of the Lead Controller is equal to 1.5 rad\/sec:\r\n<p style=\"text-align: center\">[latex]\\omega_0 = \\frac{1}{\\sqrt\\alpha \\cdot\\tau} = 1.5 \\rightarrow \\tau = 2.896[\/latex]<\/p>\r\nAs seen on the plot, there is a gain increase at the mid-point frequency of the Lead Controller, equal to:\r\n<p style=\"text-align: center\">[latex]\\frac{1}{\\sqrt{\\alpha}} = 4.34[\/latex]<\/p>\r\nFurther, remember that since we are going to use the DC gain of 4.9, the new total gain at the chosen crossover frequency of 1.5 is going to be the original gain of [latex]G(j1.5)[\/latex] multiplied by 4.9 and by 4.34:\r\n<p style=\"text-align: center\">[latex]G_{new}(j1.5) = G_{old}(j1.5) \\cdot 4.9 \\cdot4.34=0.042\\cdot4.9\\cdot4.34=0.9[\/latex]<\/p>\r\nTo make that point the compensated crossover frequency, the total \u201cnew\u201d gain has to be equal to 0 dB (1 V\/V) \u2013 thus we can calculate the additional required adjustment of the DC gain of the controller equal to 1\/0.9. The total DC gain of the controller is equal to 4.9\/0.9 = 5.43. Note that, should the adjustment require a reduction of the controller DC gain, we would not be meeting the error specs, which would require reconsidering our choice of the crossover frequency.\r\n\r\nThe controller transfer function is:\r\n<p style=\"text-align: center\">[latex]G_c(s)=K_c\\cdot\\frac{\\tau s + 1}{\\alpha\\tau s +1} = 5.43\\cdot\\frac{2.89s+1}{0.053\\cdot2.89s + 1} = 5.43\\cdot\\frac{2.89s+1}{0.154s + 1}[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]G_c(s)=\\frac{a_1 s + a_0}{b_1 s + 1} = \\frac{15.73s + 5.43}{0.265s +1}[\/latex]<\/p>\r\nThe open loop Bode plots before and after compensation and the system Phase Margin are shown in Figure 13\u201122 and the compensated Phase Margin is shown in \u2013 it is [latex]\\Phi_m = 55^{\\circ}[\/latex] at the frequency of [latex]\\omega_{cp(comp)}=1.5[\/latex] rad\/sec, as was chosen for this design.\r\n\r\n[caption id=\"attachment_1165\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_5.png\" alt=\"Figure 13\u20115: Open Loop Frequency Responses in Lead Design Example 1 \u2013 Simplified Design\" width=\"1200\" height=\"900\" class=\"wp-image-1165 size-full\" \/> Figure 13\u20115: Open Loop Frequency Responses in Lead Design Example 1 \u2013 Simplified Design[\/caption]\r\n\r\nThe expected compensated closed loop response specs can be estimated using the dominant poles model again. Use the formula or read off the Phase Margin graph:\r\n<p style=\"text-align: center\">[latex]\\zeta = \\frac{\\tan\\Phi_m}{2\\sqrt{{(\\tan\\Phi_m)^2 +1}}} \\rightarrow \\zeta=0.54[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]\\omega_n = \\frac{\\tan\\Phi_m\\cdot\\omega_{cp}}{2\\zeta} = 1.98[\/latex]<\/p>\r\nThe compensated open loop gain:\r\n<p style=\"text-align: center\">[latex]K_{pos}=\\lim_{s\\rightarrow 0} G_{open}(s) = \\lim_{s\\rightarrow 0} G_{c}(s) \\cdot G_(s) = 5.3\\frac{0.5}{5\\cdot0.01} =54.32[\/latex]<\/p>\r\nThe compensated closed loop gain:\r\n<p style=\"text-align: center\">[latex]K_{dc} = \\frac{K_{dco}}{1 + K_{dco}} = \\frac{54.32}{55.32} = 0.982[\/latex]<\/p>\r\nThe compensated closed loop model:\r\n<p style=\"text-align: center\">[latex]G_{mc}(s)=\\frac{3.852}{s^2+2.142s +3.923}[\/latex]<\/p>\r\n\r\n\r\n[caption id=\"attachment_1168\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_6.png\" alt=\"Figure 13\u20116: Compensated Phase Margin in Lead Design Example 1 \u2013 Simplified Design, Gain and Phase Margins\" width=\"1200\" height=\"900\" class=\"wp-image-1168 size-full\" \/> Figure 13\u20116: Compensated Phase Margin in Lead Design Example 1 \u2013 Simplified Design, Gain and Phase Margins[\/caption]\r\n\r\nModel specs can be calculated as:\r\n<p style=\"text-align: center\">[latex]PO = 100 \\cdot \\left(e^{\\frac{-\\zeta\\pi}{\\sqrt{1-\\zeta^2}}} \\right ) = 13.27\\%[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}=3.73[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]T_{rise(100\\%)} = \\frac{\\pi-cos\\zeta^{-1}}{\\omega_n\\sqrt{1-\\zeta^2}}=1.286[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]e_{ss(step\\%)}=\\frac{1}{1 + k_{pos}}\\cdot100\\%=\\frac{1}{1 + 31}\\cdot 100\\% = 1.8\\%[\/latex]<\/p>\r\nThe actual closed loop transfer function is:\r\n<p style=\"text-align: center\">[latex]G_{cl}(s) = \\frac{51.246(s+0.345)}{(s+8.33)(s+0.3924)(s^2+2.993s+5.514)}[\/latex]<\/p>\r\nAs we can see, the actual closed loop transfer function has a dominant pair of complex poles at [latex]-1.5\\pm j1.81[\/latex], with the damping ratio [latex]\\zeta=0.637[\/latex] and the natural frequency of oscillations [latex]\\omega_n = 2.35 [\/latex]rad\/sec, as well as a zero at -0.3453 and two real poles at \u20138.33 and at -0.3924. The dominant poles model is not as accurate as before, because now an additional pole-zero combo shows up, closer to the Imaginary axis than the real coordinate of the dominant pair, and they do not totally cancel out. Their net residual effect on the closed loop response is that there is a slight additional overshoot caused by the zero, and the Settling Time is actually a bit slower than expected - see the actual step response comparison in Figure 13\u20117 and the comparison of the specs below.\r\n\r\nActual specs, compared to the model specs (based on compensated Open Loop Bode plots), are:\r\n<table style=\"border-collapse: collapse;width: 100%;height: 115px\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 14px\">\r\n<td style=\"width: 33.3333%;height: 14px\"><\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">[latex]G_{mc}(s)[\/latex] - Model for Compensated System<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">Actual <span style=\"font-family: inherit;font-size: inherit\">Compensated System<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"width: 33.3333%;height: 14px\">PO<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">13.3%<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">16.8%<\/td>\r\n<\/tr>\r\n<tr style=\"height: 29px\">\r\n<td style=\"width: 33.3333%;height: 29px\">[latex]e_{ss(step\\%)}[\/latex]<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">1.8%<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">1.8%<\/td>\r\n<\/tr>\r\n<tr style=\"height: 29px\">\r\n<td style=\"width: 33.3333%;height: 29px\">[latex]T_{rise(0-100\\%)}[\/latex]<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">1.29 sec<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">1.25 sec<\/td>\r\n<\/tr>\r\n<tr style=\"height: 29px\">\r\n<td style=\"width: 33.3333%;height: 29px\">[latex]T_{settle(\\pm2\\%)}[\/latex]<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">3.7 sec<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">5.5 sec<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nWe could try to improve on this design by trying a different choice of the crossover frequency. The biggest problem is that a different choice of the crossover frequency may require us to make a final adjustment to the DC gain of the open loop (the one we need to make the total open loop gain equal to 0 dB at the crossover frequency) to be less than 1, and that will cause us to miss the steady state specs, requiring yet another iteration. However, it is much easier to meet all conditions using the analytical design formulae, which we will try next.\r\n<div class=\"textbox\">\r\n\r\nPlus of the simplified design \u2013 it will never lead to negative values of the controller parameters, which may happen with the Analytical Lead Design.\r\n\r\nMinus of the Simplified Lead Design \u2013 some choices of the crossover frequency may result in the final adjustment of the open loop DC gain that will not meet the error specs. As well, Lead Design always results in adding a zero to the closed loop transfer function that is not totally cancelling out and thus is affecting the shape of the closed loop response by increasing its PO. The solution to both these problems is a trial &amp; error approach to finding an acceptable set of controller parameters, but it is tedious.\r\n\r\n<\/div>\r\n\r\n[caption id=\"attachment_1173\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_7.png\" alt=\"Figure 13\u20117: Compensated Closed Loop Step Response in Lead Design Example 1 \u2013 Simplified Design\" width=\"1200\" height=\"900\" class=\"wp-image-1173 size-full\" \/> Figure 13\u20117: Compensated Closed Loop Step Response in Lead Design Example 1 \u2013 Simplified Design[\/caption]\r\n<h3><strong><span style=\"font-size: 1.266em\">13.3.1.2 Lead Controller Design Solved Example 1: The \u201cAnalytical\u201d Lead Design<\/span><\/strong><\/h3>\r\n<div>\r\n\r\nThe analytical design gives us more flexibility to shape the open loop response by choosing different locations for the crossover frequency and quickly checking the resulting open loop parameters and the closed loop response.\r\n\r\nRemember that the first step is always to choose the required DC gain based on the error specs \u2013 the calculations are identical to the simplified method, so the Controller DC gain ([latex]a_0[\/latex]) will be the same.\r\n\r\nBased on the required error specification:\r\n<p style=\"text-align: center\">[latex]e_{ss(step)c} = 2\\% \\rightarrow \\frac{1}{1+K_{posc}}=0.02[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]K_{posc}=\\frac{1}{0.02}-1 \\rightarrow K_{posc}=49[\/latex]<\/p>\r\nThe compensated closed loop DC gain should be:\r\n<p style=\"text-align: center\">[latex]K_{dc(comp)} = \\frac{K_{posc}}{1+K_{posc}}=\\frac{49}{50}=0.98[\/latex]<\/p>\r\nThe controller DC gain is then:\r\n<p style=\"text-align: center\">[latex]K_c = a_0 = \\frac{K_{posc}}{K_{posu}} = \\frac{49}{10} = 4.9[\/latex]<\/p>\r\nNext, we pick the Phase Margin \u2013 in this example, we decided to have the Phase Margin of [latex]55^{\\circ}[\/latex], so let\u2019s stick with this value. Next, we need to choose the crossover frequency \u2013 as long as it is more than 0.3 (the uncompensated value). First, let\u2019s choose the same value as in the simplified design:\r\n<p style=\"text-align: center\">[latex]\\omega_{cp(comp)} = 1.5 rad\/sec[\/latex]<\/p>\r\nTo use the derived formulae for the controller constants [latex]a_1[\/latex] and [latex]b_1[\/latex], we need to find the uncompensated open loop Bode plot the phase and the gain at that frequency. Recall that reading values off the dB plot is notoriously inaccurate, and thus it is better to substitute [latex]s=j1.5[\/latex] into the transfer function G(s) to obtain more accurate values of magnitude and phase \u2013 we already did that for the simplified design:\r\n<p style=\"text-align: center\">[latex] \\left | G(j1.5) \\right | = 0.042 \\frac{V}{V}=-27.5dB [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] \\angle G(jw) = -189^{\\circ} [\/latex]<\/p>\r\nNext, substitute these values into the formulae:\r\n<p style=\"text-align: center\">[latex] \\theta = -180^{\\circ} + \\Phi_m -\\angle G(j1.5) = -180^{\\circ}+55^{\\circ}+189^{\\circ} = 64^{\\circ} [\/latex]<\/p>\r\nNote that the \u201clift\u201d angle is similar to the \u201cmaximum phase lift\u201d in the simplified design, except that we don\u2019t need to choose just this one maximum value, as you will see later. Next, we substitute the values into the Analytical Design formulae:\r\n<p style=\"text-align: center\">[latex]a_1 = \\frac{1-a_0 \\cdot \\left |G(j\\omega_{cp}) \\right |\\cdot\\cos\\theta}{\\omega_{cp} \\cdot \\left |G(j\\omega_{cp}) \\right |\\cdot\\sin\\theta}=15.9[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]b_1 = \\frac{\\cos\\theta-a_0 \\cdot \\left |G(j\\omega_{cp}) \\right |}{\\omega_{cp} \\cdot\\sin\\theta}=0.17[\/latex]<\/p>\r\nThese values are very close to the ones obtained using the simplified approach, as expected. The closed loop response will also be similar. Recall that that design had more Percent Overshoot than expected, and a longer Settling Time, so let us look for an improvement.\r\n\r\nWith the analytical design, we can easily choose a different frequency of the crossover (as long as it is more than the uncompensated crossover frequency of 0.3 rad\/sec) and see if the resulting closed loop step response simulations will improve. Knowing that the Lead design causes more PO than expected, we can also overcompensate slightly for it by making the Phase Margin larger than the dominant poles model suggests. Let\u2019s say, make [latex] \\omega_{cp(comp)} = 1.8 [\/latex] rad\/sec and [latex] \\Phi_{m} = 60^{\\circ} [\/latex] . Again, we need to find the gain of the uncompensated system at that frequency (1.8 rad\/sec) \u2013 recall that reading it off the graph is inaccurate so it is best to substitute [latex]s=j1.8[\/latex] into G(s):\r\n<p style=\"text-align: center\">[latex]\\angle G(j1.8) = -193^{\\circ}[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] \\left | G(j0.2) \\right | = 0.029 \\frac{V}{V} = -30.8dB[\/latex]<\/p>\r\nNext, substitute these values into the formulae:\r\n<p style=\"text-align: center\">[latex]\\theta = -180^{\\circ} + \\Phi_m - \\angle G(j0.2) = -180^{\\circ} +60^{\\circ}+193^{\\circ} = 73^{\\circ}[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]a_1 = \\frac{1-a_0 \\cdot \\left |G(j\\omega_{cp}) \\right |\\cdot\\cos\\theta}{\\omega_{cp} \\cdot \\left |G(j\\omega_{cp}) \\right |\\cdot\\sin\\theta}=19.21[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]b_1 = \\frac{\\cos\\theta-a_0 \\cdot \\left |G(j\\omega_{cp}) \\right |}{\\omega_{cp} \\cdot\\sin\\theta}=0.083[\/latex]<\/p>\r\nHere we see that the controller coefficients are acceptable, both being positive. Recall that the controller pole in RHP would be unacceptable, because it means an unstable open loop transfer function \u2013 even if the resulting closed loop is stable, for safety reasons we do not want to implement that \u2013 in case if the closed loop incidentally opens (a malfunction), we would have an unstable system on our hands. The RHP location of the controller zero would also be unacceptable - even if the controller pole is in a stable location, the RHP zero will introduce an effective delay into the system, extending both the Rise Time and the Settling Time. Recall that we will never get that kind of surprise in the \u201csimplified\u201d lag design. Let\u2019s check the compensated system response. The open loop Bode plots before and after compensation are shown in Figure 13\u20118 and the system Phase Margin is shown in Figure 13\u20119. The controller transfer function is:\r\n<p style=\"text-align: center\">[latex]G_c(s) = \\frac{a_1 s + a_0}{b_1 s + 1} = \\frac{19.21s + 4.9}{0.083 s + 1}[\/latex]<\/p>\r\nThe expected compensated closed loop response can be estimated using the dominant poles model again. Use the formula or read off the Phase Margin graph in Figure 12\u20119:\r\n<p style=\"text-align: center\">[latex]\\zeta = \\frac{\\tan\\Phi_m}{2\\sqrt{\\sqrt{(\\tan\\Phi_m)^2 + 1}}} \\rightarrow \\zeta = 0.612 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] \\omega_0 = \\frac{\\tan\\Phi_m\\cdot\\omega_{cp}}{2\\zeta} = 2.546 [\/latex]<\/p>\r\nThe compensated closed loop model:\r\n<p style=\"text-align: center\">[latex]G_{mc}(s) = \\frac{6.35}{s^2 + 3.18s + 6.48}[\/latex]<\/p>\r\nModel specs can be calculated as:\r\n<p style=\"text-align: center\">[latex]PO = 100\\cdot \\left ( e^{\\frac{-\\zeta \\pi}{\\sqrt{1-\\zeta^2}}} \\right ) = 8.8\\%[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n} = 2.57[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] T_{rise(100\\%)}=\\frac{\\pi - \\cos\\zeta^{-1}}{\\omega_n\\sqrt{1-\\zeta^2}} = 1.11 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]e_{ss(step\\%)} = \\frac{1}{1+K_{pos}}\\cdot100\\% = \\frac{1}{1+49}\\cdot100\\% =2\\%[\/latex]<\/p>\r\n\r\n\r\n[caption id=\"attachment_1215\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_8.png\" alt=\"Figure 13\u20118: Open Loop Frequency Responses in Lead Design Example 1 \u2013 Analytical Design\" width=\"1200\" height=\"900\" class=\"wp-image-1215 size-full\" \/> Figure 13\u20118: Open Loop Frequency Responses in Lead Design Example 1 \u2013 Analytical Design[\/caption]\r\n\r\nThe actual closed loop transfer function:\r\n<p style=\"text-align: center\">[latex]G_{cl}(s) = \\frac{115.75 (s + 0.2551)}{(s+13.13)(s+0.2688)(s^2 + 3.852s + 8.536)}[\/latex]<\/p>\r\nNote that the closed loop model based on the dominant poles is now more accurate than in the case of the \u201csimplified\u201d design \u2013 while the additional pole-zero combo still shows up, both closer to the Imaginary axis than the complex pair of poles at [latex]-1.93\\pm j2.2[\/latex], their net effect on the closed loop response is almost negligible because of a much better \u201cnear-cancellation\u201d: we have a zero at -0.2551, and a pole at -0.2688. Before they were at -0.3453 and at -0.3924, respectively.\r\n\r\n[caption id=\"attachment_1216\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_9.png\" alt=\"Figure 13\u20119: Compensated Phase Margin in Lag Design Example 1 \u2013 Analytical Design\" width=\"1200\" height=\"900\" class=\"wp-image-1216 size-full\" \/> Figure 13\u20119: Compensated Phase Margin in Lag Design Example 1 \u2013 Analytical Design[\/caption]\r\n\r\nSee the actual step response comparison in Figure 13\u201110 and the comparison of the specs below. The actual specs, compared to the model specs (based on compensated Open Loop Bode plots), are:\r\n<table style=\"border-collapse: collapse;width: 100%;height: 85px\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 29px\">\r\n<td style=\"width: 33.3333%;height: 29px\"><\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">Actual Compensated System<\/td>\r\n<td style=\"width: 33.3333%;height: 29px\">[latex]G_{mc} (s) [\/latex] - Model for\r\nthe Compensated System<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"width: 33.3333%;height: 14px\">PO<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">10.5%<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">8.8%<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"width: 33.3333%;height: 14px\">[latex]e_{ss(step\\%)}[\/latex]<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">2%<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">2%<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"width: 33.3333%;height: 14px\">[latex]T_{rise(0-100\\%)}[\/latex]<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">1.1 sec<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">1.1 sec<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"width: 33.3333%;height: 14px\">[latex]T_{settle(\\pm 2\\%)}[\/latex]<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">12.1 sec<\/td>\r\n<td style=\"width: 33.3333%;height: 14px\">5.5 sec<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nFinally, let\u2019s see how much of an improvement we achieved by introducing the Lead Controller \u2013 see the comparison of the responses in Figure 13\u201111. The only spec that differs from the model is the Settling Time. This is due to an additional pole in the transfer function close to the significant region, and the not-perfect pole-zero cancellation. These two additional poles and the zero affect the system response. The not-exactly cancelled zero increases the Percent Overshoot, and the two poles slow down the Settling Time.\r\n\r\n[caption id=\"attachment_1217\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_10.png\" alt=\"Figure 13\u201110: Compensated Closed Loop Step Response in Lead Design Example 1 \u2013 Analytical Design\" width=\"1200\" height=\"900\" class=\"wp-image-1217 size-full\" \/> Figure 13\u201110: Compensated Closed Loop Step Response in Lead Design Example 1 \u2013 Analytical Design[\/caption]\r\n\r\n<div class=\"textbox\">\r\n\r\nPlus of the Analytical Lead Design \u2013 it can be quickly iterated to find a much better system performance, without compromising any of the specifications, including the DC gain, which may happen with the Simplified Lead Design.\r\n\r\nMinus of the Analytical Lead Design \u2013 sometimes the design formulae will yield negative, i.e. unacceptable, values of controller parameters. This can be addressed by a slightly different choice of the crossover frequency and the phase margin.\r\n\r\n<\/div>\r\n\r\n[caption id=\"attachment_2353\" align=\"aligncenter\" width=\"834\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_11.png\" alt=\"Figure 13\u201111: Comparison of Closed Loop Step Responses in Lead Design Example 1\" width=\"834\" height=\"1249\" class=\"wp-image-2353 size-full\" \/> Figure 13\u201111: Comparison of Closed Loop Step Responses in Lead Design Example 1[\/caption]\r\n<h3><strong><span style=\"font-size: 1.424em\">13.3.2 Lead Controller Design \u2013 Solved Example 2<\/span><\/strong><\/h3>\r\n<div>\r\n\r\nConsider another unit feedback closed loop control system (see previous example), which is to operate under Lead Control. The process transfer function G(s) is:\r\n<p style=\"text-align: center\">[latex]G(s)=\\frac{262}{(s+0.3)(s+5)(s+50)}[\/latex]<\/p>\r\nOpen loop frequency response plots of G(s) are shown in Figure 13\u201112. The closed loop performance requirements are: the Steady State Error for the unit step input for the compensated closed loop system is to be equal to 1%; Percent Overshoot of the compensated closed loop system is to be no more than 15%; the Settling Time, [latex] T_{settle{(\\pm 2 \\%)}}[\/latex], is to be no more than 0.3 seconds, and the Rise Time, [latex] T_{rise{(0-100\\%)}}[\/latex], is to be no more than 0.1 seconds.\r\n\r\n[caption id=\"attachment_1221\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_12.png\" alt=\"Figure 13\u201112: Uncompensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Gain and Phase margins\" width=\"1200\" height=\"900\" class=\"wp-image-1221 size-full\" \/> Figure 13\u201112: Uncompensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Gain and Phase margins[\/caption]\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">Let\u2019s start with an estimate of the uncompensated closed loop step response specs: [latex]PO[\/latex], [latex]e_{ss(step\\%)}[\/latex], [latex]T_{rise(0-100\\%)}[\/latex] and [latex]T_{settle(\\pm 2 \\%)}[\/latex].<\/span>\r\n\r\n<\/div>\r\n<p style=\"text-align: center\">[latex]K_{pos(u)}=\\frac{262}{(0.3)(5)(50)} = 3.493[\/latex]<\/p>\r\nEstimates of the uncompensated system step error can be calculated directly from the Position Constant:\r\n<p style=\"text-align: center\">[latex]e_{ss(step\\%)}=\\frac{1}{1+K_{pos(u)}}\\cdot100\\%=\\frac{1}{1+3.493}\\cdot100\\%=22.3\\%[\/latex]<\/p>\r\nOr, we can use the closed loop DC gain:\r\n<p style=\"text-align: center\">[latex]K_{dcG_{clu}(0)}=\\frac{262}{337}=0.777[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]e_{ss(step\\%)}=(1-K_{dc})\\cdot100\\%=22.3\\%[\/latex]<\/p>\r\nLet\u2019s check the model for the uncompensated system \u2013 from open loop Bode plots, the Phase Margin is so large ([latex]\\Phi_{m(uncomp)}=94^{\\circ}[\/latex]), the formulas clearly do not apply \u2013 it will give you a damping ratio close to 1 \u2013 the system is overdamped! We have to default to the transfer function calculations of the dominant poles model \u2013 fortunately, we can use Matlab to do the heavy lifting:\r\n<p style=\"text-align: center\">[latex]G_{clu}(s)=\\frac{\\frac{262}{(s+0.3)(s+5)(s+50)}}{1 + \\frac{262}{(s+0.3)(s+5)(s+50)}} = \\frac{262}{s^3 + 55.3s^2 + 266.3s + 337}[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]G_{clu}(s) = \\frac{262}{(s+50.12)(s^2+5.2s+6.72)}[\/latex]<\/p>\r\nThe uncompensated closed loop system has one real pole and two complex poles with the damping ratio almost equal to 1: -50.1, [latex]-2.59\\pm j 0.086[\/latex] ([latex]\\zeta = 0.999[\/latex]). This is NOT an underdamped dominant poles model! We can have the model based on the one DOUBLE dominant real pole \u2013 critical damping ([latex]\\zeta = 1[\/latex])\u00a0 \u2013 see the step response of the actual uncompensated closed loop system and of the 2nd order model, shown in Figure 13\u201113.\r\n<p style=\"text-align: center\">[latex]K_{dc} = G_{clu}(0)=\\frac{262}{337}=0.777[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]G_{mu}(s) = 0.777\\frac{6.72}{s^2 + 5.2s + 6.72}[\/latex]<\/p>\r\nEstimates from the model: [latex]\\omega_n = 2.59, \\zeta=1.0, PO=0\\%[\/latex]\r\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}=1.54[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]T_{rise(10-90\\%)}\\approx 0.8\\cdot T_{settle(\\pm2\\%)}=1.23[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]e_{ss(step])}=1-K_{dc}=1-0.777=0.223[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]e_{ss(step])}=22.3\\%[\/latex]<\/p>\r\nNote it is difficult to estimate the Rise Time for a critically damped system. One way would be to assume [latex]T_{rise}\\approx T_{settle}[\/latex]. Check with \u201cstepeval\u201d what the actual specs are:\u00a0 [latex] PO = 0\\%[\/latex], [latex]T_{settle(\\pm2\\%)}=22[\/latex] sec, [latex]T_{rise(10-90\\%)}=1.3\u00a0 [\/latex] sec, [latex] e_{ss(step\\%)}=22.3\\% [\/latex].\r\n\r\n<\/div>\r\n<\/div>\r\n\r\n[caption id=\"attachment_1265\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_13.png\" alt=\"Figure 13\u201113: Uncompensated Closed Loop Step Response in Lead Design Example 2 \u2013 Actual System vs. Model\" width=\"1200\" height=\"900\" class=\"wp-image-1265 size-full\" \/> Figure 13\u201113: Uncompensated Closed Loop Step Response in Lead Design Example 2 \u2013 Actual System vs. Model[\/caption]\r\n\r\nNext, decide on the DC gain of the Controller ([latex] a_0 [\/latex]) that would meet the design requirements. Calculate the DC gain of the controller, [latex] K_c = a_0 [\/latex] - for the error to be 1%:\r\n<p style=\"text-align: center\">[latex]e_{ss}=\\frac{1}{1+K_{pos}}\u00a0 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] 0.01=\\frac{1}{1+K_{pos}} \\rightarrow K_{pos(c)}=\\frac{1}{0.01}-1 =99 [\/latex]<\/p>\r\nFrom that we can calculate the DC gain of the controller transfer function, [latex] a_0 [\/latex]:\r\n<p style=\"text-align: center\">[latex] a_0=\\frac{K_{pos(c)}}{K_{pos)u}}=\\frac{99}{3.493}=28.34 [\/latex]<\/p>\r\nDecide what value of the Phase Margin for the compensated system ([latex] \\Phi_{m, c} [\/latex]), and what value of the crossover frequency for the compensated system ([latex] \\omega_{cp, c} [\/latex]), would meet the design requirements. To figure out the compensated system Phase Margin and frequency of the crossover, we should look at the \u201cdesired\u201d values of the closed loop dominant poles model \u2013 check the plot of PO vs. damping ratio in Figure 7\u20114.\r\n<p style=\"text-align: center\">[latex] PO = 100\\cdot\\left ( e^{\\frac{-\\zeta\\pi}{\\sqrt{1-\\zeta^2}}} \\right ) [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] PO=15\\% \\rightarrow \\zeta = 0.5169 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}=0.3\\rightarrow \\omega_n =25.8 [\/latex]<\/p>\r\nWe can now put together the model for the compensated closed loop system:\r\n<p style=\"text-align: center\">[latex] K_{dc}=\\frac{K_{pos(c)}}{1+K_{pos(c)}}=\\frac{99}{1+99}=0.99 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] G_{mc}(s)=K_{dc}\\frac{\\omega_n^2}{s^2+2\\zeta\\omega_n s + \\omega^2}=0.99\\cdot\\frac{665.3}{s^2+26.67s+665.3} [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] G_{mc}(s)=0.99\\cdot\\frac{658.6}{s^2+26.67s+665.3} [\/latex]<\/p>\r\nLet\u2019s check if this choice of [latex] \\zeta [\/latex] and [latex] \\omega_n [\/latex] will also result in an acceptable Rise Time:\r\n<p style=\"text-align: center\">[latex] T_{rise(0-100\\%)}=\\frac{\\pi-\\cos^{-1} \\zeta}{\\omega_n\\sqrt{1-\\zeta^2}}=0.096 [\/latex]<\/p>\r\nThis is fine, so the next step is to \u201ctranslate\u201d the closed loop model parameters into the Phase Margin and crossover frequency: based on Figure 12\u20119 we have: [latex] \\zeta = 0.5169 \\rightarrow \\Phi_m \\approx 55^{\\circ} [\/latex]\u00a0 Next, solve for the required crossover frequency:\r\n<p style=\"text-align: center\">[latex] \\omega_{cp} \\approx \\omega_n \\sqrt{1-2\\zeta^2}=17.6 [\/latex]<\/p>\r\nAlternatively, we can use this formula:\r\n<p style=\"text-align: center\">[latex] \\omega_{cp} = \\frac{2\\zeta\\cdot\\omega_n}{(\\tan\\Phi_m)}=19.96 [\/latex]<\/p>\r\n\u00a0Let\u2019s pick the values of [latex] \\Phi_{m(comp)} = 55^{\\circ} [\/latex] and [latex] \\omega_{cp(comp)} [\/latex] rad\/sec, and [latex] a_0=24.25 [\/latex] Next, the appropriate Controller parameters and clearly write the Lead Controller transfer function, [latex] G_c(s) [\/latex]. We will use the analytical design formulae, but first we need to compute open loop gain and phase values at the chosen frequency of the crossover \u2013 we will use Matlab to obtain accurate values, as reading them off the graph may be too rough; see if you can read off the value close to -40 dB directly off the open loop Bode plot in Figure 13\u201112. Matlab values are shown in Figure 13\u201114.\r\n<p style=\"text-align: center\">[latex] \\omega_{cp(comp)}=20rad\/sec\\rightarrow \\left | G(j20) \\right | = -38.6dB [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] \\left | G(j20) \\right | = 0.0118 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] \\angle G(j\\omega) = -186.9^{\\circ} [\/latex]<\/p>\r\n\u00a0We can now compute the \u201clift\u201d angle:\r\n<p style=\"text-align: center\">[latex] \\theta=-180^{\\circ}+\\Phi_m-\\angle G(j20) [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] \\theta=-180^{\\circ}+55^{\\circ}+187^{\\circ}=62^{\\circ} [\/latex]<\/p>\r\n\r\n\r\n[caption id=\"attachment_1269\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_14.png\" alt=\"Figure 13\u201114: Uncompensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Readouts at\" width=\"1200\" height=\"900\" class=\"wp-image-1269 size-full\" \/> Figure 13\u201114: Uncompensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Readouts at[\/caption]\r\n\r\nApply the formulae:\r\n<p style=\"text-align: center\">[latex] a_1 = \\frac{1-a_0\\cdot \\left | G(j\\omega_{cp}) \\right | \\cdot \\cos\\theta}{\\omega_{cp}\\cdot \\left | G(j\\omega_{cp}) \\right | \\cdot \\sin\\theta} = \\frac{1-28.34\\cdot0.0118\\cdot\\cos62^{\\circ}}{20\\cdot0.0118\\sin62^{\\circ}} = 4.05 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] b_1 = \\frac{\\cos\\theta-a_0\\cdot \\left | G(j\\omega_{cp}) \\right |}{\\omega_{cp}\\cdot \\sin\\theta} = \\frac{\\cos62^{\\circ}-28.34\\cdot0.0118}{20\\cdot\\sin62^{\\circ}} = 0.0077 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] G_c(s)=\\frac{a_1s+a_0}{b_1+1}=\\frac{4.05s + 28.34}{0.0077s + 1} [\/latex]<\/p>\r\nThe Lead Controller transfer function coefficients are both positive, so the transfer function is acceptable! Let\u2019s have a look at the compensated vs. uncompensated open loop Bode plots in Figure 13\u201115. You can clearly see the characteristic shape of the open loop compensation \u2013 the increased open loop DC gain, the increased Phase Margin and crossover frequency. We can check the obtained values by using the \u201cmargin\u201d function in Matlab, as shown in Figure 13\u201121.\r\n<p style=\"text-align: center\">[latex] \\Phi_{m_c} = 55^{\\circ} [\/latex] and [latex] \\omega_{cp_c} = 20rad\/sec [\/latex]<\/p>\r\n\r\n\r\n[caption id=\"attachment_1271\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_15.png\" alt=\"Figure 13\u201115: Compensated Open Loop Frequency Response in Lead Design Example 2\" width=\"1200\" height=\"900\" class=\"wp-image-1271 size-full\" \/> Figure 13\u201115: Compensated Open Loop Frequency Response in Lead Design Example 2[\/caption]\r\n\r\nNext, estimate the <strong>compensated <\/strong>closed loop step response specs: PO, [latex] e_{ss(step\\%)} [\/latex], [latex] T_{rise(0-100\\%)} [\/latex], and [latex] T_{settle(\\pm2\\%)} [\/latex].\r\n\r\nThe estimated specs are going to be as expected since we created the compensated closed loop system model based on these:\r\n<p style=\"text-align: center\">[latex] \\zeta = 0.5169 [\/latex], [latex] \\omega_n = 25.8 [\/latex], [latex] K_{dc} = 0.99 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] G_{mc}(s)=\\frac{658.6}{s^2 + 26.67s + 665.3} [\/latex]<\/p>\r\nThus, we expect these estimates, as per model:\r\n<p style=\"text-align: center\">[latex] PO = 100\\cdot\\left ( e^{\\frac{-\\zeta\\pi}{\\sqrt{1-\\zeta^2}}} \\right )=15\\% [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}=0.3 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] T_{rise(0-100\\%)} = \\frac{\\pi-cos^{-1}\\zeta}{\\omega\\sqrt{1-\\zeta^2}}=0.1 [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] e_{ss(step)}= 1 - K_{dc}=1-0.99=0.01 [\/latex], [latex] e_{ss(step\\%)}= 1\\% [\/latex]<\/p>\r\n\r\n\r\n[caption id=\"attachment_1273\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_16.png\" alt=\"Figure 13\u201116: Compensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Gain and Phase Margins\" width=\"1200\" height=\"900\" class=\"wp-image-1273 size-full\" \/> Figure 13\u201116: Compensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Gain and Phase Margins[\/caption]\r\n\r\nLet\u2019s now check if the closed loop response conforms to these expectations. The compensated open loop system transfer function is:\r\n<p style=\"text-align: center\">[latex] G_{open(c)}(s)=\\frac{4.05s + 28.34}{0.0077s + 1}\\cdot \\frac{262}{(s+0.3)(s + 5)(s+50)} [\/latex]<\/p>\r\nThe closed loop system transfer function is:\r\n<p style=\"text-align: center\">[latex] G_{cl(c)}(s)=\\frac{\\frac{4.05s + 28.34}{0.0077s + 1}\\cdot\\frac{262}{(s+0.3)(s+5)(s+50)}}{1 + \\frac{4.05s + 28.34}{0.0077s + 1}\\cdot \\frac{262}{(s+0.3)(s+5)(s+50)}} [\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex] G_{cl(c)}(s)=\\frac{68254(s+7)}{(s+139.9)(s+7.78)(s^2+36.77s+890)} [\/latex]<\/p>\r\nThe dominant pair of complex poles is at: [latex] -18.4 \\pm j 23.5 [\/latex]. Based on the closed loop transfer function, we can expect a near-pole-zero cancellation weakening the effect on the significant pole-zero pair at -7 and -7.78 respectively; the pole at -139.9 is not insignificant either but it should counteract the effect of the not-entirely cancelled zero. Conclusion \u2013 the actual compensated system response should be very similar to the predicted model. This is confirmed by the plots in Figure 13\u201117. The actual system response, despite the presence of an extra pole and an extra zero, is not that different from the expected response, confirming the validity of this approach.\r\n\r\n[caption id=\"attachment_1275\" align=\"aligncenter\" width=\"1200\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_17.png\" alt=\"Figure 13\u201117: Compensated Step Response (Actual System vs. 2nd Order Model) in Lead Design Example 2\" width=\"1200\" height=\"900\" class=\"wp-image-1275 size-full\" \/> Figure 13\u201117: Compensated Step Response (Actual System vs. 2nd Order Model) in Lead Design Example 2[\/caption]\r\n\r\nBelow, we compare the expected specs, based on the model, with the actual system response specs, obtained by running the \u201cstepeval\u201d function. The actual specs, compared to the model specs, are:\r\n<table style=\"border-collapse: collapse;width: 100%;height: 241px\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 33.3333%\"><\/td>\r\n<td style=\"width: 33.3333%\">Actual Compensated\r\n\r\nSystem<\/td>\r\n<td style=\"width: 33.3333%\">[latex] G_{mc}(s) [\/latex] - Model for\r\nthe Compensated System<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 33.3333%\">PO<\/td>\r\n<td style=\"width: 33.3333%\">14.9%<\/td>\r\n<td style=\"width: 33.3333%\">15%<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 33.3333%\">[latex] e_{ss(step\\%)} [\/latex]<\/td>\r\n<td style=\"width: 33.3333%\">1%<\/td>\r\n<td style=\"width: 33.3333%\">1%<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 33.3333%\">[latex] T_{rise(0-100\\%)} [\/latex]<\/td>\r\n<td style=\"width: 33.3333%\">0.093 sec<\/td>\r\n<td style=\"width: 33.3333%\">0.1 sec<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 33.3333%\">[latex] T_{settle(\\pm2\\%)} [\/latex]<\/td>\r\n<td style=\"width: 33.3333%\">0.24 sec<\/td>\r\n<td style=\"width: 33.3333%\">0.3 sec<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe specs estimates from the model are very accurate, with all specs meeting the required values.\r\n\r\n&nbsp;","rendered":"<div>\n<h3><strong>13.3.1 Lead Controller Design \u2013 Solved Example 1<\/strong><\/h3>\n<p>Consider a typical unit feedback closed loop control system, as shown, which is to operate under Lead Control.<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_1-300x117.png\" alt=\"\" width=\"300\" height=\"117\" class=\"size-medium wp-image-1128 aligncenter\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_1-300x117.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_1-65x25.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_1-225x88.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_1-350x136.png 350w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_1.png 635w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>The Lead Controller transfer function is as follows:<\/p>\n<p style=\"text-align: center\">[latex]g_c(s) = K_c \\cdot \\frac{\\tau s + 1}{\\alpha\\tau s +1} = \\frac{a_1 s + a_0}{b_1 s + 1}[\/latex]<\/p>\n<p>Where [latex]\\tau[\/latex] is the so-called Lead Time Constant and [latex]a<1[\/latex] The process transfer function G(s) is:\n\n\n<p style=\"text-align: center\">[latex]G(s)=\\frac{0.5}{(s+5){(s+0.1)}^2}[\/latex]<\/p>\n<p>Open loop frequency response plots of G(s) are shown in Figure 13\u20113. The closed loop performance requirements are: the Steady State Error for the unit step input for the compensated closed loop system is to be no more than 2%; Percent Overshoot of the compensated closed loop system is to be no more than 15%; the Settling Time, [latex]T_{settle(\\pm 2 \\%)}[\/latex], is to be no more than 5 seconds \u2013 preferably less.<\/p>\n<p>Check what the current (uncompensated system) values of the Phase Margin, [latex]\\Phi_m[\/latex], and the Crossover Frequency, [latex]\\omega_{cp}[\/latex], are. Estimate the uncompensated closed loop step response specs: Percent Overshoot, PO, Steady State Error, [latex]e_{ss(step\\%)}[\/latex], and Settling Time, [latex]T_{settle(\\pm 2 \\%)}[\/latex]. Next, based on the specifications, calculate the required values of the Phase Margin for the compensated system, [latex]\\Phi_{mc}[\/latex], and the DC gain of the controller, [latex]K_{dc}[\/latex].<\/p>\n<p>Design the Lead Controller such that it meets the closed loop response requirements, and write the Lead Controller transfer function and its parameters. For your Controller, estimate the compensated closed loop step response specs: Percent Overshoot, PO, Steady State Error, [latex]e_{ss(step\\%)}[\/latex], Rise Time, [latex]T_{rise(100\\%)}[\/latex], and Settling Time, [latex]T_{settle(\\pm 2\\%)}[\/latex].<\/p>\n<figure id=\"attachment_1135\" aria-describedby=\"caption-attachment-1135\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_2.png\" alt=\"Figure 13 3: Uncompensated Open Loop Frequency Response in Lead Design Example 1 \u2013 Gain and Phase Margins\" width=\"1200\" height=\"900\" class=\"wp-image-1135 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_2.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_2-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_2-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_2-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_2-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_2-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_2-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1135\" class=\"wp-caption-text\">Figure 13-3: Uncompensated Open Loop Frequency Response in Lead Design Example 1 \u2013 Gain and Phase Margins<\/figcaption><\/figure>\n<p>SOLUTION:<\/p>\n<p>Let\u2019s start by finding the open loop DC gain &#8211; note that reading the gains off the Bode plots is difficult due to decibel units \u2013 here the gain could be read off from Figure 13\u20113 as somewhere close to 20 dB. It is therefore, preferable to use the transfer function, if available, to compute the accurate gain values. Here we can compute the Uncompensated Open Loop DC gain \u2013 there is no controller, i.e. [latex]G_c(s)=1[\/latex] &#8211; from the process transfer function:<\/p>\n<p style=\"text-align: center\">[latex]K_{dcopen}=\\lim_{s\\rightarrow 0}G(s)=\\lim_{s\\rightarrow 0}\\frac{0.5}{(s+5){(s+0.1)^2}}=\\frac{0.5}{5\\cdot0.01}=10[\/latex]<\/p>\n<p>The uncompensated closed loop DC gain is then:<\/p>\n<p style=\"text-align: center\">[latex]K_{dc} = \\frac{K_{dc0}}{1 + K_{dc0}} = \\frac{10}{11}=0.9091[\/latex]<\/p>\n<p>The Phase Margin and the crossover frequency can be read off from the Bode plot in Figure 13\u20113 as: [latex]\\Phi_m = 33^{\\circ}[\/latex] and [latex]\\omega_{cp} = 0.3[\/latex] rad\/sec. The damping ratio [latex]\\zeta[\/latex] and the frequency of natural oscillations [latex]\\omega_n[\/latex] for the uncompensated closed loop system can now be estimated by either reading it off the Phase Margin graph in Figure 12\u20119, or by using the formula:<\/p>\n<p style=\"text-align: center\">[latex]\\zeta = \\frac{\\tan\\Phi_m}{2\\sqrt{\\sqrt{({\\tan\\Phi_m)}^2 + 1}}} \\rightarrow \\zeta=0.3[\/latex]<\/p>\n<\/div>\n<p style=\"text-align: center\">[latex]\\omega_n=\\frac{\\tan\\Phi_m\\cdot\\omega_{cp}}{2\\zeta}=0.328[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_m(s)=K_{dc}\\frac{\\omega_n^2}{s^2 + 2\\zeta s + \\omega_n^2}[\/latex]<\/p>\n<p>The uncompensated closed loop model based on the Open Loop Frequency Response is then:<\/p>\n<p style=\"text-align: center\">[latex]G_{mu}(s) = \\frac{0.0979}{s^2 + 0.1982s + 0.1077}[\/latex]<\/p>\n<p style=\"text-align: center\">Model specs can be calculated as:<\/p>\n<p style=\"text-align: center\">[latex]PO = 100\\cdot \\left ( e^{\\frac{-\\zeta\\pi}{\\sqrt{1-\\zeta^2}}} \\right ) = 37\\%[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}=40.4[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{rise(100\\%)}=\\frac{\\pi - \\cos\\zeta^{-1}}{\\omega_n\\sqrt{1-\\zeta^2}}=6[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{rise(100\\%)}=\\frac{\\pi - \\cos\\zeta^{-1}}{\\omega_n\\sqrt{1-\\zeta^2}}=6[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_{cl}(s) = \\frac{0.5}{s^3+5.2s^2+1.01s+0.55}[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_{cl}(s) = \\frac{0.5}{(s+5.02)(s^2+0.1793s+0.1095)}[\/latex]<\/p>\n<p>The closed loop transfer function has a dominant pair of complex poles, with the damping ratio [latex]\\zeta=0.27[\/latex] and the natural frequency of oscillations [latex]\\omega_n=0.33[\/latex] rad\/sec, which are close to the model estimates: [latex]\\zeta=0.3[\/latex], [latex]\\omega_n=0.33[\/latex] rad\/sec. The actual transfer function also has a real pole at \u2013 5.02, which is negligible, compared to the dominant pair of closed loop poles at [latex]-0.09\\pm j0.32[\/latex]. Thus, the assumed model is quite accurate \u2013 see the actual step response comparison, shown in Figure 13\u20114, Figure 13\u201130, and the calculated specs.<\/p>\n<figure id=\"attachment_1145\" aria-describedby=\"caption-attachment-1145\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_3.png\" alt=\"Figure 13 4: Uncompensated Closed Loop Step Response in Lead Design Example 1\" width=\"1200\" height=\"900\" class=\"wp-image-1145 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_3.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_3-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_3-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_3-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_3-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_3-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_3-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1145\" class=\"wp-caption-text\">Figure 13-4: Uncompensated Closed Loop Step Response in Lead Design Example 1<\/figcaption><\/figure>\n<p>Actual specs, compared to the model specs (based on uncompensated Open Loop Bode plots), are:<\/p>\n<table class=\"aligncenter\" style=\"border-collapse: collapse;width: 100%;height: 160px\">\n<tbody>\n<tr style=\"height: 59px\">\n<td style=\"width: 33.3333%;height: 59px\"><\/td>\n<td style=\"width: 33.3333%;height: 59px\">Actual Uncompensated System<\/td>\n<td style=\"width: 33.3333%;height: 59px\">[latex]G_{mu}(s)[\/latex] &#8211; Model for the Uncompensated System<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"width: 33.3333%;height: 14px\">PO<\/td>\n<td style=\"width: 33.3333%;height: 14px\">41%<\/td>\n<td style=\"width: 33.3333%;height: 14px\">37%<\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 33.3333%;height: 29px\">[latex]e_{ss(step\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%;height: 29px\">9.1%<\/td>\n<td style=\"width: 33.3333%;height: 29px\">9.1%<\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 33.3333%;height: 29px\">[latex]T_{rise(0-100\\%}[\/latex]<\/td>\n<td style=\"width: 33.3333%;height: 29px\">6.0 sec<\/td>\n<td style=\"width: 33.3333%;height: 29px\">6.0 sec<\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 33.3333%;height: 29px\">[latex]T_{settle(\\pm 2\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%;height: 29px\">42.0 sec<\/td>\n<td style=\"width: 33.3333%;height: 29px\">40.4 sec<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The specs estimates from the model are very accurate, with all specs meeting the required values.<\/p>\n<p>Now, the Lead Controller design \u2013 we can choose a simplified design or an analytical design. First, always calculate the required DC gain of the controller \u2013 this part is the same in both approaches.<\/p>\n<p>Based on the required error specification:<\/p>\n<p style=\"text-align: center\">[latex]e_{ss(step)c}=2\\% \\rightarrow \\frac{1}{1+K_{posc}} = 0.02[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]K_{posc}=\\frac{1}{0.02}-1\\rightarrow K_{posc}=49[\/latex]<\/p>\n<p>The compensated closed loop DC gain should be:<\/p>\n<p style=\"text-align: center\">[latex]K_{dc(comp)} = \\frac{K_{posc}}{1+K_{posc}} = \\frac{49}{50}=0.98[\/latex]<\/p>\n<p>The controller DC gain is then:<\/p>\n<p style=\"text-align: center\">[latex]K_c = a_0 = \\frac{K_{posc}}{K_{posu}}=\\frac{49}{10}=4.9[\/latex]<\/p>\n<p>Next, \u201ctranslate\u201d the required PO spec into the equivalent closed loop damping ratio. For PO = 15%, the required damping ratio, based on Figure 7\u20114, is [latex]\\zeta = 0.517[\/latex]. The compensated Phase Margin should be, based on Figure 12\u20119: [latex]\\Phi_{m(comp)}=52^\\circ[\/latex]. Let\u2019s round off the Phase Margin to: [latex]\\Phi_{m(comp)}=55^\\circ[\/latex]. Next, \u201ctranslate\u201d the required Settling Time spec into the equivalent closed loop frequency of natural oscillations:<\/p>\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)} \\frac{4}{\\zeta\\omega_n}=5 \\rightarrow \\omega_n=1.55[\/latex]<\/p>\n<p>That frequency can then be \u201ctranslated\u201d into the minimum required Phase Margin crossover frequency:<\/p>\n<p style=\"text-align: center\">[latex]\\omega_{cp} = \\frac{2\\zeta\\omega_n}{\\tan(\\Phi_m)} = \\frac{2\\cdot0.517\\cdot1.55}{\\tan(55^\\circ)}=1.12[\/latex]<\/p>\n<p>What do we do next? The two approaches differentiate on how we proceed.<\/p>\n<div>\n<h3><strong>13.3.1.1 Lead Controller Design Solved Example 1: The \u201cSimplified\u201d Lead Design<\/strong><\/h3>\n<p>Based on the required PO spec, let\u2019s decide on the \u201cgood\u201d Phase Margin for the compensated system \u2013 it will be [latex]\\Phi_{m(comp)}=55^{\\circ}[\/latex]. Next, based on the required Settling Time spec, let\u2019s decide on a \u201cgood\u201d crossover frequency \u2013 let us pick [latex]\\omega_{cp}=1.5[\/latex]. Remember that it is an arbitrary choice that does not guarantee that the solution is the \u201cbest\u201d, or \u201coptimal\u201d. It will result in one possible improvement of the system response. <strong>Note that in the Lead Design,<\/strong> <strong>the compensated crossover frequency will always be to the right of the uncompensated frequency of the crossover.<\/strong> If it were <strong>to the left<\/strong> of the uncompensated frequency of the crossover, we would end up with a Lag Design.<\/p>\n<p>At the chosen frequency of 1.5 rad\/sec, we need to find the magnitude and phase of the original system G(s). Recall that reading values off the dB plot is notoriously inaccurate, and thus it is better to substitute [latex]s=j1.5[\/latex] into the transfer function G(s) to obtain more accurate values of magnitude and phase:<\/p>\n<p style=\"text-align: center\">[latex]\\left |G(j1.5)\\right | = 0.042 \\frac{V}{V} = -27.5dB[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]\\angle G(j\\omega) = -189^{\\circ}[\/latex]<\/p>\n<p>Recall that we are gaining the most phase \u201clead\u201d at the mid-point frequency of the Lead Controller (see the graph below). That mid-point will become our intended compensated crossover frequency, at which the Phase Margin will be measured. If we want to [latex]\\Phi_{m(comp)}= 55^{\\circ}[\/latex], then the required \u201cphase lift\u201d at [latex]\\omega_{cp}= 1.5[\/latex] would be:<\/p>\n<p style=\"text-align: center\">[latex]\\theta=-180^{\\circ}+\\Phi_m - \\angle G(j1.5) = -180^{\\circ} + 55^{\\circ} + 189^{\\circ}=64^{\\circ}[\/latex]<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_4.png\" alt=\"\" width=\"507\" height=\"400\" class=\"aligncenter wp-image-1158 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_4.png 507w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_4-300x237.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_4-65x51.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_4-225x178.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_4-350x276.png 350w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/p>\n<p>We will get that phase lift from the largest phase gain of the Lead Controller:<\/p>\n<p style=\"text-align: center\">[latex]\\varphi_{max} = \\sin^{-1}\\left (\\frac{1-\\alpha}{1+\\alpha} \\right ) = 64^{\\circ} \\rightarrow \\alpha = 0.053[\/latex]<\/p>\n<p>The mid-point frequency of the Lead Controller is equal to 1.5 rad\/sec:<\/p>\n<p style=\"text-align: center\">[latex]\\omega_0 = \\frac{1}{\\sqrt\\alpha \\cdot\\tau} = 1.5 \\rightarrow \\tau = 2.896[\/latex]<\/p>\n<p>As seen on the plot, there is a gain increase at the mid-point frequency of the Lead Controller, equal to:<\/p>\n<p style=\"text-align: center\">[latex]\\frac{1}{\\sqrt{\\alpha}} = 4.34[\/latex]<\/p>\n<p>Further, remember that since we are going to use the DC gain of 4.9, the new total gain at the chosen crossover frequency of 1.5 is going to be the original gain of [latex]G(j1.5)[\/latex] multiplied by 4.9 and by 4.34:<\/p>\n<p style=\"text-align: center\">[latex]G_{new}(j1.5) = G_{old}(j1.5) \\cdot 4.9 \\cdot4.34=0.042\\cdot4.9\\cdot4.34=0.9[\/latex]<\/p>\n<p>To make that point the compensated crossover frequency, the total \u201cnew\u201d gain has to be equal to 0 dB (1 V\/V) \u2013 thus we can calculate the additional required adjustment of the DC gain of the controller equal to 1\/0.9. The total DC gain of the controller is equal to 4.9\/0.9 = 5.43. Note that, should the adjustment require a reduction of the controller DC gain, we would not be meeting the error specs, which would require reconsidering our choice of the crossover frequency.<\/p>\n<p>The controller transfer function is:<\/p>\n<p style=\"text-align: center\">[latex]G_c(s)=K_c\\cdot\\frac{\\tau s + 1}{\\alpha\\tau s +1} = 5.43\\cdot\\frac{2.89s+1}{0.053\\cdot2.89s + 1} = 5.43\\cdot\\frac{2.89s+1}{0.154s + 1}[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_c(s)=\\frac{a_1 s + a_0}{b_1 s + 1} = \\frac{15.73s + 5.43}{0.265s +1}[\/latex]<\/p>\n<p>The open loop Bode plots before and after compensation and the system Phase Margin are shown in Figure 13\u201122 and the compensated Phase Margin is shown in \u2013 it is [latex]\\Phi_m = 55^{\\circ}[\/latex] at the frequency of [latex]\\omega_{cp(comp)}=1.5[\/latex] rad\/sec, as was chosen for this design.<\/p>\n<figure id=\"attachment_1165\" aria-describedby=\"caption-attachment-1165\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_5.png\" alt=\"Figure 13\u20115: Open Loop Frequency Responses in Lead Design Example 1 \u2013 Simplified Design\" width=\"1200\" height=\"900\" class=\"wp-image-1165 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_5.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_5-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_5-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_5-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_5-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_5-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_5-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1165\" class=\"wp-caption-text\">Figure 13\u20115: Open Loop Frequency Responses in Lead Design Example 1 \u2013 Simplified Design<\/figcaption><\/figure>\n<p>The expected compensated closed loop response specs can be estimated using the dominant poles model again. Use the formula or read off the Phase Margin graph:<\/p>\n<p style=\"text-align: center\">[latex]\\zeta = \\frac{\\tan\\Phi_m}{2\\sqrt{{(\\tan\\Phi_m)^2 +1}}} \\rightarrow \\zeta=0.54[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]\\omega_n = \\frac{\\tan\\Phi_m\\cdot\\omega_{cp}}{2\\zeta} = 1.98[\/latex]<\/p>\n<p>The compensated open loop gain:<\/p>\n<p style=\"text-align: center\">[latex]K_{pos}=\\lim_{s\\rightarrow 0} G_{open}(s) = \\lim_{s\\rightarrow 0} G_{c}(s) \\cdot G_(s) = 5.3\\frac{0.5}{5\\cdot0.01} =54.32[\/latex]<\/p>\n<p>The compensated closed loop gain:<\/p>\n<p style=\"text-align: center\">[latex]K_{dc} = \\frac{K_{dco}}{1 + K_{dco}} = \\frac{54.32}{55.32} = 0.982[\/latex]<\/p>\n<p>The compensated closed loop model:<\/p>\n<p style=\"text-align: center\">[latex]G_{mc}(s)=\\frac{3.852}{s^2+2.142s +3.923}[\/latex]<\/p>\n<figure id=\"attachment_1168\" aria-describedby=\"caption-attachment-1168\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_6.png\" alt=\"Figure 13\u20116: Compensated Phase Margin in Lead Design Example 1 \u2013 Simplified Design, Gain and Phase Margins\" width=\"1200\" height=\"900\" class=\"wp-image-1168 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_6.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_6-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_6-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_6-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_6-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_6-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_6-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1168\" class=\"wp-caption-text\">Figure 13\u20116: Compensated Phase Margin in Lead Design Example 1 \u2013 Simplified Design, Gain and Phase Margins<\/figcaption><\/figure>\n<p>Model specs can be calculated as:<\/p>\n<p style=\"text-align: center\">[latex]PO = 100 \\cdot \\left(e^{\\frac{-\\zeta\\pi}{\\sqrt{1-\\zeta^2}}} \\right ) = 13.27\\%[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}=3.73[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{rise(100\\%)} = \\frac{\\pi-cos\\zeta^{-1}}{\\omega_n\\sqrt{1-\\zeta^2}}=1.286[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]e_{ss(step\\%)}=\\frac{1}{1 + k_{pos}}\\cdot100\\%=\\frac{1}{1 + 31}\\cdot 100\\% = 1.8\\%[\/latex]<\/p>\n<p>The actual closed loop transfer function is:<\/p>\n<p style=\"text-align: center\">[latex]G_{cl}(s) = \\frac{51.246(s+0.345)}{(s+8.33)(s+0.3924)(s^2+2.993s+5.514)}[\/latex]<\/p>\n<p>As we can see, the actual closed loop transfer function has a dominant pair of complex poles at [latex]-1.5\\pm j1.81[\/latex], with the damping ratio [latex]\\zeta=0.637[\/latex] and the natural frequency of oscillations [latex]\\omega_n = 2.35[\/latex]rad\/sec, as well as a zero at -0.3453 and two real poles at \u20138.33 and at -0.3924. The dominant poles model is not as accurate as before, because now an additional pole-zero combo shows up, closer to the Imaginary axis than the real coordinate of the dominant pair, and they do not totally cancel out. Their net residual effect on the closed loop response is that there is a slight additional overshoot caused by the zero, and the Settling Time is actually a bit slower than expected &#8211; see the actual step response comparison in Figure 13\u20117 and the comparison of the specs below.<\/p>\n<p>Actual specs, compared to the model specs (based on compensated Open Loop Bode plots), are:<\/p>\n<table style=\"border-collapse: collapse;width: 100%;height: 115px\">\n<tbody>\n<tr style=\"height: 14px\">\n<td style=\"width: 33.3333%;height: 14px\"><\/td>\n<td style=\"width: 33.3333%;height: 14px\">[latex]G_{mc}(s)[\/latex] &#8211; Model for Compensated System<\/td>\n<td style=\"width: 33.3333%;height: 14px\">Actual <span style=\"font-family: inherit;font-size: inherit\">Compensated System<\/span><\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"width: 33.3333%;height: 14px\">PO<\/td>\n<td style=\"width: 33.3333%;height: 14px\">13.3%<\/td>\n<td style=\"width: 33.3333%;height: 14px\">16.8%<\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 33.3333%;height: 29px\">[latex]e_{ss(step\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%;height: 29px\">1.8%<\/td>\n<td style=\"width: 33.3333%;height: 29px\">1.8%<\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 33.3333%;height: 29px\">[latex]T_{rise(0-100\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%;height: 29px\">1.29 sec<\/td>\n<td style=\"width: 33.3333%;height: 29px\">1.25 sec<\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 33.3333%;height: 29px\">[latex]T_{settle(\\pm2\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%;height: 29px\">3.7 sec<\/td>\n<td style=\"width: 33.3333%;height: 29px\">5.5 sec<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>We could try to improve on this design by trying a different choice of the crossover frequency. The biggest problem is that a different choice of the crossover frequency may require us to make a final adjustment to the DC gain of the open loop (the one we need to make the total open loop gain equal to 0 dB at the crossover frequency) to be less than 1, and that will cause us to miss the steady state specs, requiring yet another iteration. However, it is much easier to meet all conditions using the analytical design formulae, which we will try next.<\/p>\n<div class=\"textbox\">\n<p>Plus of the simplified design \u2013 it will never lead to negative values of the controller parameters, which may happen with the Analytical Lead Design.<\/p>\n<p>Minus of the Simplified Lead Design \u2013 some choices of the crossover frequency may result in the final adjustment of the open loop DC gain that will not meet the error specs. As well, Lead Design always results in adding a zero to the closed loop transfer function that is not totally cancelling out and thus is affecting the shape of the closed loop response by increasing its PO. The solution to both these problems is a trial &amp; error approach to finding an acceptable set of controller parameters, but it is tedious.<\/p>\n<\/div>\n<figure id=\"attachment_1173\" aria-describedby=\"caption-attachment-1173\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_7.png\" alt=\"Figure 13\u20117: Compensated Closed Loop Step Response in Lead Design Example 1 \u2013 Simplified Design\" width=\"1200\" height=\"900\" class=\"wp-image-1173 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_7.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_7-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_7-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_7-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_7-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_7-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_7-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1173\" class=\"wp-caption-text\">Figure 13\u20117: Compensated Closed Loop Step Response in Lead Design Example 1 \u2013 Simplified Design<\/figcaption><\/figure>\n<h3><strong><span style=\"font-size: 1.266em\">13.3.1.2 Lead Controller Design Solved Example 1: The \u201cAnalytical\u201d Lead Design<\/span><\/strong><\/h3>\n<div>\n<p>The analytical design gives us more flexibility to shape the open loop response by choosing different locations for the crossover frequency and quickly checking the resulting open loop parameters and the closed loop response.<\/p>\n<p>Remember that the first step is always to choose the required DC gain based on the error specs \u2013 the calculations are identical to the simplified method, so the Controller DC gain ([latex]a_0[\/latex]) will be the same.<\/p>\n<p>Based on the required error specification:<\/p>\n<p style=\"text-align: center\">[latex]e_{ss(step)c} = 2\\% \\rightarrow \\frac{1}{1+K_{posc}}=0.02[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]K_{posc}=\\frac{1}{0.02}-1 \\rightarrow K_{posc}=49[\/latex]<\/p>\n<p>The compensated closed loop DC gain should be:<\/p>\n<p style=\"text-align: center\">[latex]K_{dc(comp)} = \\frac{K_{posc}}{1+K_{posc}}=\\frac{49}{50}=0.98[\/latex]<\/p>\n<p>The controller DC gain is then:<\/p>\n<p style=\"text-align: center\">[latex]K_c = a_0 = \\frac{K_{posc}}{K_{posu}} = \\frac{49}{10} = 4.9[\/latex]<\/p>\n<p>Next, we pick the Phase Margin \u2013 in this example, we decided to have the Phase Margin of [latex]55^{\\circ}[\/latex], so let\u2019s stick with this value. Next, we need to choose the crossover frequency \u2013 as long as it is more than 0.3 (the uncompensated value). First, let\u2019s choose the same value as in the simplified design:<\/p>\n<p style=\"text-align: center\">[latex]\\omega_{cp(comp)} = 1.5 rad\/sec[\/latex]<\/p>\n<p>To use the derived formulae for the controller constants [latex]a_1[\/latex] and [latex]b_1[\/latex], we need to find the uncompensated open loop Bode plot the phase and the gain at that frequency. Recall that reading values off the dB plot is notoriously inaccurate, and thus it is better to substitute [latex]s=j1.5[\/latex] into the transfer function G(s) to obtain more accurate values of magnitude and phase \u2013 we already did that for the simplified design:<\/p>\n<p style=\"text-align: center\">[latex]\\left | G(j1.5) \\right | = 0.042 \\frac{V}{V}=-27.5dB[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]\\angle G(jw) = -189^{\\circ}[\/latex]<\/p>\n<p>Next, substitute these values into the formulae:<\/p>\n<p style=\"text-align: center\">[latex]\\theta = -180^{\\circ} + \\Phi_m -\\angle G(j1.5) = -180^{\\circ}+55^{\\circ}+189^{\\circ} = 64^{\\circ}[\/latex]<\/p>\n<p>Note that the \u201clift\u201d angle is similar to the \u201cmaximum phase lift\u201d in the simplified design, except that we don\u2019t need to choose just this one maximum value, as you will see later. Next, we substitute the values into the Analytical Design formulae:<\/p>\n<p style=\"text-align: center\">[latex]a_1 = \\frac{1-a_0 \\cdot \\left |G(j\\omega_{cp}) \\right |\\cdot\\cos\\theta}{\\omega_{cp} \\cdot \\left |G(j\\omega_{cp}) \\right |\\cdot\\sin\\theta}=15.9[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]b_1 = \\frac{\\cos\\theta-a_0 \\cdot \\left |G(j\\omega_{cp}) \\right |}{\\omega_{cp} \\cdot\\sin\\theta}=0.17[\/latex]<\/p>\n<p>These values are very close to the ones obtained using the simplified approach, as expected. The closed loop response will also be similar. Recall that that design had more Percent Overshoot than expected, and a longer Settling Time, so let us look for an improvement.<\/p>\n<p>With the analytical design, we can easily choose a different frequency of the crossover (as long as it is more than the uncompensated crossover frequency of 0.3 rad\/sec) and see if the resulting closed loop step response simulations will improve. Knowing that the Lead design causes more PO than expected, we can also overcompensate slightly for it by making the Phase Margin larger than the dominant poles model suggests. Let\u2019s say, make [latex]\\omega_{cp(comp)} = 1.8[\/latex] rad\/sec and [latex]\\Phi_{m} = 60^{\\circ}[\/latex] . Again, we need to find the gain of the uncompensated system at that frequency (1.8 rad\/sec) \u2013 recall that reading it off the graph is inaccurate so it is best to substitute [latex]s=j1.8[\/latex] into G(s):<\/p>\n<p style=\"text-align: center\">[latex]\\angle G(j1.8) = -193^{\\circ}[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]\\left | G(j0.2) \\right | = 0.029 \\frac{V}{V} = -30.8dB[\/latex]<\/p>\n<p>Next, substitute these values into the formulae:<\/p>\n<p style=\"text-align: center\">[latex]\\theta = -180^{\\circ} + \\Phi_m - \\angle G(j0.2) = -180^{\\circ} +60^{\\circ}+193^{\\circ} = 73^{\\circ}[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]a_1 = \\frac{1-a_0 \\cdot \\left |G(j\\omega_{cp}) \\right |\\cdot\\cos\\theta}{\\omega_{cp} \\cdot \\left |G(j\\omega_{cp}) \\right |\\cdot\\sin\\theta}=19.21[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]b_1 = \\frac{\\cos\\theta-a_0 \\cdot \\left |G(j\\omega_{cp}) \\right |}{\\omega_{cp} \\cdot\\sin\\theta}=0.083[\/latex]<\/p>\n<p>Here we see that the controller coefficients are acceptable, both being positive. Recall that the controller pole in RHP would be unacceptable, because it means an unstable open loop transfer function \u2013 even if the resulting closed loop is stable, for safety reasons we do not want to implement that \u2013 in case if the closed loop incidentally opens (a malfunction), we would have an unstable system on our hands. The RHP location of the controller zero would also be unacceptable &#8211; even if the controller pole is in a stable location, the RHP zero will introduce an effective delay into the system, extending both the Rise Time and the Settling Time. Recall that we will never get that kind of surprise in the \u201csimplified\u201d lag design. Let\u2019s check the compensated system response. The open loop Bode plots before and after compensation are shown in Figure 13\u20118 and the system Phase Margin is shown in Figure 13\u20119. The controller transfer function is:<\/p>\n<p style=\"text-align: center\">[latex]G_c(s) = \\frac{a_1 s + a_0}{b_1 s + 1} = \\frac{19.21s + 4.9}{0.083 s + 1}[\/latex]<\/p>\n<p>The expected compensated closed loop response can be estimated using the dominant poles model again. Use the formula or read off the Phase Margin graph in Figure 12\u20119:<\/p>\n<p style=\"text-align: center\">[latex]\\zeta = \\frac{\\tan\\Phi_m}{2\\sqrt{\\sqrt{(\\tan\\Phi_m)^2 + 1}}} \\rightarrow \\zeta = 0.612[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]\\omega_0 = \\frac{\\tan\\Phi_m\\cdot\\omega_{cp}}{2\\zeta} = 2.546[\/latex]<\/p>\n<p>The compensated closed loop model:<\/p>\n<p style=\"text-align: center\">[latex]G_{mc}(s) = \\frac{6.35}{s^2 + 3.18s + 6.48}[\/latex]<\/p>\n<p>Model specs can be calculated as:<\/p>\n<p style=\"text-align: center\">[latex]PO = 100\\cdot \\left ( e^{\\frac{-\\zeta \\pi}{\\sqrt{1-\\zeta^2}}} \\right ) = 8.8\\%[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n} = 2.57[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{rise(100\\%)}=\\frac{\\pi - \\cos\\zeta^{-1}}{\\omega_n\\sqrt{1-\\zeta^2}} = 1.11[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]e_{ss(step\\%)} = \\frac{1}{1+K_{pos}}\\cdot100\\% = \\frac{1}{1+49}\\cdot100\\% =2\\%[\/latex]<\/p>\n<figure id=\"attachment_1215\" aria-describedby=\"caption-attachment-1215\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_8.png\" alt=\"Figure 13\u20118: Open Loop Frequency Responses in Lead Design Example 1 \u2013 Analytical Design\" width=\"1200\" height=\"900\" class=\"wp-image-1215 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_8.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_8-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_8-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_8-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_8-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_8-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_8-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1215\" class=\"wp-caption-text\">Figure 13\u20118: Open Loop Frequency Responses in Lead Design Example 1 \u2013 Analytical Design<\/figcaption><\/figure>\n<p>The actual closed loop transfer function:<\/p>\n<p style=\"text-align: center\">[latex]G_{cl}(s) = \\frac{115.75 (s + 0.2551)}{(s+13.13)(s+0.2688)(s^2 + 3.852s + 8.536)}[\/latex]<\/p>\n<p>Note that the closed loop model based on the dominant poles is now more accurate than in the case of the \u201csimplified\u201d design \u2013 while the additional pole-zero combo still shows up, both closer to the Imaginary axis than the complex pair of poles at [latex]-1.93\\pm j2.2[\/latex], their net effect on the closed loop response is almost negligible because of a much better \u201cnear-cancellation\u201d: we have a zero at -0.2551, and a pole at -0.2688. Before they were at -0.3453 and at -0.3924, respectively.<\/p>\n<figure id=\"attachment_1216\" aria-describedby=\"caption-attachment-1216\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_9.png\" alt=\"Figure 13\u20119: Compensated Phase Margin in Lag Design Example 1 \u2013 Analytical Design\" width=\"1200\" height=\"900\" class=\"wp-image-1216 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_9.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_9-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_9-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_9-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_9-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_9-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_9-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1216\" class=\"wp-caption-text\">Figure 13\u20119: Compensated Phase Margin in Lag Design Example 1 \u2013 Analytical Design<\/figcaption><\/figure>\n<p>See the actual step response comparison in Figure 13\u201110 and the comparison of the specs below. The actual specs, compared to the model specs (based on compensated Open Loop Bode plots), are:<\/p>\n<table style=\"border-collapse: collapse;width: 100%;height: 85px\">\n<tbody>\n<tr style=\"height: 29px\">\n<td style=\"width: 33.3333%;height: 29px\"><\/td>\n<td style=\"width: 33.3333%;height: 29px\">Actual Compensated System<\/td>\n<td style=\"width: 33.3333%;height: 29px\">[latex]G_{mc} (s)[\/latex] &#8211; Model for<br \/>\nthe Compensated System<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"width: 33.3333%;height: 14px\">PO<\/td>\n<td style=\"width: 33.3333%;height: 14px\">10.5%<\/td>\n<td style=\"width: 33.3333%;height: 14px\">8.8%<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"width: 33.3333%;height: 14px\">[latex]e_{ss(step\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%;height: 14px\">2%<\/td>\n<td style=\"width: 33.3333%;height: 14px\">2%<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"width: 33.3333%;height: 14px\">[latex]T_{rise(0-100\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%;height: 14px\">1.1 sec<\/td>\n<td style=\"width: 33.3333%;height: 14px\">1.1 sec<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"width: 33.3333%;height: 14px\">[latex]T_{settle(\\pm 2\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%;height: 14px\">12.1 sec<\/td>\n<td style=\"width: 33.3333%;height: 14px\">5.5 sec<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Finally, let\u2019s see how much of an improvement we achieved by introducing the Lead Controller \u2013 see the comparison of the responses in Figure 13\u201111. The only spec that differs from the model is the Settling Time. This is due to an additional pole in the transfer function close to the significant region, and the not-perfect pole-zero cancellation. These two additional poles and the zero affect the system response. The not-exactly cancelled zero increases the Percent Overshoot, and the two poles slow down the Settling Time.<\/p>\n<figure id=\"attachment_1217\" aria-describedby=\"caption-attachment-1217\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_10.png\" alt=\"Figure 13\u201110: Compensated Closed Loop Step Response in Lead Design Example 1 \u2013 Analytical Design\" width=\"1200\" height=\"900\" class=\"wp-image-1217 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_10.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_10-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_10-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_10-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_10-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_10-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_10-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1217\" class=\"wp-caption-text\">Figure 13\u201110: Compensated Closed Loop Step Response in Lead Design Example 1 \u2013 Analytical Design<\/figcaption><\/figure>\n<div class=\"textbox\">\n<p>Plus of the Analytical Lead Design \u2013 it can be quickly iterated to find a much better system performance, without compromising any of the specifications, including the DC gain, which may happen with the Simplified Lead Design.<\/p>\n<p>Minus of the Analytical Lead Design \u2013 sometimes the design formulae will yield negative, i.e. unacceptable, values of controller parameters. This can be addressed by a slightly different choice of the crossover frequency and the phase margin.<\/p>\n<\/div>\n<figure id=\"attachment_2353\" aria-describedby=\"caption-attachment-2353\" style=\"width: 834px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_11.png\" alt=\"Figure 13\u201111: Comparison of Closed Loop Step Responses in Lead Design Example 1\" width=\"834\" height=\"1249\" class=\"wp-image-2353 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_11.png 834w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_11-200x300.png 200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_11-684x1024.png 684w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_11-768x1150.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_11-65x97.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_11-225x337.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_11-350x524.png 350w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><figcaption id=\"caption-attachment-2353\" class=\"wp-caption-text\">Figure 13\u201111: Comparison of Closed Loop Step Responses in Lead Design Example 1<\/figcaption><\/figure>\n<h3><strong><span style=\"font-size: 1.424em\">13.3.2 Lead Controller Design \u2013 Solved Example 2<\/span><\/strong><\/h3>\n<div>\n<p>Consider another unit feedback closed loop control system (see previous example), which is to operate under Lead Control. The process transfer function G(s) is:<\/p>\n<p style=\"text-align: center\">[latex]G(s)=\\frac{262}{(s+0.3)(s+5)(s+50)}[\/latex]<\/p>\n<p>Open loop frequency response plots of G(s) are shown in Figure 13\u201112. The closed loop performance requirements are: the Steady State Error for the unit step input for the compensated closed loop system is to be equal to 1%; Percent Overshoot of the compensated closed loop system is to be no more than 15%; the Settling Time, [latex]T_{settle{(\\pm 2 \\%)}}[\/latex], is to be no more than 0.3 seconds, and the Rise Time, [latex]T_{rise{(0-100\\%)}}[\/latex], is to be no more than 0.1 seconds.<\/p>\n<figure id=\"attachment_1221\" aria-describedby=\"caption-attachment-1221\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_12.png\" alt=\"Figure 13\u201112: Uncompensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Gain and Phase margins\" width=\"1200\" height=\"900\" class=\"wp-image-1221 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_12.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_12-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_12-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_12-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_12-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_12-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_12-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1221\" class=\"wp-caption-text\">Figure 13\u201112: Uncompensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Gain and Phase margins<\/figcaption><\/figure>\n<p><span style=\"text-align: initial;font-size: 1em\">Let\u2019s start with an estimate of the uncompensated closed loop step response specs: [latex]PO[\/latex], [latex]e_{ss(step\\%)}[\/latex], [latex]T_{rise(0-100\\%)}[\/latex] and [latex]T_{settle(\\pm 2 \\%)}[\/latex].<\/span><\/p>\n<\/div>\n<p style=\"text-align: center\">[latex]K_{pos(u)}=\\frac{262}{(0.3)(5)(50)} = 3.493[\/latex]<\/p>\n<p>Estimates of the uncompensated system step error can be calculated directly from the Position Constant:<\/p>\n<p style=\"text-align: center\">[latex]e_{ss(step\\%)}=\\frac{1}{1+K_{pos(u)}}\\cdot100\\%=\\frac{1}{1+3.493}\\cdot100\\%=22.3\\%[\/latex]<\/p>\n<p>Or, we can use the closed loop DC gain:<\/p>\n<p style=\"text-align: center\">[latex]K_{dcG_{clu}(0)}=\\frac{262}{337}=0.777[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]e_{ss(step\\%)}=(1-K_{dc})\\cdot100\\%=22.3\\%[\/latex]<\/p>\n<p>Let\u2019s check the model for the uncompensated system \u2013 from open loop Bode plots, the Phase Margin is so large ([latex]\\Phi_{m(uncomp)}=94^{\\circ}[\/latex]), the formulas clearly do not apply \u2013 it will give you a damping ratio close to 1 \u2013 the system is overdamped! We have to default to the transfer function calculations of the dominant poles model \u2013 fortunately, we can use Matlab to do the heavy lifting:<\/p>\n<p style=\"text-align: center\">[latex]G_{clu}(s)=\\frac{\\frac{262}{(s+0.3)(s+5)(s+50)}}{1 + \\frac{262}{(s+0.3)(s+5)(s+50)}} = \\frac{262}{s^3 + 55.3s^2 + 266.3s + 337}[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_{clu}(s) = \\frac{262}{(s+50.12)(s^2+5.2s+6.72)}[\/latex]<\/p>\n<p>The uncompensated closed loop system has one real pole and two complex poles with the damping ratio almost equal to 1: -50.1, [latex]-2.59\\pm j 0.086[\/latex] ([latex]\\zeta = 0.999[\/latex]). This is NOT an underdamped dominant poles model! We can have the model based on the one DOUBLE dominant real pole \u2013 critical damping ([latex]\\zeta = 1[\/latex])\u00a0 \u2013 see the step response of the actual uncompensated closed loop system and of the 2nd order model, shown in Figure 13\u201113.<\/p>\n<p style=\"text-align: center\">[latex]K_{dc} = G_{clu}(0)=\\frac{262}{337}=0.777[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_{mu}(s) = 0.777\\frac{6.72}{s^2 + 5.2s + 6.72}[\/latex]<\/p>\n<p>Estimates from the model: [latex]\\omega_n = 2.59, \\zeta=1.0, PO=0\\%[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}=1.54[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{rise(10-90\\%)}\\approx 0.8\\cdot T_{settle(\\pm2\\%)}=1.23[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]e_{ss(step])}=1-K_{dc}=1-0.777=0.223[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]e_{ss(step])}=22.3\\%[\/latex]<\/p>\n<p>Note it is difficult to estimate the Rise Time for a critically damped system. One way would be to assume [latex]T_{rise}\\approx T_{settle}[\/latex]. Check with \u201cstepeval\u201d what the actual specs are:\u00a0 [latex]PO = 0\\%[\/latex], [latex]T_{settle(\\pm2\\%)}=22[\/latex] sec, [latex]T_{rise(10-90\\%)}=1.3\u00a0[\/latex] sec, [latex]e_{ss(step\\%)}=22.3\\%[\/latex].<\/p>\n<\/div>\n<\/div>\n<figure id=\"attachment_1265\" aria-describedby=\"caption-attachment-1265\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_13.png\" alt=\"Figure 13\u201113: Uncompensated Closed Loop Step Response in Lead Design Example 2 \u2013 Actual System vs. Model\" width=\"1200\" height=\"900\" class=\"wp-image-1265 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_13.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_13-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_13-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_13-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_13-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_13-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_13-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1265\" class=\"wp-caption-text\">Figure 13\u201113: Uncompensated Closed Loop Step Response in Lead Design Example 2 \u2013 Actual System vs. Model<\/figcaption><\/figure>\n<p>Next, decide on the DC gain of the Controller ([latex]a_0[\/latex]) that would meet the design requirements. Calculate the DC gain of the controller, [latex]K_c = a_0[\/latex] &#8211; for the error to be 1%:<\/p>\n<p style=\"text-align: center\">[latex]e_{ss}=\\frac{1}{1+K_{pos}}\u00a0[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]0.01=\\frac{1}{1+K_{pos}} \\rightarrow K_{pos(c)}=\\frac{1}{0.01}-1 =99[\/latex]<\/p>\n<p>From that we can calculate the DC gain of the controller transfer function, [latex]a_0[\/latex]:<\/p>\n<p style=\"text-align: center\">[latex]a_0=\\frac{K_{pos(c)}}{K_{pos)u}}=\\frac{99}{3.493}=28.34[\/latex]<\/p>\n<p>Decide what value of the Phase Margin for the compensated system ([latex]\\Phi_{m, c}[\/latex]), and what value of the crossover frequency for the compensated system ([latex]\\omega_{cp, c}[\/latex]), would meet the design requirements. To figure out the compensated system Phase Margin and frequency of the crossover, we should look at the \u201cdesired\u201d values of the closed loop dominant poles model \u2013 check the plot of PO vs. damping ratio in Figure 7\u20114.<\/p>\n<p style=\"text-align: center\">[latex]PO = 100\\cdot\\left ( e^{\\frac{-\\zeta\\pi}{\\sqrt{1-\\zeta^2}}} \\right )[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]PO=15\\% \\rightarrow \\zeta = 0.5169[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}=0.3\\rightarrow \\omega_n =25.8[\/latex]<\/p>\n<p>We can now put together the model for the compensated closed loop system:<\/p>\n<p style=\"text-align: center\">[latex]K_{dc}=\\frac{K_{pos(c)}}{1+K_{pos(c)}}=\\frac{99}{1+99}=0.99[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_{mc}(s)=K_{dc}\\frac{\\omega_n^2}{s^2+2\\zeta\\omega_n s + \\omega^2}=0.99\\cdot\\frac{665.3}{s^2+26.67s+665.3}[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_{mc}(s)=0.99\\cdot\\frac{658.6}{s^2+26.67s+665.3}[\/latex]<\/p>\n<p>Let\u2019s check if this choice of [latex]\\zeta[\/latex] and [latex]\\omega_n[\/latex] will also result in an acceptable Rise Time:<\/p>\n<p style=\"text-align: center\">[latex]T_{rise(0-100\\%)}=\\frac{\\pi-\\cos^{-1} \\zeta}{\\omega_n\\sqrt{1-\\zeta^2}}=0.096[\/latex]<\/p>\n<p>This is fine, so the next step is to \u201ctranslate\u201d the closed loop model parameters into the Phase Margin and crossover frequency: based on Figure 12\u20119 we have: [latex]\\zeta = 0.5169 \\rightarrow \\Phi_m \\approx 55^{\\circ}[\/latex]\u00a0 Next, solve for the required crossover frequency:<\/p>\n<p style=\"text-align: center\">[latex]\\omega_{cp} \\approx \\omega_n \\sqrt{1-2\\zeta^2}=17.6[\/latex]<\/p>\n<p>Alternatively, we can use this formula:<\/p>\n<p style=\"text-align: center\">[latex]\\omega_{cp} = \\frac{2\\zeta\\cdot\\omega_n}{(\\tan\\Phi_m)}=19.96[\/latex]<\/p>\n<p>\u00a0Let\u2019s pick the values of [latex]\\Phi_{m(comp)} = 55^{\\circ}[\/latex] and [latex]\\omega_{cp(comp)}[\/latex] rad\/sec, and [latex]a_0=24.25[\/latex] Next, the appropriate Controller parameters and clearly write the Lead Controller transfer function, [latex]G_c(s)[\/latex]. We will use the analytical design formulae, but first we need to compute open loop gain and phase values at the chosen frequency of the crossover \u2013 we will use Matlab to obtain accurate values, as reading them off the graph may be too rough; see if you can read off the value close to -40 dB directly off the open loop Bode plot in Figure 13\u201112. Matlab values are shown in Figure 13\u201114.<\/p>\n<p style=\"text-align: center\">[latex]\\omega_{cp(comp)}=20rad\/sec\\rightarrow \\left | G(j20) \\right | = -38.6dB[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]\\left | G(j20) \\right | = 0.0118[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]\\angle G(j\\omega) = -186.9^{\\circ}[\/latex]<\/p>\n<p>\u00a0We can now compute the \u201clift\u201d angle:<\/p>\n<p style=\"text-align: center\">[latex]\\theta=-180^{\\circ}+\\Phi_m-\\angle G(j20)[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]\\theta=-180^{\\circ}+55^{\\circ}+187^{\\circ}=62^{\\circ}[\/latex]<\/p>\n<figure id=\"attachment_1269\" aria-describedby=\"caption-attachment-1269\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_14.png\" alt=\"Figure 13\u201114: Uncompensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Readouts at\" width=\"1200\" height=\"900\" class=\"wp-image-1269 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_14.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_14-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_14-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_14-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_14-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_14-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_14-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1269\" class=\"wp-caption-text\">Figure 13\u201114: Uncompensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Readouts at<\/figcaption><\/figure>\n<p>Apply the formulae:<\/p>\n<p style=\"text-align: center\">[latex]a_1 = \\frac{1-a_0\\cdot \\left | G(j\\omega_{cp}) \\right | \\cdot \\cos\\theta}{\\omega_{cp}\\cdot \\left | G(j\\omega_{cp}) \\right | \\cdot \\sin\\theta} = \\frac{1-28.34\\cdot0.0118\\cdot\\cos62^{\\circ}}{20\\cdot0.0118\\sin62^{\\circ}} = 4.05[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]b_1 = \\frac{\\cos\\theta-a_0\\cdot \\left | G(j\\omega_{cp}) \\right |}{\\omega_{cp}\\cdot \\sin\\theta} = \\frac{\\cos62^{\\circ}-28.34\\cdot0.0118}{20\\cdot\\sin62^{\\circ}} = 0.0077[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_c(s)=\\frac{a_1s+a_0}{b_1+1}=\\frac{4.05s + 28.34}{0.0077s + 1}[\/latex]<\/p>\n<p>The Lead Controller transfer function coefficients are both positive, so the transfer function is acceptable! Let\u2019s have a look at the compensated vs. uncompensated open loop Bode plots in Figure 13\u201115. You can clearly see the characteristic shape of the open loop compensation \u2013 the increased open loop DC gain, the increased Phase Margin and crossover frequency. We can check the obtained values by using the \u201cmargin\u201d function in Matlab, as shown in Figure 13\u201121.<\/p>\n<p style=\"text-align: center\">[latex]\\Phi_{m_c} = 55^{\\circ}[\/latex] and [latex]\\omega_{cp_c} = 20rad\/sec[\/latex]<\/p>\n<figure id=\"attachment_1271\" aria-describedby=\"caption-attachment-1271\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_15.png\" alt=\"Figure 13\u201115: Compensated Open Loop Frequency Response in Lead Design Example 2\" width=\"1200\" height=\"900\" class=\"wp-image-1271 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_15.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_15-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_15-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_15-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_15-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_15-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_15-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1271\" class=\"wp-caption-text\">Figure 13\u201115: Compensated Open Loop Frequency Response in Lead Design Example 2<\/figcaption><\/figure>\n<p>Next, estimate the <strong>compensated <\/strong>closed loop step response specs: PO, [latex]e_{ss(step\\%)}[\/latex], [latex]T_{rise(0-100\\%)}[\/latex], and [latex]T_{settle(\\pm2\\%)}[\/latex].<\/p>\n<p>The estimated specs are going to be as expected since we created the compensated closed loop system model based on these:<\/p>\n<p style=\"text-align: center\">[latex]\\zeta = 0.5169[\/latex], [latex]\\omega_n = 25.8[\/latex], [latex]K_{dc} = 0.99[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_{mc}(s)=\\frac{658.6}{s^2 + 26.67s + 665.3}[\/latex]<\/p>\n<p>Thus, we expect these estimates, as per model:<\/p>\n<p style=\"text-align: center\">[latex]PO = 100\\cdot\\left ( e^{\\frac{-\\zeta\\pi}{\\sqrt{1-\\zeta^2}}} \\right )=15\\%[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}=0.3[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{rise(0-100\\%)} = \\frac{\\pi-cos^{-1}\\zeta}{\\omega\\sqrt{1-\\zeta^2}}=0.1[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]e_{ss(step)}= 1 - K_{dc}=1-0.99=0.01[\/latex], [latex]e_{ss(step\\%)}= 1\\%[\/latex]<\/p>\n<figure id=\"attachment_1273\" aria-describedby=\"caption-attachment-1273\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_16.png\" alt=\"Figure 13\u201116: Compensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Gain and Phase Margins\" width=\"1200\" height=\"900\" class=\"wp-image-1273 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_16.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_16-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_16-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_16-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_16-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_16-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_16-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1273\" class=\"wp-caption-text\">Figure 13\u201116: Compensated Open Loop Frequency Response in Lead Design Example 2 \u2013 Gain and Phase Margins<\/figcaption><\/figure>\n<p>Let\u2019s now check if the closed loop response conforms to these expectations. The compensated open loop system transfer function is:<\/p>\n<p style=\"text-align: center\">[latex]G_{open(c)}(s)=\\frac{4.05s + 28.34}{0.0077s + 1}\\cdot \\frac{262}{(s+0.3)(s + 5)(s+50)}[\/latex]<\/p>\n<p>The closed loop system transfer function is:<\/p>\n<p style=\"text-align: center\">[latex]G_{cl(c)}(s)=\\frac{\\frac{4.05s + 28.34}{0.0077s + 1}\\cdot\\frac{262}{(s+0.3)(s+5)(s+50)}}{1 + \\frac{4.05s + 28.34}{0.0077s + 1}\\cdot \\frac{262}{(s+0.3)(s+5)(s+50)}}[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]G_{cl(c)}(s)=\\frac{68254(s+7)}{(s+139.9)(s+7.78)(s^2+36.77s+890)}[\/latex]<\/p>\n<p>The dominant pair of complex poles is at: [latex]-18.4 \\pm j 23.5[\/latex]. Based on the closed loop transfer function, we can expect a near-pole-zero cancellation weakening the effect on the significant pole-zero pair at -7 and -7.78 respectively; the pole at -139.9 is not insignificant either but it should counteract the effect of the not-entirely cancelled zero. Conclusion \u2013 the actual compensated system response should be very similar to the predicted model. This is confirmed by the plots in Figure 13\u201117. The actual system response, despite the presence of an extra pole and an extra zero, is not that different from the expected response, confirming the validity of this approach.<\/p>\n<figure id=\"attachment_1275\" aria-describedby=\"caption-attachment-1275\" style=\"width: 1200px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_17.png\" alt=\"Figure 13\u201117: Compensated Step Response (Actual System vs. 2nd Order Model) in Lead Design Example 2\" width=\"1200\" height=\"900\" class=\"wp-image-1275 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_17.png 1200w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_17-300x225.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_17-768x576.png 768w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_17-1024x768.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_17-65x49.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_17-225x169.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_3_17-350x263.png 350w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-1275\" class=\"wp-caption-text\">Figure 13\u201117: Compensated Step Response (Actual System vs. 2nd Order Model) in Lead Design Example 2<\/figcaption><\/figure>\n<p>Below, we compare the expected specs, based on the model, with the actual system response specs, obtained by running the \u201cstepeval\u201d function. The actual specs, compared to the model specs, are:<\/p>\n<table style=\"border-collapse: collapse;width: 100%;height: 241px\">\n<tbody>\n<tr>\n<td style=\"width: 33.3333%\"><\/td>\n<td style=\"width: 33.3333%\">Actual Compensated<\/p>\n<p>System<\/td>\n<td style=\"width: 33.3333%\">[latex]G_{mc}(s)[\/latex] &#8211; Model for<br \/>\nthe Compensated System<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%\">PO<\/td>\n<td style=\"width: 33.3333%\">14.9%<\/td>\n<td style=\"width: 33.3333%\">15%<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%\">[latex]e_{ss(step\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%\">1%<\/td>\n<td style=\"width: 33.3333%\">1%<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%\">[latex]T_{rise(0-100\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%\">0.093 sec<\/td>\n<td style=\"width: 33.3333%\">0.1 sec<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%\">[latex]T_{settle(\\pm2\\%)}[\/latex]<\/td>\n<td style=\"width: 33.3333%\">0.24 sec<\/td>\n<td style=\"width: 33.3333%\">0.3 sec<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The specs estimates from the model are very accurate, with all specs meeting the required values.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":156,"menu_order":3,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1127","chapter","type-chapter","status-publish","hentry"],"part":1043,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/chapters\/1127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/wp\/v2\/users\/156"}],"version-history":[{"count":77,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/chapters\/1127\/revisions"}],"predecessor-version":[{"id":2720,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/chapters\/1127\/revisions\/2720"}],"part":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/parts\/1043"}],"metadata":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/chapters\/1127\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/wp\/v2\/media?parent=1127"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/chapter-type?post=1127"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/wp\/v2\/contributor?post=1127"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/wp\/v2\/license?post=1127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}