---
title: Single-stage amplifiers in depth
heading: Degeneration, output resistance, the body effect and exact gains
eyebrow: S2 · Lesson 3 · Single-stage amplifiers in depth
xp: 50
---

::: hook
C5 and C6 analyzed the common-source, common-gate and follower stages with the simplest models. An IC designer needs the exact versions, with output resistance and the body effect included, because in an integrated amplifier the loads are other transistors whose resistance is comparable to $r_o$, and the gains people care about are hundreds or thousands. Two results do most of the work: a resistor in the source multiplies the output resistance by about $1 + g_mR_S$, and divides the effective transconductance by the same factor. Everything from cascodes to current sources is built on that trade.
:::

::: play
- A common-source stage with source degeneration $R_S$, driving a load $R_L$, with $g_m$ = 2 mS, $g_{mb}$ = 0.3 mS and $r_o$ = 50 kΩ. The curves are the output resistance (÷ $r_o$) and the voltage gain, against $R_S$ on a log scale.
- With no degeneration the gain is $g_m(r_o \parallel R_L)$. As $R_S$ grows, the effective transconductance falls as $\frac{g_m}{1 + (g_m + g_{mb})R_S}$ while the output resistance climbs as $1 + (g_m + g_{mb})R_S$.
- Into a small load the gain falls with degeneration; into a large one (another current source) it hardly changes, because the rising output resistance makes up for the falling transconductance.
:::
:::

```sim plot
view: graph
x: Rs = 10..100000 Ω log
y: v = 0.1..1000 log
slider: RL = 1..1000 = 20 kΩ log
plot: (50e3 + Rs + 2.3e-3*50e3*Rs)/50e3 | samples: 400 | label: output resistance ÷ ro
plot: 2e-3/(1 + 2.3e-3*Rs + Rs/50e3)*((50e3 + Rs + 2.3e-3*50e3*Rs)*RL*1e3/(50e3 + Rs + 2.3e-3*50e3*Rs + RL*1e3)) | samples: 400 | color: ch2 | label: voltage gain magnitude
readout: undegenerated gain = 2e-3*(50e3*RL*1e3/(50e3 + RL*1e3))
```

::: predict
## A transistor with $g_m$ = 2 mS and $r_o$ = 50 kΩ gets a 1 kΩ source resistor. Roughly how much does its output resistance rise?

- [ ] Not at all
- [ ] By 1 kΩ
- [x] About threefold
- [ ] A hundredfold

::: reveal
About threefold: $R_\text{out} \approx r_o(1 + g_mR_S)$ = 50 kΩ × 3 = 150 kΩ (166 kΩ with the body effect and the resistor itself). A current that tries to rise raises the voltage on $R_S$, which lowers $V_{GS}$ and pushes the current back: local negative feedback. The same idea, with a transistor in place of $R_S$, is the cascode, where the multiplier becomes $g_mr_o$, about a hundred.
:::
:::

::: nameit
## Common source with degeneration

Including $r_o$ and the body effect, a source resistor $R_S$ gives

$$G_m = \frac{g_m}{1 + (g_m + g_{mb})R_S + R_S/r_o}, \qquad R_\text{out} = r_o + R_S + (g_m + g_{mb})r_oR_S$$

and the gain into a load is $A_v = -G_m(R_\text{out} \parallel R_L)$. Degeneration trades gain for linearity: the stage's distortion falls by roughly the same factor $1 + g_mR_S$ (lesson 33).

## Common gate

The input resistance looking into the source is

$$R_\text{in} = \frac{r_o + R_L}{1 + (g_m + g_{mb})r_o}$$

about $\frac{1}{g_m + g_{mb}}$ when $R_L \ll r_o$, but much larger when the load is another current source. The output resistance is the degenerated expression with $R_S$ = the source's driving resistance.

## Source follower

$$A_v = \frac{g_m}{g_m + g_{mb} + 1/r_o + 1/R_L}$$

always below 1, and below $\frac{g_m}{g_m + g_{mb}}$ even with an ideal load, because the body effect makes the threshold rise as the source rises. An NMOS follower in its own well (with source tied to body) removes $g_{mb}$. Output resistance $\approx \frac{1}{g_m + g_{mb}}$.

## Bipolar versions

Replace $g_{mb}$ with zero and include $r_\pi$: the degenerated emitter gives $R_\text{out} \approx r_o\left(1 + \frac{g_mR_E}{1 + R_E/r_\pi}\right)$, which saturates at about $(\beta + 1)r_o$ for large $R_E$.
:::

::: example
## A transistor with $g_m$ = 2 mS, $g_{mb}$ = 0.3 mS and $r_o$ = 50 kΩ has $R_S$ = 1 kΩ and drives 20 kΩ. Find $G_m$, $R_\text{out}$ and the gain, and compare with no degeneration.

::: solution
1. **Degenerated transconductance.**
   $$\begin{aligned} G_m &= \frac{2}{1 + 2.3 + 0.02}\ \text{mS} \\ &= 0.60\ \text{mS} \end{aligned}$$
