Signal Processing

Code Tracking

The closed-loop process that maintains sub-chip alignment between the receiver's local spreading code and the incoming signal after initial acquisition. The delay-locked loop (DLL) with early, prompt, and late correlators is the standard architecture, achieving tracking precision of 0.01 chips or better. Code tracking accuracy directly determines ranging precision in GPS (1 chip = 293 m) and code-division multiple access performance in CDMA.
Category: Signal Processing
Architecture: Delay-Locked Loop (DLL)
Precision: <0.01 chips typical

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.

DLL Tracking Equations
Early-Late Discriminator:
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

DiscriminatorCorrelator SpacingMultipath RejectionNoise Performance
Standard E-L1 chipPoorGood
Narrow E-L0.1 chipGoodSlightly worse
Double-Delta0.1 + 0.5 chipVery goodModerate
MEDLLMultipleExcellentHigh complexity
Common Questions

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.

RF Engineering Resources

Request a Quote

Need GNSS receivers, correlator ICs, or CDMA test equipment? Contact our engineering team.

Get in Touch