Skip to content
Tactiverge

School/□ Systems Engineer/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

1.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.

  • ◇ Estimate K and τ from a measured step response using the final value and the 63 % crossing.
  • ◇ Compute τ from any single reading with τ = −t/ln(1 − y/y∞).
  • ◇ Explain how measurement noise limits the accuracy of a step-test estimate.

2.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.

Loading the interactive…

Can't use the interactive? Read a description instead

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.

3.Checkpoint: guided practice

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

Practice 1

A step test settles 40 units above where it started. It is 25.3 units above the start at t = 6 s. What is τ, in seconds?

s

4.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 τ?

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

5.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

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

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

  • You can stop the step test once the output looks nearly flat.
    ✓ If you underestimate y∞, every τ estimate is biased. Log for at least four or five time constants.

6.Practice on your own

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

Practice 2 · a fresh version every time

A first-order system starts at 0 and settles towards a final value y∞ = 40. At t = 7.5 s the reading is y = 15.74. What is the time constant τ in seconds?

s

Practice 3

Raising a heater's power by 200 W raises its settled temperature by 30 °C. What is the static gain K in °C per watt?

°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?

7.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.

Open BUILD 007: Design a Smart Greenhouse →

8.Reflect

Concepts: First-order systems and the time constant · Measurement error and uncertainty · Fitting lines with least squares