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:
- A photon with less energy than the bandgap cannot lift an electron at all. It passes through the cell as if it were glass. Most infrared sunlight does exactly this.
- A photon with more energy than the bandgap lifts an electron and the surplus is wasted as heat. A blue photon carrying three times the bandgap energy still liberates exactly one electron; the extra two thirds warms the panel.
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.
- n-type: doped with an element such as phosphorus, which contributes spare electrons.
- p-type: doped with an element such as boron, which contributes spare holes.
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:
- Transmission: photons below the bandgap pass straight through, contributing nothing.
- Thermalisation: photons above the bandgap contribute only bandgap-worth of energy, with the surplus becoming heat.
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
- Reflection: bare silicon is shiny. Anti-reflective coatings and textured surfaces scatter incoming light into the cell rather than back at the sky — the reason panels look dark blue-black rather than mirror-grey.
- Shading and mismatch: cells in series carry the same current, so one shaded cell can throttle a whole string. Bypass diodes exist to route current around a shaded group.
- Heat: silicon cells get less efficient as they warm, typically losing a few tenths of a percent of output per degree. A cold bright day outperforms a hot one.
- Dust and soiling: in dry dusty regions this is a substantial, and entirely mundane, loss.
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
- A solar cell's clever part is not absorbing light. It is the built-in electric field at the p-n junction, which sweeps electrons and holes apart before they can recombine and gives the current a direction.
- Light arrives as photons of fixed energy. Silicon's bandgap of about 1.1 eV sets a hard threshold: photons below it pass through, photons above it waste their surplus as heat.
- Those two losses give the Shockley-Queisser limit of roughly 33% for a single junction. Commercial modules in the high teens to low twenties are therefore much closer to the ceiling than they sound.
- Cell voltage is set by the material at around 0.5-0.7 V; current scales with light. Hence long series strings, and hence a shaded cell throttling a whole string.
- Panels get less efficient when hot. Cold and bright beats hot and bright.
- The inverter does more than convert DC to AC — maximum power point tracking keeps the panel at its best operating point as conditions change.
- The route past 33% is tandem cells, most likely perovskite on silicon. Efficiency is largely solved there; durability is not.
Related stories
- Transistors: The Building Blocks of Modern Computing
- Diodes: One-Way Streets for Electric Current
- Semiconductors: The Silicon Foundation of Modern Electronics
- Additive lifts lab perovskite solar cells to 26.73%, authors say
- A rigid molecule lifts flexible perovskite/CIGS cells to 28.21%
- Self-spreading ink coats perovskite cells over 30 times faster
More from Gear Gang
- Toluene welds soft strain sensors together at room temperature
- A springy robot's six resonances each become a gait in simulation
- Silica paint on the joint deepens welds in a nickel superalloy
- Soft-tipped robot arm learns from one demonstration, authors say
- Gas-driven nanoparticles cross the blood-brain barrier in mice