What Is a PID Controller? Proportional, Integral and Derivative Explained

The Short Answer

A PID controller keeps a process variable, such as temperature or pressure, at its set point by continuously adjusting an output. It calculates the error between the set point and the measured value, then combines three actions: proportional reacts to the present error, integral removes error that persists over time, and derivative anticipates future error from how fast it is changing.

The Three Terms

Output = Kp × error + Ki × ∫error dt + Kd × d(error)/dt

PID vs On/Off Control

On/off control

PID control

Tuning a PID Loop

Tuning means choosing the P, I and D values that suit your process. Most modern controllers include autotuning, which deliberately disturbs the process, measures how it responds and calculates suitable settings. For manual tuning, a common approach is to start with P only, increase it until the loop just begins to oscillate, then back off and add integral action until the offset disappears.

Typical Outputs

Related Products

We supply panel-mount PID controllers with universal inputs, relay and analog outputs, and Modbus communication.

Process controllers with autotuning. View range

Programmable process controllers and meters. View range

Temperature inputs for control loops. View range

Frequently Asked Questions

PI control, with derivative set to zero, is the most common in industry because it is stable and easy to tune.

Too much integral or proportional action, or a controller that has not been tuned for the process. Running autotune usually helps.

The target value you want the process to hold, such as 150 °F or 50 psi.

More in This Category

What Is a Process Meter, and How Do I Scale It?

A process meter (or panel meter) reads an analog signal, such as 4-20 mA or 0-10 V, and displays it in real engineering units, such as psi, ft, gpm or °F. Scaling tells the meter what to show at the bottom and top of the input range. For example, you set 4 mA to display 0.0 and 20 mA to display 150.0 for a 0-150 psi transmitter.

Need help choosing the right product?

Our engineers can help you select, configure and integrate the right sensor, instrument or industrial computer for your application.