Skip to content
Applied Electronics

Current mirrors: simple, Wilson, Widlar and cascode

The simple bipolar and MOS mirror, base current error with proof, the Early effect, beta helper, Wilson, Widlar with proof and example, cascode, PTAT and bandgap references.

In analogue integrated circuits almost every transistor is biased by a current source, and almost every current source is a current mirror: a circuit that copies a reference current, possibly multiplied by a fixed ratio, into one or more branches. Mirrors also serve as high-gain active loads. In this lesson we look at the simple bipolar and MOS mirror and its errors, the variants that correct them (beta helper, Wilson, Widlar, cascode) and how to choose between them.

The simple mirror

Three bipolar current mirrors: simple, Widlar and cascode
1: simple mirror, with the left transistor diode-connected receiving the reference current and the right one carrying the output current. 2: Widlar mirror, with a resistor in the emitter of the output transistor to obtain small currents. 3: cascode mirror, with two stacked pairs that greatly increase the output resistance.

Two identical transistors with their bases tied together and their emitters grounded; the first is diode-connected (base and collector joined). The reference current I_{REF} sets in the first the v_{BE} needed to carry it; the second, with the same v_{BE}, carries the same current:

    \[ I_{OUT} = I_S\,e^{v_{BE}/V_T} = I_{REF} \]

independently (to first order) of the voltage on its collector, as long as it stays in the active region. With transistors of different area (or several transistors in parallel) the currents are in the ratio of the areas: I_{OUT} = (A_2/A_1)\,I_{REF}.

The MOS mirror works the same way with the square law: same v_{GS}, so I_{OUT}/I_{REF} = (W/L)_2/(W/L)_1. There are no gate currents, so no error of that kind, and the ratio is set precisely by drawing the widths.

Errors of the simple mirror

Base currents. The reference current must also supply the two base currents.

Theorem. In the simple bipolar mirror with identical transistors of gain \beta,

    \[ I_{OUT} = \frac{I_{REF}}{1 + 2/\beta} \]

Proof. The two transistors have the same v_{BE} and therefore the same collector current I_C = I_{OUT}, and the same base current I_C/\beta. At the collector node of the first transistor, I_{REF} = I_C + 2I_C/\beta. ∎

With \beta = 100 the output is 98% of the reference, a 2% error that varies with \beta and temperature.

The Early effect. The two transistors have different v_{CE}: the first v_{BE} \approx 0.7 V, the second whatever the load imposes. Because of the Early effect (Electronic Devices lesson on the BJT) the output current grows with v_{CE}: the mirror has a finite output resistance r_o = V_A/I_{OUT}, about 100 kΩ at 1 mA with V_A = 100 V. In short-channel MOSFETs the error is larger: with \lambda = 0.05 V⁻¹, 0.7 V on the reference transistor and 3 V on the output one, the output current is 11% higher than expected.

Variants

Beta helper. A third transistor, as an emitter follower, supplies the base currents instead of the reference: the error drops to 2/(\beta^2 + \beta), 0.02% with \beta = 100.

Wilson mirror. Three transistors in which current feedback corrects both the base error (which becomes 2/(\beta^2 + 2\beta)) and the output resistance, which rises to about \beta r_o/2. For decades it was the precision mirror of bipolar circuits.

Widlar mirror. To get very small currents (microamperes) from a reasonable reference, a resistor R_E is placed in the emitter of the output transistor.

Theorem. In the Widlar mirror

    \[ V_T\ln\frac{I_{REF}}{I_{OUT}} = I_{OUT}\,R_E \]

Proof. The bases are tied together, so v_{BE1} = v_{BE2} + I_{OUT}R_E (neglecting base currents). With v_{BE} = V_T\ln(I_C/I_S) for both, V_T\ln(I_{REF}/I_{OUT}) = I_{OUT}R_E. ∎

Example. From 1 mA to 10 µA: R_E = 0.0259\cdot\ln 100/10^{-5} \approx 11.9 kΩ. A simple mirror would need a 100 to 1 area ratio, or a 10 µA reference made with a resistor of about 1 MΩ: both would take a huge area on the chip. The emitter resistor also raises the output resistance.

Cascode mirror. Two stacked mirrors: the upper transistor of the output branch, with its base (or gate) at a fixed voltage, holds the voltage on the lower transistor constant, so it no longer feels load variations. The output resistance is multiplied by the intrinsic gain of the upper transistor: about \beta r_o for bipolars and g_m r_o^2 for MOS. With g_m = 1 mA/V and r_o = 100 kΩ it goes from 100 kΩ to about 10 MΩ. The price is the minimum voltage across the mirror, which doubles (about two v_{BE}, or 2V_{OV} + V_t in the simple MOS version): with low supplies “wide-swing” versions are used, which cut this loss to 2V_{OV}.

MirrorRatio error (bipolar)Output resistanceMinimum voltage
simple2/\betar_oV_{CE,sat}
beta helperabout 2/\beta^2r_oV_{CE,sat}
Wilsonabout 2/\beta^2about \beta r_o/2V_{BE} + V_{CE,sat}
Widlardepends on R_Egreater than r_oV_{CE,sat} + I_{OUT}R_E
cascode2/\beta\beta r_o or g_mr_o^2V_{BE} + V_{CE,sat}

Where the reference current comes from

A mirror copies, but does not create: the current I_{REF} must come from somewhere. A simple resistor to the supply gives a current that varies with the supply itself. Integrated circuits therefore use self-biased references, in which two transistors at different current densities produce a v_{BE} difference equal to V_T\ln N, proportional to absolute temperature (PTAT) and independent of the supply. Combining this voltage, which grows with temperature, with a v_{BE}, which falls, gives the bandgap reference of about 1.2 V, stable over temperature, found in almost every analogue and mixed-signal chip.

Where they are used

  • Biasing: a single reference and a multi-output mirror feed all the stages of an op-amp, with currents in precise ratios.
  • Tail sources of differential pairs, where high output resistance improves CMRR.
  • Active loads, as seen in the lesson on differential amplifiers.
  • Current-steering digital-to-analogue converters: dozens or thousands of identical mirrors whose currents are steered to the output according to the digital code. It is the architecture of the fastest DACs, for radio and video signals.

All these circuits rely on transistor matching, which on the chip is cared for with the same techniques seen for the differential pair: large transistors, close together, with the same orientation and arranged in common-centroid fashion.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x