Notes: 6.302 Feedback Systems
Notes: 6.302 Feedback Systems
Notes: 6.302 Feedback Systems
In this lab you will investigate phase lock loop (PLL) operation using the CMOS 4046 integrated circuit.
It contains two dierent phase detectors and a VCO. It also includes a zener diode reference for power supply
regulation and a buer for the demodulator output. The user must supply the loop lter. The high input
impedances and low output impedances of the 4046 make it easy to select external components.
Notes
1. Parts 3 and 4 of this lab must be demonstrated to a TA. The TA may ask to see your results from the
preceding parts of the lab. Have this information ready.
2. This lab is complicated. Be sure that you understand how the circuits are supposed to work before
coming into the lab. Do not try to build something that you have not fully analyzed. Read this entire
assignment before beginning to work on it.
3. Data taken in Part 1 will be needed in order to complete your designs in the rest of the lab, therefore,
do this part carefully.
4. Handle the 4046 with care. CMOS integrated circuits are easily destroyed. Avoid static discharges.
Use a 10k
resistor to couple the signal generator to the PLL. Turn o the signal generator before
turning o power to the 4046, or else you will power up the entire circuit from the signal input. Avoid
shorting the outputs to ground or the supply. A TTL gate can withstand this kind of abuse, but CMOS
cannot (be careful of loose wires). CMOS does not have the output strength to drive capacitive loads.
VSS should be connected to ground, VDD should be connected to 5V, and pin 5 should be connected
to ground (otherwise the VCO in inhibited).
1 VCO Operation
Read the circuit description in the datasheet. The VCO constant (KO in radians/sec-volt) is the ratio of
the change in operating frequency to the change in input voltage (on pin 9). Measure KO , that is, graph the
output frequency versus the input voltage. Be sure that your data covers the range from 5 kHz to 50 kHz.
Make the measurements with various values1 of R1 , R2 , and C . Approximately, how is KO related to R1 ,
R2 , and C ? Measure the rise and fall times of the VCO output. Investigate the eects of capacitive loading.
1
2.1 Phase Comparator II
Before continuing, consider the output of phase comparator II of the 4046. The output is a tristate device.
This causes a reduction of the ripple when the loop is locked. Instead of a 50% duty cycle beat note at
twice the fundamental, there is no beat note at all. Unfortunately, when one wishes to construct a block
diagram for the loop, KD is not well-specied. When either the upper or lower driver is on, the output looks
like a voltage source, but when the output is
oating, it is essentially a current source (a source of 0 amps).
Therefore the value of KD will depend on the specic lter. Consider Figure 1.
4046 Vpo R3
PIN 13
VD
PD2 C1
OUTPUT
Note that the value of KD depends on the value of vD . This makes the mathematics of the loop much
more confusing. In fact KD is dierent for positive and negative phase errors when vD is not 2.5 volts. In
order to get a usable output, we can modify the output to yield a xed value of KD . To do this we can put
an active element in to dene the value of vD when the output is open. In both Figures 2 and 4 the open
value is dened as 2.5 volts which leads to an equal value of KD for positive and negative e . If you use
phase comparator II with just an RC network, be sure to realize that the loop dynamics may be considerably
compromised at extremes of lock range.
A simple second order PLL with \passive" loop lter is illustrated in Figure 2. Phase comparator II is
used. When the loop is locked, the average phase detector output voltage is vD = 2:5 + 2:5(e =2) volts.
The incremental phase detector gain constant is then KD = 2:5=2 volts/radian. Consider the following
specications:
loop crossover frequency !c = 1000 rad/s
phase margin m = 45
center frequency fO = 19 kHz
phase detector II
Where we dene the center frequency, fO , as the VCO output frequency when pin 9 is 2.5 volts. Using
the topology illustrated in Figure 2, design and build a circuit that meets these specications2 .
Document your design with block diagrams and Bode plots of the magnitude and angle of the loop trans-
mission. What is the steady state phase error and lock range? How do your predictions and measurements
compare?
The phase margin of the loop may be deduced from measurements of the step response of the loop.
One technique is to apply a FM signal to the input and look at the demodulated output. Specically, use
2 Hint: let R3 C1 = 1 ms. Then C and R1 are chosen to set O , while
K R2 determines O .
f
2
SIGNAL
IN +5
14 16
PHASE
+5V
COMPARATOR I
COMPARATOR
IN 3
2 10kΩ
PHASE COMP I OUT
13 + VD
PHASE
PHASE COMP II OUT
R3
COMPARATOR
II 1
10kΩ
PHASE PULSES
−
VCO
OUT 4
6
C1
C 9 VCO IN
7 VCO
R1
11 DEMODULATOR
SOURCE 10 OUT
R2 FOLLOWER
12
8 15
ZENER
a square wave to modulate the frequency of the function generator which you are using for your input3 .
Observe the VCO input voltage. Measure the risetime and peak overshooot. Are these results compatible
with a second order system with the specied crossover frequency and phase margin? NOTE: the frequency
deviation should be very small so that the PLL does not break lock.
R3
VD VCO Input
C1
R4
3
to increase the high frequency attenuation. If this pole is placed beyond the loop crossover frequency, there
will be negligible change in the FM step response, except that the high frequency teeth will be removed.
Now try increasing the FM frequency deviation so that the loop breaks lock. Note the response at the
phase comparator output and VCO input.
3 Active Filters
Return to the lag compensated PLL using phase comparator II as in Part 2.1. Apply a FM modulated
input to observe the step response as before. Look at the output of the phase comparator (pin 13). The
steady state phase error and dynamic tracking error should be apparent if you mentally average out the high
frequency components4 . Try varying the input frequency range.
Active lters are used to reduce this tracking error. A possible active lter PLL realization is illustrated
in Figure 4.
SIGNAL
IN +5
14 16
+5V
C2
10kΩ
PHASE
COMPARATOR I C1
COMPARATOR 2
IN 3
PHASE COMP I OUT R3 10kΩ +5V
R4
13
−
PHASE
PHASE COMP II OUT 10kΩ
−
COMPARATOR
1
10kΩ
II PHASE PULSES
VCO
+
OUT 4
+
10kΩ
6
C 9 VCO IN
7 VCO
R1
11 DEMODULATOR
SOURCE 10 OUT
R2 FOLLOWER
12
8 15
ZENER
4
as shown. The low pass lter (R3 and C2 ) provides extra attenuation of the high frequency phase detector
ripple. It also should keep the opamp from slew rate limiting.
Again the active circuit species the open state output of phase detector II to be 2.5 volts. The inverter
is necessary because the PLL wants a non-inverting topology. R4 C1 sets the crossover frequency, and R2
sets the zero location, hence the stability. 1=(R3 C2 ) should be set at least a factor of 5 above !c. KD is
the same as before (as it would be for any loop lter which specied the open state volatage of the phase
detector as 2.5 volts).
Feel free to design your own second order loop lter topology if you wish, just be careful not to destroy
the 4046. Design and build a PLL using an active loop lter to meet the folowing specications:
loop crossover frequency !c = 1000 rad/s
phase margin m = 45
center frequency fO = 19 kHz
lock range 18 kHz to 20 kHz
steady state error ess = 0
phase detector II
Draw the appropriate Bode plots. Make measurements of the step response. Again look at the phase
detector output (pin 13). What can you say about the dynamic tracking error? What about the steady
state error?
4 Frequency Limitations
Determine the maximum operating frequency of the PLL. It may be convenient to use a simple passive loop
lter with a fairly wide loop bandwidth (!c = 10 krps).
Is the maximum frequency greater for Phase Comparator I or II? What is the limiting factor, the VCO
or the phase comparator?