Betaflight 4.5 PID Tuning

  Рет қаралды 17,991

Chris Rosser

Chris Rosser

Күн бұрын

Get my ENTIRE Betaflight 4.5 Tuning Guide covering Filters, PIDs, and Rates as a PDF here: www.patreon.com/collection/43...
Timestamps:
0:00 Intro
1:00 The PID-F Controller
2:25 P Term
3:00 D Term
3:42 P:D Balance
4:25 I Term
5:12 P:I Balance and Tuning Flow
6:00 Feedforward
6:32 Tuning Flights
7:44 Unleash your PID controller
8:12 tuning Analogy
8:45 Master Multiplier
9:32 Tuning Powerful Motors
10:40 Disable Dynamic D Term
11:07 Gradually Increase Master Slider
13:06 Dynamic Idle
13:59 Throttle PID Attenuation
15:20 Finding the right P:D Balance
16:05 Using PIDToolbox for Step Response
20:55 Tuning I term
23:08 I term Relax
24:19 I term Windup
25:00 Antigravity gain
27:05 I term rotation and absolute control
28:19 Setting up Feedforward
29:28 Adjusting Feedforward
32:36 Feedforward Boost
33:50 Feedforward Max Rate Limit
35:13 Dynamic Damping
46:30 Dynamic Damping Blackbox Settings
36:52 Dynamic Damping Gain
37:19 Tuning Dynamic Damping
39:36 Throttle Boost
40:04 Motor Output Limit
40:31 Vbat Sag Compensation
41:13 Thrust Linearisation
41:44 Outro

