The Importance of: PD Balance | P&D Gain Strength

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

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

  • @airtechfpv
    @airtechfpv 4 ปีที่แล้ว +33

    UAV tech, without you would be devastating to the fpv hobby. Your more important than Bardwell. Thanks so much because tuning is truly important

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

    I watched more than 10 PID tuning videos in the last weeks, but non of them explain the goal this clear. Thank you!

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

    One of the best explanations of PD balance, I'm finally starting to understand.

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

    Man I've learned PID in school and have been exposed to it constantly over the years, but I've never understood it better than after watching this. THANK YOU

  • @littlephilo585
    @littlephilo585 4 ปีที่แล้ว +9

    I hope i can eventually get my brain to process all this where it alows me to make the proper adjustments to the pid loop. Its all a geuss at this point for me still. It has got to be frustrating for you to keep explaining this to us!! Thats why your an engineer and i just fall in line!! Im so glad that Betaflight mostly gets it right or i would have quit long time ago. Thank you Mark!!

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

    I watched sooo many videos including yours and they are all soooo good. But I am stupid...really stupid.... this video at 3:30: this finally made me ACUTALLY UNDERSTAND the P-D-Balance relationship. Thank you Mark :)

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

    Such a good tutorial. I like these hyper focused and precise videos.

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

    This is a really good video.
    I'm not sure about the background music, but it was a clear and simple explanation

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

    for the first time the interplay of P I D makes sense..thank you

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

    This is video I was waiting for!!! thanks :)

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

    I exactly fix these kind of problems this morning and what you say confirms what i was trying so i'm happy to see you talk about that :)
    Nice vid!!

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

    excellent vid! I love how you always point out new ways to look at PID control. Can never get enough of this. You're the only TH-cam guy talkin this stuff nowadays. Thanks and keep it up please!

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

    Very nice, simple and clear explanation! Thanks!

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

    I suddenly got this NEED to go tune my copters, even though they fly reasonably fine. :-) To bad it's blowing 30 knots. Good content, as always. Thanks!

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

    Well, I think I am starting to finally understand a little of what P term and D term is all about in apposing each other to achieve that balance.

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

    Terrific explanation. Really helping me to understand PID tuning. My key takeaway is that the P&D terms work against each other during stick moves, but they work with each other during wind/external disturbances. I do wonder though whether PID is basically completely the wrong approach for RC flying.

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

      Great. That is the key take away.
      Lots of smart professionals in the hobby. All firmware uses a PID controller. Know of anything better?

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

    Thanks so much for these videos, the sliders in betaflight are awesome, at first I didn’t use them but they let you dial in 95% of the changes needed in a couple packs.
    I always use RPM filtering now and adjust my P/D balance slider until I get a tiny bit of bounce back then raise it back up a notch. Then adjust P/D gains to make the quad feel more or less locked in. Then I leave PIDs alone and raise my filter sliders together while checking for hot motors, this usually makes propwash handling much better.
    Then I stop tuning and fly, I think this is where a lot of people come unstuck, unless you’re logging continuing to bring out problems to fix is a recipe for chasing your tail. Instead I just fly and make small tweaks if I notice a problem recurring, I might adjust antigravity or raise P term on yaw or I terms (I move away from sliders at this point). I also spend a lot more time flying rather than tuning this way too 👍

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

    Very informative video. Thanks for explanation. I probably will still struggle a bit but it made it more clear.

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

    Great video! thanks for taking time to explain that in detail with good example and clear evidence ie. blackbox.

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

    Very helpful explanation. Thanks 🤓

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

    Aarrrright, nice and smooth! 👌🏻

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

    Many thanks for this tutorial! Would be nice to find out more about the 'stick response gain' please

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

      th-cam.com/video/66svCI4jV34/w-d-xo.html

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

      @@uavtech thank you ✌🏻☺️

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

    Fantastic explanation, thanks for doing this video!

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

    Very interesting! Great video !

  • @mr.m.4887
    @mr.m.4887 4 ปีที่แล้ว

    Thanks again, Mark. I get 3 quads now tuned how you described it in your videos and it's pure joy to fly them. But there are difficulties when it comes to toothpicks or other micro quads with no blackbox. Additionally some AIO FC's have much electrical noise on their supply rails that affects the gyro signal. May be you can make a video about toothpick tuning?

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

      Already done.

  • @MaRa-ly1gl
    @MaRa-ly1gl 4 ปีที่แล้ว

    Great and simple tutorial!

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

    Great video! One question on the P term trace at time 4:07, why p is always positive when gyro signal bounce on both sides of the setpoint? I thought P just tracks error with a constant multipler, so it should map the polarity of the error as well?

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

      P is the opposite sign of PID Error - proportional in shape - times a gain strength (p-gain). At that time stamp, P is in both signs from what I see. What am I missing?

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

      @@uavtech Oh, sorry the time should be 8:39. I was watching from my phone and didn't notice the neutral dashline line is actually above the setpoint. I thought setpoint was at 0, but turned out setpoint is at a constant negative value. Now it's clear. Thanks for the reply!

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

    Hello UAV Tech, this video is really good. Simple and full off examples. You are talking about BouceBacks, Propwash etc, but what about “jerky movements” during the straight flight?? How to deal with this?

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

      That can be a lot of thing. First step is to tune it in general.

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

    This is good stuff. I realised I had both the PD ballance and the PD gain sliders increased to 1.1 and 1.3 respectively, and experienced quite a lot of propwash. The quad also seems to have mid throttle oscillations when I fly upwards, it's very visible in the gopro footage as jello. Could it be caused by too high P and D? RPM filters slider set to 2.0.

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

    10:00 From what i have seen and from my personal experience, other firmwares (FL1 and KISS) handle better prop wash. So based on your recent videos about kiss what could make kiss handle better prop wash?

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

      People don't push BF enough. They get stuck on defaults or don't push up P and D gain enough or reduce filter enough.
      KISS and F1 have low filtering. Turn off all LPFs on BF for gyro and just have only Notches on Gyro and lowpasses on D-term.
      Also people are not comparing on the same rig., so it could just easily be mechanical differences. Folks spending more $ to build their first special KISS or F1 rigs.
      In my comp of KISS vs. BF the wash performance seemed the same.
      KISS and F1 work exactly the same as described in this video.

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

      @@uavtech thanks!!

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

    Thank you for this tutorial

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

    In Bf slider PD balance they add together all pitch, roll and yaw.. And all using same pD ratio on all axis? Some long deck frame like alien, actually need higer value on pitch right? It also means the PD ratio on pitch may differ from roll and yaw right?

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

      Yes. They don't add though; the sliders that is. Each axis has a default ration between the axis. They hold that. But on quads far off from a 5", you many need to deviate. Sliders only keep it basic. If you want to tune per axis, you have to break away and just.put in the numbers. Same principals though.

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

    Love the content... not sure about the background tunes.

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

      I need to find something softer that doesn't build.

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

    I learned something today.

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

      Lol.. really? :X

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

      @@Krunked The propwash bit, I never realised about the fact that the P and the D ideally need to go the same direction to fight propwash.

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

      No ideally. They DO go the same direction for any push on the quad. So that's why we want to have them push hard (up P&D Gain slider) to counter any of those forces.

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

      Did i understand correct that for stick input the ration between p and d is the most important? So it doesn’t matter if it’s 30:40 or 60:80. But for external influences the higher the numbers with that ratio the better. Correct?

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

    I should really learn black box. I tune everything by ear.

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

    Great video. How do you know when you've gone to far with the PD gain? Does having the motor traces at 100% at the end of sharp moves for extended periods of time indicate a too high PD gain?

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

      You will hear a D-term oscillation sound. See th-cam.com/video/hgLUX5uWaNI/w-d-xo.html

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

      @@uavtech Thanks

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

    Hey brother thank you for shedding some light! I have a question, in previous videos you started the tuning proces by setting the D term somewhere between 30 and 40 then start moving with P term until you reached the desired balance. With the Betaflight 4.2 slides, it seems you just move the PD balance slider to increase the P term but at the same time the D term decreases. If you keep moving the slider there's a point where D becomes really low. Does it matter if the D term gets pretty low? And in that case should I use the master multiplier to bring it back up?

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

      Use PD Gain to bring it back up.
      It does matter.

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

    So, the one thing I don't get is, why wouldn't you just max out pd gain after dialing in the balance? what is the downside to "more p and d"?. Is it just the thermal limits of the motors or something? when will it poorly affect flight performance?

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

      If you keep upping P & D gain, you eventually start to get D-term oscillations. That's you limit then and you need to back down a couple notches. See th-cam.com/video/hgLUX5uWaNI/w-d-xo.html

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

    Very very interesting 👍👍👍

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

    Thank you!

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

    thank you.

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

    Hi man, I was watching your videos becuase my quad does a weird thing were is flies perfect but in the hd camera there is a slight vibration sometimes when im just cruising

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

      What props? Try some HQ tri-blades if not already on them.
      If it does it on default filters and PIDs, it is probably a mechanical issue. You can always try my presets too though just to check. If it does on defaults or my presets, look for mechanical / electrical. Log with gyro scaled and reach out to FB group or Discord for some advice.

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

      @@uavtech I fly hq props lmao, I love them, Thanks for the advice, I checked and it seems than one motor works waaaay better than the other three, other than that I havent found anything else, I dunno if that can unbalance the quad or something

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

    You are my hero

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

    always wondered why this cant be autotuned, firmware has all data it needs to try to tune itself :/, something like INAV does for wings

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

    do you have a writen tuning guide some thing i can print off to take in the field with me? kind of like a check list and in order of what to do? :-D

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

    very helpful 🙏👍🏻👌

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

    What about motor heating due to high p and d gain? Do you have to lower it? And if you did lower it do you lower the PD Balance in parallel ?

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

      No, just P and D gain. I would add filtering vs. lowering P and D Gain slider for hot motors.

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

      @@uavtech thanks for the response and appreciate your helpful videos . One last question, in your website you have presets for all type of quads except the 3 inch category? Can I use the toothpick presets for a 3 inch quad or the 5inch presets? Again thanks a lot

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

    how about the drone shake sometime? its the problem in PD? my quad have shake, until now i cnt fix it, to smoth fly again..

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

      Again?
      Defaults, preset or tuned? If defaults, try a preset at theuavtech.com/presets

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

      thanks sir, i will tune back again...😀

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

    Great infos 👍 thxxxx a Lot 💚 lg

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

    Got my new whoop board today WITH blackbox, was looking forward to tuning it but blackbox does not show my traces :(
    I Guess i'll have to wait for new firmware.

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

      It should work.

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

      @@uavtech I think its because i flashed it 4.2 and there is no firmware for it yet, Its the new Jhemcu 411 6s with blackbox. It shows the motors on the pic quad in corner but nothing else. am using gyro scaled and tried it set raw but nothing different.

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

    Hi. Is it dangerous (for the motors) to push the P and D gain too high ?

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

      Yes. Once you hear D-term oscillation, back off. See th-cam.com/video/hgLUX5uWaNI/w-d-xo.html

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

      @@uavtech thank you 😉

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

    GJ

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

    Is it normal to have D ≈ P on 4s 5 inch quads?

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

      No. P is usually 20 points higher.

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

      @@uavtech setting it like that I always get bounce back. Where should I start looking at?

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

      You typically need more D-term if the quad has a larger moment of inertia or weaker motors.
      I would just.tune for no bounceback.

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

    Why on any quad I own is that pd balance always over 1.3.. I've never had a quad under 1.0 pd balance.

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

      lower power to weight? 48k?

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

      @@uavtech maybe. Just interesting. I haven't been able to get any quads under 1.0 and fly without bounceback.

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

      maybe because of all your kwads being basically the same rotational mass

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

      @@Rich2brokeN could be. But it's also in all the quads I help tune... The base tune I give people in uavtech discord which works 99% of the time is 1.3 pd balance.

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

      @@uavtech I presume 48k less powerful then? Would you still suggest 24K pwm?

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

    👍👀🇭🇷

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

    First?

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

      Appreciate the content!
      Not a fan of the background music.

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

    This is such a good explanation. Thanks!

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

    Thank you!