Biasing a Stage in Practice

Set the operating point of an amplifier stage so that it holds across process corners. Then bring the signal in without disturbing it.

You Will Be Able To

  • Explain why a fixed gate voltage does not hold an operating point across corners.
  • Choose between a mirror, a replica loop and a feedback resistor to bias a common-source stage.
  • Predict the low corner that a coupling capacitor adds, from the resistance it sees.
  • Set the current and the gate voltage of a common-gate stage and of a follower.
Lesson
E9.8
Time
35 min
Runs on
ngspice
Check
5 questions

A common-source stage was biased with a fixed 0.7815 V, which centres its output at 0.90 V in the typical corner. In the sf corner the same voltage puts the output at 0.53 V, and an 80 mV sine flattens at 0.12 V.

TransientOne Stage, One Input, Two Ways to Set the Gate (Sf Corner)An 80 mV sine at 1 MHz. SKY130's sf corner has the fast NMOS.
  • fixed gate voltage
  • replica bias
00.2 V0.4 V0.6 V0.8 V1.0 V1.2 V1.4 V1.6 VOutput voltage00.5 µs1.0 µs1.5 µs2.0 µs2.5 µs3.0 µs3.5 µs4.0 µsTimeVDD/200.5 V1.0 V1.5 VOutput voltage01 µs2 µs3 µs4 µsTimeVDD/2
  1. Time 2.75 µsfixed gate voltage = 1.121 V · replica bias = 1.423 V

    Top of the swing: 1.42 V with the replica, 1.12 V with the fixed gate.

  2. Time 3.25 µsfixed gate voltage = 119.2 mV · replica bias = 321.3 mV

    Bottom: the replica stage reaches 0.32 V. The fixed-gate stage flattens at 0.12 V.

Read the plot as a table
Timefixed gate voltagereplica bias
0 s529.6 mV900.7 mV
500 ns547.9 mV918.8 mV
1 µs528.8 mV899.9 mV
1.5 µs547.1 mV918 mV
2 µs528 mV899.1 mV
2.5 µs546.3 mV917.2 mV
2.75 µs1.121 V1.423 V
3 µs527.2 mV898.4 mV
3.25 µs119.2 mV321.3 mV
3.5 µs545.6 mV916.5 mV
4 µs526.6 mV897.7 mV

The fixed-gate output sits 0.37 V too low, so its lower half has no room.

The transistor changed and the bias did not follow it. A good bias network measures a transistor and sets the gate from that.

Four Ways to Set the Gate

Each stage below is the E3.2 amplifier. The signal enters through C1, so the bias network alone sets the DC gate voltage.

Four Networks and What Each One Holds StillEach arrow points from a network to the quantity it holds.
  • Source
  • Device
  • Neutral
  • Analysis
Four networks and what each one holds stillEach arrow points from a network to the quantity it holds. source Fixed voltage 0.7815 V from asource device Current mirror 25 µA into adiode-connected copy device Replica loop an amplifier around acopy device Feedbackresistor 1 MΩ from drain togate neutral The gate voltage level moves by 0.63 V neutral The current level moves by 34 mV neutral The output level level does not move neutral Drain equal togate level moves by 76 mV holdsholdsholdsholds
  1. source Fixed voltage0.7815 V from a source
    • holds → The gate voltage
  2. neutral The gate voltagelevel moves by 0.63 V
  3. device Current mirror25 µA into a diode-connected copy
    • holds → The current
  4. device Replica loopan amplifier around a copy
    • holds → The output level
  5. device Feedback resistor1 MΩ from drain to gate
    • holds → Drain equal to gate
  6. neutral The output levellevel does not move
  7. neutral The currentlevel moves by 34 mV
  8. neutral Drain equal to gatelevel moves by 76 mV
  1. Nothing measured

    The fixed voltage holds the gate still. The transistor changes with the corner, so the output level moves.

  2. A transistor inside

    The other three contain a transistor of the same kind. The gate voltage moves with it.

  3. Level by design

    Only the replica loop holds the output level itself.

