Skip to content
GATEiit

GATE EC · Electronic Devices

P-N junction

The abrupt p-n junction: built-in potential, depletion widths, peak field, junction and diffusion capacitance, the ideal diode equation, minority-carrier injection, temperature effects and breakdown, at the depth GATE EC asks.

Before you start

This topic comes before: BJT, Clipping, clamping and rectifiers, LED, MOS capacitor, MOSFET, Photo diode and solar cell, Zener diode

Concept notes

1. Equilibrium and the built-in potential

When p-type (acceptors NA) and n-type (donors ND) regions meet, holes diffuse into the n side and electrons into the p side. They leave behind uncovered ionised acceptors (−) on the p side and donors (+) on the n side. This depletion region (space-charge region) has almost no free carriers and carries an electric field pointing from n to p.

At equilibrium the drift current set up by this field exactly cancels the diffusion current, for electrons and for holes separately, and the Fermi level is flat across the junction. The bands bend by qVbi, where the built-in potential is

Vbi=kTqln⁡NANDni2=VTln⁡NANDni2

with VT=kT/q≈25.9 mV at 300 K (GATE often uses 25 or 26 mV). For silicon with ni≈1010 cm−3 it is typically 0.6 to 0.9 V.

Points that GATE tests:

  • Vbi rises only logarithmically with doping: a 10 times rise in NA adds VTln⁡10≈60 mV.
  • Vbi cannot be measured with a voltmeter; contact potentials cancel it.
  • A larger band gap means a smaller ni and so a larger Vbi.
  • Vbi falls as T rises, because ni rises fast.

2. Depletion approximation: widths and field

For an abrupt (step) junction assume the depletion region is fully depleted with sharp edges at −xp and xn, and neutral outside.

Charge neutrality: qNAxp=qNDxn, so the depletion region extends further into the more lightly doped side.

Solving Poisson's equation gives a triangular field with its peak at the junction:

Emax=qNDxnεs=qNAxpεs

The area under the field is the voltage across the region: Vbi−V=12EmaxW. Here V is the applied voltage, positive for forward bias; for reverse bias V=−VR.

W=xn+xp=2εs(Vbi−V)q(1NA+1ND)

xn=WNANA+ND,xp=WNDNA+ND

One-sided junction (p+n, NA≫ND): almost all of W is on the n side, and W≈2εs(Vbi−V)/(qND). So W∝(Vbi+VR)1/2 and W∝N−1/2 of the lighter side.

For silicon, εs=11.7ε0≈1.04×10−12 F/cm. Keep all lengths in cm when doping is in cm−3.

neutral p (NA)neutral n (ND)ρ(x)E(x)xx−qNA+qND−xpxnW = xp + xnEmaxNA xp = ND xnarea under |E| = Vbi − VE points from n to p,so E(x) < 0
Abrupt junction with N_A > N_D: equal and opposite charge blocks (top) and the triangular field peaking at the junction (bottom); the depletion region reaches further into the lighter n side

3. Junction and diffusion capacitance

Junction (depletion) capacitance. The depletion region acts like a parallel-plate capacitor of thickness W:

Cj=εsAW

For an abrupt junction W∝(Vbi+VR)1/2, so

Cj=Cj01+VR/Vbi

For a linearly graded junction the exponent is 1/3 instead of 1/2. A plot of 1/Cj2 against VR is a straight line for an abrupt junction; its slope gives the lighter doping and its intercept on the voltage axis is −Vbi. A reverse-biased diode used this way is a varactor.

Diffusion (storage) capacitance. Under forward bias, minority carriers are stored near the junction. The stored charge is Q=τI (lifetime τ), so

Cd=dQdV=τIηVT

Junction Cj Diffusion Cd
Origin depletion charge stored minority charge
Dominates in reverse bias forward bias
Grows with less reverse bias more forward current

The diffusion capacitance is why a diode takes time to switch off (reverse recovery).

4. Diode current, temperature and breakdown

Forward bias lowers the barrier to Vbi−V. The minority-carrier density at the edge of the depletion region rises by eV/VT (law of the junction): pn(xn)=pn0eV/VT. These injected carriers diffuse away and recombine, giving the ideal diode (Shockley) equation

I=I0(eV/ηVT−1),I0=qAni2(DpLpND+DnLnNA)

with η=1 for an ideal diode (between 1 and 2 in practice). I0 is the reverse saturation current; it is set by the minority carriers, so it is dominated by the lightly doped side.

Useful results:

  • 10 times the current needs ηVTln⁡10≈60 mV more forward voltage (η=1, 300 K).
  • Small-signal resistance: rd=ηVT/ID, about 26 Ω at 1 mA.
  • Temperature: I0∝ni2 rises steeply; a common rule is that it doubles for every 10 ∘C rise. At constant current, VD falls by about 2 to 2.5 mV per ∘C.
  • A short diode (neutral region shorter than the diffusion length) uses the region width in place of L.

Breakdown in reverse bias: avalanche (impact ionisation; wide depletion, lightly doped; breakdown voltage rises with T) and Zener (tunnelling; heavy doping on both sides, narrow W, typically below about 5 V; breakdown voltage falls with T).

Formulas to remember

Built-in potential
Vbi=VTln⁡NANDni2
Charge neutrality
NAxp=NDxn
Depletion widthV>0 forward; V=−VR in reverse.
W=2εs(Vbi−V)q(1NA+1ND)
Peak field
Emax=qNDxnεs=2(Vbi−V)W
Junction capacitanceAbrupt junction.
Cj=εsAW=Cj01+VR/Vbi
Diffusion capacitance
Cd=τIηVT
Diode equation
I=I0(eV/ηVT−1)
Reverse saturation current
I0=qAni2(DpLpND+DnLnNA)
Small-signal resistance
rd=ηVTID

Common mistakes

  • Mixing units in the depletion width: with doping in cm−3, use εs in F/cm and get W in cm before converting to μm.
  • Putting the wider part of the depletion region on the heavily doped side; it is on the lightly doped side.
  • Using Vbi−VR instead of Vbi+VR for reverse bias.
  • Scaling junction capacitance with VR alone instead of Vbi+VR.
  • Using log⁡10 instead of the natural logarithm in the built-in potential.
  • Thinking I0 depends on the applied voltage; it depends on doping, area, material and, strongly, on temperature.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Built-in potential

numerical

A silicon junction has NA=1017 cm−3 and ND=1016 cm−3. Take ni=1010 cm−3 and VT=26 mV. Find Vbi, and the change if NA is raised to 1018 cm−3.

  1. Step 1: Form the ratio inside the logarithm.

    Try it on paper first.

Example 2: Depletion width and peak field of a p+n diode

numerical

A p+n silicon diode has ND=1016 cm−3, and Vbi+VR=5 V. Take εs=1.036×10−12 F/cm and q=1.6×10−19 C. Find W and Emax.

  1. Step 1: Use the one-sided formula.

    Try it on paper first.

Example 3: Halving the junction capacitance

numerical

An abrupt junction with Vbi=0.8 V has capacitance Cj0 at zero bias. What reverse voltage halves it?

  1. Step 1: Write the ratio.

    Try it on paper first.

Example 4: Diode voltage for ten times the current

numerical

An ideal diode (η=1, VT=26 mV) carries 1 mA at 0.6 V. Find the voltage for 10 mA and the small-signal resistance at each current.

  1. Step 1: Divide the two diode equations.

    Try it on paper first.

Previous year questions

2 official GATE EC questions on this topic, newest first.

Topic test

10 questions: up to 2 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.