What is the BEST Loop Rate??

Поделиться
HTML-код
  • Опубликовано: 20 янв 2025

Комментарии • 43

  • @PIDtoolbox
    @PIDtoolbox 3 года назад +3

    Great testing! Glad you brought this up again. Love to see the new data now that BF4.3 has so much better control over looptime errors

    • @uavtech
      @uavtech  3 года назад +2

      Let me download the latest.

    • @slowvoltage
      @slowvoltage 3 года назад

      @@uavtech classic. +1

  • @MCsCreations
    @MCsCreations 3 года назад +1

    Fantastic testing, Mark! Pretty interesting results! 😃
    But it's the first time I see a field of football fields... 😂
    Oh, ok... Soccer. 😝
    Anyway, stay safe there with your family! 🖖😊

  • @josephrsalexander4589
    @josephrsalexander4589 3 года назад +2

    Is there a change in feel between the different loop frequencies. A higher loop rate feels more responsive?

    • @uavtech
      @uavtech  3 года назад +1

      No, I don't see how that is possible.

  • @ungravityfpv
    @ungravityfpv Год назад

    thanks! so interesting!

  • @Rich2brokeN
    @Rich2brokeN 3 года назад

    Appears same amount of prop wash but where less on pitch axis more on roll axis and vise versa

  • @olafschermann1592
    @olafschermann1592 3 года назад

    Great topic, work and explanation. Thank you

  • @mokshpatel6986
    @mokshpatel6986 3 года назад

    Why you don't test with fix 1 factor (like logging) or dshot 600 will it perform better ?

    • @uavtech
      @uavtech  3 года назад

      Fly better for which?

    • @mokshpatel6986
      @mokshpatel6986 3 года назад

      @@uavtech it mean fix the 2 value and compare with one by one , just because more variable = more inconsistencies

  • @Quick-Flash
    @Quick-Flash 3 года назад +2

    These tests aren't really helpful. The pt1 filter has different cutoffs at lower pidloop rate. So your dterm filtering differs each time you change you pidloop rate, which can more than account for what you think the pidloop rate changes are doing.

    • @l0stb1t
      @l0stb1t 3 года назад

      So a 100 Hz PT1 at 8k isn't the same as a 100 Hz PT1 at 2k? Can you elaborate?

    • @uavtech
      @uavtech  3 года назад

      Nah. The calcs compensate for that (loop rate) when converting Cutoff to K factor.

    • @Quick-Flash
      @Quick-Flash 3 года назад

      @@l0stb1t correct, higher loop rates are more accurate though to the cutoff you set.

    • @Quick-Flash
      @Quick-Flash 3 года назад

      @@uavtech the calcs are approximations that are faster but not as accurate as the true answer.

    • @uavtech
      @uavtech  3 года назад +2

      @@Quick-Flash
      As you know, it is:
      K = (2 * pi() * cutoff) / loop rate
      PT1 = previous sample + K * (current sample - previous sample)
      Based on what I see, the PT1 seems to title out a little more delay at higher sampling rates, not less. i.imgur.com/4RhJkxg.gif

  • @thedarkrs1
    @thedarkrs1 3 года назад +6

    "Hey, i did this test, if you want go know what it actualy means, you have to go to my patrion and give me some of your money"
    While using open source software on the fc, and then open souce software to analize the data. Entrepreneur.

    • @uavtech
      @uavtech  3 года назад

      HD and logs in this video. :-)

  • @Quick-Flash
    @Quick-Flash 3 года назад

    If your sampling at 8k and running pid at lower rates the science of signal processing shows only downsides to lower rates. The only real downsides to 32k are more cpu load and our sensor (aka the gyro) may see more noise. If the noise seen at 32k was the same as the noise at 8k then there is 0 benefit to 8k except for cpu load.

    • @uavtech
      @uavtech  3 года назад +1

      noise at 8k is far less than at 32k though. We crossed that bridge a long time ago.

    • @Quick-Flash
      @Quick-Flash 3 года назад

      @@uavtech but if your living in 8k land then you get no advantage with dropping your pidloop rate when the gyro is sampled faster. Only advantage is less cpu load.

    • @uavtech
      @uavtech  3 года назад

      @@Quick-Flash yeah, agreed.

  • @DriftaholiC
    @DriftaholiC 3 года назад +1

    More is better. Diminishing returns, sure. More is still better.

    • @uavtech
      @uavtech  3 года назад

      It is, but also misses/delays tasks. More on that this weekend

  • @pulquerofpv7209
    @pulquerofpv7209 3 года назад

    Doesn't nyquist mean you should log at 2x the fastest rate???

    • @uavtech
      @uavtech  3 года назад

      Nyquist means log at 2x the max frequency you want to examine.

    • @pulquerofpv7209
      @pulquerofpv7209 3 года назад

      @@uavtech so to do a comprehensive comparison you would want to log at 16khz to ensure nothing got missed.

    • @uavtech
      @uavtech  3 года назад

      No. Our control frequencies stop at 100hz. So 200hz for control. For accurate noise capture, which is never higher than 900hz, 2k logging will suffice.

    • @pulquerofpv7209
      @pulquerofpv7209 3 года назад

      @@uavtech ok, I understand, so your working assumption for this video is "nothing of interest above 900hz".

    • @uavtech
      @uavtech  3 года назад

      Not an assumption, but yes.

  • @Quick-Flash
    @Quick-Flash 3 года назад

    8k is the obvious answer because of aliasing going down from 8k

    • @uavtech
      @uavtech  3 года назад

      i don't see aliasing. You are assuming there is noise above 500hz. But is filed our before down-sampling.

  • @FourthWayRanch
    @FourthWayRanch 3 года назад

    why can't these flight controllers just teach themselves the correct settings? there's no lack of processing power.

    • @TimeFadesMemoryLasts
      @TimeFadesMemoryLasts 3 года назад

      unfortunately there is a lack of processing power, especially on F4's

    • @uavtech
      @uavtech  3 года назад +1

      Why can't cars just drive themselves already?

    • @someonespotatohmm9513
      @someonespotatohmm9513 3 года назад

      There are controll techniques that do this, but the assumption generaly is that the enviroment doesn't realy change. This is probaply not true enough for quads. I also doubt how well this will work for propwhash which is chaotic and its own research field.

  • @Matt-xy6cf
    @Matt-xy6cf 3 года назад

    auto bot infusion tune program .

  • @airdronelongford2027
    @airdronelongford2027 3 года назад

    Good testing! F1 will strongly disagree 😂

    • @uavtech
      @uavtech  3 года назад

      But F1 honestly does not fly very well at all (throbbles and loss of cross axis control in sharp stick moves) sooo... 🤷‍♂️

  • @akosidarwin
    @akosidarwin 3 года назад

    you so cool

  • @Maceyee1
    @Maceyee1 3 года назад

    What is your conclusion? Could you re think your video format. Not interesting and then again I don't think it was informative