TactivergeLite

Lite / Engineering Complex Systems / Week 12

Read the plant from its step response

You're handed a heater you've never seen. One five-minute test is enough to model it. Which test, and what do you read off?

About 30 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

Real plants don't come with τ printed on the side. A step test, apply a known input change and log the output, is the quickest way to get a model good enough to start tuning a controller. It is one of the most common tests in industry.

Predict

A step test levels off at 50 °C above start, and at t = 3 min it was 31.6 °C above start. What is τ?

  1. About 1.5 min
  2. About 3 min
  3. About 6 min
  4. Can't tell without more data
Guess first, then reveal

31.6/50 = 0.632, the 63 % point, so τ ≈ 3 min. You can get τ from any reading: τ = −t/ln(1 − y/y∞).

Discover

Switch to Mystery plant mode. For each of the five plants, read the final value from the dots, compute 63 % of it, read off the time and enter your τ. Aim for within 12 %, then press New mystery plant.

What the interactive shows (text version)

In mystery mode the diagram shows noisy measurement dots rising and levelling off. You read the level, take 63 % of it, and read across to the time where the dots cross that height: that time is τ. After checking, the true curve is drawn over the dots.

You can also open the interactive on the full site when you have a faster connection.

Understand

The step test

Hold the system steady, then change the input by a known Δu and log the output until it settles. K = Δy∞/Δu, the change in final output per unit input. τ is the time to cover 63 % of Δy∞. If the response has an initial delay before it starts moving, measure τ from when it starts.

Any point will do, some are better

From one reading y at time t: τ = −t / ln(1 − y/y∞). Readings near the start (small y/y∞) and near the end (y/y∞ close to 1) are sensitive to noise, because a small error in y makes a big change in the logarithm. Points between 30 % and 80 % give the most reliable τ.

Use all the data

Better still, fit the whole curve: plot ln(1 − y/y∞) against t. For a true first-order system it is a straight line with slope −1/τ. If it curves, the plant isn't first-order: a second store, a delay or a nonlinearity is showing.

Explain it another way

Intuitive

Like timing how long a bath takes to fill to the overflow: watch it once, and you can predict it next time.

Technical

System identification from step data: K̂ = Δy∞/Δu; τ̂ from the 63.2 % crossing or by least-squares on ln(1 − y/ŷ∞) versus t. Errors in ŷ∞ bias τ̂, so log until clearly settled.

Mathematical

τ = −t/ln(1 − f) with f = y/y∞. Sensitivity: dτ/df = −t/((1 − f)·ln²(1 − f)), which is large as f → 0 or f → 1.

Applied

Process engineers 'bump test' a valve or heater on a real plant: a small, safe step, logged for a few time constants. The resulting K and τ (plus a dead time) feed standard PID tuning rules.

Worked example 1

A 10 % step in fan power changes a room's temperature by 1.8 °C once settled; it reached 1.0 °C after 12 minutes. Find K and τ.

K = 1.8 °C per 10 % = 0.18 °C per %. f = 1.0/1.8 = 0.556, so τ = −12/ln(0.444) = −12/(−0.811) = 14.8 min.

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

s

s

°C/W

Practice 4. Which readings give the most noise-robust estimate of τ from a single point?
Practice 5. You plot ln(1 − y/y∞) against t and it curves instead of being a straight line. What does that suggest?

Apply it

Use the Smart Greenhouse build: apply a heater step and log the air temperature. Estimate K and τ by the 63 % method and by the log-plot method, and compare them.

Reflect

What would you do differently if every step test cost an hour of a real factory's production?

Write your answer on paper or in your own notes. Lite never stores what you write.

← The time constant: 63 % and countingA greenhouse is a first-order system →