Thermal Design: Junction to Ambient, Heatsinks and Thermal Impedance
Every loss computed in this course ends up as heat, and heat ends a semiconductor's life. A MOSFET's datasheet allows at the junction, but its on-resistance has nearly doubled there, its lifetime falls by roughly half for every to more, and a solder joint cycled between cold and hot slowly cracks. Power MOSFETs used with one number for the whole path. This lesson takes that path apart: junction to case, case to heatsink, heatsink to air. It chooses a heatsink, then adds time: why a device running at survives an extra for a millisecond, how the transient thermal impedance describes this, and why the two network forms that model it, Foster and Cauer, give different answers when you connect them to a heatsink.
The thermal circuit
Heat flow behaves like current in a resistive network: a temperature difference drives a heat flow through a thermal resistance (in K/W), and thermal capacitance (J/K) stores heat as a capacitor stores charge (Thermal and Fluid Models). In steady state only the resistances matter:
The three terms come from different places. is the device's (datasheet, measured with an ideal heatsink on the case). is the interface: about to with thermal grease on a TO-220 (many datasheets quote ), to with an insulating pad, more if the mounting torque is wrong. is the heatsink's, and depends on air flow: a profile rated in still air may reach at , and it is specified at a given temperature rise (natural convection improves as the fins get hotter). On a board without a heatsink the copper area is the heatsink: datasheets of 2026 parts give for a defined test board, often to for a package, which is only a starting point for your own layout.
Worked example: choosing a heatsink
Given: a MOSFET in a TO-220 package dissipates (conduction plus switching, from a loss budget as in Loss Budgets); , an insulating pad with ; ambient up to inside the enclosure; design limit for lifetime margin (the device's maximum is ).
Find: the largest allowed , and the temperatures with a heatsink.
Solve:
Check: total, and of rise. The heatsink takes of it; the device and pad only . That is typical: improve the heatsink (or the air flow) first. Note that the heatsink is at : a burn hazard, and why heatsinks carry warning labels or guards.
Transient thermal impedance
A short pulse heats only the die before the heat reaches the tab, so the junction rises much less than . Datasheets give the single-pulse transient thermal impedance , the junction rise per watt after a power step of duration , and usually a fitted Foster network of RC pairs:
For a pulse of power and length , ; this is the curve behind the safe-operating-area lines. For repetitive pulses of duty a common approximation is ; for a Foster network the exact periodic peak is a sum over its terms.
Foster or Cauer. A Foster network reproduces exactly when the case is held at a fixed temperature, but its internal nodes mean nothing, and in a series chain the heat flow out of it equals the heat flow in, instantly: chained to a pad and a heatsink, it delivers every pulse to the case at once. A Cauer ladder (series resistances, capacitances to the thermal reference) is the physical form, layer by layer, and can be chained. Any Foster network can be converted to a Cauer ladder with the same by a continued-fraction expansion of its admittance; the code does it.
import numpy as np
# steady state: TO-220 MOSFET, 8 W, ambient 40 C, junction target 110 C
P, Ta, Tj_max = 8.0, 40.0, 110.0
R_jc, R_cs = 0.8, 0.5 # K/W: datasheet, thermal pad
R_sa_max = (Tj_max - Ta) / P - R_jc - R_cs
R_sa = 6.0 # chosen heatsink
print(f"R_sa <= {R_sa_max:.2f} K/W; with {R_sa} K/W: Tj = {Ta + P*(R_jc+R_cs+R_sa):.1f} C, "
f"case {Ta + P*(R_cs+R_sa):.1f} C, heatsink {Ta + P*R_sa:.1f} C")
# transient: junction-to-case Foster fit (illustrative, sums to R_jc)
R = np.array([0.08, 0.22, 0.30, 0.20])
tau = np.array([20e-6, 300e-6, 3e-3, 30e-3])
Zth = lambda t: float(np.sum(R * (1 - np.exp(-np.asarray(t) / tau))))
print("t Zth_jc")
for t in (1e-5, 1e-4, 1e-3, 1e-2, 1e-1, 1.0):
print(f"{t:7.0e} s {Zth(t):6.3f} K/W")
# single pulse: an extra 200 W for 1 ms during normal running (superposition on the 98.4 C steady state)
Tj0 = Ta + P * (R_jc + R_cs + R_sa)
print(f"extra 200 W for 1 ms: dTj = {200*Zth(1e-3):.1f} K -> Tj = {Tj0 + 200*Zth(1e-3):.1f} C; "
f"allowed extra pulse for 150 C: {(150 - Tj0)/Zth(1e-3):.0f} W")
# repetitive pulses, same 8 W average: 40 W for 2 ms every 10 ms
Pp, tp, T = 40.0, 2e-3, 10e-3
D = tp / T
exact = np.sum(Pp * R * (1 - np.exp(-tp / tau)) / (1 - np.exp(-T / tau))) # peak junction-case rise
approx = Pp * (D * R_jc + (1 - D) * Zth(tp + T) - Zth(T) + Zth(tp))
print(f"40 W, 2 ms / 10 ms: peak j-c rise exact {exact:.2f} K, approximation {approx:.2f} K, "
f"average {P*R_jc:.2f} K")
print(f"peak Tj = {Ta + P*(R_cs + R_sa) + exact:.1f} C (steady 8 W would give {Ta + P*(R_jc+R_cs+R_sa):.1f} C)")
# Foster -> Cauer (continued fraction of Y(s) = 1/Z(s)); s scaled to 1/ms for conditioning
N, Dn = np.array([0.0]), np.array([1.0]) # Z = N/Dn, highest power first
for r, t in zip(R, tau / 1e-3):
N = np.polyadd(np.polymul(N, [t, 1]), r * Dn)
Dn = np.polymul(Dn, [t, 1])
a, b = Dn, N[-len(Dn) + 1:] # Y = a/b
Rc, Cc = [], []
for k in range(len(R)):
c = a[0] / b[0]
a = (a - c * np.append(b, 0))[1:] # Y - sC
r = b[0] / a[0]
b = (b - r * a)[1:] # Z - R
Cc.append(c * 1e-3); Rc.append(r)
print("Cauer R (K/W):", " ".join(f"{r:.4f}" for r in Rc), f" sum {sum(Rc):.3f}")
print("Cauer C (J/K):", " ".join(f"{c:.4g}" for c in Cc))R_sa <= 7.45 K/W; with 6.0 K/W: Tj = 98.4 C, case 92.0 C, heatsink 88.0 C
t Zth_jc
1e-05 s 0.040 K/W
1e-04 s 0.152 K/W
1e-03 s 0.384 K/W
1e-02 s 0.646 K/W
1e-01 s 0.793 K/W
1e+00 s 0.800 K/W
extra 200 W for 1 ms: dTj = 76.7 K -> Tj = 175.1 C; allowed extra pulse for 150 C: 134 W
40 W, 2 ms / 10 ms: peak j-c rise exact 19.86 K, approximation 20.04 K, average 6.40 K
peak Tj = 111.9 C (steady 8 W would give 98.4 C)
Cauer R (K/W): 0.1157 0.2530 0.2740 0.1573 sum 0.800
Cauer C (J/K): 0.0002066 0.001138 0.01024 0.1778
The Foster curve rises from at to at and after about a second. An extra for , an overload or a short circuit before the protection acts, would take the junction to , at its absolute maximum; is the most that keeps it below . The same average delivered as pulses of every raises the peak junction temperature from to ; the approximation is within of the exact sum. The Cauer resistances differ from the Foster ones, but they add up to the same .
Cross-check in ngspice: Foster against Cauer on a heatsink
Both networks from the code, each on the pad and the heatsink with a heat capacity of (about of aluminium, so ). The capacitors start at their mean temperatures, so of simulated time reaches the periodic steady state without waiting for the heatsink.
cat > therm.cir <<'EOF'
* Thermal networks as circuits: volts = deg C, amperes = watts, ohms = K/W, farads = J/K
* the same junction-case Zth as a Foster chain (F) and as a Cauer ladder (K), each on a pad + heatsink
* 40 W for 2 ms every 10 ms (8 W average), ambient 40 C, heatsink pre-heated to its mean, 88 C
VAMB amb 0 40
IPF 0 jf PULSE(0 40 0 1u 1u 2m 10m)
R1F jf f1 0.08
C1F jf f1 250u IC=0.64
R2F f1 f2 0.22
C2F f1 f2 1.3636m IC=1.76
R3F f2 f3 0.30
C3F f2 f3 10m IC=2.4
R4F f3 cf 0.20
C4F f3 cf 0.15 IC=1.6
RCSF cf hf 0.5
RSAF hf amb 6
CHSF hf 0 54 IC=88
IPK 0 jk PULSE(0 40 0 1u 1u 2m 10m)
C1K jk 0 0.2066m IC=98.4
R1K jk k1 0.1157
C2K k1 0 1.138m IC=97.47
R2K k1 k2 0.2530
C3K k2 0 10.24m IC=95.45
R3K k2 k3 0.2740
C4K k3 0 0.1778 IC=93.26
R4K k3 ck 0.1573
RCSK ck hk 0.5
RSAK hk amb 6
CHSK hk 0 54 IC=88
.control
tran 5u 0.3 0 5u uic
meas tran foster_tj_peak max v(jf) from=0.29 to=0.3
meas tran foster_tc_pp pp v(cf) from=0.29 to=0.3
meas tran cauer_tj_peak max v(jk) from=0.29 to=0.3
meas tran cauer_tc_pp pp v(ck) from=0.29 to=0.3
meas tran cauer_tj_avg avg v(jk) from=0.29 to=0.3
.endc
.end
EOF
ngspice -b therm.cir 2>&1 | grep -E '^(foster|cauer)_[a-z_]+ +=' | awk '{print $1, $2, $3}'foster_tj_peak = 1.278671e+02
foster_tc_pp = 2.000119e+01
cauer_tj_peak = 1.118863e+02
cauer_tc_pp = 9.233639e-02
cauer_tj_avg = 9.842208e+01
The Cauer ladder gives a peak of , the Python result for a case held at its mean, and its case temperature ripples by only . The Foster chain shows the case swinging by (the full step through the pad at once) and a peak of : too pessimistic, an artefact of its form. Use Foster data for the device with an ideal case, and convert to Cauer before chaining it to anything else.
Interactive: the Cauer model in the netlist lab
The netlist lab solves the same Cauer ladder (as a circuit: volts are degrees Celsius, amperes are watts), starting from the steady state. It reads , i.e. , at the end of the first pulse (), at the end of the fifth (), close to the periodic , and just before the next pulse, while the case node stays between and . The slider sets the pulse power.
Guided lab: heating curve of a TO-220 resistor or MOSFET
Hand calculation. A TO-220 power resistor or MOSFET used as a heater on a small heatsink (say , ) at : final rise plus the junction term, time constant , so of the rise after about minutes.
Simulation. Use the netlist lab with one Cauer stage for the heatsink (, ) and a current source; set tstop to .
What you would measure. Heat the part from a bench supply at with the current limit set (a resistor draws , ; a MOSFET can be held in its linear region with a fixed gate voltage, current-limited by the supply). Log the heatsink temperature with a thermocouple under the device (Temperature Sensors) every for minutes. Fit : expect within of the datasheet (it depends on orientation and air movement) and a thermocouple uncertainty of to . For a MOSFET the body diode's forward voltage at a small sensing current (, calibrated first in an oven or water bath) gives the junction temperature itself.
Hazards and safe setup. The heatsink reaches to : mount it on a non-flammable surface, keep cables off it, and let it cool before touching. A MOSFET in linear mode can run away thermally (Power MOSFETs): keep the supply's current limit at the intended current and never leave the setup unattended.
Pitfalls
- Using from the datasheet for your board. It is measured on a standard test board; your copper, neighbours and enclosure differ.
- Ignoring the interface. A dry contact or a wrong pad can add more than the device's whole .
- Chaining Foster networks. Convert to Cauer first, or treat each stage with its own fixed boundary.
- Designing to . Lifetime and the rise argue for a margin of to ; ambient means the air inside the enclosure.
Practice
- With a fan, the heatsink becomes . Find at and .
- Using the table of , what single pulse of raises the junction by ?
- Why does a heatsink's time constant of several minutes not help against a overload?
Answer
- .
- .
- In the heat has not left the die and tab; only the first terms of (time constants of microseconds to milliseconds) are involved. The heatsink sets the steady state and slow overloads.
Test yourself
A device dissipates 8 W with , and at 40 °C ambient. The junction temperature is…
- 46.4 °C
- 86.4 °C
- 98.4 °C
- 128 °C
What does the transient thermal impedance tell you?
- the heatsink size
- the junction temperature rise per watt after a power step of duration , with the case held constant
- the ambient temperature
- the electrical impedance of the die
Why is a Foster network not suitable for chaining with a heatsink model?
- it has too few elements
- its internal nodes are not physical, and in series it passes every heat pulse to its output node instantly
- it ignores the junction
- it only works at DC
The same 8 W average is delivered as 40 W pulses of 2 ms every 10 ms. Compared with 8 W DC, the peak junction temperature is…
- the same
- lower
- higher (here 111.9 instead of 98.4 °C)
- five times higher