Sub topic 11
How temperature changes resistance
This chapter assumes you know Ohm's law (V = IR), the power formulas, and the idea of resistivity from the earlier chapters. You also need basic algebra and Kelvin/Celsius conversion.
Resistance is not a fixed property of a part. It depends on temperature, and that temperature is often set by the current the part carries. This chapter covers the linear model for metals, the exponential behavior of semiconductor thermistors, and the practical consequences.
Why temperature matters
Resistivity depends on temperature, so a resistor's resistance changes with it. Three situations make this matter:
- Environment. A wire outdoors in winter and in summer has different resistance.
- Self-heating. Current produces heat (P = I²R), which changes R, which changes the current or power.
- Sensing. The dependence can be used on purpose to build thermometers.
The linear model for metals
Over a modest range, a metal's resistance is well approximated by a straight line:
R(T) = Rref × (1 + α × (T − Tref))
- Rref is the resistance at the reference temperature Tref, usually 20 °C.
- α is the temperature coefficient of resistance, in 1/°C (or 1/K, since the size of a degree is the same).
- A positive α means resistance rises with temperature. This is called a positive temperature coefficient (PTC).
| Material | Approx. α near 20 °C (per °C) | Typical use |
|---|---|---|
| Copper | 0.0039 | Wiring, windings |
| Aluminum | 0.0039 | Power lines |
| Platinum | 0.00385 (industrial standard) | Precision thermometers |
| Tungsten | 0.0045 | Lamp filaments |
| Constantan | about 0.00001 | Precision resistors |
| Carbon | about −0.0005 | Older composition resistors |
def resistance_at(r_ref, alpha, temp, temp_ref=20.0):
# Linear approximation: R = R_ref * (1 + alpha * (T - T_ref))
return r_ref * (1.0 + alpha * (temp - temp_ref))
alpha_copper = 0.0039 # per degree C, approximate near 20 C
print(resistance_at(100.0, alpha_copper, 70.0)) # about 119.5 ohmsA 100 Ω copper element heated by 50 °C gains 100 × 0.0039 × 50 = 19.5 Ω. That is a 19.5% increase, which is large enough to matter in a design.
Inverting the model
If you can measure resistance, you can solve for temperature:
T = Tref + (R / Rref − 1) / α
This is how some motor and transformer windings are checked for overheating. You measure the winding resistance cold and again after running, then compute the temperature rise.
def temperature_from_resistance(r, r_ref, alpha, temp_ref=20.0):
return temp_ref + (r / r_ref - 1.0) / alpha
print(temperature_from_resistance(119.5, 100.0, 0.0039)) # about 70.0 CWhy metals are PTC
In a metal, free electrons carry the current. Heating makes the atoms vibrate more, so electrons scatter more often. The number of free electrons barely changes, but their average drift speed for a given field falls. Resistivity therefore rises.
In a semiconductor, heating frees many more charge carriers from the lattice. The extra carriers outweigh the extra scattering, so resistance falls. This is a negative temperature coefficient (NTC).
Thermistors: strongly nonlinear NTC parts
A thermistor is a resistor made to have a large, repeatable temperature dependence. NTC thermistors are made of semiconducting ceramics. Their curve is far from a straight line, so the linear model fails. A common description is the beta model, with temperatures in kelvin:
R(T) = R₀ × exp(B × (1/T − 1/T₀))
- R₀ is the resistance at T₀, typically 25 °C = 298.15 K.
- B is a constant from the datasheet, often 3000 to 4500 K.
import math
def ntc_resistance(temp_c, r0=10_000.0, b=3950.0, t0_c=25.0):
t = temp_c + 273.15
t0 = t0_c + 273.15
return r0 * math.exp(b * (1.0 / t - 1.0 / t0))
for t in (0, 25, 50, 100):
print(f"{t:>3} C: {ntc_resistance(t):9.0f} ohm")For a 10 kΩ, B = 3950 K part, the output is about 33.6 kΩ at 0 °C, 10 kΩ at 25 °C, 3.6 kΩ at 50 °C, and under 1 kΩ at 100 °C. Resistance falls by roughly a factor of 3 over the first 25 °C of warming, and the percentage change per degree is itself temperature dependent.
PTC thermistors also exist. Some ceramic types have a sharp resistance rise above a switching temperature. They are used as resettable fuses and self-limiting heaters.
| Property | Metal (RTD, wire) | NTC thermistor |
|---|---|---|
| Sign of coefficient | Positive | Negative |
| Sensitivity | Low (about 0.4%/°C) | High (about 3–5%/°C near 25 °C) |
| Curve shape | Nearly linear | Strongly exponential |
| Useful range | Very wide (−200 to 600 °C for platinum) | Narrower (roughly −50 to 150 °C) |
| Interchangeability | Excellent | Depends on tolerance |
A platinum RTD (resistance temperature detector) such as a Pt100 is 100 Ω at 0 °C with α ≈ 0.00385. It reads about 138.5 Ω at 100 °C. It is slow and gentle in sensitivity but very stable and accurate.
Self-heating and feedback
Because current heats the resistor, temperature depends on power. In steady state, a part reaches the temperature where heat generated equals heat lost:
T = T_ambient + P × θ
Here θ is the thermal resistance of the part to its surroundings, in °C/W. It is on the datasheet or can be estimated.
The loop below shows why this matters. For a PTC material the loop is self-limiting. For an NTC material under constant voltage it can run away.
The diagram assumes the part is driven from a constant voltage. If the part is driven from a constant current source, the effect reverses: a PTC part dissipates more power as it heats, while an NTC part dissipates less.
Example: a lamp filament
A tungsten filament runs at roughly 2500 K or more, so its hot resistance is on the order of ten times its cold resistance. A 120 V, 100 W bulb has a hot resistance of V²/P = 144 Ω. Cold, it is only about 10 to 15 Ω. At switch-on the current is therefore roughly ten times the running current for a few milliseconds. This inrush current is a standard reason lamps fail at the moment of switch-on.
The linear model should not be used here. A temperature change of over 2000 °C is far outside the range where a constant α is valid. Tungsten's effective α also changes with temperature.
Common errors and edge cases
- Using the wrong reference temperature. An α value is only valid with its own Tref. If a datasheet quotes α at 0 °C and you use 20 °C as Tref, the results will be wrong by a few percent.
- Extending the linear model too far. The linear form is accurate to a fraction of a percent over a few tens of degrees and gets progressively worse over hundreds. Platinum RTD standards use a quadratic (Callendar–Van Dusen) equation for exactly this reason.
- Mixing Celsius and kelvin. The linear model uses a temperature difference, so either scale works. The beta model needs absolute temperature in kelvin. Using Celsius there gives wrong answers, or division by zero at 0 °C.
- Ignoring self-heating of a sensor. A thermistor measured with too much current reads warmer than its surroundings. Keep the excitation power low, typically well under a milliwatt for small parts.
- Assuming all resistors drift alike. Precision resistors are made from alloys with tiny α (tens of ppm/°C) so that their values stay stable. A carbon-film part may drift ten times more.
- Forgetting the wire. Long copper cable at 50 °C has about 12% more resistance than at 20 °C (0.0039 × 30 ≈ 0.117). Voltage drop budgets should include this.
- Superconductors. Below a critical temperature, some materials drop to zero resistance abruptly. This is a different regime and is not a continuation of the linear model.
Summary of the working model
- Metals: R rises roughly linearly with T. Use R = R_ref(1 + αΔT) for modest ranges.
- NTC thermistors: R falls exponentially with T. Use the beta model with kelvin.
- Power heats the part, and the temperature rise depends on thermal resistance.
- Check whether the source is constant voltage or constant current, because that decides whether feedback stabilizes or runs away.
Exercise
A copper coil measures 8.00 Ω at 20 °C. After running for an hour it measures 9.00 Ω. Using α = 0.0039 per °C, what is the coil temperature, and what would a 10 kΩ, B = 3950 K NTC thermistor read at the same temperature? Give the thermistor answer qualitatively (higher or lower than 10 kΩ, and roughly by how much).
Show answer
T = 20 + (9.00/8.00 − 1)/0.0039 = 20 + 0.125/0.0039 ≈ 20 + 32.1 ≈ 52 °C. The NTC part would read well below 10 kΩ. At 50 °C the beta model gives about 3.6 kΩ, so at 52 °C it is slightly lower, around 3.4 kΩ, or roughly a third of its 25 °C value.