The Folded Cascode Stage

Fold the signal current of a PMOS input into an NMOS cascode, and measure what that buys and what it costs.

You Will Be Able To

  • Trace the signal current from the input branch into the cascode branch.
  • Find the input range of a folded and a telescopic stage from their saturation margins.
  • Compare the gain, output resistance and supply current of both stages at one signal current.
  • Measure the pole at the folding node and name what sets it.
Lesson
E9.5
Time
35 min
Runs on
ngspice
Check
5 questions

A sensor sat 0.2 V above ground, and the telescopic cascode of E3.7 had to amplify it. On a tail source that stage gave 28.8 dB there, against 68.7 dB at 1.1 V.

DC sweepWhich Input Levels Keep Every Device SaturatedMargin is VDS − VDsat of the weakest device. A positive margin means the stage works.
  • telescopic pair
  • folded pair
-200 mV-100 mV0100 mV200 mV300 mV400 mV500 mV600 mV700 mVSmallest margin-0.2 V00.2 V0.4 V0.6 V0.8 V1.0 V1.2 V1.4 VInput leveledge of saturationfolded ends, 0.559 Vtelescopic starts, 0.885 V-200 mV0200 mV400 mV600 mV800 mVSmallest margin00.5 V1.0 VInput leveledge of saturationfolded ends, 0.559 Vtelescopic starts, 0.885 V
  1. Input level 200 mVtelescopic pair = -124.9 mV · folded pair = 284 mV

    At 0.2 V the folded pair has 0.284 V of margin. The telescopic pair is at −0.125 V: its tail has no voltage left.

  2. Input level 559.4 mVtelescopic pair = -122.3 mV · folded pair = -35.83 nV

    The folded pair works up to 0.559 V. Above that, its PMOS tail source runs out of room under VDD.

  3. Input level 885.4 mVtelescopic pair = -7.569 nV · folded pair = -128.1 mV

    The telescopic pair starts at 0.885 V and works up to 1.354 V.

Read the plot as a table
Input leveltelescopic pairfolded pair
-200 mV-124.9 mV545 mV
0 V-124.9 mV447 mV
200 mV-124.9 mV284 mV
400 mV-124.8 mV123.3 mV
559.4 mV-122.3 mV-35.83 nV
600 mV-119.2 mV-27.84 mV
800 mV-54.25 mV-115.6 mV
885.4 mV-7.569 nV-128.1 mV
1 V88.34 mV-132.5 mV
1.2 V127.8 mV-133.3 mV
1.4 V-34.89 mV-133.3 mV

Both stages are halves of a pair on a 40 µA tail, with both gates at the input level.

A folded cascode with a PMOS input gave 61.6 dB at the same 0.2 V. This lesson builds that stage and measures its price.

Fold the Signal Current

A Folded Cascode StageM1 is a PMOS common-source input. M3 sinks the current of both branches. M2 is the cascode of E3.7.
A folded cascode stageVDDM1W/L = 16/0.5inVDDIL​20 µAM2W/L = 4/0.5VBM3W/L = 8/0.5biasoutin0.712 Vx0.372 Vout0.900 V
  1. VDD · supplyvdd → VDD
  2. M1 · PMOS transistorW/L = 16/0.5gate → in · source → VDD · drain → x
  3. in · portterminal → in
  4. VDD · supplyvdd → VDD
  5. I_L · current source20 µA+ → VDD · − → out
  6. M2 · NMOS transistorW/L = 4/0.5gate → n1 · drain → out · source → x
  7. VB · portterminal → n1
  8. M3 · NMOS transistorW/L = 8/0.5gate → n2 · drain → x · source → 0
  9. bias · portterminal → n2
  10. gnd · groundgnd → 0
  11. out · portterminal → out
  1. Two branches, one sink

    M3 sinks 40 µA. M1 supplies 20 µA of it. The load supplies the other 20 µA through M2.

    20 µA · 20 µA · 40 µA

  2. The input changes M1

    Lower the gate by 10 µV. M1 now pushes gm1 × 10 µV = 2.48 nA more into node x.

    +2.48 nA

  3. The current changes branch

    M3 is a fixed sink and takes no more. The extra 2.48 nA turns upward into M2: this is the fold.

    2.48 nA

  4. The output answers

    The ideal load takes no extra current either. Most of the 2.48 nA reaches the output and meets Rout = 10.0 MΩ. The output rises 23.9 mV.

    2.48 nA

