Uncontrollable changes both inside and outside of a building can impact efforts to maintain a desired temperature. Changes in occupancy, lighting and computerequipment use, outdoor temperature, and the like can cause the set temperature in a building to fluctuate constantly.
This article discusses three functions of control that can be used to regulate the consistency of an HVAC system while surrounding conditions change: proportional, integral, and derivative.
Proportional, integral, and derivative controls use a closedloop feedback system to maintain a predetermined process level, or set point. Variation from the set point is referred to as process deviation, or offset error, and requires continuous corrective action for a process output to be maintained.
PROPORTIONALINTEGRALDERIVATIVE CONTROL
Proportional, integral, and derivative controls work together to maintain a constant temperature:

The proportional control function determines how quickly an output reacts to a process variation. It is a control algorithm in which, in the case of HVAC applications, air or water is moved to a position proportional to the deviation of the value of the controlled variable from the set point. Proportional control's effect on system startup is shown in Figure 1.

Integral control determines a reaction based on a sum of variations. Also known as reset response, it tends to correct offsets resulting from proportional control. Without integral control, a system may be unable to reach its target value. Proportionalintegral (PI) control is a control algorithm combining the proportional and integral control algorithms.

Derivative control determines reactions to the rates at which process variations change and is very sensitive to measurement noise. It opposes any change and is proportional to the rate of change.
As a controlled variable deviates above or below its set point, PI control corrects the process deviation. The difference between proportional control and PI control is that proportional control is limited to a single control element for each value of a controlled variable, while PI control changes the final control element to accommodate load changes while keeping a control point at or very near its set point.
Reset is a proportionalcontrol technique by which a secondary sensor resets the set point of a primary sensor. The reset action of the integral component shifts the proportional function around the set point as the load on the system changes, keeping the control point at the set point by correcting the control signal. Because offset is eliminated, the proportional function usually is set fairly wide to ensure system stability under all operating conditions. PI control's effect on system startup is shown in Figure 2.
Proportionalintegralderivative (PID) control adds the derivative function to PI control. It enhances the PI control algorithm by adding a component that is proportional to the controlledvariable rate of change (derivative), compensating for system dynamics and allowing faster control response.
The farther a control point moves from its set point, the faster the corrective action the derivative function takes to bring it back. The closer a control point moves toward its set point, the slower the corrective action the derivative function takes to reduce the possibility of overshoot. PID control's effect on system startup is shown in Figure 3.
Overshoot is caused by a large offset at startup. Microprocessorbased PID startup may be enhancedPID (EPID) control. Basic EPID functions are dependent on start value and error ramp time. Start value sets output at a fixed value at startup.
For example, a variableairvolumeairhandlingsystem supply fan may have a start value of 20 percent. The start value is high enough to enable the fan to start, allow the fan motor to selfcool, and provide a proofofoperation signal for a monitoring system. For a heating, cooling, and ventilation airhandling unit (AHU), a suitable start value may be 30 percent because of the heating, ventilation (economizer), and mechanicalcooling demands of the AHU.
PID error (set point minus input) is ramped slowly into a PID regulator, which arrives at set point without overshoot, undershoot, or cycling.
The weighted sum of proportional, integral, and derivative functions is used to correct process variation. With those three functions tuned, system performance can be controlled for responsiveness and oscillation.
VARIABLESPEED DRIVES
PID calculations adjust motor speed as necessary to maintain a set point. As system dynamics, such as valve and damper operation, ambient temperature, and flow rate, change, the motor speed required to maintain a set point differs. PID performance is based on ability to maintain a set point, not on motor speed.
A variablespeed drive may be capable of serving as a PID controller. A setpoint value can be provided by a wired signal to the drive's input/output terminals or sent by serial communications.
The use of PID control with a variablespeed drive is illustrated in Figure 4. A variablespeed drive uses a reference set point to compare feedback. Scaling of PID parameters is required to suit the application or the range of the sensor providing the feedback signal (or both). Examples of PID parameters include 0 to 20psi pressure, 0 to 500gpm flow, and 100°F to 300°F temperature.
For variablespeed drives, speed referencelevel parameters must be selected as a percentage of the analog voltage input range used as the feedback input signal. The outputfrequency level is entered in hertz and set as a function of the speed reference, while the internal PID set point is entered as a percentage of the PID feedback range. To simplify the setup of PID control for a variablespeed drive, values as close to the maximum limit as possible and that remain within powers of 10 with respect to actual values should be used.
UTILIZING PID CONTROL FOR HVAC APPLICATIONS
Proportional control provides the output capacity of HVAC equipment matching the load requirements of a building. Output capacity is controlled using a percent of full output or, in the case of motor speed, 0 to 60 Hz, similar to a twoposition switch by which mechanical equipment is either fully on (100 percent) or fully off (0 percent).
HVAC applications with variablespeed drives benefitting from PID regulation include:
 AHUs
A pressure sensor placed inside of an air duct can provide feedback to a drive PID regulator, comparing desired pressure with actual pressure and optimizing by adjusting fanmotor speed.
 Chilledwater pumps
Chilledwaterpump speed is controlled based on chilledwaterlinetoAHUcoolingcoil differential pressure. A pressure sensor can be placed in a chilledwater line so that a drive PID regulator can compare actual pressure with desired pressure and adjust chilledwaterpump motor speed to minimize variance.
 Coolingtower fans
By adjusting coolingtowerfanmotor speed, the speed of a coolingtower fan and the temperature of water discharged from the cooling tower can be controlled to maintain a desired temperature set point.
BENEFITS OF PID CONTROL
Incorporating PID control with variablespeed drives results in HVAC systems that are more efficient and save money. Digital controls, throttling valves, and dampers that can be opened vary hot or chilledwaterpumpmotor speed or AHUfan speed, allowing temperature to be controlled. Savings can be realized in three major areas:
 Maintenance
Reducing dependence on throttling valves and dampers for the mechanical adjustment of airflow output saves on the maintenance of temperaturecontrol equipment.
 Energy
Openloop control equipment cycles on and off constantly, causing a peak inrush current during startup. Closedloop control saves energy by providing continuous operation of AC motors at lower speeds.
 Money
Reducing pump and fanmotor speed reduces electricity costs.
For past HPAC Engineering feature articles, visit www.hpac.com.
Harvey Eure is a product manager focusing on enclosed variablefrequency drives for Schneider Electric. He can be reached at harvey.eure@us.schneiderelectric.com.