What Is PID Control? | Understanding PID Control, Part 1
ฝัง
- เผยแพร่เมื่อ 26 ก.ย. 2024
- 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.
Holy shit, This 12minutes was much more useful than my 2 semester of Control systems.
dang...i feel the same >
Same here...
I also in my 5th sem. Exam
Yeach that's right... agree 👍
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
Best PID explanation I ever heard.
So true!
Learned more in these 11 minutes and 41 seconds than I did all semester in my Feedback Control Systems and Instrumentation classes
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.
Top comment is not hyperbole
Same here😂
The video creator has his own channel with lots of great intuitive explanations
Engineering classes seem to focus alot on math and little on conceptual understanding prior to math.
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 .
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
@@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.
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.
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
Videos like these are important, but you will never really learn control systems until you study and understand the "boring" theory and math.
@@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.
Language
totally agree
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.
Brian Douglas is a phenomenal teacher
His teaching reflect the amount of grip he has in the subject
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.
I am studying Electrical Engineering and after already passing Control Theory this is by far the best explanation to introduce this subject! Great Job!
With the help of..DR RORPOPOR HERBAL ON TH-cam i have been cured totally from PID....
You're the only person in everything I've found who explains it! Saved my life!
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.
Congrats on teaming up with MATLAB. The combination of your videos explains concepts with great clarity.
great tutorial. Now I understand PID controllers. Thanks
Great! I'm glad it was helpful.
Well that voice and black screen teaching couldn't be someone else! Thank you again Brian!
Brian is on MATAB 😍😍😍
His explanations bout Control theory is gorgeous.
th-cam.com/video/CUd_6-5bk6c/w-d-xo.html
Brain is MATLAB ,MATLAB is Brain
Explaination is beyond excellent. I wrote it down all every word u say and all that. It take 14 pages and 2&half hour. 👏👏👏🙌🔥🔥
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
Glad to see this video before my exam tomorrow. I've never seen such a useful video. Thank you Brian!
THIS IS SIMPLY BEAUTIFUL, MADE ME SMILE OUT OF SATISFACTION OF GETTING IT!
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.
That must be first class for Computer Control students! A really intuitive approach to PID control
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.
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!
"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 TH-cam 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! 🚁👏"
How is your drone coming along?
Incredible. It only took 11minutes and 30 seconds to fully understand why P, I, D each stands for present, past, future errors. Thank you!
Brian!! Honestly, I was thinking of dropping out of my Controls course but because of you I'm staying. Keep it up
Brian you are literally my hero. You're videos have been helping me for like 5 years now.
The knowledge you have gained lets you explain this concept so easily rather than half minded TH-camrs how can't explain why PID is really used. This video is a great example of Feynman's technique.
Fantastic simple explanation of a quite complex idea. Great video series.
The BEST explanation of PID controller for beginners I've found so far. Thank you!
I am a student in robotics engineering and this video was more relevant then 3 years of my university. Realy nice!
Finally I understand how a PID works. I really like the analogy with the hovering drone
Thanks Brian, now i do understand how PID controlled system works... thumbs up.
Explaining something very good it means you know it 100x times even better. Lots of clueless teachers are in universities these days
Greatest control systems content on the internet.
Finally, someone explaining the theory behind PIDs and not just telling me a (seemingly) arbitrary set of steps to make my quad fly “good enough”. Very well explained, thanks for making this!
Thanks! Hopefully, your quad will fly "good enough" now :)
@@BrianBDouglas Very happy with how it flies now, thanks again!
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.
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
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!
Hi I've been through a few vids about this and this is the best explanation yet. In fact after watching the others I understood what it did but not how. Now I know. Thanks.
Thanks for the comment. I'm glad this helped!
Best pid explanation I ever seen/heard . Good work !! ❤️
With the help of..DR RORPOPOR HERBAL ON TH-cam i have been cured totally from PID....
Never understood control systems so well. Thank you
Incredible job of imparting a meaningful understanding!!! Masterful job of conveying the basics of PID controllers ... and of showing the shortcomings of universities. Thanks!
I hope they teach this way in my college. Thank you Brian. U r god for electrical and electronics engineers. Love from India. :)
I wish i’ve had a teacher like Brian, congrats master!
I wish I watched this video before my first control class. I struggled a lot figuring this out
THIS IS THE BEST VID EVER THAT EXPLAINS THIS SH** !! A WHOLE SEMESTER WORTH OF TIME.
Cristal clear explanation!! Finally I was able to undestand where de PID came from!!
Great video! The PID controller is explained well from the perspective of actual engineering ,very useful!
We love this channel and it was one of the reasons to start our own. We are a very new channel and will bring content on control theory, linear systems and systems identification. Keep inspiring people, thank you very much!
Good Luck
Fantastic ... crisply explained .... pinpointedly explained never ever understood PID as this did ... thank you
Great explanation! I've been trying to get my head around PID tuning as applied to my racing quadcopters. This really helped!
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!
This is the best explanation that I have ever seen from by birth to 5/12/20!!
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.
Whoever made this video, is awesome, love you, man. Thanks a lot for making such an informative video in layman language.
I am coming here after to follow Brian's videos after watching all the videos in Brian's channel. You are awesome .
Hello all Engineering students 👋
So much information in one less than 12mins :)
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
BRILLIANT EXPLANATION IF NOT THE BEST. KEEP IT UP. THANK YOU SIR FROM THE CORE OF MY HEART.
Simple, easy to understand example to explain PID.
One if the most informative videos on this matter in all youtube
The best PID explanation video i have come across as well. Awesome man
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.
Engineering education would be greatly improved if courses started with presentations like this. Context makes understanding subsequent details so much easier!
Great video for the Positional Form PID Algorithm, easy to get confused with the Velocity Form PID Algorithm
Thanks man! Cannot be better explained! Salute!
Can controls be this interesting? I am in awe. Thanks man! Awesome video.
I had watched so much PID videos and this explained the best among all others with a very good example situation too
A University education in the palm of my hands
This is exactly what I needed presented exactly the way I needed it. Thank you!
Finally a good example for the scenario where the derivative comes in.
This video gives me a concept about pid in a short time. Excellent video.
One of the best explanations on anything
Wish this way its taught in universities!!! So simple straight fitting in my 🧠.Thank you Brian &MATLAB for making it available to us!
So glad it was helpful! 😊
Thank you very much Brain for the clear explanation. I finally understood what PID really means and what it does. Really appreciate it 👍👍👍😊
This vıdeo literally sums up everything my prof's been trying to teach for this past two weeks
nice work.
am learning better from you than from my professors in school. more power to your elbows
Excellent. Just excellent. Every engineering student should watch this.
Excellent video explaining PID! Thank you!!!
I must say this is the first time I've seen a practical application for Calculus.
Calculus was invented to figure out how to fire a cannon
Congrats with your collab. on MATLAB, Brian!
Thanks for the video. You told things very clear, simple and understandable. The best video to explain what is PID.
The only explanation I have ever understood on PID controller
Hey Brian, I found this version of your explanation of PID controllers to be easier to digest than your previous video.
Thanks for making a hard topic, for me as a layman, understandable in a way that will allow me to tune my own Arduino kiln controller!
that was the clearest explanation at all!
thank you very much :) :) :)
MatLab codes (Almost all codes for Numerical Analysis):
.
CHAPTER 1: Solving System of Equations
1. Gaussian elimination:th-cam.com/video/k-Z3u36VFmU/w-d-xo.html
2. Jacobi method: th-cam.com/video/GzqR07kRN1U/w-d-xo.html
3. Gauss-Seidel method: th-cam.com/video/buIb7DWT2Gs/w-d-xo.html
.
.
CHAPTER 2: Solving non-linear equations
1. Bisection method: th-cam.com/video/Kk3H3o8rb4Y/w-d-xo.html&t
2. Newton's method: th-cam.com/video/LkSgVdCif90/w-d-xo.html&t
3. Secant method: th-cam.com/video/_UldByPilXc/w-d-xo.html&t
4. Fixed-point iteration: th-cam.com/video/VdTl3Rlio9g/w-d-xo.html&t
.
.
CHAPTER 3: Numerical Interpolation
1. Newton's Divided Difference: th-cam.com/video/NCxqXBv5FfY/w-d-xo.html&t
2. Neville interpolation:th-cam.com/video/Q2_6jlneXeY/w-d-xo.html&t
3. Hermite interpolation:th-cam.com/video/fDbPBArjYCk/w-d-xo.html&t
4. Cubic spline (natural):th-cam.com/video/SXujVMd8KLE/w-d-xo.html&t
.
.
CHAPTER 4: Numerical Integration
1. Trapezoid rule: th-cam.com/video/QSHkg7ZPLNs/w-d-xo.html
2. Simpson's rule: th-cam.com/video/NXBqq9DZefw/w-d-xo.html&t
3. Romberg integration: th-cam.com/video/9WAuRUJ-XX4/w-d-xo.html
4. Adaptive quadrature: th-cam.com/video/F1FMxXhKvMg/w-d-xo.html&t
5. Gaussian quadrature: th-cam.com/video/6VF57yEzxdw/w-d-xo.html
.
.
CHAPTER 5: Finding eigenvalue and eigenvector
1.Power method: th-cam.com/video/DapdMQesiyc/w-d-xo.html&t
.
.
CHAPTER 6: Solving ODE
1.Forward Euler's method: th-cam.com/video/PC-V48sPo3k/w-d-xo.html
2.Backward Euler's method: th-cam.com/video/Lz_dDjQdOv0/w-d-xo.html
3. Modified Euler's method:th-cam.com/video/HcBX5cXbsts/w-d-xo.html
4. Midpoint Method: th-cam.com/video/r-tytOMFwz8/w-d-xo.html
5. Heun's Method: th-cam.com/video/JSbRmedkgbY/w-d-xo.html
6. Taylor's Method of Order 2: th-cam.com/video/gkbtaXV7dYI/w-d-xo.html
7. Runge-Kutta method (Order 4): th-cam.com/video/0_YxBUleAQk/w-d-xo.html
8.Runge-Kutta-Fehlberg method:th-cam.com/video/AJiU2VaRFWg/w-d-xo.html
9. Predictor-Corrector method: th-cam.com/video/3hLTo1Cwfjk/w-d-xo.html&t
.
.
CHAPTER 7: Solving PDE
1.Linear shooting method:th-cam.com/video/nswD09LmLU4/w-d-xo.html&t
2. Finite difference method:th-cam.com/video/cWcMLjCpAO4/w-d-xo.html&t
3. Nonlinear shooting method: th-cam.com/video/pEEHIuaFPZA/w-d-xo.html
.
.
Chapter 8: For FUN:
Drawing love symbol using MatLab:
th-cam.com/video/FdwPljbZjPg/w-d-xo.html&t
th-cam.com/video/FdwPljbZjPg/w-d-xo.html&t
remarkable explanation interelated with physical phenomenon....
Dude you're on Matlab. I'm so happy for you!!
Really the Best PID explanation I ever heard !!!
This is the best explanation I've ever seen thank you so much for this great video.
Very subtly explained...GREAT JOB!
This video should be used as an introduction into control theory at any university.
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.
Learned PID very well. Thanks!
the way this is explained ... it's genius ..
It can't get better than this explanation quality ! THANK YOU :)
ㄹㅇ 진짜 이렇게 간단한 걸... 한국 수업에서는 ㄹㅇ 그냥 외우라고 해서 뭔 소리인지 하나도 알 수 없었는데. 교수님들은 본인이 하시는 말씀의 의미를 알고 계시겠지 의심스러울 때도 많고
That's genius. Thanks for making this absolute beauty of a video.