Quartz and Atoms

Time: Clocks, Calendars and How We Measure It

Course 1 ยท Chapter 10 ยท Quartz, atoms and the second

A cheap digital watch costs less than a good lunch and keeps better time than the finest brass pendulum clock of the 1800s. How did that happen? The pendulum and the balance spring of Time: Clocks, Calendars and How We Measure It 7 are both swinging objects chosen because they swing at a steady rate. This chapter follows the same idea down to its smallest and steadiest versions: a sliver of crystal that vibrates tens of thousands of times a second, then the atom itself, which vibrates billions of times a second and, unlike any man-made object, is identical wherever you find it. By the end, the second is no longer a fraction of a day but a number of atomic vibrations, and the same clocks that define it quietly run the satellite navigation in your phone.

What was run, and what to trust
Every Python snippet in this chapter and in the three exercise solutions was executed, and the output in the comments is what Python printed. The temperature curve for a watch crystal (about 0.034 parts per million per square degree) is a typical textbook value; real crystals vary a little from one batch to the next. Clock accuracy figures for atomic and optical clocks are the commonly quoted ones and keep improving, so treat them as "about".

A Crystal That Squeezes Out Electricity

In 1880 the French brothers Pierre and Jacques Curie found that certain crystals produce a tiny electric voltage when they are squeezed, and that the effect also works in reverse: apply a voltage and the crystal changes shape very slightly. This is called piezoelectricity (from the Greek for "press"). Quartz, the same mineral as ordinary sand grains but grown as a clean, pure crystal, shows it strongly.

That reversibility is the trick. Cut a quartz crystal into a small tuning-fork or bar of the right size and it rings at one very exact frequency when disturbed, like a struck bell. Its electrical signal makes it flex, its flexing makes electricity, and a simple circuit can feed that electricity back so that the crystal keeps vibrating without ever stopping. In 1927 Warren Marrison at Bell Labs in the United States used this to build the first quartz clock. Early ones filled a cabinet and needed careful temperature control, but after a few decades the electronics shrank and a quartz clock became affordable. The first quartz wristwatch to go on sale was the Seiko Quartz Astron, in December 1969.

Inside a Quartz Watch

A modern watch has four working parts: a battery, a crystal, a small chip, and a display (or a tiny motor that turns the hands). The crystal almost always vibrates at 32,768 hertz, which is 32,768 vibrations each second. That odd-looking number is chosen because it equals 215, and a chip can halve a frequency very cheaply with a circuit called a divider (a flip-flop): feed in 32,768 pulses a second and one stage gives out 16,384. Fifteen halving stages in a row turn 32,768 into exactly 1 pulse a second, and that pulse advances the seconds hand or the digits.

# the divider chain inside a watch f = 32768 stages = 0 while f > 1: f = f // 2 # one flip-flop halves the frequency stages = stages + 1 print(stages, "halvings; vibrations per day:", 32768 * 86400) # 15 halvings; vibrations per day: 2831155200

Nearly 2.83 billion vibrations a day, each counted by the chip without a single miss. The watch is only as good as the steadiness of that rate, which brings back the idea from Time: Clocks, Calendars and How We Measure It 1 that stability matters most.

watch crystal 32768 Hz | divide by 2, fifteen times v 1 pulse a second -----> motor / display ^ battery

How Good Is Quartz?

Clock errors are often quoted in parts per million (ppm): 1 ppm means one second gained or lost in every million seconds. A day has 86,400 seconds, so a clock that is 20 ppm fast gains 20 × 0.0864 = 1.73 seconds a day, or about 52 seconds in a 30-day month. A good watch crystal is within about 5 ppm, a little over 0.4 seconds a day, or about 13 seconds a month, which is why a typical quartz watch needs resetting once in a while but not every day.

The remaining error is mostly temperature. A tuning-fork crystal runs fastest at about 25 degrees Celsius and slows as it gets either colder or hotter, by roughly 0.034 ppm times the square of the distance in degrees from 25. At 10 degrees that is 0.034 × 152 = 7.65 ppm, or 0.66 seconds a day slow. Wearing a watch on the wrist keeps it near body temperature, which is why a watch on your arm often keeps better time than one on a cold shelf. Better quartz clocks put the crystal in a small heated oven, called an OCXO, so it stays at its best temperature all year, and with that they reach about a few parts in a billion. The principle is the same as the temperature compensation of Time: Clocks, Calendars and How We Measure It 7, now done by electronics instead of metal strips.

