The step
The cart from the springs, masses and dampers lesson, with a firmer damper, b = 12 N·s/m. Then ẍ + 6ẋ + 25x = F/2 gives natural frequency ωn = 5 rad/s and damping ratio ζ = 0.6. ζ < 1: it rings and overshoots.
At t = 0 a steady 10 N push starts and never stops: a step input. The cart rises, shoots past where it will end, swings back and settles. Four numbers describe that answer, so responses can be compared and specified.
Four measurements
Every measurement is relative to the final value. Once the cart stops, ẋ and ẍ are zero and only the spring holds the push: x = F/k = 10/50 = 0.2 m. The ruler and the plot mark that line.
Rise time Tr is how long the output takes to climb from 10 % to 90 % of its final value, here 0.02 m to 0.18 m. The stopwatch clicks at 0.10 s and 0.47 s, so Tr = 0.37 s.
The cart passes 0.2 m still moving, so it carries on. It stops and turns back at its furthest point, 0.219 m. The time it gets there is the peak time: Tp = 0.79 s. At that instant its speed is zero.
Percent overshoot compares the peak with the final value: (0.219 − 0.2) / 0.2 × 100 = 9.5 %. It says how far the output swings past where it is going, as a share of the final value.
Draw a band 2 % either side of the final value: 0.196 to 0.204 m. Settling time Ts is when the output enters that band and never leaves it again. The stopwatch stops at Ts = 1.19 s.
Predicting them
You can predict these without running anything. The ringing frequency is ωd = ωn√(1 − ζ²) = 4.0 rad/s. Peak time is half its period: π/ωd = 0.785 s. Overshoot depends on ζ alone: 100·e^(−ζπ/√(1−ζ²)) = 9.5 %.
Settling time is usually estimated as Ts ≈ 4/(ζωn) = 4/3 = 1.33 s, and rise time as Tr ≈ 1.8/ωn = 0.36 s. They are rules of thumb: the curve itself settled at 1.19 s and rose in 0.37 s.
Fit a firmer damper, b = 16 N·s/m, so ζ = 0.8. Overshoot falls to 1.5 % and the cart settles sooner, at 0.75 s. But it rises more slowly: Tr = 0.49 s. Specifications are how designers choose between such answers.
What is happening
# step 1/10 · setup # about: Cart m = 2 kg, Wall (fixed), Spring k = 50 N/m, Damper b m = 2 kg k = 50 N/m b = 12 N·s/m 2ẍ + 12ẋ + 50x = F(t) ẍ + 6ẋ + 25x = F/2 ωn = √(k/m) = 5 rad/s ζ = b/(2√(km)) = 12/20 = 0.6 X(s)/F(s) = 1 / (2s² + 12s + 50) Natural frequency and damping ratio are the lesson "Second-order response: natural frequency and damping ratio".
The cart is illustrative (m = 2 kg, k = 50 N/m, b = 12 or 16 N·s/m, F = 10 N), chosen so ωn = 5 rad/s and ζ = 0.6. Every curve is the exact solution of the equation of motion, and every measured number is read off that curve. The Python is plain Python 3 with the math module. It samples the exact solution every 0.1 ms and reads the four numbers off it the way the stopwatch does; python-control's step_info reports the same four with the same 10–90 % and 2 % defaults.