BIOE 205

Lecture 14

Reading material: Chapter 7 and 9 of CSSB

In the last lecture we talked about using the Laplace transform to solve convolutions, ODEs, and IVPs and along the way we encountered partial fraction expansions. In this lecture we take a detailed look at second order systems and associated theory along with an applet/demonstration. Finally we will also start our introduction to Simulink.

  1. Second order systems
  2. Simulink

Second order systems

Recall that the prototypical second order system is represented by the transfer function:

H(s)=ωn2s2+2ζωns+ωn2,\begin{aligned} H(s) &= \frac{\omega^2_n}{s^2 + 2\zeta\omega_n s + \omega^2_n}, \end{aligned}

where

By the quadratic formula we get that the denominator has roots (called poles):

s=ζωn±ωnζ21 s = - \zeta \omega_n \pm \omega_n \sqrt{\zeta^2 - 1}

Therefore the nature of the poles depend on ζ\zeta.

Let us consider the underdamped case. For the underdamped system the roots are:

s=ζωn±jωn1ζ2=σ±jωd\begin{aligned} s &= -\zeta \omega_n \pm j \omega_n \sqrt{1 - \zeta^2} \\ &= -\sigma \pm j \omega_d \end{aligned}

we can plot the complex valued poles in the complex plane as follows:

If we compute the time domain system response to an impulse we get:

h(t)=L1{H(s)}(by definition of transfer function)=L1{ωn2s2+2ζωns+ωn2}=L1{ωn2(s+σ)2+ωd2}(by the above underdamped poles)=L1{(ωn2/ωd)ωd(s+σ)2+ωd2}=ωn2ωdeσtsin(ωdt)(by transform tables)\begin{aligned} h(t) &= \mathcal{L}^{-1}\{ H(s)\} \qquad \qquad \qquad \quad \textrm{(by definition of transfer function)}\\ &= \mathcal{L}^{-1}\left\{ \frac{\omega^2_n}{s^2 + 2\zeta\omega_n s + \omega^2_n} \right\}\\ &= \mathcal{L}^{-1}\left\{ \frac{\omega^2_n}{(s+\sigma)^2 + \omega^2_d} \right\} \qquad \textrm{(by the above underdamped poles)} \\ &= \mathcal{L}^{-1}\left\{ \frac{(\omega^2_n/\omega_d)\omega_d}{(s+\sigma)^2 + \omega^2_d} \right\} \\ &= \frac{\omega^2_n}{\omega_d}e^{-\sigma t}\sin(\omega_d t) \quad \qquad \qquad \textrm{(by transform tables)} \end{aligned}

and that to a step response as:

y(t)=L1{Y(s)}=L1{H(s)s}=L1{σ2+ωd2s[(s+σ)2+ωd2]}(from plot above)=1eσt(cos(ωdt)+σωdsin(ωdt))(by transform tables)\begin{aligned} y(t) &= \mathcal{L}^{-1}\left\{ Y(s) \right\} \\ &= \mathcal{L}^{-1}\left\{ \frac{H(s)}{s} \right\} \\ &= \mathcal{L}^{-1}\left\{ \frac{\sigma^2 + \omega^2_d}{s[(s+\sigma)^2 + \omega^2_d]} \right\} \qquad \qquad \qquad \textrm{(from plot above)}\\ &=1-e^{-\sigma t} \left(\cos(\omega_d t) + \frac{\sigma}{\omega_d}\sin(\omega_d t)\right) \qquad \textrm{(by transform tables)} \end{aligned}

The demonstration below (click to go there) allows you to visualize the system response for different values of ζ\zeta. From here we see that, the decaying rate of the exponential in step response depends on the real part of the pair of complex poles, i.e. σ=ζωn-\sigma = - \zeta \omega_n whereas the imaginary part determines how the step response oscillates while it decays. This is the reason for calling ωd=ωn1ζ2\omega_d = \omega_n \sqrt{1 - \zeta^2} the damped natural frequency. The other cases are also discussed in detail in the demonstration.

Simulink will be covered in Class. See Homework 10 and also see the activity below.

Some other useful links are:

  1. Simulink Onramp which is part of homework.

  2. A tutorial from Michigan.

  3. A dated tutorial from Nevada

  4. A less dated one from Florida

[back]

CC BY-SA 4.0 Ivan Abraham. Last modified: April 30, 2023. Website built with Franklin.jl and the Julia programming language. Curious? See familiar examples.