LOGIC GATES USING TRANSISTORS Digital Techniques
LOGIC GATES USING TRANSISTORS Digital Techniques
LOGIC GATES USING TRANSISTORS Digital Techniques
A STUDY ON
“LOGIC GATES USING TRANSISTORS”
1
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION, MUMBAI
Certificate
This is to certify that Mr. /Ms.
Program in Engineering & Technology at [ your college nname ] , has completed the
Place:Pune EnrollmentNo:
Seal of Institute
2
Index
1 Introduction 4-5
2 Abstract 6-8
4 Diagrams 9-13
5 Requirements 14
6 Model photo 15
7 Conclusion 16
6 References 17
8 Evaluation Sheet 19
3
INTRODUTION
TO
“LOGIC GATES USING TRANSISTORS”
Basic Gates
This is an active graphic. Click on any of the gates for further information.
4
The reason for which the computers are capable of performing complex operation is due to the
interconnection of these logic gates. Logic gates are implemented by using transistors, diodes, relays, optics
and molecules or even by several mechanical elements. Due to this reason logic gates can also be considered
as electronic circuits. The logic gates can be build up in a wide variety forms such as large-scale integrated
circuits (LSI), very large-scale integrated circuits (VLSI) and also in small-scale integrated circuits (SSI).
Here the inputs and output of all the gates of integrated devices can be accessible and also the external
connections are made available to them just like discrete logic gates.
Inputs and outputs of logic gates are in two levels termed as HIGH and LOW, or TRUE and FALSE, or ON
and OFF, or simply 1 and 0. A table which list out the combination of input variables and the corresponding
output variables is termed as “TRUTH TABLE”. It explains how the logic circuit output responds to various
combinations of logic levels at the inputs. Here we are following level logic, in which the voltage levels are
represented as logic 1 and logic 0. Level logic is of two types such as positive logic or negative logic. In the
positive logic system, higher of the two voltage levels are represented as 1 and lower of the two voltage levels
are represented as 0. But in the negative logic system, higher of the two voltage levels are represented as 0
and lower of the two voltage levels are represented as 1. While considering the transistor-transistor logic
(TTL), the lower state is assumed to be zero volts (0V) and the higher state is considered as five volts positive
(+5V).For the purpose of this class, we will consider transistors to be the basic building blocks of computer
hardware.A transistor is an electronic device that has three ends: a source, a sink, and a gate. The figure below
shows three individual transistors (circa 1960s). Today's technology allows us to pack up to 1 million
transistors per square millimeter (circa 2006). An Intel processor measuring less than a square inch has well
over 1.5 billion transistors on it (circa 2007) .
5
ABSTRACT
Transistor OR Gate
6
Transistor NAND Gate
7
Transistor NOR Gate
0 V to 0.8 V = logic 0
2 V to 5 V = logic 1
TTL is the largest family of digital ICs, but the CMOS family is growing rapidly. They are
inexpensive, but draw a lot of power and must be supplied with +5 volts. Individual gates may
draw 3 to 4 mA.
The low power Schottky versions of TTL chips draw only 20% of the power, but are more
expensive. Part numbers for these chips have LS in the middle of them.
8
CONTENT
AND GATE
An AND gate requires two or more inputs and produce only one output. The AND gate
produces an output of logic 1 state when each of the inputs are at logic 1 state and also
produces an output of logic 0 state even if any of its inputs are at logic 0 state. The symbol for
AND operation is ‘.’, or we use no symbol for representing. If the inputs are of X and Y, then
the output can be expressed as Z=XY. The AND gate is so named because, if 0 is called
“false” and 1 is called “true,” the gate performs in the same way as the logical “and” operator.
The AND gate is also named as all or nothing gate. The logic symbols and truth tables of two-
input and three-input AND gates are given below.
9
2-Input Transistor AND Gate
In the case of transistor AND gate, When the inputs X, Y = 0V or when X=0V and Y= +5V or
when X=+5V and Y=0V, both the transistors Q1 and Q2 are at OFF state. At the same time,
Transistor Q3 gets enough base drive from the supply through Resistor R3 and so transistor
Q3 will be ON. Thereby the output voltage Z= V ce(sat) corresponds to 0V. When both the inputs
are equal to +5V, the transistors Q1 and Q2 will be ON and therefore the voltage at the
collector of transistor Q1 will drop. Due to this the transistor Q3 doesn’t get enough base
drive and turns OFF. As a result no current flows through the collector resistor of Q3 and ,
thereby no voltage drop across it. So the final output voltage corresponds to +5V. The truth
table for this gate circuit is shown below:
10
OR GATE
Similar to AND gate, an OR gate may also have two or more inputs but produce only one
output. The OR gate produces an output of logic 1 state even if any of its inputs is in logic 1
state and also produces an output of logic 0 state if any of its inputs is in logic 0 state. The
symbol for OR operation is ‘+’. If the inputs are of X and Y, then the output can be
represented as Z=X+Y. An OR gate may also be defined as a device whose output is 1, even if
one of its input is 1. OR gate is also called as any or all gate. It is also called as an inclusive
OR gate because it consists of the condition of ‘both the inputs can be present’. The logic
symbols and truth table for two-input and three-input OR gates are given below.
11
2-Input Transistor OR Gate
In the case of transistor OR gate, when the inputs X=0V and Y = 0V both the transistors Q1
and Q2 are at OFF state. At the same time, Transistor Q3 gets enough base drive from the
supply +5V through Resistor R3 and so transistor Q3 will be ON. Thereby the output voltage
Z= Vce(sat) corresponds to 0V. When either the inputs X and Y or both the inputs are equal to
+5V, then the corresponding transistors either Q1 or Q2 will be ON or both the transistors Q1
and Q2 will be ON and therefore the voltage at the collector of transistor Q1 is
VCE(sat) corresponds to 0V. Due to this reason the transistor Q3 doesn’t forward bias the base-
emitter junction and turns OFF. So the final output voltage corresponds to +5V (logic 1 state).
The truth table for this gate circuit is shown below:
12
NOT GATE
The NOT gate is also called as an inverter, simply because it changes the input to its opposite.
The NOT gate is having only one input and one corresponding output. It is a device whose
output is always the compliment of the given input. That means, the NOT gate produces an
output of logic 1 state when the input is of logic 0 state and also produce the output of logic 0
state when the input is of logic 1 state. The NOT operation is denoted by ’-‘(bar). When the
input variable to the NOT gate is represented by ‘X’ and the output is represented by ‘Z’. In
the NOT operation it can be read as ‘Z is equal to X bar’. The logic symbol and truth table are
given below:
Discrete NOT gate may be realized by using transistors. The inputs represented as X may be
either 0V or +5V correspondingly. The output is represented by Z. When the input X = 0V,
then the transistor Q1 will be reverse biased and therefore it remains OFF. As a result no
current flows through the resistor and thereby there will not be any voltage drop across the
resistor. As a result, the output voltage Z corresponds to +5V. When the input X= +5V,
transistor Q1 is ON and the output voltage Z=V ce(sat) corresponds to 0V. The truth table for the
TOOLS QUANTITY
I. Logic gates (AND,OR,NOT)
II. Transistors (5)
III. Battery (1)
IV. PCB Board (2)
V. Soldering Machine (1)
VI. Resistors (9)
VII. LEDs (3)
VIII. Switch keys (5)
14
PROJECT PHOTO COPY:
15
CONCLUSION
We converted the previous diagrams we made into circuits that were composed mainly of
NAND and NOR gates and followed the same procedure. In the first circuit or in the F1, it is
in the Sum o Products form (SOP) and therefore can be easily implemented using NAND
gates. Thus, we constructed its equivalent circuit using NAND gates only. Then, in the second
circuit or in the F2, it can be easily seen that it is in Product of Sums form (POS) and therefore
it can be easily implemented using NOR gates, Hence, we constructed once again
another circuit using NOR gates only but the exact equivalent of theF2.We have constructed
another series of possible answer for each combination so as to serve as a guide to the values
were going to measure. We then measured the corresponding output voltages for each of the
combinations and compared it with our computed or expected values. The results were exactly
the same as what we obtained from the first procedure .After the experiment, we can now say
that using Universal gates we can implement any gate like AND,OR and NOT, or any
combination of these basic gates and obtained the same output. Also we have proved its most
important advantage compared to circuits using basic gates, and that is it minimizes thelogic
ICs being used. Therefore NAND and NOR gates really deserves their title as the Universal
gates.
16
REFERENCES
I. http://hyperphysics.phyastr.gsu.edu/hbase/Electronic/
trangate.html#c1
II. http://www.circuitstoday.com/logic-gates
III. https://www.cs.bu.edu/~best/courses/modules/
Transistors2Gates/
IV. https://www.scribd.com/doc/81284251/Discussion-an-
Conclusion-Logic-Lab
17
Weekly Work / Progress Report
18
Evaluation Sheet for the Micro Project
……………………………………………………………………………………………
Marks out of 6 for Marks out of 4for
Roll performance in performance in Total out of
Student Name
No. group activity (D5 oral/presentation 10
Col.8) (D5 Col.9)
7
8
9
19