---
title: The common-source amplifier
heading: One transistor, a resistor, and gain
eyebrow: C6 · Lesson 2 · The common-source amplifier
xp: 50
---

::: hook
C5.18 showed a MOSFET turning a small gate wiggle into a large drain wiggle. As a practical amplifier, that circuit needs more: a way to set the bias that doesn't drift, a capacitor to let the signal in without disturbing the bias, and a source resistor that trades some gain for gain that's predictable. This is the common-source stage, the building block inside nearly every analog chip.

::: play
- A common-source amplifier with a source resistor $R_S$ and a bypass capacitor across it. The input arrives through a coupling capacitor; a divider sets the gate's DC voltage.
- Shrink the bypass capacitor until it does nothing at 1 kHz. How much does the gain fall?
- With the bypass gone, change $R_D$. Compare the gain with $R_D/R_S$.
:::
:::

```sim circuit
VS s 0 sine 20m V 1k Hz -90 °  @ 0,2 down 2
CI s g 10u                  @ 0,2 right
R1 vdd g 300k               @ 2,-2 down 4
R2 g 0 100k                 @ 2,2 down 2
M1 d g src nmos VTO=1 KP=4m @ 3,2
RD vdd d 4.7k               @ 4,-2 down 3
RS src 0 1k                 @ 4,3 down
CS src 0 100u               @ 6,3 down
VDD vdd 0 12                @ 8,-2 down 6
slider: CS 10n..100u log
slider: RD 1k..10k log
scope: v(s), v(d)
time: 0..3m s
meter: v(d), i(M1)
```

::: predict
## In the circuit above the MOSFET is biased at about 1.2 mA, giving $g_m$ ≈ 3.1 mS, with $R_D$ = 4.7 kΩ and $R_S$ = 1 kΩ. Remove the bypass capacitor. Roughly what's the gain?

- [ ] −14.7
- [x] About −3.6
- [ ] −4.7
- [ ] −1

::: reveal
About −3.6: $-g_mR_D/(1 + g_mR_S) = -14.7/4.1 = -3.6$. The source resistor's voltage rises with the drain current and subtracts from the gate's drive: local negative feedback. The gain falls by $1 + g_mR_S$, but it now depends mostly on the resistor ratio ($-R_D/R_S = -4.7$ if $g_m$ were huge) instead of on $g_m$, which varies with temperature and from part to part. The bypass capacitor restores the full gain of about −14.7 for AC signals while keeping $R_S$'s steadying effect on the DC bias.
:::
:::

::: nameit
## The common-source stage

**DC bias.** The divider sets the gate at $V_G = V_{DD}R_2/(R_1 + R_2)$; no gate current flows, so the divider can use large resistors. The source sits at $I_DR_S$, so

$$V_G = V_{GS} + I_DR_S \qquad I_D = \tfrac K2(V_{GS} - V_t)^2$$

solved together (a quadratic). $R_S$ stabilizes the bias against changes in $V_t$ and K, as $R_E$ did for the BJT (C5.30).

**Small-signal gain.** With $g_m = K(V_{GS} - V_t)$:

- source bypassed (the capacitor shorts $R_S$ for signals): $A_v = -g_mR_D$;
- source not bypassed: $A_v = -\dfrac{g_mR_D}{1 + g_mR_S} \approx -\dfrac{R_D}{R_S}$ when $g_mR_S \gg 1$.

A load $R_L$ on the output appears in parallel with $R_D$.

**Impedances.** Input: the bias divider, $R_1 \parallel R_2$ (the gate itself draws nothing). Output: about $R_D$.

**Coupling and bypass capacitors** must have small impedances at the lowest signal frequency: the input capacitor forms a high-pass filter with the input resistance, and the bypass capacitor's corner is roughly $g_m/(2\pi C_S)$.

**Swing.** The drain can swing down until the MOSFET leaves saturation ($V_{DS} = V_{OV}$) and up to $V_{DD}$; setting the bias in the middle gives the largest undistorted output.

The **common-emitter** BJT stage is the same idea, with $g_m = I_C/V_T$ and the base's $r_\pi$ adding to the input loading.
:::


::: example
## A CS stage on 15 V has its gate held at 5 V by 2 MΩ over 1 MΩ, with $K$ = 1 mA/V², $V_t$ = 1 V, $R_S$ = 2 kΩ and $R_D$ = 5 kΩ. Find $I_D$, $g_m$ and the gain with $R_S$ bypassed and unbypassed.

