<?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: PID autotuning in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4261300#M1240887</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm building a temperature and humidity stability system. All of the steps are done and the tuning part is the only thing left to be done. We can't get a nice curve no matter what values we try to give to the Kp, Ki, Kd.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help a little to achieve those perfect set points?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Sat, 15 Oct 2022 08:58:53 GMT</pubDate>
    <dc:creator>monohunter</dc:creator>
    <dc:date>2022-10-15T08:58:53Z</dc:date>
    <item>
      <title>PID autotuning</title>
      <link>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4014614#M1148252</link>
      <description>&lt;P&gt;I find it difficult to understand the PID auto-tuning functionality. Can anyone send some tutorial on how to proceed with the auto-tuning process&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 07:46:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4014614#M1148252</guid>
      <dc:creator>Rakesh21</dc:creator>
      <dc:date>2020-02-14T07:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: PID autotuning</title>
      <link>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4014616#M1148253</link>
      <description>&lt;P&gt;This link might be helpful for you:&amp;nbsp;&lt;A href="https://zone.ni.com/reference/en-XX/help/370401J-01/lvpidmain/tuning_pid/" target="_blank"&gt;https://zone.ni.com/reference/en-XX/help/370401J-01/lvpidmain/tuning_pid/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is additionally an example that can be found by clicking Help &amp;gt;&amp;gt; Find Examples... then searching (Search tab on left) for "pid" - choose one of the autotuning examples and read the comments. The "online" versions might be more what you're looking for?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 07:51:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4014616#M1148253</guid>
      <dc:creator>cbutcher</dc:creator>
      <dc:date>2020-02-14T07:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: PID autotuning</title>
      <link>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4014739#M1148309</link>
      <description>&lt;P&gt;I found the PID tuning to have a bit of a learning curve. First off, I do recommend the online help to explain the various parameters. If you don't understand them then you are unlikely to achieve optimum results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Methods and success will vary greatly depending upon the characteristics of the system you are attempting to control. I will explain what worked for me, but without knowing more about your particular system I cannot guarantee results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have used it with excellent results to control pressure and humidity in a vacuum chamber to levels close to the measurement error, but this took time. Pressure control has a rapid linear response with essentially no hysteresis. Humidity control is nonlinear and has a lag and hysteresis of many minutes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my case I settled on the following procedure. First I achieved a steady state for the system (constant pressure or humidity). This could be far from my desired setpoint (the closer the better however). I used manual control and set a constant output value. Eventually the system would stabilize at some relatively constant process variable value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then used the Step Closed Loop technique. I chose an amplitude that generated a small but measurable change in the system state. After that I just waited for it to complete. Once I had a starting point from the autotuned parameters I could then vary alpha, beta, and gamma individually depending upon what I wanted to improve. Since humidity control was problematic, I also carried out experiments varying *one parameter at a time only* to fine tune the results for optimal results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I should point out that I made sure to have steady loop timing, so that the algorithm is called at regular intervals each iteration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My final message is that this all will take time. My early efforts to cut corners and skip reading documentation ended up costing me time in the end. Slow and steady. . . Good luck!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 15:39:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4014739#M1148309</guid>
      <dc:creator>EamonnFPMcKernan</dc:creator>
      <dc:date>2020-02-14T15:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: PID autotuning</title>
      <link>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4261300#M1240887</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm building a temperature and humidity stability system. All of the steps are done and the tuning part is the only thing left to be done. We can't get a nice curve no matter what values we try to give to the Kp, Ki, Kd.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help a little to achieve those perfect set points?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 08:58:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4261300#M1240887</guid>
      <dc:creator>monohunter</dc:creator>
      <dc:date>2022-10-15T08:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: PID autotuning</title>
      <link>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4261316#M1240889</link>
      <description>&lt;P&gt;Hi hunter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/708521"&gt;@monohunter&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Can you help a little to achieve those perfect set points?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Getting "perfect" values for PID gains might get difficult: your system could behave differently depending on your T/rH setpoints (cold/humid vs warm/amid)!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried to measure some step behaviour and to calculate PID gains based on Ziegler/Nichols?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 12:23:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/PID-autotuning/m-p/4261316#M1240889</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2022-10-15T12:23:17Z</dc:date>
    </item>
  </channel>
</rss>

