Logic Signal Voltage Levels
Logic Signal Voltage Levels
Logic gate circuits are designed to input and output only two types of signals: high
(1) and low (0), as represented by a variable voltage: full power supply voltage for a
high state and zero voltage for a low state. In a perfect world, all logic circuit
signals would exist at these extreme voltage limits, and never deviate from them (i.e.,
less than full voltage for a high, or more than zero voltage for a low). However, in
reality, logic signal voltage levels rarely attain these perfect limits due to stray voltage
drops in the transistor circuitry, and so we must understand the signal level limitations
of gate circuits as they try to interpret signal voltages lying somewhere between full
supply voltage and zero.
TTL gates operate on a nominal power supply voltage of 5 volts, +/- 0.25 volts. Ideally,
a TTL high signal would be 5.00 volts exactly, and a TTL low signal 0.00 volts
exactly. However, real TTL gate circuits cannot output such perfect voltage levels, and
are designed to accept high and low signals deviating substantially from these
ideal values. Acceptable input signal voltages range from 0 volts to 0.8 volts for a
low logic state, and 2 volts to 5 volts for a high logic state. Acceptable output
signal voltages (voltage levels guaranteed by the gate manufacturer over a specified
range of load conditions) range from 0 volts to 0.5 volts for a low logic state, and 2.7
volts to 5 volts for a high logic state:
If a voltage signal ranging between 0.8 volts and 2 volts were to be sent into the input
of a TTL gate, there would be no certain response from the gate. Such a signal would
be considered uncertain, and no logic gate manufacturer would guarantee how their
gate circuit would interpret such a signal.
As you can see, the tolerable ranges for output signal levels are narrower than for
input signal levels, to ensure that any TTL gate outputting a digital signal into the input
of another TTL gate will transmit voltages acceptable to the receiving gate. The
difference between the tolerable output and input ranges is called thenoise margin of
the gate. For TTL gates, the low-level noise margin is the difference between 0.8 volts
and 0.5 volts (0.3 volts), while the high-level noise margin is the difference between
2.7 volts and 2 volts (0.7 volts). Simply put, the noise margin is the peak amount of
spurious or noise voltage that may be superimposed on a weak gate output voltage
signal before the receiving gate might interpret it wrongly:
CMOS gate circuits have input and output signal specifications that are quite different
from TTL. For a CMOS gate operating at a power supply voltage of 5 volts, the
acceptable input signal voltages range from 0 volts to 1.5 volts for a low logic state,
and 3.5 volts to 5 volts for a high logic state. Acceptable output signal voltages
(voltage levels guaranteed by the gate manufacturer over a specified range of load
conditions) range from 0 volts to 0.05 volts for a low logic state, and 4.95 volts to 5
volts for a high logic state:
It should be obvious from these figures that CMOS gate circuits have far greater noise
margins than TTL: 1.45 volts for CMOS low-level and high-level margins, versus a
maximum of 0.7 volts for TTL. In other words, CMOS circuits can tolerate over twice
the amount of superimposed noise voltage on their input lines before signal
interpretation errors will result.
CMOS noise margins widen even further with higher operating voltages. Unlike TTL,
which is restricted to a power supply voltage of 5 volts, CMOS may be powered by
voltages as high as 15 volts (some CMOS circuits as high as 18 volts). Shown here
are the acceptable high and low states, for both input and output, of CMOS
integrated circuits operating at 10 volts and 15 volts, respectively:
The margins for acceptable high and low signals may be greater than what is
shown in the previous illustrations. What is shown represents worst-case input signal
performance, based on manufacturers specifications. In practice, it may be found that
a gate circuit will tolerate high signals of considerably less voltage and low signals
of considerably greater voltage than those specified here.
Conversely, the extremely small output margins shownguaranteeing output states
for high and low signals to within 0.05 volts of the power supply railsare
optimistic. Such solid output voltage levels will be true only for conditions of
minimum loading. If the gate is sourcing or sinking substantial current to a load, the
output voltage will not be able to maintain these optimum levels, due to internal
channel resistance of the gates final output MOSFETs.
Within the uncertain range for any gate input, there will be some point of
demarcation dividing the gates actual low input signal range from its actual high
input signal range. That is, somewhere between the lowest high signal voltage level
and the highest low signal voltage level guaranteed by the gate manufacturer, there
is a threshold voltage at which the gate will actually switch its interpretation of a signal
from low or high or vice versa. For most gate circuits, this unspecified voltage is a
single point:
If this scenario looks familiar to you, its because you remember a similar problem with
(analog) voltage comparator op-amp circuits. With a single threshold point at which an
input causes the output to switch between high and low states, the presence of
significant noise will cause erratic changes in the output:
The solution to this problem is a bit of positive feedback introduced into the amplifier
circuit. With an op-amp, this is done by connecting the output back around to the
noninverting (+) input through a resistor. In a gate circuit, this entails redesigning the
internal gate circuitry, establishing the feedback inside the gate package rather than
through external connections. A gate so designed is called a Schmitt trigger. Schmitt
triggers interpret varying input voltages according to two threshold voltages:
a positive-going threshold (VT+), and a negative-going threshold (VT-):
However, if the TTL gate outputs a high signal (guaranteed to be between 5 volts
and 2.7 volts), it might not be properly interpreted by the CMOS gates input as a
high (expecting a voltage between 5 volts and3.5 volts):
Given this mismatch, it is entirely possible for the TTL gate to output a valid high
signal (valid, that is, according to the standards for TTL) that lies within the uncertain
range for the CMOS input, and may be (falsely) interpreted as a low by the receiving
gate. An easy fix for this problem is to augment the TTL gates high signal voltage
level by means of a pullup resistor:
Something more than this, though, is required to interface a TTL output with a CMOS
input, if the receiving CMOS gate is powered by a greater power supply voltage:
There will be no problem with the CMOS gate interpreting the TTL gates low output,
of course, but a high signal from the TTL gate is another matter entirely. The
guaranteed output voltage range of 2.7 volts to 5 volts from the TTL gate output is
nowhere near the CMOS gates acceptable range of 7 volts to 10 volts for a high
signal. If we use an open-collector TTL gate instead of a totem-pole output gate,
though, a pullup resistor to the 10 volt Vdd supply rail will raise the TTL gates high
output voltage to the full power supply voltage supplying the CMOS gate. Since an
open-collector gate can only sink current, not source current, the high state voltage
level is entirely determined by the power supply to which the pullup resistor is
attached, thus neatly solving the mismatch problem:
Due to the excellent output voltage characteristics of CMOS gates, there is typically
no problem connecting a CMOS output to a TTL input. The only significant issue is
the current loading presented by the TTL inputs, since the CMOS output must sink
current for each of the TTL inputs while in the low state.
When the CMOS gate in question is powered by a voltage source in excess of 5 volts
(Vcc), though, a problem will result. The high output state of the CMOS gate, being
greater than 5 volts, will exceed the TTL gates acceptable input limits for a high
The Rpullup resistor is optional, since TTL inputs automatically assume a high state
when left floating, which is what will happen when the CMOS gate output is low and
the transistor cuts off. Of course, one very important consequence of implementing
this solution is the logical inversion created by the transistor: when the CMOS gate
outputs a low signal, the TTL gate sees a high input; and when the CMOS gate
outputs a high signal, the transistor saturates and the TTL gate sees a low input.
So long as this inversion is accounted for in the logical scheme of the system, all will
be well.
TTL Logic switching levels and a comparison of the different logic families.
The threshold Level, logic level or transition point is shown to the left of the voltage range.
The CMOS families [74ACxx, 74HCxx, 74AHCxx, and 74Cxx] have different input and output switching
levels than the TTL logic devices [74Fxx, 74Sxx, 74ASxx, 74LSxx, and 74ALSxxx]. The output
switching levels from CMOS ICs is higher then a TTL IC, which happens to result in a better design and
does not have a negative effect. However the difference in input logic switching level does impact your
design, the TTL output does not correctly switch a CMOS input. The switching difference between a TTL
IC output and a CMOS IC input has to be accounted for.
The mixed CMOS/TTL [74ACTxx, 74HCTxx, 74AHCTxx, and 74FCTxx] logic devices have TTL logic
input switching levels and CMOS output switching levels. The mixed TTL/CMOS devices are CMOS
devices which just happen to have TTL input trigger levels, but they are CMOS ICs.
So the rule is, if you use a CMOS IC for reduced current consumption [for example], and a TTL IC feeds
the CMOS chip, then you need to either provide a voltage translation or use one of the mixed CMOS/TTL
devices [which have a "T" in the part number].
Side Note: I used 74xx part numbers above. The 74xx families [or just 74 prefix] refer to a
commercial operating temperature range.
A 54xx part number [or just 54 prefix] may also be found which refers to a military operating temperature
range. Some 74xx device families may also work at the Industrial temperature range [but you have to
check the data sheet, there is no hard and fast rule]. So a 74xx244 works at a commercial operating
temperature, while a 54xx244 which is the same device [maybe the same pinout, and package] will
continue to operate to the military operating temperature range [which is wider].
The difference in operational temperature ranges is provided on the Logic Prefix page.
The logic switching level does not change between the different temperature ranges.
An important point to keep in mind is that these threshold levels are fixed. However the voltage level is
not fixed if the ground is moving, the levels apply to zero volt ground. If an IC is drifting above ground
because of current in the ground pin or if voltage shifts between ICs are occurring because of different
ground potentials than the static voltage levels shown above no longer work. The same applies to
excessive noise voltages occurring near a threshold level. The transition voltages are separated by guard
bands, but they only work when not effected by noise. Voltage spikes could cause the actual logic
transition to shift in time as the output of one IC becomes effected by coupled voltages from another
source, changing the point i time that a voltage level is reached..
Switching Terms VCC: The voltage applied to the power pin(s).
In most cases Vcc is the voltage the IC needs to operate at [see note below].
VIH: [Voltage Input High] The minimum positive voltage applied to the input which will be accepted by
the device as a logic high.
VIL: [Voltage Input Low] The maximum positive voltage applied to the input which will be accepted by
The pull-down table lists all the possible TTL and CMOS families.
However not all IC functions are available in all logic families, as some of the early TTL families are
reaching obsolescence.
It's difficult to say what parts may still be purchased in some of the early logic families that were released
first, but safe to say that the generic TTL family is obsolete.
Vcc Note; The power supply voltage could be called almost anything on a schematic.
The smaller the schematic the more control the designer has over the naming of the supply voltage.
In fact the absolute voltage may be identical on many ICs, but because of regulators or inductors may
have a different symbol.
For example; the voltage supply net [Vcc] on one side of a filter inductor needs to have a different name
Logic level
From Wikipedia, the free encyclopedia
Logic 0 or Logic 1
Digital electronics rely on binary logic to store, process, and transmit data or information. Binary
Logic refers to one of two states ON or OFF. This is commonly translated as a binary 1 or binary 0.
A binary 1 is also referred to as a HIGH signal and a binary 0 is referred to as a LOW signal.
The strength of a signal is typically described by its voltage level. How is a logic 0 (LOW) or a logic 1
(HIGH) defined? Manufacturers of chips generally define these in their spec sheets. The most
common standard is TTL or Transistor-Transistor Logic.
In digital circuits, a logic level is one of a finite number of states that a digital signal can have. Logic
levels are usually represented by the voltage difference between the signal and ground, although
other standards exist. The range of voltage levels that represents each state depends on the logic
family being used.
Contents
[hide]
12-level logic
o
1.1Active state
34-level logic
49-level logic
5See also
6References
7External links
2-level logic[edit]
See also: Boolean algebra
In binary logic the two levels are logical high and logical low, which generally correspond to
a binary 1 and 0 respectively. Signals with one of these two levels can be used in boolean logic for
digital circuit design or analysis.
Active state[edit]
The use of either the higher or the lower voltage level to represent either logic state is arbitrary. The
two options are active high and active low. Active-high and active-low states can be mixed at will:
for example, a read only memory integrated circuit may have a chip-select signal that is active-low,
but the data and address bits are conventionally active-high. Occasionally a logic design is simplified
by inverting the choice of active level (see De Morgan's theorem).
Logic level
Active-high signal
Active-low signal
Logical high
Logical low
The name of an active-low signal is written with a bar above it to distinguish it from an active-high
signal. For example, the name Q, read "Q bar" or "Q not", represents an active-low signal. The
conventions commonly used are:
a trailing # (Q#), or
The slash convention is also used with signals that have a meaning in both states. For example, it is
common to have a read/write line written R/(W), indicating that the signal is high in case of a read
and low in case of a write.
Many control signals in electronics are active-low signals
[1]
so on). Logic families such as TTL can sink more current than they can source, so fanout and noise
immunity increase. It also allows for wired-OR logic if the logic gates are open-collector/opendrain with a pull-up resistor. Examples of this are the IC bus and the Controller Area
Network (CAN),and the PCI Local Bus. RS232 signaling, as used on some serial ports, uses activelow signals.
Technology
L voltage
H voltage
Notes
CMOS[2]
0 V to 1/3 VDD
TTL[2]
0 V to 0.8 V
2 V to VCC
VCC = 5 V 10%
ECL[citation needed]
VEE to 1.4 V
1.2 V to 0 V
Nearly all digital circuits use a consistent logic level for all internal signals. That level, however,
varies from one system to another. Interconnecting any two logic families often required special
techniques such as additional pull-up resistors or purpose-built interface circuits known as level
shifters. A level shifter connects one digital circuit that uses one logic level to another digital circuit
that uses another logic level. Often two level shifters are used, one at each system: A line
driver converts from internal logic levels to standard interface line levels; a line receiver converts
from interface levels to internal voltage levels.
For example, TTL levels are different from those of CMOS. Generally a TTL output does not rise
high enough to be reliably recognized as a logic 1 by a CMOS input, especially if it is only connected
to a high-input-impedance CMOS input that does not source significant current. This problem was
solved by the invention of the 74HCT family of devices that uses CMOS technology but TTL input
logic levels. These devices only work with a 5V power supply.
3-level logic[edit]
Logic Levels
CONTRIBUTORS:
BRI_HUANG
FAV O R I T E 1 6
SHARE
VOL Maximum OUTPUT Voltage level a device will provide for a LOW signal.
VIL Maximum INPUT Voltage level to still be considered a LOW.
You will notice that the minimum output HIGH voltage (VOH) is 2.7 V. Basically, this means that output
voltage of the device driving HIGH will always be at least 2.7 V. The minimum input HIGH voltage
(VIH) is 2 V, or basically any voltage that is at least 2 V will be read in as a logic 1 (HIGH) to a TTL
device.
You will also notice that there is cushion of 0.7 V between the output of one device and the input of
another. This is sometimes referred to as noise margin.
Likewise, the maximum output LOW voltage (VOL) is 0.4 V. This means that a device trying to send
out a logic 0 will always be below 0.4 V. The maximum input LOW voltage (VIL) is 0.8 V. So, any input
signal that is below 0.8 V will still be considered a logic 0 (LOW) when read into the device.
What happens if you have a voltage that is in between 0.8 V and 2 V? Well, your guess is as good as
mine. Honestly, this range of voltages is undefined and results in an invalid state, often referred to as
floating. If an output pin on your device is floating in this range, there is no certainty with what the
signal will result in. It may bounce arbitrarily between HIGH and LOW.
Here is another way of looking at the input / output tolerances for a generic TTL device.
Another common voltage standard that you will encounter are 3.3 V devices.
In order to ensure general compatibility, you will notice that most of the voltage levels are almost all
the same as 5 V devices. A 3.3 V device can interface with a 5V device without any additional
components. For example, a logic 1 (HIGH) from a 3.3 V device will be at least 2.4 V. This will still be
interpreted as a logic 1 (HIGH) to a 5V system because it is above the VIH of 2 V.
A word of caution, however, is when going the other direction and interfacing from a 5 V to a 3.3 V
device to ensure that the 3.3 V device is 5 V tolerant. The specification you are interested in is
the maximum input voltage. On certain 3.3 V devices, any voltages above 3.6 V will cause
permanent damage to the chip. You can use a simple voltage divider (like a 1K and a 2K) to
knock down 5 V signals to 3.3 V levels or use one of our logic level shifters.
For example, lets say you have a shift register that has a chip enable pin, CE. If you see the CE pin
anywhere in the datasheet with a line over it like this, CE, then that pin is active-low. The CE pin
would need to be pulled to GND in order for the chip to become enabled. If, however, the CE pin
doesnt have a line over it, then it is active high, and it needs to be pulled HIGH in order to enable the
pin.
Many ICs will have both active-low and active-high pins intermingled. Just be sure to double check
for pin names that have a line over them. The line is used to represent NOT (also known as bar).
When something is NOTTED, it changes to the opposite state. So if an active-high input is NOTTED,
then it is now active-low. Simple as that!
Transistortransistor logic
From Wikipedia, the free encyclopedia
Transistortransistor logic (TTL) is a class of digital circuits built from bipolar junction
transistors (BJT) and resistors. It is called transistortransistor logic because both the logic gating
function (e.g., AND) and the amplifying function are performed by transistors (contrast with resistor
transistor logic (RTL) and diodetransistor logic (DTL)).
TTL is notable for being a widespread integrated circuit (IC) family used in many applications such
as computers, industrial controls, test equipment and instrumentation, consumer
electronics, synthesizers, etc. The designation TTL is sometimes used to mean TTL-compatible logic
levels, even when not associated directly with TTL integrated circuits, for example as a label on the
inputs and outputs of electronic instruments.[1]
After their introduction in integrated circuit form in 1963 by Sylvania, TTL integrated circuits were
manufactured by several semiconductor companies, with the 7400 series (also called 74xx)
by Texas Instrumentsbecoming particularly popular. TTL manufacturers offered a wide range of logic
gate, flip-flops, counters, and other circuits. Several variations of the original bipolar TTL concept
were developed, yielding circuits with higher speed or lower power dissipation to allow optimization
of a design. TTL circuits simplified system design compared to earlier logic families, offering speed
superior to RTL. The design of the input and outputs of TTL gates allowed many elements to be
interconnected.
TTL became the foundation of computers and other digital electronics. Even after much larger scale
integrated circuits made multiple-circuit-board processors obsolete, TTL devices still found extensive
use as the "glue" logic interfacing more densely integrated components. TTL devices were originally
made in ceramic and plastic dual-in-line (DIP) packages, and flat-pack form. TTL chips are now also
made in surface-mount packages. Successors to the original bipolar TTL logic often are
interchangeable in function with the original circuits, but with improved speed or lower power
dissipation.
Contents
[hide]
1History
2Implementation
o
3Interfacing considerations
4Packaging
6Sub-types
7Applications
o
7.1Analog applications
8See also
9References
10External links
History[edit]
TTL was invented in 1961 by James L. Buie of TRW, "particularly suited to the newly developing
integrated circuit design technology", and it was originally named transistor-coupled transistor
logic (TCTL).[2] The first commercial integrated-circuit TTL devices were manufactured by Sylvania in
1963, called the Sylvania Universal High-Level Logic family (SUHL). [3] The Sylvania parts were used
in the controls of the Phoenix missile.[3] TTL became popular with electronic systems designers
after Texas Instruments introduced the 5400 series of ICs, with military temperature range, in 1964
and the later 7400 series, specified over a narrower range and with inexpensive plastic packages, in
1966.[4]
The Texas Instruments 7400 family became an industry standard. Compatible parts were made
by Motorola, AMD, Fairchild, Intel, Intersil, Signetics, Mullard, Siemens, SGS-Thomson, Rifa, Nation
al Semiconductor,[5][6] and many other companies, even in the Eastern Bloc (Soviet Union, GDR,
Poland, Czechoslovakia, Hungary, Romania - for details see 7400 series). Not only did others make
compatible TTL parts, but compatible parts were made using many other circuit technologies as well.
At least one manufacturer, IBM, produced non-compatible TTL circuits for its own use; IBM used the
technology in the IBM System/38, IBM 4300, and IBM 3081.[7]
The term "TTL" is applied to many successive generations of bipolar logic, with gradual
improvements in speed and power consumption over about two decades. The most recently
introduced family 74Fxx is still sold today, and was widely used into the late 90s. 74AS/ALS
Advanced Schottky was introduced in 1985.[8] As of 2008, Texas Instruments continues to supply the
more general-purpose chips in numerous obsolete technology families, albeit at increased prices.
Typically, TTL chips integrate no more than a few hundred transistors each. Functions within a single
package generally range from a few logic gates to a microprocessor bit-slice. TTL also became
important because its low cost made digital techniques economically practical for tasks previously
done by analog methods.[9]
The Kenbak-1, ancestor of the first personal computers, used TTL for its CPU instead of
a microprocessor chip, which was not available in 1971.[10] The Datapoint 2200 from 1970 used TTL
components for its CPU and was the basis for the 8008 and later the x86 instruction set.[11] The
1973 Xerox Alto and 1981 Star workstations, which introduced the graphical user interface, used
TTL circuits integrated at the level ofArithmetic logic units (ALU)s and bitslices, respectively. Most
computers used TTL-compatible "glue logic" between larger chips well into the 1990s. Until the
advent of programmable logic, discrete bipolar logic was used to prototype
and emulate microarchitectures under development.
Implementation[edit]
Fundamental TTL gate[edit]
TTL inputs are the emitters of a multiple-emitter transistor. This IC structure is functionally equivalent
to multiple transistors where the bases and collectors are tied together.[12] The output is buffered by
a common emitter amplifier.
Inputs both logical ones. When all the inputs are held at high voltage, the baseemitter junctions
of the multiple-emitter transistor are reverse-biased. Unlike DTL, a small collector current
(approximately 10A) is drawn by each of the inputs. This is because the transistor is in reverseactive mode. An approximately constant current flows from the positive rail, through the resistor and
into the base of the multiple emitter transistor.[13] This current passes through the base-emitter
junction of the output transistor, allowing it to conduct and pulling the output voltage low (logical
zero).
An input logical zero. Note that the base-collector junction of the multiple-emitter transistor and the
base-emitter junction of the output transistor are in series between the bottom of the resistor and
ground. If one input voltage becomes zero, the corresponding base-emitter junction of the multipleemitter transistor is in parallel with these two junctions. A phenomenon called current steering means
that when two voltage-stable elements with different threshold voltages are connected in parallel, the
current flows through the path with the smaller threshold voltage. That is, current flows out of this
input and into the zero (low) voltage source. As a result, no current flows through the base of the
output transistor, causing it to stop conducting and the output voltage becomes high (logical one).
During the transition the input transistor is briefly in its active region; so it draws a large current away
from the base of the output transistor and thus quickly discharges its base. This is a critical
advantage of TTL over DTL that speeds up the transition over a diode input structure. [14]
The main disadvantage of TTL with a simple output stage is the relatively high output resistance at
output logical "1" that is completely determined by the output collector resistor. It limits the number of
inputs that can be connected (the fanout). Some advantage of the simple output stage is the high
voltage level (up to VCC) of the output logical "1" when the output is not loaded.
A common variation omits the collector resistor of the output transistor, making an open
collector output. This allows the designer to fabricate logic by connecting the open collector outputs
of several logic gates together and providing a single external pull-up resistor. If any of the logic
gates becomes logic low (transistor conducting), the combined output will be low. Examples of this
type of gate are the 7401[15] and 7403 series. Open collector outputs of some gates have a higher
maximum voltage, such as 15V for the 7426,[16]useful when driving other than TTL loads.
Standard TTL NAND with a "totem-pole" output stage, one of four in 7400
To solve the problem with the high output resistance of the simple output stage the second
schematic adds to this a "totem-pole" ("pushpull") output. It consists of the two n-p-n transistors
V3 and V4, the "lifting" diode V5 and the current-limiting resistor R3 (see the figure on the right). It is
driven by applying the same current steering idea as above.
When V2 is "off", V4 is "off" as well and V3 operates in active region as a voltage follower producing
high output voltage (logical "1"). When V2 is "on", it activates V4, driving low voltage (logical "0") to
the output. V2 and V4collectoremitter junctions connect V4 baseemitter junction in parallel to the
series-connected V3 baseemitter and V5 anodecathode junctions. V3 base current is deprived; the
transistor turns "off" and it does not impact on the output. In the middle of the transition, the resistor
R3 limits the current flowing directly through the series connected transistor V 3, diode V5 and
transistor V4 that are all conducting. It also limits the output current in the case of output logical "1"
and short connection to the ground. The strength of the gate may be increased without proportionally
affecting the power consumption by removing the pull-up and pull-down resistors from the output
stage.[17][18]
The main advantage of TTL with a "totem-pole" output stage is the low output resistance at output
logical "1". It is determined by the upper output transistor V3 operating in active region as a voltage
follower. The resistor R3does not increase the output resistance since it is connected in the
V3 collector and its influence is compensated by the negative feedback. A disadvantage of the
"totem-pole" output stage is the decreased voltage level (no more than 3.5 V) of the output logical
"1" (even if the output is unloaded). The reason of this reduction are the voltage drops across the
V3 baseemitter and V5 anodecathode junctions.
Interfacing considerations[edit]
Like DTL, TTL is a current-sinking logic since a current must be drawn from inputs to bring them to a
logic 0 level. At low input voltage, the TTL input sources current which must be absorbed by the
previous stage. The maximum value of this input current is about 1.6 mA for a standard TTL gate.
[19]
The input source has to be low-resistive enough (<500 ) so that the flowing current creates only
a negligible voltage drop (<0.4 V) across it, for the input to be considered as a logical "0" (with a
0.4 V "noise margin", see below). The output stage of the most common TTL gates is specified to
function correctly when driving up to 10 standard input stages (a fanout of 10). TTL inputs are
sometimes simply left floating to provide a logical "1", though this usage is not recommended.
Standard TTL circuits operate with a 5-volt power supply. A TTL input signal is defined as "low" when
between 0 V and 0.8 V with respect to the ground terminal, and "high" when between 2.2 V and
VCC (5 V),[20] and if a voltage signal ranging between 0.8 V and 2.0 V is sent into the input of a TTL
gate, there is no certain response from the gate and therefore it is considered "uncertain" (precise
logic levels vary slightly between sub-types and by temperature). TTL outputs are typically restricted
to narrower limits of between 0.0 V and 0.4 V for a "low" and between 2.6 V and VCC for a "high",
providing at least 0.4 V of noise immunity. Standardization of the TTL levels is so ubiquitous that
complex circuit boards often contain TTL chips made by many different manufacturers selected for
availability and cost, compatibility being assured; two circuit board units off the same assembly line
on different successive days or weeks might have a different mix of brands of chips in the same
positions on the board; repair is possible with chips manufactured years (sometimes over a decade)
later than original components. Within usefully broad limits, logic gates can be treated as ideal
Boolean devices without concern for electrical limitations. The 0.4V noise margins are adequate
because of the low output impedance of the driver stage, that is, a large amount of noise power
superimposed on the output is needed to drive an input into an undefined region.
In some cases (e.g., when the output of a TTL logic gate needs to be used for driving the input of a
CMOS gate), the voltage level of the "totem-pole" output stage at output logical "1" can be increased
up to VCC by connecting an external resistor between the V3collector and the positive rail. It pulls
up the V5 cathode and cuts-off the diode.[21] However, this technique actually converts the
sophisticated "totem-pole" output into a simple output stage having significant output resistance
when driving a high level (determined by the external resistor).
Packaging[edit]
Like most integrated circuits of the period 19631990, commercial TTL devices are usually
packaged in dual in-line packages (DIPs), usually with 14 to 24 pins,[22] for through-hole or socket
mounting. The DIPs were usually made of epoxy plastic (PDIP) for commercial-grade parts or of
ceramic (CDIP) for military-grade parts.
Beam-lead chip dies without packages were made for assembly into larger arrays as hybrid
integrated circuits. Parts for military and aerospace applications were packaged in flatpacks, a form
of surface-mount package, with leads suitable for welding or soldering to printed circuit boards.
Today, many TTL-compatible devices are available in surface-mount packages, which are available
in a wider array of types than through-hole packages.
TTL is particularly well suited to bipolar integrated circuits because additional inputs to a gate merely
required additional emitters on a shared base region of the input transistor. If individually packaged
transistors were used, the cost of all the transistors would discourage one from using such an input
structure. But in an integrated circuit, the additional emitters for extra gate inputs add only a small
area.
At least one computer manufacturer, IBM, built its own flip chip integrated circuits with TTL; these
chips were mounted on ceramic multi-chip modules.[23][24]
same pinouts. For example, the 74HCT00 series provides many drop-in replacements for
bipolar 7400 series parts, but uses CMOS technology.
Sub-types[edit]
Successive generations of technology produced compatible parts with improved power consumption
or switching speed, or both. Although vendors uniformly marketed these various product lines as TTL
with Schottky diodes, some of the underlying circuits, such as used in the LS family, could rather be
considered DTL.[26]
Variations of and successors to the basic TTL family, which has a typical gate propagation delay of
10ns and a power dissipation of 10 mW per gate, for a powerdelay product (PDP) or switching
energy of about 100 pJ, include:
Low-power TTL (L), which traded switching speed (33ns) for a reduction in power
consumption (1 mW) (now essentially replaced by CMOS logic)
High-speed TTL (H), with faster switching than standard TTL (6ns) but significantly higher
power dissipation (22 mW)
Schottky TTL (S), introduced in 1969, which used Schottky diode clamps at gate inputs to
prevent charge storage and improve switching time. These gates operated more quickly (3ns)
but had higher power dissipation (19 mW)
Low-power Schottky TTL (LS) used the higher resistance values of low-power TTL and the
Schottky diodes to provide a good combination of speed (9.5ns) and reduced power
consumption (2 mW), and PDP of about 20 pJ. Probably the most common type of TTL, these
were used as glue logic in microcomputers, essentially replacing the former H, L, and S subfamilies.
Fast (F) and Advanced-Schottky (AS) variants of LS from Fairchild and TI, respectively, circa
1985, with "Miller-killer" circuits to speed up the low-to-high transition. These families achieved
PDPs of 10 pJ and 4 pJ, respectively, the lowest of all the TTL families.
Low-voltage TTL (LVTTL) for 3.3-volt power supplies and memory interfacing.
Most manufacturers offer commercial and extended temperature ranges: for example Texas
Instruments 7400 series parts are rated from 0 to 70 C, and 5400 series devices over the militaryspecification temperature range of 55 to +125 C.
Special quality levels and high-reliability parts are available for military and aerospace applications.
Radiation-hardened devices are offered for space applications.
Applications[edit]
Before the advent of VLSI devices, TTL integrated circuits were a standard method of construction
for the processors of mini-computer and mainframe processors; such as the DEC VAX and Data
General Eclipse, and for equipment such as machine tool numerical controls, printers and video
display terminals. As microprocessors became more functional, TTL devices became important for
"glue logic" applications, such as fast bus drivers on a motherboard, which tie together the function
blocks realized in VLSI elements.
Analog applications[edit]
While originally designed to handle logic-level digital signals, a TTL inverter can be biased as an
analog amplifier. Connecting a resistor between the output and the input biases the TTL element as
a negative feedback amplifier. Such amplifiers may be useful to convert analog signals to the digital
domain but would not ordinarily be used where analog amplification is the primary purpose. [27] TTL
inverters can also be used in crystal oscillators where their analog amplification ability is significant.
A TTL gate may operate inadvertently as an analog amplifier if the input is connected to a slowly
changing input signal that traverses the unspecified region from 0.8 V to 2.2 V. The output can be
erratic when the input is in this range. A slowly changing input like this can also cause excess power
dissipation in the output circuit. If such an analog input must be used, there are specialized TTL
parts with Schmitt trigger inputs available that will reliably convert the analog input to a digital value,
effectively operating as a one bit A to D converter.
Problem:
What is the definition of a TTL (Transistor-Transistor Logic) compatible signal?
Solution:
A TTL signal must meet an output voltage and current specification, an input voltage and current specification, and a
rise/fall time specification. For any given hardware, the signal must also have a minimum pulse width.
Note: All specifications use the following notation:
Output Low = OL
Output High = OH
Input Low = IL
Input High = IH
1.
VOL = 0.4 V
VOH = 2.4 V
IOL = 16 mA
IOH = 400 A
2.
VIL = 0.8 V
VIH = 2.0 V
IIL = 1.6 mA
IIH = 40 A
3.
The maximum rise/fall time is 50 ns between VIL and VIH. The minimum pulse width for:
Note: The ratio between IOL and IIL as well as IOH and IIH is 10 due to the standard fanout of TTL logic.
What are the Basic Differences Between CMOS and TTL Signals?
Hardware: Multifunction DAQ (MIO)
Problem:
What are some of the differences between CMOS and TTL signals and how do they compare?
Solution:
Characteristics of CMOS logic:
Dissipates low power: The power dissipation is dependent on the power supply voltage, frequency, output
load, and input rise time. At 1 MHz and 50 pF load, the power dissipation is typically 10 nW per gate.
Short propagation delays: Depending on the power supply, the propagation delays are usually around 25 nS
to 50 nS.
Rise and fall times are controlled: The rise and falls are usually ramps instead of step functions, and they
are 20 - 40% longer than the propagation delays.
Levels of the logic signal will be essentially equal to the power supplied since the input impedance is so
high.
Voltage levels range from 0 to VDD where VDD is the supply voltage. A low level is anywhere between 0
and 1/3 VDD while a high level is between 2/3 VDD and VDD.
Characteristics of TTL logic:
Voltage levels range from 0 to Vcc where Vcc is typically 4.75V - 5.25V. Voltage range 0V - 0.8V creates
logic level 0. Voltage range 2V - Vcc creates logic level 1.
CMOS components are typically more expensive than TTL equivalents. However, CMOS technology is
usually less expensive on a system level due to CMOS chips being smaller and requiring less regulation.
CMOS circuits do not draw as much power as TTL circuits while at rest. However, CMOS power
consumption increases faster with higher clock speeds than TTL does. Lower current draw requires less power
supply distribution, therefore causing a simpler and cheaper design.
Due to longer rise and fall times, the transmission of digital signals becomes simpler and less expensive with
CMOS chips.
CMOS components are more susceptible to damage from electrostatic discharge than TTL components.
Problem:
I want to interface my digital lines on my National Instruments DAQ board to my CMOS circuit. How can I interface
the two? How do I connect two digital signals with different voltage levels?
Solution:
The following figures demonstrate how to interface a TTL signal to a CMOS circuit and a CMOS circuit to a TTL input.
The figures also show how to interface the two circuits if the voltage levels are incompatible.
A Digital Logic Gate is an electronic device that makes logical decisions based on the different
combinations of digital signals present on its inputs. Digital logic gates may have more than one
input but generally only have one digital output. Individual logic gates can be connected together
to form combinational or sequential circuits, or larger logic gate functions.
Standard commercially available digital logic gates are available in two basic families or
forms, TTL which stands for Transistor-Transistor Logic such as the 7400 series,
andCMOS which stands for Complementary Metal-Oxide-Silicon which is the 4000 series of
chips. This notation of TTL or CMOS refers to the logic technology used to manufacture the
integrated circuit, (IC) or a chip as it is more commonly called.
microprocessor may contain many thousands of individual transistor gates. Integrated circuits are
categorised according to the number of logic gates or the complexity of the circuits within a
single chip with the general classification for the number of individual gates given as:
Very-Large
Scale
While the ultra large scale ULSI classification is less well used, another level of integration
which represents the complexity of the Integrated Circuit is known as theSystem-on-Chip or
(SOC) for short. Here the individual components such as the microprocessor, memory,
peripherals, I/O logic etc, are all produced on a single piece of silicon and which represents a
whole electronic system within one single chip, literally putting the word integrated into
integrated circuit.
These complete integrated chips which can contain up to 100 million individual silicon-CMOS
transistor gates within one single package are generally used in mobile phones, digital cameras,
micro-controllers, PICs and robotic type applications.
Moores Law
In 1965, Gordon Moore co-founder of the Intel corporation predicted that The number of
transistors and resistors on a single chip will double every 18 months regarding the
development of semiconductor gate technology. When Gordon Moore made his famous
comment way back in 1965 there were approximately only 60 individual transistor gates on a
single silicon chip or die.
The worlds first microprocessor in 1971 was the Intel 4004 that had a 4-bit data bus and
contained about 2,300 transistors on a single chip, operating at about 600kHz. Today, the Intel
Corporation have placed a staggering 1.2 Billion individual transistor gates onto its new Quadcore i7-2700K Sandy Bridge 64-bit microprocessor chip operating at nearly 4GHz, and the onchip transistor count is still rising, as newer faster microprocessors and micro-controllers are
developed.
Most digital logic gates and digital logic systems use Positive logic, in which a logic level 0
or LOW is represented by a zero voltage, 0v or ground and a logic level 1 or HIGH is
represented by a higher voltage such as +5 volts, with the switching from one voltage level to the
other, from either a logic level 0 to a 1 or a 1 to a 0 being made as quickly as possible to
prevent any faulty operation of the logic circuit.
There also exists a complementary Negative Logic system in which the values and the rules of
a logic 0 and a logic 1 are reversed but in this tutorial section about digital logic gates we
shall only refer to the positive logic convention as it is the most commonly used.
In standard TTL (transistor-transistor logic) ICs there is a pre-defined voltage range for the input
and output voltage levels which define exactly what is a logic 1 level and what is a logic 0
level and these are shown below.
There are a large variety of logic gate types in both the bipolar 7400 and the CMOS 4000
families of digital logic gates such as 74Lxx, 74LSxx, 74ALSxx, 74HCxx, 74HCTxx, 74ACTxx
etc, with each one having its own distinct advantages and disadvantages compared to the other.
The exact switching voltage required to produce either a logic 0 or a logic 1 depends upon
the specific logic group or family.
However, when using a standard +5 volt supply any TTL voltage input between 2.0v and 5v is
considered to be a logic 1 or HIGH while any voltage input below 0.8v is recognised as a
logic 0 or LOW. The voltage region in between these two voltage levels either as an input or
as an output is called the Indeterminate Region and operating within this region may cause the
logic gate to produce a false output.
The CMOS 4000 logic family uses different levels of voltages compared to the TTL types as
they are designed using field effect transistors, or FETs. In CMOS technology a logic 1 level
operates between 3.0 and 18 volts and a logic 0 level is below 1.5 volts. Then the following
table shows the difference between the logic levels of traditional TTL and CMOS logic gates.
Then from the above observations, we can define the ideal TTL digital logic gate as one that has
a LOW level logic 0 of 0 volts (ground) and a HIGH level logic 1 of +5 volts and this
can be demonstrated as:
Where the opening or closing of the switch produces either a logic level 1 or a logic level 0
with the resistor R being known as a pull-up resistor.
In the example above, the noise signal is superimposed onto the Vcc supply voltage and as long
as it stays above the minimum level (VON(min)) the input an corresponding output of the logic gate
are unaffected. But when the noise level becomes large enough and a noise spike causes the
HIGH voltage level to drop below this minimum level, the logic gate may interpret this spike as
a LOW level input and switch the output accordingly producing a false output switching. Then in
order for the logic gate not to be affected by noise it must be able to tolerate a certain amount of
unwanted noise on its input without changing the state of its output.
The simple 2-input Diode-Resistor AND gate can be converted into a NAND gate by the addition
of a single transistor inverting (NOT) stage. Using discrete components such as diodes, resistors
and transistors to make digital logic gate circuits are not used in practical commercially available
logic ICs as these circuits suffer from propagation delay or gate delay and also power loss due to
the pull-up resistors.
Another disadvantage of diode-resistor logic is that there is no Fan-out facility which is the
ability of a single output to drive many inputs of the next stages. Also this type of design does
not turn fully OFF as a Logic 0 produces an output voltage of 0.6v (diode voltage drop), so
the following TTL and CMOS circuit designs are used instead.
level 1 atQ is only present when both the emitters of TR are connected to logic level 0 or
1
ground allowing base current to pass through the PN junctions of the emitter and not the
collector. The multiple emitters of TR are connected as inputs thus producing a NAND gate
1
function.
In standard TTL logic gates, the transistors operate either completely in the cut off region, or
else completely in the saturated region, Transistor as a Switch type operation.
This has the effect of increasing the speed of operation of the emitter coupled logic gates up to
the Gigahertz range compared with the standard TTL types, but noise has a greater effect in ECL
logic, because the unsaturated transistors operate within their active region and amplify as well
as switch signals.
74xx or 74Nxx: Standard TTL These devices are the original TTL family of
logic gates introduced in the early 70s. They have a propagation delay of
about 10ns and a power consumption of about 10mW. Supply voltage range:
4.75 to 5.25v
74Lxx: Low Power TTL Power consumption was improved over standard
types by increasing the number of internal resistances but at the cost of a
reduction in switching speed. Supply voltage range: 4.75 to 5.25v
74Hxx: High Speed TTL Switching speed was improved by reducing the
number of internal resistances. This also increased the power consumption.
Supply voltage range: 4.75 to 5.25v
74LSxx: Low Power Schottky TTL Same as 74Sxx types but with increased
internal resistances to improve power consumption. Supply voltage range:
4.75 to 5.25v
operate on single +5V voltages for both their input and output levels, CMOS digital logic gates
operate on a single supply voltage of between +3 and +18 volts.
Common CMOS Sub-families include:
4000B Series: Standard CMOS These devices are the original Buffered
CMOS family of logic gates introduced in the early 70s and operate from a
supply voltage of 3.0 to 18v d.c.
Note that CMOS logic gates and devices are static sensitive, so always take the appropriate
precautions of working on antistatic mats or grounded workbenches, wearing an antistatic
wristband and not removing a part from its antistatic packaging until required.
In the next tutorial about Digital Logic Gates, we will look at the digital Logic AND
Gatefunction as used in both TTL and CMOS logic circuits as well as its Boolean Algebra
definition and truth tables.
Summary of Transducers
Below is a summary of transducers and sensors we have looked at in this section along with a list
of the main characteristics associated with Transducers, Sensors and Actuators.
Sensors are Input devices which convert one type of energy or quantity
into an electrical analogue signal.
The most common forms of sensors are those that detect Position,
Temperature, Light, Pressure and Velocity.
Not all sensors produce a straight linear output and linearisation circuitry may
be required.
Instrumentation type Operational Amplifiers are ideal for signal processing and
conditioning of a sensors output signal.
Output devices are commonly called Actuators and the simplest of all
actuators is the lamp.
Relays provide good separation of the low voltage electronic control signals
and the high power load circuits.
Solid state relays have fast response, long life, no moving parts with no
contact arcing or bounce but require heat sinking.
Solenoids are electromagnetic devices that are used mainly to open or close
pneumatic valves, security doors and robot type applications. They are
inductive loads so a flywheel diode is required.
Permanent magnet DC motors are cheaper and smaller than equivalent wound
motors as they have no field winding.
Stepper
motors
can
be
controlled
directly
using
transistor
switching
techniques.
The speed and position of a stepper motor can be accurately controlled using
pulses so can operate in an Open-loop mode.
Microphones are input sound transducers that can detect acoustic waves
either in the Infra sound, Audible sound or Ultrasound range generated by a
mechanical vibration.
Loudspeakers, buzzers, horns and sounders are output devices and are used
to produce an output sound, note or alarm.