How to Tune a PID Controller

Поділитися
Вставка
  • Опубліковано 23 лис 2024
  • Learn how to tune a PID (Proportional Integral Derivative) controller, and set it up from scratch! Using an automated PID Simulator in this video, shows how the PID controller reacts in real world scenarios.
    Interested in learning more about PID controllers? Check out pidexplained.com
    Looking to download the PID Simulator used in this video? Find it on the Microsoft Store under "PID Simulator" by ETCO or follow the below link.
    www.microsoft....
    Thanks for visiting our channel!
    ‪@pidexplained‬

КОМЕНТАРІ • 68

  • @noweare1
    @noweare1 2 роки тому +6

    A lot of people just shut down when they hear PID. Thanks for making this very understandable.

  • @mahmoudmohamed-bb6mv
    @mahmoudmohamed-bb6mv 3 роки тому +22

    This is the most helpful and well presented video regarding PID tuning. Thanks a lot.

  • @stuka6671
    @stuka6671 Рік тому +4

    Well done sir...this is the best PID learning and the best simulation so far. Now I got the idea how this PID work...All this while I have been struggling to understand this PID tuning despite so many references and explaination out there. This is straight to the point. Thank you very very much sir..

  • @samsonspubllc8592
    @samsonspubllc8592 2 роки тому +2

    Awesome video. Thank you so much. Until I watched this, I just couldn't grasp the purpose of the derivative. Crystal clear now.

  • @North49Radio
    @North49Radio 8 днів тому

    Good video. I would like to see how to minimize the output fluctuation with allowance of upper and lower variations of setpoint. Like a level in a tank, so you don't wear out your control valve. I might have to try this simulator.

  • @Apexcrafter.
    @Apexcrafter. Рік тому +1

    Thank you so much for making this so much simpler to understand

  • @darraghross4310
    @darraghross4310 3 місяці тому +1

    Best explanation on UA-cam

  • @justinbouchard
    @justinbouchard Рік тому +1

    Thank you so much for this. It helped me set up my espresso machine heater modification much easier. I got fairly close by myself just with you know eliminating variables and kind of doing what you did in this explanation. But having the reasoning to make the fine adjustments was key.

  • @AbcDef-hl2ic
    @AbcDef-hl2ic 3 роки тому +1

    Thank you very much for the most helpful video on setting a pid I have seen so far!

  • @rajeshsingh-eq3eg
    @rajeshsingh-eq3eg Рік тому

    Best video on pid .....yet.

    • @pidexplained
      @pidexplained  4 місяці тому

      Thanks for the comment, hope you are able to find what you need to tune your loops

  • @entertainmentjoke2871
    @entertainmentjoke2871 3 місяці тому

    Your explanation is fantastic! ❤

  • @plop386
    @plop386 7 місяців тому

    i came here to understand FPV drone PID loop tunning. helped me better than all fpv vidéo where they all guesstimate what is what

    • @pidexplained
      @pidexplained  4 місяці тому

      Thank you! Glad we were able to help

  • @DSA-kg1vg
    @DSA-kg1vg 3 роки тому +1

    Best PID tuning video. Very well done.

  • @bobbytongga4243
    @bobbytongga4243 Рік тому

    This is the best I have watched. Great job

  • @kunalnassa1841
    @kunalnassa1841 3 роки тому +1

    Really awesome video .. Have seen a lot of PID controller tuning videos but this is best one .... Please make more videos on Process Control and Instrumentation

  • @EVJ-World
    @EVJ-World Рік тому

    Very good explanation.

  • @danc.2985
    @danc.2985 6 років тому +3

    Great video!

  • @alexthibault5395
    @alexthibault5395 3 роки тому +2

    Super helpful, thanks!!

  • @laurentporre4479
    @laurentporre4479 2 роки тому +4

    Nice simulations ! but in most common DCS, you have to reduce the "Integral" value to make it stronger... In your case it's the opposite. People doing that in real situations will not see the same effect and may not understand

    • @IberianOtaku
      @IberianOtaku 2 роки тому +1

      Integral Gain (Ki) that is what he is changing, you are talking about the Interal Time (Ti) -> Ti=1/Ki

    • @laurentporre4479
      @laurentporre4479 2 роки тому +1

      Yes I know, I was just warning that in real life situations, in most common control systems is used the Ti=1/Ki and not Ki, so decreasing the Ki too much thinking you'll slow down the control can be "dangerous"

    • @Time4yes
      @Time4yes 6 місяців тому

      Why is he changing or upsetting the system while changing integral? Wasn't he supposed to wait and see what each integral value gives? Is he using the first order method approach or second? Or maybe just trial and error?

    • @pidexplained
      @pidexplained  4 місяці тому

      Good point on a system using integral time vs the integral gain system showed in the video. Hope your comment helps people with the integral time controllers!

  • @GaryDoesThings
    @GaryDoesThings Рік тому

    Really great, thank you.

  • @manolete340
    @manolete340 Місяць тому

    Okay so I’d like to know whether the values we are adjusting are the k values.

  • @hamburglurgl
    @hamburglurgl 3 роки тому

    I love this. Thank you

  • @geraldopontes37
    @geraldopontes37 2 роки тому

    Excellent! Thank you!

  • @Guardian_Arias
    @Guardian_Arias 2 місяці тому

    I hope you see this but, is having P=1500, I=0, and D=0 really all that bad? or am i just finding harmony in chaos.
    The contexts is the heated bed of a 3d printer. There is an auto tune feature for PID control in the software, but the oscillation always results in a 3% variance (plus and minus 1.5%) once its done that's about 2 degrees Celsius. But, on my old printer I found a PID loop that resulted in a variance of 0.1c thats 0.15% with rather reasonable looking PID numbers.
    On my new printer I ended up with a PID loop that basically has 1500 for P and zero on both I and D but with the same variance of 0.1c even though the output is all over the place with the actual bed temperature looking beautiful with a minor overshoot and then perfectly stable at the set temperature. I have not been able to find values with P low enough for I to be much of a help or with D being so ridiculously high that it somehow finds a way to find harmony with in the chaos but not even remotely close as precise as having zero I and D.

  • @مصطفىالربيعي-ت8غ
    @مصطفىالربيعي-ت8غ 4 роки тому +2

    Perfect keep it up

  • @vatsalthaker2122
    @vatsalthaker2122 Рік тому

    We need more videos for tunning... 🤓

  • @copperfrogdistilling1943
    @copperfrogdistilling1943 25 днів тому

    what does the set point value represent ? is it the temp in C ?

  • @pnachtwey
    @pnachtwey Рік тому +2

    One doesn't tune a PID. One tunes a system. The transfer function for the "plant" is not given but it must be something very simple. Trial and error works for simple systems but not for more difficult systems.

    • @whohastimeforthis
      @whohastimeforthis Рік тому

      That's putting it nicely, Pete! This is simply impossible on a live system in the Plant.

    • @pidexplained
      @pidexplained  4 місяці тому

      I've tuned a lot of systems live from large power generation systems to hydronic control systems, not impossible, just takes some practice. Hope the video helped.

  • @GingerNingerGames
    @GingerNingerGames 2 роки тому

    brilliant, cheers

  • @ahmedemad3494
    @ahmedemad3494 Рік тому

    Thank you , very helpful , how can i download this smulation ?

    • @pidexplained
      @pidexplained  4 місяці тому

      Thanks! Simulator is available on the Microsoft Store. Search "PID Simulator" by ETCO

  • @prasadrajchodipilli3458
    @prasadrajchodipilli3458 3 роки тому +1

    I love this vedio 👍

  • @SAIFulISLAM-mf3jx
    @SAIFulISLAM-mf3jx 10 місяців тому

    sir great vedio thanks

  • @palolucina8124
    @palolucina8124 2 роки тому

    Good video, why the hell teacher in school cannot teach that...

  • @phanasak1291
    @phanasak1291 Рік тому

    Thank a lot

  • @mohdirshadshaikh444
    @mohdirshadshaikh444 4 місяці тому

    i just wanted to c integral action alone with setpoint whn set point changes

    • @pidexplained
      @pidexplained  4 місяці тому

      Download the simulator app from the Microsoft store and let me know what happens with integral only!

  • @orenfivel6247
    @orenfivel6247 Рік тому

    what's the green graph? output% of what exactly?

    • @pidexplained
      @pidexplained  4 місяці тому

      It's a simulator so it's an arbitrary output. If you were simulating a car in cruise control it would be the throttle, if you were simulating a temperature control loop the output could be the % open of the temperature control valve.

  • @xyzhouse
    @xyzhouse 3 роки тому +3

    In real plant it is harmful and operation will be super unhappy if you try to make a loop unstable even for good purposes

    • @danc.2985
      @danc.2985 3 роки тому +1

      The example in this video of unstable is for demonstrating, in a real application you still use this principal but in a controlled way where the actual value only deviates slightly from the setpoint. Unstable only means the value gets further from setpoint instead of closer.

  • @徐磊-z7i
    @徐磊-z7i Рік тому +1

    15 dollars, no trial available. It feels a little expensive.

    • @pidexplained
      @pidexplained  4 місяці тому

      These videos are free for anyone looking to learn, hope they helped!

  • @nick7980
    @nick7980 3 роки тому +1

    That's the fastest way to burn $10!

    • @roycesouthen1505
      @roycesouthen1505 Рік тому

      If you know that much about it, where is your video showing your expert knowledge on it.

  • @nichtverstehen2045
    @nichtverstehen2045 Рік тому +5

    pretty useless given that in real systems it's not that simple as in your simulation. the latency could be one of major players in something like heater-thermometer. you wouldn't be able to do that in that case by moving p/i/d values to tune it. it's close to impossible unless you have nothing else to do in your life. another one is that most of real systems are not linear and even if you manage to fine-tune it for one target it could perform badly for other or even become unstable.

    • @pidexplained
      @pidexplained  4 місяці тому +2

      Thanks for your comment! Using the advanced options you can slow the reaction time down and add random distortion to simulate real world scenarios. I've had a lot of real world experience and if a device can't be tuned, it needs fixed. Hope this helps :)

    • @travelfootiekie
      @travelfootiekie 3 місяці тому

      Did you not watch the full video? It's all explained in there.

    • @AbuZahi
      @AbuZahi Місяць тому

      Obviously you didn't watch the full video and jumped here to run your mouth.

    • @nichtverstehen2045
      @nichtverstehen2045 Місяць тому

      @@AbuZahi you might say anything about me but this video is pretty useless because it's way too abstract from reality.

    • @pagnean4234
      @pagnean4234 Місяць тому

      @@nichtverstehen2045😢

  • @nick7980
    @nick7980 3 роки тому

    Absolutely useless. I do HVAC pids,