hoan.uk
ExperimentIntermediateAges 14–1815 minNGSS HS-PS2-1GDPT-2018 VatLi-11

Spring-Mass Oscillator Lab

Hang or lay a mass on a spring, add a dashpot and a driving force, and watch x(t), the phase portrait, the energy exchange and the resonance curve react live.

The interactive 3D spring-mass bench needs WebGL. The controls, charts and readouts below still work.

Simple harmonic motion, damping and resonance

A mass on a spring obeys m x'' + c x' + k x = F0 cos(ωt). Without damping or drive it oscillates at the natural frequency ω0 = √(k/m), with period 2π√(m/k), whatever the amplitude.

Viscous damping makes the oscillation decay as exp(−ct/2m) and shifts the period. A periodic drive produces a steady-state amplitude A(ω) = F0 / √((k − mω²)² + (cω)²) that peaks near ω0: resonance.

Frequently asked questions

What is the period of a mass on a spring?

T = 2π√(m/k). It grows with the square root of the mass and shrinks with the square root of the spring constant, and it does not depend on the amplitude or on gravity.

Does gravity change the oscillation of a hanging spring?

No. Gravity only moves the equilibrium down by m g / k. Measured from the new equilibrium the equation of motion is the same, so the period on the Moon equals the period on Earth.

What are the damping ratio and the quality factor?

The damping ratio is ζ = c / (2√(km)). Below 1 the mass oscillates with a decaying envelope, at 1 it is critically damped, above 1 it is overdamped and just creeps back. The quality factor Q = 1 / (2ζ) measures how weakly the oscillator is damped.

What is resonance?

When the drive frequency is close to the natural frequency the response is largest. For light damping the peak is at ω0√(1 − 2ζ²) and its height is about Q times the static deflection F0 / k. With no damping the amplitude would grow without limit.