Read the circuit as text
  • M1 PMOS transistor (W/L = 16/0.5): gate → in, source → VDD, drain → x
  • in port: terminal → in
  • I_L current source (20 µA): + → VDD, − → out
  • M2 NMOS transistor (W/L = 4/0.5): gate → n1, drain → out, source → x
  • VB port: terminal → n1
  • M3 NMOS transistor (W/L = 8/0.5): gate → n2, drain → x, source → 0
  • bias port: terminal → n2
  • out port: terminal → out
  • in = 0.712 V
  • x = 0.372 V
  • out = 0.900 V

Operating point from the lab. VB is 1.2 V, and M3 mirrors a reference current.

A telescopic cascode stacks the input device and the cascode in one branch. A folded cascode puts the input device in its own branch, with the opposite type of transistor.

Both branches meet at node x, the folding node. M1 sends its signal current there, and M2 passes it on to the output, as a cascode does.

The Path of the Signal CurrentArrows follow current. Two bias currents carry no signal.
  • I/O
  • Device
  • Load
  • Source
  • Measure
  • Data
  • Power
The path of the signal currentArrows follow current. Two bias currents carry no signal. io Input gate rests at 0.712 V device Input M1 PMOS, 20 µA load Load ideal 20 µA io Folding node x 0.372 V source Sink M3 fixed 40 µA measure Output 10.0 MΩ device Cascode M2 NMOS, 20 µA 10 µV lower2.48 nA more2.48 nA, folded2.48 nA40 µA, no signal20 µA, no signal
  1. io Input gaterests at 0.712 V
    • 10 µV lower → Input M1
  2. device Input M1PMOS, 20 µA
    • 2.48 nA more → Folding node x
  3. io Folding node x0.372 V
    • 2.48 nA, folded → Cascode M2
    • 40 µA, no signal → Sink M3
  4. source Sink M3fixed 40 µA
  5. device Cascode M2NMOS, 20 µA
    • 2.48 nA → Output
  6. measure Output10.0 MΩ
  7. load Loadideal 20 µA
    • 20 µA, no signal → Output
  1. Into the folding node

    M1 turns the input voltage into a signal current and sends it to node x.

  2. The fold

    M3 takes a fixed 40 µA. The signal current has one way left: through M2.

  3. To the output

    The load is fixed too. The signal current meets Rout, and the output moves.

Read the diagram as text
  • Input gate: rests at 0.712 V
  • Input M1: PMOS, 20 µA
  • Load: ideal 20 µA
  • Folding node x: 0.372 V
  • Sink M3: fixed 40 µA
  • Output: 10.0 MΩ
  • Cascode M2: NMOS, 20 µA
  • Input gate → Input M1: 10 µV lower
  • Input M1 → Folding node x: 2.48 nA more
  • Folding node x → Cascode M2: 2.48 nA, folded
  • Cascode M2 → Output: 2.48 nA
  • Folding node x → Sink M3: 40 µA, no signal
  • Load → Output: 20 µA, no signal

Two fixed currents close every other way out.

The stage still inverts. A higher gate voltage gives less M1 current, so M2 must carry more, and the output falls.

What Folding Buys: Input Range

In a telescopic stage the input, node x and the output share one stack. The input level is tied to that stack.

In the folded stage, M1 only has to deliver current into node x, which rests at 0.372 V. Its gate can sit far below its drain and M1 stays saturated.

With its source on VDD, M1 needs VSG = 1.088 V for 20 µA, so the input rests at 0.712 V. SKY130's PMOS has a high threshold: 0.993 V here.

An op amp feeds the input device from a tail current source, shared with a twin device (E5.1). The source then follows the gate, and the input level becomes free.

