Quadcopter crash after successful roll, pitch and yaw Auto Tune

Hi,
Need help in finding the cause of my quadcopter crash and suggestion to solve the issue before next flight.

My setup:
ArduCopter version 4.0.7
Pixhawk Cube Black
Motors Gartt ML3508 700KV
12x3.8 Propellers

The tuning process instructions were followed for first flight and preparation of autotune from this documentation.
https://ardupilot.org/copter/docs/tuning-process-instructions.html

Before tuning, harmonic notch filter was applied as per the documentation here: Managing Gyro Noise with the Static Notch and Dynamic Harmonic Notch Filters — Copter documentation

After following the above steps, autotune of Roll & Pitch axis was done successfully in separate flights. In next flight pitch input was applied to test copter response in LOITER mode and copter tried to recover its attitude but failed, went into oscillation and CRASHED!

Logs of roll and pitch auto tune and crash flights are attached in the link below.
https://drive.google.com/drive/folders/1x_GUNz9UIpmUvN_9ueafE5Mwj4PDpZIc?usp=sharing

Any help will be highly appreciated.

To me it looks like something broke in flight (maybe a prop) or maybe something came lose because all of a sudden your vibes skyrocket.

I don’t have the video of flight but all the props were on the frame after the crash and no prop came off during flight.

The first pitch was applied by myself and copter tried to recover itself but went into oscillations and crashed. I think so there might be some problem with the PID gains after auto tune.

After roll and pitch auto tune, conducted a little test flight. The auto tune performance was not as it should be because there are significant overshoots.

The log of test flight is attached in the link below.
https://drive.google.com/file/d/1qZRgph4bchxask_hzaZ4QObM0O994rA4/view?usp=sharing

Kindly overview the log and tell me is tuning adequate or not?

Hello All, Can anyone please look into the above log to evaluate the Autotune and possibly point out the cause of crash. I am really stuck at the moment:(

@andyp1per @Leonardthall

Any help will be highly appreciated:)

That isn’t the crash log though right?

The main problem that I see straight away is the huge amount of noise (approximately 62 Hz):

Makes me wonder if you got your harmonic notch right.

Hello Leonard Hall, Thank you for looking into it. The Autotune & Crash logs are here: Logs - Google Drive

The last posted link is of a test flight after Autotune (before the eventual crash) mostly in AltHold and that will help analyze the Autotune performance: test_flight_AAT.bin - Google Drive

I have installed fresh set of props an Looking forward to your valuable assessment and recommendation for next flight. Thanks a bunch

logging is set too slow for me to see exactly what happens during the crash but there is again a huge amount of noise. Your harmonic notch looks like it is way off. I would check that again.

@Leonardthall

Here are flight logs before & after Harmonic notch.
Befor Notch:Before_Notch.bin - Google Drive
After_Notch: After_Notch.bin - Google Drive

  • Fixed Before/After

Before Notch

After H_NOTCH (Post Filter)

Magnitude of Noise went down significantly after the Notch although there is still a visible spike. Is this BAD and how can improve on this please?

Which log bitmask parameter shall i choose IMU_FAST or ATTITUDE_FAST for better logs next time?

@Leonardthall

Sorry for many questions here but i am trying to learn from your experience. Can you please confirm if it is necessary or recommended to change ATC_RAT_RLL_FLTT & ATC_RAT_PIT_FLTT to ZERO when conducting the Autotune? I found this recommendation from @andyp1per here:

It would be great help to include this instruction in Autotune Documentation if this is the proper way.

I followed Tuning Process Instructions — Copter documentation and the FLTT values were set to 20 when Autotune was performed. I did not set FLTT to 0 for Autotune. Could this be the reason for a bad tune and a contributing factor for the crash?

Also The magnitude of Gyro noise as per the Post Filter FFT plot is really small. Can you please point towards another parameter to look at for the amount of noise instead of FFT Magnitude?

Many Thanks

This is post filter noise. It isn’t small.

ATTITUDE_FAST