# GPS: Wikis

Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

### Did you know ...

More interesting facts on GPS

# Encyclopedia

(Redirected to Global Positioning System article)

 Artist's conception of GPS Block II-F satellite in orbit Civilian GPS receiver ("GPS navigation device") in a marine application. Automotive navigation system in a taxicab. GPS receivers are now integrated in many mobile phones.

The Global Positioning System (GPS) is a U.S. space-based global navigation satellite system. It provides reliable positioning, navigation, and timing services to worldwide users on a continuous basis in all weather, day and night, anywhere on or near the Earth which has an unobstructed view of four or more GPS satellites.

GPS is made up of three segments: Space, Control and User. The Space Segment is composed of 24 to 32 satellites in Medium Earth Orbit and also includes the boosters required to launch them into orbit. The Control Segment is composed of a Master Control Station, an Alternate Master Control Station, and a host of dedicated and shared Ground Antennas and Monitor Stations. The User Segment is composed of hundreds of thousands of U.S. and allied military users of the secure GPS Precise Positioning Service, and tens of millions of civil, commercial and scientific users of the Standard Positioning Service (see GPS navigation devices). GPS satellites broadcast signals from space that GPS receivers use to provide three-dimensional location (latitude, longitude, and altitude) plus precise time.

GPS has become a widely used aid to navigation worldwide, and a useful tool for map-making, land surveying, commerce, scientific uses, tracking and surveillance, and hobbies such as geocaching and waymarking. Also, the precise time reference is used in many applications including the scientific study of earthquakes and as a time synchronization source for cellular network protocols.

GPS has become a mainstay of transportation systems worldwide, providing navigation for aviation, ground, and maritime operations. Disaster relief and emergency services depend upon GPS for location and timing capabilities in their life-saving missions. The accurate timing that GPS provides facilitates everyday activities such as banking, mobile phone operations, and even the control of power grids. Farmers, surveyors, geologists and countless others perform their work more efficiently, safely, economically, and accurately using the free and open GPS signals.

## History

The design of GPS is based partly on similar ground-based radio navigation systems, such as LORAN and the Decca Navigator developed in the early 1940s, and used during World War II. In 1956 Friedwardt Winterberg[1] proposed a test of General Relativity using accurate atomic clocks placed in orbit in artificial satellites. To achieve accuracy requirements, GPS uses principles of general relativity to correct the satellites' atomic clocks. Additional inspiration for the GPS came when the Soviet Union launched the first man-made satellite, Sputnik in 1957. A team of U.S. scientists led by Dr. Richard B. Kershner were monitoring Sputnik's radio transmissions. They discovered that, because of the Doppler effect, the frequency of the signal being transmitted by Sputnik was higher as the satellite approached, and lower as it continued away from them. They realized that since they knew their exact location on the globe, they could pinpoint where the satellite was along its orbit by measuring the Doppler distortion (see Transit (satellite)).

The first satellite navigation system, Transit, used by the United States Navy, was first successfully tested in 1960. It used a constellation of five satellites and could provide a navigational fix approximately once per hour. In 1967, the U.S. Navy developed the Timation satellite which proved the ability to place accurate clocks in space, a technology that GPS relies upon. In the 1970s, the ground-based Omega Navigation System, based on phase comparison of signal transmission from pairs of stations,[2] became the first worldwide radio navigation system. However, limitations of these systems drove the need for a more universal navigation solution with greater accuracy.

With these parallel developments out of the 1960s, it was realized that a superior system could be developed by synthesizing the best technologies from 621B, Transit, Timation and SECOR in a multi-service program. Over the Labor Day weekend in 1973, a meeting of about 12 military officers at the Pentagon discussed the creation of a Defense Navigation Satellite System (DNSS). It was at this meeting that "the real synthesis that became GPS was created." Later that year, the DNSS program was named Navstar. With the individual satellites being associated with the name Navstar (as with the predecessors Transit and Timation), a more fully encompassing name was used to identify the constellation of Navstar satellites. This more complete name was Navstar-GPS which was later shortened simply to GPS.[6]

After Korean Air Lines Flight 007 was shot down in 1983 after straying into the USSR's prohibited airspace,[7] President Ronald Reagan issued a directive making GPS freely available for civilian use, once it was sufficiently developed, as a common good.[8] The first satellite was launched in 1989, and the 24th and last satellite was launched in 1994.

Initially, the highest quality signal was reserved for military use, and the signal available for civilian use intentionally degraded ("Selective Availability", SA). This changed in 2000, with U.S. President Bill Clinton ordering Selective Availability (SA) turned off at midnight May 1, 2000, improving the precision of civilian GPS from about 1000 feet to about 65 feet.

### Timeline and modernization

Summary of satellites[9]
Block Launch
Period
Satellite launches Currently in orbit
and healthy
Suc-
cess
Fail-
ure
In prep-
aration
Plan-
ned
I 1978–1985 10 1 0 0 0
II 1989–1990 9 0 0 0 0
IIA 1990–1997 19 0 0 0 11 of the 19 launched
IIR 1997–2004 12 1 0 0 12 of the 13 launched
IIR-M 2005–2009 8 0 0 0 7 of the 8 launched
IIF 2010–2011 0 0 10 0 0
IIIA 2014–? 0 0 0 12 0
IIIB 0 0 0 8 0
IIIC 0 0 0 16 0
Total 58 2 10 36 30
(Last update: 29 December 2009)

PRN 01 from Block IIR-M is unhealthy
PRN 25 from Block IIA is unhealthy
See the GPS almanac. For a more complete list, see list of GPS satellite launches

• In 1972, the U.S. Air Force Central Inertial Guidance Test Facility (Holloman AFB), conducted developmental flight tests of two prototype GPS receivers over White Sands Missile Range, using ground-based pseudo-satellites.
• In 1978, the first experimental Block-I GPS satellite was launched.
• In 1983, after Soviet interceptor aircraft shot down the civilian airliner KAL 007 that strayed into prohibited airspace due to navigational errors, killing all 269 people on board, U.S. President Ronald Reagan announced that the GPS would be made available for civilian uses once it was completed.[10][11]
• By 1985, ten more experimental Block-I satellites had been launched to validate the concept.
• On February 14, 1989, the first modern Block-II satellite was launched.
• In 1992, the 2nd Space Wing, which originally managed the system, was de-activated and replaced by the 50th Space Wing.
• By December 1993, the GPS achieved initial operational capability.[12]
• By January 17, 1994 a complete constellation of 24 satellites was in orbit.
• Full Operational Capability was declared by NAVSTAR in April 1995.
• In 1996, recognizing the importance of GPS to civilian users as well as military users, U.S. President Bill Clinton issued a policy directive[13] declaring GPS to be a dual-use system and establishing an Interagency GPS Executive Board to manage it as a national asset.
• In 1998, U.S. Vice President Al Gore announced plans to upgrade GPS with two new civilian signals for enhanced user accuracy and reliability, particularly with respect to aviation safety and in 2000 the U.S. Congress authorized the effort, referring to it as GPS III.
• In 1998, GPS technology was inducted into the Space Foundation Space Technology Hall of Fame.
• On May 2, 2000 "Selective Availability" was discontinued as a result of the 1996 executive order, allowing users to receive a non-degraded signal globally.
• In 2004, the United States Government signed an agreement with the European Community establishing cooperation related to GPS and Europe's planned Galileo system.
• In 2004, U.S. President George W. Bush updated the national policy and replaced the executive board with the National Executive Committee for Space-Based Positioning, Navigation, and Timing.
• November 2004, QUALCOMM announced successful tests of assisted GPS for mobile phones.[14]
• In 2005, the first modernized GPS satellite was launched and began transmitting a second civilian signal (L2C) for enhanced user performance.
• On September 14, 2007, the aging mainframe-based Ground Segment Control System was transitioned to the new Architecture Evolution Plan.[15]
• The most recent launch was on August 17, 2009.[16] The oldest GPS satellite still in operation was launched on November 26, 1990, and became operational on December 10, 1990.[17]
• On May 19, 2009, the U. S. Government Accountability Office issued a report warning that some GPS satellites could fail as soon as 2010.[18]
• On May 21, 2009, the Air Force Space Command allayed fears of GPS system failure saying "There's only a small risk we will not continue to exceed our performance standard."[19]

## Basic concept of GPS

A GPS receiver calculates its position by precisely timing the signals sent by the GPS satellites high above the Earth. Each satellite continually transmits messages which include

• the time the message was transmitted
• precise orbital information (the ephemeris)
• the general system health and rough orbits of all GPS satellites (the almanac).

The receiver utilizes the messages it receives to determine the transit time of each message and computes the distances to each satellite. These distances along with the satellites' locations are used with the possible aid of trilateration to compute the position of the receiver. This position is then displayed, perhaps with a moving map display or latitude and longitude; elevation information may be included.

The GPS signal allows to repeat this calculation every 6 seconds. Many GPS units show derived information such as direction and speed, calculated from position changes.

Three satellites might seem enough to solve for position, since space has three dimensions and a position on the Earth's surface can be assumed. However, even a very small clock error multiplied by the very large speed of light[20]—the speed at which satellite signals propagate—results in a large positional error. Therefore receivers use four or more satellites to solve for the receiver's location and time. The very accurately computed time is effectively hidden by most GPS applications, which use only the location. A few specialized GPS applications do however use the time; these include time transfer, traffic signal timing, and synchronization of cell phone base stations.

Although four satellites are required for normal operation, fewer apply in special cases. If one variable is already known, a receiver can determine its position using only three satellites. (For example, a ship or plane may have known elevation.) Some GPS receivers may use additional clues or assumptions (such as reusing the last known altitude, dead reckoning, inertial navigation, or including information from the vehicle computer) to give a degraded position when fewer than four satellites are visible (see,[21] Chapters 7 and 8 of,[22] and [23]).

### Position calculation introduction

To provide an introductory description of how a GPS receiver works, errors will be ignored in this section. Using messages received from a minimum of four visible satellites, a GPS receiver is able to determine the times sent and then the satellite positions corresponding to these times sent. The x, y, and z components of position, and the time sent, are designated as $\scriptstyle\left[x_i,\, y_i,\, z_i,\, t_i\right]$ where the subscript i is the satellite number and has the value 1, 2, 3, or 4. Knowing the indicated time the message was received $\scriptstyle\ tr$, the GPS receiver can compute the transit time of the message as $\scriptstyle\left (tr-t_i\right )$. Assuming the message traveled at the speed of light, c, the distance traveled, $\scriptstyle p_i$ can be computed as $\scriptstyle\left (tr-t_i\right )c$.

A satellite's position and distance from the receiver define a spherical surface, centered on the satellite. The position of the receiver is somewhere on this surface. Thus with four satellites, the indicated position of the GPS receiver is at or near the intersection of the surfaces of four spheres. (In the ideal case of no errors, the GPS receiver would be at a precise intersection of the four surfaces.)

If the surfaces of two spheres intersect at more than one point, they intersect in a circle. The article trilateration shows this mathematically. A figure, Two Sphere Surfaces Intersecting in a Circle, is shown below.

Two sphere surfaces intersecting in a circle

The intersection of a third spherical surface with the first two will be its intersection with that circle; in most cases of practical interest, this means they intersect at two points.[24] Another figure, Surface of Sphere Intersecting a Circle (not disk) at Two Points, illustrates the intersection. The two intersections are marked with dots. Again the article trilateration clearly shows this mathematically.

Surface of sphere Intersecting a circle (not disk) at two points

For automobiles and other near-earth-vehicles, the correct position of the GPS receiver is the intersection closest to the Earth's surface. For space vehicles, the intersection farthest from Earth may be the correct one.[25]

The correct position for the GPS receiver is also the intersection closest to the surface of the sphere corresponding to the fourth satellite.

### Correcting a GPS receiver's clock

