Notch Filter set up after autotune?

I’m new here (and to Ardu) so please be gentle. I made the mistake of allowing ArduPilot to see that I was scared of it and it has now attacked. I had set my notch to FFT in-flight, but a friend noticed it wasn’t actually doing anything. I already autotuned, so I realize I will need to repeat that once the notch filter is actually doing something. But I also don’t really understand what that is. (side note: I am assuming that the dyanmic in-flight FFT basically sets your notch for you; this right?)

I am trying to set up my harmonic notch filter. I’m having a terrible time of it. I am not sure I can ever tell you what I have done, but I’ll try.

Parameters I have set up:
FFT_enable, 1
INS_HNTCH_ENABLE, 1
INS_HNTCH_MODE, 4
All the other INS_HNTCH I have left as default

With that, I did a test flight today of a few minutes, but my values on the Extended Tuning have gone unchanged.

I have read enough on here to know you’re going to ask for logs. BUT…I cannot understand this either. When I go into my DataFlash logs (I don’t have an SD slot), there are always only 5 x files; each one has the same date and time (12/31/1969 at 18:00:00). Then there are some numbers next to them with one of them being zero. Is this the size? So if I download them, then what? I don’t even know if I have logging enabled correctly or am logging what I need!

So, please help!

Thanks in advance.

Edit: now that I am thinking about it and reading more, my flight to set it wasn’t a hover. I will try a hover tomorrow so that mot_hover_learn is working in conjunction (that parameter IS set).

Make sure these are set:

INS_LOG_BAT_MASK,1
INS_LOG_BAT_OPT,4

then do a flight, upload the .bin log to a filesharing site like dropbox or onedrive and provide the link to it here.
Describe your copter and components: flight controller, ESCs, motors, props, battery…

There is the filter review tool, and we can step you through using it to find the correct filter settings.

ArduPilot Filter Review Tool

So those parameters now give me logs with today’s date, but it says something about FMT messages not being present. In the folder on my computer, the logs have a size of 0 kb (bin files). There are a few RLogs and TLogs with some size other than 0 though.

Using a Matek H7A3 for the flight controller. Using Ardu 4.7.0-dev.

A buddy helped me out working through this. The inflight FFT notch filter did not automatically input, which is what was throwing me off. I saw nowhere in the documents where to find the info I need, but now that I’ve gone through the procedure, I see it but it is very unclear the steps/process to go through. The frequency to filter out got captured but not input and therefore the BW didn’t either.

But, biggest issue I now have is lack of usable logs. Back to the documents I go, u less someone else has some thoughts on it…

So you’re going to need to at least post the message log you get when connecting to your drone if in fact your logs are empty. Regardless of logs, you should be able to save all of the params to a file and upload that here. From here we have a chance of determining why you don’t get data saved to logs.

I have the same problem as you that some craft create filenames with that same date. When that happens, a number is recorded after the date in the filename which is just a simple increment of the count of logs created so far. The highest one is the most recent log created.

There are a bunch of resources for tuning the notch filter but since we can’t see logs we can’t help with that, so let’s do the basics first

Post the parameter file. That board is supported in V4.6.0-beta4 perhaps you shoukd be using that instead of the dev version.

If the log files are all coming back with the same date as the file name it means you don’t have GPS position information.

1 Like