---
title: Small-signal models and linearization
heading: A curve looks like a straight line up close
eyebrow: C5 · Lesson 39 · Small-signal models
xp: 50
---

::: hook
Diodes and transistors are strongly nonlinear, yet amplifiers built from them reproduce music almost perfectly. The trick is to set each device at a steady operating point (its **bias**) and keep the signal small. Over a small enough stretch, any smooth curve is nearly a straight line, its tangent (A6). So for small signals, a diode is just a resistor, and a transistor is just a controlled source, and all of C1 to C4 applies again.

::: play
- The curve is a diode's current against its voltage. The straight line is its tangent at the bias point.
- Move the bias current. How does the tangent's slope change?
- How far either side of the bias point does the tangent stay close to the curve?
:::
:::

```sim plot
view: graph
x: V = 0.4..0.8 V
y: I = 0..10 mA
slider: ID = 0.1..8 = 2 mA log
plot: 1e-14*exp(V/0.02585)*1000 | label: diode current
plot: ID + (V - 0.02585*ln(ID*1e-3/1e-14))*ID/0.02585 | dashed | color: ch2 | label: tangent at the bias point
point: 0.02585*ln(ID*1e-3/1e-14), ID
readout: bias voltage = 0.02585*ln(ID*1e-3/1e-14) V
readout: small-signal resistance r_d = 0.02585/(ID*1e-3) Ω
```

::: predict
## A diode is biased at 1 mA. A small extra 1 mV is added to its voltage. Roughly how much does its current change?

- [ ] 1 µA
- [x] About 39 µA
- [ ] 1 mA
- [ ] Nothing

::: reveal
About 39 µA. The tangent's slope at 1 mA is $I_D/V_T = 1\text{ mA}/25.9\text{ mV}$, a conductance of 38.7 mS, so the diode acts like a 25.9 Ω resistor to small changes. At 10 mA it would act like 2.6 Ω. The same device is a different resistor at every bias point.
:::
:::

::: nameit
## Linearization

**The idea.** For a smooth $i = f(v)$, near the operating point $(V_0, I_0)$:

$$i \approx I_0 + f'(V_0)(v - V_0)$$

So the small change $\delta i$ is proportional to the small change $\delta v$. The device responds to small signals like a resistor of $1/f'(V_0)$.

**Diode.** From $I = I_Se^{V/nV_T}$:

$$r_d = \frac{nV_T}{I_D} \approx \frac{25.9\text{ mV}}{I_D}$$

**Bipolar transistor.** Its collector current follows the same exponential in $v_{BE}$, so it acts as a voltage-controlled current source with **transconductance**

$$g_m = \frac{I_C}{V_T} \qquad (\text{40 mS at 1 mA})$$

and its base looks like $r_\pi = \beta/g_m$.

**MOSFET** in saturation, $I_D = \frac{K}{2}(V_{GS} - V_t)^2$:

$$g_m = K(V_{GS} - V_t) = \frac{2I_D}{V_{GS} - V_t}$$

**The small-signal circuit.** Solve for the DC bias first, with the signal off. Then, for the signal alone (superposition, C1.16): replace each device by its small-signal model, set DC voltage sources to zero (shorts) and DC current sources to zero (opens), and treat large coupling capacitors as shorts. What's left is a linear circuit.

**How small is small?** For a diode or BJT, the exponential's next term is $\tfrac12(\delta v/V_T)^2$, so the error is about $\delta v/2V_T$: about 2% for a 1 mV signal and 20% for 10 mV. MOSFETs tolerate larger signals, about 10% of $V_{GS} - V_t$.
:::

```sim circuit
V1 in 0 sine 50m V 1k Hz 0 ° 5     @ 0,0 down
R1 in a 4.3k                       @ 0,0 right
D1 a 0                             @ 2,0 down
scope: v(a)
time: 0..3m s
meter: v(a), i(R1)
```

A diode biased at about 1 mA from 5 V through 4.3 kΩ, with a 50 mV signal riding on the supply. The meters show the AC part at the signal's frequency: the diode's tiny $r_d$ forms a divider with the 4.3 kΩ, so almost none of the signal appears across it.


::: example
## A diode biased at 2 mA is fed a 10 mV signal through 1 kΩ. What signal appears across it?

