Sensors and actuators: the error budget
Introduced
6:36
System Dynamics and Control
The cooling loop needs one more part - a valve that sets the flow, moved by a small motor and a controller. This course builds the models, reads their…
English narration · English and 中文 subtitles you can switch
In this lesson
| English | Meaning |
|---|---|
| error/ˈerə/ | The difference between the setpoint and the measured output, which a controller acts on. |
| measurand/ˈmeʒərænd/ | The physical quantity a sensor is meant to measure. |
| platinum resistance thermometer/ˈplætɪnəm rɪˈzɪstəns θɜːˈmɒmɪtə/ | A temperature sensor whose platinum element changes resistance in a known way with temperature. |
| signal chain/ˈsɪɡnl tʃeɪn/ | The sequence of stages from sensor to digital value, such as amplifier, filter and converter. |
| error budget/ˈerə ˈbʌdʒɪt/ | A table that adds up each source of measurement error to check that the total meets the requirement. |
| ADC/ˌeɪ diː ˈsiː/ | An analogue-to-digital converter: it samples a voltage and turns it into a number. |
| position loop | |
| thermowell/ˈθɜːməwel/ | A closed metal tube that protects a temperature sensor in a pipe or tank; it slows the sensor's response. |
| standard uncertainties |
Only as good as the thermometer
- The temperature loop can hold the water only as well as the thermometer reads it. If the sensor's error 误差 is unknown, the whole design is a guess.
- Choose the sensing principle for the measurand 被测量 (here a platinum resistance thermometer 铂电阻温度计, Pt100, for water at 0–100 °C). Then follow the signal chain 信号链 and write an error budget 误差预算.

Scaling the chain
- A Pt100 changes by 0.385 Ω/K. At 1 mA that is 0.385 mV/K, and a gain of 50 makes 19.25 mV/K.
- A 12-bit ADC 模数转换器 over 3.3 V has steps of 0.806 mV, so one step is 0.042 K, with a rounding error of step$/\sqrt{12} = 0.012$ K.
Sensitivity after a gain of 50 on 0.385 mV/K (two decimals, mV/K)?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
50 times 0.385.
Kelvin per step of a 12-bit ADC over 3.3 V (three decimals, K)?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
0.806 mV over 19.25 mV/K.
The error budget at 40 °C
- Sensor class A: $\pm(0.15 + 0.002 \times 40) = \pm0.23$ K. ADC 0.012 K; amplifier gain error 误差 0.04 K; self-heating 0.05 K.
- RSS: $\sqrt{0.23^2 + 0.012^2 + 0.04^2 + 0.05^2} = \pm0.24$ K.
- The sensor term is the largest by far: a 16-bit ADC would change nothing.
Which error term?
Place each number in the error budget or the actuator limits.
Class A tolerance at 40 degrees C (two decimals, K)?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
0.15 + 0.002 x 40.
RSS of 0.23, 0.012, 0.04 and 0.05 K (two decimals, K)?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Root of the sum of squares.
To improve this budget, first:
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The sensor term dominates.
The motor's limits
- Volts set speed: 12 V gives at most 4.78 rad/s at the valve. Amps set torque: 5 A gives 10 N·m, twice the load.
- The power at full speed and load is about 30 W. The motor's 9.6 ms lag is the whole plant for the position loop 位置环, but it is instant compared with the 2.3-hour tank.
For a motor drive the voltage limit sets the top speed.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Through the back emf.
Wires that read as heat
- A two-wire Pt100 also measures its wires. Two 0.2 Ω wires add 0.4 Ω, which reads as $0.4/0.385 = 1.04$ K: four times the whole error budget 误差预算.
- A three-wire connection cancels equal wires. A four-wire connection carries the current on one pair and measures the voltage on the other, so the wire resistance drops out completely.
Two-wire Pt100 with two 0.2 Ω leads: temperature error (two decimals, K)?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$0.4/0.385 = 1.04$ K.
A four-wire connection removes the lead resistance from a Pt100 reading.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Current flows on one pair and the voltage is sensed on the other, which carries almost no current.
Worked example: the self-heating term
- At 40 °C the Pt100 is 115.4 Ω, so 1 mA heats it with $I^2R = 0.115$ mW. In stirred water it loses 2.5 mW per kelvin of temperature rise.
- So the sensor runs $0.115/2.5 = 0.046$ K warm: the 0.05 K in the budget. At 5 mA the power, and the error 误差, are 25 times larger (1.15 K), which is why the current is kept at 1 mA.
Pt100 at 115.4 Ω carrying 1 mA, dissipation 2.5 mW/K: self-heating error (three decimals, K)?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$10^{-6} \times 115.4 = 0.1154$ mW; $0.1154/2.5 = 0.046$ K.
Worked example: the sensor lags
- The budget above is for steady water. A Pt100 in a protective thermowell 保护套管 must warm up itself, so it follows changes with a time constant $\tau$, here about 20 s. After a step it shows 63% of the change after $\tau$ and 99% after $5\tau$.
- On a steady ramp at rate $r$, the reading settles to a fixed lag behind the water: an error of $r\tau$.
- The tank heats at 0.5 K per minute.
- Lag error: $r\tau = (0.5/60) \times 20 = 0.17$ K, almost as large as the sensor's own 0.23 K, and always on the cold side while heating.
- Step change: if cold water is suddenly added, the reading needs $5\tau = 100$ s to settle. A controller that acts on it in the meantime acts on old news.
A thermocouple with $\tau = 6$ s measures a gas heating at 3 K per minute. Its steady lag error, in K?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$r\tau = (3/60) \times 6 = 0.30$ K, reading low while the gas heats.
Four common mistakes
- Mixing error bounds and uncertainties. Add bounds for a worst-case budget; use RSS for uncorrelated standard uncertainties 标准不确定度, and account separately for systematic biases.
- Forgetting self-heating and wire resistance. They shift a resistance thermometer's reading.
- Buying resolution the sensor cannot use. The largest term decides.
- Forgetting the sensor's time constant. While the temperature changes, the reading lags by $r\tau$.
Recap
- 19.25 mV/K into a 12-bit ADC: 0.042 K per step.
- RSS budget $\pm0.24$ K, set mainly by the sensor:
| Source | Error 误差 (K) |
|---|---|
| Sensor, class A | 0.23 |
| Self-heating at 1 mA | 0.05 |
| Amplifier gain | 0.04 |
| ADC rounding | 0.012 |
| RSS total | 0.24 |
- Volts limit speed; amps limit torque.
- While heating at rate $r$, a sensor with time constant $\tau$ reads $r\tau$ low: 0.17 K at 0.5 K/min and 20 s.
What went wrong? Only the site team sees this.