Wired logic connection

Last updated

A wired logic connection is a logic gate that implements boolean algebra (logic) using only passive components such as diodes 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) which indirectly limits density of components and speed.

Contents

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, 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: Diode logic § Active-high AND logic gate

Open-collector buffers connected as wired AND. Two-open-collector-buffers-shared-output.svg
Open-collector buffers connected as wired AND.

The wired AND connection is a form of AND gate. 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: [1]

InputsOutput
ABA AND B
HIGHLOWLOW
LOWHIGHLOW
LOWLOWLOW
HIGHHIGHHIGH

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

Open-emitter buffers connected as wired OR. Two open-emitter buffers shared-output.svg
Open-emitter buffers connected as wired OR.

See also: Diode logic § Active-high OR logic gate

The wired OR connection electrically performs the Boolean logic 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:

InputsOutput
ABA OR B
LOWLOWLOW
LOWHIGHHIGH
HIGHLOWHIGH
HIGHHIGHHIGH

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.

Compatibility of wired AND OR using diodes

Animated wired AND diode logic.gif
Wired AND in diode logic.
Animated wired OR diode logic.gif
Wired OR in diode logic.

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.


Related Research Articles

<span class="mw-page-title-main">Amplifier</span> Electronic device/component that increases the strength of a signal

An amplifier, electronic amplifier or (informally) amp is an electronic device that can increase the magnitude of a signal. It is a two-port electronic circuit that uses electric power from a power supply to increase the amplitude of a signal applied to its input terminals, producing a proportionally greater amplitude signal at its output. The amount of amplification provided by an amplifier is measured by its gain: the ratio of output voltage, current, or power to input. An amplifier is defined as a circuit that has a power gain greater than one.

<span class="mw-page-title-main">Logic gate</span> Device performing a Boolean function

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 instance, zero rise time and unlimited fan-out, or it may refer to a non-ideal physical device.

<span class="mw-page-title-main">Comparator</span> Device that compares two voltages or currents

In electronics, a comparator is a device that compares two voltages or currents and outputs a digital signal indicating which is larger. It has two analog input terminals and and one binary digital output . The output is ideally

Transistor–transistor logic (TTL) is a logic family built from bipolar junction transistors. Its name signifies that transistors perform both the logic function and the amplifying function, as opposed to earlier resistor–transistor logic (RTL) and diode–transistor logic (DTL).

NMOS or nMOS logic uses n-type (-) MOSFETs to implement logic gates and other digital circuits.

In electronics, a multi-transistor configuration called the Darlington configuration is a circuit consisting of two bipolar transistors with the emitter of one transistor connected to the base of the other, such that the current amplified by the first transistor is amplified further by the second one. The collectors of both transistors are connected together. This configuration has a much higher current gain than each transistor taken separately. It acts like and is often packaged as a single transistor. It was invented in 1953 by Sidney Darlington.

<span class="mw-page-title-main">Emitter-coupled logic</span> Integrated circuit logic family

In electronics, emitter-coupled logic (ECL) is a high-speed integrated circuit bipolar transistor logic family. ECL uses an overdriven bipolar junction transistor (BJT) differential amplifier with single-ended input and limited emitter current to avoid the saturated region of operation and its slow turn-off behavior. As the current is steered between two legs of an emitter-coupled pair, ECL is sometimes called current-steering logic (CSL), current-mode logic (CML) or current-switch emitter-follower (CSEF) logic.

<span class="mw-page-title-main">Differential amplifier</span> Electrical circuit component which amplifies the difference of two analog signals

A differential amplifier is a type of electronic amplifier that amplifies the difference between two input voltages but suppresses any voltage common to the two inputs. It is an analog circuit with two inputs and and one output , in which the output is ideally proportional to the difference between the two voltages:

The Hartley oscillator is an electronic oscillator circuit in which the oscillation frequency is determined by a tuned circuit consisting of capacitors and inductors, that is, an LC oscillator. The circuit was invented in 1915 by American engineer Ralph Hartley. The distinguishing feature of the Hartley oscillator is that the tuned circuit consists of a single capacitor in parallel with two inductors in series, and the feedback signal needed for oscillation is taken from the center connection of the two inductors.

