A helical compression spring

A spring is three constraints at once: it has to give the right force at the right deflection, it has to survive the shear stress that produces, and it has to fit — solid length, free length and buckling all decide whether the rate that came out of the first constraint can be built.

This one returns a valve: about 50 N at 4 mm of working deflection, in a bore 24 mm across.

use steel

Four significant figures.

digits 4
dwire=3⁢mm
Dmean=20⁢mm
nactive=8

Spring steel is a little stiffer in shear than structural steel; this is the conventional design value for cold-drawn wire.

Gspring=79.3⁢GPa

The spring index

The index is the single most useful number about a spring. Below four the wire cannot be coiled without cracking; above twelve the coil tangles in handling and the spring is slack in its bore. Six to eight is comfortable.

Cindex=Dmeandwire=20⁢mm3⁢mm=6.667
checkCindex≥4andCindex≤12=6.667≥4and6.667≤12pass

Rate and deflection

krate=Gspring·dwire48·Dmean3·nactive=79.3⁢GPa·(3⁢mm)48·(20⁢mm)3·8=12.55⁢N/mm
Fwork=50⁢N
xwork=Fworkkrate=50⁢N12.55⁢N/mm=3.985⁢mm

The requirement was a force at a deflection, so that is what gets checked — the rate is only the means. A spring is wound to a tolerance on its rate, so this is a band rather than a number; ±10% is ordinary for a commercial spring.

xrequired=4⁢mm
Fat_required=krate·xrequired=12.55⁢N/mm·4⁢mm=50.18⁢N
checkFat_required≥0.9·FworkandFat_required≤1.1·Fwork=50.18⁢N≥0.9·50⁢Nand50.18⁢N≤1.1·50⁢Npass

Shear stress, with the curvature correction

The direct shear formula understates the stress on the inside of the coil, where the wire is tighter and the shear from the load adds to the torsional shear. The Wahl factor corrects for both, and at this index it is worth a quarter of the answer.

Kwahl=4·Cindex−14·Cindex−4+0.615Cindex=4·6.667−14·6.667−4+0.6156.667=1.225
τwork=Kwahl·8·Fwork·Dmeanπ·dwire3=1.225·8·50⁢N·20⁢mmπ·(3⁢mm)3=115.5⁢MPa

The allowable shear stress belongs to the wire and its diameter — a drawn wire is stronger in a thin section than a thick one — so it is taken from the wire's specification rather than computed. This is a music wire value.

τallow=700⁢MPa
checkτwork≤τallow=115.5⁢MPa≤700⁢MPapass

Whether it fits

Solid length is where the coils touch and the spring stops being a spring. Two dead coils at the ends, squared and ground.

ntotal=nactive+2=8+2=10
Lsolid=ntotal·dwire=10·3⁢mm=30⁢mm
Lfree=40⁢mm

The deflection available before the coils shut, and the working deflection against it. Working past about 80% of the way to solid is how a spring takes a set.

xsolid=Lfree−Lsolid=40⁢mm−30⁢mm=10⁢mm
checkxwork≤0.8·xsolid=3.985⁢mm≤0.8·10⁢mmpass

Buckling, which a compression spring does exactly as a column does. For squared and ground ends held between flat parallel surfaces, the free length must stay under about 2.6 times the mean diameter.

checkLfree≤2.6·Dmean=40⁢mm≤2.6·20⁢mmpass

And it has to go in the bore, with clearance for the coils to spread as it compresses.

bore=24⁢mm
checkDmean+dwire≤bore−1⁢mm=20⁢mm+3⁢mm≤24⁢mm−1⁢mmpass

Force against deflection

Straight, which is the whole idea of a helical spring — and drawn only as far as the coils allow. Past solid length there is no spring left to plot: the stack becomes a short steel column, the force rises without bound, and a line continued through that point would be a wrong picture of a right equation.

fn force defined
plot⁡(force,0,10)
0 2 4 6 8 10 0 50 100 150