AUTOTUNE drone bouncing

Hello!
I have an Autotune problem. After overwriting the new pids, the drone in the Alt Hold mode is very sensitive and precise to stick movements, while in the Loiter mode the drone bouncing during the flight. Watch the video. Which parameters could I change to achieve better performance?

Video from Loiter flight:
[https://drive.google.com/file/d/1Cy83Rz-61-WmYmYugxht4_OdGpO1CYsa/view?usp=sharing]

Autotune was performed after all moving parts on the board were immobilized, with the Harmonic Noth Filter set correctly and the correct settings for 17 "propellers according to the file “Initial parameters”.

PID after autotune:

Default PID:

Prepared drone for autotune:

Your Pitch and Roll Rate PIDs look quite high - could be a sign of problems.

Remove the camera and gimbal before autotune, or at least the camera, and start with the minimum take off weight then later change these to suit a payload
new ATC_ACCEL_P_MAX = ATC_ACCEL_P_MAX x (min_TOW / max_TOW)
new ATC_ACCEL_R_MAX = ATC_ACCEL_R_MAX x (min_TOW / max_TOW)
new ATC_ACCEL_Y_MAX = ATC_ACCEL_Y_MAX x (min_TOW / max_TOW)

I think your HNOTCH frequency should be down around 80Hz instead of 99Hz. Have you got a .bin log with
INS_LOG_BAT_MASK,7
INS_LOG_BAT_OPT,0
so we can check.

1 Like

One minute flight after which I set the Harmonic Notch Filter:
https://drive.google.com/file/d/1JAPg9J4rRrpFCnmPyN9o7ASSG1qU19ST/view?usp=sharing

Mixed flights after Autotune with the bouncing Loiter:
https://drive.google.com/file/d/117FVlYsupcL4Rs39SAbEaRYrBIU097MT/view?usp=sharing

One minute flight in which I set up:
INS_LOG_BAT_MASK,7
INS_LOG_BAT_OPT,0
https://drive.google.com/file/d/1K05abSqCRX2IofcJh8s41eC5HPSYIHzG/view?usp=sharing

This ATC_ACCEL_X_Max value we have to consider default value or we have to take consider after initial parameter setting done?

1 Like

I did an Autotune without a gimbal and camera, below is the result. The drone oscillate slightly when it reaches top speed, you can hear it.

Flight with maximum speed, log file:
https://drive.google.com/file/d/1BRgaP5X3BxFl4TknF9pxm3TTurjDQwHh/view?usp=sharing

Photo of the setup: