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.
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
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.
@@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
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!
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
@@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.
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.
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.
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
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.
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.
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!
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!
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!
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.
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)
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
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.
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.
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!
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!
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.
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.
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.
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!
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!
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
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.
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.
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!
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
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.
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.
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.
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
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).
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 :)
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.
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
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.
@@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
@@abcxyz4207 Was not taught any of that, but thanks for the reply
Being a good engineer or academic doesn't necessarily translate to being good at educating.
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!
i want to be a mechatronics engineer
Go to CSU, Chico! We have a great Mechatronics program.
How can this possibly be a semester's worth of study material?
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
@@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.
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.
this guy is good at drawing!
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.
same here!
well, if you keep up with this kind of self instruction, after a while, you will find that you are an engineer.
@@maneki9neko seriously, these are hardcore stuff
Done with the quad?
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
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.
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.
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
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
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.
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.
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!
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!
Great job sir. Very well explained. Anyone who thinks he's going to fast there's nothing stopping you from watching it again.
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.
My professor explained this and I was quite confused. I'm really glad I stumbled across your video. Thank you so much Brian.
Nice work! I'm an industrial automation electrician, this is the best explanation I've ever seen. Thank you
Wow such a gifted teacher 12mins of your videos saved me 5hrs of studying painful lectuer notes. Thank you:)
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
AWESOME! You made me understand in 13 min what I couldn't in a 4 month course! I give you my best teacher award
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!
This was the best explanation of PID I've ever seen - it actually had relatable examples.
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.
Where were you when I needed you? I`ve graduated in 2011 and this was my last exam.
This is so beautiful!!! Excellent example.
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!
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)
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.
This is the best explanation of PID control. Good job Brian !
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
These videos are some of the best on the internet. Thank you sir
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.
this series of lectures deserves more views!
You are the man, thanks by the way even 9 years ago your explanation is still the best
I watched this for a robotics programming thingie and I ended up learning something insanely interesting, thanks!!
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.
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!
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!
better than a month and a half of engineering lectures. saved my ass on exam 1
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.
Back to this again since last time when I was in 2nd grade in university. Such high quality
Im trying to learn as much about PID as possible. What a great start
The two videos on PID are awesome and they helped me a lot as a student.
Brian! If you were a stock, I would buy... You just can't beat this thorough explanation!
Thank you so much. Best conceptual introduction to PID on the web
This is so good! university classes always focus too much on the underlying mathematics without properly reasoning why it exists
love how you linked the videos in the box for the next video in the series
This was an amazing video,it proves to be really helpful for anyone trying to understand the basics of a PID controller ,thank you
This might be the most beautiful analogy I've ever seen in my life
I really liked the frequency and output example at around 2:00 . amazing!
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.
A whole semester of Control Theorie explained in a 13 min video. Great job!
Are you saying that you learned virtually nothing from a semester of control theory? Did you actually pass the subject?
wow !!! one of the most helpful and graphical educational video, i have ever seen !!! thank you so so much.
Nice! everything very well explained, very detailed and not boring at all to follow through!
Good job man!
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.
Very nice quick explanation on the concept of PID control. I appreciate your video
Hello Brian,
Your lectures are more clearer than the university tuition's i had taken... Cheers to you
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
Brian, my dude, you are saving this poor engineering student's skin. thank you!
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!
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!
This helped me out a lot, thanks! It's hard to find thorough explanations but you did a great job.
Great videos!! And good understandable spoken english for non-english speakers, thank you!!
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!
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
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.
Every second of this video helps! Thank you so much!
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.
Thanks for the video! I'm a first year mechatronics engineering student from Canada about to start some personal projects!
I am so glad that I am taking these courses after 2012.
Legend Explanation!! Give this guy a doctorate.
Your lectures are fantastic. Thank you so much for making these!
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!
I have watched a few of your videos, and you do a great job explaining your examples. Thanks for your help.
Thank You!!! Never got a better explanation of the system!
This is some good stuff. I was always curious. Never had feedback control courses before. This made a whole lot of sense.
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
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.
Your videos helped me program a 3D video game of respectable complexity :D!
beast lecture. Helped me understand a very abstract concept. Great work!
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.
Dear Brian, Thank you for sharing your knowledge as it was informative
I love this videos because it all real time life explanations....
Thank you professor...I loved it
the amizing fact that you're good to choose the most efficient exemple
at 6:20 you drew the traffic lights with red at the bottom :)
Hey Brian, you are just amazing !! Please keep your videos flowing....Thanks
Excellent explanation this helped me understand the content in my controls course . Thanks alot Brian.
You are the best Brian. Thank you very much for your work.
Really good videos ,your channel is one of my favorites.
Keep it up.
Really amazed by the way u presented . Awesome work sir !!!
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.
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
It was very sufficient and easy to understand. You're great.
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).
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 :)
Great videos! These are a great supplement to my controls class. Post more PID Videos!
Wow, awesome!! you made my day with this. Cheers from Argentina.
Your videos are awesome! Thanks and keep em coming!! :)
wow... i had read about pid tons of times in my graduation years but this video made me realize what they actually mean
This guy is amazing I appreciate all the videos