Overview

Readings Neamen 7.1, 7.2.1–7.2.3, 7.3.1, 8.5.1 · Serway & Jewett 42.7 · week 7

Everything so far was about a single piece of semiconductor. This chapter joins a p-type piece and an n-type piece, and that one contact is the p-n junction, the building block of the diode, the LED, the solar cell and the transistor.

The chapter comes down to five ideas:

  1. Holes and electrons diffuse across the boundary and recombine, which leaves a thin depletion region of exposed (fixed) donor and acceptor ions.
  2. Those exposed ions create an electric field and a potential step, the built-in potential , which stops the diffusion.
  3. is set by the doping: . It is the amount the two Fermi levels had to shift to line up.
  4. An applied voltage changes the barrier to . Reverse bias widens the depletion region and forward bias narrows it.
  5. The depletion width follows from Poisson’s equation: , and the lighter-doped side takes most of the width.

Capacitance of the junction ( Chapter 8) is not on the midterm. Everything in this chapter is.

Notes

How a junction forms

What you're learning

  • About: What happens when p-type and n-type material touch.
  • Goal: Explain diffusion, recombination and the depletion region of exposed ions.
  • Connects to: Doping from Ch 3, and the flat Fermi level from Ch 6.

Put p-type material (lots of holes, few electrons) against n-type material (lots of electrons, few holes). Think of two gases separated by a porous wall with a different concentration on each side. When the wall is removed, particles diffuse from high concentration to low concentration, no electric force needed.

  1. Diffusion. Holes diffuse from the p side into the n side. Electrons diffuse from the n side into the p side.
  2. Recombination. A diffusing electron meets a hole on the other side and they annihilate, since the electron falls back into the empty bond and the energy leaves as heat or a photon (the photon case is the LED, Lab 4). One electron and one hole disappear.
  3. Exposed ions. The dopant atoms don’t move, because they’re locked in the crystal. Near the boundary, the mobile carriers that used to cancel them are gone, so the fixed ions are uncovered:
    • On the n side, each electron that left uncovers a positive donor ion (charge ).
    • On the p side, each hole that left uncovers a negative acceptor ion (charge ).

A note on symbols: and are the same acceptor and donor concentrations that Chapter 3 wrote as and (lower case is just the usual convention for junctions). C is the elementary charge, so is the charge per cm³ of the exposed donor ions. is position measured across the junction, with at the boundary, and and are how far the depletion region reaches into the n and p sides.

That region is the depletion region (also called the space charge region or charge depletion region). It has almost no free carriers, only fixed ions, which is the whole reason it’s called “depleted”. Its total width is .

Animated p-n junction formation, physical picture and band diagram (open this page on the site to use it).
*Figure 7.1: How a p-n junction forms, shown twice on one x-axis. Top, the physical picture: mobile holes and electrons diffuse across, recombine (the flashes), and uncover fixed ions, which makes the depletion region. Bottom, the energy picture: the p side's bands rise by $eV_{bi}$ until the two Fermi levels line up. The bars at the bottom show diffusion falling to meet drift. Press play, scrub the time slider, or change the doping. The drawing is schematic: it is not to scale, and a carrier fading in far from the junction just keeps the neutral regions at their doping density.*

The pure-water analogy from Chapter 3 doesn't apply here. The region is not a neutral mixture, it's a layer of uncovered charge. A good picture is two walls of fixed ions facing each other across a gap that carriers have been swept out of.

The diffusion doesn’t go on forever. The uncovered charge builds an electric field that pushes carriers back the way they came, opposing the diffusion. The depletion region grows until the field-driven flow exactly cancels the diffusion flow, and then the junction is in equilibrium with no net current.

Neutrality of the whole sample. The sample as a whole is still electrically neutral. Every electron that left an n-side donor ended up recombined on the p side, so the positive charge uncovered on the n side equals the negative charge uncovered on the p side. For a cross-sectional area :

This tells you something useful right away: the more heavily doped side has the thinner depletion layer. If , then , and the depletion region reaches mostly into the lightly doped n side. The same total charge needs fewer layers where the charge density is higher.

Example 7.1: Splitting the depletion width