Read the diagram as text
  • Fixed voltage: 0.7815 V from a source
  • Current mirror: 25 µA into a diode-connected copy
  • Replica loop: an amplifier around a copy
  • Feedback resistor: 1 MΩ from drain to gate
  • The gate voltage: level moves by 0.63 V
  • The current: level moves by 34 mV
  • The output level: level does not move
  • Drain equal to gate: level moves by 76 mV
  • Fixed voltage → The gate voltage: holds
  • Current mirror → The current: holds
  • Replica loop → The output level: holds
  • Feedback resistor → Drain equal to gate: holds

The level is the DC output across the four corners.

1. A Fixed Voltage
1. A fixed voltage++VB​0.7815 VRB​1 MΩC1​10 pFvin​M12/0.15RD​36 kΩVDD1.8 Vout
  1. V_B · voltage source0.7815 V+ → n1 · − → 0
  2. gb · groundgnd → 0
  3. R_B · resistor1 MΩpin 1 → n2 · pin 2 → n1
  4. C_1 · capacitor10 pFpin 1 → n2 · pin 2 → n3
  5. v_in · voltage source+ → n3 · − → 0
  6. M1 · NMOS transistor2/0.15gate → n2 · drain → n4 · source → 0
  7. R_D · resistor36 kΩpin 1 → VDD · pin 2 → n4
  8. VDD · supply1.8 Vvdd → VDD
  9. out · portterminal → n4
  10. gi · groundgnd → 0
  11. gm · groundgnd → 0
Read the circuit as text
  • V_B voltage source (0.7815 V): + → n1, − → 0
  • R_B resistor (1 MΩ): pin 1 → n2, pin 2 → n1
  • C_1 capacitor (10 pF): pin 1 → n2, pin 2 → n3
  • v_in voltage source: + → n3, − → 0
  • M1 NMOS transistor (2/0.15): gate → n2, drain → n4, source → 0
  • R_D resistor (36 kΩ): pin 1 → VDD, pin 2 → n4
  • out port: terminal → n4

Nothing here knows what the transistor does.

CornerOutput levelGain
tt0.900 V7.31
ss1.157 V6.59
ff0.640 V7.25
sf0.530 V7.40

The level moves by 0.63 V.

2. A Current Mirror
2. A current mirror+VDDIREF​25 µAM02/0.15RB​1 MΩC1​10 pFvin​M12/0.15RD​36 kΩVDD1.8 Vout
  1. VDD · supplyvdd → VDD
  2. I_REF · current source25 µA+ → VDD · − → n1
  3. M0 · NMOS transistor2/0.15gate → n1 · drain → n1 · source → 0
  4. g0 · groundgnd → 0
  5. R_B · resistor1 MΩpin 1 → n2 · pin 2 → n1
  6. C_1 · capacitor10 pFpin 1 → n2 · pin 2 → n3
  7. v_in · voltage source+ → n3 · − → 0
  8. M1 · NMOS transistor2/0.15gate → n2 · drain → n4 · source → 0
  9. R_D · resistor36 kΩpin 1 → VDD · pin 2 → n4
  10. VDD · supply1.8 Vvdd → VDD
  11. out · portterminal → n4
  12. gi · groundgnd → 0
  13. gm · groundgnd → 0
  1. M0 finds the voltage

    M0 is diode-connected. Its gate settles where it carries exactly IREF, in any corner.

    25 µA

  2. M1 copies it

    RB passes that voltage to M1. No DC current flows in RB, so nothing is lost across it.

  3. The copy is not exact

    M1 has 0.86 V on its drain and M0 only 0.79 V. M1 carries 26.2 µA, so the level is 42 mV low.

    26.2 µA

