Complex frequency response
This exact amplitude belongs to the steady solution reached after infinite time. The actual motion also contains a transient, set by the initial displacement and velocity.
M064 · Oscillations / frequency response
Do a driven oscillator's largest swing and largest power intake happen at the same frequency? Not quite. With damping, the displacement peaks slightly below the natural frequency. The power absorbed from the drive peaks exactly at the natural frequency, and that is also where the motion lags the drive by a quarter cycle. Wait for the start-up transient to die out before measuring any of them.
A force actuator pushes a mass on a spring and dashpot with a sinusoidal force. Drag the frequency cursor, watch the startup transient fade, and measure amplitude and phase over three complete drive cycles. Sweep nineteen independently simulated runs and compare them with the exact response curve, while tracking drive work, dissipated energy and stored energy.
Physics tutorial
BackgroundA periodic drive keeps feeding energy in while damping takes it out. The motion is a startup transient that dies away plus a steady response at the drive frequency. Amplitude alone misses the phase and the balance of power.
Why it mattersThe theory of forced oscillation follows OpenStax University Physics Volume 1, section 15.6. The Lab builds the response curve the way an experiment would: nineteen independent simulated runs, each measured with a three-cycle Fourier analysis.
Start with the essentials
This exact amplitude belongs to the steady solution reached after infinite time. The actual motion also contains a transient, set by the initial displacement and velocity.
The displacement lags behind the force. Above the damping threshold shown, the amplitude only falls as the frequency rises from zero. The peak search covers only the displayed scan band, so it can land on the lower edge of the band.
Absorbed power peaks at the natural frequency, even when displacement peaks elsewhere. The exact width of the power peak at half its maximum is not the width of the displacement peak at half its height. The bandwidth shown is converted from angular frequency to cycles per second.
The sine and cosine projections use only the last three complete drive cycles, sampled at 128 evenly spaced phases per cycle. Any startup transient still present distorts the result and shows up in the nonharmonic residual. Drive work and dissipated energy are integrated separately.
Typical misconceptionDisplacement and absorbed power must peak at the same frequency.
Better mental modelIncrease the damping and find the displacement peak again. Power still peaks at the natural frequency, and with strong damping the displacement curve has no peak above zero frequency at all.
Typical misconceptionThree complete periods automatically measure steady state.
Better mental modelMeasure early and late. The Fourier measurement works at both times, but early on the residual and the phase can show that the startup transient is still there.
Typical misconceptionThe power bandwidth is the width of the displacement peak at half height.
Better mental modelThe width shown is for absorbed power, and it is exact for this model with viscous damping. It does not carry over to other response curves.
Orbit around the force actuator and step finely to compare the drive force with the velocity. Scrub through the first three drive cycles, then click Measure current frequency, which measures at the end of the run.
What to observe: No measurement is available until a full three-cycle window has passed. Later, the measured amplitude and phase approach the steady reference.Click Measure nineteen frequencies, then drag the amplitude cursor across the peak.
What to observe: Each blue point comes from its own independently solved run.Increase the damping, find the amplitude peak, and compare the absorbed power at the natural frequency.
What to observe: The displacement peak moves to a lower frequency, while the power peak stays at the natural frequency.Switch to energy review and, late in the run, compare drive work with dissipated and stored energy. Switching views keeps the scan and the cursor.
What to observe: The drive work can be larger than the energy stored now, because the dashpot keeps removing energy.