TExcelTAD
Home › Control Systems & Automation › Sensors, Transmitters and Actuators for Control

Sensors, Transmitters and Actuators for Control

A controller only ever sees its sensor and only ever moves its actuator. If the thermocouple sits in a thick steel pocket, the loop controls the pocket, half a minute behind the process. If the valve sticks or the heater is undersized, no tuning helps. Much of practical control engineering is choosing, placing and wiring these two ends of the loop. This lesson collects what a control engineer needs to know about them; how each sensor works and how to measure with it is in Measurements, which this lesson links to rather than repeats.

What the loop needs from a sensor

Property Why it matters to the loop
dynamics (time constant, delay) adds phase lag inside the loop; often the slowest element after the process itself
resolution and quantisation sets the smallest correctable error; a high-gain loop can limit-cycle by one count
noise passes through the controller, especially the D term, to the actuator
accuracy (offset, gain error, drift) the loop makes the measurement equal to the setpoint, so a sensor offset becomes a process error that feedback cannot see
range and failure behaviour a broken sensor must not look like a valid reading

Common sensors in control loops, with where to read more:

Quantity Sensors Typical dynamics See
temperature thermocouple, RTD (Pt100), NTC thermistor, digital IC seconds to minutes (mass of the probe and its pocket) Temperature Sensors
position, angle incremental or absolute encoder, resolver, potentiometer, LVDT microseconds; resolution-limited Position, Light and Hall Sensors
speed encoder (count per period or period per count), tachogenerator set by the counting window Observers
current shunt with amplifier, Hall sensor microseconds Current Measurement
pressure, force, level, flow strain-gauge bridges, differential pressure, ultrasonic level, magnetic or Coriolis flowmeters milliseconds to seconds Strain and Pressure

Transmitters and the 4–20 mA loop

In process plants a sensor usually feeds a transmitter that sends the value as a current from 44 to 20 mA20\ \text{mA} over a two-wire loop. A current is not changed by the wire resistance, and the live zero (4 mA4\ \text{mA} at the bottom of the range) lets the receiver tell "zero" from "broken wire" (0 mA0\ \text{mA}). The value is scaled linearly,

x=xmin+I−4 mA16 mA (xmax−xmin)x = x_\text{min} + \frac{I - 4\ \text{mA}}{16\ \text{mA}} \,(x_\text{max} - x_\text{min})

The NAMUR recommendation NE 43 (issue of February 2003, still the current one in 2026) reserves the band just outside the range for diagnostics: 3.83.8 to 20.5 mA20.5\ \text{mA} carries measurement information (slightly under- and over-range readings of a working instrument), and ≤3.6 mA\le 3.6\ \text{mA} or ≥21 mA\ge 21\ \text{mA} signals a device failure. Transmitters let you choose the failure level (fail-low or fail-high, e.g. 3.63.6 or 21.5 mA21.5\ \text{mA}): check the device manual. Digital fieldbuses (PROFIBUS PA, Foundation Fieldbus, IO-Link, HART on top of 4–20 mA) carry status bits as well as the value; see Interlocks, Safety PLCs, SCADA and Industrial Networks.

Actuators

Actuator Command Control-relevant features
DC motor with H-bridge PWM duty cycle, voltage fast; current must be limited; dead zone from friction (Motor Control)
heater with MOSFET or solid-state relay PWM, burst firing one-sided (cannot cool), saturates at full power; slow process
solenoid valve, contactor on/off relay behaviour; limit cycles (Nonlinearities)
control valve with positioner 4–20 mA nonlinear flow characteristic, stiction, a few seconds of stroke time
servo, stepper position command its own internal loop; steppers lose steps if overloaded
fan, pump with drive speed reference quadratic or cubic load; minimum speed

Size the actuator for the disturbances, not only the setpoint: the heater must cover the worst-case heat loss plus enough reserve to recover in a reasonable time. A loop that spends its time at 0 % or 100 % is a nonlinear, open-loop system.

How a sensor lag costs phase margin

