Help with harmonic notch filter

Set it back to default (20) or 15Hz minimum. Also, I don’t think you need the 2nd notch at all. Disable it, set the 1st notch to 1st and 2nd harmonic and the center frequency at 27Hz. Make those changes in the Filter review tool and plot “estimated post filter” and see for yourself.

Here is how effective those setting are:
Pre

Post

thanks for the response.
but i am getting a bit different
filter (8).param (371 Bytes)

INS_GYRO_FILTER,15
INS_HNTCH_FREQ,27
INS_HNTCH_BW,13
INS_HNTCH_ATT,40
INS_HNTCH_REF,0.14
INS_HNTCH_FM_RAT,0.699999988079071
INS_HNTCH_HMNCS,3
INS_HNTCH_OPTS,7
INS_HNTC2_FREQ,51
INS_HNTC2_BW,30
INS_HNTC2_ATT,40
INS_HNTC2_REF,0.14
INS_HNTC2_FM_RAT,0.699999988079071
INS_HNTC2_HMNCS,3
INS_HNTC2_OPTS,0
INS_HNTCH_ENABLE,1
INS_HNTCH_MODE,1
INS_HNTC2_ENABLE,0
INS_HNTC2_MODE,1

Looks about the same to me if you zoom the x-axis. in any case I used these settings with Notch2 disabled:

Fly it and check the actual results.

shalll fly tommorow and check how it works… also just a wuestion if it works fine thenthat means i will have to do an autotune again right ??

Yes. The low gyro filter and too much Notch Filtering likely didn’t produce the best Auto Tune. I would not run an Auto Mission until you have this craft tuned.

2 Likes

hi

so we did the harmonic notch but gyro filrter 15 didnt work well so did 10 and it was flying well.

we did a autotune post that. results are in the bin file below.
we are still working on getting the z vibes down i guess because of high z vibe we care also expernicing compass variance at times.

can you have a look at the notch filter setting and the autotune result

i have added the bin file

This looks pretty good. The Notch Filter is working perfectly and the PID’s are closer to what they typically are for a craft of this size. No doubt the 0.09 aggression is responsible for this. There is some pitch/roll jitter but it’s not terrible. Perhaps because the overall vibration levels are high.

All in all not bad, good job.

The magfit is not compensating as much as it could.
I think you should repeat that flight. and again, post the edited intermediate .param files. All of them, not only the one for the notch filter.

Yes, looks like you are right. The ODI, DIA and Motor compensation coefficients/offsets were not calculated. What MAVExplorer produces from the last log is significantly different in the compass calibration offsets (OFS) than what shows in the parameter file. At least for Mag 1 didn’t look at 2.

@amilcarlucas @dkemxr

so we had been working on reducing the z vibes all this while finally it has come down but not going down further we have almost tried all options possible. intially at 23hz there was notch set but after few changes in drone we have put the filter at 55hz since there was no spike at 23hz. attaching log file.

request you to have a look at the z vibes and notch filter. if it looks good then i will start off with magfit and other steps.