kapy academy

Spring motors and flywheels

19 min readUpdated Nov 2026

A 4 g PLA spiral, like the one in TPU and lattice springs, stores about 0.14 J, and that moves a 120 g car about a meter. A Ø20 × 6 mm steel disc (15 g) spinning at 15,000 rpm stores about 0.9 J, nearly seven times as much, but loses it within tens of seconds. A spring and a flywheel are opposites: the spring holds its energy at rest, for hours; the flywheel holds it only while it turns.

How much energy fits in a spring

A spring's energy is the area under its force-travel curve (torque-angle, for a spiral):

  • Linear spring: U = ½·k·x²
  • Spiral or torsion spring: U = ½·k·θ² = ½·M_max·θ_max

For the spiral in TPU and lattice springs (t = 0.9 mm, b = 6 mm, L = 600 mm, PLA at ε = 1 % with a design E of 2.5 GPa), k ≈ 1.5 N·mm/rad and θ_max ≈ 13.3 rad (2.1 turns). So U ≈ ½ × 20 N·mm × 13.3 ≈ 135 N·mm = 0.14 J. The torque and the turns are worked out there.

What really sets the limit is the material. A strip in bending with a peak strain ε stores E·ε²/6 per unit volume. It is a 6 and not a 2 because in bending only the surfaces reach ε, and the strain falls to zero at the neutral axis. That figure does not depend on shape: the material and its allowable strain decide how much fits in each cm³; size decides the total.

Elastic energy by material (bending, rectangular section)
Material E Limit used Per volume Per gram
PLA 2.5 GPa ε 1 % 0.042 J/cm³ 0.034 J/g
PETG 1.6 GPa ε 2 % 0.11 J/cm³ 0.084 J/g
Spring steel 200 GPa σ ≈ 1.5 GPa (estimate) ≈ 1.9 J/cm³ ≈ 0.24 J/g
Competition model-aircraft rubber — in tension, highly stretched — of the order of 10 J/g (hobbyist measurements)

Per gram, steel stores about 7 times as much as PLA; per cm³, about 45 times. The rubber figure is for the best competition rubber, measured by hobbyists rather than taken from a datasheet; an office rubber band falls well short of it. Even so, per gram rubber stores tens of times more than steel. The price: it heats up, fatigues and has a non-linear curve. Rubber motors are covered in Elastic band channels.

PETG stores about 2.5 times as much as PLA per volume: its modulus is a third lower, but it takes twice the strain, and energy grows with E·ε². However, any plastic left wound relaxes. At room temperature, under a light sustained load, PLA creeps about as much as PETG; PETG only wins if the part gets warm (Creep and fatigue). That is why you wind a printed spring motor right before you use it, and never store it wound. TPU is no good as an energy store: it returns noticeably less energy than it takes, because each cycle turns part of it into heat, and it relaxes under sustained load.

For a toy or a demonstration, a printed spiral is enough. If it has to run for several minutes or move more than a few grams, buy the spring (a steel clock spring) or a pull-back motor, and print everything else (Using bought steel springs). A coil spring's energy is worked out the same way, with its k from Coil springs.

The spring motor: spring, ratchet, train and governor

A spring motor has four parts, and each one solves a problem:

  1. The spring, inside a drum called the barrel. The inner end hooks onto the arbor and the outer end onto the drum.
  2. The ratchet and pawl, which keep the spring wound while you turn the key. The pawl must seat at the root of the locking face, not near the tip (Ratchet and pawl).
  3. A step-up train, which turns a few high-torque turns into many low-torque ones.
  4. A governor, which sets how fast it unwinds.
A clockwork motor in 3D and from above: the key turns half a turn and the click jumps tooth after tooth over the ratchet, the barrel turns slowly and two 48/16 stages multiply its turn by 9 up to the fan fly
The energy path in a spring motor: the spring in its barrel, the ratchet that holds the wind, two 3:1 step-up stages and the fan fly on the fast shaft. Each stage divides the torque by 3 and multiplies it by its efficiency. Winding half a turn of the key, the click jumps ten teeth; let go, the spring pulls the key back and the click stops it. The barrel keeps turning slowly the whole time: the fan, nine times faster, sets that speed. The spiral sits inside the barrel and is not drawn; the ratchet is the one from the Ratchet and pawl example at 0.7 scale.

The step-up train. With a ratio i (output turns per turn of the spring), the output torque is T_out = T_spring·η/i and the output turns i times faster. The other way round: a friction torque at the output reaches the spring multiplied by i/η. A printed reduction stage runs at 0.90 to 0.95 efficiency (Compound gear trains). When stepping up, the big wheel drives the pinion. Friction in the approach phase works against the rotation, and a pinion with few teeth comes out undercut and meshes worse. Allow about 0.8 per stage (an estimate) and do not go below 10 teeth on the pinion.

