The PID Controller makes 🌎EVERYTHING🌎 work

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 55

  • @IvanEfimovLimon
    @IvanEfimovLimon 11 місяців тому +8

    Mr Mark bringing up a video editing game, love it! :) Nice explanation
    Now we just need KISS to also have sliders :)

    • @quadbrake
      @quadbrake 11 місяців тому

      I need a slider to make me not a shit pilot! 🤣🤣🤣

    • @uavtech
      @uavtech  11 місяців тому

      ya like that! Point Tracking FTW!!
      only a content creator can appreciate the time it takes for that stuff.

  • @KrwFpv
    @KrwFpv 11 місяців тому +2

    Again, Crystal Clear!!

  • @quadbrake
    @quadbrake 11 місяців тому +2

    I need to learn more about this. Thanks! It still makes my head hurt though. 🙂

  • @throttletube
    @throttletube 3 місяці тому

    excellent overview of what it all means. thank you sir!

  • @BrainDeadEngineering
    @BrainDeadEngineering 11 місяців тому

    This is marvelous, I'm getting more courage now ! Thanks !

  • @samavella8831
    @samavella8831 11 місяців тому

    Thanks Mark, love the new terminology. Definitely makes the understanding of what they do and how they relate to each other that much more clear and in layman’s term.

  • @mlentsch
    @mlentsch 11 місяців тому +1

    Good one - I'm understanding better, now - the filtering delay affecting the resonant "mode" - awesome! Thanks, dude.

    • @someonespotatohmm9513
      @someonespotatohmm9513 11 місяців тому

      I don't think that is what was said or the case. What he said is that the reduced delay allows for higher PID parameters, and those increase the resonance freq ( 5:50 ).

    • @mlentsch
      @mlentsch 11 місяців тому

      @@someonespotatohmm9513 That's what I said. Except that PIDs don't increase the "frequency" - it's the less delay allows for a "tighter" interplay in the system thus "raising" the frequency that they're ideal at.

    • @someonespotatohmm9513
      @someonespotatohmm9513 11 місяців тому

      @@mlentsch I admit it is kinda pedantic, but rewatch the bit after my timestamp. The control frequency goes up from the increased PID values, not from decreased delay. The nosie rejection (so prop wash) should go up from both decreasing the delay and PID values (not 100% sure on the math about the delay). The difference is importand because you leave performance on the table if you just decrease the filtering.

  • @ricyjo
    @ricyjo 11 місяців тому

    it finally makes sense... thank you VERY much~

  • @lalbabugupta8380
    @lalbabugupta8380 11 місяців тому +1

    Your knowledge is very useful for we beginners, keep sharing.❤

  • @leminhhuy3614
    @leminhhuy3614 10 місяців тому

    Thanks you so much!

  • @divingfalconfpv4602
    @divingfalconfpv4602 7 місяців тому

    Doing tuning right now on aura 10. Started at presets that were extremely too low. So bumped up later instantly alot. And bumped D term to get PD ratio. Then had to take yaw off slider double that. Haven't gotten to go tune again. But i did get a cli pid tube from rcshim he said to try his. He still has wobbles but i could start from there.

  • @volkergoe
    @volkergoe 11 місяців тому

    Once again an excellent summery of the concept!
    Only thing I will nag about is that when you raise D the step response curve should get flatter (slower).

  • @pinewaves_
    @pinewaves_ 11 місяців тому

    Thank you so much

  • @RobertLeclercq
    @RobertLeclercq 11 місяців тому

    I = Imbalance is perfect!
    You need 'I' to balance / center the oscillations around the set point.
    This is the easiest way I have heard it explained.

    • @uavtech
      @uavtech  11 місяців тому +4

      And you DO NOT want your Imbalance term doing the job of the P-term due to lack of P-gain.
      It will cause wobble.

  • @MCsCreations
    @MCsCreations 11 місяців тому

    Fantastic info, Mark! Thanks a bunch! 😃
    Stay safe there with your family! 🖖😊
    And happy holidays!

  • @JosephDaulton-sm3ci
    @JosephDaulton-sm3ci 11 місяців тому

    Thank you for that, it’s stinking awesome to have someone put it into English.. joined your Patreon👍 I planned on watching enough of your content last winter on my time off to learn how to tune my quads, I have quite a fleet and I build a lot of them, big birds. Hopefully this winter will be the winter that I get that done

  • @sullytrny
    @sullytrny 11 місяців тому +1

    A good inav motor output tab idle setting and the receiver tab in DEPTH would be nice

  • @davidrone_fpv
    @davidrone_fpv 11 місяців тому +1

    Great job in making things clearer for me! But why every test I'm seeing is still on BF 4.3?

    • @uavtech
      @uavtech  11 місяців тому

      Cause that is when the great debate occurred for the slider. Why would we/I rerun for every release?. The controller is, has, and always will be a Proportional, Integral, and Derivative controller. Same control logic. Same physics on the quad copter.

    • @davidrone_fpv
      @davidrone_fpv 11 місяців тому

      @@uavtech can I highjack the comment and ask you how much has the sliders changed from 4.3 to 4.4? Every drone I try to pid in 4.4 fly worse then in 4.3 and I can't understand why.
      Thank you for your response and for your time!

    • @uavtech
      @uavtech  11 місяців тому

      They did not change at all from 4.3 to 4.4.

    • @davidrone_fpv
      @davidrone_fpv 11 місяців тому

      @@uavtech awesome, so I can copy thr pids as they are. Probably I've messed up something else then.
      Thank you so much!

  • @WernerBeroux
    @WernerBeroux 2 місяці тому

    Shouldn't the master move the sliders proportionally rather than the delta like what you seem to hint around 4:00?

    • @uavtech
      @uavtech  2 місяці тому

      The proportional differences between the gains remain consistent when the Master Multiplier moves up / down.
      There is some rounding error, but ...

  • @BrlnUK
    @BrlnUK 11 місяців тому

    Thank you for another excellent explanation.
    One question if I may. I note that you said that in Inav for the Z axis there is only the P term that is adjustable. On my 10" quad on RTH the quad oscillates above and below the required altitude, the resulting current draw plays havoc with the Li-ion battery. Will adjustment of only the P term be able to eliminate this, or do I have to just accept it as an unfortunate characteristic. Thank you.

    • @uavtech
      @uavtech  11 місяців тому +1

      P only to adjust the Z Velocity target. Yhe Z velocity PID loop has P
      I. and D.
      I would log the issue to see wsup.

  • @txkflier
    @txkflier 11 місяців тому

    The Integral (Ki) is not the most important setting. You must use Proportional (Kp) in all controllers. The Derivative (Kd) dampens the Kp response and allows you to use a higher Kp value than you could without it. With only Kp and Kd, a controller won't fully reach the setpoint because the closer the system gets to the setpoint, the lower the error signal gets, and it can no longer drive the system to the setpoint. The Kd only does dampening, so it can't drive the system to the setpoint. The Ki circuit samples the error over a period of time and sums the errors it sees until the sum is large enough to drive the system the rest of the way to the setpoint. So, you increase Kp until you see some oscillation, add Kd to dampen the oscillation, and then add Ki to reduce the long-term error between the setpoint and the system output.

    • @uavtech
      @uavtech  11 місяців тому +2

      Who said Ki is most important?
      However you get the balance, once you have it and are at a Critically Damped response, moving the gains up to just below the system resonance is the key for peak performance of whatever you are tuning if you want a rapid response and the most stability to following and keeping on the Setpoint. That's the part the classic tuning method you described above leaves out.

    • @Quick-Flash
      @Quick-Flash 11 місяців тому +1

      ​@@uavtechcalling ipd instead of pid, it gives that vibe.

    • @uavtech
      @uavtech  11 місяців тому +1

      Just putting the terms in order of how they relate.
      i-Term oscillation is dampened by increasing P (shown here ua-cam.com/video/Sq_DFjmvVDE/v-deo.htmlsi=Tm5FpvpLbmIQps4t)
      P-Term is dampened by D.

    • @txkflier
      @txkflier 11 місяців тому +1

      @@uavtechYou did when you rearranged the terms into IPD at 1:32.. 😎

    • @uavtech
      @uavtech  11 місяців тому +1

      Never said. You inferred the wrong thing. 😜

  • @gadgetrc94
    @gadgetrc94 11 місяців тому

    Is it time to update the basement tune method? I think I remember it not using the tracking slider.

    • @uavtech
      @uavtech  11 місяців тому

      It doesn't matter how you get the balances, as long as you do.

  • @theinventionshow
    @theinventionshow 9 місяців тому

    So if i have fast pich and roll ocilations while hovering on a 8inch i should increase the d gains?

    • @uavtech
      @uavtech  9 місяців тому +1

      If fast oscillations (VERY FAST), yes. Reduce P or increase D. For BF, the P and D gains should be around the same numbers.
      HOWEVER, it is more likely the I-gains which can result from them being too high in relationship to P gains, or the overall gains just being too low.
      To confirm which it is, set P and D to around 40 and I-gains to around 20 or 30 for an 8". Those are pretty safe values. Once the oscillation is gone, you can then work to increase the gains slowly to increase flight performance (stick tracking and prop wash response).
      Check out my presets for an 8", but be cautious as those assume you don't have mechanical vibration issues.

    • @theinventionshow
      @theinventionshow 9 місяців тому

      Thanks for the reply i forgot to mention i run inav also the i can see the ocilations while hovering i am not sure if that is considered as very fast ocilations

    • @uavtech
      @uavtech  9 місяців тому +1

      same advice, but reduce the pids based on my pid calc tool: theuavtech.com/pidcalc

    • @theinventionshow
      @theinventionshow 9 місяців тому

      @@uavtech thanks

  • @Simofly
    @Simofly 11 місяців тому

    Have I understood that correctly that with lower filtering resonance frequency can go up ? If I run a resonance first flight with stock pids on a quad , do this resonance map I make be modified later changing the filters?

    • @uavtech
      @uavtech  11 місяців тому

      Not understanding "resonance map". What do you mean by that?

    • @Simofly
      @Simofly 11 місяців тому

      @@uavtech a profile of the resonance I make with a first resonance flight, pushing only throttle on all range gradually . Could be a pod toolbox freq/time graph or blackbox graph

  • @umbrela_Corp
    @umbrela_Corp 11 місяців тому

    Inav, flying in navigation mode can cause fly away this is deep in notes just a heads up

    • @uavtech
      @uavtech  11 місяців тому

      Yikes!!

  • @FPVUniversity
    @FPVUniversity 11 місяців тому

    Ah, I see me :) Am I famous now? lol

    • @uavtech
      @uavtech  11 місяців тому

      Yeah, POS Hold is all you baby!. :-)