Jul 10

Atomic clocks have been around since the 1950’s. They have provided incredible accuracy in timekeeping with most modern atomic clocks not losing a second in time in a million years.

Thanks to atomic clocks many technologies have become possible and have changed the way we live our lives. Satellite communication, satellite navigation, internet shopping and network communication are only possible thanks to atomic clocks.

Atomic clocks are the basis for the world’s global timescale Universal Coordinated Time (UTC) and are the reference that many computer networks use as a time source to distribute amongst its devices using NTP (Network Time Protocol) and a time server.

Atomic clocks are based on the atom caesium -133. This element has been traditionally used in atomic clocks as its resonance or vibrations during a particular energy state, or extremely high (over 9 billion) and therefore can provide high levels of accuracy.

However, new types of atomic clocks are on the horizon that will boast even more accuracy with the next generation of atomic clocks neither gaining nor losing a second in 200 million years.

The next generation of atomic clocks no longer rely on the caesium atom but use elements such as mercury or strontium and instead of using microwaves such as the caesium clocks these new clocks use light which has higher frequencies.

Strontium’s resonance also exceeds over 430 trillion which is vastly superior to the 9.2 billion vibrations that caesium manages.

Currently atomic clocks can be utilised by computer systems by using either a radio or GPS clock or dedicated NTP time server. These devices can receive the time signal transmitted by atomic clocks and distribute them amongst network devices and computers.

However, the National Institute for Standards and Technology (NIST) have revealed a miniature atomic clock that measures just 1.5 millimetres on a side and about 4 millimetres tall. It  consumes less than 75 thousandths of a watt, and has a stability of about one part in 10 billion, equivalent to a clock that would neither gain nor lose more than a second in 300 years.

In the future these devices could be integrated into computer systems, replacing the current real time clock chips, which are notoriously inaccurate and can drift.

Mar 04

The GPS (Global Positioning System) is a Global Navigational Satellite System (GNSS) controlled and run by the United States of America.

GNSS systems work by using satellites several thousand miles above the Earth’s surface that beam timing information down to a GNSS receiver (like the satellite navigation unit in our cars). It is this information that is used by the GPS receiver to triangulate an exact position. They can only do this by having onboard their own highly accurate atomic clock as the distance the satellites are away from the Earth, even an inaccuracy of a second or two could mean a sat navigation’s location could be miles out.

As a consequence of having this accurate time sources, GPS and the new breed of GNSS systems can all be used to receive an absolute or UTC (Universal Coordinated Time) time source. This time source can be used by computer networks running a NTP server (Network Time Protocol) to synchronise all machines and devices to the same time.

NTP is a protocol designed to synchronise computers and network devices to an external timing reference.

GPS is an ideal time and frequency reference because it can provide highly accurate time anywhere in the world using relatively cheap components. Each GPS satellite transmits in two frequencies L2 for the military use and L1 for use by civilians transmitted at 1575 MHz, Low-cost GPS antennas and receivers are now widely available and dedicated NTP GPS servers are now relatively low cost.

The radio signal transmitted by the satellite can pass through windows but can be blocked by buildings so the ideal location for a GPS antenna is on a rooftop with a good view of the sky. The more satellites it can receive from the better the signal. However, roof-mounted antennas can be prone to lighting strikes or other voltage surges so a suppressor is highly recommend being installed inline on the GPS cable.

A NTP GPS Server is ideal in providing NTP time servers or stand-alone computers with a highly accurate external reference for synchronisation. Even with relatively low cost equipment, accuracy of hundred nanoseconds (a nanosecond = a billionth of a second) can be reasonably achieved using GPS as an external reference.

Feb 18

Network Time Protocol (NTP) is one of the Internet’s oldest protocols still utilised. Invented by Dr David Mills from the University of Delaware it has been in use since 1985. NTP is a protocol designed to synchronize the clocks on computers and networks across the Internet or Local Area Networks (LANs).

NTP (version 4) can maintain time over the public Internet to within 10 milliseconds (1/100th of a second) and can perform even better over LANs with accuracies of 200 microseconds (1/5000th of a second) under ideal conditions.

NTP works within the TCP/IP suite and relies on UDP, a less complex form of NTP exists called Simple Network Time Protocol (SNTP) that does not require the storing of information about previous communications, needed by NTP. It is used in some devices and applications where high accuracy timing is not as important.

Time synchronisation with NTP is relatively simple, it synchronises time with reference to a reliable clock source. This source could be relative (a computer’s internal clock or the time on a wrist-watch) or absolute (A UTC – Universal Coordinated Time – clock source that is accurate as is humanely possible).

Atomic clocks are the most absolute time-keeping devices. They work on the principle that the atom, caesium-133, has an exact number of cycles of radiation every second (9,192,631,770). This has proved so accurate the International System of Units (SI) has now defined the second as the duration of 9,192,631,770 cycles of radiation of the caesium-133 atom.