The torque curve. A linear spiral starts at full torque and ends at zero. Against constant friction, the motor stops as soon as the torque drops below that value, and the last part of the wind goes unused. A steel spring is fitted with preload (a few turns of initial wind) and always works on the upper part of its curve. A printed spring relaxes if you preload it, so accept the loss or choose a ratio that leaves starting force to spare.

Winding without turning the train. The key goes on the barrel arbor and the drum drives the train. On a pull-back car, which you wind by pulling it backwards, put a freewheel or a ratchet between the wheel axle and the train (Sprag and roller one-way clutches).

Letting it down safely. Hold the key, lift the pawl and let the spring unwind slowly. A steel spring that lets go all at once breaks teeth; if the mechanism can jam with the spring charged, add a torque limiter (Torque limiters).

Worked example: a wind-up car with the PLA spiral

Given: a 120 g car, Ø40 drive wheels (r = 20 mm), the PLA spiral from the first section (2.1 turns, 20 N·mm peak torque, 0.14 J) and two 3:1 step-up stages (i = 9), with η ≈ 0.8 × 0.8 = 0.64.

Resistance. With O-rings as tires and axles in bushings, the equivalent rolling coefficient is about C ≈ 0.04. Measure it on your car with the ramp in "How to test it".

R = C·m·g = 0.04 × 0.12 × 9.81 ≈ 0.047 N

Energy ceiling. No train takes the car further than

d ≤ η·U/R = 0.64 × 0.135/0.047 ≈ 1.8 m

Does it start? The force at the wheel at the start is F = M·η/(i·r) = 20 × 0.64/(9 × 20) ≈ 0.072 N, 1.5 times R. It starts and accelerates. With i = 9, the spring's 2.1 turns would give about 19 turns of the wheel, 2.4 m, more than the energy allows. More i means more travel but less starting force; if the initial force does not beat R, the car does not move.

Where does it stop? When the spring torque falls below R·r·i/η = 0.047 × 20 × 9/0.64 ≈ 13 N·mm. That happens at θ ≈ 13/1.5 ≈ 8.7 rad, when only about a third of the wind has run down. By then 57 % of the energy has been spent, 1 − (8.7/13.3)²; the other 43 % stays in the spring. Creeping along with no inertia, it would cover (13.3 − 8.7) × 9 × 20 ≈ 0.8 m. The surplus force at the start accelerates it, and it keeps rolling while that energy lasts: expect between 0.8 and 1.6 m.

What the numbers teach. With a printed spring, travel is limited by the material, not by the design. Doubling the width b doubles the energy and the torque. Switching to PETG at ε = 2 % multiplies it by about 2.5, with less torque per turn and more turns (4.2 turns and 26 N·mm). A steel spiral of the same volume would store roughly 45 times as much.

A bought pull-back motor has a steel spiral and its gear train inside a box. The ones sold for school kits measure about 28 × 12 × 15 mm, with a Ø2 shaft (vendor data for the Kitronik 25116). Vendors do not publish their torque or energy: design the chassis from the dimensions and test the travel.

Governing the release: fan fly, centrifugal brake or escapement

Without a governor, the train lets all the energy go in a couple of seconds and wastes it on noise and impacts. As TPU and lattice springs pointed out, the governor decides how long the run lasts, not the spring.

Fan fly. Vanes on the fastest shaft, as in music boxes and many toys. Air drag brakes it with a torque that grows with the square of speed, T = c·ω². The shaft settles where the spring torque, referred to that shaft, equals the air's: ω = √(T/c). When the spiral's torque halves, from 20 to 10 N·mm, speed drops to 71 %; at a quarter of the torque, to half. The bigger or wider the vanes, the slower the release. A fan fly sets speed, not time: it cannot keep time.

Centrifugal brake. Shoes on the fast shaft rub against a fixed drum above a certain speed. Below it they barely brake, and above it they brake hard, so speed varies less than with vanes. While braking, it dissipates power P = T·ω as heat. The shoes and their heat are covered in Friction and centrifugal clutches. To slow a short stroke, such as a closing lid, see Dampers and soft close.

Escapement. It lets one tooth through per oscillation. The average speed does not depend on torque, as long as there is enough to keep the oscillator going. It is what you need to keep time (Escapements, Printed mechanical clock). For a sense of scale: a printed pendulum clock uses roughly 40 to 90 µW. The 0.14 J PLA spiral would run it for 0.135/(90 × 10⁻⁶) ≈ 1,500 s in the worst case and about 3,400 s in the best: between 25 minutes and nearly an hour, before losses. That is why printed clocks run on a weight.

