Lesson 9
1 Learning Objectives
By the end of this lesson students will be able to:
- Write the DE for a first order system
- Determine the time constant, rise time, and settling time of a first-order system from its differential equation, sketch, or LaPlace transform, or vice versa
- Sketch the response of a first-order system from its equation or LaPlace transform
- Calculate the steady state value of a first-order system, given its DE or LaPlace transform
- Sketch the response of a first-order system to an impulse or step input
2 Overview
Two methods for observing control system behavior:
- Time-domain (transient analysis)
- We give the system a mathematically-defined input and calculate what the output looks like
- Shows how the system responds over time (i.e., the transient response)
- Frequency domain analysis
- Shows how the system output based on the frequency of the input signal
- Shows the steady-state response only
- TL;DR: What we are doing is writing a DE that describes a system, plugging in different input functions for , and calculating/plotting the resulting .
3 Order of the System
The order of the system is the order of the differential equation that describes the system. If multiple DEs are used to describe the system, then the order of the system is the sum of the highest orders from each equation. In this class we cover the transient analysis of first-order and second-order systems.
4 Transient Analysis of a First-Order System DE
The differential equation of a first-order system that is given an input, , and constant coefficients , , and has the pattern:
Keep in mind that changes with time, so it is really , but we are going to just use to minimize visual clutter.
We are going to re-write the DE above to make it easier to tell how the system will behave. First, we divide through by and get:
Second, we replace with and with , the steady-state output of the system:
Then, LaPlace transform the equation to get
and rearrange to get
The solution to this differential equation will depend upon its input. We look at how two inputs, impulse and step, affect the system output .
- In general, the “transient response” of a first order system means its response to the unit step input.
4.1 Impulse Input
The LaPlace transform for a unit impulse input is
Take the inverse LaPlace transform to get:
4.2 Unit Step Input
The LaPlace transform for a unit step input is
Inverse LaPlace to get:
4.3 Initial Conditions
The constant is the initial condition of the system. It may be charge in a capacitor, or the initial velocity of a mass. Often, .
If the system starts out with then the response to a unit step input looks like this:

If the system starts out with then the response to a unit step input looks like this:

4.4 Student Example 1
Given: A system modeled by the equation
and initial condition
Required: Sketch the transient response to a step input
4.5 Student Example 2
Given: A system modeled by the equation
and an initial condition
Required: Sketch the transient response to a step input
5 Key Features of a First-Order System
There are three important features of a system that you should be able to identify from the step response:
- Time constant,
- Rise time,
- Settling time,
5.1 Time Constant
The time constant is a rule of thumb engineers use to predict how long it takes a system to get to steady state. By convention, one time constant is defined as 63% of the way to the final value. Here’s why:
5.2 Rise Time
The time required for the system output to go from to (10% to 90% of final value). The formula is
5.3 Settling Time
The time required for the system output to reach and stay within 2% of its final value. The formula is
6 Transient Analysis of a First-Order System by Inspection
Often in controls we do not start with the differential equation. Instead, we start with a block diagram like this:
One of the reasons we use LaPlace notation in controls is because it allows us to determine the time constant and steady-state value by visual inspection.
6.1 Student Example 3
Given: The transfer function below and a step input. Assume .
Required: (1) Time constant, (2) Steady-state value, (3) Rise time
7 Transient Analysis of a First-Order System with MATLAB
In Lesson 8 we covered two computational ways to get the step response of a system: (1) using the step() function and (2) defining a time range, input function, and running lsim() then plotting the results.
There’s a third approach as well. You can use MATLAB inverse LaPlace transform the equation, analytically solve the equation for , and then plot over a time range. Use these steps:
- Write
syms sto enable symbolic math in MATLAB. - Write
y=ilaplace(F(s)*G(s))and replaceF(s)with the LaPlace of your input function andG(s)with the LaPlace of your transfer function. - Write
fplot(y,[time range])and replace[time range]with the start and stop times of your plot (e.g.,[0 100]).
7.1 Student Example 4
Given: The transfer function below and a step input. Assume .
Required: Plot the output response in MATLAB in two ways: (1) using tf() and (2) of the solution to the DE using ilplace().
8 Transient Analysis of a Second-Order System
, and constant coefficients , , and has the pattern:
The differential equation of a second-order system that is given an input, , and constant coefficients , , , and has the pattern:
Like we did earlier with first-order systems, divide through by to get
We create three new substitutions that are unique to second-order systems:
8.1 Natural frequency
8.2 Damping ratio
8.3 Steady-state value
If we use these substitutions, the second-order DE looks like this:
If we LaPlace transform, set all initial conditions = 0, and rearrange we get an equation that we can write two different ways.
The first way:
And the second way:
- These are the same equations. You get the second equation by multiplying the first equation by . They both give the same output for a given input.