Transistor-Transistor Logic
Transistor-Transistor Logic
TRANSISTOR-TRANSISTOR LOGIC
The evolution from DTL to TTL can be seen by observing the placement of p-n junctions.
For example, the diode D2 from Figure 2 in the chapter on DTL can be replaced by a
transistor whose collector is pulled up to the power supply; transistor Q2 in Figure 1
below. The p-n junction of D2 is replaced by the BE junction of Q2 and with the current
gain of the transistor, the current going into the base of Q3 is greatly increased, increasing
the fanout.
The input diodes and D1 are replaced by the multi-emitter NPN transistor, Q1, in Fig. 1
and represented by the drawing in Figure 2. Later on, we will make additional
modifications to this curcuit to improve its performance further.
The analysis of this circuit follows very much the same path as the analysis of the DTL
gate. For the most part, we will consider the input transistor, Q1, to act just like two
diodes. The transistor Q2, however, will operate in all three regions. The treatment of the
output voltages and currents will be treated the same as the DTL gate and Q3 will either
be cutoff or saturated, corresponding to an output high and an output low, respectively.
With an input low, Q3 should be cutoff. We will assume Q2 is cutoff and then check our
assumption. If Q2 is cutoff, then there can be no current coming out of the collector of
Q1, hence its base-collector junction can be modeled as an open circuit. The base-emitter
junction of Q1 will be conducting. The circuit with these models substituted for the
transistors is shown in Figure 3. Note the similarity to the DTL circuit under the same
conditions. The two unused inputs are assumed to be high, and are thus, modeled as
open. From this case, we can see that VoH = 5 volts with no load, and
Transistor-Transistor Logic 1
Figure 3. TTL circuit model with one input low.
We turn now to finding VInLmax. We will use the criterion that Vin will be considered as a
low as long as Q3 is kept cutoff. If the base voltage for Q3 can be raised to 0.5 Volts
without turning it on, then there will be 0.5 mA current in the 1KΩ resistor. This current
can only come from Q2, which means it must be conducting. Even assuming all this 0.5
mA comes through the collector of Q2, the voltage drop across the 1.4 KΩ resistor will
be 0.7 Volts, not enough to cause the transistor to saturate. Thus, the active model for Q2
is appropriate as shown in Figure 4.
I B2 = 0.5mA
β +1 = 0.5
31 = 0.016mA
Because this current is coming out of the collector of Q1, the base- collector junction of
Q1 is on, and is modeled as a diode in Figure 4.
5.0 − 19
.
I1 = = 0.775mA
4K
This is considerably more than is going into the base of Q2, therefore, the input BE
junction of Q1 will also still be conducting. The maximum voltage at the input is
Transistor-Transistor Logic 2
CALCULATIONS WITH INPUT HIGH
The circuit model for the TTL gate with all inputs high is shown in Figure 5. Both Q2
and Q3 are modeled as saturated, an assumption that must be verified. With the inputs
high, Q1 is modeled as two diodes with the B-E diodes cutoff, and B-C diode conducting.
5.0 − 2.3
I1 = = 0.675mA
4K
IB2 = 0.675 mA
5.0 − 10
.
IC2 = I 2 = = 2.857mA
1.4 K
The current coming out of the emitter of Q2 is the sum of the base and collector currents.
Part of this current will go down through the 1 KΩ resistor to ground and the rest will
enter the base of Q3.
Transistor-Transistor Logic 3
The maximum collector current that Q3 can carry and still be in saturation is βIB3 =81.96
mA, assuming β=30. The maximum current the gate can sink when the output is low
IoLmax = ICsatmax - I4 = 81.96 - 1.2 = 80.76 mA
Now let's turn our attention back to the input and determine VinHmin and IinH . We will
define the input voltage to be high as long as no current goes out the input terminal.
Thus, all we have to do is keep the input voltage high enough so that the B-E p-n junction
of Q1 does not turn on. Thus,
CALCULATION OF IinH
With the input voltage at a high, say 5 volts, the transistor Q1 will be operating in the
reverse active mode. The B-E junction is reverse biased, and the B-C junction is forward
biased with a base current of 0.675 mA. If there were significant curent gain, you would
expect to see a large current going into the input. However, the reverse β is typically on
the order of 0.02. Thus,
IinH = βR ∗ I = 0.02 ∗ 0.675 = 0.0135 mA
This current would add to the current going into the base of Q2, but is ignored because it
is quite small and because βR is made as small as possible and this input current is a
maximum and cannot be counted on.
One of the problems with the TTL gate circuit we have been analyzing is that the pull-up
resistor on the output transistor will prevent rapid charging of any wiring capacitance on
the output. One way to improve the rise time is to reduce the resistance value as is often
done, but this also increases the power dissipation when the output is low.
If we look at the circuit, we observe that when the transistor is saturated, it presents a very
low effective resistance to ground. The problem arises when the output is high and the
pull-up resistor is too large. Ideally we would like to have a very low resistance pull-up
when the output is high, but a very high pull-up resistance when the output is low. In this
way, we could get quick charging and very low power dissipation. The totem-pole output
stage for TTL, shown in Figure 6, does just that.
Transistor-Transistor Logic 4
This circuit operates just like the original circuit except that Q4 is on when the output is
high and off when the output is low. We need to verify this operation.
OUTPUT LOW
Figure 7 shows the TTL circuit with all inputs high and the output low. The models for
the transistors are shown as before, except diode D and transistor Q4 are added and
shown as cutoff.
Figure 7. TTL gate with totem-pole output circuit model with inputs high.
The analysis of this circuit proceeds exactly the same as before. The currents, I1, I2, I3,
and IB3 are the same as before. With the diode and Q4 not conducting, IoLmax is now the
same as IC4max , 81.96 mA. We only need to show that the diode D and transistor Q4 are
indeed off.
The voltage at the bottom of the diode is 0.2 Volts and the voltage at the base of Q4 equal
to the voltage at the collector of Q2; VC2 = (0.2 + 0.8) = 1.0 Volts. Thus, the voltage
across the B-E junction of Q4 plus the diode is 0.8 Volts. If one conducts, the other must
also. To take both out of cutoff would require at least 0.5 + 0.6 = 1.1 Volts. Thus, both
are off.
OUTPUT HIGH
This condition occurs when one or more inputs are low. The circuit is shown in Figure 8
with the appropriate models used for the transistors and the diode. In this case, Q2 and
Q3 are both cutoff while Q4 and the diode are conducting. We have to assume here that
there is some load and that the output current is not zero.
Transistor-Transistor Logic 5
Figure 8. TTL totem-pole circuit model with output high.
The current coming out the output terminal IS (=-Io ) is the sum of the currents coming
down through the base and the collector. Thus,
IS = IB4 + βIB4
Because each TTL load represents 13 µA, if we assume there are 10 loads, then IS = 130
µA. The base current is
130µA
I B4 = = 4.2 µA
1+ β
where we have assumed a β of 30. Then taking the path down through the 1.4 KΩ
resistor to the output. the output voltage is
The voltage drop across the 1.4 KΩ resistor is neglegible. Of course as the current
increases, the output voltage will drop further.
We are now ready to make the table showing the terminal specifications for the TTL gate.
These are shown in Table 1.
------------------------------------------------------------------------------------------------
Table 1. Terminal Specifications For TTL
Transistor-Transistor Logic 6
Figure 9. Data for ‘00, ‘04, ‘10, and ‘30 NAND gates for several TTL families
(Abstracted from Texas Instruments TTL Data Book.)
Transistor-Transistor Logic 7
MANUFACTURER’S DATA SHEETS
The terminal specifications of several TTL families are shown in Figure 9. You will note
the values given for various voltages and currents are quite different from those we
calculated. This difference comes from the fact that manufacturing tolerances and
variations cannot be closely controlled, hence, the specifications given by the
manufacturers are much more conservative than our calculations which were based on
nominal values. Also note that the limits are usually given as a maximum or a minimum,
depending on which limit is normally used in design. For example, IinLmax is given as -1.6
mA for the 74xx series. What this means is that as a designer, your driver must be able
to sink as much as 1.6 mA when the input to the gate is pulled low.
You will note that the TTL gate is rather loosely specified. The question invariably arises
as to how one reads the data sheets or designs with this data. Figure 10 shows the
allowed operating regions for a 7400, 2-input NAND gate. The best description of these
operating regions is probably given by the following examples.
Example 1: If the input voltage is between 0.00 and 0.08 volts, the output voltage will be
below VCC and above 2.4 volts as shown in Figure 10a.
Example 2: If the input voltage is between 2.00 and VCC, the input current will be
between 0 and 40 µA as shown in Figure 10b.
You will note in the above examples that there is no mathematical relationship between
one variable and another. There is simply not enough data to develop one and the
variability of the manufacturing process prohibits the manufacturer from providing one.
In a design setting, you must stay within the limits provided by the manufacturer. For
example, if you wanted to connect a resistor from the output of a 7400 gate and ground,
what would be the limits allowed on the resistance value? Figure 10c provides part of the
answer. If we assume that we must operate within the shaded region which represents a
“High” level output, we should not allow the output to drop below 2.4 volts with 400 µA
coming out of the gate. The minimum value would be 6 KΩ. The upper limit is, of
course, infinite; an open circuit (Vo = VCC, Io = 0).
There are a few data points provide by the specifications that are not within the limits of
normal operation. For example, if the input voltage drops below zero, it is allowed to
drop to -1.5 volts where you may expect as much as 12 mA coming out of a 7400 gate
input. Most of this current comes from an input clamp diode which has not been shown
on our drawings.
Transistor-Transistor Logic 8
Transistor-Transistor Logic 9
Another non-standard data point of interest is IoS, the short-circuit output current. This is
the current you get from the gate output if the output is shorted to ground when the output
of the gate would otherwise be high. In this case, both minimum and maximum values
are given, -18 to -55 mA. If you went to the laboratory and actually performed this deed,
you could expect a current somewhere in this range. How does this affect the designer?
For example, a designer might be tempted to connect the output of the 7400 gate directly
to the base of an NPN transistor whose emitter is grounded. In this case, the "high"
output voltage is clamped at 0.80 V by the BE junction. What current can you expect into
the base of the transistor when the gate output goes "high"? This condition is tricky and
perhaps open to some debate, but the conservative designer must recognize that the
operation is between the short circuit case and the case where VoHmin=2.4V when IoH =-
400µA. The conservative designer would conclude that the current might be as low as
400 µA and as high as 55 mA; the worst cases. It is possible to go back to the circuit of
the gate with 0.8 volts at the output terminal and calculate the current. However, this
analysis would be for nominal values only and not provide definitive limits on the
current.
Note the notation at the bottom of the specification table in Figure 9. This notation
discusses the limit on the amount of time a short circuit is allowed to be connected to the
output of some gates. This time limit is based on the amount of time it takes the internal
components of the integrated circuit to heat up to its maximum allowed value. While
connecting a transistor base to the output is not exactly a short circuit, it is outside the
allowed operating region and probably should have the same time limits as the short
circuit.
TERMINAL CHARACTERISTICS
During the previous discussions on TTL, we were looking at circuit operation and
developing an understanding of how the terminal specifications were arrived at. Let us
now take a broader look at these characteristics.
First, the input currents are quite high when the input is low, requiring the driver to sink a
lot of current. When the input is high, the input current into the gate is quite low. Thus,
any circuit which is supposed to drive the input to a TTL gate must concentrate on
sinking current, and only needs to source a little current when the driver output voltage is
high.
Second, the output strength of the TTL gate matches the strength requirements at the
input. An example is given in Figure 11. The TTL gate can sink a large current when its
output is low, but can only source a small current when the output is high. Thus, if the
TTL gate is expected to drive a circuit that is not another TTL circuit, you must exercise
care when designing the interface. The load circuit must not require large input currents
when its input is high, but may use larger currents when the input voltage is low.
Transistor-Transistor Logic 10
Figure 11. When driving other TTL gates as loads, a 7400 gate must be able to
sink more current than it needs to source.
These requirements must be kept in mind when designing interfaces with the TTL gate at
both the input and the output. Examples of interfacing with TTL gates are shown in
Figure 12 and 13. See data books for more complete data.
Transistor-Transistor Logic 11
Figure 12. Several ways to drive loads from TTL gates.
Transistor-Transistor Logic 12
WIRED-AND CONNECTION
Because the active pull-up or totem-pole output of the TTL gate always has one transistor
cutoff and the other turned on, you cannot connect two outputs together. If one is trying
to pull the output high, and the other is trying to pull it low, you will have a very low
impedance path to ground and very large currents.
For the same reason, the output must not be connected to any voltage source or to ground
through a low impedance path. In one state or the other, there would be a low impedance
path and large currents.
In order to overcome the limitations created by the totem pole output circuit, some gates
are manufactured with the output collector left open. One example is the 7405, a quad 2-
input NAND gate with open collector outputs. If you connect a resistor as the pull-up,
you can use this resistor to source current when the output is high and/or you can wire-
AND the collectors together.
TTL FAMILIES
As the designers of TTL gates became more sophisticated, they developed modifications
which would provide special characteristics. The original series of TTL was designated
as 74XX, where the XX is replaced by logic function ( 00 is a quadruple 2-input NAND,
04 is a hex inverter, etc.) The 74LXX series is a low power family. 74HXX is a high
speed family. 74SXX is a family based on Schottky diodes and transistors. 74LSXX is a
family of low power Schottky. A 54xXX is also provided as a companion family to the
74xXX families. The 54... families are identical to the 74... families, except for operating
temperature range and tolerance on power supply voltage.
Each family has different characteristics, but the same logic functions. The L family is
low power, but is much slower than the standard family. The H family is high speed, but
also has higher power dissipation. The Schottky families are quite fast without increasing
the power dissipation. More recent advances in TTL family have given us several other
versions. For example, 74F, 74AS, and 74ALS, for Fast, Advanced Schottky, and
Advanced Low-power Schottky. The AS family is the fastest, with a propagation delay of
less than 5 ns. Table 2 shows the propagation delays and power supply current for each
type of gate. The power supply current, ICC, is the average for a 50% duty cycle with the
output spending half its time low and half the time at a high.
In addition, these different families use slightly different circuit configurations. A little
study of the circuits will reveal the same operations.
Transistor-Transistor Logic 13
Table 2. Propagation delays and power supply current for TTL families
Data abstracted from Texas Instruments TTL Data Books
SCHOTTKY TTL
Schottky TTL is thus faster than standard TTL and the terminal voltages are slightly
different. See the data sheet.
TRI-STATE OUTPUT
The totem-pole output of a TTL gate provides additional speed at lower power for the
gate than a simple pull-up resistor. The cost, however, is that the gate outputs cannot be
connected in parallel. This problem is serious when you need to make a bus structure
such as a data bus, where several gates need to put data onto the bus at different times.
The outputs can be OR'd or AND'ed using appropriate gates, but this solution is less than
satisfactory and slows down the operation.
A better solution is the TRI-STATE output as shown in Figure 14. The added input
allows normal operation of the gate when the "enable" input is high. Both output
transistors are cutoff when "enable" is low.
Transistor-Transistor Logic 14