Temperature Sensors: RTDs, Thermocouples, Thermistors and IC Sensors
Temperature is the most measured physical quantity in industry, and four sensor families share the work. A platinum RTD is accurate and stable to a few hundredths of a kelvin but needs careful wiring. A thermocouple covers to with two wires and no excitation, but produces only tens of microvolts per kelvin and needs cold-junction compensation. A thermistor is cheap and very sensitive over a narrow range, and strongly non-linear. An IC sensor gives a calibrated digital reading for a few dollars, between about and . This lesson gives the physics and the conversion equations of each, the errors that dominate, and how to choose.
| Sensor | Range (typical) | Signal | Accuracy (typical) | Main error sources |
|---|---|---|---|---|
| Pt100 / Pt1000 RTD | to | (Pt100) | class A: | lead resistance, self-heating, stem conduction |
| thermocouple (type K) | to | about | class 2: or , whichever is greater | cold junction, wire inhomogeneity, noise |
| NTC thermistor | to | to | to | non-linearity, self-heating, interchangeability |
| IC sensor | to | digital or | to | self-heating, thermal coupling to the board |
(Tolerance classes from IEC 60751:2022 for RTD thermometers (AA , A, B , C , each valid only over its own temperature range) and IEC 60584-1:2013 for thermocouples (type K class 1: or , to ; class 2: to ), the current editions as of November 2026.)
Platinum resistance thermometers
Platinum's resistance rises almost linearly with temperature. IEC 60751 defines the Callendar–Van Dusen equation for industrial platinum sensors:
with in , , , and below ( above). for a Pt100. The mean coefficient between and is . Above the equation is a quadratic and inverts in closed form:
Wiring. A Pt100 changes by only per kelvin, so of lead resistance in a 2-wire connection is a error. Three-wire connections (lead resistances cancel in a bridge or by a second measurement, if the leads match) are standard in industry; four-wire connections (Four-Wire Resistance) remove them completely. Self-heating: the excitation current dissipates , raising the element above its surroundings by , where is the dissipation constant (mW/K, worse in still air than in stirred liquid). Use or less for a Pt100.
import numpy as np
from scipy.optimize import brentq
# Pt100, Callendar-Van Dusen with the IEC 60751 coefficients
R0, A, B, C = 100.0, 3.9083e-3, -5.775e-7, -4.183e-12
def r_pt100(T):
"""Resistance in ohm at T in deg C (-200 .. 850)."""
c = C if T < 0 else 0.0
return R0 * (1 + A * T + B * T**2 + c * (T - 100) * T**3)
def t_pt100(R):
"""Inverse: closed form for R >= R0 (T >= 0), numerical root below 0 deg C."""
if R >= R0:
return (-A + np.sqrt(A**2 - 4 * B * (1 - R / R0))) / (2 * B)
return brentq(lambda T: r_pt100(T) - R, -200.0, 0.0)
for T in (-100.0, 0.0, 25.0, 100.0, 200.0, 500.0):
R = r_pt100(T)
print(f"T = {T:7.1f} C: R = {R:9.4f} ohm, back to T = {round(t_pt100(R), 3) + 0.0:8.3f} C")
print(f"mean coefficient alpha = (R100 - R0)/(100 R0) = {(r_pt100(100.0) - R0) / (100 * R0):.6f} /K")
# Two-wire error: 2 x 0.5 ohm of lead adds 1 ohm
R_meas = r_pt100(100.0) + 1.0
print(f"2-wire with 1 ohm of leads at 100 C reads {t_pt100(R_meas):.2f} C")
# Self-heating: 1 mA in 138.5 ohm, dissipation constant 2 mW/K in still air
P = 1e-3**2 * r_pt100(100.0)
print(f"self-heating at 1 mA: {1e3 * P:.3f} mW -> {P / 2e-3:.3f} K")T = -100.0 C: R = 60.2558 ohm, back to T = -100.000 C
T = 0.0 C: R = 100.0000 ohm, back to T = 0.000 C
T = 25.0 C: R = 109.7347 ohm, back to T = 25.000 C
T = 100.0 C: R = 138.5055 ohm, back to T = 100.000 C
T = 200.0 C: R = 175.8560 ohm, back to T = 200.000 C
T = 500.0 C: R = 280.9775 ohm, back to T = 500.000 C
mean coefficient alpha = (R100 - R0)/(100 R0) = 0.003851 /K
2-wire with 1 ohm of leads at 100 C reads 102.64 C
self-heating at 1 mA: 0.139 mW -> 0.069 K
The table values ( at , at ) match the IEC 60751 reference table (informative since the 2022 edition, in which the equation itself is the specification), and the inverse returns every temperature exactly.
Simulation. A source drives the Pt100 at through two leads. A 2-wire meter reads node a: , i.e. and . A 4-wire meter reads b minus c: . Slide the lead resistance to see how quickly the 2-wire error grows.
Thermocouples
Two different metals joined at a measuring junction produce a voltage that depends on the temperature difference along the wires (the Seebeck effect). The voltage appears where the thermocouple wires meet the copper of the instrument: the reference or cold junction. The instrument measures
where is the reference table (emf with the reference junction at , IEC 60584-1). Cold-junction compensation measures with a separate sensor at the terminals, adds , and converts the sum with the table or its polynomial:
Two laws make this work: an intermediate metal (copper terminals, solder) adds nothing if both its ends are at the same temperature, and the emf depends only on the junction temperatures, not on the temperature profile along homogeneous wire. Extension cables must therefore be of the thermocouple's own alloys (or matched compensating alloys), and terminal blocks must be isothermal.
Worked example: a type K thermocouple at an unknown temperature
Given: a type K thermocouple; the instrument measures ; its terminal block is at . From the type K table: , .
Find: the hot-junction temperature, and the error without compensation.
Solve:
Without compensation, converting directly gives about , low.
Check: the error without compensation is about the cold-junction temperature itself, as expected for a nearly linear sensor; a error in the cold-junction sensor gives a error in the result, so the cold-junction sensor's accuracy limits the whole measurement. The program uses linear interpolation between a few table points; real instruments use the IEC 60584-1 polynomials.
import numpy as np
# Type K reference table (emf in mV with the reference junction at 0 C), a few points of IEC 60584-1
T_tab = np.array([0.0, 25.0, 100.0, 200.0, 300.0, 400.0, 500.0])
E_tab = np.array([0.000, 1.000, 4.096, 8.138, 12.209, 16.397, 20.644])
def emf(T): return float(np.interp(T, T_tab, E_tab)) # linear between table points
def temp(E): return float(np.interp(E, E_tab, T_tab))
E_meas = 11.209 # mV measured at the instrument terminals
T_cj = 25.0 # reference (cold) junction temperature from the terminal-block sensor
E_total = E_meas + emf(T_cj)
print(f"measured {E_meas:.3f} mV + E(T_cj = {T_cj:.0f} C) {emf(T_cj):.3f} mV = {E_total:.3f} mV -> T = {temp(E_total):.1f} C")
print(f"without compensation: {temp(E_meas):.1f} C (error {temp(E_meas) - temp(E_total):+.1f} K)")
# A 1 K error in the cold-junction sensor
print(f"cold junction read 1 K high: T = {temp(E_meas + emf(T_cj + 1)):.1f} C")
# 10 k NTC thermistor, beta model, in a divider from 3.3 V with a 10 k fixed resistor
R25, beta = 10e3, 3950.0
def r_ntc(Tc):
T = Tc + 273.15
return R25 * np.exp(beta * (1 / T - 1 / 298.15))
for Tc in (0.0, 25.0, 50.0, 100.0):
R = r_ntc(Tc)
V = 3.3 * R / (R + 10e3)
sens = -beta / (Tc + 273.15) ** 2
print(f"NTC at {Tc:5.1f} C: R = {R / 1e3:7.3f} kohm, divider {V:.3f} V, alpha = {100 * sens:+.2f} %/K")measured 11.209 mV + E(T_cj = 25 C) 1.000 mV = 12.209 mV -> T = 300.0 C
without compensation: 275.4 C (error -24.6 K)
cold junction read 1 K high: T = 301.0 C
NTC at 0.0 C: R = 33.621 kohm, divider 2.543 V, alpha = -5.29 %/K
NTC at 25.0 C: R = 10.000 kohm, divider 1.650 V, alpha = -4.44 %/K
NTC at 50.0 C: R = 3.588 kohm, divider 0.871 V, alpha = -3.78 %/K
NTC at 100.0 C: R = 0.698 kohm, divider 0.215 V, alpha = -2.84 %/K
Thermistors
An NTC thermistor's resistance falls roughly exponentially with temperature. The beta model
( in kelvin) is good to a few tenths of a kelvin over a span; the three-term Steinhart–Hart equation fits the full range to about after calibration at three temperatures. A thermistor in a divider with a fixed resistor equal to its value at mid-range gives an output that is fairly linear around that point, as the last rows of the program show. The large sensitivity ( at , more than ten times a Pt100's) makes lead resistance irrelevant but self-heating important.
IC temperature sensors
Silicon sensors exploit the temperature dependence of a transistor's base–emitter voltage: the difference of two values at different current densities is proportional to absolute temperature (). Analog versions output about or ; digital ones contain an ADC and a calibrated conversion and report over I2C or SPI. They measure their own die temperature, so the board, the package and air flow decide what they actually see. The same principle runs the cold-junction sensors of thermocouple instruments.
Guided lab: three sensors in one cup
Hand calculation. At : Pt100 ; 10 k NTC () ; type K emf (cold junction at the same ) . In warm water at : , , (with the cold junction still at ; the table gives ).
Simulation. The netlist lab for the RTD wiring, and the programs with your own readings.
What you would measure. Put a Pt100 (4-wire on a DMM if possible), a 10 k NTC and a type K thermocouple (on a DMM's thermocouple input, or on its millivolt range plus a thermometer at the terminals) together in a cup of water, stirred, with a reference thermometer. Expect the three to agree within their tolerances: class B Pt100 , NTC to (part dependent), thermocouple . The thermocouple will be the noisiest (microvolt signal) and the NTC the fastest to respond.
Hazards and safe setup. Warm tap water (below ), no boiling water near electronics, sensors in a sealed sleeve or bag if they are not waterproof, and the meter's leads dry. All excitation from the meter itself (a few milliamperes at most).
Pitfalls
- 2-wire RTD connections with long leads.
- Copper extension wire on a thermocouple, or a terminal block with a temperature gradient across it.
- Ignoring self-heating of thermistors and RTDs in still air.
- Assuming an IC sensor on a board measures the air temperature.
Practice
- A Pt100 (2-wire, leads negligible) reads . What temperature, using as a first estimate?
- A type K reads on an instrument whose terminals are at (ice bath). What is the hot-junction temperature?
Answer
- ; the CVD equation gives (the term).
- , so : .
Test yourself
Why does a thermocouple instrument need cold-junction compensation?
- to remove lead resistance
- the measured emf depends on both the hot and the reference junction temperatures
- to linearise the sensor
- to reduce self-heating
1 ohm of total lead resistance in a 2-wire Pt100 measurement causes an error of about
- 0.26 K
- 1 K
- 2.6 K
- 26 K
Which sensor has the largest relative sensitivity near room temperature?
- Pt100
- type K thermocouple
- NTC thermistor
- copper wire
Using the Callendar-Van Dusen coefficients, a Pt100 at has