1wd = wn*sqrt(1 - z*z)2Tp = pi/wd3OS = 100*exp(-z*pi/sqrt(1-z*z))4Ts = 4/(z*wn)00.10.2mt 0.00 s—b = 12b = 16m = 2 kg
00.511.522.530.00.10.2time (s)x (m)CART POSITION x(t) AFTER THE STEPζ = 0.6 (b = 12)ζ = 0.8 (b = 16)Ts 1.19 sfinal 0.2 mTr 0.37 sTp 0.79 sTs 0.75 sTr 0.49 sovershoot 9.5 %
Blocks: the wall, the damper, the cart, the ruler, the stopwatch and the formula card; the spring is the zigzagMarks on the ruler: 10 % and 90 % (purple), the final value (ink), the peak (orange) and the ±2 % band (green)Plot: the cart's position x(t) after the step, the exact solution, with the same marksStopwatch: the running time and the last measured lap (Tr, Tp or Ts)The cart from the equation-of-motion lesson, pushed by a steady 10 N from t = 0. Its answer to that step is measured four ways: rise time, peak time, percent overshoot and settling time. Books differ on two definitions. Nise and Franklin measure rise time from 10 % to 90 %, as here; Ogata uses 0 % to 100 % for underdamped systems, which gives 0.55 s for this cart. Some books use a 5 % settling band instead of 2 %, with the estimate 3/(ζωn).

The step

  1. 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.

Four measurements

Predicting them

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.