How Solar Panels Convert Sunlight Into Electricity

A Machine With No Moving Parts

Almost everything that generates electricity does it by spinning something. Coal, gas, nuclear and hydro all end at the same place: a magnet turning inside a coil of wire. Even wind turbines, for all their modernity, are a rotating shaft.

A solar panel has no moving parts at all. Nothing turns, nothing burns, nothing wears in the ordinary sense. Sunlight lands on a sheet of silicon and electricity comes out of a wire, and the panel does this silently for decades.

The usual one-line explanation is that "photons knock electrons loose." That is true and it is not the interesting part. Knocking an electron loose is easy. The difficulty — the thing that took from Becquerel's observation in 1839 to a working cell at Bell Labs in 1954 — is making all those loosened electrons travel the same way so they add up to a current instead of simply falling back where they came from.

A solar cell is not really a light absorber. It is a one-way street for electrons, and this is the story of how that street is built.

Light Arrives in Packets, and Silicon Is Fussy

Photons carry a fixed amount of energy

Light behaves as packets called photons, and each carries an energy set by its colour, not its brightness. Blue photons are individually energetic; red ones less so; infrared less again. Turning up the brightness sends more photons, not more energetic ones.

This matters enormously, because the material receiving them has a threshold.

The bandgap

In a semiconductor, electrons sit in a lower energy band where they are bound to atoms, and can only conduct if they are lifted into a higher band. The energy required is the bandgap. For silicon it is about 1.1 electronvolts.

The consequences are strict, and they are the root of everything that follows:

So the bandgap is a compromise. Choose it low and you catch more of the spectrum but waste more of each photon. Choose it high and you use each photon well but ignore most of the light. Silicon's 1.1 eV happens to sit reasonably near the optimum for sunlight — which is a large part of why the industry is built on it.

The electron and the hole

When a photon lifts an electron, it leaves behind an absence in the lower band — a hole — which behaves like a positive particle. From here on there are two mobile charges to keep track of, and they very much want to recombine with each other.

If they do, the energy is released as heat and the photon has been wasted. Everything a solar cell does is a race against recombination.

The Junction: Where Direction Comes From

Doping, and two kinds of silicon

Pure silicon is a poor conductor and, on its own, a poor solar cell. It is deliberately contaminated — doped — in two different ways.

Neither is charged overall. Each simply has an excess of one kind of mobile carrier.

What happens when they meet

Join a p-type and an n-type region and something immediate occurs at the boundary. Spare electrons from the n-side diffuse across into the p-side; spare holes diffuse the other way. Each leaves behind a fixed, charged atom it can no longer neutralise.

Very quickly a thin zone at the boundary is left with no mobile carriers at all — the depletion region — carrying fixed negative charge on the p-side and fixed positive charge on the n-side. Those fixed charges create a built-in electric field across the junction.

That field is the whole invention. It is permanent, it needs no power, and it points in one direction only.

Why the field is what makes a solar cell work

Now a photon arrives, is absorbed, and creates an electron-hole pair near the junction. Left alone the two would drift about and recombine within microseconds.

Instead, the built-in field sweeps them apart — the electron pushed one way, the hole the other — before they can find each other. The electron is now on the n-side and cannot easily return, because crossing back means going against the field.

Do this to trillions of pairs and one side of the cell accumulates negative charge and the other positive. Connect a wire between them and the electrons take the long way round, through the wire, doing useful work on the journey. That is the current.

The photons make charge. The junction makes it go somewhere. Without the field you have a warm piece of silicon.

What comes out

The voltage a single silicon cell produces is set mostly by the material, not the sunshine — around 0.5 to 0.7 volts, which is why cells are wired in long series strings. The current, by contrast, is roughly proportional to how much light lands on it.

Why 100% Is Not Available

The Shockley-Queisser limit

In 1961, William Shockley and Hans Queisser calculated the maximum efficiency possible for a single-junction solar cell under sunlight, using nothing but physics that cannot be engineered away. The answer is roughly 33%.

