Lesson 10


1 Learning Objectives

By the end of this lesson students will be able to:

2 Review

A second-order transfer function can be written two ways.

Form 1:

y(s)F(s)=[yss(1ωn2)s2+(2ζωn)s+1]\frac{y(s)}{F(s)} = \left\lbrack \frac{y_{ss}}{\left( \frac{1}{{\omega_{n}}^{2}} \right)s^{2} + \left( \frac{2\zeta}{\omega_{n}} \right)s + 1} \right\rbrack

Form 2:

y(s)F(s)=[yssωn2s2+2ζωns+ωn2]\frac{y(s)}{F(s)} = \left\lbrack \frac{y_{ss}{\omega_{n}}^{2}}{s^{2} + 2\zeta\omega_{n}s + {\omega_{n}}^{2}} \right\rbrack

If the transfer function is in Form 1, the coefficient of s2s^{2} is equal to 1ωn2\frac{1}{{\omega_{n}}^{2}} and the coefficient of ss is equal to 2ζωn\frac{2\zeta}{\omega_{n}}.

If the transfer function is in Form 2, the coefficient of ss is equal to 2ζωn2\zeta\omega_{n} and the constant is equal to ωn2{\omega_{n}}^{2}.

Put the transfer function into whichever form makes more sense to you, and then you can solve for ζ\zeta and ωn\omega_{n} by using the coefficients and constant in the denominator polynomial.

3 Overview

Second order systems can have four different types of outputs to a step input:

  1. Undamped
  2. Underdamped
  3. Critically damped
  4. Overdamped

We determine what the response will be by either solving for ζ\zeta or by finding the roots of the polynomial in the denominator and plotting them on the complex plane. The roots of the denominator are called poles in control systems lingo. The roots of the numerator are called zeroes.

3.1 A Quick Refresher on Complex Numbers

Use your method of choice to find the roots of the polynomial s2+2s+2s^2 + 2s + 2. The roots are s=1±js = -1 \pm j.

