Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Second-order performance

In this section, we dive deeper into the analysis of second-order systems. We will define quantitative notions of performance, and relate them to the canonical parameters we already learned about, such as natural frequency and damping ratio.

Performance of second-order systems

Let’s start with the step response (30), which we derived in the previous section:

y(t)=K(1eζωnt1ζ2sin(ωdt+ϕ))y(t) = K \left(1 - \frac{e^{-\zeta \omega_n t}}{\sqrt{1 - \zeta^2}} \sin(\omega_d t + \phi)\right)

We can make several observations about this function:

This is enough information to make a first pass and sketch the step response. Here is what a step response with ζ=0.25\zeta = 0.25 looks like:

Step response of a second-order system with \zeta=0.25 showing peak time, settling time, and maximum overshoot.

Figure 1:Step response of a second-order system with ζ=0.25\zeta=0.25 showing peak time, settling time, and maximum overshoot.

When it comes to performance, we are often interested in the following quantities:

We will now go into more detail about each of these performance metrics, and how they relate to the parameters of the second-order system.

Peak time

The peak time tpt_p is the time at which the response reaches its maximum value. To find this, we can take the time derivative of the step response (1) and set it equal to zero:

dydt=K(eζωnt1ζ2(ζωnsin(ωdt+ϕ)ωdcos(ωdt+ϕ)))=0    ζωnsin(ωdt+ϕ)ωdcos(ωdt+ϕ)=0    ωn(ζsin(ωdt+ϕ)1ζ2cos(ωdt+ϕ))=0    sin(ωdt+ϕ)cosϕcos(ωdt+ϕ)sinϕ=0    sin(ωdt+ϕϕ)=0    sin(ωdt)=0    t=nπωd,n=0,1,2,\begin{aligned} \frac{\dd y}{\dd t} &= K \left( \frac{e^{-\zeta \omega_n t}}{\sqrt{1 - \zeta^2}} \left( \zeta \omega_n \sin(\omega_d t + \phi) - \omega_d \cos(\omega_d t + \phi) \right) \right) = 0 \\ &\implies \zeta \omega_n \sin(\omega_d t + \phi) - \omega_d \cos(\omega_d t + \phi) = 0 \\ &\implies \omega_n\left( \zeta \sin(\omega_d t + \phi) - \sqrt{1 - \zeta^2} \cos(\omega_d t + \phi) \right) = 0 \\ &\implies \sin(\omega_d t + \phi)\cos\phi - \cos(\omega_d t + \phi)\sin\phi = 0 \\ &\implies \sin(\omega_d t + \phi - \phi) = 0 \\ &\implies \sin(\omega_d t) = 0 \\ &\implies t = \frac{n\pi}{\omega_d}, \quad n = 0, 1, 2, \ldots \end{aligned}

This tells us that the response reaches its maximum value at integer multiples of π/ωd\pi/\omega_d. In particular, the slope is zero at t=0t=0, and the peak time is given by setting n=1n=1.

tp=πωd=πωn1ζ2\boxed{t_p = \frac{\pi}{\omega_d} = \frac{\pi}{\omega_n \sqrt{1 - \zeta^2}}}

Percent overshoot

The percent overshoot MpM_p is the amount by which the response overshoots its steady-state value, expressed as a percentage. Mathematically, the formula is:

Mp=y(tp)KK×100%M_p = \frac{y(t_p) - K}{K} \times 100\%

Substituting the formula for the step response (1) and the formula for tpt_p (4), we get:

Mp=K(1eζωntp1ζ2sin(ωdtp+ϕ))KK×100%=(eζωntp1ζ2sin(ωdtp+ϕ))×100%=(eζωntp1ζ2sin(π+ϕ))×100%=(eζωntp1ζ2(sin(ϕ)))×100%=(eζωntp1ζ2sin(ϕ))×100%=(eζωntp1ζ21ζ2)×100%=eζωntp×100%=eζπ1ζ2×100%\begin{aligned} M_p &= \frac{K \left(1 - \frac{e^{-\zeta \omega_n t_p}}{\sqrt{1 - \zeta^2}} \sin(\omega_d t_p + \phi)\right) - K}{K} \times 100\% \\ &= \left( - \frac{e^{-\zeta \omega_n t_p}}{\sqrt{1 - \zeta^2}} \sin(\omega_d t_p + \phi) \right) \times 100\% \\ &= \left( - \frac{e^{-\zeta \omega_n t_p}}{\sqrt{1 - \zeta^2}} \sin(\pi + \phi) \right) \times 100\% \\ &= \left( - \frac{e^{-\zeta \omega_n t_p}}{\sqrt{1 - \zeta^2}} (-\sin(\phi)) \right) \times 100\% \\ &= \left( \frac{e^{-\zeta \omega_n t_p}}{\sqrt{1 - \zeta^2}} \sin(\phi) \right) \times 100\% \\ &= \left( \frac{e^{-\zeta \omega_n t_p}}{\sqrt{1 - \zeta^2}} \sqrt{1 - \zeta^2} \right) \times 100\% \\ &= e^{-\zeta \omega_n t_p} \times 100\% \\ &= e^{-\frac{\zeta \pi}{\sqrt{1 - \zeta^2}}} \times 100\% \end{aligned}

We can also express this formula in terms of the pole angle ϕ\phi using the fact that:

1ζ2ζ=sinϕcosϕ=tanϕ\frac{\sqrt{1-\zeta^2}}{\zeta} = \frac{\sin\phi}{\cos\phi} = \tan\phi

Therefore, we obtain the formulas:

Mp=eζπ1ζ2×100%=eπ/tanϕ×100%\boxed{M_p = e^{-\frac{\zeta \pi}{\sqrt{1 - \zeta^2}}} \times 100\% = e^{-\pi / \tan\phi} \times 100\%}

The percent overshoot only depends on the damping ratio ζ\zeta (or equivalently, the pole angle ϕ\phi). However, it can be cumbersome to calculate due to the complexity of the formula. Instead, we can simply plot MpM_p as a function of ζ\zeta to see how the overshoot changes with damping to get a better intuition.

Relationship between percent overshoot M_p and damping ratio \zeta for a second-order system. The percent overshoot decreases as the damping ratio increases, and approaches zero as \zeta \to 1.

Figure 2:Relationship between percent overshoot MpM_p and damping ratio ζ\zeta for a second-order system. The percent overshoot decreases as the damping ratio increases, and approaches zero as ζ1\zeta \to 1.

For example, we see from Figure 2 that when ζ=0.25\zeta = 0.25, the percent overshoot is around 45%, which matches what we see in the step response Figure 1.

Settling time

To find the settling time, we need to determine when the response gets sufficiently close to its steady-state value KK and stays there. This is difficult to determine exactly, so instead we will use the exponential envelope to find an upper bound on the settling time. As with first-order systems, we will use the 2% criterion.

The exponential envelope decays like eζωnte^{-\zeta \omega_n t}. If we compare that to a standard exponential decay et/τe^{-t/\tau}, we can see that the time constant τ\tau of the envelope is given by:

τ=1ζωn\tau = \frac{1}{\zeta \omega_n}

This means that the envelope will decay to 2% of its initial value after approximately 4τ4\tau seconds. Therefore, we can use the following formula to get an upper bound on the settling time:

ts4ζωn\boxed{t_s \approx \frac{4}{\zeta \omega_n}}

Sketching the step response

Now that we have a bit more information, we can make a more detailed sketch of the step response. Here are the main steps to follow:

Example: response sketch

Consider the following spring-mass-damper system

with m=1m=1 kg, k=10k=10 N/m, and b=1b=1 Ns/m. Let’s sketch the step response of this system. In other words, let’s plot x(t)x(t) with unit step force f(t)=H(t)1f(t) = H(t) \cdot 1 N.

Canonical form. The transfer function of this system is given by:

G(s)=X(s)F(s)=1s2+s+10G(s) = \frac{X(s)}{F(s)} = \frac{1}{s^2 + s + 10}

We can calculate the parameters:

ωn=103.16rad/sζ=12100.158(underdamped)K=110=0.1ωd=ωn1ζ23.12rad/sϕ=arccos(ζ)1.412rad80.9\begin{aligned} \omega_n &= \sqrt{10} \approx 3.16\,\text{rad/s}\\ \zeta &= \tfrac{1}{2\sqrt{10}} \approx 0.158\quad\textsf{(underdamped)}\\ K &= \tfrac{1}{10} = 0.1 \\ \omega_d &= \omega_n \sqrt{1 - \zeta^2} \approx 3.12\,\text{rad/s} \\ \phi &= \arccos(\zeta) \approx 1.412\,\text{rad} \approx 80.9^\circ \end{aligned}

Therefore, the step response is given by the formula:

x(t)=K(111ζ2eζωnsin(ωdt+ϕ))=0.1(11.01e0.5tsin(3.12t+1.412))\begin{aligned} x(t) &= K \left( 1 - \frac{1}{\sqrt{1-\zeta^2}} e^{-\zeta\omega_n} \sin( \omega_d t + \phi) \right) \\ &= 0.1 \left( 1 - 1.01 e^{-0.5t}\sin(3.12t + 1.412) \right) \end{aligned}

Performance parameters. We can calculate the performance parameters:

tp=πωd1.01sτ1ζωn2.00sts4τ8.00sMp=eζπ1ζ2×100%60.5%\begin{aligned} t_p &= \frac{\pi}{\omega_d} \approx 1.01\,\text{s} \\ \tau &\approx \frac{1}{\zeta \omega_n} \approx 2.00\,\text{s} \\ t_s &\approx 4\tau \approx 8.00\,\text{s} \\ M_p &= e^{-\frac{\zeta \pi}{\sqrt{1 - \zeta^2}}} \times 100\% \approx 60.5\% \end{aligned}

Detailed sketch. We can now make our detailed sketch using the steps outlined above. We can verify that the first peak of our sketch is approximately 60.5% above the steady-state value, which matches our calculation of MpM_p.

Step response sketch for the spring-mass-damper system with m=1 kg, k=10 N/m, and b=1 Ns/m. The response has a peak time of approximately 1 second, a settling time of approximately 8 seconds, and a percent overshoot of approximately 60.5%.

Figure 4:Step response sketch for the spring-mass-damper system with m=1m=1 kg, k=10k=10 N/m, and b=1b=1 Ns/m. The response has a peak time of approximately 1 second, a settling time of approximately 8 seconds, and a percent overshoot of approximately 60.5%.

Pole locations and performance

Let’s recap the performance measures we defined so far:

tp=πωd,Mp=eπ/tanϕ×100%,ts4ζωnt_p = \frac{\pi}{\omega_d}, \qquad M_p = e^{-\pi/\tan\phi} \times 100\%, \qquad t_s \approx \frac{4}{\zeta \omega_n}

Let’s also recall that for an undamped second order system, the poles are located at

s=ζωn±jωds = -\zeta \omega_n \pm j \omega_d

This allows us to infer performance directly from the pole location!

Example: admissible pole locations

Sometimes, we will be given performance specifications and asked to determine where the poles of the system can be located to meet those specifications. For example, suppose we have a second-order system and we would like:

Let’s see where the poles of such a system can be located. We can use the formulas for tpt_p, MpM_p, and tst_s to derive inequalities that the parameters ζ\zeta and ωn\omega_n must satisfy, and then translate those into constraints on the pole locations in the complex plane.

We can combine these constraints and plot them on the complex plane to see where the poles can be located to meet the performance specifications.

The shaded region indicates where the poles of a second-order system can be located to meet the performance specifications of peak time at most 2 seconds, percent overshoot at most 20%, and settling time at most 3 seconds.