Two losses dominate, and they are the two consequences of having one bandgap:

Push the bandgap either way and one loss shrinks while the other grows. The 33% figure is the best possible compromise, not an engineering shortfall.

Commercial silicon modules today typically reach the high teens to low twenties in percent, with the best laboratory silicon cells approaching the mid-twenties — genuinely close to the practical ceiling for the material.

The everyday losses

From Cell to Rooftop

Cell, module, array

A single cell produces well under a volt. Cells are wired in series into a module — the panel you recognise — laminated behind glass with an encapsulant that keeps moisture out for decades. Modules wire into strings, strings into arrays.

The glass and encapsulant are not incidental. Most module warranties are about the laminate surviving twenty-five years of thermal cycling and humidity, not about the silicon failing.

The inverter, and the tracking problem

Solar cells produce direct current. Grids and appliances use alternating current, so every system has an inverter.

Inverters do something less obvious and more important than conversion. A panel's output depends on how much current you draw: ask for too little and you waste available power, ask for too much and the voltage collapses. Somewhere between is a maximum power point, and it moves continuously with sunlight and temperature.

Inverters run maximum power point tracking — constantly probing to find that operating point and holding the panel there. A system without it can lose a large fraction of its available output on a partly cloudy day.

Why the price collapsed

Solar's cost decline is one of the steepest of any manufactured technology, and it is not mainly a physics story. It came from scale, from manufacturing learning, from thinner wafers using less silicon per watt, and from steady incremental cell improvements — better rear-surface passivation, finer contacts, better light trapping.

Each is unglamorous. Together they moved solar from a niche to, in many places, the cheapest source of new electricity generation.

Where It Works, and Where It Doesn't

Grid-scale

Large arrays sited for land and sunlight, feeding directly into transmission networks. Increasingly paired with batteries, for a reason that is structural rather than technical: solar output peaks around midday while household demand peaks in the evening. The gap between those two curves is what storage exists to bridge.

Rooftops

The economics differ from grid-scale in an important way. A rooftop panel competes not with wholesale generation cost but with the retail price of electricity, including transmission and levies — a much higher bar to clear. This is why rooftop solar can make sense for a household even where it would be uncompetitive as a power station.

Off-grid, and where it matters most

The application with the clearest human effect is not in wealthy countries. A single panel, a small battery and an LED can deliver lighting and phone charging to a household with no grid connection at all. There is no smaller unit of a coal plant. Solar scales down to one panel, and that divisibility is a genuine property of the technology, not a marketing point.

Space

Satellites have run on solar since the 1950s, and the constraints there are inverted: mass and area matter enormously, cost much less so. That is why spacecraft use expensive multi-junction cells that would never be economic on a roof.

Getting Past the Single Bandgap

Tandem cells

If one bandgap is the fundamental limitation, use more than one. Tandem cells stack a wide-bandgap material on top of silicon: the upper layer harvests blue and green light efficiently, and lets red and infrared pass through to the silicon beneath.

This directly attacks both Shockley-Queisser losses, and lifts the theoretical ceiling well above the single-junction 33%.

Perovskites

The leading candidate for that upper layer is a family of perovskite materials, which have improved in efficiency faster than any photovoltaic material in history and can be made at low temperature from solution.

The unresolved problem is durability. Perovskites degrade under heat, moisture and ultraviolet light — the three things a rooftop guarantees for twenty-five years. Efficiency was the hard part and is largely solved; stability is now the whole game.

Incremental silicon

Meanwhile silicon keeps improving through better passivation and cell architectures that reduce recombination at surfaces and contacts. These gains are single percentage points, but they apply to an industry of enormous scale.

The end-of-life question

The first large deployments are now reaching retirement, and a panel is a laminated sandwich of glass, polymer, silicon and metals designed above all not to come apart. Recycling it economically is an unsolved and rapidly growing problem — and one that deserves more attention than it gets.

Key Takeaways

Related stories

More from Gear Gang

All stories from Gear Gang