Skip to content
You Start with one site
Amounts in Start with one site
Control, Measurement & Energy · Course

Second-Order Systems and Damping

Lesson 3 of 11 25 min read
Found this useful?

A conveyor that stops 5 mm past its mark crushes a carton against the guide, and a pressure loop that swings above and below its setpoint six times after every change wears the valve and trips the relief. A first-order model cannot explain either fault, because a first-order process never overshoots. The cause is a second store of energy, or a feedback loop that adds one, and two numbers describe the result completely. This lesson shows where those two numbers come from, what they predict, and how to read them from a recording of a machine that already rings. #SecondOrderSystems #DampingRatio #StepResponse

Learning Objectives

By the end of this lesson, you will be able to:

  1. Explain why a system with two stores of energy, or a loop closed around a lag and an integrator, can overshoot when a first-order process cannot
  2. Classify a response as overdamped, critically damped, underdamped or undamped from its damping ratio
  3. Calculate percent overshoot, peak time, rise time and settling time from the damping ratio and the natural frequency
  4. Choose a controller gain that gives a stated overshoot
  5. Estimate the damping ratio and the natural frequency from the peaks of a recorded response

Real-World System Problem: An indexing conveyor that must stop on its mark



An indexing conveyor moves a carton forward by one fixed step, stops, waits for a filling head, and moves again. A DC motor drives the belt, an encoder on the drive shaft measures position, and a proportional controller sets the motor voltage from the position error. When the error is large the motor runs fast. When the error reaches zero the voltage is zero, but the motor and belt are still moving, so the carton passes the mark and the controller must pull it back.

How far it passes the mark is the overshoot. A low gain makes the conveyor creep to its mark and the line loses output; a high gain makes it arrive sooner but overshoot more and swing several times before it rests. The filling head needs the carton inside a tolerance band before it can start, so the settling time decides the cycle rate of the whole line.

Kpintegratemotorand beltreVspeedy(+)−position measured by the shaft encoder
Position loop of the indexing conveyor

The motor is a first-order lag from voltage to speed. Position is the integral of speed. A loop closed around a lag and an integrator is the most common source of second-order behaviour in control, and the same mathematics describes a mass on a spring, a flexible belt and a pressure loop that rings.

Fundamental Theory: Damping ratio and natural frequency



Two stores of energy

A first-order process has one store: a tank of water stores heat, a rotating motor kinetic energy. When the input changes, the store fills or empties toward its new level, more slowly as it gets closer, and it cannot pass the new level because nothing is left to push it.

A second-order system has two stores that pass energy to each other, as in a mass on a spring: the spring stores energy in its stretch, the mass in its speed. At the rest position the spring force is zero but the mass is at its highest speed, so it continues. Energy moves from speed to stretch and back, and only friction, which is the damping, removes it. A door closer is such a damper: it brings the door to rest without a bounce.

The position loop behaves in the same way although it has no spring. The proportional controller acts as the spring: it pushes in proportion to the distance from the target. The motor inertia is the mass. The motor’s own speed-dependent losses are the damper.

The standard form

Every linear second-order system without dead time can be written in one standard form, with input and output :

The three parameters

  • is the steady-state gain: the final change in for each unit of change in .
  • is the natural frequency in rad/s: the frequency at which the system would swing if it had no damping at all. It sets the speed of the response.
  • (zeta) is the damping ratio, with no units: the damping present as a fraction of the damping that just prevents overshoot. It sets the shape of the response.

As a transfer function the same system is

To use the standard form, write the equation of your system so that the coefficient of the second derivative is 1. Then the coefficient of is and the coefficient of the first derivative is . A common mistake is to read these coefficients before dividing through, which gives a wrong natural frequency.

The four cases of damping

Try a solution in the equation with . It fits only if satisfies the characteristic equation , whose roots are

These roots are the poles of the system. The sign under the square root decides the shape of the response.

Damping ratioNamePolesStep response
OverdampedTwo real, differentNo overshoot, slow, two time constants
Critically dampedTwo real, equalFastest response with no overshoot
UnderdampedA complex pairOvershoots and rings, the ringing decays
UndampedOn the imaginary axisSwings for ever at

A negative damping ratio means the swings grow. That is an unstable system, and it is the subject of the stability lesson of this course.

