02 Logic Gates
02 Logic Gates
MS MANDIZHA LF
LOGIC GATES AND BOOLEAN ALGEBRA
Logic gates can be broadly classified into the following three categories −
Basic Logic Gates
AND Gate
OR Gate
NOT Gate
Universal Logic Gates
NAND Gate
NOR Gate
Derived Logic Gates
XOR Gate
XNOR Gate
WORKING PRINCIPLE OF LOGIC GATES
Transistor
Transistors are the main electronic components used to design a logic gate
circuit. A number of transistors are connected together to form a circuit
that can perform different logic gate functions.
Input Terminals
A logic gate can have one or more input terminals. Each input terminal can
receive binary signals.
Output Terminals
Logic gates have an output terminal that produces the result of the logical
operation performed by the logic gate.
Components of a logic gate
Power Supply
Being an electronic circuit, a logic gate requires a source of electric power to
work. In general, a voltage VCC represents the power supply.
Ground Terminal
The ground terminal is a 0 V terminal. It acts as a reference point in the circuitry
of the logic gate.
Connecting Wires
These are essential components in the logic gate circuitry. The connecting wires
are required to connect transistors and other components of a logic gate in a
circuit
NOT GATE
The NOT gate is a type of basic logic gate used in digital electronics to
implement the inversion function. Since it performs the inversion
operation, it is also known as inverter.
It has only one input line and one output line. The output of the NOT
gate is high or logic 1 when its input is low or logic 0. The output of the
NOT gate is low or logic 0 when its input is high or logic 1.
LOGIC SYMBOL
TRUTH TABLE OF A NOT GATE
An AND gate is a type of basic logic gate used in various digital circuits
and systems that perfoms Boolean multiplication on inputs applied to it.
The output will only be 1 or high when all the inputs are 1.
LOGIC SYMBOL
TRUTH TABLE FOR AN AND GATE
For an AND gate a ‘HIGH’ or logic 1 result is only found when all the inputs
are ‘HIGH’ otherwise the result is LOW or 0.
TRUTH TABLE EXPLAINED
OR Gate is a basic logic gate having two or more input lines and one
output line. It performs the Boolean addition function.
LOGIC SYMBOL
Click icon to add picture
A logic gate that can implement any kind of possible Boolean function
is called a universal gate. There are two universal logic gates namely,
NAND gate and NOR gate.
NAND GATE
TRUTH TABLE
The NAND gate can perfom inverse functions of an AND gate.
NAND gate explained
EXPLAIN
WORKING AS UNIVERSAL GATES
As a NOT GATE
NAND gate uses
Alarm circuits
Buzzer and burglar devices
Automatic temperature regulation systems
Security systems
Automated doors and windows, etc.
NOR GATE
EXPLAIN
NOR GATE AS AN INVERTER
USES OF NOR GATE
Another derived gate that has two inputs and one output.
The output of the XNOR gate is high, only when both of its inputs
same, i.e., either both inputs are high or both inputs are low. If the
inputs are dissimilar, i.e., one is high and the other low, the output is
low or logic 0.
Since the XNOR gate produces a high output when both its inputs are
similar, it is also known as an equality detector.
The XNOR gate is also known as Exclusive-NOR or Ex-NOR gate.
XNOR gate is a combination of two logic gates namely, XOR gate and
NOT gate.
XNOR GATE
TRUTH TABLE EXPLAINED
Logic gates can process digital signals which are essential component in modern
computing systems.
Logic gates can perform logical or Boolean operations efficiently.
Being digital circuits, logic gates are highly immune to noise and electromagnetic
interference. Hence, they are more reliable.
Multiple logic gates can be combined to obtain higher order logic gates and design
complex digital systems.
Logic gates are versatile in terms of logical operations, as they can perform a
variety of operations when configured in different ways.
Logic gates have high operating speed.
Logic gates consume lower amount of electric power.
Logic gates can be integrated in the form ICs.
Uses of logic gates
Logic gates are used in digital computers to perform arithmetic, logical, and control
functions.
In memory devices, logic gates are used to implement memory cells to store digital
data in the form of bits.
Logic gates are used in manufacturing microprocessors and microcontrollers.
In systems used in the digital signal processing, the logic gates play an important
role to perform various operations such as modulation, filtering, algorithm
execution, etc.
Logic gates are also used in digital communication systems to perform functions
like encoding, decoding, signal processing, etc.
In control systems, logic gates are used to manage and control the operations of
machinery.