Figure 5:The shaded region indicates where the poles of a second-order system can be located to meet the performance specifications of peak time at most 2 seconds, percent overshoot at most 20%, and settling time at most 3 seconds.

Note that there are two regions of admissible pole locations, one in the upper half-plane and one in the lower half-plane. This is because the poles of a second-order system come in complex conjugate pairs, so if one pole is located at s=ζωn+jωds = -\zeta \omega_n + j \omega_d, then the other pole must be located at s=ζωnjωds = -\zeta \omega_n - j \omega_d.

Example: moving poles and performance

We can also examine what happens to the step response as we move the poles around in the complex plane.

Here is a figure that illustrates all three cases.

Figure showing how the step response changes as the poles of a second-order system move around in the complex plane, either horizontally, vertically, or radially away from the origin.

Figure 6:Figure showing how the step response changes as the poles of a second-order system move around in the complex plane, either horizontally, vertically, or radially away from the origin.

Interactive applet

Using the applet below (click the icon in the lower-right corner to fullscreen it), you can interactively explore how the step response of a second-order system changes as you change the parameters KK, ζ\zeta, and ωn\omega_n. You can also see how tpt_p, MpM_p, and tst_s change as you adjust the parameters, and how the pole locations move around.

 


Test your knowledge

Solution to Exercise 1 #
  1. The poles of GG are the roots of the denominator. So if we want the poles to be located at s1,2=4±2js_{1,2} = -4\pm 2j, then the denominator must be equal to (s(4+2j))(s(42j))(s - (-4 + 2j))(s - (-4 - 2j)). We can expand this to get:

    (s+42j)(s+4+2j)=s2+8s+20(s + 4 - 2j)(s + 4 + 2j) = s^2 + 8s + 20

    Therefore, we have Q=8Q = 8 and R=20R = 20. To find PP, we can use the fact that in canonical form, P=Kωn2P = K\omega_n^2 and R=ωn2R = \omega_n^2. Therefore, K=P/RK = P/R. We want K=0.5K=0.5 and we have R=20R=20, so we get P=0.520=10P = 0.5 \cdot 20 = 10. Therefore, the transfer function is:

    G(s)=10s2+8s+20G(s) = \frac{10}{s^2 + 8s + 20}
  2. If we double the value of RR, then the denominator becomes s2+8s+40s^2 + 8s + 40. The poles of the system are now the roots of this new denominator, which can be calculated using the quadratic formula:

    s=8±82414021=8±641602=8±962=4±4.9j\begin{aligned} s &= \frac{-8 \pm \sqrt{8^2 - 4 \cdot 1 \cdot 40}}{2 \cdot 1} \\ &= \frac{-8 \pm \sqrt{64 - 160}}{2} \\ &= \frac{-8 \pm \sqrt{-96}}{2} \\ &= -4 \pm 4.9j \end{aligned}
Solution to Exercise 2 #

We derived in an earlier example that

ωn=k,ζ=b2k,K=1k\omega_n = \sqrt{k}, \quad \zeta = \frac{b}{2 \sqrt{k}}, \quad K = \frac{1}{k}

Based on the step response, we see that the steady-state value is K=0.04K=0.04. Therefore, we find k=1K=25k=\frac{1}{K} = 25.

We can also see that the height of the first peak is around 0.05, so the percent overshoot is around:

Mp=0.050.040.04×100%=25%M_p = \frac{0.05 - 0.04}{0.04} \times 100\% = 25\%

Looking this up on Figure 2, we find that ζ0.4\zeta \approx 0.4. Therefore, we can solve for bb:

b=2ζk=20.425=4b = 2 \zeta \sqrt{k} = 2 \cdot 0.4 \cdot \sqrt{25} = 4

Therefore, our estimates for the parameters are:

k=25,b=4\boxed{k = 25, \quad b = 4}

We could have estimated other performance metrics from the plot, such as peak time or settling time, and then used those to find ζ\zeta and ultimately bb. However, both of these approaches would have been more complicated. Also, the percent overshoot is much easier to estimate from this sort of plot than the settling time!