3D Mechanical Clock: Pendulum, Escapement and Gear Train

A weight-driven regulator clock: a pendulum sets the beat, a deadbeat escapement releases the wheel, and a gear train of real tooth counts turns the hands.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

A weight-driven regulator clock. A pendulum sets the time: every time it swings through the middle, a Graham deadbeat escapement lets the 30-tooth escape wheel advance by half a tooth and gives the pendulum a small push to replace the energy lost to friction and air. The escape wheel drives a gear train of real tooth counts to the minute and hour hands. Change the length, gravity, temperature, damping and drive and watch the beat, the rate and the dial time respond.

Equations

  • Pendulum with damping: θ'' = −(g/L) sin θ − (ω0/Q) θ', with ω0 = √(g/L), integrated by RK4 with 4 ms steps. L is the effective length from the pivot to the centre of oscillation, which is treated as the bob centre.
  • Exact period of a large swing: T = 2π√(L/g) / AGM(1, cos(θ0/2)), close to T0(1 + θ0²/16 + 11θ0&sup4;/3072). The extra θ0²/16 is the circular error: a larger swing is slower.
  • Rate: the clock counts one beat per half period, so the rate is (2/T − 1) × 86 400 seconds per day. A seconds pendulum (T = 2 s) needs L = g/π² = 0.994 m for small swings.
  • Temperature: L(T) = L0(1 + α(T − 20 °C)), so the rate changes by about −½αΔT × 86 400 s/day. For a brass rod, 10 K is about 8 s/day, which is why precision clocks use Invar or compensated pendulums.
  • Escapement energy: with a quality factor Q, the pendulum loses πE/Q per beat. In steady state the impulse D equals this loss, so E = D Q/π and the amplitude follows from E = ½ M L² ω0² θmax². If the swing falls below the lift of the escapement (0.5° here) the wheel stays locked and the clock stops.
  • Gear train: the escape arbor carries a pinion of 8 leaves driven by a 64-tooth third wheel; the third arbor has an 8-leaf pinion driven by the 60-tooth centre wheel, so the centre arbor (minute hand) turns (8/64)(8/60) = 1/60 as fast as the escape wheel, one turn per 3600 beats. The cannon pinion (10) drives the minute wheel (30), whose pinion (8) drives the hour wheel (32): (10/30)(8/32) = 1/12. Two meshing gears of module m have centre distance m(z1 + z2)/2; the model uses module 0.2 cm and the page measures these distances on the Blender arbors.

Checks run in the page

  • The RK4 undamped period for 5, 30 and 90 degrees is compared with the exact elliptic-integral (AGM) period.
  • Hand positions are computed from the tooth counts for beat counts from 0 s to 24 h and compared with hh:mm:ss, and the centre distances of the four gear meshes are measured on the Blender model.
  • A driven damped pendulum is run until steady and its amplitude is compared with the energy-balance prediction.

Honest simplifications

  • The pendulum is a simple pendulum with an effective length; a real rod and lens-shaped bob form a compound pendulum with a slightly different centre of oscillation. The escapement is an impulse at the zero crossing of the swing, not a full model of pallet geometry, friction and drop. Gear teeth are straight-sided, not true involutes, and tooth friction is ignored. The weight drop assumes an ideal train.
  • Air damping is linear in speed (a single Q); real clocks have also amplitude-dependent losses and barometric and magnetic effects. Gravity and temperature sliders go beyond real clocks on purpose.

What to try

  • Choose Hot room, brass rod and watch the clock lose seconds per day; switch the rod to Invar and the effect nearly vanishes. Choose Big swing and watch the circular error slow the clock by minutes per day. Use On the Moon, then Moon, rod shortened to 2 s. Choose Weak drive to see the escapement disengage and the hands stop. Remove the dial from the movement view to follow the wheels.
Loading model...
Loading Blender model...
Clock rate vs swing amplitude (circular error)
Clock rate vs room temperature for four rod materials
Pendulum angle over the last 20 seconds
Made with 🟠 Blender · Three.js