IntroductionYou are at Basic Concepts - Time Response - 2nd Order Step and Impulse ResponseGoalsThe SystemImpulse ResponseStep ResponseProblems
Second order systems are important for a number of reasons. They are the simplest systems that exhibit oscillations and overshoot.
There are a number of goals for you in this lesson.
First, if you have a second order system, you need to be able to predict and understand how it responds to an input, so you need to be able to do this.
Given a second order system,
- Determine if the system is underdamped - with an oscillatory response - or if it is overdamped with no oscillations in the response.
Given a transfer function for a second order system,Further goals for this lesson include these.
- Determine the DC gain of the system, G_{dc}, and the damping ratio, z, and the undamped natural frequency, w_{n}.
Given a second order system,
Determine the unit step response and the unit impulse response of the system.
Determine the DC gain, damping ratio and natural frequency from a plot of the unit step response of the system.
We start with an example of a system that exhibits second order behavior. You may have seen a similar example in the lesson on first order systems. Click here to look at that example.
Above is a movie of an airplane - actually a biplane - in which the pilot suddenly changes the controls so that the altitude of the biplane changes. The new steady state altititude is higher than the previous altitude. This system shows second order system behavior as the airplane changes altitude. You can click the button at the lower right to see the path followed by the biplane. (Click inside the button to show the path, and release the mouse outside the button to permit the path to show continuously.) This is an example of a second order system that you can see.
OK. You have seen the example. What you see there is an example of a second order step response. It has characteristics - like decaying oscillations - that you can have in second order systems. Those characteristic decaying oscillations are not to be seen in first order systems. If you see decaying oscillations, you know you don't have a first order system. On the other hand, not every second order system will exhibit those decaying oscillations. Second order systems are more complex than that.
With that in mind, let's look at some basic ideas about second order systems. The simplest second order system satisfies a differential equation of this form.
x(t) = Response of the System,The parameters you find in a second order system determine aspects of various kinds of responses. Whether we are talking about impulse response, step response or response to other inputs, we will still find the following relations.
u(t) = Input to the System,
z = Damping Ratio,
w_{n}=Undamped Natural Frequency,
G_{dc}= The DC Gain of the System.
z, the damping ratio, will determine how much the system oscillates as the response decays toward steady state.In this lesson we will discuss several particular time responses in second order systems,
w_{n},the undamped natural frequency, will determine how fast the system oscillates during any transient response.
G_{dc}, the DC gain of the system, will determine the size of steady state response when the input settles out to a constant value.
So far we have looked at a mathematical description of the system.
We'll start with the impulse response.
The first way is to solve the differential equation taking into account how the impulse changes the initial values. Click here to see the differential equation solution.We will examine the differential equation solution first.The second way is to use what you know about Laplace transforms to determine the impulse response. Click here to see how to compute the impulse response from the transfer function.
Given the differential equation:
If the input, u(t), is a unit impulse, d(t), then we can compute changes in the first derivative above. If we think about what happens when u(t) is an impulse using the differential equation, we come to the following conclusions.
It is a good assumption that what happens is that we have:
So, the net effect of the impulse is that the first derivative has a different value after the impulse has occurred. Other than that, nothing else changes. So, to compute the impulse response we compute the response of a system with no input (so we get the homogeneous response) but with a different initial condition determined by the impulse.
The homogeneous equation is:
As^{2}e^{st} + 2zw_{n}Ase^{st} + w_{n}^{2}Ae^{st}= 0
The common factor, Ae^{st}, can be removed to get:
s^{2} + 2zw_{n}s + w_{n}^{2} = 0
Now, at this point you should realize that there are several things that could happen because the roots of this polynomial equation could be any of the three possibilities below.
Let us first examine the case of two real, distinct roots. In order to have two real, distinct roots, we must have:
z> 1
When this is true, the impulse response will be of the form:
At t = 0 we can assume zero initial conditions, so we must have:
A_{1} + A_{2} = 0
And, we also have the value of the derivative at t = 0.
s_{1}A_{1} + s_{2}A_{2} = G_{dc} w_{n}^{2}
We have two equations in two unknowns - A_{1} and A_{2} - so we can solve for the unknowns. Doing that we have:
A_{1} = G_{dc} w_{n}^{2}/(s_{1} - s_{2})
which means that the solution is:
E1 Let us examine a few examples to help us visualize what this kind of response looks like. A typical situation would be a system that satisfies a differential equation:
d^{2}x(t)/dt^{2} + 6 dx(t)/dt + 5 x(t) = 5 d(t)
This system would have two exponentials in the solution:
A_{1}e^{-t}
Carrying through the algebra above, you should find that the solution works out to be:
1.25e^{-t} - 1.25e^{-5t}
The response is the sum of two decaying exponentials. Note the following about this response.
r(t) = A (e^{-at}- e^{-bt })
Differentiate this expression, and set the result to zero:
dr(t)/dt = A (ae^{-at} - be^{-bt}) = 0
and solving this, we must have:
ae^{-at} = be^{-bt}
or:
ln(a/b) = -(b-a)t_{peak}
How can this result be used? If one of the time constants - i.e. 1/a or 1/b - can be determined, then knowing where the peak is located will allow you to compute the other time constant. If you can measure the impulse response of a system you might be able to figure out what the system is - that is compute G_{dc}, a and b.
Can you actually get a time constant? If one time constant dies out quickly, then the other one is all that you see after a while. Here's that example plot again.
One interesting observation about this system is that the system can be visualized as two first order systems in cascade, where the output of one system feeds into the next. That cascade system is shown below. Note that the product of the two transfer functions is equal to the transfer function of the composite system.
In this composite system you should be able to visualize the step response.
So far we have considered the situation in which the damping ratio, z, is greater than 1. In that situation the exponentials in the solution are decaying exponentials. In other words, if the solution is of the form:
the roots, s_{1} and s_{2} are real and they are negative. We still need to consider the case in which the damping ratio, z, is less than 1.
If the damping ratio is less than one, then the roots, s_{1} and s_{2}, are both complex. When the roots have an imaginary part there will be oscillations in the impulse response. In order to have two real, distinct roots, we must have:
z < 1
Remember, from above, that the two roots are given by:
When the damping ratio is less than one, these roots will be complex, and the impulse response will be of the form.
Initial conditions will determine the constants A and f.
NOTE: You might want to review the material on first order systems, particularly the material on how an impulse changes the conditions in a system immediately after the impulse occurs. Click here to go to that material where you can find a computation of the change in output of a first order linear system when an impulse occurs at t = 0. You'll need to understand that for the next material.
At t = 0, the output is zero, so we must have sin(f) = 0, or f = 0. That means that the response, call it r(t), is really:
Knowing that we can also examine the derivative at t = 0. Taking the derivative we have the derivative and using t = 0 or 0+, we find:
Now, the question is "What does this have to do with the impulse response?" Earlier we noted that the effect of the impulse was to change the value of the derivative of the response immediately after the impulse occurred. We can calculate the value of the derivative at t = 0+, and equate that to the value of the derivative computed above. Earlier, we found:
This can be solved for the constant, A:
Knowing A we can determine the expression for the impulse response:
Now, we can examine an example of an impulse response. The plot below shows an impulse response for these parameters.
You need to be able to see how the impulse response changes as parameters change. The most interesting parameter is the damping ratio. Here's a video of the impulse response of a second order linear system showing how the response varies as the damping ratio, z, is varied. Play this video to see how the impulse response changes for different damping ratios in the range from zero to one. In this video, the natural frequency,w_{n}, is held constant at w_{n} = 1.
There are a number of points to note in this decaying sinusoidal response.
There are other ways that the impulse response can be computed, and we can consider other methods for computing the impulse response next. Let us assume that we have the differential equation as before:
To understand the effect of these two items - the decay time constant and the exponential modulating signal, we'll look at how the impulse response varies as the damping ratio and natural frequency vary.
So far, we have considered the impulse response of second order systems. However, the step response is also important, and in this section we will examine how second order systems respond to steps. The simplest second order system satisfies a differential equation of this form.
x(t) = Response of the System,As in the impulse response, the parameters you find in a second order system determine aspects of the step response. Whether we are talking about impulse response, step response or response to other inputs, we will still find the following relations.
u(t) = Input to the System,
z= Damping Ratio,
w_{n}= Undamped Natural Frequency,
G_{dc}= The DC Gain of the System.
z, the damping ratio, will determine how much the system oscillates as the response decays toward steady state. And for a step that steady state will depend on the input step size and the DC gain.As in the impulse response, there are two special cases for the step response.w_{n},the undamped natural frequency ,will determine how fast the system oscillates during any transient response.
G_{dc}, the DC gain of the system, will determine the size of steady state response when the input settles out to a constant value.
If a system has a transfer function:
There are two cases - as usual. There can be two real roots/poles for the system, and there can be a pair of complex poles. If the two poles are complex, then, the step response of this system can be obtained (Here we rely on your Laplace transform and differential equation background):
Here's the video of the step response of a second order linear system showing how the response varies as the damping ratio, z, is varied. Play this video to see how the step response changes for different damping ratios.
Note the following in the video (for cases where damping ratio, z, is less than one!)
If the damping ratio is less than one, then the step response contains a decaying sinusoid with a frequency of:There are some points to note about the second order response.When the damping ratio is less than one, the step response has a decaying sinusoid, and the exponential envelope of the decay is:
e^{-}^{zwnt} The case of two real roots, when z = 1, produces a special situation - repeated roots - and requires a different analytical form.
P1 Using the simulator, determine the percent overshoot when the input is a unit step (which is what is assumed in the simulator), the DC gain is 2, the natural frequency is .5 rad/sec and the damping ratio is 0.2. Note, to compute the percent overshoot, you need to figure the percentage amount that the response - at the first peak - exceeds the steady state value.
P2 Now, change the natural frequency to .25 rad/sec and recompute the overshoot.
Q1 Does changing the natural frequency change the percent overshoot?
Knowing how to compute impulse and step response is not an end in itself. Let's face it, any system you build will not have many impulses or steps as inputs. However, it is important that these responses are important for several reasons.
There's a funny thing that happens in this video.
The poles form a complex conjugate pair if z < 1. There are other connections that we need to understand.
We're going to look at the pole location a little closer and we're going
to look at it analytically.
Here's the expression for the poles.
Work on the magnitude of the poles first - i.e. how far the poles are from the origin.
The angle off the horizontal is also a useful parameter for this pole.
There are some important points to note about the responses of a second order linear system.
P2 A second order system has poles at s = -1 + j and s = -1 - j. Determine the damping ratio for the system with these poles.
When you looked at the step response of the second order system, you should have noticed that the system's response went way past the final value. Note the following.
While it is not immediately apparent from this expression, the percent overshoot decreases as the damping ratio increases. If we plot the percent overshoot using this function, we get the plot shown below.
Note the following points about overshoot, the formula above and this plot: