Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting...

24
Colorado School of Mines CHEN403 Higher Order Systems John Jechura ([email protected]) - 1 - © Copyright 2017 April 23, 2017 Higher Order Systems Higher Order Systems ............................................................................................................................................ 1 Higher Order Systems ............................................................................................................................................ 1 Multicapacity Processes in Series ..................................................................................................................... 1 Two Non-Interacting 1 st Order Systems .................................................................................................... 2 Two Interacting 1 st Order Systems .............................................................................................................. 3 N Identical Processes in Series ........................................................................................................................... 6 Calculation of the Step Disturbance Coefficients ................................................................................... 9 Processes With Dead Time ................................................................................................................................ 11 Approximate Reduced Order Transfer Functions – FOPDT ............................................................... 15 FOPDT Example................................................................................................................................................. 16 Processes With Inverse Response.................................................................................................................. 17 Inverse Response from the Sum of Two 1 st Order Transfer Functions .................................... 18 Inverse Response from the Difference Between Two 1 st Order Transfer Functions.......... 18 Inverse Response from the Difference Between a 2 nd & 1 st Order Transfer Functions ..... 19 Inverse Response from the Difference Between Two 2 nd Order Transfer Functions......... 21 Higher Order Systems Three types of common systems with higher than 2 nd order dynamics are: Multicapacity processes in series. Processes with dead time. Processes with inverse response. Multicapacity Processes in Series When we introduced transfer functions, we talked about the overall transfer function for a series of non-interacting processes. 1 G 2 G 1 y s f s 2 y s N G N y s 1 N y s If there are a series of transfer functions, then:

Transcript of Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting...

Page 1: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 1 - © Copyright 2017

April 23, 2017

Higher Order Systems

Higher Order Systems ............................................................................................................................................ 1

Higher Order Systems ............................................................................................................................................ 1

Multicapacity Processes in Series ..................................................................................................................... 1

Two Non-Interacting 1st Order Systems .................................................................................................... 2

Two Interacting 1st Order Systems .............................................................................................................. 3

N Identical Processes in Series ........................................................................................................................... 6

Calculation of the Step Disturbance Coefficients ................................................................................... 9

Processes With Dead Time ................................................................................................................................ 11

Approximate Reduced Order Transfer Functions – FOPDT ............................................................... 15

FOPDT Example ................................................................................................................................................. 16

Processes With Inverse Response.................................................................................................................. 17

Inverse Response from the Sum of Two 1st Order Transfer Functions .................................... 18

Inverse Response from the Difference Between Two 1st Order Transfer Functions .......... 18

Inverse Response from the Difference Between a 2nd & 1st Order Transfer Functions ..... 19

Inverse Response from the Difference Between Two 2nd Order Transfer Functions......... 21

Higher Order Systems

Three types of common systems with higher than 2nd order dynamics are:

• Multicapacity processes in series. • Processes with dead time. • Processes with inverse response.

Multicapacity Processes in Series

When we introduced transfer functions, we talked about the overall transfer function for a series of non-interacting processes.

1G 2G 1y s

f s 2y s

NG Ny s 1Ny s

If there are a series of transfer functions, then:

Page 2: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 2 - © Copyright 2017

April 23, 2017

1

1 2

1 1

N N N

N N N

N N

y s G s y s

G s G s y s

G s G s G s f s

1

NN

ii

y sG s

f s

Two Non-Interacting 1st Order Systems

For a series of two non-interacting 1st order systems with different time constants 1 & 2 , then the overall transfer function is 2nd order:

2 1 2

1 21 1

y s K K

f s s s.

Since the denominator of the transfer function can be factored into linear terms each with real coefficients, the overall transfer function will give an overdamped response to a disturbance. Also, since the poles of the transfer function, 11/ & 21/ , are real and negative, then the overall transfer function will give a stable overdamped response to a disturbance.

We could also analyze the expected response knowing something about 2nd order systems. Putting the overall transfer function into the standard form for a 2nd order system gives:

*

2 1 2 1 2*2 * *

1 2 1 2 1 21 1 1 2 1

p

p p p

Ky s K K K K

f s s s s s s s

where:

*1 2pK K K

*2 *1 2 1 2p p

* * * 1 2 1 21 2

2 11 2

12

22p p p

For positive 1 & 2 that are not equal, then the damping factor *