A junction has cm⁻³ on the p side and cm⁻³ on the n side. The depletion region reaches into the n side. How far does it reach into the p side, and what is the total width?

Show answerHide answer

From the charge balance, Eq. (7.1):

The p side has the doping and only of the depth. Check the charge: cm⁻² and cm⁻² ✓. The two sides hold equal and opposite charge.

Neutrality fails at the interface between two different materials, which is exactly where a junction forms. That's why a field can exist there without violating the rule from Chapter 3.

Electric field and potential in the junction

What you're learning

  • About: The field and potential created by the depletion charge.
  • Goal: Find the field’s direction and its profile across the junction, and the potential that goes with it.
  • Connects to: Electrostatics from Ch 1.

Direction of the field. The n side of the depletion region is positively charged and the p side is negatively charged. The field points from positive to negative, so across the junction it points from the n side to the p side. A hole at the junction is pushed back toward p and an electron is pushed back toward n, which is the field opposing the diffusion.

Example 7.2: Which way does the field point?

A silicon p-n junction at K has on the p side and on the n side. In the depletion region, which way does the electric field point?

Show answerHide answer

The n side of the depletion region has exposed donor ions and the p side has exposed acceptor ions. A field points from positive charge to negative charge, so it points from the n side to the p side. That is the direction that pushes electrons back toward n and holes back toward p, opposing diffusion.

Model: the depletion approximation. To get numbers we use a simple model. The depletion region has sharp edges at and , with a uniform charge density inside, and the neutral regions outside have no field. Then:

RegionCharge density
(neutral p)
(neutral n)

Poisson’s equation connects charge, field and potential, and it’s the only new tool this chapter needs:

where is the electric field at position , is the electrostatic potential (V), and is the charge density (C/cm³). This is not the resistivity from Chapter 3; the chapter uses it only for charge density. is the permittivity of the semiconductor. For silicon , and the number most convenient for our units is

(The second form has the electron charge folded in, so the in the formulas below cancels.) The relative permittivity is how much the material reduces the field compared with vacuum, because its atoms polarize.

Field. Integrate once, starting from at each edge of the depletion region:

The minus sign means the field points in the direction, from n to p. The field is zero at both edges and is largest in magnitude at the junction , where the two expressions agree:

(They agree because of Eq. 7.1.) The graph of is a triangle, as in Figure 7.2.

Example 7.3: Peak field in the junction

For the junction above (, cm⁻³, , ) in silicon, find using each side. Use F/cm.

Show answerHide answer

Both sides agree, as Eq. (7.4) says they must. The field is kV/cm, strong enough to sweep carriers out of the depletion region almost instantly, although the junction itself is only a fraction of a micron wide.

Potential. Because , the potential is the (negative) area under the field graph. Taking at the far p edge and integrating up to the n edge:

The potential climbs smoothly from the p side to the n side, and the total rise is

This is the same as the area of the field triangle: (Eq. 7.12).

Example 7.4: Potential step from the charge profile

Use Eq. (7.6) on the same junction to find , then check it against the triangle area .

Show answerHide answer

Triangle check: V ✓. Notice the lightly doped n side contributes of the potential step, because it takes of the width.

Interactive p-n junction diagram (open this page on the site to use it).
*Figure 7.2: A p-n junction (shown with $N_a > N_d$). Left, the three profiles: the charge density is two blocks of equal area, the field is a triangle peaked at the junction, and the potential rises from the p side to the n side by $V_{total}$. The more heavily doped p side is thinner. Right, the band diagram (electron energy increases upward): unbiased there is one flat $E_F$, forward bias lowers the barrier and splits the Fermi levels by $eV_D$, and reverse bias raises the barrier and splits them the other way. Drag the bias and the doping to see all of it change.*

Reading the plots is a 3-step habit. Charge density is the slope of . Field is minus the slope of . So a flat gives a straight-line and a parabolic . A steep line means high doping.

Fermi levels and the built-in potential

What you're learning

  • About: Band bending as the Fermi levels line up.
  • Goal: Compute the built-in potential from the doping.
  • Connects to: The Fermi-level position from Ch 6.

Chapter 6 showed that in equilibrium a single Fermi level applies to the whole system. Before the p and n pieces touch, they have different Fermi levels: sits near in the p-type piece and near in the n-type piece. Once they touch, electrons flow from the higher- side (n) to the lower- side (p) until the levels line up. That’s the same diffusion described above.