<span class="mw-page-title-main">Schmitt trigger</span> Electronic comparator circuit with hysteresis

In electronics, a Schmitt trigger is a comparator circuit with hysteresis implemented by applying positive feedback to the noninverting input of a comparator or differential amplifier. It is an active circuit which converts an analog input signal to a digital output signal. The circuit is named a trigger because the output retains its value until the input changes sufficiently to trigger a change. In the non-inverting configuration, when the input is higher than a chosen threshold, the output is high. When the input is below a different (lower) chosen threshold the output is low, and when the input is between the two levels the output retains its value. This dual threshold action is called hysteresis and implies that the Schmitt trigger possesses memory and can act as a bistable multivibrator. There is a close relation between the two kinds of circuits: a Schmitt trigger can be converted into a latch and a latch can be converted into a Schmitt trigger.

Resistor–transistor logic (RTL), sometimes also known as transistor–resistor logic (TRL), is a class of digital circuits built using resistors as the input network and bipolar junction transistors (BJTs) as switching devices. RTL is the earliest class of transistorized digital logic circuit; it was succeeded by diode–transistor logic (DTL) and transistor–transistor logic (TTL).

<span class="mw-page-title-main">Diode–transistor logic</span>

Diode–transistor logic (DTL) is a class of digital circuits that is the direct ancestor of transistor–transistor logic. It is called so because the logic gating functions AND and OR are performed by diode logic, while logical inversion (NOT) and amplification is performed by a transistor.

<span class="mw-page-title-main">Buffer amplifier</span> Electronic amplifier, a circuit component

In electronics, a buffer amplifier is a unity gain amplifier that copies a signal from one circuit to another while transforming its electrical impedance to provide a more ideal source. This "buffers" the signal source in the first circuit against being affected by currents from the electrical load of the second circuit and may simply be called a buffer or follower when context is clear.

<span class="mw-page-title-main">Current source</span> Electronic component delivering stable electric current regardless of voltage

A current source is an electronic circuit that delivers or absorbs an electric current which is independent of the voltage across it.

<span class="mw-page-title-main">Pull-up resistor</span> Electrical component to ensure a known state for a signal

In electronic logic circuits, a pull-up resistor (PU) or pull-down resistor (PD) is a resistor used to ensure a known state for a signal. It is typically used in combination with components such as switches and transistors, which physically interrupt the connection of subsequent components to ground or to VCC. Closing the switch creates a direct connection to ground or VCC, but when the switch is open, the rest of the circuit would be left floating.

Diode logic constructs AND and OR logic gates with diodes and resistors.

Open collector, open drain, open emitter, and open source refer to integrated circuit (IC) output pin configurations that process the IC's internal function through a transistor with an exposed terminal that is internally unconnected. One of the IC's internal high or low voltage rails typically connects to another terminal of that transistor. When the transistor is off, the output is internally disconnected from any internal power rail, a state called "high-impedance" (Hi-Z). Open outputs configurations thus differ from push–pull outputs, which use a pair of transistors to output a specific voltage or current.

In electronics, high impedance means that a point in a circuit allows a relatively small amount of current through, per unit of applied voltage at that point. High impedance circuits are low current and potentially high voltage, whereas low impedance circuits are the opposite. Numerical definitions of "high impedance" vary by application.

In digital circuits, a logic level is one of a finite number of states that a digital signal can inhabit. Logic levels are usually represented by the voltage difference between the signal and ground, although other standards exist. The range of voltage levels that represent each state depends on the logic family being used. A logic-level shifter can be used to allow compatibility between different circuits.

<span class="mw-page-title-main">Electronic circuit</span> Electrical circuit with active components

An electronic circuit is composed of individual electronic components, such as resistors, transistors, capacitors, inductors and diodes, connected by conductive wires or traces through which electric current can flow. It is a type of electrical circuit. For a circuit to be referred to as electronic, rather than electrical, generally at least one active component must be present. The combination of components and wires allows various simple and complex operations to be performed: signals can be amplified, computations can be performed, and data can be moved from one place to another.

References

  1. M. Morris Mano, Digital Logic and Computer Design, Prentice-Hall, 1979 ISBN   0-13-214510-3, page 571