TITLE: Study of IC 74LS85 as a Magnitude Comparator
Digital
Trainer Kit, IC 7485, Patch Cord ,+ 5V
Power Supply
THEORY:
COMPARATOR: Comparators can be designed for comparing multi-bit numbers. It receives two n-bit numbers A and B as inputs and outputs are A>B, A=B & A<B. Depending upon relative magnitude of two numbers, one of outputs will be HIGH.
TYPES OF COMPARATORS
·
1 Bit
Comparator
·
2 Bit Comparator
·
4 Bit Comparator----------- up to n Bit Comparator
·
For comparison of binary numbers
having more bits, cascading of ICs can be done.
·
But the IC
generally used in the market is IC
74LS85 (4 Bit comparator)
IC no. |
Description |
Output |
74LS85 |
4 Bit Magnitude Comparator |
A>B / A=B
/ A<B |
74HC/HCT688 |
8 Bit Identity Comparator |
Only for A=B |
SN54ALS688 |
8 Bit Identity Comparator |
Only for A=B |
IC74LS85
Pin Diagram:
EXAMPLE – 1 BIT COMPARATOR –
A |
B |
A>B |
A=B |
A<B |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
In
above truth table, 2 bits A and
B are compared.
Explanation-
Case 1: A=0,
B=0 and A=1, B=1
A=B is High.
Case 2: A=1,
B=0
A>B
is High.
Case 3: A=0,
B=1
A<B is High.
TRUTH
TABLE FOR 4 BIT COMPARATOR USING
IC 74LS85-:
Comparing Inputs |
Cascading Inputs |
Outputs |
||||
|
A>B |
A=B |
A<B |
A>B |
A=B |
A<B |
A>B |
X |
X |
X |
1 |
0 |
0 |
A<B |
X |
X |
X |
0 |
0 |
1 |
A=B |
X |
1 |
X |
0 |
1 |
0 |
A=B |
1 |
X |
X |
1 |
0 |
0 |
A=B |
X |
X |
1 |
0 |
0 |
1 |
1. Easy designing
of Circuit.
2. For decision
making in electronic circuits, comparators are helpful.
1.
Comparators are used in central processing units (CPUs) and
microcontrollers (MCUs).
2.
These are used in control applications in which the binary numbers
representing physical variables such as temperature, position, etc. are
compared with a reference value.
3.
Comparators are also used as process controllers and for Servo motor
control.
4. Used in password verification and biometric applications.
Logic Diagram:
PROCEDURE:
1)
Design 4 bit comparator
circuit as per requirement.
2)
Check all the components
for their working.
3)
Give biasing to the IC.
4)
Make connections as shown
in the diagram and observe output.
CONCLUSION:
Comments
Post a Comment