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

C6 · Lesson 3 · Current mirrors

Copying a current, and making it stay put

Inside an integrated circuit, resistors are large and imprecise but transistors are small, cheap and closely matched. So chips bias everything with currents copied from one reference by current mirrors: one transistor sets a VBE or VGS for a known current, and every transistor sharing that voltage carries the same current, or a chosen multiple of it. A mirror is also a nearly ideal current source, with an output resistance far higher than any resistor you could fit, and that's what lets a single stage reach gains in the thousands (lesson 4).

  • A BJT mirror: a reference current of about 1 mA flows through the diode-connected Q1; Q2 shares its base-emitter voltage and copies the current into a load RL.
  • Sweep RL: the output current hardly changes, rising slightly as Q2's collector voltage rises (the Early effect), until RL is so large that Q2 saturates.
  • That near-constant current over a wide range of voltages is what a current source is.

Predict

A BJT mirror (β = 100, VA = 50 V) has 1 mA of reference current. Its output transistor sits at VCE = 5.4 V. About what does it carry?

Name it

The basic mirror

Q1 is diode-connected, so the reference current sets its VBE; Q2 has the same VBE, so if the two match it carries the same collector current. The base currents come out of the reference, so for BJTs

IO=Iref1+2/β⋅1+VCE2/VA1+VBE/VA

For MOSFETs there's no gate current, and the copy scales with size:

IO=Iref(W/L)2(W/L)1⋅1+λVDS21+λVGS

Output resistance: Ro=ro2, which is VA/IO or 1/(λIO): tens of kilohms to megohms.

Compliance: the output keeps working only while Q2 stays active: VCE2≳ 0.3 V, or VDS2≥vOV.

Better mirrors

  • Cascode mirror: a second transistor stacked on the output holds Q2's voltage still, multiplying the output resistance by about gmro: Ro≈gmro2 for MOSFETs (about βro for BJTs). It costs headroom: about Vt+2vOV at the output.
  • Wilson mirror: feedback around three BJTs cancels most of the base-current error and raises Ro.
  • Widlar source: a resistor RE in the output transistor's emitter makes a small current from a large reference without a huge resistor, since IORE=VTln⁡IrefIO.

Worked example

A MOSFET mirror copies 100 µA into a device four times wider, with λ = 0.05 V⁻¹, VGS = 0.8 V and the output at 2 V. What comes out, and what does a cascode do to its output resistance?

Show the solution
  1. Output current. The width ratio multiplies the reference by 4, and (1+λVDS) at each side adds the rest: IO=100×4×1.11.04μA=423μA
  2. Transconductance. With vOV = 0.2 V, gm=2×0.4mA0.2V=4mS
  3. Simple mirror's output resistance. ro=10.05×0.4mA=50kΩ so the simple mirror's Ro = 50 kΩ.
  4. With a cascode. Ro≈4mS×(50kΩ)2=10MΩ

Answer 423 µA comes out, and a cascode raises the output resistance from 50 kΩ to about 10 MΩ.

Worked example

A Widlar source must make 10 µA from a 1 mA reference. What emitter resistor?

Show the solution
  1. Emitter resistor. RE=VTIOln⁡IrefIO=0.02585×ln⁡10010μA=11.9kΩ
  2. Compare a plain mirror. A plain mirror would need an output transistor a hundred times smaller than the reference, or a reference resistor of about 1 MΩ.

Answer an 11.9 kΩ emitter resistor.

Worked example

A BJT mirror uses transistors with β = 50. How large is the base-current error of a simple mirror, and of one with a beta helper (an emitter follower that supplies the bases)?

Show the solution
  1. Simple mirror. It loses the two base currents from the reference: IO=Iref1+2/β=0.9615Iref which is 3.8% low.
  2. With a beta helper. The reference only has to supply the follower's base current, which is β+1 times smaller: IO=Iref1+2β(β+1)=0.99922Iref which is 0.08% low.
  3. What the helper costs. It takes one more VBE of headroom at the reference. Power transistors and lateral PNPs, with low β, are where it matters most.

Answer the simple mirror's output is 3.8% low, and the beta helper cuts the error to 0.08%.

Check

A matched BJT mirror with β = 50 has 0.1 mA of reference current. Ignoring the Early effect, what does it copy?

Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.

Check

A BJT mirror (β = 100, VA = 30 V) copies 1 mA, with its output at VCE = 10 V and VBE = 0.7 V. What does it carry?

Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.

Check

A MOSFET mirror's reference device is 2 µm wide and its output device 80 µm wide (same length). With 10 µA in, λ = 0.1 V⁻¹, VGS = 0.7 V and the output at 1 V, what comes out?

Write units the way you normally would: 1.5 µA, 1500 nA and 0.0015 mA are the same answer.

Check

What output resistance does a basic BJT mirror (VA = 25 V) have at 0.01 mA?

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

Check

A MOSFET cascode mirror carries 0.05 mA with 0.15 V of overdrive and λ = 0.1 V⁻¹. What is its output resistance?

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

Check

A Widlar source makes 5 µA from 0.5 mA. What emitter resistor does it need?

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

Check

How low can a MOSFET cascode mirror's output go (Vt = 0.4 V, 0.15 V of overdrive) before it stops working?

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

Check

A BJT mirror with β = 50 has a 0.1 mA reference.

(a)

What does a simple mirror deliver?

Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.

(b)

What's the percentage error of one with a beta helper?

Check

A Widlar source makes a small current J from a reference I, at thermal voltage T.

Step 1

What voltage must the emitter resistor drop?

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 current mirror depend on the transistors being matched?

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.