The P-N Diode
Electricity's one-way valve — the transistor's ancestor.
Prerequisites
What you'll learn here
- Explain why a depletion region forms when p-type and n-type semiconductors meet
- Use the concept of built-in potential $V_{bi}$ and give its typical value for Si
- Justify diode behavior and current direction under forward / reverse bias
- Interpret the Shockley diode equation $I = I_s(e^{V/V_T} - 1)$
- Say why the 1S1R OTS selector in SIDRA behaves diode-like
Hook: Why Only One Way?
In 1939 at Bell Labs, Russell Ohl was testing an impure silicon crystal when he noticed something odd: shining light on it produced a voltage in one direction only, not the other. The crystal converted light to electricity one way and blocked the reverse. On closer inspection the two halves of the crystal carried different impurities — one had extra electrons, the other had extra holes. The first p-n diode, discovered by accident.
Today a diode on a chip isn’t just for “turning light into voltage”. It underpins all modern electronics: AC to DC rectification, LEDs, reverse-polarity protection, complex logic. A transistor is essentially a “three-terminal diode”.
Even the SIDRA 1S1R (1-Selector + 1-Resistor) memristor cell has a diode-like part: the OTS selector, a valve that blocks reverse current and suppresses leakage. This chapter shows how a diode works; in Module 5 you’ll see how the selector gets yoked to the memristor.
Intuition: Holes + Electrons Side by Side
From Module 1.2:
- p-type silicon (e.g. Boron-doped) → free holes, positive carriers.
- n-type silicon (e.g. Phosphorus-doped) → free electrons, negative carriers.
Now put the two sides together (not physically glued — two regions of the same crystal). At the boundary:
- Electrons from the n-side see the abundant holes on the p-side. They diffuse across and recombine.
- Holes from the p-side likewise diffuse into the n-side and recombine with electrons.
- Near the junction, no free carriers remain. What’s left are the ionic charges of the dopant atoms themselves: on the p-side, negative ions (B⁻), on the n-side, positive ions (P⁺).
- These fixed ionic charges create an electric field across the junction. The field eventually stops the diffusion — equilibrium.
This thin boundary is the depletion region. Only ionic charge, no free carriers. The potential difference across it is the built-in voltage (): ~0.7 V for silicon, ~0.3 V for germanium.
Apply an external bias:
- Forward bias (+ on P, − on N): the external field weakens the built-in field; depletion narrows. Above the barrier effectively collapses and carriers flood across → current flows.
- Reverse bias (− on P, + on N): external field adds to the built-in field; depletion widens, carriers pull away → current is tiny (leakage only).
That’s why the diode is “one-way”. The p-n junction itself is a valve.
Formalism: The Shockley Diode Equation
The I-V characteristic has three regions:
- (reverse): nearly zero current (tiny leakage , picoampere range)
- (forward but small): still very little current — barrier not yet overcome
- (forward, strong): current rises exponentially — near-wall-like sharp turn-on
“Turn-on voltage” ≈ (Si 0.7 V, Ge 0.3 V, LED typically 2-3 V). No practical current flows below this.
Shockley diode equation:
- : reverse saturation current (~ A for Si — essentially zero)
- V at room temperature — thermal voltage
- : ideality factor (ideal 1, real Si 1.0-1.5, LED ~2)
Two regimes:
- Forward: → — exponential. Every 26 mV increase in multiplies by .
- Reverse: → — constant, tiny.
Depletion width (abridged derivation):
- : silicon permittivity (~ F/cm)
- , : acceptor and donor concentrations
- Forward → (depletion collapses)
- Reverse → grows (until breakdown)
Reverse breakdown: when reverse voltage is large enough (~−5 V to −100 V for Si depending on design), Zener or avalanche mechanisms turn on current abruptly. Zener diodes use this region on purpose for voltage regulation.
From a quantum viewpoint a p-n junction is a potential step. The probability of an electron crossing the barrier follows a Boltzmann distribution, giving a current exponential in . That’s where the Boltzmann factor in the equation comes from.
Small-signal model under forward bias:
So at mA the dynamic resistance is ~26 Ω. At transistor bias, this resistance is the basis of the amplifier gain formula.
p-i-n diode: insert an intrinsic (undoped) layer between P and N. Depletion widens into this layer, capacitance drops, breakdown voltage rises. Useful in RF, fast switching, photodiodes. SIDRA’s 1S1R cell has a similar-shaped structure for a different reason — the OTS selector’s “off” state is amorphous-semiconductor-like, behaving high-resistance at low bias.
Ovonic Threshold Switch (OTS): in SIDRA, NbOx-based amorphous semiconductor. It is not a diode but shows diode-like threshold behavior: high resistance at low voltage (off), sudden drop to low resistance above (on). When bias is removed, it resets. It fixes the “sneak path” problem in memristor crossbars — detailed in later chapters.
Experiment: Slide the Bias, Watch the Diode
Slide the bias slider from −1 V to +1 V. Compare the three regimes:
Observation points:
- V = 0 (equilibrium): depletion region sits in the middle. Potential profile (below) shows high on P side, low on N — the built-in barrier. No carrier motion.
- V = +0.3 V (forward, low): depletion narrowed slightly, barrier lowered, still no current. This is the “pre-turn-on” region.
- V = +0.7 V (forward, turn-on): barrier nearly flat — electrons from N to P, holes reverse, current meter rises.
- V = +1.0 V (forward, saturated): pedagogical clip at ~1 mA (real chips can handle mA to A).
- V = −0.5 V (reverse): depletion widened. Barrier grew. Carriers retreated. No current.
- V = −1.0 V (reverse, deep): stronger of the same. A real diode would hit breakdown eventually — we don’t model it here.
The potential profile under the diode updates live with bias.
Quiz
Lab Task: Diode Current Calculation
Use Shockley’s equation to compute Si diode currents at several biases.
Data: A, V, .
1. Forward V:
Exponent: . . So mA.
2. Forward V:
, . A (nearly half an amp).
Your turn:
(a) Current at V? (Hint: less than 1 mA) (b) Current at V? (Hint: is essentially zero, so ) (c) Dynamic resistance at mA?
Answers
(a) , , µA ≈ 0.2 mA. One more 0.1 V (0.5 → 0.6) multiplies current by 50 — that’s the diode’s “sharpness”.
(b) A. Reverse current is practically nothing.
(c) Ω. At higher currents, dynamic resistance shrinks — the basis of transistor amplifier gain.
Next step: imagine this equation with different and for LEDs and photodiodes. Same formula, different material. In the next chapter (MOSFET) we’ll apply the p-n junction backwards — making the junction itself a controlled gate.
Cheat Sheet
- P-N junction: p-type (holes) + n-type (electrons) side by side → carriers diffuse across, recombine, leave behind ionic charge.
- Depletion region: thin boundary zone with only ionic charge. Creates an electric field.
- Built-in potential : Si 0.7 V, Ge 0.3 V, GaAs 1.4 V.
- Forward bias: — current rises exponentially ().
- Reverse bias: current near-constant (~pA); breakdown occurs at high reverse.
- Thermal voltage: mV (room T).
- Shockley equation: .
- Dynamic resistance: (~26 Ω / mA).
- SIDRA: OTS selector is not a p-n diode but diode-like in threshold; solves the crossbar sneak-path problem.
Vision: Beyond P-N
The silicon p-n diode has been standard for 80 years; alternatives dominate specific niches. Advanced options:
- GaN / SiC diodes: wide-bandgap, high-voltage (600-1700 V), high-T (200°C+). EV inverters, datacenter power distribution.
- 2D p-n heterojunctions: MoS₂/WSe₂ atomic p-n; flexible electronics.
- Perovskite / organic diodes: LED and solar cell; cheap, printable.
- Tunnel FET (TFET): band-to-band tunneling; sub-60 mV/decade (the MOSFET physical floor). High gain at low power, not yet commercial.
- Next SIDRA selector: beyond OTS (NbOx) — Mott transition (VO₂, NbO₂) gives sharper threshold, 100× less leakage.
- Esaki tunnel diode: negative differential resistance (NDR) — single-device oscillators, neuromorphic spiking-neuron models.
- Schottky barrier FET: metal-semiconductor instead of p-n — low contact resistance in 2D materials.
- Photonic diode (one-way light): resonator-based nonreciprocity; required for optical-interconnect isolation.
Biggest lever for post-Y10 SIDRA: a Mott-selector + memristor 3D stack — one 1S1R per layer, 16 layers deep → 16× density in the same footprint, with OTS suppressing leakage by 10⁴× per cell. 2028 horizon.
Further Reading
- Next chapter: 1.4 — MOSFET: The Atom of 28 nm CMOS
- Previous: 1.2 — Bands and Semiconductors
- Classic: S. M. Sze, Physics of Semiconductor Devices, chapter 2 “p-n Junction”.
- Original: W. Shockley, The Theory of p-n Junctions in Semiconductors and p-n Junction Transistors, 1949.
- OTS selectors: H. Y. Cheng et al., Threshold switching in NbO₂ for cross-point memory, 2017.
- Interactive: PhET Colorado — “Semiconductor Diode” simulator.