---
title: Fully differential amplifiers
heading: Two outputs, a set common mode, and twice the swing
eyebrow: C6 · Lesson 23 · Fully differential amplifiers
xp: 40
---

::: hook
A precision converter doesn't measure one voltage against ground; it measures the difference between two inputs, each held near a common-mode voltage it specifies. A fully differential amplifier drives exactly that: two outputs that move in opposite directions around a common mode set by a separate pin. It doubles the signal swing available from a supply, cancels even-order distortion, and rejects noise that both wires pick up together.

::: play
- The two traces are a fully differential amplifier's outputs on a single 5 V supply; each can swing from 0.1 V to 4.9 V. The dashed one is their difference.
- Their center is the output common-mode voltage, set independently of the signal. Move it off 2.5 V: one output reaches a rail before the other.
- Raise the gain. The difference reaches nearly twice what either output can swing alone.
:::
:::

```sim plot
view: graph
x: t = 0..2m s
y: v = -10..10 V
slider: c = 1..4 step 0.05 = 2.5 V
slider: G = 0.5..10 step 0.5 = 2
slider: a = 0..2.5 step 0.05 = 1 V
plot: 0.1 + (c + G*a/2*sin(2*pi*1000*t) - 0.1)*step(c + G*a/2*sin(2*pi*1000*t) - 0.1) - (c + G*a/2*sin(2*pi*1000*t) - 4.9)*step(c + G*a/2*sin(2*pi*1000*t) - 4.9) | label: positive output | samples: 400
plot: 0.1 + (c - G*a/2*sin(2*pi*1000*t) - 0.1)*step(c - G*a/2*sin(2*pi*1000*t) - 0.1) - (c - G*a/2*sin(2*pi*1000*t) - 4.9)*step(c - G*a/2*sin(2*pi*1000*t) - 4.9) | color: ch2 | label: negative output | samples: 400
plot: (0.1 + (c + G*a/2*sin(2*pi*1000*t) - 0.1)*step(c + G*a/2*sin(2*pi*1000*t) - 0.1) - (c + G*a/2*sin(2*pi*1000*t) - 4.9)*step(c + G*a/2*sin(2*pi*1000*t) - 4.9)) - (0.1 + (c - G*a/2*sin(2*pi*1000*t) - 0.1)*step(c - G*a/2*sin(2*pi*1000*t) - 0.1) - (c - G*a/2*sin(2*pi*1000*t) - 4.9)*step(c - G*a/2*sin(2*pi*1000*t) - 4.9)) | color: ch3 | label: difference | samples: 400
readout: differential peak asked for, V = G*a | digits: 3
```

::: predict
## Each output of a fully differential amplifier on 5 V can swing from 0.1 V to 4.9 V. What's the largest differential output, peak to peak?

- [ ] 4.8 V
- [x] 9.6 V
- [ ] 5 V
- [ ] 2.4 V

::: reveal
9.6 V. When one output is at 4.9 V the other is at 0.1 V, a difference of +4.8 V; half a cycle later it's −4.8 V. A single-ended output on the same supply manages 4.8 V peak to peak, so the differential output has twice the swing.
:::
:::

::: nameit
## The fully differential amplifier

An FDA has two inputs and two outputs, plus a pin $V_{OCM}$ that sets the outputs' average. With equal resistors $R_f$ and $R_g$ on each side,

$$v_{od} = v_{op} - v_{on} = \frac{R_f}{R_g}v_{id}, \qquad \frac{v_{op} + v_{on}}{2} = V_{OCM}.$$

An internal common-mode loop holds the output average at $V_{OCM}$ whatever the signal. Fed from one side only, with the other input resistor grounded (or at a bias), it converts a single-ended signal to a differential one.

## Why differential

- **Swing:** each output swings $\pm\hat v$ about $V_{OCM}$, so the difference swings $\pm2\hat v$: twice the signal, 6 dB more.
- **Noise:** the two outputs' independent noise adds in power, $\sqrt2$ times one, so the signal-to-noise ratio improves by 6 − 3 = 3 dB for the same per-output noise.
- **Distortion:** even harmonics are the same on both outputs and cancel in the difference, to the degree the two halves match.
- **Interference** coupled equally onto both wires is common mode and cancels.

