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.
- telescopic pair
- folded pair
- 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.
- 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.
- 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 level | telescopic pair | folded pair |
|---|---|---|
| -200 mV | -124.9 mV | 545 mV |
| 0 V | -124.9 mV | 447 mV |
| 200 mV | -124.9 mV | 284 mV |
| 400 mV | -124.8 mV | 123.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 V | 88.34 mV | -132.5 mV |
| 1.2 V | 127.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
- 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
- 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
- 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
- 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 Vx= 0.372 Vout= 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.
- I/O
- Device
- Load
- Source
- Measure
- Data
- Power
- Into the folding node
M1 turns the input voltage into a signal current and sends it to node x.
- The fold
M3 takes a fixed 40 µA. The signal current has one way left: through M2.
- 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 tail sets the current
Both gates rest at the same level, so each device takes 20 µA.
40 µA · 20 µA · 20 µA
- 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 Vs= 1.381 V
Values from the netlist of the first figure, at an input level of 0.2 V.
| On a 40 µA tail | Telescopic | Folded |
|---|---|---|
| Every device saturated from | 885.4 mV | below −0.3 V |
| Every device saturated up to | 1.354 V | 559.4 mV |
| Gain at 0.2 V | 28.81 dB | 61.58 dB |
| Gain at 1.1 V | 68.71 dB | 12.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 current | Telescopic | Folded |
|---|---|---|
| gm of the input device | 247.1 µS | 247.8 µS |
| Current from the supply | 20.00 µA | 40.00 µA |
| Rout | 26.21 MΩ | 10.02 MΩ |
| Gain | 76.07 dB | 67.56 dB |
| Unity-gain frequency | 38.64 MHz | 37.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Ω.
- telescopic
- folded
- 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.
- 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.
- 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
| Frequency | telescopic | folded |
|---|---|---|
| 1 Hz | 76.07 dB | 67.56 dB |
| 10 Hz | 76.07 dB | 67.56 dB |
| 100 Hz | 76.07 dB | 67.56 dB |
| 1 kHz | 75.95 dB | 67.54 dB |
| 10 kHz | 70.36 dB | 66.1 dB |
| 15.85 kHz | 67.13 dB | 64.55 dB |
| 100 kHz | 51.7 dB | 51.45 dB |
| 1 MHz | 31.72 dB | 31.56 dB |
| 10 MHz | 11.72 dB | 11.56 dB |
| 37.96 MHz | 0.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.
- telescopic, node x
- folded, node x
- 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.
- 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.
- 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
| Frequency | telescopic, node x | folded, node x |
|---|---|---|
| 1 kHz | 3.294 kΩ | 3.222 kΩ |
| 10 kHz | 3.294 kΩ | 3.222 kΩ |
| 100 kHz | 3.294 kΩ | 3.222 kΩ |
| 1 MHz | 3.294 kΩ | 3.222 kΩ |
| 10 MHz | 3.294 kΩ | 3.222 kΩ |
| 100 MHz | 3.293 kΩ | 3.218 kΩ |
| 1 GHz | 3.189 kΩ | 2.857 kΩ |
| 2.027 GHz | 2.916 kΩ | 2.278 kΩ |
| 3.864 GHz | 2.328 kΩ | 1.564 kΩ |
| 10 GHz | 1.187 kΩ | 701.1 Ω |
| 100 GHz | 127.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
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.
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.
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?
Run the netlist to draw its plots here.
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-14Check Yourself
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.