C5 · Lesson 3 · Diode models and circuit analysis
Choosing how much of the exponential you need
Put a diode in series with a resistor and a battery and ask for the current. Ohm's law gives the current from the diode's voltage, and the diode's exponential gives the voltage from the current, so you can't write down a simple formula for the answer. Engineers handle this with a set of models of increasing accuracy: an ideal switch, a fixed 0.7 V drop, a drop plus a small resistance, and the full exponential. The skill is picking the simplest one that's good enough, and knowing when it isn't.
- The diode's exponential curve and the resistor's load line, . The circuit's operating point is where they cross: it's the only point that satisfies both.
- Raise or lower : the load line moves, but the diode voltage hardly changes. That's why a fixed 0.7 V drop works so well.
- Bring down near 1 V and compare the readouts: the 0.7 V estimate gets noticeably worse when the supply is close to the drop.
Predict
A diode with A is in series with 1 kΩ across 5 V. The 0.7 V model gives 4.30 mA. How far off is that?
Less than 1%. The exact answer is 4.307 mA at 0.693 V. Because the diode's voltage changes only 60 mV for a tenfold change in current, almost any reasonable guess for its voltage gives nearly the right current when the supply is several volts.
Name it
A hierarchy of models
| Model | Conducting | Blocking | Use it for |
|---|---|---|---|
| ideal | a short, | an open circuit | which diodes conduct; supplies much larger than 0.7 V |
| constant drop | V | open | most hand analysis |
| piecewise linear | open | currents over a wide range | |
| exponential | small supplies, precise work, temperature |
The piecewise-linear model fits a straight line to the curve near the expected current: for a small silicon diode, V and of tens of ohms.
Solving with the exponential
Graphically: draw the load line from to across the diode's curve and read the crossing.
By iteration: guess (0.7 V), compute , then a better voltage , and repeat. Each step's voltage error shrinks by roughly the factor , so two or three steps give millivolt accuracy. A computer does the same thing more robustly with Newton's method (lesson 14).
Several diodes: assume and check
- Guess which diodes conduct.
- Replace each with its model (on: a 0.7 V source; off: an open circuit) and solve the linear circuit.
- Check: every "on" diode must carry forward current, and every "off" diode must have less than 0.7 V across it. If not, change the guess and repeat.
Worked example
Solve the 5 V, 1 kΩ circuit ( A) by iteration.
Show the solution
- First pass, from 0.7 V. The current is mA, so
- Second pass.
- Converged. The voltage has settled to a tenth of a millivolt in two steps.
Answer after two steps the diode sits at 0.6929 V with 4.307 mA flowing.
Worked example
Two signals, 5 V and 2 V, each feed a diode whose cathodes join at an output loaded by 1 kΩ to ground. Find the output with the constant-drop model.
Show the solution
- Guess which diode conducts. Assume the 5 V diode conducts and the 2 V one doesn't: and mA.
- Check the guess. The 2 V diode has V across it, so it's off as assumed.
- What the circuit is. This is a diode OR gate: the output follows the highest input.
Answer the output is 4.3 V, with 4.3 mA in the load and only the 5 V diode conducting.
Worked example
A diode in series with 1 kΩ hangs from the midpoint of a 10 kΩ, 10 kΩ divider across 12 V. Find its current with the 0.7 V model, then refine it with the exponential ( A).
Show the solution
- Thévenin equivalent. The divider becomes 6 V behind 5 kΩ, so the diode sees 6 V through 6 kΩ in all.
- Constant-drop estimate. With a 0.7 V drop,
- First iteration. so mA.
- Second iteration. Once more gives 0.6518 V and 0.8914 mA, converged.
- Compare. The 0.7 V guess was 1% low, because below a milliamp this diode drops nearer 0.65 V. Thévenin's theorem turns any resistive network around a single diode into this one-loop problem.
Answer the 0.7 V model gives 0.883 mA, and the exponential refines it to 0.8914 mA at 0.6518 V.
Check
A silicon diode and 0.47 kΩ are in series across 5 V. What current flows, with the 0.7 V model?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
Check
For a diode with A in series with 1 kΩ across 5 V, what voltage does the first iteration give, starting from 0.7 V? Use = 25.864 mV.
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
Use a piecewise-linear model, 0.65 V plus 30 Ω, for a diode in series with 0.22 kΩ across 3 V. What current flows?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
Check
A diode with ideality factor 1 drops 0.70 V at 1 mA. What does it drop at 3 mA?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A diode OR gate has inputs of 5 V and 1 V and a 2.2 kΩ load. What current flows in the load?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
Check
Three diodes in a circuit are assumed on. After solving, one shows a current of −2 mA. What next?
Check
A diode in series with 2.2 kΩ hangs from the midpoint of two 4.7 kΩ resistors across 12 V.
(a)
What resistance does the diode see in all?
Write units the way you normally would: 1.5 kΩ, 1500 Ω and 0.0015 MΩ are the same answer.
(b)
What current flows, with the 0.7 V model?
Check
A diode (saturation current S, thermal voltage v) in series with R across a source E. One iteration starts from a guess x for the diode voltage.
Step 1
What current does the guess give?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What diode voltage does that current need?
Step 3
What's the diode's small-signal resistance at that current?
Explain why
Why does the iteration for a diode circuit converge so quickly?
Each step turns a current into a voltage through a logarithm, and the logarithm is very flat: a 10% error in the current changes the computed voltage by only about 2.5 mV. So even a rough first current gives a voltage close to right, and that voltage gives a current with a much smaller error, since the resistor sees nearly the full supply minus a nearly correct drop. Each pass shrinks the error by roughly the ratio of the thermal voltage to the voltage across the resistor, a small number whenever the supply is a few volts.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.