CircuitNote

Quick electronics calculators for lab work and circuit design. Free, no sign-up, works in your browser.

MOSFET current mirror and active-load amplifier: what a gain of hundreds costs

A PMOS current mirror as a current source, then as the load of a common-source amplifier: operating point, gain, power, and what goes wrong on a breadboard, from PSpice results.

A common-source amplifier with a resistor load (MOSFET amplifier guide) gets a gain of a few, set by RD. Swap the resistor for a current source and the load's small-signal resistance becomes huge, so the gain climbs into the hundreds. The numbers here are PSpice results for the lab handout's circuits (IRF510, IRF4905) and values calculated from them, not measurements.

In this guide 6

1. The circuit

R1R2 Mp1IRF4905 Mp2IRF4905 Mn1IRF510 RrefVDD Cvs voIref ↓
The active-load common-source amplifier. Mp2 on the right has its gate tied to its drain (diode-connected), so it settles at the VSG that matches the reference current through Rref; Mp1 on the left sees the same VSG, copies that current and becomes Mn1's load. For the current-source part, Mp1's drain goes straight to ground and the output current Io is measured.

2. How a current mirror works

Iref = (VDD − VSG)/(Rref)diode-connected Mp2
Io = Iref·(1 + λVSD1)/(1 + λVSD2) ≈ Irefsame VSG, matched parts

Mp2, with gate tied to drain, is always in saturation and makes whatever VSG its current needs. Mp1 shares its gate and source, so it gets the same VSG and, while it stays in saturation, passes the same current. The difference comes from channel-length modulation (λ) when the two VSD differ, plus part-to-part spread.

3. Current source: changing Rref (VDD 10 V)

RrefPSpice |Io|VDD − |Io|RrefFormula (VSG 3.35 V)Rref powerMp1 power
Rref100 ΩPSpice |Io|66.05 mAVDD − |Io|Rref3.395 VFormula (VSG 3.35 V)66.5 mARref power440 mWMp1 power660 mW
Rref560 ΩPSpice |Io|11.88 mAVDD − |Io|Rref3.346 VFormula (VSG 3.35 V)11.9 mARref power79 mWMp1 power120 mW
Rref820 ΩPSpice |Io|8.123 mAVDD − |Io|Rref3.339 VFormula (VSG 3.35 V)8.11 mARref power54 mWMp1 power81 mW
Rref1 kΩPSpice |Io|6.665 mAVDD − |Io|Rref3.335 VFormula (VSG 3.35 V)6.65 mARref power44 mWMp1 power67 mW
Current source: |Io| against Rref

The line holds VSG at 3.35 V, the mean of the four PSpice points. VDD = 10 V.

  • VSG hardly moves: taking Io = Iref and VSG = VDD − |Io|Rref, it shifts only 59 mV while the current changes 9.9 times. So the output current is practically (VDD − VSG)/Rref, and the formula column matches PSpice closely. This IRF4905 model has a very large K, so everything from a few mA to tens of mA flows just above threshold.
  • Negative currents in PSpice: PSpice measures current into the device pin. Compare magnitudes.
  • A small Rref means heat: at Rref = 100 Ω the resistor dissipates about 0.44 W, too much for a ¼ W part. The output transistor Mp1, with its drain grounded, takes the full 10 V of VSD and dissipates 0.66 W.
  • A real part's VSG differs: the IRF4905 datasheet spreads VGS(th) from −2 to −4 V. The output current goes with VDD − VSG, so the lower VDD, the more that spread shows. The two PMOS parts can differ too: pick them from the same batch and record both Iref and Io.

4. The active-load common-source amplifier (VDD 20 V, Rref 100 Ω)

