# MOSFET loss and junction temperature estimation, step by step

Before you choose a heatsink, you need two numbers for each switch: how much power it dissipates, and how hot its junction gets. Both come from the data sheet and a few lines of arithmetic, as long as you remember that the losses depend on the temperature you are trying to find. This article estimates the losses of the high-side MOSFET in a 48 V to 12 V buck, then solves for its junction temperature by iteration.

## The operating point

- $V_{in} = 48$ V, $V_{out} = 12$ V, $I_o = 10$ A, $f_{sw} = 100$ kHz, so $D = 0.25$.
- Inductor ripple ratio $r = \Delta I / I_o = 0.3$.
- MOSFET data: $R_{DS(on)} = 10$ mΩ at 25 °C; rise and fall times under these conditions $t_r = t_f = 20$ ns; effective output capacitance $C_{o(er)} = 500$ pF; total gate charge $Q_g = 30$ nC at $V_{GS} = 10$ V.
- Thermal path: $R_{th,jc} = 1.0$ K/W, interface $R_{th,cs} = 0.5$ K/W, heatsink $R_{th,sa} = 20$ K/W, ambient $T_a = 50$ °C.

These values are an example. Take yours from the data sheet of the part you are considering, at its test conditions.

## Conduction loss

The high-side switch carries the inductor current during $DT_s$. For a trapezoidal current with ripple ratio $r$:

$$I_{rms} = I_o \sqrt{D\left(1 + \frac{r^2}{12}\right)} = 10\sqrt{0.25 \times 1.0075} = 5.02\ \text{A}$$

$$P_{cond} = I_{rms}^2\, R_{DS(on)}(T_j)$$

$R_{DS(on)}$ rises with temperature. Data sheets give a normalised curve; for many silicon MOSFETs it is about 1.5 to 1.8 times the 25 °C value at 125 °C. Model it here as

$$R_{DS(on)}(T_j) = R_{DS(on),25}\,[1 + \alpha (T_j - 25)], \qquad \alpha = 0.007\ \text{K}^{-1}$$

which gives 1.7 times at 125 °C. Read your own curve instead when you have it.

![The 48 V to 12 V, 10 A, 100 kHz buck simulated in Voltecx, with the high-side switch S1 at its on-resistance.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/mosfet-loss-and-thermal-estimation/buck.svg)

![Two switching periods in steady state from Voltecx: the switch current i(S1), the inductor current i(L1) with 3 A of ripple, and the switch node v(sw).](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/mosfet-loss-and-thermal-estimation/switch-current.svg)

The simulation of this buck gives a switch RMS current of 5.00 A. It is slightly below 5.02 A because the output settles at 11.96 V, not 12 V, so the load draws a little less than 10 A.

## Switching loss

During each transition, voltage and current overlap. With a linear approximation of a hard-switched transition:

$$P_{sw} = \frac{1}{2} V_{in} I_o (t_r + t_f) f_{sw} = \frac{1}{2} \times 48 \times 10 \times 40\,\text{ns} \times 100\,\text{kHz} = 0.96\ \text{W}$$

When the data sheet gives switching energies $E_{on}$ and $E_{off}$ at a test voltage $V_{test}$ and current $I_{test}$, a first scaling is

$$P_{sw} \approx (E_{on} + E_{off}) \frac{V_{in}}{V_{test}} \frac{I_o}{I_{test}} f_{sw}$$

Both forms are estimates. Switching energy depends on gate resistance, the driver, the diode's reverse recovery and the loop inductance of your layout. If the gate resistance differs from the test condition, use the data sheet's energy-versus-$R_G$ curve.

## Output capacitance and gate losses

At hard turn-on, the energy stored in the switch's output capacitance is dissipated in its channel:

$$P_{oss} = \frac{1}{2} C_{o(er)} V_{in}^2 f_{sw} = \frac{1}{2} \times 500\,\text{pF} \times 48^2 \times 100\,\text{kHz} = 0.058\ \text{W}$$

Use $C_{o(er)}$, the energy-related value, not the small-signal $C_{oss}$ at one voltage. Some data sheets give $E_{oss}$ directly.

The gate drive takes

$$P_g = Q_g V_{GS} f_{sw} = 30\,\text{nC} \times 10\ \text{V} \times 100\,\text{kHz} = 0.03\ \text{W}$$