Most control loops are tuned to be underdamped with between about 0.5 and 0.8. A small overshoot is the price of a faster arrival. Critical damping is chosen where any overshoot causes damage, for example a machine tool axis that would cut too deep.

The underdamped step response

For and a step in the input of size , the output is

with two derived quantities:

is the damped frequency, the frequency of the ringing you see on a trend. It is always lower than . The term is the envelope: it sets how quickly the ringing dies. So the product decides the decay, and decides the period of the swings, .

ypeak2 percent bandfinaltrisepeaksettlingtimetimetime
Marks on an underdamped step response

Four numbers that describe the response

Step response of an underdamped second-order system

Percent overshoot, the height of the first peak above the final value, as a percentage of the final change:

Peak time, the time of the first peak, which is half of one damped period:

Settling time, the time after which the output stays within 2 percent of the final value:

Rise time, the time to first reach the final value (0 to 100 percent), with in radians:

Overshoot depends on alone, not on . This is why is called the shape number: two systems with the same have responses of the same shape, and only stretches or compresses the time axis.

0.10.20.30.40.50.60.70.8
Overshoot (percent)72.952.737.225.416.39.54.61.5

The settling time formula comes from the envelope. The envelope has fallen to 2 percent when , which gives , rounded to 4. The quantity is the time constant of the envelope, so the rule is the same “four time constants” rule as for a first-order process.

Reading the damping ratio from a recorded response

Often the task runs in the other direction. You have a trend recording of a loop that rings and you need and . There are two methods.

From the overshoot. Measure the first peak above the final value and divide by the final change. Then invert the overshoot formula:

This needs the size of the step and a clean final value.

From the logarithmic decrement. Measure the heights and of two peaks on the same side of the final value, full periods apart, both measured from the final value. The logarithmic decrement is

This method needs no knowledge of the step size, so it also works on the ringing after a disturbance. With either method, the time between the two peaks gives the damped period , then and .

Poles in the s-plane as a picture

The two poles of an underdamped system are the complex pair

Plot them on a plane with the real part on the horizontal axis and the imaginary part on the vertical axis. This plane is called the s-plane, and the position of the poles shows the whole response in one picture.

Im×+ wdwnβRe−ζwn×− wd
Pole pair of an underdamped system in the s-plane
  • The distance of each pole from the origin is . Poles farther from the origin give a faster response.
  • The angle between the pole and the negative real axis satisfies . All poles on one ray from the origin have the same damping ratio, so the same overshoot. A ray at 45 degrees is .
  • The real part is . Poles farther to the left decay faster, so a vertical line is a line of constant settling time.
  • The imaginary part is , the frequency of the ringing. Poles on the real axis do not ring.

A design specification becomes a region of the s-plane. “Overshoot below 10 percent” means the poles must lie inside the two rays for . “Settling time below 2 s” means the poles must lie to the left of the vertical line at . The controller’s task is to move the poles into the region where both are true.

Application 1: Conveyor position loop, gain for 5 percent overshoot



Step 1: Write the closed loop in standard form

Click to reveal the closed-loop equation
  1. Motor equation in position. Speed is , so the motor equation becomes ✅

  2. Close the loop. Substitute and collect the terms in on the left: ✅

  3. Make the leading coefficient 1. Divide every term by 0.5: ✅

  4. Compare with the standard form. and , so ✅

  5. Notice what the gain cannot change. The product for every value of . It is fixed by the motor time constant of 0.5 s. ✅

Step 2: Find the damping ratio for 5 percent overshoot

Click to reveal the damping ratio
  1. Invert the overshoot formula with : . ✅

  2. Damping ratio: ✅

  3. Sense check. The table gives 4.6 percent at and 9.5 percent at , so 0.690 for 5 percent is consistent. ✅

Step 3: Find the gain and the natural frequency

Click to reveal the gain
  1. Gain from the damping ratio. From : ✅

  2. Natural frequency: ✅

  3. Damped frequency: ✅

  4. Poles. . ✅

Step 4: Predict the times and the peak position

Click to reveal the predictions
  1. Peak time: ✅

  2. Rise time. , so ✅

  3. Settling time (2 percent): ✅

  4. Peak position for a 2.0 rad step. The overshoot is 5 percent of 2.0 rad, which is 0.10 rad, so the shaft reaches 2.10 rad at 3.00 s and then returns toward 2.00 rad. ✅

  5. First voltage. At the instant of the step the error is 2.0 rad, so . This is far below any drive limit, so the linear model holds for this step. ✅

