{"id":12,"date":"2014-02-16T23:55:36","date_gmt":"2014-02-16T23:55:36","guid":{"rendered":"http:\/\/blog.mtfwalker.com\/?p=12"},"modified":"2014-02-16T23:55:36","modified_gmt":"2014-02-16T23:55:36","slug":"switching-power-supply-design","status":"publish","type":"post","link":"http:\/\/blog.mtfwalker.com\/?p=12","title":{"rendered":"Switching Power Supply Design"},"content":{"rendered":"<p>Tricky things switching power supplies.\u00a0 Not the &#8216;simple&#8217; integrated FET switching regulators with internal compensation and all that jazz.\u00a0 No, I mean the multi-phase PWM controllers with external MOSFETs and external compensation.<\/p>\n<p>The datasheets are normally well written and there is usually a good simulator model or design spreadsheet that calculates the optimal values for compensation.\u00a0 The real difficulty comes with layout and with parasitic effects.\u00a0 I had a recent example of this and wanted to share it with you.<\/p>\n<p>I had a customer who had seen a brief transient spike that oscillated for a few nanoseconds every time the upper FET (it was a synchronously rectified design with a low-side FET replacing the Schottky free-wheeling diode for better efficiency) turned on.\u00a0 It appeared that the lower FET was also turning on briefly and the transient was &#8216;shoot-through&#8217; where both FETs are conducting.\u00a0 If this goes on for a long\u00a0period of time it can be bad news as you are effectively shorting the input supply to ground.\u00a0 However, in this case, it was a few nanoseconds so the worry was more the long-term reliability of the design.<\/p>\n<p>The transient\u00a0the customer was seeing was dVds\/dt induced turn-on.\u00a0 When one FET is turned on or off, a step of voltage is applied between drain and source of the other device on the same leg.\u00a0 This step of voltage is coupled to the gate through the gate-to drain capacitance, and it can be large enough to turn the device on for a short instant.\u00a0 The way to solve this is to slow down the dVds\/dt of the FETs.<\/p>\n<p>In the case of synchronous buck converters, the rising edge of the switch node is generally the node that must be slowed down.\u00a0 One way to\u00a0do this is to increase the upper FET gate drive resistance, to slow down the turn on.\u00a0 Remember that with power FETs you have to charge the gate capacitance so you effectively have an RC circuit with a time constant and increasing the resistance increases the time constant.\u00a0 Check the manufacturer&#8217;s data sheet but the value of this resistor is of the order of a few ohms.<\/p>\n<p>The main disadvantage of this is that the switching losses are higher.\u00a0 The other issue is that as well as slowing down turn on it will also slow down turn off (which is already much slower than turn on).\u00a0 One way around this is to put a reverse diode in parallel to the gate resistor to allow a fast turn-off but a slower turn-on.\u00a0 I this case, the customer could not change the board layout but if you are laying out your own board, it&#8217;s worth putting in a link for a diode if needed, at least for the prototype board.\u00a0 I have also seen customers place a resistor in the bootstrap path to slow down only the turn-on speeds.<\/p>\n<p>The ringing is caused by energy going back and forth between the gate-to drain capacitance and the gate lead inductance.\u00a0 It is good to keep the gate PCB trace\u00a0as short as possible.\u00a0 Don&#8217;t ask how short is short!\u00a0 Also take note of the layout recommendations in the datasheet.\u00a0 For example, for this particular controller\u00a0it recommends that Gate traces be run in pairs: UGATE+PHASE and LGATE+VSSP with trace widths at least 30mils thick.\u00a0 Oh, and never run any of the sensitive signals under the phase (switching) node&#8230;<\/p>\n<p>Apart from that, it&#8217;s pretty simple.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tricky things switching power supplies.\u00a0 Not the &#8216;simple&#8217; integrated FET switching regulators with internal compensation and all that jazz.\u00a0 No, I mean the multi-phase PWM controllers with external MOSFETs and external compensation. The datasheets are normally well written and there is usually a good simulator model or design spreadsheet that calculates the optimal values for &hellip; <a href=\"http:\/\/blog.mtfwalker.com\/?p=12\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Switching Power Supply Design&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/blog.mtfwalker.com\/index.php?rest_route=\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.mtfwalker.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.mtfwalker.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.mtfwalker.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.mtfwalker.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12"}],"version-history":[{"count":2,"href":"http:\/\/blog.mtfwalker.com\/index.php?rest_route=\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":14,"href":"http:\/\/blog.mtfwalker.com\/index.php?rest_route=\/wp\/v2\/posts\/12\/revisions\/14"}],"wp:attachment":[{"href":"http:\/\/blog.mtfwalker.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.mtfwalker.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.mtfwalker.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}