---
title: Tunneling, and how flash memory uses it
heading: Passing through a wall you can't climb over
eyebrow: B9 · Lesson 7 · Tunneling
xp: 40
---

::: hook
A ball rolling at a hill too high for it always rolls back. An electron meeting an energy barrier too high for it usually bounces back too, but not always. Its wave leaks into the barrier, fading fast, and if the barrier is thin enough a little of the wave comes out the other side: the electron sometimes appears beyond a wall it could never climb. Every flash memory chip stores its bits by pushing electrons through a thin insulator this way, and the same effect sets a hard limit on how thin a transistor's gate insulator can be.

::: play
- An electron meets an insulating barrier of height $V$ above its energy and width $d$. The curve shows the chance it tunnels through, on a log scale, against the width.
- How much does the chance drop for each extra nanometer?
- Raise the barrier height. How does that change the slope?
:::
:::

```sim plot
view: graph
x: d = 0.5..10 nm
y: T = 1e-40..1 log
slider: V = 0.5..4 step 0.1 = 3.2 eV
slider: w = 0.5..10 step 0.1 = 2 nm
plot: exp(-2*sqrt(2*9.109e-31*V*1.602e-19)/1.0546e-34*d*1e-9) | label: chance of tunneling
point: w, exp(-2*sqrt(2*9.109e-31*V*1.602e-19)/1.0546e-34*w*1e-9)
readout: at your width = exp(-2*sqrt(2*9.109e-31*V*1.602e-19)/1.0546e-34*w*1e-9) | format: sci
readout: decay length 1/2κ in nm = 1.0546e-34/(2*sqrt(2*9.109e-31*V*1.602e-19))*1e9
```

::: predict
## A barrier 3 eV high and 1 nm thick lets through about 1 electron in 10⁸. Roughly how many get through a 2 nm barrier?

- [ ] 1 in 2 × 10⁸
- [ ] 1 in 4 × 10⁸
- [x] About 1 in 10¹⁶
- [ ] None at all

::: reveal
About 1 in $10^{16}$. Tunneling falls off *exponentially* with width: each extra nanometer multiplies the chance by the same small factor, here $10^{-8}$. That steepness is what makes flash memory work. A thin oxide under a strong field lets electrons through in microseconds to write a bit; the same oxide with no field holds them for years.
:::
:::

::: nameit
## Quantum tunneling

**The wave leaks.** Where a particle's energy $E$ is below a barrier's height $V$, its wave can't oscillate; instead it decays exponentially into the barrier:

$$\psi \propto e^{-\kappa x} \qquad \kappa = \frac{\sqrt{2m(V - E)}}{\hbar}$$

with $\hbar = h/2\pi = 1.055 \times 10^{-34}$ J·s. If the barrier ends before the wave has faded to nothing, the wave continues on the far side.

**The chance of getting through.** For a barrier of width $d$, roughly

$$T \approx e^{-2\kappa d}$$

For an electron and a 3 eV barrier, $\kappa \approx 8.9$ nm⁻¹, so each nanometer of width cuts $T$ by about $e^{-17.7} \approx 2 \times 10^{-8}$. Classical physics says no electron ever gets through. Quantum mechanics gives a small chance.

**Flash memory.** Each cell is a transistor with an extra, electrically isolated **floating gate** buried in insulating oxide. To write, a high voltage makes the oxide's barrier thin and triangular, and electrons tunnel through onto the floating gate (Fowler–Nordheim tunneling). Their charge shifts the transistor's threshold voltage, which is read as a 0 or 1. With the voltage removed, the barrier is full width and the electrons stay put for ten years or more. Each write slightly damages the oxide, which is why flash wears out after thousands to hundreds of thousands of cycles.

**Unwanted tunneling.** As transistors shrank, their gate oxide thinned to about 1.2 nm, a few atoms, and electrons began tunneling through it as **leakage current**, wasting power. The industry switched to **high-κ** dielectrics, which can be physically thicker for the same capacitance.

**Other uses.** Tunnel diodes, the scanning tunneling microscope (which images individual atoms by the tunneling current to a sharp tip), and the radioactive decay of nuclei all rest on the same effect.
:::

::: example
## An electron is 1 eV below the top of a barrier 1 nm thick. Roughly what fraction tunnels through?

