<?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 Metering algorithm configuration tool derivative current sensor in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Metering-algorithm-configuration-tool-derivative-current-sensor/m-p/1394852#M62184</link>
    <description>&lt;P&gt;I am trying to use the three-phase power meter design with current sensors. Everything seems to be working correctly except when mains frequency is not perfect 50Hz.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can see this using the meterlib algorithm configuration tools too, setting frequency to 51Hz:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="florianhumblot_0-1641391565869.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/166767iC374E477D417DA9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="florianhumblot_0-1641391565869.png" alt="florianhumblot_0-1641391565869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The algorithm simulator has no errors within the 0.10 error limit. However, if we change to derivative current sensors:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="florianhumblot_1-1641391601756.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/166768i0F6CE4FEB9CCDCEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="florianhumblot_1-1641391601756.png" alt="florianhumblot_1-1641391601756.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now there is a -1.9% error on all the current measurements.&lt;/P&gt;&lt;P&gt;I've tried modifying almost every single parameter and combination but I could not manage to stabilize the current sensor outputs.&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;The software is from the &lt;SPAN class=""&gt;&lt;SPAN&gt;AN4265&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The settings are all left default in the above screenshots but I have tried using the knob-control to modify all the parameters.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jan 2022 14:10:38 GMT</pubDate>
    <dc:creator>florianhumblot</dc:creator>
    <dc:date>2022-01-05T14:10:38Z</dc:date>
    <item>
      <title>Metering algorithm configuration tool derivative current sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Metering-algorithm-configuration-tool-derivative-current-sensor/m-p/1394852#M62184</link>
      <description>&lt;P&gt;I am trying to use the three-phase power meter design with current sensors. Everything seems to be working correctly except when mains frequency is not perfect 50Hz.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can see this using the meterlib algorithm configuration tools too, setting frequency to 51Hz:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="florianhumblot_0-1641391565869.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/166767iC374E477D417DA9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="florianhumblot_0-1641391565869.png" alt="florianhumblot_0-1641391565869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The algorithm simulator has no errors within the 0.10 error limit. However, if we change to derivative current sensors:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="florianhumblot_1-1641391601756.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/166768i0F6CE4FEB9CCDCEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="florianhumblot_1-1641391601756.png" alt="florianhumblot_1-1641391601756.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now there is a -1.9% error on all the current measurements.&lt;/P&gt;&lt;P&gt;I've tried modifying almost every single parameter and combination but I could not manage to stabilize the current sensor outputs.&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;The software is from the &lt;SPAN class=""&gt;&lt;SPAN&gt;AN4265&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The settings are all left default in the above screenshots but I have tried using the knob-control to modify all the parameters.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 14:10:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Metering-algorithm-configuration-tool-derivative-current-sensor/m-p/1394852#M62184</guid>
      <dc:creator>florianhumblot</dc:creator>
      <dc:date>2022-01-05T14:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Metering algorithm configuration tool derivative current sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Metering-algorithm-configuration-tool-derivative-current-sensor/m-p/1401340#M62264</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191608"&gt;@florianhumblot&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping that you are doing excellent!&lt;/P&gt;&lt;P&gt;We also replicated the errors above 0.1% when setting the frequency on 51 Hz in the signal generator. Since we have a nominal frequency of 50 Hz, in the General setting area of the library, generating signals with that fixed frequency 51 Hz, will cause that error percentage.&lt;/P&gt;&lt;P&gt;Could you detail further the 51 Hz? For example, if you are trying to adapt the library for 50 Hz AC mains with some degree of error/variations on its period, or if you are contemplating a scenario where you could get a fixed frequency of 51 Hz.&lt;/P&gt;&lt;P&gt;Many thanks your patience.&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 04:37:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Metering-algorithm-configuration-tool-derivative-current-sensor/m-p/1401340#M62264</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2022-01-19T04:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Metering algorithm configuration tool derivative current sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Metering-algorithm-configuration-tool-derivative-current-sensor/m-p/1401768#M62271</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for getting back to me!&lt;/P&gt;&lt;P&gt;The errors reported by the algorithm simulator seem to be between 0.9% and 1.1% per 0.5Hz deviation from the nominal frequency.&lt;/P&gt;&lt;P&gt;In Continental Europe the frequency setpoint is 50 Hz. It shall not go below 47.5 and above 51.5 Hz. However, as far as I understand metering requirements, the energy meters should remain accurate within that range.&lt;/P&gt;&lt;P&gt;Getting a total kWh metering error of 2% is practically impossible within that range if the current measurement error gets close to 5% if the frequency drops too low, or 1,5% if the frequency is too high.&lt;/P&gt;&lt;P&gt;So reiterating, this would really be to account for frequency variation/errors in local substation/the grid and not because we envision any special setup at a fixed 51Hz frequency.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Florian Humblot&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 14:03:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Metering-algorithm-configuration-tool-derivative-current-sensor/m-p/1401768#M62271</guid>
      <dc:creator>florianhumblot</dc:creator>
      <dc:date>2022-01-19T14:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Metering algorithm configuration tool derivative current sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Metering-algorithm-configuration-tool-derivative-current-sensor/m-p/1407254#M62329</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191608"&gt;@florianhumblot&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks for reaching us with that issue, and for your patience.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have received feedback from the specialist AE team:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;This error relates to a simulator issue in config tool where source current signal is not computed as a derivative and hence after integration simulator provides wrong number.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;In real application, library provides similar performance for Rogowski coils as for shunt resistors or CTs - protocol with Rogowski coil sensor attached (refer to yellow area with 49 and 51Hz frequencies).&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;We can update simulator but it will take some time.&lt;/P&gt;
&lt;P&gt;In the meantime you can do actual&amp;nbsp; calibration tests for the frequency variations you expect.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 19:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Metering-algorithm-configuration-tool-derivative-current-sensor/m-p/1407254#M62329</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2022-01-31T19:00:05Z</dc:date>
    </item>
  </channel>
</rss>

