Electronics / Transistors

Transistors

A transistor lets a small signal control a large current. See its three terminals, follow 0.1 mA steering 10 mA, and watch it work as a switch, an amplifier and a logic gate.

Beginner6 steps~7 min
Transistor — the valve: base, collector, emitter
Control signal — the small input at the base or gate
Main current — the large current being controlled
// THE SHORT VERSION

In 30 seconds

A transistor is an electrically operated valve with three terminals. A small signal at the control terminal decides how much current flows between the other two.

Use the two extremes, fully off and fully on, and it is a switch. Use the range in between and it is an amplifier: a small wiggle going in comes out as a large one.

Chips are made of transistors used as switches. Two form a NOT gate, a few more form the other logic gates, and a processor contains billions of them.

Transistors, step by step

STEPS01 / 06

A gain of exactly 100 is a round figure; real gains vary from part to part. Steps 1 to 4 show an NPN bipolar transistor, steps 5 and 6 the MOSFETs used in chips, drawn with the simplified logic symbol.

STEP 01 / 06 Three terminals
THE MATH
base: control collector: current in emitter: current out
  1. Step 1: Three terminals. A transistor has three legs. The main current runs through two of them, here from the collector to the emitter. The third, the base, is the control: a small current into the base decides how much current the other two may carry. It is a valve for electricity, worked by electricity.
  2. Step 2: Small in, large through. Give this transistor a base current of 0.1 mA and it lets 100 times as much, 10 mA, flow from collector to emitter. That factor is its current gain. The base current here comes from 5 V through a 43 kΩ resistor; the base itself keeps about 0.7 V, so Ib = 4.3 V ÷ 43 kΩ = 0.1 mA.
  3. Step 3: Job 1: a switch. Use only the two extremes and the transistor is a switch with no moving parts. No base current: no path, lamp off. Enough base current: the path conducts fully, lamp on. This is how a weak signal, such as the output pin of a small computer, turns on something that needs far more current than the pin can give.
  4. Step 4: Job 2: an amplifier. Hold the transistor part-way on and it becomes an amplifier. A small wiggle in the base current, such as the signal from a microphone, appears as the same wiggle a hundred times larger in the collector current. The extra power comes from the supply; the transistor only steers it.
  5. Step 5: The kind inside chips. Chips use a different transistor, the MOSFET, with a gate, a source and a drain. The gate is a conducting plate sitting on a very thin insulator. A voltage on it pulls electrons into a thin channel underneath, which links source to drain. It is controlled by voltage, and almost no current flows into the gate.
  6. Step 6: The building block of chips. Stack a transistor that switches on for a low input above one that switches on for a high input, and the output is always the opposite of the input: a NOT gate. A few more make AND and OR gates; gates make adders and memory. A modern processor packs billions of these switches onto one chip.
VALUES SO FAR
pins3B, C, E
Ib····input
gain····device
Ic····result
switch····job 1
ΔIc····amplified
MOSFET····control
NOT gate····logic

Spotted a mistake on this page?