::: solution
1. **Decay constant.**
   $$\begin{aligned} \kappa &= \frac{\sqrt{2m \times 1\text{ eV}}}{\hbar} \\ &= 5.12\ \text{nm}^{-1} \end{aligned}$$
2. **Fraction through.**
   $$\begin{aligned} T &\approx e^{-2 \times 5.12 \times 1} \\ &= e^{-10.2} \\ &= 3.6 \times 10^{-5} \end{aligned}$$
   about one in 28,000.

**Answer:** about $3.6 \times 10^{-5}$, or one electron in 28,000.
:::
:::

::: example
## A flash cell's charge sits behind an 8 nm oxide, a 3.2 eV barrier for electrons. Roughly what is the chance of tunneling per attempt?

::: solution
1. **Decay constant.**
   $$\begin{aligned} \kappa &= 5.12\sqrt{3.2} \\ &= 9.16\ \text{nm}^{-1} \end{aligned}$$
2. **Chance per attempt.**
   $$\begin{aligned} T &\approx e^{-2 \times 9.16 \times 8} \\ &= e^{-147} \\ &\approx 10^{-64} \end{aligned}$$
3. **Over the years.** Even with an electron striking the oxide some $10^{14}$ times a second, the charge stays put for many years.

**Answer:** about $10^{-64}$ per attempt, so the charge stays put for many years.
:::
:::

::: example
## A scanning tunneling microscope's tip sits a few tenths of a nanometer from a metal with a 4.5 eV work function. By how much does the tunneling current change when the gap grows by 0.1 nm?

::: solution
1. **Decay constant.**
   $$\begin{aligned} \kappa &= \frac{\sqrt{2m \times 4.5\text{ eV}}}{\hbar} \\ &= 1.09 \times 10^{10}\ \text{m}^{-1} \end{aligned}$$
2. **Effect of 0.1 nm more.** The current goes as $e^{-2\kappa d}$, so 0.1 nm more cuts it by
   $$e^{-2.17} = 0.114$$
   a factor of 8.8.
3. **Seeing atoms.** That steepness is what lets the microscope see single atoms: a bump a hundredth of a nanometer high changes the current by about 24%, easily measured.
4. **Tracing the surface.** The feedback loop keeping the current constant traces the surface.

**Answer:** the current falls to 0.114 of its value, a factor of 8.8.
:::
:::

::: check
given: V = 1 | 2 | 3 | 4
answer: sqrt(2*9.109e-31*V*1.602e-19)/1.0546e-34/1e9
unit: nm^-1
tolerance: 1%

## An electron meets a barrier {V} eV above its energy. What is κ, the rate its wave decays inside, in nm⁻¹?

::: right
Right. $\kappa = \sqrt{2m(V - E)}/\hbar$ = {answer}.
:::

::: misses
- [2*9.109e-31*V*1.602e-19/1.0546e-34/1e9] Take the square root of $2m(V - E)$.
- [sqrt(2*9.109e-31*V*1.602e-19)/6.626e-34/1e9] Use $\hbar = h/2\pi$.
- [any] Not yet. $\kappa = \sqrt{2m(V - E)}/\hbar$.
:::
:::

::: check
given: k = 5 | 7 | 9; d = 1 | 1.5 | 2
answer: exp(-2*k*d)
tolerance: 1%

## A barrier has κ = {k} nm⁻¹ and width {d} nm. Roughly what fraction of electrons tunnel through?

::: right
Right. $e^{-2\kappa d}$ = {answer}.
:::

::: misses
- [exp(-k*d)] The probability goes as the wave squared: $e^{-2\kappa d}$.
- [any] Not yet. $T \approx e^{-2\kappa d}$.
:::
:::

::: check
given: k = 5 | 7 | 9; dd = 0.5 | 1
answer: exp(-2*k*dd)
tolerance: 1%

## For a barrier with κ = {k} nm⁻¹, adding {dd} nm of width multiplies the tunneling probability by what factor?

::: right
Right. $e^{-2\kappa\,\Delta d}$ = {answer}, the same factor whatever the starting width.
:::

::: misses
- [exp(-k*dd)] Include the 2.
- [any] Not yet. Exponential: $e^{-2\kappa\Delta d}$.
:::
:::

::: check
given: V1 = 1 | 2; V2 = 4 | 8
answer: sqrt(V2/V1)
tolerance: 0.5%

