+−1.5 V01NMOSSDGPMOS01+1.0 V0 VVth010.0 VCHIPSIDE VIEW (CUT OPEN)SGDnngate plateoxidep-type siliconchannel (electrons)
Lit trace: current is flowing (moving dashes)Gate trace: tinted while the gate is held high (a voltage, no current, no dashes)Dial: sets the gate voltage; the tick marks the threshold VthTransistor: S source, D drain, G gate (front); the glowing strip is the channelA transistor is a switch with no moving parts. The tap shows the idea: a small turn of a handle controls a big flow. On the board, a 1.5 V battery, a resistor and a bulb are wired in a loop through an n-channel MOSFET to ground. Turning the gate dial above the threshold voltage (0.43 V in the cited textbook process) opens a channel between drain and source; current flows and the bulb lights. Back at 0 V, it goes dark. A lit trace with moving dashes means current is flowing; the gate trace only takes a tint, because the gate holds a voltage but draws almost no current. The PMOS on the right does the opposite of the NMOS: with its source at +1.0 V and its gate tied to 0 V it is on, and its lamp lights. The chip stands for the billions of such switches in a real processor. The board circuit is a teaching model: the 1.5 V cell, the bulb and the 0 V / 1.0 V gate settings show the idea and are not taken from one datasheet.

The idea

  1. A small turn of the handle controls a big flow of water. A transistor is the same idea for electricity: a small voltage on one pin controls a big current through the other two.

The circuit

Switching

Bigger picture

In detail

;; step 1/12 · tap
Analogy
  handle  -> gate      (the small control)
  water   -> current   (the big flow)
  pipe in -> drain, pipe out -> source
Unlike a tap, nothing in a transistor moves: it is switched by voltage alone.

The board circuit is a teaching model: the 1.5 V cell, the bulb and the 0 V / 1.0 V gate settings show the idea and are not taken from one datasheet. Threshold values: NMOS 0.43 V and PMOS -0.4 V for the generic 0.25 µm CMOS process in MIT 6.374 (after Rabaey, Chandrakasan and Nikolić, Digital Integrated Circuits). The exact value depends on the process and the device. Below the threshold a real transistor is not perfectly off: a small leakage current still flows. This lesson treats it as zero.