TABC Instrumentation training

The Control Loop and PV, SP, OP

Fundamentals of Instrumentation · 5 concepts

Open Loop vs. Closed Loop

In an open loop, a command is issued without checking the result (such as an irrigation timer or a manual valve set to a fixed position), so disturbances are not compensated for. In a closed loop, the result is measured and compared with the target, and the command is adjusted. An operator who manually adjusts the valve after checking the reading closes the loop.

In an open loop, a command is issued but the result is not measured; therefore, if conditions change, the command is not automatically adjusted. In a closed loop, the result is compared with the target, and the command is changed based on the difference.

In everyday life

You set an irrigation timer for 20 minutes and turn on the water; the timer does not know how wet the soil has become. If the water pressure drops, irrigation becomes less effective, but the timer does not change its command.

On the job

In a cooling-water line, if a manual valve is set to a fixed position, the flow rate is not measured and changes in water pressure will not be compensated for; this is an open loop. If flowmeter FT-101 sends the flow measurement to controller FIC-101, and the controller adjusts pneumatic control valve FCV-101 to maintain the target flow rate, this is a closed loop.

Step by step

  1. The process target, such as the cooling-water flow rate, is specified.
  2. In an open loop, a fixed command is given, such as a valve opening percentage or operating time.
  3. In a closed loop, the sensor measures the result and compares it with the target.
  4. The controller adjusts the command based on the difference; an operator can also close the loop by checking the reading and making a manual adjustment.

Key rule: If the result is not fed back to the command, the loop is open; if the result is measured and causes the command to be adjusted, the loop is closed.

Closed-Loop Control and Feedback

In a closed loop, the effect of the actuator command is measured again by the sensor, allowing the controller to continuously correct for changes.

A closed-loop control system continuously checks its own performance. The sensor measures the result of the actuator's action and reports it to the controller so that any error can be corrected.

In everyday life

When you take a hot shower, your hand senses the water temperature. If the water gets too hot or too cold, your brain immediately tells you to adjust the tap so the temperature matches what you want.

On the job

In a heat exchanger, the Temperature Transmitter measures the fluid outlet temperature and reports it to the controller. The controller sends the required command to the pneumatic Control Valve to keep the temperature at its setpoint by increasing or decreasing the steam flow.

Step by step

  1. The transmitter reads the process variable and sends it to the controller.
  2. The controller compares the received value with the desired value and calculates the error.
  3. The Control Valve opens or closes according to the control command to change the flow.
  4. After a delay, the effect of the change in valve position is seen in the process and measured by the transmitter. This cycle repeats continuously.

Key rule: Without a feedback signal, the control system is blind and cannot tell whether its command was carried out correctly.

Worked example

In a separation tower, the desired temperature (SP) is 75.0 degrees Celsius. The Temperature Transmitter reports the current value (PV) as 71.5 degrees Celsius. What is the error, and how should the controller respond?

  1. Calculate the error using the difference between the setpoint and the process value: e = SP - PV
  2. Substitute the values: e = 75.0 - 71.5 = +3.5 degrees Celsius
  3. Determine the direction of the command: because the temperature is below the setpoint (positive error), the controller should command the steam Control Valve to open further.

PV, SP, and OP on the Controller Display

PV is the measured process value in engineering units, SP is the target value set by the operator or another controller, and OP is the controller output to the final element, usually expressed as a percentage (0 to 100%). OP is not the valve's actual opening percentage; it is a command, and the valve may be stuck.

On the controller display, PV is the actual measured process value in engineering units, SP is the target value, and OP is the controller's output command, usually shown as a percentage. OP is a command to the equipment, not a guarantee of the valve's actual opening or the equipment's actual status.

In everyday life

Suppose a room thermostat reads the current temperature as 18 degrees and you set the target temperature to 21 degrees. The value 18 is PV; the value 21 is SP; and, for example, a 60% command to the heater is OP—but this value alone does not prove that the heater is actually operating at 60% output.

On the job

In a heating tank, the temperature transmitter (TT) sends the current temperature to the controller; this value is PV and might be displayed as 72 degrees Celsius. The operator sets SP to 80 degrees Celsius, and the controller sends, for example, an OP of 35% to the steam control valve; this command does not prove the valve's actual opening, and the valve may be stuck.