A useful analogy is two water tanks at different heights joined by a pipe. Water flows until both surfaces are at the same level, and plays the role of the water level.

The energy bands themselves can’t stay put while moves, so they bend. In the depletion region the bands shift vertically so that is flat all the way across. The amount of the shift is the original difference between the two Fermi levels:

Here and are the Fermi levels of the n-type and p-type pieces, and is the built-in potential, the potential step across the junction in volts (multiplying by turns it into an energy).

Why does uphill point to the left? In Chapter 1 the potential rose toward the positive side. Here the band diagram looks like it climbs toward the p side. The band diagram shows the energy of an electron, , and electrons have negative charge. So high potential on the n side is low electron energy on the n side. Electrons “roll uphill” in potential, because that lowers their energy.

The band diagram is the right-hand side of Figure 7.2 above.

Formula for . We want the Fermi level difference in terms of the doping. From Chapter 6 (strong doping):

Here is the intrinsic Fermi level (about mid-gap) and the intrinsic concentration, both from Chapters 3 and 6.

  • On the n side, , so .
  • On the p side, , so .

Add the two. The intrinsic level cancels, leaving :

  • and here mean the net doping on each side: on the p side and on the n side.
  • is in volts, so with eV you get in volts directly.
  • Higher doping on either side raises , but only logarithmically. Silicon junctions land between about 0.6 V and 0.9 V.
  • depends on temperature through both and . It does not simply double if doubles, because also changes (and rises sharply).
  • can never exceed . At extreme doping it approaches the gap (about 1.1 V for Si).

Example 7.5: Built-in potential

A silicon p-n junction at K has cm⁻³ and cm⁻³ on the n side, and cm⁻³ on the p side. Find . Use cm⁻³.

Show answerHide answer

The n side has both kinds of doping, so use the net donor concentration:

The p side is cm⁻³ (only acceptors). By Eq. (7.8):

This agrees with V; the tiny difference is rounding in and .

Using the total instead of the net gives V. The difference is small here only because of the logarithm, but net doping is what the formula needs.

Example 7.6: Does double if doubles?

For a given device, the temperature doubles. What happens to the potential barrier?

Show answerHide answer

It changes, but doesn’t exactly double, because depends on temperature too. In , the prefactor does double, but grows rapidly with (Chapter 6), which shrinks the logarithm. The doping and are fixed by the crystal and don’t change with .

is not a battery. You cannot put a voltmeter across a diode and read it. It is the internal potential step that the contact between two Fermi levels leaves behind, and every other contact in the circuit (metal to semiconductor) has its own potential step that cancels it. A diode at zero bias has zero net voltage and zero current.

Applying a voltage: forward and reverse bias

What you're learning

  • About: What an applied voltage does to the junction.
  • Goal: Explain forward and reverse bias, how the barrier changes, and the diode equation.
  • Connects to: The built-in potential above.

The bias is the voltage applied across the diode, defined as the potential of the p side minus the n side.

BiasConnection
Forwardp side to the positive terminal
Reversen side to the positive terminal, written
Zeroshort-circuited or unconnected

Almost all of the applied voltage drops across the depletion region, because that’s the high-resistance part (it has no free carriers). So the voltage that the depletion region sees, (the total potential step across it, in volts), is

In the energy diagram, the Fermi levels on the two sides are no longer equal (the junction isn’t in equilibrium any more). They’re separated by exactly the applied energy:

Example 7.7: The total barrier under bias

A diode has V. Find the total barrier (a) with a V reverse bias, (b) when the p side is connected to the positive terminal of a V source.

Show answerHide answer

(a) Reverse: V, so by Eq. (7.9)

(b) The p side is on the positive terminal, so this is forward bias, V:

Fermi levels in each case. In forward bias is eV above , so the p-side Fermi level is the lower one. (In reverse bias it’s the opposite.) The Fermi levels are aligned only at zero bias.

