2.4.14

MOSFET as a switch

1,721 words8 min readdifficulty · medium3 backlinks

WHAT is happening (the mental model)

For an N-channel enhancement MOSFET (the most common switch), three terminals matter:

  • Gate (G) — the control knob.
  • Drain (D) — usually the load/high side.
  • Source (S) — the reference (tied to ground in a low-side switch).

The switch state is decided entirely by VGSV_{GS}, not by the drain voltage:

  • VGS<VTHV_{GS} < V_{TH}cut-off → switch OPEN.
  • VGSVTHV_{GS} \gg V_{TH} (fully driven) → triode / ohmic region → switch CLOSED, acts like a tiny resistor RDS(on)R_{DS(on)}.
Figure — MOSFET as a switch

HOW: deriving the ON-resistance and power loss from first principles

Step 1 — Drain current in the triode region

Why start here? Because "closed switch" = deep triode, and we need to know how resistive it is.

From the gradual-channel model, the triode-region current is:

ID=k[(VGSVTH)VDSVDS22],k=μnCoxWLI_D = k\left[(V_{GS}-V_{TH})V_{DS} - \frac{V_{DS}^2}{2}\right], \qquad k=\mu_n C_{ox}\frac{W}{L}

Why this step? μnCox\mu_n C_{ox} is charge-mobility per area, and W/LW/L scales how wide/short the channel is — bigger W/LW/L = more current = better switch.

Step 2 — The small-VDSV_{DS} approximation

When the switch is closed, VDSV_{DS} is small, so the VDS2/2V_{DS}^2/2 term is negligible:

IDk(VGSVTH)VDSI_D \approx k(V_{GS}-V_{TH})\,V_{DS}

Why this step? A switch carrying real current should drop only millivolts across itself; the quadratic term is second order.

Step 3 — Read off the ON-resistance

Rearrange VDS/IDV_{DS}/I_D:

RDS(on)=VDSID=1k(VGSVTH)\boxed{R_{DS(on)} = \frac{V_{DS}}{I_D} = \frac{1}{k(V_{GS}-V_{TH})}}

Step 4 — Conduction power loss

When ON and carrying load current IDI_D:

Pcond=ID2RDS(on)P_{cond} = I_D^2\, R_{DS(on)}

Why this step? It's just Joule heating in the on-resistance — the fundamental reason low RDS(on)R_{DS(on)} matters.

Step 5 — Output voltage of a low-side switch

With load resistor RLR_L from VDDV_{DD} to the drain, and source grounded, the drain node acts as the output:

Vout=VDDRDS(on)RDS(on)+RLV_{out}=V_{DD}\,\frac{R_{DS(on)}}{R_{DS(on)}+R_L}

  • OFF: RDS(on)VoutVDDR_{DS(on)}\to\infty \Rightarrow V_{out}\approx V_{DD} (HIGH).
  • ON: RDS(on)RLVout0R_{DS(on)}\ll R_L \Rightarrow V_{out}\approx 0 (LOW).

Why this step? Shows the switch inverts logic in this topology and why we want RDS(on)RLR_{DS(on)}\ll R_L.


Worked examples


Common mistakes (steel-manned)


Recall

Recall Active recall — cover the answers
  • What variable decides ON/OFF? ⇒ ==VGSV_{GS} relative to VTHV_{TH}==
  • Which region = "closed switch"? ⇒ triode/ohmic
  • Formula for on-resistance? ⇒ RDS(on)=1k(VGSVTH)R_{DS(on)}=\frac{1}{k(V_{GS}-V_{TH})}
  • Conduction power loss? ⇒ P=ID2RDS(on)P=I_D^2R_{DS(on)}
  • How to make a better switch? ⇒ ==increase overdrive VGSVTHV_{GS}-V_{TH}== (and W/LW/L)
Recall Feynman: explain to a 12-year-old

Imagine a garden hose with a squeeze-valve. The gate is your hand. Squeeze hard (high gate voltage) and water rushes through easily — the "pipe" is wide open, switch CLOSED. Let go and the pipe pinches shut, no water — switch OPEN. The clever part: pinching only needs your fingers pressing (voltage), not your muscles pumping (current). That's why a MOSFET switch controls big power with a tiny gentle signal. But even a fully-open pipe has some friction (that's RDS(on)R_{DS(on)}), so the more you squeeze, the smoother the flow.


