Applied Electronics
Applied Electronics
ELECTRONICS
Duality theorem
DeMorgan’s theorem
Duality Theorem
Group1 Group2
x+0=x x.1 = x
x+1=1 x.0 = 0
x+x=x x.x = x
x + x’ = 1 x.x’ = 0
0 1 1 1 1
1 0 1 1 1
1 1 0 0 1
Find the Boolean
algebra expression
for the following
system.
B A A.B A+B Q
0 0 0 1 1
0 1 0 0 0
1 0 0 0 0
1 1 1 0 1
Find output Y?
1.
2.
Find output Y?
3.
4.
This Boolean
function is
in Sum of
Products form.
Find output Y?
5.
6.
Inputs Outputs
A B C S
0 0 0 0
0 1 0 1
1 0 0 1
1 1 1 0
Full adder
Inputs Outputs
X Y D Bout
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
Encoders and Decoders
In the digital domain, for ease of
transmission of data, the data is often
encrypted or placed within codes and then
this secured code is transmitted. At the
receiver, the coded data is decrypted or
gathered from the code and is processed to
be displayed or given to the load accordingly.
This task of encrypting the data and
decrypting the data is done by Encoders and
Decoders.
Decoders
Decoder is a combinational circuit that has
‘n’ input lines and maximum of 2n output
lines.
One of these outputs will be active High
based on the combination of inputs present,
when the decoder is enabled. That means
decoder detects a particular code.
The outputs of the decoder are nothing but
the min terms of ‘n’ input variables
Decoder : 2 to 4
Decoder
E A A0 Y Y2 Y1 Y0
1 3
0 x x 0 0 0 0
1 0 0 0 0 0 1
1 0 1 0 0 1 0
1 1 0 0 1 0 0
1 1 1 1 0 0 0
Decoder : 2 to 4 Decoder
From Truth table, we can write the Boolean
functions for each output as :
Y3=E.A1.A0
Y2=E.A1.A0′
Y1=E.A1′.A0
Y0=E.A1′.A0′
Each output is having one product term. So,
there are four product terms in total. We can
implement these four product terms by using
four AND gates having three inputs each & two
inverters.
Decoder : 2 to 4 Decoder
The circuit diagram of 2 to 4 decoder is shown
in the following figure.
3 to 8 decoder
4 to 16 decoder
Encoder
An Encoder is a combinational circuit that
performs the reverse operation of Decoder.
It has maximum of 2n input lines and ‘n’
output lines. It will produce a binary code
equivalent to the input, which is active High.
Therefore, the encoder encodes 2n input lines
with ‘n’ bits. It is optional to represent the
enable signal in encoders.
Encoder : 4 to 2 Encoder
Let 4 to 2 Encoder has four inputs Y3,Y2,Y1 &
Y0 and two outputs A1 & A0. The block
diagram of 4 to 2 Encoder is shown in the
following figure.
At any time, only one of these 4 inputs can
be ‘1’ in order to get the respective binary
code at the output.
Encoder : 4 to 2 Encoder
Inputs Outputs
Y3 Y2 Y1 Y0 A1 A0
0 0 0 1 0 0
0 0 1 0 0 1
0 1 0 0 1 0
1 0 0 0 1 1
From Truth table, we can write the Boolean functions for each
output as
A1=Y3+Y2
A0=Y3+Y1
Encoder : 4 to 2 Encoder
We can implement the above two
Boolean functions by using two input OR
gates. The circuit diagram of 4 to 2
encoder is shown in the following figure.
Multiplexer and Demultiplexer
In-network transmission, both the
multiplexer and demultiplexer are
combinational circuits.
A multiplexer selects an input from several
inputs then it is transmitted in the form of a
single line. An alternative name of the
multiplexer is MUX or data selector.
A demultiplexer uses one input signal and
generates many. So it is known as Demux or
data distributor.
Multiplexer
The multiplexer is a device that has multiple inputs and single line
output. The select lines determine which input is connected to the
output, and also increase the amount of data that can be sent over
a network within a certain time. It is also called a data selector.
Multiplexers are capable of handling both analog and digital
applications. In analog applications, multiplexers are made up of
relays and transistor switches, whereas in digital applications, the
multiplexers are built from standard logic gates. When the
multiplexer is used for digital applications, it is called a digital
multiplexer.
Multiplexer Types
Multiplexers are classified into four types:
Y=S1′S0′I0+S1′S0I1+S1S0′I2+S1S0I3
4x1 Multiplexer
We can
implement this
Boolean
function using
Inverters, AND
gates & OR
gate. The circuit
diagram of 4x1
multiplexer is
shown in the
following figure.
Applications of Multiplexer
1. Communication System
2. Telephone Network
3. Computer Memory
4. Transmission from the Computer
System of a Satellite
Demultiplexer
S1 S0 Y3 Y2 Y1 Y0
0 0 0 0 0 I
0 1 0 0 I 0
1 0 0 I 0 0
1 1 I 0 0 0
1x4 De-Multiplexer
From the above Truth table, we can
directly write the Boolean functions for
each output as
Y3=s1s0I
Y2=s1s0′I
Y1=s1′s0I
Y0=s1′s0′I
1x4 De-Multiplexer
We can implement
these Boolean
functions using
Inverters & 3-input
AND gates. The
circuit diagram of
1x4 De-
Multiplexer is
shown in the
following figure.