Second-Order Step Response Calculator

Understand how a control loop, filter or mechanical system responds to a step, and design one to meet an overshoot and settling-time target.

Roda no seu navegador. Seus arquivos nunca saem do seu dispositivo. Veja como conferir

…

Como fazer

  1. 1
    Choose the starting point

    ζ and ωn, or a specification.

  2. 2
    Enter the values

    Damping and frequency, or overshoot and settling.

  3. 3
    Read the response

    Overshoot, rise, peak, settling.

  4. 4
    Check the plot

    And the 2% band.

  5. 5
    Add Kp

    For steady-state error.

  6. 6
    Refine the design

    Adjust until it meets the goal.

Sobre esta ferramenta

A huge range of systems behave like a second-order system when you apply a sudden change: a motor's speed control, a car's suspension, a temperature controller, an op-amp circuit, a power supply's output after a load step. Two numbers describe them: the damping ratio ζ, which sets how much the response overshoots and rings, and the natural frequency ωn, which sets how fast it moves. This calculator gives the full step response from those two numbers: percent overshoot, peak time, 10–90% rise time, settling time to 2% and 5%, the damped frequency of oscillation and the classification as undamped, underdamped, critically damped or overdamped, with a plot of the response and the ±2% band. It also works in reverse, which is how designers usually start: enter the maximum overshoot and the settling time you need, and it calculates the damping ratio and natural frequency that meet them. Optionally enter a position error constant to see the steady-state error to a step for a type-0 loop.

The standard form

The response is that of G(s) = ωn² / (s² + 2ζωn s + ωn²) to a unit step. ζ below 1 gives oscillation decaying inside an exponential envelope; ζ = 1 is the fastest response without overshoot; ζ above 1 is sluggish and never overshoots.

Key formulas for ζ below 1

- Percent overshoot = 100 × e^(−ζπ / √(1 − ζ²)). - Peak time = π / (ωn √(1 − ζ²)). - Damped frequency ωd = ωn √(1 − ζ²). - Settling time to 2% ≈ 4 / (ζωn). The calculator measures rise and settling times from the exact response rather than the approximations, which can be off for low damping.

Design rules of thumb

- ζ ≈ 0.7 gives about 4.6% overshoot with a fast response, a common target. - ζ = 0.5 gives about 16% overshoot. - Doubling ωn halves all the times without changing the shape.

Steady-state error

For a type-0 system (no integrator) with position error constant Kp, the steady-state error to a unit step is 1 / (1 + Kp). Adding integral action removes it.

Examples in practice

A car suspension is usually designed around ζ of 0.2 to 0.4 for comfort, a robot arm near 0.7 for speed without overshoot, and a precision positioning stage close to 1 so it never overshoots its target.

Limits

Real systems often have extra poles, zeros, delays and saturation, so the response differs from the ideal second-order shape. Use the results as a first design estimate and confirm by simulation or test. This is a learning and design aid, not a substitute for a full control design.

Exemplo prático

With ζ = 0.5 and ωn = 10 rad/s, the response overshoots by 16.3%, peaks at 0.363 s and settles to within 2% in about 0.81 s; a specification of 10% overshoot and 1 s settling time needs ζ = 0.59 and ωn = 6.77 rad/s.

Resumo rápido

Perguntas frequentes

What is the damping ratio?

A number describing how quickly oscillations die out; 1 is critical damping.

How do I get less overshoot?

Increase the damping ratio; ζ = 0.7 gives under 5%.

How do I make it faster?

Increase the natural frequency, keeping the same damping.

What is settling time?

The time until the output stays within 2% (or 5%) of its final value.

Why is my measured overshoot different?

Real systems have extra dynamics, delays and limits.

Is anything uploaded?

No. Calculations run in your browser.

Totalmente grátisSem custo, sem cadastro
Arquivos privadosTudo roda no seu navegador
Fácil no seu idiomaDisponível em vários idiomas