Adc Lab For Students
Adc Lab For Students
Komarapalayam-637303
YEAR/SEM: ……………………………………………...
1
LABORATORY CLASSES – INFORMATION & STUDENTS INSTRUCTION
Note: 1
Preparation means coming to the lab classes with neatly drawn circuit diagram /
experimental setup / written programs / flowchart, tabular columns, formulae, model
graphs etc in the observation note book and must know the step by step procedure to
conduct the experiment.
Observation means taking correct readings in the proper order and tabulating
the readings in the tabular columns
Results mean correct value of the required parameters and getting the correct
shape of the characteristics at the time of reporting to the faculty.
Viva voce means answering all the questions given in the manual pertaining to
the experiments.
Full marks will be awarded if the student performs well in each of the above
component.
Note: 2
Note: 3
Absenteeism due to genuine reasons will be considered for doing the missed
experiments.
In case of power failure, extra classes will be arranged for doing those
experiments only and assessment of all other components preparedness, viva-voce
etc., will be completed in the regular class itself.
2
LABORATORY CLASSES – INSTRUCTIONS TO STUDENTS
1. Students must attend the Lab classes in the uniform prescribed. Boys – Shirts
tucked in and wearing closed leather shoes.
2. Girls students with Cut shoes, overcoat, plait inside the coat. Avoid wearing loose
garments.
3. Students must check if the components, instruments and machinery are in working
condition before setting up the experiment.
5. Students must start doing the experiments only after getting permission from the
faculty.
7. Students may contact the Lab In-charge immediately for any unexpected incidents
and emergency.
8. The apparatus used for the experiments must be cleaned and returned to the
technician, safely without any damage.
9. Make sure, while leaving the lab after the stipulated time, that all the power
connections are switched off.
10. Evaluation
• All students should go thro’ the Lab manual for the experiment to be carried
out for that day and come fully prepared to complete the experiment within
the prescribed periods.
• Students must be fully aware of the core competencies to be gained by doing
experiment / exercise / programs.
• Students should bring the lab record completed for the experiment done along
with the corrected and signed observations of previous experiment.
• The following aspects will be assessed during every exercise, in every lab
class and the marks will be awarded accordingly: Preparedness, way of
conducting experiment, observation, calculations, results, record
presentation, basic understanding and answering for viva questions.
• Marks will be reduced for repetition/re-do, delay in submitting observation
book, record books and not answering for viva questions.
3
CONTENTS
4
AVERAGE:
Staff sign.
5
6
20EC305 ANALOG AND DIGITAL CIRCUITS LABORATORY LTPC002
OBJECTIVES
a) BCD to excess-3 code and vice versa (b) Binary to gray and vice-versa
2. Design and implementation of 4 bit binary Adder/ Subtractor and BCD adder using IC 7483
3. Design and implementation of Multiplexer and De-multiplexer using logic gates
4. Design and implementation of encoder and decoder using logic gates
5. Construction and verification of 4 bit ripple counter and Mod-10 / Mod-12 Ripple counters
6. Design and implementation of 3-bit synchronous up/down counter Simulation.
SIMULATION EXPERIMENTS
1. Design CE, CB and CC Amplifiers using Spice
2. Design Darlington Amplifier using Spice
3. Design single stage and multistage amplifiers using Spice
TOTAL: 45 PERIODS OUTCOMES: At the end of the course, the student
should be ableto:
• Differentiate cascade and cascode amplifier.
• Analyze the limitation in bandwidth of single stage and multi stage amplifier
• Simulate amplifiers using Spice
7
CIRCUIT DIAGRAM:
MODEL GRAPH:
TABULATION:
8
1. DESIGN OF REGULATED POWER SUPPLIES.
AIM: DATE:
To design the regulated power supplies and verify the output.
APPARATUS REQUIRED
PROCEDURE:
RESULT:
Thus, the power supply was constructed and the output was verified.
9
CIRCUIT DIAGRAM
10
2.(a) FREQUENCY RESPONSE OF CE AMPLFIER
DATE :
AIM:
- To Plot the frequency response of a BJT amplifier in common emitter configuration.
i. Calculate gain.
ii. Calculate bandwidth.
APPARATUS REQUIRED
PROCEDURE:
RESULT:
Thus, the Common emitter amplifier was constructed and the frequency response curve is plotted.
Gain = dB (maximum).
Bandwidth= fH--fL = Hz.
11
CIRCUIT DIAGRAM
MODEL GRAPH:
F1 F2 f(Hz)
TABULATION:
12
1.b FREQUENCY RESPONSE OF CB AMPLFIER
AIM:
To construct a common base amplifier circuit and to plot the frequency response characteristics.
APPARATUS REQUIRED:
PROCEDURE:
RESULT:
Thus, the Common collector amplifier was constructed and the frequency response curve is plotted.
Gain = dB (maximum).
Bandwidth= fH--fL = Hz
13
CIRCUIT DIAGRAM:
Frequency (in Hz) Output Voltage (in volts) Gain= 20 log(Vo/Vin) (in dB)
14
1(c) . COMMON COLLECTOR AMPLIFIER
DATE :
AIM:
To construct a common collector amplifier circuit and to plot the frequency response
characteristics.
APPARATUS REQUIRED:
S.No. Name Range Quantity
1. Transistor
2. Resistor
3. Capacitor
4. Function Generator
5. CRO
6. Regulated power supply
7. Bread Board
PROCEDURE:
MODEL GRAPH:
RESULT:
Thus, the Common collector amplifier was constructed and the frequency response curve is
plotted.
Gain = dB (maximum)
Bandwidth= fH--fL = Hz.
15
CIRCUIT DIAGRAM:
TABULATION:
Frequency (in Hz) Output Voltage (in volts) Gain= 20 log(Vo/Vin) (in dB)
16
2(d). FREQUENCY RESPONSE OF CS AMPLIFIERS
AIM: -
To plot the frequency response of a FET amplifier in common source mode .
APPARATUS REQUIRED:
PROCEDURE: -
1. Connect the circuit diagram as shown in figure.
2. Adjust input signal amplitude 50mV, 1 KHz in the function generator and observe an amplified voltage at
the output without distortion.
3. By keeping input signal voltage, say at 50mV; vary the input signal frequency from 10 to 1MHz in steps
as shown in tabular column and note the corresponding output voltage
MODEL GRAPH:
F1 F2 f(Hz)
RESULT: -
Thus, the FET Common source amplifier was constructed and the frequency response curve is plotted.
Gain = dB (maximum).
Bandwidth= fH--fL = Hz.
17
CIRCUIT DIAGRAM: RC PHASE SHIFT OSCILLATOR
18
3. DESIGN THE RC PHASE SHIFT AND WIEN BRIDGE OSCILLATOR
AIM: DATE:
To plot the frequency response of a design of the RC phase shift and Wien- bridge
oscillator.
APPARATUS REQUIRED:
PROCEDURE:
1. Connect the circuit diagram as shown in figure.
2. Adjust input signal amplitude 50mV, 1 KHz in the function generator and observe an
amplified voltage at the output without distortion.
3. By keeping input signal voltage, say at 50mV; vary the input signal frequency from 10
to 1MHz in stepsas shown in tabular column and note the corresponding output voltage
19
CIRCUIT DIAGRAM: WEIN BRIDGE OSCILLATOR
20
RESULT:
Thus, design of RC phase shift and Wien bridge oscillator are constructed and verified the
frequency response .
21
CIRCUIT DIAGRAM
TABULATION
Frequency (in Hz) Output Voltage (in volts) Gain= 20 log(Vo/Vin) (in dB)
22
4. DARLINGTON AMPLIFIER USING BJT
AIM: DATE:
To construct a Darlington current amplifier circuit and to plot the frequency response
characteristics.
APPARATUS REQUIRED:
PROCEDURE:
F1 F2 f(Hz)
RESULT:
Thus, the Darlington current amplifier was constructed and the frequency response
curve is plotted. The Gain Bandwidth Product is found to be =
23
24
5. (a)DETERMINATION OF BANDWIDTH OF SINGLE STAGE AMPLIFIERS
AIM: DATE :
To Plot the Frequency Response of a single stage RC Coupled Amplifier with feedback
and withoutfeedback and find the following:
1. Voltage Gain
2. Lower cut off Frequency
3. Upper cut off Frequency
4. Bandwidth & Gain Bandwidth Product
APPARATUS REQUIRED:
S.No Name Range Quantity
1. Transistor BC107 1
2. Resistor 100k Ω 4.7k Ω, 22k Ω 220k 1,1,1,1
Ω 220 Ω
3. Capacitor 10µf ,47 µf 2, 1
4. Function Generator (0-3)MHz 1
5. CRO 30MHz 1
6. Regulated power supply (0-30)V 1
7. Bread Board 1
PROCEDURE: -
1. Connect the circuit diagram as shown in figure.
2. Adjust input signal amplitude in the function generator and observe an amplified
voltage at the outputwithout distortion.
3. By keeping input signal voltage, say at 50mV, vary the input signal frequency from 0 to
1MHz in steps asshown in tabular column and note the corresponding output
Voltages.
MODEL GRAPH
RESULT: -
Frequency response of single amplifier is plotted.
Gain = dB (maximum).
25
CIRCUIT DIAGRAM (MULTISTAGE AMPLIFIER)
TABULATION:
Keep the input voltage constant (Vin) =
Frequency (in Hz) Output Voltage (in volts) Gain = 20 log (Vo / Vin) (in dB)
26
5. (b) DETERMINATION OF BANDWIDTH OF MULTISTAGE AMPLIFIERS
AIM: DATE :
To Plot the Frequency Response of a Multistage RC Coupled Amplifier with feedback and
without feedbackand find the following:
1. Voltage Gain
2. Lower cut off Frequency
3. Upper cut off Frequency
4. Bandwidth & Gain Bandwidth Product
APPARATUS REQUIRED
S.No. Name Range Quantity
1. Transistor BC107 1
2. Resistor (5KΩ,47 KΩ,2 KΩ, ,1 2 each
KΩ10 KΩ) 4 each
3. Capacitor 10 μF, 1 μF 2,3No.
each
4. Function Generator (0-3)MHz 1
5. CRO 30MHz 1
6. Regulated power supply (0-30)V 1
7. Bread Board 1
PROCEDURE: -
1. Connect the circuit diagram as shown in figure.
2. Adjust input signal amplitude in the function generator and observe an amplified voltage at
the output withoutdistortion.
3. By keeping input signal voltage, say at 50mV, vary the input signal frequency from 0 to
1MHz in steps as shownin tabular column and note the corresponding output
voltages
MODEL GRAPH:
RESULT: -
Frequency response of multistage amplifier is plotted.
Gain = dB (maximum)..
Bandwidth= fH--fL = Hz.
At stage I: Bandwidth= fH—fL=
AIM: DATE :
To Plot the Frequency Response of a Multistage RC Coupled Amplifier with feedback and
without feedbackand find the following:
1. Voltage Gain
2. Lower cut off Frequency
3. Upper cut off Frequency
4. Bandwidth & Gain Bandwidth Product
APPARATUS REQUIRED
S.No. Name Range Quantity
1. Transistor 1
2. Resistor 2 each
4 each
3. Capacitor 2,3No.
each
4. Function Generator 1
5. CRO 1
6. Regulated power supply 1
7. Bread Board 1
PROCEDURE: -
4. Connect the circuit diagram as shown in figure.
5. Adjust input signal amplitude in the function generator and observe an amplified voltage at
the output withoutdistortion.
6. By keeping input signal voltage, say at 50mV, vary the input signal frequency from 0 to
1MHz in steps as shownin tabular column and note the corresponding output
voltages
RESULT: -
Characteristics and Frequency response of class A amplifier is plotted.
29
CIRCUIT DIAGRAM:
30
7.(a)SPICE SIMULATION OF COMMON SOURCE AMPLIFIERS
AIM: DATE:
To simulate the Common Source amplifier in Multisim and study the transient and frequency
response.
PROCEDURE:
4. Go for simulation and using Run Key observe the output waveforms on CRO
5. Indicate the node names and go for AC Analysis with the output node
6. Observe the Transient response , Ac Analysis and draw the magnitude response curve
7. Calculate the bandwidth of the amplifier
RESULT:
Thus the frequency and transient response for common source amplifier is plotted using
Multisim.
31
MODEL GRAPH:
32
7.(b).SPICE SIMULATION OF COMMON EMITTER
AIM: DATE:
To simulate the Common Emitter amplifier in Multisim and study the transient
and frequencyresponse.
SOFTWARE TOOL:
Multisim
PROCEDURE:
1. Open Multisim Software to design Common Emitter amplifier circuit
5. Go for simulation using Run Key observe the output waveforms on CRO
6. Indicate the node names and go for AC Analysis with the output node
RESULT:
Thus the frequency and transient response for common emitter amplifier is plotted
using Multisim.
33
OUTPUT WAVEFORM
34
7. ( ) SPICE SIMULATION OF COMMON EMITTER AMPLIFIER
AIM: DATE:
To simulate the Common Emitter amplifier in Multisim and study the transient
and frequencyresponse.
SOFTWARE TOOL:
Multisim
PROCEDURE:
1. Open Multisim Software to design Common Emitter amplifier circuit
5. Go for simulation using Run Key observe the output waveforms on CRO
6. Indicate the node names and go for AC Analysis with the output node
RESULT:
Thus the frequency and transient response for common emitter amplifier is plotted
using Multisim.
35
CIRCUIT DIAGRAM COMMON COLLECTOR AMPLIFIER
OUTPUT WAVEFORM
36
7.( ) SPICE SIMULATION OF COMMON COLLECTOR AMPLIFIER
AIM: DATE:
To simulate the Common collector amplifier in Multisim and study the transient
and frequencyresponse.
SOFTWARE TOOL:
Multisim
PROCEDURE:
1. Open Multisim Software to design Common collector amplifier circuit
5. Go for simulation using Run Key observe the output waveforms on CRO
6. Indicate the node names and go for AC Analysis with the output node
RESULT:
Thus the frequency and transient response for common collector amplifier is plotted
using Multisim.
37
CIRCUIT DIAGRAM
OUTPUT WAVEFORM
38
7.( ) SPICE SIMULATION OF COMMON BASE AMPLIFIER
AIM: DATE:
To simulate the Common base amplifier in Multisim and study the transient and
frequencyresponse.
SOFTWARE TOOL:
Multisim
PROCEDURE:
1. Open Multisim Software to design Common base amplifier circuit
5. Go for simulation using Run Key observe the output waveforms on CRO
6. Indicate the node names and go for AC Analysis with the output node
RESULT:
Thus the frequency and transient response for common base amplifier is plotted using
Multisim.
39
CIRCUIT DIAGRAM FOR DARLINGTON AMPLIFIER
OUTPUT WAVEFORM
40
7.( ) SPICE SIMULATION OF DARLINGTON AMPLIFIER
AIM: DATE:
To simulate the Darlington amplifier in Multisim and study the transient and
frequencyresponse.
SOFTWARE TOOL:
Multisim
PROCEDURE:
1. Open Multisim Software to design the Darlington amplifier circuit
5. Go for simulation using Run Key observe the output waveforms on CRO
6. Indicate the node names and go for AC Analysis with the output node
RESULT:
Thus the frequency and transient response for the Darlington amplifier is plotted using
Multisim.
41
SINGLE STAGE AMPLIFIER
MULTISTAGE AMPLIFIER
42
7.( )SPICE SIMULATION OF SINGLE STAGE AND MULTISTAGE AMPLIFIER
AIM: DATE:
To simulate the single stage and multistage amplifier in Multisim and study the
transient and frequencyresponse.
SOFTWARE TOOL:
Multisim
PROCEDURE:
1. Open Multisim Software to design the single stage and multistage amplifier circuit
5. Go for simulation using Run Key observe the output waveforms on CRO
6. Indicate the node names and go for AC Analysis with the output node
43
OUTPUT WAVEFORM
MULTISTAGE OUTPUT
44
RESULT:
Thus the frequency and transient response for the single stage and multistage amplifier is
plotted using Multisim.
45
LOGIC DIAGRAM:
BINARY TO GRAY CODE CONVERTOR
TRUTH TABLE:
46
EX.No: DESIGN AND IMPLEMENTATION OF
DATE: CODE CONVERTER
AIM:
APPARATUS REQUIRED:
Sl.No. COMPONENT SPECIFICATION QTY.
1. X-OR GATE IC 7486 1
2. AND GATE IC 7408 1
3. OR GATE IC 7432 1
4. NOT GATE IC 7404 1
5. IC TRAINER KIT - 1
6. PATCH CORDS - 35
THEORY:
BINARY CODES: A group of binary bits that used to represent the characters,
numbers and symbols is defined as binary codes. Binary codes are used in the digital
computer to represent, store and transmit various data.
BCD NUMBERS: BCD numbers are straight binary representation for decimal
numbers. The decimal numbers ate directly represented with the weightages of 8421 in
BCD code. This is popularly used in decimal addition, subtraction, etc. the BCD code
represents the decimal number 0 to 9 with the binary representation 0000 to 1001. In the
4-bit binary representation last six assignments are discarded for BCD number
representation.
EXCESS – 3 CODE: The 4-bit excess – 3 code is obtained by adding 3(0011)
with BCD code. 8421 and 2421 weighted codes provide the self-complement number of
excess – 3 code in the binary representation. The self-complement property of excess – 3
code helps to perform the arithmetic operation in digital system design.
47
LOGIC DIAGRAM:
GRAY TO BINARY CODE CONVERTOR
TRUTH TABLE:
48
GRAY CODE: This code is an un-weighted binary code. A gray code is often used in
the translation of an analog quantity, such as a shaft position in to digital form. The four
bit gray code can be used to represent the decimal number from 0 to 15. In this
representation the last and first entry of gray code consequently differs only in one bit
position (MSB bit). So this is also called reflective code.
CODE CONVERTERS: The presence of different codes in digital system for the same
discrete elements of binary information results the requirement of code conversion. Code
converter is a logic circuit that converts one type of binary code into another type of
binary code.
PROCEDURE:
(i) Connections are given as per circuit diagram.
49
LOGIC DIAGRAM:
BCD TO EXCESS-3 CODE CONVERTOR
TRUTH TABLE:
50
51
LOGIC DIAGRAM:
EXCESS-3 TO BCD CODE CONVERTOR
TRUTH TABLE:
52
RESULT:
53
BLOCK DIAGRAM - BINARY ADDER
LOGIC DIAGRAM:
4 BIT BINARY ADDER
54
EX.No: DESIGN OF 4-BIT ADDER AND SUBTRACTOR
DATE:
AIM:
To design and imp
lement 4-bit adder and subtractor using IC 7483.
APPARATUS REQUIRED:
Sl.No. COMPONENT SPECIFICATION QTY.
1. IC IC 7483 1
2. EX-OR GATE IC 7486 1
3. NOT GATE IC 7404 1
3. IC TRAINER KIT - 1
4. PATCH CORDS - Adequate
THEORY:
BINARY ADDER:
A binary adder is a digital circuit that produces the arithmetic sum of two binary
numbers. It can be constructed with full adders connected in cascade, with the output
carry from each full adder connected to the input carry of next full adder in the chain. The
augend bits of ‘A’ and the addend bits of ‘B’ are designated by subscript numbers from
right to left, with subscript ‘0’ denoting the least significant bit. The carries are connected
in chain through the full adders. The input carry to the adder is C0 and it ripples through
the full adders to the output carry C4. The ‘S’ outputs generate the required sum bits.
BINARY SUBTRACTOR:
The subtraction of unsigned binary numbers can be done most conveniently by
means of complements. The subtraction A – B can be done by taking 2’s complement of
B and adding it to A. The 2’s complement can be obtained by taking 1’s complement and
adding 1 to the least significant pair of bits. The 1’s complements can be implemented
with inverters, and a 1 can be added to the sum through the input carry. The input carry
C0 must be equal to 1 when performing subtraction.
55
LOGIC DIAGRAM:
4-BIT BINARY SUBTRACTOR
LOGIC DIAGRAM:
4- BIT BINARY ADDER/SUBTRACTOR
56
BINARY ADDER/SUBTRACTOR:
The addition and subtraction operation can be combined into one circuit with one
common binary adder. This is done by including an exclusive – OR gate with each full-
adder. The mode input M controls the operation of the circuit. When M=0, the circuit is
an adder and when M=1, the circuit becomes a subtractor.
PROCEDURE:
57
TRUTH TABLE:
A4 A3 A2 A1 B4 B3 B2 B1 C S4 S3 S2 S1 B D4 D3 D2 D1
1 0 0 0 0 0 1 0 0 1 0 1 0 1 0 1 1 0
1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0
0 0 1 0 1 0 0 0 0 1 0 1 0 0 1 0 1 0
0 0 0 1 0 1 1 1 0 1 0 0 0 0 1 0 1 0
1 0 1 0 1 0 1 1 1 0 0 1 0 0 1 1 1 1
1 1 1 0 1 1 1 1 1 1 0 1 0 0 1 1 1 1
1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 0 1
58
RESULT:
59
LOGIC DIAGRAM: BCD ADDER
60
EX.No: DESIGN OF BCD ADDER
DATE:
AIM:
To design and implement BCD adder IC 7483.
APPARATUS REQUIRED:
THEORY:
BCD ADDER: BCD adder is a circuit that performs the addition of two BCD numbers in
parallel. BCD additions are performed in 4-bit binary form so there is a possibility of
increasing binary number greater than 9 that results wrong output. To avoid this, in BCD
addition correction logic I included as described below,
1. If the binary sum is equal or less than 9 with carry 0, then that binary sum is
correct BCD sum.
2. I the binary sum is equal or less than 9 with carry 1, then that binary sum is an
incorrect BCD sum. To get the correct BCD sum add 0110 with least significant
binary sum digits.
3. If the binary number is greater than 9, then that binary sum is an incorrect BCD
sum. To get the correct BCD sum add 0110 with binary sum digits.
BCD adder can be constructed with three blocks such as two binary adders and the
correction logic circuit. Initially in the BCD adders, the four bit binary numbers are added
using parallel binary adder and then, the binary output is checked to correct as BCD
number. The correction logic generates the correction code based on the binary output
values. When we get the incorrect binary output as per the condition described above, the
correction code is added with the binary output to get the correct BCD number through
second binary adder.
61
TRUTH TABLE:
62
PROCEDURE:
RESULT:
63
BLOCK DIAGRAM FOR 4:1 MULTIPLEXER:
FUNCTION TABLE:
S1 S0 INPUTS Y
0 0 D0 → D0 S1’ S0’
0 1 D1 → D1 S1’ S0
1 0 D2 → D2 S1 S0’
1 1 D3 → D3 S1 S0
64
EX.No: DESIGN AND IMPLEMENTATION OF
DATE: MULTIPLEXER AND DEMULTIPLEXER
AIM:
To design and implement multiplexer and demultiplexer using logic gates
and study of IC 74150 and IC 74154.
APPARATUS REQUIRED:
Sl.No. COMPONENT SPECIFICATION QTY.
1. 3 I/P AND GATE IC 7411 2
2. OR GATE IC 7432 1
3. NOT GATE IC 7404 1
2. IC TRAINER KIT - 1
3. PATCH CORDS - 32
THEORY:
MULTIPLEXER:
Multiplexer means transmitting a large number of information units over a
smaller number of channels or lines. A digital multiplexer is a combinational circuit that
selects binary information from one of many input lines and directs it to a single output
line. The selection of a particular input line is controlled by a set of selection lines.
Normally there are 2n input line and n selection lines whose bit combination determine
which input is selected.
DEMULTIPLEXER:
The function of Demultiplexer is in contrast to multiplexer function. It takes
information from one line and distributes it to a given number of output lines. For this
reason, the demultiplexer is also known as a data distributor. Decoder can also be used as
demultiplexer.
In the 1: 4 demultiplexer circuit, the data input line goes to all of the AND gates.
The data select lines enable only one gate at a time and the data on the data input line will
pass through the selected gate to the associated data output line.
65
CIRCUIT DIAGRAM FOR MULTIPLEXER:
TRUTH TABLE:
S1 S0 Y = OUTPUT
0 0 D0
0 1 D1
1 0 D2
1 1 D3
66
67
BLOCK DIAGRAM FOR 1:4 DEMULTIPLEXER:
FUNCTION TABLE:
S1 S0 INPUT
0 0 X → D0 = X S1’ S0’
0 1 X → D1 = X S1’ S0
1 0 X → D2 = X S1 S0’
1 1 X → D3 = X S1 S0
68
69
LOGIC DIAGRAM FOR DEMULTIPLEXER:
TRUTH TABLE
INPUT OUTPUT
S1 S0 I/P D0 D1 D2 D3
0 0 0 0 0 0 0
0 0 1 1 0 0 0
0 1 0 0 0 0 0
0 1 1 0 1 0 0
1 0 0 0 0 0 0
1 0 1 0 0 1 0
1 1 0 0 0 0 0
1 1 1 0 0 0 1
70
PROCEDURE:
(iv) Connections are given as per circuit diagram.
71
PIN DIAGRAM FOR IC 74150:
72
RESULT:
73
LOGIC DIAGRAM FOR ENCODER:
INPUT OUTPUT
Y1 Y2 Y3 Y4 Y5 Y6 Y7 A B C
1 0 0 0 0 0 0 0 0 1
0 1 0 0 0 0 0 0 1 0
0 0 1 0 0 0 0 0 1 1
0 0 0 1 0 0 0 1 0 0
0 0 0 0 1 0 0 1 0 1
0 0 0 0 0 1 0 1 1 0
0 0 0 0 0 0 1 1 1 1
74
EX.No: DESIGN AND IMPLEMENTATION OF ENCODER AND
DATE: DECODER
AIM:
To design and implement encoder and decoder using logic gates and study of
IC 7445 and IC 74147.
APPARATUS REQUIRED:
THEORY:
ENCODER:
An encoder is a digital circuit that perform 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 ambiguila that when all inputs are zero the
outputs are zero. The zero outputs can also be generated when D0 = 1.
75
PIN DIAGRAM FOR IC 7445: BCD TO DECIMAL DECODER:
76
DECODER:
A decoder is a multiple input multiple output logic circuit 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.
PROCEDURE
(i) Connections are given as per circuit diagram.
77
TRUTH TABLE:
INPUT OUTPUT
E A B D0 D1 D2 D3
1 0 0 1 1 1 1
0 0 0 0 1 1 1
0 0 1 1 0 1 1
0 1 0 1 1 0 1
0 1 1 1 1 1 0
78
RESULT:
79
PIN DIAGRAM FOR IC 7476:
80
EX.No: CONSTRUCTION AND VERIFICATION OF 4 BIT RIPPLE
DATE: COUNTER AND MOD 10/MOD 12 RIPPLE COUNTER
AIM:
To design and verify 4 bit ripple counter mod 10/ mod 12 ripple counter.
APPARATUS REQUIRED:
THEORY:
81
TRUTH TABLE:
CLK QA QB QC QD
0 0 0 0 0
1 1 0 0 0
2 0 1 0 0
3 1 1 0 0
4 0 0 1 0
5 1 0 1 0
6 0 1 1 0
7 1 1 1 0
8 0 0 0 1
9 1 0 0 1
10 0 1 0 1
11 1 1 0 1
12 0 0 1 1
13 1 0 1 1
14 0 1 1 1
15 1 1 1 1
82
83
LOGIC DIAGRAM FOR MOD - 10 RIPPLE COUNTER:
TRUTH TABLE:
CLK QA QB QC QD
0 0 0 0 0
1 1 0 0 0
2 0 1 0 0
3 1 1 0 0
4 0 0 1 0
5 1 0 1 0
6 0 1 1 0
7 1 1 1 0
8 0 0 0 1
9 1 0 0 1
10 0 0 0 0
84
PROCEDURE:
85
LOGIC DIAGRAM FOR MOD 12 RIPPLES COUNTER:
TRUTH TABLE:
CLK QA QB QC QD
0 0 0 0 0
1 1 0 0 0
2 0 1 0 0
3 1 1 0 0
4 0 0 1 0
5 1 0 1 0
6 0 1 1 0
7 1 1 1 0
8 0 0 0 1
9 1 0 0 1
10 0 1 0 1
11 1 1 0 1
12 0 0 0 0
86
RESULT
87
STATE DIAGRAM:
CHARACTERISTICS TABLE:
Q Qt+1 J K
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
88
EX.No: DESIGN AND IMPLEMENTATION OF 3 BIT
DATE: SYNCHRONOUS UP/DOWN COUNTER SIMULATION
AIM:
To design and implement 3 bit synchronous up/down counter simulation
APPARATUS REQUIRED:
THEORY:
89
LOGIC DIAGRAM:
TRUTH TABLE
90
PROCEDURE:
(i) Connections are given as per circuit diagram.
(III) Observe the output and verify the truth table using SPICE software
RUSULT:
91
VIVA QUESTIONS- DIGITAL EXPERIMENTS
EX.NO.1
1. Define Digital Systems.
EX.NO.2
1. Write the truth table for Half adder
92
EX.NO.3
1. What is code conversion?
EX.NO.4
1. Define Half adder and full adder
93
EX.NO.5
3. Application of Mux.
EX.NO.6
1. List out the applications of decoder?
3. Define Encoder?
94
5. Define Decoder?
EX.NO.7
EX.NO.8
1. Give the comparison between synchronous & Asynchronous counters
2. Applications of Flip-Flop.
95
DESIGN AND IMPLEMENTATION OF SHIFT
REGISTER
AIM:
To design and implement
(i) Serial in serial out
(ii) Serial in parallel out
(iii) Parallel in serial out
(iv) Parallel in parallel out
APPARATUS REQUIRED:
THEORY:
96
TRUTH TABLE:
Serial in Serial out
CLK
1 1 0
2 0 0
3 0 0
4 1 1
5 X 0
6 X 0
7 X 1
LOGIC DIAGRAM:
SERIAL IN PARALLEL OUT:
TRUTH TABLE:
OUTPUT
CLK DATA QA QB QC QD
1 1 1 0 0 0
2 0 0 1 0 0
3 0 0 0 1 1
4 1 1 0 0 1
97
98
LOGIC DIAGRAM:
PARALLEL IN SERIAL OUT:
TRUTH TABLE:
CLK Q3 Q2 Q1 Q0 O/P
0 1 0 0 1 1
1 0 0 0 0 0
2 0 0 0 0 0
3 0 0 0 0 1
LOGIC DIAGRAM:
PARALLEL IN PARALLEL OUT:
99
PROCEDURE:
VIVA QUESTIONS
1. Define registers.
100
TRUTH TABLE:
DATA INPUT OUTPUT
CLK DA DB DC DD QA QB QC QD
1 1 0 0 1 1 0 0 1
2 1 0 1 0 1 0 1 0
101
RESULT
102