Basic Control Terminology
Controlled and Manipulated Variables
The controlled variable is what we want to keep constant (tank level); the manipulated variable is what the controller changes to do this (outlet flow through a valve). A disturbance is any factor that changes the controlled variable without a command (inlet flow).
The controlled variable is what we want to maintain at the desired value. The manipulated variable is what the controller changes to achieve this; a disturbance is a factor that affects the controlled variable without a command from the controller.
In everyday life
Suppose you are adjusting the water level in a bathtub using the outlet valve: the water level is what you want to maintain, so it is the controlled variable. You change how far the outlet valve is open to adjust the level; this is the manipulated variable. If someone opens the inlet valve, the inlet flow changes and acts as a disturbance affecting the water level.
On the job
In a process tank, the level transmitter LT measures the liquid level, and the controller LIC keeps it close to the setpoint; the tank level is the controlled variable. The controller changes the command to the control valve on the outlet line, changing the outlet flow; this flow is the manipulated variable. A change in the inlet flow to the tank is a disturbance that can raise or lower the level.
Step by step
- The level transmitter measures the actual tank level and sends it to the controller.
- The controller compares the measured level with the setpoint.
- If the level deviates from the target, the controller changes the command to the outlet valve to adjust the outlet flow.
- A change in inlet flow or another factor may disturb the level, and the controller responds again to compensate.
Key rule: What you want to regulate is the controlled variable; what the controller changes is the manipulated variable; what enters without a command and has an effect is a disturbance.
Process Self-Regulation
A self-regulating process reaches a new equilibrium after its input changes (a tank with gravity-driven outflow: higher level, greater outflow). An integrating process is not self-regulating and, without control, continues until it overflows or empties (a tank with a constant-flow pump at the outlet). This difference determines how difficult the process is to control.
After an input change, a self-regulating process reaches a new equilibrium on its own. In an integrating process, if the input and output are not equal, the process variable continues to rise or fall and, without control, reaches overflow or empties.
In everyday life
Imagine water flowing through a valve into a bucket and draining through a hole in the bottom. The higher the water level rises, the greater the pressure forcing water out through the hole; so after the inflow increases, the level stabilizes at a higher value. Now suppose a constant-flow pump draws water out of the bucket. The outflow does not increase as the level rises, so the level continues to change until the flows reach equilibrium.
On the job
In a process tank with gravity-driven outflow, if the inlet flow rate increases, the level rises and the flow rate through the outlet nozzle increases until it equals the inlet flow at a higher level; this is self-regulating behavior. In a tank drained by a constant-flow pump, a sustained increase in inlet flow rate causes the level to rise continuously, while a decrease can empty the tank; this is integrating behavior.
Step by step
- The input or process load changes.
- In a self-regulating process, a change in the process variable causes a change in the process's natural output.
- The natural output changes until it equals the input, and the process reaches a new equilibrium.
- In an integrating process, if the input and output are not equal, the flow-rate difference accumulates over time and the process variable continues to change.
Key rule: If a change in the process variable changes the natural output so that the difference between input and output disappears, the process is self-regulating; otherwise, it is an integrating process.
On-Off Control and Differential Gap
In on-off control, the output is either on or off (a thermostat, a pump controlled by a level switch). The differential gap is the distance between the switch-on and switch-off points, preventing rapid cycling. The variable always oscillates within this gap; a smaller gap means less variation but more frequent switching.
In on-off control, the controller output has only two states: on or off. The differential gap is the distance between the two points at which the output changes state; this gap prevents the output from switching continuously.
In everyday life
Consider a home thermostat: when the temperature falls below the lower limit, the heater turns on, and when it reaches the upper limit, it turns off. This temperature difference prevents the heater from switching on and off with every small temperature change.
On the job
In a wastewater collection tank, the on-off controller commands pump P-101 to turn on or off. When the level reaches the upper limit, the pump starts; after the level falls to the lower limit, it stops. The distance between these two levels is the differential gap.
Step by step
- Set the two switch-on and switch-off limits for the process variable.
- When the variable crosses one of the limits, the controller changes the output to the opposite state.
- The output remains in that state until the variable crosses the other limit in the opposite direction.
- During normal cyclic operation, the variable typically oscillates between the upper and lower limits.
Key rule: A larger gap generally reduces switching frequency but increases the range of variation in the process variable.
Worked example
A tank pump starts at a level of 80% and stops at a level of 30%. What is the differential gap, in percentage points?
- Subtract the lower limit from the upper limit: 80% - 30%.
- Find the difference between the two switching points.
Answer: The differential gap is 50 percentage points. During a normal cycle, the level oscillates between 30% and 80%.
Three-Position Control and Deadband
Three-position control has three outputs (for example, open, hold, and close for a motor-operated valve). Between the two switching points is a range in which the output does not change (the neutral zone), preventing the actuator from moving continuously.
A three-position controller issues only three commands: move in one direction, stop, or move in the opposite direction. The deadband, or neutral zone, is a range of error over which the command does not change; this prevents continuous actuator movement.
In everyday life
Imagine adjusting a powered roller shutter using open, stop, and close buttons. When the shutter is near the desired position, you issue the stop command; small fluctuations in the measured position do not cause repeated open and close commands.
On the job
In a tank, a level controller can command a three-position motor-operated valve to open, stop, or close. When the level is near the setpoint and remains within the neutral zone, the stop command is maintained so the valve motor does not repeatedly open and close the valve.
Step by step
- The level transmitter measures the tank level and sends it to the controller.
- The controller compares the measured value with the setpoint.
- If the error is outside the neutral zone, it issues an open or close command.
- If the error is inside the neutral zone, the output remains at stop and the actuator does not move.
Key rule: If the command can be only one of three states—open, stop, or close—set the neutral zone so that small changes in error do not repeatedly start the motor.
Proportional Action, Gain, and Proportional Band
In proportional action, the output change is proportional to the error: OP = Kc × error + bias. The proportional band (PB = 100 ÷ Kc, in percent) is the percentage of the input range that drives the output from 0 to 100%. High gain gives a fast response but can cause oscillation.
In proportional action, the controller output changes by the gain multiplied by the error, and the bias is the output's baseline value: OP = Kc × error + bias. The Proportional Band (PB) is the percentage of the input range that moves the output from 0 to 100%; higher gain means a narrower band and a more sensitive response.
In everyday life
Suppose your shower becomes slightly cooler than the desired temperature; the greater the temperature difference, the further you open the hot-water valve. If you adjust it to be too sensitive, the temperature may keep oscillating between cold and hot.
On the job
In a tank, the level indicating controller (LIC) compares the measured value with the setpoint and, based on the error, sends an output signal to the inlet water Control Valve. A larger error produces a greater output change; if the gain is too high, the tank level may oscillate up and down.
Step by step
- The controller compares the measured value with the setpoint and determines the error.
- The error is multiplied by the proportional gain Kc.
- The bias is added to the product to obtain the output OP.
- The output is sent to the final control element, and the sensitivity and likelihood of oscillation are adjusted by changing the gain.
Key rule: For output and error expressed as percentages, PB = 100 ÷ Kc; higher gain gives a narrower band and a more sensitive response.
Worked example
If Kc is 2, the error is 5% of the input range, and the bias is 50%, what is the output and what is the proportional band?
- Output change = 2 × 5% = 10%.
- OP = 10% + 50% = 60%.
- PB = 100 ÷ 2 = 50%.
Answer: The controller output is 60%, and the proportional band is 50% of the input range.
Offset: Steady-State Error in Proportional Control
A pure proportional controller changes its output only when an error exists. Therefore, after a load change, the process settles at a fixed deviation from the SP (offset or steady-state deviation). Higher gain reduces the offset but does not eliminate it; integral action eliminates it.
Offset is the difference that remains between the measured value and the set point (SP) after the process has stabilized. In pure proportional control, an error must exist for the controller output to change; therefore, after a load change, the error usually does not reach zero.
In everyday life
Suppose you increase the flame in proportion to how much the food cools to keep a pot at a constant temperature. If the amount of food or the heat it loses increases, more flame is needed. With proportional control, a small temperature difference is required to hold the flame at its new level; that remaining difference is like offset.
On the job
In a heated tank, the temperature transmitter is connected to controller TIC-101, and its output is connected to pneumatic steam control valve TCV-101. If more cold feed enters the tank, the proportional controller increases the steam flow; however, to hold the valve at its new output, the measured temperature will usually remain slightly different from the SP.
Step by step
- The controller compares the temperature with the SP and calculates the error.
- As the cooling load increases, the temperature deviates from the SP and the proportional controller changes its output.
- The output change moves the steam valve so that more heat reaches the tank.
- When the process reaches steady state, the remaining error is the offset; integral action can eliminate it.
Key rule: Pure proportional control usually reduces offset but does not eliminate it; integral action is used to eliminate offset.
Worked example
In a hypothetical example, the proportional gain is 4% output per degree Celsius, and a load change requires a 20% increase in valve output. What error remains to produce this change?
- In proportional control, the output change equals the proportional gain multiplied by the change in error.
- Therefore, the error is 20% divided by 4% per degree Celsius.
- 20 ÷ 4 = 5 degrees Celsius.
Answer: In this example, the controller needs an error of 5°C to produce the required increase in output; this steady-state error is the offset.
Integral Action (Reset)
Integral action changes the output as long as an error exists, at a rate proportional to the error, and eliminates offset. It is adjusted using integral time (minutes per repeat) or reset rate (repeats per minute). Excessive integral action causes slow oscillation, and if the output saturates, windup occurs.
Integral action (Reset) is the part of a controller that changes the output in proportion to the magnitude of the error and the elapsed time, as long as an error exists. In PI and PID controllers, this helps eliminate steady-state offset.
In everyday life
Suppose you have set your shower to the desired temperature, but the water is slightly colder than you want. If you gradually open the hot-water tap further and continue until the difference is eliminated, you have seen a simple example of integral action.
On the job
In a process tank, the temperature controller (TIC) compares the temperature measured by the temperature transmitter (TT) with the setpoint and sends a command to the steam control valve. If the temperature remains below the setpoint, the integral action increases the output over time to eliminate the persistent error and offset.
Step by step
- The controller compares the measured value with the setpoint and determines the error.
- As long as an error exists, the integral action changes the output at a rate proportional to the error.
- The change in output changes the command to the final control element, such as a control valve, and affects the process variable.
- As the error decreases, the rate of integral change also decreases; if the output reaches its limit, windup may occur.
Key rule: A shorter integral time means stronger integral action and faster correction, but also a greater risk of slow oscillation and windup.
Worked example
In a PI controller, the reset rate is 0.5 repeats per minute and the error remains constant. How long does the integral action take to change by an amount equal to the proportional response to the same error?
- A reset rate of 0.5 repeats per minute means that, each minute, half of the proportional response to the constant error is added to the integral output.
- The time required for one repeat is 1 ÷ 0.5 = 2 minutes.
Answer: Therefore, after 2 minutes, the integral output changes by an amount equal to one proportional response to the same constant error; the corresponding integral time is 2 minutes per repeat.
Derivative (Rate) Action
Derivative action responds to the rate of change of the error or PV and changes the output sooner (predictive action). It is adjusted using derivative time and is useful for slow processes such as temperature control. Derivative action amplifies noise, so it is generally not used on noisy flow and level signals, and derivative gain is limited.
Derivative (rate) action means that the controller output responds to how quickly the input is changing, not just to the magnitude of the error. Because it indicates the direction and rate of change, it can change the output before the error becomes large.
In everyday life
Suppose you are taking a shower and the water suddenly gets hotter. Knowing only the current temperature is not enough; how quickly the temperature is rising also matters. If you detect the change quickly, you can adjust the cold-water valve sooner so the water does not get too hot.
On the job
In a heated tank, a temperature controller (TIC) receiving the temperature from a transmitter (TT) can use derivative action to respond to how quickly the temperature is rising. If the temperature approaches the setpoint rapidly, the controller changes its output sooner to prevent the temperature from continuing to rise rapidly.
Step by step
- The controller receives the error or changes in the process variable (PV).
- It measures the rate of change over time.
- The faster the change, the sooner and more strongly the derivative contribution affects the output.
- Derivative time and gain are adjusted, and the effect of derivative action is assessed by observing the process response.
Key rule: Derivative action responds to the rate of change; it is useful for slow, low-noise processes, but it also amplifies noise.
Worked example
In a controller, the derivative contribution is calculated from the relationship u_D = K_c × T_D × de/dt; K_c is 2 percent output per percent error, T_D is 0.1 minute, and the error rises from 20% to 50% in 0.1 minute. What is the derivative contribution?
- Change in error: 50% − 20% = 30 percentage points.
- Rate of change of error: 30 ÷ 0.1 = 300 percentage points of error per minute.
- Derivative contribution: 2 × 0.1 × 300 = 60% output.
Answer: The calculated derivative contribution is 60% output; in an actual controller, output limits and implementation method also affect the final output.
PI and PID Controller
PI combines proportional and integral action and is the most common industrial controller for flow, pressure, and level. PID also includes derivative action and is used for temperature and slow loops with little dead time. Tuning a controller means selecting the gain, integral time, and derivative time to achieve a fast, non-oscillatory response.
A PI controller acts in two ways: it responds to the error at that moment and accumulates any remaining error over time. A PID controller also adds derivative action to identify the trend from the rate of change of the error. Tuning these actions helps make the response fast without excessive oscillation.
In everyday life
Suppose you have set the shower to your preferred temperature. If the water gets colder, you turn the valve further toward hot; if it stays cold for a while, you make another adjustment, and if the temperature rises very quickly, you ease off before it gets too hot.
On the job
In a heat exchanger, the temperature transmitter (TT) sends the outlet temperature to the temperature controller (TIC). The controller changes the command to the steam control valve to keep the temperature close to the setpoint. PI is sufficient for many temperature loops; PID may also be used, especially when the loop is slow and has little dead time.
Step by step
- The controller compares the measured value with the setpoint and calculates the error.
- The proportional (P) action changes the output in proportion to the current error.
- The integral (I) action accumulates persistent error over time and further adjusts the output.
- In PID, the derivative (D) action responds to the rate of change of the error; the loop response is then evaluated and adjusted by tuning the gain, integral time, and derivative time.
Key rule: Start with PI for most flow, pressure, and level loops; add derivative action only when the rate of change is reliable and useful.
Direct and Reverse Controller Action
A direct-acting controller increases its output as the PV rises, while a reverse-acting controller decreases it. The choice depends on the process response and the valve action (fail-open or fail-closed). The wrong action makes the controller move the valve in the wrong direction for any deviation, driving the variable to a limit.
Direct acting means that as the measured variable, or PV, rises, the controller output also rises. With reverse acting, a rising PV causes the output to fall. The correct action is selected so that a change in output, through the valve, reduces the PV deviation. The valve’s position on failure is also important for safe behavior when air or power is lost.
In everyday life
Suppose you are manually adjusting a tank’s water valve and want to keep the water level steady. When the level rises, you close the valve further; therefore, your command falls as the level rises, just like reverse action.
On the job
In a process tank, level transmitter LT-101 sends the level measurement to controller LIC-101, and the controller output goes to inlet water control valve LV-101. If the valve opens further as the signal increases and remains closed on failure, a rising level must cause LIC-101’s output to decrease so the valve closes further. Therefore, the controller is reverse acting.
Step by step
- Compare the PV with the setpoint and determine whether the valve should open further or close further to correct the deviation.
- Determine the effect of the output signal on the valve and the effect of flow on the PV.
- Select direct or reverse action so that the controller response reduces the deviation.
- Make a controlled change to the PV, check the direction of the output change and valve movement, and confirm that the response is correct.
Key rule: If a rising PV should increase the controller output, select direct action; if it should decrease the output, select reverse action.
Feedback and Feedforward Control
Feedback control corrects after detecting an error in the PV and compensates for any disturbance, but it is delayed; feedforward control measures a disturbance before it reaches the PV and compensates immediately (for example, steam flow for drum level), but it requires an accurate model and cannot detect unmeasured disturbances. The two are usually used together.
In feedback control, the controller first detects a change in the controlled variable and then makes a correction, so its response is delayed. In feedforward control, the disturbance is measured before it affects the controlled variable, and a correction is made in advance. These two methods are usually used together.
In everyday life
Suppose a pot is on a stove and someone adds cold water to it. In the feedback method, the thermometer shows a drop in temperature, and then you turn up the heat; in the feedforward method, you learn that cold water is on the way and turn up the heat before the temperature drops.
On the job
In a steam boiler, an increase in steam flow is a disturbance to drum level. Feedforward control measures steam flow and adjusts feedwater flow in advance, while feedback control measures drum level and compensates for the remaining error.
Step by step
- A disturbance occurs, such as an increase in steam demand.
- The steam flow transmitter measures the change before the drum level changes noticeably.
- The feedforward path adjusts the feedwater command in proportion to the expected effect of the disturbance.
- The level controller measures the actual level and makes the final correction to compensate for any remaining error.
Key rule: Feedforward acts sooner by detecting the cause; feedback corrects the error by detecting the effect.
Cascade Control
In cascade control, the output of the primary controller (e.g., reactor temperature) becomes the SP of the secondary controller (steam flow); the fast secondary loop rejects its own disturbances (steam pressure fluctuations) before they affect the primary loop. The secondary controller must be in CAS mode and tuned before the primary controller.
Cascade control means using two nested control loops: the output of the primary controller becomes the setpoint (SP) of the secondary controller. The secondary loop is faster and compensates sooner for disturbances such as steam pressure fluctuations, preventing them from affecting the primary variable, such as reactor temperature.
In everyday life
Imagine you have a smart shower that must maintain water at your desired temperature. The temperature controller sends the target hot-water flow to the flow controller; the flow controller then adjusts a valve to quickly compensate for water-pressure fluctuations, so the shower temperature varies less.
On the job
In a steam-heated reactor, the temperature transmitter TT sends the reactor temperature to the primary controller TIC, and the TIC output becomes the SP of the secondary steam-flow controller FIC. In CAS mode, FIC receives the flow measurement from FT and adjusts the pneumatic steam control valve, compensating for steam pressure fluctuations before the reactor temperature changes noticeably.
Step by step
- First, select the primary variable, such as reactor temperature, and a faster secondary variable, such as steam flow.
- Connect the primary controller output to the SP input of the secondary controller and put the secondary controller in CAS mode.
- Tune the secondary loop first so it tracks flow quickly and stably.
- Then tune the primary loop and test the response of both loops by changing the setpoint and introducing a disturbance.
Key rule: Tune the secondary loop first, then the primary loop. During cascade operation, the secondary controller must receive its SP from the primary controller in CAS mode.
Ratio Control
Ratio control maintains the flow of one stream at a fixed ratio to another stream (air to fuel, additive to feed). The flow of the “wild” stream is measured and multiplied by the ratio; the result becomes the SP of the other flow controller. Its tag uses the F modifier, such as FFIC.
Ratio control maintains the flow of one stream in proportion to the flow of another. The flow of the reference stream is measured, multiplied by the configured ratio, and the result becomes the set point (SP) of the second flow controller.
In everyday life
Suppose you are making syrup and need to add a fixed amount of syrup for every glass of water. The more water you pour, the more syrup you add in proportion, so the mixture keeps the same taste.
On the job
At a boiler burner, the air flow transmitter measures the air flow, and the system multiplies it by the air-to-fuel ratio. The result becomes the SP of the fuel flow controller, so the fuel flow is adjusted in proportion to the incoming air. In the naming convention used here, the control tag may have the F modifier, such as FFIC.
Step by step
- The reference stream flow, commonly called the wild flow, is measured.
- The flow signal is multiplied by the configured ratio.
- The result is sent to the second stream's flow controller as its SP.
- The controller adjusts its output to bring the second stream's flow closer to the SP.
Key rule: Measure the reference stream, multiply it by the required ratio, and use the result as the SP for the second stream.
Worked example
The feed flow is 100 kilograms per hour, and the additive-to-feed ratio is set to 0.02. What is the additive flow SP?
- Multiply the feed flow by the ratio: 0.02 × 100.
- The resulting unit is the same as the additive flow unit: kilograms per hour.
Answer: The additive flow SP is 2 kilograms per hour.
Split Range
In split-range control, one controller output operates two or more final control elements. For example, 0 to 50% OP may control a cooling-water valve and 50 to 100% OP a steam valve, or 0 to 50% a small valve and 50 to 100% a large valve. Any overlap or gap between the ranges, and the failure position of each valve, must be clearly defined.
Split range means dividing one controller output into multiple ranges, with each range operating a different final control element. For example, one valve may operate over the first half of the output range and another over the second half. The range boundaries, any overlap or gap between the ranges, and the failure position of each valve must be determined deliberately.
In everyday life
Imagine a control knob: turning it through the first half opens a cold-water valve, and turning it through the second half opens a hot-water valve. If the two ranges overlap, both valves may open at the same time. If there is a gap between them, neither valve may open over part of the knob's travel.
On the job
In a heated tank, the temperature controller output is sent to a cooling-water control valve and a steam control valve. In a simple example, the 0 to 50% output range is assigned to cooling water, and 50 to 100% to steam. The engineer must define what happens at the 50% boundary and the safe position each valve moves to on loss of air or power. This position is selected separately for each valve.
Step by step
- Divide the controller output into two or more ranges and assign each range to a final control element.
- Configure the direction and amount of valve travel for each range so that the process responds correctly.
- Check the boundaries to determine whether the ranges are non-overlapping, overlapping, or separated by a gap.
- Define the failure position of each valve separately, then test the entire system in both normal and failure conditions.
Key rule: One shared output can operate multiple final control elements, but the operating range, boundary behavior, and failure position of each element must be defined separately.
Worked example
Assume the 0 to 50% output range linearly moves the cooling-water valve from closed to fully open, and the 50 to 100% range does the same for the steam valve. What percentage open is each valve at outputs of 25% and 75%?
- At 25% output, half of the 0 to 50% range has been traversed.
- Therefore, the cooling-water valve is 50% open and the steam valve is still closed.
- At 75% output, half of the 50 to 100% range has been traversed.
- Therefore, the steam valve is 50% open and the cooling-water valve is closed.
Answer: With this linear mapping, 25% output means the cooling-water valve is 50% open and the steam valve is closed; 75% output means the steam valve is 50% open and the cooling-water valve is closed. The exact behavior at the 50% boundary must be specified in the configuration.
Self-Operated Regulator, Adaptive Control, and Time-Programmed Controller
A self-operated regulator takes energy from the process and needs neither electricity nor instrument air; adaptive control automatically changes controller parameters as process conditions change; a time-programmed controller changes the SP according to a schedule (for example, a furnace heating curve); time-proportioning control provides an on/off output with an on-time ratio proportional to OP.
A self-operated regulator takes the energy needed to move the final control element from the process itself; adaptive control automatically changes the control parameters to match process conditions. A time-programmed controller changes the setpoint (SP) according to a schedule, while time-proportioning control relates the output to the on-time in each cycle.
In everyday life
Imagine setting an oven to a staged heating program for cooking: the temperature rises according to time, and the heating element stays on for part of each cycle and off for the rest. A domestic pressure-reducing valve can also regulate pressure using the water pressure itself, without requiring electricity or instrument air.
On the job
In an electric heat-treatment furnace, the time-programmed controller raises the temperature SP according to the heating curve, and the time-proportioning output switches the heating elements on for a duration in each cycle proportional to OP. If the load or furnace behavior changes, adaptive control automatically adjusts the control parameters; on the nitrogen line in the same unit, a self-operated pressure regulator can use process pressure as its energy source and operate without electricity or instrument air.
Step by step
- The furnace heating program is defined so that the SP changes at specified times.
- The controller compares the measured temperature with the SP and determines the required OP.
- The time-proportioning output converts OP into the proportion of each cycle for which the heating element is on; adaptive control adjusts the control parameters if conditions change.
- The self-operated pressure regulator controls line pressure using the energy of the process fluid itself, and the performance of the entire loop is checked.
Key rule: The SP changes according to the program, adaptive control changes the control parameters, and in time-proportioning control the OP value is represented by the on-time in each cycle.
Worked example
If OP is 60% and the time-proportioning cycle is 10 minutes long, how many minutes is the heating element on and off in each cycle?
- The on-time is 60% of the cycle.
- On-time: 0.6 × 10 = 6 minutes.
- Off-time: 10 − 6 = 4 minutes.
Answer: The heating element stays on for 6 minutes and off for 4 minutes in each cycle; the average output over the cycle is 60%.