<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>8-bit Microcontrollers中的主题 Re: Damage Freescale microcontroller by driving switch-mode FETs directly from microcontroller pins?</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Damage-Freescale-microcontroller-by-driving-switch-mode-FETs/m-p/178186#M12636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another advantage to adding series resistance and clamp diodes is the case of a FET failure.&amp;nbsp; With the additional components,&amp;nbsp; the micro will not get destroyed if the FET shorts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jan 2011 22:15:51 GMT</pubDate>
    <dc:creator>TurboBob</dc:creator>
    <dc:date>2011-01-28T22:15:51Z</dc:date>
    <item>
      <title>Damage Freescale microcontroller by driving switch-mode FETs directly from microcontroller pins?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Damage-Freescale-microcontroller-by-driving-switch-mode-FETs/m-p/178183#M12633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="wordwrap"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Will we damage our Freescale MC9S08AC60CFGE microcontroller by driving&amp;nbsp; four&amp;nbsp; separate FETs &amp;nbsp;directly from&amp;nbsp; four&amp;nbsp;&amp;nbsp;microcontroller output pins, with no series resistors, (and no gate driver circuitry)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We are powering solenoids via&amp;nbsp; 27KHz&amp;nbsp;, switch-mode solenoid drivers, &amp;nbsp;which comprise FETs being driven directly from a microcontroller.&lt;BR /&gt;-as stated , the FET gates are being driven directly from the microcontroller pins, with no series resistor used -and no specific gate driver circuit used. (-the microcontroller is supplied from 5V)&lt;BR /&gt;&lt;BR /&gt;(as said, there are actually four solenoids and so four&amp;nbsp;&amp;nbsp;of the same microcontroller's&amp;nbsp;&amp;nbsp;pins directly drive four different FETs)&lt;BR /&gt;&lt;BR /&gt;Here is the basic switching solenoid driver schematic: (just one FET is shown, and the microcontroller output resistance is wrongly shown as 5R...my apologies)&lt;BR /&gt;&lt;BR /&gt;SCHEMATIC:&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fi53.tinypic.com%2F1zm1j08.jpg" rel="nofollow" target="_blank"&gt;http://i53.tinypic.com/1zm1j08.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-solenoid current is 220mA and switching frequency is 27KHz in all 4 cases&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Page 304 of the MC9S08AC60CFGE microcontroller datasheet states that the maximum instantaneous current allowable in a microcontroller pin is 25mA&lt;BR /&gt;&lt;BR /&gt;Page 304 of MC9S08AC60CFGE microcontroller datasheet:&lt;BR /&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fi51.tinypic.com%2F4rtj00.jpg" rel="nofollow" target="_blank"&gt;http://i51.tinypic.com/4rtj00.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I make it that the total power_fet gate capacitance (including miller effect) is around 2.2nF for a 48V bus.........C = Qg/V (values from datasheet, below)&lt;BR /&gt;&lt;BR /&gt;The actual gate (Cgs) capacitance is Ciss - Crss = 316pF.&lt;BR /&gt;&lt;BR /&gt;Our Bus is 36V , so we will have a total gate capacitance (Cgs) of around 1.8nF.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is one of our sold products, but we had to stop producing&amp;nbsp;&amp;nbsp;it shortly after launch because a connector was not made of flame retardant plastic.&lt;BR /&gt;-we intend to re-launch in 6 months with the new connector.&lt;BR /&gt;&lt;BR /&gt;I am told by colleagues that this product survived and passed "quite a lot" of qualification testing.&lt;BR /&gt;&lt;BR /&gt;....but how can potential microcontroller damage be prooven?&lt;/DIV&gt;&lt;DIV class="wordwrap"&gt;-This microcontrollers output resistance appears to be 100R,&amp;nbsp; (actually&amp;nbsp; anywhere from 83R to 125R) from looking at page 310 of its datasheet&lt;/DIV&gt;&lt;DIV class="wordwrap"&gt;Graph showing microcontroller pin output resistance (IOH)&lt;BR /&gt;...from pg 310 of MC9S08AC60CFGE microcontroller datasheet&lt;BR /&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fi51.tinypic.com%2F4r9apv.jpg" rel="nofollow" target="_blank"&gt;http://i51.tinypic.com/4r9apv.jpg&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class="wordwrap"&gt;&lt;BR /&gt;Now here is&amp;nbsp;one &amp;nbsp;microcontroller pin's &amp;nbsp;current when driving the FET &amp;nbsp;directly, with a 100R series resistance added to the simulation to simulate the pin output resistance (this LTSpice simulation&amp;nbsp;&amp;nbsp;uses the STB16NF06LT4&amp;nbsp;&amp;nbsp; FET .model)&lt;BR /&gt;&lt;BR /&gt;FET gate current with 100R series resistance (100R represents the microcontroller's suggested output resisistance):-&lt;BR /&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fi53.tinypic.com%2Fo60bkn.jpg" rel="nofollow" target="_blank"&gt;http://i53.tinypic.com/o60bkn.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;do you consider that this current is unnaceptable? ..(it is going above the instantaneous maximum current of 25mA&amp;nbsp; stated on page 304 of the uC datasheet)&lt;BR /&gt;&lt;BR /&gt;-Please bear in mind that its&amp;nbsp;FOUR &amp;nbsp;pins of the same microcontroller that are each supplying this current. (switching frequency is 27KHz)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MICROCONTROLLER DATASHEET (Freescale MC9S08AC60CFGE):&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.freescale.com%2Ffiles%2Fmic...f%3Ffsrch%3D1%26sr%3D5" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/mic...f?fsrch=1&amp;amp;sr=5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;FET DATASHEET (STB16NF06LT4):&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Finternet%2Fcom%2FTECHN...CD00002847.pdf" rel="nofollow" target="_blank"&gt;http://www.st.com/internet/com/TECHN...CD00002847.pdf&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jan 2011 22:35:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Damage-Freescale-microcontroller-by-driving-switch-mode-FETs/m-p/178183#M12633</guid>
      <dc:creator>googer</dc:creator>
      <dc:date>2011-01-23T22:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Damage Freescale microcontroller by driving switch-mode FETs directly from microcontroller pins?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Damage-Freescale-microcontroller-by-driving-switch-mode-FETs/m-p/178184#M12634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since your switching frequency is quite low, I suggest adding a series resistor in every output to the fets.&lt;/P&gt;&lt;P&gt;You could actually observe current peaks and drive them to a safe level.&lt;/P&gt;&lt;P&gt;And you would decrease emission as a bonus.&lt;/P&gt;&lt;P&gt;Although I use simulation I never trust it entirely since models sometimes are not good enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Celso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 07:09:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Damage-Freescale-microcontroller-by-driving-switch-mode-FETs/m-p/178184#M12634</guid>
      <dc:creator>celsoken</dc:creator>
      <dc:date>2011-01-24T07:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Damage Freescale microcontroller by driving switch-mode FETs directly from microcontroller pins?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Damage-Freescale-microcontroller-by-driving-switch-mode-FETs/m-p/178185#M12635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I might&amp;nbsp;suggest placing, say a 100 ohm resistor between each output and the MOSFET gate.&amp;nbsp; Then to give additional protection from high voltage spikes finding their way back to the output pins, I would also suggest connecting a Schottky diode between each output pin and Vdd (cathode to Vdd).&amp;nbsp; This would reduce any transient current that might be injected into the pin, since the Schottky diode will conduct at a lower voltage than the internal parasitic diode within the MCU.&amp;nbsp; You might actually consider using 3-pin Schottky diode packages,&amp;nbsp;containing two series connected diodes.&amp;nbsp; The anode of the second diode would connect to ground, to&amp;nbsp;additionally&amp;nbsp;afford protection against negative transients.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The bulk capacitance value&amp;nbsp;connected to&amp;nbsp;the Vdd rail should be sufficient to absorb the transients without significant Vdd voltage increase.&amp;nbsp; An additional 5.6 volt Zener diode at the Vdd rail would provide additional protection against over-voltage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I presume that the switching process is to control the average solenoid current, by manipulating the duty cycle.&amp;nbsp; The solenoid time constant is about 6 milliseconds, so continuous current would be maintained with 27 kHz switching rate (37 us period).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With direct drive from the MCU pin, the switching delay plus risetime is likely to be about 1 us.&amp;nbsp; This will result in higher power dissipation within each MOSFET, compared with using higher current drive circuits, i.e. increased switching losses.&amp;nbsp; You will need to determine whether this is acceptable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the transient drive current associated with&amp;nbsp;each circuit is likely to persist for only 1 us, the switching control of each output might be&amp;nbsp; staggered by at least this amount, so that simultaneous transients do not occur for more than one output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 13:15:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Damage-Freescale-microcontroller-by-driving-switch-mode-FETs/m-p/178185#M12635</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-01-24T13:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Damage Freescale microcontroller by driving switch-mode FETs directly from microcontroller pins?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Damage-Freescale-microcontroller-by-driving-switch-mode-FETs/m-p/178186#M12636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another advantage to adding series resistance and clamp diodes is the case of a FET failure.&amp;nbsp; With the additional components,&amp;nbsp; the micro will not get destroyed if the FET shorts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 22:15:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Damage-Freescale-microcontroller-by-driving-switch-mode-FETs/m-p/178186#M12636</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2011-01-28T22:15:51Z</dc:date>
    </item>
  </channel>
</rss>

