40 Online
3 Member And 37 Guest
Members present at the site
Today Visits : 17619
Yesterday Visits : 26189
All Visits : 2762433

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.
...