Digital buffer

Last updated
Representation of a digital buffer Digital buffer.svg
Representation of a digital buffer

A digital buffer (or a logic buffer) is an electronic circuit element used to copy a digital input signal and isolate it from any output load. For the typical case of using voltages as logic signals, a logic buffer's input impedance is high, so it draws little current from the input circuit, to avoid disturbing its signal.

Contents

The digital buffer is important in data transmission between connected systems. Buffers are used in registers (data storage device) and buses (data transferring device). To connect to a shared bus, a tri-state digital buffer should be used, because it has a high impedance ("inactive" or "disconnected") output state (in addition to logic low and high).

Functionality

A voltage buffer amplifier transfers a voltage from a high output impedance circuit to a second circuit with low input impedance. Directly connecting a low impedance load to a power source draws current according to Ohm's law. The high current affects the source. Buffer inputs are high impedance. A buffered load effectively does not affect the source circuit. The buffer's output current is generated within the buffer. In this way, a buffer provides isolation between a power source and a low impedance. The buffer does not intentionally amplify or attenuate the input signal, and so may be called a unity gain buffer.

A digital buffer is a type of voltage buffer amplifier that is only concerned about digital logic levels voltages (and thus may be non-linear).

Types

Single input voltage buffer

Inverting buffer

This buffer's output state is the opposite of the input state. If the input is high, the output is low, and vice versa. Graphically, an inverting buffer is represented by a triangle with a small circle at the output, with the circle signifying inversion. The inverter is a basic building block in digital electronics. Decoders, state machines, and other sophisticated digital devices often include inverters.

Non-inverting buffer

This kind of buffer performs no inversion or decision-making possibilities. A single input digital buffer is different from an inverter. It does not invert or alter its input signal in any way. It reads an input and outputs a value. Usually, the input side reads either HIGH or LOW input and outputs a HIGH or LOW value, correspondingly. Whether the output terminal sends off HIGH or LOW signal is determined by its input value. The output value will be high if and only if the input value is high. In other words, Q will be high if and only if A is HIGH.

Tri-state digital buffer

Unlike the single input digital buffer which has only one input, the tri-state digital buffer has two inputs: a data input and a control input. (A control input is analogous to a valve, which controls the data flow.) When the control input is active, the output value is the input value, and the buffer is not different from the single input digital buffer.

Active high tri-state digital buffer

An active-high tri-state digital buffer is a buffer that is in an active state that transmits its data input to the output only when its control input voltage is high (logic 1). [1] But when the control input is low (logic 0), the output is high impedance (abbreviated as "Hi-Z"), as if the part had been removed from the circuit.

Non-Inverting, Active High
Data InputControl InputOutput
00Hi-Z
10Hi-Z
010
111

Active low tri-state digital buffer

It is basically the same as active high digital buffer except the fact that the buffer is active when the control input is at a low state.

Non-Inverting, Active Low
Data InputControl InputOutput
000
101
01Hi-Z
11Hi-Z

Inverting tri-state digital buffer

Tri-State digital buffers also have inverting varieties in which the output is the inverse of the input.

Inverting, Active High
Data InputControl InputOutput
00Hi-Z
10Hi-Z
011
110
Inverting, Active Low
Data InputControl InputOutput
001
100
01Hi-Z
11Hi-Z

Application

Single input voltage buffers are used in many places for measurements including:

Tri-state voltage buffers are used widely to transmit onto shared buses, since a bus can only transmit one input device's data at a time. The high-impedance output state effectively temporarily disconnects that input device from the bus, since at most only one device should actively drive the bus's shared wires.

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">Operational amplifier</span> High-gain voltage amplifier with a differential input

An operational amplifier is a DC-coupled high-gain electronic voltage amplifier with a differential input and, usually, a single-ended output. In this configuration, an op amp produces an output potential that is typically 100,000 times larger than the potential difference between its input terminals. The operational amplifier traces its origin and name to analog computers, where they were used to perform mathematical operations in linear, non-linear, and frequency-dependent circuits.

<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

