Electronic Devices & Circuits · Solved Problems

PN Junction Diode Analysis

6 fully worked problems with step-by-step solutions

Dr. Mithun Mondal BITS Pilani, Hyderabad Campus Diodes
About this problem set

Six worked problems on the pn junction diode: barrier potential from the doping, the Shockley equation used in both directions, static versus dynamic resistance, a silicon-germanium diode network, load-line analysis compared across the ideal, constant-0.7 V and piecewise-linear models, and the design of a series resistor for a specified diode current.

Each problem below is solved in full — the given data is listed first, the governing relation is stated, and the arithmetic is carried through to a boxed answer. Work through the statement yourself before opening the solution. The underlying theory is covered in the Electronic Devices lecture series.

PROBLEM 01

Barrier Potential of a PN Junction from the Doping

Problem Statement

An abrupt pn junction is formed with \( N_A = 1\times10^{17}~\text{cm}^{-3} \) on the p-side and \( N_D = 1\times10^{16}~\text{cm}^{-3} \) on the n-side, at 300 K where \( V_T = 25.85~\text{mV} \).

  1. Find the built-in (barrier) potential if the material is silicon, \( n_i = 1.5\times10^{10}~\text{cm}^{-3} \).

  2. Repeat for germanium with the same doping, \( n_i = 2.5\times10^{13}~\text{cm}^{-3} \).

  3. By how much does \( V_{bi} \) of the silicon junction rise if \( N_D \) is raised to \( 1\times10^{18}~\text{cm}^{-3} \)?

Solution
  • \( N_A = 1\times10^{17} \), \( N_D = 1\times10^{16}~\text{cm}^{-3} \), fully ionised

  • \( V_T = 25.85~\text{mV} \) at 300 K

  • Abrupt junction, non-degenerate doping, thermal equilibrium (no applied bias)

Relation

The built-in potential is the amount by which the bands must bend to line up the two Fermi levels:

\[ V_{bi} = V_T\ln\!\left(\frac{N_AN_D}{n_i^2}\right) \]

Part (a) — Silicon

\[\begin{aligned} \frac{N_AN_D}{n_i^2} &= \frac{(1\times10^{17})(1\times10^{16})}{(1.5\times10^{10})^2} = \frac{1\times10^{33}}{2.25\times10^{20}} = 4.44\times10^{12} \\ V_{bi} &= (0.02585)\ln(4.44\times10^{12}) = (0.02585)(29.123) = 0.753~\text{V} \end{aligned}\]

\( V_{bi} = 0.753~\text{V} \)

Part (b) — Germanium, identical doping

\[\begin{aligned} \frac{N_AN_D}{n_i^2} &= \frac{1\times10^{33}}{(2.5\times10^{13})^2} = 1.60\times10^{6} \\ V_{bi} &= (0.02585)(14.286) = 0.369~\text{V} \end{aligned}\]

\( V_{bi} = 0.369~\text{V} \)

Part (c) — Heavier n-side doping in silicon

