Toolvito

Calculates on this device. File exports run online.

Step Response Calculator

Give a second-order system by its natural frequency and damping ratio, a first-order system with a dead time, or any transfer function N(s) ÷ D(s). You get the unit-step response with its rise time, peak time, overshoot, settling time and undershoot, and the output at a time you choose.

Enter your values

Your values

Below 1: overshoot and ringing; 1: critically damped; above 1: slow, no overshoot.

Optional: the output y(t) at this time.

More options

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

Step response checked on the server

Step response checked on the server

Uses the system of the result above. The server works the response out again with SciPy (state space and matrix exponential), finds the crossings by root finding, lists python-control's step_info and draws the response.

The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to use the step response calculator

  1. Choose the kind of system. For Second order type the gain K, the natural frequency ωn and the damping ratio ζ; for First order the gain, the time constant τ and the dead time θ; or type the numerator and denominator of a transfer function, for example 4 and s^2 + 2s + 4.
  2. Optionally type a time to get the output y(t) there.
  3. Press Calculate. You get the figures, the poles and zeros, a table and a chart of the response.
  4. The box under the result works the figures out again on the server and draws the response.

The figures

  • Rise time: from 10 % to 90 % of the final value.
  • Peak time and overshoot: when the output is largest, and how far that is above the final value, in percent of it.
  • Settling time: from the step to the last time the output is more than 2 % of the final value away from it.
  • Undershoot: how far the output first goes the wrong way, which happens with a zero in the right half-plane.
  • For the second-order system G(s) = K ωn² ÷ (s² + 2ζωn s + ωn²) with ζ < 1: overshoot e^(−ζπ/√(1 − ζ²)), peak time π ÷ (ωn √(1 − ζ²)), settling time about 4 ÷ (ζ ωn).

Worked example

ωn = 2 rad/s and ζ = 0.4: the output rises from 10 % to 90 % in 0.732 s, peaks at 1.714 s with an overshoot of 25.4 % and stays within 2 % from 4.20 s.

G(s) = 1 ÷ (s² + s + 1) (ωn = 1, ζ = 0.5) overshoots by 16.3 %, peaks at 3.628 s and settles in 8.08 s.

Limits you should know

  • Linear, time-invariant systems only. An unstable system has no settling figures.
  • Figures follow the python-control step_info definitions; other books use 5 % settling or a 0 % to 100 % rise time.

Related tools