<?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: Torque Control in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Torque-Control/m-p/1024939#M4157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to give torque how much i need to give. i.e&amp;nbsp;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;We have to change torque manually....I mean if motor running at one&lt;BR /&gt;frequency .....we can give torque how much we have to give....i.e tunnable. Can you help me out of this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;Bhanu&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Dec 2019 15:14:47 GMT</pubDate>
    <dc:creator>bhanu_kassel</dc:creator>
    <dc:date>2019-12-10T15:14:47Z</dc:date>
    <item>
      <title>Torque Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Torque-Control/m-p/1024937#M4155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I am using sine wave as a input (check it speed controller in attached file). I have to generate&amp;nbsp; more torque at lower frequencies. Actually, here same torque is generated at different frequencies and amplitudes of sine wave. It is not changing.&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;I have to generate&amp;nbsp; more torque at lower frequencies.&amp;nbsp;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5e0d0a3931df7ea5cb7489b49351bd20" data-text="suppose if we give amplitude 1 and frequency 0.5 ......at that time independently we have to adjust torque .....i.e torque has to be tunnable" data-timestamp="1575978976658" data-userid="1042012600119185408"&gt;suppose if we give amplitude 1 and frequency 0.5 ......at that time independently we have to adjust torque .....i.e torque has to be tunnable. How can I make torque tunnable at particular frequency?&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;Can anyone resolve this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bhanu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:12:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Torque-Control/m-p/1024937#M4155</guid>
      <dc:creator>bhanu_kassel</dc:creator>
      <dc:date>2019-12-09T14:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Torque Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Torque-Control/m-p/1024938#M4156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhanu,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure that you want to achieve.&lt;/P&gt;&lt;P&gt;I've run a simulation with your data and here is what i got:&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/96149i0FC2C4930226FDA2/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;Seems that the frequency of the sine wave is too small.&lt;/P&gt;&lt;P&gt;Furthemore, the Sine block do not generate optimal code. Perhaps you could have a look at the&amp;nbsp;ammclib_gmclib_foc_F16_s32k14x.mdl to see how you can generate programatically a sine wave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 12:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Torque-Control/m-p/1024938#M4156</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2019-12-10T12:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Torque Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Torque-Control/m-p/1024939#M4157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to give torque how much i need to give. i.e&amp;nbsp;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;We have to change torque manually....I mean if motor running at one&lt;BR /&gt;frequency .....we can give torque how much we have to give....i.e tunnable. Can you help me out of this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;Bhanu&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-orgid="1042012601031307264" data-room-id="room_cf7c482edf56ef7a79acbcb4716ef7aa" data-story-id="story_5bbc64822fa60ece2bcfa682e5025c23" data-text="We have to change torque manually....I mean if motor running at one frequency.....we can give torque how much we have to give....i.e tunnable" data-timestamp="1575987504090" data-userid="1042012600119185408"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 15:14:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Torque-Control/m-p/1024939#M4157</guid>
      <dc:creator>bhanu_kassel</dc:creator>
      <dc:date>2019-12-10T15:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Torque Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Torque-Control/m-p/1024940#M4158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, then why don't you decouple the rotor angle computation from the UQ voltage reference computation.&lt;/P&gt;&lt;P&gt;You could use the Speed Command global variable to compute the angle only and then create another global variable from which you control the amount of torque/voltage needed by modifying the value from FreeMASTER or from one of the push buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach might be to eliminate that sine block and instead of using the multiplication to simply use and ADD block to add a quantity of a global variable declared via a Data Store Block. This way that quantity will act as Torque command and you will no longer need the LUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 15:45:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Torque-Control/m-p/1024940#M4158</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2019-12-10T15:45:49Z</dc:date>
    </item>
  </channel>
</rss>