The gate divider R1 = 390 kΩ, R2 = 105 kΩ gives VG = 4.242 V, which with the source grounded is VGS (PSpice 4.24 V). PSpice put the operating point at IDQ = 168.8 mA, VDSQ = 10.05 V, and a 10 mV-amplitude (20 mVp-p), 10 kHz input came out inverted at 7.572 Vp-p.

  • Gain: 7.572 ÷ 0.02 ≈ 379 V/V (about 51.6 dB), roughly a hundred times a resistor-loaded common-source stage.
  • The mirror sets the bias current: if VSG is about what it was in section 3, Iref ≈ (20 − 3.35) ÷ 100 ≈ 166 mA, and PSpice's IDQ is close to it. Mp1 has more VSD than Mp2 (the λ effect), so it passes slightly more.
Av = −gmn(ron ‖ rop)
|Av| ≈ (2)/((VGS − Vth)(λn + λp))with gm = 2ID/(VGS − Vth) and ro = 1/(λID)

The last line says the gain barely depends on how much current flows; it is set by the overdrive voltage and the two devices' λ. Cutting the current at the same VGS − Vth leaves the gain alone, and cutting it while lowering the overdrive actually raises it.

5. What goes wrong on a breadboard

The operating point slams into a rail

There is no capacitor at the drain, so DC changes at the gate reach the output with the same gain. With 9.95 V of headroom above and 10.05 V below, the gate only has to be off by about 26 mV for the output to stick to the supply rail or 0 V. Yet with 5% resistors pulling opposite ways, VG can move by up to about 325 mV, and by 66 mV even with 1% parts. The part's Vth spread (IRF510 datasheet: 2 to 4 V) is far larger still. Built with the handout's values as they are, the output DC almost certainly ends up pinned at one end.

  • Put a multi-turn trimmer on the R1 or R2 side and slowly bring the drain's DC voltage to about half of VDD while watching it.
  • Even after that, the threshold falls as the part warms (typically a few mV per °C) and the output wanders. Wait a few minutes, trim again and measure right away.

Heat: several watts with the handout's values

PartCalculationPower
PartMn1 (IRF510)Calculation168.8 mA × 10.05 VPower1.7 W
PartMp1 (IRF4905)Calculation168.8 mA × 9.95 VPower1.68 W
PartMp2 (IRF4905)Calculation≈ 166 mA × 3.35 VPower560 mW
PartRref 100 ΩCalculation≈ (166 mA)² × 100 ΩPower2.8 W
PartSupply totalCalculation20 V × (168.8 mA + 166 mA)Power6.7 W

Without a heat sink the IRF510's junction-to-ambient thermal resistance is about 62 °C/W, so 1.7 W heats it roughly 105 °C above the room. Rref = 100 Ω needs a resistor rated 2 W or more. On a breadboard it is safer to fit a heat sink, or raise Rref to bring the current down to a few mA or tens of mA (as section 4 shows, the gain does not drop much) and re-pick the gate divider for that current. Set the supply's current limit as well.

Making a 20 mVp-p input

  • Near a function generator's minimum amplitude, noise and offset are relatively large. Generate about 1 Vp-p and divide it down with resistors (say 10 kΩ and 200 Ω, about 1/51) for a cleaner signal.
  • The input capacitor C = 10 µF with R1‖R2 ≈ 82.7 kΩ has a time constant of about 0.83 s. Wait a few seconds after power-up or after re-trimming the bias.
  • If only one side of the output is flattened, the operating point is close to that rail. Check the drain's DC voltage before turning the input down.
  • For the input, a 1× probe or the scope's bandwidth limit plus Average mode makes mV signals readable. Work out the gain from the signal actually reaching the gate side, after the divider.

6. In your lab report

  • In the current-source table, record Iref (or VSG) next to Io so the mirror ratio Io/Iref can be read off.
  • For the amplifier, record the drain's DC voltage at the time alongside the gain. The same circuit gives very different gain and maximum output depending on where it is biased.
  • The simulation models' λ and Vth (IRF510, IRF4905) differing from the real parts is a fair cause to discuss for any gap.

Check part temperatures with the heat sink calculator, turn the gain into dB with the dB calculator, and resistor power with the Ohm's law calculator.