3.2 How to Find Roots

  1. Use the roots([a b c]) function in MATLAB
  2. Use a version of the quadratic equation (when ζ<1\zeta < 1): s1,2=ζωn±ωnζ21s_{1,2} = -\zeta\omega_n\pm \omega_n\sqrt{\zeta^2-1}
  3. Use the quadratic equation: s1,2=b±b24ac2as_{1,2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

4 Undamped Response (ζ=0\zeta = 0)

When ζ=0\zeta = 0 there is no middle term in the denominator of the polynomial.

Assume the transfer function is

G(s)=119s2+1G(s) = \frac{1}{\frac{1}{9}s^{2} + 1}

Then the roots will be s1,2=±j3s_{1,2} = \pm j3.

And the plot of the poles is:

Undamped poles

And the solution of the DE given a step input is:

y(t)=1cos(3t)y(t) = 1 - \cos(3t)

Undamped transient response

5 Underdamped Response (0<ζ<10 < \zeta < 1)

Assume

G(s)=119s2+29s+1G(s) = \frac{1}{\frac{1}{9}s^{2} + \frac{2}{9}s + 1}

Then the roots of the denominator are

s1,2=1±j22s_{1,2} = - 1 \pm j2\sqrt{2}

The plot of the poles looks like:

Underdamped poles

And the solution of the DE given a step input is:

y(t)=1et(cos(22t)+24sin(22t))y(t) = 1 - e^{- t}\left( \cos\left( 2\sqrt{2}t \right) + \frac{\sqrt{2}}{4}\sin\left( 2\sqrt{2}t \right) \right)

Underdamped transient response

6 Critically Damped Response (ζ=1\zeta = 1)

Assume

G(s)=119s2+69s+1G(s) = \frac{1}{\frac{1}{9}s^{2} + \frac{6}{9}s + 1}

Then the roots of the denominator are

s1,2=3,3s_{1,2} = - 3, - 3

The plot of the poles looks like:

Critically damped poles

And the solution of the DE given a step input is:

y(t)=13te3te3ty(t) = 1 - 3te^{- 3t} - e^{- 3t}

Critically damped transient response

7 Overdamped Response (ζ>1\zeta > 1)

Assume

G(s)=119s2+s+1G(s) = \frac{1}{\frac{1}{9}s^{2} + s + 1}

Then the roots of the denominator are

s1,2=7.8541,1.1459s_{1,2} = - 7.8541, - 1.1459

The plot of the poles looks like:

Overdamped poles

And the solution of the DE given a step input is:

y(t)=1+0.171e7.854t1.171e1.146ty(t) = 1 + 0.171e^{- 7.854t} - 1.171e^{- 1.146t}

Overdamped transient response

8 Comparison of All Four Responses

All four step-input responses plotted together

8.1 Student Exercise 1

Given: Four transfer functions

G(s)=400s2+12s+400G(s) = \frac{400}{s^{2} + 12s + 400}

G(s)=900s2+90s+900G(s) = \frac{900}{s^{2} + 90s + 900}

G(s)=225s2+30s+225G(s) = \frac{225}{s^{2} + 30s + 225}

G(s)=625s2+625G(s) = \frac{625}{s^{2} + 625}

Required: Determine (1) the ζ\zeta and ωn\omega_{n} of each and (2) the type of response (underdamped, undamped, overdamped, critically damped)

Solution

9 Mathematical Pattern of the Four Response Types

The response (output) of a system modeled by a DE comprises two parts: a homogeneous solution and a particular solution. Or, in mathematical terms

y(t)=yH(t)+yP(t)y(t) = y_H(t) + y_P(t)

The homogenenous solution, yH(t)y_H(t), is also called the:

The particular solution, yP(t)y_P(t), is also called the:

In controls, we refer to the two solutions as the transient response and the steady-state response. The transient response is determined by the physical components of the system and the steady-state response depends on the system input.

In plain English, the transient response is what the system output looks like when it goes from one steady-state to another steady-state. The steady-state value is what value the system settles down to after the transient disappears.

To get the formula for the transient response, we give the system an impulse input. Mathematically, the transient responses for the four pole locations will always follow the patterns below.

9.1 Overdamped

Two real poles at σ1,σ2- \sigma_{1}, - \sigma_{2}

yH(t)=K1eσ1t+K2eσ2ty_H(t) = K_{1}e^{- \sigma_{1}t} + K_{2}e^{- \sigma_{2}t}

9.2 Underdamped

Two complex poles at σd±jωd- \sigma_{d} \pm j\omega_{d}

yH(t)=Aeσdtcos(ωdtϕ)y_H(t) = Ae^{- \sigma_{d}t}\cos(\omega_{d}t - \phi)

9.3 Undamped

Two imaginary poles at ±jωn\pm j\omega_{n}

yH(t)=Acos(ωntϕ)y_H(t) = A\cos(\omega_{n}t - \phi)

9.4 Critically Damped

Two real poles at σ1- \sigma_{1}

yH(t)=K1eσ1t+K2teσ1ty_H(t) = K_{1}e^{- \sigma_{1}t} + K_{2}te^{- \sigma_{1}t}

9.5 Student Exercise 2

Write out the expected form of the solution to each of the transfer functions in Exercise 1.

Matlab code to find the roots

10 Characteristics of the Second Order Transfer Function

10.1 Natural Frequency

Represented by ωn\omega_{n}. The frequency of the transient output if it is (or if it were) undamped.

10.2 Damped Frequency

Represented by ωd\omega_{d}. The frequency of the output in an underdamped system.

ωd=ωn1ζ2\omega_{d} = \omega_{n}\sqrt{1 - \zeta^{2}}

10.3 Damping Ratio

Represented by ζ\zeta. How fast an underdamped system dies down to its steady-state.

ζ=exponential decay frequencynatural frequency\zeta = \frac{\text{exponential decay frequency}}{\text{natural frequency}}

Effect of different ζ\zeta on response:

Effect of different damping ratios on response

11 Characteristics of Second Order Systems

Five important features: (1) rise time, TrT_{r}, (2) peak time, TpT_{p}, (3) percent overshoot, %OS, (4) settling time, TsT_{s}.

11.1 Rise Time

Time required for the waveform to go from 0.1yss0.1y_{ss} (10% of steady-state output) to 0.9yss0.9y_{ss} (90% of steady-state output).

No analytical solution is available. Set y(t)=0.9y(t) = 0.9 and y(t)=0.1y(t) = 0.1 and solve for tt.

11.2 Peak Time

Tp=πωn1ζ2=πωdT_{p} = \frac{\pi}{\omega_{n}\sqrt{1 - \zeta^{2}}} = \frac{\pi}{\omega_{d}}

11.3 Percent Overshoot

%OS=e(ζπ/1ζ2)×100\%OS = e^{- \left( \zeta\pi/\sqrt{1 - \zeta^{2}} \right)} \times 100

Note that you can calculate ζ\zeta if you know %OS:

ζ=ln(%OS/100)π2+ln2(%OS/100)\zeta = \frac{- \ln(\%OS/100)}{\sqrt{\pi^{2} + \ln^{2}(\%OS/100)}}

11.4 Settling Time

Ts=4ζωnT_{s} = \frac{4}{\zeta\omega_{n}}

11.5 Summary Figure

Second order system characteristics summary

11.6 Exercise 1

Given: The transfer function

G(s)=100s2+15s+100G(s) = \frac{100}{s^{2} + 15s + 100}

Required: TpT_{p}, %OS, TsT_{s}, and TrT_{r}.

wn=sqrt(100)
zeta=15/(2*wn)

tp=pi/(wn*sqrt(1-zeta^2))
os=exp(-zeta*pi/sqrt(1-zeta^2))*100
ts=4/(zeta*wn)

syms s t
y=ilaplace((1/s)*(100/(s^2+15*s+100)))
fplot(y,[0 1])

t1=vpasolve(y==0.1,t,[0 0.2])
t2=vpasolve(y==0.9,t,[0.2 0.4])
t2-t1

11.7 Student Exercise 3

Given: The system shown below.

System diagram for exercise 4

Required: Find JJ and DD to yield 20% OS and a settling time of 2 seconds for a step input to torque.

Solution