Friday, November 21, 2008

Big Brand GPS

The Global Positioning System (GPS) is a satellite-based navigation system made up of a network of 24 satellites placed into orbit by the U.S. Department of Defense. GPS was originally intended for military applications, but in the 1980s, the government made the system available for civilian use. GPS works in any weather conditions, anywhere in the world, 24 hours a day. There are no subscription fees or setup charges to use GPS. The 24 satellites that make up the GPS space segment are orbiting the earth about 12,000 miles above us. They are constantly moving, making two complete orbits in less than 24 hours. These satellites are travelling at speeds of roughly 7,000 miles an hour. Big Brand GPS

GPS satellites circle the earth twice a day in a very precise orbit and transmit signal information to earth. GPS receivers take this information and use triangulation to calculate the user's exact location. Essentially, the GPS receiver compares the time a signal was transmitted by a satellite with the time it was received. These signals travel at the speed of light. The receiver measures the transit time of each message, and uses the known speed of light to compute the distance to each satellite. These distances, along with the location of the satellites, then determine the location of the receiver through a sophisticated version of trilateration. In most consumer applications, the raw location is converted to a more user-friendly form such as latitude/longitude or location on a map. The time difference tells the GPS receiver how far away the satellite is. Now, with distance measurements from a few more satellites, the receiver can determine the user's position and display it on the unit's electronic map.

There are several components that need to be looked at when choosing a GPS. There is the GPS receiver (or antenna) itself, which plays an important part. Do you need a seperate Bluetooth antenna unit for clear line of sight?. Then there is the portion of the system which uses the received information to estimate where the device is located on an internal map. Is the GPS unit going to be car mounted or hand-held? 

Then there are the various capabilities for route planning and recording, which vary from unit to unit. Some include reversing cameras. Finally, the display portion of each solution type can vary considerably, from limited location information to full color three dimensional maps of the immediate surroundings and advised route.


How does GPS Work?

The Global Positioning System (GPS) is a Global Navigation Satellite System (GNSS) developed by the United States Department of Defense. It is the only fully functional GNSS in the world. It uses a constellation of between 24 and 32 Medium Earth Orbit satellites that transmit precise microwave signals, that enable GPS receivers to determine their current location, the time, and their velocity. Its official name is NAVSTAR-GPS. Although NAVSTAR-GPS is not an acronym, a few backronyms have been created for it.

The GPS satellite constellation is managed by the United States Air Force 50th Space Wing. GPS is often used by civilians as a navigation system. Similar satellite navigation systems include the Russian GLONASS (incomplete as of 2008), the upcoming European Galileo positioning system, the proposed COMPASS navigation system of China, IRNSS of India, and DORIS of France. After Korean Air Lines Flight 007 was shot down in 1983 after straying into the USSR's prohibited airspace, President Ronald Reagan issued a directive making GPS freely available for civilian use as a common good. Since then, GPS has become a widely used aid to navigation worldwide, and a useful tool for map-making, land surveying, commerce, scientific uses, and hobbies such as geocaching. Also, the precise time reference is used in many applications including scientific study of earthquakes, and synchronization of telecommunications networks. The first satellite navigation system, Transit, used by the United States Navy, was first successfully tested in 1960. Using a constellation of five satellites, it 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 the GPS relies upon. In the 1970s, the ground-based Omega Navigation System, based on signal phase comparison, became the first worldwide radio navigation system. 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. Additional inspiration for the GPS came when the Soviet Union launched the first 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. A GPS receiver calculates its position by carefully timing the signals sent by the constellation of GPS satellites high above the Earth. Each satellite continually transmits messages containing the time the message was sent, precise orbital information (the ephemeris), and the general system health and rough orbits of all GPS satellites (the almanac). These signals travel at the speed of light. Big Brand GPS. The receiver measures the transit time of each message, and uses the known speed of light to compute the distance to each satellite. These distances, along with the location of the satellites, then determine the location of the receiver through a sophisticated version of trilateration. In most consumer applications, the raw location is converted to a more user-friendly form such as latitude/longitude or location on a map. It might seem that three satellites would be enough to solve for a position, since space has three dimensions. However, a three-satellite solution requires that time be known to a nanosecond or so—far more accurate than a non-laboratory clock provides. Using four (or more) satellites allows the receiver to solve for time as well as geographical position, eliminating the need for a very accurate clock.