::: solution
1. **Overdrive.** Solve the bias equation for $v_{OV}$:
   $$\frac K2R_Sv_{OV}^2 + v_{OV} = 4$$
   which gives $v_{OV}$ = 1.56 V.
2. **Drain current.**
   $$\begin{aligned} I_D &= \frac K2v_{OV}^2 \\ &= 1.22\ \text{mA} \end{aligned}$$
3. **Transconductance.**
   $$\begin{aligned} g_m &= Kv_{OV} \\ &= 1.56\ \text{mS} \end{aligned}$$
4. **Gain with $R_S$ bypassed.**
   $$\begin{aligned} A_v &= -g_mR_D \\ &= -7.8 \end{aligned}$$
5. **Gain with $R_S$ unbypassed.** The source resistance adds to $1/g_m$ = 641 Ω:
   $$\begin{aligned} A_v &= -\frac{5000}{641 + 2000} \\ &= -1.9 \end{aligned}$$

**Answer:** $I_D$ = 1.22 mA and $g_m$ = 1.56 mS; the gain is −7.8 with $R_S$ bypassed and −1.9 without.
:::
:::

::: example
## What input coupling capacitor gives that stage a 20 Hz corner from a low-resistance source?

::: solution
1. **Resistance at the gate.**
   $$2\ \text{M}\Omega \parallel 1\ \text{M}\Omega = 667\ \text{k}\Omega$$
2. **Capacitor for a 20 Hz corner.**
   $$\begin{aligned} C &= \frac{1}{2\pi \times 20 \times 667\,000}\ \text{F} \\ &= 12\ \text{nF} \end{aligned}$$
3. **Why it's small.** A high-resistance bias network allows a small capacitor.

**Answer:** a 12 nF coupling capacitor gives the 20 Hz corner.
:::
:::

::: example
## The CS stage of the first example (15 V supply, $V_G$ = 5 V, $R_S$ = 2 kΩ bypassed, $R_D$ = 5 kΩ, 1.22 mA) amplifies a sine. How far can its drain swing each way?

::: solution
1. **Resting drain voltage.**
   $$\begin{aligned} V_D &= 15 - 5\ \text{k}\Omega \times 1.22\ \text{mA} \\ &= 8.90\ \text{V} \end{aligned}$$
2. **Swing downward.** The transistor leaves saturation when the drain reaches $V_G - V_t$ = 4 V:
   $$8.90 - 4 = 4.90\ \text{V}$$
3. **Swing upward.** It cuts off only when the current reaches zero and the drain reaches 15 V:
   $$15 - 8.90 = 6.10\ \text{V}$$
4. **Largest undistorted sine.** The smaller swing sets it, so it's about ±4.9 V, set by saturation.
5. **Centering the bias.** Moving the drain's resting point up by half the difference, about 0.6 V, would center it and gain ±0.6 V of swing.

**Answer:** the drain can swing 4.90 V down and 6.10 V up, so the largest undistorted sine is about ±4.9 V.
:::
:::

::: check
given: gm = 2 | 4 | 10; RD = 2.2 | 4.7 | 10
answer: -gm*RD
tolerance: 0.5%

## A common-source stage with a fully bypassed source resistor has $g_m$ = {gm} mS and $R_D$ = {RD} kΩ. What's its gain?

::: right
Right. $-g_mR_D$ = {answer}.
:::

::: misses
- [gm*RD] It inverts.
- [any] Not yet. $A_v = -g_mR_D$.
:::
:::

::: check
given: gm = 2 | 4 | 10; RD = 4.7 | 10; RS = 0.47 | 1 | 2.2
answer: -gm*RD/(1 + gm*RS)
tolerance: 0.5%

## Without a bypass capacitor, the same kind of stage has $g_m$ = {gm} mS, $R_D$ = {RD} kΩ and $R_S$ = {RS} kΩ. What's its gain?

::: right
Right. $-\frac{g_mR_D}{1 + g_mR_S}$ = {answer}.
:::

::: misses
- [-gm*RD] That's with the source bypassed.
- [-RD/RS] That's the limit for very large $g_m$; use the exact form.
- [any] Not yet. Degeneration divides by $1 + g_mR_S$.
:::
:::

::: check
given: VDD = 12 | 15; R1 = 200 | 300; R2 = 100
answer: VDD*100/(R1 + 100)
unit: V
tolerance: 0.5%

## A gate divider has $R_1$ = {R1} kΩ and $R_2$ = 100 kΩ on {VDD} V. What's the gate's DC voltage?

::: right
Right. $V_{DD}R_2/(R_1 + R_2)$ = {answer}; no gate current disturbs it.
:::