## Driving a converter

A differential converter specifies its input common mode (often half its reference) and full scale. Set $V_{OCM}$ to the common mode, choose the gain so full scale is reached at the outputs' allowed swing, and add a small RC at the converter's inputs to absorb its sampling kicks.
:::

::: example
## A single-ended source swings 1 V peak around ground. An FDA must drive a converter whose full scale is ±2 V differential with its inputs centered at 1.65 V. What gain, $V_{OCM}$ and output voltages result?

::: solution
1. **Gain.** Full scale needs $v_{od}$ = ±2 V from ±1 V, a gain of 2:
   $$R_f = 2R_g$$
2. **Common mode.** Set $V_{OCM}$ = 1.65 V.
3. **Output voltages.** At the positive peak the outputs sit at $1.65 \pm 1$ V, 2.65 V and 0.65 V, so on a 3.3 V supply each output has 0.65 V to spare.
4. **Compare a single-ended stage.** It would have needed to swing 4 V peak to peak around 1.65 V, which doesn't fit on 3.3 V at all.

**Answer:** a gain of 2 ($R_f = 2R_g$) with $V_{OCM}$ = 1.65 V, which puts the outputs at 2.65 V and 0.65 V at the peak.
:::
:::

::: example
## An amplifier's single-ended output has 10 µV RMS of noise and can swing 2 V peak. Built fully differentially, with the same noise on each output, how much better is its signal-to-noise ratio?

::: solution
1. **Signal.** It doubles, to 4 V peak:
   $$20\log_{10} 2 = 6.0\ \text{dB}$$
2. **Noise.** The noise of the two independent outputs adds as
   $$\sqrt{10^2 + 10^2} = 14.1\ \mu\text{V RMS}$$
   which is 3.0 dB more.
3. **Net.** The signal-to-noise ratio improves by 3.0 dB. That's why precision converters and their drivers are differential: the same supply and the same transistors buy 3 dB.

**Answer:** the signal-to-noise ratio is 3.0 dB better.
:::
:::

::: example
## Each output of an FDA carries 1% second and 0.1% third harmonic, and its halves match to 5%. What harmonics does the differential output carry?

::: solution
1. **Third harmonic.** Like the signal, it's opposite on the two outputs, so it doubles along with the fundamental: still 0.1%.
2. **Second harmonic.** It's the same on both outputs, so it cancels except for the 5% mismatch:
   $$1\% \times 0.05 = 0.05\%$$
3. **Total harmonic distortion.** It falls from $\sqrt{1 + 0.01}$ = 1.0% to
   $$\sqrt{0.0025 + 0.01} = 0.11\%$$

**Answer:** the differential output carries 0.05% second and 0.1% third harmonic, 0.11% THD in all.
:::
:::

::: check
given: V = 3.3 | 5; m = 0.05 | 0.2 | 1
answer: 4*(V/2 - m)
unit: V
tolerance: 0.5%

## A fully differential amplifier on {V} V with its outputs centered at mid-supply can bring each output within {m} V of the rails. What's its largest differential output, peak to peak?

::: right
Right. Each output swings $\pm(V_S/2 - m)$, so the difference swings twice that each way: {answer}.
:::

::: misses
- [2*(V/2 - m)] That's one output's swing; the difference has twice it.
- [V - 2*m] That's one output's peak-to-peak; the difference doubles it.
- [any] $4\left(\frac{V_S}{2} - m\right)$.
:::
:::

::: check
kind: parts
given: s = 0.5 | 1 | 2; F = 2 | 4 | 8; c = 0.9 | 1.25 | 1.65

## A ±{s} V single-ended signal must fill a converter's ±{F} V differential full scale, centered at {c} V.

::: part
answer: F/s
tolerance: 0.5%

### What gain does the FDA need?

::: misses
- [F/(2*s)] The differential output is the full $v_{op} - v_{on}$.
- [any] $\frac{\text{full scale}}{\hat v_\text{in}}$.
:::
:::

