---
title: How a bipolar transistor works
heading: Minority carriers across a thin base, and where current gain comes from
eyebrow: S1 · Lesson 26 · How a bipolar transistor works
xp: 50
---

::: hook
A bipolar transistor is two diodes back to back, sharing a base so thin that electrons injected by the emitter junction diffuse straight across it and are swept into the collector before they can recombine. The collector current is set by one junction's voltage, yet flows through the other, reverse-biased junction, almost unaffected by its voltage. The small base current that's left over pays for the few carriers that go astray. C5 used the transistor's equations; this lesson builds them from the minority-carrier profiles of lessons 7 to 9, and shows exactly what sets the current gain.
:::

::: play
- An npn transistor in cross-section: emitter (0.3 µm, doping NE) on the left, base ($10^{17}$ cm⁻³, width WB) in the middle, collector ($10^{16}$) on the right. The curves are the minority-carrier densities on a log scale.
- In forward-active operation ($V_{BE}$ forward, $V_{BC}$ reverse), the electrons in the base fall in a straight line from the emitter edge to nearly zero at the collector: that slope is the collector current. Holes injected back into the emitter are the main base current.
- Forward-bias the collector junction (saturation): electrons pile up at the collector side too, the slope flattens, and the base fills with charge.
- Thin the base and the gain set by recombination soars. Raise NE: the gain rises, then stalls as band-gap narrowing in the emitter lets more holes in.
:::
:::

```sim plot
view: graph
x: x = -0.4..1.6 µm
y: n = 100..1e19 log
slider: VBE = 0.4..0.8 step 0.01 = 0.7 V
slider: VBC = -2..0.7 step 0.05 = -1 V
slider: WB = 0.05..1 = 0.2 µm log
slider: NE = 1e18..1e20 = 1e19 log
plot: 1e3*(1 + (exp(VBE/0.02585) - 1)*(1 - x/WB) + (exp(VBC/0.02585) - 1)*x/WB)*step(x)*step(WB - x) + 1e-3 | samples: 900 | label: electrons in the base, cm⁻³
plot: (1e20/NE)*(1 + (exp(VBE/0.02585) - 1)*(1 + x/0.3))*step(-x)*step(x + 0.3) + 1e-3 | samples: 900 | color: ch2 | label: holes injected into the emitter
plot: 1e4*(1 + (exp(VBC/0.02585) - 1)*exp(-(x - WB)/10))*step(x - WB) + 1e-3 | samples: 900 | color: ch3 | label: holes in the collector
readout: emitter-limited β = ((0.02585*801.4)*NE*0.3/((0.02585*(54.3 + 406.9/(1 + (NE/2.35e17)^0.88)))*1e17*WB)*exp(-(0.00692*(ln(NE/1.3e17) + sqrt(ln(NE/1.3e17)^2 + 0.5)))/0.02585))
readout: transport-limited β = (2*(0.02585*801.4)*1e-6/(WB*1e-4)^2) | format: sci
readout: current gain β = 1/(1/((0.02585*801.4)*NE*0.3/((0.02585*(54.3 + 406.9/(1 + (NE/2.35e17)^0.88)))*1e17*WB)*exp(-(0.00692*(ln(NE/1.3e17) + sqrt(ln(NE/1.3e17)^2 + 0.5)))/0.02585)) + 1/(2*(0.02585*801.4)*1e-6/(WB*1e-4)^2))
readout: emitter band-gap narrowing, meV = (0.00692*(ln(NE/1.3e17) + sqrt(ln(NE/1.3e17)^2 + 0.5)))*1000
```

::: predict
## In forward-active operation, what sets an npn transistor's collector current?

- [ ] The collector-base voltage, which pulls electrons across
- [x] The slope of the electron profile across the base, set by $V_{BE}$ and the base's doping and width
- [ ] The base current times a fixed β built into the silicon
- [ ] The collector's doping

