Betaflight 4.5 PID Tuning

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 มิ.ย. 2024
  • 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
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @ityadiinc
    @ityadiinc หลายเดือนก่อน +12

    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!

  • @demvlad2
    @demvlad2 หลายเดือนก่อน +1

    The P is derivative for I, as D is derivative for P.
    I've never thought about it before! Thank's!

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

    Epic tuning deep dive. Keep up the good work!

  • @skky.fpv.
    @skky.fpv. หลายเดือนก่อน +1

    Amazing tuning videos - thank you so much Chris! You gained a new patriot

  • @bulufish8208
    @bulufish8208 2 หลายเดือนก่อน +1

    Thanks for your time and effort to make this hobby enjoyable 😉.

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

    Joe's I term rotation works wonders on my quad, I love it, thanks Joe!

  • @minatek007
    @minatek007 27 วันที่ผ่านมา +1

    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.

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

    Finally expertise explained how to!!! Thanks Chris 🎉🎉🎉

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

    wooow !!! this is a masterclass !! Thanks Chris !!!

  • @taterfpv
    @taterfpv 2 หลายเดือนก่อน +3

    Nice to see the evolution of your PID tuning technique and the expanded explanations of the nitty gritty. Thank Chris!

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

    Awesome video Chris!

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

    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. 2 หลายเดือนก่อน

    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.

  • @ChainsawFPV
    @ChainsawFPV 2 หลายเดือนก่อน +3

    4.5K views in 2 days tells me FPV is alive and well!!

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

    Great. You gave me the way to tune my 10". Many thanks.

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

    good job as usual! :)

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

    great video, thanks!

  • @butcher
    @butcher 2 หลายเดือนก่อน +3

    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 2 หลายเดือนก่อน

      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

  • @mattdena8070
    @mattdena8070 2 หลายเดือนก่อน +16

    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.

  • @daan-the-maan
    @daan-the-maan 2 หลายเดือนก่อน +1

    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?

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

    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!

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

    finally

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

    Hello! Thank for this perfect video!!! Waiting for the next!!!
    Should I change back pidsum_limit after tune?

    • @ewerninghaus
      @ewerninghaus 2 หลายเดือนก่อน +1

      No, keep the pidsum_limit to what it was during tuning.

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

    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?

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

    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…

  • @christopherconkright1317
    @christopherconkright1317 วันที่ผ่านมา

    Would you do one of these specific to a 3in or 3.5 my preferred quad

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

    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

  • @elmars302
    @elmars302 2 หลายเดือนก่อน +2

    Are there or will there be 4.5 presets for AOS 5 (v5 perhaps)?

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

    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

  • @rgglenn150
    @rgglenn150 2 หลายเดือนก่อน +1

    no using of blackbox when tuning master multiplier?

  • @christopherconkright1317
    @christopherconkright1317 วันที่ผ่านมา

    What do oscillations sound like?

  • @BullitFPV
    @BullitFPV 2 หลายเดือนก่อน +1

    What Kind of tuningflight do you recommend for which step? LOS like basement tuning flights for all steps?

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

    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?

  • @LinhPham-hq4oi
    @LinhPham-hq4oi หลายเดือนก่อน

    Hi Chris, Do I change PID_Sun limit & Limit_Yaw back to default after finished tuning?

  • @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?

  • @jejefpv
    @jejefpv 2 หลายเดือนก่อน +1

    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 2 หลายเดือนก่อน

      I was thinking the same

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

      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 2 หลายเดือนก่อน

      ​@@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 2 หลายเดือนก่อน +2

      @@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 2 หลายเดือนก่อน

      @@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

  • @minatek007
    @minatek007 27 วันที่ผ่านมา

    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??

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

    Thx for your great work !!!

  • @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 29 วันที่ผ่านมา

      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 26 วันที่ผ่านมา

      @@geometerfpv2804 in the meantime I was able to fix the problem but thanks for the answer.

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

    Whats a good stqrting place to start on finding P:D balance on micro 40mm/1.6"? Bf defaults are horrendous

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

      UAV Whoop Presets

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

    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.

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

    how is D gains staying on 1 and is untouched can anyone explain me it ?

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

    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.

  • @alperenozgur
    @alperenozgur 2 หลายเดือนก่อน +1

    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 2 หลายเดือนก่อน

      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 2 หลายเดือนก่อน

      @@ewerninghaus ok 🤔 thx

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

      @@ewerninghaus I still cannot do it by ear :))

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

    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.

  • @user-bg1fc3fv4c
    @user-bg1fc3fv4c 28 วันที่ผ่านมา

    Your files on Patreon are not available

  • @DriftaholiC
    @DriftaholiC 2 หลายเดือนก่อน +2

    Why raise master before p/d balance?

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

      I had the same question. Maybe the methods have evolved since 4.3?

    • @mattdena8070
      @mattdena8070 2 หลายเดือนก่อน +1

      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 2 หลายเดือนก่อน +1

      @@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

  • @s.fendless9107
    @s.fendless9107 2 หลายเดือนก่อน

    Where s lead-lag compensator? The PR is already merged.

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

    Not Peed.... P.I.D.

  • @1337flite
    @1337flite 2 หลายเดือนก่อน

    Chris - try a T-Shirt sometime.

  • @torpedoLaw
    @torpedoLaw 2 หลายเดือนก่อน +3

    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 2 หลายเดือนก่อน

      So I have fly only 5"?

    • @trumblez
      @trumblez 2 หลายเดือนก่อน +2

      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 2 หลายเดือนก่อน +3

      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 29 วันที่ผ่านมา

      Why even watch this channel if you don't like technical analysis