Mousetrap car
A mousetrap car is a small car powered by nothing but the spring of an ordinary snap mousetrap. A long lever is fixed to the trap's snapper, and a string from the tip of the lever is wound around the drive axle. When the trap is released, the lever swings over and pulls the string off the axle, which turns the wheels. Every car gets the same small amount of energy from its spring, about one joule; what the builder decides is how that energy is handed to the wheels. In this simulation you choose the three things that matter most, the length of the lever, the diameter of the axle and the size of the drive wheels, then run the car and compare how quickly it starts and how far it goes.
How to use the simulation
- Set the design with the three sliders: Lever arm (5 to 40 cm), Axle diameter where the string is wound (3 to 20 mm), and Drive wheels (5 to 30 cm across). While the car waits at the start you can also drag it directly: drag the gold handle on the mousetrap forward or back along the frame to change the lever, and drag the gold handle on top of the rear wheel up or down to change the wheel size.
- Release the trap starts the run. The camera follows the car, the strip below the floor shows the whole track, and the readout gives the distance, time and speed, and how much of the string has come off the axle. Wind it up again puts the car back at the start with the same design.
- The panel shows the car's figures before you run it: its mass, the length of string on the axle and how many turns that makes, the pull distance (how far the car travels while the string pulls), the starting push the wheels give the floor, the most the tires can push before they spin, and the rolling resistance.
- The colored bar shows where the spring's energy goes as the car runs: into motion, into friction, into spinning tires, and into the lever hitting the trap's base at the end.
- Each finished run gets a color, a flag on the floor where it stopped, a curve on the distance–time chart and a row in the table, so you can compare up to six designs. Clear runs starts the comparison again.
- With a keyboard, Tab to the hidden sliders and buttons (arrow keys change a slider); the focused control is outlined on the canvas.
The physics: one spring, three gear ratios
The trap's spring gives a torque τ on the lever, largest when the trap is wound and smaller as it unwinds. Over the lever's half turn it stores E = ∫τ dφ, about 1.02 J here. A lever of length R pulls its tip about 2R in a straight line as it swings over, so it pulls 2R of string off the axle, with a tension of about T = τ / (2R/π). On an axle of radius r that tension makes a torque T·r, and on wheels of radius Rw the car pushes on the floor with
- F = τ · (π / 2R) · (r / Rw), and the car moves dpull = 2R · Rw / r while the string pulls.
The product F · dpull is always the spring's energy: the three choices only trade force for distance, as a gear ratio does. A short lever, a thick axle or small wheels give a big push over a short distance; the car leaps off the line, but the push may be more than the tires can hold. Tires grip with at most Fmax = μ·N, the friction coefficient times the weight on the drive wheels; above that they spin, and the energy goes into heating rubber and floor instead of moving the car. A long lever, a thin axle or large wheels give a gentle push over a long distance: the car starts slowly, the tires never slip, and the energy is spent steadily against friction. If the push is weaker than the rolling resistance, the car does not move at all.
Once the car is rolling, the distance it reaches depends on how little energy is lost. Rolling resistance and bearing friction act at the axle, so a larger wheel turns fewer times per meter and loses less to them: the resistance falls roughly as 1/Rw. Air drag matters only at the higher speeds of a short-lever car. A thin axle has its own cost: the string's pull presses the axle into its bearings, and their friction takes a share μb·rb/r of the torque, which grows as the winding radius r shrinks.
The model and its formulas
- Spring torque from wound (φ = 0) to released (φ = π): τ(φ) = 0.20 N·m + 0.25 N·m × (1 − φ/π), so 0.45 N·m when wound; the stored energy is π × 0.325 N·m = 1.02 J.
- String: s = (2R/π)·φ, so 2R in all, with tension T = τ·π/(2R). Axle torque Q = T·(r − μb·rb), with bearing friction μb = 0.25 on a bearing of radius rb = 1.6 mm.
- Masses: chassis and trap 90 g plus 100 g per meter of lever (a longer frame), a lever rod of 40 g per meter, front wheels 6 g, and drive wheels 20 g for a 12 cm pair, growing with their area. The drive wheels carry their own weight and 55% of the rest.
- While the string pulls and the tires grip: (M·Rw² + J)·ψ̈ = Q − Fr·Rw, where ψ is the axle angle, v = Rw·ψ̇, and J is the moment of inertia of the drive wheels plus that of the lever divided by the square of the axle's turns per lever turn, n = 2R/(πr).
- Tires: they spin when the needed ground force exceeds μs·N = 0.8·N, and while spinning push with μk·N = 0.6·N; the wheels and car then move separately (J·ψ̈ = Q − μk·N·Rw, M·v̇ = μk·N − Fr) until the tire speed falls back to the car's.
- Resistance on each axle: F = (b + μb·rb)·N / R, with a rolling-resistance length b = 0.3 mm, plus air drag ½·ρ·CdA·v² with CdA = 0.004 m².
- When the lever reaches the trap's base the string loop slips off the axle, the lever's own kinetic energy is lost in the impact, and the car coasts until friction stops it. Time steps are 1/600 s.
Results from the simulation
Each row is a full run from the simulation. The default car (15 cm lever, 6 mm axle, 12 cm wheels) is first; each group below changes one choice. "Push" is the push on the floor at the start, if the tires grip; "Grip" is the most the tires can push.
| Lever | Axle | Wheels | Mass | Pull distance | Push / grip | Time to 1 m | Top speed | Distance | Lost to tire spin |
|---|---|---|---|---|---|---|---|---|---|
| 15 cm | 6 mm | 12 cm | 137 g | 6.0 m | 190 / 662 mN | 1.32 s | 2.93 m/s | 23.4 m | 0 |
| 5 cm | 6 mm | 12 cm | 123 g | 2.0 m | 566 / 602 mN | 0.70 s | 3.43 m/s | 23.7 m | 0 |
| 25 cm | 6 mm | 12 cm | 151 g | 10.0 m | 115 / 722 mN | 1.91 s | 2.43 m/s | 23.0 m | 0 |
| 40 cm | 6 mm | 12 cm | 172 g | 16.0 m | 72 / 813 mN | 3.02 s | 1.65 m/s | 22.3 m | 0 |
| 15 cm | 3 mm | 12 cm | 137 g | 12.0 m | 80 / 662 mN | 2.28 s | 2.10 m/s | 22.1 m | 0 |
| 15 cm | 12 mm | 12 cm | 137 g | 3.0 m | 410 / 662 mN | 0.87 s | 3.31 m/s | 23.9 m | 0 |
| 15 cm | 20 mm | 12 cm | 137 g | 1.8 m | 701 / 662 mN | 0.88 s | 1.59 m/s | 6.6 m | 737 mJ (72%) |
| 15 cm | 6 mm | 6 cm | 122 g | 3.0 m | 397 / 544 mN | 0.85 s | 3.38 m/s | 18.9 m | 0 |
| 15 cm | 6 mm | 20 cm | 173 g | 10.0 m | 106 / 941 mN | 2.07 s | 2.31 m/s | 26.8 m | 0 |
| 15 cm | 6 mm | 30 cm | 242 g | 15.0 m | 65 / 1486 mN | 3.36 s | 1.65 m/s | 29.0 m | 0 |
| 8 cm | 8 mm | 8 cm | 116 g | 1.6 m | 762 / 532 mN | 2.02 s | 0.72 m/s | 1.2 m | 849 mJ (83%) |
| 30 cm | 4 mm | 20 cm | 194 g | 30.0 m | 33 / 1032 mN | 7.88 s | 0.55 m/s | 19.7 m | 0 |
| 40 cm | 3 mm | 30 cm | 277 g | 80.0 m | 11 / 1637 mN | — | 0 | 0 (does not move) | 0 |
The lever, axle and wheels change the start far more than the distance. Going from a 40 cm lever to a 5 cm one cuts the time to the first meter from 3.02 s to 0.70 s and doubles the top speed, but every one of those cars coasts to about 22 to 24 m, because none of them wastes energy: whatever the spring gives ends up as friction along the track. Wheel size is the choice that changes the distance most, from 18.9 m on 6 cm wheels to 29.0 m on 30 cm wheels, because bigger wheels lose less to rolling resistance and bearing friction per meter.
Pushing too hard is what really costs distance. A 20 mm axle asks for 701 mN when the tires can hold only 662 mN: the wheels spin for half a second, 72% of the spring's energy is lost to the spinning tires, and the car stops at 6.6 m. A small car with an 8 cm lever, an 8 mm axle and 8 cm wheels loses 83% and goes only 1.2 m. At the other extreme a 30 cm lever on a 4 mm axle with 20 cm wheels pushes with only 33 mN against 30 mN of resistance: the car crawls, takes 7.9 s to cover the first meter, and stops at 19.7 m with a quarter of the spring's energy still unused. Make the push smaller than the rolling resistance (40 cm lever, 3 mm axle, 30 cm wheels) and the car does not move.
Things to try
- Build a speed car: make the time to 1 m as short as you can. Shorten the lever and thicken the axle step by step and watch the starting push in the panel; the fastest start comes just before the push reaches the tire grip limit.
- Build a distance car. Is it better to use a long lever, a thin axle, or big wheels? Change one at a time and compare the runs in the table.
- Give the car a 20 mm axle and watch the tires spin at the start (red marks behind the wheel). Look at the energy bar: how much is left to move the car?
- Compare a 5 cm lever with a 40 cm lever on the distance–time chart. Where do the curves cross, and why do both end at about the same distance?
- Find the gentlest car that still moves: with large wheels and a thin axle, lengthen the lever until the car no longer starts. Compare the starting push with the rolling resistance.
- Make a design that stops with the lever still part-way over, and work out from the arm angle shown at the top right how much of the spring's energy it never used.
History
The spring-loaded snap trap that powers these cars was patented in the United States by William C. Hooker of Abingdon, Illinois, in 1894 (US patent 528,671), and in Britain James Henry Atkinson patented his "Little Nipper" in 1897. The familiar wooden trap with a wire snapper and a coiled torsion spring is still made in almost the same form.
Mousetrap cars became a common school physics and technology project in the United States during the 1980s and 1990s, with contests for the longest distance and the shortest time over a fixed course. Science Olympiad has run vehicle events powered by mousetrap springs, and teachers have collected design advice in books such as Alden J. Balmer's "Doc Fizzix Mousetrap Racers: The Complete Builder's Manual" (Chicago Review Press, 2008). The lessons in those guides are the ones this simulation shows: lengthen the lever and use large drive wheels for distance, shorten the lever for speed, keep the car light and the bearings smooth, and put rubber on the drive wheels so that they do not spin.
What the simulation simplifies
The spring torque falls in a straight line from 0.45 to 0.20 N·m; a real trap's spring varies from trap to trap and loses strength with use. The lever's string pull is taken as an even 2R/π per radian of swing, whereas the real pull depends on where the trap sits above the axle and is weaker near the start and end of the swing. The string is wound in a single layer, so the winding radius does not change as it unwinds, and it comes off the axle cleanly at the end instead of rewinding. The car runs straight on a flat, even floor; the masses, bearing friction, tire grip and rolling resistance are typical values for a classroom car, not measurements. The front wheels never slip, the car does not tip, and the drive wheels do not flex. The lever and the wheels are drawn to scale; the wound lever lies along the frame over the drive axle.