What is a semiconductor, and how does a transistor work?
Nearly every electronic device is built on semiconductors, mostly silicon. A modern chip contains billions of tiny switches called transistors. Here's the core physics.
Conductors, insulators and in-betweens
- In metals, electrons move freely, so current flows easily.
- In insulators, electrons are tightly bound and there's a large energy gap they can't easily jump.
- In semiconductors, the gap is small. A few electrons can jump it, and crucially, we can control how many charge carriers there are.
Doping: tuning the material
Pure silicon isn't very conductive. Adding tiny amounts of other elements changes that:
- n-type – add phosphorus, which has an extra electron. Free electrons become the main charge carriers.
- p-type – add boron, which has one fewer electron. This creates "holes", gaps that behave like positive charge carriers.
The p-n junction
Where p-type and n-type meet, carriers near the boundary combine, leaving a thin depletion region with no free carriers. Applying voltage one way shrinks it and lets current flow; the other way widens it and blocks current. That's a diode: a one-way valve for electricity.
The transistor: a switch controlled by voltage
In the most common type in chips, the MOSFET, current can flow between two terminals (source and drain) through a channel. A third terminal, the gate, sits above the channel separated by a thin insulating layer. Applying voltage to the gate attracts carriers into the channel and switches it on. Remove the voltage and it switches off.
On and off become the 1s and 0s of digital logic. Combine billions of these switches and you get processors and memory.
Questions: Did the idea of "holes" as charge carriers make sense the first time you heard it? What's the best analogy you've found for explaining transistors?
Comments · 2
The part of this that tends to get skipped is why the transistor needs a semiconductor in the first place: you need a material whose conductivity can be switched by a voltage. Doping gives you that control.
It's wild that billions of these switches fit on a chip you can hold in your hand. A good follow-up topic would be how the gate controls the channel.