However, atomic clocks are extremely expensive and are generally only to be found in large-scale physics laboratories. However, NTP can synchronise networks to an atomic clock by using either the Global Positioning System (GPS) or a specialist radio transmission.

The most widely used is the GPS system which consists of a number of satellites providing accurate positioning and location information. Each GPS satellite can only do this by utilising an atomic clock which in turn can be can be used as a timing reference.

A typical GPS receiver can provide timing information to within a few nanoseconds of UTC as long as there is an antenna situated with a good view of the sky.

There are also a number of national time and frequency radio transmissions that can be used to synchronise a NTP server. In Britain the signal (called MSF) is broadcast by the National Physics Laboratory in Cumbria which serves as the United Kingdom’s national time reference, there are also similar systems in Colorado, US (WWVB) and in Frankfurt, Germany (DCF-77). These signals provides UTC time to an accuracy of 100 microseconds, however, the radio signal has a finite range and is vulnerable to interference.

The distance from the reference clock is known as the stratum levels and they exist to prevent cycles in the NTP. Stratum 0, are devices such as atomic clocks connected directly to a computer. Stratum 1, are computers attached to stratum 0 devices, while Stratum 2 are computers that send NTP requests to Stratum 1 servers. NTP can support up to 256 strata.

All Microsoft Windows versions since 2000 include the Windows Time Service (w32time.exe) which has the ability to synchronise the computer clock to an NTP server (or an SNTP server – a simplified version of NTP) Many LINUX and UNIX based operating systems also have a version of NTP but the source code is free to download (current version 4.2.4) at the NTP website (NTP.org).

It is strongly recommended by Microsoft and others, that external based timing should be used rather than Internet based, as these can’t be authenticated. Specialist NTP time servers are available that can synchronise time on networks using either the MSF (or equivalent) or GPS signal.

Jan 30

The worst part of a power cut is running around the house setting all the clocks and timers back to the correct time, it can take ages and you will always forget one, however, as long as you have a wrist watch it should be quite easy to get your clocks all telling the same time. But what time is your wrist watch set too and who regulates that time?

Complete precision and accuracy in time telling is not essential for our day-to-day lives and neither is synchronisation, our computer may be a few minutes slower than our wall clock but it will make little difference when we send an email.

However, what if the person we sent the email to has a computer clock that is even slower? They may end up sending a reply before they have technically received it. Computers are easily fooled if timestamps run backwards – remember the millennium bug!

For this reason it is important for computers, particularly those that deal with time sensitive or financial applications, to be telling the same time; otherwise global stocks could be bought whilst already sold-out or an airline seat, already purchased could be bought again by a buyer with a slower computer clock.

The regulation of time didn’t start until after the development of atomic clocks when the oscillation of the caesium atom became the standard definition of a second (9,192,631,770 a second).

The time told by these atomic clocks was so accurate a new timescale was developed called International Atomic Time (TAI). However, it was discovered that the traditional method of telling time, based on the revolution of the Earth (ie 24 hours in a day) and this new timescale soon became out of sync with each other as the gravity from the moon alters the revolution of the Earth, slowing it down.

This difference in the Earths spin is only minute but enough people argued (mainly astronomers) that if it was not compensated for, night would eventually creep into day (albeit in many thousands of years) and it would be difficult to keep track of the celestial bodies.

A compromise was called for and the new timescale, Universal Coordinated Time (UTC) was developed that accounted for the slowing of the Earth’s spin by adding leap seconds every year or so.

UTC has meant that modern technologies and applications such as the Global Positioning System, satellite communication, live television broadcasts and global trading have become possible.

Computer networks can receive UTC time and keep all their devices synchronised to it by using a NTP server (Network Time Protocol). NTP servers can receive UTC time from an atomic clock source via the Internet, a national radio transmission or through the GPS network.

Jan 08

All PC’s and networking devices use clocks to maintain an internal system time. These clocks, called Real Time Clock chips (RTC), provide time and date information. They are battery backed so that even during power outages, they can maintain time. However, personal computers are not designed to be perfect clocks – their design has been optimized for mass production and low-cost rather than maintaining an accurate time.

These internal clocks are prone to drift and although for many application this is can be quite adequate for some applications, but machines on a network that drift at different rates, become out of sync with each other and problems can arise, particularly with time-sensitive transactions.

NTP servers (Network Time Protocol) use a single time reference to synchronise all machines on the network to a time reference. This time reference can be either relative (a computer’s internal clock or the time on a wrist-watch perhaps) or absolute such as a UTC (Universal Coordinated Time) clock source like an atomic clock that is as accurate as is humanely possible.

For some applications a relative time source is sufficient, however in many environments, such as airlines and the stock exchange it is essential for time to be absolute. Imagine buying an airline seat only to be told at the airport that the ticket was sold twice because it was purchased afterwards on a computer that had a slower clock!