Step 5: Check with a numerical step response and with other gains

Click to reveal the check
  1. Numerical step response. The Python script below computes the step response with scipy.signal.step and measures it. It finds 5.00 percent overshoot, a peak at 3.00 s and a first crossing of the final value at 2.22 s. All three match the formulas. ✅

  2. Settling time. The measured 2 percent settling time is 4.14 s against the estimate of 4.0 s. The difference of 3.5 percent is the expected error of the envelope rule. ✅

  3. Try a higher gain. With : , , overshoot 35.1 percent, peak at 1.05 s, measured settling time 3.54 s. ✅

  4. Try critical damping. needs . There is no overshoot and the measured settling time is 5.83 s. ✅

  5. Limiting case. Because at every gain, the estimate is 4.0 s at every gain. The measured values of 4.14 s and 3.54 s agree with this: nearly five times the gain bought only 15 percent in settling time. ✅

Application 2: Reading a pressure loop that rings



Step 1: Damping ratio from the first overshoot

Click to reveal the overshoot method
  1. Final change: . ✅

  2. First overshoot: , which is . ✅

  3. Invert the overshoot formula. , so ✅

Step 2: Damping ratio from the logarithmic decrement

Click to reveal the decrement method
  1. Choose two peaks on the same side. The 1st peak and the 2nd peak are one full period apart, so . ✅

  2. Heights above the final value: and . ✅

  3. Logarithmic decrement: ✅

  4. Damping ratio: ✅

  5. The two methods agree at . ✅

Step 3: Natural frequency from the period

Click to reveal the frequencies
  1. Damped period, from the 1st peak to the 2nd peak: . ✅

  2. Damped frequency: ✅

  3. Natural frequency: ✅

  4. Cross-check with the peak time. The first peak should arrive at . The trace shows 1.60 s. The difference of 0.01 s comes from reading the period to two decimal places. ✅

Step 4: Settling time and a second check

Click to reveal the settling time and the check
  1. Settling time (2 percent): ✅

  2. Number of swings. full periods pass before the pressure stays within 0.01 bar of the setpoint (2 percent of the 0.50 bar change). ✅

  3. Second check, over two periods. Use the 1st and 3rd peaks, : , so and . The period is . ✅

  4. The model behind the trace. The recorded values were generated from a second-order model with and , then rounded to 0.01 bar and 0.01 s. Your estimates of 0.204 and 2.00 rad/s differ from the model only by that rounding. ✅

Verify It in Python



The script reproduces both applications. For the conveyor it compares the formulas with a numerical step response. For the pressure loop it repeats the calculation from the recorded extremes.

