A p–n junction is a boundary or interface between two types of semiconductor material, p-type and n-type, inside a single crystal of semiconductor. It is created by doping, for example by ion implantation, diffusion of dopants, or by epitaxy (growing a layer of crystal doped with one type of dopant on top of a layer of crystal doped with another type of dopant). If two separate pieces of material were used, this would introduce a grain boundary between the semiconductors that severely inhibits its utility by scattering the electrons and holes.

p–n junctions are elementary "building blocks" of most semiconductor electronic devices such as diodes, transistors, solar cells, LEDs, and integrated circuits; they are the active sites where the electronic action of the device takes place. For example, a common type of transistor, the bipolar junction transistor, consists of two p–n junctions in series, in the form n–p–n or p–n–p.

The discovery of the p–n junction is usually attributed to American physicist Russell Ohl of Bell Laboratories.[1]

A Schottky junction is a special case of a p–n junction, where metal serves the role of the p-type semiconductor.

Properties of a p–n junction

The p–n junction possesses some interesting properties that have useful applications in modern electronics. A p-doped semiconductor is relatively conductive. The same is true of an n-doped semiconductor, but the junction between them can become depleted of charge carriers, and hence non-conductive, depending on the relative voltages of the two semiconductor regions. By manipulating this non-conductive layer, p–n junctions are commonly used as diodes: circuit elements that allow a flow of electricity in one direction but not in the other (opposite) direction. This property is explained in terms of forward bias and reverse bias, where the term bias refers to an application of electric voltage to the p–n junction.

Equilibrium (zero bias)

In a p–n junction, without an external applied voltage, an equilibrium condition is reached in which a potential difference is formed across the junction. This potential difference is called built-in potential V_{\rm bi}.

After joining p-type and n-type semiconductors, electrons from the n region near the p–n interface tend to diffuse into the p region. As electrons diffuse, they leave positively charged ions (figure A).

The figure A with blue and red lines. Also shown are the two counterbalancing phenomena that establish equilibrium.

The figure B, Q(x) graph). The space charge region has the same magnitude of charge on both sides of the p–n interfaces, thus it extends farther on the less doped side (the n side in figures A and B).

Forward bias

In forward bias, the p-type is connected with the positive terminal and the n-type is connected with the negative terminal.

With a battery connected this way, the holes in the P-type region and the electrons in the N-type region are pushed toward the junction. This reduces the width of the depletion zone. The positive charge applied to the P-type material repels the holes, while the negative charge applied to the N-type material repels the electrons. As electrons and holes are pushed toward the junction, the distance between them decreases. This lowers the barrier in potential. With increasing forward-bias voltage, the depletion zone eventually becomes thin enough that the zone's electric field cannot counteract charge carrier motion across the p–n junction, as a consequence reducing electrical resistance. The electrons that cross the p–n junction into the P-type material (or holes that cross into the N-type material) will diffuse in the near-neutral region. Therefore, the amount of minority diffusion in the near-neutral zones determines the amount of current that may flow through the diode.

Only majority carriers (electrons in N-type material or holes in P-type) can flow through a semiconductor for a macroscopic length. With this in mind, consider the flow of electrons across the junction. The forward bias causes a force on the electrons pushing them from the N side toward the P side. With forward bias, the depletion region is narrow enough that electrons can cross the junction and inject into the P-type material. However, they do not continue to flow through the P-type material indefinitely, because it is energetically favorable for them to recombine with holes. The average length an electron travels through the P-type material before recombining is called the diffusion length, and it is typically on the order of micrometers.[2]

