System Dynamics

Second-order systems in transient response

Second-order systems have input-output differential equations of the form \[\label{eq:ioode_second_order} \dfrac{d^2 y} {dt^2} + 2 \zeta \omega_n \dfrac{dy} {dt} + \omega_n^2 y = f(t)\] where \(\omega_n\) is called the natural frequency, \(\zeta\) is called the (dimensionless) damping ratio, and \(f\) is a forcing function that depends on the input \(u\) as \[\begin{aligned} f(t) = b_2\dfrac{d^2 u} {d t^2} + b_1\dfrac{d u} {d t} + b_0 u. \end{aligned}\] Systems with two energy storage elements—such as those with an inertial element and a spring-like element—can be modeled as second-order.

For distinct roots (\(\lambda_1\ne\lambda_2\)), the homogeneous solution is, for some real constants \(\kappa_1\) and \(\kappa_2\), \[\label{eq:homo2} y_h(t) = \kappa_1 e^{\lambda_1 t} + \kappa_2 e^{\lambda_2 t}\] where \[\label{eq:lambda2} \lambda_1 \text{, } \lambda_2 = -\zeta \omega_n \pm \omega_n \sqrt{\zeta^2 - 1}.\]

Free response

The free response \(y_{\textnormal{fr}}\) is found by applying initial conditions to the homogeneous solution. With initial conditions \(y(0)\) and \(\dot{y}(0) = 0\), the free response is \[\begin{aligned} \label{eq:homo3} y_\text{fr}(t) = y(0) \dfrac{1} {\lambda_2-\lambda_1} \left( \lambda_2 e^{\lambda_1 t} - \lambda_1 e^{\lambda_2 t} \right). \end{aligned}\] There are five possibilities for the location of the roots \(\lambda_1\) and \(\lambda_2\), all determined by the value of \(\zeta\).

\(\zeta \in (-\infty,0)\): unstable

This case is very undesirable because it means our system is unstable and, given any nonzero input or output, will explode to infinity.

\(\zeta = 0\): undamped

An undamped system will oscillate forever if perturbed from zero output.

\(\zeta \in (0,1)\): underdamped

Roughly speaking, underdamped systems oscillate, but not forever. Let’s consider the form of the solution for initial conditions and no forcing. The roots of the characteristic equation are \[\label{eq:second-order-lambda} \lambda_1 \text{, } \lambda_2 = -\zeta \omega_n \pm j \omega_n \sqrt{1 - \zeta^2} = -\zeta \omega_n \pm j \omega_d\] where the damped natural frequency \(\omega_d\) is defined as \[\omega_d \equiv \omega_n \sqrt{1-\zeta^2}.\] From Equation  for the free response, using Euler’s formulas to write in terms of trigonometric functions, and the initial conditions \(y(0)\) and \(\dot{y}(0) = 0\), we have \[\begin{aligned} \label{eq:underdamped_response} y_\text{fr}(t) = y(0) \dfrac{e^{-\zeta \omega_n t}}{\sqrt{1-\zeta^2}} \cos (\omega_d t + \psi) \end{aligned}\] where the phase \(\psi\) is \[\psi = -\arctan\dfrac{\zeta} {\sqrt{1-\zeta^2}}.\] This is an oscillation that decays to the value it oscillates about, \(y(t)|_{t\rightarrow\infty}=0\). So any perturbation of an underdamped system will result in a decaying oscillation about equilibrium.

\(\zeta = 1\): critically damped

In this case, the roots of the characteristic equation are equal: \[\lambda_1 = \lambda_2 = -\omega_n\] So we must modify with a factor of \(t\) for the homogeneous solution. The free response for initial conditions \(y(0)\) and \(\dot{y}(0) = 0\), we have \[\begin{aligned} y_\text{fr}(t) = y(0) \left ( 1 + \omega_n t \right ) e^{-\omega_n t}. \end{aligned}\] This decays without oscillation, but just barely.

\(\zeta \in (1,\infty)\): overdamped

Here the roots of the characteristic equation are distinct and real. From Equation  with free response to initial conditions \(y(0)\) and \(\dot{y}(0) = 0\), we have the sum of two decaying real exponentials. This response will neither overshoot nor oscillate—like the critically damped case—but with even less gusto.

figure 6.2 displays the free response results. Note that a small damping ratio results in overshooting and oscillation about the equilibrium value. In contrast, large damping ratio results in neither overshoot nor oscillation. However, both small and large damping ratios yield responses that take longer durations to approach equilibrium than damping ratios near unity. In terms of system performances, there are tradeoffs on either side of \(\zeta=1\). Slightly less than one yields faster responses that overshoot a small amount. Slightly greater than one yields slower responses less prone to oscillation.

Free response y_\text{fr}(t) of a second-order system with initial conditions y(0) and \dot{y}(0)=0 for different values of \zeta. Underdamped, critically damped, and overdamped cases are displayed.
Figure 6.2: Free response yfr(t) of a second-order system with initial conditions y(0) and (0) = 0 for different values of ζ. Underdamped, critically damped, and overdamped cases are displayed.

Step response

Second-order systems are subjected to a variety of forcing functions \(f\). In this lecture, we examine a common one: step forcing. In what follows, we develop forced response \(y_{\textnormal{fo}}(t)\) solutions.

