What is a setpoint?
A setpoint (SP) is the desired value of a process variable, such as temperature, pressure, level or speed, that a control loop must reach and hold. The controller continuously compares the setpoint with the measured value, the Process Value (PV), and adjusts an actuator through the Manipulated Variable (MV) for as long as a difference remains. A setpoint can be entered by an operator on an HMI, but it can equally be calculated by a program, a recipe or another controller. Because a single number directly determines what a plant physically does, the setpoint is also one of the most sensitive values in an OT environment.
๐ง How does a setpoint work in a control loop?
In a closed loop, three values constantly interact:
| Abbreviation | Meaning | Oven example | Who sets the value? |
|---|---|---|---|
| SP | Setpoint, the desired value | 180 ยฐC | Operator, recipe or higher-level controller |
| PV | Process Value, the measured value | 175 ยฐC | Sensor or transmitter |
| MV | Manipulated Variable, the control output | 70 % burner output | The controller, for example a PID algorithm |
On every cycle the controller calculates the control error e = SP โ PV. If the oven is too cold, the error is positive and the controller increases the heat output; once the PV reaches the setpoint, the error becomes zero and the controller holds the MV steady. A PLC or DCS repeats this calculation at a fixed cycle time: often a fraction of a second for fast loops such as flow and pressure, and sometimes several seconds for slow temperature loops.
Control engineers distinguish two tasks:
- Setpoint tracking (servo control) - the PV must move quickly and without large overshoot to a new setpoint, for example during a product changeover.
- Disturbance rejection (regulatory control) - the setpoint stays the same, but the controller must compensate for influences such as a cold feed or an open door.
A controller that is well tuned for one task is not automatically well tuned for the other. That is why many PID blocks offer setpoint weighting: the proportional and derivative actions respond less aggressively to a setpoint step than to a disturbance.
๐ง What types of setpoint are there?
In industrial control systems a single controller often has several setpoint sources, and the operating mode selects between them:
| Setpoint type | Source | Typical use |
|---|---|---|
| Local / operator setpoint | Entered manually via HMI or SCADA | Day-to-day process operation |
| Program or remote setpoint | PLC logic, sequence or optimisation software | Start-up and shutdown sequences, APC |
| Cascade setpoint | Output of a higher-level controller | Cascade control, for example temperature driving flow |
| Ratio setpoint | A measured value multiplied by a fixed ratio | Blending and dosing in proportion to a main flow |
| Recipe setpoint | Parameters from a recipe in line with ISA-88 | Batch processes in food and pharma |
| Optimised setpoint | Model-based controller | MPC adjusting the setpoints of underlying PID loops |
A well-known example is the Enhanced PID (PIDE) instruction from Rockwell Automation. It has separate inputs for the program setpoint (SPProg), the operator setpoint (SPOper) and the cascade setpoint (SPCascade). Each value is clamped between a high and a low setpoint limit (SPHLimit and SPLLimit, default 100.0 and 0.0); a value outside that range is limited and flagged through a status bit.
๐ฏ Why do setpoint limits, ramps and bumpless transfer matter?
A setpoint is more than a number. Good control systems surround it with protective functions:
- Setpoint limits (clamping) - high and low limits prevent anyone from entering a physically impossible or dangerous value. These limits belong in the controller itself, not only on the HMI screen.
- Setpoint ramp - a maximum rate of change, for example 2 ยฐC per minute, so that an oven, reactor or turbine is not overloaded thermally or mechanically.
- Bumpless transfer - in manual mode the controller lets the setpoint follow the current PV (PV tracking), so the output does not suddenly jump when switching to automatic.
- Derivative on measurement - differentiating the PV instead of the error prevents derivative kick, a brief spike in the output on every setpoint step.
- Deadband and hysteresis - in on/off control, a switching differential around the setpoint stops a pump or compressor from cycling on and off continuously.
๐ What is the difference between a setpoint, an alarm limit and a trip setpoint?
In practice the word setpoint is used for three different things. Mixing them up leads to mistakes in both design and security.
| Term | Purpose | System | Standard or guideline |
|---|---|---|---|
| Control setpoint | Keep the process at the desired value | PLC, DCS, controller | Design choice, often per recipe |
| Alarm limit (alarm setpoint) | Warn the operator of a deviation | SCADA, DCS alarming | ISA-18.2 and alarm management |
| Trip setpoint | Move automatically to a safe state | SIS or interlock | IEC 61511 |
Under ISA-18.2, alarm limits are recorded for each alarm during rationalisation, together with priority and deadband. Trip setpoints of an SIS follow from the risk analysis and the safety function; they should remain independent of the basic process control system (BPCS), so that a wrong control setpoint can never disable the last layer of protection.
๐ญ Which setpoints do you encounter in practice?
| Application | Typical setpoint or range | Background |
|---|---|---|
| Office heating via building automation | 20โ21 ยฐC during the day, lower at night | Common comfort setting in HVAC systems |
| Server inlet in a data centre | Within 18โ27 ยฐC | Recommended range of ASHRAE TC 9.9 |
| Domestic hot water in Dutch homes | At least 55 ยฐC at the tap without circulation | NEN 1006 for Legionella prevention |
| Thermal disinfection of a hot water cylinder | 60 ยฐC or higher | Periodic disinfection programme |
| pH of drinking water | Legal range 7.0โ9.5, with the control setpoint inside it | Dutch Drinking Water Decree |
| Sewage or polder pumping station | Start and stop levels | On/off control with hysteresis |
In the Dutch water sector in particular, setpoints are business-critical: chemical dosing rates, water levels and pressures in the distribution network are set centrally and remotely. See also Water Sector OT Security.
๐ Why are setpoints a target for cyberattacks?
Anyone who can change a setpoint controls the process, without needing any malware in the controller. MITRE ATT&CK for ICS describes this as technique T0836 Modify Parameter within the Impair Process Control tactic: an attacker sets parameters to dangerous or unexpected values in HMIs, PLCs, control servers or even safety systems.
- Stuxnet - the best-known example of setpoint manipulation. On frequency converters running between 807 and 1210 Hz, Stuxnet briefly changed the output frequency to 1410 Hz, then to 2 Hz and then to 1064 Hz. This sped up and slowed down centrifuge motors while operators saw normal values.
- Oldsmar (Florida, 2021) - according to the initial account, the sodium hydroxide setpoint was raised remotely from 100 to 11,100 ppm and immediately reset by an operator. In 2023 the former city manager stated that it had been an operator error; the FBI could not confirm a targeted intrusion. The incident nevertheless showed how weakly remote access and setpoint limits were controlled.
Protective measures align with IEC 62443-3-3: requirement SR 3.5 asks the system to validate the content of inputs, and SR 3.6 asks it to move to a predictable output when errors occur. Cyber-Informed Engineering goes a step further and puts the real limits into the physical plant, for example a dosing pump that mechanically cannot deliver more than is safe.
๐งญ How do you manage setpoints securely and reliably?
- Define the limits for each control loop - minimum, maximum and maximum rate of change, justified by process engineering and the safety study.
- Clamp in the controller, not only in the HMI - an HMI limit can be bypassed by writing directly to the PLC.
- Separate control setpoints from trip setpoints - safety limits belong in the SIS with its own access control.
- Restrict write access - only authorised roles may change setpoints; critical changes require confirmation or a second person.
- Log every change - who, what, when and from which value to which, preferably in the historian or an audit trail.
- Detect anomalies - network monitoring can flag write commands to setpoint tags outside maintenance windows.
- Embed changes in change management - structural changes to limits or recipes follow the same procedure as program changes.
โ Frequently asked questions
What is the difference between a setpoint and a process variable?
The setpoint is the desired value a control loop must reach, while the process variable (PV) is the value actually measured. The controller calculates the difference between the two and adjusts the process until the PV reaches the setpoint. The setpoint is imposed; the PV results from the process.
What does SP mean on a controller or HMI?
SP is the standard abbreviation for setpoint on controllers, HMI faceplates and loop documentation. Next to SP you usually find PV for the measured value and OUT or MV for the control output. Together these three values show at a glance how well a control loop is performing.
What is a cascade setpoint?
A cascade setpoint is a setpoint that is not entered by an operator but supplied by the output of another controller. In cascade control, the outer controller, for example for temperature, sets the setpoint of the inner controller, for example for steam flow. This allows disturbances in the inner loop to be corrected much faster.
Why does a controller produce a spike when the setpoint changes?
A spike on a setpoint change is usually caused by the derivative action of a PID controller acting on the control error, known as derivative kick. Differentiating the measured value instead, or using setpoint weighting, removes that spike. A setpoint ramp also makes the transition more gradual.
Is an alarm limit the same as a setpoint?
An alarm limit is sometimes called an alarm setpoint, but it serves a different purpose from a control setpoint. The control setpoint is the value the process is controlled to, while an alarm limit warns the operator when the process deviates too far from it. Trip setpoints in a safety instrumented system form a third, independent layer.
How do you protect setpoints against manipulation?
You protect setpoints by placing hard limits in the controller, restricting write access and logging every change. Network monitoring also helps to detect unexpected write commands. For critical processes, an independent safety system should prevent a manipulated setpoint from causing damage.
๐ In summary
A setpoint is the desired value a control loop pursues, and therefore the number that determines what a plant physically does. Good control systems surround the setpoint with limits, ramps and bumpless transfer, keep it separate from alarm limits and trip setpoints, and treat every change as a security-relevant event.
