---
title: Bipolar models for IC design and translinear circuits
heading: The full hybrid-π, intrinsic gain, and circuits that multiply currents
eyebrow: S2 · Lesson 2 · Bipolar models and translinear circuits
xp: 50
---

::: hook
Bipolar transistors still hold several crowns in analog design: the most transconductance per unit current any transistor can give, intrinsic gains in the thousands, and base-emitter voltages that match to a fraction of a millivolt. Their exponential law has one more gift. Around any loop of base-emitter junctions, the voltages add, so the currents multiply. That translinear principle builds analog multipliers, the Gilbert cell in every radio's mixer, and the bias loops that keep class AB output stages out of crossover distortion.
:::

::: play
- A Gilbert cell multiplier: the differential output current, as a fraction of its tail current, against the input $v_1$, for a chosen second input $v_2$.
- Near the origin the output is $v_1v_2$ times a constant: a four-quadrant multiplier. Its gain is set by the thermal voltage, so it's linear only for inputs much smaller than $2V_T$ = 52 mV.
- The dashed line is the small-signal product. Raise $v_2$ past about 100 mV and the cell becomes a switch, the way it runs as a mixer driven by a large local oscillator.
:::
:::

```sim plot
view: graph
x: v1 = -150..150 mV
y: i = -1.05..1.05
slider: v2 = -150..150 = 20 mV
plot: tanh(v1/(2*25.85))*tanh(v2/(2*25.85)) | samples: 400 | label: output current ÷ tail current
plot: v1*v2/(4*25.85^2) | dashed | color: ch2 | label: small-signal product
```

::: predict
## A bipolar transistor has an Early voltage of 50 V. What's its intrinsic gain $g_mr_o$?

- [ ] About 50
- [ ] About 200
- [x] About 1900
- [ ] Infinite

::: reveal
$g_mr_o = \frac{I_C}{V_T}\cdot\frac{V_A}{I_C} = \frac{V_A}{V_T} = \frac{50}{0.02585}$ ≈ 1930, at any current. A MOSFET's is $\frac{g_m}{I_D}V_A$, and with $g_m/I_D$ of 10 to 20 per volt and $V_A$ of 5 to 20 V in a modern process, it's in the tens to hundreds. That factor of ten is why bipolar amplifiers reach high gain in fewer stages.
:::
:::

::: nameit
## The full small-signal model

Around a collector current $I_C$:

| Element | Value | Origin |
|---|---|---|
| $g_m$ | $I_C/V_T$ | exponential law |
| $r_\pi$ | $\beta/g_m$ | base current |
| $r_o$ | $V_A/I_C$ | Early effect |
| $r_\mu$ | about $\beta r_o$ | base recombination modulated by base width |
| $C_\pi$ | $C_{je} + \tau_Fg_m$ | junction plus stored base charge |
| $C_\mu$ | $C_{jc}$ | collector junction |
| $r_b$, $r_{ex}$, $r_c$ | tens to hundreds of ohms | the neutral regions |

$r_\mu$ matters only at the highest output resistances (a cascode's output can't exceed about $\beta r_o/2$). $r_b$ adds noise and limits $f_\text{max}$ (S1.28).

## Bipolar against MOS

- $g_m/I_C = 1/V_T$ = 38.7 per volt, above any MOSFET's $1/nV_T$.
- Intrinsic gain $V_A/V_T$, independent of current: hundreds to thousands.
- $V_{BE}$ matching: two transistors' $V_{BE}$ differ by $V_T\ln\frac{I_{S2}}{I_{S1}}$, a fraction of a millivolt for matched layouts, against several millivolts of MOSFET threshold mismatch.
- The base draws current, which loads high-impedance nodes and causes bias errors.

## The translinear principle

In a closed loop of base-emitter junctions with as many clockwise as counterclockwise, the voltages sum to zero. Since $V_{BE} = V_T\ln\frac{I_C}{I_S}$, the products of the currents in the two directions are equal (for equal areas):

$$\prod_\text{cw}I_C = \prod_\text{ccw}I_C$$

- **Class AB bias:** two bias diodes against the output pair give $I_NI_P = I_Q^2$, so neither output transistor turns fully off.
- **Gilbert cell:** a differential pair whose tail is itself split by a second pair, cross-coupled, gives $\Delta I = I_{EE}\tanh\frac{v_1}{2V_T}\tanh\frac{v_2}{2V_T}$, approximately $I_{EE}\frac{v_1v_2}{4V_T^2}$ for small inputs.
- **Squarers, square-rooters and vector-magnitude circuits** follow the same pattern.
:::

::: example
## A bipolar transistor runs at 1 mA with β = 100 and $V_A$ = 50 V. Find $g_m$, $r_\pi$, $r_o$, $r_\mu$ and the intrinsic gain, and compare with a MOSFET at $g_m/I_D$ = 15 /V and $V_A$ = 10 V.

