How does GPS work?
The Global Positioning System (GPS) is a network of about 30 satellites orbiting the Earth at an altitude of 20,000 km. The system was originally developed by the US government for military navigation but now anyone with a GPS device, be it a SatNav, mobile phone or handheld GPS unit, can receive the radio signals that the satellites broadcast.
Wherever you are on the planet, at least four GPS satellites are ‘visible’ at any time. Each one transmits information about its position and the current time at regular intervals. These signals, travelling at the speed of light, are intercepted by your GPS receiver, which calculates how far away each satellite is based on how long it took for the messages to arrive.
Once it has information on how far away at least three satellites are, your GPS receiver can pinpoint your location using a process called trilateration.
Imagine you are standing somewhere on Earth with three satellites in the sky above you. If you know how far away you are from satellite A, then you know
you must be located somewhere on the red circle. If you do the same for satellites B and C, you can work out your location by seeing where the three circles intersect. This is just what your GPS receiver does, although it uses overlapping spheres rather than circles.
The more satellites there are above the horizon the more accurately your GPS unit can determine where you are.
GPS and Relativity
GPS satellites have atomic clocks on board to keep accurate time. General and Special Relativity however predict that differences will appear between these clocks and an identical clock on Earth.
General Relativity predicts that time will appear to run slower under stronger gravitational pull – the clocks on board the satellites will therefore seem to run faster than a clock on Earth.
Furthermore, Special Relativity predicts that because the satellites’ clocks are moving relative to a clock on Earth, they will appear to run slower.
The whole GPS network has to make allowances for these effects – proof that Relativity has a real impact.Source: www.physics.org