Read the circuit as text
  • I_REF current source (25 µA): + → VDD, − → n1
  • M0 NMOS transistor (2/0.15): gate → n1, drain → n1, source → 0
  • R_B resistor (1 MΩ): pin 1 → n2, pin 2 → n1
  • C_1 capacitor (10 pF): pin 1 → n2, pin 2 → n3
  • v_in voltage source: + → n3, − → 0
  • M1 NMOS transistor (2/0.15): gate → n2, drain → n4, source → 0
  • R_D resistor (36 kΩ): pin 1 → VDD, pin 2 → n4
  • out port: terminal → n4

M0 turns a reference current into the right gate voltage.

CornerOutput levelGain
tt0.858 V7.37
ss0.873 V7.40
ff0.840 V7.28
sf0.839 V7.40

The level moves by 34 mV.

3. A Replica Loop
3. A replica loop−++VDDRDR​36 kΩMR​2/0.15VDD/2RB​1 MΩC1​10 pFvin​M12/0.15RD​36 kΩVDD1.8 Vout
  1. VDD · supplyvdd → VDD
  2. R_DR · resistor36 kΩpin 1 → VDD · pin 2 → n1
  3. M_R · NMOS transistor2/0.15gate → n2 · drain → n1 · source → 0
  4. gr · groundgnd → 0
  5. amp · op-amp−in → n3 · +in → n1 · out → n2
  6. VDD/2 · portterminal → n3
  7. R_B · resistor1 MΩpin 1 → n4 · pin 2 → n2
  8. C_1 · capacitor10 pFpin 1 → n4 · pin 2 → n5
  9. v_in · voltage source+ → n5 · − → 0
  10. M1 · NMOS transistor2/0.15gate → n4 · drain → n6 · source → 0
  11. R_D · resistor36 kΩpin 1 → VDD · pin 2 → n6
  12. VDD · supply1.8 Vvdd → VDD
  13. out · portterminal → n6
  14. gi · groundgnd → 0
  15. gm · groundgnd → 0
  1. Sense the copy

    The amplifier compares the drain of MR with VDD/2.

  2. Correct the gate

    If the drain is too high, the amplifier raises the gate. MR then draws more current and its drain falls.

  3. Share the gate

    M1 gets the same gate voltage and has the same load. Its drain also sits at VDD/2.

Read the circuit as text
  • R_DR resistor (36 kΩ): pin 1 → VDD, pin 2 → n1
  • M_R NMOS transistor (2/0.15): gate → n2, drain → n1, source → 0
  • amp op-amp: −in → n3, +in → n1, out → n2
  • VDD/2 port: terminal → n3
  • R_B resistor (1 MΩ): pin 1 → n4, pin 2 → n2
  • C_1 capacitor (10 pF): pin 1 → n4, pin 2 → n5
  • v_in voltage source: + → n5, − → 0
  • M1 NMOS transistor (2/0.15): gate → n4, drain → n6, source → 0
  • R_D resistor (36 kΩ): pin 1 → VDD, pin 2 → n6
  • out port: terminal → n6

MR and RDR are a copy of the stage. The amplifier is an ideal gain of 1000.

CornerOutput levelGain
tt0.901 V7.31
ss0.901 V7.35
ff0.901 V7.24
sf0.901 V7.32

The level does not move.

4. A Feedback Resistor
4. A feedback resistor+RF​1 MΩC1​10 pFvin​M12/0.15RD​36 kΩVDD1.8 Vout
  1. R_F · resistor1 MΩpin 1 → n1 · pin 2 → n2
  2. C_1 · capacitor10 pFpin 1 → n2 · pin 2 → n3
  3. v_in · voltage source+ → n3 · − → 0
  4. M1 · NMOS transistor2/0.15gate → n2 · drain → n1 · source → 0
  5. R_D · resistor36 kΩpin 1 → VDD · pin 2 → n1
  6. VDD · supply1.8 Vvdd → VDD
  7. out · portterminal → n1
  8. gi · groundgnd → 0
  9. gm · groundgnd → 0
  1. A diode at DC

    No DC current flows in RF, so the drain sits at the gate voltage. The stage finds its own VGS.

