Skip to main content

Someone wanted to learn this too, so Grasp built them a personal learning path.

You can keep exploring this one or create your own

Depletion Region and Built-in Potential in p-n Junctions

Hello! Let's dive into the next topic in our "Semiconductor Physics and Transport" module.

In our last lesson, we established how to control the concentration of electrons and holes in a semiconductor through doping, creating P-type and N-type materials. We derived the expressions for carrier concentrations (, ) and established the crucial law of mass action, . This sets the stage for today's topic.

The logical next question is: what happens when we bring these two types of materials together? The interface between a P-type and an N-type semiconductor forms a p-n junction, arguably the most important structure in all of electronics. It is the fundamental building block for diodes, solar cells, LEDs, and transistors.

Our goal for this lesson is to analyze the formation of the depletion region and the built-in potential in a p-n junction by solving the Poisson equation. We will first build a qualitative physical picture of the junction at equilibrium and then develop a quantitative model to calculate its key properties.

1. The P-N Junction at Equilibrium: A Qualitative Picture

Imagine we have a block of P-type semiconductor and a block of N-type semiconductor, separate from each other. As we saw last time, the Fermi level in the P-type material is close to the valence band, while in the N-type material, it's close to the conduction band.

What happens when we bring them into intimate contact? The system must reach thermal equilibrium. A fundamental requirement of thermal equilibrium for a system of electrons is that the Fermi level must be constant everywhere. To achieve this, electrons and holes will move, forcing the energy bands to bend in the vicinity of the junction.

This process is driven by two competing mechanisms:

  1. Diffusion: There's a massive concentration gradient for both carrier types at the junction. Holes are abundant on the P-side and scarce on the N-side, so they diffuse from P to N. Similarly, electrons diffuse from N to P. This movement of charge constitutes a diffusion current.

  2. Drift: As majority carriers diffuse across the junction, they leave behind the fixed, ionized dopant atoms. On the P-side, we are left with negatively charged acceptor ions (). On the N-side, we are left with positively charged donor ions (). This creates a region near the junction that is depleted of mobile carriers, known as the depletion region or space-charge region.

This layer of fixed positive and negative charges establishes an internal electric field, , pointing from the N-side to the P-side. This field exerts a force on any remaining mobile carriers, pushing electrons towards the N-side and holes towards the P-side. This motion constitutes a drift current that opposes the diffusion current.

Equilibrium is reached when, for each carrier type, the drift current exactly balances the diffusion current. The net current flow is zero, but a dynamic balance of opposing currents persists.

To visualize this process, please watch the following video. It provides an excellent animation of the carrier dynamics and the resulting energy band diagram.

Electronic Devices: pn junction under equilibrium - depletion width, build-in potential

This video from the channel techgurukula provides a clear, step-by-step qualitative explanation of how a p-n junction reaches equilibrium. It covers the initial diffusion of carriers, the formation of the space-charge region, and the establishment of the internal electric field.

Watch the segments from 5:32 to 10:32. Focus on how the diffusion of electrons and holes uncovers fixed dopant ions, how this creates an electric field, and how that leads to the bending of the energy bands at equilibrium.

The result of this band bending is a built-in potential barrier, , which prevents the vast majority of majority carriers from diffusing across the junction.

Electrostatic Variables for the Equilibrium p-n Junction
This figure summarizes the key electrostatic variables at an equilibrium p-n junction. (a) The energy band diagram shows the band bending and the built-in potential \(qV_{bi}\). (b) The electrostatic potential \(V(x)\) shows the potential barrier. (c) The electric field \(\mathcal{E}(x)\) is confined to the depletion region. (d) The charge density \(\rho(x)\) shows the fixed positive and negative charges of the ionized dopants.

2. Quantitative Analysis: Solving the Poisson Equation

To calculate the built-in potential and the width of the depletion region, we need a quantitative model. The governing equation is the 1D Poisson's equation, which you'll recall from electrostatics relates the electric potential to the charge density:

where is the net charge density and is the dielectric permittivity of the semiconductor.

Solving this exactly is complex because the mobile carrier concentrations and are themselves complicated functions of the potential . We can make excellent progress by adopting the depletion approximation.

The Depletion Approximation

This approximation simplifies the charge profile dramatically:

  1. Inside the depletion region (), we assume the mobile carrier concentrations are negligible (). The charge density is therefore due only to the fixed ionized dopants:
    • on the P-side ()
    • on the N-side ()
  2. Outside the depletion region, we assume the material is perfectly charge-neutral.

With this step-function charge profile, we can solve the Poisson equation by direct integration.

Step 1: Deriving the Electric Field

The electric field is related to the potential by . Therefore, the Poisson equation can be written as . Integrating this with respect to gives the electric field.
The result is a triangular field profile that peaks at the metallurgical junction () and goes to zero at the edges of the depletion region ( and ).

Step 2: Deriving the Potential

