Feb 13

This article explains the origins and workings of atomic clocks and how they are used to synchronise computer networks all over the world using NTP servers.

In conventional electronic clocks time is kept by running an electrical current through an oscillator which produces a repetitive electrical signal this is then governed by a quartz crystal to keep precision. These crystal oscillators are far more accurate than mechanical clocks but will still drift, perhaps over a second a week.

For day-to-day use crystal oscillators are a fine way to keep track of time; in the everyday running of our lives, a second makes very little difference, however, as light or radio waves can travel 300,000 miles in a second, some high technologies such as satellite navigation or global communication, require far more accuracy to be possible.

Atomic clocks are a timekeeping device that uses the known atomic resonance frequency of an atom to keep time. The first truly accurate atomic clock was built in 1955 at the National Physical Laboratory in the UK and was based on the caesium atom -133 which oscillates at exactly 9,192,631,770 every second.

This oscillation is actually a repetitive signal from the microwave radiation emitted by electrons in an atom when they change energy levels. Much of an atomic clock is designed to create the correct state to cause and augment oscillations.
Although other atoms can be used, the oscillation (9,192,631,770 a second) of the caesium -133 atom is now accepted by the International System of Units as being the definition of one second.

Atomic clocks are generally very large and constitute many highly technical apparatus such as vacuums and require whole teams of scientists to maintain and monitor the clocks. Much of which goes into compensating for unwanted side-effects such as frequencies of other atoms in the clock and even gravitational dilation (where according to Einstein’s theory clocks at different heights run differently because of the differences in the gravitational field) This makes atomic clocks highly expensive.

Fortunately many large scale national physical laboratories transmit radio time signals from their atomic clocks which can be used to synchronise standard crystal oscillators too.

Atomic clocks are also the basis of GPS (Global Positioning System) as each satellite contains an atomic clock as accurate time is integral for positioning (a position anywhere is made up of a direction, a velocity and time).
GPS signals can also be used to capture a time signal. This is now the most common way computer networks retain accurate time which is also essential in many communications and applications.

Most computer networks use a NTP server (Network Time Protocol) to synchonise their devices to an atomic time signal received via the GPS network.

A universal timescale, UTC (Coordinated universal Time), has been developed based on the time told by atomic clocks, TAI (International Atomic Time). UTC accounts for the slowing of the Earths rotation by adding leap seconds to TAI so as to prevent the gradual drift of night into day (although that would take 40,000 years or so) and allows the whole world to communicate using the same timescale.

Feb 11

This article explores the concept of keeping time and how human measurement of time is at odds with that of a computer.

Time is certainly a concept most of us take for granted, it passes us by and we only notice it when we catch a glimpse of a grey hair in the mirror or arrive late for that important meeting. Yet keeping track of the time has occupied mankind for millennia.
From early sundials and water timers to modern digital watches and atomic clocks, humans have found more and more accurate and innovative ways of telling the time.

Computers also need to know the correct time. Accuracy is essential in keeping the Internet and computer networks communicating with each other but to a computer the passing of time is a simple equation based on the accumulation of discrete moments added to a base time, normally the number of seconds from that point in time.

Humans on the other hand have a variety of different notions about how to measure time. We separate it in to seconds, minutes, days, weeks, months, years, decades centuries and even millennia.

And this is wehere the problem lies as historically we have forced time to correspond with the orbit and rotation of the Earth, called solar time, which as it turns out is not that precise, well not enough for a computer anyway.

Computer networks use Network Time Protocol (NTP), the time synchronization standard used by on the Internet to keep at the same time. NTP lets machines query regional time servers that get the Universal Coordinated Time UTC from highly accurate reference clocks either from the Internet or through radio or GPS receiver.

However, UTC is based on atomic time and it differs from the Earth’s rotational time (solar system) because the day is slowly lengthening. The moon’s gravity lengthens the global turn by roughly 1.4 milliseconds — that is, thousandths of a second — per day per century. Since 1820, what we think of as a 24- hour period has gotten 2 milliseconds longer.

As a result, atomic time differs from solar time by one second about every 500 days. To adjust leap seconds are added every year or so. However as computers become more reliant on accuracy this leap second can cause problems as a second can be a vasrt amount in some time sensitive applications.

Some suggest to combat this problem leap seconds should be eliminated and the world should stick with just atomic time even though that would result in sun at midnight and dark during the day (albeit in 43,000 years time). Others argue that having a time scale based on the Earth’s rotation is primitive and not needed in the modern age, although many farmers and astronomers are keen to argue the opposite.

However, as atomic clocks and computers become increasingly more accurate and precise it seems that humans and our spinning world are not going to be able to keep up.

Feb 05

