Semiconductors: diodes and transistors · Part 15 of 36
MOSFETs: voltage-controlled switches
Intermediate 16 min
How MOSFETs switch with a gate voltage, threshold vs logic-level drive, R_DS(on) and losses, body diodes, and why CMOS logic is built from them.
What you will learn
- You can explain how a gate voltage controls a MOSFET channel.
- You can choose a logic-level N-channel MOSFET for a load.
- You can estimate conduction losses with R_DS(on).
Before this: Bipolar transistors (BJTs)
Controlled by voltage, not current
A MOSFET (metal–oxide–semiconductor field-effect transistor) has a gate (G), drain (D) and source (S). The gate sits on a thin insulating oxide layer: no DC current flows into it. Instead, a voltage between gate and source creates an electric field that opens a conducting channel between drain and source.
- N-channel (enhancement): gate positive relative to source → on. Used as a low-side switch.
- P-channel: gate negative relative to source → on. Used as a high-side switch.
Because the gate draws no steady current, a MOSFET can be held on with almost no power — ideal for battery devices.

Threshold is not "on"
Datasheets list a gate threshold voltage V_GS(th), e.g. 1–2.5 V. That's where the MOSFET starts to conduct — a few hundred microamperes! For a real switch, look at the R_DS(on) specified at a given V_GS, like "R_DS(on) = 25 mΩ at V_GS = 4.5 V". If your microcontroller only provides 3.3 V, you need a logic-level MOSFET with R_DS(on) specified at 2.5 V or 3.3 V, or a gate driver.
Losses
When fully on, a MOSFET behaves like a small resistor:
P = I² × R_DS(on)
A 25 mΩ MOSFET carrying 5 A dissipates 5² × 0.025 = 0.625 W — warm but manageable; a BJT with V_CE(sat) = 0.3 V would waste 1.5 W. That's why power switching today is mostly MOSFETs (and, at high voltages, IGBTs and the wide-bandgap devices of the power-electronics module).
In fast switching there are also switching losses: during each transition, voltage and current overlap briefly. And the gate is a capacitor (often a few nanofarads): to switch quickly, a gate driver must push and pull amperes of short current pulses. A 100 Ω gate resistor and a weak GPIO pin make switching slow and hot.
Practical circuit
+12 V ── load ── D
N-MOSFET
GPIO ── 100 Ω ── G
100 kΩ to GND (pull-down keeps it off at reset)
S ── GND
The small series resistor tames ringing; the pull-down keeps the gate from floating (and the load from switching on randomly) while the microcontroller boots.

The body diode and static
Power MOSFETs have a built-in body diode from source to drain. It conducts if the drain goes below the source — useful as a freewheeling path in motor bridges, a trap when you try to block reverse current (two MOSFETs back to back solve that). The thin gate oxide is sensitive to electrostatic discharge; handle MOSFETs with grounded wrist straps on a mat.
CMOS: the logic of the world
Pair an N-channel and a P-channel MOSFET between supply and ground with their gates connected, and you get a CMOS inverter: input high → output low, input low → output high, and in either steady state one transistor is off, so almost no current flows. Every logic gate, microcontroller and processor is built from such pairs — billions of them in a modern chip, with gate lengths now marketed as "3 nm" and "2 nm" process generations (2022–2025), names that no longer equal any physical dimension.
Key points
- MOSFETs are voltage-controlled: gate–source voltage opens a channel; no steady gate current.
- V_GS(th) is where conduction starts; use R_DS(on) at your actual gate voltage (logic-level parts for 3.3 V).
- Conduction loss P = I² × R_DS(on); gate charge needs drive current for fast switching.
- Add a gate pull-down and series resistor; mind the body diode and ESD.
- CMOS pairs N- and P-channel MOSFETs and is the basis of all digital chips.
Flashcards
- Question: Why does a MOSFET gate draw no steady current?
- Answer: It is insulated from the channel by a thin oxide layer.
- Question: What does V_GS(th) tell you?
- Answer: Where the MOSFET just begins to conduct — not where it is fully on.
- Question: What is the conduction loss of a MOSFET?
- Answer: I² × R_DS(on).
- Question: Why add a pull-down resistor to the gate?
- Answer: To keep the MOSFET off while the driving pin is floating (e.g. during reset).
Check yourself
Think about your answer, then open it. In the app the quiz is interactive, earns points and brings back what you missed.
A MOSFET with R_DS(on) = 40 mΩ carries 3 A. Conduction loss (in W)?
Show the answer
0.36 W (± 0.005 W)
P = I² × R = 9 × 0.04 = 0.36 W.
Source: Sedra & Smith, ch. 5
Your microcontroller drives 3.3 V. Which datasheet line matters most?
- R_DS(on) specified at V_GS = 2.5 V or 3.3 V
- V_GS(th) = 2 V
- Maximum V_DS = 60 V
- Package size
Show the answer
R_DS(on) specified at V_GS = 2.5 V or 3.3 V
Threshold only marks the start of conduction; you need guaranteed low resistance at your drive voltage.
Source: The Art of Electronics, 3.5
Which statements are true for an enhancement N-channel MOSFET?
- A positive V_GS turns it on
- Its gate draws steady current like a BJT base
- It has a body diode from source to drain
- It suits low-side switching
Show the answer
A positive V_GS turns it on; It has a body diode from source to drain; It suits low-side switching
The insulated gate draws no steady current.
Source: Sedra & Smith, ch. 5
In a CMOS inverter with input high, which transistor conducts?
- The N-channel MOSFET
- The P-channel MOSFET
- Both
- Neither
Show the answer
The N-channel MOSFET
High input turns the NMOS on (output pulled low) and the PMOS off.
Source: Sedra & Smith, ch. 14
Sources
- Microelectronic Circuits (8th ed.), Sedra & Smith, Oxford University Press, 2020
- The Art of Electronics (3rd ed.), Horowitz & Hill, Cambridge University Press, 2015
- MIT OpenCourseWare 6.012 Microelectronic Devices and Circuits, MIT, 2009
Facts checked on 2026-11-30. Skillgrove lessons are free learning material — no certificate and no accreditation.