A sensor with time constant τs\tau_s adds a factor 1τss+1\frac{1}{\tau_s s + 1} to the loop. At the crossover frequency ωc\omega_c it subtracts arctan⁡(ωcτs)\arctan(\omega_c\tau_s) from the phase margin. When ωcτs\omega_c\tau_s is small, that is about ωcτs\omega_c\tau_s radians.

Given: the heater block G(s)=4300s+1G(s) = \frac{4}{300 s + 1} (K/W) with the PI controller of the introduction (Kp=2 W/KK_p = 2\ \text{W/K}, Ki=0.02 W/(K⋅s)K_i = 0.02\ \text{W/(K} \cdot \text{s)}), measured by a probe with time constant τs\tau_s of 2 s2\ \text{s} (bare thermistor), 20 s20\ \text{s} (sheathed probe) or 60 s60\ \text{s} (probe in a thick pocket).

Find: the phase margin and the step overshoot for each.

Solve: without the sensor the loop crosses over at ωc=0.0281 rad/s\omega_c = 0.0281\ \text{rad/s} (where ∣L∣=1\lvert L \rvert = 1). A 2 s2\ \text{s} sensor costs arctan⁡(0.056)=3.2∘\arctan(0.056) = 3.2^\circ there; a 20 s20\ \text{s} sensor about 29∘29^\circ if the crossover stayed put. It moves a little, so the program computes it exactly.

Check:

python · try it yourself
import numpy as np
import control as ct

G = ct.tf([4], [300, 1])
C = ct.tf([2, 0.02], [1, 0])                        # PI: Kp + Ki/s
t = np.linspace(0, 2000, 20001)
for tau_s in (0.0, 2.0, 20.0, 60.0):
    H = ct.tf([1], [tau_s, 1])                      # sensor
    L = C * G * H
    gm, pm, wpc, wgc = ct.margin(L)
    T = ct.feedback(C * G, H)                       # y is the true temperature
    info = ct.step_info(T, T=t)
    print(f"sensor tau = {tau_s:4.0f} s: crossover {wgc:.4f} rad/s, phase margin {pm:5.1f} deg, "
          f"overshoot {info['Overshoot']:5.1f} %")
sensor tau =    0 s: crossover 0.0281 rad/s, phase margin  77.2 deg, overshoot   9.8 %
sensor tau =    2 s: crossover 0.0281 rad/s, phase margin  73.9 deg, overshoot  10.4 %
sensor tau =   20 s: crossover 0.0253 rad/s, phase margin  49.1 deg, overshoot  29.3 %
sensor tau =   60 s: crossover 0.0193 rad/s, phase margin  23.2 deg, overshoot  94.8 %

