---
title: "Real diodes: temperature, capacitance and diode types"
heading: What the simple models leave out, and the diodes built to use it
eyebrow: C5 · Lesson 4 · Real diodes
xp: 40
---

::: hook
A diode's forward voltage falls by about 2 mV for every degree it warms, which is a nuisance in a bias circuit and the whole basis of a cheap thermometer. A reverse-biased junction is a capacitor whose value you can tune with voltage. Shine light on one and it becomes a current source; make it from a metal and a semiconductor and it switches off almost instantly. This lesson collects the behavior that the models of lesson 3 leave out, and the special diodes that put it to work.
:::

::: play
- A silicon diode's forward voltage against temperature, at a fixed current. The line falls as the junction warms.
- Change the current: the whole line shifts by about 60 mV per decade (lesson 2), and its slope changes a little.
- The readout gives the slope at room temperature from the formula below.
:::
:::

```sim plot
view: graph
x: T = 233..400 K
y: V = 0.3..0.9 V
slider: I = 0.01..100 = 1 mA log
slider: IS = 1e-16..1e-12 = 1e-14 A log
plot: 8.617e-5*T*ln(I*1e-3/(IS*(T/300)^3*exp(1.12/8.617e-5*(1/300 - 1/T)))) | label: forward voltage at I
marker: x = 298 | label: 25 °C
readout: slope at 300 K, mV/K = (0.025852*ln(I*1e-3/IS) - 1.12 - 3*0.025852)/300*1000 | digits: 3
readout: voltage at 300 K, V = 0.025852*ln(I*1e-3/IS) | digits: 4
```

::: predict
## A diode run at a constant 1 mA reads 0.655 V at 27 °C. What does it read at 77 °C?

- [ ] About 0.755 V
- [ ] Still 0.655 V: the current is fixed
- [x] About 0.56 V
- [ ] About 0.36 V

::: reveal
About 0.56 V. At constant current the forward voltage falls about 1.8 mV per degree for this diode, so 50 degrees takes off about 90 mV. A higher temperature gives carriers more thermal energy, so less voltage is needed to push the same current over the barrier.
:::
:::

::: nameit
## Temperature

$I_S$ grows steeply with temperature, as $T^3e^{-E_g/kT}$ (B9): about 15% per degree, doubling every 5 °C or so. At a fixed current, $V = V_T\ln(I/I_S)$ therefore falls. Differentiating,

$$\frac{dV}{dT} = \frac{V - E_g/q - 3V_T}{T}$$

which is about −1.8 mV/K for a silicon diode near 0.65 V. The rule of thumb is **−2 mV/°C**. In reverse, a real diode leaks far more than $I_S$, from carriers generated in the depletion region, and that leakage roughly doubles every 10 °C.

## Capacitance

**Junction (depletion) capacitance.** The depletion region is a capacitor whose width grows with reverse voltage (lesson 1), so

$$C_j = \frac{C_{j0}}{(1 + V_R/V_0)^m}$$

with $V_0$ the built-in voltage and $m = \frac12$ for an abrupt junction ($\frac13$ for a graded one). A **varactor** is a diode built to be used this way, tuning oscillators and filters by voltage.

**Diffusion capacitance.** A forward-biased diode stores minority charge $Q = \tau_TI$, with $\tau_T$ the transit time, so it has a capacitance $C_d = \tau_TI/V_T$. That stored charge must be pulled out before the diode can block, so a silicon diode carries a brief reverse current when switched off: its **reverse recovery**.

## Diode types

- **Schottky:** a metal-semiconductor junction. It conducts with majority carriers, so it stores almost no charge and switches off almost instantly, and drops only 0.2 to 0.4 V; it leaks more in reverse. Used in power supplies and fast clamps.
- **Photodiode:** reverse biased, it carries a current proportional to the light absorbed. Its **responsivity** is $\mathcal R = \frac{\eta q\lambda}{hc} = \eta\frac{\lambda}{1240\text{ nm}}$ A/W, with η the quantum efficiency.
- **Solar cell:** a large photodiode used forward, $I = I_{ph} - I_S(e^{V/V_T} - 1)$. With no load it rests at the open-circuit voltage $V_{oc} = V_T\ln(I_{ph}/I_S + 1)$; maximum power is at the knee of the curve.
- **LEDs** and **Zeners**: lessons 7 and 11.
:::

```sim plot
view: graph
x: V = 0..0.7 V
y: I = 0..40 mA
slider: Iph = 0..35 step 1 = 30 mA
plot: Iph - 1e-12*(exp(V/0.025852) - 1)*1000 | label: cell current, mA
plot: V*(Iph - 1e-12*(exp(V/0.025852) - 1)*1000) | label: power, mW | dashed | color: ch2
readout: open-circuit voltage, V = 0.025852*ln(Iph*1e-3/1e-12 + 1) | digits: 4
```

::: example
## A thermometer runs a diode at 1 mA; it reads 0.655 V at 300 K. What is its slope, and what does it read at 350 K?

::: solution
1. **Slope.**
   $$\begin{aligned} \frac{dV}{dT} &= \frac{0.655 - 1.12 - 3 \times 0.02585}{300} \\ &= -1.81\ \text{mV/K} \end{aligned}$$
2. **Reading at 350 K.** Over 50 K that's −90 mV, so
   $$0.655 - 0.090 = 0.565\ \text{V}$$
3. **Check with the full model.** It gives 0.564 V.

**Answer:** the slope is −1.81 mV/K, and the thermometer reads about 0.565 V at 350 K (0.564 V by the full model).
:::
:::

::: example
## A varactor has $C_{j0}$ = 10 pF and $V_0$ = 0.7 V (abrupt). It tunes a 1 µH inductor. What range does 1 V to 10 V of reverse bias cover?

::: solution
1. **Capacitance at 1 V.**
   $$\begin{aligned} C_j &= \frac{10\ \text{pF}}{\sqrt{1 + 1/0.7}} \\ &= 6.42\ \text{pF} \end{aligned}$$
2. **Capacitance at 10 V.**
   $$\begin{aligned} C_j &= \frac{10\ \text{pF}}{\sqrt{1 + 10/0.7}} \\ &= 2.56\ \text{pF} \end{aligned}$$
3. **Tuning range.** The resonant frequency is $f = \frac{1}{2\pi\sqrt{LC_j}}$, so
   $$\begin{aligned} f_\text{low} &= 62.8\ \text{MHz} \\ f_\text{high} &= 99.5\ \text{MHz} \end{aligned}$$

**Answer:** it covers 62.8 MHz to 99.5 MHz, most of the FM band.
:::
:::

::: example
## A small solar cell makes $I_{ph}$ = 30 mA in sunlight and has $I_S = 10^{-10}$ A. Find its open-circuit voltage and its maximum power.

::: solution
1. **Open-circuit voltage.**
   $$\begin{aligned} V_{oc} &= 0.02585\ln(3 \times 10^8 + 1) \\ &= 0.505\ \text{V} \end{aligned}$$
2. **Power delivered.** It is zero at both ends of the curve:
   $$P = V\left(I_{ph} - I_S(e^{V/V_T} - 1)\right)$$
3. **Find the peak.** Stepping V finds it at 0.430 V, where the cell gives 28.3 mA:
   $$\begin{aligned} P_\text{max} &= 0.430 \times 28.3\ \text{mW} \\ &= 12.2\ \text{mW} \end{aligned}$$
4. **Fill factor.** It says how square the curve's knee is:
   $$\frac{P_\text{max}}{V_{oc}I_{ph}} = 0.80$$
5. **In practice.** The knee moves as the light changes, which is why solar chargers track the maximum power point continuously.

**Answer:** the open-circuit voltage is 0.505 V, and the maximum power is 12.2 mW, at 0.430 V and 28.3 mA.
:::
:::

