---
title: Temperature sensors
heading: Thermistors with the B-parameter equation and their large negative coefficient, platinum resistance thermometers, thermocouples with cold-junction compensation, self-heating errors, and infrared thermometers that read the body's thermal radiation
eyebrow: S15 · Lesson 7 · Temperature sensors
xp: 50
---

::: hook
Body temperature is the oldest clinical measurement and still one of the most useful, but the range that matters is narrow: a few degrees around 37 °C, read to a tenth of a degree. That favors sensors with a large, repeatable change over a small span. Thermistors change by about 4% per degree, which makes them the default in clinical probes and in the catheter tips used for thermodilution (lesson 26). Platinum resistors are the accurate reference, thermocouples the rugged choice, and infrared sensors read the eardrum or forehead without touching it.
:::

::: play
- An NTC thermistor's resistance, $R = R_{25}e^{B(1/T - 1/T_{25})}$, from 30 to 42 °C.
- The temperature coefficient $\alpha = -B/T^2$ is about −4%/°C near body temperature, ten times a platinum resistor's.
- Raise B and the curve steepens: more sensitivity, more nonlinearity.
:::

```sim plot
view: graph
x: T = 30..42
y: R = 0..15
slider: R0 = 2..20 step 0.5 = 10
slider: B = 3000..4500 step 50 = 3950
plot: R0*exp(B*(1/(T + 273.15) - 1/298.15)) | samples: 300 | label: resistance, kΩ
readout: resistance at 37 °C, kΩ = R0*exp(B*(1/310.15 - 1/298.15)) | digits: 4
readout: coefficient at 37 °C, %/°C = -100*B/310.15^2 | digits: 3
```

::: predict
## A 10 kΩ (at 25 °C) thermistor with B = 3950 K is at body temperature, 37 °C. About what's its resistance?

- [ ] 10 kΩ
- [ ] 14 kΩ
- [x] About 6.0 kΩ
- [ ] About 9.5 kΩ

::: reveal
$R = 10\,\text{k}\Omega \times \exp(3950(1/310.15 - 1/298.15))$ = 10 kΩ × $e^{-0.513}$ = 5.99 kΩ. An NTC thermistor's resistance falls as it warms, here by about 4.1% per degree: a 0.1 °C change is 25 Ω, easy to resolve.
:::
:::

::: nameit
## Thermistors

Sintered metal-oxide thermistors have a negative temperature coefficient that follows, over a modest range,

$$R(T) = R_0\exp\left[B\left(\frac{1}{T} - \frac{1}{T_0}\right)\right], \qquad \alpha = \frac{1}{R}\frac{dR}{dT} = -\frac{B}{T^2}$$

with T in kelvins and B typically 3000 to 4500 K. Over wide ranges the Steinhart–Hart equation, $1/T = a + b\ln R + c(\ln R)^3$, fits to a few millikelvins.

## Resistance thermometers

Platinum RTDs are nearly linear: $R = R_0(1 + \alpha T)$ with $R_0$ = 100 Ω at 0 °C and α = 0.00385/°C for standard Pt100 elements. They're stable and interchangeable but change only 0.385 Ω per degree.

## Thermocouples

Two dissimilar metals joined at two junctions produce a voltage proportional to the temperature difference between the junctions: $V = S\Delta T$, with a Seebeck coefficient S of about 40 µV/°C for copper–constantan (type T). The reference junction's temperature must be measured separately (**cold-junction compensation**).

## Self-heating

A measuring current heats the sensor by $\Delta T = P/\delta$, where δ is its dissipation constant (about 1 mW/°C in still air for a small bead, more in liquid). Keeping $I^2R$ in the microwatts keeps the error below a few hundredths of a degree.

## Infrared thermometers

A body at absolute temperature T radiates $\varepsilon\sigma T^4$ per unit area, peaking near $\lambda = 2898\,\mu\text{m·K}/T$, about 9.3 µm at body temperature. Ear and forehead thermometers focus that radiation onto a thermopile and compare it with the sensor's own temperature.
:::

::: example
## Find the predict question's thermistor's resistance at 36 °C, its coefficient at 37 °C, and its self-heating with 100 µA flowing, if δ = 1 mW/°C.

::: solution
1. **Resistance at 36 °C.**
   $$R_{36} = 6.241\ \text{k}\Omega$$
   so one degree changes it by 252 Ω.
2. **Coefficient at 37 °C.**
   $$\begin{aligned} \alpha &= -\frac{3950}{310.15^2} \\ &= -4.11\%/\text{°C} \end{aligned}$$
