<?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 S12ZVML: (curent open loop) position error between openloop angle and estimated angle in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML-curent-open-loop-position-error-between-openloop-angle/m-p/1261743#M17806</link>
    <description>&lt;P&gt;Hi， I recently come with a problem with motor state transition from force to sensorless.&lt;/P&gt;&lt;P&gt;We check the varible:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;drvFOC.pospeOpenLoop.thDifOpenLEstim = MLIB_Sub_F16(drvFOC.pospeSensorless.thRotEl, drvFOC.pospeOpenLoop.thRotEl);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There are two situations of&lt;/P&gt;&lt;P&gt;this varible when we start the motor.&lt;/P&gt;&lt;P&gt;One is the error is between 0~0.5, which means in 90 degrees. We can easily go to the sensorless state.&lt;/P&gt;&lt;P&gt;The other is between -0.1~-0.5,which means in -180 ~-90 degrees range.It is difficult to go to the sensorless state.&lt;/P&gt;&lt;P&gt;I think if the position error is between -180~-90，the magnet force will make the motor a reverse rotation.However, the motor's running direction is the same as the first situation.&lt;/P&gt;&lt;P&gt;It is strange that the second situation happens. I think in the open loop , the positon error between -90~90 is reasonable.&lt;/P&gt;&lt;P&gt;Is the second situation normal, or is there any suggestion for me to transist to sensorless state with the second situation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arrow&lt;/P&gt;&lt;P&gt;below is the figure os the 2situations (first figure is situation 2, second is situation 1),black line is position error variable:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="black for position error" style="width: 879px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142195iCA60796537196FB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="black for position error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;black for position error&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="black for postion error" style="width: 872px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142196i7220FFFEE4D18954/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="black for postion error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;black for postion error&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 06:43:52 GMT</pubDate>
    <dc:creator>Arrow</dc:creator>
    <dc:date>2021-04-14T06:43:52Z</dc:date>
    <item>
      <title>S12ZVML: (curent open loop) position error between openloop angle and estimated angle</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML-curent-open-loop-position-error-between-openloop-angle/m-p/1261743#M17806</link>
      <description>&lt;P&gt;Hi， I recently come with a problem with motor state transition from force to sensorless.&lt;/P&gt;&lt;P&gt;We check the varible:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;drvFOC.pospeOpenLoop.thDifOpenLEstim = MLIB_Sub_F16(drvFOC.pospeSensorless.thRotEl, drvFOC.pospeOpenLoop.thRotEl);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There are two situations of&lt;/P&gt;&lt;P&gt;this varible when we start the motor.&lt;/P&gt;&lt;P&gt;One is the error is between 0~0.5, which means in 90 degrees. We can easily go to the sensorless state.&lt;/P&gt;&lt;P&gt;The other is between -0.1~-0.5,which means in -180 ~-90 degrees range.It is difficult to go to the sensorless state.&lt;/P&gt;&lt;P&gt;I think if the position error is between -180~-90，the magnet force will make the motor a reverse rotation.However, the motor's running direction is the same as the first situation.&lt;/P&gt;&lt;P&gt;It is strange that the second situation happens. I think in the open loop , the positon error between -90~90 is reasonable.&lt;/P&gt;&lt;P&gt;Is the second situation normal, or is there any suggestion for me to transist to sensorless state with the second situation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arrow&lt;/P&gt;&lt;P&gt;below is the figure os the 2situations (first figure is situation 2, second is situation 1),black line is position error variable:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="black for position error" style="width: 879px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142195iCA60796537196FB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="black for position error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;black for position error&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="black for postion error" style="width: 872px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142196i7220FFFEE4D18954/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="black for postion error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;black for postion error&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 06:43:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML-curent-open-loop-position-error-between-openloop-angle/m-p/1261743#M17806</guid>
      <dc:creator>Arrow</dc:creator>
      <dc:date>2021-04-14T06:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVML: (curent open loop) position error between openloop angle and estimated angle</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML-curent-open-loop-position-error-between-openloop-angle/m-p/1263556#M17812</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;could you please check this article?&amp;nbsp;&lt;A href="https://ieeexplore.ieee.org/document/8896231" target="_self"&gt;https://ieeexplore.ieee.org/document/8896231&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It may explain some parts of your questions.&lt;/P&gt;
&lt;P&gt;In general, looking at the&amp;nbsp;&lt;STRONG&gt;thDifOpenLEstim&amp;nbsp;&lt;/STRONG&gt;still tells nothing about the real rotor position. Absolute rotor position sensor would tell you where the rotor is.&lt;/P&gt;
&lt;P&gt;Just a teaser: NXP is working on an application note discussing sensorless FOC incl. open loop startup in details. It takes time, so we appreciate your patience.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Matej&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 12:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML-curent-open-loop-position-error-between-openloop-angle/m-p/1263556#M17812</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2021-04-16T12:20:32Z</dc:date>
    </item>
  </channel>
</rss>