The Input Branch on a Tail SourceM1 and its twin share 40 µA. The drain of M1 goes to the folding node.
The input branch on a tail sourceVDDtail40 µAM1twininlevelto xin0.200 Vs1.381 V
  1. VDD · supplyvdd → VDD
  2. tail · current source40 µA+ → VDD · − → s
  3. M1 · PMOS transistorgate → in · source → s · drain → n1
  4. twin · PMOS transistorgate → n2 · source → s · drain → 0
  5. in · portterminal → in
  6. level · portterminal → n2
  7. to x · portterminal → n1
  8. gnd · groundgnd → 0
  1. The tail sets the current

    Both gates rest at the same level, so each device takes 20 µA.

    40 µA · 20 µA · 20 µA

  2. The source follows the gate

    With the gates at 0.2 V, node s sits one VSG higher, at 1.381 V. The tail keeps 0.419 V.

Read the circuit as text
  • tail current source (40 µA): + → VDD, − → s
  • M1 PMOS transistor: gate → in, source → s, drain → n1
  • twin PMOS transistor: gate → n2, source → s, drain → 0
  • in port: terminal → in
  • level port: terminal → n2
  • to x port: terminal → n1
  • in = 0.200 V
  • s = 1.381 V

Values from the netlist of the first figure, at an input level of 0.2 V.

On a 40 µA tailTelescopicFolded
Every device saturated from885.4 mVbelow −0.3 V
Every device saturated up to1.354 V559.4 mV
Gain at 0.2 V28.81 dB61.58 dB
Gain at 1.1 V68.71 dB12.28 dB

From the netlist of the first figure. The sweep starts at −0.3 V. Gains are in dB.

The folded pair includes ground, and that is why designers choose it. Its upper limit is VDD minus the tail's VDsat minus VSG1. An NMOS input with a PMOS cascode mirrors this and reaches VDD.

Folding also decouples the input level from the output level. The input pair and the cascode sit in different branches, so neither stack limits the other.

What Folding Costs: Current and Gain

At 20 µA of signal currentTelescopicFolded
gm of the input device247.1 µS247.8 µS
Current from the supply20.00 µA40.00 µA
Rout26.21 MΩ10.02 MΩ
Gain76.07 dB67.56 dB
Unity-gain frequency38.64 MHz37.96 MHz

From the lab. Ideal 20 µA loads, 1 pF, outputs at 0.9 V.

The folded stage needs a second bias current. M3 carries the input branch and the cascode branch: 40 µA for the same 20 µA of signal.

Its Rout is 2.6 times lower. In E3.7 the cascode multiplies ro1 = 246 kΩ. Here M2 multiplies everything that hangs on node x: ro1 in parallel with ro3.

M3 carries twice the current, so its ro3 is only 107 kΩ. With ro1 = 645 kΩ beside it, node x sees 92 kΩ.

The formula of E3.7 with 92 kΩ gives 9.98 MΩ. The run measures 10.02 MΩ.

AC analysisGain of the Telescopic and the Folded StageThe same gm and the same 1 pF load.
  • telescopic
  • folded
-60 dB-40 dB-20 dB020 dB40 dB60 dB80 dB100 dBGain1 Hz100 Hz10 kHz1 MHz100 MHz10 GHzFrequencytelescopic −3 dBfolded −3 dB-100 dB-50 dB050 dB100 dBGain1 Hz1 kHz1 MHz1 GHzFrequencytelescopic −3 dBfolded −3 dB
  1. Frequency 1 Hztelescopic = 76.07 dB · folded = 67.56 dB

    At low frequency the telescopic stage gives 76.1 dB and the folded stage 67.6 dB.

  2. Frequency 15.85 kHztelescopic = 67.13 dB · folded = 64.55 dB

    The folded gain starts to fall at 15.8 kHz, the telescopic at 6.07 kHz. A lower Rout gives a higher corner.

  3. Frequency 37.96 MHztelescopic = 0.1332 dB · folded = -0.02818 dB

    Both reach a gain of 1 near 38 MHz. That frequency is gm1/(2πCL), and folding does not change it.