The process did not change, only the probe; yet the 20 s20\ \text{s} probe triples the overshoot of the true temperature and the 60 s60\ \text{s} probe brings the loop close to oscillation, while the measured temperature looks calmer than reality because the probe filters it. (Even with a perfect sensor the PI loop overshoots by 9.8 %9.8\,\% despite a 77∘77^\circ margin: that overshoot comes from the controller's zero, not from a lack of margin.) Put sensors where they respond quickly to the process, and model their lag when they cannot.

Signal conditioning is part of the loop

An RC filter in front of the ADC removes noise and prevents aliasing, but it is a first-order lag like a slow probe. A 1 kΩ1\ \text{k}\Omega, 10 μF10\ \mu\text{F} filter has τ=10 ms\tau = 10\ \text{ms}: harmless for a heater, fatal for a current loop that crosses over at 2000 rad/s2000\ \text{rad/s} (arctan⁡(20)=87∘\arctan(20) = 87^\circ of lag).

+-R = 1.00 kOhmswitch closed at t = 0V = 5.0 V, C = 10.0 uFtau = RC = 10.0 mst10.0 mst/tau1.00vC3.16 Vi1.84 mAvR1.84 V0.01.32.53.85.001 tau2 tau3 tau4 tau5 tau6 tautv (V)0 A2.5 mA5.0 mAi63.2 %5 tau: 99.3 %vC(t), capacitor voltagei(t)

At t=τ=10 mst = \tau = 10\ \text{ms} the filtered signal has reached 63.2 %63.2\,\% of a 5 V5\ \text{V} step (3.16 V3.16\ \text{V}); it needs 5τ=50 ms5\tau = 50\ \text{ms} to settle. Choose the filter corner a decade or more above the loop's crossover, and the sample rate well above the corner (Sampled-Data Loops).

Guided lab: characterise a temperature probe

Hand calculation. For a first-order probe the reading after a step in true temperature reaches 63.2 % at t=τst = \tau_s. A bare 10 kΩ10\ \text{k}\Omega NTC bead in still air might show τs\tau_s of tens of seconds; in stirred water a few seconds.

Simulation. Change tau_s in the program to your measured value and read the phase margin your heater loop will have.

What you would measure. Move the probe from a cup of room-temperature water to a cup of warm water (about 40 ∘C40\,^\circ\text{C}, from the tap or a kettle mixed with cold water, never boiling) and log its reading every 0.5 s0.5\ \text{s} with a microcontroller. Fit T(t)=T∞−(T∞−T0)e−t/τsT(t) = T_\infty - (T_\infty - T_0)e^{-t/\tau_s}; expect τs\tau_s within ±10 %\pm 10\,\% between repeats, and a much larger τs\tau_s if you repeat the test in air or inside a metal pocket. Also note the 4–20 mA or ADC resolution: one count of a 12-bit ADC across 0–100 ∘C0\text{–}100\,^\circ\text{C} is 0.024 K0.024\ \text{K}.

Hazards and safe setup. Warm water only (no boiling water, no open flames); keep water away from the electronics and the USB-powered board; low voltage only.

Pitfalls

  • Controlling the sensor instead of the process: a slow or badly placed sensor hides overshoot.
  • A sensor offset of 2 K2\ \text{K} is a process error of 2 K2\ \text{K} that the loop cannot see; calibrate (Calibration and Traceability).
  • An undersized actuator: the loop saturates on every disturbance and integral windup follows.
  • Treating 0 mA0\ \text{mA} (broken wire) as the bottom of the range: use the live zero to detect faults and go to a safe state.

Practice

  1. A 4–20 mA pressure transmitter spans 00 to 10 bar10\ \text{bar}. What pressure does 13.6 mA13.6\ \text{mA} mean, and what should the controller do at 2.1 mA2.1\ \text{mA}?
  2. A loop crosses over at 0.5 rad/s0.5\ \text{rad/s}. How much phase does a sensor with τs=0.4 s\tau_s = 0.4\ \text{s} cost?
Answer
  1. (13.6−4)/16×10=6.0 bar(13.6 - 4)/16 \times 10 = 6.0\ \text{bar}. 2.1 mA2.1\ \text{mA} is below the failure threshold: treat the measurement as invalid (alarm, hold or move the actuator to its safe position), never as 0 bar0\ \text{bar}.
  2. arctan⁡(0.5×0.4)=arctan⁡(0.2)=11.3∘\arctan(0.5 \times 0.4) = \arctan(0.2) = 11.3^\circ.

Test yourself

Why do process transmitters use 4 mA, not 0 mA, for the bottom of the range?

  1. it saves power
  2. a live zero lets the receiver detect a broken loop (0 mA) and powers two-wire transmitters
  3. it is more accurate
  4. 4 mA is the minimum the ADC can read

A sensor with time constant τs\tau_s in a loop with crossover ωc\omega_c reduces the phase margin by about

  1. ωc/τs\omega_c/\tau_s
  2. arctan⁡(ωcτs)\arctan(\omega_c\tau_s)
  3. 20log⁡10(ωcτs)20\log_{10}(\omega_c\tau_s)
  4. nothing

A temperature sensor reads 2 K low. With a perfect integral controller, the process ends

  1. at the setpoint
  2. 2 K above the setpoint
  3. 2 K below the setpoint
  4. oscillating

A 4–20 mA flow transmitter spans 0–50 L/min. The reading is 8 mA. The flow is

  1. 8 L/min8\ \text{L/min}
  2. 12.5 L/min12.5\ \text{L/min}
  3. 20 L/min20\ \text{L/min}
  4. 10 L/min10\ \text{L/min}