S2 · Lesson 34 · Mismatch, offset and calibration
Random offsets, yield, and the circuits that cancel them
Two transistors drawn identically side by side still differ: a few dopant atoms more in one channel, a slightly rougher edge, a different grain in the gate metal. Those random differences give every op amp an input offset, every comparator a threshold error, every current mirror a ratio error. They can't be designed away, only made smaller with area (Pelgrom's law) or removed after the fact. A designer's job is to predict the spread across a million chips, choose areas so enough of them meet the spec, and use auto-zeroing, chopping or trimming where area alone would cost too much.
- Five thousand simulated op amps, each with an input offset drawn from a normal distribution whose spread is set by Pelgrom's law, , for an input pair of area W × L.
- The dashed curve is the predicted distribution; the readout counts the fraction inside the ± window, the yield.
- Quadruple the area and the spread halves. A spec at 3σ passes 99.7% of parts; at 2σ only 95%.
Predict
An input pair's offset has σ = 0.95 mV. What fraction of parts meet a ±2 mV spec?
±2 mV is ±2.1σ, so the fraction inside is = 96.5%. One part in thirty fails. To reach 99.7% (±3σ) the spread must fall to 0.67 mV, which by Pelgrom's law needs = 2 times the gate area, or a calibration scheme.
Name it
Pelgrom's law
The difference between two nominally identical transistors has
with of 1 to 5 mV·µm depending on the process (thin oxides and undoped channels are better) and around 1%·µm. Errors fall only as the square root of area: halving the offset costs four times the area, and with it capacitance and speed.
Offset of an op amp
Each mismatched pair contributes, referred to the input through the ratio of transconductances. For a differential pair with a mirror load:
so the load runs at low (large overdrive) to keep its contribution down.
Yield
With normal offsets of spread σ, the fraction within ± is : 68% at 1σ, 95.4% at 2σ, 99.73% at 3σ.
Cancelling offset
- Trimming: measure each part and adjust (fuses, one-time-programmable memory, laser-trimmed resistors). Corrects offset at one temperature.
- Auto-zeroing: periodically connect the inputs together, store the resulting offset on a capacitor, and subtract it during operation. Removes offset and low-frequency noise, but the sampling folds wideband noise down (more kT/C noise in the band).
- Chopping: swap the inputs and outputs at a frequency above the flicker corner. The signal is modulated up, amplified, and demodulated back; the offset and 1/f noise are modulated up instead and filtered out. Residual offsets come from charge injection by the switches, often microvolts.
- Dynamic element matching: in DACs, rotate which unit elements are used so their mismatches average out.
Worked example
An input pair is 10 µm × 1 µm in a process with = 3 mV·µm. Find its offset spread, its yield at ±2 mV, and the area needed for ±2 mV at 3σ.
Show the solution
- Offset spread.
- Yield at ±2 mV.
- Area for ±2 mV at 3σ. σ must be 0.67 mV, so twice the area.
- The cost. Doubling the input capacitance lowers the amplifier's speed for the same current; for a precision part, chopping usually wins.
Answer σ = 0.95 mV with a 96.5% yield at ±2 mV, and ±2 mV at 3σ needs 20 µm², twice the area.
Worked example
A two-stage op amp's input pair has = 1 mV and its mirror load 1.5 mV, with = 0.4. What's the offset spread?
Show the solution
- Combine in quadrature.
- Why the load counts less. The load contributes only 0.6 mV in quadrature because its transconductance is lower: its threshold error makes a current error, and dividing by the input pair's refers it back.
- Shrinking its share. Running the load at even lower would shrink its share further.
Answer an offset spread of 1.17 mV.
Worked example
A pair's offset spread is 2 mV. What area change halves it, by Pelgrom's law?
Show the solution
- Pelgrom's law.
- Halving the spread. That takes four times the area, and four times the input capacitance, which costs bandwidth.
- Other ways. Calibration or chopping breaks that trade when precision matters more than simplicity.
Answer four times the area.
Check
A process has = 3 mV·µm. What threshold mismatch spread does a 2 µm × 1 µm pair have?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
With = 2 mV·µm, what gate area gives a threshold mismatch spread of 0.2 mV?
Check
Offsets are normal with spread σ. What fraction lie within ±1.5σ?
Check
An op amp's input pair has 1 mV of threshold mismatch spread and its load 0.5 mV, with = 0.6. What's its offset spread?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
An op amp's offset spread is 1 mV. What spec should the data sheet guarantee for 2σ coverage?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
A pair's offset spread is 1 mV. What does it become with 2 times the gate area?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
A trim circuit can adjust offset over ±20 mV with a 5-bit code. What's its trim step?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
Check
An input pair 4 µm × 2 µm is made in a process with = 3 mV·µm.
(a)
What is its offset spread?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
(b)
What area holds 3σ under 2 mV?
Check
An op amp's input pair has offset spread a and its load mirror b, with = r.
Step 1
What total input-referred offset spread results?
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°.
Step 2
What does quadrupling every device's area give?
Explain why
Why does chopping remove an amplifier's offset and flicker noise but not its signal?
A chopper swaps the input connections at a frequency well above the amplifier's flicker corner, so the input signal arrives at the amplifier as a square-wave-modulated version of itself, shifted up to the chopping frequency. The amplifier's own offset and low-frequency noise are added after this modulation, so they stay at low frequency. At the output a second chopper, synchronized with the first, swaps back: the signal returns to its original frequency, while the offset and flicker noise are now modulated up to the chopping frequency, where a low-pass filter removes them. Only errors that are themselves modulated, like charge injected by the switches, survive as residual offset.
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.