Simple Examples of PID Control

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 มิ.ย. 2024
  • Check out my newer videos on PID control! bit.ly/2KGbPuy
    Get the map of control theory: www.redbubble.com/shop/ap/550...
    Download eBook on the fundamentals of control theory (in progress): engineeringmedia.com
    In this video I continue the topic of PID control. We walk through a simple control system and visualize how each of the three paths, P, I, and D, all address specific problems that arise in a typical system. I try to use very little math in this lecture because I want to show you that at the foundation PID control is very intuitive. Most of it you can reason through.
    Errata:
    11:50 I should have increased theta for just a moment and then had it come back down to the same position at the end of the graph. This is because the pedal position would settle at the same value if the speeds before the chase started and after catching-up are same.
    I will be loading a new video each week and welcome suggestions for new topics. Please leave a comment or question below and I will do my best to address it. Thanks for watching!
    Don't forget to subscribe! Follow me on Twitter @BrianBDouglas!

ความคิดเห็น • 494

  • @nicktangent9188
    @nicktangent9188 8 ปีที่แล้ว +390

    When I studied control theory at university many years ago we started almost immediately into the math of Nyquist stability theory. The point seemed to be that our lecturer was a clever dude and we undergrads were a bunch of idiots who should read more. Maybe he was right, but his job was to change the error signal between our level of knowledge and his own: a nice problem in control theory that he thoroughly failed to resolve.
    I got more from your 14 minute video than I did from hours of his instruction. Nicely done. Thank you.

    • @xicabonga4889
      @xicabonga4889 3 ปีที่แล้ว +38

      Maybe his system was operating in open loop control, without a sensor to detect the error, or his controller wasnt tuned correctly to reach the reference value

    • @kcmichaelm
      @kcmichaelm 3 ปีที่แล้ว +7

      I am in my third (!) semester of Signals + Systems / control system undergrad courses. I’ve gotten A+’s in the first two semesters, and I can 100% say I have never received this sort of explanation of a PID system. We have learned all of the math behind it, but I have never had it explained what P, I, D actually does. I didn’t know the integrator was integrating the error signal (seriously... I didn’t), it was just never explained. It was just referenced as 1/s, and we had some rules stating when you could ignore 1/s because it wasn’t needed - but never a physical explanation of what it was doing. I wish I found this channel 2 years ago.

    • @abcxyz4207
      @abcxyz4207 3 ปีที่แล้ว +3

      @@kcmichaelm you can literally see at the definition that the integrator integrates the error signal lmao.
      u = K(e + 1/Tn intgrl(e) + Tv de/dt) = PID in time domain

    • @kcmichaelm
      @kcmichaelm 3 ปีที่แล้ว +2

      @@abcxyz4207 Was not taught any of that, but thanks for the reply

    • @theunstopablebullet
      @theunstopablebullet 3 ปีที่แล้ว +3

      Being a good engineer or academic doesn't necessarily translate to being good at educating.

  • @Jburdge10
    @Jburdge10 8 ปีที่แล้ว +520

    Took a whole class in mechatronics as a computer engineer. You managed to explain a whole semester's worth of confusion in a half hour between these two videos!

    • @Hamza-en3pz
      @Hamza-en3pz 7 ปีที่แล้ว +4

      i want to be a mechatronics engineer

    • @CarsonSchmeck
      @CarsonSchmeck 7 ปีที่แล้ว +1

      Go to CSU, Chico! We have a great Mechatronics program.

    • @BeeryGamer
      @BeeryGamer 6 ปีที่แล้ว +6

      How can this possibly be a semester's worth of study material?

    • @daesoolee1083
      @daesoolee1083 5 ปีที่แล้ว +2

      hahaha I agree on that lool I searched for the information about PID and read lots of them, but still I felt like something's missing and this video is just.., after watching the video, I felt like I should pay hh

    • @axellludvic3490
      @axellludvic3490 5 ปีที่แล้ว +3

      @@daesoolee1083 its a lot more complex than what is being explained, actually you need a strong knowledge in differential calculus to better understand it, there is something called Laplace transform hence the s symbols. Anyway good lecture.

  • @dirtdiamond360
    @dirtdiamond360 9 ปีที่แล้ว +223

    this guy is good at drawing!

  • @dannyca13
    @dannyca13 10 ปีที่แล้ว +116

    I must say I normally don't comment on videos, but you have an amazing ability to take a complex idea and make it simpler and interesting with great real world type examples. This is how schools should be teaching a combined math science curriculum that actually keeps student interested. I'm an engineer and thus have made it through a rigorous math science education and I wish I had this back when I took control systems. Bravo Sir and keep it coming.

  • @BrianBDouglas
    @BrianBDouglas  11 ปีที่แล้ว +26

    Yes! I'm taking a few weeks off for vacation but when I come back I'll be adding more controller design videos (PID included). I'm going to post a video series on how to design a control system for a real system from system identification to tuning and testing. Stay tuned!

  • @SwapnilNimbalkar
    @SwapnilNimbalkar 6 ปีที่แล้ว +42

    Hey Hi. I am not an engineer, I am building a quad and this video helped me a lot.
    Just wanted to say thank you.

    • @javierperez_21
      @javierperez_21 3 ปีที่แล้ว +3

      same here!

    • @maneki9neko
      @maneki9neko 3 ปีที่แล้ว +8

      well, if you keep up with this kind of self instruction, after a while, you will find that you are an engineer.

    • @oldcowbb
      @oldcowbb 3 ปีที่แล้ว

      @@maneki9neko seriously, these are hardcore stuff

  • @OAitchison
    @OAitchison 11 ปีที่แล้ว +5

    I wish lectures at my uni were presented like this. I think I've learnt more from Brian's videos in a couple of nights than I learnt in my entire introductory control subject last semester.

  • @joshdashti5920
    @joshdashti5920 8 ปีที่แล้ว +30

    on a serious note ! you are seriously talented man ! keep it up... im so glad that i found your videos... bravo sir.. you should be proud of your work

  • @1000chutku
    @1000chutku 7 ปีที่แล้ว +14

    wow..i was smiling through out the lecture...because i understood it.you teach so good.i wish i could become like you one day

  • @jessicasoltanieh6051
    @jessicasoltanieh6051 11 ปีที่แล้ว +5

    These videos are nothing short of completely amazing...from your background and tie to the math, back out to the physical objectives by example. HELPS SOO MUCH! WISH you were my professor would have done so much better in this class. Thank you.

  • @myerereynolds3752
    @myerereynolds3752 10 ปีที่แล้ว +2

    Great job sir. Very well explained. Anyone who thinks he's going to fast there's nothing stopping you from watching it again.

  • @yufeng23
    @yufeng23 9 ปีที่แล้ว +13

    you're totally awesome, I couldn't understand what my university lecturer is teaching and you basically summarized everything he taught in a short, concise and comprehensive video

  • @Ladida386
    @Ladida386 7 ปีที่แล้ว +18

    Where were you when I needed you? I`ve graduated in 2011 and this was my last exam.

  • @joeshort9871
    @joeshort9871 9 ปีที่แล้ว +4

    One semester worth of classes in just a couple of phenomenal videos! Thank you Brian. I have my exams coming up soon and these videos are a lifesaver.

  • @jmpascoe
    @jmpascoe 4 ปีที่แล้ว +2

    I looked through all kinds of material and videos trying to get my head around these concepts with little success. Most people start out with a bunch of formulas and technical jargon which makes it very hard for somebody who is new to the field. It had me thinking the most clever people are horrible at explaining things in understandable terms. Thanks to you, I now know that isn't always true. Thanks for taking the time to make this incredible and easy to follow video. If you have a patreon or similar I would be happy to make a donation for your trouble.

  • @CuthbertNibbles
    @CuthbertNibbles 9 ปีที่แล้ว +10

    I can't say I'm getting the whole thing, but in all fairness I'm not in university. This has greatly helped me understand what a PID is and what they do. Nice lecture, thank you!

  • @kevinonifade3021
    @kevinonifade3021 2 ปีที่แล้ว

    This might be the most beautiful analogy I've ever seen in my life

  • @lajosnemeth9690
    @lajosnemeth9690 7 ปีที่แล้ว

    Thank you for the very visual and easily understandable explanation about the PID concept! I'll share it to my friends as the greatest explanaition I've seen so far.

  • @stevensimpson6208
    @stevensimpson6208 5 ปีที่แล้ว +1

    My professor explained this and I was quite confused. I'm really glad I stumbled across your video. Thank you so much Brian.

  • @remcojustremco7745
    @remcojustremco7745 11 หลายเดือนก่อน +1

    This is so good! university classes always focus too much on the underlying mathematics without properly reasoning why it exists

  • @sergionacinovic3181
    @sergionacinovic3181 6 ปีที่แล้ว

    i had to stop watching just so i can compliment u on how simple is and easy to understand this video is.
    Thank you for your effort.

  • @YunK3I
    @YunK3I 7 ปีที่แล้ว

    You made the concept really easy for me to comprehend. I don't even need to go to classes, this class is way better. Appreciate it man!

  • @Skyentific
    @Skyentific 2 ปีที่แล้ว +1

    This is so beautiful!!! Excellent example.

  • @ashwatamirthalingam3855
    @ashwatamirthalingam3855 8 ปีที่แล้ว

    This is probably the first time I'm commenting on a TH-cam video: great job, it's so easy to understand. I hope you continue making more informational videos such as this!

  • @LowestofheDead
    @LowestofheDead 11 หลายเดือนก่อน

    This was the best explanation of PID I've ever seen - it actually had relatable examples.

  • @blackeyedraven6282
    @blackeyedraven6282 5 ปีที่แล้ว

    your work is wonderful. You presented the whole idea so easily and clearly . Frankly I have never seen any other teacher to make this topic so easy. Thank you sir.

  • @ashwinkumar-hb8tz
    @ashwinkumar-hb8tz 8 ปีที่แล้ว

    This was an amazing video,it proves to be really helpful for anyone trying to understand the basics of a PID controller ,thank you

  • @a1exm0rgan
    @a1exm0rgan 10 ปีที่แล้ว

    This helped me out a lot, thanks! It's hard to find thorough explanations but you did a great job.

  • @pedernucles
    @pedernucles 11 ปีที่แล้ว

    AWESOME! You made me understand in 13 min what I couldn't in a 4 month course! I give you my best teacher award

  • @Spottedlove
    @Spottedlove 10 ปีที่แล้ว +2

    love how you linked the videos in the box for the next video in the series

  • @Meditationsfindme
    @Meditationsfindme 7 ปีที่แล้ว

    Thank you for your work. It is so good. A good teacher can explain things simply. The work you put in your videos shows. Thanks

  • @user-oj9rn3qx5e
    @user-oj9rn3qx5e 2 ปีที่แล้ว

    well...6 years passed, I play a submarine PC game and find this vedio. Thanks a lot to make this theory so clear explained I have ever watch. I expect to understand the math behind, but your given example is just too good and help me get rid of it. Thanks again, respect!

  • @user-ue6il8zi1z
    @user-ue6il8zi1z 11 ปีที่แล้ว

    Wow such a gifted teacher 12mins of your videos saved me 5hrs of studying painful lectuer notes. Thank you:)

  • @andrewfox3046
    @andrewfox3046 9 ปีที่แล้ว

    I have watched a few of your videos, and you do a great job explaining your examples. Thanks for your help.

  • @HaHa-xk7nj
    @HaHa-xk7nj 4 หลายเดือนก่อน

    I watched this for a robotics programming thingie and I ended up learning something insanely interesting, thanks!!

  • @Amine-gz7gq
    @Amine-gz7gq 9 หลายเดือนก่อน

    This is the best explanation of PID control. Good job Brian !

  • @saulodx
    @saulodx 8 ปีที่แล้ว +1

    Nice! everything very well explained, very detailed and not boring at all to follow through!
    Good job man!

  • @Cody-rh9dp
    @Cody-rh9dp ปีที่แล้ว

    Nice work! I'm an industrial automation electrician, this is the best explanation I've ever seen. Thank you

  • @Postermaestro
    @Postermaestro 2 ปีที่แล้ว

    Back to this again since last time when I was in 2nd grade in university. Such high quality

  • @NiekBeenen
    @NiekBeenen 6 ปีที่แล้ว

    I wish I had proper youtube back in my child days (29 now). What would school have been so much more easier, resulting in learning even more in a shorter amount of time. No 'dry' text and pictures and brain wrecks. I'm a bit jealous and happy for my daughter the opportunities she have to educate herself. Thanks to people like you Brian!

  • @mohamedrushdy5336
    @mohamedrushdy5336 7 ปีที่แล้ว

    I didn't have much hope to understand the PID systems until I saw your 2 videos ....I've actually understood them quite well...Thanks

  • @chaddrobertson5805
    @chaddrobertson5805 2 ปีที่แล้ว +1

    Your lectures are fantastic. Thank you so much for making these!

  • @zachli9582
    @zachli9582 6 หลายเดือนก่อน

    this series of lectures deserves more views!

  • @matthewpeterson4638
    @matthewpeterson4638 4 ปีที่แล้ว

    These videos are some of the best on the internet. Thank you sir

  • @user-jf9dy8dg5f
    @user-jf9dy8dg5f 3 ปีที่แล้ว

    Every second of this video helps! Thank you so much!

  • @tyler7995
    @tyler7995 6 ปีที่แล้ว

    better than a month and a half of engineering lectures. saved my ass on exam 1

  • @BrianBDouglas
    @BrianBDouglas  11 ปีที่แล้ว

    Hello, yes you multiply by 's' in the differential path. Did I say or write '1/s' somewhere by mistake? I did I quick search through the video and couldn't find it. Could you point me to the time where you think the mistake was? Thanks!

  • @jangjg323
    @jangjg323 6 ปีที่แล้ว

    Very nice quick explanation on the concept of PID control. I appreciate your video

  • @mohamedmoatyhassan5125
    @mohamedmoatyhassan5125 5 ปีที่แล้ว +1

    A whole semester of Control Theorie explained in a 13 min video. Great job!

    • @rogeronslow1498
      @rogeronslow1498 2 ปีที่แล้ว

      Are you saying that you learned virtually nothing from a semester of control theory? Did you actually pass the subject?

  • @jfernandosimoes
    @jfernandosimoes 10 ปีที่แล้ว

    This is incredibly awesome. Fortunately I am done since long ago with exams but it was amazingly fun to watch. Please keep it up! Cheers!

  • @RayedWahed
    @RayedWahed 9 ปีที่แล้ว +1

    Thank you so much. Best conceptual introduction to PID on the web

  • @vasiq44
    @vasiq44 9 ปีที่แล้ว +1

    beast lecture. Helped me understand a very abstract concept. Great work!

  • @LaggyKikee
    @LaggyKikee 6 ปีที่แล้ว

    This was extremely helpful. All these transfer functions and PID controllers in class and they never explain what this all really does and means. You did that just right

  • @tumelomogale3939
    @tumelomogale3939 11 ปีที่แล้ว

    The two videos on PID are awesome and they helped me a lot as a student.

  • @duynguyentrancong9556
    @duynguyentrancong9556 7 ปีที่แล้ว

    wow !!! one of the most helpful and graphical educational video, i have ever seen !!! thank you so so much.

  • @muufcem8962
    @muufcem8962 2 ปีที่แล้ว

    You are the man, thanks by the way even 9 years ago your explanation is still the best

  • @SandeepJanjirala193
    @SandeepJanjirala193 10 ปีที่แล้ว +2

    I love this videos because it all real time life explanations....
    Thank you professor...I loved it

  • @C4rb0neum
    @C4rb0neum 10 ปีที่แล้ว

    I'm trying to learn this for a while now, but thanks to you I finally get the sence what I'm actualy doing with the calculations. The car example helped a lot to get things to make sense and I now finally understand what can go wrong with wrong gains. Thanks a lot.

  • @wsn1192
    @wsn1192 8 ปีที่แล้ว

    Thank You!!! Never got a better explanation of the system!

  • @alokdeshmukh7693
    @alokdeshmukh7693 8 ปีที่แล้ว

    great work man...!! the way you are making understand with examples is superb. its like explaining very complex industrial problems but the way teachers do in kindergarten. really helpful. thank you.

  • @alvaradooutdoor
    @alvaradooutdoor 10 ปีที่แล้ว

    Im trying to learn as much about PID as possible. What a great start

  • @nishyu9101
    @nishyu9101 5 ปีที่แล้ว

    This is such a nice example! it easily covers the exception which could arise with a solid understanding behind them.
    i am really Thankful to you for this Lecture.

  • @xDR1TeK
    @xDR1TeK 6 ปีที่แล้ว

    This is some good stuff. I was always curious. Never had feedback control courses before. This made a whole lot of sense.

  • @Spooniferus
    @Spooniferus 10 ปีที่แล้ว +1

    Yay, something useful on TH-cam. Thanks Brian!

  • @muhammadismail3098
    @muhammadismail3098 9 ปีที่แล้ว

    Well explained, easy to understand great teacher.
    Thank you.

  • @stevep.4540
    @stevep.4540 10 ปีที่แล้ว

    You are the best Brian. Thank you very much for your work.

  • @TheSarcasticEngineer
    @TheSarcasticEngineer 5 ปีที่แล้ว

    In my opinion, teaching is much more than understanding theory, explaining it, a good teacher can use imagination and analogies to inspire intuition in to their listeners. You, sir, have a knack for being a teacher. Have a nice day.

  • @marcojimenez9327
    @marcojimenez9327 5 ปีที่แล้ว

    2:07 Stuff like this needs to get phrased, we can all relate to but we never actually think about it this way, mind blown, amazing video.

  • @TheLitoPictureShow
    @TheLitoPictureShow 10 ปีที่แล้ว +1

    Wow, awesome!! you made my day with this. Cheers from Argentina.

  • @richsen
    @richsen 8 ปีที่แล้ว +7

    Your videos are awesome! Thanks and keep em coming!! :)

  • @shashwatdalakoti4998
    @shashwatdalakoti4998 3 ปีที่แล้ว

    Legend Explanation!! Give this guy a doctorate.

  • @wyattblah
    @wyattblah 5 ปีที่แล้ว

    Brian! If you were a stock, I would buy... You just can't beat this thorough explanation!

  • @mohammadmatar8076
    @mohammadmatar8076 11 ปีที่แล้ว

    Really good videos ,your channel is one of my favorites.
    Keep it up.

  • @iNotFound
    @iNotFound 10 ปีที่แล้ว

    Thank you for your video! Helped me to understand the PID.

  • @rajj1567
    @rajj1567 11 ปีที่แล้ว

    Hey Brian, you are just amazing !! Please keep your videos flowing....Thanks

  • @AJAY-wd6nl
    @AJAY-wd6nl 10 หลายเดือนก่อน

    Dear Brian, Thank you for sharing your knowledge as it was informative

  • @joetrovato7552
    @joetrovato7552 11 ปีที่แล้ว

    Great videos! These are a great supplement to my controls class. Post more PID Videos!

  • @lofergil
    @lofergil 11 ปีที่แล้ว

    Great videos!! And good understandable spoken english for non-english speakers, thank you!!

  • @mehdizarei9503
    @mehdizarei9503 6 ปีที่แล้ว

    It was very sufficient and easy to understand. You're great.

  • @williamsfamily5183
    @williamsfamily5183 5 ปีที่แล้ว

    This guy is amazing I appreciate all the videos

  • @DominicClifton
    @DominicClifton 10 ปีที่แล้ว +3

    Great work, thanks.

  • @swadhin3783
    @swadhin3783 5 ปีที่แล้ว

    Really amazed by the way u presented . Awesome work sir !!!

  • @150gerrit
    @150gerrit 11 ปีที่แล้ว

    First let me say that your tutorials are clear and with good sound quality. And you're the first technical person presenting technical stuff with joy, my wife tells me ("all the others sound either dull or depressed"). If my wife tells me so, you should take that as a big compliment ;-).
    At 4:21 you state that with proportional controllers the steady state error will be zero. How can that be, since you need an error to have your controller producing an ouput (output=gain*error)

  • @Lolaeem
    @Lolaeem 11 ปีที่แล้ว

    Thanks! Awesome tutorial! looking forwards to more pid examples.

  • @preethilakshminarasimhan7094
    @preethilakshminarasimhan7094 3 ปีที่แล้ว

    Thanks a ton! Your videos are helping me keep hope that I can understand Controls

  • @jaymounes9473
    @jaymounes9473 6 ปีที่แล้ว

    Your videos helped me program a 3D video game of respectable complexity :D!

  • @dhruvinrathod69
    @dhruvinrathod69 6 ปีที่แล้ว

    Hello Mr Brian, thank you for making this video.

  • @hari7591
    @hari7591 3 ปีที่แล้ว

    Brian, my dude, you are saving this poor engineering student's skin. thank you!

  • @taskinabdur-rahman3487
    @taskinabdur-rahman3487 2 ปีที่แล้ว

    Excellent explanation this helped me understand the content in my controls course . Thanks alot Brian.

  • @aadarshshetty
    @aadarshshetty 9 ปีที่แล้ว

    Hello Brian,
    Your lectures are more clearer than the university tuition's i had taken... Cheers to you

  • @petervlaar9610
    @petervlaar9610 7 ปีที่แล้ว

    Thanks for making this video it was a big help.

  • @mikemoore8929
    @mikemoore8929 10 ปีที่แล้ว

    Definitely answered a lot of questions for me! Thank you!

  • @stephenfrey3793
    @stephenfrey3793 27 วันที่ผ่านมา

    Awesome video! Thank you for creating it!!

  • @shruthimorsu
    @shruthimorsu 11 ปีที่แล้ว

    Thank you for the videos. They are very helpful

  • @rohan200411
    @rohan200411 9 ปีที่แล้ว

    Nicely explained, Thank you!

  • @jebarijihed
    @jebarijihed 9 ปีที่แล้ว

    the amizing fact that you're good to choose the most efficient exemple

  • @ajaysoni5370
    @ajaysoni5370 8 ปีที่แล้ว

    excellent lecture on control system

  • @junweima
    @junweima 10 ปีที่แล้ว

    this guy is a god, thanks so much for these great videos!

  • @youneselarabi1116
    @youneselarabi1116 4 ปีที่แล้ว

    Awesome explanation , thank you man

  • @jyothishkv
    @jyothishkv 2 ปีที่แล้ว

    Thanks Brian.. excellent explanation