A diode-OR circuit (also known as a diode OR gate) is a basic digital logic circuit that implements the logical OR function using diodes and a pull-down resistor. It is a form of diode–resistor logic (DRL).
Operation The circuit typically consists of two or more diodes with their anodes connected to individual input signals and their cathodes joined together at a common output node. A pull-down resistor connects the output node to ground (logic LOW).
- Logic HIGH (1) at any input: The corresponding diode becomes forward-biased and conducts, pulling the output voltage up to approximately the input voltage minus the diode's forward voltage drop ($V_f$). The output is logic HIGH.
- All inputs Logic LOW (0): All diodes are reverse-biased (or at zero bias) and do not conduct. The pull-down resistor pulls the output voltage to ground. The output is logic LOW.
Characteristics
- Voltage Drop: The output HIGH voltage is lower than the input HIGH voltage by one diode drop (typically 0.6 V to 0.7 V for silicon diodes, 0.3 V for Schottky diodes). This voltage degradation limits the cascadability of diode-resistor logic gates.
- No Gain: The circuit provides no current gain or voltage gain; the output current capability is limited by the input source and the pull-down resistor value.
- Speed: Switching speed is limited by the RC time constant formed by the pull-down resistor and the parasitic capacitance (diode junction capacitance, wiring capacitance), as well as the diode's reverse recovery time.
- Isolation: The diodes provide isolation between inputs; a signal at one input does not back-drive the other input sources.
Applications
- Signal Mixing/Combining: Combining multiple digital signals onto a single wire (wired-OR) where only one source is active at a time, or where multiple sources drive the same logic level.
- Power Supply ORing: Combining multiple power sources (e.g., battery and wall adapter) so the load is powered by the highest voltage source. In power applications, Schottky diodes are preferred for lower forward voltage drop and reduced power dissipation, or ideal diode controllers (active ORing) using MOSFETs for higher efficiency.
- Legacy Logic: Used in early computer systems (e.g., ENIAC, some IBM systems) before the advent of transistor-transistor logic (TTL) and CMOS.
Limitations Due to the cumulative voltage drop and lack of signal restoration, diode-OR circuits are generally unsuitable for complex, cascaded digital logic chains in modern high-speed electronics, having been superseded by TTL, CMOS, and other active logic families. They remain common in simple interfacing, level shifting, and power path management.