1Control loop basics
Setpoint, gain, deadband and PID in plain words.
2Easy definition, and a picture to remember
A control loop measures a value (the process variable, PV), compares it with the value you want (the setpoint, SP), and moves a valve (the output, OP) to close the gap. The controller works on the error, e = SP − PV, with three actions: P reacts to the error now, I to the error added up over time, D to how fast the error is changing.
Imagine it
Think of holding a shower at the right temperature. P is turning the tap in proportion to how cold it feels. I is the patience that keeps nudging the tap until the water is exactly right. D is easing off when you feel it warming quickly, so you do not overshoot into scalding. Too keen, and you swing between hot and cold.
Memory hook
P acts now, I removes the leftover offset, D calms the swing. Too much gain and the loop hunts.
3What decides it, and how
Three settings shape how a loop behaves.
Gain (P)
How hard the controller pushes for each percent of error.
Too low is sluggish and leaves an offset. Too high makes the loop swing and then oscillate.
OP = bias + Kc · e
Integral time (I)
How fast the controller adds up the leftover error and removes it.
Integral action brings the PV exactly to the setpoint. Too much of it makes the loop overshoot.
∫ e dt / Ti
Derivative time (D)
How strongly the controller reacts to the rate of change of the error.
It reduces overshoot and settles the loop faster, but it amplifies noise.
Td · de/dt
Try it: change the setpoint, load the process and tune the loop
A controller with proportional action only (P) holds a flow loop. The setpoint is raised. Will the flow ever reach exactly the new setpoint?
- Process variable (PV)
- 50.0 %
- Setpoint (SP)
- 50 %
- Output (OP)
- 50 %
- Error
- 0.0 %
The loop follows the setpoint and recovers from the load change without a lasting error.
5Units and formulas
PV, SP and OP are percent of range (0–100). Kc is output percent per percent of error (often shown as proportional band, PB = 100 / Kc). Ti and Td are in seconds.
Formulas
- e = SP − PV
- OP = bias + Kc · (e + (1/Ti) ∫ e dt + Td · de/dt)
- PB = 100 / Kc
6Why it matters, and common mistakes
Why it matters
- ✓Every automatic valve is part of a loop. Tuning decides whether it is steady or hunting.
- ✓A hunting loop wears the valve and wastes energy.
- ✓Knowing P, I and D helps you read a trend and see what is wrong.
Common mistakes
- !Turning the gain up to speed a loop and creating oscillation.
- !Using derivative on a noisy signal such as flow.
- !Blaming the controller when the valve is oversized or sticking.
Keep going: more on valves and systems
Flow characteristics
How flow changes as a valve opens: linear, equal percentage and quick opening.
Open lesson →
Valve authority and rangeability
How much of the system pressure drop the valve controls, and how far it can turn down.
Open lesson →
Flashing and choked flow
When the flow stops rising however much the pressure drop grows.
Open lesson →
Minor losses (K factor)
What valves, bends and reducers cost in pressure.
Open lesson →
Pump and system curves
Where a pump and a pipe system balance: the operating point.
Open lesson →
NPSH
Whether a pump has enough pressure at its inlet to avoid cavitation.
Open lesson →
Gas and steam flow
Compressible flow through a valve: expansion and the sonic limit.
Open lesson →
Signals and fail-safe positions
4–20 mA, pneumatic signals, and what a valve does when power fails.
Open lesson →
Leakage classes and shut-off
What tight shut-off really means: how much a closed valve may leak.
Open lesson →
Noise and vibration
Why valves are loud, how sound adds up and fades, and what to do about it.
Open lesson →
Materials and corrosion
Choosing a valve body material that survives the fluid and the temperature.
Open lesson →