Class 5+ · solar cell lab · after light

When sunlight hits a solar cell,
what happens next?

A solar cell is like a sandwich: P-side and N-side, with an empty middle that can push charges. Watch the same cell with no wire and with a wire. Light does the same first job in both. The wire decides if electricity can keep flowing.

hole (h⁺) electron (e⁻) photon depletion field

Formation → equilibrium → circuit → solar power

Formation. Silicon is doped: boron makes P-type (holes), phosphorus makes N-type (electrons).

01 · MaterialsP-type & N-type
02 · Diffusionconcentration gradient
03 · Driftelectric field force
04 · Depletionbuilt-in barrier
05 · Lightdark vs illuminated
06 · Deviceworking solar cell
Chapter 01

Two sides of the sandwich

A solar cell is a silicon sandwich. We add special extras (doping) so each side has a favorite traveler.

  • P-type — like a side full of empty seats. The empty seats are called holes (+).
  • N-type — like a side full of extra kids. The extras are electrons (−).
P-type: p ≈ NA   |   N-type: n ≈ ND

Nothing is flowing yet. These are just two doped crystals sitting side by side — the raw ingredients of a junction.

Majority carriers in each crystal

Chapter 02 · Transport

Diffusion

Carriers do not like being crowded. They wander from high concentration to low concentration — a random walk that becomes a net flux.

Jn,diff = q Dn ∇n     Jp,diff = −q Dp ∇p
  • Electrons spill from N toward P.
  • Holes spill from P toward N.
  • No field is required. Only a concentration gradient.

Hit reset to put every carrier back on its home side and watch the mixing start again.

Random walk across the interface

carriers0
crossed junction0
driver∇n , ∇p
fieldnone
Chapter 03 · Transport

Drift

An electric field shoves charge. Holes (positive) ride with the field. Electrons (negative) run against it.

vn = −μn E     vp = μp E     Jdrift = σ E
  • Toggle the field off to see only thermal jitter.
  • Toggle it on and the two species stream in opposite directions.
  • This is how a depletion field will later separate photo-generated pairs.

Field-driven motion

e⁻ on left0
h⁺ on right0
electron driftagainst E
hole driftwith E
Chapter 04 · The junction

Depletion region

Bring P and N into contact. Diffusion starts. Near the interface, electrons fall into holes and vanish as free charge. What remains are uncovered dopant ions: negative acceptors on the P side, positive donors on the N side.

E built-in from uncovered ions  →  Vbi = (kT/q) ln(NA ND / ni²)
  • Those fixed ions create a built-in electric field (P ← N).
  • The field causes drift that opposes further diffusion.
  • Equilibrium: diffusion current + drift current = 0. A quiet, emptied zone — the depletion region — sits in the middle.

Formation of the space-charge region

free carriers0
uncovered ions0
built-in field0%
net current→ 0
Main lab · After light

Sunlight hits the cell. Then what?

Think of sunlight as a rain of tiny energy balls called photons. If a photon is strong enough, it knocks an electron loose and leaves an empty seat called a hole. That pair is born together. The empty middle of the cell (the depletion zone) has a hidden push. The push sends the electron to the N-side and the hole to the P-side.

Photon = bit of sunlight Electron (−) = tiny negative traveler Hole (+) = empty seat that acts positive Push / field = invisible sorter Wire = road for electrons Load = bulb that can light up
1

Photon arrives

A yellow bit of sun energy flies into the sandwich.

2

Pair is born

If the photon is strong enough: one electron + one hole appear together.

3

They get sorted

The middle push sends − to N and + to P. They are not allowed to hug again.

4

Wire or no wire?

No wire: charges pile up. With wire: charges run around and can light a bulb.

Without a wire

Light still makes pairs. Charges still get sorted. They stack on the two ends, like a battery charging. Voltage goes up. Current stays almost zero because there is no road home.

With a wire + bulb

Same light. Same pairs. Same sort. Now electrons can leave through the wire, pass the bulb, and keep moving. The bulb glows. That flowing river is electric current.

Left = no wire  ·  Right = wire + bulb

Sun is on. Watch the same photons on both sides. Only the right side has a road for current.

sunON
photon energyenough
pairs made0
no-wire voltage0.00 V
with-wire current0.00 mA
bulboff
shadeclear
recombined0
Guided tour

One photon’s journey

Press the steps in order. The lab will set itself so you can watch just that part.

Start at step 1. What does the cell look like before any sunlight?

Check

Quick quiz

After light, with NO wire, what grows?

Score: 0 / 0

Bonus · One cell, many switches

Turn the sun on and off on a working cell

This is the right-hand picture from the lab above, bigger. Sun on → pairs → sort → current through the bulb. Sun off → the river stops. Same sandwich, same push, same rule: light makes the charges, the wire lets them travel.

I = Iph − Is(eqV/kT − 1)    ·    light creates Iph, the junction tries to fight it as a diode

Live device — illumination, separation, circuit

device state—
current0.00 mA
collected at contacts0
free carriers in cell0