Пікірлер: 75
@ityadiinc
@ityadiinc Ай бұрын
I had to watch this and the filter tuning video at least 8 times each but now my quad if responsive, smooth and giving me better flight time!
@minatek007
@minatek007 11 күн бұрын
By the way Chris, these videos are awesome! Although I had to keep rewatching it to get it right several times. but they are great tutorial videos.
@demvlad2
@demvlad2 Ай бұрын
The P is derivative for I, as D is derivative for P. I've never thought about it before! Thank's!
@taterfpv
@taterfpv Ай бұрын
Nice to see the evolution of your PID tuning technique and the expanded explanations of the nitty gritty. Thank Chris!
@Ozzy3333333
@Ozzy3333333 Ай бұрын
Joe's I term rotation works wonders on my quad, I love it, thanks Joe!
@skky.fpv.
@skky.fpv. 28 күн бұрын
Amazing tuning videos - thank you so much Chris! You gained a new patriot
@bulufish8208
@bulufish8208 Ай бұрын
Thanks for your time and effort to make this hobby enjoyable 😉.
@BenjaminMeasures
@BenjaminMeasures Ай бұрын
Epic tuning deep dive. Keep up the good work!
@MrBornenjap
@MrBornenjap Ай бұрын
Finally expertise explained how to!!! Thanks Chris 🎉🎉🎉
@Noacopter
@Noacopter Ай бұрын
wooow !!! this is a masterclass !! Thanks Chris !!!
@LukeMaximoBell1
@LukeMaximoBell1 Ай бұрын
Awesome video Chris!
@butcher
@butcher Ай бұрын
Proper hardware were mentioned, but I want to highlight if anyone notices high throttle oscillations, before changing TPA , make 100% sure that there isn't any wire close to the FC, I run into this several times and it was always a hardware / wiring problem. 😊
@divingfalconfpv4602
@divingfalconfpv4602 Ай бұрын
I had that wire problem once when I first got into fpv.. Bardwell was one that told make sure no wires were near gyro. Moved wires and low Hz noise was gone
@shadofpv
@shadofpv 23 күн бұрын
Nice video mate :) i’ve been telling people the pidsum limit cli commands for years now 😂 sadness as a result of master multiplier made me giggle a lot! 😂
@kuldar.
@kuldar. Ай бұрын
I as a beginner fly with total wrong settings, your videos are great way to learn, thank you! It would be fun to see what you are able to do with my drone.
@kvstepanoff
@kvstepanoff 20 күн бұрын
Great. You gave me the way to tune my 10". Many thanks.
@ChainsawFPV
@ChainsawFPV Ай бұрын
4.5K views in 2 days tells me FPV is alive and well!!
@DiegoFerreiradaSilva
@DiegoFerreiradaSilva Ай бұрын
great video, thanks!
@elmars302
@elmars302 Ай бұрын
Are there or will there be 4.5 presets for AOS 5 (v5 perhaps)?
@mab4195
@mab4195 Ай бұрын
good job as usual! :)
@mica2237
@mica2237 Ай бұрын
Hi, I just rebuilt my quad entirely but with my new 2755kv motors it only sounds good with the master slider at 0.15, at normal 1 the motors get warm at idle and sound rough (completely new motors). I havemt flown it yet, should I be concerned? Any ideas?
@DerKatzeFPV
@DerKatzeFPV Ай бұрын
Hi Chris, thank you soo much for the work that you do. I happen to have a Moblite 7 1S HDZero Quad. And as far as i understood, i dont have logs. Is there a way to tune without logs and for a TinyWhoop? I would love to see a video about that. Further more, my Props spec says site 1.6" and pitch 1", is that considered low, mid or high? Couldn't find any information about what is what. Love your work!
@daan-the-maan
@daan-the-maan Ай бұрын
Appreciate the information. Question regarding tuning flights: Can all tuning described in the video be done by wobbles left/right and front/back in angle mode? I guess for settings like anti gravity different kinds of tuning flights are needed?
@rgglenn150
@rgglenn150 Ай бұрын
no using of blackbox when tuning master multiplier?
@LinhPham-hq4oi
@LinhPham-hq4oi 25 күн бұрын
Hi Chris, Do I change PID_Sun limit & Limit_Yaw back to default after finished tuning?
@mattdena8070
@mattdena8070 Ай бұрын
5” quads don’t be surprised when you realize after going through all steps you end up back at default with a few minor tweaks.
@divingfalconfpv4602
@divingfalconfpv4602 Ай бұрын
Not on my 5" quad
@KODEEFPV
@KODEEFPV Ай бұрын
so true
@perrinms
@perrinms Ай бұрын
I'm working through this for my 3" quad which doesn't have a black box. Is there anything I should skip or avoid or is there a workaround?
@nebo_sentyabria
@nebo_sentyabria 20 күн бұрын
Hello Chris and community! Thank you for your great videos! Using this one I was able to make my quad experience much better than it was on stock settings! I have a question regarding ExpressLRS presets. Where caun I find the one, that works for my ELRS? I thought it was the Pocket Rate setting in my TX. However, the values on TX are 100Hz, 200Hz, and there are no presets for those values. I see the values on presets are 150Hz, 250Hz, and I have no such values available on my TX. What have I missed here?
@PIXLPUSHRFPV
@PIXLPUSHRFPV 28 күн бұрын
You should stress test the 2004 t motors. They have improper manufacturing on the herrings and will seize up under heat build up. I got screwed on these motors
@Mojohoojo187
@Mojohoojo187 Ай бұрын
Hey thanks for making this video. I was wondering if I need to do all the steps or can I do them in stages? What I mean is PID tuning, radio tuning and FF, dampening and etc…
@minatek007
@minatek007 11 күн бұрын
Does anyone knows if we have to return the pidsum_limit and pidsum_limit_yaw back to default which is 500, 400 respectively? Chris didn't say anything about return the value back so is it better to keep it at max or return to default??
@plop386
@plop386 Ай бұрын
well. by starting by the P/i balance. when i crank up the i gain alone even at 0.05. a perfect response overshoot like stock PID 1.25 for 26Ms from 1.05 19 Ms
@BullitFPV
@BullitFPV Ай бұрын
What Kind of tuningflight do you recommend for which step? LOS like basement tuning flights for all steps?
@KyriacosDemetriou
@KyriacosDemetriou 25 күн бұрын
I have the same question.
@Zentriefugal
@Zentriefugal Ай бұрын
After always avoiding this, I sat down today and tried to tune my 1S quads. It actually worked quite well, I was able to reduce the filters and every flight in our production hall felt a bit cleaner. As for the PID tuning, I actually left everything at the default setting of 1 because after the filters were optimized, the copters were actually flying quite well. But then I went outside and it turned out that tuning is not that easy after all. From my 3-5 inch copters I know that they are always carried away a little in the wind and I have to counteract this, but with the little ones it was a completely different story. They were super nervous and started to shake a lot. Is it possible to optimize this with PID tuning, or do I have to accept it because they are only 1S copters?
@geometerfpv2804
@geometerfpv2804 13 күн бұрын
1s is usually poor for outdoor flight, they are just too light. Any bit of wind becomes a big problem. You can't fix that with tuning.
@Zentriefugal
@Zentriefugal 10 күн бұрын
@@geometerfpv2804 in the meantime I was able to fix the problem but thanks for the answer.
@batdronefpv
@batdronefpv Ай бұрын
Thx for your great work !!!
@Halfrightfox
@Halfrightfox Ай бұрын
Whats a good stqrting place to start on finding P:D balance on micro 40mm/1.6"? Bf defaults are horrendous
@bearbeefpv
@bearbeefpv Ай бұрын
UAV Whoop Presets
@DDelfer
@DDelfer Ай бұрын
Hello! Thank for this perfect video!!! Waiting for the next!!! Should I change back pidsum_limit after tune?
@ewerninghaus
@ewerninghaus Ай бұрын
No, keep the pidsum_limit to what it was during tuning.
@mateuszpachulski6211
@mateuszpachulski6211 25 күн бұрын
how is D gains staying on 1 and is untouched can anyone explain me it ?
@user-bg1fc3fv4c
@user-bg1fc3fv4c 11 күн бұрын
Your files on Patreon are not available
@DDelfer
@DDelfer Ай бұрын
Chris! I can not donate through Patreon. Is it possible to donete you directly using crypto USDT? I really want to get your PDF!!!
@Binkoro
@Binkoro Ай бұрын
Doesn’t angle mode have its own feed forward and therefore you have to change to acro mode?
@ChrisRosser
@ChrisRosser Ай бұрын
For feedforward tuning you do need to be in acro mode.
@jejefpv
@jejefpv Ай бұрын
Hi Chris, something is bothering me, but you'll probably have the answer. Usually, Dterm is supposed to be fed with error (kD dε(t)/dt), but it seems in BF, only the gyro mesure is used. Aren't we more interested by the rate at which the error changes than the rate of change of the rotation of the quad itself ? We need to know how fast the rotation speed changes so the quad reaches the setpoint, not how fast the rotation rate globally evolves. I might be missing something, I hope you could enlight me, thanks ! :)
@feelfree.1
@feelfree.1 Ай бұрын
I was thinking the same
@PeterKrull1
@PeterKrull1 Ай бұрын
I was also wondering about this. It seems like (looking at the code in pid.c) that the D and F terms in betaflight are very similar to a classic derivative controller. Normally we calculate, as you stated, derror/dt, where error = stick - gyro. Since the derivative is a linear operator, derror/dt is equivalent to dstick/dt - dgyro/dt. Turns out, the ''F' controller is just one half of the classical derivative (dstick/dt), but with some extra tweaking added on top. The minus sign in front of the gyro derivative is just hidden away in the code. So it is still a fairly classical PID controller under the hood, except the D controller allows for essentially separate gains for stick and gyro derivatives.
@jejefpv
@jejefpv Ай бұрын
​@@PeterKrull1 Do you mean FF term is complementary to the Dterm, bringing the "missing" setpoint part ? Wouldn't we have a problem if FF is disabled then ? I thought the Dterm needed to detect when the system was going to fast towards the setpoint (= when the error is getting smaller to fast). I had the same reflex as you, by checking pid.c and I saw the setpoint nor the error were not directly involved, but I feel I am missing something somewhere 😅 And I suck at maths, so I might not have understood properly your explanation ;)
@PeterKrull1
@PeterKrull1 Ай бұрын
@@jejefpv You could disable the FF term completely, it would not make the system unstable, just feel sloppy. The derivative of the gyro will always just work to brake any change to the rate of rotation, no matter what the setpoint is. The FF term (or the dstick/dt part of a standard PID controller) will then act as the initial kick to get the rotation started, and then the dgyro/dt controller will to to stop that rotation. The point is that these two components of the classical derivative controller actually fight each other somewhat. But due to the delay between your setpoint changing (the initial kick) and the gyro sensing the rotation and braking, we get a really nice acceleration and deceleration.
@jejefpv
@jejefpv Ай бұрын
@@PeterKrull1 Thanks for the detailed reply mate 👍 I was disturbed by the fact it slows down the rate of rotation without taking into account the error. Your point about the delay and the FF makes it more understandable
@alperenozgur
@alperenozgur Ай бұрын
its interesting you dont show how to set master multiplier position by reading logs but just with ear? did i get it wrong? since we noobs cant tell it from ear..
@ewerninghaus
@ewerninghaus Ай бұрын
You will hear the difference. The wobbling can be heard and sometimes seen in the FPV. The sound is not smooth, it vibrates continuously. Like a vibratto movement in a violin or guitar.
@alperenozgur
@alperenozgur Ай бұрын
@@ewerninghaus ok 🤔 thx
@marmachul
@marmachul 23 күн бұрын
@@ewerninghaus I still cannot do it by ear :))
@DriftaholiC
@DriftaholiC Ай бұрын
Why raise master before p/d balance?
@taterfpv
@taterfpv Ай бұрын
I had the same question. Maybe the methods have evolved since 4.3?
@mattdena8070
@mattdena8070 Ай бұрын
Think of it like volume on radio. When tuning the equalizer to get best sound, and we listen to radio at a loud volume, it’s best setting it up at the volume we’re gonna be using. Can you do it with it on low volume, yea, but you may have tweak it again after turning the volume back up. since we want max pids, go on and increase the mm first, then it should save you from having to go back and tweak the pd balance.
@Sugar_K
@Sugar_K Ай бұрын
@@taterfpv AHH no there are no changes to pid tuning or filters since 4.4.. not sure that these things need such long videos vs 4.4 given there has been no change
@alperenozgur
@alperenozgur Ай бұрын
finally
@s.fendless9107
@s.fendless9107 Ай бұрын
Where s lead-lag compensator? The PR is already merged.
@kenmemh4838
@kenmemh4838 Ай бұрын
I think that in the Dynamic iddle values are reversed. low pitch should have higher values than steep pitch props to produce same amount of lift.
@MoaCube
@MoaCube Ай бұрын
Great video, but these small props dynamic idle values are way to high. 133 for a tinywhoop may be very close to hover point and even 66 already feels floaty.
@SuperHaptics
@SuperHaptics Ай бұрын
Not Peed.... P.I.D.
@1337flite
@1337flite Ай бұрын
Chris - try a T-Shirt sometime.
@torpedoLaw
@torpedoLaw Ай бұрын
Blah blah, blah blah blah blah blah blah blah. Just put a default setting in beta flight. Done. You won’t have any problems with a good 5 inch squad set up nowadays.
@divingfalconfpv4602
@divingfalconfpv4602 Ай бұрын
So I have fly only 5"?
@trumblez
@trumblez Ай бұрын
1. Only good for 5 inch builds 2. You can make a 5 inch fly a lot better tho (this is what this video is for) 3. Why are you even watching then
@maryjane136
@maryjane136 Ай бұрын
First of all it's called quad, not squad. But you are damn right, because every 5" quad has the same motors, weight, weight distribution, PWM frequency. And the same props of course, because it's a freakin' 5 inch. Blah, blah, blah.
@geometerfpv2804
@geometerfpv2804 13 күн бұрын
Why even watch this channel if you don't like technical analysis
Betaflight 4.5 Rates Tuning
11:52
Chris Rosser
Рет қаралды 6 М.
Betaflight 4.5 Filter Tuning
27:14
Chris Rosser
Рет қаралды 22 М.
О, сосисочки! (Или корейская уличная еда?)
00:32
Кушать Хочу
Рет қаралды 8 МЛН
1❤️
00:20
すしらーめん《りく》
Рет қаралды 32 МЛН
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 146 МЛН
PIDs Simplified
13:07
SiieeFPV
Рет қаралды 282 М.
Goggles 3 Teardown & Antenna Deep Dive
35:20
Mads Tech
Рет қаралды 23 М.
Can I DIY the BEST Li-Ion Battery in FPV?
19:20
Chris Rosser
Рет қаралды 13 М.
🔧Betaflight 4.5 Tuning Workflow using PIDtoolbox🔧
16:18
PIDtoolbox
Рет қаралды 7 М.
The best 3" motor no-one has heard of... 1404 Motor Testing!
18:47
Chris Rosser
Рет қаралды 10 М.
FlowState: The FPV Drone Documentary (Full Film Official Release)
1:33:49
Joshua Bardwell
Рет қаралды 282 М.
Betaflight 4.5 is GPS Rescue even more reliable and precise?
13:33
Babang Deshommes
Рет қаралды 10 М.
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
МОЖНО ЛИ заряжать AirPods в чехле 🧐😱🧐 #airpods #applewatch #dyson
0:22
Apple_calls РЕПЛИКА №1 В РФ
Рет қаралды 20 М.
Куда пропал 3D Touch? #apple #iphone
0:51
Не шарю!
Рет қаралды 608 М.