Skip to content
Tutorials Center
My learning

Topics

Lesson 11 of 37 ยท Time-domain Analysis

Second-Order System Response

Understand the standard second-order system, damping ratio and natural frequency, the four damping cases, and compute step responses with NumPy and SciPy.

Many systems with inertia and a restoring force, such as a mass on a spring, a servo, an RLC circuit or a suspension, behave like a second-order system. Their step response can oscillate before settling, so they introduce overshoot and ringing, which first-order systems never show. Understanding this one system explains a surprising amount of control design, because higher-order systems are often dominated by a pair of poles.

The standard form

Text
G(s) = wn^2 / (s^2 + 2 zeta wn s + wn^2)

Two parameters describe it:

  • Natural frequency wn (rad/s): the oscillation frequency if there were no damping.
  • Damping ratio zeta: how strongly the oscillation is damped. zeta = 0 means none, zeta = 1 is the borderline where oscillation just disappears.

The DC gain is 1. The poles are the roots of s^2 + 2 zeta wn s + wn^2 = 0:

Text
s = -zeta wn +/- wn sqrt(zeta^2 - 1)

The four cases

zeta Poles Step response
0 (undamped) +/- j wn Pure oscillation forever
0 < zeta < 1 (underdamped) -zeta wn +/- j wd Overshoot and decaying oscillation
zeta = 1 (critically damped) Double real pole at -wn Fastest response with no overshoot
zeta > 1 (overdamped) Two distinct real poles Slow, monotonic, no overshoot

Here wd = wn sqrt(1 - zeta^2) is the damped natural frequency.

Damping ratio cases

zeta = 0 Endless oscillation.
0 < zeta < 1 Overshoot, then settles.
zeta = 1 Fastest without overshoot.
zeta > 1 Slow creep, no overshoot.

Most controllers aim for zeta around 0.5 to 0.8.

1 / 2

The underdamped step response

For 0 < zeta < 1, the unit-step response is

Text
y(t) = 1 - (e^(-zeta wn t) / sqrt(1 - zeta^2)) * sin(wd t + phi),    phi = arccos(zeta)

The envelope e^(-zeta wn t) sets the decay rate and the sinusoid sets the ringing frequency wd. The output starts at 0 with zero slope, rises, overshoots 1, and settles.

Python Step responses for different damping ratios

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

With zeta = 0.2 the response overshoots by about 52%; at zeta = 0.5 about 16%; at zeta = 0.707 about 4.3%. At zeta >= 1 there is none. The peak for the critically damped and overdamped cases is simply the final value, 1.

Formulas for the standard specifications

For the underdamped second-order system, closed-form results connect the time response to zeta and wn:

Text
Percent overshoot  Mp = exp(-pi zeta / sqrt(1 - zeta^2)) x 100%
Peak time          tp = pi / wd
Settling (2%)      ts ~ 4 / (zeta wn)
Rise time (0-100%) tr = (pi - phi) / wd,  phi = arccos(zeta)

Overshoot depends only on zeta. This is why the damping ratio is the most important number to design for.

Checking the formulas against the simulation

Python Theory versus simulation

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Overshoot and peak time match to within the grid resolution. The settling time formula 4/(zeta wn) is an approximation, so expect it to be close but not exact.

The step response from scratch

You can also compute the response directly from the formula above, which shows that the library is doing nothing mysterious:

Python The underdamped formula written out

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Design intuition

  • Increase wn while keeping zeta fixed: the response gets faster with the same shape.
  • Increase zeta at fixed wn: overshoot falls but the settling time first improves and then, past about 1, gets worse as one real pole moves toward zero.
  • A damping ratio near 0.7 balances overshoot (about 4.6%) and speed, a common target.

Next you turn these formulas into design requirements in Time-Domain Specifications.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which damping ratio gives the fastest step response with no overshoot?

    Critical damping (zeta = 1) is the borderline: any smaller value overshoots, and larger values are slower.
  2. 2. A second-order system has poles at -2 +/- 3j. What is the damped natural frequency?

    The imaginary part of the poles is wd = 3 rad/s. The natural frequency wn = sqrt(4 + 9) = sqrt(13).
  3. 3. Percent overshoot of an underdamped second-order system depends on

    Mp = exp(-pi zeta / sqrt(1 - zeta^2)) x 100%, which involves only zeta.
  4. 4. For zeta = 0.5 and wn = 2, what is the approximate 2% settling time?

    ts = 4 / (zeta wn) = 4 / (0.5 x 2) = 4 s.

Summary

  • Standard form: wn^2 / (s^2 + 2 zeta wn s + wn^2), with natural frequency wn and damping ratio zeta.
  • Cases: undamped, underdamped (overshoot), critically damped, overdamped.
  • Overshoot depends only on zeta; peak time is pi/wd; 2% settling time is about 4/(zeta wn).
  • Poles lie at -zeta wn +/- j wd, on a circle of radius wn.
  • A damping ratio around 0.7 is a common compromise.

Next: Time-Domain Specifications