Using GPS For NTP Server Time Synchronisation

The GPS system is a satellite navigation systemtransmission. The US Military designates two
operated by the US Department of Defence. Itfrequencies, one for civilian use coded L1, and one
essentially provides a subscription-free civilian timingfor military use coded L2. The L1 frequency is
and navigation service. GPS is primarily intended as abroadcast at 1575 MHz (1.575 GHz). These weak
highly accurate global positioning and navigationradio transmissions can easily pass through less dense
reference. However, a by-product of accuratematerials, such as plastics and glass, but are blocked
positioning is that each orbiting satellite also has anby denser materials, such as metal and brick.
integrated highly precise atomic clock unitHowever, newer more sensitive receivers are being
synchronised by the US Naval Observatory (USNO).developed for indoor operation.
It is therefore ideal for providing a high accuracy timeA GPS antenna needs to have a 'line-of-sight' view of
reference for computer timing systems, such as NTP.satellites. Therefore, a roof-mounted antenna is ideal,
This article attempts to describe simply, howwith a full 360-degree view of the sky. Quite often
network time servers can obtain accurate timinghowever, an antenna located on the side of a building
information to provide a precise reference foris adequate, provided the horizon is not too obscured
computer time synchronisation. It also discusses howby trees or buildings. The antenna is essentially a
NTP servers can utilise the atomic time generated bysignal amplifier; it boosts the received signals for
GPS to provide a timing reference for computertransmission along a cable to a receiver. Fifty-ohm
networks.coax cable is generally used to transfer signal
The GPS system is a constellation of 24 orbitinginformation between the antenna and receiver.
satellites, each with highly precise atomic clock timingThe receiver decodes the signals received by the
systems onboard. The system provides a globalantenna into a useable, easily readable format. The
service, which can be received anywhere on the facemost common protocol used by receivers is NMEA,
of the planet. Accurate time data is transmittedwhich consists of a number of transmitted sentences.
continuously from each satellite. The time informationEach NMEA sentence provides a packet of
can easily be received with modern low-cost antennainformation consisting of time, date and positioning
and receiver equipment.information. The protocol also provides additional
Time is broadcast from each satellite as Universalinformation such as visible satellites and satellite
Coordinated Time (UTC), which is virtually identical toorientation in the sky.
Greenwich Mean Time (GMT). UTC time is the sameNTP servers utilise a specific receiver tailored for
worldwide; it does not vary with time zone ortiming applications. Timing receivers have additional
daylight saving time. UTC is a high precision atomicfunctions and circuitry to ensure a highly precise
time standard maintained by atomic clocks located inreference time. They also perform an automated
national standards laboratories. UTC has uniformsite-survey to compare satellite clocks for
seconds, as defined by the International Atomic Timesynchronicity. Time servers also utilise an accurate
(TAI) institute.pulse per second (PPS) output generated by the
Each satellite broadcasts time and positioningreceiver. A PPS output provides a highly accurate
information as a very low-power radio frequencyreference trigger for timing purposes.