The pn junction: depletion region and contact potential
The pn junction at equilibrium: depletion region, contact potential derived, width from Poisson's equation, bias and junction capacitance.
https://www.electronics-engineering.com/en/pn-junction-depletion-region-contact-potential/
Placing a p-type and an n-type region in contact within the same crystal gives the pn junction, the building block of almost every device: diodes, LEDs, solar cells, bipolar transistors, and even MOSFETs, whose source and drain terminals are junctions. In this lesson we see what happens at equilibrium: the depletion region, the internal field, the contact potential and how they change when a voltage is applied.
What happens at the contact
On the p side there are plenty of holes, on the n side almost none; for electrons it is the opposite. As soon as the two regions touch, holes diffuse towards n and electrons towards p, where they recombine with the majority carriers.
As they leave, the carriers uncover the fixed ions of the doping: negative acceptors on the p side, positive donors on the n side. Across the junction a depletion region (or space-charge region) forms, almost free of mobile carriers, with negative charge on one side and positive charge on the other. This charge creates an electric field directed from n towards p, which opposes diffusion: equilibrium is reached when the drift current produced by the field exactly balances the diffusion current, for electrons and for holes separately.

The contact potential
Theorem. Across the depletion region there is a potential difference
![]()
Proof. At equilibrium the total electron current is zero at every point, and, as in the proof of the Einstein relation, it follows that the concentration obeys the Boltzmann law:
. Comparing the two ends, far from the junction,
![]()
with
(majority carriers on the n side) and
(minority carriers on the p side). Taking the logarithm gives the formula. ∎
Example. Silicon at 300 K (
mV,
cm⁻³), with
cm⁻³ and
cm⁻³:
V. The contact potential cannot be measured with a voltmeter: at the metal contacts other potential differences arise that compensate it exactly, otherwise a diode at rest would supply energy. With the value most used today,
cm⁻³, the result changes by less than 2 mV.
The width of the depletion region
We use the depletion approximation: in the depletion region, from
to
, there are no free carriers; outside it the charge is zero.
Neutrality, field and potential
Neutrality. The total charge must be zero, so
: the region extends mostly into the less doped side.
Field. From Poisson’s equation
, with
piecewise constant, the field is piecewise linear: it starts from zero at
, reaches its maximum magnitude at the junction and returns to zero at
:
![]()
Potential. The potential difference is the area of the field triangle:
, with
. Putting the three relations together:
![Rendered by QuickLaTeX.com \[ W = \sqrt{\frac{2\varepsilon_s V_{bi}}{q}\left(\frac{1}{N_A} + \frac{1}{N_D}\right)} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-60ecef81f2ffe0d9e46667a9aac59a80_l3.png)
A numerical example
Example. With the dopings above and
:
µm, of which 0.30 µm lies on the n side and only 0.03 µm on the p side, which is ten times more doped. The maximum field is about
V/cm: less than a volt across a third of a micrometre gives a very intense field.
The biased junction
When a voltage
is applied from outside (positive if the p side is more positive), almost all of it drops across the depletion region, because that is where carriers are missing and the resistance is very high. The barrier becomes
, and in the formulas it is enough to substitute:
![Rendered by QuickLaTeX.com \[ W(V) = \sqrt{\frac{2\varepsilon_s (V_{bi} - V)}{q}\left(\frac{1}{N_A} + \frac{1}{N_D}\right)} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-37fa29e223e81b9c47439ebb7466bfa7_l3.png)
- Reverse bias (
): the barrier grows, the depletion region widens and diffusion is blocked. Only a tiny current of minority carriers flows. With
V the region of the example widens to about 1.24 µm. - Forward bias (
): the barrier drops, the region narrows and diffusion restarts exponentially. This is the behaviour of the diode, which we study in the next lesson.
The junction capacitance
The charges on the two sides of the depletion region are like the plates of a capacitor at distance
:
![]()
The capacitance decreases as the reverse voltage increases. It is a drawback in fast circuits, because it must be charged and discharged at every switching, but it becomes a resource in varactor diodes: voltage-controlled capacitors used to tune oscillators and receivers without moving parts.
The field as a charge separator
If an electron-hole pair is generated in the depletion region, or within a diffusion length of it, for example by a photon, the internal field separates the two charges at once: the electron moves towards n, the hole towards p. This is the principle of photodiodes and solar cells: the junction turns light into current without any external power supply. In solar cells one aims for a large active region and slow recombination, because every pair that recombines before being separated is energy lost.
In summary
- At the contact between the p and n regions the diffusion of carriers uncovers the doping ions: the depletion region forms, with a field directed from n to p that at equilibrium balances diffusion.
- The contact potential is
, about 0.77 V in the example; it cannot be measured with a voltmeter. - The depletion region extends mostly into the less doped side, and its width grows as
: it widens in reverse bias and narrows in forward bias. - The junction capacitance
decreases with reverse voltage: this is the principle of varactor diodes. - The internal field separates the electron-hole pairs generated by light: this is how photodiodes and solar cells work.






Benvenuti nella pagina su «La giunzione pn: regione svuotata, campo e potenziale di contatto». L'ho scritta pensando a chi studia ingegneria elettronica: se un passaggio non vi torna, un esercizio vi dà un risultato diverso o volete altro materiale sull'argomento, chiedete pure nei commenti e vi risponderò. Un voto con le stelle qui sopra mi aiuta a capire quali pagine migliorare.Welcome to the page on “The pn junction: depletion region, field and built-in potential”. I wrote it for engineering students: if a step does not add up, an exercise gives you a different result or you would like more material on the topic, just ask in the comments and I will reply. A star rating above helps me understand which pages to improve.