::: part
answer: c + F/2
unit: V
tolerance: 0.5%

### What's the highest either output reaches?

::: misses
- [c + F] Each output carries half the difference.
- [any] $V_{OCM} + \frac{F}{2}$.
:::
:::
:::

::: check
kind: parts
given: n = 5 | 20; v = 1 | 2 | 4

## A single-ended stage swings {v} V peak with {n} µV RMS of noise. A differential version has the same swing and noise on each output.

::: part
answer: 20*log(2)
unit: dB
tolerance: 0.5%

### How much more signal does the differential version have?

::: misses
- [any] The difference swings twice as far.
:::
:::

::: part
answer: 20*log(2) - 10*log(2)
unit: dB
tolerance: 0.5%

### How much better is its signal-to-noise ratio?

::: misses
- [20*log(2)] The two outputs' noise adds too, by $\sqrt2$.
- [any] 6 dB of signal less 3 dB of noise.
:::
:::
:::

::: check
kind: parts
given: h2 = 0.5 | 1 | 3; h3 = 0.05 | 0.3; m = 2 | 10

## Each output of an FDA has {h2}% second and {h3}% third harmonic, and its halves match to {m}%.

::: part
answer: h2*m/100
unit: %
tolerance: 0.5%

### What second harmonic does the differential output have?

::: misses
- [h2] Even harmonics cancel in the difference, except for the mismatch.
- [any] $HD_2 \times$ mismatch.
:::
:::

::: part
answer: h3
unit: %
tolerance: 0.5%

### What third harmonic?

::: misses
- [2*h3] The fundamental doubles too, so the ratio stays.
- [any] Odd harmonics behave like the signal.
:::
:::
:::

::: check
kind: choice

## Interference couples 20 mV equally onto both wires feeding a fully differential amplifier. What does it do to the differential output?

- [ ] It adds 20 mV times the gain
- [x] Nearly nothing: it's common mode, and the differential output ignores it to the extent the two sides match
- [ ] It shifts $V_{OCM}$ by 20 mV
- [ ] It doubles

::: right
Right. Equal disturbances on both inputs are common mode, which the amplifier rejects.
:::

::: misses
- [1] Only the difference between the inputs is amplified.
- [3] The common-mode loop holds the output average at $V_{OCM}$.
- [4] Equal signals subtract, they don't add.
:::
:::

::: check
kind: derivation
vars: f = 100..1000000, g = 100..1000000, d = -5..5, c = 0.5..3

## An FDA has $R_f$ = f and $R_g$ = g on each side, a differential input d and $V_{OCM}$ = c.

::: step
answer: f/g*d

### What's the differential output?
:::

::: step
answer: c + f/g*d/2

### What's the positive output?
:::

::: step
answer: c - f/g*d/2

### And the negative one?
:::

::: right
Right. The outputs split the differential signal equally around $V_{OCM}$.
:::
:::

::: explain
## Why does a fully differential output get more signal out of the same supply than a single-ended one?

::: model
A single-ended output can only swing between the two rails, so its signal is at most the supply voltage peak to peak. A differential output is the difference between two outputs that move in opposite directions. When one is near the top rail, the other is near the bottom, so the difference reaches nearly the whole supply in one direction, and half a cycle later nearly the whole supply in the other. The differential signal therefore spans about twice the supply peak to peak, twice what a single output can, while the common mode stays fixed at the middle.
:::
:::

::: practice

::: check
given: V = 1.8 | 12; m = 0.1 | 0.5
answer: 4*(V/2 - m)
unit: V
tolerance: 0.5%

## FDA on {V} V, {m} V from the rails. Largest differential output, peak to peak?

::: misses
- [any] $4\left(\frac{V_S}{2} - m\right)$.
:::
:::

::: check
given: c = 1 | 2.5; F = 1 | 5
answer: c + F/2
unit: V
tolerance: 0.5%

## ±{F} V differential full scale at {c} V common mode. Highest output?

::: misses
- [any] $V_{OCM} + F/2$.
:::
:::
:::
