Semiconductor Electronics - Materials, Devices and Simple Circuits
Hold a smartphone and you are holding billions of switches carved into a sliver of silicon barely a fingernail wide. Less than a century ago the equivalent job was done by a vacuum tube the size of a lightbulb: a heated cathode boiling off electrons into empty space, hot, power-hungry, fragile, and limited to roughly a hundred volts. The revolution that replaced the valve with the chip did not come from a better vacuum. It came from deliberately spoiling the perfection of a crystal. This chapter builds that revolution from the ground up. It starts with energy bands, the quantum-mechanical bookkeeping that explains, from first principles, why copper conducts, why diamond insulates, and why silicon sits in between as a semiconductor whose behaviour can be engineered. It shows how doping a crystal with a few parts per million of the right impurity creates two entirely new materials, n-type and p-type, each with a controllable population of mobile charge carriers. Bring the two into contact and a p-n junction forms: a one-way valve for current, born from nothing more exotic than diffusion and drift across a boundary. That junction, alone, gives us the diode and the rectifier that turns household alternating current into the steady direct current every gadget needs. Add a third doped layer and the junction becomes a transistor, a current-controlled amplifier and the switch at the heart of every logic gate and every processor. The physical picture threads through every device in this chapter: mobile electrons and holes, a depletion region and its barrier potential, and biasing that raises or lowers that barrier at will. Master that one picture and the p-n junction diode, the Zener regulator, the LED, the photodiode, the solar cell, the bipolar transistor and the logic gate all become variations on a single theme rather than a list to memorise.
- Solids are classified by energy bands. Metals have overlapping/partly filled bands; insulators have ; semiconductors have a small gap (-) that thermal energy can bridge.
- Intrinsic semiconductors generate electron-hole pairs in equal numbers, ; both carriers conduct, .
- Doping creates extrinsic semiconductors. Pentavalent dopants give n-type (); trivalent dopants give p-type (); always , and the crystal stays electrically neutral overall.
- A p-n junction forms a depletion region and barrier potential where diffusion (down the concentration gradient) is balanced by drift (driven back by the resulting field).
- Forward bias lowers the barrier to , giving mA-range current; reverse bias raises it to , giving a tiny µA-range saturation current until breakdown at .
- Diodes rectify ac. Half-wave conducts on one half-cycle (); full-wave conducts on both (); a capacitor filter smooths the pulses toward a steady dc level.
- Special-purpose diodes: Zener (sharp, safe reverse breakdown for voltage regulation), LED (forward-biased photon emission, ), photodiode (reverse-biased light detector) and solar cell (unbiased light-to-power converter).
- A transistor sandwiches a thin base between emitter and collector. , and the gains are linked by , with just under and typically tens to hundreds.
- In common-emitter mode the transistor amplifies, (the sign is a phase inversion), or switches fully on/off as a digital switch.
- Key idea: doping a crystal to create controllable populations of electrons and holes, then joining n-type and p-type regions, turns a p-n junction into a one-way valve (the diode) and a doped sandwich into a current-controlled amplifier or switch (the transistor), together building every rectifier, regulator, sensor and logic gate in modern electronics.
A semiconductor's conductivity is engineered by doping it with donor or acceptor impurities to create controllable populations of electrons and holes, and joining n-type and p-type regions builds a p-n junction whose barrier potential can be raised or lowered by an external bias, giving the diode its one-way conduction and, in a three-layer transistor, giving current-controlled amplification and switching.
What this chapter covers
The chapter moves from the crystal to the circuit in five stages. First, energy bands explain why some solids conduct freely, some never do, and semiconductors sit in a controllable middle ground. Second, intrinsic and extrinsic semiconductors show how thermal excitation and, far more powerfully, deliberate doping create and control mobile electrons and holes. Third, the p-n junction — its depletion region, barrier potential, diffusion and drift — is built up as the physical engine behind every device that follows. Fourth, the junction diode's forward and reverse V-I characteristics are used to build rectifier circuits, and the same junction physics is specialised into the Zener diode, the LED, the photodiode and the solar cell. Fifth, a second junction turns the structure into a bipolar transistor, whose current relations and characteristic curves make it a current-controlled amplifier and switch, and cascades of such switches implement the logic gates of digital electronics.
The core ideas
Energy bands: why metals, insulators and semiconductors differ
In an isolated atom an electron's energy is fixed by its orbit, but when atoms pack into a crystal their outer orbitals overlap and each atomic level splits into a band of closely spaced levels. The highest band normally filled with valence electrons is the valence band; the band above it, where electrons move freely once they get there, is the conduction band. Whether a solid conducts, insulates, or sits in between is decided by the size of the gap between these bands and how completely the conduction band is occupied.
where: is electrical resistivity. Metals have overlapping or partially filled conduction bands, so electrons are available at no energy cost — hence very low resistivity. Insulators have a large gap , so room-temperature thermal energy (order ) cannot lift electrons across it. Semiconductors have a small gap, roughly to ( for silicon, for germanium), small enough that a useful number of electrons are thermally promoted into the conduction band, leaving an equal number of vacancies in the valence band.
Intrinsic semiconductors: electrons and holes born together
Pure silicon or germanium crystallises in a diamond-like lattice where each atom shares its four valence electrons with four neighbours, forming covalent bonds. At absolute zero every bond is intact and the crystal is an insulator. As temperature rises, thermal vibrations occasionally break a bond, freeing an electron into the conduction band and leaving a vacancy — a hole — in the valence band, behaving as an apparent particle of charge . Because every excited electron leaves exactly one hole behind, an intrinsic semiconductor always has equal numbers of both:
where: is the free electron concentration, is the hole concentration, and is the intrinsic carrier concentration (about for silicon at room temperature). A hole does not physically travel; it is a bookkeeping device for a chain of bound electrons hopping into successive vacancies, indistinguishable in effect from a positive charge drifting through the lattice. Both carrier types contribute current in the same direction under an applied field, so total current is their sum:
where: is the conventional current due to free electrons and is that due to holes migrating toward the negative terminal. Generation and recombination proceed simultaneously; at thermal equilibrium the two rates balance, keeping and steady at a given temperature.
Extrinsic semiconductors: doping tips the balance
An intrinsic semiconductor's conductivity is too low and too temperature-sensitive for reliable devices. The fix is doping: introducing a controlled trace, typically a few parts per million, of an impurity whose atomic size closely matches silicon or germanium. A pentavalent dopant (P, As, Sb) contributes four electrons to bonding and leaves its fifth only weakly bound (ionisation energy -, far below the host gap), free at room temperature — this donor impurity gives an n-type semiconductor with electrons as the majority carrier. A trivalent dopant (B, Al, In) completes only three of the four bonds, leaving a vacancy a neighbouring electron readily fills, creating a mobile hole — this acceptor impurity gives a p-type semiconductor with holes as the majority carrier. In each case,
where: the product law holds regardless of doping level, since heavier doping on one side speeds recombination and suppresses the other carrier proportionally. Crucially, neither n-type nor p-type material carries any net charge: each dopant's mobile carrier is exactly balanced by its fixed, oppositely charged ionised core, so the crystal stays electrically neutral even though it now conducts far better than the pure material.
The p-n junction: diffusion, drift and the depletion region
A p-n junction is formed when a p-type region and an n-type region meet within a single continuous crystal, never by physically pressing two separate slabs together (no real surface is flat at the atomic scale). Two processes compete once the junction exists. Because electrons are far more concentrated in the n-region and holes far more concentrated in the p-region, both carriers diffuse down their concentration gradients — electrons from n to p, holes from p to n — a diffusion current. Every electron that leaves the n-side behind an ionised donor core, and every hole that leaves the p-side behind an ionised acceptor core, so a thin layer of exposed positive charge builds on the n-side and exposed negative charge builds on the p-side. Together these layers, stripped of mobile carriers, form the depletion region, only about a tenth of a micrometre thick. The exposed charges set up an electric field from the positive n-side layer to the negative p-side layer, pushing any stray electron on the p-side back to the n-side and any stray hole on the n-side back to the p-side — a drift current opposing diffusion. As diffusion proceeds the depletion region widens, the field strengthens, and drift current grows until it exactly balances diffusion current: net current is zero and the junction reaches equilibrium. The accumulated charge separation appears as the barrier potential (about for germanium, for silicon), n-side positive relative to p-side, opposing any further net flow of majority carriers.
The junction diode: forward and reverse bias
A semiconductor diode is a p-n junction with metal contacts for an external voltage . Connecting the positive terminal to the p-side is forward bias: the applied voltage opposes the built-in field, so the effective barrier drops to , the depletion layer narrows, and once approaches a large number of majority carriers cross (minority-carrier injection), giving a current in the milliampere range that rises steeply, essentially exponentially, with voltage. Reversing the battery, n-side positive, is reverse bias: the barrier rises to , the depletion layer widens, and only the small population of minority carriers near the junction is swept across, giving a tiny, almost voltage-independent reverse saturation current (microampere range). Push the reverse voltage far enough and it reaches the breakdown voltage , beyond which current rises sharply and, unless externally limited, destroys the junction by overheating. Forward current does not begin appreciably until crosses a threshold or cut-in voltage — about for germanium, for silicon — after which it rises very rapidly. Because the V-I curve is not a straight line, a diode's resistance is best described locally, as the dynamic (or ac) resistance:
where: and are small changes about an operating point. Forward dynamic resistance is small, tens of ohms; reverse dynamic resistance is enormous, order -, reflecting how little the tiny reverse current changes even for large voltage swings.
The diode as a rectifier
Because a diode conducts easily in one direction and blocks the other, it converts alternating current into unidirectional current, a process called rectification. In a half-wave rectifier, a single diode conducts only during the half-cycle that forward-biases it, so the output frequency equals the input frequency, . A full-wave rectifier uses two diodes with a centre-tapped transformer (or four diodes in a bridge): one diode conducts on each half-cycle, so the output frequency doubles, . The raw rectified output is a series of one-signed pulses, not steady dc; a capacitor across the load charges toward each pulse's peak and discharges slowly between pulses (time constant ), smoothing the output toward a nearly steady voltage close to the peak — hence a larger filter capacitor gives a flatter, more usable dc output.
Special-purpose diodes: Zener, LED, photodiode and solar cell
The same junction physics, tuned by doping level and packaging, yields a family of specialised devices. A Zener diode is a heavily doped junction engineered for a sharp, non-destructive reverse breakdown at a chosen voltage ; held deliberately in that breakdown region, its terminal voltage stays almost constant over a wide current range, exactly the behaviour needed for voltage regulation (derived below). A light-emitting diode (LED) is a forward-biased junction in a direct-band-gap compound semiconductor (GaAs, GaP, not silicon) where recombination releases energy as a photon rather than heat:
where: is Planck's constant, the speed of light, the emitted wavelength — a wider gap gives a shorter, bluer wavelength, which is why red, green and blue LEDs use different compounds. A photodiode, reverse biased in the dark, sees its reverse current rise almost linearly with light intensity, since absorbed photons generate extra pairs the field sweeps across — a fast, linear sensor. A solar cell uses the same photogeneration with no bias at all: light generates pairs, the built-in field separates them, and the charge drives current through an external load, converting light directly into power.
The junction transistor: structure and transistor action
A bipolar junction transistor sandwiches a thin, lightly doped base between two more heavily doped regions of the opposite type, the emitter and the collector, giving an n-p-n or p-n-p device with two back-to-back junctions. Normally the emitter-base junction is forward biased, injecting carriers from emitter into base, while the base-collector junction is reverse biased. Because the base is thin and lightly doped, almost all injected carriers diffuse straight across before recombining and are swept into the collector; only a small fraction recombines, forming the small base current. Charge conservation at the three terminals then requires
where: , , are the emitter, base and collector currents, with close to but a little less than , and the small remainder, typically a few per cent of . This near-total pass-through of emitter current into collector current, controlled by a much smaller base current, is what makes the transistor a current amplifier (quantified in the derivation below).
Transistor characteristics, the amplifier and the switch
Plotting a transistor's terminal currents against its terminal voltages gives its characteristic curves: the input characteristic (base current against base-emitter voltage, resembling a forward diode curve) and the output characteristic (collector current against collector-emitter voltage for a family of fixed base currents — a set of almost-flat curves stacked by base current, since collector current is nearly independent of collector voltage in the active region). In common-emitter mode, a small variation in base current produces a much larger variation in collector current — exactly the leverage an amplifier needs: a weak signal at the base controls a strong replica of itself at the collector, drawing extra power from the supply rather than the input. Biased instead to its extremes — saturation (fully "on") or cut-off (fully "off") — the same transistor acts as an electronic switch, the building block of every logic gate described next.
Digital electronics: logic gates
A logic gate is a switching circuit, typically built from one or more transistors, that produces a well-defined output (logic , high voltage, or logic , low voltage) for every combination of binary inputs, summarised in a truth table. The simplest is the NOT gate (an inverter), with one input and output : it outputs when is and vice versa. The OR gate outputs , which is if either input (or both) is ; the AND gate outputs , which is only if both inputs are . Combining a NOT with an OR or an AND gives the NOR gate () and the NAND gate () respectively.
| A | B | AND (A·B) | OR (A+B) | NAND | NOR |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 |
NAND and NOR each have a special status: either one, used repeatedly and wired appropriately, can reproduce the behaviour of a NOT, an AND and an OR gate, which is why they are called universal gates and are the standard building blocks of integrated logic circuits.
A transistor's usefulness as an amplifier rests on how efficiently emitter current is passed through to the collector, quantified by two current gains depending on which terminal is the input: the common-base gain and the common-emitter gain . The goal here is to derive the exact algebraic relationship between and from nothing but charge conservation at the three transistor terminals, so a value measured in one configuration converts cleanly to the other.
Step 1. Start from charge conservation: every unit of charge entering the emitter leaves through the base or the collector, so .
Step 2. Define the two gains from their physical roles: (common-base input is ), close to but strictly less than (typically -) since only a small fraction of carriers recombine in the thin base; (common-emitter input is ), large (tens to a few hundred) because is a small remainder of .
Step 3. Eliminate using Step 1: . Substituting, . Dividing numerator and denominator by and using gives .
Step 4. Invert to get . Physically, because sits just under , its denominator is small, and dividing by a small number is what turns a modest common-base gain into a large common-emitter gain: gives , and a small rise to nearly doubles to — which is why controlling base recombination tightly matters so much for reproducible amplification. Verified: ; back-substituting, , consistent.
Go deeper · Derivation B · 1 minVoltage gain of a common-emitter transistor amplifier
The goal here is to show, from Ohm's law and the transistor current relation alone, why a common-emitter (CE) amplifier multiplies a small input voltage into a much larger, inverted output voltage, and to obtain a working formula in terms of the current gain , the collector load resistance , and the input resistance the base-emitter junction presents to a small ac signal.
Step 1. In a CE amplifier, a small ac input voltage is applied across the base-emitter junction, and the output is the ac voltage developed across a load resistor between the collector and the supply.
Step 2. Relate input voltage to input current through the input resistance: a small change in base current requires .
Step 3. Use transistor action to convert base current change into collector current change: , the defining property of current amplification.
Step 4. Convert the collector current change into an output voltage change across : as rises, the drop across rises, so the collector-to-supply output voltage falls: , the minus sign recording the phase inversion.
Step 5. Combine: . The gain is scaled by how much bigger the load resistance is than the input resistance — a larger or higher- transistor both increase gain. Verified: with , , : , matching the competitive-level worked example below.
Go deeper · Derivation C · 1 minDesigning a Zener diode voltage regulator
An unregulated dc supply drifts with mains fluctuations and with the current drawn by the load, yet many circuits need a rock-steady voltage. The goal is to derive, from Kirchhoff's voltage and current laws alone, how a Zener diode held in reverse breakdown, with a single series resistor, keeps the load voltage fixed at despite these fluctuations.
Step 1. Set up the circuit: an unregulated input connects through a series resistor to a node; there, a Zener diode (reverse biased, breakdown voltage ) and the load resistor sit in parallel, sharing output voltage .
Step 2. Apply Kirchhoff's voltage law: , where is the source current. In breakdown the Zener's terminal voltage stays essentially fixed at (its dynamic resistance is tiny), so and .
Step 3. Apply Kirchhoff's current law at the node: , so .
Step 4. Interpret: and are fixed, so tracks ; whatever does, the Zener absorbs the difference , since its steep breakdown lets current swing widely while voltage barely moves. The load sees a constant as long as stays within the diode's rated range — regulation fails only if is driven to zero or past the maximum rating. Verified: , , ; if then and , confirming regulation.
Worked examples
Board level — carrier concentration in a doped silicon crystal
A pure silicon crystal has atoms per cubic metre. It is doped with a ppm concentration of pentavalent arsenic. Given the intrinsic carrier concentration , find the number of electrons and holes per cubic metre after doping.
Step 1. Find the donor concentration. A doping level of ppm means one arsenic atom per million silicon atoms: .
Step 2. Compare with the intrinsic concentration. Since , the thermally generated carriers are utterly negligible next to the donated ones, so essentially every donor is ionised and contributes one free electron: .
Step 3. Use the equilibrium product law to find the (very small) hole population: , so . Answer: and — doping has raised the electron population by many orders of magnitude while crushing the hole population, exactly the signature of an n-type semiconductor.
Board level — dynamic resistance of a diode from its V-I graph
The V-I characteristic of a silicon diode, taken as a straight line between () and () in forward bias, and giving at in reverse bias, is used to find the diode's resistance in each region.
Step 1. Forward dynamic resistance uses the slope of the forward segment: .
Step 2. Reverse resistance is read directly from the single reverse point, treating it as an ordinary Ohm's-law ratio since the reverse current is essentially constant (a straight line through the origin is a reasonable approximation over this small a current range): . Answer: forward dynamic resistance ; reverse resistance , a ratio of about a million, which is precisely the property — very low resistance one way, enormous resistance the other — that makes the diode useful as a rectifying element.
Competitive level (JEE / NEET) — transistor current gains and amplifier voltage gain
A transistor operating in common-emitter mode carries an emitter current and a base current . Find (a) the common-base gain and common-emitter gain , and (b) the voltage gain of a CE amplifier built with this transistor if the collector load is and the small-signal input resistance is .
Step 1. Find the collector current from charge conservation: .
Step 2. Compute the two gains from their definitions: , and — consistent with , exactly as derived above.
Step 3. Apply the voltage-gain formula from the derivation: .
Step 4. Interpret the sign and magnitude, and note the power gain a full analysis would add: the magnitude means the ac output voltage swing is times the input swing, and the negative sign means the output is inverted (a rising input gives a falling output). The approximate power gain, current gain times voltage gain, is . Answer: , , and (magnitude , phase-inverted). Timing note: about two to three minutes. The fast path is ; do not waste time deriving from scratch in the exam — quote it directly and use it only as a cross-check on your arithmetic. A common slip is plugging instead of into the voltage-gain formula, or forgetting the minus sign when a question asks for the phase relationship rather than just the magnitude.
Common traps
Treating n-type or p-type material as electrically charged. The names refer only to the majority carrier type; every doped crystal stays overall neutral because each mobile carrier is balanced by an immobile, oppositely charged ionised dopant core.
Swapping which junction is forward biased in a transistor. Normal (active-region) operation always has the emitter-base junction forward biased and the base-collector junction reverse biased — reversing either kills the amplifying action.
Confusing (common base, , close to ) with (common emitter, , tens to hundreds). Using the wrong one in a gain formula gives answers wrong by an order of magnitude; check the configuration before picking the symbol.
Getting forward and reverse bias backwards for the LED and photodiode. An LED must be forward biased to emit light; a photodiode is reverse biased to detect light. Mixing these up is a very common recall error.
Forgetting the output frequency doubles in a full-wave rectifier. Half-wave: . Full-wave: , since each of the two conduction paths contributes one pulse per input cycle.
Assuming any reverse bias destroys a diode. A diode is safe under reverse bias up to its rated breakdown voltage; damage occurs only if reverse current is not externally limited once breakdown is reached, or forward current exceeds its rated value.
Reading the diode V-I curve as linear. Both branches are markedly non-linear, which is exactly why local dynamic resistance is used instead of a single fixed value.
You should be able to…
- Classify a solid as a conductor, insulator or semiconductor from its resistivity range or its energy band gap .
- Explain how thermal excitation creates electron-hole pairs in an intrinsic semiconductor and why .
- Distinguish n-type from p-type doping, identify the dopant valency in each case, and name majority and minority carriers.
- State and apply , and explain why doped semiconductors remain electrically neutral overall.
- Describe how diffusion and drift build the depletion region and the barrier potential of a p-n junction.
- Sketch and interpret the forward and reverse V-I characteristic of a junction diode, locating threshold voltage, reverse saturation current and breakdown.
- Analyse half-wave and full-wave rectifier circuits, including the role of a capacitor filter, and compute output frequency from input frequency.
- Explain the working principle of a Zener diode, LED, photodiode and solar cell, and match each device to its correct bias condition and application.
- Derive and apply and the relation for a bipolar transistor.
- Compute the voltage gain of a common-emitter amplifier from , and , and construct truth tables for NOT, AND, OR, NAND and NOR gates.
Ask the tutor: if you want to work through why a specific transistor biasing circuit sits in saturation, cut-off, or the active amplifying region, ask the tutor to walk that load-line analysis with you.
Why does a diode need a minimum threshold voltage before it conducts noticeably?
The applied forward voltage first has to overcome the built-in barrier potential of the depletion region, about for silicon and for germanium. Below this threshold the barrier is only slightly reduced, so only the rare carrier with unusually high thermal energy can cross, giving negligible current. Once the applied voltage approaches , the barrier becomes small enough that a large population of ordinary majority carriers can cross, and current rises steeply, almost like a switch turning on. The threshold is a direct reflection of how much the applied voltage must fight the junction's own barrier potential before conduction becomes significant.
If holes do not actually move, why do we talk about hole current at all?
No positive particle physically travels through the crystal; a chain of bound valence electrons hops into successive vacancies, so the vacancy itself appears to migrate opposite to the electron hops. Calling this a positive charge, a "hole," moving through the lattice is the most economical way to track the net effect, because the vacancy behaves — in its response to a field, its contribution to current, its recombination with an electron — exactly like a particle of charge . Since electron current and hole current both add in the same direction under an applied field, treating holes as real carriers gives the correct total current every time, which is why the language survives even though no positive particle actually moves.
Why is the base of a transistor made thin and lightly doped instead of thick like the emitter?
The transistor works as an amplifier only because almost all carriers injected from the emitter survive crossing the base and reach the collector, rather than recombining inside it. A thin base gives them less distance, and less time, to recombine before the base-collector field sweeps them into the collector. Light doping further limits recombination, since recombination needs a majority carrier of the base's own type to meet the injected carrier, and light doping means few are available. Together these keep the fraction of emitter current lost as base current small, which is exactly what makes close to and large — a thick, heavily doped base would recombine far more current, crippling amplification.
What is actually different, physically, between a Zener diode and an ordinary rectifier diode?
Both are p-n junctions, similar under forward bias, but doped differently for their reverse behaviour. An ordinary diode is designed to avoid reverse breakdown entirely, and is usually damaged if pushed into it by accident. A Zener diode is heavily doped on both sides so its depletion region is very thin, letting a strong internal field trigger a sharp, non-destructive reverse breakdown at a precisely chosen voltage . Because current can then swing widely while the diode's voltage barely moves, the Zener is used deliberately, and safely, right in the breakdown region as a fixed voltage reference — the opposite of how an ordinary diode is used.
Why does a solar cell need no external battery, unlike a photodiode which is reverse biased?
Both rely on the same physics: light absorbed near a p-n junction creates electron-hole pairs that the junction's built-in field separates before they recombine. A photodiode is a detector — reverse biased so its small light-generated current can be measured cleanly against a near-zero dark current, but it consumes power from the bias supply to do so. A solar cell is a power source — its purpose is to deliver net energy to a load, so an external bias would fight, or consume, the very power it is meant to generate. Left unbiased, the built-in field does the charge separation for free, driving current through the external circuit with no battery required.