Read the circuit as text
  • R_F resistor (1 MΩ): pin 1 → n1, pin 2 → n2
  • C_1 capacitor (10 pF): pin 1 → n2, pin 2 → n3
  • v_in voltage source: + → n3, − → 0
  • M1 NMOS transistor (2/0.15): gate → n2, drain → n1, source → 0
  • R_D resistor (36 kΩ): pin 1 → VDD, pin 2 → n1
  • out port: terminal → n1

No bias network: the stage sets its own gate.

CornerOutput levelGain
tt0.796 V7.25
ss0.828 V7.28
ff0.764 V7.13
sf0.752 V7.29

The level follows VGS and moves by 76 mV.

Why the Fixed Voltage Fails

DC sweepTransfer Curve of the Bare Stage in the Ff Corner
00.2 V0.4 V0.6 V0.8 V1.0 V1.2 V1.4 V1.6 V1.8 VOutput voltage600 mV650 mV700 mV750 mV800 mV850 mV900 mVGate voltageVDD/2fixed: 0.640 Vreplica: 0.746 V at the gate00.5 V1.0 V1.5 V2.0 VOutput voltage600 mV700 mV800 mV900 mVGate voltageVDD/2fixed: 0.640 Vreplica: 0.746 V at the gate
  1. Gate voltage 745.5 mVv(out) = 902 mV

    The replica loop finds the gate voltage that gives VDD/2 in this corner: 0.746 V.

  2. Gate voltage 781.5 mVv(out) = 639.7 mV

    The fixed voltage was right for tt. Here it lands lower on the curve.

Read the plot as a table
Gate voltagev(out)
600 mV1.667 V
650 mV1.496 V
700 mV1.218 V
745.5 mV902 mV
750 mV869.3 mV
781.5 mV639.7 mV
800 mV506.6 mV
850 mV189.6 mV
900 mV90.66 mV

The curve is steep: 36 mV at the gate moves the output by 0.26 V.

Near the bias point the curve has a slope of about −7. A corner shifts the whole curve sideways with the threshold voltage. A fixed gate voltage cannot follow that shift.

The other three networks each contain a transistor of the same kind. A corner shifts that transistor too, and the gate voltage moves with it.

NetworkWhat it fixesWhat it costs
MirrorThe currentA reference current; a small copy error
ReplicaThe output levelA second stage and an amplifier
FeedbackDrain equal to gateA level you cannot choose; a loaded input

The gain stays within ±1.2 % for all three across the four corners.

AC Coupling and Its Corner

The coupling capacitor blocks DC, so the source cannot disturb the bias. It also blocks slow signals. The corner is 1/(2π·R·C1), where R is the resistance from the gate node to AC ground.

AC analysisGain of the Mirror-Biased and the Feedback-Biased StageBoth use C1 = 10 pF and a 1 MΩ resistor. Run in the ss corner.
  • mirror bias
  • feedback bias
-50 dB-40 dB-30 dB-20 dB-10 dB010 dB20 dBGain100 Hz1 kHz10 kHz100 kHz1 MHz10 MHz100 MHzFrequency15.9 kHz131.7 kHz-60 dB-40 dB-20 dB020 dBGain100 Hz10 kHz1 MHz100 MHzFrequency15.9 kHz131.7 kHz
  1. Frequency 15.86 kHzmirror bias = 14.37 dB · feedback bias = -1.212 dB

    Mirror bias: C1 sees RB = 1 MΩ. The corner is 15.9 kHz.

  2. Frequency 131.7 kHzmirror bias = 17.32 dB · feedback bias = 14.23 dB

    Feedback bias: the corner is 131.7 kHz, 8.3 times higher.

