Carrier and Code Tracking (GPS and Galileo Receiver) Part 1

Motivation

The acquisition provides only rough estimates of the frequency and code phase parameters. The main purpose of tracking is to refine these values, keep track, and demodulate the navigation data from the specific satellite (and provide an estimate of the pseudorange). A basic demodulation scheme is shown in Figure 7.1.

The figure shows the scheme used to demodulate the input signal to obtain the navigation message. First, the input signal is multiplied with a carrier replica. This is done to wipe off the carrier wave from the signal. In the next step, the signal is multiplied with a code replica, and the output of this multiplication gives the navigation message. So the tracking module has to generate two replicas, one for the carrier and one for the code, to perfectly track and demodulate the signal of one satellite. In the following, a detailed description of the demodulation scheme is conducted.

Demodulation

Lettmp2D831_thumbbe the carrier frequencies of L1 and L2 for the signal transmitted from satellite k with powerstmp2D832_thumbfor C/A or P code. The C/A code sequence istmp2D833_thumband the P(Y) code sequence istmp2D834_thumbIf the navigation data sequence is calledtmp2D835_thumbthe total signal is given as


tmp2D841_thumbBasic demodulation scheme. This scheme is used to demodulate the navigation message.

FIGURE 7.1. Basic demodulation scheme. This scheme is used to demodulate the navigation message.

The output from the front end including Altering and downconversion can be described as

tmp2D843_thumb

wheretmp2D844_thumbis the intermediate frequency to which the front end has downconverted the carrier frequency. Equation (7.2) describes the output of the front end from one satellite.

This signal is then sampled by the A/D converter. Because of the narrow bandpass filter around the C/A code, the P code is distorted. In this way the last term in Equation (7.2) is filtered out and cannot be demodulated and is in the following described as noisetmp2D845_thumbThe signal from satellite k after the A/D conversion can be described as

tmp2D848_thumb

with n in units oftmp2D849_thumbindicates that the signal is discrete in time.

To obtain the navigation datatmp2D850_thumbfrom the above signal, the signal has to be converted down to baseband. The carrier removal is done by multiplying the input signal with a replica of the carrier as shown in Figure 7.1. If the carrier replica is identical to the incoming carrier in both frequency and phase, the product of both is

tmp2D853_thumb

where the first term is the navigation message multiplied with the PRN code and the second term is a carrier with the double intermediate frequency. The latter part of the signal can be removed by applying a lowpass filter. The signal after the lowpass filter is

tmp2D854_thumb

The next step is to remove the codetmp2D855_thumbfrom the signal. This is done by correlating the signal with a local code replica. If the code replica is exactly the same as the code in the signal, the output of the correlation is

tmp2D857_thumb

wheretmp2D858_thumbis the navigation message multiplied by the amount of points in the signal N.

Linearized digital second-order PLL model.

FIGURE 7.2. Linearized digital second-order PLL model.

The above description of the demodulation is only for a signal with one satellite. This is done to reduce the complexity of the equations and to give a simpler idea of the demodulation scheme. In the real signal there is a signal contribution from each visible satellite resulting in larger noise terms in the equations.

In the demodulation scheme seen in Figure 7.1, two local signal replicas are required. To produce the exact replica some kind of feedback is needed. The feedback loop to produce the carrier replica is referred to as the carrier tracking loop, and the feedback loop to produce the exact code replica is referred to as the code tracking loop.

Second-Order PLL

Both the carrier tracking (Costas loop) and code tracking [delay lock loop (DLL)] have an analytic linear phase lock loop model that can be used to predict performance.Another excellent reference, once the fundamental models for Costas and DLL have been derived, for linear phase lock loop and its parameters and performance is by Best (2003).

Extending the linear PLL model has been derived by Chung et al. (1993). This approach will be followed by the implementation of both the Costas loop and DLL, yet the linear model references earlier can still be the basis of performance prediction and analysis.

The second-order PLL system contains a first-order filter and a voltage controlled oscillator (VCO). Note that the transfer function of an analog loop filter and a VCO are

tmp2D861_thumb

where F (s) and N (s) are the transfer functions of the filter and NCO, respectively. tmp2D862_thumbis the NCO gain. The transfer function of a linearized analog PLL is [refer to Chung etal. (1993)]

Second-order phase lock loop filter.

FIGURE 7.3. Second-order phase lock loop filter.

 

tmp2D865_thumb

wheretmp2D866_thumbis the gain of the phase discriminator. Substituting Equations (7.7) and (7.8) into the transfer function (7.9) yields

tmp2D869_thumb

where the natural frequencytmp2D870_thumband the damping ratiotmp2D871_thumbtmp2D872_thumbThe above transfer functions are analog versions and to convert the transfer functions to digital form, the bilinear transformation is used on (7.10). This yields the following digital transfer functions for the PLL model:

tmp2D876_thumb

The linearized digital second-order PLL model is shown in Figure 7.2, wheretmp2D877_thumb is the discriminator gain, F (z) is the transfer function of the filter, and N(z) is the transfer function of NCO. The transfer functions for the digital filter and NCO are

tmp2D880_thumb

where F (z) is the transfer function of the filter and N(z) is the transfer function of the NCO. Figure 7.3 shows the phase lock filter F (z).

The goal is to find the coefficientstmp2D881_thumbandtmp2D882_thumbin the second-order PLL. This is done by comparing the transfer function for the digital PLL and the transfer function for the analog PLL. The transfer function for the digital version can be found as

tmp2D885_thumbPhase error as function of different damping ratiosA larger settling time results in a smaller overshoot of the phase.

FIGURE 7.4. Phase error as function of different damping ratiostmp2D887_thumbA larger settling time results in a smaller overshoot of the phase.

By substituting (7.12) and (7.13) into (7.14), we obtain the following:

tmp2D890_thumb

To find an equation for the two coefficientstmp2D891_thumb(7.11) and (7.15) are compared. This yields the following two equations:

tmp2D893_thumb

wheretmp2D894_thumbis the loop gain,tmp2D895_thumbis the damping ratio,tmp2D896_thumbis the natural frequency, and T is the sampling time; see Chung et al. (1993). The natural frequency can be found as

tmp2D900_thumb

wheretmp2D901_thumbis the noise bandwidth in the loop.

The damping ratio and noise bandwidth are computed for a particular signal case. But in some cases an engineer would like to change these values for specific applications or implementations. Therefore, a more thorough explanation is given about these parameters.

Frequency offsets from an acquired frequency offset 20 Hz and for PLL noise bandwidths of 10, 30, and 60 Hz. There are negative peaks in the first 2 ms due to transition phase in the loop filter.

FIGURE 7.5. Frequency offsets from an acquired frequency offset 20 Hz and for PLL noise bandwidths of 10, 30, and 60 Hz. There are negative peaks in the first 2 ms due to transition phase in the loop filter.

Next post:

Previous post: