{"id":1090,"date":"2019-11-05T23:57:54","date_gmt":"2019-11-05T23:57:54","guid":{"rendered":"https:\/\/pressbooks.library.ryerson.ca\/controlsystems\/?post_type=chapter&#038;p=1090"},"modified":"2021-01-14T15:43:28","modified_gmt":"2021-01-14T15:43:28","slug":"13-2lead-controller","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/chapter\/13-2lead-controller\/","title":{"raw":"13.2\tLead Controller","rendered":"13.2\tLead Controller"},"content":{"raw":"A transfer function of the lead compensator is a first order combination of a real pole block and a real zero block, with an adjustable gain:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex] G_{c}(s)=K_{c}\\cdot\\frac{\\tau s +1}{\\alpha\\tau s +1} = \\frac{\\alpha_1 s + \\alpha_0}{b_1 s + 1} [\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u20111<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[caption id=\"attachment_1091\" align=\"aligncenter\" width=\"540\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_1.png\" alt=\"Figure 13 1: Pole Zero Map for Lead Compensator\" width=\"540\" height=\"400\" class=\"wp-image-1091 size-full\" \/> Figure 13-1: Pole Zero Map for Lead Compensator[\/caption]\r\n\r\n[latex] a_0 = K_c [\/latex] corresponds to the DC gain of the controller, and [latex] \\alpha &lt; 1 [\/latex] (the zero is closer to Im axis than the pole).\r\n\r\nZero is at: [latex]s_1 = - \\frac{a_0}{a_1} = - \\frac{1}{\\tau}[\/latex]\r\n\r\nPole is at: [latex]s_2 = - \\frac{1}{b_1} = - \\frac{1}{\\alpha\\tau}[\/latex]\r\n\r\nIn the frequency domain, the two corner frequencies are: [latex]\\omega_1 = \\frac{1}{\\tau}[\/latex] , [latex]\\omega_2 = \\frac{1}{\\alpha\\tau}[\/latex]\r\n\r\nThe magnitude is described as:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]M(\\omega)=K_c \\cdot \\frac{\\sqrt{{(\\omega\\tau)}^2 + 1}}{\\sqrt{{(\\omega\\alpha\\tau)}^2 + 1}}[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u20112<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe phase is described by Equation 13\u20112 and [latex] \\varphi_{max}[\/latex] can be calculated from [latex]\\frac{d\\varpi}{d\\omega}=0[\/latex]. Resulting in Equation 13-4.\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]\\varphi (\\omega) = \\tan^{-1}\\omega\\tau - \\tan^{-1}\\omega\\alpha\\tau[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u20113<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]\\varphi_{max} = \\sin^{-1}(\\frac{1-\\alpha}{1+\\alpha})[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u20114<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p style=\"text-align: left\"><span style=\"text-align: initial;font-size: 1em\">Magnitude and phase plots are shown in Figure 13-2.<\/span><\/p>\r\nThe maximum of phase lead [latex]\\varphi_{max}[\/latex] occurs at the midpoint frequency as shown in Equation 13\u20115:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex] \\omega_0 = \\sqrt{\\omega_1 \\omega_2} = \\frac{1}{\\sqrt{\\alpha}\\cdot \\tau} [\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u20115<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nAt this frequency the compensator gain is:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex] M(\\omega_0) = K_c \\frac{\\sqrt{{(\\omega_0\\tau)^2} + 1}}{\\sqrt{{(\\omega_0\\alpha\\tau)^2} + 1}} = K_c \\frac{\\sqrt{{(\\frac{1}{\\sqrt{\\alpha} \\tau}\\cdot\\tau)^2} + 1}}{\\sqrt{{(\\frac{1}{\\sqrt{\\alpha} \\tau}\\cdot\\alpha\\tau)^2} + 1}} = K_c \\frac{\\sqrt{{(\\frac{1}{\\sqrt{\\alpha}})^2} + 1}}{\\sqrt{{(\\frac{1}{\\sqrt{\\alpha} }\\cdot\\alpha)^2} + 1}} = K_c \\frac{\\sqrt{\\frac{1}{\\alpha} + 1}}{\\sqrt{\\alpha +1}} = K_c\\frac{\\sqrt{\\frac{1+\\alpha}{\\alpha}}}{\\sqrt{\\alpha +1}}[\/latex]<\/td>\r\n<td style=\"width: 50%\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]M(\\omega_0) = K_c \\frac{1}{\\sqrt{\\alpha}}[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u20116<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n\r\n[caption id=\"attachment_1106\" align=\"aligncenter\" width=\"507\"]<img src=\"http:\/\/pressbooks.library.ryerson.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_2.png\" alt=\"Figure 13\u20112: Frequency Response for Lead Compensator\" width=\"507\" height=\"400\" class=\"wp-image-1106 size-full\" \/> Figure 13\u20112: Frequency Response for Lead Compensator[\/caption]\r\n\r\nAt the high frequency [latex] \\omega \\rightarrow \\infty[\/latex], in practical terms, when [latex]\\omega &gt;&gt; \\frac{1}{\\alpha\\tau}[\/latex] the compensator gain is:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]M(\\omega) = K_c \\frac{\\sqrt{{(\\omega\\tau)^2} + 1}}{\\sqrt{{(\\omega\\alpha\\tau)^2} + 1}}[\/latex]<\/td>\r\n<td style=\"width: 50%\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]\\omega \\rightarrow \\infty[\/latex]<\/td>\r\n<td style=\"width: 50%\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]M(\\omega) \\approx K_c \\frac{\\sqrt{{(\\omega\\tau)^2}}}{\\sqrt{{(\\omega\\alpha\\tau)^2}}} = K_c[\/latex]<\/td>\r\n<td style=\"width: 50%\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]M(\\infty)=K_c\\cdot \\frac{1}{\\alpha}[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u20117<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div><\/div>\r\n<div><\/div>\r\n<div class=\"textbox shaded\">\r\n\r\n<strong>How to use the Lead Controller:<\/strong>\r\n<ul>\r\n \t<li>Use the phase lead available from the lead parameter [latex]\\Phi_m[\/latex] to correct deficiencies in the Phase Margin<\/li>\r\n \t<li>Try to increase BOTH [latex]\\omega_{cp}[\/latex] and [latex] K_{DC(open)} [\/latex]<\/li>\r\n \t<li>Adjust as required<\/li>\r\n<\/ul>\r\n<\/div>\r\n<h3><\/h3>\r\n<h3><span style=\"font-size: 1.424em\">13.2.1 Simplified Lead Controller Design<\/span><\/h3>\r\nFor the simplified design, this form of the Lead Compensator is more convenient:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]G_c(s) = K_c \\cdot \\frac{\\tau s +1}{\\alpha \\tau s +1}[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u20118<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nZero is at [latex]s_1 = - \\frac{1}{\\tau}[\/latex], pole is at [latex]s_2 = - \\frac{1}{\\alpha\\tau}[\/latex]. The design will involve first making a decision on what the compensated system phase margin [latex]\\Phi_m[\/latex] should be and at what frequency [latex]\\omega_{cp}[\/latex] it should occur. Recall that the phase margin is related to the equivalent closed loop damping ratio [latex]\\zeta[\/latex], which in turn determines the percent overshoot of the step response:\r\n<p style=\"text-align: center\">[latex]\\zeta = 0.01\\cdot \\Phi_m[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]PO = 100\\cdot({e^{\\frac{-\\zeta\\pi}{\\sqrt{1-\\zeta^2}}}})[\/latex]<\/p>\r\nDynamic tracking requirements (PO spec) will then be translated into the required [latex]\\Phi_m[\/latex]. Also, recall that the crossover frequency [latex]\\omega_{cp}[\/latex] relates to the closed loop model frequency \u00a0which in turn affects the closed loop step response settling time:\r\n<p style=\"text-align: center\">[latex]T_{settle(\\pm5\\%)}=\\frac{3}{\\zeta\\omega_n}[\/latex]<\/p>\r\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}[\/latex]<\/p>\r\nLead Compensator adds phase lead at the mid-point frequency [latex]\\omega_{0}[\/latex] as seen in Figure 13\u20112. Dynamic tracking requirements (Settling Time spec) will then be translated into the required [latex]\\omega_{cp}[\/latex]. Once [latex]\\omega_{cp}[\/latex] is decided, we will assume the maximum phase lift will be placed at this frequency to maximize the Phase Margin:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]\\omega_{cp} = \\omega_0[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u20119<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nOnce [latex]\\Phi_{m} = \\omega_0[\/latex] is decided, calculate the compensator parameter \u00a0from the maximum of the phase lead needed:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]\\varphi_{max}=\\sin^{-1}({\\frac{1-\\alpha}{1+\\alpha}})[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u201110<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe compensator time constant [latex]\\tau[\/latex] can now be calculated:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]\\omega_{cp} = \\omega_{0} = \\frac{1}{\\sqrt{\\alpha}\\cdot\\tau}[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u201111<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nRemember that the additional magnitude added by the lead component at the mid-point frequency is equal to [latex]M(\\omega_0)=K_c\\frac{1}{\\sqrt{\\alpha}}[\/latex], as shown in Figure 13\u20112. This will shift the crossover frequency [latex]\\omega_{cp}[\/latex] from its intended position at [latex]\\omega_{0}[\/latex], and will affect the Phase Margin. To re-adjust the crossover frequency, change the DC gain of the controller, [latex]K_{c}[\/latex]. <strong>Note that the resulting open loop gain may or may not meet the error specification.<\/strong>\r\n\r\n<strong>NOTE: <\/strong>\r\n\r\nThis design is simple but does not allow meeting the closed loop steady state error specification directly. When the system is Type 1 and the step error is of no concern, this approach works best. Notice that since the DC gain of the controller is adjusted last, to achieve at the same time an improvement in the system tracking as well may require many trial-and-error iterations. This may prove tedious, or impossible, and so this simple approach should be mainly used if improving the tracking accuracy is not important, for example, when the system already has high error constants and therefore a good steady state tracking. This approach allows meeting the design requirements w.r.t. damping (percent overshoot) and speed (settling time) with relatively few calculations.\r\n<h3><span style=\"font-size: 1.424em\">13.2.2 Analytical Lead Controller Design<\/span><\/h3>\r\n<div>\r\n\r\nWhen achieving the DC tracking accuracy is as important as the dynamic tracking, a different, more analytical approach is recommended, which will allow you to find a lead network with a specific DC gain, that will create a specified Phase Margin [latex]\\Phi_{m}[\/latex] at a specified crossover frequency, [latex]\\omega_{cp}[\/latex] . Recall that the transfer function of the lead compensator is:\r\n<p style=\"text-align: center\">[latex]G_c(s)=\\frac{a_1s+a_0}{b_1+1}[\/latex]<\/p>\r\nCoefficient [latex]a_{0}[\/latex] corresponds to the DC gain of the controller. Zero is at [latex]s_1 = -\\frac{a_0}{a_1}[\/latex], pole is at [latex]s_2 = -\\frac{1}{b_1}[\/latex], as shown in Figure 13\u20111. Dynamic tracking requirements dictate what values of the Phase Margin [latex]\\Phi_m[\/latex] and of the crossover frequency [latex]\\omega_{cp}[\/latex] should be chosen. Ideally, we want to have the specified Phase Margin [latex]\\Phi_m[\/latex]\u00a0to occur at the specified frequency [latex]\\omega_{cp}[\/latex]. Note that the new crossover frequency [latex]\\omega_{cp}[\/latex]\u00a0should be chosen to be <strong>larger<\/strong> than the uncompensated one. The condition is written as:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]G_c(j\\omega_{cp})GH(j\\omega_{cp}) = 1\\angle (-180^\\circ + \\Phi_m)[\/latex]<\/td>\r\n<td style=\"width: 50%\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]\\frac{a_1j\\omega_{cp} + a_0}{b_1j\\omega_{cp}+1}GH(j\\omega_{cp}) = 1\\angle (-180^\\circ + \\Phi_m)[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u201112<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe above complex equation results in two conditions (magnitude and phase), with two unknowns, [latex]a_{1}[\/latex] and [latex]b_{1}[\/latex]:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]\\left | \\frac{a_1j\\omega_{cp} + a_0}{b_1j\\omega_{cp}+1}GH(j\\omega_{cp}) \\right | = 1[\/latex]<\/td>\r\n<td style=\"width: 50%\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]\\tan^{-1}(\\frac{a_1j\\omega_{cp}}{a_0})-\\tan^{-1}(b_1j\\omega_{cp}) = -180^{\\circ}+\\Phi_m[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u201113<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe two equations can be then solved. It is convenient to define the following \u201cPhase Lift\u201d angle [latex]\\theta[\/latex]:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]\\theta = -180^{\\circ} + \\Phi_m - \\angle G(j\\omega_{cp})[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u201114<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe Lead Controller coefficients are then calculated as:\r\n<table style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%\">[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}}[\/latex]<\/td>\r\n<td style=\"width: 50%\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 50%\">[latex]b_1 = \\frac{\\cos{\\theta} - a_0 \\cdot \\left | G(j\\omega_{cp}) \\right |}{\\omega_{cp}\\cdot\\sin{\\theta}}[\/latex]<\/td>\r\n<td style=\"width: 50%;text-align: right\">Equation 13\u201115<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<strong>Observation I: <\/strong>\r\n\r\nNote that although the solution to these equations will always exist, not all solutions will be acceptable. If [latex]a_{1}[\/latex] is negative, the Lead Controller will be non-minimum phase. If [latex]b_{1}[\/latex] is negative, the Lead Controller is unstable. If either of these cases occurs, the initial choices of [latex]\\Phi_{m}[\/latex], [latex]\\omega_{cp}[\/latex] have to be modified until positive solutions are found.\r\n\r\n<strong>Observation II:\u00a0 <\/strong>\r\n\r\nNote that if [latex]\\omega_{cp}[\/latex] for the compensated system is chosen to be less than that of the uncompensated system, we will end up with a Lag Controller transfer function, shown in Equation 13\u201116, where [latex]a_0 = K_c[\/latex] corresponds to the DC gain of the controller, and [latex]a&lt;1[\/latex] (i.e. the controller pole is closer to Im axis than the zero).\r\n\r\n<\/div>","rendered":"<p>A transfer function of the lead compensator is a first order combination of a real pole block and a real zero block, with an adjustable gain:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]G_{c}(s)=K_{c}\\cdot\\frac{\\tau s +1}{\\alpha\\tau s +1} = \\frac{\\alpha_1 s + \\alpha_0}{b_1 s + 1}[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u20111<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<figure id=\"attachment_1091\" aria-describedby=\"caption-attachment-1091\" style=\"width: 540px\" 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_2_1.png\" alt=\"Figure 13 1: Pole Zero Map for Lead Compensator\" width=\"540\" height=\"400\" class=\"wp-image-1091 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_1.png 540w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_1-300x222.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_1-65x48.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_1-225x167.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_1-350x259.png 350w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><figcaption id=\"caption-attachment-1091\" class=\"wp-caption-text\">Figure 13-1: Pole Zero Map for Lead Compensator<\/figcaption><\/figure>\n<p>[latex]a_0 = K_c[\/latex] corresponds to the DC gain of the controller, and [latex]\\alpha < 1[\/latex] (the zero is closer to Im axis than the pole).\n\nZero is at: [latex]s_1 = - \\frac{a_0}{a_1} = - \\frac{1}{\\tau}[\/latex]\n\nPole is at: [latex]s_2 = - \\frac{1}{b_1} = - \\frac{1}{\\alpha\\tau}[\/latex]\n\nIn the frequency domain, the two corner frequencies are: [latex]\\omega_1 = \\frac{1}{\\tau}[\/latex] , [latex]\\omega_2 = \\frac{1}{\\alpha\\tau}[\/latex]\n\nThe magnitude is described as:\n\n\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]M(\\omega)=K_c \\cdot \\frac{\\sqrt{{(\\omega\\tau)}^2 + 1}}{\\sqrt{{(\\omega\\alpha\\tau)}^2 + 1}}[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u20112<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The phase is described by Equation 13\u20112 and [latex]\\varphi_{max}[\/latex] can be calculated from [latex]\\frac{d\\varpi}{d\\omega}=0[\/latex]. Resulting in Equation 13-4.<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]\\varphi (\\omega) = \\tan^{-1}\\omega\\tau - \\tan^{-1}\\omega\\alpha\\tau[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u20113<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]\\varphi_{max} = \\sin^{-1}(\\frac{1-\\alpha}{1+\\alpha})[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u20114<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: left\"><span style=\"text-align: initial;font-size: 1em\">Magnitude and phase plots are shown in Figure 13-2.<\/span><\/p>\n<p>The maximum of phase lead [latex]\\varphi_{max}[\/latex] occurs at the midpoint frequency as shown in Equation 13\u20115:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]\\omega_0 = \\sqrt{\\omega_1 \\omega_2} = \\frac{1}{\\sqrt{\\alpha}\\cdot \\tau}[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u20115<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>At this frequency the compensator gain is:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]M(\\omega_0) = K_c \\frac{\\sqrt{{(\\omega_0\\tau)^2} + 1}}{\\sqrt{{(\\omega_0\\alpha\\tau)^2} + 1}} = K_c \\frac{\\sqrt{{(\\frac{1}{\\sqrt{\\alpha} \\tau}\\cdot\\tau)^2} + 1}}{\\sqrt{{(\\frac{1}{\\sqrt{\\alpha} \\tau}\\cdot\\alpha\\tau)^2} + 1}} = K_c \\frac{\\sqrt{{(\\frac{1}{\\sqrt{\\alpha}})^2} + 1}}{\\sqrt{{(\\frac{1}{\\sqrt{\\alpha} }\\cdot\\alpha)^2} + 1}} = K_c \\frac{\\sqrt{\\frac{1}{\\alpha} + 1}}{\\sqrt{\\alpha +1}} = K_c\\frac{\\sqrt{\\frac{1+\\alpha}{\\alpha}}}{\\sqrt{\\alpha +1}}[\/latex]<\/td>\n<td style=\"width: 50%\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\">[latex]M(\\omega_0) = K_c \\frac{1}{\\sqrt{\\alpha}}[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u20116<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_1106\" aria-describedby=\"caption-attachment-1106\" style=\"width: 507px\" 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_2_2.png\" alt=\"Figure 13\u20112: Frequency Response for Lead Compensator\" width=\"507\" height=\"400\" class=\"wp-image-1106 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_2.png 507w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_2-300x237.png 300w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_2-65x51.png 65w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_2-225x178.png 225w, https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-content\/uploads\/sites\/75\/2019\/11\/figure_13_2_2-350x276.png 350w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><figcaption id=\"caption-attachment-1106\" class=\"wp-caption-text\">Figure 13\u20112: Frequency Response for Lead Compensator<\/figcaption><\/figure>\n<p>At the high frequency [latex]\\omega \\rightarrow \\infty[\/latex], in practical terms, when [latex]\\omega >> \\frac{1}{\\alpha\\tau}[\/latex] the compensator gain is:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]M(\\omega) = K_c \\frac{\\sqrt{{(\\omega\\tau)^2} + 1}}{\\sqrt{{(\\omega\\alpha\\tau)^2} + 1}}[\/latex]<\/td>\n<td style=\"width: 50%\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\">[latex]\\omega \\rightarrow \\infty[\/latex]<\/td>\n<td style=\"width: 50%\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\">[latex]M(\\omega) \\approx K_c \\frac{\\sqrt{{(\\omega\\tau)^2}}}{\\sqrt{{(\\omega\\alpha\\tau)^2}}} = K_c[\/latex]<\/td>\n<td style=\"width: 50%\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\">[latex]M(\\infty)=K_c\\cdot \\frac{1}{\\alpha}[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u20117<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><\/div>\n<div><\/div>\n<div class=\"textbox shaded\">\n<p><strong>How to use the Lead Controller:<\/strong><\/p>\n<ul>\n<li>Use the phase lead available from the lead parameter [latex]\\Phi_m[\/latex] to correct deficiencies in the Phase Margin<\/li>\n<li>Try to increase BOTH [latex]\\omega_{cp}[\/latex] and [latex]K_{DC(open)}[\/latex]<\/li>\n<li>Adjust as required<\/li>\n<\/ul>\n<\/div>\n<h3><\/h3>\n<h3><span style=\"font-size: 1.424em\">13.2.1 Simplified Lead Controller Design<\/span><\/h3>\n<p>For the simplified design, this form of the Lead Compensator is more convenient:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]G_c(s) = K_c \\cdot \\frac{\\tau s +1}{\\alpha \\tau s +1}[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u20118<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Zero is at [latex]s_1 = - \\frac{1}{\\tau}[\/latex], pole is at [latex]s_2 = - \\frac{1}{\\alpha\\tau}[\/latex]. The design will involve first making a decision on what the compensated system phase margin [latex]\\Phi_m[\/latex] should be and at what frequency [latex]\\omega_{cp}[\/latex] it should occur. Recall that the phase margin is related to the equivalent closed loop damping ratio [latex]\\zeta[\/latex], which in turn determines the percent overshoot of the step response:<\/p>\n<p style=\"text-align: center\">[latex]\\zeta = 0.01\\cdot \\Phi_m[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]PO = 100\\cdot({e^{\\frac{-\\zeta\\pi}{\\sqrt{1-\\zeta^2}}}})[\/latex]<\/p>\n<p>Dynamic tracking requirements (PO spec) will then be translated into the required [latex]\\Phi_m[\/latex]. Also, recall that the crossover frequency [latex]\\omega_{cp}[\/latex] relates to the closed loop model frequency \u00a0which in turn affects the closed loop step response settling time:<\/p>\n<p style=\"text-align: center\">[latex]T_{settle(\\pm5\\%)}=\\frac{3}{\\zeta\\omega_n}[\/latex]<\/p>\n<p style=\"text-align: center\">[latex]T_{settle(\\pm2\\%)}=\\frac{4}{\\zeta\\omega_n}[\/latex]<\/p>\n<p>Lead Compensator adds phase lead at the mid-point frequency [latex]\\omega_{0}[\/latex] as seen in Figure 13\u20112. Dynamic tracking requirements (Settling Time spec) will then be translated into the required [latex]\\omega_{cp}[\/latex]. Once [latex]\\omega_{cp}[\/latex] is decided, we will assume the maximum phase lift will be placed at this frequency to maximize the Phase Margin:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]\\omega_{cp} = \\omega_0[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u20119<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Once [latex]\\Phi_{m} = \\omega_0[\/latex] is decided, calculate the compensator parameter \u00a0from the maximum of the phase lead needed:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]\\varphi_{max}=\\sin^{-1}({\\frac{1-\\alpha}{1+\\alpha}})[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u201110<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The compensator time constant [latex]\\tau[\/latex] can now be calculated:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]\\omega_{cp} = \\omega_{0} = \\frac{1}{\\sqrt{\\alpha}\\cdot\\tau}[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u201111<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Remember that the additional magnitude added by the lead component at the mid-point frequency is equal to [latex]M(\\omega_0)=K_c\\frac{1}{\\sqrt{\\alpha}}[\/latex], as shown in Figure 13\u20112. This will shift the crossover frequency [latex]\\omega_{cp}[\/latex] from its intended position at [latex]\\omega_{0}[\/latex], and will affect the Phase Margin. To re-adjust the crossover frequency, change the DC gain of the controller, [latex]K_{c}[\/latex]. <strong>Note that the resulting open loop gain may or may not meet the error specification.<\/strong><\/p>\n<p><strong>NOTE: <\/strong><\/p>\n<p>This design is simple but does not allow meeting the closed loop steady state error specification directly. When the system is Type 1 and the step error is of no concern, this approach works best. Notice that since the DC gain of the controller is adjusted last, to achieve at the same time an improvement in the system tracking as well may require many trial-and-error iterations. This may prove tedious, or impossible, and so this simple approach should be mainly used if improving the tracking accuracy is not important, for example, when the system already has high error constants and therefore a good steady state tracking. This approach allows meeting the design requirements w.r.t. damping (percent overshoot) and speed (settling time) with relatively few calculations.<\/p>\n<h3><span style=\"font-size: 1.424em\">13.2.2 Analytical Lead Controller Design<\/span><\/h3>\n<div>\n<p>When achieving the DC tracking accuracy is as important as the dynamic tracking, a different, more analytical approach is recommended, which will allow you to find a lead network with a specific DC gain, that will create a specified Phase Margin [latex]\\Phi_{m}[\/latex] at a specified crossover frequency, [latex]\\omega_{cp}[\/latex] . Recall that the transfer function of the lead compensator is:<\/p>\n<p style=\"text-align: center\">[latex]G_c(s)=\\frac{a_1s+a_0}{b_1+1}[\/latex]<\/p>\n<p>Coefficient [latex]a_{0}[\/latex] corresponds to the DC gain of the controller. Zero is at [latex]s_1 = -\\frac{a_0}{a_1}[\/latex], pole is at [latex]s_2 = -\\frac{1}{b_1}[\/latex], as shown in Figure 13\u20111. Dynamic tracking requirements dictate what values of the Phase Margin [latex]\\Phi_m[\/latex] and of the crossover frequency [latex]\\omega_{cp}[\/latex] should be chosen. Ideally, we want to have the specified Phase Margin [latex]\\Phi_m[\/latex]\u00a0to occur at the specified frequency [latex]\\omega_{cp}[\/latex]. Note that the new crossover frequency [latex]\\omega_{cp}[\/latex]\u00a0should be chosen to be <strong>larger<\/strong> than the uncompensated one. The condition is written as:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]G_c(j\\omega_{cp})GH(j\\omega_{cp}) = 1\\angle (-180^\\circ + \\Phi_m)[\/latex]<\/td>\n<td style=\"width: 50%\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\">[latex]\\frac{a_1j\\omega_{cp} + a_0}{b_1j\\omega_{cp}+1}GH(j\\omega_{cp}) = 1\\angle (-180^\\circ + \\Phi_m)[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u201112<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The above complex equation results in two conditions (magnitude and phase), with two unknowns, [latex]a_{1}[\/latex] and [latex]b_{1}[\/latex]:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]\\left | \\frac{a_1j\\omega_{cp} + a_0}{b_1j\\omega_{cp}+1}GH(j\\omega_{cp}) \\right | = 1[\/latex]<\/td>\n<td style=\"width: 50%\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\">[latex]\\tan^{-1}(\\frac{a_1j\\omega_{cp}}{a_0})-\\tan^{-1}(b_1j\\omega_{cp}) = -180^{\\circ}+\\Phi_m[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u201113<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The two equations can be then solved. It is convenient to define the following \u201cPhase Lift\u201d angle [latex]\\theta[\/latex]:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[latex]\\theta = -180^{\\circ} + \\Phi_m - \\angle G(j\\omega_{cp})[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u201114<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The Lead Controller coefficients are then calculated as:<\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">[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}}[\/latex]<\/td>\n<td style=\"width: 50%\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%\">[latex]b_1 = \\frac{\\cos{\\theta} - a_0 \\cdot \\left | G(j\\omega_{cp}) \\right |}{\\omega_{cp}\\cdot\\sin{\\theta}}[\/latex]<\/td>\n<td style=\"width: 50%;text-align: right\">Equation 13\u201115<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Observation I: <\/strong><\/p>\n<p>Note that although the solution to these equations will always exist, not all solutions will be acceptable. If [latex]a_{1}[\/latex] is negative, the Lead Controller will be non-minimum phase. If [latex]b_{1}[\/latex] is negative, the Lead Controller is unstable. If either of these cases occurs, the initial choices of [latex]\\Phi_{m}[\/latex], [latex]\\omega_{cp}[\/latex] have to be modified until positive solutions are found.<\/p>\n<p><strong>Observation II:\u00a0 <\/strong><\/p>\n<p>Note that if [latex]\\omega_{cp}[\/latex] for the compensated system is chosen to be less than that of the uncompensated system, we will end up with a Lag Controller transfer function, shown in Equation 13\u201116, where [latex]a_0 = K_c[\/latex] corresponds to the DC gain of the controller, and [latex]a<1[\/latex] (i.e. the controller pole is closer to Im axis than the zero).\n\n<\/div>\n","protected":false},"author":156,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1090","chapter","type-chapter","status-publish","hentry"],"part":1043,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/chapters\/1090","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":46,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/chapters\/1090\/revisions"}],"predecessor-version":[{"id":2717,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/chapters\/1090\/revisions\/2717"}],"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\/1090\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/wp\/v2\/media?parent=1090"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/pressbooks\/v2\/chapter-type?post=1090"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/wp\/v2\/contributor?post=1090"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/controlsystems\/wp-json\/wp\/v2\/license?post=1090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}