Reverse bias (, Figure 7.2, band diagram with the bias set negative):

  • is larger than , so the barrier is higher.
  • More ions get uncovered, so the depletion region widens.
  • Majority carriers (holes on p, electrons on n) are blocked by the taller barrier.
  • Minority carriers (electrons on the p side, holes on the n side) are swept down the barrier. This current is small, because it’s limited by the tiny number of minority carriers, and it hardly depends on the voltage.

Forward bias (, Figure 7.2, band diagram with the bias set positive):

  • is smaller than , so the barrier is lower.
  • Fewer ions stay uncovered, so the depletion region narrows.
  • Majority carriers can cross the lowered barrier (electrons n→p, holes p→n), which gives a large current.

So the junction conducts easily in one direction and hardly at all in the other. That’s what a diode is.

The diode equation (details in Neamen 8.5.1) summarises this:

  • is the diode current (A) and the applied bias (V).
  • V at 300 K is the thermal voltage.
  • is the reverse saturation current. For Si junctions it’s typically to A. It depends on temperature but not on .
  • is positive when the current flows from p to n.
  • Forward (): , an exponential rise.
  • Reverse (, ): , tiny and flat.

Example 7.8: Forward and reverse diode current

An ideal silicon diode has A at K. Find the current at (a) V and (b) V.

Show answerHide answer

(a) Forward:

(b) Reverse, with so the exponential vanishes:

The forward current is about times bigger than the reverse current, and a change of only V in forward bias multiplies the current by .

Example 7.9: Voltage needed for a target current

The diode above ( A) must carry mA. What forward voltage does that need, and what voltage change multiplies the current by a further ?

Show answerHide answer

For , invert :

Each factor of in current costs mV, so mA to mA needs about V. Because the voltage depends only on the logarithm of the current, the forward drop of a conducting silicon diode stays between about and V over a huge range of currents.

Lab 3: checking the diode equation

What you're learning

  • About: Testing the diode equation on a real junction in Lab 3.
  • Goal: Straighten the exponential by plotting against , and extract and the slope.
  • Connects to: The diode equation above.

Lab 3 tested Eq. (7.10) head-on. The “diode” was a silicon n-p-n transistor with its base tied to its collector, so one p-n junction acted as the diode. Eq. (7.10) there is , which the lab report writes with in place of .

One-way valve. The multimeter’s diode test read about V forward across both junctions ( mV base-emitter, mV base-collector) and overload in reverse. Nothing flowed. That’s forward and reverse bias from above, on two junctions in one package.

Straightening the exponential. For , Eq. (7.10) becomes . Taking the natural log of both sides gives

so against is a straight line. The slope is and the intercept is . We doubled the current from mA up to mA (eight points) in ice water, at room temperature and in hot water:

Bath (K)Ideal slope (V⁻¹)Measured slope (V⁻¹) from the intercept (A)
Ice water282.1541.132.1
Room294.7539.431.5
Hot water349.6533.224.0

Two things stand out.

  • The slope falls as rises, in the order predicts. That’s growing with temperature, so the same voltage buys less of an exponential.
  • rises enormously, by a factor of about over this K span. In the ideal-diode theory behind Eq. (7.10), scales with , and roughly doubles every K (Chapter 5), so should grow by around over K. That’s the same ballpark. Each is only good to about , because the intercept is found by extending a fit made at to V back to . Small slope errors become big intercept errors, so trust the trend and not the digits.

The slope is a little too shallow. Solving for gave J/K, which is above the accepted J/K. Equivalently, the real diode follows

with an ideality factor . Eq. (7.10) is the case. Real junctions fall between (current carried by diffusion across the neutral regions) and (recombination inside the depletion region matters). Our data points to two culprits:

  • Series resistance and heating at high current. On the room-temperature run, the lowest four currents give a slope of V⁻¹ (), but the highest four give only V⁻¹ (). The line bends over as part of drops across the leads and bulk silicon instead of the junction, and as mA heats the junction above the bath.
  • A drifting bath. The hot water cooled by K during the run, which is why it gave the worst ( J/K).

What it means in practice. For an ideal diode at room temperature each doubling of current costs mV, and each factor of costs mV (the ” V multiplies the current by ” in Example 7.8). Our lowest-current doublings cost about mV ( V), close to ideal. By the top of the range the steps had grown to about mV ( V), which is the series resistance. With the overall slope of V⁻¹, a decade of current took about mV, not .

