Transistor-Transistor Logic (TTL)

Lecture



Transistor-transistor logic (TTL) is a class of digital logic integrated circuits built on bipolar transistors and resistors. The name transistor-transistor arose because transistors are used both to perform logic functions (such as AND, OR) and to amplify the output signal (unlike resistor-transistor logic and diode-transistor logic).

The simplest basic TTL element performs the logical NAND operation. It essentially repeats the structure of DTL chips while, through the use of a multi-emitter transistor, combining the properties of a diode and a transistor amplifier, which increases speed, reduces power consumption, and improves the chip manufacturing process.

TTL became widely used in computers, electronic musical instruments, and also in measurement and control instrumentation and automation equipment. Because of its widespread use, the input and output circuits of electronic equipment are often made electrically compatible with TTL. The maximum voltage in TTL circuits can reach 24 V, but this leads to a high level of parasitic signal. A sufficiently low level of parasitic signal while maintaining adequate efficiency is achieved at a voltage of 5 V, which is why this value became part of the TTL technical standard.

TTL became popular among electronic system designers after Texas Instruments introduced the 7400 series of integrated circuits in 1965. This series became an industry standard, but TTL chips are also produced by other companies. Moreover, Texas Instruments was not the first to begin producing TTL chips — Sylvania and Transitron had started somewhat earlier. Nevertheless, it was Texas Instruments' 74 series that became the industry standard, largely due to the company's large production capacity and its efforts to promote the 74 series. Since Texas Instruments' bipolar 74-series ICs became the most widespread, they are functionally and parametrically replicated by other manufacturers' products (Advanced Micro Devices, Fairchild's 90/9N/9L/9H/9S series, Harris, Intel, Intersil, Motorola, National, and so on).

The importance of TTL lies in the fact that TTL chips proved to be more suitable for mass production while also outperforming previously produced series of chips (resistor-transistor logic and diode-transistor logic) in their parameters.

Operating principle

Transistor-Transistor Logic (TTL)
Simplified diagram of a 2-input NAND element.

Operating principle of TTL with a simple inverter:

Bipolar transistors can operate in the following modes: cutoff, saturation, normal active, and reverse active. In the reverse active mode, the emitter junction is closed while the collector junction is open. In the reverse active mode, the transistor's current gain is significantly lower than in normal mode, due to the asymmetry in the design of the base-collector and base-emitter junctions — in particular, due to differences in their areas and the doping levels of the collector and emitter semiconductor layers (for more on the operating modes of a bipolar transistor, see Bipolar Transistor).

When the potential at any emitter of the multi-emitter transistor VT1 is zero, it operates in normal saturation mode, since current from resistor R1 flows into the base, so the potential at the collector of VT1 and the base of VT2 is close to zero (Vbe1 = (A|B=0) + 0.7V ≱ Vbc1 + Vbe2, as described in this article in English), which puts VT2 into cutoff mode. Therefore, the potential at the collector of VT2 is close to the supply voltage Vcc — the element's output is logic 1. In this state, a change in the potential of another emitter does not change the state of the element. Through the emitter (input) connected to "ground," a current I = (Vcc — 0.7)/R1 flows to ground, where 0.7 V is the voltage drop across the forward-biased emitter junction of VT1.

If all emitters are disconnected, or a logic 1 voltage (more than 2.4 V) is applied to them, then current from resistor R1 flows through the forward-biased collector junction of VT1 into the base of VT2, I = (Vcc — 1.4)/R1, where 1.4 V is the sum of the voltage drops across the forward-biased emitter junction of VT2 and the forward-biased collector junction of VT1. In this case VT2 enters saturation, and its collector potential becomes close to zero (logic 0).

Thus, the output will be logic 0 only if all inputs are at logic 1, which corresponds to the NAND logic function.

TTL has increased speed compared to DTL logic, even if the transistors used have equal speed. This is because, when the output transitions from logic zero to logic 1, the transistor comes out of saturation, and the minority carriers accumulated in the base of VT2 not only recombine spontaneously but also drain into the collector of the saturated VT1 (whose potential, as mentioned earlier, is close to zero). The typical delay per element in early TTL chip series is about 22 ns.

Some chips in each TTL series are manufactured without the R2 resistor, with the collector of VT2 brought out to the output — the so-called "open-collector" elements. A group of such outputs can be electrically connected together and fitted with a single external resistor, the other end of which is connected to Vcc, thereby implementing the "AND" logic function — such a connection is sometimes called a "wired AND." On circuit diagrams, an additional symbol is used in the schematic designation of open-collector elements.

Transistor-Transistor Logic (TTL)
3-input NAND logic element in the 74LS (K555) chip series

TTL logic (like TTLS) is a direct descendant of DTL and uses the same operating principle. The input TTL transistor (unlike a conventional one) has several emitters, usually from 2 to 8. These emitters act as input diodes (by comparison with DTL). Compared to the assembly of discrete diodes used in DTL circuits, a multi-emitter transistor takes up less chip area and provides higher speed. It should be noted that in TTLS chips, starting with the 74LS series, instead of a multi-emitter transistor an assembly of Schottky diodes is used (74LS series), or PNP transistors combined with Schottky diodes (74AS, 74ALS series), so that in effect there has been a return to DTL. The name TTL is rightfully carried only by the 74, 74H, 74L, and 74S series, which contain a multi-emitter transistor. All later series do not contain a multi-emitter transistor, are in fact DTL, and bear the name TTLS (Schottky TTL) only "by tradition," being in fact a development of DTL.

Transistor-transistor logic with Schottky diodes (TTLS)

TTLS uses Schottky diodes, in which the Schottky barrier prevents the transistor from entering saturation mode, so that the diffusion capacitance is small, switching delays are small, and speed is high. Such a combination (a bipolar transistor with a Schottky diode in the base-collector circuit) is considered a separate component — a Schottky transistor — and has its own designation on circuit diagrams.

TTLS logic differs from TTL in that it has Schottky diodes in the base-collector circuits, which prevents the transistor from saturating, as well as clamping Schottky diodes at the inputs (rarely at the outputs) to suppress pulse interference arising from reflections in long transmission lines (a line is considered "long" when the signal propagation time along it exceeds the duration of its edge; for the fastest TTLS chips a line becomes "long" starting at a length of a few centimeters).

Types

Foreign-made TTL chip series

Transistor-Transistor Logic (TTL)
SN7400N

The typical propagation delay (Tpd) and power consumption (Pd) values for each series are given in parentheses, taken from Texas Instruments' document SDAA010.PDF, except for 74F, for which the data is taken from Fairchild's AN-661.

  • 74 — the base TTL series. Although it was the first series produced by Texas Instruments, it is still in production (Tpd = 10 ns, Pd = 10 mW);
  • 74L — a reduced-power series, replaced by the LS series as well as by CMOS chips, which far exceed it in efficiency (Tpd = 33 ns, Pd = 1 mW);
  • 74H — high speed. It was used in the 1960s and early 1970s and was replaced by the S series (Tpd = 6 ns, Pd = 22 mW);
  • 74S — with Schottky diodes. Although obsolete (surpassed by the 74AS and 74F series), it is still produced by Texas Instruments (Tpd = 3 ns, Pd = 19 mW);
  • 74LS — Low Power Schottky, with Schottky diodes and reduced power consumption (Tpd = 9 ns, Pd = 2 mW);
  • 74AS — Advanced Schottky, an improved version with Schottky diodes (Tpd = 1.7 ns, Pd = 8 mW);
  • 74ALS — Advanced Low Power Schottky, an improved version with Schottky diodes and reduced power consumption (Tpd = 4 ns, Pd = 1.2 mW);
  • 74F — Fast, with Schottky diodes (Tpd = 1.7 ns, Pd = 4 mW; in reality 74F is slightly slower than 74AS);

The "74" series prefix denotes the commercial variant of the chips, while "54" denotes the industrial or military variant, with an extended temperature range of −55 °C...+125 °C. The package type is usually indicated by the last letter in the designation; for example, for Texas Instruments, a plastic DIP package is coded with the letter N (SN7400N).

Soviet TTL chip series

  • 106 — an early series of TTL chips with a low level of integration (no more than 2 logic elements per package), designed for harsh operating conditions (military equipment, space applications, etc.). It has no equivalent among Texas Instruments chips.
  • 133 and 155 correspond to the 54 and 74 series;
  • 130, 131 — to the 54H and 74H series;
  • 134, KR134 — to the 54L and 74L series;
  • 136 and 158 — close to the 54L and 74L series, but with twice the power consumption and somewhat higher speed;
  • 530 and 531 — to the 54S and 74S series;
  • 533 and 555 — to the 54LS and 74LS series;
  • 1530, KR1530 — to the 54AS and 74AS series (approximate correspondence);
  • 1531, KR1531 — to the 54F and 74F series;
  • 1533, KR1533 — to the 54ALS and 74ALS series;
  • Transistor-Transistor Logic (TTL)

    K131LA3, made at the "Elektronpribor" plant, Fryazino

  • Transistor-Transistor Logic (TTL)

    133LA3, military version, made at the "Planeta" plant, Veliky Novgorod

  • Transistor-Transistor Logic (TTL)

    KM155LA3, made at the "Integral" plant, Minsk

  • Transistor-Transistor Logic (TTL)

    I533KP11, made at the "Svetlana" plant, St. Petersburg

  • Transistor-Transistor Logic (TTL)

    B533TM2 in a chip carrier, made at the "Mezon" plant, Chisinau

Application features of TTL logic chips

During TTL operation, fairly strong current spikes are observed (especially at the output), which can create parasitic interference on the power supply lines, leading to malfunctions of the TTL elements themselves. To combat this phenomenon, the following rules should be followed:

  • Power supply to TTL chips is organized as two buses (usually made of copper or brass strips) with short trace stubs to the power pins. In multilayer boards, separate layers are allocated for the power buses. The use of branched power traces is not allowed.
  • Decoupling capacitors with low parasitic inductance (ceramic or mica) are installed between the power buses. The minimum capacitance and number of decoupling capacitors are specified by the TTL chip's installation instructions.

Not all available inputs of a TTL element are always used in a given circuit. If the logic of operation requires a zero signal at the input, the unused inputs are connected to the common wire.

  • For plain TTL circuits, unused inputs can be left unconnected, but due to parasitic capacitance a signal propagation delay will appear (about 2 ns per input); in addition, interference can be picked up on unused inputs. For TTLS, leaving unused inputs unconnected is not allowed.
  • Used and unused inputs can be connected together (if permitted by the circuit), but this increases the load on the signal source and also increases the delay.
  • Unused inputs can be connected to the output of an inverting element whose inputs are connected to the common wire.
  • Unused inputs can be connected to the power supply through a resistor — for some series (the number of inputs that can be connected simultaneously to one resistor and the value of that resistance are specified by the corresponding instructions) — or directly to the supply for others.

Transistor-transistor logic with Schottky diodes (TTLS)

TTLS uses Schottky transistors, in which the Schottky barrier prevents the transistor from entering saturation mode, so that diffusion capacitance is minimal, switching delays are small, and speed is high.

TTLS logic differs from TTL in that it has Schottky diodes in the base-collector circuits, preventing transistor saturation, as well as clamping Schottky diodes at the inputs (rarely at the outputs) to suppress pulse interference arising from reflection in long transmission lines (a line is considered "long" when the signal propagation time along it exceeds the duration of its edge; for fast TTLS chips a line becomes "long" starting at a length of a few centimeters).

Comparison with other logic families

TTL devices consume significantly more power than equivalent CMOS devices at rest, but power consumption does not increase with clock frequency as quickly as it does for CMOS devices. Compared to modern ECL circuits, TTL consumes less power and has simpler design rules, but is significantly slower. Designers can combine ECL and TTL devices in a single system to achieve the best overall performance and cost, but level-shifting devices are required between the two logic families. TTL is less susceptible to damage from electrostatic discharge than early CMOS devices.

Because of the output structure of TTL devices, the output impedance is asymmetric between the high and low states, making them unsuitable for driving transmission lines. This drawback is usually overcome by buffering the outputs with dedicated line-driver devices when signals must be transmitted over cables. ECL, thanks to its symmetric, low-impedance output structure, does not have this drawback.

The TTL "totem-pole" output structure often has brief overlap, when both the upper and lower transistors conduct current, resulting in a significant current pulse drawn from the power supply. These pulses can combine unpredictably across multiple integrated circuit packages, reducing noise margin and degrading performance. TTL systems typically have a decoupling capacitor for every one or two IC packages, so that the current pulse from one TTL chip does not instantaneously pull down the supply voltage for another.

Some manufacturers now supply CMOS logic equivalents with TTL-compatible input and output levels, usually with part numbers similar to the equivalent TTL components and with the same pinouts. For example, the 74HCT00 series provides many drop-in replacements for bipolar 7400-series parts, but uses CMOS technology.

Subtypes

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 Schottky TTL, some of the underlying circuits, such as those used in the LS family, could more properly be regarded as DTL.

Variants and successors of the main TTL family, which has a typical gate propagation delay of 10 ns and power dissipation of 10 mW per gate, giving a power-delay product (PDP), or switching energy, of about 100 pJ, include:

  • Low-power TTL (L), in which switching speed (33 ns) is traded for reduced power consumption (1 mW) (now essentially replaced by CMOS logic)
  • High-speed TTL (H), with faster switching than standard TTL (6 ns), but significantly higher power dissipation (22 mW)
  • Schottky TTL (S), introduced in 1969, which used Schottky diode clamps at the gate inputs to prevent charge storage and shorten switching time. These gates were faster (3 ns) but had higher power dissipation (19 mW).
  • Low-power Schottky TTL (LS) — uses the higher resistance values of low-power TTL together with Schottky diodes to provide a good combination of speed (9.5 ns) and reduced power consumption (2 mW), with a PDP of about 20 pJ. Probably the most widespread type of TTL, these were used as glue logic in microcomputers, essentially replacing the earlier H, L, and S subfamilies.
  • The Fast (F) and Advanced Schottky (AS) variants of LS, from Fairchild and TI respectively, introduced around 1985, with "Miller-killer" circuits to speed up the low-to-high transition. These families achieved a PDP of 10 pJ and 4 pJ respectively, the lowest of all 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 for a range of 0 to 70 °C, while 5400-series devices are rated for the military-specification temperature range of −55 to +125 °C.

Special quality levels and high-reliability parts are available for military and aerospace applications.

Radiation-hardened devices (such as those in the SNJ54 series) are offered for space applications.

Applications

Before the advent of VLSI devices, TTL integrated circuits were the standard method for building minicomputer and mainframe processors — for example, the DEC VAX and the Data General Eclipse — as well as for equipment such as numerical control of machine tools, printers, and video terminals. As microprocessors became more capable, TTL devices became important for "glue logic" applications, such as fast bus drivers on a motherboard that link together functional blocks implemented in VLSI elements.

Analog applications

Originally designed for processing digital logic-level signals, a TTL inverter can be used as an analog amplifier. Connecting a resistor between the output and the input biases the TTL element as a negative-feedback amplifier. Such amplifiers can be useful for converting analog signals into the digital domain, but would not normally be used where analog amplification is the primary goal. TTL inverters can also be used in crystal oscillators, where their analog amplification capability is significant.

A TTL gate can unintentionally act as an analog amplifier if the input is connected to a slowly changing input signal that crosses the undefined region from 0.8 V to 2 V. The output can become unstable when the input is within this range. Such a slowly changing input signal can also cause excessive power dissipation in the output circuit. If such an analog input must be used, there are specialized TTL components with Schmitt-trigger inputs that reliably convert the analog input into a digital value, effectively acting as a single-bit analog-to-digital converter.

See also

  • Logic gates
  • CMOS array
  • SRAM (memory)
  • Logic gates
  • MOS structure
  • [[b291]]
  • [[b292]]
  • [[b9819]]
  • [[b8548]]
  • [[b8547]]
  • [[b12368]]
  • DTL (Diode-transistor logic)
  • ECL (Emitter-coupled logic)
  • N-MOS (metal-oxide-semiconductor)
  • CMOS (complementary metal-oxide-semiconductor)
  • BiCMOS (bipolar complementary metal oxide semiconductor)
  • IIL (Integrated injection logic)
  • Dynamic logic (or clocked logic)

See also

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Electronics, Microelectronics, Element Base"

Terms: Electronics, Microelectronics, Element Base