<?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>Kinetis MicrocontrollersのトピックRe: FFT e-meter library for Kinetis M</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367232#M18952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All four energy counters are &lt;STRONG&gt;unsigned&lt;/STRONG&gt; values. These values are incremented only!&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;import active&lt;/STRONG&gt; (wh_i) energy counter is incremented only if active power (Watts) is positive&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;export active&lt;/STRONG&gt; (wh_e) energy counter is incremented only if active power (Watts) is negative (by its absolute value)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;import reactive&lt;/STRONG&gt; (varh_i) energy counter is incremented only if reactive power (VAr) is positive&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;export reactive&lt;/STRONG&gt; (varh_e) energy counter is incremented only if reactive power (VAr) is negative (by its absolute value)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The type of the load (i or c) is recognized by the sign of both active (P) and reactive (Q) power:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Quadrant I : P&amp;gt;0, Q&amp;gt;0 = motor mode, inductive load&lt;/LI&gt;&lt;LI&gt;Quadrant II: P&amp;lt;0, Q&amp;gt;0 = generator mode, inductive load&lt;/LI&gt;&lt;LI&gt;Quadrant III: P&amp;lt;0, Q&amp;lt;0 = generator mode, capacitive load&lt;/LI&gt;&lt;LI&gt;Quadrant IV: P&amp;gt;0, Q&amp;lt;0 = motor mode, capacitive load&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note: for deep explanation of the power / energy measurement see here:&amp;nbsp;&lt;A class="link-titled" href="https://infosys.beckhoff.com/english.php?content=../content/1033/el34xx/4214245899.html&amp;amp;id=" title="https://infosys.beckhoff.com/english.php?content=../content/1033/el34xx/4214245899.html&amp;amp;id="&gt;Beckhoff Information System - English&lt;/A&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2018 10:25:53 GMT</pubDate>
    <dc:creator>Ludek</dc:creator>
    <dc:date>2018-08-03T10:25:53Z</dc:date>
    <item>
      <title>FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367225#M18945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to use the FFT e-meter library on my TWR-KM34Z50. The problem is there is no description of the function "EnergyCalculation" (in AN4255, AN4847). The only reference to that function i have found is in DRM149. The function is used in the "Kinetis-M Two - Phase Power Meter Reference Design" Firmware. Is it possible to get that firmware, so i can see how to implement the function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367225#M18945</guid>
      <dc:creator>svenmoeller</dc:creator>
      <dc:date>2014-08-19T10:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367226#M18946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding the firmware of meterlib, I think you can download it via the AN4265SW from the website:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A class="jive-link-external-small" href="http://tinyurl.com/n6tsugg"&gt;http://tinyurl.com/n6tsugg&lt;/A&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The meter library includes the api function&amp;nbsp; to compute the RMS value for voltage and current in both time and frequency domain. You have to register on the website, then download the software.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 05:00:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367226#M18946</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2014-08-22T05:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367227#M18947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AN4265SW includes the &lt;STRONG&gt;Filter&lt;/STRONG&gt; based meterlib, but i would like to use the &lt;STRONG&gt;FFT&lt;/STRONG&gt; based meterlib (AN4847SW) to analyse the harmonics of a signal. In the FFT based meterlib there exist 2 functions for calculation of the metering quantities. &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;PowerCalculation&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; &lt;SPAN class="st"&gt;application programming interface (API) is explained in AN4255&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;EnergyCalculation&amp;nbsp;&amp;nbsp; -&amp;gt; no explanation of the API neither in AN4255 nor in AN4847&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 07:46:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367227#M18947</guid>
      <dc:creator>svenmoeller</dc:creator>
      <dc:date>2014-08-22T07:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367228#M18948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Declaration&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;void EnergyCalculation (volatile unsigned long *energy, unsigned long *energyrem, unsigned long power, unsigned long coef);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Parameters&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;energy - pointer to the active/reactive, import/export energy with resolutionn 0.1 Wh or 0.1 VARh, i.e. 1000=100.0 Wh/VARh.&lt;/P&gt;&lt;P&gt;energyrem - pointer to the energy remainder (decimal point of the energy)&lt;/P&gt;&lt;P&gt;power - instantaneous power (active or reactive)&lt;/P&gt;&lt;P&gt;coef - 'hour' coefficient = line frequency*3600, with mHz frequency resolution, i.e. 50000=50.000Hz &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Description&lt;/SPAN&gt;: The function upgrades both the energy and energy remainder values (addressed by respective pointers) by a new values. This function should be called after the 'PowerCalculation' processing in the user code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Note:&lt;/SPAN&gt; I will add the function description into the AN4255 soon. Currently I am preparing a new FFT metering library (METERLIBFFT 2.3.1) with different API and with different functions name (unified with the 'Filter-based' metering library).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 07:33:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367228#M18948</guid>
      <dc:creator>Ludek</dc:creator>
      <dc:date>2014-09-30T07:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367229#M18949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ludek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does that mean "import/export" energy here? &lt;/P&gt;&lt;P&gt;if import + export = total, why don't just use energy as a single variable instead of two params (import+export)here?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 03:35:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367229#M18949</guid>
      <dc:creator>nickng</dc:creator>
      <dc:date>2018-07-26T03:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367230#M18950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FFT-based metering library is used for &lt;STRONG&gt;4-quadrant&lt;/STRONG&gt; &lt;STRONG&gt;energy measurement&lt;/STRONG&gt;, that is: import/export, active/reactive.&lt;/P&gt;&lt;P&gt;It means it can measure both positive and negative active energy, and the same for reactive energy. Therefore, it uses &lt;STRONG&gt;four separated&lt;/STRONG&gt; energy counters.&lt;/P&gt;&lt;P&gt;Identification of imported and exported active and reactive energy allows you to monitor energy flow in both directions: delivered from the utility and produced on-site which is ideal for facilities with back-up generators or green power capabilities (for example solar panels).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 19:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367230#M18950</guid>
      <dc:creator>Ludek</dc:creator>
      <dc:date>2018-07-27T19:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367231#M18951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ludek,&lt;/P&gt;&lt;P&gt;Thanks for your explanation.&lt;/P&gt;&lt;P&gt;What about the reactive energy counter with that import and export&amp;nbsp; concept? how do you distinguish whether it is capacitive or inductive load . I expected the Varh counter is a signed counter, but according to the meter fft lib, the reactive energy counter is an unsigned uint 32 varaible.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 06:56:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367231#M18951</guid>
      <dc:creator>nickng</dc:creator>
      <dc:date>2018-08-03T06:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367232#M18952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All four energy counters are &lt;STRONG&gt;unsigned&lt;/STRONG&gt; values. These values are incremented only!&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;import active&lt;/STRONG&gt; (wh_i) energy counter is incremented only if active power (Watts) is positive&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;export active&lt;/STRONG&gt; (wh_e) energy counter is incremented only if active power (Watts) is negative (by its absolute value)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;import reactive&lt;/STRONG&gt; (varh_i) energy counter is incremented only if reactive power (VAr) is positive&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;export reactive&lt;/STRONG&gt; (varh_e) energy counter is incremented only if reactive power (VAr) is negative (by its absolute value)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The type of the load (i or c) is recognized by the sign of both active (P) and reactive (Q) power:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Quadrant I : P&amp;gt;0, Q&amp;gt;0 = motor mode, inductive load&lt;/LI&gt;&lt;LI&gt;Quadrant II: P&amp;lt;0, Q&amp;gt;0 = generator mode, inductive load&lt;/LI&gt;&lt;LI&gt;Quadrant III: P&amp;lt;0, Q&amp;lt;0 = generator mode, capacitive load&lt;/LI&gt;&lt;LI&gt;Quadrant IV: P&amp;gt;0, Q&amp;lt;0 = motor mode, capacitive load&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note: for deep explanation of the power / energy measurement see here:&amp;nbsp;&lt;A class="link-titled" href="https://infosys.beckhoff.com/english.php?content=../content/1033/el34xx/4214245899.html&amp;amp;id=" title="https://infosys.beckhoff.com/english.php?content=../content/1033/el34xx/4214245899.html&amp;amp;id="&gt;Beckhoff Information System - English&lt;/A&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 10:25:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367232#M18952</guid>
      <dc:creator>Ludek</dc:creator>
      <dc:date>2018-08-03T10:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367233#M18953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Download the FFT library from here:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;A class="" href="https://community.nxp.com/external-link.jspa?url=https://www.nxp.com/webapp/Download?colCode%3DAN4255SW%26appType%3Dlicense%26Parent_nodeId%3D1338495584942720454627%26Parent_pageType%3Dproduct%26Parent_nodeId%3D1338495584942720454627%26Parent_pageType%3Dproduct" rel="nofollow" target="_blank"&gt;https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DAN4255SW%26appType%3Dlicense%26Parent_nodeId%3D1338495584942720454627%26Parent_pageType%3Dproduct%26Parent_nodeId%3D1338495584942720454627%26Parent_pageType%3Dproduct&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 08:02:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/367233#M18953</guid>
      <dc:creator>Ludek</dc:creator>
      <dc:date>2019-07-19T08:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/1634183#M64953</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;I would like to download the metering libraries with FFT library and filter library.&amp;nbsp;&lt;BR /&gt;Could anyone let me know link to download ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Leonardo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2023 14:23:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/1634183#M64953</guid>
      <dc:creator>Leonard30</dc:creator>
      <dc:date>2023-04-15T14:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: FFT e-meter library for Kinetis M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/1636368#M64968</link>
      <description>&lt;P&gt;Hi Ludek&lt;BR /&gt;&lt;BR /&gt;I am get a message as this when I try to download the files.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Leonard30_0-1681915855876.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/219899i98ACEA3A71BC2DF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Leonard30_0-1681915855876.png" alt="Leonard30_0-1681915855876.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 14:51:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FFT-e-meter-library-for-Kinetis-M/m-p/1636368#M64968</guid>
      <dc:creator>Leonard30</dc:creator>
      <dc:date>2023-04-19T14:51:41Z</dc:date>
    </item>
  </channel>
</rss>

