---
title: The Miller effect and amplifier bandwidth
heading: How a tiny capacitor across a gain stage limits its speed
eyebrow: C6 · Lesson 11 · The Miller effect
xp: 40
---

::: hook
A common-source stage with a gain of 20 has half a picofarad between its gate and drain. That capacitor sees the input signal on one side and 20 times the inverted signal on the other, so it carries 21 times the current a grounded half-picofarad would, and the source driving the gate sees a capacitor 21 times larger. This is the **Miller effect**, and in most voltage amplifiers it, more than the transistor's own $f_T$, decides the bandwidth. This lesson finds an amplifier's upper corner by hand, two ways.
:::

::: play
- A common-source stage with gain −20, driven through a 10 kΩ source resistance. Its gate-source capacitance is 2 pF and its gate-drain capacitance is $C_{gd}$.
- The Bode plot is flat at 26 dB and falls above about 1.2 MHz. Lower $C_{gd}$ to 0.05 pF: the corner moves up several times, even though $C_{gd}$ was the smaller capacitor.
- Lower $R_\text{sig}$: the corner rises too. The input pole is set by the source resistance times the Miller-multiplied capacitance.
:::
:::

```sim circuit
VS s 0 sine 1m V 1k Hz 0 ° 0.9  @ 0,1 down 3
RSIG s g 10k                    @ 0,1 right 2
CGS g 0 2p                      @ 2,1 down 3
CGD g d 0.5p                    @ 2,1 right 3
M1 d g 0 nmos VTO=0.5 KP=10m    @ 4,2
RD vdd d 5k                     @ 5,-1 down 2
VDD vdd 0 5                     @ 7,-1 down 5
slider: CGD 0.05p..5p log
slider: RSIG 100..100k log
scope: v(s), v(d)
time: 0..3m s
bode: v(d)/v(s) | f = 1k..1G Hz
```

::: predict
## A stage with gain −20 has $C_{gs}$ = 2 pF and $C_{gd}$ = 0.5 pF. What capacitance does the source driving its gate see?

- [ ] 2.5 pF
- [ ] 2 pF: the gate-drain capacitor goes to the output, not to ground
- [x] 12.5 pF
- [ ] 50 pF

::: reveal
12.5 pF: $C_{gs} + C_{gd}(1 + 20)$. When the gate rises by v, the drain falls by 20v, so the gate-drain capacitor has 21v across it and draws 21 times the current. Seen from the input it looks like a 10.5 pF capacitor to ground.
:::
:::

::: nameit
## Miller's theorem

An impedance Z connected between the input and output of an amplifier with gain $-A$ draws the current $\frac{v(1 + A)}{Z}$ from the input, so from the input it looks like $\frac{Z}{1 + A}$ to ground. For a capacitor:

$$C_\text{in} = C(1 + A)$$

(and at the output it looks like about C). Inverting gain magnifies bridging capacitance; a follower, with gain near +1, nearly cancels it.

## The CS and CE stages

With load $R_L' = R_D \parallel r_o \parallel R_L$ and mid-band gain $A = g_mR_L'$:

$$C_\text{in} = C_{gs} + C_{gd}(1 + g_mR_L') \qquad f_\text{in} = \frac{1}{2\pi R_\text{sig}'C_\text{in}}$$

where $R_\text{sig}'$ is the resistance driving the input: $R_\text{sig}$ for a MOSFET, $R_\text{sig} \parallel r_\pi$ for a BJT (with $C_\pi$, $C_\mu$ in place of $C_{gs}$, $C_{gd}$). This input pole is usually dominant.

## Open-circuit time constants

A more careful estimate, like the short-circuit method of C5 lesson 49 turned around: for each capacitor, open all the others, find the resistance it sees, and add the time constants:

$$\frac{1}{2\pi f_H} \approx \sum_k R_kC_k = C_{gs}R_\text{sig}' + C_{gd}\left[R_\text{sig}'(1 + g_mR_L') + R_L'\right] + C_LR_L'$$

The middle term contains the Miller effect plus the output side's share.

## Gain against bandwidth