::: solution
1. **Transconductance.**
   $$\begin{aligned} g_m &= \frac{10^{-3}\ \text{A}}{0.02585\ \text{V}} \\ &= 38.7\ \text{mS} \end{aligned}$$
2. **Input resistance.**
   $$\begin{aligned} r_\pi &= \frac{100}{0.0387\ \text{S}} \\ &= 2.59\ \text{k}\Omega \end{aligned}$$
3. **Output resistance and $r_\mu$.**
   $$\begin{aligned} r_o &= \frac{50\ \text{V}}{10^{-3}\ \text{A}} \\ &= 50\ \text{k}\Omega \end{aligned}$$
   $$\begin{aligned} r_\mu &\approx \beta r_o \\ &= 5\ \text{M}\Omega \end{aligned}$$
4. **Intrinsic gain.**
   $$\begin{aligned} g_mr_o &= \frac{50}{0.02585} \\ &= 1930 \end{aligned}$$
5. **Compare the MOSFET.** At the same current it gives $g_m$ = 15 mS, $r_o$ = 10 kΩ and a gain of 150: less than half the transconductance and a thirteenth of the gain.

**Answer:** $g_m$ = 38.7 mS, $r_\pi$ = 2.59 kΩ, $r_o$ = 50 kΩ, $r_\mu$ ≈ 5 MΩ and an intrinsic gain of 1930, against 15 mS and a gain of 150 for the MOSFET.
:::
:::

::: example
## A class AB output stage's bias diodes carry 1 mA, and the output transistors are four times their area. What's the quiescent current, and how much does the idle transistor carry when the other sources 100 mA?

::: solution
1. **Translinear loop.** Two diodes against two output junctions give
   $$\begin{aligned} I_NI_P &= (4 \times 1\ \text{mA})^2 \\ &= 16\ \text{mA}^2 \end{aligned}$$
2. **Quiescent current.** At idle the two are equal, so the quiescent current is 4 mA in each.
3. **The idle side at 100 mA.** With the NPN at 100 mA, the PNP carries
   $$\begin{aligned} I_P &= \frac{16}{100}\ \text{mA} \\ &= 0.16\ \text{mA} \end{aligned}$$
   small, but never zero, so the hand-over between them stays smooth.
4. **Why it matters.** That's the job of class AB bias: avoid the crossover gap of pure class B (C6.42).

**Answer:** 4 mA flows in each output transistor at idle, and the idle one carries 0.16 mA when the other sources 100 mA.
:::
:::

::: example
## A translinear loop has two base-emitter junctions going up and two coming down. Three of the currents are 1, 4 and 2 mA. What is the fourth?

::: solution
1. **Loop equation.** Matched junctions around the loop give
   $$V_{BE1} + V_{BE2} = V_{BE3} + V_{BE4}$$
2. **Product rule.** So the currents obey
   $$I_1I_2 = I_3I_4$$
3. **Fourth current.**
   $$\begin{aligned} I_4 &= \frac{1 \times 4}{2}\ \text{mA} \\ &= 2\ \text{mA} \end{aligned}$$
4. **Why it's accurate.** The product rule holds whatever the temperature, which is what makes translinear multipliers and RMS converters accurate.

**Answer:** the fourth current is 2 mA.
:::
:::

::: check
given: I = 0.01 | 0.1 | 1 | 5
answer: I/25.85*1000
unit: mS
tolerance: 1%

## What's the transconductance of a bipolar transistor at {I} mA?

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

::: misses
- [I/(1.3*25.85)*1000] That's a MOSFET in weak inversion; the bipolar transistor has no slope factor.
- [any] Not yet. $g_m = I_C/V_T$.
:::
:::

::: check
given: b = 50 | 150 | 400; I = 0.1 | 1 | 3
answer: b*0.02585/(I*1e-3)/1000
unit: kΩ
tolerance: 1%

## A bipolar transistor with β = {b} runs at {I} mA. What's its $r_\pi$?

::: right
Right. $r_\pi = \beta/g_m$ = {answer} kΩ.
:::

::: misses
- [0.02585/(I*1e-3)/1000] That's $1/g_m$; multiply by β.
- [any] Not yet. $r_\pi = \beta V_T/I_C$.
:::
:::

::: check
given: A = 20 | 50 | 120
answer: A/0.02585
tolerance: 1%

## What's the intrinsic gain of a bipolar transistor with $V_A$ = {A} V?

::: right
Right. $V_A/V_T$ = {answer}.
:::

::: misses
- [any] Not yet. $g_mr_o = (I_C/V_T)(V_A/I_C)$.
:::
:::

::: check
given: r = 2 | 8 | 24; T = 250 | 300 | 400
answer: 8.617e-5*T*ln(r)*1000
unit: mV
tolerance: 1%

## Two matched transistors run at currents in the ratio {r}:1, at {T} K. What's the difference in their $V_{BE}$?

::: right
Right. $\frac{kT}{q}\ln r$ = {answer} mV, proportional to absolute temperature.
:::