::: solution
1. **Diode's small-signal resistance.**
   $$\begin{aligned} r_d &= \frac{25.85\ \text{mV}}{2\ \text{mA}} \\ &= 12.9\ \Omega \end{aligned}$$
2. **Divide the signal.**
   $$10 \times \frac{12.9}{1012.9} = 0.13\ \text{mV}$$
   The diode nearly shorts the signal.

**Answer:** only 0.13 mV appears across the diode.
:::
:::

::: example
## Compare the transconductance of a BJT and a MOSFET, each at 0.5 mA, the MOSFET with 0.25 V of overdrive.

::: solution
1. **BJT.**
   $$\begin{aligned} g_m &= \frac{0.5}{0.02585} \\ &= 19.3\ \text{mS} \end{aligned}$$
   and with β = 150, $r_\pi$ = 7.8 kΩ.
2. **MOSFET.**
   $$\begin{aligned} g_m &= \frac{2 \times 0.5}{0.25} \\ &= 4\ \text{mS} \end{aligned}$$
3. **Compare.** The BJT gives about five times more per milliamp.

**Answer:** the BJT's $g_m$ is 19.3 mS and the MOSFET's 4 mS, about five times less.
:::
:::

::: example
## A BJT at 1 mA and a MOSFET at 1 mA with 0.25 V of overdrive each get a 10 mV peak at their inputs. How far does each one's positive current peak differ from the linear prediction?

::: solution
1. **BJT, linear.** $g_m$ = 38.7 mS predicts 0.387 mA.
2. **BJT, exponential.**
   $$\begin{aligned} i_c &= 1\ \text{mA} \times (e^{10/25.85} - 1) \\ &= 0.472\ \text{mA} \end{aligned}$$
   That's 22% more.
3. **MOSFET, linear.** $g_m = \frac{2I_D}{v_{OV}}$ = 8 mS predicts 0.080 mA.
4. **MOSFET, square law.** With $K = \frac{2I_D}{v_{OV}^2}$ = 32 mA/V²,
   $$\begin{aligned} i_d &= \frac K2(0.26^2 - 0.25^2) \\ &= 0.0816\ \text{mA} \end{aligned}$$
   That's 2% more.
5. **Why they differ.** The neglected term grows as $\frac{v}{2V_T}$ for the BJT and $\frac{v}{2v_{OV}}$ for the MOSFET. "Small" means small against $V_T$ = 26 mV for a BJT, but only against the overdrive for a MOSFET, which is ten times bigger here.

**Answer:** the BJT's peak is 22% above the linear prediction (0.472 mA against 0.387 mA), and the MOSFET's only 2% (0.0816 mA against 0.080 mA).
:::
:::

::: check
given: ID = 0.1 | 0.5 | 1 | 5 | 10
answer: 0.02585/(ID*1e-3)
unit: Ω
tolerance: 0.5%

## A diode (n = 1) is biased at {ID} mA. What is its small-signal resistance? ($V_T$ = 25.85 mV.)

::: right
Right. $r_d = V_T/I_D$ = {answer}.
:::

::: misses
- [0.7/(ID*1e-3)] That's the DC ratio $V/I$. The small-signal resistance is the slope.
- [0.02585/ID] Convert mA to A.
- [any] Not yet. $r_d = V_T/I_D$.
:::
:::

::: check
given: IC = 0.1 | 1 | 2 | 10
answer: IC/25.85*1000
unit: mS
tolerance: 0.5%

## A bipolar transistor is biased at {IC} mA. What is its transconductance?

::: right
Right. $g_m = I_C/V_T$ = {answer}.
:::

::: misses
- [IC/0.7*1000] It's $I_C/V_T$, not over $V_{BE}$.
- [any] Not yet. $g_m = I_C/V_T$.
:::
:::

::: check
given: ID = 0.5 | 1 | 4; Vov = 0.2 | 0.5 | 1
answer: 2*ID/Vov
unit: mS
tolerance: 0.5%

## A MOSFET in saturation carries {ID} mA with $V_{GS} - V_t$ = {Vov} V. What is its transconductance?

::: right
Right. $g_m = 2I_D/(V_{GS} - V_t)$ = {answer}.
:::

