Wired-OR
   HOME

TheInfoList



OR:

A wired logic connection is a
logic gate A logic gate is a device that performs a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output. Depending on the context, the term may refer to an ideal logic gate, one that has, for ...
that implements
boolean algebra (logic) In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variable (mathematics), variables are the truth values ''true'' and ''false'', usually denot ...
using only passive components such as
diode A diode is a two-Terminal (electronics), terminal electronic component that conducts electric current primarily in One-way traffic, one direction (asymmetric electrical conductance, conductance). It has low (ideally zero) Electrical resistance ...
s and resistors. A wired logic connection can create an AND or an OR gate. Limitations include the inability to create a NOT gate, the lack of amplification to provide level restoration, and its constant ohmic heating for most logic (particularly more than
CMOS Complementary metal–oxide–semiconductor (CMOS, pronounced "sea-moss ", , ) is a type of MOSFET, metal–oxide–semiconductor field-effect transistor (MOSFET) semiconductor device fabrication, fabrication process that uses complementary an ...
) which indirectly limits density of components and speed. Wired logic works by exploiting the high impedance of open collector outputs (and its variants: open emitter, open drain, or open source) by just adding a pull-up or pull-down resistor to a
voltage source A voltage source is a two-terminal (electronics), terminal device which can maintain a fixed voltage. An ideal voltage source can maintain the fixed voltage independent of the load resistance or the output Electric current, current. However, a r ...
, or can be applied to push-pull outputs by using diode logic (with the disadvantage of incurring a diode drop voltage loss).


Active-high wired AND connection

See also: The wired AND connection is a form of
AND gate The AND gate is a basic digital logic gate that implements the logical conjunction (∧) from mathematical logic AND gates behave according to their truth table. A HIGH output (1) results only if all the inputs to the AND gate are HIGH (1). If a ...
. When using open collector or similar outputs (which can be identified by the ⎐ symbol in schematics), wired AND only requires a pull up resistor on the shared output wire. In this example, 5V is considered HIGH (true), and 0V is LOW (false). This gate can be easily extended with more inputs. When ''all'' inputs are HIGH, they all present high impedance, and the pull-up resistor pulls output voltage HIGH, but if ''any'' input is LOW, they pull the output LOW:M. Morris Mano, ''Digital Logic and Computer Design'', Prentice-Hall, 1979 , page 571 When driving a load, the HIGH output is reduced by the pull-up's voltage drop, though the LOW output is almost 0V. But if diode logic is used, each input requires a diode, and the LOW output voltage will additionally be raised by the diode's forward voltage. Care should be taken to ensure the output still lies within valid voltage levels.


Active-high wired OR connection

See also: The wired OR connection electrically performs the
Boolean logic In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variable (mathematics), variables are the truth values ''true'' and ''false'', usually denot ...
operation of an OR gate using open emitter or similar inputs (which can be identified by the ⎏ symbol in schematics) connected to a shared output with a pull-down resistor. This gate can also be easily extended with more inputs. When ''all'' inputs are LOW, they all present high impedance, and the pull-down resistor pulls the output voltage LOW, but if ''any'' input is HIGH, they pull the output HIGH: When driving a load, the LOW output is raised by the pull-down's voltage drop, though the HIGH output is almost the supply voltage (5V). But if diode logic is used, each input requires a diode, and the HIGH output voltage will additionally be lowered by the diode's forward voltage.


Reversing active level

An active-high wired AND can be treated as active-low wired OR (and an active-high wired OR can be treated as active-low wired AND), by using active-low logic (or negative logic) and applying
De Morgan's laws In propositional calculus, propositional logic and Boolean algebra, De Morgan's laws, also known as De Morgan's theorem, are a pair of transformation rules that are both Validity (logic), valid rule of inference, rules of inference. They are nam ...
.


Compatibility of wired AND OR using diodes

{{Multiple image , image1 = Animated wired AND diode logic.gif , image2 = Animated wired OR diode logic.gif , caption1 = Wired AND in diode logic. , caption2 = Wired OR in diode logic. , direction = horizontal , total_width = 310 Diode logic uses a diode for each input in addition to a shared pull-up resistor (for wired AND) or a pull-down resistor (for wired OR). However, each stage of diode logic reduces output voltage levels. So without amplification, the output voltage may not be compatible with the primary logic family.


References

* Digital Techniques, Heathkit Educational Systems,1990 * Fundamental Physics, K.L Gomber and K.L Gogia, Pradeep Publications, 2005


External links


Introduction to Wired-OR Outputs and Open-Collector Circuits
Logic gates