Simple Examples of PID Control

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 498

  • @nicktangent9188
    @nicktangent9188 9 років тому +438

    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 4 роки тому +43

      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 4 роки тому +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 роки тому +4

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

  • @Jburdge10
    @Jburdge10 9 років тому +549

    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 6 років тому +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 6 років тому +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.

  • @dannyca13
    @dannyca13 11 років тому +120

    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.

  • @cremedeju
    @cremedeju 10 років тому +230

    this guy is good at drawing!

  • @SwapnilNimbalkar
    @SwapnilNimbalkar 7 років тому +43

    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 4 роки тому +3

      same here!

    • @maneki9neko
      @maneki9neko 4 роки тому +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

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

      Done with the quad?

  • @joshdashti5920
    @joshdashti5920 8 років тому +31

    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

  • @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.

  • @joeshort9871
    @joeshort9871 9 років тому +5

    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.

  • @1000chutku
    @1000chutku 8 років тому +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

  • @yufeng23
    @yufeng23 10 років тому +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

  • @jessicasoltanieh6051
    @jessicasoltanieh6051 12 років тому +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.

  • @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.

  • @ベトコン-g5p
    @ベトコン-g5p 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!

  • @CuthbertNibbles
    @CuthbertNibbles 10 років тому +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!

  • @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.

  • @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.

  • @stevensimpson6208
    @stevensimpson6208 6 років тому +1

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

  • @Cody-rh9dp
    @Cody-rh9dp Рік тому

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

  • @user-ue6il8zi1z
    @user-ue6il8zi1z 11 років тому

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

  • @mohamedrushdy5336
    @mohamedrushdy5336 8 років тому

    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

  • @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

  • @NiekBeenen
    @NiekBeenen 7 років тому

    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!

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

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

  • @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.

  • @Ladida386
    @Ladida386 8 років тому +18

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

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

    This is so beautiful!!! Excellent example.

  • @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!

  • @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)

  • @marcojimenez9327
    @marcojimenez9327 6 років тому

    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.

  • @Amine-gz7gq
    @Amine-gz7gq Рік тому

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

  • @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

  • @matthewpeterson4638
    @matthewpeterson4638 4 роки тому

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

  • @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.

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

    this series of lectures deserves more views!

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

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

  • @Fuwinaaaa
    @Fuwinaaaa 11 місяців тому

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

  • @blackeyedraven6282
    @blackeyedraven6282 6 років тому

    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.

  • @ashwatamirthalingam3855
    @ashwatamirthalingam3855 8 років тому

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

  • @BrianBDouglas
    @BrianBDouglas  12 років тому +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!

  • @tyler7995
    @tyler7995 7 років тому

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

  • @MateLombard
    @MateLombard 8 років тому

    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.

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

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

  • @alvaradooutdoor
    @alvaradooutdoor 11 років тому

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

  • @tumelomogale3939
    @tumelomogale3939 11 років тому

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

  • @wyattblah
    @wyattblah 6 років тому

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

  • @RayedWahed
    @RayedWahed 9 років тому +1

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

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

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

  • @Spottedlove
    @Spottedlove 10 років тому +2

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

  • @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

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

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

  • @Coherent-Wave
    @Coherent-Wave 4 роки тому

    I really liked the frequency and output example at around 2:00 . amazing!

  • @BrianBDouglas
    @BrianBDouglas  11 років тому

    Hello Adwait, great catch! You are absolutely right. At 11:50 I should have increased theta for just a moment and then had it come back down to the same position. I'll make an annotation and add this correction to the errata in the description. Thanks for finding that.

  • @mohamedmoatyhassan5125
    @mohamedmoatyhassan5125 5 років тому +1

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

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

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

  • @duynguyentrancong9556
    @duynguyentrancong9556 7 років тому

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

  • @saulodx
    @saulodx 9 років тому +1

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

  • @BrianBDouglas
    @BrianBDouglas  11 років тому

    Thank you for the big complement! As for the P controller, you are correct in the general case. However, I applied a little control system trickery! The error did go to zero, so the output of the law was zero, hence no steady state error. The reason I was able to get away with this was because the output from the controller represented a change in pedal position and not an absolute pedal position. Once the velocity error went to zero, stop moving the pedal, and the velocity will remain constant.

  • @jangjg323
    @jangjg323 6 років тому

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

  • @aadarshshetty
    @aadarshshetty 9 років тому

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

  • @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

  • @hari7591
    @hari7591 4 роки тому

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

  • @AeolusCapital
    @AeolusCapital 8 років тому +1

    Instead of replying to all your videos: thank you for these great videos! They are really helpful. You go pretty fast, but on the other hand if you already studied the material but still did not get enough 'ahah!' moments, then this is helpful. But hé, .. we also have a pauze button!

  • @jfernandosimoes
    @jfernandosimoes 11 років тому

    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!

  • @a1exm0rgan
    @a1exm0rgan 11 років тому

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

  • @lofergil
    @lofergil 11 років тому

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

  • @TheRaceEngineer007
    @TheRaceEngineer007 8 років тому

    you helped me out with a good resume and making everything clear. My teacher is going way to fast for all students in lecture. One down side... the real problem I have in the lectures are not in the videos (cascade regulator, position and speed regulator in a car, with accelerate and decelerate limits). But they help really much!

  • @simonbramble
    @simonbramble 5 років тому

    Einstein said that if you cannot explain something simply, you don't fully understand it. You must be the next Einstein. That was sooo simple it was amazing. Thanks very much for sharing such a complicated subject, but in such a simple way. More text books should be written with your style - the world would be a better place

  • @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.

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

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

  • @alokdeshmukh7693
    @alokdeshmukh7693 9 років тому

    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.

  • @marbrydav9698
    @marbrydav9698 7 років тому

    Thanks for the video! I'm a first year mechatronics engineering student from Canada about to start some personal projects!

  • @Ibraherpderp
    @Ibraherpderp 7 років тому

    I am so glad that I am taking these courses after 2012.

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

    Legend Explanation!! Give this guy a doctorate.

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

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

  • @tayu1416
    @tayu1416 7 років тому

    I'm a cs student working on a project relating physics-based simulated skeleton animation. Reading those robotics papers is really difficult for me since I dont have any knowledge mech engineering. Your vids help me alot!

  • @andrewfox3046
    @andrewfox3046 10 років тому

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

  • @wsn1192
    @wsn1192 8 років тому

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

  • @xDR1TeK
    @xDR1TeK 7 років тому

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

  • @ninamira5755
    @ninamira5755 4 роки тому

    Hey, hope u gonna see my comments it's kinda late but the book about control theory uv been writing it's more then great and helpful , shortly it's a must read for every control engineering student .
    Thank u

  • @BrianBDouglas
    @BrianBDouglas  12 років тому

    Hello again Raed. Is it too hard to follow? I was concerned that it wasn't clear enough when I was finishing it up. I'm taking the next 2 weeks off but when I get back I'll see what I can do to make it easier to understand. Thanks for the comment.

  • @jaymounes9473
    @jaymounes9473 7 років тому

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

  • @vasiq44
    @vasiq44 9 років тому +1

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

  • @FlamencoDeniz
    @FlamencoDeniz 8 років тому +2

    In the very last example at 11:40 isn't the P controller supposed to go UP first and then down? Assuming it controls the angle of the gas pedal in this example, and going up means accelerating (unless I misunderstood something in there). Thanks if someone answers.

  • @AJAY-wd6nl
    @AJAY-wd6nl Рік тому

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

  • @SandeepJanjirala193
    @SandeepJanjirala193 11 років тому +2

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

  • @jebarijihed
    @jebarijihed 10 років тому

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

  • @daff23
    @daff23 10 років тому +1

    at 6:20 you drew the traffic lights with red at the bottom :)

  • @rajj1567
    @rajj1567 12 років тому

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

  • @taskinabdur-rahman3487
    @taskinabdur-rahman3487 2 роки тому

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

  • @stevep.4540
    @stevep.4540 10 років тому

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

  • @mohammadmatar8076
    @mohammadmatar8076 11 років тому

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

  • @swadhin3783
    @swadhin3783 6 років тому

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

  • @BrianBDouglas
    @BrianBDouglas  12 років тому

    Also, humans themselves are control systems. For example, if you try to walk from your kitchen to your bedroom, you accomplish this with feedback control. Your eyes are the sensors and your legs are the actuators. Your brain (controller) adjusts when to turn and how fast to walk using eyes as feedback. Also, your internal temperature control keeping you at 98.6 degrees is another controlled system in your body. There are tons of examples like this with humans.

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

      Sincerely i enjoyed the instructions of the lecture but the example part which is this i still have issue please i can used steam plant for explainations

  • @mehdizarei9503
    @mehdizarei9503 7 років тому

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

  • @mikkus88
    @mikkus88 11 років тому

    If you are talking about adding the 1/s term at 05.43 in the video: When you go from velocity (xdot) to position (x), that is following the arrow (from left to right) in the block diagram, you multiply with 1/s (integrate). When you go from postion (x) to velocity (xdot), that is the opposite way of the arrow (from right to left), you divide by 1/s wich is the same at multiplying by s (differentiation).

  • @Trunks7890
    @Trunks7890 12 років тому

    Just had my control systems exam and your videos on frequency response helped clear out my doubts in that area. Thank you for the videos and please keep up what you are doing. I'll be back in the future to brush up on some of these concepts as a practicing engineer :)

  • @joetrovato7552
    @joetrovato7552 12 років тому

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

  • @TheLitoPictureShow
    @TheLitoPictureShow 11 років тому +1

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

  • @richsen
    @richsen 9 років тому +7

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

  • @sudarshanp94
    @sudarshanp94 7 років тому

    wow... i had read about pid tons of times in my graduation years but this video made me realize what they actually mean

  • @williamsfamily5183
    @williamsfamily5183 6 років тому

    This guy is amazing I appreciate all the videos