ViewWiki

The world, a little closer

Electronics.

Every phone and computer is built from billions of switches with no moving parts. Flip one with a small voltage and watch it light a bulb.

Explore the scene Interactive article

01 / The experiment

A switch with no moving parts.

Raise the gate voltage past the threshold, then look inside to watch a channel of electrons open beneath the gate.

Still of the Electronics 3D scene, which explores: How can a switch with no moving parts turn on and off billions of times a second?
Interactive scene

Loading the interactive version…

The explanation below is available while the scene loads.

An n-channel MOSFET with a 1.5 V threshold switches a 9 V, 0.5 A bulb. Its current follows the square law until the bulb itself limits it. The gate supply's meter shows that no current flows into the gate.The silicon is magnified enormously and not to scale; a real gate oxide is only a few atoms thick. Electrons and holes are far fewer than in reality, the bulb is treated as a fixed resistance, and the tiny current that leaks below the threshold is left out.

02 / Three gate voltages

Off, partly on, on.

The same transistor and bulb on a 9 volt battery. Only the gate voltage changes, and the gate itself draws no current.

Gate at 0 V01
SDG

Off

Below the threshold the p-type gap between source and drain has no free electrons. The switch is open.

Channel
None
Bulb current
0 A
Across the transistor
9 V
Bulb
Dark
Gate at 2 V02
SDG

Partly on

A thin channel forms. The transistor itself limits the current, which grows with the square of the voltage past the threshold.

Channel
Thin, pinched at the drain
Bulb current
0.06 A
Across the transistor
7.9 V
Bulb
Faint glow
Gate at 5 V03
SDG

On

A thick channel joins source to drain. The transistor drops a fraction of a volt and the bulb sets the current.

Channel
Full, end to end
Bulb current
0.48 A
Across the transistor
0.29 V
Bulb
Full brightness
The big idea

A voltage on an insulated gate draws electrons into a channel and controls a far larger current, without any current of its own. Billions of these make a computer.

I = ½k(VG − VT)²

A switch worked by a voltage

A light switch closes a gap between two pieces of metal: your finger moves something. A transistor closes a gap with a voltage instead. Raise the voltage on one of its three legs, the gate, and current flows between the other two, the source and the drain. Lower it and the current stops. A small voltage, drawing no current at all, controls a much larger current through something else, here a bulb on a 9 volt battery.

Inside the transistor

The kind in the scene, the commonest in the world, is a MOSFET: metal–oxide–semiconductor field-effect transistor. It starts as a block of p-type silicon, a trace of boron giving it a supply of holes, gaps in its bonds that move like positive charges. Into its surface go two wells of n-type silicon, rich in free electrons: the source and the drain.

Between the wells lies a short stretch of p-type silicon, and that is the gap. Electrons from the source cannot cross it, because the p-type silicon has almost no free electrons to carry them, so with the gate at zero no current flows and the bulb stays dark.

Over the gap, separated from it by a film of glassy silicon oxide, sits the gate. The oxide is an insulator, so the gate never touches the silicon. It acts on it from a distance, through its electric field.

Drawing a channel

Put a positive voltage on the gate and its charge pushes holes away from the surface beneath it and pulls electrons towards it. At first that only clears a thin layer of holes. Past a certain voltage, the threshold, so many electrons gather that a thin sheet just under the oxide turns n-type. This sheet, the channel, joins source to drain, and current flows.

Try it: set Gate voltage to 2 V, just past the threshold, and choose Channel under Zoom to the channel. Notice the channel thinning towards the drain. Then slide Gate voltage up to 5 V and compare the meter.

Back to the experiment

Just past the threshold the channel is thin and the transistor itself limits the current, which rises with the square of how far the gate is above the threshold. The channel also thins towards the drain, where the battery’s voltage works against the gate. Raise the gate further and the channel thickens until the transistor drops only a fraction of a volt. It is now a closed switch, and the bulb alone decides the current.

From one switch to a computer

A switch that one voltage turns on can drive the gate of the next switch. Wire a transistor so that a high voltage at its gate pulls its output low, and you have a NOT gate: on in, off out. Two transistors in series conduct only when both gates are high, an AND; two side by side conduct when either is, an OR. From such gates you can build circuits that add binary numbers, compare them and store them, and from those, a processor.

Real chips pair n-channel transistors with p-channel ones, which switch the opposite way, so that almost no current flows except at the moment of switching. A modern processor holds billions of transistors on a sliver of silicon the size of a fingernail, each gate tens of nanometres long. They can switch billions of times a second because nothing has to move except a thin sheet of electrons.

What this model leaves out

The scene is magnified enormously and not to scale. A real gate oxide is a few nanometres thick, a handful of atoms, and the channel is thinner still. The electrons and holes are drawn far fewer than there are.

The current follows the simple square law taught in textbooks; real transistors depart from it in short channels and at high fields, and a small current leaks through even below the threshold. The bulb is treated as a fixed resistance, though a real filament’s resistance rises as it heats. The tiny current that charges the gate when its voltage changes is not shown: once charged, the gate draws none.

Reuse with credit to ViewWiki and a link to this page.

04 / Learn this in a course

Practise it, step by step.

This lesson teaches the topic with checked questions.

  1. The transistor as a switch Physics · In the real world: power and signals