Mass-Spring-Damper System via Laplace

Quick Answer

A mass-spring-damper obeys m·x″ + c·x′ + k·x = F(t). With zero initial conditions its transfer function is X(s)/F(s) = 1/(ms² + cs + k), with natural frequency ωn = √(k/m) and damping ratio ζ = c/(2√(km)). For m = 1, c = 4, k = 13 and a step force of 13, x(t) = 1 − e^(−2t)(cos 3t + (2/3)sin 3t).

The Equation of Motion

A mass m attached to a spring of stiffness k and a damper with coefficient c, driven by a force F(t), satisfies Newton's second law: m·x″(t) + c·x′(t) + k·x(t) = F(t), where x is the displacement from equilibrium. The spring force −kx pulls the mass back toward equilibrium, and the damper force −cx′ opposes the motion. This one equation models vehicle suspensions, building vibration, instrument needles and many other mechanical systems.

Key Formulas

Transfer Function, Natural Frequency and Damping Ratio

Taking the Laplace transform with x(0) = x′(0) = 0 gives (ms² + cs + k)X(s) = F(s), so the transfer function is G(s) = X(s)/F(s) = 1/(ms² + cs + k). Dividing by m puts the denominator in standard form s² + 2ζωn·s + ωn², with natural frequency ωn = √(k/m) and damping ratio ζ = c/(2√(km)). If ζ > 1 the system is overdamped (no oscillation), ζ = 1 is critically damped (the fastest return without overshoot), and 0 < ζ < 1 is underdamped (a decaying oscillation at the damped frequency ωd = ωn√(1 − ζ²)).

Worked Example: Step Force

Take m = 1 kg, c = 4 N·s/m, k = 13 N/m and a constant force of 13 N applied at t = 0 with the mass at rest. Then ωn = √13 ≈ 3.61 rad/s and ζ = 4/(2√13) ≈ 0.555, so the response is underdamped. X(s) = 13/(s(s² + 4s + 13)). Partial fractions: X(s) = 1/s − (s + 4)/(s² + 4s + 13). Completing the square, s² + 4s + 13 = (s + 2)² + 9, and (s + 4) = (s + 2) + (2/3)·3. Inverting: x(t) = 1 − e^(−2t)(cos 3t + (2/3)sin 3t). The mass settles at x = F/k = 13/13 = 1 m, oscillating at ωd = 3 rad/s while the envelope decays as e^(−2t).

Overshoot, Peak Time and Settling

For an underdamped step response, the first peak occurs at tp = π/ωd and the percent overshoot is 100·e^(−ζπ/√(1−ζ²)). In the example, tp = π/3 ≈ 1.05 s, and at that instant cos 3t = −1 and sin 3t = 0, so x(tp) = 1 + e^(−2π/3) ≈ 1.123, an overshoot of about 12.3%, matching the formula. The 2% settling time is approximately 4/(ζωn) = 4/2 = 2 s.

Nonzero Initial Conditions

If the mass starts displaced or moving, the transform picks up extra terms: m[s²X − s·x(0) − x′(0)] + c[sX − x(0)] + kX = F(s). Solving gives X(s) = [F(s) + (ms + c)x(0) + m·x′(0)]/(ms² + cs + k). The free response (from the initial conditions) and the forced response (from F) add together, and both share the same poles, so they oscillate and decay in the same way.

Frequently Asked Questions

With zero initial conditions, X(s)/F(s) = 1/(ms² + cs + k), where m is the mass, c the damping coefficient and k the spring stiffness.

Try the LapCalc calculator

Exact Laplace transforms with every step, free, plus free calculators for partial fractions, ODEs, circuits, control and Fourier series. Premium adds the inverse Laplace calculator and AI explanations.

Open LapCalc

Related Topics