::: reveal
The electron gradient across the base. $V_{BE}$ fixes the electron density at the emitter edge of the base through the law of the junction; the reverse-biased collector junction holds it near zero at the other edge. Diffusion down that slope is the collector current, $I_C = \frac{qAD_nn_i^2}{N_BW_B}e^{qV_{BE}/kT}$. The collector voltage hardly matters as long as it keeps the junction reverse biased, which is why the collector behaves as a current source. β is a consequence, the ratio of this current to the losses.
:::
:::

::: nameit
## Forward-active operation

With $V_{BE}$ forward and $V_{BC}$ reverse, the law of the junction sets the base's electron density at its two edges: $n_B(0) = \frac{n_i^2}{N_B}e^{qV_{BE}/kT}$ and $n_B(W_B) \approx 0$. In a base much thinner than the electrons' diffusion length, the profile is a straight line, and

$$I_C = \frac{qAD_nn_i^2}{N_BW_B}e^{qV_{BE}/kT} = I_Se^{qV_{BE}/kT}$$

For a nonuniform base, $N_BW_B$ becomes the **base Gummel number** $\int_0^{W_B}N_B\,dx$: the total base charge per area sets $I_S$, whatever its profile.

## Where the base current goes

1. Holes injected from base into emitter: $I_{B1} = \frac{qAD_pn_i^2}{N_EW_E}e^{qV_{BE}/kT}$ for a short emitter.
2. Electrons recombining in the base: $I_{B2} = \frac{Q_B}{\tau_n}$, with $Q_B = \frac{1}{2}qAn_B(0)W_B$.
3. Recombination in the emitter-base depletion region, which matters at low currents (lesson 27).

## Current gain

The **emitter injection efficiency** γ (the electron share of the emitter current) and the **base transport factor** $\alpha_T$ (the share of electrons that survive the base) give

$$\gamma = \frac{1}{1 + \frac{D_pN_BW_B}{D_nN_EW_E}}, \qquad \alpha_T = 1 - \frac{W_B^2}{2L_n^2}, \qquad \alpha = \gamma\alpha_T, \qquad \beta = \frac{\alpha}{1 - \alpha}$$

The two loss mechanisms add as conductances: $\frac{1}{\beta} = \frac{1}{\beta_\gamma} + \frac{1}{\beta_T}$, with $\beta_\gamma = \frac{D_nN_EW_E}{D_pN_BW_B}$ and $\beta_T = \frac{2L_n^2}{W_B^2}$. In a modern transistor $\beta_T$ is in the tens of thousands, so β is set by the emitter.

## Band-gap narrowing

Heavy doping shrinks the gap: about 30 meV at $10^{18}$ cm⁻³, 60 meV at $10^{19}$, 90 meV at $10^{20}$ in silicon. That multiplies the emitter's $n_i^2$ by $e^{\Delta E_g/kT}$ (10 times at $10^{19}$), cutting $\beta_\gamma$ by the same factor. Doping the emitter harder soon stops helping, which led to polysilicon emitters and, in the end, heterojunction emitters (lesson 28).

## Modes

| $V_{BE}$ | $V_{BC}$ | Mode |
|---|---|---|
| forward | reverse | forward active: amplifier |
| forward | forward | saturation: closed switch, base full of charge |
| reverse | reverse | cutoff: open switch |
| reverse | forward | reverse active: poor gain |
:::

::: example
## An npn transistor has emitter area $10^{-5}$ cm², $N_B = 10^{17}$ cm⁻³, $W_B$ = 0.2 µm, $N_E = 10^{19}$ cm⁻³ and $W_E$ = 0.3 µm, with $\tau_n$ = 1 µs in the base. Find $I_S$, $I_C$ at 0.7 V, and β.

