Skip to main content
Speclore

Process Controllers: P, PI and PID

Understand proportional, integral and derivative control actions and their limits in process control.

By Merrick S

processcontrollersData Table

Overview

Process controllers compare a measured process variable with a setpoint and adjust an output to reduce the deviation. Proportional (P), integral (I) and derivative (D) actions can be combined in PI or PID controllers; their effect depends on the process and tuning.

Basic Control Loop

A measuring instrument supplies the process value, a setpoint device supplies the target, and the controller compares the two. Its output drives a final element such as a control valve or motor. The controller direction must suit the way that element affects the process, so a deviation produces corrective rather than reinforcing action.

PID Actions

For one common parallel form, define error as e(t)=SP(t)−PV(t)e(t)=\mathrm{SP}(t)-\mathrm{PV}(t):

u(t)=u0+Kpe(t)+Ki∫e(t) dt+Kdde(t)dtu(t)=u_0+K_p e(t)+K_i\int e(t)\,dt+K_d\frac{de(t)}{dt}

Here uu is controller output and u0u_0 is a bias. The signs of the gains must be chosen for the process and output convention. Gain units depend on the units of error and output; other PID forms parameterize integral and derivative action differently.

  • Proportional: output changes in proportion to error. Excessive gain can cause oscillation or instability; proportional control alone can leave an offset under load.
  • Integral: output accumulates error over time. In a suitably tuned stable loop it can remove steady-state offset, but excessive action may worsen transients or destabilize the loop. Output limits can cause integral windup; anti-windup methods limit its effects.
  • Derivative: output responds to the rate of change of error or measurement. It can improve damping when appropriately tuned, but can amplify measurement noise. Some implementations differentiate the measurement to avoid a derivative kick on a setpoint change.

For normalized input and output expressed as percentages, proportional gain magnitude is commonly related to proportional band by ∣Kp∣=100/PB|K_p|=100/PB, where PBPB is the band in percent. This relation depends on the normalization and gain convention.

The source's response table describes tendencies for a particular class of loops; rise time, overshoot and settling time are not guaranteed to change in the same direction for every process. Assess the complete loop and actuator limits when tuning.

Illustrative feedback loop: 1 comparator, 2 controller, 3 final control element, 4 process, 5 sensor. SP is the setpoint, e the error, u the controller output, y the process output and PV the measured value. Actual loops may include additional elements.

Illustrative feedback loop: 1 comparator, 2 controller, 3 final control element, 4 process, 5 sensor. SP is the setpoint, e the error, u the controller output, y the process output and PV the measured value. Actual loops may include additional elements.

The original table lists the following qualitative tendencies for P, I and D action. They are not universal: the process, tuning, operating point and implementation determine the actual response, and the source does not specify a complete test setup. In particular, integral action can eliminate offset only in an appropriately stable and feasible loop.

3 rows
Qualitative trends from the original source; not guaranteed
PDecreaseIncreaseSmall changeDecrease
IDecreaseIncreaseIncreaseMay eliminate
DSmall changeDecreaseDecreaseSmall change

Source: engineeringtoolbox.com

Illustrative parallel PID structure: error e feeds proportional (P), integral (I) and derivative (D) branches; their contributions and bias u₀ are summed to produce output u. P or PI controllers omit the unused branches. Other implementations may differentiate the measurement or use a different parameterization.

Illustrative parallel PID structure: error e feeds proportional (P), integral (I) and derivative (D) branches; their contributions and bias u₀ are summed to produce output u. P or PI controllers omit the unused branches. Other implementations may differentiate the measurement or use a different parameterization.

References