First-order response and the time constant
About this lesson
A system with one store of energy answers a step with one shape: a fast start that slows as it closes in. Switch on a 2 kW heater in a room modelled as G(s) = 7.5/(40s + 1) and read everything off the curve: the final value K times the step, 63.2% after one time constant, the rise and settling times, and the single pole at s = −1/τ that sets the speed.
The room as one block
Take the room from What a control system is. Heat store, leaky walls: 40·dy/dt + y = 7.5·u, with y in degrees above outside and u in heater kW. From rest, the Laplace transform (d/dt becomes s) gives one block: G(s) = 7.5/(40s + 1).
first-order model (one heat store, one leak) τ·dy/dt + y = K·u 40·dy/dt + y = 7.5·u y room temperature above outside (°C) u heater power (kW) Laplace, starting at rest: (40s + 1)·Y(s) = 7.5·U(s) G(s) = Y(s)/U(s) = K/(τs + 1) = 7.5/(40s + 1)
Read the lesson step by step
The room as one block
Take the room from What a control system is. Heat store, leaky walls: 40·dy/dt + y = 7.5·u, with y in degrees above outside and u in heater kW. From rest, the Laplace transform (d/dt becomes s) gives one block: G(s) = 7.5/(40s + 1).
first-order model (one heat store, one leak) τ·dy/dt + y = K·u 40·dy/dt + y = 7.5·u y room temperature above outside (°C) u heater power (kW) Laplace, starting at rest: (40s + 1)·Y(s) = 7.5·U(s) G(s) = Y(s)/U(s) = K/(τs + 1) = 7.5/(40s + 1)Switch the heater on
At t = 0 the heater jumps from 0 to 2 kW and stays there. That is a step, so U(s) = 2/s. The room starts at 10 °C, the outside temperature. Watch the curve: fast at first, then slower and slower.
step input u(t) = 2 kW for t ≥ 0, U(s) = 2/s Y(s) = G(s)·U(s) = 15 / (s(40s + 1)) = 15/s − 15/(s + 1/40) y(t) = 15·(1 − e^(−t/40)) T(t) = 10 + y(t) °C Every first-order system answers a step with this same shape: the capacitor voltage in The RC circuit: natural and step response follows it too.Where it ends: K times the step
Set s = 0: G(0) = K = 7.5 °C per kW, the DC gain. A 2 kW step ends 7.5 × 2 = 15 °C above outside, at 25 °C. The time constant decides only how fast it gets there.
DC gain G(0) = 7.5/(0 + 1) = 7.5 °C per kW final value theorem y(∞) = lim s→0 s·Y(s) = lim s→0 s·(2/s)·G(s) = 2·G(0) = 15 °C room ends at 10 + 15 = 25 °C (τ does not appear: it sets the speed only)It starts at full speed
At t = 0 the whole 15 °C gap lies ahead, so the room warms fastest: 15/40 = 0.375 °C per minute. Kept up, that pace would arrive in exactly one time constant, 40 minutes. It never keeps it up.
slope at t = 0 dy/dt = (K·u − y)/τ = (15 − 0)/40 = 0.375 °C per min straight line at that slope: 10 + 0.375·t reaches 25 °C at t = 40 min = τ The slope is always (gap left)/τ, so it falls as the gap closes.One time constant: 63%
At t = τ = 40 min the room reads 19.5 °C: 9.5 of the 15 °C, or 63.2% of the way. That is 1 − e^−1 for every first-order system, whatever its K and τ: how you read τ off a measured curve.
y(τ) = 15·(1 − e^−1) = 15 × 0.632 = 9.5 °C T(τ) = 10 + 9.5 = 19.5 °C To measure τ on a real system: 1. step the input, record the output 2. find where it has gone 63.2% of the way to its final value 3. that time is τEach τ closes 63% of the rest
Every time constant, the gap still left shrinks to 36.8% of itself: 15 °C at the start, then 5.5, 2.0, 0.75 and 0.27 °C after one to four τ. So the room is 86.5% there at 2τ, 95.0% at 3τ and 98.2% at 4τ.
gap(t) = 15·e^(−t/τ) t gap (°C) done 0 15.00 0.0 % 1τ 5.52 63.2 % 2τ 2.03 86.5 % 3τ 0.75 95.0 % 4τ 0.27 98.2 % 5τ 0.10 99.3 % In theory it never quite arrives.Rise time and settling time
Rise time, from 10% to 90% of the way, is τ·ln 9 ≈ 2.2τ = 87.9 min. Settling time, until it stays within 2% of the end, is τ·ln 50 ≈ 3.9τ = 156.5 min; textbooks round it to 4τ = 160 min.
rise time (10 % → 90 %) 10 % at τ·ln(10/9) = 4.2 min 90 % at τ·ln 10 = 92.1 min Tr = τ·ln 9 = 87.9 min ≈ 2.2τ settling time (inside ±2 %, ±0.3 °C) e^(−t/τ) = 0.02 → t = τ·ln 50 Ts = 156.5 min ≈ 3.9τ (rule: 4τ = 160)The pole sets the speed
G(s) blows up where 40s + 1 = 0: one pole, at s = −1/τ = −0.025 per minute. Halve the heat store, τ = 20 min, and the pole moves twice as far left. Same 25 °C at the end, reached twice as fast.
pole: root of τs + 1 = 0 → s = −1/τ τ = 40 min s = −0.025 /min τ = 20 min s = −0.05 /min the response is built from e^(st) = e^(−t/τ): farther left → faster decay → quicker τ = 20 min reaches 19.5 °C at t = 20 min. G(0) is still 7.5, so it still ends at 25 °C.First order in Python
In Python the whole response is one line: y = K·u·(1 − e^(−t/τ)). The python-control library builds the same block with ct.tf([7.5], [40, 1]), and ct.step_info reports the same 10–90% rise time and 2% settling time.
import math K, tau, u = 7.5, 40, 2.0 y = lambda t: K*u*(1 - math.exp(-t/tau)) rise = tau*math.log(9) # 10 % to 90 % settle = tau*math.log(50) # inside 2 % print(round(10 + y(tau), 1), round(rise, 1), round(settle, 1)) # 19.5 87.9 156.5 # python-control: import control as ct # G = ct.tf([7.5], [40, 1]) # ct.step_info(2 * G) -> RiseTime ≈ 87.9, SettlingTime ≈ 156.5
5 quick questions
Choose one answer per question. You can change your choices before checking them.
01A system is G(s) = 4/(10s + 1). What are its DC gain and time constant?
In the form K/(τs + 1), the number on top is the DC gain (G(0) = 4) and the coefficient of s is the time constant, 10 s.
02The room is G(s) = 7.5/(40s + 1) °C per kW. The heater steps from 0 to 2 kW. How far above its start does the temperature end?
The final value is K times the step: 7.5 × 2 = 15 °C. The time constant does not change where it ends, only how fast it gets there.
03After exactly one time constant, how much of the way to its final value has a first-order step response gone?
y(τ)/y(∞) = 1 − e^−1 ≈ 0.632, for every first-order system whatever its K and τ.
04Roughly how long does a first-order system take to settle within 2% of its final value?
The gap e^(−t/τ) falls to 2% at t = τ·ln 50 ≈ 3.9τ, which textbooks round to 4τ. Here that is 156.5 min, about 160 min. 2.2τ is the 10–90% rise time.
05The time constant is halved from 40 min to 20 min. What happens to the pole?
The pole is at s = −1/τ. Halving τ doubles its distance from the origin, and the response e^(−t/τ) decays twice as fast. The DC gain, and so the final value, stays the same.
Glossary
- First-order system
- A system described by one first-order differential equation, τ·dy/dt + y = K·u: one place to store energy, like a room's heat or a capacitor's charge.
- Time constant (τ)
- The time a first-order step response takes to cover 63.2% of the way to its final value. It is also the time the starting slope would need to get all the way.
- DC gain (K)
- How much the output finally changes per unit of a steady input: K = G(0). Here 7.5 °C per kW.
- Step response
- The output after the input jumps from one constant value to another at t = 0 and stays there.
- Rise time
- The time to go from 10% to 90% of the final change. For a first-order system it is τ·ln 9 ≈ 2.2τ.
- Settling time
- The time after which the output stays within a band (usually 2%) around its final value. For a first-order system it is τ·ln 50 ≈ 3.9τ, quoted as 4τ.
- Pole
- A value of s where G(s) blows up. A first-order system has one, at s = −1/τ; the farther left it sits, the faster the response.
Notes and sources
- The room is the illustrative model from What a control system is: K = 7.5 °C per kW and τ = 40 min. Every curve and number in the figure is computed from y(t) = K·u·(1 − e^(−t/τ)), sampled every 0.5 min.
- Nise and Ogata both quote 4τ as the 2% settling time. The exact time for e^(−t/τ) to fall to 0.02 is τ·ln 50 = 3.91τ, here 156.5 min, which is what step_info measures.
- The slope is (gap left)/τ at every moment, not only at the start, so a tangent drawn anywhere on the curve reaches the final value exactly τ later.
- A first-order system is stable only if its pole is in the left half of the s-plane (τ > 0). A pole on the right would make e^(−t/τ) grow instead of decay.
- N. S. Nise, Control Systems Engineering, 8th ed., Wiley (§4.3 first-order systems)
- K. Ogata, Modern Control Engineering, 5th ed., Pearson (§5-2 first-order systems)
- G. F. Franklin, J. D. Powell, A. Emami-Naeini, Feedback Control of Dynamic Systems, 8th ed., Pearson (ch. 3 dynamic response)
- K. Iqbal, Introduction to Control Systems, LibreTexts §2.4 The step response
- MIT OpenCourseWare 16.06 Principles of Automatic Control (S. Hall)
- MIT OpenCourseWare 6.302 Feedback Systems (Roberge, Dawson, Lundberg)
- python-control documentation: control.step_info
- Time constant (Wikipedia)
Quiz Unlocks after the last step.