24 Online
0 Member And 24 Guest
Today Visits : 1129
Yesterday Visits : 8679
All Visits : 931060

Welcome to Electronoobs Q&A, where you can ask questions and receive answers from other members of the community.



Categories


0 like 0 dislike

How do I calculate the kp, ki and kd?
// PID variables
float PID_error = 0;
float previous_error = 0;
float elapsedTime, Time, timePrev;
int PID_value = 0;
// PID constants
int kp = 203; int ki = 7.2; int kd = 1.04;
int PID_p = 0; int PID_i = 0; int PID_d = 0;

by (120 points)
edited by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...