::: check
given: V = 0.55 | 0.65 | 0.75; T = 250 | 300 | 350
answer: (V - 1.12 - 3*8.617e-5*T)/T*1000
unit: mV/K
tolerance: 0.5%

## A silicon diode at fixed current drops {V} V at {T} K. What is $dV/dT$?

::: right
Right. $\frac{V - E_g/q - 3V_T}{T}$ = {answer}.
:::

::: misses
- [(V - 1.12)/T*1000] Include the $3V_T$ from the $T^3$ in $I_S$.
- [any] Not yet. $\frac{V - E_g/q - 3V_T}{T}$ with $E_g$ = 1.12 eV.
:::
:::

::: check
given: V0 = 0.6 | 0.7; dT = 20 | 35 | 60
answer: V0 - 0.002*dT
unit: V
tolerance: 0.2%

## Using −2 mV/°C, what does a diode that drops {V0} V at room temperature drop when it's {dT} °C warmer?

::: right
Right. {answer}.
:::

::: misses
- [V0 + 0.002*dT] The voltage falls as the diode warms.
- [any] Not yet. Subtract 2 mV per degree.
:::
:::

::: check
given: Cj0 = 5 | 20; VR = 2 | 9
answer: Cj0/sqrt(1 + VR/0.7)
unit: pF
tolerance: 0.5%

## An abrupt junction has $C_{j0}$ = {Cj0} pF and $V_0$ = 0.7 V. What is its capacitance at {VR} V of reverse bias?

::: right
Right. $C_{j0}/\sqrt{1 + V_R/V_0}$ = {answer}.
:::

::: misses
- [Cj0] Reverse bias widens the depletion region and lowers the capacitance.
- [any] Not yet. $C_j = C_{j0}/(1 + V_R/V_0)^{1/2}$.
:::
:::

::: check
given: L = 0.47 | 1; Cj0 = 10 | 30; VR = 1 | 8
answer: 1/(2*pi*sqrt(L*1e-6*Cj0*1e-12/sqrt(1 + VR/0.7)))/1e6
unit: MHz
tolerance: 0.5%

## A varactor ($C_{j0}$ = {Cj0} pF, $V_0$ = 0.7 V, abrupt) tunes a {L} µH inductor. At what frequency does it resonate with {VR} V of reverse bias?

::: right
Right. {answer}.
:::

::: misses
- [1/(2*pi*sqrt(L*1e-6*Cj0*1e-12))/1e6] That's at zero bias; find $C_j$ at {VR} V first.
- [any] Not yet. Find $C_j$, then $f = 1/(2\pi\sqrt{LC_j})$.
:::
:::

::: check
given: eta = 0.6 | 0.9; lam = 650 | 850 | 1300; P = 10 | 200
answer: eta*lam/1239.84*P
unit: µA
tolerance: 0.5%

## A photodiode with quantum efficiency {eta} receives {P} µW at {lam} nm. What photocurrent flows?

::: right
Right. $\mathcal R = \eta\lambda/1240$ A/W, times the power: {answer}.
:::

::: misses
- [eta*P] Responsivity depends on wavelength: each photon carries energy $hc/\lambda$.
- [any] Not yet. Responsivity in A/W times the power.
:::
:::

::: check
given: Iph = 10 | 35; IS = 1 | 100
answer: 0.025852*ln(Iph*1e-3/(IS*1e-12) + 1)
unit: V
tolerance: 0.2%

## A solar cell has $I_{ph}$ = {Iph} mA and $I_S$ = {IS} pA at 300 K. What is its open-circuit voltage?

::: right
Right. $V_T\ln(I_{ph}/I_S + 1)$ = {answer}.
:::

::: misses
- [any] Not yet. With no load, the photocurrent all flows back through the junction.
:::
:::

::: check
given: I = 1 | 3; VS = 0.35 | 0.45; VSi = 0.8 | 0.9
answer: I*(VSi - VS)
unit: W
tolerance: 0.5%