p will always be greater than one (meaning an overdamped system). In the event that 1 2 , then * 1p and the system will be critically damped. There are no combinations of 1 & 2 so that the system

Page 3: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 3 - © Copyright 2017

April 23, 2017

would be underdamped – this makes sense since an underdamped system requires linear factors with complex coefficients. Two Interacting 1st Order Systems

But what if the processes interact? Can we get an underdamped system then? The answer is – it depends how they interact. Let’s look at a simple liquid flow system where the interaction is due to back-pressure from the second tank. Assume the liquid density is constant. Further assume that the tanks are open to the atmosphere, have constant cross-sectional areas 1A and 2A , and that the flow through each valve is proportional to the liquid level providing the hydrostatic pressure (i.e., i iF C h ).

F0,

F1,

h1, A1,

F2,

h2, A2,

The material balance for Tank 1 leads to:

11 0 1 1 2

dhA F C h hdt

11 1 1 0 1 2

dhA C h F C hdt

1 11 0 2

1 1

1A dhh F h

C dt C

Since a linear system, can immediately use deviation variables:

1 11 0 2

1 1

1A dhh F h

C dt C

11 0 2

1 1

11

As h F h

C C

11 0 2

1 1

1

1 1

Kh F h

s s where 1

1

1

A

C and 1

1

1K

C.

The material balance for Tank 2 leads to:

Page 4: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 4 - © Copyright 2017

April 23, 2017

22 1 1 2 2 2

dhA C h h C hdt

22 1 2 2 1 1

dhA C C h C hdt

Again, since a linear system, we can immediately use deviation variables:

22 1 2 2 1 1

dhA C C h C hdt

2 1 2 2 1 1A s C C h C h

We would normally define the 2 time constant by dividing by the sum of the valve coefficients, 1 2C C . However, instead, let’s define the time constant in a manner similar to that for the 1st tank, i.e., 2 2 2/A C . This leads to:

2 2 1 2 2 1 1C s C C h C h

1 12 2 1

2 2

1C C

s h hC C

so:

22 1

2 21

Kh h

s K where 1

2

2

CK

C.

Now, the transfer function between '

0F and '2h will be:

2 12 0 2

2 2 1 1

1

1 1 1

K Kh F h

s K s s

' '2 1 22 0

2 2 1 1 2 2

11

1 1 1 1

K K Kh F

s K s s s K

1 2 2 2 ' '1 22 0

1 2 2 1 2 2

1 1

1 1 1 1

s s K K K Kh F

s s K s s K

' '1 22 0

1 2 2 21 1

K Kh F

s s K K

Page 5: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 5 - © Copyright 2017

April 23, 2017

' '1 22 02

1 2 1 2 21 1

K Kh F

s K s

Notice the extra 2K term in the denominator because of the interaction of the tanks. The

coefficients in the denominator are all positive & real, so the resulting response to a disturbance will be stable. But will it be overdamped, critically damped, or underdamped? To answer this, let’s look at the damping factor. In the standard form for a 2nd order system:

*2 *1 2 1 2p p

1 2 2* * *1 2 2

1 2

1 2 1 2

1 2 1 2

1 2 2 1

2 1 2

12 1

2

2 2

1

2 2

p p p

KK

K

K

Note that the first term for *

p will always be greater or equal to one (only equal to one if

1 2 ). The second term will always be positive. Together, this shows that the overall

damping factor will always be greater than one – this type of system will always be overdamped. We can do an analysis of the poles, too. The poles are given by:

2

1 2 2 1 2 2 1 2

1 2

1 2

1 1 4,

2

K Kp p

22 21 2 2 1 2 1 2 2 2 1 2

1 2

1 2

1 1 2 1 4,

2

K K Kp p

2 2 2 2 21 2 2 1 1 2 2 1 2 1 2 2 1 2

1 2

1 2

1 2 2 2,

2

K K K Kp p

2 2 2 21 2 2 1 2 1 2 1 2 2 1 2

1 2

1 2

1 2 2,

2

K K K Kp p

Page 6: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 6 - © Copyright 2017

April 23, 2017

Notice that the resulting system is still 2nd order, stable, and overdamped. As an example, what happens to the poles when the tanks are identical? Here, 1 2 and 2 1K . Then:

2 2 2 2

1 2 2

1 1 2 2,

2p p

2

1 2 2

3 5 1 3 5 0.382 2.618, ,

2 2p p

