Step Response

Updated

December 6, 2024

In the previous lecture, we saw that we can use the pole zero plot to determine if a system is BIBO stability. We also saw that we can compute the step reponse using inverse LTs. In this lecture, we will develop a heuristic method to approximate the step response from a pole-zero plot.

1 Step response from pole-zero plot

To understand how to infer the step response from the pole-zero plot, let’s revisit the example from last lecture:

Figure 1: Block diagram for a simple LTI system

Recall that we simplified the partial fraction expansion as \[ \frac{\frac12}{s} - \frac{\frac12}{s+2}.\]

Consequently, the step response (which is the inverse LT of the above) is: \[ \Bigl[ \underbrace{\frac 12}_{\text{Forced response}} - \underbrace{\frac 12 e^{-2t}}_{\text{Natural response}} \Bigr] \mathbb{1}(t). \]

The salient features of the step response are:

  • The pole of the input generates a forced response.
  • The pole of the system TF generates a natural response.
  • The amplitude of the response depends on the exact values of the poles and zeros, but the form of the response only depends on the location of the poles.

Thus, even without doing any exact partial fraction expansion, we know that \[ \dfrac{1}{s(s+2)} = \frac{K_1}{s} + \frac{K_2}{s+2}. \] Thus, we know that the output will be of the form: \[ y(t) = \bigl[ K_1 + K_2 e^{-2t} \bigr] \mathbb{1}(t). \]

Thus, we can obtain the form of the output without any explicit calculations.

Exercise 1 Find the general form of the step response of the following systems:

  1. \(\displaystyle G(s) = \frac{ s + 2 } { (s+5)(s+10) }.\)
  2. \(\displaystyle G(s) = \frac{ 5(s+3)(s+10) }{ (s+1)(s+5)(s+20) }.\)
  1. \(y(t) = \bigl[ K_1 + K_2 e^{-5t} + K_3 e^{-10t} \bigr] \mathbb{1}(t).\)

  2. \(y(t) = \bigl[ K_1 + K_2 e^{-t} + K_3 e^{-5t} + K_4 e^{-20t} \bigr] \mathbb{1}(t).\)

2 DC Gain

In the above examples, the system does not have a pole at origin. Such systems are called type 0 systems. For stable type 0 systems, the step response always settles to a steady state value known as the DC gain. For a type 0 system with TF \(G(s)\), the DC gain is given by \[ \text{DC-gain} = G(0). \]

We will expand more on this point later in the course.

3 Dominant poles and approximate system response

Now we compare the step response of two systems

  • \(G_1(s) = \dfrac{1}{(s+2)}\)
  • \(G_2(s) = \dfrac{20}{(s+2)(s+20)}\).

Note that both systems are stable type 0 systems with a DC gain of \(0.5\). So, we expect them to settle at a steady state value of \(0.5\).

Figure 2: Step response of \(G_1(s)\) and \(G_2(s)\).

The step responses of both systems are very close. Thus, we can approximate \(G_2(s)\) by \(G_1(s)\). Let’s look at the partial fraction expansion to see what is happening.

  • \(\displaystyle Y_1(s) = \frac{1}{s(s+2)} = \frac{0.5}{s} - \frac{0.5}{s+2}.\)

  • \(\displaystyle Y_2(s) = \frac{20}{s(s+2)(s+20)} = \frac{0.5}{s} - \frac{0.55}{s+2} + \frac{0.055}{s+20}.\)

