ESC-391 ADE Manual
ESC-391 ADE Manual
ESC-391 ADE Manual
Electronics Laboratory
(ESC-391)
LABORATORY MANUAL
LIST OF CONTENTS
Contents Page
No.
Syllabus i
SYLLABUS
Analog Electronics
1. Design a Class A amplifier
2. Design a Phase-Shift Oscillator
3. Design of a Schmitt Trigger using 555 timer
Digital Electronics
4. Design a Full Adder using basic gates and verify its output / Design a Full
Subtractor circuit using basic gates and verify its output.
5. Construction of simple Decoder & Multiplexer circuits using logic gates.
6. Realization of RS / JK / D flip flops using logic gates
7. Design of Shift Register using J-K / D Flip Flop
8. Realization of Synchronous Up/Down counter
9. Design of MOD- N Counter
10. Study of DAC
Experiment # 1
TITLE: DESIGN A CLASS A AMPLIFIER
AIM
To design and test the class A power amplifier
THEORY
In a Class A amplifier, If the collector current flows at all times during the full cycle of the
input signal, the power amplifier is known as class A power amplifier. It conducts all of
the time, even for very small signals, or when no signal is present. As the output device is
always conducting this current represents a loss of power in the amplifier. The maximum
theoretical efficiency that a class A amplifier can achieve is 50% efficiency with inductive
output coupling or just 25% with capacitive coupling. In practice, the actual figures
obtained are much less than this for a variety of reasons including circuit losses and the
fact that waveforms do not normally remain at their maximum values, where the
maximum efficiency levels are achieved.
Accordingly, the Class A amplifier provides a linear output with the lowest distortion, but
it also has the lowest efficiency level.
COMPONENTS / APPARATUS REQUIRED
Trainer kit
CRO
Multimeter
CIRCUIT DIAGRAM
PROCEDURE
1. Switch ON Class-A power amplifier.
2. Set input voltage (50 to 100 mV), at 1 kHz using a signal generator and observe
the output voltage.
3. By keeping the input voltage constant, vary the frequency from 0 to 1 MHz in the
regular step.
4. Note down the corresponding output voltage from CRO.
5. Calculate the DC input power using the formula Pdc = VccIc
6. Calculate the AC output power using the formula Pac = Vo(p-p)2/8RL
7. Calculate the efficiency η = (Pac / Pdc)*100
8. Plot the graph between Gain [Gain in dB = 20log (Vo/Vi)] and frequency.
9. Calculate bandwidth from the graph.
EXPERIMENTAL DATA
RESULT
Gain and frequency as observed of Class A amplifier.
Efficiency η = (Pac / Pdc)*100 =
Experiment # 2
TITLE: PHASE SHIFT OSCILLATOR USING OPAMP
AIM
To design an RC Phase Shift oscillator using op-amp for a given frequency of 1 kHz.
THEORY
An oscillator is a circuit that produces a periodic waveform on its output with only the dc
supply voltage as a required input. A repetitive input signal is not required but is
sometimes
used to synchronize oscillations. The output voltage can be either sinusoidal or non-
sinusoidal, depending on the type of oscillator.
RC phase-shift oscillator is a linear electronic oscillator circuit that produces a sine wave
output. It consists of an inverting amplifier element such as a transistor or op-amp with
its
output fed back to its input through a phase-shift network consisting of resistors and
capacitors in a ladder network. Each of the three RC networks in the feedback loop can
provide a maximum phase shift approaching 90 degrees. Oscillation occurs at the
frequency where the total phase shift through the three RC networks is 180 degrees.
Inversion output at the output of op-amp itself produces the additional 180 degree to
meet the requirement for oscillation of 360 degrees (or zero degree) phase shift around
the feedback loop. The attenuation B of the three section RC feedback network is B =
1/29.
DESIGN
Rf = ACL X R1 = 29 X 6.8 X 103 = 197.2 KΩ, Select the value of 220 KΩ or 1 MΩ for Rf
for a stable result
CIRCUIT DIAGRAM
RESULT
An RC phase shift oscillator was designed for a frequency of 1 kHz.
The observed frequency is _______________ kHz
Experiment # 3
TITLE: SCHMITT TRIGGER USING 555 TIMER
AIM
To design and construct a Schmitt trigger using IC 555 Timer.
THEORY
The high and low transitions on the inputs of most of the CMOS devices should be fast
edges. If the edges are not fast enough, they tend to provide more current and this might
damage the device. Analog signals are generally not perfect and might not have clean
edges all the time. Schmitt Trigger is a special type of comparator that is used to avoid
such signals.
The important characteristic of the Schmitt trigger is Hysteresis. The output of the
Schmitt trigger is high if the input voltage is greater than the upper threshold value and
the output of the Schmitt trigger is low if the input voltage is lower than the lower
threshold value.
The output retains its value when the input is between the two threshold values. The
usage of two threshold values is called Hysteresis and the Schmitt trigger acts as a
memory element (a bistable multivibrator or a flip-flop).
The threshold values are 2/3 VCC and 1/3 VCC i.e. the upper comparator trips at 2/3 VCC
and the lower comparator trips at 1/3 VCC. The input voltage is compared to these
threshold values by the individual comparators and the flip-flop is SET or RESET
accordingly. Based on this the output becomes high or low.
When a sine wave of amplitude (>2/3 VCC) is applied at the input, the flip-flop is set and
reset alternately for the positive cycle and the negative cycle. The output is a square
wave and the waveforms for the input sine wave and output square wave are shown.
IC555 -1 No
Resistors (100 KΩ-2 Nos, 1 KΩ-1No.)
Capacitors (0.1 µF, 0.01 µF)
Trainer kit
Multimeter
CRO
CIRCUIT DIAGRAM
PROCEDURE:
1. Initially set +VCC = 12 volts.
2. As shown in the circuit diagram connect the circuit for Schmitt Trigger on
breadboard.
3. Apply the input sine wave with peak voltage greater than the designed voltage
(upper threshold) using function generator.
4. Connect the channel-1 of CRO at the input terminals and Channel-2 at the output
terminals.
5. Observe the output square waveform corresponding to input sinusoidal signal.
6. Overlap both the input and output waves and note down voltages at positions on
sine wave where output changes its state. These voltages denote the Upper
threshold voltage and the Lower threshold voltage.
7. Verify that these practical threshold voltages are almost same as the theoretical
Threshold voltages calculated using formula.
8. Sketch/Trace the waveforms on graph paper by noting down the amplitude and
the time period of the input Vin and the output Vo.
RESULT
Experiment # 4
TITLE: FULL ADDER AND FULL SUBTRACTOR CIRCUIT USING BASIC GATES
AIM
Design a Full Adder and Full Subtractor circuit using basic gates and verify the truth
tables.
COMPONENTS REQUIRED:
IC 7404, IC 7408, IC 7486, and IC 7432, Patch chords and Trainer Kit.
FULL ADDER
THEORY
Full Adder is the adder that adds three inputs and produces two outputs. The first two inputs are
A and B and the third input is an input carry as C-IN. The output carry is designated as C-OUT and
the normal output is designated as S which is SUM. Full adder logic is designed in such a manner
that can take eight inputs together to create a byte-wide adder and cascade the carry bit from
one adder to another. We use a full adder because when a carry-in bit is available, another 1-bit
adder must be used since a 1-bit half-adder does not take a carry-in bit. A 1-bit full adder adds
three operands and generates 2-bit results.
A SUM
Full
B Adder
C-Out
C-IN
CIRCUIT DIAGRAM
TRUTH TABLE
INPUTS OUTPUTS
A B C-IN SUM C-Out
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
Logical Expression for SUM: = A’ B’ C-IN + A’ B C-IN’ + A B’ C-IN’ + A B C-IN = C-IN (A’ B’ +
A B) + C-IN’ (A’ B + A B’) = C-IN XOR (A XOR B) = (1, 2, 4, 7)
FULL SUBTRACTOR
THEORY
A full subtractor is a combinational circuit that performs subtraction involving three bits, namely
A (minuend), B (subtrahend), and Bin (borrow-in). It accepts three inputs: A (minuend), B
(subtrahend), and a B-in (borrow bit) and it produces two outputs: D (difference) and B-out
(borrow out). The logic symbol and truth table are shown below
A D (difference)
Full
B Subtractor
B-out
B-in
CIRCUIT DIAGRAM
TRUTH TABLE
INPUTS OUTPUTS
A B B-in DIFFERENCE(D) B-out
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
PROCEDURE
RESULT/OBSERVATION
Full Adder and Full Subtractor circuits were constructed using basic gates and values of
the truth tables were also verified.
Experiment # 5
TITLE: CONSTRUCTION OF SIMPLE DECODER & MULTIPLEXER CIRCUITS USING
LOGIC GATES
AIM
To construct simple Decoder & Multiplexer circuits using logic gates and verify the truth
tables
COMPONENTS REQUIRED:
DECODER
THEORY
The name “Decoder” means to translate or decode coded information from one format
into another, so a digital decoder transforms a set of digital input signals into an
equivalent decimal code at its output
A decoder is a combinational circuit that converts binary information from n input lines
to a maximum of m = 2n unique output lines.
Q
A
2X4 Binary Q Output
Input
Decoder Q
B
Q
The binary inputs A and B determine which output line from Q0 to Q3 is “HIGH” at logic
level “1” while the remaining outputs are held “LOW” at logic “0” so only one output can
be active (HIGH) at any one time. Therefore, whichever output line is “HIGH” identifies
the binary code present at the input, in other words, it “decodes” the binary input. Some
binary decoders have an additional input pin labeled “Enable” that controls the outputs
from the device.
This extra input allows the decoder's outputs to be turned “ON” or “OFF” as required.
Output is only generated when the Enable input has a value of 1; otherwise, all outputs
are 0. Only a small change in the implementation is required: the Enable input is fed into
the AND gates which produce the outputs.
If Enable is 0, all AND gates are supplied with one of the inputs as 0 and hence no output
is produced. When Enable is 1, the AND gates get one of the inputs as 1, and now the
output depends upon the remaining inputs. Hence the output of the decoder is
dependent on whether the Enable is high or low.
MULTIPLEXER
THEORY
A digital multiplexer is similar to a multi-position switch with many inputs and only one
output. It has control inputs to select a particular input. Multiplexer is a data selector
that provides the mechanism to select single binary information from many input lines
and passes it to the output line. It is also called a channel selector and abbreviated as
Mux. A multiplexer has m select lines, 2m inputs, and only one output as shown in the
figure. Commercially, multiplexers ICs (integrated circuits) are available in powers of 2,
e.g. 2:1, 4:1, 8:1, and 16:1 Mux
To construct a 4 to 1 multiplexer 22 that gives 4 input lines and 2 selection lines are
required.
OR
S0 S1 Y
0 0 I0
0 1 I1
1 0 I2
1 1 I3
Y = I0S +
S Y
0 I0
1 I1
PROCEDURE
RESULT/OBSERVATION
Decoder & Multiplexer circuits were constructed using logic gate ICs and values of the
truth table were also verified.
Experiment # 6
TITLE: REALIZATION OF RS / JK / D FLIP FLOPS USING LOGIC GATES
AIM
To construct and realize RS / JK / D flip-flops circuits using logic gates and verify the truth
tables
COMPONENTS REQUIRED:
RS FLIP-FLOP
THEORY
The simplest kind of sequential circuit which is capable of storing one bit of information is called
latch. The operation of basic latch can be modified, by providing an additional control input that
determines when the state of the circuit is to be changed. The latch with additional control input
is called the Flip-Flop. The additional control input is either the clock or enable input. Clock signal
controls the instant at which flip flop changes the state. Whenever the clock signal is LOW, the
inputs S and R are never going to affect the output. The clock has to be high for the inputs to get
active. Thus, SR flip-flop is a controlled Bi-stable latch where the clock signal is the control signal.
There are majorly 4 types of flip-flops, with the most common one being RS flip-flop. This simple
flip-flop circuit has a set input (S) and a reset input (R). In this system, when Set (S) as active the
output Q would be high and Q‘ will be low. Once the outputs are established, the wiring of the
circuit is maintained until S or R go high, or power is turned off.
CLOCK DIAGRAM
JK FLIP-FLOP
THEORY
The name JK flip-flop is termed by the inventor Jack Kilby from texas instruments. In an
RS flip-flop, the input R=S=1 leads to an indeterminate output. The RS flip-flop circuit may
be re-joined if both inputs are 1 then also the outputs complement each other and the
advantage is that this has a toggling function.
One of the most useful and versatile flip-flops is the JK flip-flop the unique features of a
JK flip-flop are:
1. If the J and K input are both at 1 and the clock pulse is applied, then the output
will change state, regardless of its previous condition.
2. If both J and K inputs are at 0 and the clock pulse is applied there will be no
change in the output. There is no indeterminate condition in the operation of the
JK flip-flop i.e. it has no ambiguous state.
Operation:
When J = 0 and K = 0
When both J and K inputs are at 0, these J and K inputs disable the NAND gates, therefore
clock pulse does not affect the flip-flop. In other words, Q returns its last value.
When J = 0 and K = 1
The upper NAND gate is disabled the lower NAND gate is enabled if Q is 1 therefore, the
flip flop will be reset (Q = 0, Q =1) if not already in that state.
When J = 1 and K = 0
The lower NAND gate is disabled and the upper NAND gate is enabled if Q is at 1, As a
result, we will be able to set the flip flop (Q = 1, Q = 0) if not already set.
When J = 1 and K = 1
If Q = 0 the lower NAND gate is disabled the upper NAND gate is enabled. This will set
flip-flop and hence Q will be 1. On the other hand If Q = 1 the lower NAND gate is
enabled and flip-flop will be reset and hence Q will be 0. In other words, when J and K are
both high, the clock pulse causes the JK flip-flop to toggle.
CLOCK DIAGRAM
D FLIP-FLOP
THEORY
A D flip flop has a single data input. This type of flip flop is obtained from the SR flip flop
by connecting the R input through an inverter, and the S input is connected directly to
data input. The modified clocked SR flip-flop is known as D-flip-flop and It ensures that at
the same time, both the inputs, i.e., S and R, are never equal to 1.
Only single data bit, D is required to drive the flip-flop. When clock signal is at low level,
data bit D is prevented to reach at output Q until clock signal becomes high at next pulse.
When data bit D is high, output Q gets at high level and when data bit D is low, output Q
gets at low level. So D flip-flop transfers the data bit D to Q as it is. and Q remains in the
same state until the next pulse of clock arrives.
CLOCK DIAGRAM
PROCEDURE
RESULT/OBSERVATION
RS / JK / D flip flops circuits were constructed using logic gate ICs and values of the truth
table were also verified.
Experiment # 7
TITLE: DESIGN AND VERIFY THE 4-BIT SERIAL IN - PARALLEL OUT SHIFT REGISTER
AIM
To design and verify a 4-bit serial in - parallel out (SIPO) shift register
COMPONENTS REQUIRED
IC 7474, Patch Cords, and Trainer Kit.
THEORY
Shift registers are a type of sequential logic circuit, mainly used for the storage and
transfer of digital data. They are a group of flip-flops connected in a chain so that the
output from one flip-flop becomes the input of the next flip-flop. All the flip-flops are
driven by a common clock and are set or reset simultaneously.
The serial in/serial out shift register accepts data serially - that is, one bit at a time on a
single line. It produces the stored information on its output also in serial form.
The serial in/parallel out shift register consists of one serial input, and outputs are taken
from all the flip-flop parallel. In this register, data is shifted in serially but shifted out in
parallel. In order to shift the data out in parallel, it is necessary to have all the data
available at the outputs at the same time. Once the data is stored, each bit appears on its
respective output line and all the bits are available simultaneously, rather than on a bit-
by-bit basis as with the serial output.
The parallel in/serial out shift register accepts data in parallel, i.e., the bits are entered
simultaneously into their respective flip-flops rather than on a bit-by-bit basis on one
line. The I/P of the second FF is the 0/P of the first flip-flop. It produces the stored
information on its output also in serial form.
The parallel in/parallel out shift register accepts data in parallel. Data inputs can be
shifted either in or out of the register in parallel. It produces the stored information on its
output in parallel form.
CLOCK DIAGRAM
The serial data 1011 pattern is presented at the Serial input. This data is synchronized
with the clock CLK.
On the first clock at t1, the data 1 at Serial input is shifted from D to Q of the first shift
register stage. After t2 this first data bit is at Q2.
After t3 it is in Q1. After t4 it is at Q0. Four clock pulses have shifted the first data bit all the
way to the last stage Q0.
The second data bit a 0 is at Q1 after the 4th clock. The third data bit a 1 is at Q2. The
fourth data bit another 1 is in Q3.
Thus, the serial data input pattern 1011 is contained in (Q0 Q1 Q2 Q3). It is now available
on the four outputs.
It will available on the four outputs from just after clock t4 to just before t5.
PROCEDURE
RESULT/OBSERVATION
4-Bit Serial In - Parallel Out shift Register circuit was constructed using D flip-flop ICs and
values of the truth table were also verified.
Experiment # 8
TITLE: REALIZATION OF SYNCHRONOUS UP/DOWN COUNTER
AIM
To construct and realize a 3-bit synchronous Up/Down counter circuit and verify the
truth table.
COMPONENTS REQUIRED:
IC 7476, IC 7408, IC 7404, IC 7432, Patch chords, and Trainer Kit.
THEORY
A counter in which each flip-flop is triggered by the output goes to the previous flip-flop.
As all the flip-flops do not change states simultaneously in the asynchronous counter,
spikes occur at the output. To avoid this, a strobe pulse is required. Because of the
propagation delay, the operating speed of the synchronous counter is low. This problem
can be solved by triggering all the flip-flops in synchronous with the clock signal and such
counters are called synchronous counters.
“Universal” type of counter that can count in both directions either Up or Down
depending on the state of their input control pin and these are known as Bidirectional
Counters which are capable of counting in either direction through any given count
sequence and they can be reversed at any point within their count sequence by using an
additional control input (M).
The circuit below is of a simple 3-bit Up/Down synchronous counter using JK flip-flops
configured to operate as a toggle or T-type flip-flops giving a maximum count of zero
(000) to seven (111) and back to zero again. Then the 3-Bit counter advances upward in
sequence (0,1,2,3,4,5,6,7) or downwards in reverse sequence (7,6,5,4,3,2,1,0).
CIRCUIT DIAGRAM
M Clock Q3 Q2 Q1
0 0 0 0 0
0 1 0 0 1
0 2 0 1 0
0 3 0 1 1
0 4 1 0 0
0 5 1 0 1
0 6 1 1 0
0 7 1 1 1
0 8 0 0 0
1 0 0 0 0
1 1 1 1 1
1 2 1 1 0
1 3 1 0 1
1 4 1 0 0
1 5 0 1 1
1 6 0 1 0
1 7 0 0 1
1 8 0 0 0
TIMING DIAGRAM
OPERATION
Here -ve edge-triggered clock pulse is used for toggling purposes.
After every falling edge, when T = 1, the output state of Flip Flop will toggle.
Initially Q3 = 0 , Q2= 0 , Q1= 0.
Case 1 : When M=0 ,then M’= 1
T3 = M’Q2Q1 + MQ’2Q’1 = Q2Q1.
T2 = M’Q1 + MQ’1= 1.Q1= Q1.
T1= 1.
Because T1= 1, therefore FF1 output state toggles for every falling edge. The
output state of FF2 will toggle when Q1 = 1 and the falling edge of the clock pulse
occurs. The output state of FF3 will toggle only when Q2.Q1= 1 and the falling
edge of the clock pulse occurs.
In this way, after every falling edge, state transition takes place and we can get
our desired counting sequence.
Case 2 : When M=1 ,then M’ =0
T3 = M’Q2Q1+MQ’2Q’1 = Q’2Q’1
T2 = M’Q1+ MQ’1= 1.Q1= Q’1.
T1= 1.
Because T1= 1, therefore FF1 output state toggles for every falling edge. The
output state of FF2 will toggle when Q’1 = 1 and the falling edge of the clock pulse
occurs.
The output state of FF3 will toggle only when Q’2.Q’1= 1 and the falling edge of
the clock pulse occurs.
In this way, after every falling edge, state transition takes place and we can get
our desired counting sequence.
PROCEDURE
3-bit Synchronous Up/Down counter circuit was constructed using ICs and the truth table
was verified.
Experiment # 9
TITLE: DESIGN OF MOD- N COUNTER
AIM
To design and implement the circuit of MOD-8 asynchronous counter using J-K flip-flops.
COMPONENTS REQUIRED:
THEORY
MOD Counters are cascaded counter circuits that count to a set modulus value before
resetting. Modulus Counters, or simply MOD counters, are defined based on the number
of states that the counter will sequence through before returning to its original value.
Mod-N counter is a counter which has states from 0 to N-1 (0 - 1 - 2 - 3- ……. N-1).
To construct a counter with any MOD number, the minimum number of flip-flops
required must satisfy Modulus ≤ 2n, where n is the number of flip-flops.
So for example, a 3 flip-flop counter will have a maximum count of 23 = 8. The number of
different output states a counter can produce is called the modulo of the counter. The
Modulus of a counter is the total number of unique states it passes through in one
complete counting cycle with a mod-n counter being described also as a divide-by-n
counter.
Asynchronous/ripple counters are constructed in such a way that the count pulses in
effect ripple through the FF chain. The output of the first FF is the clock input to the
second. Any state change in the 2nd FF occurs after the 1st FF changes its state. This
continues down the chain. A 3-bit (modulo-8) counter is shown below.
CIRCUIT DIAGRAM
TRUTH TABLE
PROCEDURE
1. Make connections as shown in the circuit diagram. The JK FFs are converted to T
FFs by connecting J K inputs of all FFs to 1.
2. Apply clock pulse to clock input to flip-flop FF0. Q0 goes to the clock input of FF1
and Q1 goes to the clock input of FF2 and so on.
3. Put CL and PR high using logic input switches.
4. Verify the count sequences of the Truth Table.
RESULT/OBSERVATION
MOD-8 asynchronous counter circuit was constructed using FF ICs and the count
sequence for each clock input given in the Table was verified.
Experiment # 10
TITLE: STUDY OF DAC
AIM
To design and test a 3-bit R-2R ladder type DAC.
THEORY
A Digital to Analog Converter (DAC) converts a digital input signal into an analog voltage
or current which is proportional to the digital value. The digital signal is represented with
a binary code, which is a combination of bits 0 and 1. It consists of several binary inputs
and a single output.
R-2R Digital-to-Analogue Converter, or DAC, is a data converter that uses two precision
resistors to convert a digital binary number into an analog output signal proportional to
the value of the digital number. A pair of R and 2R is used for one input bit. The digital
inputs are Vref (8 V) for input as 1 and GND for input 0.
CIRCUIT DIAGRAM
CALCULATION OF Vout
V R 8 2R 8
Voltage resolution = X − = X − = X (−1) = −1
2 R 2 2R 8
PROCEDURE
Binary Input
Vout(Theoretical) = (-1) X D Vout(Practical)
A B C
0 0 0 (-1) X 0 = 0
0 0 1 (-1) X 1 = -1
0 1 0 (-1) X 2 = -2
0 1 1 (-1) X 3 = -3
1 0 0 (-1) X 4 = -4
1 0 1 (-1) X 5 = -5
1 1 0 (-1) X 6 = -6
1 1 1 (-1) X 7 = -7
RESULT
R-2R Digital-to-Analog Converter circuit was constructed and observations were recorded
in the observation table.