TExcelTAD
Home › Analog Electronics: Diodes, Transistors & Op-Amps › High-Frequency Response and the Miller Effect

High-Frequency Response and the Miller Effect

A transistor with a transition frequency of 200 MHz200\ \text{MHz}, in a stage with a gain of 180, should manage about 1 MHz1\ \text{MHz}, you might think. Build the common-emitter stage and its bandwidth turns out to be 330 kHz330\ \text{kHz}. The culprit is a capacitance of only 2.4 pF2.4\ \text{pF} 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-π\pi model, estimates fHf_H 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: CπC_\pi between base and emitter (the forward-biased junction plus the charge stored in the base, gmτFg_m \tau_F) and CμC_\mu between base and collector (a reverse-biased junction, a few picofarads). A MOSFET has the corresponding CgsC_{gs} and CgdC_{gd}. 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 RL′=RC∥roR_L' = R_C \parallel r_o.

hybrid-pi model of the CE stage + vs' Rs' 892 Ohm b rpi 3.85 kOhm Cpi 37.1 pF Cmu 2.37 pF c gm vpi RL' 4.78 kOhm Miller equivalent + vs' Rs' 892 Ohm b rpi 3.85 kOhm Cpi + CM 644 pF c gm vpi RL' 4.78 kOhm Cmu

The device's own speed is summarised by the transition frequency fTf_T, where the short-circuit current gain hfe(f)h_{fe}(f) falls to 1:

fT=gm2π(Cπ+Cμ)f_T = \frac{g_m}{2\pi (C_\pi + C_\mu)}

The Miller effect

CμC_\mu connects the input node b to the output node c, which swings −A-A times as much, with A=gmRL′A = g_m R_L'. A voltage vbv_b at the input puts vb(1+A)v_b(1 + A) across CμC_\mu, so the input supplies (1+A)(1 + A) times the current a grounded CμC_\mu would draw. Seen from the input, CμC_\mu looks like

