<?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: How to setup Incremental Encoder using eTPU Function? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-to-setup-Incremental-Encoder-using-eTPU-Function/m-p/992380#M14939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;Hi Jo Zujo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;thank you for using our eTPU library.&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;Could, you, please, specify in more detail what problem are you facing?&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;You are stating that you used different encoder before. Did you use it together with this eTPU QD function before? Or did you use another way of processing A and B signal from rotary encoder?&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;If I understand it correctly now you replaced the encoder sensor with another one and when running the motor you cannot run it over 1200 rpm, correct?&amp;nbsp;Could, you, please, share datasheet of the encoder you are using right now and having problem with?&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;How does the signals A nad B from encoder look like for case under 1200 rpm where you run with no problem and how does it look like when you are seeing problem? Have the wave forms changed (apart from frequency of pulses that is expected to be higher for high speed of course)?&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;Could you, please, specify what is the IU signal at your figure? I guess this is not an A or B output from encoder signal. What do you mean by hunting here? Your figure is hard to read, could you, please, provide some with better resolution?&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;Marketa&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2020 13:04:28 GMT</pubDate>
    <dc:creator>nxa17216</dc:creator>
    <dc:date>2020-02-26T13:04:28Z</dc:date>
    <item>
      <title>How to setup Incremental Encoder using eTPU Function?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-setup-Incremental-Encoder-using-eTPU-Function/m-p/992379#M14938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, I'm engineer in south korea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I doing make a inverter for operating a motor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's parameters are follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Inverter power : 90[W]&lt;/P&gt;&lt;P&gt;- MCU : MPC5553MVZ132&lt;/P&gt;&lt;P&gt;- Position sensor : Incremental Encoder(2048[ppr])&lt;/P&gt;&lt;P&gt;- Motor Pole : 8[Pole]&lt;/P&gt;&lt;P&gt;- Motor Max speed : 2000[RPM]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's&amp;nbsp; eTPU&amp;nbsp;setting are follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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/102261i9DC4FB1D4E217C39/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, when I was operate this inverter with other encoder(2000[ppr]), that worked correctly.&lt;/P&gt;&lt;P&gt;and&amp;nbsp;All parameters except pulse count are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this&amp;nbsp;situation, i have some problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That Motor rotate&amp;nbsp;very well under about 1200[rpm] but can't rotate over about 1200[rpm] and hunting with Fig. 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can see, IU hunting is sync with index pulse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102305iA6CC3BD83C3432EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fig.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was check that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;1. Enc pulse : 2048[ppr]&lt;/P&gt;&lt;P&gt;&amp;nbsp;2. Enc pulse wave&lt;/P&gt;&lt;P&gt;&amp;nbsp;3. Electric Theta and eTPU pluse count(from "fs_etpu_qd_get_pc(QD0_PRIMARY)")&lt;/P&gt;&lt;P&gt;&amp;nbsp;4. some parameter turning in "fs_etpu_qd_init"&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to solve these problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz... comment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2020 08:04:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-setup-Incremental-Encoder-using-eTPU-Function/m-p/992379#M14938</guid>
      <dc:creator>zujo</dc:creator>
      <dc:date>2020-02-06T08:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Incremental Encoder using eTPU Function?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-setup-Incremental-Encoder-using-eTPU-Function/m-p/992380#M14939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;Hi Jo Zujo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;thank you for using our eTPU library.&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;Could, you, please, specify in more detail what problem are you facing?&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;You are stating that you used different encoder before. Did you use it together with this eTPU QD function before? Or did you use another way of processing A and B signal from rotary encoder?&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;If I understand it correctly now you replaced the encoder sensor with another one and when running the motor you cannot run it over 1200 rpm, correct?&amp;nbsp;Could, you, please, share datasheet of the encoder you are using right now and having problem with?&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;How does the signals A nad B from encoder look like for case under 1200 rpm where you run with no problem and how does it look like when you are seeing problem? Have the wave forms changed (apart from frequency of pulses that is expected to be higher for high speed of course)?&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;Could you, please, specify what is the IU signal at your figure? I guess this is not an A or B output from encoder signal. What do you mean by hunting here? Your figure is hard to read, could you, please, provide some with better resolution?&lt;/SPAN&gt;&lt;BR style="color: #222222; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12px;"&gt;Marketa&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 13:04:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-setup-Incremental-Encoder-using-eTPU-Function/m-p/992380#M14939</guid>
      <dc:creator>nxa17216</dc:creator>
      <dc:date>2020-02-26T13:04:28Z</dc:date>
    </item>
  </channel>
</rss>

