Manual and Automatic PID Tuning Methods | Understanding PID Control, Part 6

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • The previous video showed three different approaches to developing a mathematical model of your physical system.
    Now that we have this model, we can use it to tune a PID controller that will work to control the physical system.
    PID tuning can be thought of in two ways: Adjusting the three path gains (Kp, Ki, and Kd), or placing two moveable zeros and adjusting the loop gain to get the desired response. This video shows how thinking of PID tuning using moveable zeros allows you to approach the problem with loop shaping and pole placement methods. These methods provide a more systematic approach over the brute force method of guessing gain values and checking the response.
    In addition to manually tuning a controller, this video introduces how automatic tuning can be a way to quickly get a controller design to meet the system requirements.
    - Download Code Examples to Learn How to Automatically Tune PID Controller Gainshttps: bit.ly/2HKBh12
    Related Resources:
    - Control System Design with the Control System Designer App: bit.ly/2KuAnr9
    - Designing PID Controllers with PID Tuner: bit.ly/2L8tnkd
    - Embedded PID Autotuner - Simulink Example: bit.ly/2Lc1307
    - Design Compensator Using Automated PID Tuning and Graphical Bode Design: bit.ly/2LesAhP
    - To learn more about PID tuning with MATLAB and Simulink visit: bit.ly/2KEQ9yZ
    - To learn more about root locus design, visit: bit.ly/2Lbnoed
    - To learn more about loop shaping with Bode plot, visit: bit.ly/2L8IXfD
    -------------------------------------------------------------------------------------------------------------------------------------
    Get a free MATLAB Trial: goo.gl/ZHFb5u
    Learn more about MATLAB: goo.gl/8QV7ZZ
    Learn more about Simulink: goo.gl/nqnbLe
    See What's new in MATLAB and Simulink: goo.gl/pgGtod
    © 2018 The MathWorks, Inc. MATLAB and Simulink are registered
    trademarks of The MathWorks, Inc.
    See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names maybe trademarks or registered trademarks of their respective holders.
  • Věda a technologie

