Check my dynamic notch filter

I apply a filter, but I dont know it is right. please help.

To my taste, seems mostly OK. Two things to consider changing:

  • it seems as if INS_HNTCH_ATT = 40 is a bit too much, maybe 35 is enough
  • you seem to set INS_HNTCH_FREQ to the hover frequency, hence the propeller noise will not be filtered out when descending sufficiently quickly. Consider decreasing INS_HNTCH_FM_RAT to, say, 0.5, or maybe 0.2 if you plan to do anything aerobatic.

Generally, you want to do something more than just a hover to test out the filters. If filtering seems OK over the entire flight envelope, there is more confidence in it.

1 Like

Attach a link to the .bin log file.

You only need to get all peaks under -50dB. Currently, you are overfiltering and causing unnecessary phase lag.

1 Like