K[i][i±1] = −k[i+1]
| Mode | f_n (Hz) | ω_n (rad/s) | T (s) |
|---|
Calculate natural frequencies and mode shapes of a multi-DOF spring-mass system with animation visualization. real-time rendering of frequency response function (FRF) with resonance warning.
| Mode | f_n (Hz) | ω_n (rad/s) | T (s) |
|---|
The fundamental equation of motion for an undamped multi-degree-of-freedom (MDOF) system is derived from Newton's second law. For free vibration, it takes the form of a generalized eigenvalue problem.
$$ \mathbf{M}\ddot{\mathbf{x}}+ \mathbf{K}\mathbf{x}= \mathbf{0}$$Assuming a harmonic solution of the form $\mathbf{x}(t) = \boldsymbol{\phi}e^{i \omega t}$, we arrive at the standard eigenvalue problem:
$$ (\mathbf{K}- \omega^2 \mathbf{M})\boldsymbol{\phi}= \mathbf{0}$$Here, $\mathbf{M}$ is the mass matrix (diagonal for point masses), $\mathbf{K}$ is the stiffness matrix (built from spring constants `k`), $\omega$ is the natural frequency in radians per second, and $\boldsymbol{\phi}$ is the mode shape vector (eigenvector).
For a more realistic model that includes energy dissipation, we add damping. Using proportional (Rayleigh) damping, the damped natural frequency $\omega_d$ is calculated.
$$ \omega_d = \omega_n \sqrt{1 - \zeta^2} $$In this equation, $\omega_n$ is the undamped natural frequency from the eigenvalue solution, and $\zeta$ is the damping ratio, which you control directly with a slider in the simulator. This ratio determines how quickly oscillations die out.
Automotive NVH (Noise, Vibration, and Harshness): Engineers use eigenvalue analysis to predict the natural frequencies of car frames, engine mounts, and suspension components. They ensure these frequencies are far from the engine's firing frequency or road-induced vibrations to prevent uncomfortable buzzing or shaking felt by passengers.
Aerospace & Aircraft Design: The wings and fuselage of an aircraft are subjected to constant aerodynamic forces. Modal analysis is critical to avoid flutter, a dangerous instability where a structural mode couples with aerodynamic forces, potentially leading to catastrophic failure. Designers shift natural frequencies away from excitation ranges.
Civil Engineering & Earthquake Engineering: Skyscrapers and bridges have complex mode shapes. Engineers calculate these to understand how a structure will respond to an earthquake or strong winds. The goal is to design structures where the dominant, energy-absorbing modes can safely dissipate seismic forces without collapsing.
Consumer Electronics & Manufacturing: From preventing a washing machine from "walking" across the floor during spin cycle to ensuring a smartphone's circuit board doesn't resonate with the vibration motor, eigenvalue analysis is used to design products that are quiet, stable, and durable throughout their operating life.
When starting this type of analysis, there are a few common pitfalls, so let's cover them upfront. First is the assumption that "there is only one natural frequency." If you increase the degrees of freedom to 3 or 5 in this simulator, you'll quickly see that there are as many natural frequencies and modes as there are degrees of freedom in the system. Five degrees of freedom means five modes. In design, you can't just focus on the lowest frequency (the first mode); you need to check all higher-order frequencies that might be present in the excitation source. For example, even if you avoid the primary engine rotation speed, its second or third harmonic components might perfectly match a higher-order natural frequency.
Next, a pitfall in parameter setting. If you randomly change the "mass" and "spring constant" values in the simulator, the overall behavior becomes hard to interpret. Remembering the fundamental principle that natural frequency is proportional to the square root of (spring constant / mass) is very helpful. For instance, if you quadruple the mass, you must also quadruple the spring constant to maintain the same frequency. Doubling all masses and springs uniformly leaves the natural frequencies unchanged (scaling law). Having this intuition will make your parameter tuning much faster.
Finally, don't forget that a world with "damping ζ=0" is unrealistic. While it simplifies calculations and resonance peaks become theoretically infinite, real structures always have damping. You can confirm in this tool that slightly increasing ζ from 0.01 to 0.05 dramatically reduces the peak height. In practice, estimating "how much damping exists" is often the most challenging and crucial part of the design.
m₁ = m₂ = m₃ = 1 kg, k₁ = k₂ = k₃ = k₄ = 1000 N/m (including ground springs), 3-DOF system:
With damping ratio ζ = 0.05, resonance magnification (Q factor) ≈ 1/(2ζ) = 10. Setting the excitation frequency to each f_n produces large-amplitude response.
Design Criteria: ISO 10816 (vibration evaluation of rotating machinery), ISO 2631 (whole-body vibration). In buildings, a sway angle of 1/200 or less is the habitability criterion.