Pendulums and Springs

Time: Clocks, Calendars and How We Measure It

Course 1 ยท Chapter 7 ยท Pendulums and springs

The verge-and-foliot clock of Time: Clocks, Calendars and How We Measure It 6 had a weakness at its heart: its swinging bar had no rhythm of its own. Push it harder and it swung faster, add friction and it slowed. What clockmakers wanted was an oscillator that insists on a particular beat whatever the drive does. They found two: a weight on a string, pulled back by gravity, and a wheel on a spring, pulled back by the spring. Both gave a leap in accuracy within about twenty years of each other, in the 1650s and 1670s.

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 formulas are standard small-swing results. Dates and credits in the history are the commonly given ones, but several are disputed or come from later retellings (the Galileo lamp story especially), and the accuracy figures for early clocks are rough estimates, so the text says "about".

Galileo's Lamp

The story goes that the young Galileo, sitting in the cathedral at Pisa around 1583, watched a lamp swing on its chain and timed the swings against his own pulse. He noticed that a wide swing and a narrow swing took about the same time. This tale was written down decades later by his pupil Vincenzo Viviani, so treat the details with care, but the observation itself is real: Galileo did study pendulums and found that the time of a swing depends on the length of the string and hardly at all on the size of the swing or the weight of the bob.

"Hardly at all" is the key phrase, and we will come back to it. First, the formula. For a small swing, the time of one full to-and-fro, the period T, is

T = 2π × √(L / g)

where L is the length of the pendulum in metres and g = 9.81 m/s² is the pull of gravity. Two things stand out. Weight is missing: a heavy bob and a light one swing together. And the length sits under a square root, so to double the period you must make the pendulum four times as long.

import math g = 9.81 def period(length): return 2 * math.pi * math.sqrt(length / g) def length_for(T): return g * (T / (2 * math.pi)) ** 2 print("1 m pendulum:", round(period(1.0), 4), "s") print("length for a 2 s period:", round(length_for(2.0), 4), "m") print("length for a 1 s period:", round(length_for(1.0), 4), "m") # 1 m pendulum: 2.0061 s # length for a 2 s period: 0.994 m # length for a 1 s period: 0.2485 m

A pendulum a little under a metre long (0.994 m) takes 2 seconds for a full swing, one second out and one second back. That is the "seconds pendulum", the length behind the long cases of grandfather clocks: the tall case is there to give room for a rod that long. Check it by hand: 2π = 6.283, 0.994 / 9.81 = 0.1013, whose square root is 0.3183, and 6.283 × 0.3183 = 2.00.

Huygens Builds the Pendulum Clock

Galileo apparently designed a pendulum clock late in life but never finished one. The Dutch scientist Christiaan Huygens did. He built the first working pendulum clock at the end of 1656, patented it in 1657, and the clockmaker Salomon Coster of The Hague began making them. In 1673 Huygens published the full theory in a book, Horologium Oscillatorium. The improvement was dramatic: where a good verge clock might be off by a quarter of an hour a day, Huygens's early pendulum clocks kept time to within about a minute a day, and refined ones reached roughly ten seconds a day. In terms of Time: Clocks, Calendars and How We Measure It 1, a clock many times better had arrived almost overnight.

The pendulum's rhythm belongs to the pendulum, not to the drive. The weight only needs to give the bob a small push each swing, to replace the energy lost to friction and air. A clock good to a minute a day was also worth having a minute hand for, and minute hands became common on clocks after this time.

The Circular Error

Remember "hardly at all"? A real pendulum does slow down slightly for bigger swings. For an amplitude of θ radians the period grows by roughly θ² / 16, as a fraction. Take a 5 degree swing: 5 degrees = 0.0873 radians, squared is 0.00762, divided by 16 is 0.000476, which is 0.0476 percent. A day has 86400 seconds, so that is 86400 × 0.000476 = 41 seconds a day of extra slowness compared with a vanishingly small swing.

import math for deg in (2, 5, 10, 30): theta = math.radians(deg) fraction = theta ** 2 / 16 print(deg, "deg:", round(fraction * 100, 4), "percent slower,", round(fraction * 86400, 1), "s a day") # 2 deg: 0.0076 percent slower, 6.6 s a day # 5 deg: 0.0476 percent slower, 41.1 s a day # 10 deg: 0.1904 percent slower, 164.5 s a day # 30 deg: 1.7135 percent slower, 1480.4 s a day

This circular error matters in two ways. First, a clock whose swing changes (because the drive weakens, or the oil thickens) changes its rate by this amount, so small swings are far better than large ones. Second, it shaped the design of the clocks. Huygens tried to cure the error by making the bob follow a special curve (a cycloid) using curved metal cheeks beside the suspension. It worked in theory, but the cheeks added friction, and later makers simply kept the arc small.

The Anchor Escapement

The verge needed a wide swing, far too wide for a good pendulum. What was needed was a new escapement that worked with a small arc. Around 1670 the anchor escapement appeared, usually credited to Robert Hooke and the clockmaker William Clement (the credit is debated). The wheel is now an upright escape wheel with pointed teeth, and the part that catches it is shaped like a ship's anchor, hence the name.

pendulum rod | +-----+-----+ anchor: two pallets, one each side | anchor | of the wheel +--+-----+--+ | | pallet pallet the escape wheel (teeth pointing \ / round) is pushed by the weight; ( escape wheel ) each swing frees one tooth, then the other pallet catches the next

