Semiconductors: p-n Junction, Rectifiers, Transistors, Logic Gates
Semiconductor devices run every phone, charger and computer. This chapter explains how adding a trace of impurity turns silicon into n-type or p-type material, how a p-n junction lets current flow one way only, how diodes rectify mains AC, how a transistor amplifies, and how logic gates make decisions. MDCAT, ECAT, NEET and JEE Main ask short, direct questions on all of these, so a clear picture of each device earns quick marks.
Asked in: MDCAT, NUMS, ECAT, NEET, JEE Main, FSc and Class 11-12 boards
Conductors, insulators and semiconductors
In a solid, electron energies form bands. The highest filled band is the valence band and the next one up is the conduction band; the gap between them is the energy gap Eg.
In conductors the bands overlap, so plenty of free electrons are always available. Insulators have a wide gap (diamond about 5.5 eV), so almost no electrons can cross it. Semiconductors have a small gap: about 1.1 eV for silicon and 0.7 eV for germanium.
At absolute zero a pure semiconductor behaves as an insulator. As temperature rises, more electrons jump to the conduction band, so its resistance falls: semiconductors have a negative temperature coefficient of resistance, unlike metals.
- Eg(Si) ≈ 1.1 eV, Eg(Ge) ≈ 0.7 eV
- Eg(diamond) ≈ 5.5 eV
- Semiconductor: resistance falls as temperature rises
Intrinsic and extrinsic semiconductors
A pure semiconductor such as silicon or germanium (both tetravalent) is intrinsic. When an electron breaks free from a covalent bond, it leaves behind a vacancy called a hole, which behaves like a positive charge. In an intrinsic semiconductor the number of free electrons equals the number of holes.
Doping adds a tiny amount of impurity to raise conductivity. A pentavalent impurity (phosphorus, arsenic, antimony) gives a spare electron and is called a donor; the material becomes n-type, with electrons as majority carriers and holes as minority carriers.
A trivalent impurity (boron, aluminium, gallium, indium) leaves one bond incomplete, creating a hole, and is called an acceptor; the material becomes p-type, with holes as majority carriers. Both n-type and p-type materials are electrically neutral overall.
- Intrinsic: nₑ = nₕ
- n-type: pentavalent donor (P, As, Sb), majority electrons
- p-type: trivalent acceptor (B, Al, Ga, In), majority holes
The p-n junction diode
When p-type and n-type regions are joined, electrons diffuse from n to p and holes from p to n, and they recombine near the junction. This leaves a thin depletion region with no free carriers, containing only fixed (immobile) positive ions on the n side and negative ions on the p side. The resulting barrier potential is about 0.7 V for silicon and 0.3 V for germanium.
Forward bias (p side to the positive terminal) lowers the barrier and narrows the depletion region, and a large current flows once the applied voltage exceeds the barrier. Reverse bias (p side to the negative terminal) widens the depletion region, and only a tiny reverse current carried by minority carriers flows.
At a large reverse voltage, breakdown occurs and the current rises sharply. A Zener diode is designed to work in this breakdown region, where its voltage stays almost constant, so it is used as a voltage regulator. A light-emitting diode (LED) gives light in forward bias; a photodiode works in reverse bias and responds to light.
- Barrier potential: Si ≈ 0.7 V, Ge ≈ 0.3 V
- Forward bias: depletion layer narrows, large current
- Reverse bias: depletion layer widens, tiny current
Rectifiers
Rectification converts AC into DC using the one-way action of diodes. A half-wave rectifier uses one diode and passes only one half of each cycle; the output pulses at the supply frequency, 50 Hz for Pakistani and Indian mains.
A full-wave rectifier passes both halves, either with two diodes and a centre-tapped transformer or with four diodes in a bridge. The output has twice the supply frequency, 100 Hz from 50 Hz mains, and is smoother and more efficient.
The pulsating output is smoothed by a capacitor filter connected across the load, which charges at the peaks and discharges slowly between them. The peak voltage of a sine wave is √2 times its rms value.
- Half-wave: 1 diode, output frequency f
- Full-wave centre-tap: 2 diodes; bridge: 4 diodes
- Full-wave output frequency = 2f
- V_peak = √2 × V_rms
The bipolar junction transistor
A transistor has three regions: emitter, base and collector, arranged as n-p-n or p-n-p. The emitter is heavily doped, the base is very thin and lightly doped, and the collector is the largest region. In the circuit symbol the arrow on the emitter points in the direction of conventional current: outwards for npn, inwards for pnp.
For use as an amplifier, the emitter-base junction is forward biased and the collector-base junction is reverse biased. Most carriers from the emitter cross the thin base into the collector, so the collector current is nearly equal to the emitter current, and the base current is small.
The current gain in common-emitter mode is β = IC ÷ IB (typically 50 to 300); in common-base mode it is α = IC ÷ IE, slightly less than 1. A common-emitter amplifier gives a large voltage gain with the output 180° out of phase with the input. A transistor can also act as a switch, fully off (cut-off) or fully on (saturation).
- IE = IB + IC
- β = IC ÷ IB, α = IC ÷ IE
- β = α ÷ (1 − α), α = β ÷ (1 + β)
- CE amplifier: output 180° out of phase
Logic gates
Digital circuits work with two levels, 0 (low) and 1 (high). In Boolean notation, A·B means AND, A + B means OR, and a prime means NOT, so A′ is NOT A. A truth table lists the output for every combination of inputs.
AND gives 1 only when all inputs are 1. OR gives 1 when at least one input is 1. NOT inverts its single input. NAND is AND followed by NOT, so it gives 0 only when all inputs are 1; NOR is OR followed by NOT, so it gives 1 only when all inputs are 0. XOR gives 1 when the two inputs are different, and XNOR when they are the same.
NAND and NOR are universal gates: any other gate can be built from NAND gates alone or NOR gates alone. For example, joining both inputs of a NAND gate makes a NOT gate. De Morgan's theorems link the gates: (A·B)′ = A′ + B′ and (A + B)′ = A′·B′.
- AND: Y = A·B
- OR: Y = A + B
- NOT: Y = A′
- NAND: Y = (A·B)′; NOR: Y = (A + B)′
- De Morgan: (A·B)′ = A′ + B′; (A + B)′ = A′·B′
Solved examples
- State the type of semiconductor formed, and its majority carriers, when pure silicon is doped with (a) arsenic and (b) boron.
- Arsenic is pentavalent: four of its electrons form bonds and the fifth is free. It is a donor, so the material is n-type with electrons as majority carriers.
- Boron is trivalent: one bond is left incomplete, creating a hole. It is an acceptor, so the material is p-type with holes as majority carriers.
- In both cases the crystal stays electrically neutral, because each impurity atom is itself neutral.
Answer: (a) n-type, electrons; (b) p-type, holes - A 220 V (rms), 50 Hz supply is rectified. Find the frequency of the output ripple for a half-wave and for a full-wave rectifier, and the peak voltage of the supply.
- Half-wave: one pulse per cycle, so the ripple frequency is 50 Hz.
- Full-wave: two pulses per cycle, so the ripple frequency is 2 × 50 = 100 Hz.
- Peak voltage = √2 × 220 = 311 V (ignoring the diode drop).
Answer: Half-wave 50 Hz; full-wave 100 Hz; peak 311 V - In a common-emitter circuit, the base current of a transistor is 40 μA and β = 100. Find the collector current, the emitter current and α.
- IC = βIB = 100 × 40 μA = 4000 μA = 4 mA.
- IE = IB + IC = 0.04 + 4 = 4.04 mA.
- α = IC ÷ IE = 4 ÷ 4.04 = 0.990, which also equals β ÷ (1 + β) = 100 ÷ 101.
Answer: IC = 4 mA, IE = 4.04 mA, α ≈ 0.99 - The common-base current gain of a transistor is α = 0.98. Find its common-emitter current gain β.
- β = α ÷ (1 − α).
- β = 0.98 ÷ 0.02 = 49.
- A small change in α near 1 makes a big change in β.
Answer: β = 49 - Priya applies A = 1 and B = 0 to each of the two-input gates AND, OR, NAND, NOR and XOR. Find each output.
- AND: 1·0 = 0.
- OR: 1 + 0 = 1.
- NAND: (1·0)′ = 0′ = 1.
- NOR: (1 + 0)′ = 1′ = 0.
- XOR: the inputs differ, so the output is 1.
Answer: AND 0, OR 1, NAND 1, NOR 0, XOR 1 - Inputs A and B feed an OR gate. Its output and a third input C feed an AND gate, giving Y = (A + B)·C. For which inputs is Y = 1?
- Y = 1 needs C = 1 and also A + B = 1.
- A + B = 1 whenever A or B (or both) is 1.
- So the valid inputs (A, B, C) are (0, 1, 1), (1, 0, 1) and (1, 1, 1).
- For all five other combinations Y = 0.
Answer: Y = 1 only for ABC = 011, 101 and 111
Exam shortcuts
- Pentavalent gives n-type, trivalent gives p-type. Five valence electrons leave one spare electron (n-type); three leave one hole (p-type).
- Forward bias narrows the depletion layer and reverse bias widens it. The depletion layer contains fixed ions but no free carriers.
- Ripple frequency: half-wave = f, full-wave = 2f. A bridge rectifier needs four diodes, a centre-tap rectifier two.
- For β and α, use β = α ÷ (1 − α). If α = 0.99, β = 99; if α = 0.95, β = 19.
- NAND output is 0 only for all-1 inputs; NOR output is 1 only for all-0 inputs. Everything else about these gates follows from that one line.
Common mistakes
- Saying an n-type semiconductor is negatively charged. It is neutral; only its majority carriers are electrons.
- Thinking the resistance of a semiconductor rises with temperature, as for metals. It falls.
- Reversing the transistor biasing. For amplification the emitter-base junction is forward biased and the collector-base junction reverse biased.
- Writing IE = IC − IB. The emitter current is the largest: IE = IB + IC.
- Confusing NAND with NOR, or treating XOR as OR. XOR gives 0 when both inputs are 1.
Practice MCQs
- The energy gap of silicon is about:
A) 1.1 eV
B) 0.7 eV
C) 5.5 eV
D) 0.3 eV
Answer: A) 1.1 eV — Silicon has Eg ≈ 1.1 eV. Germanium has about 0.7 eV, diamond about 5.5 eV, and 0.3 V is the barrier potential of germanium. - To make n-type silicon, pure silicon is doped with:
A) boron
B) aluminium
C) gallium
D) phosphorus
Answer: D) phosphorus — Phosphorus is pentavalent and donates an extra electron. Boron, aluminium and gallium are trivalent and give p-type material. - The majority charge carriers in a p-type semiconductor are:
A) free electrons
B) holes
C) positive ions
D) negative ions
Answer: B) holes — Trivalent acceptor atoms create holes, which are the majority carriers. The ions themselves are fixed in the lattice and do not carry current. - When the temperature of an intrinsic semiconductor rises, its resistance:
A) increases
B) stays the same
C) decreases
D) first increases, then decreases
Answer: C) decreases — More electrons gain enough energy to cross the gap, so the number of carriers rises and resistance falls. Semiconductors have a negative temperature coefficient. - The depletion region of a p-n junction contains:
A) immobile ions only
B) free electrons only
C) holes only
D) free electrons and holes
Answer: A) immobile ions only — Free carriers diffuse across and recombine, leaving only fixed donor and acceptor ions in the depletion region. - When a p-n junction is forward biased, the width of its depletion region:
A) increases
B) remains unchanged
C) becomes infinite
D) decreases
Answer: D) decreases — Forward bias pushes the majority carriers towards the junction, reducing the barrier and narrowing the depletion region. Reverse bias widens it. - The number of diodes used in a bridge rectifier is:
A) 2
B) 4
C) 1
D) 3
Answer: B) 4 — A bridge rectifier uses four diodes. A centre-tap full-wave rectifier uses two and a half-wave rectifier uses one. - A full-wave rectifier works on 50 Hz mains. The frequency of its output ripple is:
A) 50 Hz
B) 25 Hz
C) 100 Hz
D) 200 Hz
Answer: C) 100 Hz — A full-wave rectifier gives two pulses in each input cycle, so the ripple frequency is 2 × 50 = 100 Hz. - A Zener diode is mainly used as a:
A) voltage regulator
B) current amplifier
C) light detector
D) logic gate
Answer: A) voltage regulator — In reverse breakdown, the voltage across a Zener diode stays nearly constant over a wide range of current, so it is used to regulate voltage. - For a transistor to work as an amplifier, its junctions must be biased as:
A) both forward
B) both reverse
C) emitter-base reverse, collector-base forward
D) emitter-base forward, collector-base reverse
Answer: D) emitter-base forward, collector-base reverse — Forward bias on the emitter-base junction injects carriers; reverse bias on the collector-base junction collects them. Both forward is saturation and both reverse is cut-off. - A transistor has β = 50. If its base current is 20 μA, its collector current is:
A) 0.4 mA
B) 1 mA
C) 2.5 mA
D) 1.02 mA
Answer: B) 1 mA — IC = βIB = 50 × 20 μA = 1000 μA = 1 mA. 1.02 mA is the emitter current, IB + IC. - A transistor has α = 0.95. Its current gain β is:
A) 0.95
B) 20
C) 19
D) 1.05
Answer: C) 19 — β = α ÷ (1 − α) = 0.95 ÷ 0.05 = 19. 20 comes from 1 ÷ (1 − α), leaving out α in the numerator. - Which of the following is a universal gate?
A) NAND
B) AND
C) OR
D) XOR
Answer: A) NAND — Any logic gate can be built using NAND gates alone (or NOR gates alone). AND, OR and XOR cannot do this on their own. - The output of a two-input NOR gate is 1 only when:
A) both inputs are 1
B) the inputs are different
C) at least one input is 1
D) both inputs are 0
Answer: D) both inputs are 0 — NOR = NOT(A OR B). A OR B is 0 only when both inputs are 0, so NOR gives 1 only then. - Inputs A and B each pass through a NOT gate, and the two outputs feed an AND gate. The whole circuit behaves as:
A) a NAND gate
B) a NOR gate
C) an OR gate
D) an AND gate
Answer: B) a NOR gate — Y = A′·B′, which by De Morgan's theorem equals (A + B)′, the NOR function. Check: Y = 1 only when A = 0 and B = 0.
Questions
What is a hole in a semiconductor?
A hole is the vacancy left in a covalent bond when an electron breaks free. A neighbouring bonded electron can jump into it, so the vacancy moves in the opposite direction. It behaves exactly like a positive charge carrier of size e, and it is the majority carrier in p-type material.
Why is the base of a transistor made thin and lightly doped?
Carriers injected from the emitter must cross the base to reach the collector. A thin, lightly doped base gives them little chance to recombine on the way, so nearly all of them reach the collector. That keeps the base current small and the current gain β large.
Why is a full-wave rectifier preferred to a half-wave rectifier?
A full-wave rectifier uses both halves of the AC cycle, so it delivers more power, has a higher efficiency, and gives a ripple at twice the supply frequency, which is much easier to smooth with a capacitor. A half-wave rectifier wastes half of every cycle.
Why are NAND and NOR called universal gates?
Every other logic gate, NOT, AND, OR, XOR and so on, can be built by connecting NAND gates alone, or NOR gates alone. Manufacturers can therefore make whole circuits from a single type of gate, which simplifies chip design and production.