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

  Рет қаралды 12,461

UAV Tech

UAV Tech

Күн бұрын

A review of how IMPORTANT both PD Balance and P and D Gain Strenght are for an optimal experience in flying your quadcopter.
===============
Presets and Tuning Training Content: theuavtech.com
------------------------------
Want to support me?
Sign up to be a Patreon!: / uavtech
or buy a beer: paypal.me/pools/c/881V76Fj1n
Use this Amazon Affiliate Link: amzn.to/36okaf7
(use to purchase ANY products [hobby gear, household items, etc.])
Sound/Music provider -- Epidemic Sound
Check them out at: www.epidemicsound.com/referra...
----- NEED HELP?!? ------
FREE!:
Betaflight BlackBox Log Review Group: / 291745494678694
UAV Tech Discord: discordapp.com/invite/rCCzgeT
I'm available on the PATREON CHANNEL. To access, sign up to Patreon.
As A SERVICE:
UAV Tech Tuning Services: tiny.cc/tuningservice
Facebook: UAVTech1
Have a product for review?:
Mark Spatz - UAV Tech
117 S. State Street
Box 504
Clarks Summit, PA 18411
Please contact me for coordination prior to shipping.

Пікірлер: 107
@airtechfpv
@airtechfpv 3 жыл бұрын
UAV tech, without you would be devastating to the fpv hobby. Your more important than Bardwell. Thanks so much because tuning is truly important
@insmnc
@insmnc 3 жыл бұрын
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
@nuno2200
@nuno2200 3 жыл бұрын
One of the best explanations of PD balance, I'm finally starting to understand.
@littlephilo585
@littlephilo585 3 жыл бұрын
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!!
@jtaraskus
@jtaraskus 3 жыл бұрын
This is video I was waiting for!!! thanks :)
@RubyS.1
@RubyS.1 3 жыл бұрын
Such a good tutorial. I like these hyper focused and precise videos.
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
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 KZbin guy talkin this stuff nowadays. Thanks and keep it up please!
@ReinhardPrix
@ReinhardPrix 3 жыл бұрын
Very nice, simple and clear explanation! Thanks!
@RedCobraH
@RedCobraH Жыл бұрын
This is such a good explanation. Thanks!
@nutharatharnvorawong8967
@nutharatharnvorawong8967 3 жыл бұрын
Great video! thanks for taking time to explain that in detail with good example and clear evidence ie. blackbox.
@Mrlafada
@Mrlafada 3 жыл бұрын
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!!
@robinfpv4858
@robinfpv4858 3 жыл бұрын
This is a really good video. I'm not sure about the background music, but it was a clear and simple explanation
@HolaACchillin
@HolaACchillin 3 жыл бұрын
Very interesting! Great video !
@kowabungafpv
@kowabungafpv 3 жыл бұрын
Fantastic explanation, thanks for doing this video!
@jlarson42
@jlarson42 3 жыл бұрын
Very helpful explanation. Thanks 🤓
@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 :)
@MKSM1988
@MKSM1988 3 жыл бұрын
Very informative video. Thanks for explanation. I probably will still struggle a bit but it made it more clear.
@MaRa-ly1gl
@MaRa-ly1gl 3 жыл бұрын
Great and simple tutorial!
@RudiRoots
@RudiRoots 3 жыл бұрын
Aarrrright, nice and smooth! 👌🏻
@raykreisel
@raykreisel 3 жыл бұрын
Thank you for this tutorial
@ricyjo
@ricyjo 3 жыл бұрын
for the first time the interplay of P I D makes sense..thank you
@BjarneLindqvist
@BjarneLindqvist 3 жыл бұрын
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!
@MUNKYFPV
@MUNKYFPV 3 жыл бұрын
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 👍
@Simofly
@Simofly 3 жыл бұрын
Very very interesting 👍👍👍
@dndon2007
@dndon2007 3 жыл бұрын
very helpful 🙏👍🏻👌
@keithdrones1743
@keithdrones1743 3 жыл бұрын
Thank you!
@OliFPV
@OliFPV 3 жыл бұрын
Great infos 👍 thxxxx a Lot 💚 lg
@princesfpvdrones
@princesfpvdrones 3 жыл бұрын
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.
@pooljunki1
@pooljunki1 3 жыл бұрын
You are my hero
@Arhifisyant
@Arhifisyant 2 жыл бұрын
thank you.
@FailsafeFPV
@FailsafeFPV 3 жыл бұрын
I learned something today.
@Krunked
@Krunked 3 жыл бұрын
Lol.. really? :X
@FailsafeFPV
@FailsafeFPV 3 жыл бұрын
@@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 3 жыл бұрын
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.
@martinrcflyer4089
@martinrcflyer4089 3 жыл бұрын
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 3 жыл бұрын
Great. That is the key take away. Lots of smart professionals in the hobby. All firmware uses a PID controller. Know of anything better?
@ShebanFPV
@ShebanFPV 3 жыл бұрын
Many thanks for this tutorial! Would be nice to find out more about the 'stick response gain' please
@uavtech
@uavtech 3 жыл бұрын
kzbin.info/www/bejne/bGfWp3Z_ac-JaZY
@ShebanFPV
@ShebanFPV 3 жыл бұрын
@@uavtech thank you ✌🏻☺️
@kiaukiaukiau
@kiaukiaukiau 3 жыл бұрын
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.
@mr.m.4887
@mr.m.4887 3 жыл бұрын
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 3 жыл бұрын
Already done.
@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.
@CoastlineRobotics
@CoastlineRobotics 3 жыл бұрын
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 3 жыл бұрын
Use PD Gain to bring it back up. It does matter.
@BRadFPV
@BRadFPV 3 жыл бұрын
Love the content... not sure about the background tunes.
@uavtech
@uavtech 3 жыл бұрын
I need to find something softer that doesn't build.
@SKIDOOSH
@SKIDOOSH 3 жыл бұрын
I should really learn black box. I tune everything by ear.
@kmitchel46725
@kmitchel46725 3 жыл бұрын
GJ
@TERBANGFPV
@TERBANGFPV 3 жыл бұрын
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 3 жыл бұрын
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.
@TRexHeliPilot
@TRexHeliPilot 3 жыл бұрын
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 3 жыл бұрын
You will hear a D-term oscillation sound. See kzbin.info/www/bejne/npivhotrqryUhKs
@TRexHeliPilot
@TRexHeliPilot 3 жыл бұрын
@@uavtech Thanks
@qdrk_fpv5951
@qdrk_fpv5951 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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!
@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 жыл бұрын
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
@joshuarichardson4070
@joshuarichardson4070 3 жыл бұрын
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
@uavtech
@uavtech 3 жыл бұрын
tiny.cc/pidtuning
@joshuarichardson4070
@joshuarichardson4070 3 жыл бұрын
@@uavtech awesome, thanks dude
@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 жыл бұрын
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!!
@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...😀
@abc121xyz
@abc121xyz 3 жыл бұрын
always wondered why this cant be autotuned, firmware has all data it needs to try to tune itself :/, something like INAV does for wings
@mouseFPV
@mouseFPV 3 жыл бұрын
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 3 жыл бұрын
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 kzbin.info/www/bejne/npivhotrqryUhKs
@LAM_FPV
@LAM_FPV 3 жыл бұрын
Hi. Is it dangerous (for the motors) to push the P and D gain too high ?
@uavtech
@uavtech 3 жыл бұрын
Yes. Once you hear D-term oscillation, back off. See kzbin.info/www/bejne/npivhotrqryUhKs
@LAM_FPV
@LAM_FPV 3 жыл бұрын
@@uavtech thank you 😉
@kennethcartman473
@kennethcartman473 3 жыл бұрын
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 3 жыл бұрын
It should work.
@kennethcartman473
@kennethcartman473 3 жыл бұрын
@@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.
@slavikarg
@slavikarg 3 жыл бұрын
Is it normal to have D ≈ P on 4s 5 inch quads?
@uavtech
@uavtech 3 жыл бұрын
No. P is usually 20 points higher.
@slavikarg
@slavikarg 3 жыл бұрын
@@uavtech setting it like that I always get bounce back. Where should I start looking at?
@uavtech
@uavtech 3 жыл бұрын
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.
@DronePlayground
@DronePlayground 3 жыл бұрын
👍👀🇭🇷
@Krunked
@Krunked 3 жыл бұрын
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 3 жыл бұрын
lower power to weight? 48k?
@Krunked
@Krunked 3 жыл бұрын
@@uavtech maybe. Just interesting. I haven't been able to get any quads under 1.0 and fly without bounceback.
@Rich2brokeN
@Rich2brokeN 3 жыл бұрын
maybe because of all your kwads being basically the same rotational mass
@Krunked
@Krunked 3 жыл бұрын
@@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 3 жыл бұрын
@@uavtech I presume 48k less powerful then? Would you still suggest 24K pwm?
@sharkbytefpv4326
@sharkbytefpv4326 3 жыл бұрын
First?
@sharkbytefpv4326
@sharkbytefpv4326 3 жыл бұрын
Appreciate the content! Not a fan of the background music.
@rocketquad5888
@rocketquad5888 3 жыл бұрын
Thank you!
8" OctoCopter w/o Gyro Lowpass Filters?!?  😱💥
8:51
UAV Tech
Рет қаралды 3,3 М.
Tune YOUR PIDs w/ NEW Sliders
11:50
UAV Tech
Рет қаралды 27 М.
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,3 МЛН
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 127 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Betaflight 7" Quad Tuning (6",7",10" etc.)  👁☄
21:12
UAV Tech
Рет қаралды 33 М.
How to: Tuning i-Term  😎
17:00
UAV Tech
Рет қаралды 14 М.
PID Tuning Principles: Step #1 - Filters Tuning
25:32
UAV Tech
Рет қаралды 52 М.
PID Tuning -- 💥MUST KNOW💥 -- information!  💪😎
10:05
Week 7-Lecture 41
35:14
IIT Bombay July 2018
Рет қаралды 6 М.
Whoop \ Quad Tuning 101 (!! ANY SIZE | ANY FIRMWARE !!)
31:03
PTB QuickTips: Iterm-related overshoot and PI balance
4:01
PIDtoolbox
Рет қаралды 4,5 М.
"Dynamic Idle" the most useful Betaflight feature you never heard of
17:34
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,3 МЛН