One tooth is released at each swing, and as it slides past a pallet it gives the pendulum a tiny push. That push is exactly the energy the pendulum lost. The swing needs only about 4 to 6 degrees, so the circular error is small. In the 1710s and 1720s George Graham refined it into the dead-beat escapement, in which the wheel does not recoil: in the plain anchor, the wheel is pushed back a little at each swing, which is what makes a tick look like a shiver in the second hand. A long, slow pendulum then fitted in a tall case, which is how the "longcase" or grandfather clock took shape.

The Balance Spring

A pendulum needs gravity, and gravity needs a clock that stays upright and still. Carry a pendulum on a ship or in a pocket and it fails. The portable answer was a balance wheel, a small ring that rotates to and fro, but a plain wheel has no pull-back force, so it behaves like the foliot. Fitting a thin balance spring (the hairspring) gave it one. Huygens designed a spiral spring in 1675, and Robert Hooke claimed that he had invented the idea years earlier, which led to a famous dispute. Hooke's law (a spring pulls back in proportion to how far it is stretched) is the physics behind it.

The period of a balance wheel is T = 2π × √(I / k), where I is how hard the wheel is to turn (its moment of inertia) and k is the stiffness of the spring. There is no g in this formula, so the watch works in any position and on a moving ship. Its beat can also be fast: a common modern watch beats 18000 times an hour, which is 5 beats a second.

PendulumBalance wheel and spring
Restoring forcegravitythe spring
Period set bylength, and gwheel inertia and spring stiffness
Works when moved?no, must stay still and uprightyes, in any position
Sizeabout a metre for a 2 s periodmillimetres to a few centimetres
Main weaknesslength changes with temperaturespring stiffness and inertia change with temperature

Temperature Compensation

A new problem showed up as clocks improved: metal expands when warm. A steel rod grows by about 12 millionths of its length for each degree Celsius, and because T depends on the square root of the length, the period changes by half that fraction. A 10 degree summer warm-up therefore makes the clock slow by 0.5 × 12 × 10-6 × 10 = 0.00006, which is 86400 × 0.00006 = 5.2 seconds a day.

alpha = 12e-6 # steel, per degree C for warmer in (1, 10): fraction = 0.5 * alpha * warmer print(warmer, "C warmer:", round(fraction * 86400, 2), "s a day slow") # 1 C warmer: 0.52 s a day slow # 10 C warmer: 5.18 s a day slow

That is small in everyday terms but large for a precise clock. The fixes came in the 1720s. George Graham made a pendulum with a jar of mercury as the bob in 1721: when the rod grows downwards, the mercury expands upwards and raises the centre of the weight by the same amount. John Harrison made a gridiron pendulum around 1726, built from rods of two metals, steel and brass. Brass expands more than steel, and the rods are arranged so that the brass grows upward while the steel grows downward, and the two cancel. Springs and balance wheels have their own temperature problems, which come back in Time: Clocks, Calendars and How We Measure It 8 with the clocks made for ships.

Common mistakes
Thinking a heavier bob swings slower or faster (mass does not appear in the formula); doubling the length and expecting the period to double (it grows by 1.41, the square root of 2); assuming the pendulum is exactly independent of the swing size (it is only approximately, which is the circular error); and treating g as a constant everywhere (it varies slightly with place, so a pendulum clock moved far north or south needs re-adjusting).
Exercise 1

Write period(length) and length_for(T) using T = 2π√(L/g). Print the period for pendulums of 0.25 m, 1 m and 4 m, and the length that gives a 2 s and a 1 s period. Then find the period of the 0.994 m pendulum on the Moon (g = 1.62 m/s²), and how many seconds a day a 2 s pendulum loses if it is 1 mm too long.

๐Ÿ“„ View solution
Exercise 2

Simulate a 1 m pendulum by stepping the equation of motion (angular acceleration = -g/L × sin of the angle) in tiny time steps, and time a quarter swing to find the full period for amplitudes of 2, 5, 10 and 30 degrees. Compare each with the small-swing period and with the θ²/16 formula, and give the daily error in seconds.

๐Ÿ“„ View solution
Exercise 3

Using 12 millionths per degree for steel, find the daily error of a pendulum rod that is 1 and 10 degrees warmer or colder, and the temperature range that keeps the drift within 2 seconds a day. Then, for a balance wheel beating 18000 times an hour, find the period, choose a wheel inertia of 5 × 10-8 kg m², work out the spring stiffness, and show how a 1 percent change in either one changes the rate.

๐Ÿ“„ View solution

Quick Reference

  • Pendulum period: T = 2π√(L/g); independent of the bob's mass; 0.994 m gives 2 s, 1 m gives 2.006 s
  • Galileo: observed pendulum isochronism, around 1583 by tradition; Huygens: pendulum clock 1656, patent 1657, theory in 1673
  • Accuracy gain: from about 15 minutes a day to about a minute, later about 10 seconds
  • Circular error: period grows by about θ²/16; 5 degrees = 0.0476 percent = 41 s a day
  • Anchor escapement: about 1670, small arc of 4 to 6 degrees; dead-beat form by Graham
  • Balance wheel and spring: T = 2π√(I/k); no g, so it works while moving
  • Temperature: steel rod, 10 degrees warmer = 5.2 s a day slow; fixes: mercury pendulum (1721), gridiron pendulum (about 1726)
Coming next
Time: Clocks, Calendars and How We Measure It 8 takes these clocks to sea: why finding longitude needed an accurate timekeeper, the rival lunar-distance method, John Harrison's H1 to H4, and worked longitude calculations.