rededelk t1_j4rzih6 wrote
Reply to comment by Coomb in Does anybody have any good examples or uses of negative derivatives of displacement, such as absement, absity, and so on? Though it is easy to calculate, it’s hard to find use for it. by LunarSolar1234
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
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...
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?
[deleted] t1_j4s4p12 wrote
[removed]
Viewing a single comment thread. View all comments