When the Miller term dominates, $f_H \approx \frac{1}{2\pi R_\text{sig}'C_{gd}g_mR_L'}$, so gain times bandwidth is about $\frac{1}{2\pi R_\text{sig}'C_{gd}}$: more gain, proportionally less bandwidth. The capacitor also makes a right-half-plane zero at $g_m/(2\pi C_{gd})$, usually far above the poles. The cures, a low source resistance, a cascode (lesson 13) or a follower in front, all attack the Miller term.
:::

::: example
## Find the upper corner of the stage in the sim: $g_m$ = 4 mS, $R_D$ = 5 kΩ, $C_{gs}$ = 2 pF, $C_{gd}$ = 0.5 pF, $R_\text{sig}$ = 10 kΩ.

::: solution
1. **Miller capacitance.** The gain is 20, so $C_{gd}$ is multiplied by 21:
   $$\begin{aligned} C_\text{in} &= 2 + 0.5 \times 21 \\ &= 12.5\ \text{pF} \end{aligned}$$
2. **Miller estimate of the corner.**
   $$\begin{aligned} f_\text{in} &= \frac{1}{2\pi \times 10\ \text{k} \times 12.5\ \text{pF}} \\ &= 1.27\ \text{MHz} \end{aligned}$$
3. **Open-circuit time constants.**
   $$\begin{aligned} \tau &= 2\ \text{pF} \times 10\ \text{k} \\ &\quad + 0.5\ \text{pF} \times (210\ \text{k} + 5\ \text{k}) \\ &= 127.5\ \text{ns} \end{aligned}$$
   so $f_H$ = 1.25 MHz.
4. **Check.** The Bode plot agrees.

**Answer:** the upper corner is about 1.25 MHz (1.27 MHz by the Miller estimate).
:::
:::

::: example
## A CE stage at 1 mA (β = 100) has $R_L'$ = 2 kΩ, $C_\pi$ = 10 pF, $C_\mu$ = 2 pF and a 1 kΩ source. Estimate $f_H$.

::: solution
1. **Small-signal values.** $g_m$ = 38.7 mS and $r_\pi$ = 2.59 kΩ, so
   $$\begin{aligned} R_\text{sig}' &= 1\ \text{k} \parallel 2.59\ \text{k} \\ &= 721\ \Omega \end{aligned}$$
   and the gain is 77.4.
2. **Resistance seen by $C_\mu$.** With $1 + g_mR_L' = 78.4$,
   $$\begin{aligned} R_\mu &= R_\text{sig}'(1 + g_mR_L') + R_L' \\ &= 721 \times 78.4 + 2000 \\ &= 58.5\ \text{k}\Omega \end{aligned}$$
3. **Sum of time constants.**
   $$\begin{aligned} \textstyle\sum RC &= 10\ \text{pF} \times 721\ \Omega \\ &\quad + 2\ \text{pF} \times 58.5\ \text{k}\Omega \\ &= 124\ \text{ns} \end{aligned}$$
4. **Upper corner.**
   $$\begin{aligned} f_H &= \frac{1}{2\pi \times 124\ \text{ns}} \\ &= 1.28\ \text{MHz} \end{aligned}$$
5. **Where it comes from.** The 2 pF $C_\mu$ contributes 94% of it.

**Answer:** $f_H$ is about 1.28 MHz, set mostly by $C_\mu$.
:::
:::

::: example
## Halve $R_D$ in the first example's stage, from 5 kΩ to 2.5 kΩ. What happens to its gain and its upper corner by open-circuit time constants?

::: solution
1. **Gain.** It halves, from 20 to 10.
2. **Time constants.** For $C_{gs}$:
   $$2\ \text{pF} \times 10\ \text{k} = 20\ \text{ns}$$
   and for $C_{gd}$:
   $$\begin{aligned} \tau_{gd} &= 0.5\ \text{pF} \times (10\ \text{k} \times 11 + 2.5\ \text{k}) \\ &= 56\ \text{ns} \end{aligned}$$
3. **Upper corner.**
   $$\begin{aligned} f_H &= \frac{1}{2\pi \times 76\ \text{ns}} \\ &= 2.09\ \text{MHz} \end{aligned}$$
   up 67% from 1.25 MHz.
4. **Gain-bandwidth product.** It falls from 25 MHz to 21 MHz, because $C_{gs}$'s time constant doesn't shrink with the gain. Only the Miller part trades gain for bandwidth one for one.

**Answer:** the gain halves to 10, and the upper corner rises 67%, to 2.09 MHz.
:::
:::

