14.3 The p–n Junction, the Semiconductor Diode and Rectifiers
Where p-type meets n-type silicon, carriers diffuse, a thin depletion region forms and a barrier of about $0.7$ V builds up. The result is a diode — a one-way valve for current — and two or four of them turn the AC mains into the DC that every electronic device needs.
Every phone charger, laptop adapter and LED bulb plugged into the mains has the same problem to solve: the socket supplies alternating current, reversing direction $100$ times a second, but electronic circuits need a steady, one-way current. The device that solves it is the semiconductor diode, which lets current through in one direction and almost completely blocks it in the other. Diodes also protect circuits from batteries inserted the wrong way round, demodulate radio signals and, in special forms, emit light, detect it and generate electricity from sunlight.
A diode is simply a single crystal that is p-type on one side and n-type on the other. In this section we see what happens at the boundary — the p–n junction — when it forms: carriers diffuse across, leave behind a layer of fixed charge, and set up a barrier potential. We then apply a voltage in either direction (forward and reverse bias), study the diode's I–V characteristic, and use diodes to build half-wave and full-wave rectifiers, smoothing their output with a capacitor.
Formation of the p–n Junction
A p–n junction is made inside one crystal, for instance by diffusing or implanting acceptor atoms into the surface of an n-type wafer until that layer becomes p-type. (Pressing a p-type piece against an n-type piece does not work: the surfaces would be separated by gaps and oxide many atoms thick.) On the p side holes are plentiful; on the n side electrons are plentiful. Two processes now begin.
Diffusion. Carriers spread from where they are concentrated to where they are scarce: holes diffuse from p to n, electrons from n to p. This is the diffusion current, conventionally from p to n. Near the junction the diffusing carriers meet and recombine.
Uncovered ions and the junction field. When a hole leaves the p side, it leaves behind an acceptor ion with charge $-e$ that cannot move; when an electron leaves the n side, it leaves behind a donor ion with charge $+e$. So a thin layer of fixed negative charge builds up on the p side of the boundary and a layer of fixed positive charge on the n side. Together they make an electric field pointing from n to p, which pushes holes back towards p and electrons back towards n — it opposes further diffusion.
Drift and equilibrium. The same field sweeps any minority carriers that wander into it across the junction (electrons from p to n, holes from n to p) — the drift current, conventionally from n to p. As diffusion proceeds, the layer of charge grows, the field strengthens and drift increases, until the drift current exactly cancels the diffusion current. In equilibrium the net current is zero.
The Semiconductor Diode: Forward and Reverse Bias
A p–n junction with metal contacts on its two ends is a semiconductor diode. Its circuit symbol is an arrow (the p side, or anode) pointing into a bar (the n side, or cathode); the arrow shows the direction in which conventional current flows easily. An external voltage $V$ across the diode is called a bias.
Forward bias — p side connected to the positive terminal. The applied voltage opposes the barrier, so the barrier falls to $V_0-V$ and the depletion region becomes narrower. Many more majority carriers can now diffuse across: holes are injected into the n side and electrons into the p side, where they are minority carriers. The current is tiny until $V$ approaches $V_0$, then rises very steeply — roughly exponentially — reaching milliamperes or amperes.
Reverse bias — p side connected to the negative terminal. The applied voltage adds to the barrier, which rises to $V_0+V$, and the depletion region widens. Diffusion of majority carriers is cut off almost entirely. Only the minority carriers, swept across by the junction field, carry a current — and since their number is fixed by temperature, not by $V$, this reverse current is tiny (nanoamperes to microamperes in silicon) and almost independent of the voltage. At a large enough reverse voltage, the breakdown voltage, the reverse current suddenly rises steeply; an ordinary diode is damaged if it is driven far into breakdown.
Forward bias: the current is negligible below the knee (threshold) voltage — about $0.7$ V for silicon, $0.2$–$0.3$ V for germanium — and above it rises steeply, so the voltage across a conducting diode stays close to the knee voltage over a wide range of currents.
Reverse bias: a very small reverse current (μA or less) flows, almost independent of $V$, until breakdown.
The dynamic resistance at an operating point is $$r_d=\frac{\Delta V}{\Delta I},$$ the ratio of a small change in voltage to the resulting change in current (the inverse slope of the I–V curve). It is a few ohms in forward bias and many megohms in reverse bias. A diode is non-ohmic: $V/I$ is not constant (Section 3.2).
Working model for circuits: a forward-biased silicon diode is replaced by a constant drop of $0.7$ V (an ideal diode: a drop of $0$); a reverse-biased diode by an open switch.
- For each diode, decide whether it is forward biased (the circuit tries to push current from p to n, i.e. along the arrow) or reverse biased. If unsure, guess, solve, and check that the current in each "on" diode really flows along its arrow.
- Replace each forward-biased diode by a drop of $0.7$ V (Si), $0.3$ V (Ge) or $0$ (ideal), as the question says; replace each reverse-biased diode by a break in the circuit.
- Solve the remaining circuit with Ohm's law and Kirchhoff's rules (Section 3.4).
- For a graphical solution, draw the load line $I=(E-V)/R$ on the I–V characteristic: it joins $(V=E,\ I=0)$ to $(V=0,\ I=E/R)$, and the operating point is where it crosses the diode curve.
The Diode as a Rectifier
A rectifier converts alternating voltage into a voltage of one polarity. It relies on the diode conducting in forward bias only. The AC is usually first stepped down by a transformer (Section 7.3); we write the secondary voltage as $v=v_m\sin\omega t$ with peak value $v_m$ (often written $V_m$) and frequency $f$, and recall from Section 7.1 that a sinusoid has $V_\text{rms}=V_m/\sqrt2$.
Half-wave rectifier. One diode in series with the load resistor $R_L$ across the transformer secondary. During the half-cycle in which the diode's p side is positive, it conducts and the output across $R_L$ follows the input; during the other half-cycle it is reverse biased and the output is zero. The output is a series of positive half-sine pulses, one per cycle, so it repeats at the supply frequency $f$. The reverse voltage across the diode reaches $V_m$ in the blocked half-cycle, so the diode's breakdown voltage must be well above $V_m$.
Full-wave rectifier (centre-tap). The transformer secondary has a centre tap, connected to one end of $R_L$; its two ends are connected through diodes $D_1$ and $D_2$ to the other end of $R_L$. The two ends are always in antiphase: in one half-cycle end $A$ is positive and $D_1$ conducts, in the next end $B$ is positive and $D_2$ conducts. Either way, current flows through $R_L$ in the same direction, so every half-cycle gives an output pulse: the output repeats at $2f$. Here $V_m$ is the peak voltage of each half of the secondary. (A bridge rectifier of four diodes does the same job without a centre tap and is what most chargers use.)
For a sinusoidal input of peak $V_m$ and frequency $f$, with ideal diodes and a resistive load (uses integration — the average of $\sin\omega t$ over a half-cycle is $2/\pi$):
| Average (DC) output | rms output | Output pulse frequency | |
|---|---|---|---|
| Half-wave | $V_\text{dc}=\dfrac{V_m}{\pi}\approx0.318\,V_m$ | $\dfrac{V_m}{2}$ | $f$ |
| Full-wave | $V_\text{dc}=\dfrac{2V_m}{\pi}\approx0.637\,V_m$ | $\dfrac{V_m}{\sqrt2}$ | $2f$ |
The average load current is $I_\text{dc}=V_\text{dc}/R_L$. With real silicon diodes each conducting diode reduces the output peak by about $0.7$ V.
Smoothing with a filter capacitor. The rectified output is one-way but very bumpy. A large capacitor connected across the load smooths it: on each rising pulse the capacitor charges up to almost the peak voltage; when the input falls, the diode becomes reverse biased (the capacitor holds its side at a higher potential) and the capacitor slowly discharges through $R_L$, keeping the output up until the next pulse arrives. The remaining small variation is the ripple. It is smaller when $C$ and $R_L$ are larger (slower discharge, i.e. a larger product $CR_L$) and in a full-wave rectifier, where the gaps between pulses are half as long. With a good filter the DC output is close to $V_m$ rather than to $V_m/\pi$ or $2V_m/\pi$.
1. "The depletion region is full of carriers." It is the one place that has almost none; it contains only fixed ions.
2. Getting the barrier direction wrong. The n side is at the higher potential (positive donor ions); the field in the depletion region points from n to p.
3. Forward bias "connects + to n". No: forward bias connects the positive terminal to the p side (the arrow of the symbol points along the easy current).
4. Thinking the reverse current grows with voltage. Below breakdown it is almost constant: it is limited by the supply of minority carriers, not by the voltage.
5. Mixing up average and rms. Half-wave: $V_\text{dc}=V_m/\pi$, $V_\text{rms}=V_m/2$. Full-wave: $2V_m/\pi$ and $V_m/\sqrt2$. And the ripple frequency of a full-wave rectifier is $2f$, not $f$.
Syllabus note: special-purpose diodes are no longer in the NCERT book or the CBSE syllabus, and they are not in JEE Advanced, but the Zener diode and its use as a voltage regulator are listed in the NEET and JEE Main syllabi. A Zener diode is a heavily doped junction designed to work in reverse breakdown. Heavy doping makes its depletion region very thin, so the field there is enormous ($\gt10^{7}$ V/m) and pulls electrons straight out of their bonds once the reverse voltage reaches the Zener voltage $V_Z$. Beyond that point the reverse current can change greatly while the voltage stays almost exactly $V_Z$ — and the diode is not damaged, provided its power rating is respected.
Voltage regulator. Connect the Zener diode, reverse biased, in parallel with the load $R_L$, and feed both from an unsteady DC supply $V_\text{in}$ through a series resistor $R_s$. As long as the diode is in breakdown, the load voltage is pinned at $V_Z$; any rise in $V_\text{in}$ only increases the current through $R_s$ and the Zener diode, and the extra voltage appears across $R_s$: $$I_s=\frac{V_\text{in}-V_Z}{R_s},\qquad I_L=\frac{V_Z}{R_L},\qquad I_Z=I_s-I_L.$$ Example. $V_Z=6.0$ V, $R_s=300\ \Omega$, $R_L=1.2$ k$\Omega$, $V_\text{in}=12$ V: $I_s=20$ mA, $I_L=5.0$ mA, $I_Z=15$ mA. If $V_\text{in}$ rises to $15$ V, $I_s=30$ mA and $I_Z=25$ mA, but the load still sees $6.0$ V. (The circuit works only while $I_Z\gt0$, i.e. $V_\text{in}$ must stay above $V_Z(1+R_s/R_L)=7.5$ V here.)
LEDs, photodiodes and solar cells — the other special-purpose junctions — are described in the extension box of Section 14.1.
Exercises
- 1 Why is a p–n junction not made by pressing a p-type piece against an n-type piece?
- 2 Name the two processes that carry charge across a junction in equilibrium, and state the direction of each current.
- 3 What is the sign of the fixed charge on each side of the depletion region, and where does it come from?
- 4 A barrier potential of $0.70$ V exists across a depletion region $1.0\ \mu$m wide. Estimate the average field.
- 5 What minimum energy, in eV and in joules, must a hole on the p side have to diffuse to the n side across a $0.70$ V barrier?
- 6 Why is the depletion region so called?
- 7 In an unbiased junction, which side is at the higher potential? Explain.
- 1 To forward bias a diode, to which terminal of the battery is the p side connected? What happens to the barrier and to the depletion width?
- 2 Find the height of the barrier of a silicon junction under (a) $0.50$ V forward bias, (b) $5.0$ V reverse bias.
- 3 A diode's current rises from $5.0$ mA to $15$ mA when the voltage rises from $0.65$ V to $0.70$ V (illustrative data). Find its dynamic resistance in this range.
- 4 The same diode passes $2.0\ \mu$A at a reverse bias of $20$ V. Find $V/I$.
- 5 Explain why the reverse current hardly changes as the reverse voltage is increased (below breakdown).
- 6 A $9.0$ V battery, a $1.0$ k$\Omega$ resistor and a forward-biased silicon diode are in series. Find the current.
- 7 Two silicon diodes, both forward biased, are connected in series with a $470\ \Omega$ resistor across a $6.0$ V supply. Find the current.
- 8 Sketch the I–V characteristic of a silicon diode, marking the knee voltage, the reverse saturation region and the breakdown voltage.
- 1 A $12$ V battery feeds two parallel branches: a forward-biased diode in series with $3.0$ k$\Omega$, and a reverse-biased diode in series with $1.0$ k$\Omega$. Treating the diodes as ideal, find the battery current.
- 2 Repeat part 1 with silicon diodes ($0.7$ V model).
- 3 A $1.5$ V cell drives current through a silicon diode and a $220\ \Omega$ resistor in series. Find the current.
- 4 An alternating voltage of peak $5.0$ V is applied to a silicon diode in series with a resistor. For what fraction of each cycle does the diode conduct ($0.7$ V model)?
- 5 A diode is in series with $50\ \Omega$ across a $3.0$ V battery. Find the two intercepts of the load line, and the current using the $0.7$ V model.
- 6 Find the power dissipated in the diode of part 5.
- 1 The input to a rectifier is $50$ Hz AC. What is the frequency of the output pulses for (a) a half-wave and (b) a full-wave rectifier?
- 2 A half-wave rectifier has an input of peak $20$ V. Find the DC (average) and rms output voltages.
- 3 Repeat part 2 for a full-wave rectifier with $20$ V peak across each half of the secondary.
- 4 The $230$ V rms mains is stepped down by a transformer with turns ratio $20:1$ and fed to a half-wave rectifier. Find the peak and DC output voltages.
- 5 A centre-tap transformer gives $24$ V rms across its whole secondary. Find the DC output of the full-wave rectifier.
- 6 Explain how a capacitor across the load reduces the ripple, and how the ripple changes if the load draws more current.
- 7 Modelling. A small power supply uses a centre-tap full-wave rectifier with silicon diodes, $6.0$ V rms across each half of the secondary, and a large filter capacitor. Estimate its DC output voltage at light load.
- 8 Find the average current in a $2.0$ k$\Omega$ load in part 3.
E1. Board · 5 marks Explain, with a diagram, how the depletion region and the barrier potential are formed at a p–n junction. Draw the circuit for studying the I–V characteristics of a diode in forward and reverse bias, sketch the characteristics, and explain their shape.
E2. Board · 3 marks Draw the circuit diagram of a full-wave rectifier using a centre-tap transformer and two diodes. Explain its working and draw the input and output waveforms. If the input frequency is $50$ Hz, what is the frequency of the output?
E3. JEE Main A $3.0$ V cell, a $100\ \Omega$ resistor and two silicon diodes $D_1$ and $D_2$ are all connected in series. $D_1$ points along the direction in which the cell drives current; $D_2$ points the opposite way. The current in the circuit is (A) zero (B) $16$ mA (C) $23$ mA (D) $30$ mA.
E4. NEET When a p–n junction diode is forward biased, (A) the depletion region widens and the barrier rises (B) the depletion region narrows and the barrier falls (C) the depletion width is unchanged but the barrier falls (D) the depletion region narrows but the barrier rises.
E5. JEE MainNEET (Beyond NCERT: Zener regulator.) A Zener diode with $V_Z=6.0$ V is connected in parallel with a $1.2$ k$\Omega$ load, and the combination is fed from a $12$ V supply through a $300\ \Omega$ series resistor. The current through the Zener diode is (A) $5.0$ mA (B) $15$ mA (C) $20$ mA (D) $25$ mA.
E6. Board · Case study A simple phone-charger power supply steps the mains ($50$ Hz) down with a transformer, rectifies it with a full-wave rectifier and smooths it with a capacitor. (i) (2 marks) If the peak of the rectified voltage is $10$ V, find the ripple frequency and the DC output without the capacitor (ideal diodes). (ii) (1 mark) What does the capacitor do to the DC output and to the ripple? (iii) (1 mark) In a bridge rectifier two diodes conduct at a time. With silicon diodes, by how much does this lower the output peak?
Research question. How large a filter capacitor does a simple mains power supply need — and why did that push the world's chargers to switch-mode designs?
Why it matters. Billions of chargers are made every year. Old "linear" adapters had a heavy transformer, a rectifier and a big capacitor; modern switch-mode chargers sold everywhere from Shenzhen to São Paulo are a fraction of the size. Part of the reason is the physics of ripple.
What to do.
- Use Interactive 2 (full-wave, ideal diodes, $V_m=17$ V, load $1.0$ k$\Omega$). Record the peak-to-peak ripple for $C=47$, $220$ and $1000\ \mu$F, and for the half-wave circuit with $220\ \mu$F.
- Engineers estimate the ripple with $\Delta V\approx\dfrac{I_\text{dc}}{f_rC}$, where $I_\text{dc}$ is the load current and $f_r$ the ripple frequency (an approximation beyond the syllabus, valid for small ripple). Compare it with your readings.
- A charger must supply $0.50$ A with at most $0.50$ V of ripple from a full-wave rectifier on $50$ Hz mains. Find the capacitance needed. Repeat for a half-wave rectifier.
- A switch-mode charger rectifies the mains, then chops the DC at about $100$ kHz before a tiny transformer and a second rectifier (full-wave). What capacitance does the same $0.50$ A, $0.50$ V specification need now?
Tools: Interactive 2, a calculator; optionally a capacitor catalogue to see how size grows with capacitance.
Hand in: Your table of ripple values with the formula's predictions, the two capacitances of step 3, the answer to step 4, and a paragraph explaining why higher frequency means smaller, lighter chargers.
Going further. Even a perfect filter cannot remove the effect of changes in the mains voltage or the load current. Find out how a voltage regulator (for example the Zener circuit in this section's extension box, or an integrated regulator chip) holds the output fixed.
🧪 Self-check quiz
Q1. The depletion region of a p–n junction contains
Q2. In reverse bias, the current through a junction diode (below breakdown) is
Q3. A silicon diode in series with a $1.0$ k$\Omega$ resistor is forward biased by a $5.7$ V battery. The current is about
Q4. The input to a full-wave rectifier has a frequency of $50$ Hz. The fundamental frequency of the ripple in its output is
Q5. A half-wave rectifier with an ideal diode has an input of peak $10$ V. The average (DC) output voltage is about