2. **Output resistance.** In kilohms:
   $$\begin{aligned} R_\text{out} &= 50 + 1 + 2.3 \times 50 \\ &= 166\ \text{k}\Omega \end{aligned}$$
3. **Gain.** The load of 20 kΩ sits in parallel with $R_\text{out}$:
   $$0.60 \times (166 \parallel 20) = 10.8$$
4. **Without degeneration.**
   $$2 \times (50 \parallel 20) = 28.6$$
5. **The trade.** Degeneration costs a factor of 2.7 in gain here, in exchange for 3.3 times better linearity and a gain set more by resistor ratios than by the transistor.

**Answer:** $G_m$ = 0.60 mS, $R_\text{out}$ = 166 kΩ and a gain of 10.8, against 28.6 without degeneration.
:::
:::

::: example
## The same transistor is a source follower into 20 kΩ, and a common-gate stage driving 20 kΩ. Find the follower's gain and the common-gate input resistance.

::: solution
1. **Follower gain.** In millisiemens:
   $$\begin{aligned} A_v &= \frac{2}{2 + 0.3 + 0.02 + 0.05} \\ &= 0.84 \end{aligned}$$
2. **With an ideal load.** It would still be only
   $$\frac{2}{2.32} = 0.86$$
   the body effect's toll.
3. **Common-gate input resistance.**
   $$\begin{aligned} R_\text{in} &= \frac{50 + 20}{1 + 2.3 \times 50}\ \text{k}\Omega \\ &= 603\ \Omega \end{aligned}$$
4. **Compare with $1/(g_m + g_{mb})$.** That's a little above $1/(g_m + g_{mb})$ = 435 Ω, because the load's 20 kΩ isn't negligible against $r_o$.

**Answer:** the follower's gain is 0.84, and the common-gate stage's input resistance is 603 Ω.
:::
:::

::: example
## A common-source stage with $g_m$ = 2 mS has an active load whose output resistance equals its own $r_o$ = 50 kΩ. What is its gain?

::: solution
1. **Output resistance.** The output sees
   $$r_o \parallel r_o = 25\ \text{k}\Omega$$
2. **Gain.**
   $$\begin{aligned} A_v &= -g_m \times 25\ \text{k}\Omega \\ &= -50 \end{aligned}$$
   half the intrinsic gain $g_mr_o = 100$.
3. **Why an active load.** An active load buys gain without the headroom a 25 kΩ resistor would eat at this current.

**Answer:** the gain is −50, half the intrinsic gain.
:::
:::

::: check
given: g = 1 | 5; b = 0.1 | 0.5; R = 0.5 | 2 | 10; o = 20 | 100
answer: g/(1 + (g + b)*R + R/o)
unit: mS
tolerance: 1%

## A transistor has $g_m$ = {g} mS, $g_{mb}$ = {b} mS and $r_o$ = {o} kΩ, with {R} kΩ in its source. What's its effective transconductance?

::: right
Right. $\frac{g_m}{1 + (g_m + g_{mb})R_S + R_S/r_o}$ = {answer} mS.
:::

::: misses
- [g/(1 + g*R)] Include the body effect and $r_o$.
- [any] Not yet. The source voltage subtracts from $V_{GS}$ and raises $V_{SB}$.
:::
:::

::: check
given: g = 1 | 5; b = 0.1 | 0.5; R = 0.5 | 2 | 10; o = 20 | 100
answer: o + R + (g + b)*o*R
unit: kΩ
tolerance: 1%

## The same kind of stage: $g_m$ = {g} mS, $g_{mb}$ = {b} mS, $r_o$ = {o} kΩ, $R_S$ = {R} kΩ. What's its output resistance?

::: right
Right. $r_o + R_S + (g_m + g_{mb})r_oR_S$ = {answer} kΩ.
:::

::: misses
- [o*(1 + g*R)] Close, but include the body effect and the $R_S$ term.
- [o + R] The feedback multiplies $r_o$ by about $1 + g_mR_S$.
- [any] Not yet. Push a test current into the drain.
:::
:::

::: check
given: g = 1 | 4; b = 0.15 | 0.4; o = 30 | 100; L = 5 | 50
answer: g/(g + b + 1/o + 1/L)
tolerance: 1%

## A source follower has $g_m$ = {g} mS, $g_{mb}$ = {b} mS, $r_o$ = {o} kΩ and a {L} kΩ load. What's its gain?

::: right
Right. $\frac{g_m}{g_m + g_{mb} + 1/r_o + 1/R_L}$ = {answer}.
:::

::: misses
- [g/(g + 1/L)] Include the body effect and $r_o$.
- [any] Not yet. Sum the conductances at the source node.
:::
:::

::: check
given: g = 1 | 4; b = 0.15 | 0.4; o = 30 | 100; L = 10 | 30
answer: (o + L)/(1 + (g + b)*o)*1000
unit: Ω
tolerance: 1%

## A common-gate stage has $g_m$ = {g} mS, $g_{mb}$ = {b} mS, $r_o$ = {o} kΩ and drives {L} kΩ. What's its input resistance?

::: right
Right. $\frac{r_o + R_L}{1 + (g_m + g_{mb})r_o}$ = {answer} Ω.
:::

::: misses
- [1/(g + b)*1000] That's the low-load limit; this load isn't small against $r_o$.
- [any] Not yet. Write KCL at the source with $r_o$ in the path.
:::
:::

::: check
given: g = 2 | 10; R = 2 | 5; b = 50 | 100; o = 50
answer: o*(1 + g*R/(1 + R/(b/g)))
unit: kΩ
tolerance: 1%

## A bipolar transistor with $g_m$ = {g} mS, β = {b} and $r_o$ = {o} kΩ has {R} kΩ in its emitter. What's its output resistance (neglect the small $R_E$ term)?

::: right
Right. $r_o\left(1 + \frac{g_mR_E}{1 + R_E/r_\pi}\right)$ = {answer} kΩ.
:::

::: misses
- [o*(1 + g*R)] The base current shunts part of the feedback: include $r_\pi = \beta/g_m$.
- [any] Not yet. The emitter feedback is limited by $r_\pi$.
:::
:::

::: check
given: g = 1 | 3; R = 1 | 5
answer: 1 + g*R
tolerance: 2%

## By roughly what factor does a {R} kΩ degeneration resistor improve the linearity of a stage with $g_m$ = {g} mS?

::: right
Right. About the loop gain plus one, $1 + g_mR_S$ = {answer}.
:::

::: misses
- [g*R] Add 1: the factor is the loop gain plus one.
- [any] Not yet. Local feedback divides distortion by $1 + g_mR_S$.
:::
:::

::: check
kind: parts
given: g = 1 | 2 | 5; r = 20 | 50 | 100; R = 1 | 2

## A common-source stage has $g_m$ = {g} mS and $r_o$ = {r} kΩ with an active load of equal output resistance and a source resistor of {R} kΩ (no body effect).

::: part
answer: g*r/2
tolerance: 0.5%

### What is its gain without the source resistor?

::: misses
- [any] $g_m(r_o \parallel r_o)$.
:::
:::

::: part
answer: r*(1 + g*R)
unit: kΩ
tolerance: 1%

### With the source resistor, about what output resistance does the transistor itself present, $r_o(1 + g_mR_S)$?

::: misses
- [any] Degeneration multiplies $r_o$ by $1 + g_mR_S$.
:::
:::
:::

::: check
kind: derivation
vars: g = 1e-4..1e-2, r = 1e4..1e6, L = 1e3..1e6

## A follower's transistor has $g_m$ = g and $r_o$ = r and drives a load L (no body effect).

::: step
answer: g*(r*L/(r + L))/(1 + g*(r*L/(r + L)))

### What is its gain?
:::

::: step
answer: 1/g

### Roughly what output resistance does it have for large $r_o$?
:::

::: right
Right. A follower's gain approaches 1 as $g_m$ times the load grows, and it drives loads through only $1/g_m$.
:::
:::

::: explain
## Why does putting a resistor in a transistor's source raise its output resistance?

::: model
The output resistance measures how much the drain current changes when the drain voltage is pushed. Without a source resistor, pushing the drain changes the current through $r_o$ and the effect stops there. With a resistor in the source, any increase in current raises the source voltage, which lowers the gate-source voltage and, through $g_m$, pulls the current back down. That negative feedback opposes the change, so a much bigger drain voltage change is needed for the same current change, which is a larger output resistance, by the loop gain $g_mR_S$ plus one. The same feedback divides the transconductance by the same factor, which is why degeneration doesn't raise the gain into a resistive load.
:::
:::

::: practice

::: check
given: g = 2 | 6; b = 0.2 | 0.6; R = 0.3 | 3; o = 25 | 80
answer: o + R + (g + b)*o*R
unit: kΩ
tolerance: 1%

## $R_\text{out}$: $g_m$ = {g}, $g_{mb}$ = {b} mS, $r_o$ = {o}, $R_S$ = {R} kΩ?

::: misses
- [any] $r_o + R_S + (g_m + g_{mb})r_oR_S$.
:::
:::

::: check
given: g = 2 | 5; b = 0.2 | 0.5; o = 40 | 120; L = 2 | 20
answer: g/(g + b + 1/o + 1/L)
tolerance: 1%

## Follower gain: {g}, {b} mS, $r_o$ = {o}, $R_L$ = {L} kΩ?

::: misses
- [any] $g_m/(g_m + g_{mb} + 1/r_o + 1/R_L)$.
:::
:::

::: check
given: g = 1.5 | 4; b = 0.2 | 0.5; R = 0.4 | 4; o = 30 | 90
answer: g/(1 + (g + b)*R + R/o)
unit: mS
tolerance: 1%

## $G_m$ with {R} kΩ degeneration ({g}, {b} mS, $r_o$ = {o} kΩ)?

::: misses
- [any] $g_m/(1 + (g_m + g_{mb})R_S + R_S/r_o)$.
:::
:::
:::