N Identical Processes in Series

When all of the processes in series are identical then the overall transfer function will become:

1

NN N

i

y sG s G

f s.

This could lead to a very simple solution depending upon the forcing function. For example, if the processes are all first order and the forcing function is an impulse,

f C t f C , then the output response will be:

1

1 !1

1 ! 1

N

N

N

N

Ky C

s

NKC

Ns

1 /

1 !

N N t

N

K t ey t C

N.

The following figure shows the response curves for an impulse disturbance to a series of identical 1st order processes (with 1C , 1K & 2 ). Notice that the response from the 1st process is an exponential & the responses from the rest of the processes look like spread pulses. The “peak” or maximum value of the disturbance occurs later for each additional process & (in this case) the peak is a little smaller for each additional process. In fact, we can determine when the peak will occur – it will be at that time mt where 0mt and the first time derivative of the response curve will be zero:

Page 7: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 7 - © Copyright 2017

April 23, 2017

1 /2 /1

1 !

N N tN tNdy C K t e

N t edt N

/1/21 0

1 !

m

m

N tNtN m

m

t eC KN t e

N

/21 01 !

m

N

tNmm

tC KN t e

N

1 0mtN

1mt N .

The corresponding value of the peak will be:

1 11 11 1

1 ! 1 !

N NNN NN

N m

N e N eK CKy t C

N N.

0.00

0.05

0.10

0.15

0.20

0.25

0.30

0.35

0.40

0.45

0.50

0 2 4 6 8 10 12 14 16 18 20

Time (min)

Re

spon

se V

alu

e

N = 1

N = 2

N = 3

N = 4

N = 5

Impulse Disturbance to Identical 1st Order Processes in Series

Page 8: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 8 - © Copyright 2017

April 23, 2017

A more complicated forcing function will lead to more complicated Laplace functions that need to be inverted. However, with some ingenuity, it may be fairly easy to work with these more complicated functions. For example, if the forcing function is a step function,

/f A S t f A s , then:

1

N

N

K Ay

s s

and the partial fraction expansion must have all of the powers of the 1s term up to the

1N power:

/ 10

01 1 1 !1

N NN N t ii i

N Ni ii i

C C Cy AK y AK C e t

s is

where the iC coefficients must be determined to be consistent with the original overall transfer function. One’s first thought is that these coefficients will be very difficult & tedious to determine. On the contrary, using the Heaviside method we can find:

1 0

1,2, ,i

iC

i N

so:

/ 1

11 1

1 11

1 !1

N NN N t i

N Ni ii i

y AK y AK e ts is

.

The following figure shows the response curves for a step disturbance to a series of identical 1st order processes (with 1A , 1K & 2 ). Notice that the higher order response curves look very much like the 2nd order response (i.e., that the initial response has a zero slope) but the time period in which there is very little response is much longer.

Page 9: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 9 - © Copyright 2017

April 23, 2017

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

0 2 4 6 8 10 12 14 16 18 20

Time (min)

Re

spon

se V

alu

e

N = 1

N = 2

N = 3

N = 4

N = 5

Step Disturbance to Identical 1st Order Processes in Series

Calculation of the Step Disturbance Coefficients

The transfer function to be split apart should be put into the following working form:

0

1

1 1

1 1

Ni

N ii

C B

s sss

where the iB coefficients are related to the iC coefficients by:

ii iC B .

The first coefficient, 0C , is very easily calculated with the Heaviside method:

0

0

1 1lim 1

1Ns

C ss s

.

Page 10: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 10 - © Copyright 2017

April 23, 2017

The coefficient for the highest order term is also very easily calculated:

1/ 1/

1 1 1 1 1lim lim

1

N

N NN N Ns sB s C

s ss.

The other coefficients are calculated using the formula:

1

1 11/

1

1lim 2,3, ,

1 ! 1

N

k

N k Nks

sd

B k Nk ds s s

1

1 11/

1 1 1lim

1 !

k

N k N ks

dB

k ds s

The derivatives of 1/ s have a fairly simple form:

1

1 11 !

nn

n n

dn

ds s s

So:

1

11/

1

1/

1

1

2 1

1 1 1lim 1 1 !

1 !

1lim

1

1 1

1

k

N k N ks

k

N ks

k k N

k k k N

k k N

k N

B kk s

s.

Note that since 2 1k will always be odd then

2 11

k will always be -1. Finally:

1 1

1 1N k k N N k

N k N kC B .

Page 11: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 11 - © Copyright 2017

April 23, 2017

So this shows that:

1

1 1

1 1

N

N iiss s s

.

Processes With Dead Time

So far we have assumed that whenever a change occurs, it reaches the measurement device instantaneously. However, there can be dead time between the process & the measurement device and we get transportation lag. One can picture the situation as being similar to plug flow through a pipe — the material does not change in the pipe, but there is a time difference between when it enters and when it reappears at the other end. Since:

d dy t t f t y t f t t

then the transfer function is immediately:

dt sy s e f s

We can develop this Laplace formula be thinking of dead time as an infinite number of identical non-interacting processes in series. Image a series of N tanks, each with the same volume, with a total volume of V . Into the first tank we make a change to the composition of component A. The component balance around the first tank will be:

A11 0 A0 0 A1

dCV F C F C

dt

and the corresponding transfer function will be:

A1

A0 1

0 0

1 1

1 1

C

C V Vs s

F NF

.

Out of the Nth process:

Page 12: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 12 - © Copyright 2017

April 23, 2017

' 'A , A ,0

' 'A ,0 A, 0

0

1

1 11

NN N

N d

N

C C t sVsV

sC C NF NNF

where 0/dt V F . It is known from advanced calculus that:

/

lim 1 lim 1n r n

r

n n

r re e

n n

so as N then:

'A ,0

'A ,

1 exp

N

dd

N

C t st s

C N

and:

'A ,

'A ,0

expN

d

CG s t s

C.

It is not always convenient (or even possible) to work with the dead-time term as it is defined. Remember that to invert the Laplace functions in the presence of a time delay term, all of the time delay terms must be factored out of & away from the rest of the

Laplace expression. For example, the time delay term in the following expression can be factored out & the remain expression inverted:

L

L

1

1

exp1 1 1

exp1

ss

s

Ke K K K ty e

s s s

K K te S t

s

.

However, the following expression comes about when we consider systems with a feedback of information:

11

11

s

s

s sc

c

KeKsy e

Ke s K KeK

s

.

Page 13: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 13 - © Copyright 2017

April 23, 2017

We’ve factored the se time delay term out of the numerator but it is still in the denominator & it cannot be removed form here. We cannot use the standard methods to invert this Laplace function.

When we have a situation like that above we will often approximate the exponential time delay term with a ratio of polynomials. Once we do this the exponential term is gone & we can use standard methods to break apart the transfer function into partial fractions and then invert. Approximate methods for dealing with time delays are based upon approximating the exponential term with some type of polynomial. Remember that the Taylor series expansion formulas is:

0

00

1

!

nn

ni x x

d ff x x x

n dx

so the exponential function expanded around 0x is:

2 3

0

1! 2 6

ns n

i

x xe x x

n

and for the actual time delay term:

2 3

0

1 1! 2 6

ns n n

i

x xe x x

n

One could just truncate the polynomial after a prescribed number of terms. So we could use linear forms of either:

1se x or:

1 1

1s

se

e x.

And, depending upon how the approximation will be used, this may be perfectly acceptable. However, it is more typical that the exponential term is approximated with a ratio of polynomials. The most typical set of functions used for the time delay term are the Padé approximations. There are approximations of various order. The most common one used (especially for hand calculations) is the 1st order Padé approximation:

Page 14: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 14 - © Copyright 2017

April 23, 2017

11

221 212

ss

se

ss

Higher order approximations are:

22

22

1 11 12 62 12

1 1 12 612 12

ss s s s

es ss s

2 32 3

2 32 3

1 1 11 120 60 122 10 120

1 1 1 120 60 1212 10 120

ss s s s s s

es s ss s s

and so on. Padé approximations match terms to the exponential function’s Taylor series expansion one order higher than the functions used in the Padé approximation. The 1st order approximation has a Taylor series expansion:

2 31

12 11 2 412

ss s s

e s

s

and so it actually matches terms up to the 2nd power, the 2nd order approximation has a Taylor series expansion:

22 3 4

2

1 11

2 12 11 1 2 6 1812 12

ss s s s s

e s

s s

and matches terms up to the 3rd power, and so forth. You should get higher order accuracy using lower order polynomials. The response curves using Padé approximations tend to be least accurate at short times (especially on the order of the time delay ) and become more accurate with higher order approximations. However, the difficulty of working with the expressions becomes much