The method of calculating position for the case of no errors has been explained. One of the most significant error sources is the GPS receiver's clock. Because of the very large value of the speed of light, c, the estimated distances from the GPS receiver to the satellites, the pseudoranges, are very sensitive to errors in the GPS receiver clock. This suggests that an extremely accurate and expensive clock is required for the GPS receiver to work. On the other hand, manufacturers prefer to build inexpensive GPS receivers for mass markets. The solution for this dilemma is based on the way sphere surfaces intersect in the GPS problem.

Diagram depicting satellite 4, sphere, p4, r4, and da

It is likely that the surfaces of the three spheres intersect, since the circle of intersection of the first two spheres is normally quite large, and thus the third sphere surface is likely to intersect this large circle. It is very unlikely that the surface of the sphere corresponding to the fourth satellite will intersect either of the two points of intersection of the first three, since any clock error could cause it to miss intersecting a point. However, the distance from the valid estimate of GPS receiver position to the surface of the sphere corresponding to the fourth satellite can be used to compute a clock correction. Let $\scriptstyle r_4$ denote the distance from the valid estimate of GPS receiver position to the fourth satellite and let $\scriptstyle p_4$ denote the pseudorange of the fourth satellite. Let $\scriptstyle da \,=\, r_4 \,-\, p_4$. Note that $\scriptstyle da$ is the distance from the computed GPS receiver position to the surface of the sphere corresponding to the fourth satellite. Thus the quotient, $\scriptstyle b \,=\, da / c\$, provides an estimate of

