Skip to content
You Start with one site
Amounts in Start with one site
Electronics · Concept

MOSFET as a switch

One idea Intermediate 5 min read
Found this useful?

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.

GateThe control. A voltage here turns it on.No steady current
DrainThe load connects here. The large current comes in.Amperes
SourceThe current leaves here, to 0 V.The reference for the gate

See it

Predict first

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?

See it: a pin, a MOSFET and a 12 V pump

Resistance when on
Heat in the MOSFET
Chip temperature, no heatsink

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 = I2 × RDS(on)

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

The question

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
  1. Square the current

    3 A × 3 A = 9 A2.

  2. Multiply by the resistance

    P = 9 × 0.04 Ω = 0.36 W.

  3. 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

The threshold voltage is the voltage that turns the MOSFET on. It is the voltage where it starts to conduct. A standard MOSFET with a threshold of 2 to 4 V is only partly on at 3.3 V, or not on at all. Partly on, its resistance is high and it gets hot. Read the RDS(on) line of the datasheet: it states the gate voltage it needs.

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

Question 1

A MOSFET with RDS(on) = 0.025 Ω carries 6 A. How much heat does it make?

Question 2

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?

Question 3

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.
Key points
  • 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.
Found this useful?

Discussion

    Comments show your name. Be kind, stay on the topic.