Page 15: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 15 - © Copyright 2017

April 23, 2017

greater with higher order approximations. For example, using a 1st order approximation, the example transfer function is approximated as:

222

21 2 1 212

s

sc c

c

sK K sKe sy

ss K Ke s s K K ss K Ks

.

This is a transfer function for a 2nd order process and the inverse can be determined using standard forms. Using a 2nd order approximation, the example transfer function is:

2

2

2

2

2

2 2

12 6

12 6

1 12 61

12 6

12 6

12 6 1 12 6

s

sc

c

c

s sK

s sKey

s K Ke s ss K K

s s

K s s

s s s K K s s

.

This is a transfer function for a 3rd order process and it must be split apart using partial fractions into the sum of a 1st order response & a 2nd order response before standard forms

can be used to determine the inverse.

Approximate Reduced Order Transfer Functions – FOPDT

Even though we’ve spent a lot of time developing transfer functions of high order, it may be convenient to work with an approximate low order transfer function that will give

essentially the same type of dynamic response. The slow response at small times (due to the smallest time constants) can be approximated with a time delay term. Keeping only one time constant gives rise to an FOPDT transfer function (First Order Process with Time Delay). One way to reduce the order of a transfer function is approximate the small time constants with corresponding time delay terms. For example, if 1 2 3 4 is the largest time constant, the following 4th order transfer function can be approximated with the following FOPDT model:

Page 16: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 16 - © Copyright 2017

April 23, 2017

32 4

2 3 4

1 2 3 4 1 2 3 4

1 2 3 4

1

1

1 1 1

1 1 1 1 1 1 1 1

1 1 1

1 1 1 1

1

1

p p

p

p ss s

s

p

K K

s s s s s s s s

K

s s s s

Ke e e

s

K e

s

An approximate SOPDT model (Second Order Process with Dead Time) would be:

3 4

1 2 3 4 1 21 1 1 1 1 1

s

p pK K e

s s s s s s.

Skogestad has proposed a related method. He suggests that the largest neglected time constant should be split between the smallest retained time constant and the time delay. So, Skogestad’s FOPDT model would be:

2 3 4/2

1 2 3 4 1 21 1 1 1 /2 1

s

p pK K e

s s s s s

and the SOPDT model would be:

3 4/2

1 2 3 4 1 2 31 1 1 1 1 /2 1

s

p pK K e

s s s s s s.

These methods are best applied when you already have the coefficients for the high order transfer functions. If you must first derive the coefficients of the high order model from empirical data, it is better to derive the coefficients of the FOPDT or SOPDT model directly. FOPDT Example

The 4th order transfer function:

1

10 1 1 0.1 1 0.05 1G s

s s s s

Page 17: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 17 - © Copyright 2017

April 23, 2017

can be approximated as the following FOPDT model using 1st order Taylor series expansions:

1.15

10 1

seG s

s

or the following FOPDT model using the Skogestad method:

0.65

10.5 1

seG s

s.

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

0 2 4 6 8 10 12 14 16 18 20

Time (min)

4th Order Transfer Function Solution

Taylor Series FOPDT

Skogestad FOPDT

The figure above compares the response curves for a step change forcing function for the original transfer function & the two FOPDT models. Notice that both FOPDT models match the response from the original transfer function once past 8 mint .

Processes With Inverse Response

When the overall transfer function is found as the difference of individual transfer functions, then the initial response in a system may be in the opposite direction than where

it will end up. One example is adding cold feedwater to a drum reboiler to control the

Page 18: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 18 - © Copyright 2017

April 23, 2017

liquid level. The 1st bit of cold feedwater will decrease the temperature, causing the volume of the entrained vapor to decrease. The may be the overwhelming effect at first, causing the overall liquid level to drop. The liquid level will then increase again once the heat is added.

The overall transfer function for a process that shows inverse response will look something like:

1 2G s G s G s

where 2G s dominates at early times and 1G s dominates at long times. Expressing the overall transfer function as a ratio of two polynomials:

11 1 0

11 1 0

m mm m m

n nn n n

N s b s b s b s bG s

D s a s a s a s a

then there will be an inverse response when there is at least one positive zero in the transfer function (i.e., there is at least one positive root to the polynomial in the numerator

mN s ). Let’s look at the necessary conditions for inverse response when combining several types of common transfer functions.

