Unit 2 Q A
Unit 2 Q A
Unit 2 Q A
The below Figure shows the circuit diagram for a three input LS-TTL NAND
gate(74LS00). We know that NAND function can be obtained by inverting the output of a
diode AND gate. The circuit is basically divided it into three functional parts. They are
As shown in figure diodes D1X and D1Y and resistor R1 forms a diode AND gate.
The Clamp diodes D2X and D2Y at the input are used as protective diodes. These diodes
protect the circuit from large negative transients on input lines.
The transistor Q2 acts as an inerter. The Q2 alongwith the surrounding resistors form
a phase splitter that controls the output stage. The diode AND gate and the phase splitter,
thus represents the NAND function. Depending on whether the diode AND gate produces a
“low” or a “high” voltage at VA, Q2 is either cut off or turned on.
FUNCTION TABLE:
X Y Z VA Q2 Q3 Q4 Q5 Q6 VOUT
LOW LOW LOW LOW OFF ON ON OFF OFF HIGH
LOW LOW HIGH LOW OFF ON ON OFF OFF HIGH
LOW HIGH LOW LOW OFF ON ON OFF OFF HIGH
LOW HIGH HIGH LOW OFF ON ON OFF OFF HIGH
HIGH LOW LOW LOW OFF ON ON OFF OFF HIGH
HIGH LOW HIGH LOW OFF ON ON OFF OFF HIGH
HIGH HIGH LOW LOW OFF ON ON OFF OFF HIGH
HIGH HIGH HIGH HIGH ON OFF OFF ON ON LOW
The output stage has two transistors, Q4 and Q5, only one of which is on at any time
The TTL output stage is sometimes called a totem-pole or push-pull output Similar to the p-
channel and n-channel transistors in CMOS, Q4 and Q5 provide active pull-up and pull-down
to the HIGH and LOW states, respectively. The functional operation of the TTL NAND gate
is summarized in above Figure.
The gate does indeed perform the NAND function, with the truth table and logic
symbol shown in (b) and (c) TTL NAND gates can be designed with any desired number of
inputs simply by changing the number of diodes in the diode AND gate in the figure.
It is important to note that all the transistors used are schottky clamped transistors.
The circuit uses a darlington pair (Q3 and Q4) to provide shorter output rise time when
switching from OFF to ON. The transistor Q6 connected in series regulates the current flow
into the base of Q and helps in turning Q5 OFF rapidly.
However, when the TTL output is changing from HIGH to LOW or vice versa, there
is a short time when both transistors may be ON. The purpose of R5 is to limit the amount of
current that flows from VCC to ground.
2.Explain sinking current and sourcing current of TTL o/p.which of the
parameters decide the fanout and how?
SINKING AND SOURCING CURRENTS
The definitions of sinking and sourcing currents are shown in below Figure. A
device output is said to sink current when current flows from the power supply, through the
load, and through the device output to ground as in below figure.
When a TTL input is driven LOW by the output of another TTL gate. Transistor Q5
in the driving gate is ON, and thereby provides a path to ground for the current flowing out of
the diode in the driven gate. When current flows into a TTL output in the LOW state, as in
the case, the output is said to sinking current.
The output is said to source current when current flows from the power supply, out
of the device output, and through the load to ground as in below fig.
When a TTL input is driven HIGH by the output of another TTL gate. Transistor Q4
in the driving gate is ON, enough to supply the small amount of leakage current flowing
through reverse biased diodes in the driven gate. When current flows out of a TTL output in
the HIGH state, as in the case, the output is said to sourcing current.
1.logic levels 2. DC noise margin 3.Low state unit load 4. High state fanout
1.Logic Levels
The TTL device manufacturers specify the four voltage parameters in the datasheet.
They are:
2.NOISE MARGINS:
In practice due to unwanted signal called noise, sometimes, the voltage at the input drops
below VIH(min) or rise above VIL(max) , which produces unpredictable operation. Noise margin
is classified into two types. They are:
1.High state DC Noise Margin(VNH)-It is the difference between the high level
output voltage and high level input voltage.
2. Low state DC Noise Margin(VNL)-It is the difference between the low level input
voltage and low level output voltage.
FANOUT
The fan-out of a logic gate is the number of inputs that the gate can drive without
exceeding its worst-case loading specifications. The fan-out depends not only on the
characteristics of the output, but also on the inputs that it is driving. Fan-out must be
examined for both possible output states, HIGH and LOW.
The maximum LOW-state output current IOLmax for TTL gate is 8mA.The maximum
LOW state input current IILmax is -0.4mA. Therefore, the LOW-state fanout or low state unit
load for TTL is 20.
IOLmax 8mA
LOW state unit load= / /=/ /= 20
IILmax −0.4mA
Also the maximum HIGH-state output current IOHmaxC is -400µA. The maximum
HIGH state input current IIHmax is 20µA. Hence the HIGH-state fanout is also 20 i.e.,
The HIGH-state and LOW-state fan-outs of a gate are not necessarily equal. In general,
the overall fanout of a gate is the minimum of its HIGH state and LOW-state fanouts, i.e., 20.
IOHmax −400µA
HIGH state fan-out = / /=/ /= 20
. IIHmax 20µA
4.What is meant by tri-state logic? Draw the circuit of tri-state TTL logic and
explain its functions.
In digital electronics three-state, tri-state, or 3-state logic allows an output port to assume
a high impedance state, effectively removing the output from the circuit, in addition to the 0 and
1 logic levels.
FIG: The circuit diagram for a two-input LS-TTL NAND gate, 74LS00
As shown in figure diodes D1X and D1Y and resistor R1 forms a diode AND gate.
The Clamp diodes D2X and D2Y at the input are used as protective diodes. These diodes
protect the circuit from large negative transients on input lines.
The transistor Q2 acts as an inerter. The Q2 alongwith the surrounding resistors form
a phase splitter that controls the output stage. The diode AND gate and the phase splitter,
thus represents the NAND function. Depending on whether the diode AND gate produces a
“low” or a “high” voltage at VA, Q2 is either cut off or turned on.
FUNCTION TABLE:
X Y VA Q2 Q3 Q4 Q5 Q6 Z
LOW LOW LOW OFF ON ON OFF OFF HIGH
LOW HIGH LOW OFF ON ON OFF OFF HIGH
HIGH LOW LOW OFF ON ON OFF OFF HIGH
HIGH HIGH HIGH ON OFF OFF ON ON LOW
Fig. TRUTH TABLE Fig. Logic symbol
The output stage has two transistors, Q4 and Q5, only one of which is on at any time
The TTL output stage is sometimes called a totem-pole or push-pull output Similar to the p-
channel and n-channel transistors in CMOS, Q4 and Q5 provide active pull-up and pull-down
to the HIGH and LOW states, respectively. The functional operation of the TTL NAND gate
is summarized in above Figure.
The gate does indeed perform the NAND function, with the truth table and logic
symbol shown in (b) and (c) TTL NAND gates can be designed with any desired number of
inputs simply by changing the number of diodes in the diode AND gate in the figure.
It is important to note that all the transistors used are schottky clamped transistors.
The circuit uses a darlington pair (Q3 and Q4) to provide shorter output rise time when
switching from OFF to ON. The transistor Q6 connected in series regulates the current flow
into the base of Q and helps in turning Q5 OFF rapidly.
However, when the TTL output is changing from HIGH to LOW or vice versa, there
is a short time when both transistors may be ON. The purpose of R5 is to limit the amount of
current that flows from VCC to ground.
(6 & 7). Draw the circuit of a 2-input TTL NOR gate and explain its functional
behaviour.
The below Figure shows the circuit diagram for a two input LS-TTL NOR
gate(74LS02). We know that NOR function can be obtained by inverting the output of a
diode OR gate. The circuit is basically divided it into three functional parts. They are
The transistors Q2X and Q2Y are acts as inverters. The Q2X and Q2Y alongwith the
surrounding resistors form a phase splitter that controls the output stage. The diode OR gate
and the phase splitter, thus represents the NOR function. Depending on whether the diode OR
gate produces a “low” or a “high” voltage at VA, Q2X and Q2Y are either cut off or turned
on.
FUNCTION TABLE:
X Y VA Q2X Q2Y Q3 Q4 Q5 Q6 Z
LOW LOW LOW OFF OFF ON ON OFF OFF HIGH
LOW HIGH HIGH OFF ON OFF OFF ON ON LOW
HIGH LOW HIGH ON OFF OFF OFF ON ON LOW
HIGH HIGH HIGH ON ON OFF OFF ON ON LOW
The gate does indeed perform the NOR function, with the truth table and logic
symbol shown in (b) and (c) TTL NOR gates can be designed with any desired number of
inputs simply by changing the number of diodes in the diode OR gate in the figure.
It is important to note that all the transistors used are schottky clamped transistors.
The circuit uses a darlington pair (Q3 and Q4) to provide shorter output rise time when
switching from OFF to ON. The transistor Q6 connected in series regulates the current flow
into the base of Q and helps in turning Q5 OFF rapidly.
However, when the TTL output is changing from HIGH to LOW or vice versa, there
is a short time when both transistors may be ON. The purpose of R5 is to limit the amount of
current that flows from VCC to ground.
8.Draw and explain the simple transistor logic inverter and its logic symbol
and characteristics.
Case 1: When input is HIGH : If the input to the transistor is high (+5V), the base
emitter junction is forward biased and current flows through R1 into the base and the amount
of current flowing through the base is sufficient to drive the transistor into saturation. In
saturation condition, voltage between collector and emitter (VOUT) is VCE(sat) which is
typically 0.3V.
Case 1: When input is LOW : If the input to the transistor is low (+0V), the base
emitter junction is reverse biased and there is no current flows through R1 into the base and
the amount of current flowing through the base is not sufficient to drive the transistor into
saturation. In cutoff condition, voltage between collector and emitter (VOUT) is VCC.
ANALYSIS:
As per KVL :
VOUT=VCE=VCC-ICRC
In saturation the collector current is IC(sat) which is nearly equal to VCC /RC
VOUT =0V(Ideally)
VOUT =0.3V(Practically)
VOUT =VCC
Transfer characteristics :
9.Compare CMOS,TTL and ECL with reference to logic levels, noise margin,
propagation delay and fanout.
FANOUT 20 20 25
PROPAGATION
70ns 10ns 0.75ns
DELAY
NOISE MARGIN 1.25V 0.4V 150mv
VOHmin 4.95v 2.4v -0.980v
VIHmin 3.5v 2.0v -1.105v
VOLmax 0.05v 0.4v -1.630v
VILmax 1.5v 0.8v -1.475v
10. Explain how CMOS / TTL interfacing can be achieved? Give the i/p and
o/p levels of oltages and explain the same.
11.Draw the circuit diagram of basic CML gate and explain its operation.
(OR)
12.Draw the circuit diagram of basic ECL inverter/buffer and explain its
operation with input low logic.
Basic CML (ECL) Circuit:
The basic idea of current-mode logic or emitter coupled logic is illustrated by the
inverter/buffer circuit in below Figure. This circuit has both an inverting output (OUT1) and
a non inverting output (OUT2) Two transistors are connected as a differential amplifier with
a common emitter resistor The supply voltages for this example are VCC=5.0v, VBB=4.0, and
VEE=0 V, and the input LOW and HIGH levels are defined to be 3.6 and 4.4 V.
This circuit actually produces output LOW and HIGH levels that are 0.6 V higher (4.2
and 5.0 V), but this is corrected in real ECL circuits.
WORKING:
Case 1 : When VIN is HIGH, as shown in the figure, transistor Q1 is on, but not saturated, and
transistor Q2 is OFF. This is true because of a careful choice of resistor values and voltage
levels.Thus, VOUT2 is pulled to 5.0 V (HIGH) through R2, and it can be shown that the
voltage drop across R1 is about 0.8 V so that VOUT1 is about 4.2 V (LOW).
Case 2 : When VIN is LOW, as shown in below Figure, transistor Q2 is on, but not saturated,
and transistor Q1 is OFF. Thus, VOUT1 is pulled to 5.0 V through R1, and it can be shown that
VOUT2 is about 4. 2 V.
FUNCTION TABLE:
INPUT Q1 Q2 OUT1 OUT2
LOW OFF ON HIGH LOW
HIGH ON OFF LOW HIGH
TRUTH TABLE:
WORKING:
Case 1 : A is Low and B is Low : When both input voltages are Low, then transistors Q1 and Q2
are off, and transistor Q2 is ON. This is true because of a careful choice of resistor values and
voltage levels. Thus, VOUT1 is pulled to 5.0 V (HIGH) through R2, and it can be shown that
the voltage drop across R1 is about 0.8 V so that VOUT2 is about 4.2 V (LOW).
Case 2 : A is Low and B is High : When A is low and B is high, then , transistor Q2 is on and Q1
is OFF, and transistor Q3 is also OFF.Thus, VOUT2 is pulled to 5.0 V (HIGH) through R2, and
it can be shown that the voltage drop across R1 is about 0.8 V so that VOUT1 is about 4.2 V
(LOW).
Case 3 : A is High and B is Low : When A is high and B is low, then , transistor Q1 is on and Q2
is OFF, and transistor Q3 is also OFF. Thus, VOUT2 is pulled to 5.0 V (HIGH) through R2,
and it can be shown that the voltage drop across R1 is about 0.8 V so that VOUT1 is about 4.2
V (LOW).
Case 4 : A is high and B is high : When A is high and B is high, then , transistor Q1 is on and Q2
is ON, and transistor Q3 is also OFF. Thus, VOUT2 is pulled to 5.0 V (HIGH) through R2, and
it can be shown that the voltage drop across R1 is about 0.8 V so that VOUT1 is about 4.2 V
(LOW).
TRUTH TABLE:
A B OUT1(NOR) OUT2(OR)
0 0 1 0
0 1 0 1
1 0 0 1
1 1 0 1
FUNCTION TABLE:
A B Q1 Q2 Q3 OUT1 OUT2
LOW LOW OFF OFF ON HIGH LOW
LOW HIGH OFF ON OFF LOW HIGH
HIGH LOW ON OFF OFF LOW HIGH
HIGH HIGH ON ON OFF LOW HIGH
LOGIC SYMBOL:
14.Draw the circuit diagram of two input 10K ECL OR gateand explain its
operation.