Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 5

PN Junctions: Formation, Depletion, and Built-in Potential

Recommended resources

Welcome to our next session. In our previous lesson, we established the two fundamental ways charge carriers move in a semiconductor: drift, driven by an electric field, and diffusion, driven by a concentration gradient. We concluded by noting that the interplay between these two mechanisms is the key to all semiconductor devices.

Today, we will apply this knowledge to understand our first, and most fundamental, semiconductor device: the PN junction. Your goal is to explain the sequence of events that occurs when p-type and n-type silicon are brought together, leading to the formation of the depletion region and the establishment of an internal built-in potential. This lesson lays the conceptual groundwork for the diode, which is the cornerstone of countless electronic circuits.

The Moment of Contact: A Tale of Two Currents

Imagine we have two separate, electrically neutral blocks of silicon. One is p-type, rich in holes, and the other is n-type, rich in electrons. What happens at the very instant they are joined to form a single, continuous crystal?

Professor Razavi provides an excellent step-by-step walkthrough of this process. The key is to recognize the immense concentration gradient that now exists at the metallurgical junction.

Razavi Electronics 1, Lec 3. Diffusion, Intro. to PN Junction

Watch this segment from Professor Razavi's lecture. He explains the initial charge movement and the consequences that follow.

Focus on the sequence of events he describes from here. Pay close attention to: The initial diffusion of majority carriers (electrons and holes) across the junction. The formation of immobile positive and negative ions left behind. How this creates a region "depleted" of mobile carriers, which he defines as the depletion region. The creation of an electric field that opposes further diffusion.

Let's break down the process you just watched:

  1. Diffusion: Due to the massive concentration difference, holes from the p-side diffuse into the n-side, and electrons from the n-side diffuse into the p-side. This constitutes a large but transient diffusion current.

  2. Uncovering Space Charge: As mobile carriers cross the junction, they leave their parent atoms behind. An electron departing the n-side leaves behind a positively charged donor ion (). A hole departing the p-side (or being filled by a diffusing electron) leaves behind a negatively charged acceptor ion (). Crucially, these ions are part of the crystal lattice and are immobile.

  3. The Depletion Region: This process creates a region around the junction that is depleted of free, mobile carriers. Instead, it contains a "space charge" of fixed positive ions on the n-side and fixed negative ions on the p-side. This is known as the depletion region or space charge region.


Reaching Equilibrium: A Dynamic Standoff

The story doesn't end with the formation of the depletion region. The separated positive and negative space charges create an internal electric field () that points from the n-side (positive ions) to the p-side (negative ions).

This electric field now exerts a force on any charge carriers present. It pushes the few minority electrons on the p-side toward the n-side, and the few minority holes on the n-side toward the p-side. This constitutes a drift current that flows in the opposite direction of the diffusion current.

As more carriers diffuse, the depletion region widens, the space charge increases, and the internal electric field grows stronger. This, in turn, increases the opposing drift current. Eventually, the system reaches a state of equilibrium where the magnitude of the drift current perfectly balances the magnitude of the diffusion current.

At equilibrium:

The net current across the junction becomes zero, as it must be for a device with no external connections.


The Built-in Potential ()

The internal electric field across the depletion region creates a potential difference, or voltage. This voltage is called the built-in potential, denoted as or . It is the potential barrier that maintains the equilibrium by opposing further net diffusion of majority carriers.

Professor Razavi provides a superb summary of this equilibrium state and sets up the mathematical argument for deriving , which will be the entire focus of our next lesson.

Razavi Electronics 1, Lec 4, PN Junction in Equilibrium & Reverse Bias

In this follow-up lecture, Professor Razavi first recaps the formation process and then explains the equilibrium condition mathematically.

Watch the quick review from this section to solidify your understanding of the formation of the depletion region. Next, focus on the explanation of the equilibrium condition from "how do we approach this mathematically?". The key idea here is that equilibrium is achieved when the drift current perfectly cancels the diffusion current. This balance is the starting point for calculating the built-in potential.

The built-in potential is an internal property of the junction, determined by the doping concentrations (, ) and temperature. As Professor Razavi notes, you cannot measure it with an external voltmeter because connecting the probes creates new metal-semiconductor junctions with their own built-in potentials that cancel out in the measurement loop.


Visualizing the PN Junction at Equilibrium

Given your interest in sketching and visual representations, it's incredibly useful to see how these concepts map onto a series of graphs. The following image provides a complete picture of the electrostatics of the PN junction at equilibrium.

This composite diagram illustrates the state of a PN junction at equilibrium. From top to bottom: (1) Carrier concentrations (log scale), showing the sharp drop within the depletion region. (2) Net space charge density (\(\rho\)), showing the fixed negative ions on the p-side and positive ions on the n-side. This is often simplified as a rectangular profile known as the "depletion approximation". (3) The resulting internal electric field (\(E\)), which has a triangular profile. (4) The electrostatic potential (\(V\)), showing a smooth drop across the junction. The total potential difference is the built-in potential, \(V_0\) (labeled \(\Delta V\)).

As an aspiring engineer, you should become intimately familiar with these four plots and how they relate to one another. The charge distribution () is the source. Integrating it once (using Poisson's equation, which is derived from Gauss's law) gives the electric field (). Integrating the electric field once more gives the potential (). In our next lesson, we will perform these integrations to derive the formula for .

To formalize this model, it is helpful to start with a simplified but powerful assumption.

PN and Metal–Semiconductor Junctions - Chenming Hu

This text from Chenming Hu's textbook introduces the idealizations we use to analyze the junction.

In section 4.1, read the brief paragraph on the step junction. Then, in section 4.1.1, read the description of the depletion layer approximation. This is the assumption that the charge density is perfectly rectangular, as shown in the "Charge" plot in the image above.


Conclusion

In this lesson, we have seen how the fundamental processes of drift and diffusion combine to establish a stable equilibrium condition in a PN junction. This is the foundation upon which all diode and transistor action is built.

Here are the key takeaways:

  • When p-type and n-type semiconductors are joined, majority carriers diffuse across the junction, creating a diffusion current.
  • This diffusion leaves behind fixed, immobile ions, forming a depletion region (or space charge region) that is devoid of mobile carriers.
  • The separated charges in the depletion region create an internal electric field, which in turn causes an opposing drift current.
  • Equilibrium is reached when the drift and diffusion currents exactly balance, resulting in zero net current.
  • The built-in potential () is the voltage that develops across the depletion region due to the internal electric field, and it is this potential that maintains the equilibrium.

In our next lesson, we will move from this conceptual explanation to a rigorous mathematical treatment. We will start from the equilibrium condition () and derive the precise expression for the built-in potential, .