::: misses
- [VDD*R1/(R1 + 100)] That's across $R_1$.
- [any] Not yet. The divider.
:::
:::

::: check
given: R1 = 200 | 300 | 470; R2 = 100 | 150
answer: R1*R2/(R1 + R2)
unit: kΩ
tolerance: 0.5%

## What input resistance does a common-source stage with bias divider $R_1$ = {R1} kΩ and $R_2$ = {R2} kΩ present to the signal?

::: right
Right. The gate draws nothing, so it's $R_1 \parallel R_2$ = {answer}.
:::

::: misses
- [R1 + R2] For the signal, the supply is ground: the resistors are in parallel.
- [any] Not yet. $R_1 \parallel R_2$.
:::
:::

::: check
given: Rin = 50 | 75 | 200; f = 10 | 20 | 50
answer: 1/(2*pi*f*Rin*1e3)*1e6
unit: µF
tolerance: 0.5%

## A stage's input resistance is {Rin} kΩ. What coupling capacitor puts the input high-pass corner at {f} Hz?

::: right
Right. $C = 1/(2\pi fR_\text{in})$ = {answer}.
:::

::: misses
- [1/(f*Rin*1e3)*1e6] Include 2π.
- [any] Not yet. The coupling capacitor and $R_\text{in}$ make a high-pass.
:::
:::

::: check
kind: parts
given: VDD = 12 | 15; I = 0.5 | 1 | 2; RD = 2.2 | 4.7; VG = 4 | 5

## A CS stage (V_t = 1 V) on {VDD} V carries {I} mA through $R_D$ = {RD} kΩ, its gate at {VG} V and its source bypassed.

::: part
answer: VDD - I*RD
unit: V
tolerance: 0.5%

### Where does the drain rest?

::: misses
- [any] $V_{DD} - I_DR_D$.
:::
:::

::: part
answer: VDD - I*RD - (VG - 1)
unit: V
tolerance: 0.5%

### How far can it swing down before leaving saturation?

::: misses
- [VDD - I*RD] It leaves saturation at $V_G - V_t$, not at ground.
- [any] $V_D - (V_G - V_t)$.
:::
:::
:::

::: check
kind: derivation
vars: K = 0.0001..0.01, R = 100..10000, G = 0.5..10, D = 1000..50000

## A CS stage (gain factor K) has source resistor R, its gate G volts above the threshold, and drain resistor D.

::: step
answer: (sqrt(1 + 2*K*R*G) - 1)/(K*R)

### What's its overdrive?
:::

::: step
answer: K*(sqrt(1 + 2*K*R*G) - 1)/(K*R)

### What's its $g_m$?
:::

::: step
answer: -D/(1/(K*(sqrt(1 + 2*K*R*G) - 1)/(K*R)) + R)

### What's its gain with R unbypassed?
:::

::: right
Right. A large source resistor makes both the current and the gain depend on resistors more than on K.
:::
:::

::: explain
## Why does an unbypassed source resistor make a common-source amplifier's gain more predictable?

::: model
When the drain current rises with the input, the voltage across the source resistor rises too, which lifts the source and reduces the gate-to-source voltage that actually drives the transistor. That's negative feedback: the transistor only sees part of the input. If $g_mR_S$ is large, the source voltage follows the gate almost exactly, so the drain current change is set by the input voltage divided by $R_S$, and the gain becomes about $R_D/R_S$, a ratio of resistors, regardless of the transistor's $g_m$, which varies with temperature and between parts.
:::
:::

::: practice

::: check
given: gm = 1 | 5; RD = 5 | 10
answer: -gm*RD
tolerance: 0.5%

## Bypassed: $g_m$ = {gm} mS, $R_D$ = {RD} kΩ. Gain?

::: misses
- [gm*RD] Inverting.
- [any] $-g_mR_D$.
:::
:::

::: check
given: gm = 10 | 20; RS = 1 | 2
answer: 1 + gm*RS
tolerance: 0.5%

## Degeneration factor $1 + g_mR_S$ for $g_m$ = {gm} mS, $R_S$ = {RS} kΩ?

::: misses
- [gm*RS] Add 1.
- [any] $1 + g_mR_S$.
:::
:::

::: check
given: RD = 10 | 22; RS = 1 | 2
answer: -RD/RS
tolerance: 0.5%

## Heavy degeneration ($g_mR_S \gg 1$): gain with $R_D$ = {RD} kΩ, $R_S$ = {RS} kΩ?

::: misses
- [RD/RS] Inverting.
- [any] $-R_D/R_S$.
:::
:::
:::
