What are the best algorithm for PID and what unit for tune I (Integral) and tune D (Derivative) ?

The PID PDF was a good read. I just implemented the Velocity C form in Codesys. It is a real elegant way to implement a PID without need for doing tricks with the integral accumulator to get bumpless and anti-windup behavior.

1 Like