PID Control Basics: Proportional, Integral and Derivative Control Explained

— A Practical Guide for Engineers, EPCs, and Project Teams

PID control is the most widely used control algorithm in industrial process control. From flow, pressure, temperature, and level loops in refineries to chemical reactors, power plants, water treatment, and food processing, the PID controller is the workhorse of automatic regulation. Despite its simplicity, PID control can be difficult to tune well, and a poorly tuned loop can cause instability, product quality problems, energy waste, and equipment wear.

This guide explains the fundamentals of PID control—what proportional, integral, and derivative actions do, how they work together, and how to apply them effectively in industrial applications.


1. What Is PID Control?

A PID controller continuously calculates an error value as the difference between a measured process variable (PV) and a desired setpoint (SP). It then applies a correction to the final control element (such as a control valve, VFD, or heater) based on three terms:

  • Proportional (P) — responds to the present error

  • Integral (I) — responds to the accumulation of past errors

  • Derivative (D) — anticipates future error based on the rate of change

The PID equation (ideal form):

u(t)=Kp[e(t)+1Ti∫0te(t)dt+Tdde(t)dt]

Where:

SymbolMeaning
u(t)Controller output
e(t)Error = SP − PV
KpProportional gain
TiIntegral time (reset)
TdDerivative time (rate)

In practice, most industrial controllers use the standard or industrial form:

u(t)=Kpe(t)+Ki∫0te(t)dt+Kdde(t)dt

Where Ki=Kp/Ti and Kd=KpTd.


2. Open-Loop vs Closed-Loop Control

Control TypeDescriptionExample
Open-loopController output does not use feedback from the processManual valve position, timer-based dosing
Closed-loopController output is adjusted based on feedback from the processPID control of flow, pressure, temperature

PID control is a closed-loop strategy. It continuously compares the measured value with the setpoint and adjusts the output to reduce the error to zero.


3. Proportional Action (P)

What it does: The proportional term produces an output proportional to the current error. The larger the error, the larger the corrective action.

Equation:

uP=Kpe(t)

Key characteristics:

CharacteristicDescription
SpeedFast response to changes in error
OffsetCannot eliminate steady-state error alone
StabilityToo much gain causes oscillation and instability
Proportional bandThe range of error over which the output changes from 0% to 100%

Proportional band (PB) is often used instead of gain:

PB=100%Kp

A small proportional band means high gain (aggressive control). A large proportional band means low gain (sluggish control).

Example: A temperature controller with a 20% proportional band will produce a full output change over a 20% change in error. If the setpoint is 200°C and the range is 0–400°C, the proportional band is 80°C.

Limitation: Proportional-only control always leaves a steady-state offset—the process variable settles at a value different from the setpoint.


4. Integral Action (I)

What it does: The integral term integrates the error over time. It continues to adjust the output as long as any error remains, eliminating steady-state offset.

Equation:

uI=Ki∫0te(t)dt

Key characteristics:

CharacteristicDescription
Eliminates offsetDrives steady-state error to zero
Slow responseIntegral action is slower than proportional action
WindupOutput can saturate during large or prolonged errors
Reset timeThe time required for the integral term to repeat the proportional action

Integral time (reset) Ti is the time it takes for the integral term to produce an output change equal to the proportional term for a constant error. A smaller Ti means stronger integral action.

Example: If Ti=60 seconds, the integral term will add an amount equal to the proportional output every 60 seconds of constant error.

Limitation: Integral action can cause overshoot and oscillation if too aggressive, and it can cause integral windup when the output saturates.


5. Derivative Action (D)

What it does: The derivative term responds to the rate of change of the error. It provides a corrective action that anticipates where the error is going, rather than where it is now.

Equation:

uD=Kdde(t)dt

Key characteristics:

CharacteristicDescription
AnticipatoryResponds to the rate of change, not the magnitude
DampingReduces overshoot and improves stability
Noise sensitivityDifferentiates noise, causing erratic output
Rarely used aloneAlmost always combined with P and I

