<?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: distorted current wave in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/distorted-current-wave/m-p/655443#M13828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Guo,&lt;/P&gt;&lt;P&gt;I am curious about the algorithms to generate 3-phase voltage, can you tell me how you generate 3-phase voltage? for example, what is the api function&amp;nbsp; you called to generate the 3-phase voltage?&lt;/P&gt;&lt;P&gt;Regarding your question how to compensate the deadtime, first of all, the dead time is must, the deadtime spec is only determinedmy the MOSFET or IGBT device you are using. &lt;/P&gt;&lt;P&gt;I remeber I have given you the an1728.pdf, which focuses on the deadtime compensation. As you know that you have to detect the direction of 3-phase current, after know the current, you can compensate, so the old PWM module provides the IS0/IS1/IS2 three pins to detect the logic, but current eFlexPWM for MC56F84xxx does not have the function because of technology progress.&lt;/P&gt;&lt;P&gt;I think you can use space vector PWM technology to bypass the deadtime compensation issue which is caused by the voltage sine.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2017 03:56:47 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2017-02-24T03:56:47Z</dc:date>
    <item>
      <title>distorted current wave</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/distorted-current-wave/m-p/655442#M13827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excuse me, in codewarrior 10.7, the MCU is 56f84789 ,I use VVVF algotithms to control a PMSM, the motor current measured by hall sensor is distorted near the rising edge,&amp;nbsp;&amp;nbsp; the dead time is 3us, perhaps the distorted wave is influenced by dead time, how can I&amp;nbsp; configure the dead time rigister correctly? the attachment is my current wave and my deadtime compensation program， what is wrong with my deadtime compensation program? thanks a lot.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guo Chunhua&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 10:20:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/distorted-current-wave/m-p/655442#M13827</guid>
      <dc:creator>guochunhua</dc:creator>
      <dc:date>2017-02-21T10:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: distorted current wave</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/distorted-current-wave/m-p/655443#M13828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Guo,&lt;/P&gt;&lt;P&gt;I am curious about the algorithms to generate 3-phase voltage, can you tell me how you generate 3-phase voltage? for example, what is the api function&amp;nbsp; you called to generate the 3-phase voltage?&lt;/P&gt;&lt;P&gt;Regarding your question how to compensate the deadtime, first of all, the dead time is must, the deadtime spec is only determinedmy the MOSFET or IGBT device you are using. &lt;/P&gt;&lt;P&gt;I remeber I have given you the an1728.pdf, which focuses on the deadtime compensation. As you know that you have to detect the direction of 3-phase current, after know the current, you can compensate, so the old PWM module provides the IS0/IS1/IS2 three pins to detect the logic, but current eFlexPWM for MC56F84xxx does not have the function because of technology progress.&lt;/P&gt;&lt;P&gt;I think you can use space vector PWM technology to bypass the deadtime compensation issue which is caused by the voltage sine.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 03:56:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/distorted-current-wave/m-p/655443#M13828</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-02-24T03:56:47Z</dc:date>
    </item>
  </channel>
</rss>

