Practical Implementation Issues with a PID Controller

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ • 84

  • @ignatiusjacquesreilly70
    @ignatiusjacquesreilly70 3 роки тому +19

    These videos are so high quality. I really like the extended, classroom-lecture-style videos. There are a lot of short 10 minute lectures on UA-cam, and many of them are quite good but nothing beats in-depth lectures when you really want to learn a topic. Thanks!

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

      Hi Ignatius,
      Thanks for the kind words, I'm glad you enjoyed the video. If the find the these videos to be helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. I'm also able to answer questions on Patreon in case you ever want to talk about any of the videos. Thanks for watching!
      -Chris

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

    I don't know how to thank you. You are one of the best teacher.

  • @DIYmaker1
    @DIYmaker1 3 роки тому +6

    Hey Christopher, I'm a control engineer and I must say it was an amazing lecture, thanks!

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

      Thanks for the kind words, I'm glad you enjoyed the video. If the find the these videos to be helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching!

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

    Hey professor. i couldn't thank more for your videos. Paying in millions at university but no one is there to teach like you and that too at free of cost. Once again thank you so much.LOVE FROM PAKISTAN

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

      Hi,
      Thanks for the kind words, I'm glad you enjoyed the video. If the find the these videos to be helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching!
      -Chris

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

      @@ChristopherLum i would but the card i am using is not accepting any international transaction. However i have forwarded your channel to all of my control system friends

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

      @@idreeskhan5129 No worries, thanks for sharing the channel and for watching, have a good day!

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

    As always, great video! I'm happy to be a patron. I thought I would comment that there is another reason to evaluate the integral in PID in the order Ki then the sum (discrete) / integral (continuous): (error -> Ki -> 1/s -> output). When changing the Ki coefficient, if you have Ki term preceding the sum, then any change to the Ki term will change the rate that the total integral term "changes". There will be no step discontinuities. If the sum precedes the Ki term, a change in the Ki term will result in a step change in the total integral term. This is almost never desired. When would you change the Ki term on a "hot" system? 1) When tuning on a test stand and 2) gain scheduling 3) when you switch your control law "off" temporarily. In addition, the Aerosonde example is a great example of how the whole problem could have been avoided by using this scheme. When switching from PID control to manual control, the Ki term could have been set to 0. If the Ki term precedes the integral sum, then the integral sum wouldn't build up and it's super easy to code this up (this does not eliminate the reason to limit the integral sum). Of course, this avoids the issue that a live control loop should never be left executing when not "hooked up" to anything. Leaving he forward path "broken" is the ultimate in non-linear control! :). Many thanks to Chris for making a video with such meaty topics!

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

      Great comment and great observations, thanks for sharing!

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

    AE511: Great lecture Chris! I liked the story about the Aerosonde.

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

    This is amazing, one of the best channels on UA-cam

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

      Potatorino,
      Thanks for the kind words. If you have questions or would like to request a video, please consider supporting the channel via Patreon at www.patreon.com/christopherwlum. I interact personally with Patrons at all levels. Thanks for watching!

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

    [AE 511]
    This lecture helped me understand the integrator part of the controller much better. The accumulation of error or wind up is much more clear.

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

      Great, hopefully this addresses your comments on the integrator state. Keep me posted on how the other videos go.

  • @mohamedfarrag3869
    @mohamedfarrag3869 3 роки тому +4

    I can't describe how great this video is ... thank you sir for Sharing your knowledge with us i am very glad

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

      Mohamed,
      Thanks for the kind words. If you have questions or would like to request a video, please consider supporting the channel via Patreon at www.patreon.com/christopherwlum. I interact personally with Patrons at all levels. Thanks for watching!

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

    thanks for a great video sir...in India we use word "GURU" for great teacher....and you are guru!! thanx a lot guruji

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

      DR RORPOPOR HERBAL on UA-cam changed my entire life with his herbal medicine. I appreciate you sir, for taken away my PID 🌿🌿

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

    Hi Chris, I loved the Aerosonde story and the way you tied it to the material. I've been a controls engineer for a while and I love the way you present the subject. I like how you highlight the physical meaning of theory-based insights, like the delay and disproportionate noise amplification inherent in the derivative or the subtlety the integral no longer commutes after saturation. Something I'd like to see is your take on how to go about discretizing a continuous-time design for the purpose of then implementing it on digital hardware. Considerations on forward/backward Euler vs Tustin vs others, etc. Keep it up!

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

      Hi,
      Thanks for the kind words, I'm glad you enjoyed the video. I find it is always fun to try and include stories if possible. If the find the these videos to be helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching!
      -Chris

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

      @@ChristopherLum I think I became a supporter on Patreon moments after leaving this message. Great work!

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

      @@thevaf2825 Thanks, I very much appreciate the support. Please feel free to message me on Patreon as I'm able to be much more responsive on that platform. Thanks again!

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

    Stuck with the controller of the Atomic Force Microscopy device and this video is much better to understand the PI controller. I hope to solve the problem soon. Thanks, Professor for such amazing videos on control theory along with Simulink

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

      Hi,
      Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. I can also answer any questions, provide code, notes, downloads, etc. on Patreon. Thanks for watching!
      -Chris

  • @ManojSingh-vv5mp
    @ManojSingh-vv5mp 8 місяців тому

    hi Christopher ... Started following your lectures on control .... They are amazing and simple to understand

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

    Thanks!

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

      Hi Eric,
      First let me say thank you for your generous support of the channel, it is very much appreciated!
      Do you have any particular interests in terms of videos or topics? I try to prioritize request made by interested parties as much as possible as I plan future videos.
      If you are interested, I interact personally with all Patreon members at www.patreon.com/christopherwlum. Given your interest in the topic, I'd love to have you as a Patron.
      In any event, I want to again say thank you for your contribution and for supporting the channel. I hope to hear from you at a future UA-cam video or on Patreon!
      -Chris

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

    AE511: This lecture going insane rn! 😎😎😎

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

      Re-watching today because it was so good👌🏂

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

    Thanks for uploading these videos, it's amazing!!

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

      I'm glad you enjoy them. Thanks for watching!

  • @FatherGapon-gw6yo
    @FatherGapon-gw6yo 6 місяців тому

    Brilliant lecture.

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

    Great work. I truly enjoyed this video. Thank you.

  • @andrewxavierrajirudayaraj528
    @andrewxavierrajirudayaraj528 3 роки тому +4

    Please upload "Introduction to PID controller " video sir

  • @alial-ghanimi8357
    @alial-ghanimi8357 3 роки тому +1

    Once more, another great vedio. Thanks a lot.

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

      Ali,
      Thanks for the kind words. If you have questions or would like to request a video, please consider supporting the channel via Patreon at www.patreon.com/christopherwlum. I interact personally with Patrons at all levels. Thanks for watching!

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

    Отличный урок, спасибо!

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

    when comparing two plots, u can put the arrows to same scope for ease of visualization, but ig u have figured it out by now, considering this video is 2 years old. Thank you for making such a crystal clear video

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

    Thank you Christopher it is necessary lecture

  • @TomStringer-f7u
    @TomStringer-f7u 13 днів тому

    Thank you Professor Lum. Really helpful videos for a tough application I am working on. Do you have some background on the integrator lookback window concept (Practical Implementation Issues with a PID Controller video) in simulink? Thanks again and I appreciate your work and dedication to teaching and control engineering.

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

    great lecture.....Thanks....keep doing......

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

      Hi Aakash,
      Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching!
      -Chris

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

    Hi Chris, thank you so much for these videos. Not sure if you know about Signal Viewer and how easy it is to use that (for viewing multiple signals together, separate, or whatever) instead of the scope blocks. All you'd need is just an output port for each signal you're trying to add to the Viewer. I discovered about this a few months back and it has made my life so much easier.

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

      DR RORPOPOR HERBAL on UA-cam changed my entire life with his herbal medicine. I appreciate you sir, for taken away my PID 🌿🌿

  • @NisaliThumara
    @NisaliThumara 10 місяців тому

    Today is my exam on control theory paper thank youuu ❤

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

    In case it is helpful, here are all my Control Theory videos in a single playlist ua-cam.com/play/PLxdnSsBqCrrF9KOQRB9ByfB0EUMwnLO9o.html. You can support this channel via Patreon at www.patreon.com/christopherwlum. Please let me know what you think in the comments. Thanks for watching!

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

    Great video sir

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

    This is amazing

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

      DR RORPOPOR HERBAL on UA-cam changed my entire life with his herbal medicine. I appreciate you sir, for taken away my PID 🌿🌿

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

    Great video

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

      Hi Zhang,
      I noticed you've been watching several of the videos on the channel. Thanks for watching and I hope you enjoyed the videos. Since you seem interested in engineering and control topics, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum . I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. I hope to hear from you on Patreon or on another video on UA-cam!
      -Chris

  • @JonesBlack-b4d
    @JonesBlack-b4d Рік тому

    Hi Christopher,
    Thanks for the video, I really enjoyed it.
    I want to know why we don't consider a lead-lag compensator instead of a PID to avoid noise amplification problem for derivative and integral windup problem for the integrator. I mean does PID have a spectacular benefit over lead-lag compensator that makes it the main option?

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

    AE511: It seems like the integrator is required to guarantee no steady state error but also has the most tendency to make the controller behave adversely.

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

      As Ben Parker said, "with great power comes great responsibility"

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

    AE511: Is there an analog to a pre filter and damping ratio? It seems like decreasing the coefficients you're effectively increasing the damping ratio of the system.

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

    Do you remember what signal you were using for the error term in the example you gave of a limited integral state vs limited output? When I set up a similar system and used a square wave as the input signal, I got the same output when limiting the integral block (what you called limiting the state of the integral) as when I put a saturation block on the output of the integrator. I think I'd understand the concept better if I knew what the input signal was, as I presume this is only an issue for certain types of functions/signals.

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

      Hi Ignatius,
      Thanks for reaching out, I'm glad you enjoyed the video. Unfortunately I'm unable to respond to questions on UA-cam due to the sheer volume of inquiries that I receive. That being said, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video as I'll be able to answer questions there. Given your interest in the topic, I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. Thanks for watching!
      -Chris

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

    Hi Chris, thank you so much for these videos. Would you please share the matlab/simulink code for this video? I tried to make matlab/simulink code based on this video and previous, but designing the guidance module is not presented here.

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

    AE511: This helps clear up some of the adverse behavior I was seeing in my use of the integrator in the previous homework. Is the decision of which nonlinear integrator fix (solutions 2-4) to use largely made via trial-and-error?

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

      Yes, this takes some experience/intuition. Because some are nonlinear fixes, we don't have good tools to design for them yet.

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

    Sir, do you have any idea about the implementation of Nonlinear controllers with analog circuits? As for PID, we can construct analog PID controllers by resistors, capacitors, and opamp, because they involve simple calculus, but nonlinear controllers involve very difficult and complex mathematics, so how to implement these controllers in real-world systems?

  • @michaeltamajong2988
    @michaeltamajong2988 9 місяців тому

    You know you are speaking fast when you almost loose your breath while speaking

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

    I can't find the introduction to PID video anywhere on your channel. Is it still available?

  • @Cosmic-Robotics
    @Cosmic-Robotics 2 місяці тому

    that random periodic auto refocus of that camera has made me question my eye sight.

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

    AE 511: Looking at the list of anti-windup solutions, I had made the assumption that solution 2 of disabling the integrator would be the easiest approach. I don't understand how having the "if statement" on the integrator would make the system non-linear... How would the system become non-linear?

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

      An if statement is a nonlinear operation as it fails super position

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

    Would there be any risk to applying prefilters to only the I and D terms, but leaving the P term unfiltered?

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

      Hi Andrew,
      Thanks for reaching out, I'm glad you enjoyed the video. Unfortunately I'm unable to respond to questions on UA-cam due to the sheer volume of inquiries that I receive. That being said, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video as I'll be able to answer questions there. Given your interest in the topic, I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. Thanks for watching!
      -Chris

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

    Integrator does not have any accumulation until t-w, in option 3.

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

    Sir pls about mathematical representation of rotary inverted pendulum pls pls

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

      Hi Fraol,
      Thanks for reaching out. If you have questions or would like to request a video, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. Thanks for watching!
      -Chris

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

    Does anyone know of a pid controller that will vary the voltage output rather than just cycle on and off. Thanks

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

      DR RORPOPOR HERBAL on UA-cam changed my entire life with his herbal medicine. I appreciate you sir, for taken away my PID 🌿🌿

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

    how can get your full lecture

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

      DR RORPOPOR HERBAL on UA-cam changed my entire life with his herbal medicine. I appreciate you sir, for taken away my PID 🌿🌿

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

    Good stuff sir, but pardon me. Audio is hard to follow, it sounds like your yelling even thou I have my sound at minimum. Maybe you have too much of gain or normalization. I guess you have some reason for over processing this audio. Thank you for great videos.

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

      Thanks for the feedback, I'll take a look at the audio processing. I'm glad you enjoyed the video. If the find the these videos to be helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching!

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

      DR RORPOPOR HERBAL on UA-cam changed my entire life with his herbal medicine. I appreciate you sir, for taken away my PID 🌿🌿

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

    The problem I have with these videos is that too much time is wasted drawing or wiring the equations. They should be done ahead of time. The information density is low. Most 'noise" is not really noise. It is due to low resolution feedback. The feedback signals are "quantized" by the resolution of the feed back. A fast sample time helps but feedback resolution is more important. I didn't like the statement at the end about poles and zeros don't apply to a modified PID. The derivative low pass filter adds poles and the integrator pole is valid as long as the controller doesn't go into saturation. If the system does go into saturation then the control is basically open loop anyway.

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

    I don't know how to thank you. You are one of the best teacher.

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

      Hi Ajeet,
      Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. I can also answer any questions, provide code, notes, downloads, etc. on Patreon. Thanks for watching!
      -Chris