Introduction

This application note describes a simple implementation of a discrete Proportional- Integral-Derivative (PID) controller.

When working with applications where control of the system output due to changes in the reference value or state is needed, implementation of a control algorithm may be necessary. Examples of such applications are motor control, control of temperature, pressure, flow rate, speed, force, or other variables. The PID controller can be used to control any measurable variable, as long as this variable can be affected by manipulating some other process variables.

Many control solutions have been used over the time, but the PID controller has become the ‘industry standard’ due to its simplicity and good performance.

For further information about the PID controller and its implications, the reader should consult other sources, e.g. PID Controllers by K. J. Astrom & T. Hagglund (1995).

Figure 1. Typical PID Regulator Response to Step Change in Reference Input