How to Use the GPS Clock
June 22, 2009 by GPS and Navigation System Tips
Filed under About GPS
This article discusses how the GPS clock can be used to provide an accurate timing reference for computers and computer networks. The GPS system is often used for computer timing applications, such as NTP time servers and accurate timing references.
GPS Time
GPS time is continuously broadcast by the GPS system. Time is referenced to UTC (Universal Coordinated Time), which is the same worldwide and does not vary with time zones. GPS timing information can be received with relatively low-cost equipment, such as a GPS receiver and antenna.
The GPS signal is very weak low-power radio signal. The signal has two designated frequencies, L1 and L2. Frequency, L1, is the civilian GPS frequency transmitted at 1575.42 MHz. The signal travels in a straight line and can pass through clouds, glass and plastics but is blocked by objects such as metal and brickwork. The ideal location for a GPS antenna is therefore on rooftop with a good view of the sky. Often, antenna installation on the side of a building or in a window can provide a good enough view of the sky to give adequate results.
GPS Clock
The GPS system provides a free-to-air time synchronisation service; there are no on-going set-up or subscription charges. Many computer systems utilise the GPS clock as an accurate timing reference. Highly accurate NTP server systems use the GPS clock as an external reference to synchronise Network Time Protocol servers. Typically, a GPS receiver can provide timing information to within a few nanoseconds of UTC. The accuracy achieved with a GPS receiver is generally more than required for most computer network timing applications.
GPS Receiver Output
The GPS receiver constantly outputs position and timing information. Generally, information is transmitted to and from the receiver via a RS232 serial interface. Standard GPS interface protocols exist, the most common being NMEA. The NMEA protocol consists of a number of sentences, or character strings, transmitted at 4800 bits per second. Contained within each character string is accurate time and position information. Due to the latencies involved in serial communication, the NMEA sentences are not generally accurate enough to provide a timing reference. Therefore a pulse per second (PPS) output is utilised. A PPS output is an accurate pulse output each second that is aligned to the start of each second. The PPS output can be fed into a control line on the RS232 interface to provide a hardware interrupt input for accurate timing. Often the DCD RS232 line is utilised as a PPS input from the GPS receiver. The PPS output combined with NMEA timing and positioning information provides a highly accurate timing reference for computers.
GPS Antennas
The GPS antenna is a signal amplifier that boosts the GPS signal for transmission along a cable, usually coax, to the receiver. GPS antennas used for timing purposes are generally dome-shaped pole mounting devices for permanent installation in a static location. Typically, the GPS antenna is fairly small in size, measuring less than 900 mm in diameter
GPS Cabling
The cable distance that can be utilised by a GPS antenna and receiver depends on the amplification of the GPS antenna and the quality of coax used in the installation. A typical GPS antenna may have a gain of 35 db. Low-quality coax such as RG58 has an attenuation of 0.64 db/m at 1575 MHz. Therefore, a cable run of 55m can be obtained using RG58 cable. Higher quality coax, such as LMR400, an unaided cable run of 200m can be achieved. However, very high quality coax can be expensive. A good compromise is LMR200 cable, which can be run unaided to 80m. Longer distances can be achieved with the aid of GPS amplifiers, which amplify the GPS signal still further, to increase cable distance.
Thanks to David Evans for contributing this article to our GPS blog:
D. Evans develops GPS clock and NTP server synchronization solutions that ensure accurate time on computers and computer networks. David has been involved in the development of dedicated time servers, NTP synchronized digital wall clock systems and atomic clock synchronization products. Click here to find out more about NTP Server and GPS clock solutions.
GPS Systems for Ntp Time Servers and Timing Applications
June 19, 2009 by GPS and Navigation System Tips
Filed under About GPS
The GPS system is a United States military system intended for global navigation. The GPS system is a space-based system, consisting of a network of 24 orbiting satellites. Precise navigation and positioning is achieved by utilising precision timing signals and triangulation between multiple satellites. Each orbiting satellite has an integrated atomic clock timing reference to provide ultra high precision timing. Each satellite broadcasts timing information to within a few nanoseconds of the correct time to provide positioning to an accuracy of better than 10m. This precise timing information can be used by NTP time servers and other computer timing equipment as a highly accurate time reference. The great thing about GPS is that it works anywhere in the world and is entirely free to air service.
Each GPS satellite transmits a low-power radio signal down to the surface of the Earth. Two separate frequencies are utilised, designated L1 and L2. The L1 band is the civilian signal; transmitted at 1575.42 MHz. L2 is the military frequency, intended for ultra-high precision positioning. The radio signals are transmitted from the satellites by line of sight. The transmitted signal is easily powerful enough to pass through clouds, glass and most plastics but is absorbed by more substantial material such as brick, roofing materials and metals. The ideal location for a GPS antenna tends to be outdoors and ideally on a rooftop with the best possible view of the sky.
With the advent of GPS navigation equipment for the mass market, GPS antennas and receivers can be obtained at very reasonable cost. A GPS antenna is utilised to receive and amplify the GPS radio signals. While a GPS receiver decodes the information and presents it in a computer readable format. Many antennas are available with integrated receivers but these have the drawback of only providing a few meters of cabling to the host NTP time server or computer system. Marine antennas are designed to withstand the worst of the weather, they typically screw onto a threaded pole to provide a secure mounting system. These antennas provide the best solution for static timing applications.
The GPS receiver is generally embedded into the NTP time server or encapsulated within an enclosure. A GPS receiver is a small elecronic device that receives amplified GPS signals from an antenna via a coaxial cable. The receiver decodes these signal and provides a computer readable output usually via a RS232 or USB interface. Most receivers provide decoded information such as: position, visible satellites, precise time and an accurate pulse output timing reference.
Coaxial cable is utilised to provide a connection between the GPS antenna and receiver. The cable distance can be critical. The antenna must amplify the GPS signal sufficiently to overcome any cable losses associated with the cable run utilised. Better quality antennas generally provide more amplification (gain) additionally higher quality coax cables can be used with much smaller signal losses per meter allowing for relatively long cable runs between a antenna and receiver. In order to extend cable runs still further GPS amplifiers can be used to boost the signal transmitted down the coax cable. Typically, a GPS amplifier sits in-line on the coax cable and is powered from the receiver. Multiple amplifiers can be used for extremely long cable runs.
A roof mounted GPS antenna can be prone to lightning strikes and voltage surges. It is recommended that surge suppressors are utilised to protect expensive NTP time server and timing systems from potential damage. A surge suppressor is essentially a barrier that sits in-line on the coax cable between the antenna and receiver that protects the receiver from any potential damage due to voltage surges.
To summarise, the GPS system provides a highly precise timing reference for NTP time servers and other computer timing equipment. It is a reliable free to air service that can be used anywhere in the world. Additionally, with the boom in vehicle navigation systems the technology required to receive GPS broadcasts is continually falling in price.
Thanks to David Evans for contributing this article to our GPS blog:
The author of this article, Dave Evans, provides a technical authoring service to a number of computer network timing hardware manufacturers. Dave’s expertise in the field of atomic clock, NTP server and time server systems has led to him becoming a leading author in the field. Click here, if you would like to read more about NTP time server solutions.




