ADSD Lab Manual_241008_175247
ADSD Lab Manual_241008_175247
Tataguni, Bangalore-82
Laboratory Manual
Prepared by:
Dr. Hamsa S
Associate Professor, Dept. of ECE
Mr. Dayananda L N
Assistant Professor, Dept. of ECE
Reviewed By: Dr. K Chandrasekhar
Professor & HOD
VISION & MISSION OF THE DEPARTMENT
Vision:
To be a Department of excellence at a global level in Electronics and Communication
Engineering education, incorporating Research & Innovation and Leadership training
components.
Mission:
The Department Will,
Strive to provide state of Art infrastructure in classrooms and laboratories.
Enable all-round development with individual attention and innovative teaching
learning methodology.
Impart leadership qualities into the students by exposing them to industry and
research in global Electronics and Communication Engineering domain.
Vision:
To be an Institution of Excellence in Engineering education, Innovation and Research and
work towards evolving great leaders for the country's future and meeting global needs.
Mission:
The Institution aims at providing a vibrant, intellectually and emotionally rich teaching
learning environment with the State of the Art Infrastructure and recognizing and nurturing
the potential of each individual to evolve into ones own self and contribute to the welfare of
all.
PO5: Modern Tool Usage: Create, select and apply appropriate techniques, resources and
modern engineering and IT tools including prediction and modelling to complex engineering
activities with an understanding of the limitations.
PO6: The Engineer and Society: Apply reasoning informed by contextual knowledge to assess
societal, health, safety, legal and cultural issues and the consequent responsibilities relevant
to professional engineering practice.
PO8: Ethics: Apply ethical principles and commit to professional ethics and responsibilities
and norms of engineering practice.
PO9: Individual and Team Work: Function effectively as an individual, and as a member or
leader in diverse teams and in multi-disciplinary settings.
PO12: Life-long Learning: Recognize the need for and have the preparation and ability to
Engage in independent and life-long learning in the broadest context of technological changes
PROGRAMME SPECIFIC OBJECTIVES [PSOs]
PSO1: (Knowledge/ Skills) Explore emerging technologies in the field of Electronics &
Communication Engineering using the knowledge and skills gained.
SEMESTER – III
CONTENTS
Sl. Page
PARTICULARS
No. No.
i Laboratory Safety Information 02
ii Circuit Trouble Shooting Hints 03
iii Component Symbol and Description 04
iv Bread Board Connection Diagram and Standard Resistor Values - Color Coding 06
v CIE Marks Scheme of Evaluation 07
v General Procedure to be followed by the student 08
vi VTU Syllabus 09-10
1. Design and set up the BJT common emitter voltage amplifier with and without feedback and
determine the gain- bandwidth product, input and output impedances. 11-14
2. Design and set-up BJT/FET i) Colpitt’s Oscillator, and ii) Crystal Oscillator 15-19
3. Design and setup the circuits using Op-Amp i) Adder, ii) Integrator, iii) Differentiator and iv)
Comparator 20-23
4. Design 4 bit R – 2R Op-Amp Digital to Analog Converter (i) using 4 bit binary input from
toggle switches and (ii) by generating digital inputs using mod-16 counter. 24-28
5. Design and implement: (a) Half Adder & Full Adder using basic gates and NAND gates,
(b) Half subtractor & Full subtractor using NAND gates, 29-35
4-variable function using IC74151 (8:1MUX).
6. Realize: (i) Binary to Gray code conversion & vice-versa (IC74139), (ii) BCD to Excess-3 code
36-40
conversion and vice versa
7. a) Realize using NAND Gates: (i) Master-Slave JK Flip-Flop, ii) D Flip-Flop and iii) T Flip-Flop
b) Realize the shift registers using IC7474/7495: 41-47
(i) SISO (ii) SIPO (iii) PISO (iv) PIPO (v) Ring counter and (vi) Johnson counter.
8. Realize: (a) Design Mod – N Synchronous Up Counter & Down Counter using 7476 JK Flip-
48-52
flop, (b) Mod-N Counter using IC7490 / 7476 & (c) Synchronous counter using IC74192
Demo Experiments
9. Design and test the second order Active Filters and plot the frequency response,
53-55
i) Low pass Filter ii) High pass Filter
10. Design and test the following using 555 timer i) Monostable Multivibrator
56-59
ii) Astable Multivibrator
Pin Configurations of Digital and Analog ICs 60-63
1
Laboratory Safety Information
----------------------------------------------------------------------------------------------------
To work safely, it is important that you understand the prudent practices necessary to
minimize the risks and what to do if there is an accident.
-----------------------------------------------------------------------------------------------------------------------
Electrical Shock
-------------------------------------------------------------------------------------------------
Muscle contractions can prevent the person from moving away while being
electrocuted.
Do not touch someone who is being shocked while still in contact with the electrical
conductor or you may also be electrocuted.
The resistance of dry, unbroken skin is relatively high and thus reduces the risk of
shock. Skin that is broken, wet or damp with sweat has a low resistance.
When working with an energized circuit, work with only your right hand, keeping your
left hand away from all conductive material. This reduces the likelihood of an accident
that results in current passing through your heart.
Be cautious of rings, watches, and necklaces. Skin beneath a ring or watch is damp,
lowering the skin resistance.
2
Circuit Trouble Shooting Hints
----------------------------------------------------------------------------
Be sure the circuit you built is identical to that in the diagram. (Do a node-by-node
check)
Be sure you plug in cable to the right terminal in the multimeter to measure the
voltage/resistance (upper terminal) or the current (lower terminal).
Be sure that the equipment is set up correctly and you are measuring the correct
parameter.
Be sure the BJT’s collector and emitter terminals are in correct orientation.
If steps 1 through 5 are correct, then you probably have used a component with the
wrong value or one that doesn't work.
It is also possible that the equipment does not work (although this is not probable) or
the bread-board you are using may have some unwanted paths between nodes.
To find your problem you must trace through the voltages in your circuit node by
node and compare the signal you have to the signal you expect to have.
3
Component Symbol and Description
Switch
SPST = Single Pole, Single Throw. An on-off switch allows
(SPST) current to flow only when it is in the closed (on) position.
4
Component Circuit Symbol Function of Component
MOSFET
The enhancement MOSFET structure has no channel
P-Channel
formed during its construction. Voltage is applied to the
gate, so as to develop a channel.
5
Bread Board Connection Diagram
Internal Wire Connection
6
CIE MARKS SCHEME OF EVALUATION
7
GENERAL PROCEDURE TO BE FOLLOWED BY THE STUDENT
8
VTU SYLLABUS
Course objectives:
This laboratory course enables students to
Understand the electronic circuit schematic and its working
Realize and test amplifier and oscillator circuits for the given specifications
Realize the opamp circuits for the applications such as DAC, implement mathematical functions and
precision rectifiers.
Study the static characteristics of SCR and test the RC triggering circuit.
Design and test the combinational and sequential logic circuits for their functionalities.
Use the suitable ICs based on the specifications and functions.
LABORATORY EXPERIMENTS
1. Design and set up the BJT common emitter voltage amplifier with and without feedback and
determine the gain- bandwidth product, input and output impedances.
2. Design and set-up BJT/FET: i) Colpitts Oscillator, ii) Crystal Oscillator
3. Design and set up the circuits using opamp: i) Adder, ii) Integrator, iii) Differentiator and iv)
Comparator
4. Design 4 bit R – 2R Op-Amp Digital to Analog Converter (i) for a 4 bit binary input using toggle
switches and (ii) by generating digital inputs using mod-16 counter.
5. Design and implement
(a) Half Adder & Full Adder using basic gates and NAND gates,
(b) Half subtractor & Full subtractor using NAND gates,
(c) 4-variable function using IC74151(8:1MUX).
6. Realize
(i) Binary to Gray code conversion & vice-versa (IC74139),
(ii) BCD to Excess-3 code conversion and vice versa
7. (a) Realize using NAND Gates
i) Master-Slave JK Flip-Flop, ii) D Flip-Flop and iii) T Flip-Flop
(b) Realize the sift registers using IC7474/7495
i) SISO ii) SIPO iii) PIPO iv) PISO v) Ring counter vi) Johnson counter
8. Realize
(a) Design Mod – N Synchronous Up Counter & Down Counter using 7476 JK Flip-flop
(b) Mod-N Counter using IC7490 / 7476
(c) Synchronous counter using IC74192
9
Demonstration Experiments
9. Design and Test the second order Active Filters and plot the frequency response,
i) Low pass Filter
ii) High pass Filter
10. Design and test the following using 555 timer
i) Monostable Multivibrator
ii) Astable Multivibrator
11. Design and Test a Regulated Power supply
12. Design and test an audio amplifier by connecting a microphone input and observe the output using a loud
speaker.
1. Fundamentals of Electronic Devices and Circuits Lab Manual, David A Bell, 5th Edition, 2009, Oxford
University Press.
2. Op-Amps and Linear Integrated Circuits, Ramakant A Gayakwad, 4th Edition, Pearson Education,
2018. ISBN: 978-93-325-4991-3.
3. Fundamentals of Logic Design, Charles H Roth Jr., Larry L Kinney, Cengage Learning, 7th Edition.
10
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
EXPERIMENT: 01:
Design and set up the BJT common emitter voltage amplifier with and without
feedback and determine the gain- bandwidth product, input and output impedances
AIM: To obtain the frequency response characteristics of a Current Series amplifier with and without
feedback and Obtain the bandwidth.
COMPONENTS REQUIRED :
Power supply 0-30V
CRO 20MHz 1No.
Signal generator 1-1MHz
Resistors 1kΩ, 4.7k, 8.2k, 2.2k, 33k,10K
Capacitors 10µF
Transistors SL100
Bread board CRO Probes
DESIGN
To find RE :
Given VE = 2V. Therefore, RE = VE / IE VE / IC = 500Ω Let RE = 470 ( standard)
To find RC :
From the collector loop writing KVL we get
To find R1 and R2 :
The base current IB = IC / hfe = 4mA / 100 = 0.04mA
In order to calculate the input impedance first calculate the value of Zin (base).
The input impedance of an amplifier is the input impedance seen by the A.C. source driving the amplifier.
Therefore the biasing resistor R1 and R2 are included as follows Zin = (1+re) R1 R2 Zin = 558 k
Input coupling capacitor: CC1 = 1 / ( 2**Zin*FL) = 1/( 2**558*100) =2.85 F CC1 = 4.7 F ( standard)
Output coupling capacitor: CC2 = 1 / ( 2**(RC + RL)*Fin) =1/(2**(1k + 10k)*100)= 0.144F
Emitter bypass capacitor CE = 1 / ( 2** re * FL) = 1/(2** 6.25 * 100)=254.6µF CE =100F ( standard)
PROCEDURE
Practical
[NOTE: Use the tabular column separately for with and without feedback circuit]
100 50K
200 100K
300 300K
500 500K
700 600K
1K 700K
3K 800K
5K 900K
10K 1M
20K 2M
13
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
PROCEDURE
PROCEDURE
1) Connect as in Fig(2).
2) Set the following: i) DRB to maximum value ii) Input (Vin) sine wave amplitude to 20mV. iii)
Input sine wave frequency to any mid band frequency (say, 100 KHz)
3) Measure Vo(p-p).
4) Decrease DRB till Vo = Vo(p-p)/2. The corresponding DRB value gives the output impedance Zo.
Bandwidth= fl-fh
Results:
14
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
EXPERIMENT: 02
Design and set-up of Colpitt’s, Crystal Oscillator and RC Phase shift Oscillator using BJT
COLPITT’S OSCILLATOR
Aim: Design and set-up the Colpitt’s oscillator to determine the frequency of oscillation fo=100KHz
Using BJT
DESIGN:
To find RE :
Given VE = 2V. Therefore, RE = VE / IE VE / IC = 500Ω Let RE = 470 ( standard)
To find RC :
From the collector loop writing KVL we get
VCC = ICRC + VCE + VE
RC = (VCC – VCE – VE) / IC
15
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
To find R1 and R2 :
The base current IB = IC / hfe = 4mA / 100 = 0.04mA
Input coupling capacitor: CC1 = 1 / ( 2**Zin*FL) = 1/( 2**558*100) =2.85 F CC1 = 4.7 F ( standard)
PROCEDURE
1. Switch on the Power Supply and check the D.C conditions.
2. Check for the sinusoidal waveform at output. If the output is distorted adjust 1KΩ Potentiometer
to get perfect SINE wave.
3. Measure the period (T) of oscillation and calculate the frequency (fo) of oscillation.
4. Compare the measured frequency with re-computed theoretical value for the component values
connected.
16
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
TABULATION
CAPACITANCE Theoretical
Inductance µF T fo=1/T Amplitude
Sl.No.
(L) Henry sec Hz Volts
C1 C2 Ceq
1
Model Graph:
17
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
Aim: Design and set-up the crystal oscillator and determine the frequency of oscillation.
Components and equipments required:
Transistor SL 100,
Crystal – 2MHz,
Resistors 470Ω, 1KΩ 10KΩ and 33 KΩ;
Capacitors 0.1µf - 2nos,
Power supply, CRO, Connecting wires
Theory: Crystal oscillators are used in order to get stable sinusoidal signals despite of variations in temperature,
humidity, transistor and circuit parameters. A piezo electric crystal is used in this oscillator as resonant tank
circuit. Crystal works under the principal of piezo-electric effect. i.e., when an AC signal applied across the crystal,
it vibrates at the frequency of the applied voltage. Conversely if the crystal is forced to vibrate it will generate
an AC signal. Commonly used crystals are Quartz, Rochelle salt etc.
(Design of amplifier using BJT is same as Colpitt’s oscillator excluding feedback circuit)
PROCEDURE
1. Switch on the Power Supply and check the D.C conditions.
2. Check for the sinusoidal waveform at output. If the output is distorted adjust 1KΩ Potentiometer
to get perfect SINE wave.
3. Measure the period (T) of oscillation and calculate the frequency (fo) of oscillation.
4. Compare the measured frequency with re-computed theoretical value for the component values
connected.
18
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
19
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
EXPERIMENT: 03:
Design Adder, Integrator, Differentiator and comparator circuits using Op-Amp
Aim:
i) Design an adder circuit using opamp and verify
ii) Design a differentiator circuit using opamp and verify
iii) Design an integrator circuit using opamp and verify
iv) Design an comparator circuit using opamp and verify
Components Rquired:
1. IC 741
2. Resistors as per design
3. Function generator
4. Regulated power supply
5. IC bread board trainer
6. CRO / Patch cards / CRO probes
THEORY:
ADDER: Op-amp can be used to design a circuit whose output is the sum of several input signals. Such a circuit
is called a summing amplifier or an adder. Summing amplifier can be classified as inverting & non- inverting
summer depending on the input applied to inverting & non-inverting terminals respectively. Circuit Diagram
shows an inverting summing amplifier with 2 inputs. Here the output will be amplified version of the sum of the
two input voltages with 1800 phase reversal.
Differentiator: It is an opamp circuit which performs the mathematical operation of differentiation. That is the
output waveform is the derivative or differentia l of the input voltage. That is Vo= - RfC d(Vin)/dt. The
differentiator circuit is constructed from basic inverting amplifier by replacing the input resistance Ri with
capacitor C. This circuit also works as high pass filter.
Integrator: It is a closed loop op-amp circuit which performs the mathematical operation of integration. That
is the output waveform is the integral of the input voltage and is given by Vo = ( -1/RfC) ∫ Vindt. The integrator
circuit is constructed from basic inverting amplifier by replacing the feedback resistance Rf with capacitor C.
This circuit also works as low pass filter.
Comparator: A voltage comparator is a two-input circuit that compares the voltage at one input to the voltage
at the other input. Usually one input is a reference voltage and the other input a time varying signal. If the time
varying input is below or above the reference voltage, then the comparator provides a low or high output
accordingly (usually the plus or minus power supply voltages, since the op-amp is used in the open loop
configuration, a small difference ( − ) makes the output to saturate).
20
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
Design: Vo = - if R1 = R2 = RF = R
Vo = - (V1+V2 ) ≡ output voltage is proportional to the algebraic sum of the input voltages, V1, V2
PROCEDURE
Summing/Adder Amplifier:
1. Connections are made as per the circuit diagram.
2. Input DC voltages V1 and V2 are given and the corresponding output voltage Vo is measured
from Multi-meter or CRO.
3. Output varies as Vo = - (V1 + V2), since RF = R.
TABULATION
R1 R2 RF V1 V2 Vo (practical)
Sl.No Vo = - volts
Ω Ω Ω volts volts volts
1 1K 1K 1K 1 2
2 1K 3.3K 2.2K 1 2
Differentiator Integrator
The output Vout is Rf C times the differentiation of The output Vout is CRin times the integration of the input
the input voltage. voltage Vin.
The product Rf C is called as the RC time constant The product CRin is called as the RC time constant
Design: Design:
21
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
CIRCIUT DIAGRAM
Tabulation
PROCEDURE
Differentiator/ Integrator:
22
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
COMPARATOR
Circuit diagram
Transfer characteristics
Expected Waveforms
PROCEDURE
RESULT: Theoretical and practical output values for adder and input/output waveforms/values of integrator,
differentiator and comparator are observed using opamp.
23
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
EXPERIMENT: 04
4-Bit
4-Bit R-2R
R-2R Digital
Digital to
to Analog
Analog Converter
Converter
Apparatus :
1. IC μA741
2. Resistors As per design
3. Multimeter -
4. Base board + connecting wires -
Theory:
What is DAC? Digital to analog converter (DAC) is used to get analog voltage corresponding to an input digital
data. Data in binary digital form can be converted to corresponding analog form by using a R-2R ladder (binary
weighted resistor) network and a summing amplifier. It is more common and practical. Below is the circuit and
output simulated waveform of R-2R ladder network DAC. This circuit also uses an op amp (741) summing
amplifier circuit.
The resolution of the converter will be equal to the value of the least significant bit (LSB) which is given as:
Then the smallest step change of the analogue output voltage, V OUT for a 1-bit LSB change of the digital input
of this 4-bit R-2R digital-to-analogue converter example is: 0.3125 volts. That is the output voltage changes in
steps or increments of 0.3125 volts and not as a straight linear value.
DESIGN
To design a 4 bit R-2R DAC for an output voltage, Vo = 5V, let Ri = input equivalent resistance of the ladder
network, RF = feedback resistance.
From the circuit diagram, Iout = I0+I1+I2+I3 (using KCL), then finding each current terms from Ohm’s law
24
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
25
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
If Ω
CIRCUIT DIAGRAM
PROCEDURE
NOTE :
1. D0, D1, D2 & D3 are binary inputs (digital) applied from toggle switches.
2. Vo is the analog output.
3. Binary inputs Do, D1, D2 & D3 can take either the value ‘0’ or ‘1’ (Logic 0 0 Logic 1 +5V).
4. Binary input Di (i = 0 to 3) can be made ‘0’ by connecting the i/p to ground. It can be made ‘1’ by
connecting to +5 V.
26
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
TABULATION
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
10 1 0 1 0
11 1 0 1 1
12 1 1 0 0
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1
27
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
Components Required:
1. Resistors (1KΩx4, 2KΩx5)
2. 741 Op Amp
3. 7493 Counter IC
In this circuit the IC 7493 is a counter simply it provides digital binary inputs (0000 to 1111) to OPAMP inputs
D3D2D1D0 and observe & note down the display on CRO screen.
CIRCUIT DIAGRAM
Model Graph
RESULT: 4 bit R-2R DAC is verified using toggle switches and counter IC 7493.
28
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
EXPERIMENT NO 5
ADDERS/SUBTRACTORS/MULTIPLEXER
5(a) Half Adder & Full Adder using basic gates and NAND gates
COMPONENTS REQUIRED:
THEORY:
Half-Adder: A combinational logic circuit that performs the addition of two data bits, A and B, is called a half-
adder. Addition will result in two output bits; one of which is the sum bit, S, and the other is the carry bit, C. The
Boolean functions describing the half-adder are:
S =A ⊕ B C=AB
Full-Adder: The half-adder does not take the carry bit from its previous stage into account. This carry bit from
its previous stage is called carry-in bit. A combinational logic circuit that adds two data bits, A and B, and a
carry-in bit, Cin, is called a full-adder. The Boolean functions describing the full-adder are:
S = (x ⊕ y) ⊕ Cin C = xy + Cin (x ⊕ y)
Inputs Outputs
A B Sum(S) Carry©
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
29
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
TRUTH TABLE
Inputs Outputs
A B Cin Sum (S) Carry (Cout)
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
30
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
PROCEDURE
1. Verify the all gates according to respective truth tables.
2. Make the connections as per the circuit diagram.
3. Switch on VCC and apply various combinations of input according to the truth table.
4. Note down the output readings for half and full adder sum and the carry bit for different
combinations of inputs.
RESULT: Half adder, Full adder using basic/NAND gates are verified.
Half Subtractor: Subtracting a single-bit binary value B from another A (i.e. A –B) produces a
difference bit D and a borrow out bit B-out. This operation is called half subtraction and the circuit to
realize it is called a half subtractor. The Boolean functions describing the half Subtractor are:
D =A ⊕ B Br = A’ B
Full Subtractor: Subtracting two single-bit binary values, B, Cin from a single-bit value A produces
a difference bit D and a borrow out Br bit. This is called full subtraction. The Boolean functions
describing the full-subtracter are: D = (A ⊕ B) ⊕ Cin
Br = A’B + A’ (Cin) + B (Cin)
COMPONENTS REQUIRED:
31
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
Inputs Outputs
A B Difference Borrow
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
TRUTH TABLE
A B Bin D Br
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1
32
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
PROCEDURE
5. Verify the all gates according to respective truth tables.
6. Make the connections as per the circuit diagram.
7. Switch on VCC and apply various combinations of input according to the truth table.
8. Note down the output readings for half and full adder sum and the carry bit for different
combinations of inputs.
RESULT: Half subtractor and Full subtractor using NAND gates are verified.
COMPONENTS REQUIRED:
THEORY
The TTL/MSI SN54/74LS151 is a high speed 8:1 digital multiplexer. It provides, in one DIP package, the
ability to select one bit of data from 8 data inputs. The LS151 can be used as a universal function generator to
generate any logic function of 4 variables.
Basic multiplexer has several data inputs and a single output line. The selection of a particular input line
is controlled by a set of selection line. There are 2n input lines & n is the number of selection line whose bit
combinations determines which input is selected.
Example: S2 S1 S0 = 010 code which corresponds to D2 input data line. Now apply D2 =0/1, this data 0/1 is
transmitted to Y.
The given function is in terms of min-terms and is to be implemented using a 8:1 MUX. An 8:1 MUX has
three select lines, whereas the given function is a 4 variable function. Hence, a logic is needed to give
combination of A as inputs while only B, C and D as select line inputs. The method for the same is described
below.
33
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
Step-2: Construct digital circuit for the given 4 variable function F(A,B,C,D) = Σ (0,1,3,4,8,9,15), such that a logic
is needed to give combination of A as inputs (1, 1, 0, Ā, Ā, 0, 0, A) while only B, C and D as select line inputs.
Fig.(a) Basic pin Description of IC 74151 Fig. (b) IC74151 designed for F(A,B,C,D) = Σ (0,1,3,4,8,9,15)
Step-3: Connect the circuit as shown in the fig. (b) and verify the following truth table.
34
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
Result: 4 variable function F(A,B,C,D) = Σ (0,1,3,4,8,9,15) using IC 74151 (8:1 Multiplexer) is realized.
35
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
EXPERIMENT: 06
Binary to Gray code conversion & vice versa (IC 74139)
Aim: To realize binary to gray code conversion and vice versa using IC74139 (2-4 Decoder).
COMPONENTS REQUIRED:
Sl.No. Components Quantity
1 IC 74139 1
2 IC 7404 1
3 IC 7420 1
4 Patch Chords 20 - 30
5 IC Trainer Kit 1
THEORY:
The logical circuit which converts binary code to equivalent gray code is known as binary to gray code converter.
The gray code is a non-weighted code. The successive gray code differs in one bit position only that means it is a
unit distance code. It is also referred as cyclic code. It is not suitable for arithmetic operations. It is the most
popular of the unit distance codes. It is also a reflective code. An n-bit Gray code can be obtained by reflecting
an n-1 bit code about an axis after 2n-1 rows, and putting the MSB of 0 above the axis and the MSB of 1 below
the axis.
Binary to gray code conversion
Following steps are required in this conversion:
(1) The MSB of the gray code is equal to MSB of binary number.
(2) Second bit of the gray code will be exclusive-or of the first and second bit of the given binary number.
(3) The third bit of gray code will be equal to the exclusive -or of the second and third bit of the given binary
number.
Thus the Binary to gray code conversion goes on.
One example given below can make your idea clear on this type of conversion.
PIN DIAGRAMS
36
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
CIRCUIT DIAGRAM
One example given below can make your idea clear on this type of conversion
37
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
0 0 0 0 0 0 0
B0 = Σ (1,2,4,7)
1 0 0 1 0 0 1
2 0 1 1 0 1 0
3 0 1 0 0 1 1
B1 = Σ (2,3,4,5)
4 1 1 0 1 0 0
5 1 1 1 1 0 1
6 1 0 1 1 1 0
B2 = Σ (4,5,6,7)
7 1 0 0 1 1 1
CIRCUIT DIAGRAM
PROCEDURE
38
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
AIM: To realize BCD to Excess-3 code conversion and vise versa using IC 7483
COMPONENTS REQUIRED:
Sl.No. Components Quantity
1 IC 7486 1
2 IC 7483 1
3 Patch Chords 20
4 IC Trainer Kit 1
THEORY
Code converter is a combinational circuit that translates the input code word into a new corresponding word. In
this code each decimal digit is represented by a 4 -bit binary number. BCD is a way to express each
of the decimal digits with a binary code. In the BCD, with four bits we can represent sixteen numbers
(0000 to 1111). But in BCD code only first ten of these are used (0000 to 1001). The remaining six
code combinations i.e. 1010 to 1111 are invalid in BCD.
To Construct a BCD-to-excess-3-code converter with a 4-bit adder feed BCD code to the 4- bit adder as the first
operand and then feed constant 3 (0011) as the second operand. The output is the corresponding excess-3 code.
To make it work as a excess-3 to BCD converter, we feed excess-3 code as the first operand and then feed 2's
complement of 3 as the second operand. The output is the BCD code.
Excess-3 Code - It is non-weighted code used to express decimal numbers. The Excess -3 code words
are derived from the 8421 BCD code words adding (0011) 2 or (3) 10 to each code word in 8421.
39
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
TRUTH TABLES
PROCEDURE
RESULT: BCD to Excess-3 code conversion and vise versa using IC 7483 are realized.
40
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
EXPERIMENT: 7
Realize Master Slave JK Flipflop, D-Flipflop & T-Flipflop Using NAND Gates
AIM: To realize Master Slave JK flip-flop, D-flip-flop & T-flip-flop using NAND gates
COMPONENTS REQUIRED:
Sl.No. Components Quantity
1 IC 7400 3
2 IC 7410 1
3 Patch Chords 20
4 IC Trainer Kit 1
THEORY
Flip-Flops are binary cells capable of storing one bit of information. A Flip Flop has two outputs, one for the normal
value and one for complement value of the bit stored in it.
JK FLIP-FLOP is basically an SR flip flop with feedback which enables only one of its two input terminals, either
SET or RESET to be active at any one time under normal switching thereby eliminating the invalid condition of
SR flip flop. However, if J = K = 1 and clock input is applied the circuit will “toggle” as its outputs switch and
change state complementing each other. This timing problem called “race”. The master-slave flip- flop eliminates
all the timing problems by using two SR flip-flops connected together in a series configuration. One flip-flop
acts as the “Master” circuit, which triggers on the leading edge of the clock pulse while the other acts as the
“Slave” circuit, which triggers on the falling edge of the clock pulse. This results in the two sections, the master
section and the slave section being enabled during opposite half-cycles of the clock signal.
D FLIP-FLOP: It has only one data input (D) and clock input (CP). The outputs are labeled Q and Q’. The data (0
or 1) at the input 0 is delayed one clock pulse from getting to output Q. SD and CD are active low input (Negative
edge trigger) to set and reset the Flip-Flop i.e. these inputs will be effective when logic 0 is applied. A D Flip-flop
is a bi-stable circuit whose 0 input is transferred to the output after a clock pulse is received.
T FLIP-FLOP This T Flip-Flop is obtained from a JK type if both inputs are tied together. The designation T shows
ability of Flip-Flop to toggle. Regardless of the present state of the Flip-Flop, it assumes the complement state
when the clock pulse occurs while input T is logic1. When T=0, both AND gates are disabled and hence there is
no change in the previous output. When T=1, (J=K=1) output toggles.
41
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
FUNCTION TABLE
T FLIP-FLOP:
The T flip-flop is a single input version of the JK flip-flop. The T flip-flop is obtained from the JK type if both
inputs are tied together.
D FLIP-FLOP
D flip-flop is a controlled Bi-stable latch where the clock signal is the control signal. when D = 1 and CLOCK =
HIGH, Output : Q = 1, Ǭ = 0. Working is correct.
CIRCUIT DIAGRAM
Truth Table
Clock D Output
Q Ǭ
0 1 0 0 1
0 1 1 1 0
1 0 X Q Ǭ
42
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
PROCEDURE
RESULT: Master Slave JK flip-flop, D-flip-flop & T-flip-flop using NAND gates are verified.
SHIFT REGISTERS
AIM: To realize different types of shift registers Serial In Serial Out [SISO], Serial In Parallel Out
[SIPO], Parallel In Parallel Out [PIPO] and Parallel In Serial Out [PISO] using IC 7495 and to verify
function table.
COMPONENTS REQUIRED:
Sl.No. Components Quantity
1 IC 7495 1
2 IC 7404 1
3 Patch Chords 20
4 IC Trainer Kit 1
THEORY
The binary information (data) in a register can be moved within or into or out of the register upon application
of clock pulses. This type of bit movement or shifting is essential for certain arithmetic and logic operations
used in microprocessors. This gives rise to group of registers called shift registers. They are very important in
applications involving the storage and transfer of data in a digital system.
Parallel Serial
Mode control = 1 Mode control = 0
Clock 2 Clock-1
43
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
PROCEDURE
44
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
PROCEDURE
PROCEDURE
45
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
PROCEDURE
RESULT: shift registers using IC 7495 for SIPO/SISO, PISO/PIPO are verified.
RING COUNTER
AIM: To realize Ring counter and Johnson counter using IC 7495
COMPONENTS REQUIRED:
Sl.No. Components Quantity
1 IC 7495 1
2 IC 7404 1
3 Patch Chords 20
4 IC Trainer Kit 1
THEORY
A ring counter is a circular shift register which is initiated such that only one of its flip-flops is the state one while
others are in their zero states. A ring counter is a Shift Register with the output of the last one connected to the
input of the first, that is, in a ring. Typically, a pattern consisting of a single bit is circulated so the state repeats
every n clock cycles if n flip-flops are used. It can be used as a cycle counter of n states.
RING COUNTER:
Function Table
JOHNSON COUNTER
THEORY:
A Johnson counter (or switch tail ring counter, twisted-ring counter) is a modified ring counter, where the output
from the last stage is inverted and fed back as input to the first stage. The register cycles through a
46
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
sequence of bit-patterns, whose length is equal to twice the length of the shift register, continuing indefinitely.
These counters find specialist applications, including those similar to the decade counter, digital-to-analog
conversion, etc. They can be implemented easily using D- or JK-type flip-flops.
JOHNSON COUNTER:
Function Table
PROCEDURE:
RESULT: Ring counter and Johnson counter using IC 7495 are verified
47
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
EXPERIMENT: 8
REALIZE: i) Design MOD-N synchronous up counter & down counter using IC 7476 (JK
FF) ii) MOD-N counter using IC 7490/7476 iii) Synchronous counter using IC 74192
MOD-N synchronous up counter & down counter using IC 7476 (JK FF)
AIM: i) Design and study (MOD-7) 3 bit synchronous counter (Up counter & Down counter) using
JKflip flops.
COMPONENTS REQUIRED:
Sl.No. Components Quantity
1 IC IC 74LS76A 1
2 IC 7408 1
3 Patch Chords 20
4 IC Trainer Kit 1
THEORY
Counters : counters are logical device or registers capable of counting the no. of states or no. of clock pulses
arriving at its clock input where clock is a timing parameter arriving at regular intervals of time, so counters can
be also used to measure time & frequencies. They are made up of flip flops. Where the pulse are counted to be
made of it goes up step by step & the o/p of counter in the flip flop is decoded to read the count to its starting
step after counting n pulse incase of module counters.
Counter are of two types:
1) Asynchronous counter 2) Synchronous counter.
Asynchronous counter commonly called ripple counter, the first flip-flop is clocked by the external clock pulse &
then each successive flip-flop is clocked by the Q or Q’ output of the previous flip-flop. Therefore in an
asynchronous counter the flip-flop’s are not clocked simultaneously.
When counter is clocked such that each flip flop in the counter is triggered external clock at the same time, the
counter is called as synchronous counter. Ex:- Ring counter & Johnson counter
Types of synchronous counter:
1) Up counter 2) Down counter.
48
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
PROCEDURE
1. Connect the circuit as shown in the diagram.
2. Connect 𝑃𝑅𝐸 ¯input to the logic 1 (+5V).
3. Connect 𝐶𝐿𝑅 ¯input to the logic 0 (0V) or ground to reset counter.
4. Connect 𝐶𝐿𝑅 ¯input to the logic 1.
5. Apply the clock pulse to CLK input.
6. Observe the output and verify the observation table.
49
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
THEORY
OBSERVATION TABLE
THEORY:
A 74192 IC is a pre-settable synchronous 4-bit Up/Down decimal counter, capable of reset to zero, preloading
with a specified value, as well as generating carry and borrow signals that allow one to construct multi-digit
counters. The result of the synchronization is that all the individual output bits of each FF changing state at
exactly the same time in response to the common clock signal with no ripple effect and therefore, no
propagation delay.
51
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
PROCEDURE
RESULT: The functioning of MOD-7using JK FF, MOD-10 using IC 7490 & Synchronous counter
using IC74192 are verified.
52
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
DEMONSTRATION EXPERIMENTS
EXPERIMENT: 9
Second Order Low Pass and High Pass Filters
AIM: To design & conduct an experiment on II order
i. Low pass Butterworth filter to study the frequency response & to verify the roll off factor.
ii. High pass Butterworth filter to study the frequency response and to verify the roll off factor.
COMPONENTS REQUIRED:
Resistors as per design
IC µ741
Capacitor 0.01µF (3)
Connecting wires
THEORY
A second-order low-pass filter is an electronic circuit that attenuates (reduces) highfrequency I n audio and
signal processing applications to remove noise and unwanted highfrequency components. The cutoff frequency
is the frequency at which the filter begins to attenuate the signal, and the quality factor determines the sharpness
of the cutoff.
The circuit diagram of a second-order low pass filter usually includes two capacitors and two resistors. One
common implementation is the Sallen-Key topology, which is composed of an op-amp and four passive
components. Overall, a second-order low pass filter can be used in various applications such as audio
processing, signal conditioning, and control systems.
DESIGN
53
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
Tabular Column :
Vi = _______________ V
Expected Graph:
COMPONENTS REQUIRED:
Resistors as per design
IC µ741
Capacitor 0.01µF (2)
Connecting wires
THEORY
A second-order high-pass filter is an electronic circuit that passes signals with a frequency higher than a certain
cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. It offers a steeper
roll-off than a first-order filter, making it useful for applications where precise control over the cutoff frequency
is crucial. In manual configurations, adjustments to the filter's performance involve manipulating the values of
capacitors, inductors, or additional resistors. This manual tuning capability provides flexibility for customizing
the filter's response to suit specific requirements in electronic circuits, such as audio systems or communications
equipment.
The circuit diagram of a second-order high pass filter usually includes two capacitors and two resistors. One
common implementation is the Sallen-Key topology, which is composed of an op-amp and four passive
components. Overall, a second-order low pass filter can be used in various applications such as audio
processing, signal conditioning, and control systems.
54
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
Assume C = 0.1μF
R = 1/2*πfHC
R = 318Ω
Tabular Column :
Vi = _______________ V
Expected Graph:
55
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
EXPERIMENT: 10
Design Monostable and Astable Multivibrator Using 555 Timer
MONOSTABLE MULTIVIBRATOR
AIM: To construct and study the operation of a monostable multivibrator using 555IC timer.
APPARATUS:
1. 555 IC timer
2. Capacitors (0.1μF, 0.01μF)
3. Resistors 1KΩ
THEORY
Monostable multivibrator is also known as triangular wave generator. It has one stable and one quasi stable
state. The circuit is useful for generating single output pulse of time duration in response to a triggering signal.
The width of the output pulse depends only on external components connected to the op-amp. Timer IC 555 is
also used as one shot or monostable operation. Since there are many real life application where many
applications needs to operate for only specific time interval for such application one shot or monostable
operation is suitable. When negative going pulse is applied to pin 2 which leads to output pin 3 goes to high.
The negative edge of the trigger pulse causes the internal comparator 2 trigger the flip flops leads to output
high at pin 3. The voltage across capacitor rises to 2VCC/3 through supply and resistor R1. When the voltage
across capacitor reaches to 2VCC/3 the internal comparator 1 triggers the flip flop from and which send the
output from high to low. Figure shows the waveforms associated with the operation of the IC 555 as a
monostable. The output waveform shows that the wide range from microsecond to many seconds can be
possible with appropriate values of R and C. This flexibility of time period makes IC 555 versatile for many real
life applications. The time period is given by Tp = 1.1 RC.
DESIGN: Waveforms
56
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
R = 10KΩ (std)
57
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
PROCEDURE
Parameter Theoretical Practical
T (ms) 1 m sec
t (ms) 6 m sec
RESULT: Monostable multivibrator using timer IC 555 is designed, setup and the waveforms are obtained.
ASTABLE MULTIVIBRATOR
AIM: To construct and study the operation of Astable multivibrator using 555 timer
APPARATUS:
1. IC 555 Timer
2. Resistors as per design
3. Capacitors (0.1μF, 0.01μF)
4. CRO
THEORY: The capacitor charges through resistors RA and RB the voltages across capacitor rises to 2VCC/3. This
voltage acts as a threshold voltage at pin 6 which is input to internal comparator which finally trigger the internal
flip flop so that output pin 3 goes low. Also flip flop drives the internal discharge transistor to ON allowing
capacitor to get discharge from RB this lead to decrease in capacitor voltage to VCC/3 and the flip flop get trigger
and discharge transistors gets off and output set to high. This leads to charging of capacitor through RA and RB
to VCC. A diode D1 is connected between the discharge and threshold terminals (as also across RB). Thus the
capacitor now charges only through RA (since RB is shorted by diode conduction during charging) and
discharges through RB. Another optional diode D2 is also connected in series with RB in reverse direction for
better shorting of RB.
58
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
Design:
The time for charging C from 1/3 to 2/3 Vcc = ON Time = 0.693 (RA + RB) C
The time for discharging C from 2/3 to 1/3 Vcc = OFF Time = 0.693 RB C
Min. Duty Cycle = R1/(R1 + RX + R2) Max. Duty Cycle = (R1 + RX)/(R1 + RX + R2)
To vary the duty cycle from about 0 to 100%, a potentiometer, RX, is used. Thus a variable duty cycle is
achieved.
PROCEDURE
TABULATION
59
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
IC 7490
IC 7476
Master—slave JK Flip Flop, has two JK
flip flops inside it and each can be used
individually based on application.
74LS76 is a negative edge-triggered J-
K flip-flop. It has a preset and clear
function which allows the IC to bypass
the clock and inputs and give the
different outputs.
IC 7483
IC 7495
60
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
IC 74139
IC 74151
IC 74192
61
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
IC µA 741 (OPAMP)
IC 555 TIMER
62
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY
ANALOG AND DIGITAL SYSTEM DESIGN LABORATORY (BECL305)
63
Dept of ECE, JYOTHY INSTITUTE OF TECHNOLOGY