Proportional-integral-derivative (PID) loops are often employed to minimize position error in motion control systems. Typically, they are implemented with floating-point math, which simplifies programming but requires a processor and math coprocessor, thereby raising costs. It is possible, however, to implement PID control with fixed-point math by modifying an ideal PID loop in a way that eliminates velocity-profile calculations. Benefits include faster response, less expensive hardware, and easier programming.
Ideal PID loop
Ideal PID loops consist of three