<?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 Problem about BLDC hallEdgePeriod  in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Problem-about-BLDC-hallEdgePeriod/m-p/780950#M15517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I use the AN4718SW to control BLDC motor with Hall sensor,and I have some problems about&amp;nbsp;hallEdgePeriod&amp;nbsp;which&amp;nbsp;are&amp;nbsp; used to caculate actual speed as the following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;period6ZC = hallEdgePeriod[1] + hallEdgePeriod[2] + hallEdgePeriod[3] + \&lt;BR /&gt; hallEdgePeriod[4] + hallEdgePeriod[5] + hallEdgePeriod[6];&lt;/P&gt;&lt;P&gt;actualSpeed = SPEED_CALC_NUMERATOR / period6ZC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have two problems:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1、When the speed&amp;nbsp; in 500,1000,2000,2500RPM the&amp;nbsp;&lt;SPAN&gt;hallEdgePeriod is correct,but when speed exceed 2500 ，for example 3000RPM ,there some wrong about&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;hallEdgePeriod as the following picture show,the hallEdgePeriod[2] and hallEdgePeriod[4]'s value suddenly become smaller,the hall sensor &amp;nbsp;works normally.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;2、Why&amp;nbsp;hallEdgePeriod 1,3,5 and&amp;nbsp;hallEdgePeriod 2,4,6 have similar value that are vary widely. Shouldn't it be the same？&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="vds.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33199iE93F1346633874BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="vds.PNG" alt="vds.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2017 13:22:19 GMT</pubDate>
    <dc:creator>sufree</dc:creator>
    <dc:date>2017-11-16T13:22:19Z</dc:date>
    <item>
      <title>Problem about BLDC hallEdgePeriod</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Problem-about-BLDC-hallEdgePeriod/m-p/780950#M15517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I use the AN4718SW to control BLDC motor with Hall sensor,and I have some problems about&amp;nbsp;hallEdgePeriod&amp;nbsp;which&amp;nbsp;are&amp;nbsp; used to caculate actual speed as the following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;period6ZC = hallEdgePeriod[1] + hallEdgePeriod[2] + hallEdgePeriod[3] + \&lt;BR /&gt; hallEdgePeriod[4] + hallEdgePeriod[5] + hallEdgePeriod[6];&lt;/P&gt;&lt;P&gt;actualSpeed = SPEED_CALC_NUMERATOR / period6ZC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have two problems:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1、When the speed&amp;nbsp; in 500,1000,2000,2500RPM the&amp;nbsp;&lt;SPAN&gt;hallEdgePeriod is correct,but when speed exceed 2500 ，for example 3000RPM ,there some wrong about&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;hallEdgePeriod as the following picture show,the hallEdgePeriod[2] and hallEdgePeriod[4]'s value suddenly become smaller,the hall sensor &amp;nbsp;works normally.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;2、Why&amp;nbsp;hallEdgePeriod 1,3,5 and&amp;nbsp;hallEdgePeriod 2,4,6 have similar value that are vary widely. Shouldn't it be the same？&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="vds.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33199iE93F1346633874BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="vds.PNG" alt="vds.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 13:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Problem-about-BLDC-hallEdgePeriod/m-p/780950#M15517</guid>
      <dc:creator>sufree</dc:creator>
      <dc:date>2017-11-16T13:22:19Z</dc:date>
    </item>
  </channel>
</rss>