::: misses
- [ID/Vov] There's a factor of 2 from the square law.
- [ID/0.02585] That's the bipolar formula.
- [any] Not yet. $g_m = 2I_D/V_{OV}$.
:::
:::

::: check
given: v = 10 | 50 | 100; R = 1 | 4.3 | 10; ID = 1 | 2
answer: v*(0.02585/(ID*1e-3))/(R*1e3 + 0.02585/(ID*1e-3))*1000
unit: µV
tolerance: 1%

## A diode biased at {ID} mA is fed a {v} mV signal through {R} kΩ. What signal amplitude appears across the diode?

::: right
Right. A divider of R and $r_d = V_T/I_D$: {answer}.
:::

::: misses
- [v*1000] The diode's small $r_d$ takes only a small share.
- [any] Not yet. $v\frac{r_d}{R + r_d}$.
:::
:::

::: check
given: d = 1 | 2 | 5 | 10
answer: 100*(exp(d/25.85) - 1 - d/25.85)/(d/25.85)
unit: %
tolerance: 1%

## A diode or BJT gets a {d} mV signal on top of its bias. By what percentage does the linear (tangent) prediction underestimate the current's increase? ($V_T$ = 25.85 mV.)

::: right
Right. $\frac{e^{x} - 1 - x}{x}$ with $x = \delta v/V_T$: {answer}, about $\delta v/2V_T$.
:::

::: misses
- [100*d/25.85] That's x itself; the error is about half of it.
- [any] Not yet. Compare $e^x - 1$ with x.
:::
:::

::: check
kind: parts
given: I = 0.5 | 1 | 2; v = 2 | 5 | 10

## A BJT at {I} mA gets a {v} mV peak at its base.

::: part
answer: I/0.02585*v/1000
unit: mA
tolerance: 0.5%

### What peak collector current does the linear model predict?

::: misses
- [any] $g_mv$ with $g_m = \frac{I_C}{V_T}$.
:::
:::

::: part
answer: I*(exp(v/25.85) - 1)
unit: mA
tolerance: 0.5%

### What does the exponential actually give on the positive peak?

::: misses
- [any] $I_C\left(e^{v/V_T} - 1\right)$.
:::
:::
:::

::: check
kind: derivation
vars: I = 0.00001..0.01, v = 0.05..1, n = 1..2, T = 0.02..0.03

## A diode at current I with ideality n, a BJT at current I and a MOSFET at current I with overdrive v, all at thermal voltage T.

::: step
answer: n*T/I

### What's the diode's small-signal resistance?
:::

::: step
answer: I/T

### What's the BJT's transconductance?
:::

::: step
answer: 2*I/v

### What's the MOSFET's?
:::

::: right
Right. The BJT wins whenever $v_{OV}$ exceeds $2V_T$, about 52 mV.
:::
:::

::: explain
## Why can a strongly nonlinear device like a diode be treated as a simple resistor for small signals?

::: model
A diode's current is a smooth, curved function of its voltage. Close to any one point on that curve, the curve is very nearly a straight line, its tangent, so small changes in voltage produce proportional changes in current. The ratio of those changes is the slope's reciprocal, $V_T/I_D$, which acts exactly like a resistance for the small part of the signal. The approximation holds as long as the signal stays small compared with the scale over which the curve bends, about $V_T$.
:::
:::

::: practice

::: check
given: ID = 2 | 4 | 8
answer: 25.85/ID
unit: Ω
tolerance: 0.5%

## $r_d$ at {ID} mA?

::: misses
- [any] $V_T/I_D$ = 25.85 mV / {ID} mA.
:::
:::

::: check
given: IC = 0.5 | 1 | 4; beta = 100 | 200
answer: beta/(IC/25.85)
unit: kΩ
tolerance: 0.5%

## A BJT at {IC} mA with β = {beta}. What is $r_\pi$?

::: misses
- [beta*IC/25.85] $r_\pi = \beta/g_m$.
- [any] $r_\pi = \beta V_T/I_C$.
:::
:::

::: check
given: gm = 10 | 40; v = 1 | 5
answer: gm*v
unit: µA
tolerance: 0.5%

## $g_m$ = {gm} mS, signal {v} mV. Small-signal current, in µA?

::: misses
- [any] $g_m v$.
:::
:::
:::
