{"id":50,"date":"2008-06-22T12:27:18","date_gmt":"2008-06-22T21:27:18","guid":{"rendered":"http:\/\/www.circuitdesign.info\/?p=50"},"modified":"2020-11-01T18:40:47","modified_gmt":"2020-11-02T00:40:47","slug":"quick-regulator-design-part-1-load-capacitance","status":"publish","type":"post","link":"https:\/\/www.circuitdesign.info\/blog\/2008\/06\/quick-regulator-design-part-1-load-capacitance\/","title":{"rendered":"Quick Regulator Design \u2014 Part 1: Load Capacitance"},"content":{"rendered":"\n<p>In this post, I will detail how I designed a regulator quickly. The idea here wasn&#8217;t to get the best performing regulator, but just one that did the job.<\/p>\n\n\n\n<p>I do care about performance, area, and power, just not as much in this case. The most important thing was to meet the schedule. If I didn&#8217;t have a regulator, I would have no ADC to measure. So, <em>any<\/em> regulator was better than no regulator.<\/p>\n\n\n\n<p>After I was done, I realized that the result was a really good basic regulator\u00e2\u20ac\u201done that someone could design quickly, and then build upon to realize something more optimal.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The regulator was meant to power the comparator in a sigma-delta ADC. This comparator (the load circuit) is comprised of both analog (constant-current) and switching circuits. The analog section impinges very little on its supply. We therefore focus on the switching portions of the load circuit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Switching Circuit Load<\/h2>\n\n\n\n<p>Before we consider the design of the regulator, let&#8217;s consider how a switching circuit draws power from its supply.<\/p>\n\n\n\n<p>Take the switching diagram of an inverter with a capacitor load $C_L$, shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"392\" height=\"480\" src=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0039.jpg\" alt=\"\" class=\"wp-image-38\" srcset=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0039.jpg 392w, https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0039-245x300.jpg 245w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><\/figure>\n\n\n\n<p>This circuit dissipates current from the supply in two steps. In the first phase ($\\phi_0$), the upper switch connects the load to supply. A charge of Q<sub>L<\/sub>=C<sub>L<\/sub>*V<sub>DD<\/sub> has been sourced from supply. During the second phase ($\\phi_1$), this charge is taken off the load capacitor and dissipated to ground.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Regulator with Switching Load<\/h2>\n\n\n\n<p>Let&#8217;s for now model the regulator as a fixed resistor between supply (V<sub>S<\/sub>) and its output (V<sub>R<\/sub>). Note that V<sub>R<\/sub> is also the supply to the switching circuit.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"377\" height=\"480\" src=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0043a.jpg\" alt=\"\" class=\"wp-image-40\" srcset=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0043a.jpg 377w, https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0043a-235x300.jpg 235w\" sizes=\"auto, (max-width: 377px) 100vw, 377px\" \/><\/figure>\n\n\n\n<p>This model is valid for cases when the feedback loop of the regulator isn&#8217;t fast enough to correct the output voltage. This short\/quick transient is exactly what we&#8217;ll consider here.<\/p>\n\n\n\n<p>During the phase ($\\phi_0$) when the inverter pulls charge from supply, there&#8217;s essentially an RC formed between the supply V<sub>S<\/sub>, the resistance of the regulator, R<sub>R<\/sub>, and the load capacitor C<sub>L<\/sub>. The regulated voltage takes a dip down and settles back:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"454\" height=\"480\" src=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0038b.jpg\" alt=\"\" class=\"wp-image-42\" srcset=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0038b.jpg 454w, https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0038b-283x300.jpg 283w\" sizes=\"auto, (max-width: 454px) 100vw, 454px\" \/><\/figure>\n\n\n\n<p>This is obviously a bad situation: the regulated output takes a large droop. In the case of my comparator, this would definitely effect the linearity, since the droop in supply would be signal-dependent.<\/p>\n\n\n\n<p>Here&#8217;s the dirty little secret: for RF circuits and high-speed circuits, <strong>the regulator is too slow to do anything about these switching transients<\/strong>. The regulator feedback can do nothing to correct this droop.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Regulator Bypass Capacitor<\/h2>\n\n\n\n<p>To alleviate this droop problem, we put a capacitor on the regulator\u00e2\u20ac&#x2122;s output:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"491\" height=\"480\" src=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0043b.jpg\" alt=\"\" class=\"wp-image-44\" srcset=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0043b.jpg 491w, https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0043b-300x293.jpg 300w\" sizes=\"auto, (max-width: 491px) 100vw, 491px\" \/><\/figure>\n\n\n\n<p>Instead of sourcing charge through the regulator resistance, the charge can come off the bypass capacitor C<sub>R<\/sub>.<\/p>\n\n\n\n<p>Now, we have a switched-capacitor circuit. The load capacitor of the regulator is now connected to C<sub>R<\/sub>. Take, for example, the case where C<sub>R<\/sub> is 10x C<sub>L<\/sub>, the regulated output is 1.0 V, and the inverter starts out with a low (0 V) output:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"442\" height=\"480\" src=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0002a.png\" alt=\"\" class=\"wp-image-51\" srcset=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0002a.png 442w, https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0002a-276x300.png 276w\" sizes=\"auto, (max-width: 442px) 100vw, 442px\" \/><\/figure>\n\n\n\n<p>When the inverter output now goes high, we have charge sharing between the load capacitor C<sub>L<\/sub> and the bypass capacitor C<sub>R<\/sub>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"456\" height=\"480\" src=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0002b.png\" alt=\"\" class=\"wp-image-53\" srcset=\"https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0002b.png 456w, https:\/\/www.circuitdesign.info\/blog\/wp-content\/uploads\/2008\/06\/scan0002b-285x300.png 285w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><\/figure>\n\n\n\n<p>Since the load capacitance is 10% of the bypass capacitance, 10% of the charge is transferred from the bypass capacitor to the load capacitor, and we get a 10% drop in the regulated output.<\/p>\n\n\n\n<p>More generally, if we design C<sub>R<\/sub> to be $F \\times C_L$, we will generally see a $\\frac{1}{F+1}$ droop in our regulated supply V<sub>R<\/sub>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Effective C<sub>L<\/sub><\/h2>\n\n\n\n<p>Obviously, our circuit does not consist of a single inverter. So, how do we estimate C<sub>L<\/sub>? The method I use is to vary the switching frequency. If there is a clock that determines the frequency of $\\phi_0$ and $\\phi_1$, we can use that to determine the effective C<sub>L<\/sub> by varying the clock frequency. Recall that during every clock period, we above circuit dissipates a charge Q<sub>L<\/sub> = C<sub>L<\/sub>*V<sub>R<\/sub> from V<sub>R<\/sub>.<\/p>\n\n\n\n<p>So, we have a relationship of current with switching frequency:<\/p>\n\n\n\n<p>$$I_R = I_{R0} + C_L \\times V_R \\times F_S$$<\/p>\n\n\n\n<p>$I_{R0}$ represents the current drawn by analog (constant-current biased &amp; simple resistor) elements within the load circuit. We can back-solve for an effect $C_L$ by looking at the change in $I_R$ from a (say 10%) change in $F_S$:<\/p>\n\n\n\n<p>$$\\Delta I_R = C_L \\times V_R \\times \\Delta F_S$$<\/p>\n\n\n\n<p>$$ C_L = \\frac{\\Delta I_R}{V_R * \\Delta F_S} $$<\/p>\n\n\n\n<p>So, let&#8217;s for example consider the following table extracted from simulations:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>F<sub>S<\/sub><\/strong><\/td><td><strong>I<sub>R<\/sub><\/strong><\/td><\/tr><tr><td>100 MHz<\/td><td>5 mA<\/td><\/tr><tr><td>110 MHz<\/td><td>5.1 mA<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>$$ C_L = \\frac{0.1 \\text{mA}}{1.0 \\text{V} * 10 \\text{MHz}} = 10 \\text{pF} $$<\/p>\n\n\n\n<p>I wanted to make sure that my regulator supply (V<sub>R<\/sub>) was rock solid. So, I chose C<sub>R<\/sub> to be 100 X 10 pF = 1 nF. (Like I said, I didn&#8217;t care that much about area in this case.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, I will detail how I designed a regulator quickly. The idea here wasn&#8217;t to get the best performing regulator, but just one that did the job. I do care about performance, area, and power, just not as much in this case. The most important thing was to meet the schedule. If I [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-50","post","type-post","status-publish","format-standard","hentry","category-analog-pro"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/poCEy-O","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.circuitdesign.info\/blog\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.circuitdesign.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.circuitdesign.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.circuitdesign.info\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.circuitdesign.info\/blog\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":13,"href":"https:\/\/www.circuitdesign.info\/blog\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":1185,"href":"https:\/\/www.circuitdesign.info\/blog\/wp-json\/wp\/v2\/posts\/50\/revisions\/1185"}],"wp:attachment":[{"href":"https:\/\/www.circuitdesign.info\/blog\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuitdesign.info\/blog\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuitdesign.info\/blog\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}