Notch Filter & Gyro Filter with filter review tool

hello there,
i am testing out some filter settings for my small quadcopter with 8*4.5 inch xing 1300kv 2806.5 and pixhawk cube orange. I am new on using ardupilot filter review tool so basically here i am attaching log file.




now if i change my filter setting changes as below
INS_HNTC2_ENABLE = 0.Disable
INS_HNTCH_HMNCS = 1
INS_GYRO_FILTER = 10 hz
my estimated filter looks good as attaching below



am i going right way or missing anything ?
should i implement it on my drone ? i don’t know consequences of lowering ins_gyro_filter to too low.
and any other suggestions for using filter review toll would be appreciated, thanks.

or i think lowering ins_gyro_filter to 5hz also reduces peak as attached

You are on the great way to crash copter. Dont go that low on Gyro filter.
Disable Hntch 2 and calculate REF from hover throttle in orded to Throttle Based Notch work.

i have done it.
but i don’t know how can i reduce noise peak which is there on y axis of estimated post filter ?

Post a latest log with current settings.


here is my .bin file

peak on y axis is still there how should i remove this i have already disabled 2nd notch

and here is my current setting

a

Try this:

On the Cube Orange your primary IMU is 2, so you might also want to check INS_LOG_BAT_MASK,3 so we can see the first 2 IMUs. They shouldn’t be significantly different but it’s worth checking.

1 Like

REF 0 essentially means do nothing for a throttle-based notch, see Allisters post for the correct settings

sorry for too late replay,
@xfacta @Allister @Goran_F450 i have configured notch filter as suggested and it really went well thanks for your help
now i want to know more about phase delay and time delay of this bod plots

which one is better and how to analyze it ?

Lower phase lag means tighter tuning, you always put lowest amount of filtering to do job and balance with phase lag to get best possible tune.

yes that’s true i am aware with it
but in image i posted above does it have acceptable phase delay or not ?
at which level it is acceptable ?

It is acceptable, just watch graph above how filter do a job

Or just screen graph that show filtering so we can see your setup.

i am confused that in this image left one is with one frequency


and right one is with two frequency

and i am not finding any significant change in delay

You dont want second filter to be Throttle based, just disable second and post a graph file of estimate filter too see how its working

1 Like

You are good to go with autotune now

1 Like

The graph looks good but you probably don’t need two filters. If you have frequencies of 64 and 119, those are essentially harmonics. (close enough depending on the rest of the setup) I would try out one filter at 64 with a second harmonic and see how it goes. You want the fewest filters possible.

ok thanks
i have also tried that and it is working fine today i have tested it at 24 m/s