::: misses
- [8.617e-5*T*log(r)*1000] Use the natural log.
- [any] Not yet. $V_{BE} = V_T\ln(I_C/I_S)$.
:::
:::

::: check
given: B = 0.5 | 1 | 2; a = 2 | 5 | 10
answer: B*a
unit: mA
tolerance: 1%

## A translinear class AB bias has its diodes at {B} mA, and the output transistors are {a} times their area. What's the quiescent current?

::: right
Right. $I_Q = aI_\text{bias}$ = {answer} mA.
:::

::: misses
- [B/a] Larger output devices carry more current at the same $V_{BE}$.
- [any] Not yet. Equal $V_{BE}$ sums, scaled areas.
:::
:::

::: check
given: Q = 2 | 5 | 10; I = 50 | 200
answer: Q^2/I
unit: mA
tolerance: 1%

## A class AB stage idles at {Q} mA. When one transistor sources {I} mA, how much does the other carry?

::: right
Right. $I_NI_P = I_Q^2$, so {answer} mA.
:::

::: misses
- [0] It never turns fully off: the product stays $I_Q^2$.
- [any] Not yet. Use the translinear product.
:::
:::

::: check
given: I = 0.5 | 2; a = 20 | 40 | 60; b = 30 | 60
answer: I*1e-3*tanh(a/51.7)*tanh(b/51.7)*1e6
unit: µA
tolerance: 1%

## A Gilbert cell with a {I} mA tail has inputs of {a} mV and {b} mV. What's its differential output current?

::: right
Right. $I_{EE}\tanh\frac{v_1}{2V_T}\tanh\frac{v_2}{2V_T}$ = {answer} µA.
:::

::: misses
- [I*1e-3*a*b/(4*25.85^2)*1e6] That's the small-signal product; use the exact tanh law.
- [any] Not yet. Each pair splits current by $\tanh(v/2V_T)$.
:::
:::

::: check
given: C = 50 | 200; t = 1 | 4; I = 0.2 | 1
answer: C + t*1e-12*I*1e-3/0.02585*1e15
unit: fF
tolerance: 1%

## A transistor has $C_{je}$ = {C} fF and $\tau_F$ = {t} ps. What's its $C_\pi$ at {I} mA?

::: right
Right. $C_{je} + \tau_Fg_m$ = {answer} fF.
:::

::: misses
- [t*1e-12*I*1e-3/0.02585*1e15] Add the junction capacitance.
- [any] Not yet. Stored base charge plus the junction.
:::
:::

::: check
kind: parts
given: I = 0.1 | 1 | 5; b = 50 | 100 | 200; A = 30 | 100

## A bipolar transistor runs at {I} mA with β = {b} and $V_A$ = {A} V.

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

### What is $g_m$?

::: misses
- [any] $I_C/V_T$.
:::
:::

::: part
answer: b*0.02585/(I/1000)/1000
unit: kΩ
tolerance: 0.5%

### What is $r_\pi$?

::: misses
- [any] $\beta/g_m$.
:::
:::
:::

::: check
kind: derivation
vars: a = 1e-5..1e-2, b = 1e-5..1e-2, c = 1e-5..1e-2

## Four matched junctions form a translinear loop with two up and two down; three currents are a, b (up) and c (down).

::: step
answer: a*b/c

### What is the fourth current?
:::

::: step
answer: 2*a*b/c

### What if a doubles?
:::

::: right
Right. The loop multiplies and divides currents exactly, independent of temperature.
:::
:::

::: explain
## Why does a loop of base-emitter junctions make the currents multiply?

::: model
Each junction's voltage is the logarithm of its current, scaled by the thermal voltage. Going around a closed loop, the voltages must add to zero, so the sum of logarithms of the clockwise currents equals the sum for the counterclockwise ones. A sum of logarithms is the logarithm of a product, so the products of the currents must be equal. This holds for large signals as well as small ones, as long as the transistors are matched and at the same temperature, which is why translinear circuits can multiply, divide and take square roots of currents accurately over wide ranges.
:::
:::

::: practice

::: check
given: I = 0.01 | 0.05 | 0.1 | 0.5 | 1 | 2 | 5
answer: I/25.85*1000
unit: mS
tolerance: 1%

## $g_m$ at {I} mA?

::: misses
- [any] $I_C/V_T$.
:::
:::

::: check
given: r = 4 | 16; T = 300 | 350
answer: 8.617e-5*T*ln(r)*1000
unit: mV
tolerance: 1%

## ΔV_BE for a {r}:1 ratio at {T} K?

::: misses
- [any] $V_T\ln r$.
:::
:::

::: check
given: Q = 3 | 8; I = 40 | 150
answer: Q^2/I
unit: mA
tolerance: 1%

## Idle transistor's current: $I_Q$ = {Q} mA, other at {I} mA?

::: misses
- [any] $I_Q^2/I$.
:::
:::
:::