Derivative time (rate) Td is the time by which the derivative action anticipates the error. A larger Td means stronger derivative action.

Limitation: Derivative action amplifies high-frequency noise. In most process control applications, derivative action is either not used or used with a derivative filter.


6. How P, I, and D Work Together

Controller TypeResponseOffsetStabilityTypical Use
P onlyFastYesGood at low gainLevel control, less critical loops
P + IFast + offset eliminationNoModerateFlow, pressure, most process loops
P + I + DFast + offset elimination + dampingNoBest for slow processesTemperature, composition, slow loops

Practical guide:

  • Flow loops: PI control (fast, noisy; derivative not useful)

  • Pressure loops: PI control (fast, derivative often unnecessary)

  • Level loops: P or PI control (averaging level; avoid derivative)

  • Temperature loops: PID control (slow, derivative improves response)

  • Composition loops: PID control (very slow; derivative helps)


7. PID Tuning Methods

Tuning is the process of selecting Kp, Ti, and Td to achieve the desired response. Common methods:

MethodDescriptionBest For
Trial and errorAdjust parameters based on observed responseExperienced engineers; simple loops
Ziegler-Nichols (open-loop)Use process reaction curve to calculate parametersProcesses that can be stepped
Ziegler-Nichols (closed-loop)Increase gain until oscillation; use ultimate gain and periodProcesses that can tolerate oscillation
Cohen-CoonUses process reaction curve with more complex formulasProcesses with dead time
IMC (Internal Model Control)Uses process model to calculate parametersModel-based tuning
Lambda tuningTargets a specific closed-loop time constantSelf-regulating processes
AMIGOApproximate M-constrained Integral Gain OptimizationRobust tuning

Ziegler-Nichols open-loop formulas (based on process reaction curve):

ControllerKpTiTd
P1/a——
PI0.9/a3L—
PID1.2/a2L0.5L

Where a=K×L/T, K is process gain, L is dead time, and T is time constant.

Important: These formulas provide a starting point. Final tuning should always be based on actual process response.


8. Digital PID Implementation

Most modern PID controllers are implemented in DCS, PLC, or single-loop controllers. Key considerations:

ConsiderationDescription
Sample timeMust be fast enough to capture process dynamics; typically 0.1–1 s for flow, 1–10 s for temperature
Integral windupOutput saturates during large errors; use anti-windup protection
Derivative filterLow-pass filter to reduce noise amplification
Bumpless transferSmooth transition between manual and automatic modes
Output limitsPrevent valve over-travel or actuator saturation
Setpoint filteringPrevents sudden setpoint changes from causing output spikes
FeedforwardAdds a corrective signal based on a measured disturbance

9. Common PID Problems and Solutions

ProblemLikely CauseSolution
OscillationToo much gain; too little integral time; too much derivativeReduce Kp; increase Ti; reduce Td
Slow responseToo little gain; too much integral timeIncrease Kp; decrease Ti
Steady-state offsetNo integral action or too littleAdd integral action; decrease Ti
OvershootToo much integral action; too little derivativeIncrease Ti; add derivative
Noisy outputDerivative action amplifying noiseAdd derivative filter; reduce Td
Integral windupOutput saturates during large errorsEnable anti-windup; limit integral term
Valve cyclingOverly aggressive tuning; valve deadbandReduce gain; check valve deadband; add deadband compensation
Loop instabilityExcessive gain; process nonlinearityReduce gain; linearise process; re-tune

10. Practical Tuning Tips

TipWhy
Start with P-onlyUnderstand the process response before adding I and D
Tune with the process at normal operating conditionsPID performance depends on process gain and dynamics
Change one parameter at a timeIsolate the effect of each change
Use the fastest sample time practicalImproves control response
Add derivative only for slow processesTemperature, composition; not flow or pressure
Use anti-windup for all integral controllersPrevents saturation problems
Document the final tuningEssential for maintenance and troubleshooting
Re-tune after process changesProcess gain and dynamics change with operating conditions
Use simulation where possibleSafe way to test tuning before applying to the process

