Code Tracking
Understanding Code Tracking
After acquisition brings the code alignment within one chip, the tracking loop takes over to maintain and refine this alignment continuously. The DLL generates three time-shifted copies of the local code: Early (advanced), Prompt (on-time), and Late (delayed). The Prompt correlator output is the despreaded signal used for data demodulation. The Early and Late correlators sample the autocorrelation function on either side of the peak.
When the code alignment drifts, one side sees a larger correlation than the other. The difference (Early−Late) generates an error signal that drives the loop filter and code NCO to correct the alignment. The discriminator characteristic (S-curve) determines the loop's pull-in range and sensitivity.
e = |R(τ−d/2)|² − |R(τ+d/2)|²
where R(τ) = autocorrelation, d = correlator spacing
Thermal noise tracking jitter:
στ ≈ √(BL × d / (2 × C/N0)) chips
GPS example (C/A, C/N0=45 dBHz, BL=1 Hz, d=1 chip):
στ = 0.004 chips = 3.9 ns = 1.2 m ranging error
Rule of thumb:
Halving BL halves jitter. Halving d halves multipath error.
Narrow correlator (d=0.1 chip) reduces multipath error from 150 m to ~15 m.
DLL Discriminator Comparison
| Discriminator | Correlator Spacing | Multipath Rejection | Noise Performance |
|---|---|---|---|
| Standard E-L | 1 chip | Poor | Good |
| Narrow E-L | 0.1 chip | Good | Slightly worse |
| Double-Delta | 0.1 + 0.5 chip | Very good | Moderate |
| MEDLL | Multiple | Excellent | High complexity |
Frequently Asked Questions
How does the early-late DLL work?
Three code replicas: Early, Prompt, Late. Error = |Early|²−|Late|². Positive when early, negative when late. Loop filter drives NCO to zero the error. At lock, Prompt output is maximum. Narrower spacing improves multipath rejection but reduces pull-in range.
What determines tracking accuracy?
Jitter ≈ √(BL×d/(2×C/N0)). GPS C/A at 45 dBHz, BL=1 Hz, d=1: σ=1.2 m. Reducing BL to 0.25 Hz halves jitter to 0.6 m. Multipath, not noise, is typically the dominant error in practice.
How does multipath affect tracking?
Reflected signals distort the autocorrelation, biasing the discriminator. Standard 1-chip spacing: up to 150 m error. Narrow correlator (0.1 chip): ~15 m. Double-delta and MEDLL techniques achieve <2 m in typical environments.