BetaFlight 3.2 Τι είναι το Dynamic Filtering ; Πως το χρησιμοποιούμε;

Άβαταρ μέλους
hok
Δημοσιεύσεις: 1777
Εγγραφή: Παρ Αύγ 14, 2015 1:22 am
Τοποθεσία: Πειραιάς
CONTACT:

BetaFlight 3.2 Τι είναι το Dynamic Filtering ; Πως το χρησιμοποιούμε;

Δημοσίευσηαπό hok » Τρί Οκτ 17, 2017 9:03 am

Εικόνα

Το dynamic filtering παρακολουθεί κατά την διάρκεια της πτήσης την ένταση του θορύβου από το γυροσκόπιο , προσαρμόζει το φιλτράρισμα σε πραγματικό χρόνο προσπαθώντας ν αποτρέψει τον θόρυβο απο το να επηρεάσει την υπόλοιπη λειτουργία του σκάφους όπως τον υπολογισμό των pids και την καλή λειτουργία των μοτερ.


Το μεγάλο πλεονέκτημα είναι οτι αν κάτι αλλάξει τα επίπεδα θορύβου όπως στράβωμα ενος έλικα μετά απο χτύπημα
το dynamic filtering θα το εντοπίσει και θα προστατεύσει το σκάφος απο τον επιπλέον θόρυβο


πως το χρησιμοποιύμε ?

1) φλασάρουμε στον FC την πρόσφατη έκδωση του BF 3.2 https://github.com/betaflight/betafligh ... ses/latest
2) Στο Config tab ανοιγουμε το Dynamic Filtering
3) Διαδοχικά κλείνουμε τα Notch Φίλτρα δηλαδή
Επιλέγουμε το PT1 σαν φίλτρο ( ποιο χαλαρό φιλτράρισμα= καλλίτερη πτητική συμπεριφορά)

κλείνουμε το notch 1 πετάμε 1 λεπτό και ελέγχουμε τα μοτερ αν ζεσταίνονται
κλείνουμε το notch 2 πεταμε 1 λεπτό και ελέγχουμε πάλι τα μοτερ.
μπορεί να κλείσει και το Notch Dterm και πάλι ελέγχουμε τα μοτερ

Fly crash fix repeat.

:D :D :D :D :D :D
https://quadmeup.com/betaflight-3-2-dynamic-filtering-explained/

Betaflight dynamic filter
Dynamic filter does two things:

Analyzes gyroscope data and tries to find peak noise frequency in real time. As you fly. You throttle up, throttle down, noise peak moves, no problem. Analysis locates the strongest noise peak. For the ones who wants to know more, read about Fast Fourier Transform and frequency domain
Additional notch filter is applied just after gyroscope internal LPF. This notch filter, its notch and cutoff frequencies are updated based on data obtained from signal analysis. This way, the filter is always tuned in to your flying style
How to enable dynamic filtering
To enable dynamic filter:

Flash and install Betaflight 3.2 and latest Configurator
Open Betaflight Configurator
Goto CLI tab and type feature DYNAMIC_FILTER and then save
This is all. No other steps are required. The only thing you should do is to disable gyro notch 1 and gyro notch 2. They should be obsolete now with dynamic filter in place. But do it in a smart way. Disable first notch, fly for a minute, land and check motors. If they are not overheating, disable next notch, fly again and check motors one more time.

If motors are not overheating, notch 1 and notch 2 can stay disabled. If they are overheating, you probably have big vibration problems…
Τελευταία επεξεργασία από 2 και hok, έχει επεξεργασθεί 0 φορά/ες συνολικά
κανείς μας δεν είχε πετάξει στο παρκιν πριν πετάξει στο παρκιν ...
hokdog
Άβαταρ μέλους
hok
Δημοσιεύσεις: 1777
Εγγραφή: Παρ Αύγ 14, 2015 1:22 am
Τοποθεσία: Πειραιάς
CONTACT:

Re: BetaFlight 3.2 Τι είναι το Dynamic Filtering ; Πως το χρησιμοποιούμε;

Δημοσίευσηαπό hok » Τρί Οκτ 17, 2017 9:10 am

Είναι ιδιαίτερα απετητικό σε υπολογιστική δύναμη στους f3 προτιμίστε 4/2 khz ενω στους f4 8/4 είναι ασφαλές
https://github.com/betaflight/betaflight/wiki/BetaFlight-3.2#dynamic-filters
Dynamic Filters

TO DO - fill in CLI commands and what they do.

NOTE: F1 boards can't handle dynamic filters.. no space, no power for it.

This is the current signal path in ascii art:

gyro -> dynamicNotch -> notch1 -> notch2 -> lpf -> P term
-> motors
-> D term -> notchD -> lpfD -> setpointRelax&Weight /

Dynamic filter runs in the gyro loop, so PID loop freq doesn't matter. Don't run 8k on F3 processors, use 4/4 on those. F4 / F7 should run fine on higher freq.

mjbudden posted on Boris' thread regarding the gyro/PID loop speed and Dynamic Filtering: Official recommendation from myself and r.a.v. (who between us wrote the code) is not to use above 4k/4k on F3 processors if using dynamic filtering. When running 8k gyro you have 125 microseconds in each loop and it is simply not enough time to run the calculations. So the PID loop will run slower than 8k anyway. There may be no outward signs of problems, but there will be jitter in the PID loops and that can potentially cause problems.





κανείς μας δεν είχε πετάξει στο παρκιν πριν πετάξει στο παρκιν ...
hokdog

Επιστροφή στο FC-BetaFlight

Μέλη σε σύνδεση

Μέλη σε αυτή την Δ. Συζήτηση: 1 και 0 επισκέπτες