Second Order Systems - Educating Global...

11
1 Second Order Systems Second Order Equations () 1 2 2 2 + + = s s K s G ζτ τ Standard Form τ 2 d 2 y dt 2 + 2 ζτ dy dt + y = Kf ( t) Corresponding Differential Equation K = Gain τ = Natural Period of Oscillation ζ = Damping Factor (zeta) Note: this has to be 1.0!!!

Transcript of Second Order Systems - Educating Global...

Page 1: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

1

Second Order Systems

Second Order Equations

( )1222 ++

=ss

KsGζττ

Standard Form

τ 2 d2 ydt2 + 2ζτ dy

dt+ y = Kf (t)

Corresponding Differential Equation

K = Gainτ = Natural Period of Oscillationζ = Damping Factor (zeta)

Note: this has to be 1.0!!!

Page 2: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

2

Origins of Second Order Equations

1. Multiple Capacity Systems in SeriesK1

τ1s + 1K2

τ 2s +1

become

orK1K2

τ1s +1( ) τ 2s + 1( )K

τ 2s2 + 2ζτs + 1

2. Controlled Systems (to be discussed later)

3. Inherently Second Order Systems• Mechanical systems and some sensors• Not that common in chemical process control

Examination of the Characteristic Equation

τ 2s2 + 2ζτs + 1 = 0

Two complex conjugate roots

Underdamped0 < ζ < 1

Two equal real roots

Critically Damped

ζ = 1

Two distinct real roots

Overdampedζ > 1

Page 3: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

3

Response of 2nd Order System to Step Inputs

Fast, oscillations occurUnderdampedEq. 5-51

Faster than overdamped, no oscillation

Critically dampedEq. 5-50

Sluggish, no oscillationsOverdampedEq. 5-48 or 5-49

Ways to describe underdamped responses:• Rise time • Time to first peak• Settling time • Overshoot• Decay ratio • Period of oscillation

Response of 2nd Order Systemsto Step Input ( 0 < ζ < 1)

1. Rise Time: tr is the time the process output takes to first reach the new steady-state value.

2. Time to First Peak: tp is the time required for the output to reach its first maximum value.

3. Settling Time: ts is defined as the time required for the process output to reach and remain inside a band whose width is equal to ±5% of the total change in y. The term 95% response time sometimes is used to refer to this case. Also, values of ±1% sometimes are used.

4. Overshoot: OS = a/b (% overshoot is 100a/b).

5. Decay Ratio: DR = c/a (where c is the height of the second peak).

6. Period of Oscillation: P is the time between two successive peaks or two successive valleys of the response.

( )⎪⎭

⎪⎬⎫

⎪⎩

⎪⎨⎧

⎥⎥⎦

⎢⎢⎣

⎟⎟⎠

⎞⎜⎜⎝

⎛ −

−+⎟

⎟⎠

⎞⎜⎜⎝

⎛ −−= − tteKMty t

τζ

ζζ

τζτζ

2

2

2/ 1sin

11cos1

Eq. 5-51

Page 4: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

4

Response of 2nd Order Systemsto Step Input

0 < ζ < 1 ζ ≥ 1

Note that ζ < 0 gives an unstable solution

as ζ ↓, tr ↓ and OS ↑

(5-52) 21 ζ

πτ−

=pt