Most of it is dissipated in the driver and the gate resistors, not in the MOSFET, so leave it out of the junction's budget but include it in the efficiency.

## The thermal path

At steady state the junction sits above ambient by the dissipated power times the thermal resistances in series:

$$T_j = T_a + P_{tot}\,(R_{th,jc} + R_{th,cs} + R_{th,sa}) = 50 + 21.5\,P_{tot}$$

The catch is that $P_{tot}$ depends on $T_j$ through $R_{DS(on)}$. Solve it by iteration.

## Iterating to the junction temperature

**Start with a guess of 100 °C.**
$R_{DS(on)} = 10 \times [1 + 0.007 \times 75] = 15.3$ mΩ, so $P_{cond} = 25.2 \times 0.0153 = 0.384$ W.
$P_{tot} = 0.384 + 0.96 + 0.058 = 1.40$ W, so $T_j = 50 + 21.5 \times 1.40 = 80.1$ °C.

**Second pass at 80.1 °C.**
$R_{DS(on)} = 10 \times [1 + 0.007 \times 55.1] = 13.9$ mΩ, so $P_{cond} = 0.349$ W.
$P_{tot} = 1.37$ W, so $T_j = 79.4$ °C.

**Third pass at 79.4 °C.** $P_{cond} = 0.348$ W and $T_j = 79.4$ °C. The iteration has converged.

![Heat made in the switch (the conduction loss simulated in Voltecx at each junction temperature, plus the 0.96 W switching and 0.058 W Coss losses) and heat the thermal path removes, against junction temperature. They cross at 79.4 °C.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/mosfet-loss-and-thermal-estimation/junction-temperature.svg)

The plot shows the same fixed point found graphically. The conduction losses come from simulations of the buck with $R_{DS(on)}(T_j)$ at 25 °C to 150 °C. The line of heat removed is much steeper than the curve of heat made, which is why the iteration converges in three passes.

The junction runs at about 79 °C at 50 °C ambient, and switching loss is 70 % of the total. That points to the levers worth pulling: a faster gate drive, a lower switching frequency, or a part with lower switching energy. A lower $R_{DS(on)}$ alone would change little.

The fixed-point iteration converges when the temperature coefficient is small compared with the thermal gain. If each pass gives a higher temperature than the last without settling, the device is in thermal runaway at that operating point, and you need a larger heatsink or a different part.

## Beyond steady state

- **Transient loads.** For pulses shorter than the heatsink's time constant, use the transient thermal impedance $Z_{th,jc}(t)$ from the data sheet instead of $R_{th,jc}$. It is often given as a Foster RC network that you can simulate directly.
- **Temperature dependence of switching loss.** Switching energies also change with temperature, usually by less than $R_{DS(on)}$. Data sheets that give $E_{on}$ and $E_{off}$ at two temperatures let you interpolate.
- **The low-side switch.** In a synchronous buck it conducts for $(1-D)$ of the period and switches at nearly zero voltage, so its loss is mostly conduction, body-diode conduction during the dead time and reverse recovery. See [dead-time effects](https://voltecx-web.nguyenvanqui291.workers.dev/blog/dead-time-effects).

The loss equations follow standard treatments such as R. W. Erickson and D. Maksimović, *Fundamentals of Power Electronics*, 3rd ed., and manufacturers' application notes on MOSFET power loss. Device values come from the data sheet of the part.

## Try it in Voltecx

- The `buckThermal` example adds a thermal model that heats the MOSFET junction during the run, and `inverter3Thermal` does the same for every device of a three-phase inverter.
- `analysis.losses` returns the average conduction and switching loss of each switch and diode over a time window, and `analysis.thermal` the temperatures of a circuit with a thermal network.
- `design.efficiency` gives the efficiency at four loads and the loss of each device at full load. `design.thermal` gives each junction temperature and the heatsink thermal resistance you need.
- In `design.auto`, the operatingTemperature stage reads the conduction model again at the junction temperature it found, then runs efficiency and thermal again: the same iteration as above.

The built-in vendor library has 22 parts digitised from manufacturers' data sheets, each with its source. The data sheets of the low-voltage MOSFETs in it give gate charge and switching times but no switching energy, so those parts add no switching loss in the simulation. Their notes list the charges and times for a hand estimate like the one in this article.
