<?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>topic Re: 3 phase PMSM workshop module 6/2 in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/3-phase-PMSM-workshop-module-6-2/m-p/993092#M3909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aniket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;and from where this &lt;STRONG style="color: #ff0000; "&gt;I_MAX=31.25A&lt;/STRONG&gt; comes? because I in the data sheet of mc32gd3000 its been shown maximum current handled is only &lt;STRONG style="color: #0000ff; "&gt;5A&lt;/STRONG&gt;.and motor also going to take only &lt;SPAN style="color: #00ff00;"&gt;2.3A&lt;/SPAN&gt; of current.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;1)&amp;nbsp;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100142i5AA0190FB760476C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This part of MOTORGD-DEVKIT schematic is used to set "VREF/2" voltage. It's a classic voltage repeater with operational amplifier.&amp;nbsp;That "MCU_VCC" comes from MPC5744P DEVKIT, and if that voltage is set to 5V, then "VREF/2" is 2.5V because "VREF/2 = MCU_VCC * (R33/R30 + R33)" (voltage divider formula).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;2)&lt;/SPAN&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100402i8639AD0DE8F9BE45/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This part &lt;SPAN&gt;of MOTORGD-DEVKIT schematic is used to amplify current of PHASE A, B and C.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Formula used for configuration of this operational amplifier is : PHC_I = ((R36/(R35 + R69)) * VR58) + VREF/2.&amp;nbsp; VR58 is volatge across the R58 resistor used as current sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To calculate VR58 you can use U = R * I formula.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So the output voltage of this OA (operational amplifier) for max current flowing thru R58 is PHC_I = 2.5 = (24/(1.5 + 1.5)) * (0.01 * I) (I is the current flowing thru R58).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I = 2.5/(8 * 0.01) = 31.25 .&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The reason for using of this VREF/2 as offset is that we need to amplify positive and negative voltage(that has to be equal) due to current flowing in both direction thru R58.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And if we use this 2.5V offset, then if there is no current flowing thru this R58, the output of this amplifier will be 2.5V. And due to the power supply (5V) of this AD8656 then the&amp;nbsp;voltage corresponding to maximum current flowing thru R58 is 5V - VREF/2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Those formulas with this values can be used if VREF of ADC is set to 5V and if&amp;nbsp;"MCU_VCC"&amp;nbsp;is 5V.&amp;nbsp; If you use 3.3V for ADC VREF and for&amp;nbsp;"MCU_VCC", then max current will be 20.625A.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The MOTORGD-DEVKIT it can't be used&amp;nbsp;at this current max current, due to many reasons (thermal dissipation of MOSFET transistors, the thickness of electrical routes, the sense resistors packages, block terminal), but it is safe to be used at max 5A.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00ff00;"&gt;4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The BLDC motor used in this KIT (MOTORGD-DEVKIT + MPC5744P-DEVKIT + 40W BLDC motor) is rated at 2.3A nominal current.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2020 12:47:03 GMT</pubDate>
    <dc:creator>adriantudor</dc:creator>
    <dc:date>2020-01-28T12:47:03Z</dc:date>
    <item>
      <title>3 phase PMSM workshop module 6/2</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/3-phase-PMSM-workshop-module-6-2/m-p/993091#M3908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98771i09515E9E00DA2B66/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can you please explain maths behind this?&lt;/P&gt;&lt;P&gt;and from where this I_MAX=31.25A comes? because I in the data sheet of mc32gd3000 its been shown maximum current handled is only 5A.and motor also going to take only 2.3 A of current.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 10:13:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/3-phase-PMSM-workshop-module-6-2/m-p/993091#M3908</guid>
      <dc:creator>aniket_bagade</dc:creator>
      <dc:date>2020-01-23T10:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: 3 phase PMSM workshop module 6/2</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/3-phase-PMSM-workshop-module-6-2/m-p/993092#M3909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aniket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;and from where this &lt;STRONG style="color: #ff0000; "&gt;I_MAX=31.25A&lt;/STRONG&gt; comes? because I in the data sheet of mc32gd3000 its been shown maximum current handled is only &lt;STRONG style="color: #0000ff; "&gt;5A&lt;/STRONG&gt;.and motor also going to take only &lt;SPAN style="color: #00ff00;"&gt;2.3A&lt;/SPAN&gt; of current.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;1)&amp;nbsp;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100142i5AA0190FB760476C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This part of MOTORGD-DEVKIT schematic is used to set "VREF/2" voltage. It's a classic voltage repeater with operational amplifier.&amp;nbsp;That "MCU_VCC" comes from MPC5744P DEVKIT, and if that voltage is set to 5V, then "VREF/2" is 2.5V because "VREF/2 = MCU_VCC * (R33/R30 + R33)" (voltage divider formula).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;2)&lt;/SPAN&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100402i8639AD0DE8F9BE45/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This part &lt;SPAN&gt;of MOTORGD-DEVKIT schematic is used to amplify current of PHASE A, B and C.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Formula used for configuration of this operational amplifier is : PHC_I = ((R36/(R35 + R69)) * VR58) + VREF/2.&amp;nbsp; VR58 is volatge across the R58 resistor used as current sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To calculate VR58 you can use U = R * I formula.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So the output voltage of this OA (operational amplifier) for max current flowing thru R58 is PHC_I = 2.5 = (24/(1.5 + 1.5)) * (0.01 * I) (I is the current flowing thru R58).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I = 2.5/(8 * 0.01) = 31.25 .&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The reason for using of this VREF/2 as offset is that we need to amplify positive and negative voltage(that has to be equal) due to current flowing in both direction thru R58.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And if we use this 2.5V offset, then if there is no current flowing thru this R58, the output of this amplifier will be 2.5V. And due to the power supply (5V) of this AD8656 then the&amp;nbsp;voltage corresponding to maximum current flowing thru R58 is 5V - VREF/2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Those formulas with this values can be used if VREF of ADC is set to 5V and if&amp;nbsp;"MCU_VCC"&amp;nbsp;is 5V.&amp;nbsp; If you use 3.3V for ADC VREF and for&amp;nbsp;"MCU_VCC", then max current will be 20.625A.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The MOTORGD-DEVKIT it can't be used&amp;nbsp;at this current max current, due to many reasons (thermal dissipation of MOSFET transistors, the thickness of electrical routes, the sense resistors packages, block terminal), but it is safe to be used at max 5A.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00ff00;"&gt;4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The BLDC motor used in this KIT (MOTORGD-DEVKIT + MPC5744P-DEVKIT + 40W BLDC motor) is rated at 2.3A nominal current.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 12:47:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/3-phase-PMSM-workshop-module-6-2/m-p/993092#M3909</guid>
      <dc:creator>adriantudor</dc:creator>
      <dc:date>2020-01-28T12:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: 3 phase PMSM workshop module 6/2</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/3-phase-PMSM-workshop-module-6-2/m-p/993093#M3910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 04:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/3-phase-PMSM-workshop-module-6-2/m-p/993093#M3910</guid>
      <dc:creator>aniket_bagade</dc:creator>
      <dc:date>2020-01-29T04:49:58Z</dc:date>
    </item>
  </channel>
</rss>

