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 (solid) and for bipolar transistors (dashed, ).
- Near zero the response is linear with slope ; farther out the pair runs out of tail current and saturates. MOSFETs steer all the current at .
- 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?
Both transistors have the same gate-source voltage, so in saturation their currents are proportional to W/L: 4 × 100 µA = 400 µA. In practice the output's higher drain voltage makes it carry a little more, a few percent with a typical λ, which a cascode removes.
Name it
The current mirror
A diode-connected transistor M1 (gate tied to drain) carrying sets a gate voltage; M2 shares it, so
The second factor is the error from channel-length modulation. The output resistance is . A cascode, a second transistor stacked on the output, multiplies it to about and holds M2's drain voltage nearly fixed.
The differential pair
Two matched transistors share a tail current . 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 , with for each MOSFET at its half of the tail. For larger inputs, the MOS pair's output is
and a bipolar pair's is , 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 .
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 = 1 mS?
Show the solution
- Copy error. Each current scales as : so the copy is 9.5% high.
- Output resistance.
- With a cascode.
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
- Transconductance. Each side carries 50 µA:
- Output resistance.
- Gain. The output sees two of those in parallel, 100 kΩ:
- A 0.1 V input. The pair steers this fraction of the tail current:
- 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
- Width ratio. The width ratio scales the copy:
- Higher drain. A drain 1 V higher adds a factor of about :
- 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 )?
(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 = 1 mS on top of a current source of 50 kΩ, both with = 50 kΩ.
(a)
About what output resistance results ()?
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 ?
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, ?
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?
The two transistors share a fixed tail current, so whatever one carries, the other carries the rest. A voltage applied equally to both gates raises both gate voltages together, and since the transistors are matched they must still split the tail current equally, so neither output current changes; the shared source node simply moves up with the inputs. Only a difference between the two gate voltages makes one transistor conduct more than the other, steering current from one side to the other. That's why a differential pair amplifies the difference between its inputs while rejecting interference, such as power-supply noise or a ground shift, that reaches both alike.
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.