Core equation
Where error e = SP − PV. Implementations often use different parameter forms (gain, integral time, derivative time), so controller-specific documentation matters.
P — Proportional
Responds to present error. More gain increases reaction but can increase oscillation.
I — Integral
Accumulates error and removes steady-state offset, but too much can cause slow oscillation/windup.
D — Derivative
Responds to rate of change and can add damping, but is sensitive to noise.
Output limits and anti-windup
Real actuators saturate—for example a valve at 0–100% or VFD at minimum/maximum speed. Anti-windup limits the integral state when the output cannot move further.
Loop direction
Confirm whether increasing output causes PV to increase or decrease. A wrong controller action can drive the process away from setpoint.
What you should understand first
PID is feedback control: measure PV, compare it with SP, calculate error and adjust the manipulated variable. Tuning is process-dependent; there is no universal Kp/Ki/Kd set.
Signal and energy boundaries
A PLC is a controller, not the power source for a motor. Separate the low-energy logic side from the field power circuit. Digital outputs often command an interposing relay, contactor coil, valve solenoid or VFD input. The motor power still passes through the MCC/MCCB/contactor/VFD power circuit.
Fail-safe thinking
For critical shutdowns, do not rely only on software logic. Emergency-stop, trip and safety functions may require dedicated safety-rated hardware and a risk assessment. A normal PLC output should not be assumed to provide a safety function unless the architecture is specifically designed and certified for it.
Common mistakes
- Changing all three tuning terms at once
- Ignoring actuator saturation
- Derivative on a noisy signal without filtering consideration
- Wrong direct/reverse action
- Tuning without considering process dead time
Commissioning checklist
- Verify sensor scaling and actuator direction.
- Place loop in a safe manual state before commissioning changes.
- Bump/test process response where permitted.
- Tune gradually and trend SP/PV/output.
- Document final parameters and operating range.
Frequently asked questions
Do I always need D action?
No. Many industrial loops operate as PI. Derivative may help some processes but can amplify noise.
Why does integral cause windup?
If output saturates while error remains, the integral term can continue accumulating unless anti-windup logic limits it.
Can one tuning set work at every operating point?
Not always. Nonlinear processes can need gain scheduling or different strategies across operating ranges.
GGSTech Tools