{"id":767,"date":"2019-05-31T15:42:43","date_gmt":"2019-05-31T23:42:43","guid":{"rendered":"https:\/\/linearcontrol.info\/fundamentals\/?p=767"},"modified":"2019-06-09T13:12:18","modified_gmt":"2019-06-09T21:12:18","slug":"step-by-step-bode-plot-example-part-i","status":"publish","type":"post","link":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/2019\/05\/31\/step-by-step-bode-plot-example-part-i\/","title":{"rendered":"Step-by-step Bode plot example. Part I"},"content":{"rendered":"\n<p>In this post we will go over the process of sketching the straight-line Bode plot approximations for a simple rational transfer-function in a step-by-step fashion. See Section 7.1 for details on the approximations. We will start with the magnitude plot and cover the phase plot in a future post.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Consider the following second-order transfer-function:<\/p>\n\n\n\n<p>$$G(s) = \\frac{s+2}{s^2+11 s + 10}.$$<\/p>\n\n\n\n<p>The first step to produce a Bode plot sketch is to factor the numerator and denominator in terms of its poles and zeros:<\/p>\n\n\n\n<p>$$G(s) = \\frac{s+2}{(s+1)(s+10)}.$$<\/p>\n\n\n\n<p>You might need the help of a numeric calculator here for large order transfer-functions. In this example all poles and zeros are real. We will consider the case of complex-poles and zeros in another post.<\/p>\n\n\n\n<p>Once the poles and zeros have been factored, normalize the numerator and denominator:<\/p>\n\n\n\n<p>$$G(s) = \\frac{2}{10} \\frac{1 + s\/2}{(1 + s)(1 + s\/10)}.$$<\/p>\n\n\n\n<p>This step is very important and not performing it before proceeding with the sketch is a common mistake that leads to an incorrect gain.<\/p>\n\n\n\n<p>We proceed to identifying the pole or zero with smallest magnitude, which is this case is the pole at $s=-1$. Such a pole will show up on the magnitude Bode plot as straight-line approximation that is $0$ before $\\omega=1$ and have a $-20$dB\/decade slope after the pole, as shown in the figure:<\/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\/bds1.png?resize=512%2C286&#038;ssl=1\" alt=\"\" class=\"wp-image-769\" width=\"512\" height=\"286\" srcset=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds1.png?resize=1024%2C571&amp;ssl=1 1024w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds1.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds1.png?resize=768%2C429&amp;ssl=1 768w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds1.png?resize=1200%2C670&amp;ssl=1 1200w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds1.png?w=1973&amp;ssl=1 1973w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds1.png?w=1680&amp;ssl=1 1680w\" sizes=\"(max-width: 512px) 85vw, 512px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>After noticing that the next pole or zero happens at $s=-2$ we can proceed to draw the sketch as the red line in the next diagram, stopping right before $\\omega=2$.<\/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\/bds2.png?resize=512%2C286&#038;ssl=1\" alt=\"\" class=\"wp-image-770\" width=\"512\" height=\"286\" srcset=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds2.png?resize=1024%2C571&amp;ssl=1 1024w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds2.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds2.png?resize=768%2C429&amp;ssl=1 768w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds2.png?resize=1200%2C670&amp;ssl=1 1200w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds2.png?w=1973&amp;ssl=1 1973w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds2.png?w=1680&amp;ssl=1 1680w\" sizes=\"(max-width: 512px) 85vw, 512px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>The value of $-6$ marked above can be calculated by using a standard $\\Delta_y = \\text{slope} \\times \\Delta_x$ argument:<\/p>\n\n\n\n<p>$$\\Delta_y = -20 \\times (\\log_{10}(2) -\\log_{10}(1))= -20 \\log_{10}(2\/1) \\approx -6.$$<\/p>\n\n\n\n<p>Past $\\omega=2$, it is necessary to take into account the contribution of the zero at $s=-2$, which adds to the current slope of $-20$dB\/decade its own slope of $+20$dB\/decade. The resulting slope of $-20+20=0$dB\/decade is the straight line in the next figure:<\/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\/bds3.png?resize=512%2C286&#038;ssl=1\" alt=\"\" class=\"wp-image-771\" width=\"512\" height=\"286\" srcset=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds3.png?resize=1024%2C571&amp;ssl=1 1024w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds3.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds3.png?resize=768%2C429&amp;ssl=1 768w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds3.png?resize=1200%2C670&amp;ssl=1 1200w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds3.png?w=1973&amp;ssl=1 1973w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds3.png?w=1680&amp;ssl=1 1680w\" sizes=\"(max-width: 512px) 85vw, 512px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>We then proceed with the red line until right before $\\omega=10$, at which point the second pole at $s=-10$ starts contributing $-20$dB\/decade, as shown next:<\/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\/bds4.png?resize=512%2C286&#038;ssl=1\" alt=\"\" class=\"wp-image-772\" width=\"512\" height=\"286\" srcset=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds4.png?resize=1024%2C571&amp;ssl=1 1024w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds4.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds4.png?resize=768%2C429&amp;ssl=1 768w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds4.png?resize=1200%2C670&amp;ssl=1 1200w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds4.png?w=1973&amp;ssl=1 1973w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds4.png?w=1680&amp;ssl=1 1680w\" sizes=\"(max-width: 512px) 85vw, 512px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>Since there is no other pole or zero, we conclude the diagram by following the $-20$dB\/decade slope line initiated at $\\omega=10$:<\/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\/bds5.png?resize=512%2C286&#038;ssl=1\" alt=\"\" class=\"wp-image-773\" width=\"512\" height=\"286\" srcset=\"https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds5.png?resize=1024%2C571&amp;ssl=1 1024w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds5.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds5.png?resize=768%2C429&amp;ssl=1 768w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds5.png?resize=1200%2C670&amp;ssl=1 1200w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds5.png?w=1973&amp;ssl=1 1973w, https:\/\/i0.wp.com\/linearcontrol.info\/fundamentals\/wp-content\/uploads\/2019\/05\/bds5.png?w=1680&amp;ssl=1 1680w\" sizes=\"(max-width: 512px) 85vw, 512px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>Last but not least, we need to offset the diagram to take into account the <em>gain<\/em> of $2\/10$, which corresponds to<\/p>\n\n\n\n<p>$$20 \\log_{10}(2\/10)\\approx-13\\text{dB}$$<\/p>\n\n\n\n<p>to obtain the final sketch:<\/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>Finally, here are some sanity checks that you should perform on your sketch:<\/p>\n\n\n\n<ol><li>If there are no poles nor zeros at the origin then your magnitude diagram will start flat at $20 \\log_{10} |G(0)|$. In this example $20 \\log_{10}|2\/10|\\approx -13$.<\/li><li>It will always end with a slope of $-20(n-m)$dB\/decade, where $n$ is the number of poles and $m$ the number of zeros. In this example, $n=2$, $m=1$, and the plot ends with a $-20(2-1)=-20$dB\/decade slope.<\/li><\/ol>\n\n\n\n<p>We will consider the sketch of the phase on a followup post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post we will go over the process of sketching the straight-line Bode plot approximations for a simple rational transfer-function in a step-by-step fashion. See Section 7.1 for details on the approximations. We will start with the magnitude plot and cover the phase plot in a future post.<\/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,42],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/posts\/767"}],"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=767"}],"version-history":[{"count":21,"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/posts\/767\/revisions"}],"predecessor-version":[{"id":948,"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/posts\/767\/revisions\/948"}],"wp:attachment":[{"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/media?parent=767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/categories?post=767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linearcontrol.info\/fundamentals\/index.php\/wp-json\/wp\/v2\/tags?post=767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}