MOSFET as a switch
On this page
A water valve can be held open by air pressure on a diaphragm. The pressure holds it open, and no air flows while it stays open. A MOSFET used as a switch works the same way: a voltage on its gate opens a path for a large current, and the gate takes no steady current.
See it
A MOSFET that is fully on carries 2 A and makes 0.16 W of heat. The load is changed and it now carries 4 A. How much heat does it make?
The values are for an IRLZ44N (logic-level) and an IRFZ44N (standard) in the TO-220 package, in air at 25 °C with no heatsink: the chip rises 62 °C for each watt. The chip must stay below 175 °C. The heat grows with the square of the current, so the temperature climbs fast at the right of the slider.
The idea
A MOSFET has three legs: the gate, the drain and the source. The voltage from gate to source, VGS, controls the path from drain to source. The gate is insulated, so it takes no steady current. It takes only a short pulse each time the pin changes.
The threshold voltage, VGS(th), is where the MOSFET only starts to conduct. To be fully on it needs a gate voltage well above that. A logic-level MOSFET is made to be fully on at 3.3 V to 5 V, so a pin can drive it. A standard one needs about 10 V.
When it is fully on, the path behaves as a small resistor, RDS(on). The datasheet gives it at a stated gate voltage. The heat is:
P is the heat in watts, I the load current in amperes, RDS(on) the resistance when on, in ohms
The current is squared, so twice the current gives four times the heat. At a high current, a MOSFET needs a heatsink even when fully on.
One worked number
An IRLZ44N, driven from a 3.3 V pin, switches a 12 V DC pump that takes 3 A. Take RDS(on) as 0.04 Ω at 3.3 V. How much heat does it make, and how hot is the chip with no heatsink in air at 25 °C (62 °C for each watt)?
Show the worked solution, 3 steps
- Square the current
3 A × 3 A = 9 A2.
- Multiply by the resistance
P = 9 × 0.04 Ω = 0.36 W.
- Find the chip temperature
0.36 W × 62 °C per watt = 22.3 °C above the air, so the chip is at 47.3 °C, far below 175 °C. The figure opens at this case. Thermal resistance explains the 62 °C per watt.
The mistake to avoid
A second trap: a gate connected to nothing floats, for example while the controller starts, and can switch on by itself. A 10 kΩ resistor from gate to source holds it off.
Check yourself
A MOSFET with RDS(on) = 0.025 Ω carries 6 A. How much heat does it make?
An IRFZ44N (threshold 2 to 4 V, rated 49 A) is driven straight from a 3.3 V pin to switch a 4 A heater. It becomes very hot. Why?
A logic-level MOSFET keeps a 10 A load on for an hour. How much steady current does the pin give to the gate during that hour?
Where you meet it
- DC pumps and fansA controller at a solar water site or a cold room switches a DC pump or fan with a MOSFET.
- Solenoid valvesA MOSFET switches the valve coil, with a flyback diode across it.
- Solar charge controllersMOSFETs carry the full panel current, which is why they sit on a heatsink.
- Battery protectionA MOSFET disconnects the load at a remote site when the battery runs low.
- The gate voltage controls the MOSFET. The gate takes no steady current.
- The threshold is where it starts to conduct. A pin needs a logic-level part.
- When fully on it is a small resistance: heat = I² × RDS(on).
- Twice the current gives four times the heat.
Discussion
No comments yet. Questions, results from your own build, a better way to explain it: all welcome.
My notes on this page
Kept on this device only. Nothing is sent anywhere.
Tip: select words in the lesson, or tap a figure or an equation, to put a note right there.
Notes on earlier wording
The lesson has changed and these words are no longer in it. Your notes are kept, with the words you chose.