## A barrier's height (above the electron's energy) rises from {V1} eV to {V2} eV. By what factor does κ grow?

::: right
Right. $\kappa \propto \sqrt{V - E}$: {answer}.
:::

::: misses
- [V2/V1] κ goes as the square root of the barrier height.
- [any] Not yet. $\kappa \propto \sqrt{V - E}$.
:::
:::

::: check
kind: choice

## How does a flash memory cell keep its stored charge for years without power?

- [ ] A battery in each cell
- [x] The electrons sit on a floating gate surrounded by oxide too thick to tunnel through without a high voltage
- [ ] The charge is refreshed constantly
- [ ] Magnetism holds it

::: right
Right. Writing uses a strong field to thin the barrier; without it the barrier is too thick to cross in any reasonable time.
:::

::: misses
- [1] There's no battery; it's non-volatile.
- [3] That's DRAM, which does need refreshing.
- [4] Flash is purely electrical.
:::
:::

::: check
kind: parts
given: W = 4 | 5; d = 50 | 100

## An STM tip faces a metal with a {W} eV work function.

::: part
answer: sqrt(2*9.109e-31*W*1.602e-19)/1.0546e-34
unit: /m
tolerance: 0.5%

### What is the decay constant κ?

::: misses
- [any] $\kappa = \frac{\sqrt{2m\phi}}{\hbar}$.
:::
:::

::: part
answer: exp(2*sqrt(2*9.109e-31*W*1.602e-19)/1.0546e-34*d*1e-12)
tolerance: 0.5%

### By what factor does the current fall when the gap widens by {d} pm?

::: misses
- [exp(sqrt(2*9.109e-31*W*1.602e-19)/1.0546e-34*d*1e-12)] The current goes as $e^{-2\kappa d}$, not $e^{-\kappa d}$.
- [any] $e^{2\kappa\Delta d}$.
:::
:::
:::

::: check
kind: derivation
vars: U = 0.0000000000000000001..0.000000000000000001, d = 0.0000000001..0.000000003

## An electron meets a barrier of height U above its energy and thickness d.

::: step
answer: exp(-2*sqrt(2*9.109e-31*U)/1.0546e-34*d)

### Roughly what fraction tunnels through?
:::

::: step
answer: exp(-4*sqrt(2*9.109e-31*U)/1.0546e-34*d)

### And through a barrier twice as thick?
:::

::: right
Right. Doubling the thickness squares the (small) transmission: one in a thousand becomes one in a million.
:::
:::

::: explain
## Why does tunneling depend so sensitively on a barrier's thickness?

::: model
Inside a barrier the electron's wave doesn't oscillate; it decays exponentially, shrinking by the same factor for every bit of distance it penetrates. The chance of getting through is the square of what's left of the wave at the far side, so it falls exponentially with the barrier's width. Each extra nanometer multiplies the probability by the same small factor, often millions of times smaller, so tiny changes in thickness make enormous changes in tunneling.
:::
:::

::: practice

::: check
given: k = 8 | 9; d = 1 | 2
answer: 2*k*d
tolerance: 0.5%

## For κ = {k} nm⁻¹ and d = {d} nm, what is the exponent 2κd?

::: misses
- [k*d] Include the 2.
- [any] Multiply.
:::
:::

::: check
given: d = 1 | 2 | 3
answer: exp(-2*8.9*d)
tolerance: 2%

## For a 3 eV barrier (κ ≈ 8.9 nm⁻¹), roughly what fraction tunnels through {d} nm?

::: misses
- [any] $e^{-2\kappa d}$.
:::
:::

::: check
kind: choice

## Why did chipmakers move from silicon dioxide to high-κ gate dielectrics?

- [ ] To make transistors faster to switch on
- [x] Oxide thin enough for the needed capacitance leaked too much by tunneling; a high-κ material gives the same capacitance while being physically thicker
- [ ] To reduce the chip's cost
- [ ] Silicon dioxide stopped insulating at high temperature

::: right
Right. Thicker means exponentially less tunneling, and high κ keeps the capacitance.
:::

::: misses
- [1] Speed wasn't the issue; leakage was.
- [3] High-κ materials are harder to make, not cheaper.
- [4] The problem was tunneling through ultra-thin oxide.
:::
:::
:::