Read the plot as a table
Frequencymirror biasfeedback bias
100 Hz-26.62 dB-45.15 dB
1 kHz-6.638 dB-25.15 dB
10 kHz11.93 dB-5.179 dB
15.86 kHz14.37 dB-1.212 dB
100 kHz17.28 dB12.87 dB
131.7 kHz17.32 dB14.23 dB
1 MHz17.38 dB17.17 dB
10 MHz17.38 dB17.24 dB
100 MHz17.38 dB17.24 dB

Same capacitor, same resistor value, two corners.

RF joins the gate to the drain, and the drain moves 7.3 times as far the other way. So RF carries 8.3 times the current of a grounded resistor. Seen from the gate it looks like RF/(1 + |A|), about 121 kΩ.

Biasing a Common Gate

A Common Gate with Its Bias
A common gate with its bias+VDD1.8 VRD​36 kΩM12/0.15M24/0.5VbnVDDR1​100 kΩR2​200 kΩCG​10 pFCC​10 pFvin​outgate1.20 Vsource0.35 V
  1. VDD · supply1.8 Vvdd → VDD
  2. R_D · resistor36 kΩpin 1 → VDD · pin 2 → n1
  3. M1 · NMOS transistor2/0.15gate → gate · drain → n1 · source → source
  4. M2 · NMOS transistor4/0.5gate → n2 · drain → source · source → 0
  5. gs · groundgnd → 0
  6. Vbn · portterminal → n2
  7. VDD · supplyvdd → VDD
  8. R_1 · resistor100 kΩpin 1 → VDD · pin 2 → gate
  9. R_2 · resistor200 kΩpin 1 → gate · pin 2 → 0
  10. gg · groundgnd → 0
  11. C_G · capacitor10 pFpin 1 → gate · pin 2 → 0
  12. gc · groundgnd → 0
  13. C_C · capacitor10 pFpin 1 → n3 · pin 2 → source
  14. v_in · voltage source+ → n3 · − → 0
  15. gi · groundgnd → 0
  16. out · portterminal → n1
  1. The sink sets the current

    M2 is the output of a mirror. It fixes the current, so the output level is VDD − I·RD = 0.95 V.

    23.6 µA

  2. The divider sets the gate

    The gate only needs a quiet DC voltage that leaves both transistors in saturation. CG holds it still for signals.

  3. The signal enters at the source

    The source is a low-resistance node, about 1/gm. CC sees only a few kilohms there.

Read the circuit as text
  • R_D resistor (36 kΩ): pin 1 → VDD, pin 2 → n1
  • M1 NMOS transistor (2/0.15): gate → gate, drain → n1, source → source
  • M2 NMOS transistor (4/0.5): gate → n2, drain → source, source → 0
  • Vbn port: terminal → n2
  • R_1 resistor (100 kΩ): pin 1 → VDD, pin 2 → gate
  • R_2 resistor (200 kΩ): pin 1 → gate, pin 2 → 0
  • C_G capacitor (10 pF): pin 1 → gate, pin 2 → 0
  • C_C capacitor (10 pF): pin 1 → n3, pin 2 → source
  • v_in voltage source: + → n3, − → 0
  • out port: terminal → n1
  • gate = 1.20 V
  • source = 0.35 V

Vbn comes from a diode-connected 4/0.5 transistor carrying 25 µA.

The source sits one VGS below the gate, at 0.35 V. The gain from the source to the output is 7.61.

The same 10 pF that gave 15.9 kHz at a gate gives a corner of 3.44 MHz here. A low-resistance node needs a much larger coupling capacitor.

Biasing a Follower

