Spring-Mass-Damper System
Analyze forced oscillations with viscous damping. Sweep the driving frequency to trace the full resonance curve, watch the transient decay, and compare underdamped, critically damped, and overdamped behavior. All computation runs client-side.
Parameters
Results
Show formulas
Resonance Curve (Amplitude vs Driving Frequency)
Orange dashed line marks natural frequency \u03C9\u2080. Red dot is the current operating point.
Displacement vs Time
Red dashed lines show steady-state amplitude envelope. Transient decays over time.
Open this tool with your own values
This tool reads its inputs from the page address, so a link can open it with the values from a problem already entered. Include every value the problem needs, because one left out keeps the tool's default. Use plain numbers in the stated units.
- m
- mass in kg
- k
- spring stiffness in N/m
- c
- damping coefficient in N·s/m
- F0
- driving force amplitude in newtons, 0 for none
- omega
- driving frequency in rad/s
- x0
- initial displacement in m
- v0
- initial velocity in m/s
Example link
Reference Guide
Damped Oscillations
The equation of motion for a spring-mass-damper system is
The damping ratio governs behavior. When the system is underdamped and oscillates with an exponentially decaying envelope. When it is critically damped and returns to rest fastest without overshooting. When it is overdamped.
The damped natural frequency is .
Forced Vibrations
With a harmonic driving force the equation becomes
The steady-state amplitude is
and the phase lag of the response behind the force is . At low frequencies the mass follows the force in phase; at high frequencies the mass barely moves and lags by rad.
Resonance
Amplitude peaks at the resonance frequency
which is slightly below the natural frequency . For lightly damped systems , and the peak amplitude approaches . When , the resonance peak disappears and the amplitude decreases monotonically from DC.
At resonance the phase lag is exactly (90 degrees).
Quality Factor
The quality factor Q measures how lightly damped a resonator is
A high Q means a sharp, tall resonance peak with slow energy decay. A low Q means a broad, short peak. The bandwidth at the half-power points is .
- Car suspension targets to suppress road bumps without oscillating.
- Tuned mass dampers in tall buildings use to absorb earthquake and wind energy.
- Musical instruments and sensors can have .