<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Fuzzy Logic PID Controller</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/27c2f70429/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/27c2f70429/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/27c2f70429/</id><updated>2022-02-18T17:14:04.513000Z</updated><subtitle>Recent posts to Fuzzy Logic PID Controller</subtitle><entry><title>Fuzzy Logic PID Controller</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/27c2f70429/?limit=25#4442/5486" rel="alternate"/><published>2022-02-18T17:14:04.513000Z</published><updated>2022-02-18T17:14:04.513000Z</updated><author><name>sean-barton</name><uri>https://forge.codesys.com/u/sean-barton/</uri></author><id>https://forge.codesys.com1d7ca2984a5f70f29ffb78bb861aacd254bc291e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I just found this thread (3 years later) and am wondering if the project is still available?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fuzzy Logic PID Controller</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/27c2f70429/?limit=25#e5b6" rel="alternate"/><published>2020-02-27T14:09:00.122000Z</published><updated>2020-02-27T14:09:00.122000Z</updated><author><name>RoryLDM</name><uri>https://forge.codesys.com/u/roryldm/</uri></author><id>https://forge.codesys.com2a308353006bb8166c0946d7802c43290857737b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks guy.  I'll see about re-purposing some solid state relays and heaters.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fuzzy Logic PID Controller</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/27c2f70429/?limit=25#4442" rel="alternate"/><published>2020-02-27T14:08:59.793000Z</published><updated>2020-02-27T14:08:59.793000Z</updated><author><name>truly-bent</name><uri>https://forge.codesys.com/u/truly-bent/</uri></author><id>https://forge.codesys.comae730bfbc9aad4e8f6f91d6bf5c13939605bcd80</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;@RoryLDM;&lt;br/&gt;
&lt;a class="" href="https://github.com/geekfactory/PID" rel="nofollow"&gt;https://github.com/geekfactory/PID&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that the PID output has been limited to between -10.0 and 10.0. These values can be found in the PID_GVL globals. You can scale this to whatever your analog output requires. The original C code looks like it was intended for for micros and had an output range of 0 to 255.&lt;/p&gt;
&lt;p&gt;&lt;a class="user-mention" href="/u/gatto/"&gt;@gatto&lt;/a&gt;;&lt;br/&gt;
I did export the original library to V3.5 SP10. Find this in the ../Old directory.&lt;/p&gt;
&lt;p&gt;Find the latest revision here --&amp;gt; &lt;a class="" href="https://1drv.ms/f/s!AgeXD5P3kwJIg3Sbvn0Zj2gu88qY" rel="nofollow"&gt;https://1drv.ms/f/s!AgeXD5P3kwJIg3Sbvn0Zj2gu88qY&lt;/a&gt; (Fuzzy_eFFL_PID_020 (V3.5 SP13).project). &lt;/p&gt;
&lt;p&gt;Have fun peeps!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fuzzy Logic PID Controller</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/27c2f70429/?limit=25#4b9a" rel="alternate"/><published>2020-02-27T14:08:59.468000Z</published><updated>2020-02-27T14:08:59.468000Z</updated><author><name>gatto</name><uri>https://forge.codesys.com/u/gatto/</uri></author><id>https://forge.codesys.com64c3852a33c746091e5274f3cc35907ea3552502</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
try to open Fuzzy_eFFL_PID_011.project &lt;br/&gt;
but says: it can not be opened.&lt;br/&gt;
I'm on Codeys 3.5.10.5. Maybe your project has a higher version.&lt;br/&gt;
Can you save / export it for me in a convenient version?&lt;br/&gt;
Thank you&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fuzzy Logic PID Controller</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/27c2f70429/?limit=25#bb38" rel="alternate"/><published>2020-02-27T14:08:58.524000Z</published><updated>2020-02-27T14:08:58.524000Z</updated><author><name>RoryLDM</name><uri>https://forge.codesys.com/u/roryldm/</uri></author><id>https://forge.codesys.comd0bc68a57efef4719fee97811d629c68473d2b85</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Oh wow. I'm going to see if I can put this to the test. Thank you.&lt;/p&gt;
&lt;p&gt;Do you have a PID module that you recommend? I have seen the FB in the Oscat Basic library. Mostly I've just used the basic PI function blocks or relied on my VFD's built in PID system.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fuzzy Logic PID Controller</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/27c2f70429/?limit=25#d20c" rel="alternate"/><published>2020-02-27T14:08:58.203000Z</published><updated>2020-02-27T14:08:58.203000Z</updated><author><name>truly-bent</name><uri>https://forge.codesys.com/u/truly-bent/</uri></author><id>https://forge.codesys.com7763b02f013e05f12f69f134490768448119b878</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Having more than a few grey hairs from tuning PID loops in my time, I was excited to read how Fuzzy Logic is capable of modifying PID parameters dynamically. &lt;/p&gt;
&lt;p&gt;Having recently translated the eFFL library (&lt;span style="color: #FF0040;"&gt;&lt;/span&gt;), this seemed like a good test for both the library and my ability to use it. The result is posted here: &lt;span style="color: #FF0040;"&gt;&lt;/span&gt;. It seems to work as advertised, although i haven't used it in the field yet. &lt;/p&gt;
&lt;p&gt;The controller has 2 crisp inputs, error (E = r(t)-c(t)) and error rate of change (Ec = de/dt). Each of these inputs is divided into 7 fuzzy sets; the resulting matrix requiring (7x7) 49 rules to cover. There are 3 crisp outputs, Kp, Ki, and Kd, as you'd expect.&lt;/p&gt;
&lt;p&gt;The documentation that this project is based on is included in the /Docs section. Note the licensing remains open source.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000FF;"&gt;EDIT: Added a 'Rules Fired' count to the visualization text display (Fuzzy_eFFL_PID_011.project)&lt;br/&gt;
EDIT: Updated with integrated PID controller --&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>