::: check
given: C = 0.1 | 0.5 | 2; A = 5 | 20 | 50
answer: C*(1 + A)
unit: pF
tolerance: 0.5%

## A {C} pF capacitor bridges an inverting stage with gain −{A}. What capacitance does it present at the input?

::: right
Right. $C(1 + A)$ = {answer}.
:::

::: misses
- [C*A] It's $1 + A$: the capacitor sees the input plus the inverted output.
- [any] Not yet. Miller: $C(1 + A)$.
:::
:::

::: check
given: Cgs = 1 | 5; Cgd = 0.2 | 1; gm = 2 | 10; RL = 2 | 10; Rs = 1 | 20
answer: 1/(2*pi*Rs*1000*(Cgs + Cgd*(1 + gm*RL))*1e-12)/1e6
unit: MHz
tolerance: 0.5%

## A CS stage ($g_m$ = {gm} mS, $R_L'$ = {RL} kΩ) has $C_{gs}$ = {Cgs} pF and $C_{gd}$ = {Cgd} pF, driven from {Rs} kΩ. Where is its input pole?

::: right
Right. $\frac{1}{2\pi R_\text{sig}(C_{gs} + C_{gd}(1 + g_mR_L'))}$ = {answer}.
:::

::: misses
- [1/(2*pi*Rs*1000*(Cgs + Cgd)*1e-12)/1e6] Multiply $C_{gd}$ by $1 + g_mR_L'$.
- [any] Not yet. Find the Miller input capacitance first.
:::
:::

::: check
given: Cgs = 1 | 5; Cgd = 0.2 | 1; gm = 2 | 10; RL = 2 | 10; Rs = 1 | 20; CL = 0.5 | 5
answer: 1/(2*pi*(Cgs*Rs*1000 + Cgd*(Rs*1000*(1 + gm*RL) + RL*1000) + CL*RL*1000)*1e-12)/1e6
unit: MHz
tolerance: 0.5%

## For the same kind of stage with a {CL} pF load, estimate $f_H$ by open-circuit time constants ($C_{gs}$ = {Cgs}, $C_{gd}$ = {Cgd} pF, $g_m$ = {gm} mS, $R_L'$ = {RL} kΩ, $R_\text{sig}$ = {Rs} kΩ).

::: right
Right. {answer}.
:::

::: misses
- [any] Not yet. $C_{gs}R_\text{sig} + C_{gd}[R_\text{sig}(1 + g_mR_L') + R_L'] + C_LR_L'$.
:::
:::

::: check
given: IC = 0.5 | 2; beta = 100 | 200; Rs = 0.5 | 5; Cpi = 5 | 20; Cmu = 0.5 | 3; RL = 1 | 5
answer: 1/(2*pi*(1/(1/(Rs*1000) + IC/(beta*0.02585)/1000))*(Cpi + Cmu*(1 + IC/0.02585*RL))*1e-12)/1e6
unit: MHz
tolerance: 0.5%

## A CE stage at {IC} mA (β = {beta}) with $R_L'$ = {RL} kΩ has $C_\pi$ = {Cpi} pF and $C_\mu$ = {Cmu} pF, driven from {Rs} kΩ. Where is its Miller input pole?

::: right
Right. With $R_\text{sig} \parallel r_\pi$ driving $C_\pi + C_\mu(1 + g_mR_L')$: {answer}.
:::

::: misses
- [1/(2*pi*Rs*1000*(Cpi + Cmu*(1 + IC/0.02585*RL))*1e-12)/1e6] The base's $r_\pi$ is in parallel with the source resistance.
- [any] Not yet. $R_\text{sig}' = R_\text{sig} \parallel r_\pi$.
:::
:::

::: check
given: gm = 1 | 40; Cgd = 0.1 | 2
answer: gm*1e-3/(2*pi*Cgd*1e-12)/1e9
unit: GHz
tolerance: 0.5%

## Where is the right-half-plane zero of a stage with $g_m$ = {gm} mS and a bridging capacitance of {Cgd} pF?

::: right
Right. $\frac{g_m}{2\pi C_{gd}}$ = {answer}.
:::

::: misses
- [any] Not yet. The zero is where the current through $C_{gd}$ equals $g_mv_{gs}$.
:::
:::

::: check
given: Rs = 1 | 50; Cgd = 0.2 | 2
answer: 1/(2*pi*Rs*1000*Cgd*1e-12)/1e6
unit: MHz
tolerance: 0.5%

## When the Miller term dominates, what gain-bandwidth product does a stage have, driven from {Rs} kΩ with {Cgd} pF bridging it?

::: right
Right. About $\frac{1}{2\pi R_\text{sig}C_{gd}}$ = {answer}.
:::

::: misses
- [any] Not yet. $|A|f_H \approx 1/(2\pi R_\text{sig}C_{gd})$.
:::
:::

::: check
kind: parts
given: g = 2 | 4 | 10; RD = 2 | 5; Cgs = 1 | 3; Cgd = 0.2 | 0.5; Rs = 1 | 10

## A CS stage has $g_m$ = {g} mS, $R_D$ = {RD} kΩ, $C_{gs}$ = {Cgs} pF, $C_{gd}$ = {Cgd} pF and a {Rs} kΩ source.

::: part
answer: Cgs + Cgd*(1 + g*RD)
unit: pF
tolerance: 0.5%

### What's its Miller input capacitance?

::: misses
- [Cgs + Cgd*g*RD] It's $1 + A$, not A.
- [any] $C_{gs} + C_{gd}(1 + g_mR_L')$.
:::
:::

::: part
answer: 1/(2*pi*(Cgs*Rs + Cgd*(Rs*(1 + g*RD) + RD))*1e-9)/1e6
unit: MHz
tolerance: 0.5%

### What's its upper corner by open-circuit time constants?

::: misses
- [1/(2*pi*Rs*(Cgs + Cgd*(1 + g*RD))*1e-9)/1e6] That's the Miller estimate; the time constants add $C_{gd}R_L'$.
- [any] $\frac{1}{2\pi\sum R_kC_k}$.
:::
:::
:::

::: check
kind: derivation
vars: g = 0.0001..0.1, L = 100..100000, s = 10..100000, a = 0.0000000000001..0.00000000001, b = 0.00000000000001..0.000000000001

## A CS stage with transconductance g and load L is driven from s, with $C_{gs}$ = a and $C_{gd}$ = b.

::: step
answer: a + b*(1 + g*L)

### What's the Miller input capacitance?
:::

::: step
answer: a*s + b*(s*(1 + g*L) + L)

### What's the sum of open-circuit time constants?
:::

::: step
answer: 1/(2*pi*(a*s + b*(s*(1 + g*L) + L)))

### What's the upper corner?
:::

::: right
Right. The $C_{gd}$ term grows with the gain; the $C_{gs}$ term doesn't.
:::
:::

::: explain
## Why does a small gate-drain capacitance limit a high-gain stage more than a larger gate-source capacitance?

::: model
The gate-source capacitor has only the input voltage across it, so it draws the current you'd expect from its size. The gate-drain capacitor sits between the input and an output that swings A times as far in the opposite direction, so the voltage across it, and the current it draws from the source, is $1 + A$ times larger. To the source driving the gate it looks like a capacitor $1 + A$ times its real size, which in a stage with a gain of tens or hundreds dwarfs the gate-source capacitance. More gain makes it worse, which is why gain and bandwidth trade against each other in such stages.
:::
:::

::: practice

::: check
given: R = 1 | 100; C = 1 | 100
answer: 1/(2*pi*R*1000*C*1e-12)/1e6
unit: MHz
tolerance: 0.5%

## What pole do {R} kΩ and {C} pF make?

::: misses
- [any] $1/(2\pi RC)$.
:::
:::

::: check
given: tau = 10 | 20 | 50 | 100 | 200 | 500
answer: 1/(2*pi*tau*1e-9)/1e6
unit: MHz
tolerance: 0.5%

## A sum of open-circuit time constants totals {tau} ns. What is the estimated upper corner?

::: misses
- [any] $1/(2\pi\sum RC)$.
:::
:::

::: check
given: gm = 2 | 40; RL = 1 | 10
answer: 1 + gm*RL
tolerance: 0.5%

## By what factor does the Miller effect multiply the bridging capacitance in a stage with $g_m$ = {gm} mS and $R_L'$ = {RL} kΩ?

::: misses
- [any] $1 + g_mR_L'$.
:::
:::
:::
