GPS satellite clocks: motion, radio signals & relativity

An interactive educational model of an Earth station and a moving GPS satellite. Orbital motion is visually accelerated; the equations use real orbital velocities and the actual speed of light. Toggle corrections to see their contributions.

Orbital geometry and radio transfer

Satellite nowSatellite at transmissionGround stationSignal in flight

Orbital animation is accelerated moderately. During the two-way demonstration, orbital time is frozen on the main view and the real satellite movement over each radio leg is computed separately. Signal animation is deliberately slowed for visibility. This is a pedagogical two-way time-transfer exchange, NOT the normal one-way GPS broadcast.

Ready: press Send signal for a ground → satellite → ground exchange.

Physical and mathematical model

Coordinate times and positions refer to an Earth-centered inertial (ECI) frame unless otherwise indicated. The displayed example is a two-dimensional Kepler orbit with a rotating Earth.

Satellite: rₛ(t) = a(cos E − e, √(1−e²) sin E) rotated by argument of perigee Kepler: E − e sin E = n(t−tₚ), n = √(μ/a³) Velocity: vₛ(t) = drₛ/dt Ground: rᵣ(t) = Rₑ(cos(θ₀+ωₑt), sin(θ₀+ωₑt))
Light-time equation in ECI (iteratively solved): c (tᵣ − tₑ) = |rᵣ(tᵣ) − rₛ(tₑ)| Satellite movement: Δrₛ = |rₛ(tᵣ) − rₛ(tₑ)|
Earth rotation / Sagnac (first-order ECEF approximation): Δρ_Sag ≈ (ωₑ/c)(xₛ yᵣ − yₛ xᵣ) The ECI moving-endpoint solution already includes Earth rotation. Do NOT add the Sagnac term a second time to that solution.
Weak-field proper-time rate (ECI): dτ/dt ≈ 1 − μ/(rc²) − v²/(2c²) Ground reference: dτᵣ/dt ≈ 1 − μ/(Rₑc²) − (ωₑRₑ)²/(2c²) Rate difference: d(τₛ−τᵣ)/dt ≈ [μ/Rₑ − μ/rₛ + ((ωₑRₑ)²−vₛ²)/2]/c²
GPS nominal oscillator pre-offset: Δf/f ≈ −4.464×10⁻¹⁰ Typical unadjusted satellite–ground drift: ≈ +38 μs/day Periodic eccentricity clock correction: Δt_rel = −2(rₛ · vₛ)/c² = −2√(μa)e sin E/c² Broadcast clock polynomial: δtₛ = a₀ + a₁(t−t₀) + a₂(t−t₀)² + Δt_rel
Simplified code pseudorange model: P = ρ + c(δtᵣ−δtₛ) + T + I + M + b + ε ρ = geometric ECI range between emission and reception events T = troposphere; I = ionosphere; M = multipath; b = hardware biases; ε = measurement noise
First-order Shapiro gravitational path delay (range): Δρ_Shapiro = (2μ/c²) ln[(rₛ+rᵣ+ρ)/(rₛ+rᵣ−ρ)]

Scope: The geometric light-time, orbital velocity, Sagnac comparison, weak-field rate and eccentricity corrections are calculated. Ionosphere, troposphere, hardware delay and multipath use clearly labelled illustrative parameters, not real observations or broadcast meteorological/TEC data. This is not a full operational GPS navigation engine: real solutions also use broadcast ephemerides, Earth orientation, antenna corrections, precise clock products and multi-satellite positioning.