Attached is the log of the flight after autotune. even after the autotune, copter feels unstabe and sometimes locks in pitch axis oscillations. can someone check which part i am missing.
Connect to MissionPlanner and go to Setup / Mandatory⌠/ Initial Parameters
Put in your prop size and battery cells, accept everything it offers including the suggested battery voltage and failsafe settings.
If youâve already done this, accept any that you hadnât previously.
Also set these:
INS_ACCEL_FILTER,10
INS_HNTCH_ENABLE,1 â set this then refresh params to see the rest
INS_HNTCH_MODE,1
INS_HNTCH_REF,0.16
INS_HNTCH_FREQ,75
INS_HNTCH_BW,37
INS_HNTCH_ATT,40
INS_LOG_BAT_OPT,2
The PIDs look quite low, what motors, props and ESCs do you have?
Use the settings I suggest and if stability seems OK you could probably run Autotune with
AUTOTUNE_AGGR,0.075
EDIT
Lower ATC_ANG_YAW_P,5.427387 somewhat to about 3.0 for now
If it was me, Iâd put back the calculated ACCEL values and try these PIDs
ATC_ANG_RLL_P,6.5
ATC_ANG_PIT_P,6.5
ATC_ANG_YAW_P,3.0
ATC_RAT_RLL_P,0.100
ATC_RAT_RLL_I,0.100
ATC_RAT_RLL_D,0.005
ATC_RAT_PIT_P,0.100
ATC_RAT_PIT_I,0.100
ATC_RAT_PIT_D,0.005
Itâs OK to run Autotune more than once, that is a good test to see if new autotune values change much.
Itâs best to test fly and check for vibrations, do any manual tuning required for basic stability.
Then check FFT and enable HNOTCH
Then Autotune.
I expected the HNOTCH frequency to be about 30 to 35HZ , so you might have to still use that if necessary, even though itâs not obvious in the FFT.
But do set INS_HNTCH_BW,40 â I checked the FFT graph again
I noticed that so I suggested to put the calculated ACCELs back in place instead of those Autotune values.
Those PIDs are just âgenericâ and not specific to your aircraft but should be quite safe.
These days itâs more typical to have higher ANG Ps and lower RAT PIDs, whereas older firmware and components you would probably have low ANG values and highish RAT values, especially with larger motors and props.