## A rectifier diode carries {I} A. How much less power does a Schottky dropping {VS} V waste than a silicon diode dropping {VSi} V?

::: right
Right. $I(V_\text{Si} - V_\text{S})$ = {answer}.
:::

::: misses
- [any] Not yet. Power is current times drop.
:::
:::

::: check
given: tau = 0.01 | 1; I = 1 | 10
answer: tau*1e-6*I*1e-3/0.025852*1e9
unit: nF
tolerance: 0.5%

## A diode with transit time {tau} µs carries {I} mA at 300 K. What is its diffusion capacitance?

::: right
Right. $\tau_TI/V_T$ = {answer}.
:::

::: misses
- [any] Not yet. $C_d = \tau_TI/V_T$.
:::
:::

::: check
kind: parts
given: Iph = 20 | 40; IS = 0.5 | 1; V = 0.4 | 0.42

## A solar cell makes {Iph} mA of photocurrent and has $I_S$ = {IS} nA.

::: part
answer: 0.02585*ln(Iph*1e-3/(IS*1e-9) + 1)
unit: V
tolerance: 0.5%

### What's its open-circuit voltage?

::: misses
- [any] $V_T\ln\left(\frac{I_{ph}}{I_S} + 1\right)$.
:::
:::

::: part
answer: V*(Iph*1e-3 - IS*1e-9*(exp(V/0.02585) - 1))*1000
unit: mW
tolerance: 0.5%

### What power does it deliver at {V} V?

::: misses
- [V*Iph] The diode takes part of the photocurrent.
- [any] $V\left(I_{ph} - I_S(e^{V/V_T} - 1)\right)$.
:::
:::
:::

::: check
kind: derivation
vars: C = 1..100, V = 0.3..1.5, R = 0.5..20, L = 0.1..10

## A varactor with zero-bias capacitance C and built-in potential V (abrupt, m = ½) is reverse biased by R and tunes an inductor L.

::: step
answer: C/sqrt(1 + R/V)

### What's its capacitance?
:::

::: step
answer: 1/(2*pi*sqrt(L*C/sqrt(1 + R/V)))

### What's the resonant frequency?
:::

::: step
answer: 3*V

### What reverse bias halves the capacitance?
:::

::: right
Right. Capacitance falls only as the square root of the bias, so a wide tuning range needs a wide range of voltage.
:::
:::

::: explain
## Why does a Schottky diode switch off faster than a silicon pn diode?

::: model
A forward-biased pn diode conducts by injecting minority carriers across the junction, and while it conducts those carriers are stored in the regions on either side. To switch off, the diode has to get rid of that stored charge, either by recombination or by a brief reverse current that sweeps it out, and until then it keeps conducting. A Schottky diode conducts with majority carriers flowing from the semiconductor into the metal, so it stores almost no minority charge and has nothing to clear: it stops conducting as soon as the voltage reverses.
:::
:::

::: practice

::: check
given: k = 2 | 4 | 8
answer: 5*log(k)/log(2)
unit: °C
tolerance: 0.5%

## If $I_S$ doubles every 5 °C, how much warmer does a diode have to get for $I_S$ to grow {k} times?

::: misses
- [any] $5\log_2k$.
:::
:::

::: check
given: lam = 405 | 520 | 650 | 850 | 940 | 1310 | 1550
answer: lam/1239.84
unit: A/W
tolerance: 0.5%

## What is the responsivity of a perfect photodiode (η = 1) at {lam} nm?

::: misses
- [any] $\lambda/1240$ nm in A/W.
:::
:::

::: check
given: C1 = 8 | 20; VR = 3 | 12
answer: C1*sqrt(1 + 1/0.7)/sqrt(1 + VR/0.7)
unit: pF
tolerance: 0.5%

## An abrupt junction ($V_0$ = 0.7 V) has {C1} pF at 1 V reverse bias. What is its capacitance at {VR} V?

::: misses
- [any] $C \propto (1 + V_R/V_0)^{-1/2}$.
:::
:::
:::