Komentáře • 50

  • @aydinnasirzadeh2190
    @aydinnasirzadeh2190 Před 5 lety +70

    This is insanely incredible. Have been watching 6 videos of the series in a row and I am not a bit tired.

    • @mohd.asaads.279
      @mohd.asaads.279 Před 10 měsíci +1

      Just a question since u watched all 6 videos;does this person explain how to use this MATLAB software in any of the videos

  • @BrianBDouglas
    @BrianBDouglas Před 5 lety +89

    Hi everyone, thanks for watching this video! If you have any questions or comments on anything I mention leave them here and I'll try my best to answer it. Cheers!

    • @benjaminschifman4722
      @benjaminschifman4722 Před 5 lety +7

      Hi Brian, I noticed that at around ~12:20 you are closing the System ID Plant loop around the Linearized loop output, and I don’t believe that was your intention. Great video though, thanks!

    • @BrianBDouglas
      @BrianBDouglas Před 5 lety

      Benjamin Schifman yikes! You’re right. That was not intentional. Great catch!

    • @richardlewis1946
      @richardlewis1946 Před 5 lety

      Brian Douglas I’ve watched through 7. I want to control a hydraulic driven drag chain using PID
      Set speed and direction from Setpoint. As load across hyd. motor increase PID adjust voltage of valve to supply greater
      flow demand. Hydraulic motor bypass oil as torque increase. Have enough, just can’t do it by hand.

    • @AbdulRehman-fh6vl
      @AbdulRehman-fh6vl Před 4 lety

      Could you please make a video on Cohan-coon tuning method or could you please provide me with the relative material for that where I could learn it. Thanks

    • @maxchr4457
      @maxchr4457 Před 4 lety

      Hi Brian, many thanks for your videos, I love your work ! However, at around 1:30 you write that PID=C(s)=[Kp + Ki/s + Kd.s].E(s) but this is actually the result of C(s).E(s), no ? I mean the transfer function of the PID alone is just C(s)=Kp+Ki/s+Kd.s, isn't it ? I am not sure to understand ...

  • @alemazza87
    @alemazza87 Před 4 lety +11

    These are by far the best videos about PID I could find online. Congratulations, and thank you!

  • @wiloberlies9598
    @wiloberlies9598 Před 5 lety +4

    Really nice work here, these just keep getting better as we progress through the topic. Thank you for this series.

  • @the_emmo
    @the_emmo Před 5 lety +8

    Omg, Brian Douglas, is that you? I'm so happy to see you doing content for Matlab!

  • @MultiSigen
    @MultiSigen Před 4 lety

    Your videos are great! Please do IMC tuning

  • @Antonioqwert3868
    @Antonioqwert3868 Před rokem +1

    Hi, Brian your videos about control theory is great, I hope you will talk about MPC controller

  • @pravinsukumaran6080
    @pravinsukumaran6080 Před 2 lety +1

    Bro thanks for the knowledge ......if we had more people like you on this earth im pretty sure the world will be a better place ...... ps add more ads i will gladly watch all of them ✌

    • @jasperzoey1912
      @jasperzoey1912 Před 2 lety

      With the help of..DR RORPOPOR HERBAL ON CZcams i have been cured totally from PID....🤩🤩

  • @LuisSanchez-zb2ou
    @LuisSanchez-zb2ou Před rokem

    excellent explanation

  • @boydmunkombwe5017
    @boydmunkombwe5017 Před 4 lety

    Hey Brian. You have very very awesome lectures man, great job. i was wondering if you could help me on how to handle issues of saturation when tuning PID controllers. am trying to tune PMSM FOC PID controllers, the challenge i get is for the motor to reach the commanded speed, a voltage of over 300V is commanded. Now, when i limit the output saturation to 220V, the tuned parameters don't seem to work well on the system. i will will appreciate any help rendered. Thanks

  • @Hudmyq
    @Hudmyq Před 5 lety

    hi,Brian, thanks for your video. After watching 6 videos, I have two questions: 1. For the invert pendulume, most of youtube videos show that the control system is to make the cart to stablize the pendulum without any disturbance. So, If we consider someone was moving pendulume by hand, we need to make a control system to control cart to stablize this pendulume. Shall we consider this 'hand' as another input? or just a noise ? 2. if the invert pendulume mass was changed during operation. I think we need to find new PID parameters. How are we tuning PID values during the operation ? Any suggestions?

  • @suhadhadad5842
    @suhadhadad5842 Před 4 lety

    Thank you .. nice and useful work .. can you adjust the sound please

  • @justinmynest
    @justinmynest Před 5 lety +5

    Great video Brian, SISO systems are basically simple to design and control. Can you give some detailed version where a PID is used in a MIMO system and how to tune its gain?

    • @sumanthpaul7724
      @sumanthpaul7724 Před 4 lety

      You should have replied to brian's comment if you want your comment to be seen by him

  • @pleasuremaster4617
    @pleasuremaster4617 Před 5 lety +1

    I'm still trying to get my head around pid controllers and tuning. It would be great if there was a home brewer focused special.

    • @Nicoleise
      @Nicoleise Před 5 lety +1

      That isn't really necessary. The whole appeal of PID controllers is their broad application. Your home brewing could be done with several PID controllers, but the cruise control in your car or the robot that built it, could as well. It's rare - I think - to have one set of instructions to learn, that has this broad application, and for that alone, it's worth understanding the principles. Once you do, you'll find that it doesn't matter if it's home brewing or a cruise control, because they all adhere to the same simple rules. :)
      Instead, I suggest you try and watch videos of the basics of PID controllers, but watch many of them from many different people. I'm certain that eventually, these different explainations combined will trigger your specific way of understanding, and you'll just get it. Until then, it's not really worth watching more advanced videos like these, because this is truly an area where the basics, and understanding them, is key. :)
      If that doesn't seem like your cup of ale, instead I'd suggest that you reach out to friends or professionals with sufficient interest to get your solution just right. If you want to concentrate on brewing, that is absolutely fair, but then a better approach than e.g. understanding it half way, would be to involve some expertise to get you setup. Best of luck with the brewing. :)

  • @Clem2228
    @Clem2228 Před 3 lety +6

    Hello, thank you very much for this nice course ! at 12:29 isn't the PID in the middle looped on the wrong system ?

    • @Ofalcio
      @Ofalcio Před 2 lety +1

      I think so too, but it seems like these systems are so similar that it doesn't affect the plot waveform ¯\_(ツ)_/¯

    • @Clem2228
      @Clem2228 Před 2 lety

      @@Ofalcio Ok, thanks for the answer !

  • @100MillionThoughts
    @100MillionThoughts Před 3 lety

    ⚡️ Tuning a PID Controller Using the Ziegler-Nichols Method | MATLAB code available czcams.com/video/8MMcPLTwo_s/video.html

  • @nrdesign1991
    @nrdesign1991 Před 3 lety

    I never knew these things even existed in Matlab. We did it the old-fashioned way of solving everything by hand last term.

    • @soupe2000
      @soupe2000 Před rokem

      same thing, we always tune it by hand or writing a code in matlab to find appropriate gains

  • @ashutoshkumar5721
    @ashutoshkumar5721 Před 5 lety

    Hello, I need LDR method of PID control algorithm, plz help

  • @utilizator1701
    @utilizator1701 Před 2 lety +1

    12:27 I am not confident about what you have done. The response from liniarization model is taken in consideration to calculate the command for system identification model?

  • @rajendrabhat4592
    @rajendrabhat4592 Před rokem

    Hello Brian,why cant we realize a derivative in control system?

  • @rinkukumar721
    @rinkukumar721 Před 3 lety +2

    Can you help to tune PID gains of a simulink model having multiple PID controllers at different levels (nested PID controllers)? Your help will be appreciated...

    • @jasperzoey1912
      @jasperzoey1912 Před 2 lety

      With the help of..DR RORPOPOR HERBAL ON CZcams i have been cured totally from PID....🤩🤩

  • @kumar9867
    @kumar9867 Před 5 lety +1

    Can you share your channel url

  • @ramonuhl9812
    @ramonuhl9812 Před 2 lety +1

    Hello, is there an example of how this would be done with system with multiple states that one wants to control? I have a Mecanical System (Ballbot) and the PID Block returns a vector although i have only one actuator (Motor with Omniwheel that creates Torque). I am getting an error message because of this. Greetings

    • @jasperzoey1912
      @jasperzoey1912 Před 2 lety

      With the help of..DR RORPOPOR HERBAL ON CZcams i have been cured totally from PID....🤩🤩

  • @himelo9993
    @himelo9993 Před 5 lety

    Hey! I have some questions about LDS and matlab. Can i ask you

    • @BrianBDouglas
      @BrianBDouglas Před 5 lety

      林政寬 sure! If I can’t answer then maybe someone at mathworks can.

  • @saira9130
    @saira9130 Před 2 lety

    While auto tuning I am getting an error "PID Tuner could not find an initial stabilizing controller using plant "

  • @luismesquita8202
    @luismesquita8202 Před 3 lety

    Video on PID control:
    czcams.com/video/71o4lFRBZnk/video.html

  • @siddheshnerurkar1167
    @siddheshnerurkar1167 Před 3 lety

    can someone give me the solution for laplace transform of the pid fucntion at 1:43

    • @carultch
      @carultch Před 4 měsíci +1

      It's a function with more zeros than poles, so first you need to reduce it from an improper fraction to a proper fraction:
      kd*s + kp + ki/s
      The inverse Laplace of a constant, is just the unit impulse function. The inverse laplace of s, is the derivative of the unit impulse, delta'(t). Only ki/s materializes as part of the time domain response in the long term, and the solution is just a constant with the unit step function.
      Thus, the time-domain solution is:
      kd*delta'(t) + kp*delta(t) + ki*u(t)
      It only really means anything for a control system, when you apply it in series with the plant you are controlling, and if applicable, connect a feedback loop.
      If you applied a unit step input, you'd get a time response of:
      kd*delta(t) + kp*u(t) + ki*t*u(t)

  • @sicknundope
    @sicknundope Před 3 lety

    after this lesson i use sandboxie still.

  • @Minji_Hanni_Dani_Haerin_Hyein

    5:16 khó hiểu