Note that the first two terms of \(Y_2(s)\) are almost the same as \(Y_1(s)\). Why is the third term \(0.055/(s+20)\) negligible? The factor \(0.055\) is small, but that is not the main reason for the third term to be small. To see what is happening, let’s compute the inverse LTs:

  • \(y_1(t) = [ 0.5 - 0.5 e^{-2t} ] \mathbb{1}(t).\)
  • \(y_2(t) = [0.5 - 0.55 e^{-2t} + 0.055 e^{-20t}.\)

The reason that we can ignore \(0.55/(s+20)\) is that \(e^{-20t}\) decays much faster than \(e^{-2t}\). In particular, at \(t=1\),

  • \(e^{-2t} \approx 0.1353\)
  • \(e^{-20t} \approx 2.06 \times 10^{-9}\).
Figure 3: Decaying exponentials

In this example, we say that in system \(G_2(s)\) the pole at \(p_1 = -2\) dominates the pole at \(p_2 = -20\). In this course, we will follow the heuristic that pole \(p_1\) dominates pole \(p_2\) if \[\begin{equation}\label{eq:dominant-pole} \ABS{\text{Re}(p_2)} \ge 5 \ABS{\text{Re}(p_1)} \end{equation}\]

Dominant pole approximation refers to the approximate system where the dominated poles are removed. In particular, to obtain a dominant pole approximation of a system with poles \(\{p_1, \dots, p_n\}\), we split the poles into two sets \(\mathcal P_d = \{p_1, \dots, p_k\}\) and \(\mathcal P_r = \{p_{k+1}, \dots, p_n\}\) which has the following property: every pole \(p_i\) in \(\mathcal P_d\) dominates every pole \(p_j\) in \(\mathcal P_r\). Then, the dominant pole approximation ignores all the poles in the set \(\mathcal P_r\).

Example 1 Consider the system \[ G_1(s) = \frac{10}{(s+1)(s+2)(s+10)}. \] In this case, the pole at \(-10\) is dominated by both poles \(\{-1,-2\}\). Thus, the pole at \(-10\) can be ignored and the simplified system is \[ \tilde G_1(s) = \frac{1}{(s+1)(s+2)}. \]

Note: Note that we have picked the gain of \(\tilde G_1(s)\) so that \(G_1(s)\) and \(\tilde G_1(s)\) have the same DC gain.

We can confirm this result by comparing the step responses:

Figure 4: Step response of \(G(s)\) and \(\tilde G(s)\) in Example 1

Example 2 Consider the system \[ G_2(s) = \frac{10}{(s+1)(s+4)(s+10)}. \] In this case, we cannot ignore any pole. Note that the pole at \(-1\) does not dominate the pole at \(-4\), and the pole at \(-4\) does not dominate the pole at \(-10\). Thus, we cannot partition the poles into two sets such that one set dominates the other. Thus, the above system cannot be simplied to \[ \tilde G_2(s) = \frac{1}{(s+1)(s+4)}. \] We can confirm this result by comparing the step responses:

Figure 5: Step response of \(G(s)\) and \(\tilde G(s)\) in Example 2

Wait what? Why is Figure 4 a good approximation while Figure 5 is not? Both of them look equally good or bad. This example highlights that we have to be careful with interpretting the dominant pole approximation heuristic. It says that if \(\eqref{eq:dominant-pole}\) is satisfied then we expect the approximate system to behave the same as the original system. If \(\eqref{eq:dominant-pole}\) is not satisfied, then there might be instances where the approximate system is different from the original system. For example, let’s consider: \[ G_1(s) = \frac{10}{( (s+2)^2 + 4^2 )(s + 10) } \stackrel{?}{\approx} \tilde G_1(s) = \frac{1}{((s+2)^2 + 4^2)} \] versus \[ G_2(s) = \frac{10}{( (s+4)^2 + 8^2 )(s + 10) } \stackrel{?}{\approx} \tilde G_2(s) = \frac{1}{((s+4)^2 + 8^2)} \] The dominant pole approximation heuristic says that the first approximation should a good approximation while the second may not be. We plot the two step responses to evalaute:

Figure 6: Checking the quality of approximations

4 High-level system design idea

In the next few weeks, we will learn techniques to design system controllers so that we can place the poles of a closed loop system at any desired location. But how do we choose where we want to place the poles of the closed loop system?

Of course, the first objective is to make sure that the closed loop system is stable. However, a practical design goes beyond stability. Suppose we are designing the cruise controller of a car and have an option of the following three controllers.

Figure 7: Step responses of three different systems

It is clear from the above plots that the transient response of the system matters as well. For a higer order system, finding the relationship between the location of the poles and the transient response can be difficult. To circumvent this difficulty, our general design philosophy will be as follows:

  • We will first understand the relationship between the location of the poles and the transient behavior of a first and second order system.
  • Later, when it comes to system design, we will place the poles of the closed loop system such that the dominant pole approximation of the system is equivalent to a second order system.

5 Time response of first order systems

A general first order system is of the form \[ \dfrac{dy(t)}{dt} + a y(t) = b u(t). \] By inspection, we know that the transfer function is \[ \frac{b}{s+a} = \frac{b}{a} \cdot \frac{a}{s+a} = K \dfrac{a}{s+a}. \]

Examples of first order systems include circuits with only one energy storage element, e.g., an RC circuit or an RL circuit or a DC-motor when mechanical aspects such as friction and inertia are also considered.

The step response of a first order system is shown below.

Figure 8: A general first order system
(a)
(b)
Figure 9: Step response of a first order system for different values of the parameters

We can compute the step response by the usual partial fraction expansion: \[ Y(s) = K \frac{a}{s+a} = K \biggl[ \frac{1}{s} - \frac{1}{s+a}\biggr]. \] Taking inverse LTs, we get: \[ y(t) = K \bigl[ 1 - e^{-at} \bigr] \mathbb{1}(t). \]

5.1 Important characteristics of the step response

The response of a first order system has the following features:

  • There is no overshoot
  • The initial slope (at \(t=0\)) is non-zero and equal to \(a\).

5.1.1 Time constant \(τ\)

  • The parameter \(τ = 1/a\) is called the time constant of a first order system.
  • The intial slope of the step response is \(a\) (i.e., \(1/τ\)).
  • At \(t=τ\), \(c(τ) = K(1-e^{-1}) \approx 63\%\) of final value.

5.1.2 Rise time \(T_r\)

  • The rise time, denoted by \(T_r\) is the time to go from \(10\%\) to \(90\%\) of the final value.

  • To find time \(t_1\) when the response reaches \(10\%\) of the final value: \[ c(t_1) = 1 - e^{-a t_1} = 0.1 \implies t_1 = \frac{0.11}{a}. \]

  • Similarly, to find time \(t_2\) when the response reaches \(90\%\) of the final value: \[ c(t_2) = 1 - e^{-a t_2} = 0.9 \implies t_2 = \frac{2.31}{a}. \]

  • Thus, \[ \bbox[5pt,border: 1px solid]{T_r = \frac{2.31}{a} - \frac{0.11}{a} = \frac{2.2}{a}} \]

5.1.3 Settling time \(T_s\)

  • The (2%) setting time is the time required for the step response to reach 2% of its final value.

  • To find \(T_s\), we solve \[ (1-e^{-a T_s}) = 0.98 \implies \bbox[5pt,border: 1px solid]{T_s = \frac 4a} \]

Example 3 Consider the TF \(G(s) = \dfrac{100}{s+50}\). Identify the time constant \(τ\), rise time \(T_r\), and settling time \(T_s\).

We start by writing the TF in standard form: \[ G(s) = 2 \frac{50}{s+50}. \] Comparing from the standard form, we have \(K=2\) and \(a=50\). Thus,

  • \(τ = \dfrac{1}{a} = 0.02\).
  • \(T_r = \dfrac{2.2}{a} = 2.2 τ = 0.044\) s.
  • \(T_s = \dfrac{4}{a} = 4 τ = 0.08\) s.

6 Identifying a first-order system via testing

In many applications, we may not know the TF of a system and may need to identify the TF from the measurements of the step response. We will do such an experiment in Lab 3. In such cases, we can identify that the system is first order from the following features:

  • no overshoot
  • non-zero initial slope.

For a first order system, we need to identify two parameters: \(K\) and \(a\).

  • The gain \(K\) is equal to the final value of the step response.
  • To identify \(a\), we identify the time constant \(τ=1/a\) as the time where the step response is \(0.63K\).

Then, the TF is \[ G(s) = K \frac{a}{s+a}. \]

Example 4 Identify the transfer function from the following step response

Since there is no overshoot and the initial slope is non-zero, this is the step response of a first order system.

  • The final DC value of response is \(2.5\). Thus, \(K = 2.5\).
  • Now we search for the time when the response is \(0.63K = 1.575\) which happens around \(τ=0.25\). Thus, \(a = 1/τ = 4\).

Hence \(G(s) = K \dfrac{a}{s+a} = \dfrac{10}{s+4}\).

7 Types of second order systems

A general second order system is of the form \[ \frac{d^2 y(t)}{dt^2} + a_1 \frac{d y(t)}{dt} + a_0 y(t) = b_0 u(t). \] By inspection, we know that the transfer function is \[ G(s) = \frac{b_0}{s^2 + a_1 s + a_0} = K \frac{ω_n^2}{s^2 + 2 ζ ω_n s + ω_n^2} \] where \(K\) is called the gain, \(ω_n\) is called the natural frequency and \(ζ\) is called the damping coefficient.

Examples of second order system include circuits with two energy storage elements such as an RCL circuit or a DC-motor with voltage as an input and angular position as the output when the mechanical aspects such as inertia and friction are ignored.

The step response of a second order system is illustrated below in Figure 10. When \(ζ < 0\), the system is unstable and we will not discuss that case. When \(ζ \ge 0\), we observe four types of behavior depending on the value of \(ζ\). These are called the categories of a second order system:

  1. Undamped \(ζ = 0\), in which case the poles are at \(\pm j ω_n\).
  2. Underdamped \(0 < ζ < 1\), in which case the poles are at \(-ω_n( ζ \pm j\sqrt{1 - ζ^2}).\)
  3. Critically damped \(ζ = 1\), in which case there is a double pole at \(-ω_n\).
  4. Overdamped \(ζ > 1\), in which case the poles are at \(-ω_n(ζ \pm \sqrt{ζ^2 - 1}).\)

Figure 10 illustrates the impact of the damping coefficient on the location of the poles:

(a)
(b)
Figure 10: Step response as a function of damping coefficient

Exercise 2 Indentify the category of the following second order systems:

  1. \(\dfrac{12}{s^2 + 8s + 12}.\)
  2. \(\dfrac{16}{s^2 + 8s + 16}\).
  3. \(\dfrac{20}{s^2 + 8s + 20}\).
  1. \(ζ = \dfrac{8}{2\sqrt{12}} \approx 1.1547\). Thus, the system is overdamped.
  2. \(ζ = \dfrac{8}{2\sqrt{16}} = 1\). Thus, the system is critically damped.
  3. \(ζ = \dfrac{8}{2\sqrt{20}} \approx 0.8944\). Thus, the system is underdamped.

8 Step response of undamped second order system

For \(ζ = 0\), the TF is \[ G(s) = K \frac{ω_n^2}{s^2 + ω_n^2} = K \frac{ω_n^2}{ (s+j ω_n)(s - j ω_n) }. \]

This would correspond to a LC circuit (without resistance) or a spring mass system (without damping). These are idealized models, so the step response is mainly for academic interest. Although we derive the step response below, we will not investigate the undamped system in this course.

To find the step response, we observe the following formula from the LT tables: \[ \dfrac{a^2 + b^2}{s( (s+a)^2 + b^2 )} \xleftrightarrow{\quad \mathcal L\quad} \biggl[ 1 - e^{-at}\bigg( \cos bt + \frac{a}{b}\sin bt \biggr) \biggr]. \IND(t) \]

Choosing \(a = 0\) and \(b = ω_n\), we get \[ K \frac{1}{s} \cdot \frac{ω_n^2}{s^2 + ω_n^2} \xleftrightarrow{\quad \mathcal L\quad} K [1 - \cos ω_n t] \IND(t). \]

Figure 11: Step response of undamped system

9 Step response of underdamped second order system

For the case when \(0 < ζ < 1\), we can write the TF as \[ G(s) = \frac{ω_n^2}{s^2 + 2 ζ ω_n s + ω_n^2} = \frac{σ^2 + ω_d^2}{(s+σ)^2 + ω_d^2} \] where \(σ = ζ ω_n\) and \(ω_d = \sqrt{1 - ζ^2} ω_n\). Note that we have \[ σ^2 + ω_d^2 = ω_n.\] The parameter \(ω_n\) is called the natural frequency. It is the frequency at which the system will oscillate when there is no damping. The parameter \(ω_d\) is called the damped frequency. As we will show below, it is the frequency at which the damped system oscillates.

The system has two complex conjugate roots. In cartesian coordinates, these roots are at \(-σ \pm j ω_d\), while in polar coordinates they are at \(ω_n e^{\pm j(π/2 + φ)}\), where \(\phi = \sin^{-1}ζ\). The relationship between the different quantities is shown in Figure 12.

Figure 12: Relationship between different quantities for a second order system

To find the step response, we again recall the following LT formula from the LT tables: \[ \dfrac{a^2 + b^2}{s( (s+a)^2 + b^2 )} \xleftrightarrow{\quad \mathcal L\quad} \biggl[ 1 - e^{-at}\bigg( \cos bt + \frac{a}{b}\sin bt \biggr) \biggr]. \IND(t) \] Taking \(a = σ\) and \(b = ω_d\), we get that the step response is \[\begin{align*} y(t) &= K \biggl[ 1 - e^{-σt} \biggl(\cos ω_d t + \frac{σ}{ω_d} \sin ω_d t\biggr)\biggr] \IND(t) \\ &= K \biggl[ 1 - \frac{1}{\sqrt{1 - ζ^2}} e^{-σ t} \cos(ω_dt - \phi) \biggr] \IND(t) \end{align*}\] where as before \(φ = \sin^{-1} ζ\).

9.1 Important characteristics of the step response

Figure 13: Step response of underdamped system for \(ζ = 0.5\)

The response of an underdamped second order system has the following features:

  • The initial slope (at \(t=0\)) is zero.

  • The output oscillates at frequency \(ω_d\). It overshoots and then settles back to the final DC value of \(K\).

  • The maximum peak, denoted by \(M_p\) is the maximum value of the step response.

  • Rather than working with maximum peak, we often use percentage overshoot which is defined as \[\% {\rm OS} = \frac{M_p - K}{K} × 100\] which does not depend on the gain \(K\). We will show that \[ \bbox[5pt,border: 1px solid] {\% {\rm OS} = e^{-π ζ/\sqrt{1 - ζ^2}} × 100 = e^{-π σ/ω_d} × 100} \] where the last equality uses the fact that \(ζ/\sqrt{1-ζ^2} = σ/ω_d\). We often use this relationship in the reverse, i.e., \[ ζ = \frac{- \ln(\%{\rm OS}/100)}{\sqrt{π^2 + \ln^2(\%{\rm OS}/100)}}. \]

  • The time needed to reach the maximum overshoot is called peak time and denoted by \(T_p\). We will show that \[ \bbox[5pt,border: 1px solid] {T_p = \frac{π}{ω_d} = \frac{π}{ω_n \sqrt{1 - ζ^2}}} \]

  • The time after which the system stays within \(Δ\%\) of the final value is called the \(Δ\%\) settling time and denoted by \(T_s(Δ\%)\). We will show that

    • \(T_s(1\%) = \dfrac{4.6}{σ}\)
    • \(T_s(2\%) = \dfrac{4}{σ}\)
    • \(T_s(5\%) = \dfrac{3}{σ}\).
  • The time required for the response to go from \(0.1\) of the final value to \(0.9\) of the final value is called rise time and denoted by \(T_r\). It is difficult to get a closed form expression for \(T_r\). It can be verified numerically that \(ω_n T_r\) is approximately a constant that depends on \(ζ\). So we approximately compute \(T_r\) from a look-up table using interpolation:

    Table 1: \(ω_n T_r\) as a function of \(ζ\)
    \(ζ\) 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
    \(ω_n T_r\) 1.104 1.203 1.321 1.463 1.638 1.854 2.216 2.467 2.883
  1. At \(T_p\), we should have \(dy(t)/dt = 0\). Recall that \[ y(t) = K \biggl[ 1 - e^{-σt} \biggl(\cos ω_d t + \frac{σ}{ω_d} \sin ω_d t\biggr)\biggr] \IND(t) \] Thus, \[\begin{align*} \frac{dy(t)}{dt} &= K σ e^{-σt} \left( \cancel{\cos ω_d t} + \frac{σ}{ω_d} \sin ω_d t\right) \\ &\quad - K e^{-σt}( -ω_d \sin ω_d t + \cancel{σ \cos ω_d t} ) \\ &= K e^{-σt} \left[ \frac{σ^2}{ω_d} + ω_d \right] \sin ω_d t \end{align*}\] For \(dy(t)/dt = 0\), we must have \[ ω_d t = n π, \quad n \in \mathbb{N}. \] From the step response, we can see that the first peak is the highest. So, we pick \(n=1\) and thus, \[ T_p = \frac{π}{ω_d}. \]

  2. Now, for \(K=1\), we have \[\begin{align*} \%{\rm OS} &= y(T_p) - 1 \\ &= -e^{-σt}\biggl( \underbrace{\cos ω_d T_p}_{=-1} + \frac{σ}{ω_d} \underbrace{\sin ω_d t}_{=0} \biggr) \\ &= e^{-σ T_p} = e^{-π σ / ω_d } \end{align*}\]

  3. For the derivation of the setting time, we use the other form of \(y(t)\): \[ y(t) = K \biggl[ 1 - \frac{1}{\sqrt{1 - ζ^2}} e^{-σ t} \cos(ω_dt - \phi) \biggr] \IND(t) \] For simplicity, we simply consider the envelop \[ \bar y(t) = K \biggl[ 1 - \frac{e^{-σ t}}{\sqrt{1 - ζ^2}} \biggr] \] and consider the value of \(T_s\) such that \(\bar y(T_s) = 0.98K\). This is equivalent to \[ \frac{e^{-σ T_s}{\sqrt{1 - ζ^2}} = 0.02. \] Thus, \[T_s = \frac{- \ln(0.02 \sqrt{1 - ζ^2})}{σ}.\] We observe that as \(ζ\) varies from \(0.1\) to \(0.9\), \(T_s\) varies from \(3.91/σ\) to \(4.72/σ\). For simplicity, we choose \(T_s = 4/σ\).

Example 5 Consider the TF \[ G(s) = \frac{100}{s^2 + 15s + 100}. \] Find \(T_p\), \(\%{\rm OS}\), \(T_s(2\%)\), and \(T_r\).

From inspection, we get that \(ω_n^2 = 100\) and \(2 ζ ω_n = 15\). Thus, \(ω_n = 10\) and \(ζ = 0.75\). Then we have

  • \(T_p = \dfrac{π}{ω_d} = 0.475\).
  • \(\%{\rm OS} = \exp\biggl(-\dfrac{π σ}{ω_d}\biggr) × 100 = 2.28\%\).
  • \(T_s(2\%) = \dfrac{4}{σ} = 0.533\) sec.
  • From Table 1, we get that for \(ζ = 0.75\), \(ω_n T_r \approx (2.216 + 2.467)/2 = 2.3415\). Thus, \(T_r = 2.3415/ω_n = 0.23415\) sec.

10 Features of time response in terms of location of poles

10.1 Same damped frequency

The peak time depends on the damped frequency. So, if we change \(σ\) while keeping \(ω_d\) fixed, the peak time of the system remains the same.

(a)
(b)
Figure 14: Step response of a second order system for fixed \(ω_d\) and different values \(σ\).

10.2 Same \(σ\)

The settling time depends on \(σ\). So, if we change \(ω_d\) while keeping \(σ\) fixed, the settling time of the system remains the same.

(a)
(b)
Figure 15: Step response of a second order system for fixed \(ζ\) and different values \(ω_n\).

10.3 Same damping coefficient

The peak overshoot depends on the damping coefficient. So, if we change \(ω_n\) keeping \(ζ\) constant, the peak overshoot (and therefore percentage overshoot) remains the same.

(a)
(b)
Figure 16: Step response of a second order system for fixed \(ω_d\) and different values \(σ\). The red dot shows the peak of the step response.

Exercise 3 For a generic second order system, where should the poles lie in the \(s\)-plane to meet the following specifications:

  • \(\%{\rm OS} \le 10\%\)
  • \(T_s (2\%) \le 4\) sec.

The \(\%{\rm OS}\) depends only on the damping coefficient \(ζ\). The values of \(ζ\) for which \(\%{\rm OS} \le 10\%\) is given by \(ζ \ge ζ_\circ\) where \[ ζ_\circ = \frac{-\ln(\%{\rm OS})}{\sqrt{π^2 + \ln^2(\%{\rm OS}/100)}} = 0.5912. \] Thus, the angle \(φ\) of the poles from the \(j ω\) axis should be \(φ \ge φ_\circ\), where \(φ_\circ = \sin^{-1}(ζ_\circ) = 36.23^∘\). This is shown in Figure 17.

The settling time \(σ\) only depends on the coefficient \(σ\). The values of \(σ\) for which \(T_s \le 4\) is given by \(σ \ge σ_\circ\) where \[ σ_\circ = \frac{4}{T_s} = 1. \] This is shown in Figure 17.

The region where both specs are active is the intersection of these two regions.

Figure 17: Location of poles that meet the specifications

11 Identifying an underdamped second order system via testing

A second order underdamped system has two characteristics:

  • Oscillatory overshoots (can be hard to see for \(ζ\) close to 1)
  • Zero initial slope.

Note that all underdamped higher order systems share these characteristics, so it can be sometimes hard to distinguish a second order system from a higher order system.

For a second order system, we need to identify three parameters: \(K\), \(ω_n\) and \(ζ\).

  • The gain \(K\) is equal to the final value of the step response.
  • To find \(ω_n\) and \(ζ\), we need to find two out the three features: peak time, percentage overshoot, and setting time. Using these features, we can identify \(ω_n\) and \(ζ\).

Then, the TF is given by \[ G(s) = K \frac{ω_n^2}{s^2 + 2 ζ ω_n s + ω_n^2}. \]

Example 6 Identify the transfer function from the following step response

From the step response, we can infer that this is the step response of an underdapmper second order system, which in general is of the form: \[ G(s) = K \frac{ω_n^2}{s^2 + 2 ζ ω_n s + ω_n^2}. \]

We now identify the parameters:

  • The final DC value of the response is \(2\). Thus, \(K = 2\).

  • From the plot, we see that \(T_p \approx 0.75\). Thus, \[ ω_d = \frac{π}{T_p} = 4.188. \]

  • From the plot, we see that \(y_{\text{max}} = 2.4\). We have already identified that \(y_{\text{final}} = 2\). Thus, \[ \% {\rm OS} = \frac{y_{\text{max}} - y_{\text{final}}}{y_{\text{final}}} \times 100 = 20\% \] The formula for \(\%{\rm OS}\) can be written as \[ \%{\rm OS} = \exp(-σ T_p) \times 100 \]

    Inverting the formula, we get \[ σ = \frac{-\ln(\%{\rm OS}/100)}{T_p} = 2.146 \]

    Thus, \[ ω_n^2 = σ^2 + ω_d^2 = 22.151 \]

Hence, the transfer function is \[ G(s) = 2 \frac{22.151}{s^2 + 4.21s + 22.151} = \frac{44.302}{s^2 + 4.21s + 22.151}. \]

To confirm, we plot the step response of the above system below. The plotted response is almost identical to the given response.

using ControlSystems, Plots

G = tf([44.302],[1,4.21,22.151])

T = 6 

plt = plot(size=(600,300), gridalpha=0.75, minorgridalpha=0.25)
plot!(plt, step(G, T))

12 Impact of zeros

In the characterization of the step response of a second order underdamped system above, we assumed that the system had no zeros. The presence of a zero leads to more oscillations and the exact behavior depends on whether the zero is in the left-hand place (called minimum phase system) or right-hand plane (called non-minimum phase system), which we discuss below.

The impact of zeros means that we will not be able to execute our high-level idea of controller design because we cannot control the zeros of a closed loop system. So, in practice, we need to verify the control design via simulations to make sure that the specs are satisfied.

12.1 Impact of zero in the left-hand plane (minimum-phase system)

To undersand this, we compare the response of two systems \[ \dfrac{8}{s^2 + 4s + 8} \quad\hbox{vs}\quad 8 \cdot \dfrac{1+\frac{s}{z}}{s^2 + 4s + 8} \]

(a)
(b)
Figure 18: Step response of a seocnd order system for different values zero. The orange curve shows the step response of a system without zero and the blue curve shows the step response of the system with zeros.

The above example shows that the presence of a zero in the LHP leads to more overshoot and as the zero moves away from the dominant pole, the response approaches that of a system with no zeros. To understand why this is the case, we can view the system as \[ G(s) = K \frac{ω_n^2 (1 + \frac{s}{z})}{s^2 + 2 ζω_n^2 + ω_n^2} = K \frac{ω_n^2}{s^2 + 2 ζω_n^2 + ω_n^2} + K \frac{ω_n^2}{s^2 + 2 ζω_n^2 + ω_n^2} \cdot \frac{s}{z} \eqqcolon G_1(s) + G_1(s) \frac{s}{z} \] where \(G_1(s)\) is the standard second-order system without a zero. Thus, the step response of the system is \[ Y(s) = U(s) G(s) = U(s) G_1(s) + U(s) G_1(s) \frac{s}{z} = Y_1(s) + Y_1(s) \frac{s}{z} \] where \(Y_1(s)\) is the step response of the TF with no zeros. Hence, \[ y(t) = y_1(t) + \frac{1}{z} \frac{dy_1(t)}{dt}. \] Since \(y_1(t)\) is increasing for small \(t\), the derivative \(dy_1(t)/dt\) is positive and therefore the second term leads to a faster and larger overshoot.

The above formula also shows that when \(z\) is large, then \(y(t) \approx y_1(t)\).

12.2 Impact of zero in the right-hand plane (non-minimum-phase system)

To understand this, we compare the response of two systems \[ \dfrac{8}{s^2 + 4s + 8} \quad\hbox{vs}\quad 8 \cdot \dfrac{1-\frac{s}{z}}{s^2 + 4s + 8} \]

(a)
(b)
Figure 19: Step response of a seocnd order system for different values zero. The orange curve shows the step response of a system without zero and the blue curve shows the step response of the system with zeros.

The above example shows that a zero in the RHP leads to undershoot and as the zero moves to infinity, the response approaches that of a system with no zeros.

To understand why this is the case, we can follow the same analysis as for the minimal phase system to conclude that \[ y(t) = y_1(t) - \frac{1}{z} \frac{dy_1(t)}{dt}. \] Since \(y_1(t)\) is increasing for small \(t\), the derivative \(dy_1(t)/dt\) is positive and therefore the second term leads to an undershoot. The above formula also shows that when \(z\) is large, then \(y(t) \approx y_1(t)\).

13 Step response of critically damped second order system

For \(ζ = 1\), the TF is given by \[ G(s) = \frac{ω_n^2}{(s+ω_n)^2}. \] From the LT tables, we get that \[ y(t) = [ 1 - e^{-ω_n t}(1 + ω_n t) ] \IND(t). \]

Critically damped systems have the fastest settling time among all second order system. The response can be visually differentiated from that of a second order system by noticing that the initial slope (at \(t=0\)) is zero.

Figure 20: Step response of critically system for \(ζ = 1.0\).

14 Step response of overdamped second order system

For \(ζ > 1\), the system has two poles at \[ p_1 = ω_n(ζ + \sqrt{ζ^2 - 1}) \quad\text{and}\quad p_2 = ω_n(ζ - \sqrt{ζ^2 - 1}). \]

The TF can be written as \[ G(s) = \frac{ω_n^2}{(s+p_1)(s+p_2)}.\]

Using partial fraction expansion, we can show that \[ Y(s) = \frac{1}{s}\cdot G(s) = \frac{1}{s} - \frac{ω_n^2}{2 (p_1 - p_2)} \biggl[ \frac{1/p_1}{s+p_1} + \frac{1/p_2}{s+p_2} \biggr]. \] Therefore, \[ y(t) = \biggl[ 1 - \frac{ω_n^2}{2\sqrt{ζ^2 - 1}} \biggl( \frac{1}{p_1} e^{-p_1t} + \frac{1}{p_2} e^{-p_2t} \biggr) \biggr] \IND(t). \]

Figure 21: Step response of overdamped system for \(ζ = 1.5\).