second_order_damping.py
import numpy as np
from scipy import signal
import matplotlib.pyplot as plt
def closed_form(zeta, wn):
"""Overshoot (percent), peak time, 0 to 100 percent rise time, 2 percent settling time."""
wd = wn * np.sqrt(1.0 - zeta**2)
overshoot = 100.0 * np.exp(-np.pi * zeta / np.sqrt(1.0 - zeta**2))
t_peak = np.pi / wd
t_rise = (np.pi - np.arccos(zeta)) / wd
t_settle = 4.0 / (zeta * wn)
return overshoot, t_peak, t_rise, t_settle
def measured(zeta, wn, t_end):
"""The same quantities read from a numerical unit step response."""
t = np.linspace(0.0, t_end, 200001)
system = signal.TransferFunction([wn**2], [1.0, 2.0 * zeta * wn, wn**2])
t, y = signal.step(system, T=t)
i_peak = np.argmax(y)
overshoot = 100.0 * (y[i_peak] - 1.0)
t_rise = t[np.argmax(y >= 1.0)]
outside = np.where(np.abs(y - 1.0) > 0.02)[0]
t_settle = t[outside[-1] + 1]
return t, y, overshoot, t[i_peak], t_rise, t_settle
# ---------- Application 1: conveyor position loop ----------
target = 5.0 # percent overshoot wanted
a = np.log(100.0 / target)
zeta = a / np.sqrt(np.pi**2 + a**2)
Kp = 1.0 / (20.0 * zeta**2) # from zeta = 1/sqrt(20 Kp)
wn = np.sqrt(20.0 * Kp)
os_f, tp_f, tr_f, ts_f = closed_form(zeta, wn)
t1, y1, os_n, tp_n, tr_n, ts_n = measured(zeta, wn, 20.0)
print("Application 1: conveyor position loop")
print(f" damping ratio zeta = {zeta:.3f}")
print(f" gain Kp = {Kp:.3f} V/rad")
print(f" natural frequency wn = {wn:.3f} rad/s")
print(f" zeta * wn = {zeta * wn:.3f} 1/s")
print(" formula step response")
print(f" overshoot (percent) = {os_f:7.2f} {os_n:7.2f}")
print(f" peak time (s) = {tp_f:7.2f} {tp_n:7.2f}")
print(f" rise time 0 to 100 (s) = {tr_f:7.2f} {tr_n:7.2f}")
print(f" settling time 2 pct (s) = {ts_f:7.2f} {ts_n:7.2f}")
print(f" peak position for a 2.0 rad step = {2.0 * (1 + os_n / 100):.2f} rad")
print(" other gains: Kp zeta overshoot peak time settling")
for gain in (0.05, 0.25, 0.50):
w = np.sqrt(20.0 * gain)
z = 1.0 / w
if z < 1.0:
_, _, o, tp, _, ts = measured(z, w, 20.0)
print(f" {gain:5.2f} {z:5.3f} {o:6.1f} % {tp:5.2f} s {ts:5.2f} s")
else:
t, y = signal.step(signal.TransferFunction([w**2], [1.0, 2.0 * z * w, w**2]),
T=np.linspace(0.0, 20.0, 200001))
ts = t[np.where(np.abs(y - 1.0) > 0.02)[0][-1] + 1]
print(f" {gain:5.2f} {z:5.3f} 0.0 % none {ts:5.2f} s")
# ---------- Application 2: ringing pressure loop ----------
t_ext = np.array([1.60, 3.21, 4.81, 6.41, 8.02]) # s, times of the extremes
p_ext = np.array([4.76, 4.36, 4.57, 4.46, 4.52]) # bar, values of the extremes
p_start, p_final = 4.00, 4.50
x = np.abs(p_ext - p_final) # size of each excursion
ratio = x[0] / (p_final - p_start)
a = np.log(1.0 / ratio)
zeta_os = a / np.sqrt(np.pi**2 + a**2)
delta = np.log(x[0] / x[2]) # one full period apart
zeta_ld = delta / np.sqrt(4.0 * np.pi**2 + delta**2)
Td = t_ext[2] - t_ext[0]
wd = 2.0 * np.pi / Td
wn2 = wd / np.sqrt(1.0 - zeta_ld**2)
delta2 = np.log(x[0] / x[4]) / 2.0 # two full periods apart
zeta_2 = delta2 / np.sqrt(4.0 * np.pi**2 + delta2**2)
Td2 = (t_ext[4] - t_ext[0]) / 2.0
print("Application 2: ringing pressure loop")
print(f" overshoot = {100 * ratio:.1f} percent")
print(f" zeta from overshoot = {zeta_os:.3f}")
print(f" logarithmic decrement = {delta:.3f}")
print(f" zeta from decrement = {zeta_ld:.3f}")
print(f" damped period = {Td:.2f} s")
print(f" damped frequency wd = {wd:.3f} rad/s")
print(f" natural frequency wn = {wn2:.3f} rad/s")
print(f" settling time 2 pct = {4.0 / (zeta_ld * wn2):.2f} s")
print(f" check over two periods: zeta = {zeta_2:.3f}, period = {Td2:.2f} s")
# ---------- Plot ----------
fig, ax = plt.subplots(1, 2, figsize=(11, 4.2))
ax[0].plot(t1, 2.0 * y1, label="position")
ax[0].axhline(2.0, color="grey", lw=0.8)
ax[0].axhline(2.04, color="grey", lw=0.6, ls="--")
ax[0].axhline(1.96, color="grey", lw=0.6, ls="--")
ax[0].plot(tp_n, 2.0 * (1 + os_n / 100), "o", label="peak")
ax[0].set_xlim(0, 8)
ax[0].set_xlabel("time (s)")
ax[0].set_ylabel("shaft position (rad)")
ax[0].set_title("Conveyor position, Kp = 0.105 V/rad")
ax[0].legend(loc="lower right")
t2 = np.linspace(0.0, 14.0, 4001)
model = signal.TransferFunction([wn2**2], [1.0, 2.0 * zeta_ld * wn2, wn2**2])
t2, y2 = signal.step(model, T=t2)
ax[1].plot(t2, p_start + (p_final - p_start) * y2, label="fitted model")
ax[1].plot(t_ext, p_ext, "o", label="recorded extremes")
ax[1].axhline(p_final, color="grey", lw=0.8)
ax[1].set_xlabel("time (s)")
ax[1].set_ylabel("pressure (bar)")
ax[1].set_title("Pressure loop, fitted second-order model")
ax[1].legend(loc="lower right")
fig.tight_layout()
fig.savefig("second_order_damping.png", dpi=120)
print("Saved second_order_damping.png")