Atomic clocks are the most absolute time-keeping devices. They work on the principle that the atom, caesium-133, has an exact number of cycles of radiation every second (9,192,631,770). This has proved so accurate the International System of Units (SI) has now defined the second as the duration of 9,192,631,770 cycles of radiation of the caesium-133 atom and the development of UTC (Coordinated Universal Time) now means computers all over the workld can be synchronized to the same time.

However, atomic clocks are extremely expensive and are generally only to be found in large-scale physics laboratories. However, NTP servers can synchronise networks to an atomic clock by using either the Global Positioning system (GPS) network or specialist radio transmissions (MTF in the UK).  It must be noted that Microsoft and others strongly recommend that external based timing should be used rather than Internet based, as these can’t be authenticated. Specialist NTP servers are available that can synchronise time on networks using either the MSF (or equivalent) or GPS time server signal.

GPS is an ideal time and frequency source because it can provide highly accurate time anywhere in the world using relatively cheap components.  Each GPS satellite transmits in two frequencies L2 for the military use and L1 for use by civilians transmitted at 1575 MHz, Low-cost GPS antennas and receivers are now widely available.

The radio signal transmitted by the satellite can pass through windows but can be blocked by buildings so the ideal location for a GPS antenna is on a rooftop with a good view of the sky. The more satellites it can receive from the better the signal. However, roof-mounted antennas can be prone to lighting strikes or other voltage surges so a suppressor is highly recommend being installed inline on the GPS cable.

The cable between the GPS antenna and receiver is also critical. The maximum distance that a cable can run is normally only 20-30 metres but a high quality coax cable combined with a GPS amplifier placed in-line to boost the gain of the antenna can allow in excess of 100 metre cable runs.

There are also a number of national time and frequency radio transmissions that can be used to synchronise a NTP server. In Britain the signal (called MSF) is broadcast by the National Physics Laboratory in Cumbria which serves as the United Kingdom’s national time reference, there are also similar systems in Colorado, US (WWVB) and in Frankfurt, Germany (DCF-77).

A radio based NTP server usually consists of a rack-mountable time server, and an antenna, consisting of a ferrite bar inside a plastic enclosure, which receives the radio time and frequency broadcast. It should always be mounted horizontally at a right angle toward the transmission for optimum signal strength. Data is sent in pulses, 60 a second. These signals provides UTC time to an accuracy of 100 microseconds, however, the radio signal has a finite range and is vulnerable to interference.

Both a GPS NTP server and MSF time server can provide an affordable and efficient way to accurately synchronise computer networks using NTP.

Jan 07

On occasion, we all need to know the time and we have a multitude of different devices to tell us it, from our mobile phones and wrist watches to the office wall clock or the chimes on the radio news. But how accurate are all these clocks and does it matter if they are all telling different times?

For our day-to-day business it probably doesn’t matter too much. If the office wall clock is a faster than your wrist-watch your boss probably won’t fire you for being a minute late but when it comes to solving criminal cases, timing is everything!

Take the case of Joan Beddeson, a 71-year-old found murdered in her home in Macclesfield. The chief suspect, her former lover who owed the victim over a quarter of a million pounds, 64-year-old John Crittenden, denied the killing, claiming he was at home in bed with his wife at the time of the murder.

However, police had discovered a credit card statement that showed that Crittenden had bought fuel in Worcester just hours before the killing and was then spotted on a camera 12 minutes later travelling up the motorway towards Macclesfield. Later that night the same car was recorded coming back down the motorway leaving Crittenden with a 45 minute window to commit his crime.

However, during his trial Crittenden, who admitted buying the fuel, denied travelling up the motorway and claimed the cameras were not accurate. However, the cameras were all synchronised using a NTP time server (Network Time Protocol) to Universal Coordinated Time (UTC) and was so accurate that Crittenden’s lawyers had no defence and he was convicted of the murder and sent to prison for life.

Time synchronisation is not just important in securing convictions it can also prove somebody’s innocence! When a woman was found murdered in Maryland US, the police thought they had found the perpetrators when the victim’s bank card was being used at an ATM. A check at a local CCTV camera provided footage of the three suspects using the machine and although the quality was quite grainy, once aired on America’s Most Wanted the three suspects were soon rounded up.

However, it emerged that the time recorded by the camera was three minutes off the time recorded by the ATM and the three people held were an entirely innocent family, not connected with he murder at all.

The investigators conceded that if the camera had been synchronised to a reliable source like the ATM machine, then the wrongful arrest would not have been made.

The cases above underline the importance of reliable time synchronisation. Even if a business is not involved in the detection of crime, failing to synchronise a computer network can leave a system vulnerable to fraud, data loss and even legal exposure and without it, organizations can be vulnerable and lose credibility.

Specialist NTP time servers (Network Time Protocol) are available and can synchronise a computer network and all its devices to an accurate clock source such as an atomic clock using either  the GPS or a specialist radio transmission, allowing networks to be accurately synchronized to Universal Coordinated Time (UTC).