::: solution
1. **Diffusion in the base.** In the base $\mu_n$ = 801 cm²/(V·s), so $D_n$ = 20.7 cm²/s and $L_n$ = 45.5 µm.
2. **Saturation current.**
   $$\begin{aligned} I_S &= \frac{qAD_nn_i^2}{N_BW_B} \\ &= \frac{1.602 \times 10^{-19} \times 10^{-5}}{10^{17} \times 2 \times 10^{-5}} \\ &\quad \times 10^{20} \times 20.7 \\ &= 1.66 \times 10^{-15}\ \text{A} \end{aligned}$$
3. **Collector current at 0.7 V.**
   $$\begin{aligned} I_C &= I_Se^{0.7/0.02585} \\ &= 0.96\ \text{mA} \end{aligned}$$
4. **Diffusion in the emitter.**
   $$\begin{aligned} D_p &= 0.02585 \times 68.8 \\ &= 1.78\ \text{cm}^2/\text{s} \end{aligned}$$
5. **Emitter injection limit.** Before band-gap narrowing,
   $$\begin{aligned} \beta_\gamma &= \frac{D_nN_EW_E}{D_pN_BW_B} \\ &= 1750 \end{aligned}$$
6. **Band-gap narrowing.** The 60 meV narrowing divides it by
   $$e^{0.0605/0.02585} = 10.4$$
   giving 168.
7. **Base transport limit.**
   $$\begin{aligned} \beta_T &= \frac{2 \times 45.5^2}{0.2^2} \\ &\approx 100\,000 \end{aligned}$$
   so β = 168.

**Answer:** $I_S$ = 1.66 × 10⁻¹⁵ A, $I_C$ = 0.96 mA at 0.7 V, and β = 168, set by emitter injection.
:::
:::

::: example
## A base is doped $2 \times 10^{17}$ cm⁻³ for its first 0.1 µm and $5 \times 10^{16}$ for the next 0.1 µm. What uniform base gives the same $I_S$?

::: solution
1. **Gummel number.** $I_S$ depends on the Gummel number:
   $$\begin{aligned} G &= 2 \times 10^{17} \times 10^{-5} \\ &\quad + 5 \times 10^{16} \times 10^{-5} \\ &= 2.5 \times 10^{12}\ \text{cm}^{-2} \end{aligned}$$
2. **Equivalent uniform base.** A uniform 0.2 µm base doped $1.25 \times 10^{17}$ has the same number and, taking $D_n$ as equal, the same $I_S$.
3. **What the graded base adds.** The graded base has an advantage the uniform one doesn't: its doping falls toward the collector, so a built-in field (lesson 2) speeds the electrons across.

**Answer:** a uniform 0.2 µm base doped $1.25 \times 10^{17}$ cm⁻³.
:::
:::

::: example
## The npn transistor's base ($N_B = 10^{17}$ cm⁻³, $W_B$ = 0.2 µm, $\tau_n$ = 1 µs) loses how much current to base recombination?

::: solution
1. **Mobility.**
   $$\begin{aligned} \mu_n &= 92 + \frac{1268}{1 + (10^{17}/1.3 \times 10^{17})^{0.91}} \\ &= 801\ \text{cm}^2/(\text{V·s}) \end{aligned}$$
2. **Diffusion length.** $D_n = 20.7$ cm²/s, so
   $$\begin{aligned} L_n &= \sqrt{20.7 \times 10^{-6}}\ \text{cm} \\ &= 45.5\ \mu\text{m} \end{aligned}$$
3. **Transport factor.**
   $$\begin{aligned} \alpha_T &= 1 - \frac{W_B^2}{2L_n^2} \\ &= 1 - 9.7 \times 10^{-6} \end{aligned}$$
   so recombination alone would allow β of about 100,000.
4. **Where β really comes from.** Real transistors' β comes from emitter injection efficiency instead.

**Answer:** base recombination takes only a fraction $9.7 \times 10^{-6}$ of the current, enough by itself to allow β of about 100,000.
:::
:::

