High-Frequency Response and the Miller Effect
A transistor with a transition frequency of , in a stage with a gain of 180, should manage about , you might think. Build the common-emitter stage and its bandwidth turns out to be . The culprit is a capacitance of only between base and collector, which the stage's own gain multiplies by 256. This is the Miller effect, the single most important idea for the upper corner frequency of an amplifier. This lesson adds the junction capacitances to the hybrid- model, estimates with the Miller approximation and with open-circuit time constants, checks both against SPICE, and shows how a cascode removes the problem.
Capacitances in the small-signal model
A BJT has two capacitances that matter: between base and emitter (the forward-biased junction plus the charge stored in the base, ) and between base and collector (a reverse-biased junction, a few picofarads). A MOSFET has the corresponding and . The figure shows them in the CE stage's small-signal circuit (BJT Small-Signal Models), with the source and bias resistors replaced by a Thevenin equivalent and .
The device's own speed is summarised by the transition frequency , where the short-circuit current gain falls to 1:
The Miller effect
connects the input node b to the output node c, which swings times as much, with . A voltage at the input puts across , so the input supplies times the current a grounded would draw. Seen from the input, looks like
to ground (Miller's theorem), and from the output like about . The input node now has and is driven through , which gives the dominant pole:
The approximation assumes the gain is still the mid-band gain at , so it slightly overestimates . The general lesson: any capacitance across an inverting gain is multiplied by the gain. The same effect is put to good use in op-amp compensation (Stability and Frequency Compensation).
Open-circuit time constants
For more than two capacitors, the counterpart of the short-circuit method is: find the resistance each capacitor sees with every other capacitor open, then
For in the CE stage, a test current between b and c gives , which already contains the Miller multiplication. The method is an under-estimate of (safe for design) and exact when one pole dominates.
Worked example
Given: a CE stage with , bias divider /, bypassed, , source resistance , transistor QN. SPICE's operating point gives , , , , , .
Find: , the mid-band gain, by Miller and by open-circuit time constants.
Solve:
Check: contributes 94 % of the time constant although it is 16 times smaller than . The gain–bandwidth product is well below , which is what Miller costs.
In Python: estimates against the exact two-node solution
import numpy as np
from scipy.optimize import brentq
# small-signal values printed by SPICE's op for Q1 (IC = 1.381 mA)
gm, rpi, ro = 53.38e-3, 1 / 2.594e-4, 1 / 1.342e-5
Cpi, Cmu = 37.11e-12, 2.371e-12
Rsig, RB, RC = 1e3, 47e3 * 10e3 / 57e3, 5.1e3
par = lambda a, b: a * b / (a + b)
Rs = par(Rsig, RB) # Thevenin resistance driving the base
k = RB / (RB + Rsig) # Thevenin voltage factor
RL = par(RC, ro)
Rpi0 = par(Rs, rpi)
A0 = k * rpi / (rpi + Rs) * gm * RL
CM = Cmu * (1 + gm * RL)
f_miller = 1 / (2 * np.pi * Rpi0 * (Cpi + CM))
tau = Rpi0 * Cpi + (Rpi0 * (1 + gm * RL) + RL) * Cmu
print(f"mid-band gain {A0:.1f}, RL' = {RL/1e3:.3f} kOhm, R_pi0 = {Rpi0:.1f} Ohm")
print(f"Miller: CM = {CM*1e12:.1f} pF, f_H = {f_miller/1e3:.0f} kHz")
print(f"open-circuit time constants: {Rpi0*Cpi*1e9:.1f} ns + {(Rpi0*(1+gm*RL)+RL)*Cmu*1e9:.1f} ns"
f" -> f_H = {1/(2*np.pi*tau)/1e3:.0f} kHz")
def H(f): # exact two-node hybrid-pi solution (no rb)
s = 2j * np.pi * f
Y = np.array([[1/Rs + 1/rpi + s*(Cpi + Cmu), -s*Cmu],
[gm - s*Cmu, 1/RL + s*Cmu]])
return abs(np.linalg.solve(Y, [k / Rs, 0])[1])
fH = brentq(lambda f: H(f) - A0 / np.sqrt(2), 1e4, 1e8)
print(f"exact: f_H = {fH/1e3:.0f} kHz; fT = gm/(2 pi (Cpi + Cmu)) = {gm/(2*np.pi*(Cpi+Cmu))/1e6:.0f} MHz")mid-band gain 184.5, RL' = 4.773 kOhm, R_pi0 = 724.3 Ohm
Miller: CM = 606.5 pF, f_H = 341 kHz
open-circuit time constants: 26.9 ns + 450.6 ns -> f_H = 333 kHz
exact: f_H = 334 kHz; fT = gm/(2 pi (Cpi + Cmu)) = 215 MHz
The two-node circuit has two poles and a right-half-plane zero at ; the poles are so far apart that both estimates land within 2 % of the exact .
Cross-check with SPICE, and the cascode cure
The deck simulates the CE stage and, beside it, the same input transistor with a common-base transistor Q3 stacked on its collector (base at ). Q2's collector now sees instead of , so its Miller gain is about 1 (Multistage Amplifiers and the Cascode).
cat > hf.cir <<'EOF'
* CE stage and the same stage as a cascode: upper corner frequency
.model QN NPN(Is=1e-14 Bf=200 Vaf=100 Br=2 Rb=10 Cje=10p Cjc=4p Tf=0.4n)
VCC vcc 0 12
* common emitter
Vs1 s1 0 DC 0 AC 1
Rsig1 s1 a1 1k
C1 a1 b1 10u
R1 vcc b1 47k
R2 b1 0 10k
Q1 c1 b1 e1 QN
RC1 vcc c1 5.1k
RE1 e1 0 1k
CE1 e1 0 1000u
* cascode: same input stage, Q3 common base on top, base at 3.5 V
Vs2 s2 0 DC 0 AC 1
Rsig2 s2 a2 1k
C2 a2 b2 10u
R3 vcc b2 47k
R4 b2 0 10k
Q2 x b2 e2 QN
RE2 e2 0 1k
CE2 e2 0 1000u
VB3 b3 0 3.5
Q3 c3 b3 x QN
RC3 vcc c3 5.1k
.control
op
print @q1[ic] @q1[gm] @q1[gpi] @q1[go] @q1[cpi] @q1[cmu] v(c1) v(x)
ac dec 50 10 1g
meas ac a_ce find vm(c1) at=10k
let t1 = a_ce/sqrt(2)
set tg1 = "amp;t1"
meas ac fh_ce when vm(c1)=$tg1 fall=1
meas ac a_cas find vm(c3) at=10k
let t2 = a_cas/sqrt(2)
set tg2 = "amp;t2"
meas ac fh_cas when vm(c3)=$tg2 fall=1
.endc
.end
EOF
ngspice -b hf.cir 2>&1 | grep -E '^(v\(|@|[a-z0-9_]+ +=)'@q1[ic] = 1.381138e-03
@q1[gm] = 5.338472e-02
@q1[gpi] = 2.594415e-04
@q1[go] = 1.342087e-05
@q1[cpi] = 3.711216e-11
@q1[cmu] = 2.370774e-12
v(c1) = 4.959671e+00
v(x) = 2.837007e+00
a_ce = 1.840820e+02
fh_ce = 3.318530e+05
a_cas = 1.947226e+02
fh_cas = 4.337372e+06
The CE stage reaches (the base resistance and the output capacitance explain the last 0.6 %). The cascode has slightly more gain (its output resistance is far above ) and 13 times the bandwidth, , from one extra transistor and a bias voltage. A common-base or common-gate input stage has the same advantage, at the price of a low input resistance (Common-Collector and Common-Base Amplifiers).
Interactive: watch set the bandwidth
The lab holds the linear hybrid- circuit of the figure (no transistor: G1 is ; the source is the Thevenin equivalent behind ). At it shows per volt (the mid-band gain); at , which is of that. Halve CMU and the corner almost doubles; halve CPI and it barely moves.
Guided lab: measure
Hand calculation. Mid-band gain about 184; ; cascode about .
Simulation. Python, SPICE and the lab.
What you would measure. Build the CE stage with a general-purpose small-signal NPN; its (datasheet "output capacitance", typically 2 to 4 pF) and (100 to 300 MHz) are close to the model's. Use a series resistor from the generator and an input of peak (through a 100:1 divider) so the output stays linear. Measure the gain at 10 kHz, then raise the frequency until it falls to 0.707. Use a 10× probe on the collector: a 1× probe's 100 pF would itself set the corner. Expect between roughly 200 and 500 kHz, set mainly by your transistor's and the breadboard's stray capacitance (a few pF between adjacent rows, which adds directly to and is multiplied by 255). Build the cascode version on a short, compact layout and expect several megahertz.
Hazards and safe setup. from a current-limited supply (). A high-gain, wide-band stage on a breadboard can oscillate: keep input and output wires apart and decouple the supply with right at the transistor.
Pitfalls
- Quoting as the amplifier's bandwidth. A stage with gain reaches at best about , and Miller makes it much worse.
- Forgetting stray and probe capacitance from collector to base or to ground.
- Raising for gain and expecting the same bandwidth. grows with and with both and gain; the gain–bandwidth product stays roughly fixed.
- High source resistance. multiplies everything; a source instead of would lower almost threefold here.
Practice
- A MOSFET CS stage has , , , , and is driven from . Estimate by Miller.
- What is the Miller capacitance of the same in a source follower with gain 0.9?
- Why does the bypass capacitor of the earlier lesson not appear in the high-frequency analysis?
Answer
- ; .
- In a follower goes from gate to drain, and the drain is at signal ground: it is just . is the one bootstrapped: it appears as .
- At high frequency it is a short circuit; the coupling and bypass capacitors only matter at the low end, the device capacitances only at the high end. Between the two is the mid-band.
Test yourself
A base–collector capacitance in a stage with appears at the input as about…
A transistor has , , . Its is about…
Why does a cascode have a much higher bandwidth than a CE stage with the same gain?
- The second transistor has a higher
- The input transistor's collector sees about , so its Miller gain is about 1
- It uses more current
- Its input resistance is lower
The open-circuit time-constant method finds the resistance each capacitor sees with…
- all other capacitors shorted
- all other capacitors open
- the input shorted to the output
- the transistor removed