Тёмный

Simple Examples of PID Control 

Brian Douglas
Подписаться 292 тыс.
Просмотров 984 тыс.
50% 1

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!

Опубликовано:

 

22 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 496   
@nicktangent9188
@nicktangent9188 8 лет назад
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 года назад
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 года назад
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 года назад
@@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 года назад
@@abcxyz4207 Was not taught any of that, but thanks for the reply
@theunstopablebullet
@theunstopablebullet 3 года назад
Being a good engineer or academic doesn't necessarily translate to being good at educating.
@Jburdge10
@Jburdge10 8 лет назад
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 лет назад
i want to be a mechatronics engineer
@CarsonSchmeck
@CarsonSchmeck 7 лет назад
Go to CSU, Chico! We have a great Mechatronics program.
@BeeryGamer
@BeeryGamer 6 лет назад
How can this possibly be a semester's worth of study material?
@daesoolee1083
@daesoolee1083 6 лет назад
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 лет назад
@@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 лет назад
this guy is good at drawing!
@dannyca13
@dannyca13 10 лет назад
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 лет назад
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!
@joshdashti5920
@joshdashti5920 8 лет назад
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
@SwapnilNimbalkar
@SwapnilNimbalkar 7 лет назад
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 года назад
same here!
@maneki9neko
@maneki9neko 3 года назад
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 Месяц назад
Done with the quad?
@jessicasoltanieh6051
@jessicasoltanieh6051 11 лет назад
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 года назад
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.
@1000chutku
@1000chutku 7 лет назад
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
@OAitchison
@OAitchison 11 лет назад
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.
@yufeng23
@yufeng23 9 лет назад
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
@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!
@stevensimpson6208
@stevensimpson6208 5 лет назад
My professor explained this and I was quite confused. I'm really glad I stumbled across your video. Thank you so much Brian.
@myerereynolds3752
@myerereynolds3752 10 лет назад
Great job sir. Very well explained. Anyone who thinks he's going to fast there's nothing stopping you from watching it again.
@CuthbertNibbles
@CuthbertNibbles 9 лет назад
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!
@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.
@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!
@ashwatamirthalingam3855
@ashwatamirthalingam3855 8 лет назад
This is probably the first time I'm commenting on a RU-vid video: great job, it's so easy to understand. I hope you continue making more informational videos such as this!
@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
@Cody-rh9dp
@Cody-rh9dp Год назад
Nice work! I'm an industrial automation electrician, this is the best explanation I've ever seen. Thank you
@joeshort9871
@joeshort9871 9 лет назад
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.
@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!
@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.
@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.
@LowestofheDead
@LowestofheDead Год назад
This was the best explanation of PID I've ever seen - it actually had relatable examples.
@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.
@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
@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
@Ladida386
@Ladida386 7 лет назад
Where were you when I needed you? I`ve graduated in 2011 and this was my last exam.
@user-ue6il8zi1z
@user-ue6il8zi1z 11 лет назад
Wow such a gifted teacher 12mins of your videos saved me 5hrs of studying painful lectuer notes. Thank you:)
@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
@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.
@Spottedlove
@Spottedlove 10 лет назад
love how you linked the videos in the box for the next video in the series
@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.
@saulodx
@saulodx 8 лет назад
Nice! everything very well explained, very detailed and not boring at all to follow through! Good job man!
@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
@jangjg323
@jangjg323 6 лет назад
Very nice quick explanation on the concept of PID control. I appreciate your video
@HaHa-xk7nj
@HaHa-xk7nj 6 месяцев назад
I watched this for a robotics programming thingie and I ended up learning something insanely interesting, thanks!!
@Amine-gz7gq
@Amine-gz7gq 10 месяцев назад
This is the best explanation of PID control. Good job Brian !
@Skyentific
@Skyentific 2 года назад
This is so beautiful!!! Excellent example.
@a1exm0rgan
@a1exm0rgan 11 лет назад
This helped me out a lot, thanks! It's hard to find thorough explanations but you did a great job.
@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.
@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!
@Postermaestro
@Postermaestro 2 года назад
Back to this again since last time when I was in 2nd grade in university. Such high quality
@andrewfox3046
@andrewfox3046 9 лет назад
I have watched a few of your videos, and you do a great job explaining your examples. Thanks for your help.
@alvaradooutdoor
@alvaradooutdoor 10 лет назад
Im trying to learn as much about PID as possible. What a great start
@remcojustremco7745
@remcojustremco7745 Год назад
This is so good! university classes always focus too much on the underlying mathematics without properly reasoning why it exists
@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.
@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.
@kevinonifade3021
@kevinonifade3021 2 года назад
This might be the most beautiful analogy I've ever seen in my life
@matthewpeterson4638
@matthewpeterson4638 4 года назад
These videos are some of the best on the internet. Thank you sir
@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!
@chaddrobertson5805
@chaddrobertson5805 2 года назад
Your lectures are fantastic. Thank you so much for making these!
@shchadenko
@shchadenko 8 лет назад
Hi Brian! Thank you very much for the brilliant lectures! I do appreciate your work! But I think in this particular video it would be more accurate to say that the angle theta defines the reference velocity which is compared with the output velocity. The error velocity than is processed by the PID-controller.
@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
@user-jf9dy8dg5f
@user-jf9dy8dg5f 3 года назад
Every second of this video helps! Thank you so much!
@RayedWahed
@RayedWahed 9 лет назад
Thank you so much. Best conceptual introduction to PID on the web
@vasiq44
@vasiq44 9 лет назад
beast lecture. Helped me understand a very abstract concept. Great work!
@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!
@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!
@zachli9582
@zachli9582 7 месяцев назад
this series of lectures deserves more views!
@wyattblah
@wyattblah 5 лет назад
Brian! If you were a stock, I would buy... You just can't beat this thorough explanation!
@tumelomogale3939
@tumelomogale3939 11 лет назад
The two videos on PID are awesome and they helped me a lot as a student.
@tyler7995
@tyler7995 6 лет назад
better than a month and a half of engineering lectures. saved my ass on exam 1
@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.
@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.
@marbrydav9698
@marbrydav9698 7 лет назад
Thanks for the video! I'm a first year mechatronics engineering student from Canada about to start some personal projects!
@SandeepJanjirala193
@SandeepJanjirala193 10 лет назад
I love this videos because it all real time life explanations.... Thank you professor...I loved it
@FlamencoDeniz
@FlamencoDeniz 8 лет назад
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.
@wsn1192
@wsn1192 8 лет назад
Thank You!!! Never got a better explanation of the system!
@mohamedmoatyhassan5125
@mohamedmoatyhassan5125 5 лет назад
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?
@aadarshshetty
@aadarshshetty 9 лет назад
Hello Brian, Your lectures are more clearer than the university tuition's i had taken... Cheers to you
@BrianBDouglas
@BrianBDouglas 11 лет назад
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.
@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)
@AJAY-wd6nl
@AJAY-wd6nl 11 месяцев назад
Dear Brian, Thank you for sharing your knowledge as it was informative
@preethilakshminarasimhan7094
@preethilakshminarasimhan7094 3 года назад
Thanks a ton! Your videos are helping me keep hope that I can understand Controls
@swadhin3783
@swadhin3783 5 лет назад
Really amazed by the way u presented . Awesome work sir !!!
@venkatasubramaniankv3993
@venkatasubramaniankv3993 7 лет назад
Hi Brian, thanks for the videos. Just a small comment. I liked your previous video on PIDs quite a lot, and you explained the theory quite well. However, with this one, I think the difference between the different controllers is a little more confusing since you change the problem each time. Perhaps it would be better to use a single example. Love the illustrations and your style of teaching. :)
@JadeHare1
@JadeHare1 8 лет назад
Very nice explanation! I cannot wait for the video about tuning the compensators, could we have some date for that? Thank you
@iNotFound
@iNotFound 10 лет назад
Thank you for your video! Helped me to understand the PID.
@laurentporre4479
@laurentporre4479 6 лет назад
Very nice and illustrative example of PID ! Just 1 remark though, with a Proportional only controller, I think you'll have a static error at the equilibrium and not 0 (if your process is stable and not integrator). That's why we generally add integral action to cancel this static error...
@muhammadismail3098
@muhammadismail3098 9 лет назад
Well explained, easy to understand great teacher. Thank you.
@taskinabdur-rahman3487
@taskinabdur-rahman3487 2 года назад
Excellent explanation this helped me understand the content in my controls course . Thanks alot Brian.
@jaymounes9473
@jaymounes9473 6 лет назад
Your videos helped me program a 3D video game of respectable complexity :D!
@joetrovato7552
@joetrovato7552 11 лет назад
Great videos! These are a great supplement to my controls class. Post more PID Videos!
@abdullahsfarini7684
@abdullahsfarini7684 4 года назад
I really liked the frequency and output example at around 2:00 . amazing!
@lofergil
@lofergil 11 лет назад
Great videos!! And good understandable spoken english for non-english speakers, thank you!!
@stevep.4540
@stevep.4540 10 лет назад
You are the best Brian. Thank you very much for your work.
@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
@AeolusCapital
@AeolusCapital 8 лет назад
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!
@richsen
@richsen 8 лет назад
Your videos are awesome! Thanks and keep em coming!! :)
@TheLitoPictureShow
@TheLitoPictureShow 10 лет назад
Wow, awesome!! you made my day with this. Cheers from Argentina.
@Spooniferus
@Spooniferus 10 лет назад
Yay, something useful on RU-vid. Thanks Brian!
@Lolaeem
@Lolaeem 11 лет назад
Thanks! Awesome tutorial! looking forwards to more pid examples.
@mohammadmatar8076
@mohammadmatar8076 11 лет назад
Really good videos ,your channel is one of my favorites. Keep it up.
@mehdizarei9503
@mehdizarei9503 6 лет назад
It was very sufficient and easy to understand. You're great.
@shashwatdalakoti4998
@shashwatdalakoti4998 3 года назад
Legend Explanation!! Give this guy a doctorate.
@rajj1567
@rajj1567 11 лет назад
Hey Brian, you are just amazing !! Please keep your videos flowing....Thanks
Далее
Standard HW Problem #1: PID and Root Locus
18:01
Просмотров 202 тыс.
What is a PID Controller? | DigiKey
22:19
Просмотров 68 тыс.
Камень, ножницы, нейронка
00:33
Просмотров 339 тыс.
Телеграмм-Колян Карелия #юмор
00:10
Everything You Need to Know About Control Theory
16:08
Просмотров 520 тыс.
Control Systems Lectures - Transfer Functions
11:27
Просмотров 688 тыс.
PIDs Simplified
13:07
Просмотров 289 тыс.
PID Control - A brief introduction
7:44
Просмотров 1,4 млн
PID Balance+Ball | full explanation & tuning
13:13
Просмотров 734 тыс.
Introduction to PID Control
49:18
Просмотров 51 тыс.
A real control system - how to start designing
26:58
Просмотров 262 тыс.
PID Math Demystified
14:38
Просмотров 460 тыс.
PID vs. Other Control Methods: What's the Best Choice
10:33