Diode-OR power from two supplies
A clock, an alarm, a router: some loads must never lose power. So give them two supplies: here a main 9 V battery (top rails) and a 6 V backup (bottom rails), sharing their −. Why not simply join both + leads to the load?
- The 9 V would drive a large current backwards into the 6 V battery
- The voltages would add to 15 V
- Nothing wrong: that works
- The load would get the average, 7.5 V
Give each supply a diode into the load: a diode OR. Put a 1N5819 from column 5 (the main's +, top half) to column 8, and another from column 5 bottom (the backup's +) to column 8 bottom. Stripes towards the load. Press Run.

Now suppose the main battery dies, its voltage falling to nothing. What happens to the load?
- It carries on at about 5.8 V from the backup, with no gap
- It goes dark until you switch over
- It drops to 0 V for a moment, then the backup takes over
- The backup charges the main
Try it: select the main battery (the one on the top rails) and set it to 0 V in its details, with the simulation running. Watch CH1. Then set it back to 9 V.
On a real bench a battery doesn't fall to 0 V in an instant: it sags as it runs down, and the backup takes over once the main's voltage falls to about the backup's. The backup's diode also leaks a little current backwards into it. A lithium coin cell can't be recharged, and even a small charging current can make it leak, so real designs check that diode's leakage on its datasheet.
Why are Schottky diodes the usual choice here?
- Their lower drop wastes less of each supply
- They block higher voltages
- They're the only diodes that can be paralleled
- They're faster to switch on
A diode OR:
- each supply feeds the load through its own diode;
- the highest supply carries the load; the others are reverse-biased, so nothing flows back into them;
- if that supply fails, the next highest takes over with no gap;
- the load receives the supply's voltage minus the voltage lost across its diode: Schottky diodes keep that small.