3. **Self-heating power.** At 37 °C, 100 µA in 5.99 kΩ dissipates
   $$\begin{aligned} P &= (100\ \mu\text{A})^2 \times 5.99\ \text{k}\Omega \\ &= 59.9\ \mu\text{W} \end{aligned}$$
4. **Temperature rise.** With δ = 1 mW/°C:
   $$\begin{aligned} \Delta T &= \frac{59.9\ \mu\text{W}}{1\ \text{mW/°C}} \\ &= 0.060\ \text{°C} \end{aligned}$$
   a reading error worth correcting or avoiding with a smaller current.

**Answer:** R = 6.241 kΩ at 36 °C (252 Ω per degree), α = −4.11%/°C at 37 °C, and 100 µA warms the bead by 0.060 °C.
:::
:::

::: example
## What does a Pt100 read at 37 °C, and what does a type T thermocouple give for a 12 °C difference at 43 µV/°C?

::: solution
1. **Pt100 at 37 °C.**
   $$\begin{aligned} R &= 100(1 + 0.00385 \times 37) \\ &= 114.245\ \Omega \end{aligned}$$
   only 0.385 Ω per degree.
2. **Thermocouple output.**
   $$\begin{aligned} V &= 43 \times 12\ \mu\text{V} \\ &= 516\ \mu\text{V} \end{aligned}$$
   small enough that a microvolt-level amplifier and a known reference junction are essential.

**Answer:** the Pt100 reads 114.245 Ω, and the thermocouple gives 516 µV.
:::
:::

::: example
## A 10 kΩ thermistor (at 25 °C, B = 3500 K) is linearized around 37 °C with a parallel resistor. What value puts the inflection of the combination at 37 °C?

::: solution
1. **Thermistor at 37 °C.**
   $$\begin{aligned} R_T &= 10\,e^{3500(1/310.15 - 1/298.15)}\ \text{k}\Omega \\ &= 6.35\ \text{k}\Omega \end{aligned}$$
2. **Condition for the inflection.** The parallel combination's resistance-against-temperature curve has its inflection at $T_m$ when
   $$R_p = R_T(T_m)\frac{B - 2T_m}{B + 2T_m}$$
3. **Parallel resistor.**
   $$\begin{aligned} R_p &= 6.35\ \text{k}\Omega \times \frac{2880}{4120} \\ &= 4.44\ \text{k}\Omega \end{aligned}$$
4. **What it buys.** The combination is then nearly linear for several degrees either side, at the cost of sensitivity: its slope is well under the bare thermistor's.

**Answer:** a 4.44 kΩ resistor in parallel puts the inflection at 37 °C.
:::
:::

::: check
given: R = 5 | 10 | 30; B = 3400 | 3950 | 4300; T = 33 | 37 | 40
answer: R*exp(B*(1/(T + 273.15) - 1/298.15))
unit: kΩ
tolerance: 0.5%

## A thermistor is {R} kΩ at 25 °C with B = {B} K. What's its resistance at {T} °C?

::: right
Right. $R_{25}e^{B(1/T - 1/298.15)}$ = {answer} kΩ.
:::

::: misses
- [R*exp(B*(1/T - 1/25))] Use absolute temperatures in kelvins.
- [any] Not yet. The B-parameter equation.
:::
:::

::: check
given: B = 3000 | 3950 | 4500; T = 25 | 37 | 42
answer: -100*B/(T + 273.15)^2
unit: %/°C
tolerance: 0.5%

## What's the temperature coefficient, in %/°C, of a thermistor with B = {B} K at {T} °C?

::: right
Right. $-B/T^2$ = {answer}.
:::

::: misses
- [-100*B/T^2] Use kelvins.
- [any] Not yet. Differentiate the B equation.
:::
:::

::: check
given: R = 100 | 1000; T = 20 | 37 | 42
answer: R*(1 + 0.00385*T)
unit: Ω
tolerance: 0.05%

## What's the resistance of a platinum RTD with $R_0$ = {R} Ω (α = 0.00385/°C) at {T} °C?

::: right
Right. $R_0(1 + \alpha T)$ = {answer} Ω.
:::

::: misses
- [any] Not yet. Linear in temperature from 0 °C.
:::
:::

::: check
given: S = 40 | 43 | 52; d = 5 | 12 | 30
answer: S*d
unit: µV
tolerance: 0.5%

