



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Electrical and Computer Engineering Technology Department ECET 4420 Laboratory Exercise: Phase-Locked Loop
Objective:
The objectives of this exercise are to study the various aspects of PLL operation, to perform some of the basic calculations of the PLL performance parameters, and to observe demodulation of a FSK waveform using a PLL.
Introduction:
The phase locked loop is a non linear feedback loop. The PLL performance is described by non- linear equations. The principle of operation is simple or so it would appear. Consider the PLL block diagram as shown in Fig. 1 in an open-loop form (feedback link cut). If the VCO is tuned precisely to the frequency of the incoming signal, then the output Vout would be a DC voltage whose magnitude depended on the phase difference between the VCO waveform and the incoming signal.
Now suppose the VCO starts to drift slowly in frequency. Depending upon which way it drifted, the output would be a slowly varying AC waveform, at a frequency sometimes called the beat frequency.
If the sign of the slow varying AC voltage, now a VCO control voltage, is such that it is changing in a direction to force the VCO back to the incoming carrier frequency, the VCO is encouraged to ‘lock-on’ to the incoming signal. This is principle of carrier acquisition. This is the normal function of the closed-loop PLL.
PLLs may be used to track the frequency changes in the input waveform, producing a time- varying voltage at Vout that resembles the waveform that modulated the input waveform in the first place.
In this laboratory exercise, you will calculate the expected loop gain, capture range, and lock range of a PLL that you will build using the TIMS system. Then you will input a frequency-shift key waveform and examine the recovered bit pattern at Vout. Recall that FSK is a special type of frequency modulation in which the carrier is shifted between to discrete frequencies according to a digital bit pattern.
Fig. 1. PLL block diagram
Input f (^) i
Vout
VCO Output f (^) o
Phase Detector K (^) d
VCO Ko
Amp Ka
Loop Filter Kf
Pre-Lab:
VCO Gain KO:
First, consider two 5V peak-peak (±2.5V swing) square waves that are exactly in-phase (phase error of Өe = 0 radians). If they are input to the analog multiplier, what would be the output voltage? Note: it may help to sketch the waveforms.
Multiplier output voltage when Өe = 0:
Second, if the same square waves are offset by π/2 (90°), what would the multiplier output voltage be?
Multiplier output voltage when Өe = π/2:
Assuming that the phase detector gain is linear, calculate the gain Kd1 by dividing the difference in multiplier output voltages by the difference in phase errors. Write this as a positive number below.
Phase detector gain Kd1:
The TIMS multiplier scales the gain Kd1 by approximately ½, so the approximate phase detector gain is 0.5 Kd1. Write the TIMS phase detector gain below as K (^) d.
TIMS Phase detector gain Kd :
PLL loop gain KV: PLL loop gain KL:
Fig. 3. PLL Connections
e) Set the DC power supply to 3VDC and adjust the VCO GAIN control until the VCO output frequency is 70 ± 0.5 KHz. f) This completes the VCO set up.
Utilities
RC LPF
VCO
TTL
Vin
Vout
VCO out
Function Generator Input
Multiplier
X
Y kXY
AC
DC
whether the phase error is leading or lagging, use the function generator waveform as the reference.
Table 1. Measured PLL data.
Nominal Frequency Measured VCO Frequency VCO Input Voltage Phase Error Өe
Free-run + 4 KHz
Free-run + 2 KHz
Free-run
Free-run – 2 KHz
Free-run + 4 KHz
Frequency Measured Frequency Phase Error Өe
Upper lock, f (^) LU
Lower lock, fLL
Upper capture, f (^) CU
Lower capture, fCL