Академический Документы
Профессиональный Документы
Культура Документы
GWALIOR
INVESTIGATORY PROJECT
2018-2019
PHYSICS
DATE OF SUBMISSION:
ARYAN TRIPATHI
CONTENT
Introduction
Principle
Digital logic levels OR basic gates
Simple Diode Logic Gates
i. OR Gate
ii. AND Gate
Transistor Logic Gates
i. NOT Gate
ii. NAND Gate
iii. NOR Gate
Universal Gates
i. XNOR Gate
ii. XOR Gate
Application
AND Gate
Ex-OR/Ex-NOR Gate
NOT Gate OR Inverters
NAND Gate
OR Gate
NOR Gate
Conclusion
Bibliography
INTRODUCTION
Logic gates are the heart of the digital electronics. A logic
gate is an idealized or physical device implementing a Boolean
function; that is, it performs a logical operation on one or
more binary inputs and produces a single binary output. A gate
is an electronic device which is used to compute a function on a
two valued signal. Logic gates are the basic building block of
digital circuits.
Basically, all logic gates have one output and two inputs. It
follows a logical relationship between input and output voltages
and hence called logic gates. Some logic gates like NOT gate or
Inverter has only one input and one output. The inputs of the
logic gates are designed to receive only binary data (only low 0
or high 1) by receiving the voltage input.
The low logic level represents Zero volts and high logic level
represents 3 or 5 volts positive supply voltage.
LOGICAL STATEMENTS
1 0
High Low
Positive Negative
On Off
Close Open
Conducting Non-conducting
Right Wrong
True False
Yes No
DIGITAL LOGIC
LEVELS OR
BASIC GATES
A logic level is defined as a specific state or voltage of a signal.
We know that 0 and 1 are the two states of logic gates. The
logic levels 0 and 1 are known as LOW and HIGH respectively.
In digital electronics, these binary logic levels play a crucial role
in data storage, data transfer.
Diodes can act like switches, so these are used in digital logic
operations and switching. For low and high impedance states a
diode will work in forward bias and reverse bias.
The diode will conduct only in one direction (Forward bias) and it
remains closed in reverse bias condition. So it behaves like a
switch. Now let’s see some simple diode logic gates, which are
constructed by using only Diodes and resistors.
OR Gate
The simple OR gate designed by two diodes is shown in the below
figure. Inputs are given to this circuit by the two diodes. In
this, the logic HIGH (1) is represented by +5 Volts and logic
LOW (0) is represented by 0 Volts or Ground.
Truth table:
AND Gate
The simple AND gate designed by two diodes is shown in the
below figure. In this, the logic HIGH (1) is represented by +5
Volts and logic LOW (0) is represented by 0 Volts or ground. If
two inputs are left unconnected, so the output is also 0 i.e. logic
low. If any one of the two inputs is connected to +0 volts, then
the diode becomes reverse biased and it will not conduct and
makes the output as LOW logic i.e. 0.If the voltage of +5 V is
connected to both the inputs (both diodes), both the diodes will
be in forward biased state, which makes the output of AND
circuit to set in HIGH logic.
Truth table:
Transistor Logic Gates
Like diode, transistor also acts as electronic switch. We can
design logic gates using transistors also. Let’s have a look about
the transistor -made logic gates.
NOT Gate
The NOT gate is generally known as an inverter. It produces the
exact reverse output to that of given input. It has only one
input and one output. The output of NOT gate is always the
complement of its input. When low input signal is connected to
the input of the NOT gate, then the output will be HIGH (logic
1).Similarly, if high input signal is connected to the input, then
the output will be LOW (logic 0). The NOT operation is denoted
by ‘-’ bar symbol. If the input of NOT gate is X and output is Z
then the operation of NOT gate is given as Z =X bar.
Truth table:
Universal Logic Gates
NAND Gate
The NAND gate has the ability to perform 3 operations such as
AND, OR and NOT. This gate is a combination of NOT & AND
gates. The NAND gate output is equal to the inverse of the
AND gate. The NAND gate has two inputs X and Y, and a single
output Z. The inputs are applied to the diodes which are
connected to the transistor. The NAND gate circuit is driven by
+5 Volts. When both inputs are connected to a voltage supply of
5 V, then both diodes D1 and D2 are in OFF state. Then the
transistor Q1 is able to drive from the supply voltage through
the resistor. So the transistor is in ON state and the output
voltage becomes 0.Similarly, when low level voltage is applied the
to the inputs i.e. 0 V, the transistor will be OFF and the output
voltage becomes +5 V. Mathematically NAND gate is
represented as Z = (X.Y) bar. So the output of the NAND gate
becomes LOW only when both the inputs are high. It becomes
HIGH for any other combination of inputs.
Truth table:
NOR Gate
NOR gate is the combination of NOT gate and OR gate. The
NOR gate output is equal to the inverse of the OR gate. The
NOR gate has two inputs X and Y, and a single output Z.
So the output of the NAND gate becomes HIGH only when both
the inputs are low. It becomes LOW for any other combination
of inputs.
Truth table:
Exclusive Logic Gates
XNOR Gate
Basically the “Exclusive-NOR” gate is a combination of the
Exclusive-OR gate and the NOT gate but has a truth table
similar to the standard NOR gate in that it has an output that is
normally at logic level “1” and goes “LOW” to logic level “0” when
any of its inputs are at logic level “1”.
However, an output “1” is only obtained if both of its inputs are
at the same logic level, either binary “1” or “0”. For example,
“00” or “11”. This input combination would then give us the
Boolean expression of: Q = (A ⊕ B) = A.B + A.B
Then the output of a digital logic Exclusive-NOR gate only goes
“HIGH” when its two input terminals, A and B are at the same
logic level which can be either at a logic level “1” or at a logic
level “0”. In other words, an even number of logic “1’s” on its
inputs gives a logic “1” at the output otherwise is at logic level
“0”.
Then this type of gate gives and output “1” when its inputs are
“logically equal” or “equivalent” to each other, which is why
an Exclusive-NOR gate is sometimes called an Equivalence Gate.
Truth table:
XOR Gate
X here stands for exclusive. Output from this gate will be a 1
only when one or the other of the inputs is a 1.
Truth table:
APPLICATION
AND Gate
There are mainly two applications of AND gate as Enable gate
and Inhibit gate. Enable gate means allowance of data through a
channel and Inhibit gate is just the reverse of that process i.e.
disallowance of data through a channel. We are going to show an
enabling operation to understand it in an easier way. Suppose in
the measurement of frequency of a pulsed waveform. For
measurement of frequency a gating pulse of known frequency is
sent to enable the passage of the waveform whose frequency is
to be measured. The diagram below shows the arrangement of
the above explained operation.
Ex-OR/Ex-NOR Gate
This type of logic gates are used in generation of parity
and checking units. The two diagrams below shows the even and
odd parity generator circuits respectively for a four data.
With the help of these gates parity check operation can be also
performed. The diagrams below show even and odd parity check.
NOT Gate or Inverters
NOT gates are also known as inverter because they invert the
output given to them and show the reverse result. Now the
CMOS inverters are commonly used to build square wave
oscillators which are used for generating clock signals. The
advantage of using these is they consume low power and their
interfacing is very easy compared to other logic gates.
The above figure shows the most fundamental circuit made of
ring configuration to generate square wave oscillator. The
frequency of this type generator is given by
F=1/2ntp
NAND Gate
Freezer warning buzzer
When the thermistor is cold its resistance is large and the input
to the NAND gate is high. Since the NAND gate is connected as
an inverter the output is LOW.As the thermistor warms up its
resistance decreases, the voltage across it falls and the input to
the NAND gate falls. When it becomes low enough the output
becomes HIGH and the buzzer sounds.
OR Gate
Wherever the occurrence of any one or more than one event is
need to be detected or some actions are to be taken after their
occurrence, in all those cases OR gates can be used. It can be
explained with an example.
NOR Gate
Logic NOR Gate is a universal gate which can be used to
construct other basic gates like AND gate. In real life, NOR
gates are used in
i. Cell phone
ii. Calculators
iii. Computing
iv. STB
v. LCD TV
vi. Digital logic circuits
vii. Decision making circuits like mixer tanks in factory
viii. Industrial controllers
CONCLUSION
Logic gates are used to develop many IC circuits or
microchips in today’s modern world.
NAND gate and NOR gate are known as universal gates
because we can construct all the three basic gates using
NAND and NOR gates.