how to select the pid value?
Posted: Wed Jun 01, 2016 3:28 pm
Hi,
I have checked the Rll/Pitch/Yaw Attidute/Rate PID value, as follow:
I want to know why select the value, how to adjust them?
Thanks!
I have checked the Rll/Pitch/Yaw Attidute/Rate PID value, as follow:
Code: Select all
#define PID_ROLL_RATE_KP 250.0
#define PID_ROLL_RATE_KI 500.0
#define PID_ROLL_RATE_KD 2.5
#define PID_ROLL_RATE_INTEGRATION_LIMIT 33.3
#define PID_PITCH_RATE_KP 250.0
#define PID_PITCH_RATE_KI 500.0
#define PID_PITCH_RATE_KD 2.5
#define PID_PITCH_RATE_INTEGRATION_LIMIT 33.3
#define PID_YAW_RATE_KP 70.0
#define PID_YAW_RATE_KI 16.7
#define PID_YAW_RATE_KD 0.0
#define PID_YAW_RATE_INTEGRATION_LIMIT 166.7
#define PID_ROLL_KP 10
#define PID_ROLL_KI 4.0
#define PID_ROLL_KD 0.0
#define PID_ROLL_INTEGRATION_LIMIT 20.0
#define PID_PITCH_KP 10
#define PID_PITCH_KI 4.0
#define PID_PITCH_KD 0.0
#define PID_PITCH_INTEGRATION_LIMIT 20.0
#define PID_YAW_KP 10.0
#define PID_YAW_KI 1.0
#define PID_YAW_KD 0.35
#define PID_YAW_INTEGRATION_LIMIT 360.0
Thanks!