Integrating the electric field () gives the potential profile. The potential varies quadratically with position inside the depletion region. The total potential difference across the junction is the built-in potential, .

The following resource provides a detailed, step-by-step mathematical derivation of these quantities.

PN and Metal–Semiconductor Junctions

The textbook chapter 'PN and Metal–Semiconductor Junctions' by Chenming Hu presents the standard, formal derivation of the p-n junction properties. It uses the depletion approximation to solve the Poisson equation rigorously.

Please read section 4.2, 'Depletion-Layer Model' (pages 94-96). Follow the derivation starting from the charge density profile in Fig. 4-6c, through the integration to find the electric field (Eq. 4.2.3 and 4.2.4), and the second integration to find the potential (Eq. 4.2.6 and 4.2.7).

3. Key Parameters: Built-in Potential and Depletion Width

The derivation from the Poisson equation yields expressions for and the total depletion width in terms of the doping concentrations.

Built-in Potential ()

While emerges from solving the Poisson equation, it can also be found more directly from thermodynamic arguments. The requirement of a constant Fermi level means that the total band bending must be . This leads to a fundamental relationship connecting the built-in potential to the doping concentrations and the intrinsic carrier concentration:

This equation is extremely important. It tells us that the potential barrier is determined by the doping levels on both sides of the junction. Higher doping leads to a larger built-in potential.

Depletion Width ()

The depletion region as a whole must be charge neutral, which means the total negative charge on the P-side must equal the total positive charge on the N-side: . This implies that the depletion region extends further into the more lightly doped side.

By combining this charge neutrality condition with the solution to the Poisson equation, we arrive at the expression for the total depletion width:

This equation shows that the width of the depletion region increases with the built-in potential but decreases with higher doping levels.

The same textbook chapter you just read derives these results and provides a helpful example.

PN and Metal–Semiconductor Junctions

Let's revisit the textbook chapter to consolidate these final, crucial equations and see them in action.

First, review section 4.1.2 (page 93) for the derivation of the built-in potential (Eq. 4.1.2). Then, read section 4.2.2 (page 96) for the derivation of the depletion-layer width (Eq. 4.2.8). Finally, work through Example 4-1 on page 97 to see how these formulas are applied to a practical case.

Test your understanding!

Consider a silicon P+N junction where the P-side is much more heavily doped than the N-side (). How do the expressions for and simplify? Where does most of the depletion region lie?

Show answer
  1. Built-in Potential (): The expression does not simplify significantly, but since changes slowly, is primarily determined by the lighter doping, .
  2. Depletion Width (): In the term , since , we have . Therefore, the expression for the width simplifies to:

    The width is almost entirely determined by the doping on the lightly doped side.
  3. Location: From the charge neutrality condition , we get . This means . The depletion region extends almost entirely into the lightly doped N-side, and we can approximate .
For the computationally inclined: Simulating a P-N Junction

Given your interest in simulations, you might find it rewarding to numerically solve the coupled drift-diffusion and Poisson equations that we've discussed. The Python package oedes is designed for 1D semiconductor device simulation. The documentation includes a tutorial that walks you through building a p-n junction model from scratch.

This is an excellent way to see how the theoretical equations are implemented in practice. You could try to set up a simulation with the parameters from Example 4-1 in the textbook and see if your numerical solution for the equilibrium potential profile matches the analytical result.

oedes Documentation

The oedes documentation provides a tutorial for simulating a p-n junction.

This is an optional activity. If you're interested, you can follow the 'Tutorial: PN junction' (Chapter 4, pages 7-11). Pay close attention to how the PoissonEquation is defined and how the pn_doping profile is implemented. Sections 5.3 and 5.17 provide the underlying theory for the Poisson equation used in the package.

Conclusion

Today, we have dissected the p-n junction, the heart of modern electronics. By analyzing the interplay of carrier diffusion and drift, we developed a physical model for the junction at equilibrium.

Key Takeaways:

  • When P-type and N-type semiconductors are joined, carrier diffusion creates a depletion region of fixed ionized dopants near the interface.
  • This space charge gives rise to a built-in electric field and a corresponding built-in potential (), which opposes further diffusion.
  • The system reaches equilibrium when the drift and diffusion currents for each carrier type exactly balance.
  • Using the depletion approximation, we can solve the Poisson equation to find the electric field (triangular profile) and electrostatic potential (parabolic profile) across the junction.
  • The built-in potential and depletion width are determined by material properties and doping concentrations:

Preview of Next Lesson:
We have now analyzed the equilibrium state of the most important semiconductor interface. The next few lessons will shift focus from interfaces back to bulk transport phenomena. We will introduce a more powerful and general framework for describing how charge carriers move under the influence of external forces: the Boltzmann transport equation. Applying it in the relaxation time approximation will allow us to derive expressions for fundamental transport coefficients like electrical and thermal conductivity, which are essential for understanding how a device actually functions when it's part of a circuit.

Can't find a good explanation? Sign up and we'll make it for you

Sign up