Anda di halaman 1dari 16

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH
Name : V. SURYA PRAKASH RAO
Designation : Sr.Lecturer
Branch : Electronics & Communication Engg.
Institute : Govt. Polytechnic, Warangal.
Year/Semester : III semester
Subject : Digital Electronics
Subject Code : EC-304
Topic : Combinational Logic Circuits
Duration : 50 min
Sub Topic : Encoders
Teaching Aids : Diagrams.
EC304.31 1
OBJECTIVE:

On completion of this period , you would be able to know

• Draw the logic circuit of 4 x 2 Encoder


• The working of 4 X 2 Encoder

EC304.31 2
Recap

In the earlier classes, we have discussed about

• Applications of Multiplexers & Decoders.

EC304.31 3
Need of Encoder:

• An Encoder converts the decimal or Hexadecimal data in to


binary form.
• Encoders are required at the interface of man and machine
communication & for transmission of data between various
digital sub systems that do not employ the same code.

EC304.31 4
ENCODER:

• It is a logic circuit used to convert one form of data


into binary form.

• The input of data may be in any form other than


binary, such as decimal, octal, hexa-decimal, etc

• Encoders can also be designed using


combinational logic circuits.

EC304.31 5
Circuit diagram of 4 X 2 Encoder

A
B
C
D

OR gate OR gate
Yo = B+D

Y1 = C+D

EC304.31 6
Truth table of 4 X 2 Encoder

Position of the push button OUTPUTS


input Y1 Y0

0 0 0

1 0 1

2 1 0

3 1 1

EC304.31 7
Working :
• When push button 0 is pressed, the y1 and y0 OR
gates have low outputs therefore the output word is
y1y0=00.

• If the button 1 is keyed, the y1 and y0 OR gates have


low and high outputs. Therefore output word isy1y0=01.

• Similarly when the button 2 is keyed the output word


is y1y0 =10 and when button 3 is keyed the output
word is y1y0=11. EC304.31 8
Decimal to binary Encoder:
• We can get a decimal to binary encoder as shown in figure

below:

EC304.31 9
Truth table of decimal to binary Encoder:

Position of the push button OUTPUTS


switch input Y3 Y2 Y1 Y0

0 0 0 0 0

1 0 0 0 1

2 0 0 1 0

3 0 0 1 1

4 0 1 0 0

5 0 1 0 1

6 0 1 1 0

7 0 1 1 1

8 1 0 0 0

9 1 0 0 1

EC304.31 10
Summary

We have discussed

The working principle of 4 X 2 and Decimal to binary


Encoder.

EC304.31 11
QUIZ

EC304.31 12
1) When push button 3 is pressed in 10 X 4 Encoder
which of the output appear at Y3,Y2,Y1,Y0 ?

A. 1 0 1 0

A. 0 0 1 1

A. 1 1 0 0

• 0101
EC304.31 13
2) In 10 X 4 Encoder when the output is 0 1 1 0
(Y3,Y2,Y1,Y0) corresponds to which push button key ?

A. 4

A. 8

A. 9

• 6
EC304.31 14
Frequently Asked Questions

1. Explain the working of 4 X 2 Encoder.

3. Draw the circuit diagram of decimal to binary Encoder &


explain the operation.

EC304.31 15
Assignment Questions

1.Construct the 16 X 4 Encoder ?

2.Construct the octal to decimal encoder ?

EC304.31 16

Anda mungkin juga menyukai