<?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 Problem with 3p3z control equation in CM4PCLIBUG in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-3p3z-control-equation-in-CM4PCLIBUG/m-p/1348856#M61608</link>
    <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my digital power control application, I worked out the 3p3z transfer function control equation from somewhere (simulator) and initialized the controller with the statement&amp;nbsp;&lt;FONT color="#0000FF"&gt;PCLIB_Ctrl3P3ZInit_F16_C.&lt;/FONT&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, the f16output is always 0 in each ISR&amp;nbsp;&lt;FONT color="#008080"&gt;&lt;FONT color="#0000FF"&gt;PCLIB_Ctrl3P3Z_F16_C&lt;/FONT&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Is anyone here has experience using&amp;nbsp;PCLIB_Ctrl3P3Z in PCLIB?&amp;nbsp;&lt;BR /&gt;Any tricks on the delay parameters like&amp;nbsp;&lt;FONT color="#0000FF"&gt;f16DelayX1&lt;/FONT&gt;?&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;Many Thanks!&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Sep 2021 03:06:08 GMT</pubDate>
    <dc:creator>D4Worker</dc:creator>
    <dc:date>2021-09-30T03:06:08Z</dc:date>
    <item>
      <title>Problem with 3p3z control equation in CM4PCLIBUG</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-3p3z-control-equation-in-CM4PCLIBUG/m-p/1348856#M61608</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my digital power control application, I worked out the 3p3z transfer function control equation from somewhere (simulator) and initialized the controller with the statement&amp;nbsp;&lt;FONT color="#0000FF"&gt;PCLIB_Ctrl3P3ZInit_F16_C.&lt;/FONT&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, the f16output is always 0 in each ISR&amp;nbsp;&lt;FONT color="#008080"&gt;&lt;FONT color="#0000FF"&gt;PCLIB_Ctrl3P3Z_F16_C&lt;/FONT&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Is anyone here has experience using&amp;nbsp;PCLIB_Ctrl3P3Z in PCLIB?&amp;nbsp;&lt;BR /&gt;Any tricks on the delay parameters like&amp;nbsp;&lt;FONT color="#0000FF"&gt;f16DelayX1&lt;/FONT&gt;?&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;Many Thanks!&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 03:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-3p3z-control-equation-in-CM4PCLIBUG/m-p/1348856#M61608</guid>
      <dc:creator>D4Worker</dc:creator>
      <dc:date>2021-09-30T03:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 3p3z control equation in CM4PCLIBUG</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-3p3z-control-equation-in-CM4PCLIBUG/m-p/1349849#M61621</link>
      <description>&lt;P&gt;I can finally make the output by adding the FRAC16() macro on the error calculation.&lt;BR /&gt;f16Err = FRAC16( target - now). It doesn't work without it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, any experience sharing on using the 3p3z lib is still very appreciated.&amp;nbsp; thanks all&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 04:00:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-3p3z-control-equation-in-CM4PCLIBUG/m-p/1349849#M61621</guid>
      <dc:creator>D4Worker</dc:creator>
      <dc:date>2021-10-04T04:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 3p3z control equation in CM4PCLIBUG</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-3p3z-control-equation-in-CM4PCLIBUG/m-p/1350308#M61628</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72240"&gt;@D4Worker&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Glad to hear you were able to make it work. For more information on how to use the PCLIB, make sure to check out the "PCLIB User's Guide". Here's the link: &lt;A href="https://www.nxp.com/docs/en/user-guide/CM7PCLIBUG.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/CM7PCLIBUG.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 23:45:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-3p3z-control-equation-in-CM4PCLIBUG/m-p/1350308#M61628</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2021-10-04T23:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 3p3z control equation in CM4PCLIBUG</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-3p3z-control-equation-in-CM4PCLIBUG/m-p/1350384#M61629</link>
      <description>&lt;P&gt;Firstly, thanks for helping,&amp;nbsp;&lt;BR /&gt;However, the problem is still unsolved.&amp;nbsp;&lt;BR /&gt;For this 3p3z controller, there are "some but erroneous" outputs from the ISR statement&amp;nbsp;PCLIB_Ctrl3P3Z_F16_C().&lt;BR /&gt;We are not sure if those B0123, A123 coefficients could have wrongly during the f16 conversion.&lt;BR /&gt;It looks there are no sample application using the 3p3z lib in lib package RTCESL_CM_Setup_4.6.3. which found in this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/kv-series-cortex-m4-m0-plus-m7/real-time-control-embedded-software-motor-control-and-power-conversion-libraries:RTCESL" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/kv-series-cortex-m4-m0-plus-m7/real-time-control-embedded-software-motor-control-and-power-conversion-libraries:RTCESL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;any usage example would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 06:17:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-3p3z-control-equation-in-CM4PCLIBUG/m-p/1350384#M61629</guid>
      <dc:creator>D4Worker</dc:creator>
      <dc:date>2021-10-05T06:17:19Z</dc:date>
    </item>
  </channel>
</rss>

