Electronic – A deterministic way to determine states of ideal diodes

diodes

How can the states of ideal diodes be determined in simple circuits with only DC sources and resistors without a trial and error approach?

I have been told to use a technique known as analysis by assumed states of ideal diodes which assumes a set of of states of the diodes (ON/OFF), then we proceed by checking if there is an inconsistency with our assumptions (like current flowing from a reverse biased diode or having a higher potential at anode than cathode in forward biased diode). I dislike this technique due to the following reasons:

  1. Counter examples can disprove a result but there is no such thing as proof by example. I don't see a justification of the current moving in assumed directions at all.

  2. This technique does not show the uniqueness of solution.

  3. This is exhaustive enumeration, with \$n\$ diodes we may have to check \$2^n\$ cases in the worst case scenario (worst still if you come to the conclusion that no solution exists!).

So, is there a better way (preferably deterministic) to solve such circuits?

Best Answer

A "better" way involves changing the model of the diode you're using. The ideal diode model is a discontinuous model so the intermediate value theorem doesn't apply. A better model of the diode is the Shockley diode model, which approximates the V-I relationship as an exponential. Unfortunately, this often leads to a non-linear system of equations with no analytical solution so a numerical algorithm is required. One such algorithm is the Newton-Raphson method, which frames a non-linear smooth system of equations as a root-finding problem, then iterates until a suitably close solution is found. Other methods such as bisection may not require smoothness, but only continuity at the cost of slower convergence/other tradeoffs.

For discontinuous models, the only real solution is to guess and check. You might have some intuition built up from practice on what are good guesses, but at the end of the day there's no alternative.

This method can show uniqueness if you check all possible combinations. However, in most practical cases you can analyze by hand it is often assumed that there is a single unique solution because the cases where there isn't a unique solution are ill-posed mathematically, such as this case:

schematic

simulate this circuit – Schematic created using CircuitLab

Assuming \$V_1 \gg V_D\$ and the two diodes have identical forward voltage drops (close is not good enough!), D1 and D2 would both be forward biased leading to two parallel voltage sources. It's impossible without additional information to solve this network.