What is a PID Controller? | DigiKey

  Рет қаралды 113,784

DigiKey

DigiKey

Күн бұрын

Пікірлер: 119
@pekhotinyets
@pekhotinyets Жыл бұрын
I have watched many videos on PID control, but this is the one where it finally clicked.
@cloverland1612
@cloverland1612 4 ай бұрын
Same here, finally I can wrap my head around this after so many other videos
@micah2936
@micah2936 Жыл бұрын
This is honestly the BEST explanation of PID. I’ve watched many videos on it and read articles. I’ve just hear that it’s an “art” or that it’s something debated about, but nothing like this. This just straight into the facts and math.
@ShawnHymel
@ShawnHymel Жыл бұрын
Glad you liked it! Tuning them can be a bit of an art, which I only briefly covered here :)
@JL-to9vg
@JL-to9vg Жыл бұрын
Same here, even some of the "better" articles would neglect or leave out one element or another. He covered each mode and key aspects so well- it was like I could "see" each mode in action just from his explanations. TYVM, Shawn! I plan to share this with my class and possibly an instructor from a previous class.
@ShawnHymel
@ShawnHymel Жыл бұрын
@@JL-to9vg Thank you! I hope that your students find the explanation useful!
@eliasfilho7833
@eliasfilho7833 9 күн бұрын
I've been looking for a lot of PID controller materials, and this one is the most comprehensive. We see the math in a graphical way, where to apply it, examples of systems, and even a code example to understand how to convert to the digital domain. 10/10.
@jimomertz
@jimomertz Жыл бұрын
Shawn, you are such an excellent presenter! Looking forward to more. I really loved your KiCad tutorial series also.
@pekhotinyets
@pekhotinyets Жыл бұрын
I still refer back to that series when I work on my boards
@Penchacky
@Penchacky 2 ай бұрын
By far, the best explanation on the PID's principle I ever have come across. 22 mn to learn more than during entire engineering sessions back in a day. This is a master class. Congratulations.
@grottyboots
@grottyboots Жыл бұрын
Brilliant! I love that the PID controller applies to so many widely varying systems... massive boilers operating on hour time scales, or as fast as modern motor controllers in the millisecond range.
@AliMostafazadeAbolmaali
@AliMostafazadeAbolmaali 18 күн бұрын
Incredibly well-explained video. Thank you so much for such an amazing demonstration. That was the best one I've ever seen about PID controllers.
@tehmudjinkhan2207
@tehmudjinkhan2207 Жыл бұрын
Been looking to get deeper into PID controllers. Perfect timing on the video.
@ankitpatel8180
@ankitpatel8180 Ай бұрын
Wow one of the best teaching abilities with proper block diagram and proper use of graphs 👍
@aliusef2912
@aliusef2912 11 ай бұрын
the best explanation on the PID controller I've ever seen on KZbin. thanks
@DennisSolari-r4z
@DennisSolari-r4z 3 ай бұрын
Wish I had you as my teacher when I was coming through the trade! I never claimed to be a sharp knife in a drawer, takes me more time for this material to stick. God Bless You for sharing this video.
@ScientificThamizhan
@ScientificThamizhan Жыл бұрын
One of the best video that actually help you to understand how a PID controller works.
@prasadadavi6618
@prasadadavi6618 Ай бұрын
You are excellent….hats off to you for explaining the “offset” phenomenon of Proportional only controller.
@rz7464
@rz7464 Ай бұрын
Imagine a 22min video explaining PID better than a 5y engineering degree
@amritpalsingh314
@amritpalsingh314 11 ай бұрын
Probably the BEST video on PID controllers.
@chrismckelvey-c8e
@chrismckelvey-c8e 27 күн бұрын
Very clear and helpful, thanks!
@mruthyunjayamr7147
@mruthyunjayamr7147 Жыл бұрын
There was such clarity and continuity in the explanations... Really liked and understood the concept clearly .... This was really helpful ....
@pabcet
@pabcet Жыл бұрын
Shawn, this is one of the best explanation on PID, thanks a lot.
@JM-jk9vz
@JM-jk9vz 5 ай бұрын
I can't tell you how helpful this video has been and how often I keep coming back to it as a reference. Thank you!
@alejandromoreira9896
@alejandromoreira9896 Жыл бұрын
Honestly, this is the BEST explanation of PID, although the SUM column is summed wrong.
@unlish5996
@unlish5996 2 ай бұрын
Don't know why I chose this video but its so good!
@machmanish1
@machmanish1 5 ай бұрын
you are beyond awesome!!! what a smooth explanation! My PID worked in one shot following your lines....Thanks
@moneyhustle181
@moneyhustle181 7 ай бұрын
The best PID video available on youtube 😂 thank you my friend!
@erdum
@erdum Жыл бұрын
I was trying to understand this as an programmer for almost a year now finally I get it.
@rickh6963
@rickh6963 Жыл бұрын
Shawn, another fantastic video. Thank you DigiKey!!
@francesconigri745
@francesconigri745 3 ай бұрын
efficient explanation of PID
@111000100101001
@111000100101001 Күн бұрын
Excellent video, thanks to you and your team for spending the time to put together this very useful video!
@SarahKchannel
@SarahKchannel Ай бұрын
Brilliant - I mean who needs Brilliant when you have DigiKey :)
@MrDevZero
@MrDevZero 3 ай бұрын
I though I could never understand PIDs. Great video.
@odoggaspar6178
@odoggaspar6178 8 ай бұрын
The best PID control explanation.
@chinmayyande5024
@chinmayyande5024 Жыл бұрын
Thank you Shawn for diving into PID controllers. This is extremely helpful.
@spreaderikthierheimer9271
@spreaderikthierheimer9271 Жыл бұрын
This is an amazing explanation of PID THANK YOU!
@dzorzstops5136
@dzorzstops5136 11 ай бұрын
Best explanation of PID EVER!
@Dr.Bigglesworth
@Dr.Bigglesworth Жыл бұрын
That is an excellent presentation. Best one I've seen that describes in detail actually what the P, I & D do.
@vidtechnology7342
@vidtechnology7342 8 ай бұрын
I have watched many videos on PID , but this is the one from which I understand, Thanks
@danielx-copter8001
@danielx-copter8001 5 ай бұрын
Endlich, nach ein paar Jahren mit diesen Erklärungen, konnte ich verstehen, was PID ist... Finally, after a few years with these explanations, I was able to understand what it is PID
@4473021
@4473021 Жыл бұрын
Shawn this was so good I wish my controls profs were this clear 😭😭😭😭
@TradieTrev
@TradieTrev Жыл бұрын
Great video Shawn, out of all the courses I've taken about PID loops you've really explained the principles and terms spot on!
@ellenamori1549
@ellenamori1549 6 ай бұрын
This is an excellent explanation of the PID controller. Thank you so much for sharing this.
@hojvaelde
@hojvaelde 10 ай бұрын
Hello Just my own comment to your fine explanation. I have a hydraulic project where I have to control the force from a cylinder through a load cell. What makes hydraulics special is the response time. The used servo valves have a 0-50% opening time of 6 msec (common in servovalves). That's why I must use a PID regulator with a cycle time of 1 - 2 ms. There is only an expensive servo controller that can do that, or an analog PID controller, that I used. Another part you easily skip over is the partial feedforward. It is frequently used in hydraulics.
@joymakerRC
@joymakerRC Жыл бұрын
I love you bro. thanks for filling in the gaps of my knowledge. I have been using the STM32 nucleo family to build a UAV controller. definately perfect timing for me too.
@aashutosh3721
@aashutosh3721 8 ай бұрын
Best ever pid explanation
@kedarpuranik750
@kedarpuranik750 Жыл бұрын
This is the best video on PID!
@benarcher372
@benarcher372 Жыл бұрын
Excellent description!
@Naveen-m8j
@Naveen-m8j 2 ай бұрын
goated video
@TekCroach
@TekCroach 5 ай бұрын
Thanks Shawn for this wonderful tutorial. You covered it in the most intuitive logical and exciting way. The best video on the subject. :)
@dwagner6
@dwagner6 Жыл бұрын
Would have been amazing if my Control Systems professor had just played this video for us
@dwang085
@dwang085 Жыл бұрын
Same!!
@MrOnlineCoder
@MrOnlineCoder Жыл бұрын
Amazing video - clear, visually understandble, with a nice host.
@atuhuraalbert9487
@atuhuraalbert9487 4 ай бұрын
Good explanation
@nikitam6164
@nikitam6164 Жыл бұрын
Awesome video. I have never come across such cleanly explained example.
@rolfw2336
@rolfw2336 Жыл бұрын
Nice explanation, Shawn! I liked that there was a bit of math and a bit of code. PS: nice meeting you last week :)
@leonardomarquez7914
@leonardomarquez7914 7 ай бұрын
Great video, as usual Shawn is great explaining things in the simplest way.
@Factory400
@Factory400 Жыл бұрын
Excellent presentation as always!
@Akeshma
@Akeshma Жыл бұрын
Thanks for the explanation.. we need another video illustrate PID using Arduino
@ganeshhampapura9842
@ganeshhampapura9842 4 ай бұрын
Clarity clarity and clarity God bless
@catalincostache6953
@catalincostache6953 5 ай бұрын
Great explanation, is the best that I saw until now. The time interval should be in seconds ?
@dnh534
@dnh534 8 ай бұрын
Beautifully explained PID
@jozefsoucik3115
@jozefsoucik3115 7 ай бұрын
cruise control system was exact example what came to my mind as first when try to explain others:-)
@rinokentie8653
@rinokentie8653 Жыл бұрын
Very useful video, thanks.
@JeremySpidle
@JeremySpidle Жыл бұрын
Props! College level stuff here AND its accessible, even to beginners.
@andrewlohbihler6731
@andrewlohbihler6731 Жыл бұрын
Thanks Shawn, good example to follow with coding. Will try a desktop example with Arduino code.
@Torqueinxdirection
@Torqueinxdirection 7 ай бұрын
perfect video with comprehensive explanation.
@mostafanfs
@mostafanfs 7 ай бұрын
Shawn I have always loved your work no matter the topic. But this was awesome
@506_SWALIHAATTAR
@506_SWALIHAATTAR 6 ай бұрын
Great video! Started as a noob, ended as a semi-PRO😎
@alfcnz
@alfcnz Жыл бұрын
This was great! Thanks for the informative lecture!
@salahh89
@salahh89 10 ай бұрын
What a great demonstration! Thanks a lot
@tanjiro3285
@tanjiro3285 Жыл бұрын
my fav man on ytb🤩
@ismenc
@ismenc Жыл бұрын
i wish PID in universities were as simple as this :)
@ShawnHymel
@ShawnHymel Жыл бұрын
I'm guessing that they give you the transfer function of the plant and have you solve the differential equation analytically. If so, yeah...that sounds rough 😅
@ismenc
@ismenc Жыл бұрын
@@ShawnHymel Exactly. Just to know in the next subject that everything of that has no real application because real world 'behaviour formulas' are complex and computers don't process feedback in real time.
@fl4tcircl3
@fl4tcircl3 Жыл бұрын
This is so good!
@joehopfield
@joehopfield Ай бұрын
My billion dollar idea is controllers that goes to 11.
@octavianr526
@octavianr526 22 сағат бұрын
Amazing brilliant video and explanations
@ahmetcabri5348
@ahmetcabri5348 7 ай бұрын
Thank you. It's a very useful video.
@divya2225
@divya2225 11 ай бұрын
loved it . simple and easy to understand .
@micah2936
@micah2936 Жыл бұрын
20:18 setpoint was not defined, what is setpoint? Is that the set value we need? Also error_prev should be set equal to error at the end of the loop right Nvm I just wasn’t there yet lol
@a_boy_can_dream
@a_boy_can_dream 10 ай бұрын
You're awesome! Wonderfully well-explained!
@boldattempt390
@boldattempt390 11 ай бұрын
Great video, very informative thank you. However can someone please say why the integral term Ki value was set to 0,01 in the example?
@willowdesk
@willowdesk 10 ай бұрын
The beginning 60 seconds demystify the block diagram so much
@saeedamini8098
@saeedamini8098 Жыл бұрын
absolutely brilliant. Thank you shawn.
@ugetridofit
@ugetridofit Жыл бұрын
Now we need a new method AIPID, or PIDAI. Where we slap AI to the PID for it to figure out the prefect values for us.
@ShawnHymel
@ShawnHymel Жыл бұрын
You read my mind 😁 There are automated methods of finding PID constants, which have been in use for a while. I’m currently experimenting with using RL to figure out a generic controller (including swing-up). My hope is that this will be the next video.
@joseph9915
@joseph9915 Жыл бұрын
A car wouldn't have any overshoot if you just kept it floored until your set speed, would it? So wouldn't you only use the PID after you got up to speed? Maybe that will be part of the next episode. Anyway, thanks for the video, it helped explain PIDs nicely, looking forward to the next one.
@dwang085
@dwang085 Жыл бұрын
You’d have to precisely let off the pedal at the right moment. The car has inertia and there is a time constant associated with the moment the pedal position changes to the moment the engine changes the torque applied to the wheels. All of that results in you having to letting off the pedal BEFORE the speed set point is achieved. Otherwise there would definitely be overshoot.
@joseph9915
@joseph9915 Жыл бұрын
​@@dwang085 My question was meant to be more about initial values, starting/stopping point for the PID and maybe when to use/swap out the PID. Sorry if I come across as nitpicking the model. But using it as an example: As soon as you stop adding power, it would stop going faster (well unless you are going downhill etc. but that sort of thing should be outside the model) And the amount of inertia needed to be overcome to move the pedal position would be small enough I don't think it would matter, probably even happen before the next piston power stroke. Especially with fuel injection etc. And even if it would take a very small amount of time for the accelerator to move, you could still hand over at 99.9km/h. (Although I guess whatever you are using to automatically move the pedal could be quite slow (erm, do they even move the pedal nowadays?)) As for the car, engine, flywheel etc. inertia would help keep the current speed. It can't add speed, or you would have a perpetual motion machine. So you shouldn't need the PID until you are up to speed? Anyway, my point being that in similar cases wouldn't it be better to hand over to the PID after a certain point, maybe with initial values taken from a table etc?
@Jkauppa
@Jkauppa Жыл бұрын
do you mean s=s0 + vt + ½at^2 balancer (position, speed, acceleration controller)
@BackyardFusion
@BackyardFusion Жыл бұрын
How is e(t) a wave curvy functions it should be linear
@francescocontalbi1222
@francescocontalbi1222 17 күн бұрын
God! Very very God!!!
@phantomaticscience6846
@phantomaticscience6846 Жыл бұрын
teaching genius :)
@solomon337
@solomon337 Жыл бұрын
Great explanation
@mountainsite
@mountainsite 2 ай бұрын
11:51 These go to 11.
@ShawnHymel
@ShawnHymel 9 күн бұрын
Glad someone caught that minor Spinal Tap reference :D
@prabuddhajadhav2933
@prabuddhajadhav2933 11 ай бұрын
How do you define interval? Like if I'm reading sensor value at every 1msec then interval =1msec????
@Neural-k2z
@Neural-k2z 24 күн бұрын
Yup
@MrApinder
@MrApinder 10 ай бұрын
I’d like to hit the like button a thousand times
@jan-willemrensman
@jan-willemrensman Жыл бұрын
Excellent ❤
@mschwage
@mschwage Жыл бұрын
Awesome video
@ashinthaCARBON
@ashinthaCARBON Жыл бұрын
thank you ❤
@entertainmentjoke2871
@entertainmentjoke2871 5 ай бұрын
Good explanation but in reality, it is still hard to tune.
@MePeterNicholls
@MePeterNicholls Жыл бұрын
Now…. How do you make the tuning automatic/dynamic/inteligent 😜
@SimpleAnalogy
@SimpleAnalogy Жыл бұрын
NICE one..Thanks!
@jeffreyfontenot8803
@jeffreyfontenot8803 3 ай бұрын
Very confusing to me, you start by saying 5 cm pedal position = 100 km/h then immediately contradict that on first calculation showing pedal position 10 cm yielding 30 km/h.
@NovaH00
@NovaH00 3 ай бұрын
First, "5 cm yield 100 km/h" means after you get to 100 km/h, if the pedal at the 5cm, the speed stay at 100 km/h and won't change. Second, it is "10 cm at 30 km/h" not "10 cm yielding 30 km/h". 10 cm at 30 km/h just means the car is at 30 km/h and it is accelerating
@chamodbandara5754
@chamodbandara5754 6 ай бұрын
thanks
@BritishEngineer
@BritishEngineer 3 ай бұрын
2:53 “accelerometer”? We don’t have electronics in our brain. We have vestibular canals,
@borisbakardzhiev1673
@borisbakardzhiev1673 2 ай бұрын
Black Magic!
@TimSeatonPainting
@TimSeatonPainting 2 ай бұрын
What a complicated way to explain how to drive a car.
@googleyoutubechannel8554
@googleyoutubechannel8554 3 ай бұрын
While this explanation is of course correct, the presentation here is very poor, I recommend other videos, the graphs for instance, just graphing 'error' is weak pedagogy, for the classic speed example, you should be graphing speed vs t at the very least, and even better, animating a car or a dash speedo. PID is very simple, if you have ever played with a spring, like everyone has, this concept is trivial, but the math symbology and the control theory archaic jargon confuse everyone.
Introduction to Reinforcement Learning | DigiKey
1:14:57
DigiKey
Рет қаралды 40 М.
How to Tune a PID Controller - Made Simple!
14:34
PID Explained
Рет қаралды 11 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Introduction to PID Control
49:18
Christopher Lum
Рет қаралды 77 М.
PID vs. Other Control Methods: What's the Best Choice
10:33
RealPars
Рет қаралды 141 М.
PIDs Simplified
13:07
SiieeFPV
Рет қаралды 315 М.
PID Balance+Ball | full explanation & tuning
13:13
Electronoobs
Рет қаралды 775 М.
Everything You Need to Know About Control Theory
16:08
MATLAB
Рет қаралды 604 М.
How to Tune a PID Controller
18:14
PID Explained
Рет қаралды 124 М.
A real control system - how to start designing
26:58
Brian Douglas
Рет қаралды 281 М.