<?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: Question on DRM021 ACIM V/Hz Control Using 56F80x in Digital Signal Controllers</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709180#M1127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sandro&lt;/P&gt;&lt;P&gt;Frankly speaking, i do not know why it is 128, but the frequency must be greater than 50, 60,...which are most ACIM nominated frequency.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Sep 2017 06:29:43 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2017-09-28T06:29:43Z</dc:date>
    <item>
      <title>Question on DRM021 ACIM V/Hz Control Using 56F80x</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709177#M1124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling on a old Variable Frequency Drive&amp;nbsp;project with uC 56F8023 (i cannot change micro). For better understand how to develop it, I found a 2002 C example project (from Motorola)&amp;nbsp;that can be created from "CW 8.3 for DSC56800/E" (build 091203).&lt;/P&gt;&lt;P&gt;With it you can create a project from "File =&amp;gt; New... =&amp;gt; Processor Expert Examples Stationery =&amp;gt; DemoApplications =&amp;gt; MotorControl =&amp;gt; 56F8023 =&amp;gt; 3ph_ACIM_VectorControl".&amp;nbsp;&lt;/P&gt;&lt;P&gt;This project refers (I suppose) to the&amp;nbsp;Designer Reference Manual in subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a very good point to start from, but I can't found detailed documentation of the code.&lt;/P&gt;&lt;P&gt;Do anybody have some more information about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The stuff I can't figure out is&amp;nbsp;at the start of main header file:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;/* Application maximum values used for scaling */&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;/* maximal voltage (dc-bus) measurable by ADC 407.0 V = 100 % */&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define APP_VOLT_MAX 407.0 &lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;/* [V] */&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;/* maximal output frequency of generated sinewaves [Hz] 128.0 Hz = 100 % */&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define APP_OMEGA_MAX 128.0 &lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;/* [Hz] */&lt;/SPAN&gt;‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I understood that the 407.0 depends on HW design (as described in comment), but I don't understand where the 128.0 Hz come from!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me understand this? My big problem is that I don't have the demo board and other HW described in the DRM, so I can't do "reverse engineering" for better understand the example project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Sandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 09:30:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709177#M1124</guid>
      <dc:creator>sandrom</dc:creator>
      <dc:date>2017-09-20T09:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Question on DRM021 ACIM V/Hz Control Using 56F80x</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709178#M1125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the maximum frequency the code can express. as you know that the DSC is fixed point processor, it can only handle fixed point data. All variable must be expressed in Frac16 format.&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;50HZ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50/128=0.390625&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0.390625*32767=12799 &amp;nbsp;&amp;nbsp; in memory in Frac16 format&lt;/P&gt;&lt;P&gt;60HZ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60/128=0.46875 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.46875*32767=15359 &amp;nbsp;&amp;nbsp; in memory in Frac16 format&lt;/P&gt;&lt;P&gt;120HZ&amp;nbsp; 120/128=0.9375&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.9375*32767=30719&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is the same as &lt;CODE&gt;&lt;SPAN class=""&gt;#define APP_VOLT_MAX 407.0, all voltage is expressed as (voltage/APP_VOLT_MAX)*32767 in memory.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;Hope it can help you&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;BR&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;Xiangjun Rong&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:30:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709178#M1125</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-09-27T06:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Question on DRM021 ACIM V/Hz Control Using 56F80x</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709179#M1126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Xiangjun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;thank you for the answer, I understand this expression mode, but the thing that I don't understand is: why 128.0? Why not 200.0 Hz or any other value? Is it an arbitrary value?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;APP_VOLT_MAX I deduced depends on hardware design (resistive divider from DC-Bus in input to ADC converter, I suppose...), but I can't figure out the 128.0 value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;I hope you can help me,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;thanks again for helping me!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Sandro&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:38:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709179#M1126</guid>
      <dc:creator>sandrom</dc:creator>
      <dc:date>2017-09-27T06:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question on DRM021 ACIM V/Hz Control Using 56F80x</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709180#M1127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sandro&lt;/P&gt;&lt;P&gt;Frankly speaking, i do not know why it is 128, but the frequency must be greater than 50, 60,...which are most ACIM nominated frequency.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 06:29:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709180#M1127</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-09-28T06:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question on DRM021 ACIM V/Hz Control Using 56F80x</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709181#M1128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Xiangjun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;continuing testing and trying, we ended at your same&amp;nbsp;consideration, I&amp;nbsp;think there is no reason for that 128, probably simply a value that can fit project-related work frequencies.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Hoping that this is the truth :smileyhappy:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Xiangjun for&amp;nbsp;helping me in a so old project!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Sandro&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 06:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Question-on-DRM021-ACIM-V-Hz-Control-Using-56F80x/m-p/709181#M1128</guid>
      <dc:creator>sandrom</dc:creator>
      <dc:date>2017-09-28T06:39:00Z</dc:date>
    </item>
  </channel>
</rss>

