S27 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S2 · Lesson 7 · Current mirrors in depth

Accuracy, output resistance, compliance and matching

Almost every analog IC is biased by copying one reference current to dozens of places with current mirrors. A mirror's job sounds simple, output the same current as the input, but four things spoil it: the output transistor's drain voltage differs from the input's, bipolar transistors steal base current, the two transistors don't quite match, and the output can't hold its current all the way down to zero volts. C6 met the simple mirror and the cascode. This lesson quantifies each error and shows the circuits that fix them: base-current compensation, the Wilson mirror, and the wide-swing cascode that keeps a cascode's accuracy at low supply voltages.

  • Output current (÷ the reference) against output voltage for three NMOS mirrors with VT = 0.4 V at overdrive Vov: a simple mirror, a standard cascode, and a wide-swing cascode.
  • The simple mirror works down to Vov but its current tilts with voltage as λ. The cascodes are almost flat, but the standard one needs VT+2Vov before it works; the wide-swing version only 2Vov.
  • Raise λ (shorter channels) and watch the simple mirror's error grow while the cascodes barely move.

Predict

An NMOS mirror's reference side sits at VGS = 0.6 V; its output is at 1.2 V, and λ = 0.1 V⁻¹. How far off is the copied current?

Name it

Systematic errors

  • Drain-voltage mismatch (MOS): IoutIref=W2/L2W1/L1⋅1+λVDS21+λVDS1. The same in bipolar with VA.
  • Base current (bipolar): both bases draw from the reference, so IoutIref=11+2/β; with an area ratio N, N1+(N+1)/β. A beta helper (an emitter follower supplying the base current) cuts the error to 2β(β+1).
  • Wilson mirror: a three-transistor feedback mirror with an error of about 2/β2 and output resistance about βro/2.

Output resistance and compliance

MirrorRoutMinimum output voltage
simpleroVov
cascode≈gmro2VT+2Vov
wide-swing (low-voltage) cascode≈gmro22Vov

The wide-swing cascode biases the cascode transistor's gate at VT+2Vov from a separate branch, instead of stacking two diode drops, so the bottom transistor sits right at the edge of saturation.

Random mismatch

Two nominally identical transistors differ in threshold and in μCox, so

(σΔII)2=(gmIDσΔVT)2+(σΔββ)2

with σΔVT=AVT/WL (S1.38). Mirrors use large areas and low gm/ID (large overdrive) to keep this down.

Worked example

An NMOS mirror (VGS = 0.6 V, λ = 0.1 V⁻¹) drives an output at 1.2 V. Find the error, and the error after cascoding with transistors of intrinsic gain 50.

Show the solution
  1. Simple mirror. Compare the 1+λVDS factors at 1.2 V and 0.6 V: IoutIin=1+0.121+0.06=1.057 a 5.7% error.
  2. Cascoded. Cascoding multiplies the output resistance by about gmro = 50, so the output transistor's drain sees about a fiftieth of the voltage difference, and the error falls to about 5.7%50≈0.11%
  3. Cascoding both sides. A cascode on both sides, with the input stack matching the output's, removes even that.

Answer the simple mirror has a 5.7% error, and cascoding cuts it to about 0.11%.

Worked example

A bipolar mirror has β = 100. Find its error alone, with a beta helper, and as a Wilson mirror.

Show the solution
  1. Simple mirror. IoutIin=11+2/100=0.980 a 2% error.
  2. Beta helper. IoutIin=11+2/(100×101)=0.9998 a 0.02% error.
  3. Wilson mirror. The error is about 2/β2, also 0.02%, with the bonus of a much higher output resistance.
  4. Where it matters most. Base current errors scale as 1/β, so they're largest in PNP mirrors, whose β is often only 20 to 50.

Answer a 2% error alone, 0.02% with a beta helper, and about 0.02% as a Wilson mirror.

Worked example

With VT = 0.5 V and Vov = 0.2 V, how low can the output of a standard cascode mirror go before it drops out of saturation, and a wide-swing cascode?

Show the solution
  1. Standard cascode. Its gate sits at 2(VT+Vov), so its output needs VT+2Vov=0.5+2×0.2=0.9V
  2. Wide-swing cascode. It biases the cascode gate one VT+2Vov up from ground, so its output needs only 2Vov=0.4V
  3. Compare. On a 1.2 V supply that difference is most of the swing.

Answer the standard cascode mirror's output can go down to 0.9 V, and the wide-swing cascode's to 0.4 V.

Check

A bipolar mirror has β = 100. What's its output-to-reference current ratio?

Check

A bipolar mirror with β = 50 gets a beta helper. What's its current ratio?

Check

A MOS mirror's input sits at 0.55 V and its output at 1.8 V, with λ = 0.15 V⁻¹. What's the current ratio?

Check

A standard NMOS cascode mirror has VT = 0.35 V and runs at Vov = 0.1 V. What's the lowest output voltage at which it still works as a cascode?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A bipolar mirror's output transistor is 4 times the input's area, with β = 50. What's the output-to-reference ratio?

Check

A mirror runs at gm/ID = 6 /V with σΔVT = 1 mV and σΔβ/β = 1%. What's its current mismatch?

Check

A cascode mirror uses transistors with gm = 0.5 mS and ro = 50 kΩ. Roughly what's its output resistance?

Write units the way you normally would: 1.5 MΩ, 1500 kΩ and 0.0015 GΩ are the same answer.

Check

An NMOS mirror has λ = 0.1 V⁻¹, and its output sits 0.3 V above its diode side.

(a)

About how far off is the copy?

(b)

And after cascoding with transistors of intrinsic gain 20?

Check

A bipolar mirror has transistors of current gain b.

Step 1

What fractional error does the simple mirror have, about?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does a wide-swing cascode mirror work at a lower output voltage than a standard cascode?

Practice

Keep practicing

11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.