Read the plot as a table
Frequencytelescopicfolded
1 Hz76.07 dB67.56 dB
10 Hz76.07 dB67.56 dB
100 Hz76.07 dB67.56 dB
1 kHz75.95 dB67.54 dB
10 kHz70.36 dB66.1 dB
15.85 kHz67.13 dB64.55 dB
100 kHz51.7 dB51.45 dB
1 MHz31.72 dB31.56 dB
10 MHz11.72 dB11.56 dB
37.96 MHz0.1332 dB-0.02818 dB
100 MHz-8.283 dB-8.448 dB
1 GHz-28.48 dB-28.96 dB
10 GHz-51.21 dB-48.16 dB

Run 1 of the lab.

The Pole at the Folding Node

Node x has a small resistance, about 1/(gm2 + gmb2), and some capacitance Cx. Together they make a pole in the signal path.

Run 3 of the lab shorts each output and pushes a test current into node x. The voltage on x is then the impedance of the node.

AC analysisImpedance of the Internal NodeA flat part, 1/(gm2 + gmb2), then a fall where Cx takes over.
  • telescopic, node x
  • folded, node x
10 Ω100 Ω1 kΩ10 kΩImpedance1 kHz10 kHz100 kHz1 MHz10 MHz100 MHz1 GHz10 GHz100 GHzFrequencyfolded poletelescopic pole10 Ω100 Ω1 kΩ10 kΩImpedance1 kHz1 MHz1 GHzFrequencyfolded poletelescopic pole
  1. Frequency 1 MHztelescopic, node x = 3.294 kΩ · folded, node x = 3.222 kΩ

    Both nodes look like about 3.2 kΩ: 3.29 kΩ telescopic and 3.22 kΩ folded.

  2. Frequency 2.027 GHztelescopic, node x = 2.916 kΩ · folded, node x = 2.278 kΩ

    The folded node is 3 dB down at 2.03 GHz. Its Cx is 24.4 fF.

  3. Frequency 3.864 GHztelescopic, node x = 2.328 kΩ · folded, node x = 1.564 kΩ

    The telescopic node reaches −3 dB at 3.86 GHz. Its Cx is 12.5 fF.

Read the plot as a table
Frequencytelescopic, node xfolded, node x
1 kHz3.294 kΩ3.222 kΩ
10 kHz3.294 kΩ3.222 kΩ
100 kHz3.294 kΩ3.222 kΩ
1 MHz3.294 kΩ3.222 kΩ
10 MHz3.294 kΩ3.222 kΩ
100 MHz3.293 kΩ3.218 kΩ
1 GHz3.189 kΩ2.857 kΩ
2.027 GHz2.916 kΩ2.278 kΩ
3.864 GHz2.328 kΩ1.564 kΩ
10 GHz1.187 kΩ701.1 Ω
100 GHz127.9 Ω73.43 Ω

Run 3 of the lab. The test current is 1 A (AC), so volts read as ohms.

Three devices meet at the folding node. M1 is 16 µm wide because the PMOS is weak, and M3 is 8 µm wide. Their drains double Cx.

Here both poles lie far above the 38 MHz unity-gain frequency, so they do no harm. An op amp uses a much wider input pair. Its folding pole comes down toward the unity-gain frequency and takes phase margin (E6.3).

Asked in interviews
  1. Why choose a folded cascode over a telescopic one?

    The input device sits in its own branch. Its gate level is then free of the cascode stack. A PMOS input pair works with its gates at ground, and the output level can be set separately. The pair measured here works from below −0.3 V to 0.559 V.

  2. What does folding cost?

    A second bias current: the sink carries the input branch and the cascode branch. The output resistance is also lower, because the sink's ro is in parallel with the input device's. Here 40 µA gave 67.6 dB, against 76.1 dB from 20 µA.

  3. Where is the extra pole, and why does it matter?

    At the folding node, near (gm2 + gmb2)/Cx. The wide input device and the sink both add capacitance there. In an op amp this pole is often the first non-dominant pole. It then limits the unity-gain frequency for a given phase margin.

Try It

The op reads the folded stage first. Every device is saturated: M1 has 1.293 V of margin, M2 0.396 V and M3 0.243 V.

Run 1 drives each input and reads the gain. Run 2 turns the inputs off and pushes 1 A (AC) into each output, so the output voltage reads as Rout. Run 3 shorts the outputs and pushes the current into node x.

A slow servo sets each input gate so that the output rests at 0.9 V. It reacts only below 1 µHz, so it does not change any AC result.

