III Mh Adc Lab (b20es0303) Manual
III Mh Adc Lab (b20es0303) Manual
III Mh Adc Lab (b20es0303) Manual
Communication Engineering
Program : B.Tech. in Mechatronics
Analog and Digital Circuits Lab
LABORATORY MANUAL
III Semester
2021-25
Rukmini Educational
Charitable Trust
School of Mechanical Engineering
VISION
“Aspires to be recognized globally for outstanding value based education in mechanical and allied areas and
research leading to well-qualified engineers, who are innovative, entrepreneurial, successful in their career and
committed to the development of the country.”
MISSION
1. To impart quality education to the students and enhance their skills to make them globally
competitive engineers in mechanical and allied areas.
2. To promote multidisciplinary study, cutting edge research and expand the frontiers of engineers’
profession in mechanical and allied areas.
3. To create state-of-art facilities with advanced technology for providing students and faculty with
opportunities for innovation, application and dissemination of knowledge.
4. To prepare for critical uncertainties ahead for mechanical engineering and allied areas and to
face the challenges through clean, green and healthy solution.
5. To collaborate with industries, institutions and such other agencies nationally and internationally
to undertake exchange programs, research, consultancy and to facilitate students and faculty
with greater opportunities for individual and societal growth.
PSO 1: Apply mechatronics engineering knowledge and skills in Design, Manufacturing, Automation
and Electronics to obtain realistic outcomes.
PSO 2: Identify, formulate, analyze and solve problems in mechatronics engineering and allied
domains.
PSO 3: Conduct investigations in Mechanical and Electronics Engineering and allied areas to provide
optimal and sustainable solutions
PROGRAM OUTCOMES (POs)
On successful completion of the program, the graduates of B.Tech. Mechatronics Engineering will be
able to:
PO-2: Problem Analysis: Identify, formulate, review research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of mathematics, natural
sciences and engineering sciences.
PO-3: Design/Development of Solutions: Design solutions for complex engineering problems and
design system components or processes that meet the specified needs with appropriate consideration
for the public health and safety, and the cultural, societal, and environmental considerations.
PO-4: Conduct Investigations of Complex Problems: Use research-based knowledge and research
methods including design of experiments, analysis and interpretation of data, and synthesis of the
information to provide valid conclusions for complex problems.
PO-5: 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.
PO-6: The Engineer and Society: Apply reasoning informed by the contextual knowledge to assess
societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to the
professional engineering practice.
PO-7: Environment and Sustainability: Understand the impact of the professional engineering
solutions in societal and environmental contexts, and demonstrate the knowledge of, and need for
sustainable development.
PO-8: Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms
of the engineering practice.
PO-9: Individual and Team Work: Function effectively as an individual, and as a member or leader in
diverse teams, and in multidisciplinary settings.
PO-11: Project Management and Finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member and leader
in a team, to manage projects and in multidisciplinary environments.
PO-12: Life-long Learning: Recognize the need for, and have the preparation and ability to engage in
independent and lifelong learning in the broadest context of technological change.
REVA University School of ME
CONTENTS
Total 4 5 5 39 26 50 % 50 %
1. Understand how Bipolar Junction transistors are modeled and how the models are
used in the design and analysisof useful circuits.
2. Perform a load-line analysis of the most common BJT configurations.
3. Become acquainted with the design process for BJT biasing.
4. Apply concepts for the design of Amplifiers
5. Analyze the concepts of Oscillator circuits.
6. Illustrate Boolean laws and systematic techniques for minimization of expressions.
7. Demonstrate the methods for simplifying Boolean expressions.
8. Familiarize the commonly used terms like min-term, canonical expression, SOP etc.
9. Introduce the Basic concepts of combinational and sequential logic.
After the completion of the course, the student will be able to:
CO Course POs PSOs
Outcomes
CO1 Develop the capability to analyze and design simple circuits containing 1-6 1,2
non-linear
elements such as transistors using the concepts of load lines and operating
points
CO2 Compute the DC values of voltages and currents in biasing circuits. 1-5 1,2
CO3 Analyze the working of Operational Amplifier, oscillators and their 1- 1,2
Characteristics. 5,10
CO4 Construct the K-map from a Boolean expression and to find the minimal 1-5 1,2
SOP/POS
forms
CO5 Design digital circuits using gates, encoders and decoders. 1,4 1,2
Determine the output and performance of given combinational and
CO6 sequentialcircuits. 1,5 1,2
PRACTICE:
Sl. Title of the Experiment Tools and Expected
No Techniques Skill
/Ability
Draw input & output characteristics of common emitter Spring board,
1. configuration. multimeters,
Trainer kit,
Design a Single stage BJT RC Coupled Amplifier and Spring board, CRO Frequency response curve
obtain frequency response curve and find Trainer kit, Ohms and find Bandwidth, Input&
2 Bandwidth,Input & Output Impedances. Law, Fall of Output Impedances.
Resistance.
Design a Two stage voltage series BJT Amplifier and Frequency response curve
3. Obtain frequency response curve, also find Bandwidth, and find Bandwidth, Input&
Input & Output Impedances. Spring board, CRO Output Impedances.
Design a BJT Hartley & Colpitts’s Oscillators for
4. frequency ≥100kHz. Spring board, CRO Frequency of an
Oscillator
5. Design an OPAMP Inverting & Non-Inverting Amplifier. Spring board, CRO Amplitude and Phase
Realization of basic gates, XOR and XNOR gates using Design and circuit
6. NAND & NOR.
IC Trainer Kit debugging. Working in
a team
Realization of parallel Adder and Subtractor using Design and circuit
7. IC Trainer Kit Debugging. Working in a
IC7483.
team
Realization of 4:1 MUX and 1:4 DEMUX using Design and circuit
8. IC Trainer Kit debugging. Working in
basic/universal gates.
a team
Design and circuit
Arithmetic circuit realization (Half/Full,
9. IC Trainer Kit debugging. Working in a
Adder/Subtractor)using MUX.
team
Design and circuit
Construction and verification of JK master slave, T, D
10. IC Trainer Kit debugging. Working in a
flip-flop using logic gates.
team
Design and circuit
Construction and realization of 3- bit ripple up/down
11. IC Trainer Kit debugging. Working in a
counter using IC 7476 and other logic gates.
team
Challenge Experiments:
Laboratory Safety
General precautions:
Avoid any circuit that may lead to electrical shock
All electrical wires protected by MCB, ELCB, and fuses.
Be careful in using electrolytic capacitors and arcing circuits that have a potential
explosion and may cause blindness and severe burns.
Be careful about burning components, and arcing may lead to a fire.
Use of fire extinguishers in case of fire hazards
Other Precautions:
No loose wires or metal pieces should be lying on the table or near the circuit to
cause shorts and sparking.
Avoid using long wires that may get in your way while making adjustments or
changing leads.
Keep high voltage parts and connections out of the way from accidental touching
and from any contacts to test equipment or any components connected to other
voltage levels.
Be Aware of bracelets, rings, metal watchbands, and loose necklaces (if you are
wearing any of them); they conduct electricity and can cause burns. Please do not
wear them near an energized circuit.
When working with energized circuits (while operating switches, adjusting controls,
adjusting test equipment), use only one hand while keeping the rest of your body
away from conducting surfaces.
Component Details
Colour coding of 4 Band Carbon Resistors
E24 Series: 10, 11, 12, 13, 15, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 43, 47, 51,
56, 62, 68, 75, 82, 91. • 100, 110, 120, 130, 150, 160, 180, 200, 220, 240, 270, 300,
330, 360, 390, 430, 470, 510, 560, 620, 680, 750, 820, 910 Ohms.
Do it yourself
Identify the values of Resistors by Color Coding.
Identify the values of Capacitors
Identify the terminals of Transistor
Know the specifications of Transistor
Download the specification sheet of Transistor on internet and read the
Specification Parameters
Learn to test Transistor by using DMM
Learn the applications of the circuit & Importance of Impedance
measurement.
Activity
Design Amplifier circuits for different values of Ic / Vcc Rig up the circuit &
Measure DC Condition. Find bandwidth by plotting frequency response curve.
Measure Input & Output Impedances.
CIRCUIT DIAGRAM:
Ideal Graph:
PROCEDURE:
INPUT CHARACTERISTICS
OUTPUT CHARACTERISTICS:
1. Connect the circuit as per the circuit diagram
2. For plotting the output characteristics, the input current I B is kept constant at
10μA and for different values of VCE note down the values of IC
3. Repeat the above step by keeping IB at 20 μA, 50 μA 75 μA .
4. Tabulate the all the readings.
5. Plot the graph between VCE and IC for constant IB.
TABULAR FORM:
INPUT CHARACTERISTICS:
VCE = 1 V VCE= 2 V VCE= 4 V
S. RPS
No. Voltage VBE IB VBE IB VBE IB
(V) (µA) (V) (µA) (V) (µA)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
OUTPUT CHARACTERISTICS:
IB = 10 µA IB = 20 µA IB = 50 µA
S. RPS
No. Voltage VCE IC VCE IC VCE IC
(V) (mA) (V) (mA) (V) (mA)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CALCULATIONS:
a) Input characteristics:
Input resistance ri = Δ VBE / Δ IB at VCE constant
=
b) Output characteristics:
Output dynamic resistance ro = ΔVCE / Δ IC at IB constant
=
Current gain β = Δ IC / Δ IB at VCE constant
=
PRECAUTIONS:
1. Connections must be given very carefully.
2. Switch-on the power only after thorough checking of all the connections.
3. Readings should be noted without parallax error.
4. The applied voltage, current should not exceed the maximum rating of the
given transistor.
RESULT:
Design: Design a voltage divider bias amplifier for Ic=4mA by choosing transistor
having hfe=100
Given IC = 4 mA and hfe = 100 Let Vcc = 12 V. VCE= 1/2VCC
Assuming VE= Vcc
12
2V
6 6
We Know VE=IE x RE =2V
RE = 2 2 2 500Ω
IE IC 4mA
Choose RE = 470Ω
Applying KVL to the Collector Emitter loop to find RC
RC 12 6 2 = 1kΩ
4mA
VB VBE VE = 0.7+2 = 2.7V
VV R2
B CC
R1 R2
2.7 R2
12 R1 R2
R2
0.225
R1 R2
R2=0.225R1+0.225R2
0.775R2=0.225R1
Let R2 = 4.7kΩ
R1 = 16.18kΩ Choose 15kΩ
Bypass capacitor CB and Coupling capacitors CC1 and CC2
1
Let XCE = RE at frequency f = 100 Hz
10
1 R
= E
2 f CE 10
CE = 72.3 F
Select CE = 100 F
Also use CC1 and CC2 = 0.47 F (Ceramic)
Ideal Graph:
Procedure:
1. Connections are made as shown in circuit diagram.
2. Measure the D.C. Bias condition.
3. The input voltage Vin is adjusted to a convenient value (Approximately 20 to
40 mV) within the distortion less limit and value must be kept constant
throughout the experiment.
4. Frequency of the input signal is varied from 100Hz to 2MHz in Decade steps
and at each step, corresponding output Vo peak to peak is noted down.
5. All readings are tabulated and graph of Voltage gain in dB V/s frequency is
drawn on a Semi-Log sheet.
6. 3dB bandwidth is determined from the frequency response curve.
7. Measure Input & Output Impedances.
Observations:
VBE= Volts. VCE= Volts. (Q – Point Voltage)
Tabular Column:
Input Voltage Vin= 20 mVpp
Gain Gain
Sl. Frequency Vo in dB=20 Sl. Frequency Vo in dB=20
# in Hz. Volts. log10 # in Hz. Volts. log10
(Vo/Vin) (Vo/Vin)
1 100 Hz 20 20 kHz
2 200 Hz 21 30 kHz
3 300 Hz 22 40 kHz
4 400 Hz 23 50 kHz
5 500 Hz 24 60 kHz
6 600 Hz 25 70 kHz
7 700 Hz 26 80 kHz
8 800 Hz 27 90 kHz
9 900 Hz 28 100 kHz
10 1kHz 29 200 kHz
11 2 kHz 30 300 kHz
12 3 kHz 31 400 kHz
13 4 kHz 32 500 kHz
14 5 kHz 33 600 kHz
15 6 kHz 34 700 kHz
16 7 kHz 35 800 kHz
17 8 kHz 36 900 kHz
18 9 kHz 37 1 MHz
19 10 kHz 38 2 MHz
Mid-band Gain in dB =
Bandwidth =
Input Impedance Zi =
Output Impedance Zo =
Design:
Design the voltage divider bias circuit for Ic=4mA & Vcc=12V
Given IC = 4 mA and Vcc = 12 V, Choose hfe = 100, VCE = ½ Vcc = 6V
Assuming VE= Vcc
12
2V
6 6
2.7 R2
12 R1 R2
R2
0.225
R1 R2
R2=0.225R1+0.225R2
0.775R2=0.225R1
Let R2 = 4.7kΩ
R1 = 16.18kΩ Choose 15kΩ
Design for II stage is same as that of first stage Use 470Ω as RE
Let CE=47µF (Emitter by-pass Capacitor) for both the stages.
Coupling Capacitors CC1 = CC2 = CC3 = 0.47µF
Procedure:
1. Connections are made as shown in circuit diagram.
2. Measure the D.C. Bias condition.
3. The input voltage Vin is adjusted to a convenient value (Approximately 20 to
40 mV) within the distortion less limit and value must be kept constant
throughout the experiment.
4. Frequency of the input signal is varied from 100Hz to 2MHz in Decade steps
and at each step, corresponding output Vo peak to peak is noted down.
5. All readings are tabulated and graph of Voltage gain in dB V/s frequency is
drawn on a Semi-Log sheet.
6. 3dB bandwidth is determined from the frequency response curve.
7. Measure Input & Output Impedances.
Ideal Graph:
Tabular Column:
Vi = mV
Gain dB=20
Sl. Frequency Vo in Gain dB=20 Sl. Frequency Vo in
log10
# in Hz. Volts. log10 (Vo/Vin) # in Hz. Volts.
(Vo/Vin)
1 100 Hz 20 20 kHz
2 200 Hz 21 30 kHz
3 300 Hz 22 40 kHz
4 400 Hz 23 50 kHz
5 500 Hz 24 60 kHz
6 600 Hz 25 70 kHz
7 700 Hz 26 80 kHz
8 800 Hz 27 90 kHz
9 900 Hz 28 100 kHz
10 1kHz 29 200 kHz
11 2 kHz 30 300 kHz
12 3 kHz 31 400 kHz
13 4 kHz 32 500 kHz
14 5 kHz 33 600 kHz
15 6 kHz 34 700 kHz
16 7 kHz 35 800 kHz
17 8 kHz 36 900 kHz
18 9 kHz 37 1 MHz
19 10 kHz 38 2 MHz
Result:
Mid-band Gain in dB =
Bandwidth =
Input Impedance Zi =
Output Impedance Zo =
a. Hartley oscillator
Aim: Design a BJT – Hartley Oscillator for fo = 100 kHz.
Circuit Diagram:
Ultimately a state of equilibrium is reached where the losses in the circuit are made
by consuming power from the power supply. This makes the feedback +ve which is
the essential condition for oscillations. When the loop gain ׀׀Aβ ׀׀of the amplifier is
greater than 1, oscillations are sustained and frequency of oscillations is determined
in the circuit. The frequency of oscillations is given by:
f = 1 / 2√ LeffX C where Leff= L1 + L2
Hartley oscillator is very popular and is commonly used as a local oscillator in Radio
receivers. The Hartley oscillator is extensively used in all broadcast bands including
FM 88 to 108MHz.
Dis-Advantages:
Harmonic rich content at the output due to inductances.
Design of Amplifier:
VCE=5V, IC=2mA, VCC=2VCE=10V.
1 1
V V 10 1V
RE
10 CC 10
VRE 1
RE = 500Ω . Choose 470Ω.
IC 2mA
Then C = 1/4π2Leff F2
C =791.5pF, Choose 800pF, (The value of L & C may be changed as per the
design frequency.)
Procedure:
1. Connect the circuit as shown in the diagram.
2. Measure the D.C. bias condition & vary the POT to get the output.
3. Observe the output on CRO & measure the Frequency & Amplitude and
draw waveforms on graph sheet.
4. Compare the designed values of frequency with practical values of
frequency.
Observations:
VBE = Volts. VCE = Volts.
Result Analysis:
Designed frequency f= Hz.
Simulated frequency fo = Hz. Output Voltage Vopp
b. Colpitt’s oscillator
Aim: Design a BJT – Colpitt’s Oscillator for frequency fo = 100 kHz.
Circuit Diagram:
Result:
Designed frequency f= Hz.
Simulated frequency fo = Hz. Output Voltage Vopp
Do it yourself
Identify the values of Resistors by Color Coding.
Identify the terminals of Transistors & Test it by DMM.
Learn Circuit operation.
Know the frequency range & applications of the circuit
Activity
Design the Oscillator Tank circuit for different values of frequencies & measure the
frequency of oscillations and compare with design.
Aim: To design an OPAMP Inverting & Non Inverting amplifiers & test it
Circuit diagram:
a. Inverting Amplifier
Design:
We know that Av = -Rf/Ri
Let Rf = 10kΩ and Ri = 1kΩ
Av = -Rf/Ri
Av = -10k/1k
Av = -10
Therefore Output is amplified by 10 times and also inverted i.e. 180 0 out of phase
with the Input.
Expected Waveforms:
Design:
We know that Av = 1+ (Rf/Ri)
Let Rf = 10kΩ and Ri = 1kΩ
Av = 1+ (Rf/Ri)
Av = 1+ (10k/1k)
Av = 11
Therefore Output is amplified by 11 times and also in phase with the input.
Expected Waveforms:
Result Analysis:
Procedure:
1. Rig-up the circuit as shown above.
2. Switch on Power Supply. Set input voltage to 1 Volt Peak-Peak through
Function Generator.
3. Observe the output on CRO. Note down the Input & Output peak to peak
voltages and compare.
4. Sketch the Input & Output Waveforms on a graph sheet.
Challenge:
Verify the CMRR of the Given OPAMP
Realize an OPAMP Integrator/Differentiator circuit
Realize an OPAMP Summer/Averager circuit
Boolean algebra like any other mathematical system may be defined with a set of
elements, a set of operators and number of axioms or postulates. A set of element
is a collection of objects having a common property.
A logic gate is an elementary building block of a digital circuit. Most logic gates have
two inputs and one output. At any given moment, every terminal is in one of the
two binary conditions low (0) or high (1), represented by different voltage levels.
The logic state of a terminal can, and generally does, change often, as the circuit
processes data. In most logic gates, the low state is approximately zero volts (0 V),
while the high state is approximately five volts positive (+5 V).
There are three basic logic gates: AND, OR, & NOT, and two Universal logic gates
NAND and NOR other logic gates are emerged from basic gates such as X-OR and X-
NOR. Comparing Boolean algebra with arithmetic and ordinary algebra we note the
following differences:
As IC technology advances, the required physical volume for each individual logic
gate decreases and digital devices of the same or smaller size become capable of
performing ever- more complicated operations at ever-increasing speeds.
They are called universal gates because all of the other gates may be constructed
using only those two gates. That is important because it's a lot cheaper in practice
to make lots of similar things than a bunch of different things (different gates).
All other gates/functions can be implemented by NOR or NAND gates. So they are
called universal gates. In fact, in chips, entire logic maybe built using only NAND or
NOR gates.
Implementing with NAND is easier when considering power and area of the chip.
They are called universal gates as they can be used to design all other logic circuit.
Elements like X-OR, NOR etc. Also these gates can be realized through easy combina-
tion of diodes thus making them easy to use base elements in any chip designing
project.
NAND, NOR gates are called universal gates because they can be used to create all
the remaining logical gates. Like sending the same input to the inputs of the NAND
or NOR will make it a NOT gate. Because from them you can create any other one!
You can make any other gate using NAND and NOR. Any other gate i.e. AND, OR, XOR
etc can be created using these basic gates i.e. it needs only NAND and NOR gates to
create logical circuits.
AND Gate
The AND gate is a basic digital logic gate that implements logical conjunction - it
behaves according to the truth table to the right. A HIGH output (1) results only if
all the inputs to the AND gate are HIGH (1). If none or not all inputs to the AND gate
are HIGH, a LOW output results. The function can be extended to any number of
inputs.
Truth Table
Input Output
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
OR Gate
The OR gate is a digital logic gate that implements logical disjunction – it behaves
according to the truth table to the right. A HIGH output (1) results if one or both the
inputs to the gate are HIGH (1). If neither input is high, a LOW output (0) results. In
another sense, the function of OR effectively finds the maximum between two
binary digits, just as the complementary AND function finds the minimum.
Truth Table
Input Output
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
NOT Gate
In digital logic, an inverter or NOT gate is a logic gate which implements logical
negation. The truth table is shown on the right.
Truth Table
Input Output
A Y
0 1
1 0
NAND Gate
The NAND gate is significant because any Boolean function can be implemented by
using a combination of NAND gates. This property is called functional completeness.
It shares this property with the NOR gate. Digital systems employing certain logic
circuits take advantage of NAND's functional completeness.
The function NAND (a1, a2, ..., an) is logically equivalent to NOT(a1 AND a2 AND ...
AND an).
NAND gates with two or more inputs are available as integrated circuits in transistor-
transistor logic, CMOS, and other logic families.
Truth Table
Input Output
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
NOR Gate
The NOR gate is a digital logic gate that implements logical NOR - it behaves
according to the truth table to the right. A HIGH output (1) results if both the inputs
to the gate are LOW (0); if one or both input is HIGH (1), a LOW output (0) results.
NOR is the result of the negation of the OR operator. It can also be seen as an AND
gate with all the inputs inverted. NOR is a functionally complete operation—NOR
gates can be combined to generate any other logical function. It shares this property
with the NAND gate. By contrast, the OR operator is monotonic as it can only change
LOW to HIGH but not vice versa.
In most, but not all, circuit implementations, the negation comes for free—
including CMOS and TTL. In such logic families, OR is the more complicated
operation; it may use a NOR followed by a NOT. A significant exception is some forms
of the domino logic family.
Truth Table
Input Output
A B Y
0 0 1
0 1 0
1 0 0
1 1 0
EX-OR Gate
XOR gate (sometimes EOR, or EXOR and pronounced as Exclusive OR) is a
digital logic gate that gives a true (1 or HIGH) output when the number of true inputs
is odd. An XOR gate implements an exclusive or; that is, a true output results if one,
and only one, of the inputs to the gate is true. If both inputs are false (0/LOW) or
both are true, a false output results. XOR represents the inequality function, i.e.,
the output is true if the inputs are not alike otherwise the output is false. A way to
remember XOR is "one or the other but not both".
XOR can also be viewed as addition modulo 2. As a result, XOR gates are used to
implement binary addition in computers. A half adder consists of an XOR gate and
an AND gate. Other uses include subtractors, comparators, and controlled inverters.
Truth Table
Input Output
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
Truth Table
Input Output
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
2. OR Gate: IC 7432:
Truth Table
Input Output
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
Truth Table
Input Output
A Y
0 1
1 0
Truth Table
Input Output
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
Truth Table
Input Output
A B Y
0 0 1
0 1 0
1 0 0
1 1 0
7. Truth Table verification of Logic gates using NAND & NOR gates (Universal gates)
Functio
Using NAND gates Using NOR gates
n
NOT
gate
AND
gate
OR gate
EX-OR
gate
Procedure:
1. The connections are made as shown in Circuit(by referring IC PIN diagram)
2. The input terminals are connected to the toggle switches & the output is
connected to the Output Connector (LED’s).
3. The power is applied between the VCC & Ground terminals.
4. The Logic levels are applied at the Input for all combinations indicated in
Truth Table & the Output is observed on LED’s.
Parallel adder:
The 7483 IC is a 4-bit parallel adder chip. Note: the chip can also be listed as a
74LS83. The LS signifies that the chip is a newer, lower-power, faster version. A
binary parallel adder is a digital function that produces the arithmetic sum of two
binary numbers in parallel. It consists of full adders connected in cascades with the
output carry from one full adder connected to input carry of the next full adder.
Components & equipment’s required: 7483, 7486 & 7404, Digital IC Trainer Kit,
4mm. Patch cards etc.
PIN Diagram:
Circuit Diagram:
Note: A1, A2, A3, A4 & B1, B2, B3, B4 & Cin are the Inputs.
S1, S2, S3, S4 and Cout are the Outputs.
Problems:
A := 1111 1111 1100 1100 0111
B := 0000 0000 0011 0011 1110
Cin : = 0 1 0 1 1
Sum = (Do it yourself)
II Step:
Adding 1’s complement of Subtrahend to the minuend
A4 ,A3, A2, A1 = 1 0 0 1 Given Larger Number
B4, B3, B2, B1 = + 1 1 0 0
=10101
Example 1: Subtract
A4 ,A3, A2, A1 = 1 0 0 1
B4, B3, B2, B1 = 0 0 1 1 Give this from Trainer Kit
II Step:
A4 ,A3, A2, A1 = 1 0 0 1 Given Larger Number
B4, B3, B2, B1 = + 1 1 0 1
10110
Carry generated
III Step:
Neglect the carry to get true Answer
Therefore Answer = 0 1 1 0 - Trainer Kit
II Step:
Adding 1’s complement of Subtrahend to the minuend
A4 ,A3, A2, A1 = 0 0 1 1 Given Larger Number
B4, B3, B2, B1 = +0 1 1 0
= 1 0 0 1 Trainer Kit Final Output
0 1 1 0 True Answer
Example 1: Subtract
A4 ,A3, A2, A1 = 0 0 1 1 3
B4, B3, B2, B1 = 1 0 0 1 9 Give this from Trainer Kit
II Step:
A4, A3, A2, A1 = 0 0 1 1 Given Larger Number
B4, B3, B2, B1 = + 0 1 1 1
1 0 1 0 Trainr Kit Final Output
III Step: Here theoretically perform 2’s Compliment operation to get True Answer.
1 0 1 0 (Trainer Kit Output)
2’s Compliment
0 1 1 0 True Answer
Problems:
A := 0110 1100 0 1 00 0111 1111
B:= 0100 0111 0110 1100 1111
Procedure:
1. The connections are made as shown in Circuit(by referring IC PIN diagram)
2. The input terminals are connected to the toggle switches & the output is
connected to the Output Connector (LED’s).
3. The power is applied between the VCC & Ground terminals.
4. The Logic levels are applied at the Input for all combinations indicated in
Truth Table & the Output is observed on LED’s.
5. Given problems should be worked out & get the outputs.
Multiplexer:
Multiplexer has many data input lines and one output line.
Multiplexer (MUX) places the data of one of its input lines on the output line.
MUX has a set of “n” address lines to select one of 2n input line
SOP realization is possible using MUX.
In other words, the multiplexer works like the input selector. Only one input is
selected at a time, and the selected input is transmitted to the single output.
Demultiplexer:
A demultiplexer (DEMUX) is a device which essentially performs the opposite opera-
tion to the MUX. That is, it functions as an electronic switch (or data distributor) to
route an incoming data signal to one of several outputs.
The demultiplexer is the inverse of the multiplexer, in that it takes a single data
input and n address inputs. It has 2n outputs. Output is inverted in IC 74139 1:4
Demultiplixer.
Components &equipments required: IC 74153, 74139, 7404, 7408, 7432, 7400 &
7420. Digital IC Trainer Kit, 4mm. Patch cards etc.
Connection Diagram MUX:
Truth Table:
Address
Enable
Select Data Inputs Output
Inputs Comments
Inputs
S1 S0 I0 I1 I2 I3 Y
0 0
0 0 0 X X X I0 Selected
1 1
0 0
0 0 1 X X X I1 Selected
1 1
0 0
0 1 0 X X X I2 Selected
1 1
0 0
0 1 1 X X X I3 Selected
1 1
1 X X X X X X X MUX Disabled
Circuit Diagram:
Truth Table:
Address
Data Input Select Data Outputs
Inputs Comments
S1 S0 Y0 Y1 Y2 Y3
(Da) (Db)
0 0 0 0 0 1 1 1 Y0 Selected
0 1 1 0 1 1 Y1 Selected
1 0 1 1 0 1 Y2 Selected
1 1 1 1 1 0 Y3 Selected
Circuit Diagram:
Procedure:
1. The connections are made as shown in Circuit(by referring IC PIN diagram)
2. The input terminals are connected to the toggle switches & the output is
connected to the Output Connector (LED’s).
3. The power is applied between the VCC & Ground terminals.
4. The Logic levels are applied at the Input for all combinations indicated in
Truth Table & the Output is observed on LED’s.
5. X in the truth table indicates Don’t care condition since depending on the
selection line the data line will be selected.
Circuit Diagram:
OR
Truth Table:
Input Output
A B S C
S1 S0 Ia Ib
0 0 0 0 0
1 0 1 1 0
2 1 0 1 0
3 1 1 0 1
Circuit Diagram:
Input Output
A B Cin S Cout
0 0 0 0 0 0
1 0 0 1 1 0
2 0 1 0 1 0
3 0 1 1 0 1
4 1 0 0 1 0
5 1 0 1 0 1
6 1 1 0 0 1
7 1 1 1 1 1
Circuit Diagram:
OR
Circuit Diagram:
OR
Truth Table:
Input Output
A B D B
S1 S0 Ia Ib
0 0 0 0 0
1 0 1 1 1
2 1 0 1 0
3 1 1 0 0
Circuit Diagram:
Input Output
A B Bin D Bout
0 0 0 0 0 0
1 0 0 1 1 1
2 0 1 0 1 1
3 0 1 1 0 1
4 1 0 0 1 0
5 1 0 1 0 0
6 1 1 0 0 0
7 1 1 1 1 1
Circuit Diagram:
Truth Table:
OR
Implementation Table:
Input Output
A B Bin D Bout
0 0 0 0 0 0
Bin Bin
1 0 0 1
1 1
2 0 1 0 1 1
Logic
3 0 1 1 0 1
1
4 1 0 0 1 0
Logic
5 1 0 1 0 0
0
6 1 1 0 0 0
Bin Bin
7 1 1 1
1 1
Circuit Diagram:
Procedure:
1. The connections are made as shown in Circuit(by referring IC PIN diagram)
2. The input terminals are connected to the toggle switches & the output is
connected to the Output Connector (LED’s).
3. The power is applied between the VCC & Ground terminals.
4. The Logic levels are applied at the Input for all combinations indicated in
Truth Table & the Output is observed on LED’s.
JK Flip-Flop: One way of overcoming the problem with oscillation that occurs with
a JK Flip-Flop when J= K = 1 is to use a so-called master-slave flip- flop which is
illustrated in the circuit diagram.
The master-slave flip-flop is essentially two back-to-back JKFFs, note however, that
feedback from this device is fed back both to the master FF and the slave FF.
Any input to the master-slave flip-flop at J and K is first seen by the master FF part
of the circuit while CLK is High (= 1). This behaviour effectively "locks" the input into
the master FF. An important feature here is that the complement of the CLK pulse
is fed to the slave FF. Therefore the outputs from the master FF are only "seen" by
the slave FF when CLK is Low (=0). Therefore on the High-to-Low CLK transition the
outputs of the master are fed through the slave FF. This means that at most one
change of state can occur when J=K = 1 and so oscillation between the states Q=O
and Q= 1 during the same CLK pulse does not occur.
Master-Slave JK Flip-flop
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.
The TTL 74HC76 is a Dual JK flip-flop IC, which contains two individual JK type
bistable’s within a single chip enabling single or master-slave toggle flip-flops to be
made. Other JK flip flop IC’s include the 74LS107 Dual JK flip-flop with clear, the
74LS109 Dual positive-edge triggered JK flip flop and the 74LS112 Dual negative-
edge triggered flip-flop with both preset and clear inputs.
The Master-Slave Flip-Flop is basically two gated SR flip-flops connected together in
a series configuration with the slave having an inverted clock pulse. The outputs
from Q and Q from the “Slave” flip-flop are fed back to the inputs of the “Master”
with the outputs of the “Master” flip flop being connected to the two inputs of the
“Slave” flip flop. This feedback configuration from the slave’s output to the master’s
input gives the characteristic toggle of the JK flip flop.
The input signals J and K are connected to the gated “master” SR flip flop which
“locks” the input condition while the clock (Clk) input is “HIGH” at logic level “1”.
As the clock input of the “slave” flip flop is the inverse (complement) of the
“master” clock input, the “slave” SR flip flop does not toggle. The outputs from the
“master” flip flop are only “seen” by the gated “slave” flip flop when the clock input
goes “LOW” to logic level “0”.
When the clock is “LOW”, the outputs from the “master” flip flop are latched and
any additional changes to its inputs are ignored. The gated “slave” flip flop now
responds to the state of its inputs passed over by the “master” section.
Then on the “Low-to-High” transition of the clock pulse the inputs of the “master”
flip flop are fed through to the gated inputs of the “slave” flip flop and on the “High-
to-Low” transition the same inputs are reflected on the output of the “slave” making
this type of flip flop edge or pulse-triggered.
Then, the circuit accepts input data when the clock signal is “HIGH”, and passes the
data to the output on the falling-edge of the clock signal. In other words,
the Master-Slave JK Flip flop is a “Synchronous” device as it only passes data with
the timing of the clock signal.
Components &equipments required: IC 7400, & 7410. Digital IC Trainer Kit, 4mm.
Patch cards etc.
Circuit Diagram:
Truth Table:
Inputs Outputs
Comments
J K CLK Qn n
Indeterminate
0 0 X X X 1 1
State
0 1 X X X 1 0 FF Preset(Set)
1 0 X X X 0 1 FF Cleared(Reset)
1 1 0 1 0 1 Reset
1 1 1 0 1 0 Set
Note:
Keep = 1 and =1 for verifying the Truth Table of JK Master-
Slave FF & T FF.
Q n is Output level before giving Clock pulse.
Circuit Diagram:
Truth Table:
Inputs Outputs
Comments
T CLK Qn n
Indeterminate
0 0 X X 1 1
State
0 1 X X 1 0 FF Preset(Set)
1 0 X X 0 1 FF Cleared(Reset)
1 1 0 X Q n-1 n-1 Previous
1 1 1 n-1 Q n-1 Toggle
Circuit Diagram:
Truth Table:
Inputs Outputs
Comments
D CLK Qn n
Indeterminate
0 0 X X 1 1
State
0 1 X X 1 0 FF Preset(Set)
1 0 X X 0 1 FF Cleared(Reset)
1 1 0 0 1 Data transferred
1 1 1 1 0 Data transferred
Circuit Diagram:
Procedure:
1. The connections are made as shown in Circuit(by referring IC PIN diagram)
2. The input terminals (JK, T & D) are connected to the toggle switches & the
output is connected to the Output Connector (LED’s).
3. The power is applied between the VCC & Ground terminals.
4. Connect clock pin to the bounce less pulsar HIGH or LOW
5. The Logic levels are applied at the Inputs as indicated in Truth Table & the
Output is observed on LED’s.
6. X in the truth table indicates Don’t Care condition.
Counters: The synchronous design of any sequential circuit application for example
counter is a design in which all the flip-flops are connected to a common clock input
that is, all the flip-flops are clocked simultaneously. Therefore to get the next state
of application actual inputs of the flip-flop should be designed according to the
requirement.
Hence excitation tables are used to design the actual inputs of the flip-flops to get
the next stage. The excitation table gives the combination of input for the required
output condition before and after the application of clock.
Ripple Counter
A ripple counter is an asynchronous counter where only the first flip-flop is clocked
by an external clock. All subsequent flip-flops are clocked by the output of the
preceding flip-flop. Asynchronous counters are also called ripple-counters because
of the way the clock pulse ripples it way through the flip-flops.
The MOD of the ripple counter or asynchronous counter is 2n if n flip-flops are used.
For a 4-bit counter, the range of the count is 0000 to 1111 (24-1). A counter may
count up or count down or count up and down depending on the input control. The
count sequence usually repeats itself. When counting up, the count sequence goes
from 0000, 0001, 0010, ... 1110 , 1111 , 0000, 0001, ... etc. When counting down
the count sequence goes in the opposite manner: 1111, 1110, ... 0010, 0001, 0000,
1111, 1110, ... etc.
There are many ways to implement the ripple counter depending on the
characteristics of the flip flops used and the requirements of the count sequence.
Clock Trigger: Positive edged or Negative edged
JK or D flip-flops
Count Direction: Up, Down, or Up/Down
Asynchronous counters are slower than synchronous counters because of the delay
in the transmission of the pulses from flip-flop to flip-flop. With a synchronous
circuit, all the bits in the count change synchronously with the assertion of the clock.
Examples of synchronous counters are the Ring and Johnson counter.
It can be implemented using D-type flip-flops or JK-type flip-flops.
The circuit below uses 2 D flip-flops to implement a divide-by-4 ripple counter (2n =
22 = 4). It counts down.
Components & equipment’s required: IC 7476, 7400, 7404, 7408 & 7410. Digital IC
Trainer Kit, 4mm. Patch cards etc.
Circuit Diagram:
Note:
J & K inputs of Flip-Flops are connected to logic 1 or Keep it open to operate
under toggle mode.
When Preset = 1, Clear = 0; Counter is cleared Q0 = Q1 = Q2 = 0
When Preset = 0, Clear = 1; Counter is preset Q0 = Q1 = Q2 = 1
Keep Preset = 1, Clear = 1 for count mode.
Truth Table:
No. of Flip-Flop
Clock Outputs
Pulses Q2 Q1 Q0
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
7 1 1 1
8 0 0 0
Circuit Diagram:
Truth Table:
No. of Flip-Flop
Clock Outputs
Pulses Q2 Q1 Q0
0 1 1 1
1 1 1 0
2 1 0 1
3 1 0 0
4 0 1 1
5 0 1 0
6 0 0 1
7 0 0 0
8 1 1 1
Circuit Diagram:
Truth Table:
No. of Flip-Flop
Clock Outputs
Pulses Q2 Q1 Q0
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 0 0 0
Circuit Diagram:
Note:
When Mode control is at logic 1 counter works as an Up-counter.
When Mode control is at logic 0 counter works as a Down-counter.
Specifications of Equipment’s
BC182
BC107 NPN TO18 100mA 45V 110 300mW Audio, low power
BC547
BC547B NPN TO92C 100mA 45V 200 500mW Audio, low power BC107B
General purpose,
BC548B NPN TO92C 100mA 30V 220 500mW BC108B
low power
General purpose,
2N3055 NPN TO3 15A 60V 20 117W ---
high power
General purpose,
BC478 PNP TO18 150mA 40V 125 360mW BC178
low power
BC177 PNP TO18 100mA 45V 125 300mW Audio, low power BC477
General purpose,
BC178 PNP TO18 200mA 25V 120 600mW low power
BC478
General purpose,
TIP32A PNP TO220 3A 60V 25 40W TIP32C
high power
Note: the data in this table is from several sources which may be modified or
changed. Most of the discrepancies are minor, but please refer data sheets from
supplier if you require precise data. The above table contents are explained below:
Structure: This shows the type of transistor, NPN or PNP. The polarities of the two
types are different, so if you are looking for a substitute it must be the same type.
Case style: There is a diagram showing the leads for some of the most common case
styles in the Connecting section above. This information is also available in suppliers'
catalogues.
IC max. : Maximum collector current.
VCE max. : Maximum voltage across the collector-emitter junction. You can ignore
this rating in low voltage circuits.
hFE: This is the current gain (strictly the DC current gain). The guaranteed minimum
value is given because the actual value varies from transistor to transistor - even for
those of the same type! Note that current gain is just a number so it has no units.
The gain is often quoted at a particular collector current IC which is usually
in the middle of the transistor's range, for example '100@20mA' means the gain is at
least 100 at 20mA. Sometimes minimum and maximum values are given. Since the
gain is roughly constant for various currents but it varies from transistor to transistor
this detail is only really of interest to experts.
Ptot max: Maximum total power which can be developed in the transistor, note that
a heat sink will be required to achieve the maximum rating. This rating is important
for transistors operating as amplifiers. The power is roughly IC × VCE. For transistors
operating as switches the maximum collector current (IC max.) is more important.
Category: This shows the typical use for the transistor, it is a good starting point
when looking for a substitute. Catalogues may have separate tables for different
categories.
Possible substitutes: These are transistors with similar electrical properties which
will be suitable substitutes in most circuits. However, they may have a different
case style so you will need to take care when placing them on the circuit board.
Follow us on
/REVAUniversity www.reva.edu.in