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

D7 · Lesson 4 · Current mirrors and differential pairs

The two building blocks of analog IC design, the current mirror that copies a reference current by a ratio of transistor sizes and its error from channel-length modulation, output resistance and the cascode, and the differential pair that steers a tail current in response to a difference in voltage

On a chip, resistors are big and imprecise and capacitors are small, but transistors are cheap and match each other closely when drawn side by side. Analog designers therefore build almost everything from two transistor pairs. The current mirror copies one current to as many places as needed, scaled by the ratio of transistor widths. The differential pair responds only to the difference between two inputs and ignores what they share, which is what lets an op amp amplify a microvolt signal riding on a volt of noise. Nearly every analog block, from op amps to comparators to ADCs, starts with them.

  • A differential pair's output, the difference of its two drain currents as a fraction of the tail current, against the input difference, for MOSFETs biased at overdrive VOV (solid) and for bipolar transistors (dashed, tanh⁡(ΔV/2VT)).
  • Near zero the response is linear with slope gm; farther out the pair runs out of tail current and saturates. MOSFETs steer all the current at 2VOV.
  • A larger overdrive widens the linear range but lowers the gain per volt: the pair trades linearity against transconductance.

Predict

A current mirror's input transistor carries 100 µA and its output transistor is four times as wide. Ignoring channel-length modulation, what current does the output carry?

Name it

The current mirror

A diode-connected transistor M1 (gate tied to drain) carrying Iref sets a gate voltage; M2 shares it, so

Iout=Iref(W/L)2(W/L)1⋅1+λVDS21+λVDS1

The second factor is the error from channel-length modulation. The output resistance is ro=1/(λID). A cascode, a second transistor stacked on the output, multiplies it to about gmro2 and holds M2's drain voltage nearly fixed.

The differential pair

Two matched transistors share a tail current Itail. A difference ΔV between their gates steers current from one to the other; a voltage common to both changes nothing. For small ΔV, each side's current changes by ±gmΔV/2, with gm=2ID/VOV for each MOSFET at its half of the tail. For larger inputs, the MOS pair's output is

ΔIItail=ΔVVOV1−ΔV24VOV2,|ΔV|≤2VOV

and a bipolar pair's is tanh⁡(ΔV/2VT), linear over only a few tens of millivolts.

Together

A differential pair loaded by a current mirror (a five-transistor amplifier, the first stage of most op amps) converts the differential current to a single output with gain gm(ro2∥ro4).

Worked example

A mirror has λ = 0.1 V⁻¹, with its diode at 0.5 V and its output at 1.5 V. How far off is the copied current? What's the output resistance at 100 µA, and with a cascode at gm = 1 mS?

Show the solution
  1. Copy error. Each current scales as 1+λVDS: IoutIref=1+0.151+0.05=1.095 so the copy is 9.5% high.
  2. Output resistance. ro=10.1V−1×100μA=100kΩ
  3. With a cascode. Rout≈1mS×(100kΩ)2=10MΩ

Answer the copy is 9.5% high, and the output resistance is 100 kΩ, about 10 MΩ with the cascode.

Worked example

A MOS pair with 100 µA of tail current runs at 0.2 V of overdrive into a mirror load, with λ = 0.1 V⁻¹. What's its gain, and its output for a 0.1 V input?

Show the solution
  1. Transconductance. Each side carries 50 µA: gm=2×50μA0.2V=0.5mS
  2. Output resistance. ro=10.1V−1×50μA=200kΩ
  3. Gain. The output sees two of those in parallel, 100 kΩ: 0.5mS×100kΩ=50
  4. A 0.1 V input. The pair steers this fraction of the tail current: 0.10.21−0.0625=0.484
  5. Bipolar comparison. A bipolar pair would already be at tanh(1.93) = 0.959.

Answer the gain is 50, and a 0.1 V input steers 0.484 of the tail current (0.959 for a bipolar pair).

Worked example

A mirror's output transistor is five times as wide as its diode-connected one, with 20 µA of reference current. What does it copy, and what if its drain sits 1 V above the diode's with λ = 0.1 V⁻¹?

Show the solution
  1. Width ratio. The width ratio scales the copy: 5×20μA=100μA
  2. Higher drain. A drain 1 V higher adds a factor of about 1+λΔV=1.1: 1.1×100μA=110μA
  3. In practice. Ratioed mirrors bias a whole chip's circuits from one reference.

Answer it copies 100 µA, or about 110 µA with its drain 1 V higher.

Check

A mirror's input carries 50 µA and its output transistor has 2 times the W/L. What does the output carry, ignoring λ?

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

Check

A mirror with λ = 0.1 V⁻¹ has its input at 0.4 V and its output at 2 V. By what percentage is the copied current too high?

Check

A transistor with λ = 0.1 V⁻¹ carries 10 µA. What's its output resistance?

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

Check

A MOS differential pair is biased at 0.15 V of overdrive. What fraction of its tail current does a 0.15 V input difference steer?

Check

A current mirror has λ = 0.1 V⁻¹, and its output sits 0.5 V above its diode-connected side.

(a)

About how far off is the copy (simple estimate λΔV)?

(b)

What is its output resistance at 100 µA?

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

Check

A cascode puts a transistor with gm = 1 mS on top of a current source of 50 kΩ, both with ro = 50 kΩ.

(a)

About what output resistance results (gmro2)?

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

(b)

By what factor did the cascode raise it?

Check

A MOS differential pair has 100 µA of tail current and 0.15 V of overdrive, with a mirror load and λ = 0.1 V⁻¹.

(a)

What is each transistor's gm?

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

(b)

What is its gain, gm(ro∥ro)?

Check

A mirror's output transistor is 5 times as wide as its diode-connected one, with 10 µA of reference current.

(a)

What current does it copy?

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

(b)

And if its drain sits 1 V higher, with λ = 0.1 V⁻¹?

Explain why

Why does a differential pair ignore a voltage applied equally to both inputs?

Practice

Keep practicing

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