Tuning the Harmonic Notch

That looks much better!

Thanks for all your help

Do you know which sensors you have? I thought fmuv5 was BMI88, but it doesn’t look like it from the log.
I’m interested in the very prominent second peak. I think this may be due to frame resonance at the rpm harmonic - it might be worth putting a static notch there to take that out.

Here are my Sensors

  • InvenSense ICM20689 accelerometer / gyroscope
  • InvenSense ICM20602 : accelerometer / gyroscope
  • Bosch BMI055 accelerometer / gyroscope
  • MS5611 barometer
  • IST8310 magnetometer

What would you recommend for the static notch?

INS_NOTCH_FREQ = resonant peak in Hz to set the notch center frequency
INS_NOTCH_BW = the notch bandwidth, a reasonable default is half of the center frequency
INS_NOTCH_ATT = the notch attenuation, higher attenuation will make the notch deeper and narrower

Do these seem about right?
INS_NOTCH_FREQ = 110
INS_NOTCH_BW = 25
INS_NOTCH_ATT = 30

I would do:

INS_NOTCH_FREQ = 130
INS_NOTCH_BW = 40
INS_NOTCH_ATT = 40

that looks closer to what the graphs are showing.

You should set your IMU flags to enable to the BMI055 - doesn’t look like it’s on at the moment and I suspect it might give you higher quality data than the other two.

Any idea how to set that flag to enable it?

It’s either INS_USE3 or INS_ENABLE_MASK or both

Thanks. Do I want to use all three or just that one that you mentioned in particular?

I think look at the graphs and then decide. You will get higher sample rates with the BMI55 I believe

Thanks. So I will enable all 3 and then see which give the best graph results. I will post this late tonight if I have time to get to the field later

Actually I just went to adjust my IMUs and this is what I found…

Then I went to look at INS_Log_Bat_Mask and found that only the first 2 IMUs were being logged.

So I changed it here…

So now the next test run will log all three IMUs.

So it’s not that any were disabled as much as the last one wasn’t being logged

Thanks for all the continued help

Ok, logging done on all three IMUs.

I put in the static notch filter that you recommended.
These are the results from tonight

Thoughts?

They look about the same once you account for the change in scale, if anything the BMI55 is a bit noiser, so maybe stick with what you have for now - but I think take a further look once you have some logs for higher throttle. The static notch looks like its hitting its mark bang on - you could probably afford to make it a little wider and deeper.

@andyp1per Thanks for taking a look

Went out and flew for a little while today… Here are the lastest charts… Along with the log files in case you wanted to see anything else

https://1drv.ms/u/s!AplYZe-uqPEBguwYbDhHbnsLb1WBWw?e=MLsuYo

@andyp1per

I just set up my Big 1300mm Octo

I have just enabled the Dynamic filtering I have the following:

Prefiltering:

And now Post

Thoughts?

Static Notch at 100?

Can you post your parameters? Looks like you could increase attenuation on the dynamic notch.
I would test a static notch at both about 50 and about 110. The 50hz noise might be causing a harmonic at 100hz. Try both and see what looks best.
A lot of my frames seem to have a resonance around 100hz.

edit - oh you just repled, I’ll reply again…

These are my settings:

|INS_NOTCH_ENABLE|0|
|INS_LOG_BAT_CNT|1024|
|INS_LOG_BAT_MASK|7|
|INS_LOG_BAT_OPT|2|
|INS_LOG_BAT_LGIN|20|
|INS_LOG_BAT_LGCT|32|
|INS_ENABLE_MASK|127|
|INS_HNTCH_ENABLE|1|
|INS_HNTCH_FREQ|80|
|INS_HNTCH_BW|20|
|INS_HNTCH_ATT|15|
|INS_HNTCH_HMNCS|3|
|INS_HNTCH_REF|1|
|INS_HNTCH_MODE|3|

Are you thinking something like the following:

INS_NOTCH_FREQ = 50
INS_NOTCH_BW = 40
INS_NOTCH_ATT = 40

What does your CTUN, N look like in the logs? I’m curious what frequency you hover at on that size copter. You might want to set the dynamic notch lower