The flywheel: storing energy in speed

The balance wheel of a wristwatch is a different thing: an oscillator with its own hairspring that keeps time (Escapements). Here, a flywheel is a spinning mass. A spinning body's energy is E = ½·I·ω². The moment of inertia I depends on how the mass is distributed:

  • Solid disc: I = ½·m·R²
  • Thin ring: I = m·R²
  • Several small masses: I = Σ m·r²

Inertia grows with the square of the radius: put the mass at the rim.

A flywheel is good for three things:

  • Smoothing a torque that varies every turn (a crank-slider, a single piston, a cam), so the motor only has to supply the mean torque and not the peak. With three or more pistons out of phase, as in Swashplates and wobble plates, the torque already arrives almost even and the flywheel is not needed.
  • Carrying a mechanism through its dead centers when it is driven from the piston or the rocker (Crank-sliders and eccentrics, The four-bar linkage).
  • Storing energy for a few seconds: the friction motor of a toy car, a spinning top, a toy launched by pulling a cord.

How much inertia. Choose a coefficient of fluctuation Cs = (ω_max − ω_min)/ω_mean. A Cs of 0.2 lets speed vary ±10 % and is enough for a pump or a toy; if speed matters, aim for 0.02–0.05 (a guide value). The inertia you need is

I = ΔE/(Cs·ω²)

where ΔE is the largest excess of work over the mean that builds up in one turn: the area of the torque curve that sits above the mean-torque line.

0°90°180°270°360°0.050.100TorqueMean torque0.040 N·mFlywheel givesΔE ≈ 0.14 JFlywheel takes back0.13 N·mSpeedω maxω minCs = (ω max − ω min)/ω meanCrank angle
The torque curve of the single-acting pump over one turn. Where torque is above the mean, the flywheel gives up energy and slows; where it is below, it takes the energy back and speeds up. The shaded area is ΔE.

Put steel at the rim. PLA is 1.24 g/cm³; steel, 7.85. A printed flywheel is light: embed nuts, washers or balls with a print pause (Embedding magnets and nuts mid-print). Print the disc flat, with its axis vertical: that way the stresses from spinning lie in the plane of the layers (Layer adhesion and anisotropy). Use high infill, or solid near the rim.

Where to put it. On the motor shaft, on the input side of the reducer (the fast side), inertia counts multiplied by i²: with a 10:1 reducer, a flywheel a hundred times smaller does the same job. But then the reducer's teeth carry the torque peaks. With the flywheel on the slow shaft, the teeth carry only the mean. Choose by what worries you more: the size or the teeth.

Which motor it works with. The flywheel lets speed sag a little at the peak. A DC gear motor, whose speed drops under load, makes use of that. A stepper or a servo, which impose the speed, do not benefit in the same way (Choosing a motor).

Limits and safety. In a spinning ring, the stress is σ ≈ ρ·v², where v is the rim speed. With 35 MPa tensile strength in XY and a safety factor of 4, PLA allows about 9 MPa, and the theoretical limit is around 85 m/s. With steel embedded in a plastic rim, the plastic also carries the steel's centrifugal force and that limit drops sharply. As a rule of thumb, keep the rim of a printed flywheel well below 30 m/s, retain the steel with material on the outside (not glue alone) and do not stand in the plane of the flywheel when you test it. If the masses are not evenly spread, the imbalance pushes on the shaft with F = m·e·ω² (e being the eccentricity of the mass): place them symmetrically.

Worked example: the flywheel for the piston pump

The data are those of the pump in Crank-sliders and eccentrics: Ø20 piston at 0.5 bar, 16 mm stroke (r = 8, L = 32), 600 rpm (ω = 62.8 rad/s), single-acting. Work per turn, 0.25 J; mean torque, 0.040 N·m; peak, 0.13 N·m, 3.2 times the mean.

ΔE. During the delivery stroke, the torque follows T = F·r·sin(θ + φ)/cos φ; on the suction stroke it is zero. The largest accumulated excess over the mean comes to ΔE ≈ 0.14 J, 55 % of the work in one turn. The approximation T ≈ F·r·sin θ gives almost the same, 0.138 J.

Inertia. With Cs = 0.2:

I = 0.14/(0.2 × 62.8²) ≈ 1.8 × 10⁻⁴ kg·m²

Construction. An ISO 4032 M8 nut is 13 mm across flats, about 14.4 mm across corners and up to 6.8 mm high. Centered 40 mm from the axis it reaches about 47 mm radius, so the disc needs Ø100 to leave a ring of plastic outside it, and a thickness of 10 mm to cover the nut with 1.6 mm on each face.

