<?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: The corresponding inverse modulation coefficient in S32K</title>
    <link>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1480136#M16077</link>
    <description>&lt;P&gt;Sorry for the late reply because I was testing various things.&lt;BR /&gt;1) Speed FOC &amp;amp; Sensorless Type.&lt;BR /&gt;2) current control loop settings&lt;BR /&gt;-&amp;gt; I checked that the Fo value was set to 300hz and changed it to 150hz. As a result, the existing noise has been removed. The problem seems to have been resolved. thank you.&lt;/P&gt;&lt;P&gt;Please inquire about the applicable bandwidth frequency setting.&lt;BR /&gt;1) How do you set BEMF Observer "Fo" / Tracking Observer "Fo" of Sensorless setting? I first looked at the speed estimated value and set it to reduce noise.&lt;BR /&gt;BEMF Observer "Fo" : 150hz&lt;BR /&gt;Tracking Observer "Fo" : 10hz&lt;BR /&gt;I reduced the noise by setting it to the smallest possible value.&lt;/P&gt;&lt;P&gt;2) How do you set “Fo” of Current Loop setting?&lt;/P&gt;&lt;P&gt;Please provide related documents or guides.&lt;/P&gt;</description>
    <pubDate>Sun, 26 Jun 2022 23:29:15 GMT</pubDate>
    <dc:creator>SW_Park</dc:creator>
    <dc:date>2022-06-26T23:29:15Z</dc:date>
    <item>
      <title>The corresponding inverse modulation coefficient</title>
      <link>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1465453#M15685</link>
      <description>&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;During S32k144 MCU Sensorless operation, it does not operate normally, and as a result of checking, the following waveform is displayed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SW_Park_0-1653642792216.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/181483iB38641530F7DA3D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SW_Park_0-1653642792216.png" alt="SW_Park_0-1653642792216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It has been confirmed that drvFOC.uAlBeReqDCB.FfltArg1/2 is not output normally.&lt;BR /&gt;So, drvFOC.elimDcbRip.fltModIndex = 0.866025403784439F;&lt;BR /&gt;After changing the value to 0.7F and running it, it looks like the following.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SW_Park_1-1653642845175.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/181484iFBA871DA8DDEB7A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SW_Park_1-1653642845175.png" alt="SW_Park_1-1653642845175.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The corresponding inverse modulation coefficient is not in the tuning parameter, can it be modified? Any other solutions?&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 09:14:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1465453#M15685</guid>
      <dc:creator>SW_Park</dc:creator>
      <dc:date>2022-05-27T09:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: The corresponding inverse modulation coefficient</title>
      <link>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1468787#M15781</link>
      <description>&lt;P&gt;Hello and thank you for contacting us.&lt;/P&gt;
&lt;P&gt;Modulation index is used for third harmonic injection that is implemented inside&amp;nbsp;GMCLIB_SvmStd function.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;drvFOC.elimDcbRip.fltModIndex must be set exactly to sqrt(3)/2 for this modulation technique to fully utilize DC bus voltage and generate sinusoidal waveforms.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I suppose that these waveforms have been captured by FreeMASTER scope,&amp;nbsp;therefore, resolution might be poor to analyze real behavior.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you use recorder instead to see details of the real waveforms?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Do you use original motor of the devkit or do you use your own motor ?&lt;/P&gt;
&lt;P&gt;What was the required speed and actual load you applied?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marek&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 15:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1468787#M15781</guid>
      <dc:creator>marekmusak</dc:creator>
      <dc:date>2022-06-03T15:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: The corresponding inverse modulation coefficient</title>
      <link>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1470222#M15838</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;First of all, it seems that the case where the problem occurs is when the current is high.&lt;BR /&gt;The original motor uses a small current so it doesn't happen.&lt;BR /&gt;The test is the motor we built, the load is high. So it happens in about 20A Open Loop.&lt;BR /&gt;Recorder seems to need to learn how to use it. As a result of checking with an oscilloscope, overmodulation occurs at the top of the 3rd harmonic and is output as a high duty value.&lt;BR /&gt;It is judged that it is necessary to adjust the MI value at high current. tell me your opinions.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 00:19:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1470222#M15838</guid>
      <dc:creator>SW_Park</dc:creator>
      <dc:date>2022-06-08T00:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: The corresponding inverse modulation coefficient</title>
      <link>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1476105#M15980</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally, I would keep modulation index equal to original value&amp;nbsp;&lt;SPAN&gt;sqrt(3)/2 and I would rather check&lt;/SPAN&gt;&amp;nbsp;other things.&lt;/P&gt;