IREF is 42.5 µA because M3 works at a lower VDS than the mirror device MR and loses about 6 %.

Predict before each change. Make M3 and MR W=16 L=1: which numbers move? Make M1 W=64: what happens to fx_f and to vin_f? Set IREF to 62.5u: which device now carries 40 µA?

SPICEngspice 42 · simulator service
Edit the netlist, then run it
Expected measurements: vin_t = 7.569763e-01 vin_f = 7.119231e-01 vth_m1 = 9.926024e-01 i_m1t = 2.000000e-05 i_m1 = 2.000136e-05 i_m3 = 4.000137e-05 gm_m1t = 2.471148e-04 gm_m1 = 2.478009e-04 margin_m1 = 1.293108e+00 margin_m2 = 3.957949e-01 margin_m3 = 2.430164e-01 gain_t = 6.359585e+03 gain_f = 2.387522e+03 gdb_t = 7.606857e+01 gdb_f = 6.755895e+01 f3_t = 6.065522e+03 f3_f = 1.584904e+04 ugf_t = 3.864496e+07 ugf_f = 3.795770e+07 rout_t = 2.621397e+07 rout_f = 1.002403e+07 ro_m1t = 2.460770e+05 ro_m1 = 6.449027e+05 ro_m3 = 1.074189e+05 rout_f_hand = 9.975344e+06 rx_t = 3.293954e+03 rx_f = 3.222178e+03 fx_t = 3.864177e+09 fx_f = 2.026851e+09 cx_t = 1.250390e-14 cx_f = 2.436962e-14

Check Yourself

Predict the outputIdeal sources stand in for M1 and M3. The input device pushes 28 µA into node x and the sink takes 45 µA. Type the line meas prints for the current in M2 (format: i_m2 = 1.234567e-05).
* the folding node on ideal currents: the input device pushes 28 uA in, the sink takes 45 uA out
.lib sky130 tt
VDD vdd 0 1.8
VB vb 0 1.2
VOUT out 0 0.9
I1 vdd x 28u
I3 x 0 45u
XM2 out vb x 0 sky130_fd_pr__nfet_01v8 W=4 L=0.5
.control
dc VOUT 0.6 1.2 0.1
let i2=-i(VOUT)
meas dc i_m2 FIND i2 AT=0.9
.endc
.end
ConceptRead the first figure. Which input level suits the folded pair and not the telescopic pair?
ConceptBoth stages use the same cascode device M2 at the same current. Why is the folded stage's Rout 2.6 times lower?
ConceptA folded stage runs its input device at 50 µA and its cascode at 30 µA. What does the sink carry, and what does the stage draw from the supply?
ConceptThe folded pair of the first figure stops at 0.559 V. Which change raises that upper limit?

Common Mistakes

Wrong Budget only the signal current when you plan the supply current of a folded stage.

The sink carries the input branch and the cascode branch, so this stage draws 40 µA for 20 µA of signal.

Fix Add both branch currents. Then decide how to split them between gm in M1 and speed in M2.

Wrong Copy the sizes of a telescopic stage and expect the same gain.

M3 carries both currents, so its ro is low, and it sits in parallel with ro1 under the cascode.

Fix Check ro3 first. Here it is 107 kΩ against 645 kΩ for M1, so M3 sets Rout.

Wrong Expect a PMOS-input folded stage to accept inputs near VDD as well as near ground.

The tail source and VSG1 must fit under VDD, and SKY130's PMOS needs about 1.09 V of VSG here.

Fix Compute VDD − VDsat,tail − VSG1 and check it by a sweep. This pair stops at 0.559 V.

Remember

  • A folded cascode sends the input device's signal current into a cascode of the opposite type, through the folding node.
  • The input level is free of the cascode stack. A PMOS-input pair works with its gates at ground: here from below −0.3 V to 0.559 V.
  • It costs a second bias current: 40 µA here for 20 µA of signal.
  • Rout and gain are lower, because the sink's ro is in parallel with the input device's: 67.6 dB against 76.1 dB.
  • The folding node carries more capacitance, so its pole is lower: 2.03 GHz against 3.86 GHz.

Practice

Report a problem with this page