A Follower with Its Bias
A follower with its bias+VDD1.8 VM12/0.15M24/0.5VbnRB​1 MΩ1.2 VC1​10 pFvin​outout0.39 V
  1. VDD · supply1.8 Vvdd → VDD
  2. M1 · NMOS transistor2/0.15gate → n1 · drain → VDD · source → out
  3. M2 · NMOS transistor4/0.5gate → n2 · drain → out · source → 0
  4. gs · groundgnd → 0
  5. Vbn · portterminal → n2
  6. R_B · resistor1 MΩpin 1 → n1 · pin 2 → n3
  7. 1.2 V · portterminal → n3
  8. C_1 · capacitor10 pFpin 1 → n1 · pin 2 → n4
  9. v_in · voltage source+ → n4 · − → 0
  10. gi · groundgnd → 0
  11. out · portterminal → out
  1. Current from the sink, level from the gate

    M2 fixes the current. The output then sits one VGS below the gate: 1.2 − 0.81 = 0.39 V.

Read the circuit as text
  • M1 NMOS transistor (2/0.15): gate → n1, drain → VDD, source → out
  • M2 NMOS transistor (4/0.5): gate → n2, drain → out, source → 0
  • Vbn port: terminal → n2
  • R_B resistor (1 MΩ): pin 1 → n1, pin 2 → n3
  • 1.2 V port: terminal → n3
  • C_1 capacitor (10 pF): pin 1 → n1, pin 2 → n4
  • v_in voltage source: + → n4, − → 0
  • out port: terminal → out
  • out = 0.39 V

The gate voltage comes from a 100 kΩ and 200 kΩ divider.

A follower has no gain to protect, so its bias has one job: put the output where the next stage needs it. Here VGS is 0.81 V, more than the 0.78 V of the common-source stage, because the body effect raises the threshold.

The gain is 0.854 and the corner is 14.9 kHz. C1 sees RB plus the divider, 1.07 MΩ.

AC analysisGain of the Common Gate and of the FollowerEach takes its signal through 10 pF.
  • common gate
  • follower
-80 dB-60 dB-40 dB-20 dB020 dB40 dBGain100 Hz1 kHz10 kHz100 kHz1 MHz10 MHz100 MHz1 GHzFrequencyfollower: 14.9 kHzcommon gate: 3.44 MHz-80 dB-60 dB-40 dB-20 dB020 dB40 dBGain100 Hz10 kHz1 MHz100 MHzFrequencyfollower: 14.9 kHzcommon gate: 3.44 MHz
  1. Frequency 14.93 kHzcommon gate = -29.64 dB · follower = -4.38 dB

    The follower takes its signal at a gate. Its corner is low.

  2. Frequency 3.443 MHzcommon gate = 14.61 dB · follower = -1.37 dB

    The common gate takes its signal at a source. Its corner is 231 times higher.

Read the plot as a table
Frequencycommon gatefollower
100 Hz-73.12 dB-44.85 dB
1 kHz-53.12 dB-24.86 dB
10 kHz-33.12 dB-6.457 dB
14.93 kHz-29.64 dB-4.38 dB
100 kHz-13.12 dB-1.466 dB
1 MHz6.528 dB-1.371 dB
3.443 MHz14.61 dB-1.37 dB
10 MHz17.14 dB-1.37 dB
100 MHz17.62 dB-1.372 dB
1 GHz17.59 dB-1.554 dB

The node resistance sets the corner.

Asked in interviews
  1. Why not bias a gate from a resistor divider on the supply?

    The drain current is a steep function of the gate voltage, and the threshold moves with process and temperature. Here a fixed 0.7815 V moved the output from 0.53 V to 1.16 V across corners. A mirror or a replica moves the gate with the transistor.

  2. What does a replica bias fix that a mirror does not?

    A mirror fixes the current, and the drain voltages of its two transistors differ, so the copy is a few percent off. A replica loop has the same load as the stage and servoes its drain. The stage output then sits at the target in every corner.

  3. How do you size a coupling capacitor?

    Find the resistance from its node to AC ground and set 1/(2π·R·C) below the lowest signal frequency. A feedback resistor counts as RF/(1 + |A|). A source node counts as about 1/gm.

