Hello! In our last session, we put theory into practice by solving problems on carrier concentrations and current mechanisms. Today, we'll continue this practical focus by turning our attention to the electrostatics of the PN junction.
You've already learned how the diffusion of carriers across the junction creates a depletion region with a built-in potential. This lesson is dedicated to solving numerical problems that quantify this phenomenon. We will calculate the key parameters of the junction at equilibrium and under reverse bias: the built-in potential (), the depletion region width (), and the peak electric field (). Mastering these calculations is fundamental to understanding how diodes and transistors operate.
A Visual and Theoretical Recap
Before we start calculating, let's quickly review the concepts. When a PN junction is formed, diffusion creates a region depleted of mobile carriers near the metallurgical junction. This leaves behind fixed ionized acceptors on the p-side (negative charge) and ionized donors on the n-side (positive charge).

This charge distribution gives rise to an electric field pointing from the n-side to the p-side, which in turn creates a potential difference—the built-in potential, or . This potential opposes further diffusion, and in equilibrium, the drift current it causes perfectly balances the diffusion current.
As you appreciate the derivations behind the formulas, you might recall Professor Razavi explaining precisely how this balance leads to the equation for the built-in potential. For a quick refresher on that derivation, you can revisit his lecture.
Razavi Electronics 1, Lec 4, PN Junction in Equilibrium & Reverse Bias
In this section of his lecture, Professor Razavi derives the expression for the built-in potential (V_0) from first principles by equating the drift and diffusion hole currents.
Watching the segment from the mathematical derivation will remind you how the equation V_0 = \frac{kT}{q} \ln\left(\frac{N_A N_D}{n_i^2}\right) emerges directly from the physics of the equilibrium condition.
A Step-by-Step Calculation for a Junction at Equilibrium
Now, let's work through a complete example. We'll calculate all the key electrostatic parameters for a silicon PN junction at zero bias. The following video provides a clear, step-by-step solution. We will follow its process to see the full workflow.
PN Junction Example: Depletion Width, E-Field
This example problem from the channel Jordan Edmunds Chetty calculates the built-in potential, depletion widths, and maximum electric field for a specific PN junction.
Watch the video and follow the calculations. I've broken down the process to match the video's flow. Calculate Built-in Potential (V_{bi}): First, watch the calculation of Vbi. The video uses the formula we just reviewed, plugging in the given doping concentrations (N_A, N_D) and constants for silicon at 300 K. Calculate Depletion Width on the N-side (x_n): Next, observe the calculation for xn. The formula used is derived from Poisson's equation. Pay close attention to the handling of units (e.g., using permittivity in F/cm) as this is a common source of error. Calculate Depletion Width on the P-side (x_p): The video then finds x_p very efficiently. As shown in this section, instead of reusing the long formula, it uses the charge neutrality condition: N_A x_p = N_D x_n. This is a much faster approach. Note that since N_A > N_D in this example, x_p is much smaller than x_n. The depletion region extends further into the more lightly doped side. Calculate Maximum Electric Field (|E_{max}|): Finally, watch the calculation of Emax. The peak field occurs at the metallurgical junction (x=0) and can be found by integrating the charge density over one side of the depletion region. The formula is |E_{max}| = qN_A x_p / \epsilon_s = qN_D x_n / \epsilon_s.
This example gives you a complete template for analyzing the electrostatics of a PN junction at zero bias.
The Effect of Reverse Bias
What happens if we apply an external voltage? If we apply a voltage that makes the n-side more positive than the p-side (a reverse bias), this external voltage adds to the built-in potential. The total potential barrier across the junction becomes .
This larger potential barrier requires more uncovered fixed charge to support it. Consequently, the depletion region must widen. The equations for , , , and remain the same, but we must replace with the total junction potential, .
Let's see this in practice with an example from a textbook.
[PDF] 7.1 | BASIC STRUCTURE OF THE pn JUNCTION
This reading contains a worked example of a PN junction under reverse bias.
Please find Example 7.3 in the text. It takes a junction with known parameters (and a V_{bi} of 0.635 V, calculated in a previous example) and applies a reverse bias of V_R = 5 V. Read through the calculation. Notice how the total potential used in the formula for W is now (0.635 + 5) V. As the comment notes, the depletion width increases significantly, from 0.951 µm at zero bias to 2.83 µm at 5V reverse bias.
Your Turn: Practice Problem
Now it's time for you to apply these concepts. Using the formulas and methods from the examples, solve the following problem.
[PDF] 7.1 | BASIC STRUCTURE OF THE pn JUNCTION
This section contains end-of-chapter problems. Problem 7.16 is an excellent exercise to consolidate what we've covered.
Please navigate to the "Problems" section at the end of the chapter and find Problem 7.16. It asks you to calculate V_{bi}, W, and E_{max} for a silicon PN junction at both zero bias (V_R = 0) and under a 5V reverse bias (V_R = 5 V). Work through the problem on your own. This is a great way to test your understanding of the entire workflow. Use the worked examples in the video and the text as a guide if you get stuck.
Given Constants for Silicon at T = 300 K:
- Intrinsic carrier concentration,
- Permittivity,
- Elementary charge,
- Thermal voltage,
Conclusion
In this lesson, we focused on the practical application of the electrostatic equations governing the PN junction. You have learned how to systematically calculate the key parameters that define the junction's state both in equilibrium and under reverse bias.
Key Takeaways:
- Built-in Potential () is determined by the doping concentrations on both sides: .
- Depletion Width () depends on the total junction potential and widens with reverse bias: .
- The depletion region extends further into the lightly doped side of the junction.
- Maximum Electric Field () occurs at the metallurgical junction and also increases with reverse bias.
We have now established a solid understanding of the PN junction in states where very little current flows. In our next lesson, we will explore what happens when we apply a forward bias. This will unlock the primary function of the PN junction as a diode and lead us to its all-important current-voltage (I-V) characteristic.