Heat in Components: Thermal Resistance and Cooling
A linear regulator turns 12 V into 5 V for a small board drawing 0.5 A. It works on the bench for a minute, then the output drops out and comes back, again and again. The chip is not broken; it is protecting itself from overheating. Every watt a component dissipates has to leave as heat, and its temperature rises until the heat flows away as fast as it is made. This lesson covers the engineer's model for that, thermal resistance, and how temperature changes the behaviour of semiconductors. School background on heat transfer: conduction, convection and radiation.
Heat flow as a circuit
Heat leaves a component by conduction (through leads, solder, the board and a heatsink), convection (air carrying it away, free or fan-forced) and radiation (infrared; from a dark, matt surface it can carry about as much heat as free convection, even not far above room temperature). For engineering estimates all three are lumped into one number per path:
This is Ohm's law for heat: power plays the role of current, temperature difference the role of voltage, and thermal resistances in series add. Datasheets name the paths by their ends: junction to case , case to heatsink (the thermal pad or grease), heatsink to ambient , and junction to ambient for a part with no heatsink.
Worked example: the hot regulator
Given: a linear regulator in a TO-220 package, , , ; ambient inside the enclosure; datasheet values (illustrative) , , maximum junction temperature . Option: a heatsink with and a pad with . Find: the junction temperature without and with the heatsink. Solve: a linear regulator drops the difference voltage at the full current.
Check: K/W times W gives K, and a temperature rise in kelvin equals one in degrees Celsius. With the heatsink the junction sits under its limit; a common design rule keeps at least 20 to 25 K of margin. The alternative is to waste less: a switching regulator at 90 % efficiency would dissipate only about for the same output.
Temperature changes semiconductors
| Effect | Typical size (silicon) | Consequence |
|---|---|---|
| diode / base-emitter forward voltage | falls about | used for temperature sensing; can cause thermal runaway in parallel BJTs |
| reverse leakage current | roughly doubles every 10 K | hot circuits leak; precision analog drifts |
| MOSFET on-resistance | rises, about 1.5 to 2 times from to | more loss when hot; parallel MOSFETs share current better |
| reliability | failure rates rise steeply with temperature (Arrhenius behaviour) | the "every 10 K hotter halves the life" rule of thumb for electrolytic capacitors |
These are rules of thumb; the datasheet's graphs give the real curves for each part.
Passive components have limits too. Resistors are derated: a typical datasheet allows full rated power up to about ambient and then a straight line down to zero at the maximum element temperature (often or for film resistors). Electrolytic capacitors carry a lifetime rating at their maximum temperature (for example 2000 h at ).
Heating curves in Python
A component with heat capacity (J/K) and thermal resistance warms like a charging capacitor (see Capacitance), with time constant :
import numpy as np
Ta = 40.0
P = (12 - 5.0) * 0.5
paths = {"no heatsink": 50.0, "with heatsink": 5 + 0.5 + 10}
for name, R in paths.items():
print(f"{name:14s}: P = {P:.2f} W, Tj = {Ta + P*R:5.1f} C")
# a 0.5 W resistor run at 0.25 W: R_theta = 160 K/W, heat capacity 0.25 J/K (assumed)
R_th, C_th, P_r, T_room = 160.0, 0.25, 0.25, 22.0
tau = R_th * C_th
for t in [0, 20, 40, 80, 200]:
T = T_room + P_r * R_th * (1 - np.exp(-t / tau))
print(f"t = {t:3d} s: resistor at {T:5.1f} C")
print(f"thermal time constant {tau:.0f} s, final rise {P_r*R_th:.0f} K")no heatsink : P = 3.50 W, Tj = 215.0 C
with heatsink : P = 3.50 W, Tj = 94.2 C
t = 0 s: resistor at 22.0 C
t = 20 s: resistor at 37.7 C
t = 40 s: resistor at 47.3 C
t = 80 s: resistor at 56.6 C
t = 200 s: resistor at 61.7 C
thermal time constant 40 s, final rise 40 K
Guided lab: temperature rise of a resistor at low power
Hand calculation. A , 0.5 W metal-film resistor at dissipates , half its rating. If its datasheet gives a hot-spot rise of about at rated power, then and the hot spot should settle about above room temperature, with the time constant of a minute or so (the code above assumes 40 s).
Simulation. Change R_th, C_th and P_r in the code: halving the power halves the final rise; the time constant does not depend on the power.
What you would measure. Mount the resistor in free air (not touching the bench), supply from a bench supply with a limit (it draws 50 mA), and read its body temperature every 20 s for 4 minutes with a thermocouple probe taped to the body (most multimeters have a type K input) or an IR thermometer. Expect a rise of roughly 25 to 40 K at the surface (the surface is cooler than the hot spot), a curve that flattens after 2 to 3 minutes, and a scatter of to from probe contact and air drafts. An IR thermometer reads low on shiny or small objects (emissivity and spot size), so note which method you used. Fit the curve to find and , and record room temperature and airflow in your notebook.
Hazards and safe setup: the resistor reaches about , warm enough to sting; use tweezers or wait; keep it off plastic and paper. Low voltage only; never "test" heating with mains loads.
Pitfalls
- Using with a heatsink fitted: with a heatsink, use the series path .
- Forgetting the enclosure: the ambient inside a closed box is often 15 to 25 K above room temperature.
- Running parts at their rated power: derate for the actual ambient; rated power assumes ideal mounting and cool air.
- Ignoring temperature in precision work: a 2 mV/K drift is 0.1 V over a 50 K swing.
Practice
- A MOSFET dissipates with at . Find .
- Which heatsink keeps a part with , at in ?
- A diode reads at . Estimate it at .
Answer
- .
- Total allowed , so .
- .
Test yourself
A part dissipates 2 W through a path of 30 K/W at 25 C ambient. Its temperature is about…
- 55 C
- 60 C
- 85 C
- 15 C
Thermal resistances along one heat path (junction, case, sink, air) combine…
- in series: they add
- in parallel: reciprocals add
- by multiplying
- only the largest counts
How does a silicon diode's forward voltage change as it warms up?
- It rises about 2 mV/K
- It falls about 2 mV/K
- It stays constant
- It doubles every 10 K
A linear regulator drops 9 V at 0.2 A. How much power does it dissipate?
- 0.2 W
- 1.8 W
- 45 W
- 9.2 W