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

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

UAV Tech

UAV Tech

Күн бұрын

Пікірлер: 107
@airtechfpv
@airtechfpv 4 жыл бұрын
UAV tech, without you would be devastating to the fpv hobby. Your more important than Bardwell. Thanks so much because tuning is truly important
@nuno2200
@nuno2200 3 жыл бұрын
One of the best explanations of PD balance, I'm finally starting to understand.
@insmnc
@insmnc 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 жыл бұрын
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 жыл бұрын
Such a good tutorial. I like these hyper focused and precise videos.
@jtaraskus
@jtaraskus 4 жыл бұрын
This is video I was waiting for!!! thanks :)
@robinfpv4858
@robinfpv4858 4 жыл бұрын
This is a really good video. I'm not sure about the background music, but it was a clear and simple explanation
@RudiRoots
@RudiRoots 3 жыл бұрын
Aarrrright, nice and smooth! 👌🏻
@ricyjo
@ricyjo 4 жыл бұрын
for the first time the interplay of P I D makes sense..thank you
@jlarson42
@jlarson42 4 жыл бұрын
Very helpful explanation. Thanks 🤓
@RedCobraH
@RedCobraH Жыл бұрын
This is such a good explanation. Thanks!
@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?
@Fumes74
@Fumes74 4 жыл бұрын
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!
@raykreisel
@raykreisel 4 жыл бұрын
Thank you for this tutorial
@HolaACchillin
@HolaACchillin 3 жыл бұрын
Very interesting! Great video !
@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.
@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!!
@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 👍
@FailsafeFPV
@FailsafeFPV 4 жыл бұрын
I learned something today.
@Krunked
@Krunked 4 жыл бұрын
Lol.. really? :X
@FailsafeFPV
@FailsafeFPV 4 жыл бұрын
@@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 жыл бұрын
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.
@Simofly
@Simofly 4 жыл бұрын
Very very interesting 👍👍👍
@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 ✌🏻☺️
@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 KZbin guy talkin this stuff nowadays. Thanks and keep it up please!
@ReinhardPrix
@ReinhardPrix 4 жыл бұрын
Very nice, simple and clear explanation! Thanks!
@MKSM1988
@MKSM1988 4 жыл бұрын
Very informative video. Thanks for explanation. I probably will still struggle a bit but it made it more clear.
@Arhifisyant
@Arhifisyant 2 жыл бұрын
thank you.
@dndon2007
@dndon2007 4 жыл бұрын
very helpful 🙏👍🏻👌
@nutharatharnvorawong8967
@nutharatharnvorawong8967 4 жыл бұрын
Great video! thanks for taking time to explain that in detail with good example and clear evidence ie. blackbox.
@MaRa-ly1gl
@MaRa-ly1gl 4 жыл бұрын
Great and simple tutorial!
@BRadFPV
@BRadFPV 4 жыл бұрын
Love the content... not sure about the background tunes.
@uavtech
@uavtech 4 жыл бұрын
I need to find something softer that doesn't build.
@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.
@pooljunki1
@pooljunki1 4 жыл бұрын
You are my hero
@rocketquad5888
@rocketquad5888 4 жыл бұрын
Thank you!
@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 жыл бұрын
Already done.
@SKIDOOSH
@SKIDOOSH 4 жыл бұрын
I should really learn black box. I tune everything by ear.
@OliFPV
@OliFPV 4 жыл бұрын
Great infos 👍 thxxxx a Lot 💚 lg
@kmitchel46725
@kmitchel46725 4 жыл бұрын
GJ
@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.
@TERBANGFPV
@TERBANGFPV 4 жыл бұрын
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 жыл бұрын
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.
@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 жыл бұрын
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
@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!
@TRexHeliPilot
@TRexHeliPilot 4 жыл бұрын
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 жыл бұрын
You will hear a D-term oscillation sound. See kzbin.info/www/bejne/npivhotrqryUhKs
@TRexHeliPilot
@TRexHeliPilot 4 жыл бұрын
@@uavtech Thanks
@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
@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
@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.
@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...😀
@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
@uavtech
@uavtech 4 жыл бұрын
tiny.cc/pidtuning
@joshuarichardson4070
@joshuarichardson4070 4 жыл бұрын
@@uavtech awesome, thanks dude
@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 жыл бұрын
Yes. Once you hear D-term oscillation, back off. See kzbin.info/www/bejne/npivhotrqryUhKs
@LAM_FPV
@LAM_FPV 4 жыл бұрын
@@uavtech thank you 😉
@slavikarg
@slavikarg 4 жыл бұрын
Is it normal to have D ≈ P on 4s 5 inch quads?
@uavtech
@uavtech 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
lower power to weight? 48k?
@Krunked
@Krunked 4 жыл бұрын
@@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.
@kowabungafpv
@kowabungafpv 4 жыл бұрын
Fantastic explanation, thanks for doing this video!
@keithdrones1743
@keithdrones1743 4 жыл бұрын
Thank you!
8" OctoCopter w/o Gyro Lowpass Filters?!?  😱💥
8:51
UAV Tech
Рет қаралды 3,4 М.
Tune YOUR PIDs w/ NEW Sliders
11:50
UAV Tech
Рет қаралды 27 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 15 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 123 МЛН
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 147 МЛН
What is the BEST Loop Rate??
12:05
UAV Tech
Рет қаралды 7 М.
PID Tuning -- 💥MUST KNOW💥 -- information!  💪😎
10:05
How to get an AMAZING Tune -- Tuning JB's 5" Quad
24:03
UAV Tech
Рет қаралды 33 М.
Everything you want to know about Betaflight Iterm Relax
11:27
FPV University
Рет қаралды 4,6 М.
Betaflight 7" Quad Tuning (6",7",10" etc.)  👁☄
21:12
UAV Tech
Рет қаралды 34 М.
PTB QuickTips: Iterm-related overshoot and PI balance
4:01
PIDtoolbox
Рет қаралды 4,8 М.
Betaflight 4.3 Complete Tuning Guide: PID Tuning
33:11
Chris Rosser
Рет қаралды 56 М.
How to Tune: Effects of PID Gain Strength | BEST PID Values
7:01
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 15 МЛН