## A thermocouple with Seebeck coefficient {S} µV/°C has its junctions {d} °C apart. What voltage does it produce?

::: right
Right. $S\Delta T$ = {answer} µV.
:::

::: misses
- [any] Not yet. Coefficient times the junctions' temperature difference.
:::
:::

::: check
given: I = 10 | 50 | 200; R = 3 | 6 | 10; d = 1 | 5
answer: (I*1e-6)^2*R*1e3/(d*1e-3)
unit: °C
tolerance: 0.5%

## A {R} kΩ thermistor carries {I} µA and has a dissipation constant of {d} mW/°C. How much does self-heating raise its temperature?

::: right
Right. $I^2R/\delta$ = {answer} °C.
:::

::: misses
- [(I*1e-6)^2*R*1e3] That's the power in watts; divide by the dissipation constant.
- [any] Not yet. Power over dissipation constant.
:::
:::

::: check
given: T = 30 | 37 | 300
answer: 2898/(T + 273.15)
unit: µm
tolerance: 0.5%

## At what wavelength does a body at {T} °C radiate most strongly?

::: right
Right. Wien's law, $2898\,\mu\text{m·K}/T$ = {answer} µm.
:::

::: misses
- [2898/T] Use kelvins.
- [any] Not yet. Wien's displacement law.
:::
:::

::: check
kind: parts
given: R = 2.252 | 10 | 30; B = 3000 | 3500 | 4000; T = 25 | 37 | 40

## A thermistor is {R} kΩ at 25 °C with B = {B} K.

::: part
answer: R*exp(B*(1/(T + 273.15) - 1/298.15))
unit: kΩ
tolerance: 0.5%

### What is its resistance at {T} °C?

::: misses
- [any] $R_{25}e^{B(1/T - 1/298.15)}$.
:::
:::

::: part
answer: R*exp(B*(1/(T + 273.15) - 1/298.15))*(B - 2*(T + 273.15))/(B + 2*(T + 273.15))
unit: kΩ
tolerance: 0.5%

### What parallel resistor puts the combination's inflection at {T} °C?

::: misses
- [R*exp(B*(1/(T + 273.15) - 1/298.15))] That's the thermistor itself; the inflection needs $R_T(B - 2T)/(B + 2T)$.
- [any] $R_p = R_T(T_m)(B - 2T_m)/(B + 2T_m)$, in kelvins.
:::
:::
:::

::: check
kind: derivation
vars: R = 10..1000, a = 0.003..0.004, T = -50..300, X = 50..2000

## A platinum RTD has resistance R₀ at 0 °C and coefficient α.

::: step
answer: R*(1 + a*T)

### What is its resistance at T °C?
:::

::: step
answer: (X/R - 1)/a

### What temperature does a reading of X ohms mean?
:::

::: right
Right. Over a modest range the RTD is linear enough that one coefficient serves.
:::
:::

::: explain
## Why are thermistors preferred over platinum resistors for clinical temperature probes, and what do you give up?

::: model
Clinical temperatures span only a few degrees, so what matters is resolving small changes. A thermistor changes by about 4% per degree near body temperature, ten times a platinum resistor's 0.385%, so a simple divider and a modest converter resolve hundredths of a degree, and its high resistance makes lead resistance negligible. The price is nonlinearity, since resistance is exponential in inverse temperature, and less interchangeability and long-term stability than platinum, which is why thermistor probes are calibrated or matched to curves while platinum remains the reference standard.
:::
:::

::: practice

::: check
given: R = 1 | 100; B = 3000 | 4500; T = 20 | 45
answer: R*exp(B*(1/(T + 273.15) - 1/298.15))
unit: kΩ
tolerance: 0.5%

## Thermistor: {R} kΩ at 25 °C, B = {B} K, at {T} °C?

::: misses
- [any] $R_{25}e^{B(1/T - 1/T_{25})}$.
:::
:::

::: check
given: B = 2500 | 5000; T = 0 | 60
answer: -100*B/(T + 273.15)^2
tolerance: 0.5%

## α: B = {B} K at {T} °C?

::: misses
- [any] $-B/T^2$.
:::
:::

::: check
given: I = 1 | 500; R = 1 | 50; d = 0.5 | 10
answer: (I*1e-6)^2*R*1e3/(d*1e-3)
unit: °C
tolerance: 0.5%

## Self-heating: {I} µA, {R} kΩ, δ = {d} mW/°C?

::: misses
- [any] $I^2R/\delta$.
:::
:::
:::