Atomic clocks are incredibly expensive and generally they are normally only to be found in large scale physics laboratories such as MIT (Massachusetts Institute of Technology), NIST (National Institute of Standards and Technology (Colorado) or the National Physical Laboratory in the UK.

Fortunately many national laboratories broadcast the UTC (Coordinated Universal Time) time from their atomic clocks via a radio broadcast.

In the UK the national timing broadcast is called MSF and is broadcast by NPL (National Physical Laboratory) in Cumbria. The MSF broadcast is used by throughout the UK and parts of Europe to synchronise consumer electronic products like wall clocks, clock radios, and wristwatches. In addition, MSF is used for high-level applications such as network time synchronisation utilising NTP.

The time code contains the year, day of year, hour, minute, second, and flags that indicate the status of Daylight Saving Time, leap years, and leap seconds.

MSF operates on a frequency of 60 kHz and carries a time and date code that can be received and decoded by a wide range of readily available radio-controlled clocks and provides a received accuracy should be less than 10 milliseconds (1/100 of a second).

While many NTP servers now use GPS to receive a timing reference, the advantage of using a radio transmission is that a signal can be received indoors (a GPS antenna needs a good view of the sky).

However, the radio signal has a finite range and can be blocked by skyscrapers, mountains and dense conurbations. 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. The antenna should always be mounted horizontally at a right angle toward the transmission for optimum signal strength.

Similar national timing transmissions are broadcast from other countries in the US the signal is referred to as WWVB and is broadcast by the NIST (National Institute for Standards and Technology) in Fort Collins, Colorado, other systems are broadcast in Frankfurt, Germany (DCF-77), Japan (JJY) and France (TDF).

Atomic clocks are incredibly expensive and generally they are normally only to be found in large scale physics laboratories such as MIT (Massachusetts Institute of Technology), NIST (National Institute of Standards and Technology (Colorado) or the National Physical Laboratory in the UK.

Fortunately many national laboratories broadcast the UTC (Coordinated Universal Time) time from their atomic clocks via a radio transmission.

In the US the national timing broadcast is called WWVB and is broadcast by NIST (National Institute fro Standards and Time) in Fort Collins, Colorado. The WWVB broadcast is used by millions of people throughout North America to synchronize consumer electronic products like wall clocks, clock radios, and wristwatches. In addition, WWVB is used for high-level applications such as network time synchronization utilizing NTP.

The time code contains the year, day of year, hour, minute, second, and flags that indicate the status of Daylight Saving Time, leap years, and leap seconds.

WWVB broadcasts on 2.5, 5, 10, 15, and 20 MHz and for most users in the United States, the received accuracy should be less than 10 milliseconds (1/100 of a second).

While many NTP servers now use GPS to receive a timing reference, the advantage of using a radio transmission is that a signal can be received indoors (a GPS antenna needs a good view of the sky).

However, the radio signal has a finite range and can be blocked by skyscrapers, mountains and dense conurbations. 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. The antenna should always be mounted horizontally at a right angle toward the transmission for optimum signal strength.

Similar national timing transmissions are broadcast from other countries in the UK the signal is referred to as MSF and is broadcast by the National Physical Laboratory in Cumbria, other systems are broadcast in Frankfurt, Germany (DCF-77), Japan (JJY) and France (TDF)

Jan 14

In an age of atomic clocks and the NTP server time keeping is now more accurate then ever with ever increasing precision having allowed many of the technologies and systems we now take for granted.

Whilst timekeeping has always been a preoccupation of mankind, it has only been in the last few decades that true accuracy has been possible thanks to the advent of the atomic clock.

Before atomic time, electrical oscillators like those found in the average digital watch were the most accurate measure of time and whilst electronic clocks like these are far more precise than their predecessors – the mechanical clocks, they can still drift by up to a second a week.

But why does time need to be so precise, after all, how important can a second be? In the day-to-day running of our lives a second isn’t that important and electronic clocks (and even mechanical ones) provide adequate timekeeping for our needs.

In our day-to-day lives a second makes little difference but in many modern applications a second can be an age.

Modern satellite navigation is one example. These devices can pinpoint a location anywhere on earth to within a few metres. Yet they can only do this because of the ultra-precise nature of the atomic clocks that control the system as the time signal sent from the navigation satellites travels at the speed of light which is nearly 300,000 km a second.

As light can travel such a vast distance in a second any atomic clock governing a satellite navigation system that was just one second out it would the positioning would be inaccurate by thousands of miles, rendering the positioning system useless.

There are many other technologies that require similar accuracy and also many of the ways we trade and communicate. Stocks and shares fluctuate up and down every second and global trade requires that everybody all over the world has to communicate using the same time.

Most computer networks are controlled by using a NTP server (Network Time Protocol). These devices allow computer networks to all use the same atomic clock based timescale UTC (coordinated universal time). By utilising UTC via a NTP server, computer networks can be synchronised to within a few milliseconds of each other.

Jan 09

Time synchronisation is often described as a ‘headache’ by network administrators. Keeping computers on a network all running the same time is increasingly important in modern network communications particularly if a network has to communicate with another network running independently.

For this reason UTC (Coordinated Universal Time) has been developed to ensure all networks are running the same accurate timescale. UTC is based on the time told by atomic clocks so it is highly precise, never losing even a second. Network time synchronisation is however, relatively straight forward thanks to the protocol NTP (Network Time Protocol).

UTC time sources are widely available with over a thousand online stratum 1 servers available on the Internet. The stratum level describes how far away a time server is to an atomic clock (an atomic clock that generates UTC is known as a stratum 0 device). Most time servers available on the Internet are in fact not stratum 1 devices but stratum in that they get their time from a device that in turn receives the UTC time signal.

For many applications this can be accurate enough but as these timing sources are on the Internet there is very little you can do to ensure both their accuracy and their precision. In fact even if an Internet source is highly accurate the distance away form it can cause delays int eh time signal.

Internet time sources are also unsecure as they are situated outside of the firewall forcing the network to be left open for the time requests. For this reason network administrators serious about time synchronisation opt to use their own external stratum 1 server.

These devices, often called a NTP server, receive a UTC time source from a trusted and secure source such as a GPS satellite then distribute it amongst the network. The NTP server is far more secure than an Internet based time source and are relatively inexpensive and highly accurate.

Dec 22

The global positioning system has been around since the 1980’s. It was designed and built by the United States Military who wanted an accurate positioning system for battlefield situations. However, following the accidental shooting down or a Korean airliner, the then US president (Ronald Reagan) agreed that the system should be allowed to be used by civilians as a way of preventing such a disaster from occurring again.

From then on the system has broadcast in to two frequencies L2 for the US Military and L1 for civilian use. The system works by using ultra precise atomic clocks that are on board each satellite. The GPS transmission is a timecode produced from this clock combined with information such as the position and velocity of the satellite. This information is then picked up by the satellite navigation receiver that calculates how long the message took to reach it and therefore how far from the satellite it is.

By using triangulation (use of three of these signals) the exact position on Earth of the GPS receiver can be ascertained. Because the speed of the transmissions, like all radio signals, travels at the speed of light it is highly important that the GPS clocks are ultra-precise. Just one second of inaccuracy is enough to make the navigational unit inaccurate to over 100,000 miles as light can travel such vast distances in such a short space of time.

Because GPS clocks have such a high level of accuracy it means they also have another use. The GPS signal, being available anywhere on the planet, is a highly efficient means of getting a time signal to synchronise a computer network too. A dedicated GPS time server will receive the GPS signal then convert the atomic time signal from it (known as GPS time) and convert it to UTC (Coordinated Universal Time) which is simple to do as both timescales are based on International Atomic Time (TAI) and the only difference being GPS time does not account for leap seconds meaning it is ‘exactly’ 15 seconds faster.

A GPS time server will most likely use the protocol NTP (Network Time Protocol) to distribute the time to a network. NTP is by far the most commonly used network time protocol and is installed in most dedicated time servers and a version is also included in most Windows and Linux operating systems.

Dec 16

When we take a glance at our watches or the office clock we often take for granted that the time we are given is correct. We may notice if our watches are ten minutes fast or slow but take little heed if they are a second or two out.

Yet for thousands of years mankind has strode to get ever increasingly accurate clocks the benefits of which are plentiful today in our age of satellite navigation, NTP servers, the Internet and global communications.

To understand how accurate time can be measured it is first important to understand the concept of time itself. Time as it has been measured on Earth for millennia is a different concept to time itself which as Einstein informed us was part of the fabric of the universe itself in what he described as a four dimensional space-time.

Yet we have historically measured time based not on the passing of time itself but the rotation of our planet in relation to the Sun and the Moon. A day is divided into 24 equal parts (hours) each of which is divided into 60 minutes and the minute is divided into 60 seconds.

However, it has now been realised that measuring time this way can not be considered accurate as the Earth’s rotation varies from day to day. All sorts of variable such as tidal forces, hurricanes, solar winds and even the amount of snow at the poles effects the speed of the Earth’s rotation. In fact when the dinosaurs first started roaming the Earth, the length of a day as we measure it now would have only been 22 hours.

We now base our timekeeping on the transition of atoms with a second based on 9,192,631,770 periods of the radiation emitted by the hyperfine transition of a unionized caesium atom in the ground state. Whilst this may sound complicated it really is just an atomic ‘tick’ that never alters and therefore can provide a highly accurate reference to base our time on.

Atomic clocks use this atomic resonance and can keep time that is so accurate a second isn’t lost in even a billion years. Modern technologies all take advantage of this precision enabling many of the communications and global trade we benefit from today with the utilisation of satellite navigation, NTP servers and air traffic control changing the way we live our lives.

Oct 17

A time server is an integral part of any network system. It ensures all machines on a network or keeping the exact same time, failure to do so could lead to all sorts of problems, particularly with time sensitive transactions.

Most computer networks are synchronised to UTC (coordinated Universal Time). UTC is a global time scale and used throughout the world. It is also highly precise as it is based on the time told by atomic clocks.

Atomic clocks are ideal sources of time as they do not drift whilst the standard electrical oscillators on our PC clocks can drift by a second every week. This drift can cause untold problems which is why most networks are synchronised to a time server that receives a time signal from an atomic clock.

Atomic clock time signals can be received from a myriad of sources. The Internet is an obvious choice but unless security and precision is not an issue then it is not recommended for any commercial networks as using an Internet times source can leave a system open to security threats.

For security and accuracy there are two options to synchronise to an atomic clock. One is to use a GPS time server that receives the time-code from the GPS system. The other method is to use a time server that can receive the long wave radio transmissions broadcast from several national physics laboratories.

Oct 14

When we take a glance at our watches or the office clock we often take for granted that the time we are given is correct. We may notice if our watches are ten minutes fast or slow but take little heed if they are a second or two out.

Yet for thousands of years mankind has strode to get ever increasingly accurate clocks the benefits of which are plentiful today in our age of satellite navigation, NTP servers, the Internet and global communications.

To understand how accurate time can be measured it is first important to understand the concept of time itself. Time as it has been measured on Earth for millennia is a different concept to time itself which as Einstein informed us was part of the fabric of the universe itself in what he described as a four dimensional space-time.

Yet we have historically measured time based not on the passing of time itself but the rotation of our planet in relation to the Sun and the Moon. A day is divided into 24 equal parts (hours) each of which is divided into 60 minutes and the minute is divided into 60 seconds.

However, it has now been realised that measuring time this way can not be considered accurate as the Earth’s rotation varies from day to day. All sorts of variable such as tidal forces, hurricanes, solar winds and even the amount of snow at the poles effects the speed of the Earth’s rotation. In fact when the dinosaurs first started roaming the Earth, the length of a day as we measure it now would have only been 22 hours.

We now base our timekeeping on the transition of atoms using atomic clocks with a second based on 9,192,631,770 periods of the radiation emitted by the hyperfine transition of a unionized caesium atom in the ground state. Whilst this may sound complicated it really is just an atomic ‘tick’ that never alters and therefore can provide a highly accurate reference to base our time on.

Atomic clocks use this atomic resonance and can keep time that is so accurate a second isn’t lost in even a billion years. Modern technologies all take advantage of this precision enabling many of the communications and global trade we benefit from today with the utilisation of satellite navigation, NTP servers and air traffic control changing the way we live our lives.

Oct 08

When we take a glance at our watches or the office clock we often take for granted that the time we are given is correct. We may notice if our watches are ten minutes fast or slow but take little heed if they are a second or two out.

Yet for thousands of years mankind has strode to get ever increasingly accurate clocks the benefits of which are plentiful today in our age of satellite navigation, NTP servers, the Internet and global communications.

To understand how accurate time can be measured it is first important to understand the concept of time itself. Time as it has been measured on Earth for millennia is a different concept to time itself which as Einstein informed us was part of the fabric of the universe itself in what he described as a four dimensional space-time.

Yet we have historically measured time based not on the passing of time itself but the rotation of our planet in relation to the Sun and the Moon. A day is divided into 24 equal parts (hours) each of which is divided into 60 minutes and the minute is divided into 60 seconds.

However, it has now been realised that measuring time this way can not be considered accurate as the Earth’s rotation varies from day to day. All sorts of variable such as tidal forces, hurricanes, solar winds and even the amount of snow at the poles effects the speed of the Earth’s rotation. In fact when the dinosaurs first started roaming the Earth, the length of a day as we measure it now would have only been 22 hours.

We now base our timekeeping on the transition of atoms with a second based on 9,192,631,770 periods of the radiation emitted by the hyperfine transition of a unionized caesium atom in the ground state. Whilst this may sound complicated it really is just an atomic ‘tick’ that never alters and therefore can provide a highly accurate reference to base our time on.

Atomic clocks use this atomic resonance and can keep time that is so accurate a second isn’t lost in even a billion years. Modern technologies all take advantage of this precision enabling many of the communications and global trade we benefit from today with the utilisation of satellite navigation, NTP servers and air traffic control changing the way we live our lives.