<?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: Parameter setting for Motor control In FreeMaster in FreeMASTER</title>
    <link>https://community.nxp.com/t5/FreeMASTER/Parameter-setting-for-Motor-control-In-FreeMaster/m-p/1086960#M345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Regarding the datasheet parameter usage:&lt;/EM&gt;&lt;BR /&gt;You can definitely use motor parameters from the datasheet. That being said, you will need to convert them to &lt;EM&gt;dq&lt;/EM&gt;-axis parameters expected by MCAT first (notice, that your datasheet, for example, states phase inductances) - this is also probably the reason why parameters identified by MCAT do not match datasheet parameters. You can check the&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4986.pdf"&gt;AN4986&lt;/A&gt;&amp;nbsp;document, which describes manual parameter measurement, as well as calculation of parameters expected by MCAT. Once you&lt;/SPAN&gt;&amp;nbsp;are done, you can enter the converted parameters&amp;nbsp;in the &lt;EM&gt;Parameters&lt;/EM&gt; tab (but you already probably know that).&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Regarding the failing mechanical parameter measurement:&lt;/EM&gt;&lt;BR /&gt;You can read more about the mechanical parameter identification&amp;nbsp;in section 9 of the 3PPMSMCRTUG document&amp;nbsp;(it should be included in the documentation archive for your SDK pack - see &lt;A href="https://mcuxpresso.nxp.com/en/welcome"&gt;MCUXpresso SDK Builder&lt;/A&gt;).&amp;nbsp;&lt;BR /&gt;We should distinguish between large moments of inertia &lt;EM&gt;J&lt;/EM&gt; and a large load torque &lt;EM&gt;Trq_load&lt;/EM&gt;.&amp;nbsp;If you have a large external loading torque &lt;EM&gt;Trq_load&lt;/EM&gt;&amp;nbsp;applied to your rotor &lt;STRONG&gt;during&lt;/STRONG&gt; measurement, then, unfortunately, the measurement method&amp;nbsp;might fail - it is expected, the rotor is "freewheeling" during the measurement and that your motor is the only on applying significant torque - see the equations in &lt;SPAN&gt;3PPMSMCRTUG&lt;/SPAN&gt;. If you have failing measurement with a large moment of inertia &lt;EM&gt;J&lt;/EM&gt; connected to your rotor, then:&lt;UL&gt;&lt;LI&gt;Your electrical parameters are must be correct first (BEMF observer is used to estimate the speed during this measurement).&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;You might need to increase the measurement toque (&lt;EM&gt;Trqm&lt;/EM&gt; in MCAT &lt;EM&gt;Motor Identif&lt;/EM&gt; tab) if the rotor does not spin up and down smoothly.&lt;/LI&gt;&lt;LI&gt;Double-check the nominal speed value is correctly set (rotor speed must reach at least 50% of the nominal speed, otherwise the measurement will fail&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;The encoder setup:&lt;/EM&gt;&lt;BR /&gt;The configuration of the encoder driver is in the&amp;nbsp;&lt;EM&gt;Sensors&lt;/EM&gt; MCAT tab. Once you set it up correctly, you can set the position control loop setpoint in the &lt;EM&gt;Control Struc&lt;/EM&gt; tab (in the &lt;EM&gt;Pos_req&lt;/EM&gt; field). &lt;SPAN&gt;You can read more about the encoder sensor setting in section 9.4 of the 3PPMSMCRTUG document&amp;nbsp;(it should be included in the documentation archive for your SDK pack - see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://mcuxpresso.nxp.com/en/welcome" style="color: #2989c5; text-decoration: none;"&gt;MCUXpresso SDK Builder&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2020 12:04:08 GMT</pubDate>
    <dc:creator>Zbynek_Mynar</dc:creator>
    <dc:date>2020-08-13T12:04:08Z</dc:date>
    <item>
      <title>Parameter setting for Motor control In FreeMaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Parameter-setting-for-Motor-control-In-FreeMaster/m-p/1086959#M344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on motor control for igus MOT-EC-60-CIA (NEMA24) motor using RT1050-EVK-B and FRDM-MC-LVPMSM. I need some clarify on parameter setting in free-master to tune the motor.1) Should I set the parameters according to the motor datasheet? (As I tried setting the similar parameter, the measured motor parameters is not same as the datasheet). Measuring mechanical parameter is not showing complete.&lt;/P&gt;&lt;P&gt;2)My requirement is high torque. Where do I set the position setting for&amp;nbsp;the encoders?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110054i3B3A363BA47BC699/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110055i21D8EC608740DE78/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;A href="https://community.nxp.com/space/11760"&gt;i.MX RT&lt;/A&gt;‌&lt;A href="https://community.nxp.com/space/11789"&gt;FreeMASTER&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 12:20:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Parameter-setting-for-Motor-control-In-FreeMaster/m-p/1086959#M344</guid>
      <dc:creator>nxf63743</dc:creator>
      <dc:date>2020-08-12T12:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter setting for Motor control In FreeMaster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Parameter-setting-for-Motor-control-In-FreeMaster/m-p/1086960#M345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Regarding the datasheet parameter usage:&lt;/EM&gt;&lt;BR /&gt;You can definitely use motor parameters from the datasheet. That being said, you will need to convert them to &lt;EM&gt;dq&lt;/EM&gt;-axis parameters expected by MCAT first (notice, that your datasheet, for example, states phase inductances) - this is also probably the reason why parameters identified by MCAT do not match datasheet parameters. You can check the&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4986.pdf"&gt;AN4986&lt;/A&gt;&amp;nbsp;document, which describes manual parameter measurement, as well as calculation of parameters expected by MCAT. Once you&lt;/SPAN&gt;&amp;nbsp;are done, you can enter the converted parameters&amp;nbsp;in the &lt;EM&gt;Parameters&lt;/EM&gt; tab (but you already probably know that).&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Regarding the failing mechanical parameter measurement:&lt;/EM&gt;&lt;BR /&gt;You can read more about the mechanical parameter identification&amp;nbsp;in section 9 of the 3PPMSMCRTUG document&amp;nbsp;(it should be included in the documentation archive for your SDK pack - see &lt;A href="https://mcuxpresso.nxp.com/en/welcome"&gt;MCUXpresso SDK Builder&lt;/A&gt;).&amp;nbsp;&lt;BR /&gt;We should distinguish between large moments of inertia &lt;EM&gt;J&lt;/EM&gt; and a large load torque &lt;EM&gt;Trq_load&lt;/EM&gt;.&amp;nbsp;If you have a large external loading torque &lt;EM&gt;Trq_load&lt;/EM&gt;&amp;nbsp;applied to your rotor &lt;STRONG&gt;during&lt;/STRONG&gt; measurement, then, unfortunately, the measurement method&amp;nbsp;might fail - it is expected, the rotor is "freewheeling" during the measurement and that your motor is the only on applying significant torque - see the equations in &lt;SPAN&gt;3PPMSMCRTUG&lt;/SPAN&gt;. If you have failing measurement with a large moment of inertia &lt;EM&gt;J&lt;/EM&gt; connected to your rotor, then:&lt;UL&gt;&lt;LI&gt;Your electrical parameters are must be correct first (BEMF observer is used to estimate the speed during this measurement).&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;You might need to increase the measurement toque (&lt;EM&gt;Trqm&lt;/EM&gt; in MCAT &lt;EM&gt;Motor Identif&lt;/EM&gt; tab) if the rotor does not spin up and down smoothly.&lt;/LI&gt;&lt;LI&gt;Double-check the nominal speed value is correctly set (rotor speed must reach at least 50% of the nominal speed, otherwise the measurement will fail&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;The encoder setup:&lt;/EM&gt;&lt;BR /&gt;The configuration of the encoder driver is in the&amp;nbsp;&lt;EM&gt;Sensors&lt;/EM&gt; MCAT tab. Once you set it up correctly, you can set the position control loop setpoint in the &lt;EM&gt;Control Struc&lt;/EM&gt; tab (in the &lt;EM&gt;Pos_req&lt;/EM&gt; field). &lt;SPAN&gt;You can read more about the encoder sensor setting in section 9.4 of the 3PPMSMCRTUG document&amp;nbsp;(it should be included in the documentation archive for your SDK pack - see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://mcuxpresso.nxp.com/en/welcome" style="color: #2989c5; text-decoration: none;"&gt;MCUXpresso SDK Builder&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2020 12:04:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Parameter-setting-for-Motor-control-In-FreeMaster/m-p/1086960#M345</guid>
      <dc:creator>Zbynek_Mynar</dc:creator>
      <dc:date>2020-08-13T12:04:08Z</dc:date>
    </item>
  </channel>
</rss>

