<?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>Model-Based Design Toolbox (MBDT)のトピックpmsm rotor alignment</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1549707#M7804</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to run a motor prototype with the modified version of the pmsm closed loop example. I want to know what happens during the alignment sequence. When i start the code by pressing the sw1 button , the execution starts and the motor shaft rotates a bit then stops and draws a large amount of current.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed the polepair values and current limits and the other parameters.Is there something else i should change to get the rotor align process working. ps i havent changed the pi tuning according to the motor i m using . will that affect the align process.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;#MBDT&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2022 13:21:22 GMT</pubDate>
    <dc:creator>Sriram</dc:creator>
    <dc:date>2022-11-07T13:21:22Z</dc:date>
    <item>
      <title>pmsm rotor alignment</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1549707#M7804</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to run a motor prototype with the modified version of the pmsm closed loop example. I want to know what happens during the alignment sequence. When i start the code by pressing the sw1 button , the execution starts and the motor shaft rotates a bit then stops and draws a large amount of current.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed the polepair values and current limits and the other parameters.Is there something else i should change to get the rotor align process working. ps i havent changed the pi tuning according to the motor i m using . will that affect the align process.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;#MBDT&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 13:21:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1549707#M7804</guid>
      <dc:creator>Sriram</dc:creator>
      <dc:date>2022-11-07T13:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: pmsm rotor alignment</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1550383#M7811</link>
      <description>&lt;P&gt;Hi Sriram,&lt;/P&gt;
&lt;P&gt;Have you looked into the article&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-8-Speed-Control/m-p/727476" target="_blank"&gt;Module 8: Speed Control - NXP Community&lt;/A&gt;&amp;nbsp;check &lt;SPAN&gt;Fig. 31: Rotor Position Conditioning?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It is normal for the motor to draw a large current during the alignment phase, as this will block the motor shaft with that high current, making a standstill of the rotor.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then the motor control code will start open loop phase, and have a start-up ramp, increasing the speed until&amp;nbsp;it reaches 400 RPM and then it will go to closed loop, using the Hall sensors to read the motor speed and correct the speed loop.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This should help a bit more, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Look in&amp;nbsp;PMSM_ClosedLoop_s32k144/S32K144 EVB/SlowLoopControl/Alignment_vs_NormalOp_Sequence &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There are 2 constant blocks:&amp;nbsp;Torque Reference for Alignment (iQ-ref) and&amp;nbsp;Flux Reference&amp;nbsp;for rotor alignment&amp;nbsp;(iD-ref).&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;They will impose the values for currents&amp;nbsp;during the alignment phase.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You can modify these values a bit but be careful and do not increase too much these values.&lt;/P&gt;
&lt;P&gt;Hope this helps you &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 14:18:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1550383#M7811</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2022-11-08T14:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: pmsm rotor alignment</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1550991#M7815</link>
      <description>&lt;P&gt;Hello stefanvlad ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I went through the speed control module. I am modifying the pmsm closed loop example from the nxp blockset s32k144 examples. But here in the example file there is no separate speed or torque control modes available. If i want to run a 120V motor with a rated current of 100 A what parameters should i change apart from the no of poles and pi values of speed and current controller.&lt;/P&gt;&lt;P&gt;And how to choose the Iq and Id reference. Are these values in per unit basis or is it actual value . Attached the base model we are working with. This model was sent by adrian tudor from nxp since we had some issues running the default example model.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 11:30:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1550991#M7815</guid>
      <dc:creator>Sriram</dc:creator>
      <dc:date>2022-11-09T11:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: pmsm rotor alignment</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1551216#M7817</link>
      <description>&lt;P&gt;Hi Sriram,&lt;/P&gt;
&lt;P&gt;I have looked into your attached model, but it seems there are no modification from the standard model and also it is an older version of the model. We have made some updates for it. I do recommend downloading the latest &lt;STRONG&gt;4.3.0 Toolbox&lt;/STRONG&gt; from:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/NXP-Model-Based-Design-Toolbox-for-S32K1xx-MCUs-version-4-3-0/ta-p/1549163" target="_blank"&gt;NXP Model-Based Design Toolbox for S32K1xx MCUs - ... - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also, what kind of motor are you using? and what hardware for invertor and all details&lt;/P&gt;
&lt;P&gt;Since the model we provide is designed to work on the Kit we deliver:&amp;nbsp;&lt;A href="https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/arm-based-solutions-/s32k144-bldc-pmsm-development-kit:MCSPTE1AK144" target="_blank"&gt;S32K144 BLDC/PMSM Development Kit | NXP Semiconductors&lt;/A&gt;. It has &lt;STRONG&gt;12V power supply&lt;/STRONG&gt; and not &lt;FONT color="#FF0000"&gt;150V&lt;/FONT&gt;. This is a problem since you will need to rescale a lot of variables for the control system to work with this &lt;FONT color="#FF0000"&gt;High Voltage&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;First download latest&amp;nbsp;&lt;STRONG&gt;Model-Based Design Toolbox&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;for S32K1xx – version 4.&lt;/STRONG&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;STRONG&gt;.0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Then you will need to modify parameters from Model Explorer:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1668012861283.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/199750iF3BEF442892CB449/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1668012861283.png" alt="stefanvlad_0-1668012861283.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You will need to modify all those parameters for a motor running 150V with 100A.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 16:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1551216#M7817</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2022-11-09T16:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: pmsm rotor alignment</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1551720#M7819</link>
      <description>&lt;P&gt;Hello stefanvlad,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; We are using a separate IPMSM motor rated for 350V and the inverter specs are 240v 100A.We modified some parameter from the base model i sent you earlier. sending you the modified model in private chat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 07:21:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1551720#M7819</guid>
      <dc:creator>Sriram</dc:creator>
      <dc:date>2022-11-10T07:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: pmsm rotor alignment</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1551802#M7821</link>
      <description>&lt;P&gt;Hello stefanvlad,&lt;/P&gt;&lt;P&gt;We are using IPMSM rated for 120V&amp;nbsp; and a inverter which is rated upto 240V 100A. We are planning to test the closed loop model by running the motor at 120V.&lt;/P&gt;&lt;P&gt;I have sent you the modified model we made in private chat. We replaced the hall sensor based positioning with the sine cosine encoder measurement . Current measurement will be done by hall sensors.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 08:43:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1551802#M7821</guid>
      <dc:creator>Sriram</dc:creator>
      <dc:date>2022-11-10T08:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: pmsm rotor alignment</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1552006#M7826</link>
      <description>&lt;P&gt;Hi Sriram,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since there are multiple unknowns about your hardware and motor setup, i suggest having them better understood and modify the model parameters I have told you previous.&lt;/P&gt;
&lt;P&gt;Increase the Voltage and Current limits and all the other needed parameters, take a good look at all the parameters and apply the correct values for each.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also update the model from the latest &lt;STRONG&gt;Toolbox release 4.3.0&lt;/STRONG&gt;, to update/add the block &lt;STRONG&gt;check_range&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1668088442573.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/199875iD1C7BAC1546AD670/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1668088442573.png" alt="stefanvlad_0-1668088442573.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please read carefully this and my other replies and apply the suggestions to your model.&lt;/P&gt;
&lt;P&gt;Have a good day!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 13:55:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/pmsm-rotor-alignment/m-p/1552006#M7826</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2022-11-10T13:55:37Z</dc:date>
    </item>
  </channel>
</rss>