11. Common Mistakes to Avoid

MistakeConsequencePrevention
Using derivative on flow loopsNoisy output; valve cyclingUse PI only for flow
Using derivative on level loopsErratic level controlUse P or PI for level
Ignoring integral windupOvershoot; instability after saturationEnable anti-windup
Tuning with process offlineParameters do not match operating conditionsTune at normal operating conditions
Using default tuning parametersPoor performance; instabilityAlways tune for the specific loop
Not documenting tuningMaintenance and troubleshooting difficultiesRecord final parameters
Ignoring valve deadbandLimit cycles; poor controlCheck valve deadband; compensate if necessary
Using too fast a sample timeNoise amplification; unnecessary CPU loadMatch sample time to process dynamics
Using too slow a sample timePoor control; instabilityMatch sample time to process dynamics
Not considering process nonlinearityGood control at one operating point, poor at anotherConsider gain scheduling or adaptive control

12. Applicable Standards and References

Standard / ReferenceScope
ISA-5.1Instrumentation symbols and identification
ISA-77.44.01Fossil fuel power plant—steam temperature control
IEC 61131-3PLC programming languages—PID function blocks
ISA-101HMI design
ISA-18.2Alarm management
Åström & Hägglund, PID ControllersClassic reference on PID control
Shinskey, Process Control SystemsPractical process control reference

13. Why Choose Anhui Tiankang for Process Control Solutions?

Anhui Tiankang (Group) Co., Ltd. has nearly five decades of experience in industrial instrumentation and control systems. We provide instruments and engineering support for PID control loops in flow, pressure, temperature, level, and composition applications.

Products for PID control:

ProductControl Application
Pressure transmittersPressure control loops
Temperature transmittersTemperature control loops
Level instrumentsLevel control loops
Flow metersFlow control loops
Control valvesFinal control element
PositionersValve positioning for PID control
Signal isolatorsSignal conditioning for control loops
Instrumentation cablesReliable signal transmission

Engineering support:

  • Control loop design review

  • PID tuning assistance

  • Loop troubleshooting

  • Control valve sizing and selection

  • Instrumentation selection for control loops

Core advantages:

  • Complete certifications: CCC Ex, ATEX, IECEx, SIL

  • CNAS-accredited laboratory: full performance testing

  • Long-term supplier to CNPC, Sinopec, CNOOC, and international EPC projects

  • One-stop supply: from instruments to cables to Ex accessories


14. Conclusion

PID control is the foundation of industrial process control. Understanding proportional, integral, and derivative actions—and how they work together—is essential for engineers, EPCs, and plant operators.

Key takeaways:

TermActionBest For
Proportional (P)Responds to present errorFast response, but leaves offset
Integral (I)Responds to accumulated errorEliminates offset, but can cause overshoot
Derivative (D)Responds to rate of changeDamping, but sensitive to noise

Controller selection guide:

Loop TypeRecommended Controller
FlowPI
PressurePI
LevelP or PI
TemperaturePID
CompositionPID

The most important rule: Tune the controller for the specific process, at normal operating conditions, and document the final parameters. A well-tuned PID loop delivers stable operation, product quality, energy efficiency, and long equipment life.

Remember: PID control is simple in concept but challenging in practice. The difference between a poorly tuned loop and a well-tuned loop is measured in product quality, energy consumption, and plant profitability.


Contact Us

For PID control support, instrument selection, or project quotations, please contact:

Yin Shuangjie
International Sales Manager
📧 Email: [email protected]
📱 WhatsApp / Zalo: +86 17856068126
🌐 Website: http://www.tiankang-global.com/

Anhui Tiankang – Your partner for reliable process control and instrumentation solutions.