for temp in (25, 10, 0, 40): ppm = 0.034 * (temp - 25) ** 2 print(temp, "C: slow by", round(ppm, 2), "ppm =", round(ppm * 0.0864, 2), "s a day") # 25 C: slow by 0.0 ppm = 0.0 s a day # 10 C: slow by 7.65 ppm = 0.66 s a day # 0 C: slow by 21.25 ppm = 1.84 s a day # 40 C: slow by 7.65 ppm = 0.66 s a day

From Crystal to Atom

Quartz crystals are all slightly different: no two are cut exactly alike, they age, and each needs its own calibration. Scientists wanted a reference that is the same everywhere in the universe. Atoms fit exactly. Every caesium-133 atom is identical to every other, so the frequency of radiation it absorbs depends only on the atom and not on how it was made.

Inside an atom the energy of an electron can only take certain fixed values. Caesium-133 has two very close energy levels in its lowest state, and it absorbs microwave radiation of one exact frequency in jumping between them. To use that as a clock, a beam of caesium atoms passes through a region filled with microwaves from a quartz-controlled source. If the microwave frequency is exactly right, the most atoms switch levels, and a detector counts them. If the frequency drifts a little, fewer atoms flip, and a feedback circuit nudges the microwave source back. The quartz oscillator provides the smooth ticking; the atoms act as the referee that keeps it honest.

quartz oscillator --> microwave source --> caesium atoms --> detector ^ | +----------- feedback: keep the number flipping ------+ output: count the microwave cycles, and every 9,192,631,770 is one second

The first working caesium clock was built by Louis Essen and Jack Parry at the National Physical Laboratory in England in 1955. Its steadiness was around one part in a billion, already far better than quartz and far better than the spinning Earth itself, which is not perfectly steady. Time-keeping scientists soon decided that the second should no longer be defined from the day or the year at all.

The Second, Redefined in 1967

In 1967 the General Conference on Weights and Measures defined the SI second as 9,192,631,770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium-133 atom. The number was chosen to match the length of the old second, as measured against the astronomical year, as closely as the best measurements of the day allowed, so that clocks would not suddenly disagree with the older timescale. Since then the second has been an atomic count rather than a fraction of the day.

caesium = 9192631770 print("one caesium period:", 1 / caesium, "s") print("periods per watch-crystal vibration:", round(caesium / 32768, 1)) # one caesium period: 1.0878277570776665e-10 s # periods per watch-crystal vibration: 280536.9

One period lasts about 0.109 nanoseconds, so 9.19 of them fit in a nanosecond. And in the time the watch crystal vibrates once, the caesium atom has gone through about 280,537 periods. A modern caesium fountain clock tosses cooled atoms upward, letting them rise and fall through the microwaves so that they spend longer being measured. Good fountains are accurate to roughly one part in 1015, which means about one second in 30 million years.

Watch quartzOven quartzCaesium fountainOptical clock
Ticks at32,768 Hzmillions of Hz9.19 billion Hzhundreds of trillions Hz
Typical errorabout 5 ppmfew parts in 109about 1 in 1015about 1 in 1018
One second out afterabout 2 daysabout 10 yearsabout 30 million yearsabout 30 billion years
Found inwatches, microwavesradio and network gearnational laboratoriesresearch laboratories

Optical Clocks and the Next Definition

If a clock ticks faster, it can slice time more finely, and a given fractional error makes it harder to see any drift. Atoms also have transitions at the frequency of visible light, hundreds of trillions of times a second, instead of microwaves. An optical clock locks a laser to one of these, in a single trapped ion (aluminium or ytterbium, for example) or in thousands of strontium atoms held in a lattice of laser light. A strontium clock ticks at about 4.3 × 1014 hertz, about 46,800 times faster than caesium (4.3 × 1014 divided by 9.19 × 109). Over the last two decades the best optical clocks have reached uncertainties near 1 part in 1018: the same clock would be a second out only after about 30 billion years, more than twice the age of the universe.

year = 365.25 * 86400 for e in (1e-9, 1e-15, 1e-18): print(e, ": one second out after", f"{(1 / e) / year:.3g}", "years") # 1e-09 : one second out after 31.7 years # 1e-15 : one second out after 3.17e+07 years # 1e-18 : one second out after 3.17e+10 years

That is why metrologists, the people who look after units, expect to redefine the second again, probably by choosing an optical transition, in the next decade or so. The 1967 definition has served for more than half a century, but a better clock makes a better definition. Optical clocks are so sensitive that two of them placed at slightly different heights disagree slightly, because time itself runs a little differently at different heights. The reason for that is the subject of Time: Clocks, Calendars and How We Measure It 12.