CM=Cμ(1+gmRL′)C_M = C_\mu (1 + g_m R_L')

to ground (Miller's theorem), and from the output like about CμC_\mu. The input node now has Cπ+CMC_\pi + C_M and is driven through Rπ0=Rs′∥rπR_{\pi 0} = R_s' \parallel r_\pi, which gives the dominant pole:

fH≈12πRπ0(Cπ+CM)f_H \approx \frac{1}{2\pi R_{\pi 0} (C_\pi + C_M)}

The approximation assumes the gain is still the mid-band gain at fHf_H, so it slightly overestimates fHf_H. 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 Ri0R_{i0} each capacitor sees with every other capacitor open, then

1ωH≈∑iRi0Ci\frac{1}{\omega_H} \approx \sum_i R_{i0} C_i

For CμC_\mu in the CE stage, a test current between b and c gives Rμ0=Rπ0(1+gmRL′)+RL′R_{\mu 0} = R_{\pi 0}(1 + g_m R_L') + R_L', which already contains the Miller multiplication. The method is an under-estimate of fHf_H (safe for design) and exact when one pole dominates.

Worked example

Given: a CE stage with VCC=12 VV_{CC} = 12\ \text{V}, bias divider 47 kΩ47\ \text{k}\Omega/10 kΩ10\ \text{k}\Omega, RE=1 kΩR_E = 1\ \text{k}\Omega bypassed, RC=5.1 kΩR_C = 5.1\ \text{k}\Omega, source resistance 1 kΩ1\ \text{k}\Omega, transistor QN. SPICE's operating point gives IC=1.381 mAI_C = 1.381\ \text{mA}, gm=53.38 mA/Vg_m = 53.38\ \text{mA/V}, rπ=3.854 kΩr_\pi = 3.854\ \text{k}\Omega, ro=74.5 kΩr_o = 74.5\ \text{k}\Omega, Cπ=37.11 pFC_\pi = 37.11\ \text{pF}, Cμ=2.371 pFC_\mu = 2.371\ \text{pF}.

Find: fTf_T, the mid-band gain, fHf_H by Miller and by open-circuit time constants.

Solve:

fT=53.38 mA/V2π⋅39.48 pF=215 MHzRs′=1 kΩ∥8.246 kΩ=892 Ω,Rπ0=892∥3854=724 Ω,RL′=5.1 kΩ∥74.5 kΩ=4.773 kΩgmRL′=254.8,CM=2.371 pF⋅255.8=606.5 pFfH,Miller=12π⋅724 Ω⋅(37.1+606.5) pF=341 kHzτ=724⋅37.11 pF+(724⋅255.8+4773)⋅2.371 pF=26.9+450.6=477.5 ns,fH,OCTC=333 kHz\begin{aligned} f_T &= \frac{53.38\ \text{mA/V}}{2\pi \cdot 39.48\ \text{pF}} = 215\ \text{MHz} \\ R_s' &= 1\ \text{k}\Omega \parallel 8.246\ \text{k}\Omega = 892\ \Omega, \quad R_{\pi 0} = 892 \parallel 3854 = 724\ \Omega, \quad R_L' = 5.1\ \text{k}\Omega \parallel 74.5\ \text{k}\Omega = 4.773\ \text{k}\Omega \\ g_m R_L' &= 254.8, \quad C_M = 2.371\ \text{pF} \cdot 255.8 = 606.5\ \text{pF} \\ f_{H,\text{Miller}} &= \frac{1}{2\pi \cdot 724\ \Omega \cdot (37.1 + 606.5)\ \text{pF}} = 341\ \text{kHz} \\ \tau &= 724 \cdot 37.11\ \text{pF} + (724 \cdot 255.8 + 4773) \cdot 2.371\ \text{pF} = 26.9 + 450.6 = 477.5\ \text{ns}, \quad f_{H,\text{OCTC}} = 333\ \text{kHz} \end{aligned}

Check: CμC_\mu contributes 94 % of the time constant although it is 16 times smaller than CπC_\pi. The gain–bandwidth product 184.5⋅333 kHz=61 MHz184.5 \cdot 333\ \text{kHz} = 61\ \text{MHz} is well below fTf_T, which is what Miller costs.

In Python: estimates against the exact two-node solution

python · try it yourself
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 gm/(2πCμ)=3.6 GHzg_m/(2\pi C_\mu) = 3.6\ \text{GHz}; the poles are so far apart that both estimates land within 2 % of the exact 334 kHz334\ \text{kHz}.

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 3.5 V3.5\ \text{V}). Q2's collector now sees 1/gm3≈19 Ω1/g_{m3} \approx 19\ \Omega instead of 4.8 kΩ4.8\ \text{k}\Omega, so its Miller gain is about 1 (Multistage Amplifiers and the Cascode).

bash · try it yourself
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 332 kHz332\ \text{kHz} (the 10 Ω10\ \Omega base resistance rbr_b and the output capacitance explain the last 0.6 %). The cascode has slightly more gain (its output resistance is far above ror_o) and 13 times the bandwidth, 4.34 MHz4.34\ \text{MHz}, 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 CμC_\mu set the bandwidth

The lab holds the linear hybrid-π\pi circuit of the figure (no transistor: G1 is gmvπg_m v_\pi; the source is the Thevenin equivalent 0.8919 V0.8919\ \text{V} behind 892 Ω892\ \Omega). At 10 kHz10\ \text{kHz} it shows ∣V(c)∣=184.5 V\lvert V(\text{c}) \rvert = 184.5\ \text{V} per volt (the mid-band gain); at 334 kHz334\ \text{kHz} 130.4 V130.4\ \text{V}, which is 1/21/\sqrt 2 of that. Halve CMU and the corner almost doubles; halve CPI and it barely moves.

0501001501k10k100k1M10M100Mf (Hz)|V| (V)|V(c)|phasors at f = 10.00 kHz (magnitude @ phase)V(s)892 mV @ 0.0 degV(b)724 mV @ -1.7 degV(c)184 V @ 178.3 degI(V1)190 uA @ -172.8 degI(RS)190 uA @ 7.2 degI(RPI)188 uA @ -1.7 degI(CPI)1.69 uA @ 88.3 degI(CMU)27.6 uA @ 88.3 degI(G1)38.6 mA @ -1.7 degI(RL)38.6 mA @ 178.3 deg

Guided lab: measure fHf_H

Hand calculation. Mid-band gain about 184; fH≈330 kHzf_H \approx 330\ \text{kHz}; cascode about 4 MHz4\ \text{MHz}.

Simulation. Python, SPICE and the lab.

What you would measure. Build the CE stage with a general-purpose small-signal NPN; its CcbC_{cb} (datasheet "output capacitance", typically 2 to 4 pF) and fTf_T (100 to 300 MHz) are close to the model's. Use a 1 kΩ1\ \text{k}\Omega series resistor from the generator and an input of 5 mV5\ \text{mV} 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 fHf_H between roughly 200 and 500 kHz, set mainly by your transistor's CcbC_{cb} and the breadboard's stray capacitance (a few pF between adjacent rows, which adds directly to CμC_\mu and is multiplied by 255). Build the cascode version on a short, compact layout and expect several megahertz.

Hazards and safe setup. 12 V12\ \text{V} from a current-limited supply (20 mA20\ \text{mA}). A high-gain, wide-band stage on a breadboard can oscillate: keep input and output wires apart and decouple the supply with 100 nF100\ \text{nF} right at the transistor.

Pitfalls

  • Quoting fTf_T as the amplifier's bandwidth. A stage with gain AA reaches at best about fT/Af_T/A, and Miller makes it much worse.
  • Forgetting stray and probe capacitance from collector to base or to ground.
  • Raising RCR_C for gain and expecting the same bandwidth. CMC_M grows with gmRL′g_m R_L' and Rμ0R_{\mu 0} with both RL′R_L' and gain; the gain–bandwidth product stays roughly fixed.
  • High source resistance. Rπ0R_{\pi 0} multiplies everything; a 10 kΩ10\ \text{k}\Omega source instead of 1 kΩ1\ \text{k}\Omega would lower fHf_H almost threefold here.

Practice

  1. A MOSFET CS stage has gm=4 mA/Vg_m = 4\ \text{mA/V}, RL′=5 kΩR_L' = 5\ \text{k}\Omega, Cgs=5 pFC_{gs} = 5\ \text{pF}, Cgd=1 pFC_{gd} = 1\ \text{pF}, and is driven from 10 kΩ10\ \text{k}\Omega. Estimate fHf_H by Miller.
  2. What is the Miller capacitance of the same CgdC_{gd} in a source follower with gain 0.9?
  3. Why does the bypass capacitor of the earlier lesson not appear in the high-frequency analysis?
Answer
  1. CM=1 pF⋅(1+20)=21 pFC_M = 1\ \text{pF} \cdot (1 + 20) = 21\ \text{pF}; fH=1/(2π⋅10 kΩ⋅26 pF)=612 kHzf_H = 1/(2\pi \cdot 10\ \text{k}\Omega \cdot 26\ \text{pF}) = 612\ \text{kHz}.
  2. In a follower CgdC_{gd} goes from gate to drain, and the drain is at signal ground: it is just 1 pF1\ \text{pF}. CgsC_{gs} is the one bootstrapped: it appears as Cgs(1−0.9)=0.1 CgsC_{gs}(1 - 0.9) = 0.1\ C_{gs}.
  3. 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 2 pF2\ \text{pF} base–collector capacitance in a stage with gmRL′=99g_m R_L' = 99 appears at the input as about…

  1. 2 pF2\ \text{pF}
  2. 20 pF20\ \text{pF}
  3. 200 pF200\ \text{pF}
  4. 2 nF2\ \text{nF}

A transistor has gm=40 mA/Vg_m = 40\ \text{mA/V}, Cπ=30 pFC_\pi = 30\ \text{pF}, Cμ=2 pFC_\mu = 2\ \text{pF}. Its fTf_T is about…

  1. 20 MHz20\ \text{MHz}
  2. 200 MHz200\ \text{MHz}
  3. 2 GHz2\ \text{GHz}
  4. 1.3 MHz1.3\ \text{MHz}

Why does a cascode have a much higher bandwidth than a CE stage with the same gain?

  1. The second transistor has a higher fTf_T
  2. The input transistor's collector sees about 1/gm1/g_m, so its Miller gain is about 1
  3. It uses more current
  4. Its input resistance is lower

The open-circuit time-constant method finds the resistance each capacitor sees with…

  1. all other capacitors shorted
  2. all other capacitors open
  3. the input shorted to the output
  4. the transistor removed