(correct time) − (time indicated by the receiver's on-board clock),

and the GPS receiver clock can be advanced if $\scriptstyle b$ is positive or delayed if $\scriptstyle b$ is negative.

## System segmentation

Unlaunched GPS satellite on display at the San Diego Aerospace museum

The current GPS consists of three major segments. These are the space segment (SS), a control segment (CS), and a user segment (US).[26]

#### Space segment

See also section 4.3 of "Essentials of Satellite Navigation Compendium", GPS satellite, List of GPS satellite launches, and Chapter 6 of The global positioning system by Parkinson and Spilker.

A visual example of the GPS constellation in motion with the Earth rotating. Notice how the number of satellites in view from a given point on the Earth's surface, in this example at 45°N, changes with time.

The space segment (SS) is composed of the orbiting GPS satellites, or Space Vehicles (SV) in GPS parlance. The GPS design originally called for 24 SVs, eight each in three circular orbital planes,[27] but this was modified to six planes with four satellites each.[28] The orbital planes are centered on the Earth, not rotating with respect to the distant stars.[29] The six planes have approximately 55° inclination (tilt relative to Earth's equator) and are separated by 60° right ascension of the ascending node (angle along the equator from a reference point to the orbit's intersection).[30] The orbits are arranged so that at least six satellites are always within line of sight from almost everywhere on Earth's surface.[31]

Orbiting at an altitude of approximately 20,200 kilometers (about 12,550 miles or 10,900 nautical miles; orbital radius of approximately 26,600 km (about 16,500 mi or 14,400 NM)), each SV makes two complete orbits each sidereal day, repeating the same ground track each day.[32] This was very helpful during development, since even with just four satellites, correct alignment means all four are visible from one spot for a few hours each day. For military operations, the ground track repeat can be used to ensure good coverage in combat zones.

As of March 2008,[33] there are 31 actively broadcasting satellites in the GPS constellation, and two older, retired from active service satellites kept in the constellation as orbital spares. The additional satellites improve the precision of GPS receiver calculations by providing redundant measurements. With the increased number of satellites, the constellation was changed to a nonuniform arrangement. Such an arrangement was shown to improve reliability and availability of the system, relative to a uniform system, when multiple satellites fail.[34] About eight satellites are visible from any point on the ground at any one time (see animation at right).

#### Control segment

The Control Segment is composed of

1. a Master Control Station (MCS),
2. an Alternate Master Control Station,
3. four dedicated Ground Antennas and
4. six dedicated Monitor Stations.

The MCS can also access U.S. Air Force Satellite Control Network (AFSCN) ground antennas (for additional command and control capability) and NGA (National Geospatial-Intelligence Agency) monitor stations. The flight paths of the satellites are tracked by dedicated U.S. Air Force monitoring stations in Hawaii, Kwajalein, Ascension Island, Diego Garcia, Colorado Springs, Colorado and Cape Canaveral, along with shared NGA monitor stations operated in England, Argentina, Ecuador, Bahrain, Australia and Washington DC. [35] The tracking information is sent to the Air Force Space Command's MCS at Schriever Air Force Base 16 miles ESE of Colorado Springs, which is operated by the 2nd Space Operations Squadron (2 SOPS) of the United States Air Force (USAF). Then 2 SOPS contacts each GPS satellite regularly with a navigational update using dedicated or shared (AFSCN) ground antennas (GPS dedicated ground antennas are located at Kwajalein, Ascension Island, Diego Garcia, and Cape Canaveral). These updates synchronize the atomic clocks on board the satellites to within a few nanoseconds of each other, and adjust the ephemeris of each satellite's internal orbital model. The updates are created by a Kalman filter which uses inputs from the ground monitoring stations, space weather information, and various other inputs.[36]

Satellite maneuvers are not precise by GPS standards. So to change the orbit of a satellite, the satellite must be marked unhealthy, so receivers will not use it in their calculation. Then the maneuver can be carried out, and the resulting orbit tracked from the ground. Then the new ephemeris is uploaded and the satellite marked healthy again.

#### User segment

GPS receivers come in a variety of formats, from devices integrated into cars, phones, and watches, to dedicated devices such as those shown here from manufacturers Trimble, Garmin and Leica (left to right).

The User Segment is composed of hundreds of thousands of U.S. and allied military users of the secure GPS Precise Positioning Service, and tens of millions of civil, commercial and scientific users of the Standard Positioning Service. In general, GPS receivers are composed of an antenna, tuned to the frequencies transmitted by the satellites, receiver-processors, and a highly-stable clock (often a crystal oscillator). They may also include a display for providing location and speed information to the user. A receiver is often described by its number of channels: this signifies how many satellites it can monitor simultaneously. Originally limited to four or five, this has progressively increased over the years so that, as of 2007, receivers typically have between 12 and 20 channels.[37]

A typical OEM GPS receiver module measuring 15×17 mm.

GPS receivers may include an input for differential corrections, using the RTCM SC-104 format. This is typically in the form of an RS-232 port at 4,800 bit/s speed. Data is actually sent at a much lower rate, which limits the accuracy of the signal sent using RTCM. Receivers with internal DGPS receivers can outperform those using external RTCM data. As of 2006, even low-cost units commonly include Wide Area Augmentation System (WAAS) receivers.

A typical GPS receiver with integrated antenna.

Many GPS receivers can relay position data to a PC or other device using the NMEA 0183 protocol, or the newer and less widely used NMEA 2000.[38] Although these protocols are officially defined by the NMEA,[39] references to these protocols have been compiled from public records, allowing open source tools like gpsd to read the protocol without violating intellectual property laws. Other proprietary protocols exist as well, such as the SiRF and MTK protocols. Receivers can interface with other devices using methods including a serial connection, USB, or Bluetooth.

Aspects of navigation are discussed in this section. The subsection on navigation signals discusses details of the message content. Carrier frequencies for the messages are stated. Demodulating the carrier and decoding to separate the signals from the satellites is described. The position calculation subsection does not require an understanding of the other subsections. Basic equations describing the geometry of the sphere and the fundamental concept that the satellite message travels at the speed of light are used in the subsection. The subsection on multidimensional Newton-Raphson may be of interest only to those readers who want a more detailed understanding on how an algorithm might be written and is unnecessary for the reader who is uninterested in this amount of detail.

Each GPS satellite continuously broadcasts a Navigation Message at 50 bit/s giving the time-of-week, GPS week number and satellite health information (all transmitted in the first part of the message), an ephemeris (transmitted in the second part of the message) and an almanac (later part of the message). The messages are sent in frames, each taking 30 seconds to transmit 1,500 bits.

Transmission of each 30 second frame begins precisely on the minute and half minute as indicated by the satellite's atomic clock according to Satellite message format. Each frame contains 5 subframes of length 6 seconds and with 300 bits. Each subframe contains 10 words of 30 bits with length 0.6 seconds each.

Words 1 and 2 of every subframe have the same type of data. The first word is the telemetry word which indicates the beginning of a subframe and is used by the receiver to synch with the navigation message. The second word is the HOW or handover word and it contains timing information which enables the receiver to identify the subframe and provides the time the next subframe was sent.

Words 3 through 10 of subframe 1 contain data describing the satellite clock and its relationship to GPS time. Words 3 through 10 of subframes 2 and 3, contain the ephemeris data, giving the satellite's own precise orbit. The ephemeris is updated every 2 hours and is generally valid for 4 hours, with provisions for updates every 6 hours or longer in non-nominal conditions. The time needed to acquire the ephemeris is becoming a significant element of the delay to first position fix, because, as the hardware becomes more capable, the time to lock onto the satellite signals shrinks, but the ephemeris data requires 30 seconds (worst case) before it is received, due to the low data transmission rate.

The almanac consists of coarse orbit and status information for each satellite in the constellation, an ionospheric model, and information to relate GPS derived time to Coordinated Universal Time (UTC). Words 3 through 10 of subframes 4 and 5 contain a new part of the almanac. Each frame contains 1/25th of the almanac, so 12.5 minutes are required to receive the entire almanac from a single satellite.[40] The almanac serves several purposes. The first is to assist in the acquisition of satellites at power-up by allowing the receiver to generate a list of visible satellites based on stored position and time, while an ephemeris from each satellite is needed to compute position fixes using that satellite. In older hardware, lack of an almanac in a new receiver would cause long delays before providing a valid position, because the search for each satellite was a slow process. Advances in hardware have made the acquisition process much faster, so not having an almanac is no longer an issue. The second purpose is for relating time derived from the GPS (called GPS time) to the international time standard of UTC. Finally, the almanac allows a single-frequency receiver to correct for ionospheric error by using a global ionospheric model. The corrections are not as accurate as augmentation systems like WAAS or dual-frequency receivers. However, it is often better than no correction, since ionospheric error is the largest error source for a single-frequency GPS receiver. An important thing to note about navigation data is that each satellite transmits not only its own ephemeris, but transmits an almanac for all satellites.

All satellites broadcast at the same two frequencies, 1.57542 GHz (L1 signal) and 1.2276 GHz (L2 signal). The receiver can distinguish the signals from different satellites because GPS uses a code division multiple access (CDMA) spread-spectrum technique where the low-bitrate message data is encoded with a high-rate pseudo-random (PRN) sequence that is different for each satellite. The receiver knows the PRN codes for each satellite and can use this to reconstruct the actual message data. The message data is transmitted at 50 bits per second. Two distinct CDMA encodings are used: the coarse/acquisition (C/A) code (a so-called Gold code) at 1.023 million chips per second, and the precise (P) code at 10.23 million chips per second. The L1 carrier is modulated by both the C/A and P codes, while the L2 carrier is only modulated by the P code.[41] The C/A code is public and used by civilian GPS receivers, while the P code can be encrypted as a so-called P(Y) code which is only available to military equipment with a proper decryption key. Both the C/A and P(Y) codes impart the precise time-of-day to the user.

### Satellite frequencies

• L1 (1575.42 MHz): Mix of Navigation Message, coarse-acquisition (C/A) code and encrypted precision P(Y) code, plus the new L1C on future Block III satellites.
• L2 (1227.60 MHz): P(Y) code, plus the new L2C code on the Block IIR-M and newer satellites since 2005.
• L3 (1381.05 MHz): Used by the Nuclear Detonation (NUDET) Detection System Payload (NDS) to signal detection of nuclear detonations and other high-energy infrared events. Used to enforce nuclear test ban treaties.
• L4 (1379.913 MHz): Being studied for additional ionospheric correction.
• L5 (1176.45 MHz): Proposed for use as a civilian safety-of-life (SoL) signal (see GPS modernization). This frequency falls into an internationally protected range for aeronautical navigation, promising little or no interference under all circumstances. The first Block IIF satellite that would provide this signal is set to be launched in 2010.[42]

### C/A code

#### Demodulation and decoding

Demodulating and Decoding GPS Satellite Signals using the Coarse/Acquisition Gold code.

Since all of the satellite signals are modulated onto the same L1 carrier frequency, there is a need to separate the signals after demodulation. This is done by assigning each satellite a unique binary sequence known as a Gold code, and the signals are decoded, after demodulation, using modulo 2 addition of the Gold codes corresponding to satellites n1 through nk, where k is the number of channels in the GPS receiver and n1 through nk are the PRN identifiers of the satellites. Each satellite's PRN identifier is unique and in the range from 1 through 32.[43] The results of these modulo 2 additions are the 50 bit/s navigation messages from satellites n1 through nk. The Gold codes used in GPS are a sequence of 1,023 bits with a period of one millisecond. These Gold codes are highly mutually orthogonal, so that it is unlikely that one satellite signal will be misinterpreted as another. As well, the Gold codes have good auto-correlation properties.[44]

There are 1,025 different Gold codes of length 1,023 bits, but only 32 are used. These Gold codes are quite often referred to as pseudo random noise since they contain no data and are said to look like random sequences[45]. However, this may be misleading since they are actually deterministic sequences.

If the almanac information has previously been acquired, the receiver picks which satellites to listen for by their PRNs. If the almanac information is not in memory, the receiver enters a search mode and cycles through the PRN numbers until a lock is obtained on one of the satellites. To obtain a lock, it is necessary that there be an unobstructed line of sight from the receiver to the satellite. The receiver can then acquire the almanac and determine the satellites it should listen for. As it detects each satellite's signal, it identifies it by its distinct C/A code pattern.

The receiver uses the C/A Gold code with the same PRN number as the satellite to compute an offset, O, that generates the best correlation. The offset, O, is computed in a trial and error manner. The 1,023 bits of the satellite PRN signal are compared with the receiver PRN signal. If correlation is not achieved, the 1,023 bits of the receiver's internally generated PRN code are shifted by one bit relative to the satellite's PRN code and the signals are again compared. This process is repeated until correlation is achieved or all 1,023 possible cases have been tried.[46] If all 1,023 cases have been tried without achieving correlation, the frequency oscillator is offset to the next value and the process is repeated.

After a subframe has been read and interpreted, the time the next subframe was sent can be calculated through the use of the clock correction data and the HOW. The receiver knows the receiver clock time of when the beginning of the next subframe was received from detection of the Telemetry Word thereby enabling computation of the transit time and thus the pseudorange. The receiver is potentially capable of getting a new pseudorange measurement at the beginning of each subframe or every 6 seconds.

Then the orbital position data, or ephemeris, from the navigation message is used to calculate precisely where the satellite was at the start of the message. A more sensitive receiver will potentially acquire the ephemeris data more quickly than a less sensitive receiver, especially in a noisy environment.[47]

This process is repeated for each satellite to which the receiver is listening.

Before providing a more mathematical description of position calculation, the introductory material on this topics is reviewed. To describe the basic concept of how a GPS receiver works, the errors are at first ignored. Using messages received from four satellites, the GPS receiver is able to determine the satellite positions and time sent. The x, y, and z components of position and the time sent are designated as $\ \left [x_i, y_i, z_i, t_i\right ]$ where the subscript i denotes which satellite and has the value 1, 2, 3, or 4. Knowing the indicated time the message was received $\ \ tr_i$, the GPS receiver can compute the transit time of the message as $\ \left (tr_i-t_i\right )$. Assuming the message traveled at the speed of light, c, the distance traveled, $\ \ p_i$ can be computed as $\ \left (tr_i-t_i\right )c$. Knowing the distance from GPS receiver to a satellite and the position of a satellite implies that the GPS receiver is on the surface of a sphere centered at the position of a satellite. Thus we know that the indicated position of the GPS receiver is at or near the intersection of the surfaces of four spheres. In the ideal case of no errors, the GPS receiver will be at an intersection of the surfaces of four spheres. The surfaces of two spheres if they intersect in more than one point intersect in a circle. We are here excluding the unrealistic case for GPS purposes of two coincident spheres. A figure, Two Sphere Surfaces Intersecting in a Circle, is shown below depicting this which hopefully will aid the reader in visualizing this intersection. Two points at which the surfaces of the spheres intersect are clearly marked on the figure. The distance between these two points is the diameter of the circle of intersection. If you are not convinced of this, consider how a side view of the intersecting spheres would look. This view would look exactly the same as the figure because of the symmetry of the spheres. And in fact a view from any horizontal direction would look exactly the same. This should make it clear to the reader that the surfaces of the two spheres actually do intersect in a circle.

Two sphere surfaces intersecting in a circle

The article, trilateration, shows mathematically how the equation for this circle of intersection is determined. A circle and sphere surface in most cases of practical interest intersect at two points, although it is conceivable that they could intersect in 0 or 1 point. We are here excluding the unrealistic case for GPS purposes of three colinear (lying on same straight line) sphere centers. Another figure, Surface of Sphere Intersecting a Circle (not disk) at Two Points, is shown below to aid in visualizing this intersection. Again trilateration clearly shows this mathematically. The correct position of the GPS receiver is the one that is closest to the fourth sphere. This paragraph has described the basic concept of GPS while ignoring errors. The next problem is how to process the messages when errors are present.

Surface of a sphere intersecting a circle (i.e., the edge of a disk) at two points

Let $\ \ b$ denote the clock error or bias, the amount by which the receiver's clock is slow. The GPS receiver has four unknowns, the three components of GPS receiver position and the clock bias $\ \left [x, y, z, b\right ]$. The equation of the sphere surfaces are given by:

$(x-x_i)^2 + (y-y_i)^2 + (z-z_i)^2 = \bigl([tr_i + b - t_i]c\bigr)^2,$$\;i=1,2,3,4$

Another useful form of these equations is in terms of the pseudoranges, which are simply the ranges approximated based on GPS receiver clock's indicated (i.e., uncorrected) time so that $p_i = \left (tr_i - t_i \right )c$. Then the equations becomes:

$p_i = \sqrt{(x-x_i)^2 + (y-y_i)^2 + (z-z_i)^2}- bc, \;i=1,2,3,4$.

Two of the most important methods of computing GPS receiver position and clock bias are (1) trilateration followed by one dimensional numerical root finding and (2) multidimensional Newton-Raphson calculations. These two methods along with their advantages are discussed.

• The receiver can solve by trilateration followed by one dimensional numerical root finding.[48] This method involves using trilateration to determine the intersection of the surfaces of three spheres. It is clearly shown in trilateration that the surfaces of three spheres intersect in 0, 1, or 2 points. In the usual case of two intersections, the solution which is nearest the surface of the sphere corresponding to the fourth satellite is chosen. The surface of the earth can also sometimes be used instead, especially in the case of civilian GPS receivers since it is illegal in the United States to track vehicles of more than 60,000 feet (18,000 m) in altitude. The bias, $\ b$ is then computed as a function of the distance from the solution to the surface of the sphere corresponding to the fourth satellite. To determine what function to use for computing $\ b$ see the chapter on root finding in [48] or the preview. Using an updated received time based on this bias, new spheres are computed and the process is repeated. This repetition is continued until the distance from the valid trilateration solution is sufficiently close to the surface of the sphere corresponding to the fourth satellite. One advantage of this method is that it involves one dimensional as opposed to multidimensional numerical root finding.
• The receiver can utilize a multidimensional root finding method such as the Newton-Raphson method.[48] Linearize around an approximate solution, say $\ \left [x^{(k)}, y^{(k)}, z^{(k)}, b^{(k)}\right ]$ from iteration k, then solve four linear equations derived from the quadratic equations above to obtain $\left [x^{(k+1)}, y^{(k+1)}, z^{(k+1)}, b^{(k+1)}\right ]$. The radii are large and so the sphere surfaces are close to flat.[49][50] This near flatness may cause the iterative procedure to converge rapidly in the case where $\ b$ is near the correct value and the primary change is in the values of $x, y,\; and\; z$, since in this case the problem is merely to find the intersection of nearly flat surfaces and thus close to a linear problem. However when $\ b$ is changing significantly, this near flatness does not appear to be advantageous in producing rapid convergence, since in this case these near flat surfaces will be moving as the spheres expand and contract. This possible fast convergence is an advantage of this method. Also it has been claimed that this method is the "typical" method used by GPS receivers.[51][52][53] A disadvantage of this multidimensional root finding method as compared to single dimensional root findiing is that according to,[48] "There are no good general methods for solving systems of more than one nonlinear equations." For a more detailed description of the mathematics see Multidimensional Newton Raphson.
• Other methods include:
1. Solving for the intersection of the expanding signals from light cones in 4-space cones
2. Solving for the intersection of hyperboloids determined by the time difference of signals received from satellites utilizing multilateration,
3. Solving the equations in accordance with .[51][52][54]
• When more than four satellites are available, a decision must be made on whether to use the four best or more than four taking into considerations such factors as number of channels, processing capability, and geometric dilution of precision. Using more than four results in an over-determined system of equations with no unique solution, which must be solved by least-squares or a similar technique. If all visible satellites are used, the results are always at least as good as using the four best, and usually better. Also the errors in results can be estimated through the residuals.[55] With each combination of four or more satellites, a geometric dilution of precision (GDOP) factor can be calculated, based on the relative sky directions of the satellites used.[55][56] As more satellites are picked up, pseudoranges from more combinations of four satellites can be processed to add more estimates to the location and clock offset. The receiver then determines which combinations to use and how to calculate the estimated position by determining the weighted average of these positions and clock offsets. After the final location and time are calculated, the location is expressed in a specific coordinate system such as latitude and longitude, using the WGS 84 geodetic datum or a local system specific to a country.[57]
• Finally, results from other positioning systems such as GLONASS or the upcoming Galileo can be used in the fit, or used to double check the result. (By design, these systems use the same bands, so much of the receiver circuitry can be shared, though the decoding is different.)
##### Multidimensional Newton-Raphson for GPS

This section provides a more detailed discussion of the equations used in the second method described in Position calculation advanced.

The linearized equations are developed using the appropriate partial derivatives and the algorithm is described. In [50] the same method is discussed but the equations are not shown. Let $x, y\;$ and $z\;$ denote the true coordinates of GPS receiver position at time, $\ t$. Let $\ b$ denote the unknown clock error or bias, the amount by which the receiver's clock is slow. Let the coordinates of each satellite, and the time the message was sent, be $\left [x_i, y_i, z_i, t_i\right ]$, let the GPS clock's indicated received time be $tr_i\; \mbox{for} \ i=1,2,3,4$ and c be the speed of light. The pseudorange is computed as:

$p_i = \left(tr_i - t_i\right)c$

Assume the message travels at the speed of light, then the pseudorange satisfies the equation:

$p_i = \sqrt{(x-x_i)^2 + (y-y_i)^2 + (z-z_i)^2}- bc,$ $\;\;\mbox{for} \; i=1,2,3,4. \qquad (1)$

When an approximate solution, $\left [x^{(k)}, y^{(k)}, z^{(k)}, b^{(k)}\right ]$ rather than the exact solution, $\left [x, y, z, b\right ]$ is used in equation 1, there is a residual, $f_i^{(k)}$. Transforming $\ p_i$ to the right hand side of the equation there results,

$f_i^{(k)} = \sqrt{(x^{(k)}-x_i)^2 + (y^{(k)}-y_i)^2 + (z^{(k)}-z_i)^2}- b^{(k)}c - p_i, \;\;$
$\mbox{for} \; i=1,2,3,4. \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \;\;\;\;\; (2)$

A solution will have been found when $f_i^{(k)}$ is zero or sufficiently close to zero for $\ i=1,2,3,4$.

In order to linearize equation 2, the partial derivatives are computed as:

$\frac{\partial f_i^{(k)}} {\partial x^{(k)}} = \frac {(x^{(k)} - x_i)} {R_i^{(k)} }, \frac{\partial f_i^{(k)}} {\partial y^{(k)}} = \frac {(y^{(k)}-y_i)} {R_i^{(k)}},$
$\frac{\partial f_i^{(k)}} {\partial z^{(k)}} = \frac {(z^{(k)} -z_i)} {R_i^{(k)} }, \frac{\partial f_i^{(k)}} {\partial b^{(k)}} = -c \qquad \qquad \qquad \qquad \qquad \qquad \qquad \;\;\;(3)$

where

$R_i^{(k)} = \sqrt{(x^{(k)}-x_i)^2 + (y^{(k)}-y_i)^2 + (z^{(k)}-z_i)^2}$.

Linearizing the right hand side of equation 2 about the approximate solution, $\left [x^{(k)}, y^{(k)}, z^{(k)}, b^{(k)}\right ]$ there results

$f_i^{(k)} = \frac {(x^{(k)}-x_i)} {R_i^{(k)}} x^{(k)} + \frac {(y^{(k)}-y_i)} {R_i^{(k)}} y^{(k)} + \frac {(z^{(k)}-z_i)} {R_i^{(k)}} z^{(k)} - b^{(k)}c - p_i + \epsilon_i, \;\;$
$\mbox{for} i=1,2,3,4 \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad(4)$

where $\ \epsilon_i$ is the residual due to linearization which is in addition to the residual, $\ f_i^{(k)}$, due to an approximate solution.

In order to drive $\ f_i^{(k+1)}$ closer to zero choose the values $\left [x^{(k+1)}, y^{(k+1)}, z^{(k+1)}, b^{(k+1)}\right ]$ such that

$-f_i^{(k)} = \frac {(x^{(k)}-x_i)} {p_i} (x^{(k+1)}- x^{(k)}) + \frac {(y^{(k)}-y_i)} {p_i} (y^{(k+1)}- y^{(k)})\;+$
$\frac {(z^{(k)}-z_i)} {p_i} (z^{(k+1)}- z^{(k)}) - (b^{(k+1)} - b^{(k)})c - p_i. \qquad \qquad \qquad \qquad (5)$

That is choose the values

$\left [x^{(k+1)}, y^{(k+1)}, z^{(k+1)}, b^{(k+1)}\right ]$

such that the residual in equation 2 changes by approximately $\ \ - f_i^{(k)}$.

Let

$\Delta x^{(k+1)}\ =\ (x^{(k+1)}- x^{(k)}), \Delta y^{(k+1)}\ =\ (y^{(k+1)}- y^{(k)}),$
$\Delta z^{(k+1)}\ =\ (z^{(k+1)}- z^{(k)}), \Delta b^{(k+1)}\ =\ (b^{(k+1)}- b^{(k)}).$

Substituting and transposing $\ \ p_i$ to the left hand side of the equation, there results

$- f_i^{(k)} + p_i = \frac {(x^{(k)}-x_i)} {p_i} \Delta x^{(k+1)} + \frac {(y^{(k)}-y_i)} {p_i} \Delta y^{(k+1)} \;+$
$\frac {(z^{(k)}-z_i)} {p_i} \Delta z^{(k+1)} - \Delta b^{(k+1)} c. \qquad \qquad \qquad \qquad \qquad \qquad \qquad \;\;\;\;\;\;(6)$

Equations 6 provide a set of four linear equations in four unknowns, the delta terms. They are in a form for solution. Using the values of $\ \;\Delta x^{(k+1)}, \Delta y^{(k+1)}, \Delta z^{(k+1)}$ and $\; \Delta b^{(k+1)}$ determined by this linear equation solution,

$\left [x^{(k+1)}, y^{(k+1)}, z^{(k+1)}, b^{(k+1)}\right ]$

is evaluated using:

$\ x^{(k+1)}\ =\ x^{(k)}\ +\Delta x^{(k+1)}, \ y^{(k+1)}\ =\ y^{(k)}\ +\Delta y^{(k+1)},$
$\ z^{(k+1)}\ =\ z^{(k)}\ +\Delta z^{(k+1)}, \ b^{(k+1)}\ =\ b^{(k)}\ +\Delta b^{(k+1)}. \qquad \qquad \;\;\;\;\;\; (7)$

Then set $\ k = k + 1$ in equations 2 through 6, plug the terms

$\left \{ x^{(k+1)}, y^{(k+1)}, z^{(k+1)}, b^{(k+1)} \right \}$

from equations 7 into equations 2, set $\ k = k + 1$ in equations 7, and reevaluate the residuals in equations 2. This procedure is repeated until the residuals are sufficiently small in magnitude.

### P(Y) code

Calculating a position with the P(Y) signal is generally similar in concept, assuming one can decrypt it. The encryption is essentially a safety mechanism: if a signal can be successfully decrypted, it is reasonable to assume it is a real signal being sent by a GPS satellite.[citation needed] In comparison, civil receivers are highly vulnerable to spoofing since correctly formatted C/A signals can be generated using readily available signal generators. RAIM features do not protect against spoofing, since RAIM only checks the signals from a navigational perspective.

## Error sources and analysis

Sources of User Equivalent Range Errors (UERE)
Source Effect (m)
Signal arrival C/A ±3
Signal arrival P(Y) ±0.3
Ionospheric effects ±5
Ephemeris errors ±2.5
Satellite clock errors ±2
Multipath distortion ±1
Tropospheric effects ±0.5
$\ \sigma_R$ C/A ±6.7
$\ \sigma_R$ P(Y) ±6.0
Error Diagram Showing Relation of Indicated Receiver Position, Intersection of Sphere Surfaces, and True Receiver Position in Terms of Pseudorange Errors, PDOP, and Numerical Errors

User equivalent range errors (UERE) are shown in the table. There is also a numerical error with an estimated value, $\ \sigma_{num}$, of about 1 meter. The standard deviations, $\ \sigma_R$, for the coarse/acquisition and precise codes are also shown in the table. These standard deviations are computed by taking the square root of the sum of the squares of the individual components (i.e., RSS for root sum squares). To get the standard deviation of receiver position estimate, these range errors must be multiplied by the appropriate dilution of precision terms and then RSS'ed with the numerical error. Electronics errors are one of several accuracy-degrading effects outlined in the table above. When taken together, autonomous civilian GPS horizontal position fixes are typically accurate to about 15 meters (50 ft). These effects also reduce the more precise P(Y) code's accuracy. However, the advancement of technology means that today, civilian GPS fixes under a clear view of the sky are on average accurate to about 5 meters (16 ft) horizontally.(see summary table near end of "Sources of Errors in GPS")

The term user equivalent range error (UERE) refers to the standard deviation of a component of the error in the distance from receiver to a satellite. The standard deviation of the error in receiver position, $\ \sigma_{rc}$, is computed by multiplying PDOP (Position Dilution Of Precision) by $\ \sigma_R$, the standard deviation of the user equivalent range errors. $\ \sigma_R$ is computed by taking the square root of the sum of the squares of the individual component standard deviations.

PDOP is computed as a function of receiver and satellite positions. Consider the unit vectors pointing from the receiver to the satellites. Connecting the tails of these unit vectors forms a tetrahedron. PDOP is sometimes approximated as being inversely proportional to the tetrahedron volume.[50] A more detailed description of how to calculate PDOP is given in the section, geometric dilution of precision computation (GDOP).

$\ \sigma_R$ for the C/A code is given by:

$\sigma_R= \sqrt{3^2+5^2+2.5^2+2^2+1^2+0.5^2} \, meters \,=\,6.7 \, meters$

The standard deviation of the error in estimated receiver position $\ \sigma_{rc}$, again for the C/A code is given by:

$\ \sigma_{rc} = \sqrt{PDOP^2 \times \sigma_R^2 + \sigma_{num}^2} = \sqrt{PDOP^2 \times 6.7^2 + 1^2} \, meters$

The error diagram to the right shows the inter relationship of indicated receiver position, true receiver position, and the intersection of the four sphere surfaces.

### Signal arrival time measurement

The position calculated by a GPS receiver requires the current time, the position of the satellite and the measured delay of the received signal. The position accuracy is primarily dependent on the satellite position and signal delay.

To measure the delay, the receiver compares the bit sequence received from the satellite with an internally generated version. By comparing the rising and trailing edges of the bit transitions, modern electronics can measure signal offset to within about one percent of a bit pulse width, $\frac{0.01}{(1.023 \times 10^6 /sec)}$, or approximately 10 nanoseconds for the C/A code. Since GPS signals propagate at the speed of light, this represents an error of about 3 meters.

This component of position accuracy can be improved by a factor of 10 using the higher-chiprate P(Y) signal. Assuming the same one percent of bit pulse width accuracy, the high-frequency P(Y) signal results in an accuracy of $\frac {(0.01 \times 300,000,000\ m/sec)} {(10.23 \times 10^6 / sec)}$ or about 30 centimeters.

### Atmospheric effects

Inconsistencies of atmospheric conditions affect the speed of the GPS signals as they pass through the Earth's atmosphere, especially the ionosphere. Correcting these errors is a significant challenge to improving GPS position accuracy. These effects are smallest when the satellite is directly overhead and become greater for satellites nearer the horizon since the path through the atmosphere is longer (see airmass). Once the receiver's approximate location is known, a mathematical model can be used to estimate and compensate for these errors.

Ionospheric delay of a microwave signal depends on its frequency. This phenomenon is known as dispersion and can be calculated from measurements of delays for two or more frequency bands, allowing delays at other frequencies to be estimated.[58] Some military and expensive survey-grade civilian receivers calculate atmospheric dispersion from the different delays in the L1 and L2 frequencies, and apply a more precise correction. This can be done in civilian receivers without decrypting the P(Y) signal carried on L2, by tracking the carrier wave instead of the modulated code. To facilitate this on lower cost receivers, a new civilian code signal on L2, called L2C, was added to the Block IIR-M satellites, which was first launched in 2005. It allows a direct comparison of the L1 and L2 signals using the coded signal instead of the carrier wave. (see Atmospheric Effects in "Sources of Errors in GPS")

The effects of the ionosphere generally change slowly, and can be averaged over time. Those for any particular geographical area can be easily calculated by comparing the GPS-measured position to a known surveyed location. This correction is also valid for other receivers in the same general location. Several systems send this information over radio or other links to allow L1-only receivers to make ionospheric corrections. The ionospheric data are transmitted via satellite in Satellite Based Augmentation Systems (SBAS) such as WAAS (available in North America and Hawaii), EGNOS (Europe and Asia) or MSAS (Japan), which transmits it on the GPS frequency using a special pseudo-random noise sequence (PRN), so only one receiver and antenna are required.

Humidity also causes a variable delay, resulting in errors similar to ionospheric delay, but occurring in the troposphere. This effect both is more localized and changes more quickly than ionospheric effects, and is not frequency dependent. These traits make precise measurement and compensation of humidity errors more difficult than ionospheric effects.[citation needed]

Changes in receiver altitude also change the amount of delay, due to the signal passing through less of the atmosphere at higher elevations. Since the GPS receiver computes its approximate altitude, this error is relatively simple to correct, either by applying a function regression or correlating margin of atmospheric error to ambient pressure using a barometric altimeter.[citation needed]

### Multipath effects

GPS signals can also be affected by multipath issues, where the radio signals reflect off surrounding terrain; buildings, canyon walls, hard ground, etc. These delayed signals can cause inaccuracy. A variety of techniques, most notably narrow correlator spacing, have been developed to mitigate multipath errors. For long delay multipath, the receiver itself can recognize the wayward signal and discard it. To address shorter delay multipath from the signal reflecting off the ground, specialized antennas (e.g., a choke ring antenna) may be used to reduce the signal power as received by the antenna. Short delay reflections are harder to filter out because they interfere with the true signal, causing effects almost indistinguishable from routine fluctuations in atmospheric delay.

Multipath effects are much less severe in moving vehicles. When the GPS antenna is moving, the false solutions using reflected signals quickly fail to converge and only the direct signals result in stable solutions.

### Ephemeris and clock errors

While the ephemeris data is transmitted every 30 seconds, the information itself may be up to two hours old. If a fast time to first fix (TTFF) is needed, it is possible to upload a valid ephemeris to a receiver, and in addition to setting the time, a position fix can be obtained in under ten seconds. It is feasible to put such ephemeris data on the web so it can be loaded into mobile GPS devices.[59] See also Assisted GPS.

The satellite's atomic clocks experience noise and clock drift errors. The navigation message contains corrections for these errors and estimates of the accuracy of the atomic clock. However, they are based on observations and may not indicate the clock's current state.

These problems tend to be very small, but may add up to a few meters (tens of feet) of inaccuracy.[60]

For very precise positioning (e.g., in geodesy), these effects can be eliminated by differential GPS: the simultaneous use of two or more receivers at several survey points. In the 1990s when receivers were quite expensive, some methods of quasi-differential GPS were developed, using only one receiver but reoccupation of measuring points. At the TU Vienna the method was named qGPS and adequate software of post processing was developed.

### Geometric dilution of precision computation (GDOP)

The concept of geometric dilution of precision was introduced in the section, error sources and analysis. Computations were provided to show how PDOP was used and how it affected the receiver position error standard deviation.

When visible GPS satellites are close together in the sky (i.e., small angular separation), the DOP values are high; when far apart, the DOP values are low. Conceptually, satellites that are close together cannot provide as much information as satellites that are widely separated. Low DOP values represent a better GPS positional accuracy due to the wider angular separation between the satellites used to calculate GPS receiver position. HDOP, VDOP, PDOP and TDOP are respectively Horizontal, Vertical, Position (3-D) and Time Dilution of Precision.

Figure 3.1 Dilution of Precision of [22] provide a graphical indication of how geometry affect accuracy.

We now take on the task of how to compute the dilution of precision terms. As a first step in computing DOP, consider the unit vector from the receiver to satellite i with components $\frac{(x_i- x)}{R_i}$, $\frac {(y_i-y)}{R_i}$, and $\frac {(z_i-z)}{R_i}$ where the distance from receiver to the satellite, $\ R_i$, is given by:

$R_i\,=\,\sqrt{(x_i- x)^2 + (y_i-y)^2 + (z_i-z)^2}$

where $\ x, y, and\ z$ denote the position of the receiver and $\ x_i, y_i, and\ z_i$ denote the position of satellite i. These x, y, and z components may be components in a North, East, Down coordinate system a South, East, Up coordinate system or other convenient system. Formulate the matrix A as:

$A = \begin{bmatrix} \frac {(x_1- x)} {R_1} & \frac {(y_1-y)} {R_1} & \frac {(z_1-z)} {R_1} & c \ \frac {(x_2- x)} {R_2} & \frac {(y_2-y)} {R_2} & \frac {(z_2-z)} {R_2} & c \ \frac {(x_3- x)} {R_3} & \frac {(y_3-y)} {R_3} & \frac {(z_3-z)} {R_3} & c \ \frac {(x_4- x)} {R_4} & \frac {(y_4-y)} {R_4} & \frac {(z_4-z)} {R_4} & c \end{bmatrix}$

The first three elements of each row of A are the components of a unit vector from the receiver to the indicated satellite. The elements in the fourth column are c where c denotes the speed of light. Formulate the matrix, Q, as

$Q = \left (A^T A \right )^{-1}$

This computation is in accordance with Chapter 11 of The global positioning system by Parkinson and Spilker where the weighting matrix, P, has been set to the identity matrix. The elements of the Q matrix are designated as:

$Q = \begin{bmatrix} d_x^2 & d_{xy}^2 & d_{xz}^2 & d_{xt}^2 \ d_{xy}^2 & d_{y}^2 & d_{yz}^2 & d_{yt}^2 \ d_{xz}^2 & d_{yz}^2 & d_{z}^2 & d_{zt}^2 \ d_{xt}^2 & d_{yt}^2 & d_{zt}^2 & d_{t}^2 \end{bmatrix}$

The Greek letter $\ \sigma$ is used quite often where we have used d. However the elements of the Q matrix do not represent variances and covariances as they are defined in probability and statistics. Instead they are strictly geometric terms. Therefore d as in dilution of precision is used. PDOP, TDOP and GDOP are given by

$PDOP = \sqrt{d_x^2 + d_y^2 + d_z^2}$,
$\ TDOP = \sqrt{d_{t}^2} = |d_{t}|\$, and
$GDOP = \sqrt{PDOP^2 + TDOP^2}$

in agreement with "Section 1.4.9 of PRINCIPLES OF SATELLITE POSITIONING".

The horizontal dilution of precision, $HDOP = \sqrt{d_x^2 + d_y^2}$, and the vertical dilution of precision, $\ VDOP = \sqrt{d_{z}^2}$, are both dependent on the coordinate system used. To correspond to the local horizon plane and the local vertical, x, y, and z should denote positions in either a North, East, Down coordinate system or a South, East, Up coordinate system.

#### Derivation of DOP equations

The equations for computing the geometric dilution of precision terms have been described in the previous section. This section describes the derivation of these equations. The method used here is similar to that used in "Global Positioning System (preview) by Parkinson and Spiker"

Consider the position error vector, $\mathbf{e}$, defined as the vector from the intersection of the four sphere surfaces corresponding to the pseudoranges to the true position of the receiver. $\mathbf{e} = e_x\hat{x} + e_y\hat{y} + e_z\hat{z}$ where bold denotes a vector and $\hat{x}$, $\hat{y}$, and $\hat{z}$ denote unit vectors along the x, y, and z axes respectively. Let $\ e_t$ denote the time error, the true time minus the receiver indicated time. Assume that the mean value of the three components of $\mathbf {e}$ and $\ e_t$ are zero.

$A\ \begin{bmatrix} e_x \\ e_y \\ e_z \\ e_t \end{bmatrix} = \begin{bmatrix} \frac {(x_1- x)} {R_1} & \frac {(y_1-y)} {R_1} & \frac {(z_1-z)} {R_1} & c \ \frac {(x_2- x)} {R_2} & \frac {(y_2-y)} {R_2} & \frac {(z_2-z)} {R_2} & c \ \frac {(x_3- x)} {R_3} & \frac {(y_3-y)} {R_3} & \frac {(z_3-z)} {R_3} & c \ \frac {(x_4- x)} {R_4} & \frac {(y_4-y)} {R_4} & \frac {(z_4-z)} {R_4} & c \end{bmatrix}\ \begin{bmatrix} e_x \\ e_y \\ e_z \\ e_t \end{bmatrix} = \begin{bmatrix} e_1 \\ e_2 \\ e_3 \\ e_4 \end{bmatrix} \ (1)$

where $\ e_1,\ e_2,\ e_3,\ and\ e_4$ are the errors in pseudoranges 1 through 4 respectively. This equation comes from linearizing the equation relating pseudoranges to receiver position, satellite positions, and receiver clock errors as shown in.[61] Multiplying both sides by $\ A^{-1}\$ there results

$\ \begin{bmatrix} e_x \\ e_y \\ e_z \\ e_t \end{bmatrix} = A^{-1} \begin{bmatrix} e_1 \\ e_2 \\ e_3 \\ e_4 \end{bmatrix} \ (2)$ .

Transposing both sides:

$\ \begin{bmatrix} e_x & e_y & e_z & e_t \end{bmatrix} = \begin{bmatrix} e_1 & e_2 & e_3 & e_4 \end{bmatrix}\left (A^{-1} \right )^T \ (3)$ .

Post multiplying the matrices on both sides of equation (2) by the corresponding matrices in equation (3), there results

$\ \begin{bmatrix} e_x \\ e_y \\ e_z \\ e_t \end{bmatrix} \begin{bmatrix} e_x & e_y & e_z & e_t \end{bmatrix} = A^{-1} \begin{bmatrix} e_1 \\ e_2 \\ e_3 \\ e_4 \end{bmatrix} \begin{bmatrix} e_1 & e_2 & e_3 & e_4 \end{bmatrix}\left (A^{-1} \right )^T \ (4)$ .

Taking the expected value of both sides and taking the non-random matrices outside the expectation operator, E, there results:

$\ E \left (\begin{bmatrix} e_x \\ e_y \\ e_z \\ e_t \end{bmatrix} \begin{bmatrix} e_x & e_y & e_z & e_t \end{bmatrix} \right ) = A^{-1} \ E \left (\begin{bmatrix} e_1 \\ e_2 \\ e_3 \\ e_4 \end{bmatrix} \begin{bmatrix} e_1 & e_2 & e_3 & e_4 \end{bmatrix} \right ) \left (A^{-1} \right )^T \ (5)$

Assuming the pseudorange errors are uncorrelated and have the same variance, the covariance matrix on the right side can be expressed as a scalar times the identity matrix. Thus

$\begin{bmatrix} \sigma_x^2 & \sigma_{xy}^2 & \sigma_{xz}^2 & \sigma_{xt}^2 \ \sigma_{xy}^2 & \sigma_{y}^2 & \sigma_{yz}^2 & \sigma_{yt}^2 \ \sigma_{xz}^2 & \sigma_{yz}^2 & \sigma_{z}^2 & \sigma_{zt}^2 \ \sigma_{xt}^2 & \sigma_{yt}^2 & \sigma_{zt}^2 & \sigma_{t}^2 \end{bmatrix} = \sigma_R^2 \ A^{-1} \left (A^{-1} \right )^T = \sigma_R^2 \ \left (A^T A \right )^{-1} \ (6)$

since $\ A^{-1} \left (A^{-1} \right )^T \left (A^T A \right ) = I$

Note: $\left (A^{-1} \right )^T = \left (A^{T} \right )^{-1},\$ since $\ I = \left(A A^{-1}\right)^T = \left(A^{-1}\right)^T A^T$

Substituting for $\left (A^T A \right )^{-1} = Q$ there follows

$\begin{bmatrix} \sigma_x^2 & \sigma_{xy}^2 & \sigma_{xz}^2 & \sigma_{xt}^2 \ \sigma_{xy}^2 & \sigma_{y}^2 & \sigma_{yz}^2 & \sigma_{yt}^2 \ \sigma_{xz}^2 & \sigma_{yz}^2 & \sigma_{z}^2 & \sigma_{zt}^2 \ \sigma_{xt}^2 & \sigma_{yt}^2 & \sigma_{zt}^2 & \sigma_{t}^2 \end{bmatrix} = \sigma_R^2 \ \begin{bmatrix} d_x^2 & d_{xy}^2 & d_{xz}^2 & d_{xt}^2 \ d_{xy}^2 & d_{y}^2 & d_{yz}^2 & d_{yt}^2 \ d_{xz}^2 & d_{yz}^2 & d_{z}^2 & d_{zt}^2 \ d_{xt}^2 & d_{yt}^2 & d_{zt}^2 & d_{t}^2 \end{bmatrix} \ (7)$

From equation (7), it follows that the variances of indicated receiver position and time are

$\sigma_{rc}^2 = \sigma_x^2 + \sigma_y^2 + \sigma_z^2 = \sigma_R^2\left(d_x^2 + d_y^2 + d_z^2\right) = PDOP^2 \sigma_R^2$ and
$\sigma_t^2 = \sigma_R^2 d_t^2 = TDOP^2 \sigma_R^2$

The remaining position and time error variance terms follow in a straightforward manner.

### Selective availability

GPS includes a (currently disabled) feature called Selective Availability (SA) that adds intentional, time varying errors of up to 100 meters (328 ft) to the publicly available navigation signals. This was intended to deny an enemy the use of civilian GPS receivers for precision weapon guidance.

SA errors are actually pseudorandom, generated by a cryptographic algorithm from a classified seed key available only to authorized users (the U.S. military, its allies and a few other users, mostly government) with a special military GPS receiver. Mere possession of the receiver is insufficient; it still needs the tightly controlled daily key.

Before it was turned off on May 1, 2000, typical SA errors were about 50 m (164 ft) horizontally and about 100 m (328 ft) vertically.[62] Because SA affects every GPS receiver in a given area almost equally, a fixed station with an accurately known position can measure the SA error values and transmit them to the local GPS receivers so they may correct their position fixes. This is called Differential GPS or DGPS. DGPS also corrects for several other important sources of GPS errors, particularly ionospheric delay, so it continues to be widely used even though SA has been turned off. The ineffectiveness of SA in the face of widely available DGPS was a common argument for turning off SA, and this was finally done by order of President Clinton in 2000.

Another restriction on GPS, antispoofing, remains on. This encrypts the P-code so that it cannot be mimicked by an enemy transmitter sending false information. Few civilian receivers have ever used the P-code, and the accuracy attainable with the public C/A code is so much better than originally expected (especially with DGPS) that the antispoof policy has relatively little effect on most civilian users. Turning off antispoof would primarily benefit surveyors and some scientists who need extremely precise positions for experiments such as tracking the motion of a tectonic plate.

DGPS services are widely available from both commercial and government sources. The latter include WAAS and the U.S. Coast Guard's network of LF marine navigation beacons. The accuracy of the corrections depends on the distance between the user and the DGPS receiver. As the distance increases, the errors at the two sites will not correlate as well, resulting in less precise differential corrections.

During the 1990-91 Gulf War, the shortage of military GPS units caused many troops and their families to buy readily available civilian units. This significantly impeded the U.S. military's own battlefield use of GPS, so the military made the decision to turn off SA for the duration of the war.

In the 1990s, the FAA started pressuring the military to turn off SA permanently. This would save the FAA millions of dollars every year in maintenance of their own radio navigation systems. The amount of error added was "set to zero"[63] at midnight on May 1, 2000 following an announcement by U.S. President Bill Clinton, allowing users access to the error-free L1 signal. Per the directive, the induced error of SA was changed to add no error to the public signals (C/A code). Clinton's executive order required SA to be set to zero by 2006; it happened in 2000 once the U.S. military developed a new system that provides the ability to deny GPS (and other navigation services) to hostile forces in a specific area of crisis without affecting the rest of the world or its own military systems.[63]

Selective Availability is still a system capability of GPS, and could, in theory, be reintroduced at any time. In practice, in view of the hazards and costs this would induce for U.S. and foreign shipping, it is unlikely to be reintroduced, and various government agencies, including the FAA,[64] have stated that it is not intended to be reintroduced.

One interesting side effect of the Selective Availability hardware is the capability to add corrections to the outgoing signal of the GPS cesium and rubidium atomic clocks to an accuracy of approximately 2 × 10−13 This represented a significant improvement over the raw accuracy of the clocks.[citation needed]

On 19 September 2007, the United States Department of Defense announced that future GPS III satellites will not be capable of implementing SA,[65] eventually making the policy permanent.[66]

### Relativity

Satellite clocks are slowed by their orbital speed but sped up by their distance out of the Earth's gravitational well.

A number of sources of error exist due to relativistic effects [67] that would render the system useless if uncorrected. Three relativistic effects are the time dilation, gravitational frequency shift, and eccentricity effects. For example, the relativistic time slowing due to the speed of the satellite of about 1 part in 1010, the gravitational time dilation that makes a satellite run about 5 parts in 1010 faster than an Earth based clock, and the Sagnac effect due to rotation relative to receivers on Earth. These topics are examined below, one at a time.

#### Special and general relativity

According to the theory of relativity, due to their constant movement and height relative to the Earth-centered, non-rotating approximately inertial reference frame, the clocks on the satellites are affected by their speed. Special relativity predicts that the frequency of the atomic clocks moving at GPS orbital speeds will tick more slowly than stationary ground clocks by a factor of $\frac{v^{2}}{2c^{2}}\approx 10 ^{-10}$, or result in a delay of about 7 μs/day, where the orbital velocity is v = 4 km/s, and c = the speed of light. The time dilation effect has been measured and verified using the GPS system.

The effect of gravitational frequency shift on the GPS system due to general relativity is that a clock closer to a massive object will be slower than a clock farther away. Applied to the GPS system, the receivers are much closer to Earth than the satellites, causing the GPS clocks to be faster by a factor of 5×10^(-10), or about 45.9 μs/day. This gravitational frequency shift is also a noticeable effect.

When combining the time dilation and gravitational frequency shift, the discrepancy is about 38 microseconds per day; a difference of 4.465 parts in 1010.[68] Without correction, errors in position determination of roughly 10 km/day would accumulate. In addition, because GPS satellite orbits are not perfectly circular, their elliptical orbits cause the time dilation and gravitational frequency shift effects to vary with time. This eccentricity effect causes the clock rate difference between a GPS satellite and a receiver to increase or decrease depending on the velocity orbital altitude of the satellite.

To account for the discrepancy, the frequency standard on board each satellite is given a rate offset prior to launch, making it run slightly slower than the desired frequency on Earth; specifically, at 10.22999999543 MHz instead of 10.23 MHz.[69] Since the atomic clocks on board the GPS satellites are precisely tuned, it makes the system a practical engineering application of the scientific theory of relativity in a real-world environment.[70] Placing atomic clocks on artificial satellites to test Einstein's general theory was proposed by Friedwardt Winterberg in 1955.[71]

#### Sagnac distortion

GPS observation processing must also compensate for the Sagnac effect. The GPS time scale is defined in an inertial system but observations are processed in an Earth-centered, Earth-fixed (co-rotating) system, a system in which simultaneity is not uniquely defined. A Lorentz transformation is thus applied to convert from the inertial system to the ECEF system. The resulting signal run time correction has opposite algebraic signs for satellites in the Eastern and Western celestial hemispheres. Ignoring this effect will produce an east-west error on the order of hundreds of nanoseconds, or tens of meters in position.[72]

### Natural sources of interference

Since GPS signals at terrestrial receivers tend to be relatively weak, natural radio signals or scattering of the GPS signals can desensitize the receiver, making acquiring and tracking the satellite signals difficult or impossible.

Space weather degrades GPS operation in two ways, direct interference by solar radio burst noise in the same frequency band[73] or by scattering of the GPS radio signal in ionospheric irregularities referred to as scintillation.[74] Both forms of degradation follow the 11 year solar cycle and are a maximum at sunspot maximum although they can occur at anytime. Solar radio bursts are associated with solar flares and their impact can affect reception over the half of the Earth facing the sun. Scintillation occurs most frequently at tropical latitudes where it is a night time phenomenon. It occurs less frequently at high latitudes or mid-latitudes where magnetic storms can lead to scintillation.[75] In addition to producing scintillation, magnetic storms can produce strong ionospheric gradients that degrade the accuracy of SBAS systems.[76]

### Artificial sources of interference

In automotive GPS receivers, metallic features in windshields,[77] such as defrosters, or car window tinting films[78] can act as a Faraday cage, degrading reception just inside the car.

Man-made EMI (electromagnetic interference) can also disrupt, or jam, GPS signals. In one well documented case, the entire harbor of Moss Landing, California was unable to receive GPS signals due to unintentional jamming caused by malfunctioning TV antenna preamplifiers.[79][80] Intentional jamming is also possible. Generally, stronger signals can interfere with GPS receivers when they are within radio range, or line of sight. In 2002, a detailed description of how to build a short range GPS L1 C/A jammer was published in the online magazine Phrack.[81]

The U.S. government believes that such jammers were used occasionally during the 2001 war in Afghanistan and the U.S. military claimed to destroy six GPS jammers during the Iraq War, including one that was destroyed ironically with a GPS-guided bomb.[82] Such a jammer is relatively easy to detect and locate, making it an attractive target for anti-radiation missiles. The UK Ministry of Defence tested a jamming system in the UK's West Country on 7 and 8 June 2007.[83]

Some countries allow the use of GPS repeaters to allow for the reception of GPS signals indoors and in obscured locations, however, under EU and UK laws, the use of these is prohibited as the signals can cause interference to other GPS receivers that may receive data from both GPS satellites and the repeater.

Due to the potential for both natural and man-made noise, numerous techniques continue to be developed to deal with the interference. The first is to not rely on GPS as a sole source. According to John Ruley, "IFR pilots should have a fallback plan in case of a GPS malfunction".[84] Receiver Autonomous Integrity Monitoring (RAIM) is a feature now included in some receivers, which is designed to provide a warning to the user if jamming or another problem is detected. The U.S. military has also deployed their Selective Availability / Anti-Spoofing Module (SAASM) in the Defense Advanced GPS Receiver (DAGR). In demonstration videos, the DAGR is able to detect jamming and maintain its lock on the encrypted GPS signals during interference which causes civilian receivers to lose lock.[85]

## Accuracy enhancement and surveying

### Augmentation

Augmentation methods of improving accuracy rely on external information being integrated into the calculation process. There are many such systems in place and they are generally named or described based on how the GPS sensor receives the information. Some systems transmit additional information about sources of error (such as clock drift, ephemeris, or ionospheric delay), others provide direct measurements of how much the signal was off in the past, while a third group provide additional navigational or vehicle information to be integrated in the calculation process.

Examples of augmentation systems include the Wide Area Augmentation System, Differential GPS, Inertial Navigation Systems and Assisted GPS.

### Precise monitoring

The accuracy of a calculation can also be improved through precise monitoring and measuring of the existing GPS signals in additional or alternate ways.

After SA, which has been turned off, the largest error in GPS is usually the unpredictable delay through the ionosphere. The spacecraft broadcast ionospheric model parameters, but errors remain. This is one reason the GPS spacecraft transmit on at least two frequencies, L1 and L2. Ionospheric delay is a well-defined function of frequency and the total electron content (TEC) along the path, so measuring the arrival time difference between the frequencies determines TEC and thus the precise ionospheric delay at each frequency.

Receivers with decryption keys can decode the P(Y)-code transmitted on both L1 and L2. However, these keys are reserved for the military and authorized agencies and are not available to the public. Without keys, it is still possible to use a codeless technique to compare the P(Y) codes on L1 and L2 to gain much of the same error information. However, this technique is slow, so it is currently limited to specialized surveying equipment. In the future, additional civilian codes are expected to be transmitted on the L2 and L5 frequencies (see GPS modernization). Then all users will be able to perform dual-frequency measurements and directly compute ionospheric delay errors.

A second form of precise monitoring is called Carrier-Phase Enhancement (CPGPS). The error, which this corrects, arises because the pulse transition of the PRN is not instantaneous, and thus the correlation (satellite-receiver sequence matching) operation is imperfect. The CPGPS approach utilizes the L1 carrier wave, which has a period of $\frac{1 sec}{1575.42 * 10^6} = 0.63475 \ nanoseconds \approx 1 \ nanosecond \$ which is about one-thousandth of the C/A Gold code bit period of $\frac{1 sec}{1023 * 10^3} = 977.5 \ nanosecond \ \approx 1000 \ nanosecond \$, to act as an additional clock signal and resolve the uncertainty. The phase difference error in the normal GPS amounts to between 2 and 3 meters (6 to 10 ft) of ambiguity. CPGPS working to within 1% of perfect transition reduces this error to 3 centimeters (1 inch) of ambiguity. By eliminating this source of error, CPGPS coupled with DGPS normally realizes between 20 and 30 centimeters (8 to 12 inches) of absolute accuracy.

Relative Kinematic Positioning (RKP) is another approach for a precise GPS-based positioning system. In this approach, determination of range signal can be resolved to a precision of less than 10 centimeters (4 in). This is done by resolving the number of cycles in which the signal is transmitted and received by the receiver. This can be accomplished by using a combination of differential GPS (DGPS) correction data, transmitting GPS signal phase information and ambiguity resolution techniques via statistical tests—possibly with processing in real-time (real-time kinematic positioning, RTK).

### Timekeeping

While most clocks are synchronized to Coordinated Universal Time (UTC), the atomic clocks on the satellites are set to GPS time. The difference is that GPS time is not corrected to match the rotation of the Earth, so it does not contain leap seconds or other corrections which are periodically added to UTC. GPS time was set to match Coordinated Universal Time (UTC) in 1980, but has since diverged. The lack of corrections means that GPS time remains at a constant offset with International Atomic Time (TAI) (TAI - GPS = 19 seconds). Periodic corrections are performed on the on-board clocks to correct relativistic effects and keep them synchronized with ground clocks.

The GPS navigation message includes the difference between GPS time and UTC, which as of 2009 is 15 seconds due to the leap second added to UTC December 31, 2008. Receivers subtract this offset from GPS time to calculate UTC and specific timezone values. New GPS units may not show the correct UTC time until after receiving the UTC offset message. The GPS-UTC offset field can accommodate 255 leap seconds (eight bits) which, given the current rate of change of the Earth's rotation (with one leap second introduced approximately every 18 months), should be sufficient to last until approximately the year 2300.

As opposed to the year, month, and day format of the Gregorian calendar, the GPS date is expressed as a week number and a seconds-into-week number. The week number is transmitted as a ten-bit field in the C/A and P(Y) navigation messages, and so it becomes zero again every 1,024 weeks (19.6 years). GPS week zero started at 00:00:00 UTC (00:00:19 TAI) on January 6, 1980, and the week number became zero again for the first time at 23:59:47 UTC on August 21, 1999 (00:00:19 TAI on August 22, 1999). To determine the current Gregorian date, a GPS receiver must be provided with the approximate date (to within 3,584 days) to correctly translate the GPS date signal. To address this concern the modernized GPS navigation message uses a 13-bit field, which only repeats every 8,192 weeks (157 years), thus lasting until the year 2137 (157 years after GPS week zero).

### Carrier phase tracking (surveying)

Utilizing the navigation message to measure pseudorange has been discussed. Another method that is used in GPS surveying applications is carrier phase tracking. The period of the carrier frequency times the speed of light gives the wave length, which is about 0.19 meters for the L1 carrier. With a 1% of wave length accuracy in detecting the leading edge, this component of pseudorange error might be as low as 2 millimeters. This compares to 3 meters for the C/A code and 0.3 meters for the P code.

However, this 2 millimeter accuracy requires measuring the total phase, that is the total number of wave lengths plus the fractional wavelength. This requires specially equipped receivers. This method has many applications in the field of surveying.

We now describe a method which could potentially be used to estimate the position of receiver 2 given the position of receiver 1 using triple differencing followed by numerical root finding, and a mathematical technique called least squares. A detailed discussion of the errors is omitted in order to avoid detracting from the description of the methodology. In this description differences are taken in the order of differencing between satellites, differencing between receivers, and differencing between epochs. This should not be construed to mean that this is the only order which can be used. Indeed other orders of taking differences are equally valid.

The satellite carrier total phase can be measured with ambiguity as to the number of cycles as described in CARRIER PHASE MEASUREMENT and CARRIER BEAT PHASE. Let $\ \phi(r_i, s_j, t_k)$ denote the phase of the carrier of satellite j measured by receiver i at time $\ \ t_k$. This notation has been chosen so as to make it clear what the subscripts i, j, and k mean. In view of the fact that the receiver, satellite, and time come in alphabetical order as arguments of $\ \phi$ and to strike a balance between readability and conciseness, let $\ \phi_{i,j,k} = \phi(r_i, s_j, t_k)$ so as to have a concise abbreviation. Also we define three functions, :$\ \Delta^r, \Delta^s, \Delta^t$ which perform differences between receivers, satellites, and time points respectively. Each of these functions has a linear combination of variables with three subscripts as its argument. These three functions are defined below. If $\ \alpha_{i,j,k}$ is a function of the three integer arguments, i, j, and k then it is a valid argument for the functions, :$\ \Delta^r, \Delta^s, \Delta^t$ , with the values defined as

$\ \Delta^r(\alpha_{i,j,k}) = \alpha_{i+1,j,k} - \alpha_{i,j,k}$ ,
$\ \Delta^s(\alpha_{i,j,k}) = \alpha_{i,j+1,k} - \alpha_{i,j,k}$ , and
$\ \Delta^t(\alpha_{i,j,k}) = \alpha_{i,j,k+1} - \alpha_{i,j,k}$ .

Also if $\ \alpha_{i,j,k}\ and\ \beta_{l,m,n}$ are valid arguments for the three functions and a and b are constants then $\ ( a\ \alpha_{i,j,k} + b\ \beta_{l,m,n} )$ is a valid argument with values defined as

$\ \Delta^r(a\ \alpha_{i,j,k} + b\ \beta_{l,m,n}) = a \ \Delta^r(\alpha_{i,j,k}) + b \ \Delta^r(\beta_{l,m,n})$ ,
$\ \Delta^s(a\ \alpha_{i,j,k} + b\ \beta_{l,m,n} )= a \ \Delta^s(\alpha_{i,j,k}) + b \ \Delta^s(\beta_{l,m,n})$ , and
$\ \Delta^t(a\ \alpha_{i,j,k} + b\ \beta_{l,m,n} )= a \ \Delta^t(\alpha_{i,j,k}) + b \ \Delta^t(\beta_{l,m,n})$ .

Receiver clock errors can be approximately eliminated by differencing the phases measured from satellite 1 with that from satellite 2 at the same epoch as shown in BETWEEN-SATELLITE DIFFERENCING. This difference is designated as $\ \Delta^s(\phi_{1,1,1}) = \phi_{1,2,1} - \phi_{1,1,1}$

Double differencing can be performed by taking the differences of the between satellite difference observed by receiver 1 with that observed by receiver 2. The satellite clock errors will be approximately eliminated by this between receiver differencing. This double difference is:

\begin{align} \Delta^r(\Delta^s(\phi_{1,1,1}))\,&=\,\Delta^r(\phi_{1,2,1} - \phi_{1,1,1}) &=\,\Delta^r(\phi_{1,2,1}) - \Delta^r(\phi_{1,1,1}) &=\,(\phi_{2,2,1} - \phi_{1,2,1}) - (\phi_{2,1,1} - \phi_{1,1,1}) \end{align}

Triple differencing can be performed by taking the difference of double differencing performed at time $\ \ t_2$ with that performed at time $\ \ t_1$. This will eliminate the ambiguity associated with the integral number of wave lengths in carrier phase provided this ambiguity does not change with time. Thus the triple difference result has eliminated all or practically all clock bias errors and the integer ambiguity. Also errors associated with atmospheric delay and satellite ephemeris have been significantly reduced. This triple difference is:

$\ \Delta^t(\Delta^r(\Delta^s(\phi_{1,1,1})))$

## Applications

The Global Positioning System, while originally a military project, is considered a dual-use technology, meaning it has significant applications for both the military and the civilian industry.

### Military

The military applications of GPS span many purposes:

• Navigation: GPS allows soldiers to find objectives in the dark or in unfamiliar territory, and to coordinate the movement of troops and supplies. The GPS-receivers that commanders and soldiers use are respectively called the Commanders Digital Assistant and the Soldier Digital Assistant.[86][87][88][89]
• Target tracking: Various military weapons systems use GPS to track potential ground and air targets before they are flagged as hostile.[citation needed] These weapon systems pass GPS co-ordinates of targets to precision-guided munitions to allow them to engage the targets accurately. Military aircraft, particularly those used in air-to-ground roles use GPS to find targets (for example, gun camera video from AH-1 Cobras in Iraq show GPS co-ordinates that can be looked up in Google Earth).
• Missile and projectile guidance: GPS allows accurate targeting of various military weapons including ICBMs, cruise missiles and precision-guided munitions. Artillery projectiles with embedded GPS receivers able to withstand accelerations of 12,000g's or about 117,600 meters/second2 have been developed for use in 155 mm howitzers.[90]
• Search and Rescue: Downed pilots can be located faster if they have a GPS receiver.
• Reconnaissance and Map Creation: The military use GPS extensively to aid mapping and reconnaissance.
• The GPS satellites also carry a set of nuclear detonation detectors consisting of an optical sensor (Y-sensor), an X-ray sensor, a dosimeter, and an electromagnetic pulse (EMP) sensor (W-sensor) which form a major portion of the United States Nuclear Detonation Detection System.[91][92]

### Civilian

This antenna is mounted on the roof of a hut containing a scientific experiment needing precise timing.

Many civilian applications benefit from GPS signals, using one or more of three basic components of the GPS: absolute location, relative movement, and time transfer.

The ability to determine the receiver's absolute location allows GPS receivers to perform as a surveying tool or as an aid to navigation. The capacity to determine relative movement enables a receiver to calculate local velocity and orientation, useful in vessels or observations of the Earth. Being able to synchronize clocks to exacting standards enables time transfer, which is critical in large communication and observation systems. An example is CDMA digital cellular. Each base station has a GPS timing receiver to synchronize its spreading codes with other base stations to facilitate inter-cell hand off and support hybrid GPS/CDMA positioning of mobiles for emergency calls and other applications. Finally, GPS enables researchers to explore the Earth environment including the atmosphere, ionosphere and gravity field. GPS survey equipment has revolutionized tectonics by directly measuring the motion of faults in earthquakes.

The U.S. Government controls the export of some civilian receivers. All GPS receivers capable of functioning above 18 km (60,000 ft) altitude and 515 m/s (1,000 knots) [93] are classified as munitions (weapons) for which U.S. State Department export licenses are required. These parameters are clearly chosen to prevent use of a receiver in a ballistic missile. It would not prevent use in a cruise missile since their altitudes and speeds are similar to those of ordinary aircraft.

This rule applies even to otherwise purely civilian units that only receive the L1 frequency and the C/A code and cannot correct for SA, etc.

Disabling operation above these limits exempts the receiver from classification as a munition. Different vendors have interpreted these limitations differently. The rule specifies operation above 18 km and 515 m/s, but some receivers stop operating at 18 km even when stationary. This has caused problems with some amateur radio balloon launches as they regularly reach 100,000 feet (30 km).

GPS tours are also an example of civilian use. The GPS is used to determine which content to display. For instance, when approaching a monument it would tell you about the monument.

GPS functionality has now started to move into mobile phones en masse. The first handsets with integrated GPS were launched already in the late 1990’s, and were available for broader consumer availability on networks such as those run by Nextel, Sprint and Verizon in 2002 in response to U.S. FCC mandates for handset positioning in emergency calls. Capabilities for access by third party software developers to these features were slower in coming, with Nextel opening up those APIs upon launch to any developer, Sprint following in 2006, and Verizon soon thereafter.

GPS Pet Tracking devices use the same network of satellites to pinpoint and transmit information about the whereabouts of a missing pet. These devices are normally attached to the collar of the pet and are to be worn at all times. A GPS pet tracking system will then offer 24/7 tracking of a pet’s location via mobile or Internet updates. GPS Pet Tracking Systems may use either radio waves or cell phones to transmit information and receive signals.[citation needed]

## Awards

Two GPS developers received the National Academy of Engineering Charles Stark Draper Prize for 2003:

One GPS developer, Roger L. Easton, received the National Medal of Technology on February 13, 2006 at the White House.[94]

On February 10, 1993, the National Aeronautic Association selected the Global Positioning System Team as winners of the 1992 Robert J. Collier Trophy, the most prestigious aviation award in the United States. This team consists of researchers from the Naval Research Laboratory, the U.S. Air Force, the Aerospace Corporation, Rockwell International Corporation, and IBM Federal Systems Company. The citation accompanying the presentation of the trophy honors the GPS Team "for the most significant development for safe and efficient navigation and surveillance of air and spacecraft since the introduction of radio navigation 50 years ago."

## Other systems

Other satellite navigation systems in use or various states of development include:

## References

1. ^ Astronautica Acta II, 25 (1956)
2. ^ Jerry Proc. "Omega". Jproc.ca. Retrieved 2009-12-08.
3. ^ "Why Did the Department of Defense Develop GPS?". Trimble Navigation Ltd. Retrieved 2010-01-13.
4. ^ "Charting a Course Toward Global Navigation". The Aerospace Corporation. Retrieved 2010-01-14.
5. ^ "A Guide To The Global Positioning System (GPS) - GPS Timeline". Radio Shack. Retrieved 2010-01-14.
6. ^ Michael Russell Rip, James M. Hasik (2002). The Precision Revolution: GPS and the Future of Aerial Warfare. Naval Institute Press. p. 65. ISBN 1557509735. Retrieved 2010-01-14.
7. ^ "ICAO Completes Fact-Finding Investigation". International Civil Aviation Organization. Retrieved 2008-09-15.
8. ^
9. ^ GPS Wing Reaches GPS III IBR Milestone in InsideGNSS November 10, 2008
10. ^ Dietrich Schroeer, Mirco Elena (2000). Technology Transfer. Ashgate. p. 80. ISBN 075462045X. Retrieved 2008-05-25.
11. ^ Michael Russell Rip, James M. Hasik (2002). The Precision Revolution: GPS and the Future of Aerial Warfare. Naval Institute Press. ISBN 1557509735. Retrieved 2008-05-25.
12. ^ United States Department of Defense. Announcement of Initial Operational Capability Announcement of Initial Operational Capability at the Internet Archive. December 8, 1993.
13. ^ National Archives and Records Administration. U.S. Global Positioning System Policy. March 29, 1996.
14. ^ "3g.co.uk". 3g.co.uk. 2004-11-10. Retrieved 2009-10-13.
15. ^ losangeles.af.mil
16. ^
17. ^ United States Naval Observatory. GPS Constellation Status. Retrieved December 20, 2008.
18. ^ Johnson, Bobbie (May 19, 2009). "GPS system 'close to breakdown'". The Guardian. Retrieved 2009-12-08.
19. ^ Coursey, David (May 21, 2009). "Air Force Responds to GPS Outage Concerns". ABC News. Retrieved 2009-05-22.
20. ^ GPS signals travel at the speed of light, so computing the distance for a given elapsed time is almost a straightforward calculation. However, the speed of light varies slightly between the partial vacuum of space and the atmosphere. A receiver can approximate these effects and produce a reasonable estimate. Once a rough position is determined, some receivers carefully compute the amount of atmosphere the signal traveled through and adjust the distance accordingly.
21. ^ Georg zur Bonsen, Daniel Ammann, Michael Ammann, Etienne Favey, Pascal Flammant (2005-04-01). "Continuous Navigation Combining GPS with Sensor-Based Dead Reckoning". GPS World.
22. ^ a b c d e
23. ^ "GPS Support Notes" (PDF). January 19, 2007. Retrieved 2008-11-10.
24. ^ It is also possible for a circle and a spherical surface to intersect at zero points, one point, or in the very special case in which the centers of the three spheres are colinear (i.e., all three on the same straight line) the sphere surface could intersect the entire circumference of the circle.
25. ^ The two intersections are symmetrical about the plane containing the three satellites. Unless they are all in the same orbital plane, the plane containing them will not be a vertical one passing through the center of the Earth, and one intersection will be nearer the earth than the other.
26. ^ John Pike. "GPS III Operational Control Segment (OCX)". Globalsecurity.org. Retrieved 2009-12-08.
27. ^
28. ^ Dana, Peter H. (1996-08-08). "GPS Orbital Planes" (GIF).
29. ^ What the Global Positioning System Tells Us about Relativity. Retrieved January 2, 2007.
30. ^ GPS Overview from the NAVSTAR Joint Program Office. Retrieved December 15, 2006.
31. ^ "USCG Navcen: GPS Frequently Asked Questions". Retrieved 2007-01-31.
32. ^ Agnew, D.C. and Larson, K.M. (2007). "Finding the repeat times of the GPS constellation". GPS Solutions (Springer) 11 (1): 71–76. doi:10.1007/s10291-006-0038-4.  This article from author's web site, with minor correction.
33. ^
34. ^ Massatt, Paul; Wayne Brady (Summer 2002). "Optimizing performance through constellation management". Crosslink: 17–21.
35. ^ US Coast Guard General GPS News 9-9-05
36. ^ USNO NAVSTAR Global Positioning System. Retrieved May 14, 2006.
37. ^ Note that though there are many receiver manufacturers, they almost all use one of the chipsets produced for this purpose. An example:
38. ^ NMEA NMEA 2000
39. ^ "Publications and Standards from the National Marine Electronics Association (NMEA)". National Marine Electronics Association. Retrieved 2008-06-27.
40. ^   Page 103.
41. ^ How GPS works. Konowa.de (2005).
42. ^ Fact Sheets - Global Positioning System. Los Angeles Air Force Base. August 2009.
43. ^ "GPS Almanacs, NANUS, and Ops Advisories (including archives)". GPS Almanac Information. US Coast Guard. Retrieved 2009-09-09.
44. ^ "George, M., Hamid, M., and Miller A. Gold Code Generators in Virtex DevicesPDF (126 KB)
45. ^ "GPS - explained (Signals)"
46. ^ a b ""How a GPS Receiver Gets a Lock"". Gpsinformation.net. Retrieved 2009-10-13.
47. ^ "AN02 Network Assistance". Retrieved 2007-09-10.
48. ^ a b c d e Press, Flannery, Tekolsky, and Vetterling 1986, Numerical Recipes, The Art of Scientific Computing (Cambridge University Press).
49. ^ Noe, P.S.; Myers, K.A. (March 1976). "A Position Fixing Algorithm for the Low-Cost GPS Receiver". IEEE Transactions on Aerospace and Electronic Systems AES-12 (2): 295–297. doi:10.1109/TAES.1976.308310.
50. ^ a b c Richard Langley (July/August 1991). "The Mathematics of GPS" (PDF). GPS World.
51. ^ a b Lundberg, J.B. (2001). "Alternative algorithms for the GPS static positioning solution". Applied Mathematics and Computation (Elsevier) 119 (1): 21--34. doi:10.1016/S0096-3003(99)00219-2.
52. ^ a b Bancroft, S. (1985). "An Algebraic Solution of the GPS Equations". Aerospace and Electronic Systems, IEEE Transactions on aes-21: 56–59. doi:10.1109/TAES.1985.310538.
53. ^ Jay Farrell, Matthew Barth (1999). The global positioning system and inertial navigation. McGraw-Hill. p. 145. ISBN 007022045X.
54. ^ Krause, L.O. (March 1987). "A Direct Solution to GPS-Type Navigation Equations". Aerospace and Electronic Systems, IEEE Transactions on AES-23 (2): 225–232. doi:10.1109/TAES.1987.313376.
55. ^ a b Yang Yong and Miao Lingjuan (2004-07-06). "GDOP results in all-in-view positioning and in four optimum satellites positioning with GPS PRN codes ranging". Position Location and Navigation Symposium, 2004. PLANS 2004. pp. 723–727.
56. ^ Peter H. Dana. "Geometric Dilution of Precision (GDOP) and Visibility". University of Colorado at Boulder. Retrieved 2008-07-07.
57. ^ Peter H. Dana. "Receiver Position, Velocity, and Time". University of Colorado at Boulder. Retrieved 2008-07-07.
58. ^ The same principle, and the math behind it, can be found in descriptions of pulsar timing by astronomers.
59. ^ SNT080408. "Ephemeris Server Example". Tdc.co.uk. Retrieved 2009-10-13.
60. ^
61. ^ Česky. "Global Positioning System - Wikipedia, the free encyclopedia". En.wikipedia.org. Retrieved 2009-10-13.
62. ^ Grewal, Mohinder S.; Weill, Lawrence Randolph; Andrews, Angus P. (2001), Global positioning systems, inertial navigation, and integration, John Wiley and Sons, p. 103, ISBN 047135032X, 9780471350323 , Chapter 5, p. 103
63. ^ a b
64. ^
65. ^ "DoD Permanently Discontinues Procurement Of Global Positioning System Selective Availability". DefenseLink. September 18, 2007. Retrieved 2008-02-20.
66. ^ "Selective Availability". National space-based Positioning, Navigation, and Timing Executive Committee. Retrieved 2008-02-20.
67. ^ Stephen Webb (2004). Out of this world: colliding universes, branes, strings, and other wild ideas of modern physics. Springer. p. 32. ISBN 0387029303.
68. ^ Rizos, Chris. University of New South Wales. GPS Satellite Signals. 1999.
69. ^ The Global Positioning System by Robert A. Nelson Via Satellite, November 1999
70. ^ Pogge, Richard W.; “Real-World Relativity: The GPS Navigation System”. Retrieved 25 January 2008.
71. ^ "Astronautica Acta II, 25 (1956).". 1956-08-10. Retrieved 2009-10-23.
72. ^ Ashby, Neil Relativity and GPS. Physics Today, May 2002.
73. ^ Cerruti, A., P. M. Kintner, D. E. Gary, A. J. Mannucci, R. F. Meyer, P. H. Doherty, and A. J. Coster (2008), Effect of intense December 2006 solar radio bursts on GPS receivers, Space Weather, doi:10.1029/2007SW000375, October 19, 2008
74. ^ Aarons, Jules and Basu, Santimay, Ionospheric amplitude and phase fluctuations at the GPS frequencies, Proceedings of ION GPS, v 2, 1994, p 1569-1578
75. ^ Ledvina, B. M., J. J. Makela, and P. M. Kintner (2002), First observations of intense GPS L1 amplitude scintillations at midlatitude, Geophys. Res. Lett., 29(14), 1659, doi:10.1029/2002GL014770
76. ^ Tom Diehl, Solar Flares Hit the Earth- WAAS Bends but Does Not Break, SatNav News, volume 23, June 2004
77. ^
78. ^  . Note that the 'Color Stable' films are specifically described as not interfering with satellite signals.
79. ^ The Hunt for RFI. GPS World. 1 January 2003.
80. ^ "EMC compliance club "banana skins" column 222". Compliance-club.com. Retrieved 2009-10-13.
81. ^ Low Cost and Portable GPS Jammer. Phrack issue 0x3c (60), article 13. Published December 28, 2002.
82. ^ American Forces Press Service. Centcom charts progress. March 25, 2003.
83. ^
84. ^ Ruley, John. AVweb. GPS jamming. February 12, 2003.
85. ^ Commercial GPS Receivers: Facts for the Warfighter. Hosted at the Joint Chiefs website, linked by the USAF's GPS Wing DAGR program website. Retrieved 10 April 2007.
86. ^ Commanders Digital Assistant explanation and photo
88. ^ Soldier Digital Assistant explanation and photo
89. ^ Sinha, Vandana (2003-07-24). "Commanders and Soldiers' GPS-receivers". Gcn.com. Retrieved 2009-10-13.
90. ^
91. ^ Sandia National Laboratory's Nonproliferation programs and arms control technology.
92. ^ Dr. Dennis D. McCrady. "The GPS Burst Detector W-Sensor". Sandia National Laboratories.
93. ^ Arms Control Association.Missile Technology Control Regime. Retrieved May 17, 2006.
94. ^ United States Naval Research Laboratory. National Medal of Technology for GPS. November 21, 2005
95. ^ New York Times
96. ^ "Spacedaily.com". Spacedaily.com. Retrieved 2009-10-13.
97. ^

# Wiktionary

Up to date as of January 15, 2010

## English

### Initialism

Wikipedia has an article on:

Wikipedia

GPS