Lab 4 uses this same equation on LEDs. Past about mA the current is climbing exponentially, so the LED "turns on" at a voltage that depends on , and is smaller for a wider gap (Chapter 5). The recombination in the junction is the same process described above, except that in a direct-gap material each event releases a photon.

Width of the space charge region

What you're learning

  • About: How wide the depletion region is.
  • Goal: Find , and from the doping and the total voltage, and see how bias changes them.
  • Connects to: The charge balance and potential from the sections above.

Now put the pieces together to find , and for a given .

Step 1: charge balance. From Eq. (7.1), .

Step 2: potential. Substitute that into Eq. (7.6):

Step 3: solve for (and then from step 1):

with .

What the formulas tell you:

  • Every width scales as . Quadrupling only doubles .
  • is fixed by the doping, so when grows by some factor, grows by the same factor.
  • If one side is much more heavily doped (say ), then and the depletion region lies almost entirely in the lightly doped side. This is called a one-sided junction, and .
  • Reverse bias grows . Forward bias shrinks it.

Example 7.10: Depletion widths under reverse bias

A silicon p-n junction at K has cm⁻³ and cm⁻³. Find , , and at a reverse bias of V.

Show answerHide answer

Step 1: .

Step 2: . Reverse bias adds:

Step 3: . With F/cm, the combination is

so, by Eq. (7.11a),

Step 4: the rest.

The lightly doped n side takes 80% of the width.

Step 5: the field, with a check.

Check with the triangle: V ✓.

Example 7.11: Scaling with bias

A silicon junction has m with no bias and V. Find with a V reverse bias, and say what happens to if rises by 50%.

Show answerHide answer

Since and the doping doesn’t change, take a ratio:

For the second part, with a fixed ratio, so if increases by 50%, also increases by exactly 50%.

Without the doping values you can still compare widths by taking ratios. Both and scale with the same factor, so everything except drops out.

Example 7.12: A one-sided junction

A silicon junction has cm⁻³ and cm⁻³, with V. Find , and .

Show answerHide answer

, so the depletion region lies almost entirely in the n side and :

The p side contributes about one thousandth of the width. The exact formula (7.11c) gives the same answer, since . In a one-sided junction, only the lightly doped side matters for width.

A triangle shortcut. Since is the area of the field triangle (base , height ):

so once you have , the peak field is a one-line calculation. It also gives a quick check on any answer: must give the same number.

Units. Use cm everywhere: in F/cm (or in /(V·cm) so the cancels), concentrations in cm⁻³, and the width comes out in cm. Convert to µm at the end ( cm).

Key formulas

Charge balance

Poisson’s equation and the field

  • ; for Si , F/cm
  • : charge density (C/cm³), not resistivity; : peak field at ; , : depletion depth on the n and p sides; ; C
  • The field points from n to p

Built-in potential

  • , : net doping on the p and n sides

Bias

  • forward (barrier down, shrinks) · reverse (barrier up, grows)

Depletion widths

Diode equation

Common mistakes

  • Using the total doping instead of the net doping on a side with both and in and the width formulas
  • Mixing up the definition of . It’s the p side minus the n side, so forward bias is positive. Reverse bias adds to the barrier:
  • Treating as a voltage you can measure with a meter or as a source that could drive current
  • Saying the depletion region is wider on the more heavily doped side. It’s the opposite: puts most of the width on the lighter side
  • Forgetting the : doubling doesn’t double , it multiplies it by
  • Reading the band diagram as electric potential. It shows electron energy, so “uphill” runs in the opposite direction to the potential
  • Mixing cm and µm in the width formula. Work in cm and convert at the end
  • Using the wrong : pairs with (and with ), never with
  • Thinking the field is zero inside the depletion region because there are no free carriers. The fixed charge is exactly what makes the field
  • Believing a doubled temperature doubles (it doesn’t, because also changes)
  • Expecting a real diode to follow exactly. Lab 3’s silicon junction gave , which is about mV per decade of current at room temperature instead of mV
  • Reading off the intercept of a against fit and trusting the digits. The intercept is an extrapolation to from data at to V, so it carries or worse. The trend with temperature is the reliable part