Balanced audio is a method of interconnecting audio equipment using balanced interfaces. This type of connection is very important in sound recording and production because it allows the use of long cables while reducing susceptibility to external noise caused by electromagnetic interference. The balanced interface guarantees that induced noise appears as common-mode voltages at the receiver which can be rejected by a differential device.

In digital electronics, the fan-out is the number of gate inputs driven by the output of another single logic gate.

<span class="mw-page-title-main">Common base</span>

In electronics, a common-base amplifier is one of three basic single-stage bipolar junction transistor (BJT) amplifier topologies, typically used as a current buffer or voltage amplifier.

<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:

<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.

<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">Sample and hold</span>

In electronics, a sample and hold circuit is an analog device that samples the voltage of a continuously varying analog signal and holds its value at a constant level for a specified minimum period of time. Sample and hold circuits and related peak detectors are the elementary analog memory devices. They are typically used in analog-to-digital converters to eliminate variations in input signal that can corrupt the conversion process. They are also used in electronic music, for instance to impart a random quality to successively-played notes.

<span class="mw-page-title-main">Input impedance</span> Measure of the opposition to current flow by an external electrical load

In electrical engineering, the input impedance of an electrical network is the measure of the opposition to current (impedance), both static (resistance) and dynamic (reactance), into a load network that is external to the electrical source network. The input admittance is a measure of the load network's propensity to draw current. The source network is the portion of the network that transmits power, and the load network is the portion of the network that consumes power.

A general-purpose input/output (GPIO) is an uncommitted digital signal pin on an integrated circuit or electronic circuit board which may be used as an input or output, or both, and is controllable by software.

In digital electronics, a tri-state or three-state buffer is a type of digital buffer that has three stable states: a high output state, a low output state, and a high-impedance state. In the high-impedance state, the output of the buffer is disconnected from the output bus, allowing other devices to drive the bus without interference from the tri-state buffer. This can be useful in situations where multiple devices are connected to the same bus and need to take turns accessing it. Systems implementing three-state logic on their bus are known as a three-state bus or tri-state bus.

This article illustrates some typical operational amplifier applications. A non-ideal operational amplifier's equivalent circuit has a finite input impedance, a non-zero output impedance, and a finite gain. A real op-amp has a number of non-ideal features as shown in the diagram, but here a simplified schematic notation is used, many details such as device selection and power supply connections are not shown. Operational amplifiers are optimised for use with negative feedback, and this article discusses only negative-feedback applications. When positive feedback is required, a comparator is usually more appropriate. See Comparator applications for further information.

In electronics, the Miller effect accounts for the increase in the equivalent input capacitance of an inverting voltage amplifier due to amplification of the effect of capacitance between the input and output terminals. The virtually increased input capacitance due to the Miller effect is given by

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

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.

A fully differential amplifier (FDA) is a DC-coupled high-gain electronic voltage amplifier with differential inputs and differential outputs. In its ordinary usage, the output of the FDA is controlled by two feedback paths which, because of the amplifier's high gain, almost completely determine the output voltage for any given input.

<span class="mw-page-title-main">Current-feedback operational amplifier</span>

The current-feedback operational amplifier is a type of electronic amplifier whose inverting input is sensitive to current, rather than to voltage as in a conventional voltage-feedback operational amplifier (VFA). The CFA was invented by David Nelson at Comlinear Corporation, and first sold in 1982 as a hybrid amplifier, the CLC103. An early patent covering a CFA is U.S. Patent 4,502,020, David Nelson and Kenneth Saller. The integrated circuit CFAs were introduced in 1987 by both Comlinear and Elantec. They are usually produced with the same pin arrangements as VFAs, allowing the two types to be interchanged without rewiring when the circuit design allows. In simple configurations, such as linear amplifiers, a CFA can be used in place of a VFA with no circuit modifications, but in other cases, such as integrators, a different circuit design is required. The classic four-resistor differential amplifier configuration also works with a CFA, but the common-mode rejection ratio is poorer than that from a VFA.

References

  1. "Digital Buffer Tutorial". Electronics Tutorials. Retrieved March 13, 2019.