\[\begin{aligned} V_{bi}' &= (0.02585)\ln\!\left(\frac{(1\times10^{17})(1\times10^{18})}{2.25\times10^{20}}\right) = 0.872~\text{V} \\ \Delta V_{bi} &= 0.872 - 0.753 = 0.119~\text{V} \end{aligned}\]

\( V_{bi} \) rises to \( 0.872~\text{V} \), an increase of \( 119~\text{mV} \)

Every decade of doping on either side adds only \( V_T\ln 10 = 59.5~\text{mV} \), so \( V_{bi} \) is stubbornly close to \( 0.7~\text{V} \) for practical silicon junctions. The whole gap between the silicon and germanium answers, \( 0.384~\text{V} \), comes from \( n_i \) alone — the same reason a germanium diode turns on near \( 0.3~\text{V} \) and a silicon one near \( 0.7~\text{V} \).

PROBLEM 02

Shockley Equation: Current from Voltage and Voltage from Current

Problem Statement

A silicon diode has a reverse saturation current \( I_S = 1\times10^{-13}~\text{A} \) and an ideality factor \( \eta = 1 \). Take \( V_T = 25.85~\text{mV} \) at 300 K.

  1. Find the current at a forward bias of \( 0.6~\text{V} \).

  2. Find the forward voltage that gives \( 10~\text{mA} \), and the voltage at \( 100~\text{mA} \).

  3. Find the current at a reverse bias of \( 0.5~\text{V} \).

  4. How much extra forward voltage multiplies the current by ten?

Solution
  • \( I = I_S\!\left(e^{V/\eta V_T}-1\right) \), \( I_S = 1\times10^{-13}~\text{A} \), \( \eta = 1 \)

  • \( V_T = 25.85~\text{mV} \); temperature constant throughout (no self-heating)

Part (a) — Current at 0.6 V

\[\begin{aligned} \frac{V}{\eta V_T} &= \frac{0.6}{0.02585} = 23.2108 \\ I &= (1\times10^{-13})\left(e^{23.2108}-1\right) \\ &= (1\times10^{-13})(1.203\times10^{10}) = 1.203\times10^{-3}~\text{A} \end{aligned}\]

\( I = 1.203~\text{mA} \)

Part (b) — Voltage at a given current

With \( I \gg I_S \) the \( -1 \) is irrelevant, so invert the exponential:

\[\begin{aligned} V &= \eta V_T\ln\!\left(\frac{I}{I_S}+1\right) \\ V(10~\text{mA}) &= (0.02585)\ln\!\left(\frac{1\times10^{-2}}{1\times10^{-13}}\right) = (0.02585)(25.3284) = 0.6547~\text{V} \\ V(100~\text{mA}) &= (0.02585)(27.6310) = 0.7143~\text{V} \end{aligned}\]

\( V = 0.6547~\text{V} \) at 10 mA and \( 0.7143~\text{V} \) at 100 mA

Part (c) — Reverse bias

\[ I = (1\times10^{-13})\left(e^{-0.5/0.02585}-1\right) = (1\times10^{-13})(4.0\times10^{-9} - 1) \approx -I_S = -1.00\times10^{-13}~\text{A} \]

\( I \approx -0.1~\text{pA} \) — the exponential is dead within a few \( V_T \) of reverse bias, so the current simply saturates at \( -I_S \)

Part (d) — Decade of current

\[ \Delta V = \eta V_T\ln 10 = (0.02585)(2.3026) = 0.05952~\text{V} \]

\( \Delta V = 59.5~\text{mV} \) per decade of current

That is the practical meaning of the "0.7 V" rule: between 1 mA and 100 mA the drop moves by only two decades \( \times\ 59.5~\text{mV} \approx 119~\text{mV} \). Over the whole useful range the diode voltage barely stirs, which is why treating it as a constant is usually good enough.

PROBLEM 03

Static and Dynamic Resistance of a Forward-Biased Diode

Problem Statement

The same silicon diode (\( I_S = 1\times10^{-13}~\text{A} \), \( \eta = 1 \), \( V_T = 25.85~\text{mV} \)) is biased in the forward direction.

  1. Find the DC (static) resistance and the AC (dynamic) resistance at a bias of \( 5~\text{mA} \).

  2. Tabulate both at 0.1, 1, 5 and 20 mA and comment on how differently they behave.

  3. A small signal of \( 5~\text{mV} \) peak is superposed on the 5 mA bias. Find the peak signal current, and check that the small-signal assumption is reasonable.

Solution
  • \( R_{DC} = V_D/I_D \) — the ratio of the total voltage to the total current at the operating point

  • \( r_d = dV/dI = \eta V_T/I_D \) — the slope of the characteristic at that point

  • Bulk and contact resistance neglected; \( \eta = 1 \), \( V_T = 25.85~\text{mV} \)

Part (a) — At \( I_D = 5~\text{mA} \)

First find the operating voltage from the Shockley equation:

\[ V_D = V_T\ln\!\frac{I_D}{I_S} = (0.02585)\ln\!\frac{5\times10^{-3}}{1\times10^{-13}} = 0.6368~\text{V} \]
\[\begin{aligned} R_{DC} &= \frac{V_D}{I_D} = \frac{0.6368}{5\times10^{-3}} = 127.4~\Omega \\ r_d &= \frac{\eta V_T}{I_D} = \frac{25.85\times10^{-3}}{5\times10^{-3}} = 5.170~\Omega \end{aligned}\]

\( R_{DC} = 127.4~\Omega \), \( r_d = 5.170~\Omega \)

Part (b) — Across the bias range

\( I_D \) (mA)\( V_D \) (V)\( R_{DC} \) (\( \Omega \))\( r_d \) (\( \Omega \))
0.1000.53575357258.5
1.000.5952595.225.85
5.000.6368127.45.170
20.00.672733.631.292

\( R_{DC} \) falls by a factor of roughly 159 over this range while \( r_d \) falls by exactly 200, in strict inverse proportion to current. The two are never equal and never should be compared: \( R_{DC} \) is a bias-point bookkeeping number, \( r_d \) is what the signal sees.

Part (c) — Small-signal response

\[ i_d = \frac{v_d}{r_d} = \frac{5~\text{mV}}{5.170~\Omega} = 0.967~\text{mA (peak)} \]

\( i_d = 0.967~\text{mA} \) peak, riding on the 5 mA bias

Linearity requires \( v_d \ll V_T \). Here \( 5~\text{mV} \) is about 19 per cent of \( 25.85~\text{mV} \), so the second-order term in the expansion of \( e^{v/V_T} \) contributes only a few per cent — acceptable, but a 25 mV signal would not be.

Note that \( r_d \) does not depend on the diode's construction at all, only on the bias current: \( r_d = 25.85~\Omega \) at 1 mA, \( 5.170~\Omega \) at 5 mA. This is the same \( r_e = V_T/I_E \) that reappears in every small-signal transistor model.

PROBLEM 04

Series and Parallel Network of Silicon and Germanium Diodes

Problem Statement

Use the constant-voltage-drop model throughout: a conducting silicon diode holds \( 0.7~\text{V} \), a conducting germanium diode \( 0.3~\text{V} \), and a non-conducting diode is an open circuit.

  1. A \( 12~\text{V} \) source drives a silicon diode, a germanium diode and a \( 5.6~\text{k}\Omega \) resistor, all in series and all forward-oriented. Find the current and the resistor voltage.

  2. A \( 20~\text{V} \) source feeds a \( 2.2~\text{k}\Omega \) resistor, whose lower end drives a silicon diode and a germanium diode connected in parallel, both pointing to ground. Find the output voltage at that node, the resistor current, and the current in each diode.

  3. Two identical silicon diodes are placed in parallel, in series with a \( 1~\text{k}\Omega \) resistor across a \( 10~\text{V} \) source. Find the current in each.

Solution
  • Silicon: \( V_D = 0.7~\text{V} \) when on. Germanium: \( V_D = 0.3~\text{V} \) when on.

  • Constant-voltage-drop (second approximation) model; bulk resistance neglected.

Part (a) — Series string

One loop, so one current. KVL round the loop:

\[\begin{aligned} I &= \frac{V_S - V_{Si} - V_{Ge}}{R} = \frac{12 - 0.7 - 0.3}{5.6\times10^{3}} \\ &= \frac{11.0}{5.6\times10^{3}} = 1.964\times10^{-3}~\text{A} = 1.964~\text{mA} \\ V_R &= IR = 11.0~\text{V} \end{aligned}\]

\( I = 1.964~\text{mA} \), \( V_R = 11.0~\text{V} \)

Part (b) — Parallel pair: the germanium diode wins

Both diodes cannot conduct at once — they share the same node voltage. The germanium diode turns on at \( 0.3~\text{V} \) and clamps the node there; the silicon diode then sees only \( 0.3~\text{V} \), which is below its \( 0.7~\text{V} \) threshold, so it stays off.

\[\begin{aligned} V_o &= 0.3~\text{V} \\ I_R &= \frac{20 - 0.3}{2.2\times10^{3}} = 8.955\times10^{-3}~\text{A} = 8.955~\text{mA} \\ I_{Ge} &= I_R = 8.955~\text{mA}, \qquad I_{Si} = 0 \end{aligned}\]

\( V_o = 0.3~\text{V} \), \( I_{Ge} = 8.955~\text{mA} \), \( I_{Si} = 0 \)

The germanium diode alone dissipates \( (0.3)(8.955~\text{mA}) = 2.686~\text{mW} \).

Part (c) — Two identical silicon diodes in parallel

\[\begin{aligned} I_{\text{total}} &= \frac{10 - 0.7}{1\times10^{3}} = 9.30~\text{mA} \\ I_{\text{each}} &= \frac{9.30}{2} = 4.65~\text{mA} \end{aligned}\]

\( 4.65~\text{mA} \) in each diode, \( 9.30~\text{mA} \) total

Part (b) is the lesson worth keeping: paralleled diodes do not share — the one with the lowest turn-on takes everything. Part (c)'s tidy 50:50 split holds only for perfectly matched devices; a mismatch of \( 59.5~\text{mV} \) in \( V_D \) would send ten times as much current through one of them, which is why real paralleled diodes get individual ballast resistors.

PROBLEM 05

Load-Line Analysis with Three Diode Models

Problem Statement

A silicon diode is in series with \( R = 1~\text{k}\Omega \) across a \( 10~\text{V} \) DC supply, forward-biased. The diode obeys \( I = I_S(e^{V/V_T}-1) \) with \( I_S = 1\times10^{-13}~\text{A} \), \( \eta = 1 \), \( V_T = 25.85~\text{mV} \).

  1. Write the load line and give its two intercepts.

  2. Find the operating point using (i) the ideal-diode model, (ii) the constant \( 0.7~\text{V} \) model, and (iii) the piecewise-linear model with \( V_{T0}=0.7~\text{V} \) and bulk resistance \( r_B = 20~\Omega \).

  3. Solve the exact transcendental equation by iteration and compare all four answers.

  4. Repeat the comparison with the supply reduced to \( 1~\text{V} \).

Solution
  • \( V_S = 10~\text{V} \), \( R = 1~\text{k}\Omega \), \( I_S = 1\times10^{-13}~\text{A} \), \( \eta = 1 \)

  • The diode and the resistor carry the same current — one loop, KVL applies.

Step 1 — The load line

\[ V_S = IR + V_D \quad\Longrightarrow\quad I = \frac{V_S - V_D}{R} = \frac{10 - V_D}{1000} \]

Its intercepts on the diode's \( I\!-\!V \) plane are

  • \( V_D = 0 \Rightarrow I = 10.0~\text{mA} \) (short-circuit current)

  • \( I = 0 \Rightarrow V_D = 10~\text{V} \) (open-circuit voltage)

The operating point is where this straight line crosses the diode curve.

Step 2 — The three approximations

\[\begin{aligned} \text{(i) ideal:}\quad I &= \frac{10-0}{1000} = 10.0~\text{mA},\quad V_D = 0 \\ \text{(ii) } 0.7~\text{V:}\quad I &= \frac{10-0.7}{1000} = 9.30~\text{mA},\quad V_D = 0.7~\text{V} \\ \text{(iii) PWL:}\quad I &= \frac{10-0.7}{1000+20} = 9.1176~\text{mA} \\ V_D &= 0.7 + (9.1176~\text{mA})(20~\Omega) = 0.8824~\text{V} \end{aligned}\]

Step 3 — Exact solution by iteration

The exact statement, \( (10-V_D)/1000 = I_S e^{V_D/V_T} \), has no closed form. Guess \( V_D = 0.7~\text{V} \), get \( I \) from the load line, get a better \( V_D \) from \( V_D = V_T\ln(I/I_S) \), and repeat:

Iteration\( V_D \) assumed (V)\( I=(10-V_D)/R \) (mA)\( V_D = V_T\ln(I/I_S) \) (V)
10.70009.30000.6529
20.65299.34710.6530
30.65309.34700.6530
40.65309.34700.6530

It converges in two passes, because the load line is nearly vertical where it meets the diode curve.

Exact: \( V_D = 0.6530~\text{V} \), \( I = 9.347~\text{mA} \)

Step 4 — Comparison at \( V_S = 10~\text{V} \)

Model\( V_D \) (V)\( I \) (mA)Error in \( I \) (per cent)
Ideal (short when on)010.006.99
Constant drop, 0.7 V0.7009.300-0.503
Piecewise linear, 0.7 V + 20 \( \Omega \)0.8829.118-2.45
Exact Shockley0.6539.347

Every model lands within a few per cent of the current, even the ideal one, because \( V_S \gg V_D \): the resistor, not the diode, is setting the current. (The piecewise-linear entry is the worst here only because \( r_B = 20~\Omega \) is a deliberately generous bulk resistance — the exact model above has none.)

Step 5 — The same circuit at \( V_S = 1~\text{V} \)

\[\begin{aligned} \text{ideal:}\quad I &= \frac{1}{1000} = 1.00~\text{mA} \\ 0.7~\text{V:}\quad I &= \frac{1-0.7}{1000} = 0.300~\text{mA} \\ \text{PWL:}\quad I &= \frac{1-0.7}{1020} = 0.2941~\text{mA} \\ \text{exact:}\quad V_D &= 0.5732~\text{V},\quad I = 0.4268~\text{mA} \end{aligned}\]

At \( 1~\text{V} \) the constant-drop model is in error by -29.7 per cent, against a fraction of a per cent at \( 10~\text{V} \)

The moral of the load line: the accuracy you need from the diode model depends entirely on how much of the supply is dropped across it. When the diode holds a large share of the loop voltage, solve the exponential; when the resistor dominates, \( 0.7~\text{V} \) is plenty.

PROBLEM 06

Design: Series Resistor for a Specified Diode Current

Problem Statement

Design problem. A silicon diode is to be biased at \( 20~\text{mA} \) from a \( 9~\text{V} \) supply through a single series resistor. The diode is described by the piecewise-linear model \( V_D = 0.7 + I_D r_B \) with \( r_B = 10~\Omega \), and its absolute maximum forward current is \( 25~\text{mA} \). The supply is specified to \( \pm10 \) per cent.

  1. Compute the ideal resistor value and choose the nearest E24 standard value from 300, 330, 360, 390, 430, 470, 510 \( \Omega \).

  2. Verify the current at nominal supply and at both supply extremes against the 25 mA rating.

  3. Specify the power rating of the resistor and state the diode dissipation.

Solution
  • \( V_S = 9~\text{V} \pm 10 \) per cent, target \( I_D = 20~\text{mA} \), \( I_{D,\max} = 25~\text{mA} \)

  • Diode: \( V_D = 0.7 + I_D(10~\Omega) \) — piecewise-linear, valid over the milliampere range

  • Resistor tolerance ignored; only the supply tolerance is budgeted.

Step 1 — Ideal resistance

\[\begin{aligned} V_D &= 0.7 + (20\times10^{-3})(10) = 0.900~\text{V} \\ R &= \frac{V_S - V_D}{I_D} = \frac{9 - 0.900}{20\times10^{-3}} = 405~\Omega \end{aligned}\]

Equivalently, \( R = (V_S - 0.7)/I_D - r_B = 415.0 - 10 = 405~\Omega \).

Step 2 — Choose a standard value

\( 405~\Omega \) is not a stock value; the E24 neighbours are 390 and 430 \( \Omega \). The nearest is \( 390~\Omega \), and the smaller resistor is the one that keeps the current closer to the 20 mA target:

\[ I_D = \frac{9-0.7}{390+10} = 20.75~\text{mA} \qquad\text{vs}\qquad \frac{9-0.7}{430+10} = 18.86~\text{mA} \]

Choose \( R = 390~\Omega \), giving \( I_D = 20.75~\text{mA} \)

Step 3 — Supply-tolerance check

Supply\( V_S \) (V)\( I_D \) (mA)Within 25 mA rating?
Minimum8.1018.50yes
Nominal9.0020.75yes
Maximum9.9023.00yes, with 2.00 mA of margin

Worst-case current \( 23.00~\text{mA} < 25~\text{mA} \) — the design passes

Had \( 430~\Omega \) been chosen instead, the worst case would be only \( 20.91~\text{mA} \) — safer, but the nominal current would sit 5.7 per cent below specification.

Step 4 — Power ratings

\[\begin{aligned} P_R &= I_{D,\max}^2 R = (0.02300)^2(390) = 0.206~\text{W} \\ P_D &= V_D I_D = (0.9300)(0.02300) = 0.0214~\text{W} = 21.4~\text{mW} \end{aligned}\]

Use a \( 390~\Omega \), \( \tfrac{1}{2}~\text{W} \) resistor; the diode dissipates about \( 21.4~\text{mW} \)

A quarter-watt resistor would be running at 82.5 per cent of its rating at maximum supply, which is poor practice — the usual rule is to derate to about half, so the next size up is the right call. Note also how insensitive the current is to the diode model here: because \( V_S \gg V_D \), a \( \pm50~\text{mV} \) error in the assumed drop shifts \( I_D \) by only about 0.60 per cent.