What Is PID Control? | Understanding PID Control, Part 1

Sdílet
Vložit
  • čas přidán 21. 05. 2018
  • Chances are you’ve interacted with something that uses a form of this control law, even if you weren’t aware of it. That’s why it is worth learning a bit more about what this control law is, and how it helps.
    PID is just one form of feedback controller. It is the simplest type of controller that still uses the past, present, and future error, and it’s these primary features that you need to satisfy most control problems. That is why PID is the most prevalent form of feedback control across a wide range of physical applications.
    However, often when learning something new in control theory, it’s easy to get bogged down in the detailed mathematics of the problem. So, this video skips most of the math and instead focuses on building a solid foundation.
    Explore the fundamentals behind PID control.
    - Download Code Examples to Learn How to Automatically Tune PID Controller Gainshttps: bit.ly/2HKBh12
    PID Control with MATLAB and Simulink: bit.ly/2Qg57y8
    PID Control Made Easy: bit.ly/2Q7Hhor
    Watch more MATLAB Tech Talks: bit.ly/2rTc8Yp
    Check out more control system lectures on Brian's Channel: bit.ly/2IUlvkw
    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 • 527

  • @symik3
    @symik3 Před 6 lety +923

    Holy shit, This 12minutes was much more useful than my 2 semester of Control systems.

    • @ekanshsharma1507
      @ekanshsharma1507 Před 5 lety +14

      dang...i feel the same >

    • @patrick0101
      @patrick0101 Před 5 lety +3

      Same here...

    • @RupeshKumar-nw6cg
      @RupeshKumar-nw6cg Před 5 lety +3

      I also in my 5th sem. Exam

    • @muhammadnatsirrahman6720
      @muhammadnatsirrahman6720 Před 5 lety +3

      Yeach that's right... agree 👍

    • @summerraiin90
      @summerraiin90 Před 5 lety +27

      That’s usually the case if you heard of something before and someone comes by and explains in a little different way. Everything you heard in class just seems to finally connect. If you never heard of something before that video might be helpful but still leaves you with tons of questions for the actual details

  • @76Raby
    @76Raby Před 5 lety +321

    Best PID explanation I ever heard.

  • @ThomasFerguson22
    @ThomasFerguson22 Před 3 lety +511

    Learned more in these 11 minutes and 41 seconds than I did all semester in my Feedback Control Systems and Instrumentation classes

    • @unsearchablethings8167
      @unsearchablethings8167 Před 3 lety +22

      I’ve got a M.Sc. in control theory. They don’t teach the practical part of it enough, particularly in undergraduate engineering. At least nowadays we can run simulations like with simulink and get a good idea of how to tune up a controller.

    • @MrSlaughtematic
      @MrSlaughtematic Před 3 lety +7

      Top comment is not hyperbole

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

      Same here😂

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

      The video creator has his own channel with lots of great intuitive explanations

    • @HolmbergarnSH
      @HolmbergarnSH Před 2 lety +14

      Engineering classes seem to focus alot on math and little on conceptual understanding prior to math.

  • @timsmit6685
    @timsmit6685 Před 6 lety +303

    I spent a shit load of time studying control systems in college, always learning something but never really understanding what the actual f**k it's on about. If only someone made a video like this at the beginning, it would have been a lot different. TY for this very good explanation.

    • @IMRANPATHAN-oy1yb
      @IMRANPATHAN-oy1yb Před 5 lety +12

      I did master's in control systems, I fucked up 2 years. Better I would have learnt by self and online material 😂😂😂😂. So much pain in my heart 💔 😭😭 after doing time pass for 2 years

    • @ericgilkey3549
      @ericgilkey3549 Před 5 lety +19

      Videos like these are important, but you will never really learn control systems until you study and understand the "boring" theory and math.

    • @carloscamargo624
      @carloscamargo624 Před 4 lety +14

      @@ericgilkey3549 Problem is, we get really good at the "boring" part with zero understanding or ability to apply the knowledge at all. We're karateka's who've never sparred.

    • @sankarraj608
      @sankarraj608 Před 4 lety

      Language

    • @khalefmohamedamine1306
      @khalefmohamedamine1306 Před 4 lety

      totally agree

  • @zouzounada1338
    @zouzounada1338 Před 3 lety +176

    This is the greatest simple explanation of PID controllers that I have ever watched. It helps you to understand why there is a proportional and integral and derivative controllers. Thank you so much for this video .

    • @nadiaakter9351
      @nadiaakter9351 Před 10 měsíci

      Can anyone please explain, why after controlling it became walking speed? At first it was error between reference point and altitude. Then why it became speed after using PID controller.
      Please explain

    • @alchandeck6471
      @alchandeck6471 Před 7 měsíci

      @@nadiaakter9351 The controller takes as input the "error signal" (which is the distance between the desired altitude and the actual drone altitude) and outputs the input to the drone (the propellers' speed). You need to think about what are the actuators of your plant and what can you control. Your plant (Drone) has 4 independent actuators (4 propellers) for which you can control their rpm/speed (via providing more current). So, your controller takes as input the difference in altitude ("error") and and tells each propeller how fast to spin in order to reach the desired altitude. Hope that helps.

  • @yosefstanton5470
    @yosefstanton5470 Před 5 lety +17

    You're the only person in everything I've found who explains it! Saved my life!

  • @wiloberlies9598
    @wiloberlies9598 Před 6 lety +87

    This is great Brian, congratulations on teaming up with MATLAB...I'll continue to support your Patreon work, and this is a really nice addition to that body of work. Thanks again.

    • @madhavansudhakar3295
      @madhavansudhakar3295 Před 3 lety

      Congrats on teaming up with MATLAB. The combination of your videos explains concepts with great clarity.

  • @douglasnavarro8156
    @douglasnavarro8156 Před 4 lety +3

    I've watched many videos from Brian Douglas at his own channel quite a few years ago and this seems to be an ultimate, distilled version of many videos and it is extremely didactic and clean. Congrats!

  • @YMARihab
    @YMARihab Před 5 lety +38

    I got B in my control systems course , my teacher hardly ever bought up any real life example , and I was just in it for passing grade , thank you for making this interesting again.

  • @en.smiler2277
    @en.smiler2277 Před 5 lety +3

    I got my bachelor degree for almost 4 years still blurred but just only spend time within 11.41 minutes really made me truly understand about PID system. Whats a great such a explaination!Many thanks

  • @micahcarrillo8281
    @micahcarrillo8281 Před 2 lety +9

    This has been the best PID summation I've seen so far and has helped me tremendously with 3d printer heat control problems! Well done. kept is simple for someone who's terrible with math. the Hover drone example was the best analogy. thank you!

  • @realkanavdhawan
    @realkanavdhawan Před rokem +11

    Brian Douglas is a phenomenal teacher
    His teaching reflect the amount of grip he has in the subject

  • @sampathjoshi1054
    @sampathjoshi1054 Před 4 lety +14

    Salute to you! After spending very long time in trying to figure out the topic did so in astonishingly a short time! You are indeed a good teacher! From India.....Love you!

  • @jean-luchoxha8365
    @jean-luchoxha8365 Před 5 lety +10

    Glad to see this video before my exam tomorrow. I've never seen such a useful video. Thank you Brian!

  • @1722mayur
    @1722mayur Před 4 lety

    The knowledge you have gained lets you explain this concept so easily rather than half minded CZcamsrs how can't explain why PID is really used. This video is a great example of Feynman's technique.

  • @nathanmurfey4959
    @nathanmurfey4959 Před 3 lety

    Brian you are literally my hero. You're videos have been helping me for like 5 years now.

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

    Thank you so much for your work!! I am going to graduate as an electronic engineer this year and this is the first time I understand how a PID really works! Saludos desde España!

  • @caducoelho2221
    @caducoelho2221 Před 5 lety +22

    THIS IS SIMPLY BEAUTIFUL, MADE ME SMILE OUT OF SATISFACTION OF GETTING IT!

  • @kerimmoral
    @kerimmoral Před 6 lety +5

    Well that voice and black screen teaching couldn't be someone else! Thank you again Brian!

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

    Now THIS is teaching! I found this video more helpful than the two courses on controls engineering that I completed a while ago at my uni.

  • @alvaritosatu
    @alvaritosatu Před 6 lety +4

    That must be first class for Computer Control students! A really intuitive approach to PID control

  • @kenlipper874
    @kenlipper874 Před 4 lety +3

    Great explanation! I've been trying to get my head around PID tuning as applied to my racing quadcopters. This really helped!

  • @classyjohn1923
    @classyjohn1923 Před 4 lety +1

    Hey Brian, I found this version of your explanation of PID controllers to be easier to digest than your previous video.

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

    Greatest control systems content on the internet.

  • @drumrocket99
    @drumrocket99 Před 2 lety +14

    I am studying Electrical Engineering and after already passing Control Theory this is by far the best explanation to introduce this subject! Great Job!

    • @jasperzoey1912
      @jasperzoey1912 Před 2 lety

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

  • @tomylim6022
    @tomylim6022 Před 5 lety +3

    I had watched so much PID videos and this explained the best among all others with a very good example situation too

  • @chrischen5518
    @chrischen5518 Před 3 lety

    The BEST explanation of PID controller for beginners I've found so far. Thank you!

  • @1612ydraw
    @1612ydraw Před 5 lety +12

    Fantastic simple explanation of a quite complex idea. Great video series.

  • @StandforTr00th
    @StandforTr00th Před 4 lety +6

    Brian!! Honestly, I was thinking of dropping out of my Controls course but because of you I'm staying. Keep it up

  • @glasswhite3255
    @glasswhite3255 Před 2 lety

    Incredible. It only took 11minutes and 30 seconds to fully understand why P, I, D each stands for present, past, future errors. Thank you!

  • @5jkimmels
    @5jkimmels Před 3 lety +1

    Incredible job of imparting a meaningful understanding!!! Masterful job of conveying the basics of PID controllers ... and of showing the shortcomings of universities. Thanks!

  • @soupe2000
    @soupe2000 Před rokem

    I swear I was understanding nothing to PID controllers in class, this video did such an excellent work at simplifying just for us to get the concept and understand the point of the PID
    This is absolutely amazing, I feel so better tnow

  • @QnAAs89
    @QnAAs89 Před 4 lety +12

    THIS IS THE BEST VID EVER THAT EXPLAINS THIS SH** !! A WHOLE SEMESTER WORTH OF TIME.

  • @AbrarShaikh2741
    @AbrarShaikh2741 Před 6 lety +281

    Brian is on MATAB 😍😍😍

  • @wissalzaher4868
    @wissalzaher4868 Před 3 lety

    It can't get better than this explanation quality ! THANK YOU :)

  • @Prasadkr1011
    @Prasadkr1011 Před 3 lety +1

    Great explanation. You nailed it... Awesome. Nobody has explained so good. I was searching for the video with example and I found this. Simply awesome. Thanks alot.

  • @pravallikayadav4283
    @pravallikayadav4283 Před 4 lety

    Whoever made this video, is awesome, love you, man. Thanks a lot for making such an informative video in layman language.

  • @maximedesmarais-laporte
    @maximedesmarais-laporte Před 3 lety +1

    I am a student in robotics engineering and this video was more relevant then 3 years of my university. Realy nice!

  • @LubeBar
    @LubeBar Před 4 lety +1

    I wish i’ve had a teacher like Brian, congrats master!

  • @juninoamar
    @juninoamar Před 5 lety +3

    Thanks Brian, now i do understand how PID controlled system works... thumbs up.

  • @MateuszPolkowski
    @MateuszPolkowski Před 3 lety +1

    This is exactly what I needed presented exactly the way I needed it. Thank you!

  • @mustafapicak8345
    @mustafapicak8345 Před 3 lety +4

    At the end of the video, you say thank you, thank you mainly for putting our 1-semester course into 12 minutes with such a simple explanation.
    As Einstein said, If you can't explain it simply, you don't understand the subject.
    I can set everything up simpler now. I am grateful to you.Yours truly.

  • @anshumansharma6758
    @anshumansharma6758 Před 4 lety +1

    Can controls be this interesting? I am in awe. Thanks man! Awesome video.

  • @vikasbansal4180
    @vikasbansal4180 Před 3 lety +1

    Explaination is beyond excellent. I wrote it down all every word u say and all that. It take 14 pages and 2&half hour. 👏👏👏🙌🔥🔥

  • @sandeepsingh-ly9nh
    @sandeepsingh-ly9nh Před 5 lety +5

    Thanks man! Cannot be better explained! Salute!

  • @elizabethswathika
    @elizabethswathika Před 2 lety

    Thanks so much for this playlist !!! Everything I have learnt about PID control is by watching your videos

  • @dosomethingdrones
    @dosomethingdrones Před rokem

    Best video I have seen on PID control yet !

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

    nice work.
    am learning better from you than from my professors in school. more power to your elbows

  • @achuarjun07
    @achuarjun07 Před 3 lety

    The best PID explanation video i have come across as well. Awesome man

  • @roubarizkallah2172
    @roubarizkallah2172 Před 3 lety +3

    Great teacher, great video, you make it seem so easy and logical but now I do realize my python project is much harder than I thought considering all these variables in order to make the drone go from a point A to a point B without hitting obstacles.

  • @ahmetozbekler
    @ahmetozbekler Před 3 lety

    Thanks for the video. You told things very clear, simple and understandable. The best video to explain what is PID.

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

    Dude you're on Matlab. I'm so happy for you!!

  • @shubhamsingh9142
    @shubhamsingh9142 Před 4 lety

    brian your are awesome this is by far the best introductory explanation of PID controller that I have seen. great job man

  • @ozyurtc
    @ozyurtc Před 4 lety

    This vıdeo literally sums up everything my prof's been trying to teach for this past two weeks

  • @justinchang6763
    @justinchang6763 Před 4 lety

    This is the best explanation that I have ever seen from by birth to 5/12/20!!

  • @ddskimmer
    @ddskimmer Před 5 lety

    Brian...I preach the Bible. I learned a little while ago...about infinity when looking at the exact point in the sine wave diagrams...that the one instance in a particular slice of time...the single point...is infinite...and it is a straight line...no matter what the shape is at any point in time it is a straight line.
    Newton was a minister of the Word of God...in case you didn't know this...he was a preacher as well. Now in the Bible we have John 1 verse 1; In the beginning was the Word and the Word was God; 2 The same was in the beginning with God.
    In Ezekiel we find something interesting...which blew my mind when I heard the explanation of the single point on the sine wave being straight line. Straight. This passage describes God as not only straight in all directions but where ever he moves...the universe gives way for Him to pass! He is Straight. Here:
    Ezekiel 1
    4 And I looked, and, behold, a whirlwind came out of the north, a great cloud, and a fire infolding itself, and a brightness was about it, and out of the midst thereof as the colour of amber, out of the midst of the fire. 5 Also out of the midst thereof came the likeness of four living creatures. And this was their appearance; they had the likeness of a man. 6 And every one had four faces, and every one had four wings. 7 And their feet were straight feet; and the sole of their feet was like the sole of a calf’s foot: and they sparkled like the colour of burnished brass. 8 And they had the hands of a man under their wings on their four sides; and they four had their faces and their wings. 9 Their wings were joined one to another; they turned not when they went; they went every one straight forward. 10 As for the likeness of their faces, they four had the face of a man, and the face of a lion, on the right side: and they four had the face of an ox on the left side; they four also had the face of an eagle. 11 Thus were their faces: and their wings were stretched upward; two wings of every one were joined one to another, and two covered their bodies. 12 And they went every one straight forward: whither the spirit was to go, they went; and they turned not when they went.
    When Jesus Christ walked on earth, all the miracles He performed and all the marvels He did were all against the laws of nature...the walking on water, raising the dead, healing the sick...all against the laws of nature...for He was God Incarnate...is what the Bible teaches us...perfection.
    So, it is when you do an inverse operation in calculus...God's ways are opposite of ours...inverse of our wisdom, understanding and logic...for it is by Faith...His Faith where we live. God Bless and thank you.

  • @ved.shankar
    @ved.shankar Před 5 lety +4

    Congrats with your collab. on MATLAB, Brian!

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

    Never understood control systems so well. Thank you

  • @pedro449
    @pedro449 Před 4 lety +1

    Thank you very much Brain for the clear explanation. I finally understood what PID really means and what it does. Really appreciate it 👍👍👍😊

  • @rogerioantonio4134
    @rogerioantonio4134 Před 8 měsíci

    Cristal clear explanation!! Finally I was able to undestand where de PID came from!!

  • @shanmughamr6262
    @shanmughamr6262 Před 4 lety

    Fantastic ... crisply explained .... pinpointedly explained never ever understood PID as this did ... thank you

  • @albertardanuy7468
    @albertardanuy7468 Před 17 dny

    This is exactly what needs to be taught at the beginning of a control engineering course, not the endless "s formulas" that make students clueless about its real life meaning

  • @freggeskos
    @freggeskos Před 3 lety

    Explaining something very good it means you know it 100x times even better. Lots of clueless teachers are in universities these days

  • @user-jg2xf3pj1z
    @user-jg2xf3pj1z Před 3 lety

    Simple, easy to understand example to explain PID.

  • @shubhamroy9438
    @shubhamroy9438 Před 4 lety +3

    I hope they teach this way in my college. Thank you Brian. U r god for electrical and electronics engineers. Love from India. :)

  • @samalfellah2066
    @samalfellah2066 Před rokem

    One if the most informative videos on this matter in all youtube

  • @StemLabsOfficial
    @StemLabsOfficial Před 4 měsíci

    "This PID controller video couldn't have come at a better time for me! I'm currently building a drone, and I was struggling to find clear guidance on how to implement altitude changes effectively. Surprisingly, there was little information on CZcams until I stumbled upon this gem. The explanations were crystal clear, and I now feel much more confident in tweaking the PID settings to achieve precise altitude control. Thanks a ton for making such an informative and easy-to-understand video! 🚁👏"

  • @weiyanghou1451
    @weiyanghou1451 Před 4 lety +3

    Great video! The PID controller is explained well from the perspective of actual engineering ,very useful!

  • @soufianattar4554
    @soufianattar4554 Před 5 lety +6

    Give this man a medal

  • @jpb2085
    @jpb2085 Před 4 lety +1

    Excellent, crystal clear explanation, thanks!

  • @user-jo2we9px6j
    @user-jo2we9px6j Před 4 měsíci

    Learned more in these 11 minutes and 41 seconds than I did all semester in my Feedback Control Systems and Instrumentation classes.

  • @marcelb6214
    @marcelb6214 Před rokem +1

    Finally I understand how a PID works. I really like the analogy with the hovering drone

  • @dennisqian5980
    @dennisqian5980 Před 4 lety

    Hi Brian! I subscribed to the MATLAB channel because of you. Thanks again for making so many great videos!

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

    that was the clearest explanation at all!
    thank you very much :) :) :)

  • @bentripn
    @bentripn Před 4 lety +1

    Excellent video explaining PID! Thank you!!!

  • @SubiCarLous
    @SubiCarLous Před rokem

    Old but gold! Nice video!

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

    just loved the content and brilliant presentation. thank you :)

  • @lapischicken
    @lapischicken Před 4 lety +2

    That's genius. Thanks for making this absolute beauty of a video.

  • @sleepysuperman
    @sleepysuperman Před 3 lety

    Amazing yet simple explanation. Very well done.

  • @e-chira2774
    @e-chira2774 Před 2 lety

    Best ever explanation for PID controllers

  • @jacco9585
    @jacco9585 Před 2 lety +2

    I see a lot of people in the comments saying that this was more useful than all the lectures at school. My lecturer was smart. He gave us this video at the first lecture of the semester.

  • @Brono25
    @Brono25 Před 2 lety

    One of the best explanations on anything

  • @power3948
    @power3948 Před 2 lety

    This video gives me a concept about pid in a short time. Excellent video.

  • @deshengwang3364
    @deshengwang3364 Před 3 lety +1

    Really the Best PID explanation I ever heard !!!

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

    So much information in one less than 12mins :)

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

    Best pid explanation I ever seen/heard . Good work !! ❤️

    • @jasperzoey1912
      @jasperzoey1912 Před 2 lety

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

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

    i wanna say If you want to be a control engineer and if you don't follow Brian's Channel, i bet you can only reach half the way to your dreams. You are Great Brian.

  • @mnada72
    @mnada72 Před 3 lety

    I am coming here after to follow Brian's videos after watching all the videos in Brian's channel. You are awesome .

  • @emlmm88
    @emlmm88 Před 3 lety

    Excellent. Just excellent. Every engineering student should watch this.

  • @aliaaarafa1666
    @aliaaarafa1666 Před 2 lety

    This is the best explanation I've ever seen thank you so much for this great video.

  • @tinkeringlabplus2516
    @tinkeringlabplus2516 Před 4 lety +1

    Excellent! You are great teacher. I fully agree with Tim Smit.

  • @wearealive796
    @wearealive796 Před 2 lety

    Wish this way its taught in universities!!! So simple straight fitting in my 🧠.Thank you Brian &MATLAB for making it available to us!

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

      So glad it was helpful! 😊

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

    great tutorial. Now I understand PID controllers. Thanks

  • @SW_EE1
    @SW_EE1 Před rokem

    Great video for the Positional Form PID Algorithm, easy to get confused with the Velocity Form PID Algorithm

  • @michaelgad4187
    @michaelgad4187 Před 3 lety

    Fascinating. The video cannot be any better. You are super!

  • @markproulx1472
    @markproulx1472 Před 4 lety +2

    Engineering education would be greatly improved if courses started with presentations like this. Context makes understanding subsequent details so much easier!

  • @raghavsrivastava2910
    @raghavsrivastava2910 Před rokem

    BRILLIANT EXPLANATION IF NOT THE BEST. KEEP IT UP. THANK YOU SIR FROM THE CORE OF MY HEART.

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

    So elegantly explained! Thanks a lot))

  • @aaron9828
    @aaron9828 Před měsícem +1

    I wish I watched this video before my first control class. I struggled a lot figuring this out

  • @malcolmhodgson7540
    @malcolmhodgson7540 Před rokem

    Clearest explanation out there. Well done!