BMS Logic Academy – Building Logic One Block At A Time
Knowledge centre / BMS control theory and software logic

PI and PID control

Practical BMS engineering reference

What is it?

PI combines proportional and integral action; PID adds derivative action. The controller adjusts its output to reduce error within configured limits.

How the BMS controls it

Proportional responds immediately; integral removes persistent offset; derivative can damp rapid changes. More terms do not automatically improve control.

Reading PI settings from a trend graph

When a loop hunts around its setpoint, look at two features of the PV trend: how far it travels above and below SP (amplitude), and how long each oscillation takes (period).

Proportional gain — think height of the peaks and troughs

Higher gain makes the output react more strongly to each unit of error. On a plant with response delay, excessive gain can drive the PV too far above or below SP, producing larger peaks and troughs. Reducing gain can help reduce hunting; too little gain can make recovery slow.

PVSPTimePeak-to-peak heightSmaller amplitudeLarger amplitude
Conceptual trend showing height of oscillations; not measured data or an isolated parameter test.

Integral time — think width of the peaks and troughs

Integral time determines how quickly accumulated error changes the output. A shorter time gives faster correction and can contribute to rapid cycling or excessive overshoot; a longer time slows correction and can produce broader, slower excursions. On Niagara-style reset-rate settings the direction is reversed: increasing repeats per minute speeds up integral action.

PVSPTimePeriod: peak to peakShorter periodLonger period
Conceptual trend showing width of oscillations; not measured data or an isolated parameter test.

Why the two settings work together

Height and width are useful visual clues, not independent tuning controls. Both settings influence the amplitude, period and damping of the actual response. In a common PI algorithm the integral contribution is proportional to Kp/Ti, so changing gain also changes the strength of integral action. Valve travel, sensor delay, plant gain and thermal inertia affect the trend as well.

Commissioning example: If an AHU supply air temperature oscillates around 22°C with large excursions, try a small reduction in gain and observe the trend. If the integral correction is too aggressive for the coil response, lengthen integral time (or reduce reset rate). Change one setting at a time, allow several response cycles, and aim for a stable PV close to SP with smooth valve demand.

Further reading: CIBSE Guide H: Building control systems (2009), sections 2.2.3–2.2.5 and 2.5.2. The guide discusses integral action, stability and practical tuning; these original diagrams and the height/width analogy are teaching aids, not reproduced CIBSE figures or universal rules.

Commissioning and fault finding

Check loop action, units, sensor quality, actuator travel and output limits. Tune using trends and suitable safe tests.

Confirm project-specific design, manufacturer instructions and approved commissioning procedures before applying settings to live plant.