Step by step

  1. The transmitter measures the actual process value and sends it to the controller; this value is PV.
  2. The operator or another controller sets the target value; this value is SP.
  3. The controller compares PV with SP and generates OP based on its settings.
  4. OP is sent to the final element, such as a control valve, but the equipment's actual status must be measured separately to determine it.

Key rule: PV means the actual measured value, SP means the target value, and OP means the controller command—not the confirmed status of the equipment.

Worked example

On the tank controller, PV is 72 degrees Celsius, SP is 80 degrees Celsius, and OP is 35%. What does each value mean?

  1. PV is 72 degrees Celsius; this is the temperature measured by the transmitter.
  2. SP is 80 degrees Celsius; this is the target process temperature.
  3. OP is 35%; this is the controller's output command percentage, not necessarily the valve's actual opening percentage.

Answer: The process is 8 degrees Celsius below the target, and the controller is issuing a 35% command; these three values alone cannot determine the valve's actual opening or the precise reason for OP.

Relationship Between PV, SP, and OP Errors

Steam valve control to maintain outlet temperature
Steam valve control to maintain outlet temperature

The controller continuously calculates the difference between the actual process value (PV) and the target value (SP) as the error, then adjusts the output signal (OP) accordingly.

The controller constantly checks how far the current process value is from the desired value. This difference is the error, and the controller uses it to send a new output command to the valve or heater to correct the process.

In everyday life

When you set your car's speed to 100 kilometers per hour on the highway (the target value), but the speedometer reads 85 (the current value), you notice a shortfall of 15 (the error). To make up the difference, you press the accelerator harder (the output command) until the speed returns to 100.

On the job

In a heat exchanger, the desired outlet temperature is set to 75 degrees Celsius, but the temperature transmitter reports 70 degrees. The controller calculates the 5-degree difference as the error and increases the output signal so that the pneumatic steam control valve opens further.

Step by step

  1. The transmitter measures the current process value and sends it to the controller.
  2. The controller subtracts the measured value from the target value to determine the magnitude of the error.
  3. Based on the magnitude and direction of the error, the control algorithm changes the output command.
  4. The final control element, such as a control valve, moves in response to the new command so that the error approaches zero.

Key rule: Error is the difference between the current condition and the desired condition; the controller adjusts its output to make this difference zero.

Worked example

In a water tank, the liquid level setpoint (SP) is 60 percent, and the current value reported by the level transmitter (PV) is 52 percent. What is the process error, and in standard operation, in which direction should the controller drive its output (OP) to the inlet water valve?

  1. Calculate the difference by subtracting the current value from the target value: 60 − 52 = 8 percent.
  2. Determine the condition: the process value is 8 percent below the desired value (a positive error of 8 percent).
  3. Determine the output action: to make up the water deficit and bring the level to 60 percent, the inlet valve must open further; that is, the control output must increase.

Controller Manual and Automatic Modes

In automatic mode (AUTO), the controller determines OP based on the error; in manual mode (MAN), the operator sets OP directly and the controller ignores the error. Cascade mode (CAS) means SP comes from another controller. Bumpless transfer between modes prevents a sudden jump in OP.

In AUTO, the controller measures the difference between the setpoint (SP) and the measured value (PV), then determines the output (OP) based on that difference; in MAN, the operator sets OP directly and the controller does not use the error to determine the output. In CAS, the controller's SP comes from another controller, and bumpless transfer helps prevent OP from changing suddenly when the mode is changed.

In everyday life

Suppose a home thermostat maintains the room temperature at 22 degrees: in AUTO, it adjusts the heater output up or down to reach this temperature. In manual mode, you adjust the heater output yourself, and the thermostat no longer changes the output based on the temperature difference.

On the job

In a heat exchanger, temperature controller TIC-101 in AUTO adjusts the steam pneumatic control valve (Control Valve) by comparing the process temperature with the SP; in MAN, the operator enters the valve OP directly. In a cascade arrangement, the temperature controller output can be the SP for steam flow controller FIC-102; FIC-102 then controls the valve based on the flow error.

Step by step

  1. The controller reads PV from the process and compares it with SP.
  2. In AUTO, the controller uses this difference to calculate OP; in MAN, the operator changes OP directly.
  3. In CAS, SP comes from the upstream controller, and the downstream controller continues to determine its own OP based on the error.
  4. When the mode is changed, bumpless transfer keeps OP close to its current value so the output does not jump.

Key rule: AUTO means the controller generates OP based on the error; MAN means the operator sets OP; CAS means SP comes from another controller.