::: check
given: N = 1e16 | 1e17 | 1e18; V = 0.6 | 0.7
answer: 1e20/N*exp(V/0.02585)
unit: cm^-3
tolerance: 2%

## An npn base is doped {N} cm⁻³. What's the electron density at its emitter edge with $V_{BE}$ = {V} V?

::: right
Right. $\frac{n_i^2}{N_B}e^{qV_{BE}/kT}$ = {answer} cm⁻³.
:::

::: misses
- [1e20/N] Forward bias multiplies the equilibrium density by $e^{qV_{BE}/kT}$.
- [any] Not yet. Use the law of the junction.
:::
:::

::: check
given: A = 1e-6 | 1e-5; G = 1e12 | 5e12; D = 15 | 25
answer: 1.602e-19*A*1e20*D/G
unit: A
tolerance: 1%

## A transistor has emitter area {A} cm², base Gummel number {G} cm⁻² and $D_n$ = {D} cm²/s. What's its $I_S$?

::: right
Right. $I_S = \frac{qAD_nn_i^2}{G_B}$ = {answer} A.
:::

::: misses
- [1.602e-19*A*1e10*D/G] Use $n_i^2$.
- [any] Not yet. $N_BW_B$ is the Gummel number.
:::
:::

::: check
given: B = 1e17 | 3e17; E = 1e19 | 1e20; W = 0.1 | 0.3
answer: 1/(1 + 2*B*W/(20*E*0.2))
tolerance: 0.1%

## An emitter ($N_E$ = {E}, $W_E$ = 0.2 µm, $D_p$ = 2 cm²/s) injects into a base ($N_B$ = {B}, $W_B$ = {W} µm, $D_n$ = 20 cm²/s). What's the emitter injection efficiency, ignoring band-gap narrowing?

::: right
Right. $\gamma = \frac{1}{1 + \frac{D_pN_BW_B}{D_nN_EW_E}}$ = {answer}.
:::

::: misses
- [any] Not yet. Compare the hole and electron diffusion currents.
:::
:::

::: check
given: W = 0.5 | 2 | 5; L = 10 | 30
answer: 2*L^2/W^2
tolerance: 1%

## A base {W} µm wide has electron diffusion length {L} µm. What β would base recombination alone allow?

::: right
Right. $\beta_T = \frac{2L_n^2}{W_B^2}$ = {answer}.
:::

::: misses
- [L^2/W^2] The average electron spends half the base width's diffusion time: $2L^2/W^2$.
- [any] Not yet. Compare the base charge's recombination with the collector current.
:::
:::

::: check
given: a = 0.9 | 0.95 | 0.98
answer: a/(1 - a)
tolerance: 1%

## A transistor has α = {a}. What's its β?

::: right
Right. $\beta = \frac{\alpha}{1 - \alpha}$ = {answer}.
:::

::: misses
- [1/(1 - a)] That's β + 1.
- [any] Not yet. $I_C = \alpha I_E$, $I_B = I_E - I_C$.
:::
:::

::: check
given: g = 150 | 400 | 1000; t = 2000 | 20000
answer: 1/(1/g + 1/t)
tolerance: 1%

## A transistor's emitter would allow β = {g} and its base transport β = {t}. What's its β?

::: right
Right. $\frac{1}{\beta} = \frac{1}{\beta_\gamma} + \frac{1}{\beta_T}$ gives {answer}.
:::

::: misses
- [any] Not yet. Base currents from the two losses add.
:::
:::

::: check
given: E = 30 | 60 | 90
answer: exp(E/25.85)
tolerance: 1%

## Heavy doping narrows an emitter's gap by {E} meV. By what factor does that cut its injection-limited β?

::: right
Right. $n_i^2$ grows as $e^{\Delta E_g/kT}$, a factor of {answer}.
:::

::: misses
- [exp(E/(2*25.85))] $n_i^2$ carries the whole gap: no factor of 2.
- [any] Not yet. $n_i^2 \propto e^{-E_g/kT}$.
:::
:::