(5-53

⎟⎟

⎜⎜

−−=

21exp

ζπζOS

( )[ ]( )[ ]22

2

lnln

OSOS

+=

πζ

Above (5-56)

(5-54) ( )

⎟⎟

⎜⎜

−−=

=

2

2

12exp

ζπζ

OSDR

(5-55) 21

πτ−

=P Pπζ

τ2

1 2−=

Above (5-57)

(5-60) ( )ζζ

τ 1

2cos1

1−−

−=rt

Relationships between OS, DR, P and τ, ζfor step input to 2nd order system, underdamped solution ( ) 1,

12)( 22 <

++= ζ

ζττ sssKMsY

Page 5: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

5

Response of 2nd Order System to Sinusoidal Input

Output is also oscillatoryOutput has a different amplitude than the inputAmplitude ratio is a function of ζ, τ

(see Eq. 5-63)Output is phase shifted from the inputFrequency ω must be in radians/time!!!

(2π radians = 1 cycle)P = time/cycle = 1/(ν), 2πν = ω, so P = 2π/ω

(where ν = frequency in cycles/time)

Sinusoidal Input, 2nd Order System(Section 5.4.2)

• Input = A sin ωt, so – A is the amplitude of the input function– ω is the frequency in radians/time

• At long times (so exponential dies out),

A is the output amplitude

( )[ ] ( )222 21ˆ

ζωτωτ +−=

KAA (5-63)

Bottom line: We can calculate how the output amplitude changesdue to a sinusoidal input

Note: There is also an equationfor the maximum amplituderatio (5-66)

Not

e lo

g sc

ale

Page 6: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

6

Road Map for 2nd Order EquationsStandard Form

StepResponse

SinusoidalResponse

(long-time only)(5-63)

Other InputFunctions-Use partial

fractions

Underdamped0 < ζ < 1

(5-51)

Criticallydamped

ζ = 1(5-50)

Overdampedζ > 1

(5-48, 5-49)

Relationship betweenOS, P, tr and ζ, τ

(pp. 119-120)

Example 5.5• Heated tank + controller = 2nd order system(a) When feed rate changes from 0.4 to 0.5

kg/s (step function), Ttank changes from 100 to 102°C. Find gain (K) of transfer function:

Page 7: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

7

Road Map for 2nd Order EquationsStandard Form

StepResponse

SinusoidalResponse

(long-time only)(5-63)

Other InputFunctions-Use partial

fractions

Underdamped0 < ζ < 1

(5-51)

Criticallydamped

ζ = 1(5-50)

Overdampedζ > 1

(5-48, 5-49)

Relationship betweenOS, P, tr and ζ, τ

(pp. 119-120)

Example 5.5• Heated tank + controller = 2nd order system(a) When feed rate changes from 0.4 to 0.5

kg/s (step function), Ttank changes from 100 to 102°C. Find gain (K) of transfer function:

Page 8: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

8

Example 5.5• Heated tank + controller = 2nd order system(b) Response is slightly oscillatory, with first

two maxima of 102.5 and 102.0°C at 1000 and 3600 S.What is the complete process transfer function?

Example 5.5• Heated tank + controller = 2nd order system(c) Predict tr:

Page 9: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

9

Example 5.6• Thermowell + CSTR = 2nd order system(a)

Find τ, ζ:

( )( )( )11013

1)( ++

=′′

sssTsT

reactor

meas

CSTR

Thermocouple

Road Map for 2nd Order EquationsStandard Form

StepResponse

SinusoidalResponse

(long-time only)(5-63)

Other InputFunctions-Use partial

fractions

Underdamped0 < ζ < 1

(5-51)

Criticallydamped

ζ = 1(5-50)

Overdampedζ > 1

(5-48, 5-49)

Relationship betweenOS, P, tr and ζ, τ

(pp. 119-120)

Page 10: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

10

Example 5.6• Thermowell + CSTR = 2nd order system(a)

Find τ, ζ:

( )( )( )11013

1)( ++

=′′

sssTsT

reactor

meas

Example 5.6• Thermowell + CSTR = 2nd order system(b) Temperature cycles between 180 and 183°C, with

period of 30 s.Find ω, :A

Page 11: Second Order Systems - Educating Global Leaderstom/classes/436/ClassNotes/Class20(Second-Order).… · 1 Second Order Systems Second Order Equations 2 2 +2 +1 s s K G s τ ζτ Standard

11

Example 5.6• Thermowell + CSTR = 2nd order system(c) Find A (actual amplitude of reactor sine wave):