Unit step forcing of the form \(f(t) = u_s(t)\), where \(u_s\) is the unit step function, models abrupt changes to the input. The solution is found by applying zero initial conditions (\(y(0) = 0\) and \(\dot{y}(0) = 0\)) to the general solution. If the roots of the characteristic equation \(\lambda_1\) and \(\lambda_2\) are distinct, the forced response is \[\begin{aligned} \label{eq:forced2} y_\text{fo}(t) = \dfrac{1} {\omega_n^2} \left( 1 - \dfrac{1} {\lambda_2-\lambda_1} \left( \lambda_2 e^{\lambda_1 t} - \lambda_1 e^{\lambda_2 t} \right) \right) \end{aligned}\] where \[\label{eq:lambda3} \lambda_1 \text{, } \lambda_2 = -\zeta \omega_n \pm \omega_n \sqrt{\zeta^2 - 1}.\] Once again, there are five possibilities for the location of the roots of the characteristic equation \(\lambda_1\) and \(\lambda_2\), all determined by the value of \(\zeta\). However, there are three stable cases: underdamped, critically damped, and overdamped.

\(\zeta\in(0,1)\) underdamped

In this case, the roots are distinct and complex: \[\lambda_1 \text{, } \lambda_2 = -\zeta \omega_n \pm j \omega_d.\] From , the forced step response is \[\begin{aligned} y_{\textnormal{fo}}(t) = \dfrac{1} {\omega_n^2} \left ( 1 - \dfrac{e^{-\zeta \omega_n t}}{\sqrt{1-\zeta^2}} \cos(\omega_d t + \psi) \right ) \end{aligned}\] where the phase \(\psi\) is \[\psi = -\arctan\dfrac{\zeta} {\sqrt{1-\zeta^2}}.\] This response overshoots, oscillates about, and decays to \(1/\omega_n^2\).

\(\zeta=1\) critically damped

The roots are equal and real: \[\lambda_1 \text{, } \lambda_2 = -\omega_n\] so the forced step of must be modified; it reduces to \[\begin{aligned} y_{\textnormal{fo}}(t) = \dfrac{1} {\omega_n^2} \left ( 1 - e^{-\omega_n t} (1+\omega_n t) \right ). \end{aligned}\] This response neither oscillates nor overshoots its steady-state of \(\dfrac{1} {\omega_n^2}\), but just barely.

\(\zeta\in(1,\infty)\) overdamped

In this case, the roots are distinct and real, given by . The forced step given by is the sum of two decaying real exponentials. These responses neither overshoot nor oscillate about their steady-state of \(1/\omega_n^2\). With increasing \(\zeta\), approach to steady-state slows.

figure 6.3 displays the forced step response results. These responses are inverted versions of the free responses of . Note that a small damping ratio results in overshooting and oscillation about the steady-state value. In contrast, large damping ratio results in neither overshoot nor oscillation. However, both small and large damping ratios yield responses that take longer durations to approach equilibrium than damping ratios near unity. For this reason, the damping ratio of a system should be close to \(\zeta=1\). There are tradeoffs on either side of one. Slightly less yields faster responses that overshoot a small amount. Slightly greater than one yields slower responses less prone to oscillation.

Forced step response y_\text{fo}(t) of a second-order system for different values of \zeta. Underdamped, critically damped, and overdamped cases are displayed.
Figure 6.3: Forced step response yfo(t) of a second-order system for different values of ζ. Underdamped, critically damped, and overdamped cases are displayed.

Impulse and ramp responses

The response to all three singularity inputs are included in table 6.2. These can be combined with the free response of using superposition.

An example with superposition

The results of the above are powerful not so much in themselves, but when they are wielded with the principle of superposition, as the following example shows.

Example 6.2

In magnetic resonance force microscopy (MRFM), the primary detector is a small cantilever beam with a magnetic tip. Model the beam as a spring-mass-damper system with mass m = 6 pg,1 spring constant k = 15 mN/m, and damping coefficient B = 37.7 ⋅ 10−15 Ns/m. Magnetic input forces on the beam u(t) are applied directly to the magnetic tip. That is, a Newtonian force-analysis yields the input-output ODE $$\begin{aligned} m \ddot{y} + B \dot{y} + k y = u, \end{aligned}$$ where y models the motion of the tip.

  1. What is the natural frequency ωn?

  2. What is the damping ratio ζ?

  3. Find the free response for initial conditions y(0) = 10 nm and (0) = 0.

  4. Find the impulse (forced) response for input u(t) = 3δ(t).

  5. Find the total response for the initial condition and forcing, from above, are both applied.


  1. One pg = 10−12g = 10−15kg.↩︎

  1. Rewrite the differential equation in standard form: $$\begin{aligned} \ddot{y} + \dfrac{B} {m} \ddot{y} + \dfrac{k} {m} y &= \frac{1} {m} u \\ \ddot{y} + 2\zeta\omega_n \ddot{y} + \omega_n^2 y &= \frac{1} {m} u \end{aligned}$$ Equate the coefficients: $$\begin{aligned} \dfrac{B} {m} = 2\zeta\omega_n \quad \text{and} \quad \dfrac{k} {m} = \omega_n^2. \end{aligned}$$ Solving for ωn, $$\begin{aligned} \omega_n = \sqrt{\dfrac{k} {m}} = 62.8\text{ krad/s}. \end{aligned}$$

  2. Solving for ζ, $$\begin{aligned} \zeta &= \dfrac{B} {2\omega_n m} \\ &= \dfrac{B} {2 m \sqrt{k}/\sqrt{m}} \\ &= \dfrac{B} {2\sqrt{k m}} = 0.00005. \end{aligned}$$ This is very underdamped.

  3. Superposition and tables. Don’t forget about 1/m.

Online Resources for Section 6.3

No online resources.