Try It

The netlist holds the same stage four times. Only the lines that set the gate differ.

The op run gives each output level. The let lines copy those values into the AC plot, because meas reads only vectors of an analysis.

The AC run gives the gain at 10 MHz, in the middle of the band. It also finds the low corner of the mirror and the feedback stage.

Predict before each change. Change .lib sky130 tt to ss, then to ff: which output levels move, and which way? Set RF to 10meg: where does fc_feedback go?

SPICEngspice 42 · simulator service
Edit the netlist, then run it
Expected measurements: out_fixed = 9.001190e-01 out_mirror = 8.576550e-01 out_replica = 9.007814e-01 out_feedback = 7.956576e-01 vg_mirror = 7.872822e-01 vg_replica = 7.814094e-01 gain_fixed = 7.310775e+00 gain_mirror = 7.366212e+00 gain_replica = 7.309810e+00 gain_feedback = 7.245104e+00 fc_mirror = 1.585857e+04 fc_feedback = 1.312216e+05

Check Yourself

Predict the outputAn ideal stage with a gain of −9 has a 1 MΩ resistor from its output to its input. tf reports the resistance the source sees. Type the line meas prints (format: r_in = 1.234567e+03).
* a feedback resistor around an ideal stage with a gain of -9
VS in 0 dc 0 ac 1
EA out 0 in 0 -9
RF out in 1meg
.control
tf v(out) VS
ac dec 5 100 10k
let one=1+0*vm(out)
let x=tf1.vs#input_impedance*one
meas ac r_in FIND x AT=1k
.endc
.end
ConceptRead the transfer curve of the ff corner. Why does the fixed 0.7815 V give a lower output than in tt?
ConceptThe mirror-biased stage sits at 0.858 V in tt, not at 0.900 V. What causes the 42 mV?
ConceptA feedback-biased stage has RF = 1 MΩ and a gain of −7.3. A sensor with 500 kΩ of source resistance drives it through C1. What is the main problem?
ConceptA common-gate stage takes its signal at the source through a 10 pF capacitor. Its corner is 3.44 MHz, but the band must start at 100 kHz. What should change?

Common Mistakes

Wrong Tune a gate voltage in the typical corner and build it from a divider on the supply.

The threshold moves with process, so the same voltage gave 0.53 V at sf and 1.16 V at ss.

Fix Derive the gate voltage from a transistor of the same kind: a mirror, a replica loop or feedback.

Before
R1 vdd g 1.0185meg
R2 g 0 781.5k
After
IREF vdd b 25u
XM0 b b 0 0 sky130_fd_pr__nfet_01v8 W=2 L=0.15
RB b g 1meg

Wrong Size the coupling capacitor of a feedback-biased stage from RF alone.

The gain multiplies the current in RF, so the capacitor sees about RF/(1 + |A|) and the corner is 8.3 times higher.

Fix Divide RF by 1 + |A| first, or bias the gate through a resistor to a quiet node.

Wrong Expect a mirror-biased stage to sit exactly at the level computed from IREF·RD.

The two transistors have different drain voltages, so the copy was 4.7 % high and the level 42 mV low.

Fix Use a replica with the same load when the level matters, or longer transistors when the current matters.

Remember

  • A fixed gate voltage does not follow the transistor. Here the output moved from 0.53 V to 1.16 V across corners.
  • A mirror fixes the current, a replica loop fixes the output level, and a feedback resistor ties the drain to the gate.
  • All three held the gain within ±1.2 % over four corners. The fixed voltage lost 10 % at ss.
  • A coupling capacitor adds a corner at 1/(2π·R·C). R is 1 MΩ at a gate, RF/(1 + |A|) with feedback, and about 1/gm at a source.
  • A common gate and a follower take their current from a mirror sink. The gate voltage only places the levels.

Report a problem with this page