Expected output

Application 1: conveyor position loop
damping ratio zeta = 0.690
gain Kp = 0.105 V/rad
natural frequency wn = 1.449 rad/s
zeta * wn = 1.000 1/s
formula step response
overshoot (percent) = 5.00 5.00
peak time (s) = 3.00 3.00
rise time 0 to 100 (s) = 2.22 2.22
settling time 2 pct (s) = 4.00 4.14
peak position for a 2.0 rad step = 2.10 rad
other gains: Kp zeta overshoot peak time settling
0.05 1.000 0.0 % none 5.83 s
0.25 0.447 20.8 % 1.57 s 3.74 s
0.50 0.316 35.1 % 1.05 s 3.54 s
Application 2: ringing pressure loop
overshoot = 52.0 percent
zeta from overshoot = 0.204
logarithmic decrement = 1.312
zeta from decrement = 0.204
damped period = 3.21 s
damped frequency wd = 1.957 rad/s
natural frequency wn = 2.000 rad/s
settling time 2 pct = 9.79 s
check over two periods: zeta = 0.200, period = 3.21 s
Saved second_order_damping.png

The script keeps full precision, so its settling time of 9.79 s differs in the last digit from the hand value of 9.8 s, which used the rounded 0.204 and 2.00.

Common Mistakes



  • Reading and from an equation whose leading coefficient is not 1. Divide the whole equation by the coefficient of the second derivative first.
  • Using the ringing frequency seen on a trend as . The trend shows the damped frequency . Divide by to get . At the two differ by 2 percent, at by 29 percent.
  • Measuring overshoot from zero or from the starting value. Overshoot is the height of the first peak above the final value, divided by the change from start to final value.
  • Using a peak and a trough in the logarithmic decrement formula as if they were one period apart. They are half a period apart. Use two peaks, or two troughs, and count the full periods between them.
  • Expecting a higher proportional gain to shorten the settling time. In the position loop it raises and lowers by the same factor, so the decay rate does not change.
  • Applying the formulas to a response in which the motor voltage or the valve reached its limit. A saturated output is not linear and the response is slower than the formulas predict.

Summary



  • Overshoot needs two stores of energy, or a feedback loop around a lag and an integrator. A first-order process cannot overshoot.
  • The natural frequency sets the speed of the response and the damping ratio sets its shape.
  • For an underdamped system, overshoot depends on alone, peak time is , and the 2 percent settling time is about .
  • From a recording, the first overshoot or the logarithmic decrement gives , and the period between peaks gives and then .
  • In the s-plane, the distance of the poles from the origin is , their angle gives , and their real part gives the decay rate.
  • For the conveyor, gives 5 percent overshoot, a peak at 3.00 s and settling in about 4 s, and no proportional gain settles much faster.

Exercises



1. A system obeys . Find , , , the type of damping and the poles.

Answer

, , . Underdamped. Poles at , because .

2. The conveyor position loop of the first application is run with . Find , , the percent overshoot, the peak time and the estimated 2 percent settling time.

Answer

and . Overshoot percent. , so . .

3. A machine axis must not overshoot at all. For the same conveyor motor, find the largest that gives no overshoot, and the two poles at that gain.

Answer

No overshoot needs . The largest gain is at : , with . Both poles are at .

4. A flow loop is given a setpoint step. The recording shows a first peak 12 percent above the final change, 0.80 s after the step. Find , and the estimated 2 percent settling time.

