Professional Documents
Culture Documents
in
www.Vidyarthiplus.in
LABORATORY
www.Vidyarthiplus.in
Page 1
www.Vidyarthiplus.in
Exp No. 1a
AIM:
To verify the truth table of basic digital ICs of AND, OR, NOT, NAND, NOR, EX-OR gates.
APPARATUS REQUIRED:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
Range
IC 7408
IC 7432
IC 7404
IC 7400
IC 7402
IC 7486
As required
Quantity
1
1
1
1
1
1
1
THEORY:
a. AND gate:
An AND gate is the physical realization of logical multiplication operation. It is an
electronic circuit which generates an output signal of 1 only if all the input signals
are 1.
b. OR gate:
An OR gate is the physical realization of the logical addition operation. It is an
electronic circuit which generates an output signal of 1 if any of the input signal is
1.
c. NOT gate:
A NOT gate is the physical realization of the complementation operation. It is an
electronic circuit which generates an output signal which is the reverse of the input
signal. A NOT gate is also known as an inverter because it inverts the input.
www.Vidyarthiplus.in
Page 2
www.Vidyarthiplus.in
AND GATE
LOGIC DIAGRAM:
CIRCUIT DIAGRAM:
TRUTH TABLE:
S.No
1.
2.
www.Vidyarthiplus.in
INPUT
A
0
0
B
0
1
OUTPUT
Y=A.B
0
0
Page 3
www.Vidyarthiplus.in
3.
4.
1
1
0
1
0
1
OR GATE
LOGIC DIAGRAM:
CIRCUIT DIAGRAM:
TRUTH TABLE:
S.No
www.Vidyarthiplus.in
INPUT
A
OUTPUT
Y=A+B
Page 4
www.Vidyarthiplus.in
1.
2.
3.
4.
0
0
1
1
0
1
0
1
0
1
1
1
NOT GATE
LOGIC DIAGRAM:
CIRCUIT DIAGRAM:
TRUTH TABLE:
S.No
www.Vidyarthiplus.in
INPUT
A
OUTPUT
Y = A
Page 5
www.Vidyarthiplus.in
1.
2.
0
1
1
0
NAND GATE
LOGIC DIAGRAM:
CIRCUIT DIARAM:
www.Vidyarthiplus.in
Page 6
www.Vidyarthiplus.in
TRUTH TABLE:
S.No
1.
2.
3.
4.
INPUT
A
0
0
1
1
B
0
1
0
1
OUTPUT
Y = (A . B)
1
1
1
0
NOR GATE
LOGIC DIAGRAM:
CIRCUIT DIAGRAM:
www.Vidyarthiplus.in
Page 7
www.Vidyarthiplus.in
TRUTH TABLE:
S.No
1.
2.
3.
4.
INPUT
A
0
0
1
1
OUTPUT
B
Y = (A + B)
0
1
1
0
0
0
1
0
EX-OR GATE
LOGIC DIAGRAM
CIRCUIT DIAGRAM:
www.Vidyarthiplus.in
Page 8
www.Vidyarthiplus.in
TRUTH TABLE:
S.No
1.
2.
3.
4.
d. NAND gate:
INPUT
A
0
0
1
1
B
0
1
0
1
OUTPUT
Y=A
B
0
1
1
0
A NAND gate is a complemented AND gate. The output of the NAND gate will be
0 if all the input signals are 1 and will be 1 if any one of the input signal is 0.
e. NOR gate:
A NOR gate is a complemented OR gate. The output of the OR gate will be 1 if all
the inputs are 0 and will be 0 if any one of the input signal is 1.
f. EX-OR gate:
An Ex-OR gate performs the following Boolean function,
A
B = ( A . B ) + ( A . B )
It is similar to OR gate but excludes the combination of both A and B being equal to
one. The exclusive OR is a function that give an output signal 0 when the two
input signals are equal either 0 or 1.
PROCEDURE:
1. Connections are given as per the circuit diagram
1. For all the ICs 7th pin is grounded and 14th pin is given +5 V supply.
2. Apply the inputs and verify the truth table for all gates.
www.Vidyarthiplus.in
Page 9
www.Vidyarthiplus.in
RESULT:
The truth table of all the basic digital ICs were verified.
1.b.
ITEM
Digital IC trainer kit
IC7404, IC 7400
IC 7410
SPECIFICATION
QUAD
QUANTITY
1
1 each
1
Circuit Diagram :
RS FLIP FLOP
S
1
2
www.Vidyarthiplus.in
4
6
Q
Page 10
www.Vidyarthiplus.in
5
9 7400
8
R
7400
10
12
11
13
TRUTH TABLE
R
S
Q
0
0
0
0
1
1
1
0
0
1
1
1
Q
1
0
1
1
JK FLIP FLOP
1
J
12
13
7410
3
CLK
2
7400
4
K 4
6
5
TRUTH TABLE
J
K
0
0
0
1
1
0
1
1
Q
1
1
0
1
Q
0
0
1
1
T FLIP FLOP
1
J
CLK
12
13
7410
3
2
7400
4
www.Vidyarthiplus.in
Page 11
www.Vidyarthiplus.in
4
6
5
TRUTH TABLE
D
Q
Q
1
1
0
0
0
1
D FLIP FLOP
1
J
7404
CLK
2
1
2
12
13
2
7400
7410
3
4
4
6
5
TRUTH TABLE
T
Q
Q
1
1
1
0
0
1
THEORY :
S-R Flip Flop :
It is formed out of any two NAND gates. It has 2 input SET (s)
and RESET(R) and 2 outputs (Q) and ( Q ). The device has 2
stable states.
J-K Flip Flop :
The uncertainty in the state of S-R Flip Flop when Sn = Rn =1 (fourth row of
truth table) can be eliminated by converting it in to a J-K Flip Flop. The data
www.Vidyarthiplus.in
Page 12
www.Vidyarthiplus.in
inputs are J and K, which are ANDed with Q and Q respectively to obtain S and R
inputs.
D Flip Flop :
If we use only the middle 2 rows of the truth table of the
S-R or J-K Flip Flop, we obtain a D type Flip Flop. It has only one input referred
to as D input or data input.
T Flip Flop :
Result:
Thus the RS, JK, D, and T Flip Flops were constructed
were verified.
Exp No. 2a
AIM:
To design and verify the truth table of the Half Adder & Full Adder circuits.
APPARATUS REQUIRED:
www.Vidyarthiplus.in
Page 13
www.Vidyarthiplus.in
S.No
1.
2.
3.
4.
5.
6.
Range
Quantity
1
IC 7408
IC 7432
IC 7404
IC 7486
As required
THEORY:
The most basic arithmetic operation is the addition of two binary digits. There are four
possible elementary operations, namely,
0+0=0
0+1=1
1+0=1
1 + 1 = 102
The first three operations produce a sum of whose length is one digit, but when the last
operation is performed the sum is two digits. The higher significant bit of this result is called
a carry and lower significant bit is called the sum.
HALF ADDER:
A combinational circuit which performs the addition of two bits is called half adder. The
input variables designate the augend and the addend bit, whereas the output variables
produce the sum and carry bits.
FULL ADDER:
A combinational circuit which performs the arithmetic sum of three input bits is called full
adder. The three input bits include two significant bits and a previous carry bit. A full adder
circuit can be implemented with two half adders and one OR gate.
HALF ADDER
TRUTH TABLE:
S.No
1.
2.
3.
4.
www.Vidyarthiplus.in
INPUT
A
0
0
1
1
OUTPUT
B
0
1
0
1
S
0
1
1
0
C
0
0
0
1
Page 14
www.Vidyarthiplus.in
DESIGN:
From the truth table the expression for sum and carry bits of the output can be obtained as,
Sum, S = A
B
Carry, C = A . B
CIRCUIT DIAGRAM:
FULL ADDER
TRUTH TABLE:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
A
0
0
0
0
1
1
1
1
INPUT
B
0
0
1
1
0
0
1
1
C
0
1
0
1
0
1
0
1
OUTPUT
SUM
CARRY
0
0
1
0
1
0
0
1
1
0
0
1
0
1
1
1
DESIGN:
From the truth table the expression for sum and carry bits of the output can be obtained as,
SUM = ABC + ABC + ABC + ABC
CARRY = ABC + ABC + ABC +ABC
Using Karnaugh maps the reduced expression for the output bits can be obtained as,
www.Vidyarthiplus.in
Page 15
www.Vidyarthiplus.in
SUM
CARRY
CARRY = AB + AC + BC
CIRCUIT DIAGRAM:
PROCEDURE:
1. Connections are given as per the circuit diagrams.
2. For all the ICs 7th pin is grounded and 14th pin is given +5 V supply.
3. Apply the inputs and verify the truth table for the half adder and full adder circuits.
www.Vidyarthiplus.in
Page 16
www.Vidyarthiplus.in
RESULT:
The design of the half adder and full adder circuits was done and their truth tables were
verified.
2.b.
www.Vidyarthiplus.in
Page 17
www.Vidyarthiplus.in
AIM:
To design and verify the truth table of the Half Subtractor & Full Subtractor circuits.
APPARATUS REQUIRED:
S.No
1.
2.
3.
4.
5.
6.
Range
Quantity
1
IC 7408
IC 7432
IC 7404
IC 7486
As required
THEORY:
The arithmetic operation, subtraction of two binary digits has four possible elementary
operations, namely,
0-0=0
0 - 1 = 1 with 1 borrow
1-0=1
1-1=0
In all operations, each subtrahend bit is subtracted from the minuend bit. In case of the
second operation the minuend bit is smaller than the subtrahend bit, hence 1 is borrowed.
HALF SUBTRACTOR:
A combinational circuit which performs the subtraction of two bits is called half subtractor.
The input variables designate the minuend and the subtrahend bit, whereas the output
variables produce the difference and borrow bits.
FULL SUBTRACTOR:
A combinational circuit which performs the subtraction of three input bits is called full
subtractor. The three input bits include two significant bits and a previous borrow bit. A full
subtractor circuit can be implemented with two half subtractors and one OR gate.
HALF SUBTRACTOR
www.Vidyarthiplus.in
Page 18
www.Vidyarthiplus.in
TRUTH TABLE:
INPUT
S.No
A
0
0
1
1
1.
2.
3.
4.
OUTPUT
DIFF
BORR
0
0
1
1
1
0
0
0
B
0
1
0
1
DESIGN:
From the truth table the expression for difference and borrow bits of the output can be
obtained as,
Difference, DIFF = A
B
Borrow, BORR = A . B
CIRCUIT DIAGRAM:
FULL SUBTRACTOR
TRUTH TABLE:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
www.Vidyarthiplus.in
A
0
0
0
0
1
1
1
1
INPUT
B
0
0
1
1
0
0
1
1
C
0
1
0
1
0
1
0
1
OUTPUT
DIFF
BORR
0
0
1
1
1
1
0
1
1
0
0
0
0
0
1
1
Page 19
www.Vidyarthiplus.in
DESIGN:
From the truth table the expression for difference and borrow bits of the output can be
obtained as,
Difference, DIFF= ABC + ABC + ABC + ABC
Borrow, BORR = ABC + ABC + ABC +ABC
Using Karnaugh maps the reduced expression for the output bits can be obtained as,
DIFFERENCE
BORROW
BORR = AB + AC + BC
www.Vidyarthiplus.in
Page 20
www.Vidyarthiplus.in
CIRCUIT DIAGRAM:
PROCEDURE:
1. Connections are given as per the circuit diagrams.
2. For all the ICs 7th pin is grounded and 14th pin is given +5 V supply.
3. Apply the inputs and verify the truth table for the half subtractor and full subtractor
circuits.
RESULT:
The design of the half subtractor and full subtractor circuits was done and their truth tables
were verified.
www.Vidyarthiplus.in
Page 21
www.Vidyarthiplus.in
2.c.
AIM:
To design the logic circuit and verify the truth table of the given Boolean expression,
F (A,B,C,D) = (0,1,2,5,8,9,10)
APPARATUS REQUIRED:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
Range
Quantity
1
IC 7408
IC 7432
IC 7404
IC 7400
IC 7402
IC 7486
As required
DESIGN:
Given , F (A,B,C,D) = (0,1,2,5,8,9,10)
The output function F has four input variables hence a four variable Karnaugh Map is used to
obtain a simplified expression for the output as shown,
Page 22
www.Vidyarthiplus.in
F = B C + D B + A C D
Since we are using only two input logic gates the above expression can be re-written as,
F = C (B + A D) + D B
Now the logic circuit for the above equation can be drawn.
CIRCUIT DIAGRAM:
TRUTH TABLE:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
www.Vidyarthiplus.in
A
0
0
0
0
0
0
0
0
INPUT
B C
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
D
0
1
0
1
0
1
0
1
OUTPUT
F=DB+C(B+AD)
1
1
1
0
0
1
0
0
Page 23
www.Vidyarthiplus.in
9.
10.
11.
12.
13.
14.
15.
16.
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1
1
1
0
0
0
0
0
PROCEDURE:
1. Connections are given as per the circuit diagram
2. For all the ICs 7th pin is grounded and 14th pin is given +5 V supply.
3. Apply the inputs and verify the truth table for the given Boolean expression.
RESULT:
The truth table of the given Boolean expression was verified.
www.Vidyarthiplus.in
Page 24
www.Vidyarthiplus.in
CODE CONVERTERS
Exp No.3
AIM :
To construct and verify the truth table of Binary to Gray code, Gray to Binary
Code, BCD to Excess-3 code converter circuits.
APPARATUS REQUIRED:
S.NO
1
2
3
4
Particular Name
Digital IC trainer kit
IC 7486
IC 7404
Connecting Wires
SPECIFICATION
---QUAD
QUAD
QUANTITY
1
3
1
PROCEDURE:
1. Give connections as per the circuit diagram
2. Inputs are given to the circuit making high 1 i.e. +5 V or
+ Vcc supply to the 14th pin and for low 0 i.e. GND to the 7th
pin of gate IC
3. Verify the truth table as given for all the code converter
www.Vidyarthiplus.in
Page 25
www.Vidyarthiplus.in
CIRCUIT DIAGRAM:
TRUTH TABLE:
INPUTS(Binary Code)
B3
B2
B1
B0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
0
0
0
1
0
0
1
1
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
1
1
0
1
1
1
1
www.Vidyarthiplus.in
Page 26
www.Vidyarthiplus.in
CIRCUIT DIAGRAM:
TRUTH TABLE:
INPUTS(Gray Code)
G3
G2
G1
G0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
0
0
0
1
0
0
1
1
0
1
0
1
0
1
1
1
1
0
0
www.Vidyarthiplus.in
OUTPUTS(Binary Code)
B3
B2
B1
B0
Page 27
www.Vidyarthiplus.in
1
1
1
1
1
1
0
1
1
1
0
1
CIRCUIT DIAGRAM:
TRUTH TABLE:
INPUTS(BCD Code)
A
B
C
D
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
0
0
0
www.Vidyarthiplus.in
OUTPUTS(Binary Code)
B3
B2
B1
B0
Page 28
www.Vidyarthiplus.in
RESULT:
The code converter circuits are all constructed and truth table is verified.
3.b.
AIM:
To design and verify the truth table of a three bit Odd Parity generator and checker.
APPARATUS REQUIRED:
S.No
1.
www.Vidyarthiplus.in
Range
Quantity
1
Page 29
www.Vidyarthiplus.in
2.
3.
4.
EX-OR gate
NOT gate
Connecting wires
IC 7486
IC 7404
As required
THEORY:
A parity bit is used for the purpose of detecting errors during transmission of binary
information. A parity bit is an extra bit included with a binary message to make the number
of 1s either odd or even. The message including the parity bit is transmitted and then
checked at the receiving end for errors. An error is detected if the checked parity does not
correspond with the one transmitted. The circuit that generates the parity bit in the
transmitter is called a parity generator and the circuit that checks the parity in the receiver is
called a parity checker.
In even parity the added parity bit will make the total number of 1s an even amount and in
odd parity the added parity bit will make the total number of 1s an odd amount.
In a three bit odd parity generator the three bits in the message together with the parity bit are
transmitted to their destination, where they are applied to the parity checker circuit. The
parity checker circuit checks for possible errors in the transmission.
Since the information was transmitted with odd parity the four bits received must have an
odd number of 1s. An error occurs during the transmission if the four bits received have an
even number of 1s, indicating that one bit has changed during transmission. The output of
the parity checker is denoted by PEC (parity error check) and it will be equal to 1 if an error
occurs, i.e., if the four bits received has an even number of 1s.
TRUTH TABLE:
S.No
INPUT
( Three bit message)
A
www.Vidyarthiplus.in
OUTPUT
( Odd Parity bit)
P
Page 30
www.Vidyarthiplus.in
1.
2.
3.
4.
5.
6.
7.
8.
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1
0
0
1
0
1
1
0
From the truth table the expression for the output parity bit is,
P( A, B, C) = (0, 3, 5, 6)
Also written as,
P = ABC + ABC + ABC + ABC = (A
C)
CIRCUIT DIAGRAM:
ODD PARITY GENERATOR
www.Vidyarthiplus.in
Page 31
www.Vidyarthiplus.in
S.No
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
INPUT
( four bit message
Received )
A B C
P
0 0
0
0
0 0
0
1
0 0
1
0
0 0
1
1
0 1
0
0
0 1
0
1
0 1
1
0
0 1
1
1
1 0
0
0
1 0
0
1
1 0
1
0
1 0
1
1
1 1
0
0
1 1
0
1
1 1
1
0
1 1
1
1
OUTPUT
(Parity error check)
X
1
0
0
1
0
1
1
0
0
1
1
0
1
0
0
1
From the truth table the expression for the output parity checker bit is,
X (A, B, C, P) = (0, 3, 5, 6, 9, 10, 12, 15)
www.Vidyarthiplus.in
P)
Page 32
www.Vidyarthiplus.in
CIRCUIT DIAGRAM:
ODD PARITY CHECKER
PROCEDURE:
1. Connections are given as per the circuit diagrams.
2. For all the ICs 7th pin is grounded and 14th pin is given +5 V supply.
3. Apply the inputs and verify the truth table for the Parity generator and checker.
RESULT:
The design of the three bit odd Parity generator and checker circuits was done and their truth
tables were verified.
www.Vidyarthiplus.in
Page 33
www.Vidyarthiplus.in
Expt. No. 4
AIM:
To design and verify the truth table of a 4X1 Multiplexer & 1X4 Demultiplexer.
APPARATUS REQUIRED:
S.No
1.
2.
3.
4.
5.
Range
Quantity
1
IC 7432
IC 7404
IC 7411
As required
THEORY:
Multiplexer is a digital switch which allows digital information from several sources to be
routed onto a single output line. The basic multiplexer has several data input lines and a
single output line. The selection of a particular input line is controlled by a set of selection
lines. Normally, there are 2n input lines and n selector lines whose bit combinations
determine which input is selected. Therefore, multiplexer is many into one and it provides
the digital equivalent of an analog selector switch.
A Demultiplexer is a circuit that receives information on a single line and transmits this
information on one of 2n possible output lines. The selection of specific output line is
controlled by the values of n selection lines.
www.Vidyarthiplus.in
Page 34
www.Vidyarthiplus.in
DESIGN:
4 X 1 MULTIPLEXER
LOGIC SYMBOL:
TRUTH TABLE:
S.No
1.
2.
3.
4.
SELECTION INPUT
S1
S2
0
0
0
1
1
0
1
1
OUTPUT
Y
I0
I1
I2
I3
www.Vidyarthiplus.in
Page 35
www.Vidyarthiplus.in
CIRCUIT DIAGRAM:
1X4 DEMULTIPLEXER
LOGIC SYMBOL:
www.Vidyarthiplus.in
Page 36
www.Vidyarthiplus.in
TRUTH TABLE:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
INPUT
S1 S2 Din
0 0
0
0 0
1
0 1
0
0 1
1
1 0
0
1 0
1
1 1
0
1 1
1
OUTPUT
Y0 Y1 Y2 Y3
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
CIRCUIT DIAGRAM:
www.Vidyarthiplus.in
Page 37
www.Vidyarthiplus.in
PROCEDURE:
1. Connections are given as per the circuit diagrams.
2. For all the ICs 7th pin is grounded and 14th pin is given +5 V supply.
3. Apply the inputs and verify the truth table for the multiplexer & demultiplexer.
RESULT:
The design of the 4x1 Multiplexer and 1x4 Demultiplexer circuits was done and their truth
tables were verified.
www.Vidyarthiplus.in
Page 38
www.Vidyarthiplus.in
Expt. No. 5
AIM:
To implement and verify the truth table of an asynchronous decade counter.
APPARATUS REQUIRED:
S.No
www.Vidyarthiplus.in
Range
Quantity
Page 39
www.Vidyarthiplus.in
1.
2.
4.
5.
IC 7473
IC 7400
1
2
1
As required
THEORY:
Asynchronous decade counter is also called as ripple counter. In a ripple counter the flip flop
output transition serves as a source for triggering other flip flops. In other words the clock
pulse inputs of all the flip flops are triggered not by the incoming pulses but rather by the
transition that occurs in other flip flops. The term asynchronous refers to the events that do
not occur at the same time. With respect to the counter operation, asynchronous means that
the flip flop within the counter are not made to change states at exactly the same time, they
do not because the clock pulses are not connected directly to the clock input of each flip flop
in the counter.
PIN DIAGRAM OF IC 7473:
CIRCUIT DIAGRAM:
www.Vidyarthiplus.in
Page 40
www.Vidyarthiplus.in
TRUTH TABLE:
S.No
1
2
3
4
5
6
7
8
9
10
11
CLOCK
PULSE
1
2
3
4
5
6
7
8
9
10
D(MSB)
0
0
0
0
0
0
0
0
1
1
0
C
0
0
0
0
1
1
1
1
0
0
0
OUTPUT
B
0
0
1
1
0
0
1
1
0
1
0
A(LSB)
0
1
0
1
0
1
0
1
0
0
0
PROCEDURE:
1. Connections are given as per the circuit diagrams.
2. Apply the input and verify the truth table of the counter.
RESULT:
The truth table of the Asynchronous decade counter was hence verified.
www.Vidyarthiplus.in
Page 41
www.Vidyarthiplus.in
6. DESIGN AND IMPLEMENTATION OF ENCODER AND DECODER
AIM:
To design and implement encoder and decoder using logic gates and study of IC 7445
and IC 74147.
APPARATUS REQUIRED:
SL.No.
1.
2.
3.
4.
5.
COMPONENT
3 I/P NAND GATE
OR GATE
NOT GATE
IC TRAINER KIT
PATCH CORDS
SPECIFICATION
IC 7410
IC 7432
IC 7404
-
QTY.
2
3
1
1
27
THEORY:
ENCODER:
An encoder is a digital circuit that performs inverse operation of a decoder. An
encoder has 2n input lines and n output lines. In encoder the output lines generates the binary
code corresponding to the input value. In octal to binary encoder it has eight inputs, one for
each octal digit and three output that generate the corresponding binary code. In encoder it is
assumed that only one input has a value of one at any given time otherwise the circuit is
meaningless. It has an ambiguity that when all inputs are zero the outputs are zero. The zero
outputs can also be generated when D0 = 1.
DECODER:
A decoder is a multiple input multiple output logic circuits which converts coded
input into coded output where input and output codes are different. The input code generally
has fewer bits than the output code. Each input code word produces a different output code
word i.e there is one to one mapping can be expressed in truth table. In the block diagram of
decoder circuit the encoded information is present as n input producing 2n possible outputs.
2n output values are from 0 through out 2n 1.
PIN DIAGRAM FOR IC 7445:
BCD TO DECIMAL DECODER:
www.Vidyarthiplus.in
Page 42
www.Vidyarthiplus.in
www.Vidyarthiplus.in
Page 43
www.Vidyarthiplus.in
TRUTH TABLE:
INPUT
OUTPUT
Y1
Y2
Y3
Y4
Y5
Y6
Y7
www.Vidyarthiplus.in
Page 44
www.Vidyarthiplus.in
TRUTH TABLE:
INPUT
OUTPUT
D0
D1
D2
D3
PROCEDURE:
(i)
(ii)
(iii)
RESULT:
www.Vidyarthiplus.in
Page 45
www.Vidyarthiplus.in
Thus design and implementation of encoder and decoder circuits were performed
using logic gates and IC 7445 and IC 74147 were studied.
Expt. No. 6a
AIM:
To implement and verify the truth table of a serial in serial out shift register.
APPARATUS REQUIRED:
S.No
1.
2.
3.
Range
IC 7474
Quantity
1
2
As required
THEORY:
A register capable of shifting its binary information either to the left or to the right is called a
shift register. The logical configuration of a shift register consists of a chain of flip flops
connected in cascade with the output of one flip flop connected to the input of the next flip
flop. All the flip flops receive a common clock pulse which causes the shift from one stage
to the next.
The Q output of a D flip flop is connected to the D input of the flip flop to the left. Each
clock pulse shifts the contents of the register one bit position to the right. The serial input
determines, what goes into the right most flip flop during the shift. The serial output is taken
from the output of the left most flip flop prior to the application of a pulse. Although this
register shifts its contents to its left, if we turn the page upside down we find that the register
shifts its contents to the right. Thus a unidirectional shift register can function either as a
shift right or a shift left register.
www.Vidyarthiplus.in
Page 46
www.Vidyarthiplus.in
CIRCUIT DIAGRAM:
www.Vidyarthiplus.in
Page 47
www.Vidyarthiplus.in
TRUTH TABLE:
For a serial data input of 1101,
S.NO
CLOCK
PULSE
1
2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
D1
1
1
0
1
X
X
X
X
INPUTS
D2
D3
X
X
1
X
1
1
0
1
1
0
X
1
X
X
X
X
D4
X
X
X
1
1
0
1
X
Q1
1
1
0
1
X
1
0
X
OUTPUTS
Q2
Q3
X
X
1
X
1
1
0
1
1
0
X
1
X
X
X
X
Q4
X
X
X
1
1
0
1
X
PROCEDURE:
1. Connections are given as per the circuit diagrams.
2. Apply the input and verify the truth table of the counter.
RESULT:
The truth table of a serial in serial out left shift register was hence verified.
COMPONENT
D FLIP FLOP
OR GATE
IC TRAINER KIT
www.Vidyarthiplus.in
SPECIFICATION
IC 7474
IC 7432
-
QTY.
2
1
1
Page 48
www.Vidyarthiplus.in
4.
PATCH CORDS
35
THEORY:
A register is capable of shifting its binary information in one or both directions is
known as shift register. The logical configuration of shift register consist of a D-Flip flop
cascaded with output of one flip flop connected to input of next flip flop. All flip flops
receive common clock pulses which causes the shift in the output of the flip flop. The
simplest possible shift register is one that uses only flip flop. The output of a given flip flop
is connected to the input of next flip flop of the register. Each clock pulse shifts the content
of register one bit position to right.
PIN DIAGRAM:
LOGIC DIAGRAM:
SERIAL IN SERIAL OUT:
www.Vidyarthiplus.in
Page 49
www.Vidyarthiplus.in
TRUTH TABLE:
Serial in
Serial out
CLK
LOGIC DIAGRAM:
SERIAL IN PARALLEL OUT:
TRUTH TABLE:
OUTPUT
CLK
DATA
QA
QB
QC
QD
www.Vidyarthiplus.in
Page 50
www.Vidyarthiplus.in
3
LOGIC DIAGRAM:
PARALLEL IN SERIAL OUT:
TRUTH TABLE:
CLK
Q3
Q2
Q1
Q0
O/P
LOGIC DIAGRAM:
PARALLEL IN PARALLEL OUT:
www.Vidyarthiplus.in
Page 51
www.Vidyarthiplus.in
TRUTH TABLE:
DATA INPUT
OUTPUT
CLK
DA
DB
DC
DD
QA
QB
QC
QD
PROCEDURE:
(i)
(ii)
(iii)
RESULT:
Thus the various types of Shift Registers were designed and implemented using
IC7474.
www.Vidyarthiplus.in
Page 52
www.Vidyarthiplus.in
Expt. No.7
Op-amp Applications
a. INVERTING AMPLIFIER
AIM:
To design an Inverting Amplifier for the given specifications using Op-Amp IC 741.
APPARATUS REQUIRED:
S.No
1.
2.
3.
4.
5.
6.
7.
Range
3 MHz
30 MHz
0 30 V
IC 741
Quantity
1
1
1
1
1
As required
As required
THEORY:
The input signal Vi is applied to the inverting input terminal through R1 and the noninverting input terminal of the op-amp is grounded. The output voltage Vo is fed back to the
inverting input terminal through the Rf - R1 network, where Rf is the feedback resistor. The
output voltage is given as,
www.Vidyarthiplus.in
Page 53
www.Vidyarthiplus.in
Vo = - ACL Vi
Here the negative sign indicates that the output voltage is 180
signal.
PROCEDURE:
1. Connections are given as per the circuit diagram.
2. + Vcc and - Vcc supply is given to the power supply terminal of the Op-Amp IC.
3. By adjusting the amplitude and frequency knobs of the function generator,
appropriate input voltage is applied to the inverting input terminal of the Op-Amp.
4. The output voltage is obtained in the CRO and the input and output voltage
waveforms are plotted in a graph sheet.
PIN DIAGRAM:
www.Vidyarthiplus.in
Page 54
www.Vidyarthiplus.in
DESIGN:
We know for an inverting Amplifier ACL = RF / R1
Assume R1 ( approx. 10 K ) and find Rf
Hence Vo = - ACL Vi
OBSERVATIONS:
S.No
1.
2.
Input
Output
Practical
Theoretical
Amplitude
( No. of div x Volts per div )
Time period
( No. of div x Time per div )
MODEL GRAPH:
Inverting amp
Vin
(V)
t(sec)
Vo
(V)
t(sec)
www.Vidyarthiplus.in
Page 55
www.Vidyarthiplus.in
RESULT:
The design and testing of the inverting amplifier is done and the input and output waveforms
were drawn.
AIM:
To design a Non-Inverting Amplifier for the given specifications using Op-Amp IC 741.
APPARATUS REQUIRED:
S.No
1.
2.
3.
4.
5.
6.
7.
Range
3 MHz
30 MHz
0 30 V
IC 741
Quantity
1
1
1
1
1
As required
As required
THEORY:
The input signal Vi is applied to the non - inverting input terminal of the op-amp. This
circuit amplifies the signal without inverting the input signal. It is also called negative
feedback system since the output is feedback to the inverting input terminals. The
differential voltage Vd at the inverting input terminal of the op-amp is zero ideally and the
output voltage is given as,
Vo = ACL Vi
Here the output voltage is in phase with the input signal.
PROCEDURE:
1. Connections are given as per the circuit diagram.
2. + Vcc and - Vcc supply is given to the power supply terminal of the Op-Amp IC.
www.Vidyarthiplus.in
Page 56
www.Vidyarthiplus.in
3. By adjusting the amplitude and frequency knobs of the function generator,
appropriate input voltage is applied to the non - inverting input terminal of the OpAmp.
4. The output voltage is obtained in the CRO and the input and output voltage
waveforms are plotted in a graph sheet.
PIN DIAGRAM:
DESIGN:
We know for a Non-inverting Amplifier ACL = 1 + ( RF / R1)
Assume R1 ( approx. 10 K ) and find Rf
Hence Vo = ACL Vi
OBSERVATIONS:
www.Vidyarthiplus.in
Page 57
www.Vidyarthiplus.in
S.No
Output
Input
Practical
Theoretical
Amplitude
1.
( No. of div x Volts per div )
Time period
2.
( No. of div x Time per div )
MODEL GRAPH:
Non-Inverting amp
Vin
(V)
t(sec)
Vo
(V)
t(sec)
RESULT:
The design and testing of the Non-inverting amplifier is done and the input and output
waveforms were drawn.
c. DIFFERENTIATOR
AIM:
To design a Differentiator circuit for the given specifications using Op-Amp IC 741.
APPARATUS REQUIRED:
S.No
1.
2.
3.
4.
5.
www.Vidyarthiplus.in
Range
3 MHz
30 MHz
0 30 V
IC 741
Quantity
1
1
1
1
1
Page 58
www.Vidyarthiplus.in
6.
7.
8.
Resistors
Capacitors
Connecting wires and probes
As required
THEORY:
The differentiator circuit performs the mathematical operation of differentiation; that is, the
output waveform is the derivative of the input waveform. The differentiator may be
constructed from a basic inverting amplifier if an input resistor R1 is replaced by a capacitor
C1 . The expression for the output voltage is given as,
Vo = - Rf C1 ( dVi /dt )
Here the negative sign indicates that the output voltage is 180 0 out of phase with the input
signal. A resistor Rcomp = Rf is normally connected to the non-inverting input terminal of the
op-amp to compensate for the input bias current. A workable differentiator can be designed
by implementing the following steps:
1. Select fa equal to the highest frequency of the input signal to be differentiated. Then,
assuming a value of C1 < 1 F, calculate the value of Rf.
2. Choose fb = 20 fa and calculate the values of R1 and Cf so that R1C1 = Rf Cf.
The differentiator is most commonly used in waveshaping circuits to detect high frequency
components in an input signal and also as a rateofchange detector in FM modulators.
PIN DIAGRAM:
www.Vidyarthiplus.in
Page 59
www.Vidyarthiplus.in
DESIGN :
[ To design a differentiator circuit to differentiate an input signal that varies in frequency
from 10 Hz to about 1 KHz. If a sine wave of 1 V peak at 1000Hz is applied to the
differentiator , draw its output waveform.]
Given fa = 1 KHz
We know the frequency at which the gain is 0 dB, fa = 1 / (2 Rf C1)
Let us assume C1 = 0.1 F ; then
Rf = _________
Since fb = 20 fa , fb = 20 KHz
We know that the gain limiting frequency fb = 1 / (2 R1 C1)
Hence R1 = _________
Also since R1C1 = Rf Cf ; Cf = _________
Given Vp = 1 V and f = 1000 Hz, the input voltage is Vi = Vp sin t
We know = 2f
Hence Vo = - Rf C1 ( dVi /dt )
= - 0.94 cos t
PROCEDURE:
1. Connections are given as per the circuit diagram.
2. + Vcc and - Vcc supply is given to the power supply terminal of the Op-Amp IC.
www.Vidyarthiplus.in
Page 60
www.Vidyarthiplus.in
3. By adjusting the amplitude and frequency knobs of the function generator,
appropriate input voltage is applied to the inverting input terminal of the Op-Amp.
4. The output voltage is obtained in the CRO and the input and output voltage
waveforms are plotted in a graph sheet.
OBSERVATIONS:
S.No
1.
2.
Input
Output
Amplitude
( No. of div x Volts per div )
Time period
( No. of div x Time per div )
MODEL GRAPH:
Vin
Model graph
IV
-IV
Vo
2V
-2V
RESULT:
The design of the Differentiator circuit was done and the input and output waveforms were
obtained.
d. INTEGRATOR
AIM:
To design an Integrator circuit for the given specifications using Op-Amp IC 741.
APPARATUS REQUIRED:
S.No
www.Vidyarthiplus.in
Range
Quantity
Page 61
www.Vidyarthiplus.in
1.
2.
3.
4.
5.
6.
7.
8.
Function Generator
CRO
Dual RPS
Op-Amp
Bread Board
Resistors
Capacitors
Connecting wires and probes
3 MHz
30 MHz
0 30 V
IC 741
1
1
1
1
1
As required
THEORY:
A circuit in which the output voltage waveform is the integral of the input voltage waveform
is the integrator. Such a circuit is obtained by using a basic inverting amplifier configuration
if the feedback resistor Rf is replaced by a capacitor Cf . The expression for the output
voltage is given as,
Vo = - (1/Rf C1 ) Vi dt
Here the negative sign indicates that the output voltage is 180 0 out of phase with the input
signal. Normally between fa and fb the circuit acts as an integrator. Generally, the value of
fa < fb . The input signal will be integrated properly if the Time period T of the signal is
larger than or equal to Rf Cf . That is,
T Rf Cf
The integrator is most commonly used in analog computers and ADC and signal-wave
shaping circuits.
PIN DIAGRAM:
www.Vidyarthiplus.in
Page 62
www.Vidyarthiplus.in
DESIGN:
[ To obtain the output of an Integrator circuit with component values R1Cf = 0.1ms , Rf = 10
R1 and Cf = 0.01 F and also if 1 V peak square wave at 1000Hz is applied as input.]
We know the frequency at which the gain is 0 dB, fb = 1 / (2 R1 Cf)
Therefore fb = _____
Since fb = 10 fa , and also the gain limiting frequency fa = 1 / (2 Rf Cf)
We get , R1 = _______ and hence Rf = __________
PROCEDURE:
1. Connections are given as per the circuit diagram.
2. + Vcc and - Vcc supply is given to the power supply terminal of the Op-Amp IC.
3. By adjusting the amplitude and frequency knobs of the function generator,
appropriate input voltage is applied to the inverting input terminal of the Op-Amp.
4. The output voltage is obtained in the CRO and the input and output voltage
waveforms are plotted in a graph sheet.
OBSERVATIONS:
S.No
1.
2.
Input
Output
Amplitude
( No. of div x Volts per div )
Time period
( No. of div x Time per div )
MODEL GRAPH:
www.Vidyarthiplus.in
Page 63
www.Vidyarthiplus.in
Model graph
Vin
t
t
Vo
t
t
RESULT:
The design of the Integrator circuit was done and the input and output waveforms were
obtained.
R1
V2
R2
V3
R3
+12V
7
V1
2
3
Vo = - Rf/R [V1+V2+V3]
IC 741
4
Rom
RCOMP
RL
-12V
www.Vidyarthiplus.in
Page 64
www.Vidyarthiplus.in
f. Schmitt Trigger (comparator):
Design : VCC = 12 V; VSAT = 0.9 VCC; R1= 47K; R2 = 120
VUT = + [VSAT R2] / [R1+R2] & VLT = - [VSAT R2] / [R1+R2] & HYSTERSIS [H] = VUT - VLT
Circuit Diagram
+12V
-12V
Vin
R1
RL = 10K
R2
Model Graph
0
g. Voltage Follower
(Slew rate
verifications):
Design:
Vin = Vout [Unity Gain] & Rin = & Rf = 0
Diagram
Circuit
2 3
+12V
U1
6
Vo
IC 741
4
I1
-12V
1V/1KHz
www.Vidyarthiplus.in
Page 65
www.Vidyarthiplus.in
Procedure
1. Connect the circuit as shown in the circuit
2. Set the input voltage as 5V (p-p) at 1KHz. (Input should be always less than Vcc)
3. Note down the output voltage at CRO
4. To observe the phase difference between the input and the output, set the CRO in dual
Mode and switch the trigger source in CRO to CHI.
5. Plot the input and output waveforms on the graph.
Observation:
Peak to peak amplitude of the output =
Volts.
Frequency =
Hz.
Volts.
Volts.
Result
Thus Applications of op-amp were studied.
Expt. 8
TIMER IC APPLICATIONS
a. ASTABLE MULTIVIBRATOR
AIM:
To design an Astable multivibrator circuit for the given specifications using 555 Timer IC.
APPARATUS REQUIRED:
S.No
1.
2.
3.
4.
5.
www.Vidyarthiplus.in
Range
3 MHz
30 MHz
0 30 V
IC 555
Quantity
1
1
1
1
1
Page 66
www.Vidyarthiplus.in
6.
7.
8.
Resistors
Capacitors
Connecting wires and probes
As required
THEORY:
An Astable multivibrator, often called a free-running multivibrator, is a rectangular-wavegenerating circuit. This circuit do not require an external trigger to change the state of the
output. The time during which the output is either high or low is determined by two resistors
and a capacitor, which are connected externally to the 555 timer. The time during which the
capacitor charges from 1/3 Vcc to 2/3 Vcc is equal to the time the output is high and is given
by,
tc = 0.69 (R1 + R2) C
Similarly the time during which the capacitor discharges from 2/3 Vcc to 1/3 Vcc is equal to
the time the output is low and is given by,
td = 0.69 (R2) C
Thus the total time period of the output waveform is,
T = tc + td = 0.69 (R1 + 2 R2) C
The term duty cycle is often used in conjunction with the astable multivibrator. The duty
cycle is the ratio of the time tc during which the output is high to the total time period T. It is
generally expressed in percentage. In equation form,
% duty cycle = [( R1 + R2) / (R1 + 2 R2)] x 100
PIN DIAGRAM:
www.Vidyarthiplus.in
Page 67
www.Vidyarthiplus.in
CIRCUIT DIAGRAM OF ASTABLE MULTIVIBRATOR
DESIGN:
[ To design an astable multivibrator with 65% duty cycle at 4 KHz frequency, assume C=
0.01 F]
Given f= 4 KHz,
Therefore, Total time period, T = 1/f = ____________
We know, duty cycle = tc / T
Therefore, tc = -----------------------and td = ____________
We also know for an astable multivibrator
td = 0.69 (R2) C
Therefore, R2 = _____________
tc = 0.69 (R1 + R2) C
Therefore, R1 = _____________
PROCEDURE:
1. Connections are given as per the circuit diagram.
2. + 5V supply is given to the + Vcc terminal of the timer IC.
3. At pin 3 the output waveform is observed with the help of a CRO
4. At pin 6 the capacitor voltage is obtained in the CRO and the V0 and Vc voltage
waveforms are plotted in a graph sheet.
www.Vidyarthiplus.in
Page 68
www.Vidyarthiplus.in
OBSERVATIONS:
Amplitude
( No. of div x
Volts per div )
S.No
Time period
( No. of div x
Time per div )
tc
1.
Output Voltage , Vo
2.
Capacitor voltage , Vc
td
MODEL GRAPH:
Voltage in volts
vo
Voltage across the capacitor
t(mse)
RESULT:
The design of the Astable multivibrator circuit was done and the output voltage and capacitor
voltage waveforms were obtained.
b. MONOSTABLE MULTIVIBRATOR
AIM:
To design a monostable multivibrator for the given specifications using 555 Timer IC.
APPARATUS REQUIRED:
www.Vidyarthiplus.in
Page 69
www.Vidyarthiplus.in
S.No
1.
2.
3.
4.
5.
6.
7.
8.
Range
3 MHz, Analog
30 MHz
0 30 V
IC 555
Quantity
1
1
1
1
1
As required
THEORY:
A monostable multivibrator often called a one-shot multivibrator is a pulse generating circuit
in which the duration of the pulse is determined by the RC network connected externally to
the 555 timer. In a stable or stand-by state the output of the circuit is approximately zero or
at logic low level. When an external trigger pulse is applied, the output is forced to go high
(approx. Vcc). The time during which the output remains high is given by,
tp = 1.1 R1 C
At the end of the timing interval, the output automatically reverts back to its logic low state.
The output stays low until a trigger pulse is applied again. Then the cycle repeats.
Thus the monostable state has only one stable state hence the name monostable.
PIN DIAGRAM:
www.Vidyarthiplus.in
Page 70
www.Vidyarthiplus.in
DESIGN:
[ To design a monostable multivibrator with tp = 0.616 ms , assume C = 0.01 F ]
Given tp = 0.616 ms = 1.1 R1 C
Therefore, R1 = _____________
PROCEDURE:
1. Connections are given as per the circuit diagram.
2. + 5V supply is given to the + Vcc terminal of the timer IC.
3. A negative trigger pulse of 5V, 2 KHz is applied to pin 2 of the 555 IC
www.Vidyarthiplus.in
Page 71
www.Vidyarthiplus.in
4. At pin 3 the output waveform is observed with the help of a CRO
5. At pin 6 the capacitor voltage is obtained in the CRO and the V0 and Vc voltage
waveforms are plotted in a graph sheet.
OBSERVATIONS:
Time period
( No. of div x
Time per div )
Amplitude
( No. of div x
Volts per div )
S.No
ton
1.
Trigger input
2.
Output Voltage , Vo
3.
Capacitor voltage , Vc
MODEL GRAPH:
t
Vin
toff
TP
VD
VC
V
sat
Vsat
circuit V
and
obtained.
t
V
sat
EX.No. 9
RESULT:
The design of the
Monostable multivibrator
was done and the input
output waveforms were
a. DAC CONVERTERS
www.Vidyarthiplus.in
Page 72
www.Vidyarthiplus.in
Aim:To design R-2R ladder type DAC using op-amp.
Components Required:S.No
1.
2.
3.
4.
5.
Components
Op-amp
Resistors
DPDT(switch)
Dual Tracking Supply
Voltage Source
Range
IC 741
10K,20K
Quantity
1
1
1
1
1
(0-30)V
(0-30)V
Theory:In R-2R ladder type D to A converter, only two values of resistor is used (i.e. R and
2R). Hence it is suitable for integrated circuit fabrication. The typical values of R are from
2.5K to 10K. In this output voltage is a weighted sum of digital inputs. Since the
resistive ladder is a linear network, the principle of super position can be used to find the
total analog output voltage for a particular digital input by adding the output voltages caused
by the individual digital inputs.
Circuit Diagram:
VR
Rf =12k
2R
2R
2R
4
5
2R
6
LM741C
Vo
7
1
2
2R
Design:-
R b b
b
b
f 1
3
2
+
+
+ 4
Output voltage, Vo = V
R R 21 2 2 23 2 4
Binary value=1000(given)
Output voltage=6v (given)
www.Vidyarthiplus.in
Page 73
www.Vidyarthiplus.in
Reference resistor =10K (given)
Reference Voltage, VR=10V (given)
Rf =12k
Resolution,
1 VR
R
f
2n R
1 10V
V=
12k
4
10
k
2
V = 0.75
V=
b. ADC CONVERTORS
Aim:To design Flash type ADC and Successive approximation type ADC using op-amp.
Components Required:S.No
1.
2.
3.
4.
5.
Components
Op-amp
Resistors
DPDT(switch)
Dual Tracking Supply
Voltage Source
Circuit diagram:
Range
IC 741
10K,20K
(0-30)V
(0-30)V
Quantity
1
1
1
1
1
Flash ADC
www.Vidyarthiplus.in
Page 74
www.Vidyarthiplus.in
Theory:
Illustrated is a 3-bit flash ADC with resolution 1 volt (after Tocci). The resistor net
and comparators provide an input to the combinational logic circuit, so the conversion time is
just the propagation delay through the network - it is not limited by the clock rate or some
convergence sequence. It is the fastest type of ADC available, but requires a comparator for
each value of output (63 for 6-bit, 255 for 8-bit, etc.) Such ADCs are available in IC form up
to 8-bit and 10-bit flash ADCs (1023 comparators) are planned. The encoder logic executes a
truth table to convert the ladder of inputs to the binary number output.
Circuit diagram:
Theory:
www.Vidyarthiplus.in
Page 75
www.Vidyarthiplus.in
Normally analogue-to-digital con-verter (ADC) needs interfacing through a microprocessor
to convert analogue data into digital format. This requires hardware and necessary software,
resulting in increased complexity and hence the total cost.
The circuit of A-to-D converter shown here is configured around ADC 0808, avoiding the
use of a microprocessor. The ADC 0808 is an 8-bit A-to-D converter, having data lines D0D7. It works on the principle of successive approximation. It has a total of eight analogue
input channels, out of which any one can be selected using address lines A, B and C. Here, in
this case, input channel IN0 is selected by grounding A, B and C address lines.
Usually the control signals EOC (end of conversion), SC (start conversion), ALE (address
latch enable) and OE (output enable) are interfaced by means of a microprocessor. However,
the circuit shown here is built to operate in its continuous mode without using any
microprocessor. Therefore the input control signals ALE and OE, being active-high, are tied
to Vcc (+5 volts). The input control signal SC, being active-low, initiates start of conversion
at falling edge of the pulse, whereas the output signal EOC becomes high after completion of
digitisation. This EOC output is coupled to SC input, where falling edge of EOC output acts
as SC input to direct the ADC to start the conversion.
As the conversion starts, EOC signal goes high. At next clock pulse EOC output again goes
low, and hence SC is enabled to start the next conversion. Thus, it provides continuous 8-bit
digital output corresponding to instantaneous value of analogue input. The maximum level of
analogue input voltage should be appropriately scaled down below positive reference (+5V)
level.
The ADC 0808 IC requires clock signal of typically 550 kHz, which can be easily derived
from an astable multivibrator constructed using 7404 inverter gates. In order to visualise the
digital output, the row of eight LEDs (LED1 through LED8) have been used, wherein each
LED is connected to respective data lines D0 through D7. Since ADC works in the
continuous mode, it displays digital output as soon as analogue input is applied. The decimal
equivalent digital output value D for a given analogue input voltage Vin can be calculated
from the relationship
www.Vidyarthiplus.in
Page 76
www.Vidyarthiplus.in
EX.No. 10
In most cases, the frequency of an oscillator is determined by the time constant RC.
However, in cases or applications such as FM, tone generators, and frequency-shift keying
(FSK), the frequency is to be controlled by means of an input voltage, called the control
voltage. This can be achieved in a voltage-controlled oscillator (VCO). A VCO is a circuit
that provides an oscillating output signal (typically of square-wave or triangular
waveform) whose frequency can be adjusted over a range by a dc voltage. An example
of a VCO is the 566 IC unit, that provides simultaneously the square-wave and triangularwave outputs as a function of input voltage. The frequency of oscillation is set by an external
resistor R1 and a capacitor C1 and the voltage Vc applied to the control terminals. Figure
shows that the 566 IC unit contains current sources to charge and discharge an external
capacitor Cv at a rate set by an external resistor R1 and the modulating dc input voltage. A
Schmitt trigger circuit is employed to switch the current sources between charging and
discharging the capacitor, and the triangular voltage produced across the capacitor and
square-wave from the Schmitt trigger are provided as outputs through buffer amplifiers. Both
the output waveforms are buffered so that the output impedance of each is 50 f2. The typical
magnitude of the triangular wave and the square wave are 2.4 Vpeak.to-peak and 5.4Vpeak.to.peak.
www.Vidyarthiplus.in
Page 77
www.Vidyarthiplus.in
The frequency of the output waveforms is approximated by
fout = 2(V+ - Vc)/R1C1V+
Figure shows the pin connection of the 566 unit. The VCO can be programmed over a
10-to-l frequency range by proper selection of an external resistor and capacitor, and then
modulated over a 10-to-l frequency range by a control voltage, Vc (The voltage controlled oscillators
(VCOs) are commonly used in converting low-frequency signals such as EEG (electro-encephalograms) or ECG (electro-cardiograms)
into an audiofrequency (AF range).)
www.Vidyarthiplus.in
Page 78
www.Vidyarthiplus.in
The block diagram of a frequency muliplier (or synthesizer) is shown in figure. In this
circuit, a frequency divider is inserted between the output of the VCO and the phase
comparator (PC) so that the loop signal to the PC is at frequency fOUT while the output of
VCO is N fOUT. This output is a multiple of the input frequency as long as the loop is in lock.
The desired amount of multiplication can be obtained by selecting a proper divide- by N
network where N is an integer. Figure shows this function performed by a 7490 configured as
a divide-by-4 circuit.
In this case the input Vin at frequency /in is compared with the output frequency fOUT at pin 5.
An output at N fOUT (4 fOUT in this case) is connected through an inverter circuit to give an
input at pin 14 of the 7490, which varies between 0 and + 5 V. Using the output at pin 9,
which is one-fourth of that at the input to the 7490, the signal at pin 4 of the PLL is four
times the input frequency as long as the loop remains in lock.
Since the VCO can be adjusted over a limited range from its centre frequency, it may become
necessary to change the VCO frequency whenever the divider value is changed.
www.Vidyarthiplus.in
Page 79
www.Vidyarthiplus.in
For verification of the circuit operation, one must determine the input frequency range and
then adjust the free running fOUT of the VCO by means of R1 and C1 so that the output
frequency of the 7490 divider is midway within the predetermined input frequency range.
The output of VCO should now be equal to 4 fin.
Result:
Thus the PLL and VCO characteristics were studied.
www.Vidyarthiplus.in
Page 80