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(1−e−ζω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:

K(1−e−ζωnt1−ζ2)≤y(t)≤K(1+e−ζωnt1−ζ2)K \left(1 - \frac{e^{-\zeta \omega_n t}}{\sqrt{1 - \zeta^2}}\right) \leq y(t) \leq K \left(1 + \frac{e^{-\zeta \omega_n t}}{\sqrt{1 - \zeta^2}}\right)

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(1−e−ζω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 e−t/τ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:

ts≈4ζω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=10≈3.16 rad/sζ=1210≈0.158(underdamped)K=110=0.1ωd=ωn1−ζ2≈3.12 rad/sϕ=acos⁡(ζ)≈1.412 rad≈80.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 &= \acos(\zeta) \approx 1.412\,\text{rad} \approx 80.9^\circ \end{aligned}

Therefore, the step response is given by the formula:

x(t)=K(1−11−ζ2e−ζωnsin⁡(ωdt+ϕ))=0.1(1−1.01e−0.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=πωd≈1.01 sτ≈1ζωn≈2.00 sts≈4τ≈8.00 sMp=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%,ts≈4ζω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=−ζωn−jω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