First-order systems are the simplest type of dynamic system, and they provide a foundation for understanding more complex systems. In this chapter, we will explore the properties of first-order systems, how to analyze their behavior, and how to find their responses to various inputs.
The system order refers to the highest power of the derivative in the system’s differential equation. So a first-order system has only one derivative. There are many such examples across different domains of science and engineering.
Each of the examples above has a single “storage” element that accumulates or depletes a quantity over time (e.g., mass, charge, energy, population). In each case, the rate of change of that quantity depends linearly on the current value of the quantity and possibly on an external input. If there were additional storage elements (e.g., a spring in the mass-damper system, an inductor in the RC circuit, an additional species in the chemical reaction), the system would be of higher order.
All the examples above have a similar mathematical structure. They can all be modeled as first-order linear ODE relating an output variable y(t) to an input variable u(t):
τ is the time constant of the system, which sets the timescale of the system’s response to changes in the input. It always has units of time (e.g., seconds).
K is the DC gain of the system. Although “DC” stands for “direct current” in electrical engineering, here it refers to the steady-state output. More on this later. The units of K are the units of y/u. For example, if y is a position in meters and u is a force in newtons, then K has units of m/N.
Let’s start with how a first-order system responds to a unit step input. The Laplace transform of a unit step input is U(s)=s1, so the output in the Laplace domain is:
Since t only appears in the combination t/τ, we can think of t as being measured in units of τ. The output is also scaled by K, so we can make a single table that tells us how all first-order systems respond to a unit step input:
Step response of a first-order system to a unit step input
t
y(t)
1τ
0.6321K
2τ
0.8647K
3τ
0.9502K
4τ
0.9817K
5τ
0.9933K
∞
1.0000K
We can see that the output starts at 0 and asymptotically approaches K as t→∞. The time constant τ determines how quickly the output approaches its steady-state value K. After one time constant (t=τ), the output has reached about 63% of its final value. After five time constants (t=5τ), the output is very close to its final value, at about 99%.
We can also look at the slope of the step response at t=0. The slope is given by the derivative of y(t) at t=0:
We can use this information to sketch the step response of a first-order system without doing any calculations.
Figure 1:First-order step response. The dashed lines show tangent lines to the curve. The curve always points towards its destination (y=K) at one time constant into the future.
The step response of a first-order system never actually reaches its final value K, but it gets arbitrarily close as time goes on. In practice, we define a settling time as the time it takes for the output to get within a certain percentage of its final value and stay there.
Settling time is an important performance metric for control systems. It tells us how quickly the system responds to changes in the input and reaches its desired output. A smaller settling time means a faster response, which is often desirable in control applications.
We can calculate the impulse response in a similar way to the step response. The Laplace transform of a unit impulse input is U(s)=1, so the output in the Laplace domain is:
This is a decaying exponential with the same time constant τ as the step response, but scaled by K/τ instead of K. This means the settling time is the same as before. The impulse response starts at K/τ at t=0 and decays to 0 as t→∞. Here is a plot of the impulse response:
Figure 2:First-order impulse response. The dashed lines show tangent lines to the curve. The curve always points towards its destination (y=0) at one time constant into the future.
When inputs are more complicated than steps or impulses, the response of a first-order system can be more complicated. However, the key feature of a first-order system is that it always tries to “catch up” to the input, but always lags behind. The output will always point towards where the input will be one time constant into the future.
Here is an illustration of this behavior for a more complicated input, and different choices of τ. We picked K=1 for simplicity, but the same behavior would hold for any value of K (just scale the output by K).
Figure 3:First-order responses (with K=1 and different τ values) to the same input. The system is always trying to “catch up” to the input, but always lags behind. Smaller τ values correspond to faster responses.
Another interpretation of a first-order response is that it smooths out the input. The time constant τ determines how quickly the system can respond to changes in the input. A smaller τ means a faster response and less smoothing, while a larger τ means a slower response and more smoothing. A more precise term for this is that first-order systems act as low-pass filters, which we will explore in more detail in later chapters.
Figure 4:First-order ramp response. The system is trying to catch up to the ramp (top dashed line), but always lags behind, eventually settling to a constant offset of Kτ.
Unlike the step and impulse responses, the ramp response does not settle to a constant value, since the input is continuously increasing. Instead, it does its best to catch up but ends up settling to a constant offset from the input ramp. The output lags behind the input by a constant amount Kτ. This lag is known as the steady-state error of the system in response to a ramp input.
The slowest time constant is τ1=0.2, so this motor will take 4τ1=0.8 seconds to settle to its final value. The largest DC gain is K3=40, so this motor will have the largest final value. We can use this information to make the scales on our plot. The result is shown below:
Figure 5:First-order step response comparison. Step responses of the three motors from Exercise 2. Vertical dashed lines indicated the settling time 4τ for each motor. The slowest motor (blue) takes the longest to settle and hals the smallest final value, while the fastest motor (green) settles the quickest to the largest final value.