Jump to content

Transistor–transistor logic: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
 
(524 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{Short description|Class of digital circuits}}
'''<nowiki>
'''Transistor–transistor logic''' ('''TTL''') is a [[logic family]] built from [[bipolar junction transistor]]s. Its name signifies that transistors perform both the logic function (the first "transistor") and the amplifying function (the second "transistor"), as opposed to earlier [[resistor–transistor logic]] (RTL) and [[diode–transistor logic]] (DTL).
== Headline text ==
[[File:68k ttl.jpg|right|thumb|300px|A [[Motorola 68000]]-based computer with various TTL chips mounted on [[protoboard]]s.]]


TTL [[integrated circuit]]s (ICs) were widely used in applications such as [[computer]]s, industrial controls, test equipment and instrumentation, consumer electronics, and [[synthesizer]]s.<ref>{{citation |last=Eren |first=H. |title=Electronic Portable Instruments: Design and Applications |publisher=CRC Press |year=2003 |isbn=0-8493-1998-6 |url=https://books.google.com/books?id=xwfpvzvNTr4C&pg=PA353 }}</ref>
'''Transistor–transistor logic''' ('''TTL''') is a class of [[digital circuit]]s built from [[bipolar junction transistor]]s (BJT) and [[resistor]]s. It is called ''transistor–transistor logic'' because both the logic gating function (e.g., [[logical conjunction|AND]]) and the amplifying function are performed by transistors (contrast this with [[Resistor–transistor logic|RTL]] and [[Diode–transistor logic|DTL]]).


After their introduction in integrated circuit form in 1963 by [[Sylvania Electric Products]], TTL integrated circuits were manufactured by several semiconductor companies. The [[7400 series]] by [[Texas Instruments]] became particularly popular. TTL manufacturers offered a wide range of [[logic gate]]s, [[Flip-flop (electronics)|flip-flops]], counters, and other circuits. Variations of the original TTL circuit design offered higher speed or lower power dissipation to allow design optimization. TTL devices were originally made in ceramic and plastic [[dual in-line package]](s) and in flat-pack form. Some TTL chips are now also made in [[surface-mount technology]] packages.
TTL is notable for being a widespread [[integrated circuit]] (IC) family used in many applications such as [[computer]]s, industrial controls, test equipment and instrumentation, consumer electronics, [[synthesizer]]s, etc. The designation ''TTL'' is sometimes used to mean [[Digital_signal#Logic_voltage_levels|TTL-compatible logic level]]s, even when not associated directly with TTL integrated circuits, for example as a label on the inputs and outputs of electronic instruments.<ref>[[#CITEErin2003|Eren, H., 2003.]]</ref>

TTL became the foundation of computers and other digital electronics. Even after [[Very-Large-Scale Integration]] (VLSI) [[CMOS]] integrated circuit [[microprocessor]]s made multiple-chip processors obsolete, TTL devices still found extensive use as [[glue logic]] interfacing between more densely integrated components.


==History==
==History==
[[File:TTL Clock.jpg|thumb|upright|A real-time clock built of TTL chips around 1979]]


TTL was invented in 1961 by [[James L. Buie]] of [[TRW Inc.|TRW]], which declared it "particularly suited to the newly developing integrated circuit design technology." The original name for TTL was ''transistor-coupled transistor logic'' (TCTL).<ref>{{cite patent | country=US | number=3283170 | title=Coupling transistor logic and other circuits | gdate=1966-11-01 | fdate=1961-09-08 | inventor1-first=James L. |inventor1-last=Buie | assign1=TRW Semiconductors, Inc.}}</ref> The first commercial integrated-circuit TTL devices were manufactured by Sylvania in 1963, called the Sylvania Universal High-Level Logic family (SUHL).<ref name="The Computer History Museum 2007">{{cite web |publisher=The Computer History Museum |url=http://www.computerhistory.org/semiconductor/timeline/1963-TTL.html |title=1963: Standard Logic Families Introduced |date=2007 |work=Timeline}}</ref> The Sylvania parts were used in the controls of the [[Phoenix missile]].<ref name="The Computer History Museum 2007"/> 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.<ref>{{citation |first=Bo |last=Lojek |title=History of semiconductor engineering |publisher=Springer |year=2006 |isbn=3-540-34257-5 |pages=212–215}}</ref>
[[Image:TTL Clock.jpg|right|thumb|300 px|A real-time clock built of TTL chips designed about 1979.]]
TTL was invented in 1961 by James L. Buie of [[TRW]], "particularly suited to the newly developing integrated circuit design technology."<ref>[[#CITEBuie1966|Buie, J., 1966.]]</ref> The first commercial integrated-circuit TTL devices were manufactured by [[Sylvania Electric Products|Sylvania]] in 1963, called the Sylvania Universal High-Level Logic family (SUHL).<ref name="The Computer History Museum 2007">[[#CITEComputerHistoryMuseum2007|The Computer History Museum, 2007.]]</ref> The Sylvania parts were used in the controls of the [[Phoenix missile]].<ref name="The Computer History Museum 2007"/> 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, in 1966.


The Texas Instruments 7400 family became an industry standard. Compatible parts were made by [[Motorola]], [[AMD]], [[Fairchild]], [[Intel]], [[Intersil]], [[Signetics]], [[Mullard]], [[Siemens]], [[SGS-Thomson]] and [[National Semiconductor]],<ref>[[#CITETI1973|Engineering Staff, 1973.]]</ref><ref> L.W. Turner,(ed), Electronics Engineer's Reference Book, 4th ed. Newnes-Butterworth, London 1976 ISBN 0 408 00168 </ref> and many other companies, even in the Eastern Bloc (Soviet Union, GDR, Poland, Bulgaria).{{Citation needed|date=September 2008}} Not only did others make compatible TTL parts, but compatible parts were made using many other circuit technologies as well.
The Texas Instruments 7400 family became an industry standard. Compatible parts were made by [[Motorola]], [[AMD]], [[Fairchild Semiconductor|Fairchild]], [[Intel]], [[Intersil]], [[Signetics]], [[Mullard]], [[Siemens]], [[SGS-Thomson]], [[RIFA (manufacturer)|Rifa]], [[National Semiconductor]],<ref>{{cite book |author=Engineering Staff |title=The TTL Data Book for Design Engineers |edition=1st |location=Dallas |publisher=Texas Instruments |date=1973 |oclc=6908409}}</ref><ref>{{citation |editor-first=L. W. |editor-last=Turner |title=Electronics Engineer's Reference Book |edition=4th |publisher=Newnes-Butterworth |location=London |year=1976 |isbn=0408001682}}</ref> and many other companies, even in the Eastern Bloc (Soviet Union, GDR, Poland, Czechoslovakia, Hungary, Romania — for details see [[7400 series#Second sources from Europe and Eastern Bloc|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]].<ref>{{citation |last1=Pittler |first1=M. S. |last2=Powers |first2=D. M. |last3=Schnabel |first3=D. L. |url=http://www.research.ibm.com/journal/rd/261/ibmrd2601B.pdf |archive-url=https://web.archive.org/web/20110604200220/http://www.research.ibm.com/journal/rd/261/ibmrd2601B.pdf |archive-date=2011-06-04 |url-status=live |title=System development and technology aspects of the IBM 3081 Processor Complex |journal=IBM Journal of Research and Development |volume=26 |date=1982 |issue=1 |pages=2–11 |doi=10.1147/rd.261.0002}}, p. 5.</ref>


The term "TTL" is applied to many successive generations of [[BJT|bipolar]] logic, with gradual improvements in speed and power consumption over about two decades. The last widely available family{{Citation needed|date=July 2009}}<!-- 74Fxx is still sold today, and was widely used at least till late 90s -->, 74AS/ALS Advanced Schottky, was introduced in 1985.<ref>[[#CITETI1985|Texas Instruments, 1985]]</ref> 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 gate]]s 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.<ref>[[#CITELancaster1975|Lancaster, 1975]], preface.</ref>
The term "TTL" is applied to many successive generations of [[BJT|bipolar]] logic, with gradual improvements in speed and power consumption over about two decades. The most recently introduced family 74Fxx is still sold today (as of 2019), and was widely used into the late 90s. 74AS/ALS Advanced Schottky was introduced in 1985.<ref>{{cite web |publisher=Texas Instruments |url=http://focus.ti.com/lit/an/sdaa010/sdaa010.pdf |archive-url=https://web.archive.org/web/20110604174329/http://focus.ti.com/lit/an/sdaa010/sdaa010.pdf |archive-date=2011-06-04 |url-status=live |title=Advanced Schottky Family |id=SDAA010 |date=1985}}</ref> 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 gate]]s 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.<ref>{{citation |author1-link=Don Lancaster |last=Lancaster |first=D. |title=TTL Cookbook |location=Indianapolis |publisher=Howard W. Sams and Co. |year=1975 |isbn=0-672-21035-5 |page=[https://archive.org/details/ttlcookbook00lanc/page/ preface] |url=https://archive.org/details/ttlcookbook00lanc/page/ }}</ref>


The [[Kenbak-1]], one of the first [[personal computer]]s, used TTL for its [[CPU]] instead of a [[microprocessor]] chip, which was not available in 1971.<ref>[[#CITEKlein2008|Klein, 2008.]]</ref> The 1973 [[Xerox Alto]] and 1981 [[Xerox Star|Star]] workstations, which introduced the [[graphical user interface]], used TTL circuits integrated at the level of ALUs and bitslices, respectively. Most computers used TTL-compatible logic between larger chips well into the 1990s. Until the advent of [[programmable logic]], discrete bipolar logic was used to prototype and [[hardware emulation|emulate]] [[microarchitecture]]s under development.
The [[Kenbak-1]], ancestor of the first [[personal computer]]s, used TTL for its [[Central processing unit|CPU]] instead of a [[microprocessor]] chip, which was not available in 1971.<ref>{{cite web |last=Klein |first=E. |url=http://www.vintage-computer.com/machines.php?kenbak1 |title=Kenbak-1 |publisher=Vintage-Computer.com |date=2008}}</ref> The [[Datapoint 2200]] from 1970 used TTL components for its CPU and was the basis for the [[Intel 8008|8008]] and later the [[x86]] instruction set.<ref name="wood">{{cite news |first=Lamont |last=Wood |url=http://www.computerworld.com/action/article.do?command=printArticleBasic&articleId=9111341 |title=Forgotten PC history: The true origins of the personal computer |archive-url=https://web.archive.org/web/20080814215757/http://www.computerworld.com/action/article.do?command=printArticleBasic&articleId=9111341 |archive-date=2008-08-14 |newspaper=Computerworld |date=8 August 2008}}</ref> The 1973 [[Xerox Alto]] and 1981 [[Xerox Star|Star]] workstations, which introduced the [[graphical user interface]], used TTL circuits integrated at the level of [[arithmetic logic unit]]s (ALUs) and bitslices, respectively. Most computers used TTL-compatible "[[glue logic]]" between larger chips well into the 1990s. Until the advent of [[Programmable logic device|programmable logic]], discrete bipolar logic was used to prototype and [[hardware emulation|emulate]] [[microarchitecture]]s under development.


== Implementation ==
==Theory==


=== Fundamental TTL gate ===
In [[diode–transistor logic]] (DTL) gates, the [[p-n junction]]s of the [[diode]]s have considerable [[capacitance]]s; so changing the logic level of an input connected to a diode requires considerable time and energy. The base of the output transistor in DTL and in [[resistor–transistor logic]] (RTL) as well accumulates a considerable charge that decreases slowly through the high-to-low input transition.
[[File:TTL npn nand.svg|thumb|Two-input TTL [[NAND gate]] with a simple output stage (simplified)]]


TTL inputs are the emitters of bipolar transistors. In the case of NAND inputs, the inputs are the emitters of [[multiple-emitter transistor]]s, functionally equivalent to multiple transistors where the bases and collectors are tied together.<ref>{{citation |title=Electronic Principles Physics, Models, and Circuits |edition=1st |year=1969 |last1=Gray |first1=Paul E. |last2=Searle |first2=Campbell L. |publisher=Wiley |isbn=978-0471323983 |page=870}}</ref> The output is buffered by a [[common emitter]] amplifier.
=== TTL with a simple output stage ===


'''Inputs both logical ones.''' When all the inputs are held at high voltage, the base–emitter junctions of the multiple-emitter transistor are reverse-biased. Unlike DTL, a small “collector” current (approximately 10 μA) is drawn by each of the inputs. This is because the transistor is in [[Bipolar junction transistor#Regions of operation|reverse-active mode]]. An approximately constant current flows from the positive rail, through the resistor and into the base of the multiple emitter transistor.<ref>{{harvnb|Buie|1966|loc=column 4}}</ref> This current passes through the base–emitter junction of the output transistor, allowing it to conduct and pulling the output voltage low (logical zero).
[[Image:TTL npn nand.svg|thumb|Two-input TTL [[Sheffer stroke#NAND gate|NAND gate]] with a simple output stage.]]


'''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 multiple-emitter 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.<ref>{{citation |last=Millman |first=J. |title=Microelectronics: Digital and Analog Circuits and Systems |location=New York |publisher=McGraw-Hill Book Company |year=1979 |isbn=0-07-042327-X |page=[https://archive.org/details/microelectronics0000mill/page/147 147] |url=https://archive.org/details/microelectronics0000mill }}</ref>
TTL eliminates the problems of the preceding RTL and DTL generations by using transistors in both the input and output stages. As shown in the schematic at right, the fundamental concept of TTL is to isolate the inputs by using the base-emitter junctions of a [[multiple-emitter transistor]] as diode switches, and to buffer the output by using a [[common emitter ]]amplifier.


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 V<sub>CC</sub>) of the output logical "1" when the output is not loaded.
When all the inputs are held at high voltage (logical "1"), all the base-emitter junctions of the multiple-emitter transistor are cut-off; so the input voltage sources are disconnected and do not impact on the circuit (only small input currents flow since the transistor is in a ''reverse-active mode''). The second transistor is driven by a constant current flowing through the base resistor and the forward-biased base–collector junction of the input transistor; so the output transistor is "on" and the output voltage is low (logical "0"). If one (or more) of the input voltages becomes zero, the corresponding base-emitter junction of the multiple-emitter transistor connects in parallel to the two series-connected junctions (the base-collector junction of the multiple-emitter transistor and the base-emitter junction of the second transistor). The input base-emitter junction deprives all the base current of the output transistor (the current is steered from the base to the input source); the transistor becomes "off" and the output voltage is high (logical "1"). Note that 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 stage 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.<ref>[[#CITEMillman1979|Millman 1979 pg. 147.]] </ref>

=== Open collector wired logic ===
{{Main articles|Wired logic connection|Open collector}}
A common variation omits the collector resistor of the output transistor, making an [[open-collector]] output. This allows the designer to fabricate [[Wired logic connection|wired 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<ref>[https://www.ti.com/lit/ds/symlink/sn5401.pdf Quadruple 2-Input Positive-NAND Gates With Open-Collector Outputs]</ref> and 7403<ref>[https://www.ti.com/lit/ds/symlink/sn74ls03.pdf Quadruple 2-Input Positive-NAND Gates With Open-Collector Outputs] </ref> series. Open-collector outputs of some gates have a higher maximum voltage, such as 15 V for the 7426,<ref>[https://www.ti.com/lit/ds/symlink/sn54ls26.pdf Quadruple 2-Input High-Voltage Interface Positive-NAND Gates ]</ref> useful when driving non-TTL loads.


=== TTL with a "totem-pole" output stage ===
=== TTL with a "totem-pole" output stage ===
[[File:7400 Circuit.svg|thumb|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" ("[[push–pull output|push–pull]]") output. It consists of the two n-p-n transistors V<sub>3</sub> and V<sub>4</sub>, the "lifting" diode V<sub>5</sub> and the current-limiting resistor R<sub>3</sub> (see the figure on the right). It is driven by applying the same ''current steering'' idea as above.
[[Image:7400 Circuit.svg|thumb|Standard TTL NAND with a "totem-pole" output stage, one of four in 7400]]


When V<sub>2</sub> is "off", V<sub>4</sub> is "off" as well and V<sub>3</sub> operates in active region as a [[Common collector|voltage follower]] producing high output voltage (logical "1").
The second schematic adds to this a "totem-pole" ("push-pull") output consisting of the two n-p-n transistors V<sub>3</sub> and V<sub>4</sub>, the "lifting" diode V<sub>5</sub> and the current-limiting resistor R<sub>3</sub>. It is driven by applying the same ''current steering'' idea (depriving the current of a voltage-stable element by connecting in parallel another voltage-stable element with lower threshold voltage). When V<sub>2</sub> is "off", V<sub>4</sub> is "off" as well and V<sub>3</sub> operates in active regime as a [[Common collector|voltage follower]] producing high output voltage (logical "1"). When V<sub>2</sub> is "on", it activates V<sub>4</sub>, driving low voltage (logical "0") to the output. V<sub>2</sub> and V<sub>4</sub> collector–emitter junctions connect V<sub>4</sub> base-emitter junction in parallel to the series-connected V<sub>3</sub> base-emitter and V<sub>5</sub> anode-cathode junctions. V<sub>3</sub> base current is deprived; the transistor is "off" and it does not impact on the output. 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.<ref>[[#CITEsiliconfareast2005|Transistor-Transistor Logic (TTL), 2005]], p. 1. </ref><ref>[[#CITETala2006|Tala, 2006.]]</ref>


When V<sub>2</sub> is "on", it activates V<sub>4</sub>, driving low voltage (logical "0") to the output. Again there is a current-steering effect: the series combination of V<sub>2</sub>'s C-E junction and V<sub>4</sub>'s B-E junction is in parallel with the series of V<sub>3</sub> B-E, V<sub>5</sub>'s anode-cathode junction, and V<sub>4</sub> C-E. The second series combination has the higher threshold voltage, so no current flows through it, i.e. V<sub>3</sub> base current is deprived. Transistor V<sub>3</sub> turns "off" and it does not impact on the output.
=== Interfacing problems ===


In the middle of the transition, the resistor R<sub>3</sub> limits the current flowing directly through the series connected transistor V<sub>3</sub>, diode V<sub>5</sub> and transistor V<sub>4</sub> 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.<ref>[http://www.siliconfareast.com/ttl.htm ''Transistor–Transistor Logic (TTL).''] siliconfareast.com. 2005. Retrieved 17 September 2008. p. 1.</ref><ref>Tala, D. K. [http://www.asic-world.com/digital/gates5.html ''Digital Logic Gates Part-V.''] asic-world.com. 2006.</ref>
As the preceding DTL, at low input voltage (logical "0") the TTL input behaves as a simple [[Current source#Resistor current source|resistor type current source]] passing a current through the input source (the lower output transistor V<sub>4</sub> of the previous stage or some other kind of input source). The magnitude of this current is about 1.1 mA for a standard TTL gate and does not depend on the number of the parallel connected inputs (base-emitter junctions) belonging to one IC. The input source has to be low-resistive enough (< 800 Ω) so that the flowing current to create a negligible voltage drop (< 0.8 V) across it. At high input voltage (logical "1"), when the input transistor operates in a reverse-active mode, the TTL input acts as a transistor current sink "pulling" a small current from the upper transistor V<sub>3</sub> of the previous stage (DTL does not consume current in this case). The magnitude of the current now is about 40 μA for a standard TTL gate and it is proportional to the number of the parallel connected inputs (collector-emitter junctions) of one IC. As with all [[BJT|bipolar]] logic, a small current must be drawn from a TTL input to ensure proper logic levels. The total current drawn must be within the capacities of the preceding stage, which limits the number of nodes that can be connected (the [[fanout]]).


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 V<sub>3</sub> operating in active region as an [[emitter follower]]. The resistor R<sub>3</sub> does not increase the output resistance since it is connected in the V<sub>3</sub> 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 reasons for this reduction are the voltage drops across the V<sub>3</sub> base–emitter and V<sub>5</sub> anode–cathode junctions.
All standardized common TTL circuits operate with a 5-[[volt]] power supply. A TTL input signal is defined as "low" when between 0&nbsp;V and 0.8&nbsp;V with respect to the ground terminal, and "high" when between 2.2&nbsp;V and 5&nbsp;V<ref>[[#CITEstandardlogicleveln.d.|TTL standard logic level, n.d.]]</ref> (precise logic levels vary slightly between sub-types). TTL outputs are typically restricted to narrower limits of between 0&nbsp;V and 0.4&nbsp;V for a "low" and between 2.6&nbsp;V and 5&nbsp;V for a "high", providing 0.4V of [[noise immunity]]. Standardization of the TTL levels was so ubiquitous that complex circuit boards often contained 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 was possible with chips manufactured years (sometimes over a decade) later than original components. Within usefully broad limits, logic gates could be treated as ideal Boolean devices without concern for electrical limitations.

== Interfacing considerations ==
Like DTL, TTL is a ''current-sinking logic'' since a current must be drawn from inputs to bring them to a logic 0 voltage level. The driving stage must absorb up to 1.6 mA from a standard TTL input while not allowing the voltage to rise to more than 0.4 volts.<ref>[http://focus.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=sn74ls00&fileType=pdf&track=no SN7400 datasheet] - Texas Instruments</ref> 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.<ref>{{cite web |last1=Haseloff |first1=Eilhard |title=Designing With Logic |url=http://www.ti.com/lit/an/sdya009c/sdya009c.pdf |archive-url=https://web.archive.org/web/20111024154919/http://www.ti.com/lit/an/sdya009c/sdya009c.pdf |archive-date=2011-10-24 |url-status=live |website=TI.com |publisher=Texas Instruments Incorporated |access-date=27 October 2018 |pages=6–7 }}</ref>

Standard TTL circuits operate with a 5-[[volt]] power supply. A TTL input signal is defined as "low" when between 0&nbsp;V and 0.8&nbsp;V with respect to the ground terminal, and "high" when between 2&nbsp;V and V<sub>CC</sub> (5&nbsp;V),<ref>[[Logic level#Logic voltage levels|TTL logic levels]]</ref><ref name="DM7490A">{{cite web|title=DM7490A Decade and Binary Counter|url=http://socrates.berkeley.edu/~phylabs/bsc/PDFFiles/DM7490A.pdf |archive-url=https://web.archive.org/web/20050323080215/http://socrates.berkeley.edu/~phylabs/bsc/PDFFiles/DM7490A.pdf |archive-date=2005-03-23 |url-status=live|publisher=Fairchild|access-date=14 October 2016}}</ref> and if a voltage signal ranging between 0.8&nbsp;V and 2.0&nbsp;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&nbsp;V and 0.4&nbsp;V for a "low" and between 2.4&nbsp;V and V<sub>CC</sub> for a "high", providing at least 0.4&nbsp;V of [[Noise (electronics)|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 later than original components. Within usefully broad limits, logic gates can be treated as ideal Boolean devices without concern for electrical limitations. The 0.4 V 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 closer to V<sub>CC</sub> by connecting an external resistor between the V4 collector and the positive rail. It [[pull-up resistor|pulls up]] the V<sub>5</sub> cathode and cuts-off the diode.<ref>{{Cite web|url=http://ecelab.com/interfacing-ttl-cmos.htm|archiveurl=https://web.archive.org/web/20100919223820/http://ecelab.com/interfacing-ttl-cmos.htm|url-status=dead|website=ecelab.com|title=ecelab Resources and Information.|archivedate=19 September 2010|accessdate=13 March 2023}}</ref> 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==
==Packaging==
Like most integrated circuits of the period 1963–1990, commercial TTL devices are usually packaged in [[dual in-line package]]s (DIPs), usually with 14 to 24 pins,<ref>
{{cite book
| quote = [74-series] devices are usually encapsulated in a plastic 14-pin, 16-pin, or 24-pin dual-in-line package (DIP)
| url = https://books.google.com/books?id=9g8BBQAAQBAJ&pg=PA16
| first=R. M. |last=Marston
| title = Modern TTL Circuits Manual
| year = 2013
| publisher = Elsevier
| page = 16
| isbn = 9781483105185
}}</ref> for [[through-hole]] or socket mounting. Epoxy plastic (PDIP) packages were often used for commercial temperature range components, while ceramic packages (CDIP) were used for military temperature range parts.


Like most integrated circuits of the period 1965–1990, TTL devices were usually packaged in [[through-hole]], [[dual in-line package]]s with between 14 and 24 lead wires, usually made of epoxy plastic (PDIP) or sometimes of ceramic (CDIP). Beam-lead chip dice without packages were made for assembly into larger arrays as hybrid integrated circuits. Parts for military and aerospace applications were packaged in [[Flatpack (electronics)|flat packs]], 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.
[[Beam lead technology|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 [[Flatpack (electronics)|flatpacks]], a form of surface-mount package, with leads suitable for welding or soldering to printed circuit boards. Today{{When|date=September 2018}}, 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 [[integrated circuit]]s because the inputs of a gate may all be integrated into a single base region to form a multiple-emitter transistor. Such a highly customized part might increase the cost of a circuit where each transistor is in a separate package, but, by combining several small on-chip components into one larger device, it conversely reduces the cost of implementation on an IC.
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.<ref>{{citation |last1=Rymaszewski |first1=E. J. |last2=Walsh |first2=J. L. |last3=Leehan |first3=G. W. |title=Semiconductor Logic Technology in IBM |journal=IBM Journal of Research and Development |volume=25 |date=1981 |issue=5 |pages=603&ndash;616 |doi=10.1147/rd.255.0603}}</ref><ref>{{citation |last1=Seraphim |first1=D. P. |last2=Feinberg |first2=I. |title=Electronic Packaging Evolution in IBM |journal=IBM Journal of Research and Development |volume=25 |date=1981 |issue=5 |pages=617&ndash;630 |doi=10.1147/rd.255.0617}}</ref>


==Comparison with other logic families==
==Comparison with other logic families==
{{Main|logic family}}
{{Main|Logic family}}


TTL devices consume substantially more power than equivalent [[CMOS]] devices at rest, but power consumption does not increase with clock speed as rapidly as for CMOS devices <ref> [[Paul Horowitz]] and Winfield Hill, ''The Art of Electronics 2nd Ed. '' Cambridge University Press, Cambridge, 1989 ISBN 0-521-37095-7 page 970 ''...CMOS devices consume power proportional to ther switching frequency...At their maximum operating frequency they may use more power than equivalent bipolar TTL devices. </ref>. Compared to contemporary [[Emitter coupled logic|ECL]] circuits, TTL uses less power and has easier design rules but is substantially slower. Designers can combine ECL and TTL devices in the same system to achieve best overall performance and economy, but level-shifting devices are required between the two logic families. TTL is less sensitive to damage from [[electrostatic discharge]] than early CMOS devices.
TTL devices consume substantially more power than equivalent [[CMOS]] devices at rest, but power consumption does not increase with clock speed as rapidly as for CMOS devices.<ref>{{citation |author1-link=Paul Horowitz |last1=Horowitz |first1=Paul |last2=Hill |first2=Winfield |title=The Art of Electronics |edition=2nd |publisher=Cambridge University Press |year=1989 |isbn=0-521-37095-7 |page=[https://archive.org/details/artofelectronics00horo/page/970 970] |url=https://archive.org/details/artofelectronics00horo/page/970 }} states, "...CMOS devices consume power proportional to their switching frequency...At their maximum operating frequency they may use more power than equivalent bipolar TTL devices."</ref> Compared to contemporary [[Emitter coupled logic|ECL]] circuits, TTL uses less power and has easier design rules but is substantially slower. Designers can combine ECL and TTL devices in the same system to achieve best overall performance and economy, but level-shifting devices are required between the two logic families. TTL is less sensitive to damage from [[electrostatic discharge]] than early CMOS devices.


Due to the output structure of TTL devices, the output impedance is asymmetrical between the high and low state, making them unsuitable for driving transmission lines. This drawback is usually overcome by buffering the outputs with special line-driver devices where signals need to be sent through cables. ECL, by virtue of its symmetric low-impedance output structure, does not have this drawback.
Due to the output structure of TTL devices, the output impedance is asymmetrical between the high and low state, making them unsuitable for driving transmission lines. This drawback is usually overcome by buffering the outputs with special line-driver devices where signals need to be sent through cables. ECL, by virtue of its symmetric low-impedance output structure, does not have this drawback.


The TTL "totem-pole" output structure often has a momentary overlap when both the upper and lower transistors are conducting, resulting in a substantial pulse of current drawn from the supply. These pulses can couple in unexpected ways between multiple integrated circuit packages, resulting in reduced noise margin and lower performance. TTL systems usually have a [[decoupling capacitor]] for every one or two IC packages, so that a current pulse from one chip does not momentarily reduce the supply voltage to the others.
The TTL "totem-pole" output structure often has a momentary overlap when both the upper and lower transistors are conducting, resulting in a substantial pulse of current drawn from the power supply. These pulses can couple in unexpected ways between multiple integrated circuit packages, resulting in reduced noise margin and lower performance. TTL systems usually have a [[decoupling capacitor]] for every one or two IC packages, so that a current pulse from one TTL chip does not momentarily reduce the supply voltage to another.


Several manufacturers now supply CMOS logic equivalents with TTL-compatible input and output levels, usually bearing part numbers similar to the equivalent TTL component and with the same [[pinouts]]. For example, the 74HCT00 series provides many drop-in replacements for bipolar [[7400 series]] parts, but uses [[CMOS]] technology.
Since the mid 1980s, several manufacturers supply CMOS logic equivalents with TTL-compatible input and output levels, usually bearing part numbers similar to the equivalent TTL component and with the same [[pinouts]]. For example, the 74HCT00 series provides many drop-in replacements for bipolar [[7400 series]] parts, but uses [[CMOS]] technology.


==Sub-types==
==Sub-types==
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 diode]]s, some of the underlying circuits, such as used in the LS family, could rather be considered [[DTL]].<ref>Ayers, J. [http://people.seas.harvard.edu/~jones/es154/lectures/lecture_7/pdfs/215ln04.pdf UConn EE 215 notes for lecture 4.] Harvard University faculty web page. Archive of web page from University of Connecticut. n.d. Retrieved 17 September 2008.</ref>


Variations of and successors to the basic TTL family, which has a typical gate propagation delay of 10ns and a power dissipation of 10&nbsp;mW per gate, for a [[power–delay product]] (PDP) or [[switching energy]] of about 100 [[joule|pJ]], include:
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 diode]]s, some of the underlying circuits, such as used in the LS family, could rather be considered [[DTL]].<ref>[[#CITEAyersn.d.|Ayers, n.d.]]</ref>

Variations of and successors to the basic TTL family, which has a typical gate propagation delay of 10ns and a power dissipation of 10&nbsp;mW per gate, for a power-delay product (PDP) or switching energy of about 100 [[joule|pJ]], include:


* Low-power TTL (L), which traded switching speed (33ns) for a reduction in power consumption (1&nbsp;mW) (now essentially replaced by [[CMOS]] logic)
* Low-power TTL (L), which traded switching speed (33ns) for a reduction in power consumption (1&nbsp;mW) (now essentially replaced by [[CMOS]] logic)
* High-speed TTL (H), with faster switching than standard TTL (6ns) but significantly higher power dissipation (22&nbsp;mW)
* High-speed TTL (H), with faster switching than standard TTL (6ns) but significantly higher power dissipation (22&nbsp;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&nbsp;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&nbsp;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&nbsp;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 sub-families.
* 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.5 ns) and reduced power consumption (2&nbsp;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 sub-families.
* Fast (F) and Advanced-Schottky (AS) variants of LS from Fairchild and TI, respectively, circa 1985, with "[[Miller effect|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.
* Fast (F) and Advanced-Schottky (AS) variants of LS from Fairchild and TI, respectively, circa 1985, with "[[Miller effect|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.
* 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 military-specification temperature range of −55 to +125°C.
* [[Radiation hardening|Radiation-hardened]] devices are offered for space applications
* Special quality levels and high-reliability parts are available for military and aerospace applications.
* Low-voltage TTL (LVTTL) for 3.3-volt power supplies and memory interfacing.
* 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&nbsp;°C, and 5400 series devices over the military-specification temperature range of −55 to +125&nbsp;°C.
==Inverters as analog amplifiers==

While designed for use with logic-level digital signals, a TTL inverter can be biased to be used as an analog amplifier. Such amplifiers may be useful in instruments that must convert analog signals to the digital domain but would not ordinarily be used where analog amplification is the primary purpose. <ref>[[#CITEWobschall1987|Wobschall, 1987]], pp. 209-211.</ref> TTL inverters can also be used in [[crystal oscillator]]s where their analog amplification ability is significant in analysis of oscillator performance.
Special quality levels and high-reliability parts are available for military and aerospace applications.

[[Radiation-hardened]] devices (for example from the SNJ54 series) are offered for space applications.


==Applications==
==Applications==
Before the advent of [[Very-large-scale integration|VLSI]] devices, TTL integrated circuits were a standard method of construction for the processors of mini-computer and mainframe processors; such as the [[Digital Equipment Corporation|DEC]] [[VAX]] and [[Data General]] [[Data General Eclipse|Eclipse]], and for equipment such as machine tool numerical controls, printers and video display terminals. As [[microprocessor]]s 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.
Before the advent of [[Very-large-scale integration|VLSI]] devices, TTL integrated circuits were a standard method of construction for the processors of [[minicomputer]] and midrange [[mainframe computer|mainframe]] computers, such as the [[Digital Equipment Corporation|DEC]] [[VAX]] and [[Data General Eclipse]]; however some computer families were based on proprietary components (e.g. Fairchild CTL) while supercomputers and high-end mainframes used [[emitter-coupled logic]]. They were also used for equipment such as machine tool numerical controls, printers and video display terminals, and as [[microprocessor]]s became more functional for "glue logic" applications, such as address decoders and bus drivers, which tie together the function blocks realized in VLSI elements. The [[Gigatron TTL]] is a more recent (2018) example of a processor built entirely with TTL integrated circuits.


=== Analog applications ===
==FJ Series==
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.<ref>{{citation |last=Wobschall |first=D. |title=Circuit Design for Electronic Instrumentation: Analog and Digital Devices from Sensor to Display |edition=2d |location=New York |publisher=McGraw Hill |year=1987 |isbn=0-07-071232-8 |pages=209–211}}</ref> TTL inverters can also be used in [[crystal oscillator]]s where their analog amplification ability is significant.
At the time the [[7400 series]] was being made, some European manufacturers (that traditionally followed the [[Pro Electron]] naming convention) such as [[Philips]]/[[Mullard]] produced a series of TTL [[Integrated Circuits]] with part names beginning FJ, for example:
* FJH101 (=7430) Single 8-input NAND gate
* FJH131 (=7400) Quadruple 2-input NAND gate
* FJH181 (=7454N or J) 2+2+2+2 input AND-OR-NOT gate


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&nbsp;V to 2&nbsp;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.
The [[DTL]] counterparts were the FC series (e.g. FCH111 was a single 8-input NAND gate, mostly the numbers did not match the FJ series) and the MOS chips were the FD series.


=== Serial signaling ===
==Captive manufacture==
'''TTL serial''' refers to [[single-ended signaling|single-ended]] [[serial communication]] using raw transistor voltage levels: "low" for 0 and "high" for 1.<ref>{{cite book|title=Signal and Power Integrity in Digital Systems: TTL, CMOS, and BiCMOS|year=1996|isbn=0070087342|url=https://books.google.com/books?id=6yRTAAAAMAAJ&q=single-ended+TTL-+or+CMOS-level+communication|page=200|last1=Buchanan|first1=James Edgar|publisher=McGraw-Hill }}</ref> [[Universal asynchronous receiver-transmitter|UART]] over TTL serial is a common debug interface for embedded devices. Handheld devices such as graphing calculators and {{nowrap|[[NMEA 0183]]-compliant}} [[Global Positioning System|GPS]] receivers and [[fishfinder]]s also commonly use UART with TTL. TTL serial is only a ''de facto'' standard: there are no strict electrical guidelines. Driver&ndash;receiver modules interface between TTL and longer-range serial standards: one example is the [[MAX232]], which converts from and to [[RS-232]].<ref>{{cite web |title=RS-232 vs. TTL Serial Communication - SparkFun Electronics |url=https://www.sparkfun.com/tutorials/215 |website=www.sparkfun.com}}</ref>
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]].<ref>[[#CITEPittler1982|Pittler, Powers, and Schnabel 1982, 5]]</ref>

[[Differential TTL]] is TTL serial carried over a [[Differential signalling|differential pair]] with complement levels, providing much enhanced noise tolerance. Both [[RS-422]] and [[RS-485]] signals can be produced using TTL levels.<ref>{{cite web |title=B&B Electronics - Polarities for Differential Pair Signals (RS-422 and RS-485) |url=https://www.bb-elec.com/Learning-Center/All-White-Papers/Serial/%E2%80%A2-Polarities-for-Differential-Pair-Signals-%28RS-422.aspx |website=www.bb-elec.com}}</ref>

[[ccTalk]] is based on TTL voltage levels.


== See also ==
== See also ==
* [[Resistor–transistor logic|Resistor–transistor logic (RTL)]]
* [[List of 7400 series integrated circuits]]


== References ==
* [[Resistor–transistor logic]] (RTL)
{{Reflist}}
* [[Diode–transistor logic]] (DTL)
* [[Emitter-coupled logic]] (ECL)
* [[Positive emitter-coupled logic]] (PECL)
* [[CMOS|Complementary metal–oxide–semiconductor]] (CMOS)
* [[Integrated injection logic]] (I<sup>2</sup>L)
* [[Digital circuit]]
* [[Logic family]]


==Notes==
==Further reading==
{{See also|7400-series integrated circuits#Further reading|l1=List of books about 7400-series integrated circuits}}
<references />
* ''[http://www.ibiblio.org/kuphaldt/electricCircuits/index.htm Lessons in Electric Circuits] - Volume IV - Digital''; Tony Kuphaldt; Open Book Project; 508 pages; 2007. <small>[https://ibiblio.org/kuphaldt/electricCircuits/Digital/DIGI_3.html ''(Chapter 3 Logic Gates)'']</small>
==References==
* <cite id=CITEAyersn.d.>Ayers, J. [http://people.seas.harvard.edu/~jones/es154/lectures/lecture_7/pdfs/215ln04.pdf UConn EE 215 notes for lecture 4.] Harvard University faculty web page. Archive of web page from University of Connecticut. n.d. Retrieved 17 September 2008.</cite>
* <cite id=CITEBuie1966>Buie, J. [http://www.google.com/patents?id=tZAdAAAAEBAJ&printsec=abstract&zoom=4&dq=3,283,170+%22newly+developing%22 ''Coupling Transistor Logic and Other Circuits.''] (U.S. Patent 3,283,170). 1 November 1966. United States Patent and Trademark Office. 1 November 1966.</cite>
* <cite id=CITEComputerHistoryMuseum2007>The Computer History Museum. [http://www.computerhistory.org/semiconductor/timeline/1963-TTL.html ''1963 - Standard Logic Families Introduced.''] 2007. Retrieved 16 April 2008.</cite>
* <cite id=CITETI1973>Engineering Staff. ''The TTL Data Book for Design Engineers.'' 1st Ed. Dallas: Texas Instruments. 1973.</cite>
* <cite id=CITEErin2003>Eren, H. ''Electronic Portable Instruments: Design and Applications.'' CRC Press. 2003. ISBN 0-8493-1998-6. [http://books.google.com/books?id=xwfpvzvNTr4C&pg=PA353&dq=intitle:instruments+intitle:electronic+ttl-outputs&lr=&as_brr=3&ei=Hz6wSKHHDJzOswO6uI3ABA&sig=ACfU3U2jAUGIInuz8NEKLkToZYAqYJTirA#PPT1,M1 Google preview] available.</cite>
* <cite id=CITEFairchild>Fairchild Semiconductor. [http://www.fairchildsemi.com/an/AN/AN-368.pdf ''An Introduction to and Comparison of 74HCT TTL Compatible CMOS Logic'' (Application Note 368).] 1984. (for relative ESD sensitivity of TTL and CMOS.)</cite>
* <cite id=CITEHorowitzHill1989>Horowitz, P. and Winfield Hill, W. ''The Art of Electronics.'' 2nd Ed. Cambridge University Press. 1989. ISBN 0-521-37095-7</cite>
* <cite id=CITEKlein2008>Klein, E. [http://www.vintage-computer.com/kenbak-1.shtml ''Kenbak-1.''] Vintage-Computer.com. 2008.</cite>
* <cite id=CITELancaster1975>Lancaster, D. ''TTL Cookbook.'' Indianapolis: Howard W. Sams and Co. 1975. ISBN 0-672-21035-5.</cite>
* Millman, J. ''Microelectronics Digital and Analog Circuits and Systems''. New York:McGraw-Hill Book Company. 1979. ISBN 0-07-042327-X</cite>
* <cite id=CITEPittler1982>Pittler, M.S., Powers, D.M., and Schnabel, D.L. [http://www.research.ibm.com/journal/rd/261/ibmrd2601B.pdf System development and technology aspects of the IBM 3081 Processor Complex.] ''IBM Journal of Research and Development.'' 26 (1982), no. 1:2&ndash;11.</cite>
* <cite id=CITEstandardlogicleveln.d.>[http://www.twysted-pair.com/74xx.htm ''Standard TTL logic levels.''] n.d. Twisted Pair Software.</cite>
* <cite id=CITETala2006>Tala, D. K. [http://www.asic-world.com/digital/gates5.html ''Digital Logic Gates Part-V.''] asic-world.com. 2006.</cite>
* <cite id=CITETI1985>Texas Instruments. [http://focus.ti.com/lit/an/sdaa010/sdaa010.pdf ''Advanced Schottky Family.''] 1985. Retrieved 17 September 2008.</cite>
* <cite id=CITEsiliconfareast2005>[http://www.siliconfareast.com/ttl.htm ''Transistor-Transistor Logic (TTL).''] siliconfareast.com. 2005. Retrieved 17 September 2008.</cite>
* <cite id=CITEWobschall1987>Wobschall, D. ''Circuit Design for Electronic Instrumentation: Analog and Digital Devices from Sensor to Display.'' 2d edition. New York: McGraw Hill 1987. ISBN 0-07-071232-8</cite>


==External links==
==External links==
{{commons category|TTL}}
*[http://focus.ti.com/logic/docs/techdocs.tsp?sectionId=452&tabId=1989&techDoc=1&familyId=1&documentCategoryId=1&viewType=1&techFamId=0 Texas Instruments logic family application notes]
<!-- orphans from reference section -->
* <cite id=CITEFairchild>Fairchild Semiconductor. [http://www.fairchildsemi.com/an/AN/AN-368.pdf ''An Introduction to and Comparison of 74HCT TTL Compatible CMOS Logic'' (Application Note 368).] 1984. (for relative ESD sensitivity of TTL and CMOS.)</cite>
* [http://focus.ti.com/logic/docs/techdocs.tsp?sectionId=452&tabId=1989&techDoc=1&familyId=1&documentCategoryId=1&viewType=1&techFamId=0 Texas Instruments logic family application notes]


{{Logic Families}}
{{DEFAULTSORT:Transistor–Transistor Logic}}

{{Authority control}}

{{DEFAULTSORT:Transistor-transistor logic}}
[[Category:Digital electronics]]
[[Category:Digital electronics]]
[[Category:Logic families]]
[[Category:Logic families]]

[[ar:العائلة المنطقية لل TTL]]
[[ca:Tecnologia TTL]]
[[cs:TTL (logika)]]
[[de:Transistor-Transistor-Logik]]
[[es:Tecnología TTL]]
[[eu:TTL]]
[[fr:Transistor-Transistor logic]]
[[ko:트랜지스터-트랜지스터 논리]]
[[id:Logika transistor–transistor]]
[[it:Transistor-transistor logic]]
[[nl:Transistor-transistorlogica]]
[[ja:Transistor-transistor logic]]
[[pl:Transistor-transistor logic]]
[[pt:Transistor-Transistor Logic]]
[[ru:Транзисторно-транзисторная логика]]
[[simple:Transistor-transistor logic]]
[[sr:TTL]]
[[fi:TTL (logiikka)]]
[[sv:Transistor-Transistor Logik]]
[[uk:ТТЛ-логіка]]
[[zh:電晶體-電晶體邏輯]]
</nowiki>'''

Latest revision as of 19:59, 21 December 2024

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

TTL integrated circuits (ICs) were widely used in applications such as computers, industrial controls, test equipment and instrumentation, consumer electronics, and synthesizers.[1]

After their introduction in integrated circuit form in 1963 by Sylvania Electric Products, TTL integrated circuits were manufactured by several semiconductor companies. The 7400 series by Texas Instruments became particularly popular. TTL manufacturers offered a wide range of logic gates, flip-flops, counters, and other circuits. Variations of the original TTL circuit design offered higher speed or lower power dissipation to allow design optimization. TTL devices were originally made in ceramic and plastic dual in-line package(s) and in flat-pack form. Some TTL chips are now also made in surface-mount technology packages.

TTL became the foundation of computers and other digital electronics. Even after Very-Large-Scale Integration (VLSI) CMOS integrated circuit microprocessors made multiple-chip processors obsolete, TTL devices still found extensive use as glue logic interfacing between more densely integrated components.

History

[edit]
A real-time clock built of TTL chips around 1979

TTL was invented in 1961 by James L. Buie of TRW, which declared it "particularly suited to the newly developing integrated circuit design technology." The original name for TTL was 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, National 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 (as of 2019), 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 of arithmetic logic units (ALUs) 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]
Two-input TTL NAND gate with a simple output stage (simplified)

TTL inputs are the emitters of bipolar transistors. In the case of NAND inputs, the inputs are the emitters of multiple-emitter transistors, 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 base–emitter junctions of the multiple-emitter transistor are reverse-biased. Unlike DTL, a small “collector” current (approximately 10 μA) is drawn by each of the inputs. This is because the transistor is in reverse-active 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 multiple-emitter 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.

Open collector wired logic

[edit]

A common variation omits the collector resistor of the output transistor, making an open-collector output. This allows the designer to fabricate wired 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[16] series. Open-collector outputs of some gates have a higher maximum voltage, such as 15 V for the 7426,[17] useful when driving non-TTL loads.

TTL with a "totem-pole" output stage

[edit]
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" ("push–pull") 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. Again there is a current-steering effect: the series combination of V2's C-E junction and V4's B-E junction is in parallel with the series of V3 B-E, V5's anode-cathode junction, and V4 C-E. The second series combination has the higher threshold voltage, so no current flows through it, i.e. V3 base current is deprived. Transistor V3 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 V3, 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.[18][19]

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 an emitter follower. The resistor R3 does 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 reasons for this reduction are the voltage drops across the V3 base–emitter and V5 anode–cathode 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 voltage level. The driving stage must absorb up to 1.6 mA from a standard TTL input while not allowing the voltage to rise to more than 0.4 volts.[20] 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.[21]

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 V and VCC (5 V),[22][23] 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.4 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 later than original components. Within usefully broad limits, logic gates can be treated as ideal Boolean devices without concern for electrical limitations. The 0.4 V 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 closer to VCC by connecting an external resistor between the V4 collector and the positive rail. It pulls up the V5 cathode and cuts-off the diode.[24] 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 1963–1990, commercial TTL devices are usually packaged in dual in-line packages (DIPs), usually with 14 to 24 pins,[25] for through-hole or socket mounting. Epoxy plastic (PDIP) packages were often used for commercial temperature range components, while ceramic packages (CDIP) were used for military temperature range 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[when?], 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.[26][27]

Comparison with other logic families

[edit]

TTL devices consume substantially more power than equivalent CMOS devices at rest, but power consumption does not increase with clock speed as rapidly as for CMOS devices.[28] Compared to contemporary ECL circuits, TTL uses less power and has easier design rules but is substantially slower. Designers can combine ECL and TTL devices in the same system to achieve best overall performance and economy, but level-shifting devices are required between the two logic families. TTL is less sensitive to damage from electrostatic discharge than early CMOS devices.

Due to the output structure of TTL devices, the output impedance is asymmetrical between the high and low state, making them unsuitable for driving transmission lines. This drawback is usually overcome by buffering the outputs with special line-driver devices where signals need to be sent through cables. ECL, by virtue of its symmetric low-impedance output structure, does not have this drawback.

The TTL "totem-pole" output structure often has a momentary overlap when both the upper and lower transistors are conducting, resulting in a substantial pulse of current drawn from the power supply. These pulses can couple in unexpected ways between multiple integrated circuit packages, resulting in reduced noise margin and lower performance. TTL systems usually have a decoupling capacitor for every one or two IC packages, so that a current pulse from one TTL chip does not momentarily reduce the supply voltage to another.

Since the mid 1980s, several manufacturers supply CMOS logic equivalents with TTL-compatible input and output levels, usually bearing part numbers similar to the equivalent TTL component and with the 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.[29]

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 power–delay 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.5 ns) 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 sub-families.
  • 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 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 (for example from the SNJ54 series) 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 minicomputer and midrange mainframe computers, such as the DEC VAX and Data General Eclipse; however some computer families were based on proprietary components (e.g. Fairchild CTL) while supercomputers and high-end mainframes used emitter-coupled logic. They were also used for equipment such as machine tool numerical controls, printers and video display terminals, and as microprocessors became more functional for "glue logic" applications, such as address decoders and bus drivers, which tie together the function blocks realized in VLSI elements. The Gigatron TTL is a more recent (2018) example of a processor built entirely with TTL integrated circuits.

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.[30] 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 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.

Serial signaling

[edit]

TTL serial refers to single-ended serial communication using raw transistor voltage levels: "low" for 0 and "high" for 1.[31] UART over TTL serial is a common debug interface for embedded devices. Handheld devices such as graphing calculators and NMEA 0183-compliant GPS receivers and fishfinders also commonly use UART with TTL. TTL serial is only a de facto standard: there are no strict electrical guidelines. Driver–receiver modules interface between TTL and longer-range serial standards: one example is the MAX232, which converts from and to RS-232.[32]

Differential TTL is TTL serial carried over a differential pair with complement levels, providing much enhanced noise tolerance. Both RS-422 and RS-485 signals can be produced using TTL levels.[33]

ccTalk is based on TTL voltage levels.

See also

[edit]

References

[edit]
  1. ^ Eren, H. (2003), Electronic Portable Instruments: Design and Applications, CRC Press, ISBN 0-8493-1998-6
  2. ^ US 3283170, Buie, James L., "Coupling transistor logic and other circuits", issued 1966-11-01, assigned to TRW Semiconductors, Inc. 
  3. ^ a b "1963: Standard Logic Families Introduced". Timeline. The Computer History Museum. 2007.
  4. ^ Lojek, Bo (2006), History of semiconductor engineering, Springer, pp. 212–215, ISBN 3-540-34257-5
  5. ^ Engineering Staff (1973). The TTL Data Book for Design Engineers (1st ed.). Dallas: Texas Instruments. OCLC 6908409.
  6. ^ Turner, L. W., ed. (1976), Electronics Engineer's Reference Book (4th ed.), London: Newnes-Butterworth, ISBN 0408001682
  7. ^ Pittler, M. S.; Powers, D. M.; Schnabel, D. L. (1982), "System development and technology aspects of the IBM 3081 Processor Complex" (PDF), IBM Journal of Research and Development, 26 (1): 2–11, doi:10.1147/rd.261.0002, archived (PDF) from the original on 2011-06-04, p. 5.
  8. ^ "Advanced Schottky Family" (PDF). Texas Instruments. 1985. SDAA010. Archived (PDF) from the original on 2011-06-04.
  9. ^ Lancaster, D. (1975), TTL Cookbook, Indianapolis: Howard W. Sams and Co., p. preface, ISBN 0-672-21035-5
  10. ^ Klein, E. (2008). "Kenbak-1". Vintage-Computer.com.
  11. ^ Wood, Lamont (8 August 2008). "Forgotten PC history: The true origins of the personal computer". Computerworld. Archived from the original on 2008-08-14.
  12. ^ Gray, Paul E.; Searle, Campbell L. (1969), Electronic Principles Physics, Models, and Circuits (1st ed.), Wiley, p. 870, ISBN 978-0471323983
  13. ^ Buie 1966, column 4
  14. ^ Millman, J. (1979), Microelectronics: Digital and Analog Circuits and Systems, New York: McGraw-Hill Book Company, p. 147, ISBN 0-07-042327-X
  15. ^ Quadruple 2-Input Positive-NAND Gates With Open-Collector Outputs
  16. ^ Quadruple 2-Input Positive-NAND Gates With Open-Collector Outputs
  17. ^ Quadruple 2-Input High-Voltage Interface Positive-NAND Gates
  18. ^ Transistor–Transistor Logic (TTL). siliconfareast.com. 2005. Retrieved 17 September 2008. p. 1.
  19. ^ Tala, D. K. Digital Logic Gates Part-V. asic-world.com. 2006.
  20. ^ SN7400 datasheet - Texas Instruments
  21. ^ Haseloff, Eilhard. "Designing With Logic" (PDF). TI.com. Texas Instruments Incorporated. pp. 6–7. Archived (PDF) from the original on 2011-10-24. Retrieved 27 October 2018.
  22. ^ TTL logic levels
  23. ^ "DM7490A Decade and Binary Counter" (PDF). Fairchild. Archived (PDF) from the original on 2005-03-23. Retrieved 14 October 2016.
  24. ^ "ecelab Resources and Information". ecelab.com. Archived from the original on 19 September 2010. Retrieved 13 March 2023.
  25. ^ Marston, R. M. (2013). Modern TTL Circuits Manual. Elsevier. p. 16. ISBN 9781483105185. [74-series] devices are usually encapsulated in a plastic 14-pin, 16-pin, or 24-pin dual-in-line package (DIP)
  26. ^ Rymaszewski, E. J.; Walsh, J. L.; Leehan, G. W. (1981), "Semiconductor Logic Technology in IBM", IBM Journal of Research and Development, 25 (5): 603–616, doi:10.1147/rd.255.0603
  27. ^ Seraphim, D. P.; Feinberg, I. (1981), "Electronic Packaging Evolution in IBM", IBM Journal of Research and Development, 25 (5): 617–630, doi:10.1147/rd.255.0617
  28. ^ Horowitz, Paul; Hill, Winfield (1989), The Art of Electronics (2nd ed.), Cambridge University Press, p. 970, ISBN 0-521-37095-7 states, "...CMOS devices consume power proportional to their switching frequency...At their maximum operating frequency they may use more power than equivalent bipolar TTL devices."
  29. ^ Ayers, J. UConn EE 215 notes for lecture 4. Harvard University faculty web page. Archive of web page from University of Connecticut. n.d. Retrieved 17 September 2008.
  30. ^ Wobschall, D. (1987), Circuit Design for Electronic Instrumentation: Analog and Digital Devices from Sensor to Display (2d ed.), New York: McGraw Hill, pp. 209–211, ISBN 0-07-071232-8
  31. ^ Buchanan, James Edgar (1996). Signal and Power Integrity in Digital Systems: TTL, CMOS, and BiCMOS. McGraw-Hill. p. 200. ISBN 0070087342.
  32. ^ "RS-232 vs. TTL Serial Communication - SparkFun Electronics". www.sparkfun.com.
  33. ^ "B&B Electronics - Polarities for Differential Pair Signals (RS-422 and RS-485)". www.bb-elec.com.

Further reading

[edit]
[edit]