Linear Vibrations Lab

4Forced harmonic vibration

Now drive the system with a harmonic force:

$$ m\ddot x + c\dot x + kx = F_0\cos\omega t $$

The solution is the sum of a homogeneous part (the free, decaying vibration from Section 3, called the transient) and a particular part that oscillates at the forcing frequency $\omega$ (the steady state). Assume $x_p = X\cos(\omega t-\phi)$, substitute, and match coefficients. With the frequency ratio $r=\omega/\omega_n$ and static deflection $\delta_{st}=F_0/k$:

$$ \frac{X}{\delta_{st}} = M(r,\zeta)=\frac{1}{\sqrt{(1-r^2)^2+(2\zeta r)^2}}, \qquad \tan\phi = \frac{2\zeta r}{1-r^2} $$
Deriving the particular solution (undetermined coefficients)

Write the forced equation in standard form, $\ddot x+2\zeta\omega_n\dot x+\omega_n^2x=(F_0/M)\cos\omega t$, and guess a response at the forcing frequency containing both a cosine and a sine: $x_p=A\cos\omega t+B\sin\omega t$. Substituting and collecting terms:

$$\cos\omega t:\quad(\omega_n^2-\omega^2)A+2\zeta\omega_n\omega\,B=\frac{F_0}{M},\qquad \sin\omega t:\quad-2\zeta\omega_n\omega\,A+(\omega_n^2-\omega^2)B=0.$$

These must hold for all $t$, so both coefficient equations must be satisfied. Solving the pair:

$$A=\frac{F_0}{M}\,\frac{\omega_n^2-\omega^2}{(\omega_n^2-\omega^2)^2+(2\zeta\omega_n\omega)^2},\qquad B=\frac{F_0}{M}\,\frac{2\zeta\omega_n\omega}{(\omega_n^2-\omega^2)^2+(2\zeta\omega_n\omega)^2}.$$

Writing $A\cos\omega t+B\sin\omega t=X\cos(\omega t-\phi)$ means $A=X\cos\phi$ and $B=X\sin\phi$, so $X=\sqrt{A^2+B^2}$ and $\tan\phi=B/A$. Dividing top and bottom by $\omega_n^4$ gives exactly the $M(r,\zeta)$ and $\tan\phi$ above. A sine forcing $F_0\sin\omega t$ works the same way and gives $x_p=X\sin(\omega t-\phi)$ with the same $X$ and $\phi$.

$M$ is the magnification factor and $\phi$ is how far the displacement lags the force. Three regimes:

$r\ll 1$, stiffness-controlled. $M\approx 1$, $\phi\approx 0$. The mass follows the force quasi-statically: $x\approx F(t)/k$.

$r\approx 1$, resonance (damping-controlled). $\phi = 90^\circ$ and $M=\frac{1}{2\zeta}$. Only damping limits the amplitude. The true peak sits slightly below, at $r=\sqrt{1-2\zeta^2}$.

$r\gg 1$, mass-controlled. $M\approx 1/r^2\to 0$, $\phi\to180^\circ$. The mass is too heavy to follow and moves opposite to the force.

The undamped case: what a negative amplitude means

With $\zeta=0$ the sine term drops out ($B=0$) and the steady response is simply $x_p=A\cos\omega t$ with

$$A=\frac{F_0/K}{1-r^2}.$$

Below resonance $A$ is positive: the mass moves in phase with the force. Above resonance $A$ is negative: the mass moves opposite to the force (180° out of phase). At $r=1$ it is unbounded. Because only $|1-r^2|$ sets the size, two different frequencies give the same size of response, one in phase and one out of phase; they satisfy $r_1^2+r_2^2=2$. Damping smooths the sudden sign flip into the gradual phase change from 0° to 180° that you saw above.

ConceptUndamped forced response: the sign of A
A(r), signedyour rmirror frequency: same |A|
Try:

Watch the force arrow and the mass: below resonance they move together; above it the mass goes left when the force pushes right.

Why the phase changes. At every instant the applied force is balanced by three forces: the spring ($kx$, along $x$), the damper ($c\dot x$, a quarter cycle ahead of $x$) and inertia ($m\ddot x$, opposite to $x$). Drawn as rotating arrows, they must always add up to $F_0$:

ConceptForce balance at a glance

Try:

With $\zeta=0$ exactly at resonance the steady state does not exist; the amplitude grows linearly forever: $x(t)=\frac{F_0}{2m\omega_n}t\sin\omega_n t$. Near (but not at) resonance with little damping you see beats: the transient and steady-state parts have nearly equal frequencies and alternately add and cancel.

InteractiveHarmonically forced oscillator (starts from rest)
Presets:
Total response $x(t)$Steady state $x_p$$F(t)/k$Transient

Magnification $M=X/\delta_{st}$ vs $r$. Grey curves: $\zeta$ = 0.05, 0.1, 0.25, 0.5, 1.

Phase lag $\phi$ vs $r$. Every curve passes through 90° at $r=1$.

Try this

  • Sweep $r$ slowly from 0 to 3 with $\zeta=0.1$. Watch the dot ride the frequency-response curves and the force-vs-displacement phase shift.
  • At $r=1$, compare the force and displacement traces: the displacement peaks a quarter cycle after the force.
  • Turn on Transient. How long until it dies out? How does that time depend on $\zeta$?
  • Try the Beats preset, then Undamped resonance. Why does the amplitude grow without bound?

Passing through resonance. A real machine does not jump straight to its running speed: it speeds up and passes through resonance on the way. Watch the response as the forcing frequency slowly rises:

ConceptSweeping through resonance
response while sweepingsteady-state amplitude ±M(r)
Try:

The response needs about 1/(ζωₙ) seconds to build up. If the sweep spends much longer than that crossing the resonance band (a slow sweep), the response follows the steady-state curve and peaks at r ≈ 1. If it rushes through (a fast sweep), the peak is lower, arrives late (above r = 1), and the mass then rings at its natural frequency. That is why machines are run up quickly through resonance.

Vibrations in the wild

On its opening day in June 2000, London’s Millennium Bridge began swaying sideways. Its lateral natural frequency was close to the rate at which people step side to side, so walkers unconsciously fell into step with the sway and pushed it at resonance. It closed after two days and reopened in 2002 with added dampers.