Home › Inside the parts › Diode and LED

Inside the diode and LED

A one-way valve for current, built from the p-n junction: the idea behind every transistor, solar cell and chip. Light it up and it is an LED. Every picture below is computed while you watch.

What it isHow it’s madeThe p-n junctionThe LEDWhat goes wrongUse it

What it is

Pure silicon barely conducts. Add a trace of boron and it becomes p-type: it has “holes”, missing electrons that act as positive carriers. Add phosphorus and it becomes n-type, with spare electrons. Join the two and electrons and holes near the junction cancel each other out, leaving a thin depletion region whose built-in field holds the rest back. Push the right way (forward bias) and the barrier comes down: current flows. Push the other way and it grows: almost nothing flows.

I = Is · (e^(V / n·Vt) − 1)   Vt = kT/q ≈ 26 mV at 25 °C   λ ≈ 1 240 / Eg nm

How it’s made


The p-n junction, live

Holes (○) on the p side, electrons (●) on the n side, the fixed ions of the depletion region between them. Slide the bias: forward, the region shrinks and carriers flood across and recombine (in an LED each recombination is a photon of the band gap’s colour); reverse, it widens. Push reverse far enough and it breaks down. The curve is the diode equation at the temperature you set.

The carriers’ motion is illustrative; the current and the curve are computed. Breakdown is drawn at a typical voltage for each (LEDs are only rated for about 5 V reverse).

The LED and its resistor

An LED’s current climbs exponentially with its voltage, so it must not be fed a voltage; it must be fed a current. The simplest way is a series resistor: R = (Vsupply − Vf) / I.

What goes wrong

Use it on the bench

Check yourself

Exam-style questions (ECE, EE and NC-II reviewers ask these). Each answer links to the scene that shows it.

1. In a forward-biased silicon diode, the voltage across it at a few milliamps is about:

2. Reverse bias does what to the depletion region?

3. What decides an LED’s colour?

4. A red LED (Vf ≈ 2 V) on 5 V should have about 15 mA. The resistor is about:

5. Why must an LED never be connected straight to a supply without a resistor?

6. How does a white LED make white?

7. What is the depletion region made of?

8. A Zener diode is meant to:

Inside the other parts

The resistor · the capacitor · the inductor · the transformer · the transistor · the battery · all the parts