Study of Analog Phase-Locked Loop (APLL) : Exercise 9
Study of Analog Phase-Locked Loop (APLL) : Exercise 9
Exercise 9.
References
[1] G. Kolumbán, “Phase-Locked Loops,” article in The Encyclopedia of RF and
Microwave
Engineering, K. Chang, (Ed.), vol. 4, pp. 3735–3767, Wiley, New York, 2005.
Matlab help
− help command; Matlab description of command.
− clear; erase the variables and functions from memory.
− load PD.txt; load PD.txt ASCII file. It contains a matrix and it is the actual value
of variable PD. The name of the file .m or .mat cannot be the same even without
extension as the name of the file to be loaded.
− y=PD(:,2); it loads the second column of the previously loaded file (that is PD
variable now) to variable y.
− x=PD(:,1); it loads the first column of the previously loaded file (that is PD
variable now) to variable x.
− figure; figure window appears.
− plot(x,y); plots y vector assigned to x vector (puts pairs xi, yi into the coordinate
position x,y).
− semilogx(x,y); the same as the previous except that this command uses
logarithmic scale to x.
1
Laboratory 2. Exercise 9.
− axis([xmin xmax ymin ymax]); sets the maximum and minimum values for x
and y coordinate axes.
− grid; puts such a grid to the coordinate system that fits to the axes.
− xlabel('\theta_2[^o]'); writes text to axis x.
− ylabel('u_d [ V ]'); writes text to axis y.
Measurement instruments:
Oszcilloscope Agilent 54622A
Power supply Agilent E3630
Synchronizable function generators Agilent 33220A-Option 001
Digital multimeter (6½ digit) Agilent 33401A
Digital multimeter (3½ digit) Metex ME-22T
Test panel
Phase- locked loop (PLL) to be measured is built into a test panel. The terminals of the PLL
can be accessed via BNC connectors. Test panel is shown by fig. 9-17.
2
Laboratory 2. Exercise 9.
3
Laboratory 2. Exercise 9.
Attention!
DO NOT connect any other input or output terminals of the test panel to the power supply
to avoid the damage of the circuit!
4
Laboratory 2. Exercise 9.
ωn = 11130 [rad/s]
1 + sτ 3
Parameters of loop filter denoted by transfer function :
sτ 2
τ3 = 45,2.10-6 [s/rad]
τ2 = 43.10-6 [s/rad]
ζ = 0,25
ωn = 11130 [rad/s]
2. Switch between loop filter and VCO is three states.
Switching toward label PD, VCO opens the loop to measure the elements of the loop
unconnected from the loop (phase detector and VCO).
Phase detector
Reference signal should be connected to input PDin1 of the phase detector while the
other signal to be connected to input PDin2. Output signal of the VCO is switched off
from the input of the phase detector by the switch (VCO output and PD input are not
connected this way.) The output of the phase detector still can be accessed at PDout.
VCO
This state of the switch connects the potentiometer labeled VCOin adj to the input of
the VCO. The potentiometer provides voltage from -10V to +10V. This voltage also
appears at the BNC terminal labeled VCODC for measuring purpose. The output
signal of the VCO can be accessed at BNC terminal labeled VCOout.
Attention!
Terminal VCODC is not input, therefore do not connect the power supply or the
generator to it!
Switching to the middle position supports the free-running frequency of VCO.
The input of the VCO is unconnected from any input signal. The output signal of the
VCO remains accessible at BNC terminal labeled VCOout.
Switching toward label PLL closes the loop to measure the PLL.
In this position of the switch terminal PDin2 is unconnected from the phase detector
and potentiometer is unconnected from the VCO input however the output signal of
the VCO is now connected to the PD.
Reference signal should be connected to PDin1 input of the phase detector. The output of the
phase detector is accessible at PDout. The output of the loop filter is accessible at F(s)out. The
output of the VCO is accessible at VCOout. External signal to the VCO can be connected via
terminal labeled VCOin ext.
5
Laboratory 2. Exercise 9.
Laboratory exercises
6
Laboratory 2. Exercise 9.
Push buttons in the following order Utility -> Output Setup -> Adjust
Phase at the function generator. Set the signal phase of the function generator
to have 0o phase difference to the signal of the other function generator. Check
on the oscilloscope that the two signals are in the same phase. (The two
signals overlap each other.) If it is so push button Set 0 Phase then this
phase state is stored and this means the zero phase difference between the
two function generators. Now write 90o on the function generator connected to
input PDin2, set it, and push again button Set 0 Phase. As a result the
reference signal becomes a sine while signal of the function generator
connected to PDin2 is a cosine (shifted with 90o to the reference). Obtain the PD
curve between -180o and +180o as it was detailed before.
7
Laboratory 2. Exercise 9.
As a final check use Lissajous measuring method. If phase locked state is valid
a circle must be seen.
2.2. Obtaining tracking range
The connections are the same as before.
Slowly change the output frequency of the function generator from 90 kHz to 78
kHz while continuously watching the oscilloscope waiting for the two signals
loose synchronization. Then measure the upper tracking frequency by changing
the frequency of the function generator from 90 kHz to 102 kHz. Record the
data.
As a final check use Lissajous measuring method.
8
Laboratory 2. Exercise 9.
9
Laboratory 2. Exercise 9.
Set frequency hop (Hop Freq.) to 92 kHz and using the same measurement
setup as in 5.1. measure the demodulated signal. Save the screen of the
oscilloscope.
The switch between the loop filter and the VCO should be set into PLL position.
The other switch between PD and the loop filter should be set into the down
1 + sτ 3
position to have loop filter with transfer function in the loop. Save the
sτ 2
screen of the oscilloscope and explain the difference from the previous result.
Measure the signal appearing at F(s)out. Save the screen of the oscilloscope.
The switch between PD and the loop filter should be set into the down position
1 + sτ 3
to have loop filter with transfer function in the loop and repeat the
sτ 2
previous measurement. Explain the differences.
10