They are installed not only in electrical linear motors, but also in pneumatic, hydraulic, ball-screw or power-grip belt drives and wherever high-accuracy, dynamic positioning tasks must be performed.
The ABCs of PID control. Considerations for interfacing elements in the electrical circuit to accomplish those parts of the PID function for position control. Firmware code implementation.