GPS: A Time Service in the Sky

The Global Positioning System is a navigation system built on time. About thirty satellites circle the Earth at about 20,200 km, each carrying several atomic clocks (rubidium and caesium), and each broadcasting a message that says, roughly, "I am satellite number N, my position is here, and this is the exact time on my clock when this signal left." Your receiver compares that time with its own clock when the signal arrives. The delay is tiny: for a satellite straight overhead, 20,200 km ÷ 299,792 km a second = 0.067 seconds.

Radio waves travel at the speed of light, 299,792,458 metres a second, so a time error is a distance error. One microsecond (a millionth of a second) is 300 metres, and one nanosecond is 30 centimetres. This is the same lesson as the longitude clock of Time: Clocks, Calendars and How We Measure It 8, scaled up a million times: a good time measurement gives a position. The receiver in a phone has only a cheap quartz clock, however, which is wrong by far too much to use directly. So GPS adds a satellite. With three satellites the receiver could in principle fix its three position numbers (north, east, height). With a fourth, it can also solve for its own clock error, in effect borrowing the satellites' atomic time. A phone that has locked on to GPS therefore knows the time to within tens of billionths of a second, and many mobile networks, power grids and banking systems use GPS as their time source for exactly that reason.

c = 299792458 for label, t in (("1 microsecond", 1e-6), ("1 nanosecond", 1e-9)): print(label, "=", round(c * t, 3), "m") print("overhead satellite delay:", round(20200e3 / c, 4), "s") # 1 microsecond = 299.792 m # 1 nanosecond = 0.3 m # overhead satellite delay: 0.0674 s
Common mistakes
Calling a quartz watch "atomic" because the word is on the dial (only radio-controlled watches that set themselves from a time signal are linked to atomic clocks); thinking the second is defined as a fraction of the day or year (it has been an atomic count since 1967); confusing how fast a clock ticks with how accurate it is (an optical clock ticks faster than caesium and is also steadier, but a fast tick alone proves nothing); and forgetting that a one-microsecond timing error is about 300 metres of distance.
Exercise 1

Write a short program that counts how many times 32,768 must be halved to reach 1, and the number of crystal vibrations in a day. Work out the daily and monthly drift of a clock that is 5 ppm and one that is 20 ppm, and the ppm that equals one second a month. Finally, use the 0.034 ppm per square degree rule to find the daily drift of a watch crystal at 25, 10, 0, 35 and 40 degrees Celsius.

๐Ÿ“„ View solution
Exercise 2

Compute the length of one caesium period and how many fit in a nanosecond, and how many fit into one watch-crystal vibration. Then, for fractional errors of 1e-5, 1e-9, 1e-15 and 1e-18, work out how many years each clock takes to drift by one second, and how many times faster an optical clock at 4.3e14 hertz ticks than caesium.

๐Ÿ“„ View solution
Exercise 3

Find how far light travels in 1 microsecond, 1 nanosecond and 1 millisecond, and the signal delay from a satellite directly overhead at 20,200 km. Then build a toy one-dimensional GPS: two satellites at 0 and 40,000 km on a line, a receiver truly 12,000 km from the first whose clock is 3 ms fast. Work out the times it measures, the naive distance, and then solve for the clock error and the true position.

๐Ÿ“„ View solution

Quick Reference

  • Piezoelectricity: discovered by the Curie brothers in 1880; first quartz clock by Marrison, 1927; first quartz wristwatch on sale, Seiko Astron, December 1969
  • Watch crystal: 32,768 Hz = 215, fifteen halvings to 1 pulse a second; about 2.83 billion vibrations a day
  • Parts per million: 1 ppm = 0.0864 seconds a day; 20 ppm = 1.73 s a day; typical crystal slows by 0.034 ppm times (temperature minus 25)2
  • First caesium clock: Essen and Parry, NPL, 1955
  • The SI second (1967): 9,192,631,770 periods of the caesium-133 hyperfine transition
  • Accuracy ladder: watch quartz about 5 ppm; caesium fountain about 1 in 1015; optical clocks about 1 in 1018 (a second out in about 30 billion years)
  • GPS: about 20,200 km up, atomic clocks on every satellite; 1 microsecond = 300 m, 1 nanosecond = 30 cm; four satellites give three positions plus the receiver's clock error
Coming next
Time: Clocks, Calendars and How We Measure It 11 turns to computers: how a machine counts seconds from 1970, why 2038 matters, what a leap second is and why UTC has them, and how a network keeps thousands of clocks in step.