PIDs Simplified

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ธ.ค. 2016
  • Taking an extremely simplified look at what P I and D are and how they relate to each other.
  • บันเทิง

ความคิดเห็น • 179

  • @TrFusion
    @TrFusion 5 ปีที่แล้ว +290

    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.

    • @MrLeon3773
      @MrLeon3773 4 ปีที่แล้ว +10

      Thanks for the brilliant comment!

    • @pastrie42
      @pastrie42 4 ปีที่แล้ว +5

      This was so much better of an explanation of what each one does.

    • @BobtheBuilder0
      @BobtheBuilder0 4 ปีที่แล้ว +3

      This made it really clear for me, thank you!

    • @sunsetpark_fpv
      @sunsetpark_fpv 3 ปีที่แล้ว +2

      Nice breakdown!

    • @YassineSfaxien
      @YassineSfaxien 3 ปีที่แล้ว +2

      Good explanation. Thx

  • @chrispietersen804
    @chrispietersen804 4 ปีที่แล้ว +80

    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
      @raoabdulhadi 10 หลายเดือนก่อน +1

      You wrote it already what I wanted to write.

  • @pjohnston84
    @pjohnston84 6 ปีที่แล้ว +8

    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!

  • @TormodSteinsholt
    @TormodSteinsholt 3 ปีที่แล้ว +19

    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.

  • @BayLA415626
    @BayLA415626 6 ปีที่แล้ว +1

    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....

  • @WhipGear
    @WhipGear 5 ปีที่แล้ว

    The best explanation of quad tuning I have seen thus far... You are the Khan Academy of quad-copters... Keep up the good work.

  • @liuyanxin5900
    @liuyanxin5900 5 ปีที่แล้ว +6

    That’s a really great presentation, now I got some basic understanding of PID control! Thx a lot!

  • @kaushalmody9617
    @kaushalmody9617 4 ปีที่แล้ว +3

    Great job man, simplified PID explanation.
    Just what I wanted.

  • @michaelosinowo226
    @michaelosinowo226 6 ปีที่แล้ว +8

    this is the best theoretical
    explanation so far

  • @mikebarkasi6467
    @mikebarkasi6467 3 ปีที่แล้ว

    Excellent way of explaining how PID effect the performance!

  • @WacekDziewulski
    @WacekDziewulski 5 ปีที่แล้ว +5

    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!

  • @marien1991
    @marien1991 5 ปีที่แล้ว +1

    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.

  • @suyongpark3125
    @suyongpark3125 5 ปีที่แล้ว

    Kudos on his ingenuity!
    Thx a lot!!! :-)
    Your lecture helps me to survive final exam.

  • @ayoubboutebal1549
    @ayoubboutebal1549 4 ปีที่แล้ว

    Very well explained ! it helps controling compressor speed for AC loop

  • @tazblink
    @tazblink 4 ปีที่แล้ว +2

    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

  • @safian31337
    @safian31337 7 ปีที่แล้ว +5

    You sir are a great teacher.

  • @dronereaper772
    @dronereaper772 5 ปีที่แล้ว

    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 😃👍

  • @69RocketBones
    @69RocketBones 3 ปีที่แล้ว

    Have been struggling to understand PIDs for ages. This video helped a lot. Thank you. :)

  • @FAB1150
    @FAB1150 5 ปีที่แล้ว +25

    This is the best explanation I have ever encountered, thank you!

  • @nofianto
    @nofianto 3 ปีที่แล้ว

    your explanation about PID basic concept for drone is the best... easy to understand and simple....

  • @ENOKFPV
    @ENOKFPV 6 ปีที่แล้ว +4

    This is a really nice look at PIDs. Good work.

  • @pierschan4467
    @pierschan4467 4 ปีที่แล้ว +2

    Great explanation on PID's physical meaning!

  • @AlexandreLeone
    @AlexandreLeone 4 ปีที่แล้ว +1

    Very good explanation dude! Now I know all I need to know about PID!

  • @dk1415
    @dk1415 ปีที่แล้ว

    OMG finally someone to dumb down PIDs for me! I have been searching forever! Thank you soooooo much!!

  • @ardentdfender4116
    @ardentdfender4116 2 หลายเดือนก่อน

    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.

  • @RimmyTimfpv
    @RimmyTimfpv 6 ปีที่แล้ว

    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!

  • @tigerseye73
    @tigerseye73 5 ปีที่แล้ว +4

    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.

    • @johndarwinmateo796
      @johndarwinmateo796 2 ปีที่แล้ว

      What if auto tune doesn't fix the problem what would be the best way to fix it?

    • @johndarwinmateo796
      @johndarwinmateo796 2 ปีที่แล้ว

      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

  • @samuelpaes2
    @samuelpaes2 3 ปีที่แล้ว

    OMG, YOU ARE THE BEST, I AM A BRAZILIAN STUDENT OF ELECTRICAL ENGINEERING AND YOU HELP ME SO MUCH, THANKS MAN

  • @captainkook9371
    @captainkook9371 5 ปีที่แล้ว

    You've got a stable pulse on your mouse. Very helpful video. Thanks.

  • @otiliamarc4040
    @otiliamarc4040 4 ปีที่แล้ว

    This video was so good and easy to understand!! Huge thanks!!

  • @julianfiller8731
    @julianfiller8731 4 ปีที่แล้ว

    Straightforward and to the point. Thanks

  • @alexfpv1113
    @alexfpv1113 3 ปีที่แล้ว

    That's the best explanation outhere! Thanks!!

  • @user-di4bt7qu2i
    @user-di4bt7qu2i 11 หลายเดือนก่อน

    This is a great explanation. Thanks for posting!

  • @Ger.FPV2023
    @Ger.FPV2023 4 ปีที่แล้ว

    Perfect explanation! Thanks!

  • @desolatekd
    @desolatekd 7 หลายเดือนก่อน

    Really a great way you explained the most complicated part. Thanks

  • @rl2109
    @rl2109 6 ปีที่แล้ว +4

    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...!

  • @gilbertproductions4754
    @gilbertproductions4754 3 ปีที่แล้ว

    This is the perfect visualization i needed. Thank you

    • @shubhamnayak8148
      @shubhamnayak8148 3 ปีที่แล้ว

      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.

  • @rodrigodiniz13
    @rodrigodiniz13 3 ปีที่แล้ว

    Wow. that was the best explanation about PIDs ever!

  • @seankiverchuk4627
    @seankiverchuk4627 8 หลายเดือนก่อน

    Thank you for your explanation of pid I been trying to figure out how it works.

  • @Malik.essadi
    @Malik.essadi 2 ปีที่แล้ว

    Best simplifying video on PID ever

  • @cameronjacobs3144
    @cameronjacobs3144 5 ปีที่แล้ว

    Great video! When someone asks me about pid's I show them this video

  • @iFlySometimes
    @iFlySometimes 6 ปีที่แล้ว +15

    Surprises me you don't have more subscribers, your channel is great. Keep it up!

    • @pastrie42
      @pastrie42 4 ปีที่แล้ว

      Considering his video is completely wrong, I disagree. The comments, thankfully, saved me from this bad information.

  • @choicefpv4331
    @choicefpv4331 6 ปีที่แล้ว +1

    Thank you, nice job.

  • @RushitShukla
    @RushitShukla 2 ปีที่แล้ว

    Thank you for uploading. Well explained.

  • @GLXYFPV
    @GLXYFPV 4 ปีที่แล้ว

    This is incredibly helpful thanks!

  • @chaizxcv8810
    @chaizxcv8810 6 ปีที่แล้ว +1

    Thx. This is so easy to understand.

  • @hancock780
    @hancock780 2 ปีที่แล้ว

    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.

  • @srviejo2298
    @srviejo2298 6 ปีที่แล้ว

    Excellent video!

  • @turpialito
    @turpialito 3 ปีที่แล้ว

    Great explanation. Kudos.

  • @SSBelmont
    @SSBelmont 6 ปีที่แล้ว

    Very well explained in simple terms, well done, subbed you

  • @lavexitosh
    @lavexitosh 10 หลายเดือนก่อน

    Thanks for the simplified explanation!

  • @idavancunha8246
    @idavancunha8246 8 หลายเดือนก่อน

    Great explanation! 👏

  • @acr_-kj8gd
    @acr_-kj8gd 5 ปีที่แล้ว

    the illustrations made it simple, I like it

  • @isramv74
    @isramv74 ปีที่แล้ว

    great video, now I finally understand PIDs , thanks you!

  • @syaralhabib6969
    @syaralhabib6969 4 ปีที่แล้ว

    Thanks, very helpful information

  • @TheRainHarvester
    @TheRainHarvester 3 ปีที่แล้ว

    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.

  • @j0joe33
    @j0joe33 4 ปีที่แล้ว +2

    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.

  • @boxer71c55
    @boxer71c55 11 หลายเดือนก่อน

    Awesome explanation!

  • @G.J.G.P.
    @G.J.G.P. 11 หลายเดือนก่อน

    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😅

  • @senalperera8629
    @senalperera8629 7 หลายเดือนก่อน

    Great explanation 🫡

  • @carlosmolina4892
    @carlosmolina4892 ปีที่แล้ว +1

    really nice explanation. thank u

  • @fabricio.ferrari
    @fabricio.ferrari 3 ปีที่แล้ว

    good explanation. Btw, what instrument do you use for drawing?! thanks

  • @ukaszwasniewski7668
    @ukaszwasniewski7668 2 หลายเดือนก่อน

    Well done 👍 thanks man

  • @chouitala1727
    @chouitala1727 4 ปีที่แล้ว

    That's amazing

  • @Warlock0880
    @Warlock0880 4 หลายเดือนก่อน

    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.

  • @nikitam6164
    @nikitam6164 4 หลายเดือนก่อน

    thank you for the wonderful video. Helped me understand better :)

  • @shlukyy
    @shlukyy 6 ปีที่แล้ว

    Great explanation.Subscribing.

  • @XyberZyen
    @XyberZyen 5 หลายเดือนก่อน

    Great grea video and explanation thx

  • @vasaaviarion
    @vasaaviarion ปีที่แล้ว

    I got inspired to learn about these after watching the brick experiment channel build an automatic depth control Lego submarine.

  • @totoilongo6132
    @totoilongo6132 5 ปีที่แล้ว +1

    Thanks for sharing

  • @MichaelUtah
    @MichaelUtah 5 ปีที่แล้ว

    really insightful...

  • @simij7350
    @simij7350 3 ปีที่แล้ว

    Awesome! Thanks a lot

  • @catalystmachineworks4794
    @catalystmachineworks4794 3 ปีที่แล้ว

    You won the nerd contest. You are king nerd. Well done.

  • @gerardjanssen4122
    @gerardjanssen4122 3 ปีที่แล้ว

    Thank you!

  • @manojyadav6967
    @manojyadav6967 5 หลายเดือนก่อน

    best explanation

  • @fpvpf
    @fpvpf 3 ปีที่แล้ว

    Thanks man. I've now better understanding of PIDs.

    • @shubhamnayak8148
      @shubhamnayak8148 3 ปีที่แล้ว

      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.

  • @florentinosanchez3969
    @florentinosanchez3969 ปีที่แล้ว

    really nice video

  • @NJ-md8uu
    @NJ-md8uu 4 ปีที่แล้ว

    love yr class thank *1000 so much

  • @mehdiaghaei1792
    @mehdiaghaei1792 2 ปีที่แล้ว

    I'm very surprised se how you chat with the control paraemters. That's kind of lovely relationship

  • @fellstar
    @fellstar 7 ปีที่แล้ว +1

    Great writeup.

  • @goesboom5416
    @goesboom5416 2 ปีที่แล้ว

    Is setpoint in blackbox explorer the target?

  • @rahulrpatil3005
    @rahulrpatil3005 4 ปีที่แล้ว

    Thankyou SIR . Thankyou very much

  • @mrbradley8743
    @mrbradley8743 3 ปีที่แล้ว

    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?

  • @calebsherman886
    @calebsherman886 6 ปีที่แล้ว +1

    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.

    • @SiieeFPV
      @SiieeFPV  6 ปีที่แล้ว +1

      good catch, I'm drawing the value curve but thinking about the acceleration curve

  • @ngcebomadziba2305
    @ngcebomadziba2305 3 ปีที่แล้ว +1

    wow, best explanation ever

    • @kubilayakbulut5302
      @kubilayakbulut5302 3 ปีที่แล้ว

      did you see any code example like this explanation?, I mean basic codes

  • @sunsetpark_fpv
    @sunsetpark_fpv 3 ปีที่แล้ว

    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
      @hildevanesch2000 4 หลายเดือนก่อน +1

      Hz = per second, kilo = magnitude of 1000, so indeed 8000 times per second ;)

  • @zrmsraggot
    @zrmsraggot 2 ปีที่แล้ว

    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 '

  • @sundaresann4749
    @sundaresann4749 6 ปีที่แล้ว

    This is knowledge mine.

  • @sujitsharma3714
    @sujitsharma3714 4 ปีที่แล้ว

    Found really helpful

  • @andrepb_inc
    @andrepb_inc 5 หลายเดือนก่อน

    Thank you

  • @user-ch1ep4hi7q
    @user-ch1ep4hi7q ปีที่แล้ว

    nice job

  • @rollingfpv6303
    @rollingfpv6303 2 ปีที่แล้ว

    Good video

  • @godsun358
    @godsun358 4 ปีที่แล้ว

    .kool way to look at P.I.Ds

  • @edouardmalot51
    @edouardmalot51 5 ปีที่แล้ว +1

    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 !

    • @skyfolk9956
      @skyfolk9956 4 ปีที่แล้ว

      Agree with you on both terms, the D term and the video as well.

  • @nerdCopter
    @nerdCopter 3 ปีที่แล้ว

    +1👍 💪 best one, i refer to it often

    • @shubhamnayak8148
      @shubhamnayak8148 3 ปีที่แล้ว

      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.

  • @janfilipi5947
    @janfilipi5947 10 หลายเดือนก่อน

    Thanks a lot

  • @user-ds6qf9tv4u
    @user-ds6qf9tv4u หลายเดือนก่อน

    Thx!

  • @RizwanKhan_99
    @RizwanKhan_99 5 ปีที่แล้ว

    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?

    • @SiieeFPV
      @SiieeFPV  5 ปีที่แล้ว +2

      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_99
      @RizwanKhan_99 5 ปีที่แล้ว

      @@SiieeFPV so when I is slow to react, exactly what role does D play in that situation?

    • @SiieeFPV
      @SiieeFPV  5 ปีที่แล้ว +2

      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_99
      @RizwanKhan_99 5 ปีที่แล้ว

      @@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?

    • @SiieeFPV
      @SiieeFPV  5 ปีที่แล้ว +1

      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.

  • @Cc-nj2zm
    @Cc-nj2zm 4 ปีที่แล้ว

    What program did you use to draw this PID drawing explanation?

    • @SiieeFPV
      @SiieeFPV  4 ปีที่แล้ว +1

      I just screen capped live drawing in TVPaint, it's 2d animation software, but it could just as easily be done in Photoshop or Krita

  • @shreyadas3826
    @shreyadas3826 3 ปีที่แล้ว

    well explained