In other words, the receiver uses four measurements to solve for four variables: x, y, z, and t. While most GPS applications use the computed location only and effectively hide the very accurately computed time, the time is used in a few GPS applications such as time transfer and traffic signal timing. Although four satellites are required for normal operation, fewer may be needed in special cases. If one variable is already known (for example, a ship or plane may have known elevation), a receiver can determine its position using only three satellites. Some GPS receivers may use additional clues or assumptions (such as re-using the last known altitude, dead reckoning, inertial navigation, or including information from the vehicle computer) to give degraded answers when fewer than four satellites are visible. To provide an introductory description of how a GPS receiver works, measurement 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 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 is the satellite number 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 indicated transit time, \left (tr_i-t_i\right ) . of the message. 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. A figure, two sphere surfaces intersecting in a circle, is shown below. Two points at which the surfaces of the spheres intersect are clearly shown in the figure. The distance between these two points is the diameter of the circle of intersection. Two sphere surfaces intersecting in a circle The article, trilateration, shows mathematically that two spheres intersecting in more than one point intersect in a circle. Surface of a sphere intersecting a circle (i.e., the edge of a disk) at two points A circle and sphere surface in most cases of practical interest intersect at two points, although it is conceivable that they could intersect at one point—or not at all. Another figure, Surface of Sphere Intersecting a Circle (not disk) at Two Points, shows this intersection. The two intersections are marked with dots. Again trilateration clearly shows this mathematically. The correct position of the GPS receiver is the intersection that is closest to the surface of the earth for automobiles and other near-Earth vehicles. The correct position of the GPS receiver is also the intersection which is closest to the surface of the sphere corresponding to the fourth satellite. (The two intersections are symmetrical with respect to the plane containing the three satellites. If the three satellites are not in the same orbital plane, the plane containing the three satellites will not be a vertical plane passing through the center of the Earth. In this case one of the intersections will be closer to the earth than the other. The near-Earth intersection will be the correct position for the case of a near-Earth vehicle. The intersection which is farthest from Earth, may be the correct position for space vehicles.) 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. It is likely 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 \ r_4 denote the distance from the valid estimate of GPS receiver position to the fourth satellite and let \ p_4\ denote the pseudorange of the fourth satellite. Let \ da = r_4 - p_4. Note that \ da is the distance from the computed GPS receiver position to the surface of the sphere corresponding to the fourth satellite. Thus the quotient, \ 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 \ b is positive or delayed if \ b is negative. The current GPS consists of three major segments. These are the space segment (SS), a control segment (CS), and a user segment (US). 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) comprises 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,but this was modified to six planes with four satellites each. The orbital planes are centered on the Earth, not rotating with respect to the distant stars. 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). The orbits are arranged so that at least six satellites are always within line of sight from almost everywhere on Earth's surface.Orbiting at an altitude of approximately 20,200 kilometers about 10 satellites are visible within line of sight (12,600 miles or 10,900 nautical miles; orbital radius of 26,600 km (16,500 mi or 14,400 NM)), each SV makes two complete orbits each sidereal day. The ground track of each satellite therefore repeats each (sidereal) day. 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, there are 31 actively broadcasting satellites in the GPS constellation. 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.Some reports in 2008 indicated that the 32nd satellite was causing difficulties for some GPS receivers.

The flight paths of the satellites are tracked by US Air Force monitoring stations in Hawaii, Kwajalein, Ascension Island, Diego Garcia, and Colorado Springs, Colorado, along with monitor stations operated by the National Geospatial-Intelligence Agency (NGA) The tracking information is sent to the Air Force Space Command's master control station at Schriever Air Force Base in 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 the ground antennas at Ascension Island, Diego Garcia, Kwajalein, and Colorado Springs). 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. 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 .

The user's GPS receiver is the user segment (US) of the GPS. 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.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 a 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. Although these protocols are officially defined by the NMEA, 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.

GPS broadcast signal 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 1500 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. The first 6 seconds of every frame contains data describing the satellite clock and its relationship to GPS time. The next 12 seconds 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). A new part of the almanac is received for the last 12 seconds in each 30 second frame. Each frame contains 1/25th of the almanac, so 12.5 minutes are required to receive the entire almanac from a single satellite.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. 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. * 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. * 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 2009.