Resonance in this visualization
Resonance is the large swing of an oscillator pushed by a periodic force at a frequency close to its own. Here a mass hangs on a spring, a damper slows it, and a force pushes it. The page records the swing cycle by cycle, shows when each push feeds energy in, and compares the result with the steady response at every drive frequency.
The drive frequency is , displacement is in units of the static deflection , and time is in natural periods . With damping, the motion from rest is a steady swing at the drive frequency plus a free response that dies away. The yellow points mark the largest in each drive cycle. They approach the steady amplitude as the free part fades, sometimes rising and falling on the way.
The strip under the record is the power . A push adds energy when it points the way the mass is moving. In the damped steady swing at the mass lags the force by exactly a quarter cycle, so the force is in step with the velocity and every push feeds energy in. In a steady swing away from the force works against the motion for part of each cycle, shown hatched. Far from that part approaches half the cycle, and the work nearly cancels.
Why does the swing stop growing? Take a sinusoidal swing of amplitude that lags the force by a quarter cycle, as the steady swing at does. In one cycle the force puts in , and the damper, with coefficient , takes out . Input grows with and loss with , so they balance at a single amplitude, . While the swing builds, the energy account shows each cycle's actual input, loss and change in stored energy.
Less damping makes the peak higher and narrower. With the mean input power is at least half its peak over a band of drive frequencies exactly wide, the half-power width marked on the chart. The displacement peaks below , at , as long as .
With weak damping the free part oscillates at its own frequency, . When that is close to the drive frequency but not equal, the two drift in and out of step, so the record rises and falls in beats. The beats fade as damping removes the free part. Without damping nothing removes it and the motion never settles. For the curve then gives the amplitude of a periodic motion that the run does not approach; at the swing grows without limit.
Things to notice
- The red arrow is the force as , drawn on the displacement scale, so at full length it reaches . Beside a resonant swing it looks tiny.
- The curves and the blue point are the steady state. The yellow points are what this run measured, cycle by cycle, so while the motion settles they need not lie on the curve.
Controls
- Changing or does not restart the run. The motion continues from its current state, and with damping it approaches the new steady state. From rest clears the record.
- Press anywhere on the response or phase chart to set the drive frequency there. Near it holds at exactly 1.