Inverse Response from the Sum of Two 1st Order Transfer Functions

The transfer function formed from the sum of two 1st order transfer functions is:

1 2 2 1 1 21 2

1 2 1 21 1 1 1

K K s K KK KG s

s s s s

and the root of the numerator will be:

1 2

1 2 2 1

K Ks

K K implies an inverse response for

1 2

1 2 2 1

0K K

K K.

If we only consider positive gains & time constants then there will not be an inverse response — the combination of positive terms cannot give a negative number. Inverse Response from the Difference Between Two 1st Order Transfer Functions

The transfer function formed from the difference of two 1st order transfer functions is:

Page 19: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 19 - © Copyright 2017

April 23, 2017

1 2 2 1 1 21 2

1 2 1 21 1 1 1

K K s K KK KG s

s s s s

and the root of the numerator will be:

1 2

1 2 2 1

K Ks

K K implies an inverse response for

1 2

1 2 2 1

0K K

K K.

Inverse response will occur if the numerator & denominator are of opposite sign so that overall the fraction is negative. So, there are two possibilities. If:

11 2 1 2

2

0 1K

K K K KK

then:

1 11 2 2 1 2 1 1 2

2 2

0 1K

K K K KK

.

However, we can also have:

11 2 1 2

2

0 1K

K K K KK

then:

1 11 2 2 1 2 1 1 2

2 2

0 1K

K K K KK

.

This shows that just having the difference of two 1st order transfer functions is not a sufficient condition for an inverse response.

We can also look at many more combinations of transfer functions to determine when we might get an inverse response. Inverse Response from the Difference Between a 2nd & 1st Order Transfer Functions

Now, let’s look at when the overall transfer function is the difference between 2nd

order & 1st order transfer functions. Then:

Page 20: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 20 - © Copyright 2017

April 23, 2017

2 22 1 1 2 2 1 1 1 21 2

2 2 2 21 1 1 2 2 1 1 1

2

2 1 1 1 2 1

K s K K s K KK KG s

s s s s s s

The roots to the numerator are:

2 21 2 2 1 1 1 2 2 1 1 2 1 1 2

1 2 22 1

2 2 4,

2

K K K K K K Kr r

K

2 21 2 2 1 1 1 2 2 1 1 2 1 1 2

1 2 22 1

2 2 4,

2

K K K K K K Kr r

K

The largest root will be with the positive sign, so to guarantee an inverse response we only need to restrict this root:

2 2

1 2 2 1 1 1 2 2 1 1 2 1 1 22 2 4 0K K K K K K K

2 2

1 2 2 1 1 2 1 1 2 1 2 2 1 12 4 2K K K K K K K

Note that the 1st term under the radical is:

2

1 2 2 1 1 1 2 2 1 12 2K K K K

If 1 2 2 1 12 0K K , then we only need the 2nd term under the radical to be positive for the inequality to hold:

22 1 1 24 0K K K

1 2 0K K

1 2K K

1

2

1K

K

which is what is given in the text. However, we really need to combine this with the 1st assumption to get:

1 2 2 1 12 0K K

Page 21: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 21 - © Copyright 2017

April 23, 2017

2 1 1 1 22K K

1 1 1

2 2

2 K

K

and:

1 1 1

2 2

21

K

K

But what if 1 2 2 1 12 0K K ? Now the 2nd term under the radical can be negative and the inequality may still hold. Let’s multiply the inequality by itself — the direction of the inequality must change since we are essentially multiplying it by a negative value. Then:

2 22

1 2 2 1 1 2 1 1 2 1 2 2 1 12 4 2K K K K K K K

1 2 0K K

1 2K K

1

2

1K

K.

Now when we combine this with the 1st assumption we get:

1 2 2 1 12 0K K

2 1 1 1 22K K

1 1 1

2 2

2 K

K

and:

1 1 1

2 2

21

K

K

This allows for the possibility that the ultimate response is controlled by the 2nd (negative) transfer function, not the 1st (positive) one. Inverse Response from the Difference Between Two 2nd Order Transfer Functions

Finally, let’s look at the case when both of the individual transfer functions are 2nd order. Then:

Page 22: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 22 - © Copyright 2017

April 23, 2017

1 22 2 2 21 1 1 2 2 2

2 2 21 2 2 1 1 2 2 2 1 1 1 2

2 2 2 21 1 1 2 2 2

2 1 2 1

