A diode or circuit (often called a power OR-ing circuit) uses two or more diodes to combine multiple power sources into a single load, preventing reverse current backfeed. For a standard 5V, 2A system, use 3A Schottky diodes like the 1N5822 to minimize forward voltage drop and mitigate thermal runaway risks. This topology is the simplest way to achieve power redundancy or seamless switchover between a wall adapter and a battery backup.
The Diode OR Circuit Topology: Nodes, Paths, and Basic Operation
The fundamental architecture of a diode OR circuit relies on the unidirectional current flow of semiconductor junctions. By placing a diode in series with each power source, you create electrical check valves. The source with the highest voltage (minus its forward voltage drop, $V_f$) forward-biases its diode and powers the load, while the lower-voltage source's diode becomes reverse-biased, blocking current from flowing backward into it.
To analyze this on the bench, we define four critical nodes:
- Node A (Source 1 Anode): The positive terminal of your primary power supply (e.g., 5.2V wall adapter).
- Node B (Source 2 Anode): The positive terminal of your secondary/backup supply (e.g., 5.0V USB battery).
- Node C (Cathode Tie-Point / Load): The junction where all diode cathodes meet and connect to the load's positive input.
- Node D (Common Ground): The shared negative/return path for Source 1, Source 2, and the Load.
Design Walkthrough: Sizing a 5V/2A Diode OR Circuit
Let's design a diode or circuit for a 5V, 2A (10W) embedded system that switches between a 5.2V bench supply and a 5.0V USB power bank. Component selection here is dictated by thermal limits and voltage headroom.
1. Selecting the Diode Chemistry
Standard silicon rectifiers (like the 1N4007 or 1N5400) have a $V_f$ of roughly 0.8V to 1.1V at 2A. A 1V drop on a 5V system leaves only 4.0V for the load—likely triggering a brownout reset on a 5V microcontroller. Furthermore, $P = V_f \times I$ means a 1N5400 would dissipate 2W of heat, requiring a massive heatsink.
Instead, we specify a Schottky diode. The 1N5822 (3A, 40V, DO-201AD package) has a typical $V_f$ of 0.5V at 2A. This leaves 4.7V for the load when the 5.2V source is active, and 4.5V when the 5.0V USB source takes over.
2. Thermal and Junction Temperature Math
Even with a Schottky diode, power dissipation is significant. At 2A, the 1N5822 dissipates:
$P = 0.5V \times 2A = 1.0W$
The thermal resistance from junction to ambient ($R_{\theta JA}$) for a DO-201AD through-hole package in free air is approximately 40°C/W. The junction temperature rise will be:
$\Delta T = 1.0W \times 40°C/W = 40°C$
At a 25°C room ambient, the diode junction sits at 65°C. This is well below the 125°C maximum rating, but the epoxy body will be too hot to touch comfortably. If you move this to a PCB, use the SMA or SMB surface-mount variant (like the SS34) and pour a generous copper ground plane under the cathode pad to act as a heatsink, dropping $R_{\theta JA}$ to roughly 20°C/W.
Behavior Matrix and Failure-Mode Contrast
Understanding what breaks at the extremes is critical for redundancy design. The table below maps circuit behavior when specific elements fail or change state.
| Fault / Change Event | Load Voltage (Node C) | Source 1 Status | Source 2 Status |
|---|---|---|---|
| Source 1 drops to 0V | Drops to ~4.5V (Source 2 takes over via Diode 2) | Diode 1 reverse-biased; no backfeed. | Supplies 100% of load current. |
| Diode 1 Shorts | Follows highest source voltage. | CRITICAL: If Source 1 dies, Source 2 backfeeds into Source 1, potentially damaging it. | May be forced to source current into Source 1's rails. |
| Diode 1 Opens | Supplied solely by Source 2 (if active). | Electrically disconnected from load. | Supplies 100% of load current; no redundancy left. |
| Load Shorts to GND | 0V | Diode 1 conducts maximum fault current until Source 1 OCP trips or diode melts. | Diode 2 conducts maximum fault current. |
Breadboard Testing: Step-by-Step Verification
Before committing to a PCB layout, validate the switchover behavior and measure actual voltage drops on a solderless breadboard. Note that breadboard contacts have inherent resistance (~0.1Ω per tie point), which will skew your $V_f$ readings slightly at 2A.
- Establish Common Ground (Node D): Use a heavy-gauge jumper wire (18 AWG or thicker) to tie the negative rails of both your power supplies and your load together. Do not rely on the breadboard's internal metal clips for the main ground return at 2A.
- Place the Diodes: Insert two 1N5822 diodes. Connect the anode (non-striped end) of Diode 1 to the positive rail of Source 1. Connect the anode of Diode 2 to the positive rail of Source 2. Tie both cathodes (striped end) together on a dedicated bus strip—this is Node C.
- Connect the Load: Attach your load (e.g., a 2.5Ω, 10W power resistor) between Node C and Node D.
- Test Source 1 Dominance: Power on Source 1 (set to 5.2V) and leave Source 2 off. Measure Node C with your multimeter. You should read approximately 4.7V. Touch the diode body; it should be warm but not burning hot.
- Test Switchover and Backfeed Blocking: Power on Source 2 (set to 5.0V). Node C voltage should remain at ~4.7V because Source 1 is still dominating. Now, turn off Source 1. Node C should immediately drop to ~4.5V as Source 2 takes over. Place your multimeter in current mode across the anode of Diode 1 to verify that 0mA is flowing backward into the dead Source 1.
Diode OR vs. Active MOSFET OR-ing: When to Upgrade
While the passive diode or circuit is cheap and robust, it has inherent limitations that force designers toward active power multiplexing ICs or ideal diode controllers.
| Criteria | Passive Diode OR Circuit | Active MOSFET OR-ing (e.g., TPS2113, LTC4412) |
|---|---|---|
| Voltage Drop | High (0.3V to 0.6V depending on current) | Near Zero ($I \times R_{DS(on)}$, typically < 20mV) |
| Heat Dissipation | High (Requires thermal management >1A) | Negligible (No heatsinks required for <5A) |
| Switchover Speed | Instantaneous (Physics of the PN junction) | Microseconds (Limited by IC comparator and gate charge) |
| Component Cost | ~$0.20 per diode | $1.50 - $4.00 per controller IC + external FETs |
| Matched Source Risk | Thermal runaway if sources are exactly equal | Controlled priority logic prevents fighting |
Choose the passive diode OR circuit when: Your load current is under 1A, your primary source voltage is intentionally set 0.5V higher than your backup to guarantee priority, and BOM cost is the primary driver.
Choose an active MOSFET controller when: You are running >2A, operating on tight 3.3V logic where a 0.5V drop causes brownouts, or when both power sources are nominally identical (e.g., two 12V lead-acid batteries) and you need the IC to enforce a priority logic rather than letting the diodes thermally fight.
Diode OR Circuit FAQ
Can I use standard 1N4007 silicon diodes in a 5V diode OR circuit?
You can, but you shouldn't for low-voltage, high-current systems. The 1N4007 is a 1A standard recovery silicon rectifier with a forward voltage drop ($V_f$) of roughly 1.0V at 1A. If you pass 1A through it, your 5.0V source becomes a 4.0V source at the load. Furthermore, at 1A, it dissipates 1W of heat in a tiny DO-41 plastic package, which will push the junction temperature dangerously close to its limits without adequate airflow. Always use Schottky diodes (like the 1N5819 for 1A, or 1N5822 for 3A) for power OR-ing to preserve voltage headroom and reduce thermal stress.
Why does my diode OR circuit output voltage drop under heavy load?
This is the defining characteristic of the semiconductor PN junction. A diode's $V_f$ is not a fixed number; it scales logarithmically with current. A Schottky diode datasheet might list $V_f$ as 0.3V at 100mA, but if you look at the $V_f$ vs. $I_f$ graph, that same diode will exhibit a 0.55V drop at 2A. As your load demands more current, the diode's internal bulk resistance and junction barrier consume more voltage. If this droop is unacceptable for your load, you must abandon the passive diode or circuit and use an active ideal diode controller with a low-$R_{DS(on)}$ MOSFET, as detailed in DigiKey's power multiplexing guidelines.
How do I prevent backfeed in a diode OR circuit with mismatched voltages?
The diode inherently blocks backfeed as long as the cathode voltage (Node C) is higher than the anode voltage of the offline source. However, if your 'offline' source has internal leakage paths or a capacitor bank that slowly charges up to match Node C, the diode might un-bias. To guarantee absolute isolation, ensure the peak inverse voltage (PIV) rating of your diode is at least twice the maximum expected voltage at Node C. For a 12V OR-ing circuit, use a 40V Schottky (like the SS34) rather than a 20V variant, giving you a safe margin against transient voltage spikes that could otherwise punch through the reverse-biased junction.