Answer

, so . and . .

5. A belt tension roller is knocked and its displacement is recorded. One peak is 8.0 mm from rest and the peak three full periods later is 1.0 mm from rest. The three periods take 0.75 s. Find and .

Answer

and . , so and .

6. A specification asks for overshoot of at most 10 percent and a 2 percent settling time of at most 2.0 s. State the two conditions on the poles. Then decide whether the conveyor position loop with proportional control alone can meet the specification.

Answer

Overshoot of at most 10 percent needs , so the poles must lie within about 53.8 degrees of the negative real axis. Settling in 2.0 s needs , so the poles must lie to the left of . The conveyor loop has at every gain, so its poles stay on the line at . It can meet the overshoot condition (any ) but never the settling condition. A proportional controller alone is not enough.

References



  • K. Ogata, Modern Control Engineering, 5th edition, Prentice Hall, 2010. Chapter on transient and steady-state response analyses.
  • N. S. Nise, Control Systems Engineering, 7th edition, Wiley, 2015. Chapter on time response.
  • K. J. Åström and R. M. Murray, Feedback Systems: An Introduction for Scientists and Engineers, 2nd edition, Princeton University Press, 2021.


© 2021-2026 SiliconWit®. All rights reserved.
Predict first

A conveyor position loop has a proportional gain of 0.105 V/rad. It overshoots by 5 percent and settles in about 4 s. You raise the gain almost five times, to 0.50 V/rad. What happens to the settling time?

See it: where the poles are, and what the response does
Poles
Distance from the imaginary axis
Angle β from the negative real axis
Overshoot
Peak time
Ringing frequency ωd
Settling time, 4 ÷ distance
Settling time on this curve

The distance of the poles from the imaginary axis sets the settling time, and the angle β of the poles sets the overshoot. For a complex pair that distance is ζωₙ, so 4 ÷ distance is the lesson's estimate 4/(ζωₙ). The gold line in the left drawing is that distance, and the gold dashed line on the response is the estimate. The small dark dot is where this curve really enters the 2 percent band for the last time. Move ζ alone and the poles travel round a circle: the shape of the response changes. Move ωₙ alone and the poles slide along one ray: the overshoot stays the same and only the time changes. The faint rays are lines of constant damping ratio. With a mouse you can also drag a pole in the left drawing.

Check yourself

Three questions. Each wrong choice is a mistake people really make, so read the note after you answer.

1. Loop A has poles at −1 ± j1. Loop B has poles at −2 ± j2. How do their step responses compare?

2. A system obeys 2 d²y/dt² + 8 dy/dt + 32 y = 32 u. What are its natural frequency and damping ratio?

3. Two systems have the same natural frequency of 2 rad/s. One has ζ = 1 and the other has ζ = 2. Neither overshoots. Which one is inside the 2 percent band first?

ζ = 0swings for ever ζ = 0.2rings, then rests ζ = 1no overshoot
Watch it build: reading a pressure loop that rings
4.0 4.5 bar 0 5 10 s It bounces.How lightly damped? 4.76 OS = 0.26 ÷ 0.50 = 52 % ζ = 0.204 4.57 δ = ln(0.26 ÷ 0.07) = 1.31the same, both ways Td = 3.21 s ωn = 2.00 rad/s
  1. A booster pump loop stepped from 4.00 to 4.50 bar rings before it settles.
  2. First peak 4.76 bar: 0.26 bar over a 0.50 bar step, an overshoot of 52 percent.
  3. Inverting the overshoot formula: 52 percent overshoot means ζ = 0.204.
  4. Second peak 4.57 bar: δ = ln(0.26 ÷ 0.07) = 1.31, which also gives ζ = 0.204.
  5. Peak to peak is one period, 3.21 s: ωd = 1.96 rad/s and ωn = 2.00 rad/s.
Kp Motor and belt Integrate r e V speed y − + position measured by the shaft encoder
Position loop of the indexing conveyor
final 2 percent band 0 0.5 1 y, part of the final value peak 1.21: overshoot 20.8 % rise time 1.02 s peak time 1.57 s settling time 3.74 s t, s 0
Marks on an underdamped step response (the conveyor at Kp 0.25)
Found this useful?

Discussion

    Comments show your name. Be kind, stay on the topic.