Pump flywheel: PLA disc and 12 M8 nuts
Part Dimensions Mass Inertia
Solid PLA disc, pockets subtracted Ø100 × 10 mm ≈ 82 g 0.97 × 10⁻⁴ kg·m²
12 M8 nuts (ISO 4032), ≈ 5.2 g each centered at r = 40 mm 62 g 1.0 × 10⁻⁴ kg·m²
Total ≈ 144 g 1.97 × 10⁻⁴ kg·m² → Cs ≈ 0.18

Weigh your nuts: 5.2 g is an approximate figure. At 600 rpm the rim moves at 3.1 m/s, nowhere near any limit.

Ø100r40AD-shaftA–APause layer10Retaining ringDisc inertiaNut inertiaPLA disc Ø100 × 10 · 82 g · I 0.97×10⁻⁴M8 nuts · 62 g · I 1.0×10⁻⁴Slow shaft: IMotor10:1 reducerCrankshaftTeeth carry the meanFast shaft: I/100Motor10:1 reducerCrankshaftTeeth carry the peak
The pump flywheel: 12 M8 nuts embedded 40 mm from the axis with a print pause and covered by the layers above, with an outer ring that retains them. On the right, the same effect from a flywheel a hundred times smaller on the motor shaft, on the input side of the reducer, at the cost of the reducer's teeth carrying the peak.

On the motor shaft. On the input side of a 10:1 reducer, 1.8 × 10⁻⁶ kg·m² is enough, a hundred times less. But the reducer would carry the 0.13 N·m peak; with the flywheel on the crankshaft, only the mean.

Result. With the flywheel, a motor giving a little over 0.040 N·m on average drives the pump with ±10 % speed variation. Without it, you needed a motor sized for the peak, as in Crank-sliders and eccentrics. Check the start: from rest the flywheel holds nothing yet, so the motor has to get over the first peak on its own, or you start it unloaded.

When it fails

Symptom, cause and fix
Symptom Cause Fix
The car will not start Starting force below R: i too high or too much friction Lower i; axles in bushings or bearings; true-running wheels
It stops with wind to spare Linear spiral against a fixed friction: this is expected Accept the unused energy (43 % in the example), increase b or move to a preloaded steel spring
It unwinds all at once No governor, or vanes too small Bigger vanes on the fastest shaft, or a centrifugal brake
It loses power from one day to the next The plastic relaxes when stored wound Let it down before storing; steel spring (Creep and fatigue)
The pawl slips while winding It bears near the tip or lacks a spring Seat at the root of the locking face and a spring on the pawl (Ratchet and pawl)
Teeth broken on release Steel spring let down without control Let it down holding the key; torque limiter
The train's pinion wears quickly Small driven pinion at high speed z ≥ 10, bushings, lubricant (Friction and wear)
The flywheel vibrates Uneven masses or off-center bore Symmetric masses, shaft in a sliding fit or a bearing, balance it
The motor still stalls with the flywheel fitted ΔE miscalculated, flywheel on the slow shaft too small, or a motor that imposes speed Recalculate ΔE; move the flywheel to the fast shaft; DC gear motor
The flywheel slips on the shaft Starting and braking torque on a round shaft D or hex shaft (Fixing a part to a shaft)
The shaft bore comes out too tight Facets, bead bulge and shrinkage Do not open it up by eye: compensate in one place (Why holes print small)

How to test it

The spring's torque-angle curve. Fit a 20 mm arm on the arbor: the 20 N·mm peak torque gives about 1.0 N at the tip. Read the force every half turn with a 2–5 N spring balance, or by resting the tip of the arm on a 0.1 g kitchen scale. The area under the curve is the energy. Repeat after 48 h, with the spring wound the whole time, to see how much it relaxes (Testing a mechanism before you trust it).

The car's rolling resistance. Measure it with the train disengaged, or before fitting it: with the wheels geared in, rolling would wind the spring backwards. Release the car from a height h on a shallow ramp and measure the total distance covered, ramp plus floor: C ≈ h/(d_ramp + d_flat). The angle at which it starts rolling on its own is no use: that measures static friction, which is higher. With C and the measured energy, d ≈ η·U/(C·m·g) predicts the travel. If it covers much less, the train is less efficient than assumed.

The run time. Time the run with your phone from full wind and from half wind. With a fan fly, speed should vary with the square root of torque.

The flywheel. Spin it up to a known speed and time how long it takes to stop: that gives you the friction in the bearings. With the pump running, measure speed with a cheap optical tachometer, or film it in slow motion (240 fps) and count the turns of a mark. The speed variation over one turn, divided by the mean, is your Cs.

See also

Design it in KapyCAD

Sketch the mechanism with these dimensions. Each one stays a value you can change after the first test print.

Free plan, no card. Runs in your browser, nothing to install.

Open the editor

Still have a question?