Learn Automation with MINATA #68: PID Basics — Understand the Process, the Sensor and the Actuator First
PID Basics: Understand the Process, the Sensor and the Actuator First
PID is not three numbers to try at random. Control quality starts with a trustworthy measurement, an actuator of the right size, and a process that can be described. Adjusting gains before those three are sound is treating the symptom.
PV, SP, MV and the direction of action
Define the three quantities clearly: PV, the measured value such as temperature; SP, the target; and MV, the output to the actuator, such as a solid-state relay or a valve. Record the units, the sample time, the sensor range, the output limits and the direction of action — does more output make PV rise or fall? Getting that direction wrong sends the loop away from setpoint instead of towards it: a basic error, and a common one.
What P, I and D each do
- P, proportional: responds to the present error. More P is faster, but oscillates more readily.
- I, integral: removes the remaining offset and brings PV onto SP. Too much produces overshoot and a slow cycling.
- D, derivative: responds to the rate of change and reduces overshoot. It is sensitive to noise, which is why many temperature loops keep D small or at zero.
What PID cannot cure
A noisy sensor, a sticking valve, a long dead time or an output already saturated are not fixed by raising a gain indefinitely. A valve that only opens from zero to a hundred per cent cannot deliver more energy however far the integral pushes the output. Check the measurement and the actuator before tuning: PID controls a good process well; it does not repair a broken one.
A worked engineering situation
A temperature loop uses an RTD as PV, a target temperature as SP, and a solid-state relay as MV. Before touching any gain, the technician confirms the direction of action is right — more output really does raise the temperature — that the sensor reads steadily, and that the relay and heater have enough capacity. Only then does tuning begin. If the heater is undersized, no set of gains will reach setpoint in time.
The gain values, the sample time and the limits all follow the process, the equipment and the operating requirements.
Common mistakes
- Trying gains at random before checking the measurement and the actuator.
- The wrong direction of action, so the loop runs away from setpoint.
- Large derivative on a noisy signal, making the output jitter.
- Raising the integral to force an actuator that lacks capacity.
- Ignoring dead time while expecting a fast response.
PID basics checklist
- [ ] PV, SP, MV, units and the direction of action are all defined.
- [ ] The sensor reads steadily and the actuator has sufficient capacity.
- [ ] The role of P, I and D is understood before anything is adjusted.
- [ ] Dead time and output limits are accounted for.
- [ ] PID is not being used to hide a measurement or actuator fault.
Understanding the process first is what makes tuning produce a result. #69 goes into tuning and anti-windup: adjusting with data, and respecting the limits of the actuator.
Read more automation knowledge at MINATA: https://minatavn.com/en/blog/industrial-automation
Previous — #67: Batch control and ISA-88: https://minatavn.com/en/blog/automation-67-batch-control-isa-88
Next — #69: PID tuning and anti-windup: https://minatavn.com/en/blog/automation-69-pid-tuning-anti-windup
View all MINATA technical articles