Can I please ask for some help working out what went wrong with this??
I have a 9 kg quad with T-Motor U8II KV190 motors and 2815 props which I test flew after setting up the FFT Based Harmonic Notch. The take Off was in position Hold and it got airborne to about 9 m and the quad started to twitch in pitch and roll and the oscillations quickly got bigger. I switched to Loiter which made it worse and I managed to get it back on the ground, but it suffered a damaged prop.
Here are the settings I used.
â00000013 FFT Notch Hover Presetup Test.BINâ which I used to find the INS_HNTCH_BW = bandwidth estimate, and â00000016 FFT Notch Post Setup Crash.BINâ, which is the test crash flight.
Included is the parameter file as well.
The only other parameter change was LOIT_BRK_DELAY: from 2 to 1.
If anyone can help working out this one, I would appreciate it!!
You basically have a poor tune - disturbance caused runaway pitch and roll oscillation. You donât have PID logging turned on so I canât tell which part of the tune is at fault. Itâs possible that the very low filter settings mean that the copter is unable to react in time.
The FFT itself appears to be working ok. You have a cube orange, so on such a big copter you can afford to push the window size higher - to 256 say - which should track the low frequency noise better. But you need to fix the tune first.
Thanks for the quick reply! The PID logging was an oversight which has been corrected. When you say âpush the window size higher - to 256â, could you please expand on this a bit more?
I originally configured a Throttle Based Dynamic Notch which seemed to work OK?
Concerning the tune, I have done a couple of autotunes with AUTOTUNE_AGGR at 0.1 and also 0.007 and both times I initially got the âcannot levelâ msg but both times the tune completes. Iâm not sure where to go with this and ask for suggestions? It could be my frame design?
To the best of my knowledge the Autotune was done with the throttle based notch on. Just to clarify, the Autotune resulted in a stable quad after which I successfully flew some photographic flights . It was only when I enabled the FFT Notch did the instability appear.
Yeah, so I think what is happening is that the FFT notch is not doing as good a job as the throttle notch and your tune is overcooked on that basis. Best thing to do is switch back to throttle notch but keep the FFT on so that we can tune that first.
Hi @Peterarnold , I looked over the logs, I just finished a heavy build tune quad 6kg AUG thou not as big as this one. However from your logs (the hover logs with the static notch) , you can see that the default config for for the harmonic notch needs tuning.
The bandwidth in Hz in the logs start at 20 hz and end at aprox 330 hz with 3 peaks for X,Y,Z axis, Tuning a big build like this one that has more than 1 peak (3 peaks) helps a lot; as the default is just setup for 1 peak.
Also maybe adjusting the max Hz also helps as the logs show it ends at around 330hz. And last the Autotune, the Aggressivenessâ is set to 0.07 try the min 0.05 this might result in a better autotune, also IMO just do one axis at a time this works better for big builds (pitch-> roll â yaw).
INS_HNTCH_OPT = 3 (this enables double notch it)
INS_HNTCH_HMNC = 7 (for 3 peaks)
INS_HNTCH_FREQ = half your base freq in hz per the wiki, 165 hz (165*2=330)
Thanks @lautaro, but Iâm a bit confused?
I am still finding my way with this and found the wiki a bit vague, but my reading is that the âHarmonic notch reference frequency or Hover_freq or INS_HNTCH_FREQ â is the same thing??
To find the above
⢠Open Mission Planner, press Ctrl-F, press the FFT button, press âIMU Batch Sampleâ and select the .bin log file downloaded from above flight
⢠In the FFT ACCO graph, identify the significant peak in noise or Freq Hz that corresponds to the motor rotational frequency. This is the harmonic ânotch reference frequencyâ.
⢠Set INS_HNTCH_FREQ to this value
Harmonic notch bandwidth is INS_HNTCH_BW = INS_HNTCH_FREQ / 2
So I get
INS_HNTCH_FREQ = 128
INS_HNTCH_BW = 64.
Also âCTUN ThHâ gives Hover Thrust or INS_HNTCH_REF.
You mentioned âitâs clear that the fundamental is at a lower frequency - maybe 35Hz?â. Can you please explain that a bit further?
Itâs a 9 kg quad with T-Motor U8II KV190 motors and 2815 props.
Made some good progress after setting up the Throttle Based Dynamic Notch and here are some before and after graphs. Good stable test flight. Still got a spike at 31hz and wonder if this something to do with the folding props straightening out as the motors spool up??