Thermal impedances and how to (not) melt your MOSFET.
If you have ever built a high-side switch for power distribution there is a good chance you have burned up a few transistors. It only takes a fraction of a second… once a pristine circuit board, now pitted with a smoldering crater. What happened?
MOSFETs are commonly used as switches to turn loads on and off in a power distribution system. A seemingly simple device for a simple function. Real power distribution systems rely on their switches to do more than just switch power– they provide protection.
- Turn on: The switch ramps the voltage gracefully to limit the inrush current into capacitive loads.
- Output short: The switch limits and arrests the fault current to protect the upstream bus.
- Voltage surge: The switch blocks a bus voltage surge to protect the downstream load.
Failure during the steady-state condition when the MOSFET is fully-enhanced is rare if you checked the basic math. The MOSFET power dissipation and junction temperature in this scenario are well understood: the channel resistance multiplied by the square of the current, scaled by the MOSFET junction thermal impedance to the surrounding environment.
It is the transient cases listed above that will doom the device because on short timescales the heat is concentrated at the junction before slowly diffusing out to the environment. The heat can be very substantial: the fault current can be immense, the transistor may be driven in its linear region as part of its protective behavior, or both.
Consider LTC4364 as a state-of-the-art integrated load switch controller to be paired with a discrete MOSFET of your choice. With 10 pages dedicated to explaining its working principles and how to appropriately set its current limits and fault timers, take it as an example for how detailed of an analysis is required for a circuit containing just two active components.
Selecting a MOSFET for its thermal characteristics
I always start by filtering down candidate devices by a minimum drain-source voltage rating to withstand the bus voltage and a maximum drain-source on-resistance to limit the steady-state power dissipation. Then it’s just a matter of finding the device with the best thermals in your favorite package from your favorite vendor. Generally speaking, larger devices do a better job of soaking up heat and transferring it from the junction to the case.
A recently introduced device from Vishay, SQJQ160EL, caught my eye. The thermal resistance ratings on the cover page deserve a first look. The junction-to-ambient thermal resistance will suggest whether you have hope of running this device on the bench without a fan. The junction-to-case thermal resistance will tell you whether your device will survive in its final application where your thermal solution (ie. heatsink) will control the temperature of the case.
Both of these thermal resistances are steady-state specifications and say nothing about high-dissipation transient cases. To understand how the MOSFET handles those, we need to scroll down to the most useful chart in the entire datasheet. No, not this one!
This one.
For a transient case, the designer needs to estimate how much power is dissipated and for how long. This chart then translates those conditions to how much the junction temperature will rise relative to the case. For load switches it is usually the single pulse curve that is relevant.
Take the LTC4364 controller as an example. If the controller is setup to limit the fault current to 20A while driving into a dead short from a 30V bus, the power dissipation is 600W. If the fault timer is 200us, the thermal impedance of the single pulse is 0.043C/W and the junction temperature rise is therefore 25.8C relative to the case temperature. The MOSFET fails when its junction temperature exceeds 175C; if the case is maintained at no more than 100C we will have plenty of margin against failure.
Modeling the transient thermal impedance
Simulating a load switch in SPICE is almost always value-added in my opinion as it will validate your napkin calculations and verify some more complicated transient cases. Many MOSFET vendors now provide SPICE models for their devices which include an output for the junction temperature. Useful!
Vishay has a nice application note on how MOSFET transient thermal impedances are typically modelled with RC networks. Thermal networks and linear circuits are analogous:
- Resistance (Ohm) is Thermal Impedance (K/W)
- Capacitance (F) is Thermal Capacitance (J/K)
- Voltage (V) is Temperature (K)
- Current (A) is Heat (W)
Our selected MOSFET is without a provided thermal impedance model so let’s generate our own by numerically fitting the RC values to match the single-pulse curve. The first step is to get the curve data into MATLAB… automeris.io is super good for this as it can filter by line color and automatically sample the data. Copy the CSV data into a .mat file and we are in business.
load single_pulse.mat
t_data = logspace(-6,0,25);
r_data = 0.43*interp1(single_pulse(:,1),single_pulse(:,2),t_data,'pchip','extrap');
loglog(t_data,r_data,'bo-')
To start fitting the optimizer needs an initial guess. I found that logarithmically sampling the junction-to-case resistance and then selecting a corresponding capacitance to set the time constant for each tank was a reasonable place to start. The optimizer runs a single pulse transient simulation for the tank circuit and compares it to the datasheet curve; very quickly we obtain a good fit.
order = 4; % order of the foster model tank circuit
ff = 1.2; % fudge-factor for generating a reasonable initial guess
r_base = r_data(1)/ff;
r_model = logspace(log10(r_data(1)*ff),log10(r_data(end)/ff),order);
r_model = (r_data(end)-r_base)*r_model/sum(r_model);
c_model = [];
for r = r_model+r_base
idx = find(r<r_data,1);
c_model(end+1) = t_data(idx)/r*ff;
end
fun = @(x,xdata) log10(foster_single_pulse(x, r_base, xdata));
x = lsqcurvefit(fun,[r_model,c_model],t_data,log10(r_data),zeros(1,order*2),[]);
r_fit = foster_single_pulse(x, r_base, t_data);
loglog(t_data, r_data, 'k--'), hold on
loglog(t_data, r_fit, 'r')
The function foster_single_pulse performs the single pulse transient simulation for the tank circuit. It formulates the problem as an ordinary differential equation and uses the ode23s solver to integrate it.
function r_data = foster_single_pulse(x, r_base, t_data)
n = size(x,2);
r_model = x(1:n/2)';
c_model = x(n/2+1:end)';
odefun = @(t,T) (1-T./r_model)./c_model;
[t_fit,y] = ode23s(odefun,[0,t_data(end)],zeros(n/2,1));
r_fit = sum(y,2) + r_base;
r_data = interp1(t_fit, r_fit, t_data, 'pchip', 'extrap');
end
We have thus derived the following tank circuit. I additionally ran some simulations for other periodic transients similar to the curves shown in the datasheet alongside the single pulse.
A real circuit implementation?
Here is a thought: has anyone ever tried to implement the thermal impedance network as a real physical circuit? If we measured the MOSFET case temperature and its power dissipation, we could use this network to estimate the junction temperature and therefore implement a thermal shutdown.
The network as derived above isn’t reasonable as is because the resistors are too small and the capacitors/current/voltage are all too big. A quick rescaling and conversion to a Cauer network (using MATLAB’s surprisingly convenient function ee_getCauerFromFoster) resulted in the following totally reasonable circuit.
The real challenge here is to build an analog multiplier to monitor the MOSFET power dissipation with a bandwidth of at least 1MHz. You can buy chips that do this (for $15 apiece) but where is the fun in that? A project for another day.