Skip to content
Tactiverge

School/□ Systems Engineer/Week 14

Reading a step response like an engineer

Two controllers both reach the set point. One is twice as good. Which four numbers would prove it?

About 30 min · 3 goals · Checked by automated tests

1.Why should I care?

'It looks better' isn't evidence. Step-response metrics turn a curve into numbers you can write in a specification, compare across designs and check automatically. Every control datasheet speaks this language.

  • ◇ Define and measure rise time, peak time, percent overshoot, settling time and steady-state error.
  • ◇ Read these metrics from a plotted step response with stated conventions (10–90 %, 2 % band).
  • ◇ Explain why a metric is only meaningful with its convention stated.

2.Watch

→ Write down each metric the video defines and the convention it uses (for example, which percentage band defines settling).

What rise time, overshoot and settling time actually tell an engineer, and why the step is the standard test input.

14 min 56 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

3.Predict

A response settles at 2.0 and peaks at 2.5. What is its percent overshoot?

Guess first. Being wrong here is how the surprise works.

4.Discover

In the feedback lab, pick a second-order plant with PI control. Read rise time (10–90 %), overshoot, peak time and 2 % settling time off the plot by hand. Then compare with the lab's own readout and explain any differences.

Explorer 02 — Feedback control

Measure, compare, correct

A controller compares the setpoint with what the sensor reports and pushes the plant to close the gap. Tune the gains and watch speed, overshoot and accuracy trade against each other.

OUTPUT y vs SETPOINT r0.00.51.0Ts 1.30sCONTROL EFFORT u0.02.0012345678910TIME (s)
  • Setpoint r = 1
  • Closed-loop output
  • Open loop (u = r/K)
  • ±2 % band
Controller

Gains

2.0
1.5
0.20

Applies the command the model says is right, u = r / K, without ever measuring.

Plant

Plant model

Like motor speed or an oven: τ·ẏ = −y + K·u. K = 1.

1.0 s

Real-world effects

0.000

Noise only affects the closed loop: the derivative term amplifies it.

Rise 10–90 %
0.72 s
Overshoot
0.0 %
Settling 2 %
1.30 s
Steady-state err
0.333
theory r/(1+Kp·K) = 0.333

State

P control, Kp 2.0 on a first-order plant with τ 1.0 s. Rise time 0.72 s, overshoot 0.0 %, 2 % settling 1.30 s, steady-state error 0.333 (theory for P: 0.333). Peak control effort 2.00. Open loop: steady-state error 0.000.

P control, Kp 2.0 on a first-order plant with τ 1.0 s. Rise time 0.72 s, overshoot 0.0 %, 2 % settling 1.30 s, steady-state error 0.333 (theory for P: 0.333). Peak control effort 2.00. Open loop: steady-state error 0.000.

How to read this

The top panel shows the setpoint (dashed line at 1) and the plant's true output after a step command at t = 0. The solid line is the controlled system; the dotted line is open loop. The bottom panel shows the control effort u the actuator is asked to deliver.

Rise time is how long the output takes to go from 10 % to 90 % of where it ends up. Overshoot is how far it passes that value. Settling time is when it stays inside ±2 % for good. Steady-state error is the gap left at the end: P control always leaves one on these plants; integral action removes it.

Assumptions & limitations
  • Linear plant models with known, constant parameters (K = 1). Real motors and heaters have friction, dead zones and parameters that drift with temperature and wear.
  • Controller runs every 10 ms and holds its output between samples; the plant is integrated with 4th-order Runge–Kutta at the same step. There is no transport delay, which real systems almost always have.
  • The derivative acts on the measurement (not the error) through a 50 ms low-pass filter, a common practical choice that avoids a spike when the setpoint jumps.
  • Sensor noise is white Gaussian and seeded for repeatability; it is added only to the measurement, never to the true output.
  • Metrics are computed on the true output up to the disturbance time (or 10 s); a response still moving at the end of the window is reported as not settled.
  • Open loop uses the exact plant gain to pick its command. That flatters it: any modelling error would show up as steady-state error.
Can't use the interactive? Read a description instead

A second-order PI-controlled response rises past the set point, peaks, oscillates a little and settles. Rise time is measured between the 10 % and 90 % crossings, overshoot as the peak's excess over the final value, and settling time as the moment after which it stays within 2 % of the final value.

5.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

A step response settles at 4.0 and peaks at 4.6. What is the percent overshoot?

%

6.Understand

The five numbers

Rise time: from 10 % to 90 % of the final value. Peak time tp: when the first maximum occurs. Percent overshoot: (peak − final)/final × 100. Settling time ts: after this, the response stays within ±2 % (sometimes 5 %) of final. Steady-state error: set point minus final value.

Conventions are part of the number

'Settling time 3 s' means nothing without the band: 2 % and 5 % can differ by a factor of 1.3. Rise time may be 0–100 % or 10–90 %. Good reports state the convention once, then use it everywhere.

Metrics pull against each other

Faster rise usually means more overshoot. Less overshoot often means slower settling. Removing steady-state error with integral action can add overshoot. A specification lists limits on several metrics at once, so a design is judged on the whole set.

Explain it another way

Rise time: how quickly you get there. Overshoot: how far past you go. Settling: how long until you stop wobbling. Steady-state error: whether you ever really arrive.

Worked example 1

A log shows: final value 1.00, first peak 1.12 at t = 0.8 s, inside 0.98–1.02 for good from t = 2.4 s, crossing 0.1 at 0.15 s and 0.9 at 0.45 s. Give the metrics.

Rise time = 0.45 − 0.15 = 0.30 s. Peak time 0.8 s. Overshoot 12 %. 2 % settling time 2.4 s. Steady-state error 0 if the set point was 1.00.

Common mix-ups

  • Overshoot is measured relative to the set point.
    ✓ Standard practice measures it relative to the final value. If the two differ (steady-state error), say which you used.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

A response with final value 10 passes 1.0 at t = 0.3 s and 9.0 at t = 1.1 s. What is the 10–90 % rise time, in seconds?

s

Practice 3

Design A settles in 2.1 s (5 % band). Design B settles in 2.6 s (2 % band). Which is faster?

Practice 4 · a fresh version every time

A second-order system has ωn = 5 rad/s and ζ = 0.6. Estimate its 2 % settling time ts with the rule of thumb ts ≈ 4/(ζ·ωn).

s

Practice 5

A response settles at 0.95 when the set point is 1.0. What does that tell you?

8.Apply it

Write a one-paragraph specification for a robot joint's step response using at least four metrics with numbers and conventions. Then test one configuration in the feedback lab and report pass or fail for each line.

9.Reflect

Concepts: Stability, overshoot and delay · Evaluation metrics · Second-order systems: natural frequency and damping ratio