2

2 1 2 1

K KG s

s s s s

K K s K K s K K

s s s s

Again there are two zeros to the 2nd order numerator given by the quadratic formula:

2 2 21 2 2 2 1 1 1 2 2 2 1 1 1 2 2 1 1 2

1 2 2 21 2 2 1

2 4 4,

2

K K K K K K K Kr r

K K

2 2 21 2 2 2 1 1 1 2 2 2 1 1 1 2 2 1 1 2

1 2 2 21 2 2 1

,K K K K K K K K

r rK K

.

When the denominator is positive (i.e., 2 2 2 2

1 2 2 1 1 2 2 10K K K K ) then the largest root is given by the “plus” sign on the radical — that is all that is necessary for an inverse response. Then:

2 2 2

1 2 2 2 1 1 1 2 2 2 1 1 1 2 2 1 1 2 0K K K K K K K K .

2 2 2

1 2 2 2 1 1 1 2 2 1 1 2 1 2 2 2 1 1K K K K K K K K .

As we did for the previous set of transfer functions, we will multiply the inequality by itself. What happens to the inequality sign depends upon the sign of what is on the right hand side (since the radical on the left hand side has to be positive). If

1 2 2 2 1 1 0K K then:

2 22 2

1 2 2 2 1 1 1 2 2 1 1 2 1 2 2 2 1 1K K K K K K K K

2 21 2 2 1 1 2 0K K K K

1 2 0K K since we’ve already assumed 2 21 2 2 1 0K K

1 2K K

1

2

1K

K

Now taking all of the conditions into account:

Page 23: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 23 - © Copyright 2017

April 23, 2017

22 2 1 1

1 2 2 1 22 2

0 1K

K KK

and:

1 1 11 2 2 2 1 1

2 2 2

0 1K

K KK

However if 1 2 2 2 1 1 0K K then we must flip the inequality:

2 22 2

1 2 2 2 1 1 1 2 2 1 1 2 1 2 2 2 1 1K K K K K K K K

2 21 2 2 1 1 2 0K K K K

1 2 0K K since we’ve already assumed 2 21 2 2 1 0K K

1 2K K

1

2

1K

K

Now when taking the other conditions into account we cannot compare them to 1:

22 2 1 1

1 2 2 1 22 2

0K

K KK

and:

1 1 11 2 2 2 1 1

2 2 2

0K

K KK

We still have another pair of cases to consider, that when the denominator is negative (i.e., 2 2

1 2 2 1 0K K ). Now, the largest root is given by the “minus” sign on the radical. Then:

2 2 2

1 2 2 2 1 1 1 2 2 2 1 1 1 2 2 1 1 2 0K K K K K K K K .

2 2 2

1 2 2 2 1 1 1 2 2 1 1 2 1 2 2 2 1 1K K K K K K K K .

Again, what happens to the inequality sign depends upon the sign of what is on the right hand side. If 1 2 2 2 1 1 0K K then we must flip the inequality:

2 22 2

1 2 2 2 1 1 1 2 2 1 1 2 1 2 2 2 1 1K K K K K K K K

2 21 2 2 1 1 2 0K K K K

1 2 0K K since we’ve already assumed 2 21 2 2 1 0K K

1 2K K

Page 24: Colorado School of Mines CHEN403 Higher Order Systems Higher … · 2017-04-24 · Two Interacting 1st Order Systems ... interaction is due to back-pressure from the second tank.

Colorado School of Mines CHEN403 Higher Order Systems

John Jechura ([email protected]) - 24 - © Copyright 2017

April 23, 2017

1

2

1K

K

Now taking all of the conditions into account:

22 2 1 1

1 2 2 1 22 2

0K

K KK

and:

1 1 11 2 2 2 1 1

2 2 2

0K

K KK

.

Finally, if 1 2 2 2 1 1 0K K then we keep the inequality the same:

2 22 2

1 2 2 2 1 1 1 2 2 1 1 2 1 2 2 2 1 1K K K K K K K K

2 21 2 2 1 1 2 0K K K K

1 2 0K K since we’ve already assumed 2 21 2 2 1 0K K

1 2K K

1

2

1K

K

Now when taking the other conditions into account we cannot compare them to 1:

22 2 1 1

1 2 2 1 22 2

0 1K

K KK

and:

1 1 11 2 2 2 1 1

2 2 2

0 1K

K KK

.