Although the electrons penetrate only a short distance into the P-type material, the electric current continues uninterrupted, because holes (the majority carriers) begin to flow in the opposite direction. The total current (the sum of the electron and hole currents) is constant in space, because any variation would cause charge buildup over time (this is Kirchhoff's current law). The flow of holes from the P-type region into the N-type region is exactly analogous to the flow of electrons from N to P (electrons and holes swap roles and the signs of all currents and voltages are reversed).

Therefore, the macroscopic picture of the current flow through the diode involves electrons flowing through the N-type region toward the junction, holes flowing through the P-type region in the opposite direction toward the junction, and the two species of carriers constantly recombining in the vicinity of the junction. The electrons and holes travel in opposite directions, but they also have opposite charges, so the overall current is in the same direction on both sides of the diode, as required.

The Shockley diode equation models the forward-bias operational characteristics of a p–n junction outside the avalanche (reverse-biased conducting) region.

Reverse bias

Connecting the P-type region to the negative terminal of the battery and the N-type region to the positive terminal corresponds to reverse bias. If a diode is reverse-biased, the voltage at the cathode is higher than that at the anode. Therefore, no current will flow until the diode breaks down. Reverse-bias usually refers to how a diode is used in a circuit. The connections are illustrated in the diagram to the right.

Because the p-type material is now connected to the negative terminal of the power supply, the 'holes' in the P-type material are pulled away from the junction, causing the width of the depletion zone to increase. Likewise, because the N-type region is connected to the positive terminal, the electrons will also be pulled away from the junction. Therefore, the depletion region widens, and does so increasingly with increasing reverse-bias voltage. This increases the voltage barrier causing a high resistance to the flow of charge carriers, thus allowing minimal electric current to cross the p–n junction. The increase in resistance of the p–n junction results in the junction behaving as an insulator.

The strength of the depletion zone electric field increases as the reverse-bias voltage increases. Once the electric field intensity increases beyond a critical level, the p–n junction depletion zone breaks down and current begins to flow, usually by either the Zener or the avalanche breakdown processes. Both of these breakdown processes are non-destructive and are reversible, as long as the amount of current flowing does not reach levels that cause the semiconductor material to overheat and cause thermal damage.

This effect is used to one's advantage in Zener diode regulator circuits. Zener diodes have a certain – low – breakdown voltage. A standard value for breakdown voltage is for instance 5.6 V. This means that the voltage at the cathode can never be more than 5.6 V higher than the voltage at the anode, because the diode will break down – and therefore conduct – if the voltage gets any higher. This in effect regulates the voltage over the diode.

Another application of reverse biasing is Varicap diodes, where the width of the depletion zone (controlled with the reverse bias voltage) changes the capacitance of the diode.


For a p–n junction Poisson's equation becomes

\nabla^2 \varphi =-\frac{\rho }{\varepsilon }=\frac{q}{\varepsilon }\left( \underbrace-}_{\begin{smallmatrix}

\text{equilibrium concentration} \\
\text{difference of free charges (}\approx \text{0)}


\text{concentration difference} \\
\text{of acceptor and donor atoms}

\end{smallmatrix}} \right)

where \varphi is the electric potential, \rho is the charge density, \varepsilon is permittivity and q is the magnitude of the electron charge.

Since the total charge on either side of the depletion region must cancel out it is


\text{width of } \\
\text{electric field}
\text{within p-side}


\text{width of } \\
\text{electric field}
\text{within n-side}


From the above equations and by deploying basic calculus it can be shown that the total width of the depletion region is

d=+=\sqrt{\frac{2\varepsilon }{q}\frac+}}\left( \underbrace}_{\text{ built-in voltage}}-\underbrace{V}_{\begin{smallmatrix}

\text{external applied} \\

\end{smallmatrix}} \right)}

Furthermore, by implementing the Einstein relation and assuming the semiconductor is nondegenerate (i.e. the product is independent of the Fermi energy) it follows that

=\frac{kT}{q}\ln \left( \frac}} \right)

where T is the temperature of the semiconductor and k is Boltzmann constant.[3]


The forward-bias and the reverse-bias properties of the p–n junction imply that it can be used as a diode. A p–n junction diode allows electric charges to flow in one direction, but not in the opposite direction; negative charges (electrons) can easily flow through the junction from n to p but not from p to n, and the reverse is true for holes. When the p–n junction is forward-biased, electric charge flows freely due to reduced resistance of the p–n junction. When the p–n junction is reverse-biased, however, the junction barrier (and therefore resistance) becomes greater and charge flow is minimal.

Non-rectifying junctions

In the above diagrams, contact between the metal wires and the semiconductor material also creates metal–semiconductor junctions called Schottky diodes. In a simplified ideal situation a semiconductor diode would never function, since it would be composed of several diodes connected back-to-front in series. But, in practice, surface impurities within the part of the semiconductor that touches the metal terminals will greatly reduce the width of those depletion layers to such an extent that the metal-semiconductor junctions do not act as diodes. These non-rectifying junctions behave as ohmic contacts regardless of applied voltage polarity.

See also


Further reading

External links

  • Educational video on the P-N junction.
  • "P-N Junction" - PowerGuru, August, 2012.
  • Olav Torheim, Elementary Physics of P-N Junctions, 2007.
  • PN Junction Properties Calculator
  • allows simulation and study of a P-N junction diode with different doping and materials. Users can calculate current-voltage (I-V) & capacitance-voltage (C-V) outputs, as well.
  • Theory of P-N Diodes – Dr. Vasileska (2009)
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.