<< Chapter < Page | Chapter >> Page > |
The goal of the PLL is to maintain a demodulating sine and cosine that match the incoming carrier. Suppose is the believed digital carrier frequency. We can then represent the actual received carrier frequency as theexpected carrier frequency with some offset, . The NCO generates the demodulating sine and cosine with the expected digital frequency and offsets this frequency with the output of the loop filter. The NCO frequency can then be modeled as . Using the appropriate trigonometric identities and . , the in-phase and quadrature signals can be expressed as
The estimated phase mismatch estimate is fed to the NCO via a loop filter, often a simple low-pass filter. For thisexercise you can use a one-tap IIR filter,
It is suggested that you start by choosing and for the loop gain. Once you have a working system, investigate the effects of modifying these values.
Simulate the PLL system shown in [link] using MATLAB. As with the DLL simulation, you will have to simulate the PLL on a sample-by-sample basis.
Use [link] to implement your NCO in MATLAB. However, to ensure that the phase term does not grow toinfinity, you should use addition modulo in the phase update relation. This can be done by setting whenever .
[link] illustrates how the proposed PLL will behave when given a modulated BPSK waveform. In this case thetransmitted carrier frequency was set to to simulate a frequency offset.
Note that an amplitude transition in the BPSK waveform is equivalent to a phase shift of the carrier by . Immediately after this phase change occurs, the PLL begins to adjust the phase to force the quadraturecomponent to zero (and the in-phase component to ). Why would this phase detector not work in a real BPSK environment? How could it be changed to work?
Notification Switch
Would you like to follow the 'Ece 320 spring 2004' conversation and receive update notifications?