Viewing a single comment thread. View all comments

BobGeneric t1_j4slwpb wrote

A pure PID control is more of a calculation than an "if this than that" algorithm. There are different implementations, but at the end it's like output=errorKp + Kdd(error)/dt + Ki*integral(error)dt, where Kp, Kd and Ki are constants tuned to the system to be controled. This output is applied to an actuator that changes the system, and the objective is to zero the error. The PID control was originally a full analog circuit, done with operational amplifiers, so, no if/elses...

4