{"id":838,"date":"2019-06-01T16:38:44","date_gmt":"2019-06-02T00:38:44","guid":{"rendered":"https:\/\/linearcontrol.info\/fundamentals\/?p=838"},"modified":"2019-06-09T13:11:57","modified_gmt":"2019-06-09T21:11:57","slug":"step-by-step-bode-plot-example-part-iii","status":"publish","type":"post","link":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/2019\/06\/01\/step-by-step-bode-plot-example-part-iii\/","title":{"rendered":"Step-by-step Bode plot example. Part III"},"content":{"rendered":"\n<p>We have gone step-by-step over how to sketch straight-line approximations for the <a href=\"https:\/\/linearcontrol.info\/fundamentals\/index.php\/2019\/05\/31\/step-by-step-bode-plot-example-part-i\/\">magnitude<\/a> and <a href=\"https:\/\/linearcontrol.info\/fundamentals\/index.php\/2019\/05\/31\/step-by-step-bode-plot-example-part-ii\/\">phase<\/a> diagrams of the Bode plot for a simple rational transfer-function. This transfer-function had only left-hand side poles and zeros, that is it was <em>minimum-phase<\/em> (see Section 7.2). In this post we consider a <em>non-minimum phase<\/em> transfer-function with a right-hand side zero. See  Section 7.1 for details on the approximations.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>We consider a variation on the second-order transfer-function we addressed before:<\/p>\n\n\n\n<p>$$G(s) = \\frac{s+2}{s^2-9s -10}$$<\/p>\n\n\n\n<p>The only difference it that the pole at $s=-10$ has been moved to the right-hand side to $s=10$. This is more evident after factoring and normalizing<\/p>\n\n\n\n<p>$$G(s) = \\frac{-2}{10} \\frac{1 + s\/2}{(1 + s)(1 &#8211; s\/10)}.$$<\/p>\n\n\n\n<p>Note that the above change also affects the sign of the gain, which now has become negative.<\/p>\n\n\n\n<p>Because the sign of the gain and the poles or zeros have no effect in the magnitude of the frequency response, the magnitude straight-line approximation is the same as the one obtained before in <a href=\"https:\/\/linearcontrol.info\/fundamentals\/index.php\/2019\/05\/31\/step-by-step-bode-plot-example-part-i\/\">this post<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds6.png?resize=512%2C286&#038;ssl=1\" alt=\"\" class=\"wp-image-774\" width=\"512\" height=\"286\" srcset=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds6.png?resize=1024%2C571&amp;ssl=1 1024w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds6.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds6.png?resize=768%2C429&amp;ssl=1 768w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds6.png?resize=1200%2C670&amp;ssl=1 1200w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds6.png?w=1973&amp;ssl=1 1973w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds6.png?w=1680&amp;ssl=1 1680w\" sizes=\"(max-width: 512px) 85vw, 512px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>As for the phase, we can proceed as in <a href=\"https:\/\/linearcontrol.info\/fundamentals\/index.php\/2019\/05\/31\/step-by-step-bode-plot-example-part-ii\/\">this post<\/a> to construct the phase diagram up until $\\omega =1$, at which point the effects of the pole at $s=10$ begin:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp4.png?resize=512%2C276&#038;ssl=1\" alt=\"\" class=\"wp-image-807\" width=\"512\" height=\"276\" srcset=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp4.png?resize=1024%2C551&amp;ssl=1 1024w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp4.png?resize=300%2C161&amp;ssl=1 300w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp4.png?resize=768%2C413&amp;ssl=1 768w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp4.png?resize=1200%2C646&amp;ssl=1 1200w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp4.png?w=1893&amp;ssl=1 1893w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp4.png?w=1680&amp;ssl=1 1680w\" sizes=\"(max-width: 512px) 85vw, 512px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>Because $s=10$ is a pole on the right-hand side, a slope of $+45^\\circ$\/decade is added that lasts until $\\omega=100$. At $\\omega=10$ the value of the phase will be<\/p>\n\n\n\n<p>$$-13 +45 \\log_{10}(10\/1) = 32^\\circ$$<\/p>\n\n\n\n<p>and, because of the residual slope of $+45$ in $[10, 20]$, the combined slope becomes $+90^\\circ$ at that range, which leads to a phase value of<\/p>\n\n\n\n<p>$$32+90\\log_{10}(20\/10) \\approx 59$$<\/p>\n\n\n\n<p>at $\\omega=20$. At that point, the slope is back at $+45^\\circ$\/decade and then goes flat at $\\omega=100$ as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp6.jpg?resize=512%2C289&#038;ssl=1\" alt=\"\" class=\"wp-image-809\" width=\"512\" height=\"289\" srcset=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp6.jpg?resize=1024%2C577&amp;ssl=1 1024w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp6.jpg?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp6.jpg?resize=768%2C433&amp;ssl=1 768w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp6.jpg?resize=1200%2C676&amp;ssl=1 1200w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp6.jpg?w=1921&amp;ssl=1 1921w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp6.jpg?w=1680&amp;ssl=1 1680w\" sizes=\"(max-width: 512px) 85vw, 512px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>Because the gain $-2\/10$ is negative, an additional phase of $-180^\\circ$ is added to obtain the red line sketch as in the next figure:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp8.jpg?ssl=1\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp8.jpg?resize=512%2C285&#038;ssl=1\" alt=\"\" class=\"wp-image-811\" width=\"512\" height=\"285\" srcset=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp8.jpg?resize=1024%2C569&amp;ssl=1 1024w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp8.jpg?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp8.jpg?resize=768%2C426&amp;ssl=1 768w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp8.jpg?resize=1200%2C666&amp;ssl=1 1200w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp8.jpg?w=1882&amp;ssl=1 1882w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bdsp8.jpg?w=1680&amp;ssl=1 1680w\" sizes=\"(max-width: 512px) 85vw, 512px\" data-recalc-dims=\"1\" \/><\/a><\/figure>\n\n\n\n<p>Note that we expect that the phase reaches $-90$ at $\\omega=100$ because we have $n_- = 1$ poles one the left-hand side, $n_+=1$ poles on the right-hand side, and $m_-=1$ zeros on the left-hand side so that<\/p>\n\n\n\n<p>$$-180^\\circ + 90^\\circ \\times (m_- + n_+) \\, &#8211; \\, 90^\\circ \\times (n_-) = -180^\\circ + 180^\\circ &#8211; 90^\\circ=-90^\\circ$$<\/p>\n\n\n\n<p>See this <a href=\"https:\/\/linearcontrol.info\/fundamentals\/index.php\/2019\/05\/31\/step-by-step-bode-plot-example-part-ii\/\">previous post<\/a> for a discussion on what phase to expect for large values of $\\omega$. If you are wondering why we subtracted $180^\\circ$ and not added $180^\\circ$ to account for the negative gain you are not alone. We will discuss that in a future post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have gone step-by-step over how to sketch straight-line approximations for the magnitude and phase diagrams of the Bode plot for a simple rational transfer-function. This transfer-function had only left-hand side poles and zeros, that is it was minimum-phase (see Section 7.2). In this post we consider a non-minimum phase transfer-function with a right-hand side &hellip; <a href=\"https:\/\/linearcontrol.info\/fundamentals\/index.php\/2019\/06\/01\/step-by-step-bode-plot-example-part-iii\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Step-by-step Bode plot example. Part III&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false},"categories":[55],"tags":[40,47,54,41,44,45,43,42],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/posts\/838"}],"collection":[{"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/comments?post=838"}],"version-history":[{"count":14,"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/posts\/838\/revisions"}],"predecessor-version":[{"id":950,"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/posts\/838\/revisions\/950"}],"wp:attachment":[{"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/media?parent=838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/categories?post=838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/tags?post=838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}