Yesterday's transistor current source used one transistor and an emitter resistor to hold a steady current. Today's circuit does the same job with two transistors and no emitter resistor at all: the current mirror. One transistor, Q1, is wired as a diode and sets a reference current; the second transistor, Q2, has the same base voltage, so it copies that current into any load. The mirror is the building block inside almost every op-amp and analogue IC — the 741 alone contains several. This article builds one and works out the numbers.
Figure 1: A two-transistor current mirror (a) — Q1 is diode-connected and sets the reference current, Q2 copies it into the load. The output current stays flat until Q2 runs out of voltage (b). (Schematic, not to scale.)
How it works — the formula
Q1 has its base tied to its collector, so it behaves like a diode with VBE = 0.7 V across it. The reference current through Rref is:
Iref = (Vcc − VBE) / Rref
Q2 shares Q1's base voltage, so if the two transistors are identical and at the same temperature, Q2 has the same VBE and therefore the same collector current. The only error is the base current: Iref has to supply the base current of both transistors, so:
Iout = Iref / (1 + 2/β)
With Vcc = 12 V, Rref = 1 kΩ and VBE = 0.7 V, Iref = (12 − 0.7) / 1000 = 11.30 mA. Each base draws Ib = Iref / (β + 2) = 11.30 / 102 = 110.8 µA, so with β = 100 the output is Iout = 11.30 / 1.02 = 11.08 mA — only 1.96% below the reference current. That 2% is the price of the two base currents, and it shrinks as β grows: with β = 200 the error is under 1%.
Worked example — an 11 mA source driving 470 Ω
Put a 470 Ω load in Q2's collector. The load voltage is:
V(RL) = Iout × RL = 11.08 mA × 470 Ω = 5.21 V
so Q2's collector-emitter voltage is Vce = 12 − 5.21 = 6.79 V, and Q2 dissipates P = 6.79 V × 11.08 mA = 75.3 mW — well inside a small transistor's rating. The load itself takes 11.08 mA × 5.21 V = 57.7 mW, and Rref wastes (11.30 mA)2 × 1 kΩ = 127.7 mW, so the whole circuit draws about 261 mW from the 12 V supply.
How steady is it? Q2's output resistance is ro = VA / Ic, where VA is the Early voltage, about 100 V for a small transistor: ro = 100 / 0.01108 = 9.03 kΩ. If the load changes by ±100 Ω, the voltage across it changes by 11.08 mA × 100 Ω = 1.11 V, Q2's Vce changes by the same 1.11 V, and the current changes by only 1.11 V / 9.03 kΩ = 0.12 mA — about 1.1%. That is the mirror's job: the current barely notices the load.
The catch — compliance and matching
The mirror can only hold the current while Q2 stays out of saturation, which needs Vce ≥ Vce(sat) ≈ 0.2 V. The biggest load it can drive is therefore:
RL(max) = (Vcc − 0.2) / Iout = 11.8 / 11.08 mA = 1.07 kΩ
— exactly the knee in Figure 1(b). Past that point Q2 saturates and the current falls as (Vcc − 0.2) / RL. The second catch is matching: the copy is only as good as the match between Q1 and Q2. Two transistors from the same batch, glued together or in one dual-transistor package, share a temperature and match within a few percent; two random transistors can be 10–20% apart. VBE also drifts −2 mV/°C with temperature, so Iref drifts by 2 mV / 1 kΩ = 2 µA/°C — only 0.018%/°C, but a hot Q1 with a cold Q2 is a real error, which is why matched pairs are kept together.
Designing a 5 mA mirror
Suppose you need a 5 mA source from the same 12 V supply. The reference resistor must be:
Rref = (12 − 0.7) / 5 mA = 2.26 kΩ
The nearest standard value, 2.2 kΩ, gives Iref = 11.3 / 2200 = 5.14 mA and Iout = 5.14 / 1.02 = 5.04 mA — within 1% of the target. The compliance limit rises to (12 − 0.2) / 5.04 mA = 2.34 kΩ. If you need the copy to be far more accurate than 2%, use a Wilson mirror: it adds a third transistor and cuts the error to 2 / (β2 + 2β + 2) = 2 / 10202 = 0.02% — about a hundred times better — at the cost of one more transistor and about 0.7 V of extra headroom.
Key points to remember
- A current mirror copies Iref into the load: Iref = (Vcc − VBE) / Rref, and Iout = Iref / (1 + 2/β) — the 2/β term is the two base currents.
- Worked example: 12 V, Rref = 1 kΩ → Iref = 11.30 mA, Iout = 11.08 mA (β = 100); a 470 Ω load drops 5.21 V, Q2 dissipates 75.3 mW, and a ±100 Ω load change moves the current only 1.1%.
- Compliance limit: RL(max) = (Vcc − 0.2) / Iout = 1.07 kΩ here — past it Q2 saturates and the current falls.
- Matching matters: use two transistors from the same batch or a dual package, kept at the same temperature; VBE drifts −2 mV/°C, giving 2 µA/°C of drift here.
- Design rule: for 5 mA from 12 V, Rref = 2.26 kΩ — 2.2 kΩ gives 5.04 mA; a Wilson mirror cuts the copy error from 2% to 0.02%.
