This week I was in Rotterdam for a RIPE meeting.
On Friday morning I gave a lightning talk called where does my
computer get the time from?

The RIPE meeting website has a copy of my slides and a video of the
talk; this is a blogified low-res version of the slides with a rough
and inexact transcript.

I wrote a follow-up note, “Where does ‘where does my computer get
the time from?’ come from?”
about some things I left
out of the talk.


Where does my computer get the time from?

Where does my computer get the time from?


from NTP

from NTP – here’s a picture of an NTP packet


David Mills surrounded by clocks

and here’s a picture of David Mills who invented NTP


Where does my computer get the time from? NTP

simple question, easy answer, end of talk? No!

let’s peel off some layers…


Where does NTP get the time from? NTP

stratum 3 NTP servers get the time from stratum 2 NTP servers,

stratum 2 NTP servers get the time from stratum 1 NTP servers,

stratum 1 NTP servers get the time from some reference clock

maybe a radio signal such as MSF in Britain or DCF77 in Germany

but in most cases the reference clock is probably a GPS receiver


Where does NTP get the time from? GPS

here’s a GPS timing receiver


Where does NTP get the time from? GPS

and here’s a GPS satellite


Where does GPS get the time from?

where does GPS get the time from?


Schriever space force base entrance sign

Schriever Space Force Base in Colorado

they look after a lot of different top secret satellites and other
stuff at Schriever, as you can see from all the mission logos


Schriever space force base aerial photo

so you can’t get close enough to take a nice photo


Where does Schriever SFB get the time from?

Where does Schriever SFB get the time from?


racks of time-keeping equipment with smart blue blanking panels

the US Naval Observatory Alternate Master Clock
is on site at Schriever in Colorado


the USNO main building

the US Naval Observatory Alternate Master Clock
gets the time from the US Naval Observatory in Washington DC


where does the USNO get the time from?

there are three answers


USNO atomic clocks

the first answer is atomic clocks, lots of atomic clocks

in the background there are dozens of rack mounted caesium beam clocks

in the foreground the black boxes house hydrogen masers


more USNO atomic clocks

these shiny cylinders are rubidium fountains


aerial photograph of the USNO campus, which is a perfect circle

the USNO has so many atomic clocks they have entire buildings dedicated to them

When I was preparing this talk I noticed on Apple Maps that there’s a
huge building site in the middle of the USNO campus. It turns out they
are building a fancy new clock house; the main limit on the accuracy
of their clocks is environmental stability: temperature, humidity,
etc. so the new building will have serious air handling.


where does the USNO get the time from?

the second answer is that UTC is a horrible compromise between time
from atomic clocks and time from earth rotation


the Paris observatory

so the USNO gets the time from the international earth rotation
service, which is based at the Paris Observatory

twice a year the IERS sends out
Bulletin C,
which says whether or not there will be a leap second in six months
time; leap seconds are added (or maybe removed) from UTC to keep it in
sync with earth rotation


where does the IERS get the time from?

the IERS is spread across several organizations which contribute
to its scientific work

for example, you can subscribe to IERS Bulletin A,
which is a weekly notice with precise details of the earth orientation parameters


the USNO main building

Bulletin A is sent out by the US Naval observatory

they need to know the exact orientation of the earth under the GPS
satellites, so they can provide precise positioning


where does the USNO get the time from?

the third answer is, how does the USNO know its atomic clocks are working well?


the pavillion de breteuil

that information comes from the international bureau of weights and
measures in Paris, who maintain the global standard UTC


where does the BIPM get the time from?

how does the BIPM determine what UTC is?


Circular T

the BIPM collects time measurements from national timing laboratories
around the world, and uses those measurements to determine official
UTC

periodically they send out Circular T
which has information about the discrepencies between official UTC and
UTC from the various national time labs


diagram of the new SI

the BIPM is responsible for maintaining the international system of
units, which is defined by the general conference on weights and
measures

the CGPM is an international treaty organization established by the
metre convention of 1875


diagram of the SI highlighting the second

UTC is an implementation of the SI unit of time, based on quantum
measurements of caesium atoms


where did the CGPM get the time from?

where did this magic number, about 9.2 GHz, come from?


Essen and Parry standing next to their atomic clock

in 1955, Louis Essen (on the right) and Jack Parry (left) built
the first caesium atomic clock

the current definition of the second came from the calibration of this clock


where did Essen and Parry get the time from?

before atomic clocks, the definition of the second was based on
astronomy, so Essen and Parry needed help from astronomers to find out
how fast their clock ticks according to the existing standard of time


the USNO main building

they got help from the astronomers at the US Naval Observatory


Markowitz and Essen

the way it worked was William Markowitz measured time by looking at
the skies, and Louis Essen measured time by looking at his atomic
clock, and to correlate their measurements, they both listened to the
WWV radio time signal broadcast by the national bureau of standards in
Washington DC

this project took 3 years, 1955 – 1958


where did Markowitz get the time from?

Markowitz was measuring the “ephemeris second”

in 1952 the international astronomical union changed the definition of
time so that instead of being based on the rotation of the earth about
its axis, it was based on the orbit of the earth around the sun

in the 1930s they had discovered that the earth’s rotation is not
perfectly even: it slows down and speeds up slightly

clocks were now more precise than the rotation of the earth, so the
ephemeris second was a new more precise standard of time


where did the IAU get the time from?

the ephemeris second is based on an astronomical ephemeris, which is a
mathematical model of the solar system


tables of the motion of the earth on its axis and around the sun

the standard ephemeris was produced by Simon Newcomb in the late 1800s

he collected a vast amount of historical astronomical data to create
his mathematical model

it remained the standard until the mid 1980s


Simon Newcomb

here’s a picture of Simon Newcomb

he is a fine-looking Victorian gentleman

where did he work?


the USNO main building

at the US naval observatory!

(and the US nautical almanac office)


the Royal Greenwich Observatory

I have now run out of layers: before this point, clocks were set more
straightforwardly by watching stars cross the sky

so, to summarise my talk, where does my computer get the time from?

it does not get it from the Royal Greenwich Observatory!

Read More