After watching countless PID videos to try and get understanding of PID separately, I can honestly say that your video was by far the most straight forward, easy to understand and straight to the point. Simplicity is key and you did that super well! Thank you so much!
@raoabdulhadi Жыл бұрын
You wrote it already what I wanted to write.
@TrFusion5 жыл бұрын
D is watching sudden change of position within the fraction time to give feedback. It does’t matter where the target is. So .. 1. Set P for the smooth and sluggish curve. 2. Set I to help add power to P if it is taking too much time to get to the target. 3. Set D to push the power back if I is doing too much work and excessive acceleration. P I’ll try to get to the target. I I’ll give you extra power because you are taking too much time. D I’ll slow you down because I is giving too much power and detected sudden movement in short period of time.
@MrLeon37735 жыл бұрын
Thanks for the brilliant comment!
@pastrie424 жыл бұрын
This was so much better of an explanation of what each one does.
@BobtheBuilder04 жыл бұрын
This made it really clear for me, thank you!
@sunsetpark_fpv4 жыл бұрын
Nice breakdown!
@YassineSfaxien4 жыл бұрын
Good explanation. Thx
@NVTCGames2 ай бұрын
I play stormworks and have been trying to figure out how these work for a millennium without using just the P value and this man is a saviour
@tazblink4 жыл бұрын
I have to write and say thank you. I built a PID box to control oven temps and I have been screwing with it all day. I knew what I wanted it to do but I just didn't know how to get there. Your explanation of D solved my problems. I was getting a 20 degree over and 10 degree under oscillation. Now I am getting a .1 to .3 degree over oscillation and thats it. It holds at exactly 167.0 to 167.3. Perfect for killing covid-19 on masks gloves whatever. I am using 2 oven thermometers to verify the temp and it is dead nuts. Again thanks so much I hadn't heard D explained that way before and it all clicked when you said it. TAS
@TormodSteinsholt3 жыл бұрын
P term is a rubber band with a resting length of zero. It needs distance to produce tension. If you increase the load on a rubber band, it needs to stretch further in order to produce the correct tension. This is insufficient for a regulator since you expect a regulator to compensate. The I term naturally complements the shortcoming of a rubber band. And since both pull towards the setpoint, you need the D term to compensate to avoid overshoot.
@pjohnston847 жыл бұрын
I've seen a lot of pid videos, but this graph does a great job demonstrating what is going on. The graph is very informative Thank you!
@WacekDziewulski6 жыл бұрын
This is just about the best explanation of PIDs ever! I've watched a lot of videos on the topic including Joshua Bardwell's PID tuning masterclass and as much as I appreciate his practical approach, You've just nailed it in theory! Understanding Your video gives one a clear view on the Anti-Gravity and Feed Forward in Betaflight. Thanks for allowing me to grasp the whole thing. Awesome job! Subscribing for more!
@michaelosinowo2267 жыл бұрын
this is the best theoretical explanation so far
@liuyanxin59006 жыл бұрын
That’s a really great presentation, now I got some basic understanding of PID control! Thx a lot!
@dk14152 жыл бұрын
OMG finally someone to dumb down PIDs for me! I have been searching forever! Thank you soooooo much!!
@FAB11505 жыл бұрын
This is the best explanation I have ever encountered, thank you!
@tigerseye735 жыл бұрын
As an electrician, I sometimes had to tune PID for process temp. control. I was able to muddle through it but it was sometimes frustrating. Wish I could have viewed your channel years ago. Thankfully, most micro controllers now have auto-tune feature. Turn it on and let it do its thing. Your video can be applied to many different control application. Thanks for sharing.
@johndarwinmateo7963 жыл бұрын
What if auto tune doesn't fix the problem what would be the best way to fix it?
@johndarwinmateo7963 жыл бұрын
I'm fixing an oven in our laboratory and it has a pid controller I tried to autone and offset the controller the pv and the sv is already equal unfortunately the actual temperature in the inside is very high
@WhipGear5 жыл бұрын
The best explanation of quad tuning I have seen thus far... You are the Khan Academy of quad-copters... Keep up the good work.
@kaushalmody96174 жыл бұрын
Great job man, simplified PID explanation. Just what I wanted.
@samuelpaes24 жыл бұрын
OMG, YOU ARE THE BEST, I AM A BRAZILIAN STUDENT OF ELECTRICAL ENGINEERING AND YOU HELP ME SO MUCH, THANKS MAN
@BayLA4156267 жыл бұрын
best discription i ever head out off all the videos i ever seen on tuning. i wii finally be able to tune my quad.. thanks a lot for breaing it down in a way anyone can understand and not just making stuff up....
@ardentdfender411611 ай бұрын
One the best explanation I’ve come across watching quite a lot of PID vids. Still trial and error in tuning goes a long way. Especially if you got a very good updated trend to look at on a short time scale like inn15-30 min span or so. That allows you to see how things are playing out on a trend in adjustment as you try to smooth things out.
@yourdreamhomebyjenmagpantay7 ай бұрын
Hi how to adjust the PID temperature controller. Should I put all setting to zero then start adjusting the p?
@ADHDintothewild7 ай бұрын
THE BEST TUTORIAL ON PID CONTRLLERS! GREAT JOB MAN!
@nofianto4 жыл бұрын
your explanation about PID basic concept for drone is the best... easy to understand and simple....
@marien19916 жыл бұрын
Thank you for making me understand the use of each one of the three terms. Before this explanations, everything was like XYZ in mathematics, but from now on i will have in mind what PID means when calculating. It will make a big difference, thanks to you.
@G.J.G.P. Жыл бұрын
Dude, i was here, because to know the meaning PID for tuning a stand alone ecu. But somehow i think its basicly the same and you explained it very good😅
@hancock7803 жыл бұрын
Why is it that no one else could simplify what's going on. I've watched many many videos and read lots and I could never retain what was going on. You made this so simple to understand.
@iFlySometimes7 жыл бұрын
Surprises me you don't have more subscribers, your channel is great. Keep it up!
@pastrie424 жыл бұрын
Considering his video is completely wrong, I disagree. The comments, thankfully, saved me from this bad information.
@AlexandreLeone5 жыл бұрын
Very good explanation dude! Now I know all I need to know about PID!
@Malik.essadi3 жыл бұрын
Best simplifying video on PID ever
@rodrigodiniz133 жыл бұрын
Wow. that was the best explanation about PIDs ever!
@suyongpark31256 жыл бұрын
Kudos on his ingenuity! Thx a lot!!! :-) Your lecture helps me to survive final exam.
@ENOKFPV7 жыл бұрын
This is a really nice look at PIDs. Good work.
@RimmyTimfpv7 жыл бұрын
This makes more sense to me than any other PID explanation video I've seen, so thank you. I've been flying for about a year and have never really been able to visualize what each term does, and I just built a quad that is giving me more trouble to tune than my other two quads ever did, so I'm here to learn!
@desolatekd Жыл бұрын
Really a great way you explained the most complicated part. Thanks
@catalystmachineworks47943 жыл бұрын
You won the nerd contest. You are king nerd. Well done.
@StefanoBorini2 ай бұрын
P: fast. D: smooth. I: consistent.
@gilbertproductions47543 жыл бұрын
This is the perfect visualization i needed. Thank you
@shubhamnayak81483 жыл бұрын
Why do we use a PID controller if the only thing that it does is to follow the input. Why dont we directly fed our input to the system instead of passing it through PID.
@dronereaper7725 жыл бұрын
Awesome video this has already help me in this Awesome hobby/sport you are a excellent teacher this video will help every beginner like myself that’s intimidated by tuning cause some people in the sport are so advanced that they are far removed from knowing and understanding how a beginner thinks 🤔. Thanks so much this has shaved months maybe longer off understanding Fpv in its entirety 😃👍
@eriksen70224 ай бұрын
first video that made me understand pids
@zechenwei1139Ай бұрын
This is pure gold.
@mikebarkasi64674 жыл бұрын
Excellent way of explaining how PID effect the performance!
@j0joe334 жыл бұрын
Referring to the beginning of the explanation: P term, as i understand it. does not slow down or speed up. That is derivative. P term also does not move back and fourth. That is Integral. The P term tries to move to the target, but because of physics, it ends up being in the wrong place. It outputs proportional to the input. If the p is 2/1, it outputs 2 for every 1. It is one number, the desired destination. Integral and Derivative correct the errors.
@rl21097 жыл бұрын
I'm surprised that I am just finding your channel... Absolutely worth the sub! Thanks for posting; I'll be checking out other content on your channel...!
@X19-x5f Жыл бұрын
This is a great explanation. Thanks for posting!
@NiftyNodesАй бұрын
Awesome! Seriously helpful visual!
@seankiverchuk4627 Жыл бұрын
Thank you for your explanation of pid I been trying to figure out how it works.
@vasaaviarion2 жыл бұрын
I got inspired to learn about these after watching the brick experiment channel build an automatic depth control Lego submarine.
@isramv742 жыл бұрын
great video, now I finally understand PIDs , thanks you!
@cameronjacobs31446 жыл бұрын
Great video! When someone asks me about pid's I show them this video
@otiliamarc40405 жыл бұрын
This video was so good and easy to understand!! Huge thanks!!
@pierschan44675 жыл бұрын
Great explanation on PID's physical meaning!
@blackmaggotfpv4 жыл бұрын
That's the best explanation outhere! Thanks!!
@nikitam6164 Жыл бұрын
thank you for the wonderful video. Helped me understand better :)
@Warlock0880 Жыл бұрын
I had a foreign professor teach a class on Control Systems. These concepts didn't make sense until I started manipulating objects in Godot. My cube is orbiting my target point.
@kennylow8751Ай бұрын
Fantastic video, thank you!
@SerhiyVoytenko8 ай бұрын
Thanks!. It's the best simple explanation
@fpvpf4 жыл бұрын
Thanks man. I've now better understanding of PIDs.
@shubhamnayak81483 жыл бұрын
Why do we use a PID controller if the only thing that it does is to follow the input. Why dont we directly fed our input to the system instead of passing it through PID.
@safian313377 жыл бұрын
You sir are a great teacher.
@TheeSherminator3 ай бұрын
P pushes up, D stabilize , I gives that last push.. But what fixed the D to overcompensate from the bumbps? was expecting I to fix that problem but now im confused. Guess im stupid since everybody gets it.
@VaibhavKulkarni19918 ай бұрын
You explained very very simple sir,thank you so much
@lavexitosh Жыл бұрын
Thanks for the simplified explanation!
@captainkook93716 жыл бұрын
You've got a stable pulse on your mouse. Very helpful video. Thanks.
@calebsherman8867 жыл бұрын
9:05 Just gonna let you know those arrows are backwards in size, as it curves away the arrows are bigger but in the center of the curve they're smaller because less change.
@SiieeFPV7 жыл бұрын
good catch, I'm drawing the value curve but thinking about the acceleration curve
@YigitAgronomlar2 ай бұрын
Thank you for clear explanation.
@illtryanything18 ай бұрын
The human brain and body are massively proficient at PID. I just tried it a bunch by touching things quickly. I never would have thought about that aspect of the body until just now.
@ayoubboutebal15495 жыл бұрын
Very well explained ! it helps controling compressor speed for AC loop
@69RocketBones4 жыл бұрын
Have been struggling to understand PIDs for ages. This video helped a lot. Thank you. :)
@carlosmolina48922 жыл бұрын
really nice explanation. thank u
@PolD333 ай бұрын
So if D has to do a lot of work, the motors are getting hotter? :D .. I'm trying to get this .. nice Video
@RushitShukla3 жыл бұрын
Thank you for uploading. Well explained.
@SSBelmont7 жыл бұрын
Very well explained in simple terms, well done, subbed you
@hasanx83172 ай бұрын
is a PID good in following a moving target?
@mattgrimmett60674 жыл бұрын
I almost never see Derivative being used in manufacturing ("D term").... Proportional and Integral are more than enough to tune almost any loop
@priyeshrabadiya48263 жыл бұрын
Is there any side effects or drawbacks while using D term?
@mattgrimmett60673 жыл бұрын
@@priyeshrabadiya4826 just unnecessary
@acr_-kj8gd5 жыл бұрын
the illustrations made it simple, I like it
@zrmsraggot2 жыл бұрын
Is it possible to create a PID controler that won't allow overshoot like ' You need to stop this car right before it falls off a cliff '
@ngcebomadziba23054 жыл бұрын
wow, best explanation ever
@kubilayakbulut53024 жыл бұрын
did you see any code example like this explanation?, I mean basic codes
@julianfiller87315 жыл бұрын
Straightforward and to the point. Thanks
@edouardmalot516 жыл бұрын
I am not sure of the D term explanation. D term is base of the error slope (Target - current position), not calculated according to how far we are from setpoint. Anyway, I love yours videos, thanks a lot !
@skyfolk99565 жыл бұрын
Agree with you on both terms, the D term and the video as well.
@mrbradley87433 жыл бұрын
I just don't understand. Whenever I see other examples, it shows a high rate of change (approaching set point quick, say a PV of 40degress and set point of 50 degrees)giving D a high value. If we are approaching a set point and want to avoid overshoot, is the D value inverse? So the D value gives a minus value to the PID controller to lower the power to avoid overshoot?
@mehdiaghaei17922 жыл бұрын
I'm very surprised se how you chat with the control paraemters. That's kind of lovely relationship
@idavancunha8246 Жыл бұрын
Great explanation! 👏
@chaizxcv88107 жыл бұрын
Thx. This is so easy to understand.
@boxer71c55 Жыл бұрын
Awesome explanation!
@dbingamon Жыл бұрын
But Integral can accumulate and stall a PID as well. It's called "Integral Windup".
@TheRainHarvester4 жыл бұрын
Have you ever tried zeroing out the kterm (the accumulating variable) when crossing the setpoint? I noticed it's always retaining it's value when overshooting, when it should really help to go the opposite direction.
@turpialito3 жыл бұрын
Great explanation. Kudos.
@EnnTomi13 ай бұрын
in a very bad and laymen way to put it, P is like distance, I is like speed, D is like acceleration.
@ukaszwasniewski766811 ай бұрын
Well done 👍 thanks man
@fabricio.ferrari3 жыл бұрын
good explanation. Btw, what instrument do you use for drawing?! thanks
@yourdreamhomebyjenmagpantay7 ай бұрын
Sir i have a problem in my pid temperature controller. Should i adjust first the p , then d, last is I? Can i know what should i do.
@stuartp20066 ай бұрын
I feel like I've been ruined by this pseudocode PID where all the PID values are inverted, which opposite of industry standard but shows up in this one game I play.
@wojuthegreat80157 жыл бұрын
I'd like to point out that you're not explaining anything about the mathematical aspect of the whole process. U should say why does a derivative of error signal is negative or positive and when and also about an intergral (adds up the error signal)
@jean-naymar6025 жыл бұрын
That's not the point of the video tbh
@Ger.FPV20235 жыл бұрын
I don't care about the mathematical! I only care about the concept and easy understanding! If you want mathetics then make your own video and for sure I will not watch it.
@GLXYFPV5 жыл бұрын
This is incredibly helpful thanks!
@goesboom54163 жыл бұрын
Is setpoint in blackbox explorer the target?
@shlukyy7 жыл бұрын
Great explanation.Subscribing.
@pb12483 жыл бұрын
Instead of a proportional term why can't we use == relation
@RizwanKhan_996 жыл бұрын
So, P = amount of correction signal, proportional to the deviation from set-point, and D= response rate of the 'P' signal (to prevent time delays by preventing any overshoots or undershoots) is my understanding correct?
@SiieeFPV6 жыл бұрын
D is independent of P, they just happen to work together. D also doesn't do anything to prevent undershoots ( I is what provides a slow nudge when you're not resolving on your exact set point ) it fights overshoots by virtue of it providing a corrective force when the error is increasing, which is what happens when P overshoots it's target
@RizwanKhan_996 жыл бұрын
@@SiieeFPV so when I is slow to react, exactly what role does D play in that situation?
@SiieeFPV6 жыл бұрын
if the pid controller has settled but not exactly at it's target D isn't really doing anything. because even though it's not at it's target, the error is not changing, so D sees nothing happening
@RizwanKhan_996 жыл бұрын
@@SiieeFPV I see. So, when P is small and D plays no role (as it sees no error as you say), how exactly then an undershoot is corrected?
@SiieeFPV6 жыл бұрын
I term slowly nudges the solution towards the target over time. With no I term an undershoot is not corrected. Technically not even always an undershoot, you can have a small overshoot as well. You can resolve anywhere very close to, but not exactly at, the target. I term finishes the job.
@XGraphixWebsites6 жыл бұрын
I am confused ... You are talking about hitting its target ... How does the quad know where the target is, considering we decide when to stop and start the movement of the quad. Maybe I am looking at this all wrong.
@SiieeFPV6 жыл бұрын
The target that you're setting isn't the quads position, but the quads rotational speed. That's why it's called "rate" mode, because you're directly commanding the rotational rate. So when you've got the stick pushed over to one side you set the target rotation speed to say 900 degrees/sec, and the pid controller then tries what it can to make the quad spin at 900 degrees/sec in that direction. When you're doing a flip you're issuing two different rate targets in quick succession, the first when you push the stick over to the side to tell the quad to spin quickly to one direction, and a second target when you return the stick to center and tell the quad to stop rotating (no matter what direction it's facing) If you're in level, or attitude mode then your stick position is directly controlling the angle the quad sits at, so the target your commanding is a position target rather than a rate target. Typically this will actually be a 2nd pid controller that talks to the lower level rate pid controller.
@francoisleveille409 Жыл бұрын
A big P is UNDER DAMPENED. A small P is OVER DAMPENED.
@ZeGxldnPoo Жыл бұрын
Based on the small 🍆 energy you give off, your P must be over-dampened.
@senalperera8629 Жыл бұрын
Great explanation 🫡
@shubhamnayak81483 жыл бұрын
Why do we use a PID controller if the only thing that it does is to follow the input. Why dont we directly fed our input to the system instead of passing it through PID.
@SiieeFPV3 жыл бұрын
Because the input that we feed it is not the same as what the output of the controller is. In the case of a drone we tell the controller what angle we want, and the controller outputs motor speed for 4 different motors. In the case of a motor controller we may tell the controller what speed we want the motor to spin, and the pid controller will output the torque to get to that speed, and then that torque value may also get fed into another pid controller that takes a torque value and manages the phase current on the motor windings. Think of it like looking up directions on a map. You say "go to this location" and the pid controller looks up all the turn by turn directions and handles traveling the distance. Sure you could figure out the whole route yourself, but the pid controller is much faster at it, and you only really care that it actually reaches the destination.
@austinmoen52784 жыл бұрын
Why does the P term by itself result in an offset?
@sunsetpark_fpv4 жыл бұрын
Awesome explanation. Your simple, colored lines and dots were a great visualization of your explanation. Looking at your dots made me think - hmmm....looks like iteration steps over time......which brings my question: How many times does this process iterate in a single second? I know my loop is set to 8kHz. Is that 8000 times a second? Or is it a higher magnitude, like 8 million? Thanks for the great video. 👍
@hildevanesch2000 Жыл бұрын
Hz = per second, kilo = magnitude of 1000, so indeed 8000 times per second ;)