<?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>MPC5xxx中的主题 Can I use eMIOS quadrature decoder and Hall effect Speed Controller with PMSM Vector Control?</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Can-I-use-eMIOS-quadrature-decoder-and-Hall-effect-Speed/m-p/285241#M280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking at basing something on "AN3206 PMSM vector control".&amp;nbsp; Initially I'm going to prototype with that AN exactly with a single motor to get up to speed.&amp;nbsp; However, in the end application I want to drive 3 PMSMs and 1 DC motor on a 132MHz MPC5554.&amp;nbsp; When I worked through the timing we want my preliminary estimate is that doing this is borderline, limited by the quadrature decoder eTPU timing and the peak RPM desired.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the 6-axis DC motor application I developed I use the eMIOS to track the quadrature decoders.&amp;nbsp; I'm wondering If I can do this with the PMSMVC.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to run the PMSMVC in torque control mode.&amp;nbsp; There will be a software position servo at 4KHz - this is similar to how I'm doing the 6 axis control.&amp;nbsp; However, the PMSMVC needs both the position from the quadrature decoders (to know the rotor angle) and the rotational speed (to do the transform decoupling linearization).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm thinking that I can run the SC with Hall Detectors and chain a DMA request in somewhere to DMA the eMIOS quadrature position into eTPU Parameter RAM where the PMSMVC will find it.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this sound feasible?&amp;nbsp; Would I link one of the eDMA RFIFO channels to an unused eDMA channel to do that?&amp;nbsp; I assume there is a timing offset I can adjust to ensure the PMSMVC won't startup too early.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other good ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Feb 2014 13:00:26 GMT</pubDate>
    <dc:creator>peterdufault</dc:creator>
    <dc:date>2014-02-08T13:00:26Z</dc:date>
    <item>
      <title>Can I use eMIOS quadrature decoder and Hall effect Speed Controller with PMSM Vector Control?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Can-I-use-eMIOS-quadrature-decoder-and-Hall-effect-Speed/m-p/285241#M280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking at basing something on "AN3206 PMSM vector control".&amp;nbsp; Initially I'm going to prototype with that AN exactly with a single motor to get up to speed.&amp;nbsp; However, in the end application I want to drive 3 PMSMs and 1 DC motor on a 132MHz MPC5554.&amp;nbsp; When I worked through the timing we want my preliminary estimate is that doing this is borderline, limited by the quadrature decoder eTPU timing and the peak RPM desired.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the 6-axis DC motor application I developed I use the eMIOS to track the quadrature decoders.&amp;nbsp; I'm wondering If I can do this with the PMSMVC.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to run the PMSMVC in torque control mode.&amp;nbsp; There will be a software position servo at 4KHz - this is similar to how I'm doing the 6 axis control.&amp;nbsp; However, the PMSMVC needs both the position from the quadrature decoders (to know the rotor angle) and the rotational speed (to do the transform decoupling linearization).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm thinking that I can run the SC with Hall Detectors and chain a DMA request in somewhere to DMA the eMIOS quadrature position into eTPU Parameter RAM where the PMSMVC will find it.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this sound feasible?&amp;nbsp; Would I link one of the eDMA RFIFO channels to an unused eDMA channel to do that?&amp;nbsp; I assume there is a timing offset I can adjust to ensure the PMSMVC won't startup too early.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other good ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 13:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Can-I-use-eMIOS-quadrature-decoder-and-Hall-effect-Speed/m-p/285241#M280</guid>
      <dc:creator>peterdufault</dc:creator>
      <dc:date>2014-02-08T13:00:26Z</dc:date>
    </item>
  </channel>
</rss>

