Hamster Wheel Physics

2D companion of the hamster habitat lab: a hamster running inside a toy wheel is a two-degree-of-freedom system, and its speed, rim angle and nightly energy cost follow from friction, mass and the allometric cost of transport.

Switch to 3D

Presets

Playback

Apparatus

Model checks

The science

What is modelled

The hamster and the wheel are two coupled bodies. The hamster pushes the rim with a foot force that tries to hold a chosen running speed; that force turns the wheel against its axle friction and, through the rider, lifts the hamster up the rim until gravity balances it. The energy bill of the running follows the allometric cost of transport.

Equations

  • Rider m R θ″ = F − m g sin θ; wheel I φ″ = −F R − b φ′ − τc sign(φ′) with I = 0.9 mw R².
  • Foot force F = clamp(Kp(ucmd − u)) with running speed u = R(θ′ − φ′).
  • Steady state u = (ucmd − τc/(R Kp))/(1 + b/(R² Kp)), F = (b u/R + τc)/R, sin θ = F/(m g).
  • Coast-down time (I/b) ln(1 + b ω0/τc); resting need RER = 70 m0.75 kcal/day; running power m Cmin u with Cmin = 10.7 m−0.316 J/(kg m).

Checks run in the page

  • Time-stepped steady speed and rim angle against the algebraic droop formula.
  • Coast-down of the empty wheel against the closed form.
  • Allometric exponents of resting need and cost of transport.
  • Steady-state force and torque balances.

Honest simplifications

Wheel, friction and controller constants are illustrative toy-wheel values, and the hamster is a point mass pushing with a proportional controller. The energy numbers use typical allometric rules for small mammals, not measurements of one animal; the pet-care game, needs and economy of the 3D lab are not part of this page.

What to try
  • Press Sprint, rides up the rim: at a higher speed the foot force and the rim angle both climb.
  • Press Stiff squeaky axle and see the speed droop grow and the energy per night stay almost unchanged.
  • Press Big wheel to see a larger radius change the rim angle for the same friction.
Running speed and rim angle against time
Speed reached against speed aimed for
Rim angle at steady state against speed aimed for
Energy per night against speed aimed for