SECOND-ORDER SYSTEMS / PLANT EXPLORATION

Release. Push. Find the rhythm.

Explore a mass, spring and viscous damper before adding a controller. Motion, energy and plots come from the same equations.

BEFORE YOU CHANGE A SETTING

Release, then watch the energy

Displace the mass by 0.25 m and release it without pushing. Where does the motion's energy go?

Pin the baseline. Change only damping c to 0 and pin again. Compare displacement and Energy at the same time. Then try c = 8 N·s/m, the critical value for this m and k.

Lecture: Read a step response → Printable worksheet →

Termsnatural frequencydamping ratiounderdampedcritically damped

PHYSICAL MODEL / REPLAYCalculating…

Preparing the physics engine…

View traces ↓
Displacement—
Velocity—
Force—
Stored energy—

One time, every signal

Loading plot…

Click a trace or use the replay slider. Pinned traces are dashed and numbered; the current run is solid cyan.

CHECK YOUR PREDICTION

Did the result match your prediction?

Choose a measurable prediction before changing a setting. Record the current result, change one condition, then check. This compares complete recordings, not the replay cursor.

Waiting for a complete, valid result. A stopped run or unavailable metric cannot be judged; choose another measure if needed.

Prediction and baseline stay in memory for this page only. Use Start a new prediction to choose a new baseline.

Compare one change 0/3

Keep mass, stiffness, force and initial conditions matched when testing damping. Pins allow other changes too, so check their labels.

Measured step response

Rise, 10–90% of F/k—
Overshoot beyond F/k—
Settling, ±2% of F/k—
Static equilibrium—

All three use the static equilibrium F/k as the reference: the theoretical final value, not the last recorded sample. Rise is the time from first reaching 10% to first reaching 90% of F/k. Overshoot is the largest displacement beyond F/k, as a percentage of F/k. Settling is the first recorded time after which x stays within ±2% of F/k through the end, and it is shown only with at least 1 s in the band. They apply only to a nonzero step from zero initial state and are not a general stability proof. The equilibrium line is not a controller target, and at zero damping it need not be reached.

Equations, assumptions and numerical method

m·x″ + c·x′ + k·x = F(t) · G(s) = 1/(ms² + cs + k)

An ideal horizontal mass, linear spring and viscous damper share displacement. There is no gravity along the motion, no travel stop, dry friction, sensor noise, saturation or feedback controller. The visual scale adapts to each run; compare the numbers and plots. Large excursions are mathematical predictions, not a claim that a real spring remains linear.

Fixed-step RK4 at 1 ms runs in a Web Worker; samples are recorded every 20 ms. Playback speed changes neither time integration nor force history. Energy balance: E(t) − E(0) = Wexternal − Edissipated.

Final energy residual: J

University of Michigan CTMS — System Modeling ↗
Next experiment 02One force, different transients

Field Journal: does damping always help? →

cDamping1.6 N·s/m