Académique Documents
Professionnel Documents
Culture Documents
LABORATORY MANUAL
S. NO.
Page No.
1.a
03
1.b
07
2.
12
3.a
18
3.b
23
5.
COUNTERS
DESIGN AND IMPLEMENTATION OF 4-BIT SHIFT
REGISTERS
27
34
DEMULTIPLEXER
54
7.
59
8.
68
9.a
82
9.b
88
NE/SE 566 IC
FREQUENCY MULTIPLICATION USING NE/SE 565 PLL IC
http://annauniversitystudymaterials.blogspot.in/
94
100
Page 2
Experiment: 1.a
STUDY OF LOGIC GATES
Aim:
To study the truth tables of various logic gates and verify them experimentally
using appropriate integrated circuits.
Apparatus Required:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12
Component Name
AND Gate
OR Gate
NOT Gate
NAND Gate
NOR Gate
EXOR Gate
EXNOR Gate
Bread Board
Light Emitting Diodes
Connecting wires
Regulated Power supply
Current Limiting Resistor
Part No/Range
IC 7408
IC 7432
IC 7404
IC 7400
IC 7402
IC 7486
IC 4077
(0-30V)
330 ohm
Quantity in Nos
1
1
1
1
1
1
1
1
As Req.
As Req.
1
As Req.
Theory:
The logic gates are the basic building blocks of digital systems. A logic gate
produces an output level depending upon the input levels present at that instant. The
functionality of any logic gate can be explained by the corresponding truth table and
logical expression. Both NAND and NOR gates can perform all the three basic logic
functions (AND, OR and NOT), so they are called as Universal gates.
AND Gate Truth Table
http://annauniversitystudymaterials.blogspot.in/
Page 3
IC7432 OR Gate
http://annauniversitystudymaterials.blogspot.in/
Page 4
http://annauniversitystudymaterials.blogspot.in/
Page 5
Procedure:
1. Connections are made as shown in the wiring diagram.
2. The input logic levels are applied from D.C. power supply and the corresponding
output logic level is checked through an LED.
3. All possible input combinations and their corresponding outputs as per the truth
table, are verified.
http://annauniversitystudymaterials.blogspot.in/
Page 6
Experiment: 1.b
STUDY OF FLIP FLOPS
Aim:
To study the truth tables of various flip flops and verify them experimentally
using appropriate integrated circuits.
Apparatus Required:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
9.
Component Name
OR Gate
NOT Gate
NAND Gate
NOR Gate
Bread Board
Light Emitting Diodes
Connecting wires
Regulated Power supply
Current Limiting Resistor
Part No/Range
IC 7432
IC 7404
IC 7400
IC 7402
(0-30V)
330 ohm
Quantity in Nos
1
1
1
1
1
As Req.
As Req.
1
As Req.
Theory:
S-R Flip-flop:
The output Q is called the state of the flip-flop
S=1, R=0 Sets the state to 1
S=0, R=1 Resets (or Clears) the state to 0
S=0, R=0 is the Hold state
S=1, R=1 is not allowed
SR Flip-Flop- Excitation Table
http://annauniversitystudymaterials.blogspot.in/
Truth Table
Page 7
Because the 11 input will not be allowed, the result is a dont care, and Q = S + Rq. This
is the characteristic equation for an S-R flip-flop.
D Flip-flop:
When CLK = 0, the flip-flop holds
When CLK = 1
D q
0 0
1 0
0 1
1 1
Characteristic Equation: Q = D
D Flip-Flop-Excitation Table
D Flip-Flop-Truth Table
http://annauniversitystudymaterials.blogspot.in/
Page 8
J-K Flip-flop
If J and K are different then the output Q takes the value of J at the next clock
edge.
If J and K are both low then no change occurs. If J and K are both high at the
clock edge then the output will toggle from one state to the other.
Characteristic Equation
Q = Jq + Kq
http://annauniversitystudymaterials.blogspot.in/
Page 9
Truth Table:
T Flip-flop:
The T or "toggle" flip-flop changes its output on each clock edge, giving an
output which is half the frequency of the signal to the T input.
http://annauniversitystudymaterials.blogspot.in/
Page 10
Truth Table
Characteristic Equation
Q = Tq + Tq
Procedure:
1. Connections are made as shown in the logic diagram.
2. The input clock pulse are applied from digital trainer and the corresponding output
logic levels are checked through LEDs.
3. The workings of flip-flops are verified using truth table.
Inference:
Result:
Viva Questions:
1. What is mean by flip flop?
2. What is the difference between flip flops and latches?
http://annauniversitystudymaterials.blogspot.in/
Page 11
Experiment: 2
ADDERS, SUBTRACTORS AND REDUCTION OF A BOOLEAN EXPRESSION
USING KARNAUGH MAP
Aim:
To design, construct and test the following digital circuits;
1. Half-adder
2. Full-adder
3. Half-subtractor
4. Full-subtractor and to reduce the given Boolean expression using a Karnaugh
map, implement the reduced expression and test the same.
Apparatus Required:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
9.
Component Name
AND Gate
OR Gate
NOT Gate
EXOR Gate
Bread Board
Light Emitting Diodes
Connecting wires
Regulated Power supply
Current Limiting Resistor
Part No/Range
IC 7408
IC 7432
IC 7404
IC 7486
(0-30V)
330 ohm
Quantity in Nos
1
1
1
1
1
As Req.
As Req.
1
As Req.
Theory:
http://annauniversitystudymaterials.blogspot.in/
Page 12
Design Methodology:
The required circuits are designed using appropriate truth tables. Each output is
expressed as a Boolean algebraic function of all the inputs. The obtained logical
expressions for each of the outputs are reduced using either Karnaugh maps or Boolean
laws.
Karnaugh map:
Karnaugh map is a chart, composed of an arrangement of adjacent cells, each
representing a particular combination of variables in sum or product form. K-map
provides a simple, systematic method of simplifying a Boolean expression, without
changing the functionality of the expression. The simplification leads to reduction in
number of gate inputs during implementation.
Half Adder:
S(X, Y) = (1, 2)
S=X'Y+XY'
S= X Y
CARRY(X, Y) = (3)
CARRY=XY
Circuit
http://annauniversitystudymaterials.blogspot.in/
Truth Table
Page 13
K MAP
Full Adder:
S(X, Y, Z) = (1, 2, 3)
SUM(X,Y,Z) = X'Y'Z + XY'Z' + X'YZ' + XYZ
S= X Y Z
CARRY(X, Y, Z) = (7)
CARRY= XY + XZ + YZ
Circuit:
Truth Table
X
0
0
0
0
1
Y
0
0
1
1
0
Z
0
1
0
1
0
SUM
0
1
1
0
1
http://annauniversitystudymaterials.blogspot.in/
CARRY
0
0
0
1
0
Page 14
0
1
1
1
0
1
0
0
1
1
1
1
K MAP
Half Subtractor:
K MAP
Full Subtractor
Circuit
http://annauniversitystudymaterials.blogspot.in/
Page 15
Truth Table
X
0
0
0
0
1
1
1
1
Y
0
0
1
1
0
0
1
1
Z
0
1
0
1
0
1
0
1
Difference
0
1
1
0
1
0
0
1
Borrow
0
1
1
1
0
0
0
1
K MAP
http://annauniversitystudymaterials.blogspot.in/
Page 16
Procedure:
1. Connections are made as shown in the logic diagram.
2. The input logic levels are applied from D.C. power supply and the corresponding
output logic levels are checked through LEDs.
3. For adders and subtractors, all possible input combinations and their corresponding
outputs as per their truth tables are verified.
4. The given Boolean expression is entered in an appropriate K-map. Groups are formed
such that all the entries are covered. Equivalent terms representing each group is written
to obtain the simplified expression.
5. Step 4 operations are repeated for the canonical form representation of the given
expression and the simplified expression is obtained.
6. The simplified expressions obtained from step4 and steps 5 are compared for total
number of gate inputs. The expression with minimum number of gate inputs is
implemented using AND, OR and NOT gates and the truth table is verified.
http://annauniversitystudymaterials.blogspot.in/
Page 17
Inference:
Result:
Viva Questions:
1.
2.
3.
4.
5.
6.
7.
8.
Experiment: 3(a)
CODE CONVERTERS, ODD PARITY GENERATOR AND ODD PARITY
CHECKER
Aim:
To design, construct and test the following digital circuits;
1.
2.
3.
4.
Apparatus Required
S.No
1.
2.
3.
4.
Component Name
Not Gate
EXOR Gate
Bread Board
Light Emitting Diodes
Part No/Range
IC 7404
IC 7486
-
http://annauniversitystudymaterials.blogspot.in/
Quantity in Nos
1
2
1
As Req.
Page 18
Connecting wires
Regulated Power supply
Current Limiting Resister
(0-30V)
330 ohm
As Req.
1
As Req.
Theory:
Code Converter:
Code converters are logic circuits whose inputs are bit patterns representing
numbers or characters in one code and whose outputs are their corresponding
representations in a different code.
Gray Code:
It is a non-weighted code used in instrumentation and data acquisition systems,
where linear or angular displacement is measured and converted into equivalent digital
values. Gray code is an unit-distance code because successive code words in this code
differ by only one bit position.
Parity Generator and Parity Checker:
When binary data is transmitted, it is susceptible to noise that can alter or distort
its contents. The simplest technique for detecting single-bit errors is that of adding an
extra bit, known as the parity bit, to each word being transmitted. There are two types of
parity odd parity and even parity. For odd parity, the parity bit is set to a 1 at the
transmitter such that the total number of 1 bits in the word including the parity bit is an
odd number. When the digital data is received, the parity checking circuit generates an
error signal if the total number of 1 bits is even in an odd-parity system.
Design Methodology:
The required circuits are designed using appropriate truth tables. Each output is
expressed as a Boolean algebraic function of all the inputs. The obtained logical
expressions for each of the outputs are reduced using either Karnaugh maps or Boolean
laws.
Binary to Gray Converter:
http://annauniversitystudymaterials.blogspot.in/
Page 19
http://annauniversitystudymaterials.blogspot.in/
Page 20
http://annauniversitystudymaterials.blogspot.in/
Page 21
Procedure
http://annauniversitystudymaterials.blogspot.in/
Page 22
Experiment: 3(b)
http://annauniversitystudymaterials.blogspot.in/
Page 23
Aim:
To design
1. 8:3 Encoder
2. 3:8 Decoder
Apparatus Required:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Component Name
AND Gate
OR Gate
Not Gate
NAND Gate
NOR Gate
Bread Board
Light Emitting Diodes
Connecting wires
Regulated Power supply
Current Limiting Resister
Part No/Range
IC 7408
IC 7432
IC 7404
IC 7400
IC 7402
(0-30V)
330 ohm
Quantity in Nos
1
1
1
1
1
1
As Req.
As Req.
1
As Req.
Theory:
Encoder:
An encoder is a digital circuit that performs the inverse operation of a decoder.
An encoder has 2n input lines and n output lines. The output lines generate the binary
equivalent of the input line whose value is 1.At any one time, only one input line has a
value of 1. The figure below shows the truth table of an 8:3 encoder. It has got 8 inputs
and 3 outputs.
http://annauniversitystudymaterials.blogspot.in/
Page 24
Decoder:
It is a logic circuit that converts an n bit binary input code into m bit output
line activated such that any one is selected for each one of possible combination of
inputs.
http://annauniversitystudymaterials.blogspot.in/
Page 25
http://annauniversitystudymaterials.blogspot.in/
Page 26
Inference:
Result:
Viva Questions:
1. What is mean by encoder?
2. What is mean by decoder?
3. How does an encoder differ from decoder?
4. What is mean by odd and even parity? Is mean by counter?
5. What are the applications of decoder?
6. What is mean by priority encoder?
7. Convert the decimal 65 to BCD, Excess-3 and Gray code.
8. What are codes? List the different codes with examples.
9. Which digital system translates coded characters into a more useful form?
10. A BCD decoder will have how many rows in its truth table?
http://annauniversitystudymaterials.blogspot.in/
Page 27
Aim:
To design, construct and test the following types of counters
1.
2.
3.
4.
Apparatus Required:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
Component Name
AND Gate
OR Gate
Not Gate
NAND Gate
NOR Gate
Flip Flop
Trainer kit
Bread Board
Light Emitting Diodes
Connecting wires
Regulated Power supply
Current Limiting Resister
Part No/Range
IC 7408
IC 7432
IC 7404
IC 7400
IC 7402
IC74LS73
(0-30V)
330 ohm
Quantity in Nos
1
1
1
1
1
2
1
1
As Req.
As Req.
1
As Req.
Theory:
A counter is a sequential machine that produces a specified count sequence. The
count changes whenever the input clock is asserted. There is a great variety of counter
based on its construction.
1. Clock: Synchronous or Asynchronous
2. Clock Trigger: Positive edged or Negative edged
3. Counts: Binary, Decade
4. Count Direction: Up, Down, or Up/Down
5. Flip-flops: JK or T or D
A counter can be constructed by a synchronous circuit or by an asynchronous
circuit. With a synchronous circuit, all the bits in the count change synchronously with
http://annauniversitystudymaterials.blogspot.in/
Page 28
Page 29
http://annauniversitystudymaterials.blogspot.in/
Page 30
http://annauniversitystudymaterials.blogspot.in/
Page 31
http://annauniversitystudymaterials.blogspot.in/
Page 32
http://annauniversitystudymaterials.blogspot.in/
Page 33
Procedure:
1. Connections are made as shown in the logic diagram.
2. The input clock pulse is applied from digital trainer and the corresponding output is
checked through LEDs.
Inference:
Result:
Viva Questions:
1.
2.
3.
4.
5.
6.
http://annauniversitystudymaterials.blogspot.in/
Page 34
Component Name
AND Gate
OR Gate
Not Gate
NAND Gate
Flip Flop
Trainer kit
Bread Board
Light Emitting Diodes
Connecting wires
Regulated Power supply
Current Limiting Resister
Part No/Range
IC 7408
IC 7432
IC 7404
IC 7400
IC 7474
(0-30V)
330 ohm
Quantity in Nos
1
1
1
1
2
1
1
As Req.
As Req.
1
As Req.
Theory:
Shift registers, like counters, are a form of sequential logic. Sequential logic,
unlike combinational logic is not only affected by the present inputs, but also, by the
prior history. In other words, sequential logic remembers past events. Shift registers
produce a discrete delay of a digital signal or waveform. A waveform synchronized to a
clock, a repeating square wave, is delayed by "n" discrete clock times, where "n" is the
number of shift register stages. Thus, a four stage shift register delays "data in" by four
clocks to "data out". The stages in a shift register are delay stages, typically type "D"
Flip-Flops or type "JK" Flip-flops.
http://annauniversitystudymaterials.blogspot.in/
Page 35
Serial-in/serial-out
Parallel-in/serial-out
Serial-in/parallel-out
Universal parallel-in/parallel-out
Above we show a block diagram of a serial-in/serial-out shift register, which is 4stages long. Data at the input will be delayed by four clock periods from the input to the
output of the shift register. Data at "data in", above, will be present at the Stage A output
after the first clock pulse. After the second pulse stage A data is transfered to stage B
http://annauniversitystudymaterials.blogspot.in/
Page 36
Data is loaded into all stages at once of a parallel-in/serial-out shift register. The
data is then shifted out via "data out" by clock pulses. Since a 4- stage shift register is
shown above, four clock pulses are required to shift out all of the data. In the diagram
above, stage D data will be present at the "data out" up until the first clock pulse; stage C
data will be present at "data out" between the first clock and the second clock pulse; stage
B data will be present between the second clock and the third clock; and stage A data will
be present between the third and the fourth clock. After the fourth clock pulse and
thereafter, successive bits of "data in" should appear at "data out" of the shift register
after a delay of four clock pulses.
If four switches were connected to DA through DD, the status could be read into a
microprocessor using only one data pin and a clock pin. Since adding more switches
would require no additional pins, this approach looks attractive for many inputs.
http://annauniversitystudymaterials.blogspot.in/
Page 37
http://annauniversitystudymaterials.blogspot.in/
Page 38
The obvious point (as compared to the figure below) illustrated above is that
whatever "data in" is present at the D pin of a type D FF is transfered from D to output Q
at clock time. Since our example shift register uses positive edge sensitive storage
elements, the output Q follows the D input when the clock transitions from low to high as
shown by the up arrows on the diagram above. There is no doubt what logic level is
present at clock time because the data is stable well before and after the clock edge. This
is seldom the case in multi-stage shift registers. But, this was an easy example to start
with. We are only concerned with the positive, low to high, clock edge. The falling edge
can be ignored. It is very easy to see Q follow D at clock time above. Compare this to the
diagram below where the "data in" appears to change with the positive clock edge.
http://annauniversitystudymaterials.blogspot.in/
Page 39
Since "data in" appears to changes at clock time t 1 above, what does the type D
FF see at clock time? The short over simplified answer is that it sees the data that was
present at D prior to the clock. That is what transfered to Q at clock time t1 is. The
correct waveform is QC. At t1 Q goes to a zero if it is not already zero. The D register
does not see a one until time t2, at which time Q goes high.
Page 40
Three type D Flip-Flops are cascaded Q to D and the clocks paralleled to form a
three stage shift register above.
http://annauniversitystudymaterials.blogspot.in/
Page 41
Below we take a close look at the internal details of a 3-stage parallel-in/ serialout shift register. A stage consists of a type D Flip-Flop for storage, and an AND-OR
http://annauniversitystudymaterials.blogspot.in/
Page 42
Above we show the parallel load path when SHIFT/LD' is logic low. The upper
NAND gates serving DA DB DC are enabled, passing data to the D inputs of type D FlipFlops QA QB DC respectively. At the next positive going clock edge, the data will be
clocked from D to Q of the three FFs. Three bits of data will load into QA QB DC at the
same time. The type of parallel load just described, where the data loads on a clock pulse
is known as synchronous load because the loading of data is synchronized to the clock.
This needs to be differentiated from asynchronous load where loading is controlled by
the preset and clear pins of the Flip-Flops which does not require the clock. Only one of
these load methods is used within an individual device, the synchronous load being more
common in newer devices.
http://annauniversitystudymaterials.blogspot.in/
Page 43
What we previously described with words for parallel loading and shifting is now
set down as waveforms above. As an example we present 101 to the parallel inputs DAA
DBB DCC. Next, the SHIFT/LD' goes low enabling loading of data as opposed to shifting
of data. It needs to be low a short time before and after the clock pulse due to setup and
hold requirements. It is considerably wider than it has to be. Though, with synchronous
logic it is convenient to make it wide. We could have made the active low SHIFT/LD'
almost two clocks wide, low almost a clock before t 1 and back high just before t3. The
important factor is that it needs to be low around clock time t 1 to enable parallel loading
of the data by the clock. Note that at t 1 the data 101 at DA DB DC is clocked from D to Q
of the Flip-Flops as shown at QA QB QC at time t1. This is the parallel loading of the data
synchronous with the clock.
http://annauniversitystudymaterials.blogspot.in/
Page 44
Now that the data is loaded, we may shift it provided that SHIFT/LD' is high to
enable shifting, which it is prior to t 2. At t2 the data 0 at QC is shifted out of SO which is
the same as the QC waveform. It is either shifted into another integrated circuit, or lost if
there is nothing connected to SO. The data at QB, a 0 is shifted to QC. The 1 at QA is
shifted into QB. With "data in" a 0, QA becomes 0. After t2, QA QB QC = 010. After t3, QA
QB QC = 001. This 1, which was originally present at QA after t1, is now present at SO
and QC. The last data bit is shifted out to an external integrated circuit if it exists. After t 4
all data from the parallel load is gone. At clock t 5 we show the shifting in of a data 1
present on the SI, serial input. Why provide SI and SO pins on a shift register? These
connections allow us to cascade shift register stages to provide large shifters than
available in a single IC (Integrated Circuit) package. They also allow serial connections
to and from other ICs like microprocessors.
Serial-in, Parallel-out Shift Register:
A serial-in/parallel-out shift register is similar to the serial-in/ serial-out shift
register in that it shifts data into internal storage elements and shifts data out at the serialout, data-out, pin. It is different in that it makes all the internal stages available as
outputs. Therefore, a serial-in/parallel-out shift register converts data from serial format
to parallel format. If four data bits are shifted in by four clock pulses via a single wire at
data-in, below, the data becomes available simultaneously on the four Outputs QA to QD
after the fourth clock pulse.
http://annauniversitystudymaterials.blogspot.in/
Page 45
The practical application of the serial-in/parallel-out shift register is to convert data from
serial format on a single wire to parallel format on multiple wires. Perhaps, we will
illuminate four LEDs (Light Emitting Diodes) with the four outputs (QA QB QC QD ).
The above details of the serial-in/parallel-out shift register are fairly simple. It
looks like a serial-in/ serial-out shift register with taps added to each stage output. Serial
data shifts in at SI (Serial Input). After a number of clocks equal to the number of stages,
the first data bit in appears at SO (QD) in the above figure. In general, there is no SO pin.
The last stage (QD above) serves as SO and is cascaded to the next package if it exists.
If a serial-in/parallel-out shift register is so similar to a serial-in/ serial-out shift
register, why do manufacturers bother to offer both types? Why not just offer the serialin/parallel-out shift register? They actually only offer the serial-in/parallel-out shift
register, as long as it has no more than 8-bits. Note that serial-in/ serial-out shift registers
come in gigger than 8-bit lengths of 18 to to 64-bits. It is not practical to offer a 64-bit
http://annauniversitystudymaterials.blogspot.in/
Page 46
The shift register has been cleared prior to any data by CLR', an active low
signal, which clears all type D Flip-Flops within the shift register. Note the serial data
1011 pattern presented at the SI input. This data is synchronized with the clock CLK.
This would be the case if it is being shifted in from something like another shift register,
for example, a parallel-in/ serial-out shift register (not shown here). On the first clock at
t1, the data 1 at SI is shifted from D to Q of the first shift register stage. After t2 this first
data bit is at QB. After t3 it is at QC. After t4 it is at QD. Four clock pulses have shifted
the first data bit all the way to the last stage QD. The second data bit a 0 is at QC after the
4th clock. The third data bit a 1 is at QB. The fourth data bit another 1 is at QA. Thus, the
serial data input pattern 1011 is contained in (QD QC QB QA). It is now available on the
http://annauniversitystudymaterials.blogspot.in/
Page 47
http://annauniversitystudymaterials.blogspot.in/
Page 48
http://annauniversitystudymaterials.blogspot.in/
Page 49
The above figure serves as a reference for the hardware involved in right shifting of data.
It is too simple to even bother with this figure, except for comparison to more complex
figures to follow.
Right shifting of data is provided above for reference to the previous right shifter.
If we need to shift left, the FFs need to be rewired. Compare to the previous right
shifter. Also, SI and SO have been reversed. SI shifts to QC. QC shifts to QB. QB shifts to
QA. QA leaves on the SO connection, where it could cascade to another shifter SI. This
left shift sequence is backwards from the right shift sequence.
http://annauniversitystudymaterials.blogspot.in/
Page 50
Above we shift the same data pattern left by one bit. There is one problem with the "shift
left" figure above. There is no market for it. Nobody manufactures a shift-left part. A
"real device" which shifts one direction can be wired externally to shift the other
direction. Or, should we say there is no left or right in the context of a device which shifts
in only one direction. However, there is a market for a device which will shift left or right
on command by a control line. Of course, left and right are valid in that context.
http://annauniversitystudymaterials.blogspot.in/
Page 51
With L'/R=0, the multiplexer AND gates labeled L are enabled, yielding a path, shown
by the arrows, the same as the above "shift left" figure. Data shifts in at SL, to QC, to QB,
to QA, where it leaves at SL cascade. This pin could drive SL of another device to the
left. The prime virtue of the above two figures illustrating the "shift left/ right register" is
simplicity. The operation of the left right control L'/R=0 is easy to follow. A commercial
part needs the parallel data loading implied by the section title. This appears in the figure
below.
Now that we can shift both left and right via L'/R, let us add SH/LD', shift/ load,
and the AND gates labeled "load" to provide for parallel loading of data from inputs D A
DB DC. When SH/LD'=0, AND gates R and L are disabled, AND gates "load" are
http://annauniversitystudymaterials.blogspot.in/
Page 52
http://annauniversitystudymaterials.blogspot.in/
Page 53
Inference:
Result:
Viva Questions:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
http://annauniversitystudymaterials.blogspot.in/
Page 54
Aim:
To design
1. 4:1 and 8:1 Multiplexer
2. 1:4 and 1:8 Demultiplexer
Apparatus Required:
S.No
1.
2.
3.
4.
5.
6.
7.
8.
9.
Component Name
AND Gate
OR Gate
Not Gate
NAND Gate
Bread Board
Light Emitting Diodes
Connecting wires
Regulated Power supply
Current Limiting Resister
Part No/Range
IC 7408
IC 7432
IC 7404
IC 7400
(0-30V)
330 ohm
Quantity in Nos
1
1
1
1
1
As Req.
As Req.
1
As Req.
Theory:
Multiplexer:
Multiplexing is defined as the process of feeding several independent signals to a
common load, one at a time. The device or switching circuitry used to select and connect
one of these several signals to the load at any one time is known as a multiplexer.
A multiplexer is a combinatorial circuit that is given a certain number (usually a
power of two) data inputs, let us say 2n, and n address inputs used as a binary number to
select one of the data inputs. The multiplexer has a single output, which has the same
value as the selected data input. The multiplexer works like the input selector of a home
music system. Only one input is selected at a time, and the selected input is transmitted to
the single output. Here is such an abbreviated truth table for n = 3. The full truth table
would have 2(3 + 23) = 2048 rows.
http://annauniversitystudymaterials.blogspot.in/
Page 55
http://annauniversitystudymaterials.blogspot.in/
Page 56
De Multiplexer:
The process of feeding several independent loads with signals coming
from a common signal source, one at a time. A device used for de-multiplexing is known
as a de-multiplexer the de-multiplexer circuit takes a single data input and one or more
address inputs, and selects which of multiple outputs will receive the input signal. The
address input determine which data output is going to have the same value as the data
input. The other data outputs will have the value 0.
http://annauniversitystudymaterials.blogspot.in/
Page 57
1:8 Demultiplexer
http://annauniversitystudymaterials.blogspot.in/
Page 58
Inference:
Result:
Viva Questions:
1. What is mean by multiplexer?
2. What is the another name of multiplexer and why we are calling it as like that?
3. What are the applications of multiplexer?
4. Write the truth table for 4 input multiplexer
5. What is meant by multiplexing?
6. What is meant by demultiplexer?
7. What is the another name of demultiplexer?
8. What are the applications of Demultiplexer?
9. What is mean by clock demultiplexer?
10. How can we construct 2n to 1 multiplexer from an n to 2n decoder?
http://annauniversitystudymaterials.blogspot.in/
Page 59
Component Name
Timer IC
Regulated Power supply
Bread Board
Light Emitting Diodes
DRB
DCB
Connecting wires
Current Limiting Resister
Function Generator
Part No/Range
NE/SE 555
(0-30V)
-
330 ohm
-
Quantity in Nos
1
1
1
As Req.
1
1
As Req.
As Req.
1
Theory:
555 Timer IC
The 555 timer IC was first introduced around 1971 by the Signetics Corporation
as the SE555/NE555 and was called "The IC Time Machine" and was also the very first
and only commercial timer IC available. It provided circuit designers with a relatively
cheap, stable, and user-friendly integrated circuit for both monostable and astable
applications. The 555 contains more than 28 transistors and it is basically a chip
containing a number of building blocks that end up very similar to an oscillator without
the TIMING COMPONENTS. It needs two or three external components to produce an
oscillator capable of operating at a frequency from 1Hz to 500 kHz. When it oscillates at
a frequency less than 1Hz, the circuit is called a Timer or Delay. . It can be used with any
power supply in the range 5-18 volts, thus it is useful in many analog circuits. When
connected to a 5-volt supply, the circuit is directly compatible with TTL or CMOS digital
devices.
http://annauniversitystudymaterials.blogspot.in/
Page 60
Page 61
In standby (stable state), the output Q of the control flip flop (FF) is at logic one
(HIGH). This makes the output (pin 3) logic zero (LOW) because the power
amplifier is basically an inverting amplifier.
When the trigger input is slightly lower than 1/3 Vcc, the lower comparator
output goes to positive saturation which in turn it sets the control flip flop. The
flip flop will be in set state i.e. Q= logic one (HIGH) and Q =logic zero (LOW).
Then the output of timer will be at logic one(HIGH)
Applying a positive trigger at the Threshold terminal (pin 6), when the voltage is
slightly higher than 2/3 Vcc, the upper comparator goes to positive saturation
which in turn resets the control flip flop. The flip flop goes to reset state i.e. Q=
logic zero (LOW) and Q = logic one (HIGH). Then the output of timer will be
logic zero (LOW)
The reset input (pin 4) provides a mechanism to reset the Control flip flop in a
manner which overrides the effect of any instruction coming to control flip flop from
lower comparator. This overriding reset is effective when the reset input is less than
about 0.4V. When this reset is not used, it is returned to Vcc. the transistor T2 serves as a
buffer to isolate the reset input from the control flip flop and transistor T1. The transistor
T2 is driven by an internal voltage Vref obtained from supply voltage Vcc.
http://annauniversitystudymaterials.blogspot.in/
Page 62
In the standby (stable) state, control flip flop holds transistor T1 ON, thus
clamping the external timing capacitor C to ground.
As the trigger in Fig. 2.3(a) passes through Vcc/3(i.e. trigger input is slightly
lesser than 1/3 Vcc), the lower comparator is triggered to positive saturation and
the control flip flop is set, i.e. Q= logic one (HIGH) and Q =logic zero (LOW).
This makes the transistor T1 OFF and the short circuit across the timing capacitor
C is released.
As Q is LOW, output (pin 3) goes HIGH (=Vcc). The timing cycle now begins.
Since C is unclamped, voltage across it rises exponentially through R towards
Vcc with a time constant RC as in Fig. 2.3(b)
After a time period T, the capacitor voltage is just greater than 2/3V cc (which is
applied in pin 6) and the upper comparator is triggered to positive saturation,
and resets the control flip flop(R=1, S=0) that is, Q= logic zero (LOW) and Q =
http://annauniversitystudymaterials.blogspot.in/
Page 63
This makes
vc Vcc (1 e
t
RC
At t =T,
2
vc Vcc
3
Therefore,
2
Vcc Vcc (1 e RC )
3
0.66 1 e
T
RC
T
RC
) (
Or,
T = RC ln(0.33)
Or,
T = 1.09 RC (seconds)
T
T
)
RC
RC
http://annauniversitystudymaterials.blogspot.in/
Page 64
Astable Operation:
The timing resistor is split into two sections Ra and Rb. Pin 7 of discharging
transistor T1 is connected to the junction of Ra and Rb.
When the power supply Vcc is connected, the external timing capacitor C charges
towards Vcc with a time constant (Ra + Rb)C.
comparator will be in positive saturation which in tern sets the control flip flop
(i.e. Reset R=0, Set S=1), this makes Q =0 Output (pin 3) goes high (equals Vcc),
which has unclamped the timing capacitor C.
http://annauniversitystudymaterials.blogspot.in/
Page 65
When the capacitor voltage is just greater than (2/3)Vcc the upper comparator
triggers to positive saturation and resets the control flip flop(i.e. Reset R=1, Set
S=0) so that Q =1. This in turn, makes transistor T1 on and capacitor C starts
discharging towards ground through Rb and transistor T1 with a time constant RbC
(neglecting the forward resistance of T1).
Current also flows into transistor T1 through Ra. Resistors Ra and Rb must be
large enough to limit this current and prevent damage to the discharge transistor
T1.
The minimum value of Ra is approximately equal to Vcc/0.2 where 0.2A is the
maximum current through the on transistor T1.
During the discharge of the timing capacitor C, as it reaches just less than) Vcc/3,
the lower comparator is triggered and sets the control flip flop (i.e. Reset R=0,
Set S=1), which turns Q =0.
The capacitor C is thus periodically charged and discharged between (2/3) Vcc and
(1/3) Vcc respectively.
Fig. 2.6 shows the timing sequence and capacitor voltage waveform. The time duration
for which the output remains HIGH is the time taken by the capacitor to charge from
(1/3) Vcc to (2/3) Vcc. This may be calculated as follows:
Let Ra+Rb=R
The capacitor voltage for a low pass RC circuit subjected to a step input of V cc volts is
given by
vc Vcc (1 e
t
RC
2
V cc V cc ( 1 e
3
0 . 66
(1
t a
RC
ln( 0 . 33 ) ln( e
ta
RC
ta
RC
http://annauniversitystudymaterials.blogspot.in/
ta
RC
Page 66
1
V cc V cc ( 1 e
3
tb
RC
tb=0.405RC.
Or,
t1 = ta-tb
t 1 1.09RC - 0.405RC 0.69RC 0.69(R a Rb )C
The output is low while capacitor is discharging from (2/3)Vcc to (1/3)Vcc through the
resistor Rb and the voltage across the capacitor is given by
1
V
3
cc
V
3
cc
(1 e
t
R
2
b
1.45
( Ra 2Rb )C
The duty cycle defined here as the ratio of the time the output is low as compared to the
total time period
Duty cycle =
t2
Rb
T R a 2R b
Duty cycle %=
Rb
100
R a 2R b
The duty cycle is always less than 50% in other words, the off time t2 is always
less than the ON time t1. Thus the output of the 555 astable circuit is asymmetric. By
making Rb large compared to Ra,(i.e. Ra=minimum) the waveform becomes more
symmetric and the 555 output approaches a square wave. If Ra is very small, the pin 7 will
be connected to Vcc through a very low resistance and extra current flows through T1
http://annauniversitystudymaterials.blogspot.in/
Page 67
Result:
Viva Questions:
1.
2.
3.
4.
5.
6.
7.
http://annauniversitystudymaterials.blogspot.in/
Page 68
Component Name
Op amp IC
Regulated Power supply
Connecting wires
Bread Board
Cathode Ray Tube
Resister
Resister
Resister
Capacitor
Function Generator
Part No/Range
IC 741
(0-30V)
(0-20MHz)
10K
1K
10K,1.5K159
0.1uf,0.01uf
1-1MHz
Quantity in Nos
1
2
As Req.
1
1
3
2
Each one
Each one
1
Theory:
Ideal op-amp characteristics
Infinite open-loop voltage gain
Infinite input impedance
Zero output impedance
Zero noise contribution
Zero DC output offset
Infinite bandwidth
Differential inputs that stick together
http://annauniversitystudymaterials.blogspot.in/
Page 69
Since the input resistance is infinite, current through R1 will be equal to the current
through Rf. Assuming that the op-amp is an ideal one, then Vd = 0 and node a is at
ground potential.
Current through R1 and Rf is given by
i1
vin
R1
Rf
R1
Hence the closed loop gain of the inverting amplifier is, Acl
Alternatively, the node equation at node a is
Rf
Vout
Vin
R1
Va Vin Va Vout
0
R1
Rf
Where Va is the voltage at node a. Since node a is at virtual ground, Va=0. Therefore
by rearranging the above equation the closed loop gain can be written as
Acl
Rf
Rf
Vout
. The output voltage is Vout Vin
Vin
R1
R1
http://annauniversitystudymaterials.blogspot.in/
Page 70
Analysis:
As the difference voltage Vd is zero, the voltage at node A is Vin, same as the iput
voltage applied to non-inverting terminal. Now, Rf and R1 forms a potential divider.
Hence Vin
Vout
R1 , as no current flow through the op-amp,
R1 R f
Rf
Vout R1 R f
1
Acl . Where Acl is closed loop voltage gain of the non-inverting
Vin
R1
R1
Rf
Vin .
operational amplifier. Hence output voltage Vout 1
R
1
http://annauniversitystudymaterials.blogspot.in/
Page 71
R
V1 V2 Vout
inverted, weighted sum of the input the inputs. When R1= R2= R3, we have Vout=(V1+V2) in this case the output Vo is the inverted sum of the input signal.
Let R1= R2= 2R3 then the output voltage Vout is the average of two input signals
V V2
(inverted) i.e. Vout 1
http://annauniversitystudymaterials.blogspot.in/
Page 72
V1 Va V2 Va
R1 R2
0 . By solving Va we have Va
1
1
R1
R2
R1 R2
R
amplifier with Vout 1 3 V a . Therefore the output voltage
R
V out
R 3
V1 V 2
R1 R 2
Comparator
Since the gain of the open loop amplifier is extremely high, the output of an opamp will be saturated fully positive, if the non-inverting input is more positive than the
inverting input, and saturated fully negative if the non-inverting input is less positive than
the inverting input. So an op-amp without feedback can be used to compare two different
http://annauniversitystudymaterials.blogspot.in/
Page 73
Fig 3: Comparator
http://annauniversitystudymaterials.blogspot.in/
Page 74
dv
. Capacitors oppose voltage change by creating current in
dt
the circuit: that is, they either charge or discharge in response to a change in applied
voltage. So, the more capacitance a capacitor has, the greater its charge or discharge
current will be for any given rate of voltage change across it.
dv
dt
Differentiator:
We can build an op-amp circuit (Fig. 1.5) which measures change in voltage by
measuring current through a capacitor, and outputs a voltage proportional to that current:
By referring the fig.1.5, the right-hand side of the capacitor is held to a voltage of
0 volts, due to the "virtual ground" effect. Therefore, current "through" the
capacitor is solely due to change in the input voltage.
A steady input voltage won't cause a current through C, but a changing input
voltage will.
Capacitor current moves through the feedback resistor, producing a drop across it,
which is the same as the output voltage.
A linear, positive rate of input voltage change will result in a steady negative
voltage at the output of the op-amp. Conversely, a linear, negative rate of input
voltage change will result in a steady positive voltage at the output of the op-amp.
This polarity inversion from input to output is due to the fact that the input signal
is being sent (essentially) to the inverting input of the op-amp.
http://annauniversitystudymaterials.blogspot.in/
Page 75
ic C
d
vin va C dvin . The current if
dt
dt
through the feed back resistor is vout/R and there is no current into op-amp. Therefore
current at node a can be described by C
vout RC
dvin
dt
dvin vout
the input voltage vin. the negative sign indicates a 1800 phase shift of the output
waveform with respect to input signal.
By taking laplace transform the output equation can be written as Vout(s)= -RCsVin(s).
V
f
substitute s=j and =2f then gain A out j 2fRC 2fRC
where
Vin
fa
fa
1
. Gain can be adjusted by changing frequency, resistor or capacitor.
2RC
http://annauniversitystudymaterials.blogspot.in/
Page 76
http://annauniversitystudymaterials.blogspot.in/
Page 77
The negative feedback of the op-amp ensures that the inverting input will be held at 0
volts (the virtual ground).
If the input voltage is exactly 0 volts, there will be no current through the resistor,
therefore no charging of the capacitor, and therefore the output voltage will not
change.
We cannot guarantee what voltage will be at the output with respect to ground in
this condition, but we can say that the output voltage will be constant.
By applying a constant, positive voltage to the input, the op-amp output will fall
negative at a linear rate, in an attempt to produce the changing voltage across the
capacitor necessary to maintain the current established by the voltage difference
across the resistor. Conversely, a constant, negative voltage at the input results in
a linear, rising (positive) voltage at the output.
The output voltage rate-of-change will be proportional to the value of the input
voltage.
http://annauniversitystudymaterials.blogspot.in/
Page 78
dv
0
vin
dv
dv
v
C out 0 or out in
R
dt
dt
RC
out
vin dt
RC 0
t
1
vout (t )
vin (t )dt vout (0) .
RC 0
Where v0(0) is the initial output voltage. The output is -1/RC times the integral of input
and RC is the time constant of the integrator.
1
Vin ( s ) (assume
sRC
Initial voltage V0(0)=0). Substitute s=j and =2f and get the magnitude of the gain of
the integrator is A
Vout ( j )
1
1
. The gain of the integrator can be
Vin ( j )
jRC 2fRC
http://annauniversitystudymaterials.blogspot.in/
Page 79
Page 80
http://annauniversitystudymaterials.blogspot.in/
Page 81
Inference:
Result:
Viva Questions:
1. What is an op-amp?
2. What are the characteristics of an ideal opamp?
3. What is mean by open loop and closed loop operation of an opamp?
4. What is the input impedance of a non-inverting op-amp amplifier?
5. Define common mode rejection ratio.
6. What is mean by slew rate?
7. What are the limitations of an ordinary op-amp differentiator?
8. What is the difference between the integrator and differentiator?
9. Why the integrators are preferred over differentiators in analog computer?
10. What are the difference between ac amplifiers and dc amplifiers?
http://annauniversitystudymaterials.blogspot.in/
Page 82
Component Name
Bread Board
Regulated Power supply
Resistor
Op-Amp IC
CRO
Resistor
Resistor
Resistor
Function Generator
Connecting wires
Part No/Range
(0-30V)
8K
IC 741
4K
2K
1K
-
Quantity in Nos
1
1
1
1
1
1
6
5
1
As Req.
Theory:
Digital to Analog converters (DACs) are circuits that convert digital signal into
analog electrical quantities directly related to the digitally encoded input number. DACs
allow computer to communicate with analog world. The digital output from a process
computer cannot be used to directly to operate a valve that controls gas flow to a furnace.
But the output of a digital system might be changed to operate a servo motor which
drives the arm of a plotter.
Conversion of n digital voltage levels into one equivalent analog voltage can be
achieved by designing a resistive network. The resistive network changes each digital
level into an equivalent binary weighted voltage or current, which can be added using a
summing circuit to get the equivalent analog signal.
http://annauniversitystudymaterials.blogspot.in/
Page 83
The weighted binary resistive summing network is shown in the Fig. 3.1. The
input signals are applied to the inverting terminal of the op-amp. The magnitude of
current proportional to the value of each bit in the digital input word is generated by the
reference voltage, Vref, divided by the weighed binary resistor (i1=Vref/1k). The input
impedance of the op-amp is infinity, and almost no current can enter into the input
terminals. So the current from weighted binary resistors I has to go through Rf. the
output Vout is the product of current I and feedback resistor Rf. The weightings of the
resistors are that of straight binary coding (8, 4, 2, 1 for 4-bit DAC), with the most
significant bit (MSB) in a 4-bit DAC having a weighting resistance one-eighth that of the
least significant bit (LSB).
Let all the switches D0 to D3 are open, the current through the Rf will be
If the switch D0 and D3 are connected with Vref and the other two switches are open (the
digital word is 1 0 0 1) the current through the Rf will be
9mA
1k
2k
4k
8k
1k 2k 4k 8k
and
the
output
Vout I R f 9mA 1K 9V
Since the input is connected in the inverting terminal of the op-amp, the polarity of the
output will be just opposite to the polarity of Vref.
http://annauniversitystudymaterials.blogspot.in/
Page 84
1V
16
16 3 R 16 3 11k
Similarly, analog output for all other digital inputs can be calculated theoretically
http://annauniversitystudymaterials.blogspot.in/
Page 85
LSB
Observations:
Weighted resistor DAC
S.No
10
11
12
13
14
15
16
Theoretical Voltage(V)
http://annauniversitystudymaterials.blogspot.in/
Practical Voltage(V)
Page 86
10
11
12
13
14
15
16
Theoretical Voltage(V)
Practical Voltage(V)
Design:
1. Weighted Resistor DAC
b
b
b
b
Vo = -Rf A B c D
8R 4 R 2R R
Rf
1 1 1
x5
8 4 2
R
Vo = - 9.375 V
X5
http://annauniversitystudymaterials.blogspot.in/
Page 87
Procedure:
1. The connections are given as per the given circuit diagrams (Fig. 2.3 and Fig 2.5)
drawn as per the design values.
2. Output voltages for various digital inputs are measured using an analog voltmeter
and they are recorded
3. The output voltage obtained for a particular digital input is verified for validity by
comparing design.
http://annauniversitystudymaterials.blogspot.in/
Page 88
Component Name
ADC IC
Trainer kit
Bread Board
Light Emitting Diodes
Connecting wires
Regulated Power supply
Current Limiting Resister
Part No/Range
IC ADC0808
(0-30V)
330 ohm
Quantity in Nos
1
1
1
As Req.
As Req.
1
As Req.
Theory:
General Description
The ADC0808, ADC0809 data acquisition component is a monolithic CMOS
device
with
an
8-bit
analog-to-digital converter,
8-channel
multiplexer
and
microprocessor compatible control logic (Fig. 4.1). The 8-bit A/D converter uses
successive approximation as the conversion technique. The converter features a high
impedance chopper stabilized comparator, a 256R voltage divider with analog switch tree
and a successive approximation register. The 8-channel multiplexer can directly access
any of 8-single-ended analog signals. The device eliminates the need for external zero
and full scale adjustments. Easy interfacing to microprocessors is provided by the latched
and decoded multiplexer address inputs and latched TTL TRI-STATE outputs.
The design of the ADC0808, ADC0809 has been optimized by incorporating the
most desirable aspects of several A/D conversion techniques. The ADC0808, ADC0809
offers high speed, high accuracy, minimal temperature dependence, excellent long-term
accuracy and repeatability, and consumes minimal power. These features make this
device ideally suited to applications from process and machine control to consumer and
automotive applications.
http://annauniversitystudymaterials.blogspot.in/
Page 89
Table 4.1
CONVERTER CHARACTERISTICS
The heart of this single chip data acquisition system is its 8-bit analog-to-digital
converter. The converter is designed to give fast, accurate, and repeatable conversions
over a wide range of temperatures.
The basic block diagram of the converter is shown in the Fig. 4.1 with doted lines.
The converter is partitioned into three major sections: the 256R ladder network,
the successive approximation register, and the comparator. The converters digital
outputs are positive true.
The 256R ladder network approach was chosen over the conventional R/2R
ladder because of its inherent monotonic, which guarantees no missing digital
codes. The 256R network does not cause load variations on the reference voltage.
When the start pulse signal activates the control circuit, the successive
approximation register (SAR) is cleared.
The output of the SAR is 00000000. V out of the D/A converter is 0. Now, if
Vin>Vout the comparator output is positive. During the first clock pulse, the
control circuit sets a 1 in MSB of the control resistor SAR and a 0 in all bits.
http://annauniversitystudymaterials.blogspot.in/
Page 90
Vi
Vo
This initial setting of the register causes the output of the D/A converter (256R
ladder with tree switch) to be half the reference voltage, i.e. Vref.
This converter output is compared to the unknown input Vin by the comparator. If
the input voltage Vin is greater than the converter reference voltage, the
comparator produces a positive output, that causes the control register to retain
the 1 setting in its MSB and the converter continues to supply its reference output
voltage of Vref. The SAR output is 10000000
The switch tree sets 1 in the second MSB of the control register and its reading
becomes 11000000. This causes the D/A converter to increase its reference output
by 1 increment to Vref, i.e. Vref + Vref, and again it is compared with the
unknown input Vin.
http://annauniversitystudymaterials.blogspot.in/
Page 91
In this case the total reference voltage exceeds the unknown voltage, the
comparator produces an output (Negative saturation) that cause the control
register to reset its second MSB to 0. The converter output then returns to its
previous value of Vref and awaits another input from the SAR.
When the switch tree changes, the third MSB is set to 1 and the converter output
rises by the next increment of Vref+1/8Vref.
ADC 0808
The chopper-stabilized comparator converts the DC input signal into an AC signal. This
signal is then fed through a high gain AC amplifier and has the DC level restored. This
technique limits the drift component of the amplifier since the drift is a DC component
which is not passed by the AC amplifier. This makes the entire A/D converter extremely
insensitive to temperature, long term drift and input offset errors.
The Fig. 4.2 shows the pin configuration and connection for single channel ADC for the
IC ADC 0808 and the table 4.2 shows the pin description for the IC ADC 0808
http://annauniversitystudymaterials.blogspot.in/
Page 92
Table 4.2
Procedure:
1. Connections are made as per the circuit diagram (Fig. 4.2).
2. An appropriate square wave input (5Vpp & 10 kHz) is applied at the pin no. 10 of
IC ADC 0808.
3. Digital output values are recorded for various values of analog inputs.
http://annauniversitystudymaterials.blogspot.in/
Page 93
Result:
Viva Questions:
1. What are the classifications of DACs on the basis of their output?
2. Name the essential parts of DAC.
3. What are the types of electronic switches used in D/A converter?
4. How many resistors are required in a 12-bit weighted resistor DAC?
5. Why is an inverted R-2R ladder network DAC better than R-2R ladder DAC?
6. What are the various A/D conversion techniques?
7. Which is the fastest ADC and why?
8. What is the conversion time for counting ADC, successive approximation ADC
and dual-slope ADC?
9. How the dual slope ADC provides noise rejection?
10. What are the important specifications of D/A and A/D converters?
http://annauniversitystudymaterials.blogspot.in/
Page 94
Part No/Range
NE/SE 566 IC
(0-30V)
330 ohm
Quantity in Nos
1
1
1
1
As Req.
As Req.
1
As Req.
As Req.
Theory:
Voltage-controlled Oscillator:
In oscillators, the frequency is determined by the RC time constant. However,
there are applications, such as frequency modulation (FM), tone generators, and
frequency shift keying (FSK), where the frequency needs to be controlled by means of an
input voltage called control voltage. This function is achieved in the voltage-controlled
oscillator (VCO), also called a voltage -to- frequency converter.
A typical example is the Signets NE/SE 566 VCO, which provides simultaneous
square wave and triangular wave outputs as a function of input voltage. Fig. 5.1 and
Fig. 5.2 show the bin configuration and block diagram of the IC 566 respectively. An
external resistor RT, capacitor CT, and the voltage Vc applied to the control terminal 5 are
used to determine the frequency of oscillation. Alternately charging the external capacitor
CT by one current source and then linearly discharging it by another generates the
triangular wave. The charge-discharge levels are determined by Schmitt trigger action.
The Schmitt trigger also provides the square wave output. From the block diagram (Fig.
5.2) it shows that, the op-amp A2 with positive feedback resistance Ra and Rb forms the
Schmitt trigger circuit. Both the output waveforms are buffered to reduce output
impedance.
http://annauniversitystudymaterials.blogspot.in/
Page 95
The Schmitt trigger circuit is shown in the Fig. 5.3. Input voltage is applied to the
inverting terminal of the op-amp and feedback voltage to non-inverting terminal. The
input voltage Vin triggers the output Vout every time it exceeds the certain voltage levels.
These voltage levels are called upper threshold voltage VUT and lower threshold voltage
VLT. These two voltages are calculated as follows.
Suppose the output Vout is at positive saturation +Vsat, the voltage at non-inverting
terminal will be Vref
R b (Vsat Vref )
VUT . As long as Vin is less than VUT, the output
Ra Rb
Vout remains constant at positive saturation +Vsat. When Vin is just greater than VUT, the
output switches to negative saturation-Vsat and remains this level as long as V in is geater
than VUT. For Vout = -Vsat ( negative saturation) the voltage at the non-inverting input
terminal is , Vref
R b ( Vsat Vref )
R (V Vref )
Vref b sat
VLT . When the Vin just less
Ra Rb
Ra Rb
than VLT, the output switches to negative saturation -Vsat. If the polarity of input voltage
Vin is keep changing, the above operation repeats and generates output of square wave.
http://annauniversitystudymaterials.blogspot.in/
Page 96
Operation of VCO:
The voltage at pin 6 is held at the same voltage as pin 5. Thus, if the modulating
voltage at pin 5 is increased, the voltage at pin 6 also increases, resulting in less
voltage across RT and thereby decreasing the charging current.
http://annauniversitystudymaterials.blogspot.in/
Page 97
The voltage across the capacitor CT is applied to the inverting input terminal of
Schmitt trigger A1 via buffer amplifier A1. The output voltage swing of the
Schmitt trigger is designed to Vcc and 0.5 Vcc.
When the voltage on the capacitor CT exceeds 0.5Vcc (VUT) during charging, the
output of the Schmitt trigger goes LOW (0.5Vcc).
The capacitor now discharges and when it is at 0.25 Vcc, the output of Schmitt
trigger switches to logic HIGH (Vcc).
Since the source and sink currents are equal, capacitor charges and discharges for
the same amount of time. This gives a triangular voltage waveform across CT
which is also available at pin 4.
The square wave output of the Schmitt trigger is inverted by inverter A3 and is
available at pin 3.
v
i
t C T
0.25 Vcc
i
t
CT
t
0.25 Vcc C T
i
The time period T of the triangular waveform = 2 t . The frequency of oscillator f0 is,
f0
But,
1
1
i
T 2t 0.5Vcc C T
Vcc - vc
where, vc is the voltage at pin 5. therefore
RT
f0
2(Vcc v c )
R T C T Vcc
http://annauniversitystudymaterials.blogspot.in/
Page 98
7
V cc )
1
0.25
8
R T C T V cc
4R T C T
R TCT
2(V cc
f 0
. Hare vc is the modulation voltage required to produce the
v c
frequency shift f 0 for a VCO. If we assume that the original frequency is f0 and the new
frequency is f1, then
f 0 f1 f 2
2(Vcc vc v c ) 2(Vcc v c )
2v c
R T C T Vcc
R T C T Vcc
R T C T Vcc
v c
f 0 R T C T Vcc
2
v c
f 0 Vcc
8f 0
Kv
f 0 8f 0
vc Vcc
calculate R T C T from f 0
0.25
and substitute in v c
R T CT
http://annauniversitystudymaterials.blogspot.in/
Page 99
http://annauniversitystudymaterials.blogspot.in/
Page 100
Component Name
PLL IC
Function Generator
CRO
Bread Board
Connecting wires
Regulated Power supply
Current Limiting Resister
Part No/Range
NE/SE 565 IC
(0-30V)
330 ohm
Quantity in Nos
1
1
1
1
As Req.
1
As Req.
INTRODUCTION
The phase-locked loop is a feedback system comprised of a phase comparator, a
low-pass filter and an error amplifier in the forward signal path and a voltage-controlled
oscillator (VCO) in the feedback path. The block diagram of a basic PLL system is
shown in Fig. 6.1. Designers use this device to lock a locally generated waveform onto
both the phase and frequency of a received waveform. Phase-locked-loop (PLL)
frequency synthesizers are used throughout communications systems to provide a stable
source of carrier and base band signals. It also has many interesting applications,
including frequency synthesis, FM demodulation, and television sweep circuits.
http://annauniversitystudymaterials.blogspot.in/
Page 101
http://annauniversitystudymaterials.blogspot.in/
Page 102
ve
KV s V0
[cos(2 f s t - 2 f 0 t - ) - cos(2 f s t 2 f 0 t )]
2
ve
component
KV s V0
[cos(- ) - cos(2 2 f 0 t )] The
2
frequency
KV s V0
[ - cos(2 2 f 0 t )] is eliminated by the low pass filter
2
KV s V0
cos( ) is applied to the modulating input terminal
2
of a VCO.
http://annauniversitystudymaterials.blogspot.in/
Page 103
In Fig. 6.3 (a) when vs and v0 both are high during the time period 0 to -, transistors
Q1 and Q3 are driven ON and current IE flows trough Q1 and Q3. This gives an output
voltage
ve = -IERL
Next for the period (-) to , when vs is high and v0 is low, transistors Q1 and Q4 are
driven ON resulting in an output voltage
ve = IERL
http://annauniversitystudymaterials.blogspot.in/
Page 104
http://annauniversitystudymaterials.blogspot.in/
Page 105
1
[(area A 1 ) area A 2 )]
1
[I E R L (-I E R L ) ( - )]
IER L
1
4I R
Q L
2
ve
K - - - - - - - - - - - - - (1)
2
Since I E 2 I Q
Where K
4I Q R L
K is the phase angle to voltage transfer coefficient or, the conversion ratio of the phase
detector. This linear relationship between ve and is depicted in Fig. 6.3 (b).
IC PLL 565
IC NE/SE 565 is available as a 14-pin DIP package and as 10-pin metal can
package. The pin configuration and basic block diagram are shown in Fig. 6.4 and Fig.6.5
respectively. The output frequency of VCO can be written as,
f0
0.25
Hz
R TCT
-------------------------------- (2)
Where RT and CT are the external resistor and capacitor connected to pin 8 and pin 9. A
value between 2k and 20k is recommended for RT. The CVO free running frequency
is adjusted with RT and CT to be at the centre of the input frequency range. It may be
seen that phase locked loop is internally broken between the VCO output and the phase
comparator input. A short circuit between pins 4 and 5 connects the CVO output to the
phase comparator so as to compare f0 with input signal fs. A capacitor C is connected
between pin 7 and pin 10 (supply terminal) to make a low pass filter with the internal
resistance of 3.6k.
The output voltage of the phase detector is limited by the diode connected
transistors to a maximum of 0.7V which minimizes the effect of high amplitude noise
http://annauniversitystudymaterials.blogspot.in/
Page 106
0 .7 ( 0 .7 ) 1 .4
. ------------------------------- (3)
http://annauniversitystudymaterials.blogspot.in/
Page 107
ve K
2
Where, K is the phase angle to voltage transfer coefficient of the phase detector. The
control voltage to VCO is,
vc AK
2
------------------------ (4)
Where, A is the voltage gain of the amplifier. This vc shifts VCO frequency from its free
running frequency f0 to a frequency f given byu,
f f 0 K v vc
-------------------------(5)
Where, Kv is the voltage to frequency transfer coefficient of the VCO. When PLL is
locked in to signal frequency fs, then we have
f f s f 0 K v vc
vc
- - - - - - - - - - - - - (6)
fs f0
Then, the phase difference between the signal and the VCO voltage is given by
f f0
s
2 K vK A
The maximum output voltage magnitude available from the phase detector occurs for
= and 0 radian, which is shown in the Fig.6.3 (b) and ve(max)=K/2 from equation
(1). The corresponding values of the maximum control voltage to drive thee VCO will
be,
vc (max)
KA
2
http://annauniversitystudymaterials.blogspot.in/
Page 108
(f f 0 ) max K v vc(max) K v K A
(7))
Therefore, the maximum range of signal frequencies over which the PLL can remain
locked will be,
f s f 0 (f f 0 ) max f 0 K v K A
f 0 f L
2
Where 2fL will be the lock-in frequency range and is given by,
Lock-in range =
2f L K v K A
f L K v K A
The lock-in range is symmetrically located with respect to VCO free running frequency
f0.
For the IC PLL 565
Kv
8f 0
(Voltage to frequency conversion factor of VCO)
V
Where
1 .4
. (From the equation (3)).
f L K v K A
7.8f 0
2
V
(s t s ) (0 t 0 ) (s 0 )t
Thus the phase angle difference does not remain constant but will change with time at
a rate given by
http://annauniversitystudymaterials.blogspot.in/
Page 109
d
(s 0 )
dt
The phase detector output voltage will therefore not have a dc component but will
produce an ac voltage with a triangular waveform of peak amplitude K/2 and a
fundamental frequency (fs-f0) = f.
The low pas filter is a simple RC network having transfer function
T(s)
1
(s 0 )
RCs 1
T(j )
Where
f1
1
1
jRC 1 j2fRC 1
1
1
f
f1
1
is the cutoff frequency or 3-dB pint of Low Pass Filter. Magnitude
2RC
f
T(j )
1 , then
2 . If the term
f
f
1
1
f1
f
T(j ) 1
f
The fundamental frequency term supplied to the LPF by the phase detector will be the
difference frequency f = (fs-f0). If f>3f1, the LPF transfer function will be
approximately.
f
f
T(j ) 1 1
f f s f 0
The voltage vc to drive VCO is
f
f
v c v e 1 A or v c max v e max 1 A
f
f
http://annauniversitystudymaterials.blogspot.in/
Page 110
v c max K v K
f1
2 f
The corresponding value of the maximum VCO frequency shift is given by,
f
(f f 0 ) max K v vc(max) K v K A 1
2 f
For the acquisition of signal frequency, we should put f=fs, then
f
(fs f 0 ) max K v vc(max) K v K A 1
2 f c
fc 2 K v K A f1
2
Since f L K v K A
f c 2 f1f L
f c f1f L
Therefore the total capture range is
2f c 2 f1f L
Where the lock-in range =2fL=KvKA. In case of IC PLL 565, R=3.6k so the capture
range is
f c
f L
2 (3.6103 )C
The capture range is symmetrically located with respect to VCO free running
frequency f0 as is shown in fig.6.6.
http://annauniversitystudymaterials.blogspot.in/
Page 111
The PLL cannot acquire a signal outside the capture range, but once captured, it
will hold on till the signal frequency goes beyond the lock-in range.
Procedure:
1. Connections are made as per the circuit diagram obtained as per the design
values.
2. The activation input (Vcc)of 6V d.c. is applied from a regulated power
supply unit
3. The VCO output is connected to phase comparator VCO input terminal.
4. Modulating input Vc of 2V d.c. is applied from regulated power supply unit.
5. The output signals (VCO output, Demodulated output and Reference output
and capacitor output) are observed using a CRO and the frequency and
amplitude (p-p) of the output waveforms are recorded.
6. The output is verified for validity by comparing the frequency for which the
circuit is designed and input voltages.
Inference:
http://annauniversitystudymaterials.blogspot.in/
Page 112
Viva Questions:
1. What are the basic building blocks of a PLL?
2. What is mean by capture range and lock range?
3. What is the major difference between digital and analog PLLs?
4. What is mean by pull in time?
5. What is the range of modulating input voltage applied to a VCO?
6. What are the applications of PLL?
7. Which is greater capture range or lock range and why?
8. What are the important electrical parameters of 565PLL?
9. When the PLL is said to be in locked state?
10. What is mean by phase detector?
http://annauniversitystudymaterials.blogspot.in/
Page 113