Computers maintain time and date information using internal real-time clock chips. These chips are battery-backed and maintain time even when the power to the computer is switched off. However, the components utilized are relatively low-cost devices and have a tendency to drift by relatively large amounts. This article describes various ways of keeping the time on your computer accurate. It also shows how to synchronize a computers system clock with a highly accurate reference clock.
Computer systems time can drift anything from a few seconds a day to a few minutes each day. When processing transactions or performing time critical tasks across a number of computers, incorrect time can be a real headache.
The Internet solved this problem by introducing the Network Time Protocol (NTP). NTP can be used to distribute accurate time from a highly precise time server to network time clients. Most modern operating systems have the ability to synchronize time with a NTP server. Generally, all that is required is the IP address or domain name of Stratum 1 or Stratum 2 NTP servers.
LINUX and UNIX operating systems can download the full NTP implementation from the NTP web site 'ntp.org'. NTP is freely available open source software available under the GNU public license.
Microsoft Windows XP/2000/2003 and Vista operating systems have an integrated SNTP client. SNTP stands for Simple Network Time Protocol. SNTP is a sub-set of the Network Time Protocol. SNTP provides a simplified NTP algorithm with many of the complex routines to achieve high precision removed. Windows operating systems allow an IP address or domain name of a Internet or Intranet NTP server to be entered in the time properties tab. The SNTP client will then periodically contact the NTP server in order to update and synchronize system time.
A problem arises, however, if the computer does not have access to the Internet or is not networked. What is required is local access to an accurate time reference. However, there are many freely available time and frequency resources that can be utilized.
A number of national radio time references are transmitted free-to-air. These radio broadcasts are generally referred to by their 'call sign'. WWVB is the North-American time and frequency radio transmission, broadcast for Colorado in the States. DCF is the call-sign of the German radio time transmission, which is broadcast from Meinflingen near Frankfurt. The UK time transmitter is located at Anthorn, Cumbria, it's call sign is MSF. A number of other broadcasts are available in France, Canada, Switzerland and Japan. With the addition of a small RS232 serial or USB radio receiver, a PC can obtain continuous accurate time. The PC system time can then be synchronized to the received time and frequency radio source.
The disadvantage with National radio time and frequency solutions is that they have a finite transmission range. Their transmissions are generally regional and limited to national boundaries. The Global Positioning System (GPS) provides a solution to this. The GPS system operates from a number of orbiting satellites. Each satellite has an on-board highly accurate synchronized atomic clock. GPS can provide highly precise timing information anywhere on the face of the planet. All that is required to receive the GPS transmissions is a low-cost GPS receiver and antenna. The GPS antenna needs to be shown a good clear view of the sky for correct operation. By connecting a PC to a serial or USB GPS receiver, accurate timing information is continuously available.
To summarize, a wide range of highly accurate computer timing references are freely available. Utilizing the Internet, National time and frequency radio transmissions or the GPS system can ensure that a computers time remains locked to a precise time reference.
About the Author
David R. Evans is an experienced technical author whose field of expertise are NTP servers and computer timing systems. For more information about Radio and GPS time servers and NTP servers, please visit:
http://www.timetools.co.uk/ntp-servers/ntp-server-s5000.htm