Betaflight Looptime

preview_player
Показать описание
"What should you set your betaflight looptime to?" is one of the most common questions I get today. No longer is there one simple answer like there used to be. I'll tell you what you should set your gyro_sync_denom and pid_process_denom to in order to get the best performance for your setup.

PLEASE NOTE: KISS is an F3, not an F1 processor. I have no idea why, but I was sure it was an F1. Maybe all the, "1 kHz is plenty fast enough," talk. Anyway, please accept my sincerest apologies and know that this was an honest mistake and not because of any ill will or intent to disparage KISS in any way.
Рекомендации по теме
Комментарии
Автор

Yehey you granted my request! Thank you thank you Josh. You are awesome!!!

felinoneri
Автор

Great video, thanks! I tried my SPRF3 on default 2.8.1 and it was like WOW and it was only after I fiddled to end up with 4/4/8k unsynced that I started noticing glitches in flight. Your video partly explains why defaults may have felt better; 4/2/2k.

ZaksterBlue
Автор

perfect "Timing" literally was setting this when I found the vid. GREAT STUFF

hawaiidroneracing
Автор

Hi Joshua. Thanks for your as usual excellent Vids. So Educational. Just thought you might be interested in my own experience, after watching your vid. I have a Naze32 Rev5 running BF 3.0.0 RC12. I get the following when setting my Gyro and PID Loop Frequencies in BF GUI configurator (Denom values from CLI Dump. CPU Load from bottom of screen and CLI Status):
- PID Loop Frequency 2K Gyro Frequency 2K = CPU Load = 100%
- PID Loop Frequency 1K (PID_Process_Denom = 2), Gyro Frequency 2K (Gyro_Sync_Denom = 4) = CPU Load 8%
Hovers OK, no freaky behaviour.
Thanks for your great vids mate. Please keep them coming.

brianbloomer
Автор

How could i missed this Video .... thank you !

Ottivad
Автор

PLEASE NOTE: KISS is an F3, not an F1 processor. I have no idea why, but I was sure it was an F1. Maybe all the, "1 kHz is plenty fast enough, " talk. Anyway, please accept my sincerest apologies and know that this was an honest mistake and not because of any ill will or intent to disparage KISS in any way.

JoshuaBardwell
Автор

thanks for your dedication in helping this hobby move fawad

Guy-vgtp
Автор

Thanks ever so much for this clear info, it helps a lot!

modzfpv
Автор

Interesting stuff, I have been running at 8k/8k/32k for a while now, and I must admit tuning was a bit challenging but still doable and eventually locked in. Who knows if I feel the difference between pid_process speeds, it was a fun challenge nevertheless!

ThePromptWizard
Автор

Heh nice explanation! You should do one about unsynced pwm :) I cant get mine tuned with 4/4khz and 32khz multishot. Just disabling unsynced_pwm feels a lot smoother. Dont know if im missing out on performance there.

pukki
Автор

Hi. Your videos are awesome. Very well put together. Although this one did have some weird crackling sounds. What is that?

eme
Автор

hey Josh I just picked up a F4 revolt flight controller race flight I believe it is a 32k 32k right that should be pretty sweet

ICEMAN_GLX
Автор

great info. more comfortable with my decision to run 4k gyro on my naze now. any plans on putting that slide up for download?

djsnapper
Автор

Thanks for sharing! Did you change microphone in the recent days BTW? There's some audio issues at 7:39 for example.

sallerc
Автор

Hi Joshua, quick question about your settings in the table for the Naze32. Your table in the video has gyro_sync_denom = 2 (4kHz. That works out to be an equivalent looptime of 250. I thought the optimal setting for the Naze32 (even with acc, baro, mag = NONE) was gyro_sync_deno = 4 (2kHz) / Looptime of 500?
Then with this gyro_sync_denom set to 2... the pid_process_denom = 1 making it 2kHz.
Perhaps I misunderstood something previously?

David__
Автор

I had a little bee 20a burn up. So I replaced it. I used a current limit bulb to set up my equipment this time to prevent any more damage. Still trying to understand with your video about bl heli and where you turn off the default programming by tx.

mlcifly
Автор

Thanks for doing this video. Is there a way to determine the board's protocol, if you're not using one of the mentioned boards?

Vidal
Автор

Note, everything above assumes: set gyro_lpf = OFF
For any other setting the max loop rate is 1kHz (assumming MPU 6000/6050/6500/9150/9250). As such the both denoms would all be set to 1 for all the boards.

daphoosa
Автор

Joshua, as always "Thank you." I have a quick question. What effect could a Stuxnet type virus have on our quads? I was thinking it would make for a fun research topic maybe even Defcon quality. Do you have any opinions or thoughts on the subject?

GIStupid
Автор

i use a naze rev 5 /250 microsec looptime. with multishot. cpu 60% on the table. never had any problems. i only fly manual and nothing extra like level modes or leds. betaflight 2.7.1

hansturpyn