&lt;P&gt;I used even higher current 60A, but I have never experienced issues with modulation index.&lt;/P&gt;
&lt;P&gt;Can you tell me what kind of control mode in MCAT do you use?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marekmusak_0-1655481122818.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/183751iDA0D0E86B2C3E1EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marekmusak_0-1655481122818.png" alt="marekmusak_0-1655481122818.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can you make a screenshot of the current control loop settings for me?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marekmusak_1-1655481214401.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/183752i353E06030B4B0D81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marekmusak_1-1655481214401.png" alt="marekmusak_1-1655481214401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Are motor parameters measured properly? specifically stator resistance Rs and d-axis and q-axis inductance Ld, Lq ?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marekmusak_2-1655481342556.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/183753i44E554D0ACB7C1E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marekmusak_2-1655481342556.png" alt="marekmusak_2-1655481342556.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marek&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 15:58:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1476105#M15980</guid>
      <dc:creator>marekmusak</dc:creator>
      <dc:date>2022-06-17T15:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: The corresponding inverse modulation coefficient</title>
      <link>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1480136#M16077</link>
      <description>&lt;P&gt;Sorry for the late reply because I was testing various things.&lt;BR /&gt;1) Speed FOC &amp;amp; Sensorless Type.&lt;BR /&gt;2) current control loop settings&lt;BR /&gt;-&amp;gt; I checked that the Fo value was set to 300hz and changed it to 150hz. As a result, the existing noise has been removed. The problem seems to have been resolved. thank you.&lt;/P&gt;&lt;P&gt;Please inquire about the applicable bandwidth frequency setting.&lt;BR /&gt;1) How do you set BEMF Observer "Fo" / Tracking Observer "Fo" of Sensorless setting? I first looked at the speed estimated value and set it to reduce noise.&lt;BR /&gt;BEMF Observer "Fo" : 150hz&lt;BR /&gt;Tracking Observer "Fo" : 10hz&lt;BR /&gt;I reduced the noise by setting it to the smallest possible value.&lt;/P&gt;&lt;P&gt;2) How do you set “Fo” of Current Loop setting?&lt;/P&gt;&lt;P&gt;Please provide related documents or guides.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 23:29:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1480136#M16077</guid>
      <dc:creator>SW_Park</dc:creator>
      <dc:date>2022-06-26T23:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: The corresponding inverse modulation coefficient</title>
      <link>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1488699#M16337</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Bandwidth frequency setting depends on many aspect such as required dynamic, acceptable acoustic noise, parameters of the motor, level of the noise/ripple in the current/position/speed feedback, PWM/sampling frequency, etc. Therefore, it might be difficult&amp;nbsp;to come up with some general formula that will work for every motor.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But it is always&amp;nbsp;good practice&amp;nbsp;to start tuning the fasted control loop - current loop. For this purpose you can switch control mode from speed control to current control and try to find optimal bandwidth&amp;nbsp;for current loop. You can try to perform well known step response test or bode diagrams. Once you are satisfied with behavior of the current loop you can enable again speed control mode and find optimal bandwidth&amp;nbsp;of the speed loop,&amp;nbsp; BEMF and ATO observer.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, if you reduced bandwidth of the current loop you reduced also dynamic of that loop. So, then it is even easier for q-axis current PI controller to control requested q-axis current - output of the speed PI controller.&amp;nbsp;You can check this by using FreeMASTER recorder. Simply, visualize&amp;nbsp;required q-axis current and feedback q-axis current and trigger speed step.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marekmusak_0-1657707139274.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186446i6D4CA8016F02792B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marekmusak_0-1657707139274.png" alt="marekmusak_0-1657707139274.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Marek&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 10:27:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-corresponding-inverse-modulation-coefficient/m-p/1488699#M16337</guid>
      <dc:creator>marekmusak</dc:creator>
      <dc:date>2022-07-13T10:27:39Z</dc:date>
    </item>
  </channel>
</rss>

