Тёмный

Gyro noise filter with STM32 DSP FFT functions 

FPV University
Подписаться 50 тыс.
Просмотров 2,9 тыс.
50% 1

Опубликовано:

 

26 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@lr7974
@lr7974 2 года назад
Phase Delay is the ultimate barrier when looking at filtering for quads. It has always been a major issue when i've worked on testing betaflight filtering with devs in the past. This is the same reason why FIR filtering isn't usable as well. 7-8 ms is the barrier where you start to get oscillations but the key factor is that phase delay from filtering actually reduces your margin of error for pid tuning. The tighter the phase delay the larger of margin you get for pids for ease of tuning and also flight feel.
@FPVUniversity
@FPVUniversity 2 года назад
Yes, exactly. I would even say that practical limit for the delay even lower. It's just so much simpler to work with up to date signal
@MCsCreations
@MCsCreations 2 года назад
Well, that's a bummer... 😕 I hope you find some other way of doing it, Pawel! Stay safe there with your family! 🖖😊
@FPVUniversity
@FPVUniversity 2 года назад
Thank you, I will
@FlavoredCrayon
@FlavoredCrayon 2 года назад
Thank you for critically thinking and putting it to the test! Really cool idea and even if it didn't pan out you followed through. Kudos!
@FPVUniversity
@FPVUniversity 2 года назад
Thank you!
@martinchristiansson658
@martinchristiansson658 2 года назад
Really interesting approach, it is the journey that counts.. thank you for the video.
@FPVUniversity
@FPVUniversity 2 года назад
Glad you enjoyed it!
@martinchristiansson658
@martinchristiansson658 2 года назад
@@FPVUniversity Actually I explained to you I developed my own hardware/software (f411) and works pretty Nice, currently working on H750VBT6. Will share project soon if you are interested?
@FPVUniversity
@FPVUniversity 2 года назад
Sure, I can take a look
@BrainDeadEngineering
@BrainDeadEngineering 2 года назад
To sum it up if some one stands a podium and gives a speech supper fast, you listened very hard but missed to much words. So slower is better anyways! ..?
@flat_spin_engineering
@flat_spin_engineering 2 года назад
What about compensating that constant delay with Smith Predictor ? This aproach would need process model being known a priori but you can use spare time of microprocessor to run some kind of system identification to estimate that model and keep it not diverging from reality.
@FPVUniversity
@FPVUniversity 2 года назад
That's too much of a delay. INAV already has Smith Predictor. Based on my experiments it's good up to 2-3ms. Above that error is too great and does not help at all
@dtpc_technologies
@dtpc_technologies 2 года назад
Amazing experiment. How about getting the FFT using radix 2 method? Don't know if it was already used or not.. Also, with such a filter, I think 1khz loop will be sufficient, instead of a 4k loop. This will further reduce the length of samples and fasten up the process.
@FPVUniversity
@FPVUniversity 2 года назад
The thing is that with 1kHz the buffer still would have to be quite long to have enough of the resolution. So delay still would be above expected
@FPVUniversity
@FPVUniversity 2 года назад
Ah, the code was even doing downsampling to reduce buffer length but this was still not enough
@dtpc_technologies
@dtpc_technologies 2 года назад
Did you tried the radix 2 FFT method to get the FFT?
@FPVUniversity
@FPVUniversity 2 года назад
IIRC CMSIS is radix2 but never really checked
@dtpc_technologies
@dtpc_technologies 2 года назад
@@FPVUniversity if you have to take 64 point DFT then you could actually use a radix-4 method to get faster DFT computations.
@nerdCopter
@nerdCopter 2 года назад
+1👍disappointing result :/ thanks for your efforts
@FPVUniversity
@FPVUniversity 2 года назад
Not everything is great success
@felixcenteno2003
@felixcenteno2003 Год назад
I modify the arduino FFT library to use with a STM32F401 at 84 Mhz and I get this times: ================================== FFT ticks(in mSec) ================================== 8 1 16 2 64 5 128 10 256 22 512 46 1024 98 , with out using CMSIS library
@felixcenteno2003
@felixcenteno2003 Год назад
this times include 3 process: Windowing + Compute FFT + Compute magnitude from Real & imaginary elements
Далее
Why is the output of the FFT symmetrical?
10:56
Просмотров 13 тыс.
Gyro noise sources - drone filter tuning masterclass
11:05
Только ЕМУ это удалось
01:00
Просмотров 1,8 млн
MAGIC TIME ​⁠@Whoispelagheya
00:28
Просмотров 3,7 млн
Gyro Noise Analysis Using Allan Deviation Plots
13:18
THAT'S a KVM?!
13:00
Просмотров 110 тыс.
How to find gyro noise frequencies
18:02
Просмотров 2,2 тыс.
You tell me: What's the best FPV system?
6:58
Просмотров 8 тыс.
Why did Raspberry Pi make their own SSD?
12:58
Просмотров 157 тыс.
Understanding FFT in Audio Measurements
26:05
Просмотров 27 тыс.
Только ЕМУ это удалось
01:00
Просмотров 1,8 млн