Connections

  • Enhancement vs Depletion MOSFET
  • Triode vs Saturation regions
  • Threshold voltage VTH
  • BJT as a switch (compare: current-controlled vs voltage-controlled)
  • R_DS(on) and switching losses
  • Low-side vs High-side switching
  • Logic gates from MOSFETs (CMOS)

What terminal voltage controls a MOSFET switch's ON/OFF state?
VGSV_{GS} relative to VTHV_{TH}
Which operating region corresponds to a CLOSED MOSFET switch?
Triode (ohmic) region
Which region corresponds to an OPEN switch?
Cut-off (VGS<VTHV_{GS}<V_{TH})
Write the triode-region drain current equation.
ID=k[(VGSVTH)VDSVDS2/2]I_D=k[(V_{GS}-V_{TH})V_{DS}-V_{DS}^2/2]
Give the ON-resistance formula from the small-VDSV_{DS} approximation.
RDS(on)=1/[k(VGSVTH)]R_{DS(on)}=1/[k(V_{GS}-V_{TH})]
How does increasing VGSV_{GS} affect RDS(on)R_{DS(on)}?
It decreases it (larger overdrive → denser channel → lower resistance)
What is the conduction power loss in an ON MOSFET?
P=ID2RDS(on)P=I_D^2 R_{DS(on)}
Why isn't a closed MOSFET a perfect short?
It has finite RDS(on)R_{DS(on)} that dissipates heat
Why can't a plain N-channel high-side switch turn on with gate at VDDV_{DD}?
Source rises to ~VDDV_{DD}, so VGS0<VTHV_{GS}\to0<V_{TH}; needs gate boosted above VDDV_{DD}
In a low-side switch, what is VoutV_{out} when the MOSFET is OFF?
VDDV_{DD} (no current, no drop across load)

Concept Map

compared to

VGS below VTH

VGS far above VTH

switch

switch

acts like

higher overdrive lowers

Joule heating

voltage divider

forms divider with

gives

Gate voltage VGS

Threshold VTH

Cut-off / OFF

Triode region / ON

Switch OPEN

Switch CLOSED

R_DS on resistance

Conduction loss I_D squared R

Output voltage V_out

Load resistor R_L

Insulated gate oxide

Near-zero gate current

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, MOSFET ko ek switch ki tarah samajho jise voltage se control karte hain. Iska sabse important terminal hai Gate. Jab tum gate pe threshold voltage VTHV_{TH} se zyada voltage lagate ho (yaani VGS>VTHV_{GS}>V_{TH}), tab drain aur source ke beech ek conducting channel ban jaata hai — switch CLOSED. Aur jab gate pe voltage kam kar do, channel gayab, switch OPEN. Sabse mast baat: gate ke upar oxide ki insulation hoti hai, isliye control karne mein current almost zero lagta hai — chhota signal se bada power handle!

Switch ke liye hum chahte hain ki transistor ya to poori tarah OFF ho, ya deep triode region mein ho (fully driven). Triode mein VDSV_{DS} bahut chhota hota hai aur MOSFET ek chhote resistor RDS(on)R_{DS(on)} jaisa behave karta hai. Formula: RDS(on)=1k(VGSVTH)R_{DS(on)}=\frac{1}{k(V_{GS}-V_{TH})}. Iska matlab — gate ko jitna zyada drive karoge (overdrive VGSVTHV_{GS}-V_{TH} badhaoge), utna RDS(on)R_{DS(on)} kam, utni kam heat. Isliye rated voltage se bhi upar tak gate ko "hard drive" karte hain.

Power loss ka funda simple hai: ON state mein P=ID2RDS(on)P=I_D^2 R_{DS(on)} — bas Joule heating. Isliye datasheet mein sabse pehle RDS(on)R_{DS(on)} dekhte hain. Ek common galti: log samajhte hain ki closed switch perfect short (0 ohm) hai — nahi bhai, thoda resistance hamesha rehta hai aur wahi heat banata hai. Doosri galti: N-channel high-side switch mein gate ko VDDV_{DD} se hi ON karne ki koshish — magar source bhi VDDV_{DD} tak chadh jaata hai, VGSV_{GS} zero ho jaata hai, switch OFF! Uske liye bootstrap chahiye ya P-channel use karo. Yaad rakho: Gate votes, Drain obeys.

Go deeper — visual, from zero

Connections