Textbooks/Feedback and Control/Chapter 4Lite (plain text) version
4Systems with memory: first-order response
Version 1 · Technically checked (automated checks only) · 5 source lessons · 8 practice items
Introduction
Switch on a heater and the room does not jump to its final temperature; it creeps towards it, quickly at first, then slowly. Systems with stored energy have memory, and the simplest kind, first order, is described by two numbers: a gain and a time constant τ. After one τ the response is 63% of the way there, after about four τ it is essentially done. Read τ from a step test and you have a model to control.
Explanation
This chapter is built from 5 School lessons. Each part below is the lesson's own explanation; open the lesson for its predict-and-discover activities.
4.1 Systems with memory
Flick a light switch and the room is bright at once. Turn on an oven and you wait ten minutes. What does the oven have that the bulb does not?
Static versus dynamic
A static system's output depends only on the input right now: a resistor's current follows its voltage instantly, a lever's output force follows the push. A dynamic system's output depends on what happened before: a cup of tea's temperature now depends on how hot it was a minute ago. Dynamic systems have memory.
Memory is stored stuff
Physically, memory is something stored that cannot change instantly: kinetic energy in a spinning rotor, heat in an oven's walls, charge on a capacitor, water in a tank. Changing the stored amount takes a finite flow over a finite time, which is why outputs lag inputs.
Describe the rate, not the value
Because the output cannot jump, we describe a dynamic system by how fast it changes: dT/dt = (heater power − losses)/heat capacity. Solve or simulate that rate equation and you get the value at every time. That is the language of this whole term.
Common mix-ups
- If the output is slow, the sensor must be slow.
✓ Sensors can lag, but the physical quantity itself also changes gradually when something is being stored. Separate the two before blaming the sensor. - Static and dynamic are fixed properties of a device.
✓ They depend on the timescale you care about. A thermometer is dynamic over seconds and static over hours.
4.2 Inputs, outputs, states and parameters
A greenhouse model has a heater, a thermometer, a temperature and a wall thickness. Which of those is the model's memory?
Five kinds of quantity
Inputs are what you choose (heater power, motor voltage). Disturbances are inputs you don't choose (wind, a passenger stepping in). States are what the system remembers (temperature, speed). Outputs are what you measure, often a state seen through a sensor. Parameters are fixed numbers in the equations (mass, time constant, gain).
Parameters stay put, states move
In a single run the parameters are constants; the states change from step to step. Changing a parameter means simulating a different system. That is why a fair test changes one parameter at a time across runs.
Block diagrams
Engineers draw a model as boxes joined by arrows. Each arrow is a signal (a quantity that varies in time) and each box transforms signals. Parameters live inside the boxes. A feedback loop is an arrow that carries the output back to the input side.
Common mix-ups
- Anything with a number in the model is a parameter.
✓ Numbers that evolve during a run are states; only numbers fixed for the run are parameters.
Open the full lesson: Inputs, outputs, states and parameters →
4.3 The time constant: 63 % and counting
Why do engineers quote 63 % rather than half when they say how fast something heats up?
Two numbers describe it all
In τ·dy/dt + y = K·u, the static gain K is how much the output changes per unit of input once everything settles. The time constant τ (seconds) is how quickly it gets there. Change K and the curve stretches up; change τ and it stretches sideways; the shape never changes.
Landmarks to sketch with
After 1τ: 63 % of the change. 2τ: 86 %. 3τ: 95 %. 4τ: 98 %. 5τ: 99.3 %. The slope at the start is (y∞ − y₀)/τ: if it kept that rate, it would arrive in exactly one τ. Those numbers let you sketch any first-order response in seconds.
Time constants are physical
τ is a storage size divided by a flow rate. For an RC circuit τ = R·C. For a heated object τ = (thermal mass)/(heat-loss coefficient). Bigger storage or slower leakage means a longer τ. That is why a thick pot takes longer to boil than a thin one.
Derivation: Solving the first-order step response
Model: τ·dy/dt + y = K·u, with a constant input u applied from t = 0 and y(0) = y₀.
At equilibrium dy/dt = 0, so the final value is y∞ = K·u. Define the remaining error e = y − y∞.
Since y∞ is constant, de/dt = dy/dt, and the model becomes τ·de/dt = −e.
Separate variables: de/e = −dt/τ. Integrate: ln|e| = −t/τ + const, so e(t) = e(0)·e^(−t/τ).
Therefore y(t) = y∞ + (y₀ − y∞)·e^(−t/τ). From rest (y₀ = 0): y(t) = K·u·(1 − e^(−t/τ)).
At t = τ the remaining error is e^(−1) ≈ 0.368, so 63.2 % of the change is done. At 4τ only e^(−4) ≈ 1.8 % is left: the usual 2 % settling estimate (exactly 3.91τ).
Common mix-ups
- The time constant is the time to reach the final value.
✓ It is the time to cover 63 % of the change. Getting within 2 % takes about four time constants. - A bigger gain makes a first-order system respond faster.
✓ On its own, K changes only the size of the response. (Feedback changes the speed, as you'll see in week 16.)
Open the full lesson: The time constant: 63 % and counting →
4.4 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?
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.
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.
Open the full lesson: Read the plant from its step response →
4.5 A greenhouse is a first-order system
Open the greenhouse door on a cold morning and the air cools in minutes. Shut it and the heater takes far longer to win it back. Why the asymmetry?
An energy balance is a first-order model
One energy store (the air and contents), one way in (the heater), one way out (the walls): C·dT/dt = P − G·(T − T_out). Rearranged, it is exactly τ·dy/dt + y = K·u with y = T − T_out, τ = C/G and K = 1/G.
Why cooling can be faster than heating
Opening the door makes G much larger, so τ = C/G becomes much smaller and the air rushes towards T_out. Shut the door and G drops back; now the heater fights the slow τ. The model is the same equation with a different parameter, which is why the asymmetry isn't mysterious.
The model's honest limits
One lumped temperature assumes the air is well mixed. Real greenhouses have warm ceilings and cold floors, soil that stores heat with its own slow τ, and sunshine that varies. A first-order model is a good start for control design; it isn't a full thermal simulation.
Derivation: From an energy balance to τ and K
Energy stored in the air and plants: C·T, with C the heat capacity (J/K). Its rate of change = heat in − heat out.
Heat in: heater power P. Heat out through the walls: G·(T − T_out), with G the loss coefficient (W/K).
So C·dT/dt = P − G·(T − T_out). Divide by G: (C/G)·dT/dt + (T − T_out) = P/G.
Compare with τ·dy/dt + y = K·u, where y = T − T_out and u = P: τ = C/G and K = 1/G.
Better insulation (smaller G) raises both τ and K: slower to respond, but each watt buys more temperature.
Common mix-ups
- Better insulation makes a building heat up faster.
✓ It raises the final temperature for the same heater but also raises τ, so the approach is slower.
Open the full lesson: A greenhouse is a first-order system →
Worked examples
Systems with memory: example 1
Classify: (a) a phone charger's output voltage versus mains input, (b) a water tank's level versus inflow, (c) an LED's brightness versus current.
Solution
(a) Practically static on human timescales (its internal filter settles in milliseconds). (b) Dynamic: the level integrates inflow minus outflow. (c) Static: brightness follows current almost instantly. Note that 'static' always means 'fast compared with what we care about'.
Inputs, outputs, states and parameters: example 1
A model of a phone battery: dQ/dt = −I(t), V = V₀(Q) − I·R. Label Q, I, V, R and V₀.
Solution
Q (stored charge) is the state. I (current drawn) is the input, or a disturbance if the user decides it. V (terminal voltage) is the output. R (internal resistance) is a parameter, and V₀(Q) is a parameterised curve. The battery remembers Q; everything else follows from it.
The time constant: 63 % and counting: example 1
K = 3, step u = 2, τ = 4 s, starting at rest. Find y at t = 4 s and at t = 8 s.
Solution
y∞ = K·u = 6. y(4) = 6(1 − e^(−1)) = 6 × 0.632 = 3.79. y(8) = 6(1 − e^(−2)) = 6 × 0.865 = 5.19.
The time constant: 63 % and counting: example 2
A probe starting at 20 °C is plunged into 80 °C water. τ = 5 s. What does it read after 10 s?
Solution
y₀ = 20, y∞ = 80. y(10) = 80 + (20 − 80)·e^(−2) = 80 − 60 × 0.135 = 71.9 °C.
Read the plant from its step response: 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 τ.
Solution
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.
A greenhouse is a first-order system: example 1
A greenhouse settles 8 °C above outside with its heater on, and τ = 15 min. Starting at outside temperature, how far above outside is it after 30 min?
Solution
y(30) = 8(1 − e^(−30/15)) = 8(1 − 0.135) = 6.92 °C above outside.
Interactive figures
Interactive figure (online). Description: The step responder draws a curve rising from zero towards K times u. A dashed line at 63 % of the final value meets the curve at t = τ, and a second marker at 4τ shows it within 2 % of the final value. Doubling τ stretches the curve horizontally; doubling K stretches it vertically.
Laboratory
Everything runs in your browser. No kit, nothing mains-powered. Simulations are simplified educational models.
Simulation OS experiment
Simulation OS: RC charging and discharging
Read the time at which the capacitor reaches 63% and compare it with R × C.
Open Simulation OS: RC charging and discharging →Equation Lab exploration
Equation Lab: First-order systems
Change τ and the gain separately and describe what each does to the step response.
Open Equation Lab: First-order systems →BUILD level
BUILD: Smart greenhouse, level 2
Estimate the greenhouse's time constant from its warm-up data.
Open BUILD: Smart greenhouse, level 2 →
Guided practice
Answers are checked on the server; wrong answers get a hint and another try. Signed in, solved items also count towards the source lesson.
- Which of these is best modelled as a dynamic system for a 1-minute experiment?
- A potentiometer's output voltage versus knob angle
- A kettle's water temperature versus heater power
- A light-dependent resistor's resistance versus light level
- A gear train's output angle versus input angle
- Physically, why can't an oven's temperature jump when you switch it on?
- The thermostat is slow to read
- Heat must flow into the walls and air, and a finite power takes time to deliver a finite energy
- Electricity takes time to reach the heater
- Ovens are designed to be slow on purpose
- A drone hovering in wind: which is a disturbance?
- Motor thrust command
- Gust of wind
- Drone altitude
- Propeller diameter
- K = 4, step u = 5 from rest, τ = 3 s. What is y at t = 3 s?
- A first-order system has time constant τ = 0.75 s. How long after a step does it take to get within band = 5 % of its final value? (s)
- 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)
- 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)
- A greenhouse has heat capacity C = 900 kJ/K and loss coefficient G = 500 W/K. What is τ, in minutes? (min)
Engineering applications
Step tests
Process engineers identify a plant by giving it a small step and logging the response. The final change gives the gain; the time to 63% gives τ. Those two numbers are often enough to tune a first controller.
Thermal mass
A stone building has a long thermal time constant, so it stays cool through a hot afternoon. Designers choose materials partly for that slowness.
Watch
Optional verified videos. Nothing loads from YouTube until you press play.
- Modeling Physical Systems, An Overview (Brian Douglas)
- The Step Response | Control Systems in Practice (MATLAB)
- Capacitor charge time calculation - time constants (The Engineering Mindset)
Chapter summary
- Systems that store energy respond with lag; their output depends on history, not just the present input.
- A first-order system is set by a gain K and a time constant τ: y = K(1 − e^(−t/τ)) for a unit step.
- At t = τ the response is 63.2% complete; it is within 2% after about 4τ.
- Identify a plant from a step test: gain from the final change, τ from the 63% time.
Glossary
- First-order system and time constant
- A first-order system responds to a step by approaching its new value exponentially; its time constant τ is the time to cover 63.2 % of the change.
- Exponential growth and decay
- A quantity decays exponentially when its rate of decrease is proportional to how much is left, giving y = y0 × e^(−t/τ).
- RC time constant
- When a capacitor charges or discharges through a resistor, the voltage changes exponentially with time constant τ = R × C.
- Settling time and rise time
- Settling time is how long a response takes to enter and stay within a band, often 2 %, of its final value. Rise time is how long it takes to go from 10 % to 90 % of the step.
Definitions from the Field Guide.
Project: Identify a plant
Run a step test on a simulated or real first-order system, such as an RC circuit or a mug of warm water. Estimate its gain and time constant from the data in two ways (the 63% point and a log plot), compare them, and check the fitted model against a second step.
Deliverables
- The step data plotted with the 63% point marked
- Gain and τ from both methods
- A validation against the second step
Keep your work in your Engineering Journal; it stays private unless you choose to share it.
References
- Karl Johan Åström and Richard M. Murray (2008). Feedback Systems: An Introduction for Scientists and Engineers. Princeton University Press.
- Katsuhiko Ogata (2010). Modern Control Engineering, 5th edition. Prentice Hall.
- Norman S. Nise (2015). Control Systems Engineering, 7th edition. Wiley.
Publication record
- Version
- 1
- Status
- Technically checked (automated checks only)
- Technical review
- Automated checks only, last run 2026-11-29. No human, educator or mentor review is claimed.src/content/textbooks/textbooks.test.ts: schema, every lesson, diagram, practice item, video, Field Guide entry, lab and reference resolves; figure numbers recomputed; no practice answers in client payloads.
- Written by
- Compiled and written by the Tactiverge team with AI assistance, from Tactiverge School lessons that were themselves written with AI assistance.
- Licence
- All rights reserved by the founders unless a licence is approved.
- Corrections
- None recorded yet.Spotted a mistake? Use “Report a problem” on any chapter, or see the corrections page.