Viewing a single comment thread. View all comments

rededelk t1_j4rzih6 wrote

Would I be wrong to simplify and say a PID loop is more or less an if this, then that algorithm? I don't do industrial process control programming (but am thinking about it) I do have to manipulate user inputs via the hmi and I understand coding and work with paid and open source process control programs. (looking for a career change). Thanks

1

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

Coomb t1_j4s0nub wrote

Every algorithm is a set of "if this, then that" steps. That's the definition of an algorithm. Why are you asking this question? Do you have a more specific question?

1