::: check
given: N = 2e17 | 5e17; W = 0.05 | 0.15; M = 3e16 | 8e16; U = 0.1 | 0.2
answer: N*W*1e-4 + M*U*1e-4
unit: cm^-2
tolerance: 1%

## A base is doped {N} cm⁻³ for {W} µm, then {M} cm⁻³ for {U} µm. What's its Gummel number?

::: right
Right. $\int N_B\,dx$ = {answer} cm⁻².
:::

::: misses
- [N*W + M*U] Convert µm to cm.
- [any] Not yet. Add doping × thickness for each part.
:::
:::

::: check
kind: parts
given: N = 1e16 | 1e17 | 5e17; W = 0.1 | 0.2 | 0.5; t = 0.1 | 1

## A base doped {N} cm⁻³ is {W} µm wide, with $\tau_n$ = {t} µs; $\mu_n = 92 + 1268/(1 + (N/1.3 \times 10^{17})^{0.91})$.

::: part
answer: sqrt(0.02585*(92 + 1268/(1 + (N/1.3e17)^0.91))*t*1e-6)*1e4
unit: µm
tolerance: 0.5%

### What is the electron diffusion length?

::: misses
- [any] $\sqrt{D_n\tau_n}$.
:::
:::

::: part
answer: 2*(sqrt(0.02585*(92 + 1268/(1 + (N/1.3e17)^0.91))*t*1e-6)*1e4)^2/W^2
tolerance: 0.5%

### What β would base recombination alone allow, $2L_n^2/W_B^2$?

::: misses
- [any] $2L_n^2/W_B^2$.
:::
:::
:::

::: check
kind: derivation
vars: A = 1e-6..1e-3, D = 2..30, W = 1e-6..1e-4, N = 1e16..1e18, V = 0.5..0.85

## An npn transistor's emitter area is A; its base has electron diffusivity D, width W and doping N.

::: step
answer: A*1.602e-19*D*1e20/(N*W)

### What is $I_S$ ($n_i^2 = 10^{20}$)?
:::

::: step
answer: A*1.602e-19*D*1e20/(N*W)*exp(V/0.02585)

### What collector current flows at $V_{BE}$ = V?
:::

::: right
Right. The base's charge, NW, sets the saturation current: the Gummel number.
:::
:::

::: explain
## Why does the collector current of a bipolar transistor hardly depend on the collector voltage?

::: model
The collector current is the diffusion of electrons across the base, and diffusion depends only on the gradient of the electron density there. One end of that gradient is fixed by the emitter-base voltage, through the law of the junction. The other end, at the collector edge of the base, is held at nearly zero by the reverse-biased collector junction, which sweeps away every electron arriving there. Making the collector voltage more reverse doesn't lower that zero any further, so the gradient and the current stay the same. The collector just collects. (The small dependence that remains, the Early effect, comes from the base getting slightly thinner as the collector depletion region widens: lesson 27.)
:::
:::

::: practice

::: check
given: A = 4e-6 | 2e-5; G = 2e12 | 8e12; D = 18 | 22
answer: 1.602e-19*A*1e20*D/G
unit: A
tolerance: 1%

## $I_S$: area {A} cm², Gummel number {G} cm⁻², $D_n$ = {D}?

::: misses
- [any] $qAD_nn_i^2/G_B$.
:::
:::

::: check
given: a = 0.98 | 0.985 | 0.99 | 0.995 | 0.997 | 0.998
answer: a/(1 - a)
tolerance: 1%

## β for α = {a}?

::: misses
- [any] $\alpha/(1 - \alpha)$.
:::
:::

::: check
given: g = 250 | 600; t = 5000 | 50000
answer: 1/(1/g + 1/t)
tolerance: 1%

## β from $\beta_\gamma$ = {g} and $\beta_T$ = {t}?

::: misses
- [any] Add reciprocals.
:::
:::
:::
