development of empirical dynamic models from step response data black box models

21
1 Development of Empirical Dynamic Models from Step Response Data Black box models step response easiest to use but may upset the plant manager (size of input change? move to new steady-state?) other methods Chapter 7 impulse - dye injection, tracer random - PRBS (pseudo random binary sequences) sinusoidal - theoretical approach frequency response - modest usage (incl. pulse testing) on-line (under FB control)

Upload: greg

Post on 13-Feb-2016

93 views

Category:

Documents


1 download

DESCRIPTION

Development of Empirical Dynamic Models from Step Response Data Black box models step response easiest to use but may upset the plant manager (size of input change? move to new steady-state?) other methods. Chapter 7. impulse - dye injection, tracer - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Development of Empirical Dynamic  Models from Step Response Data Black box models

1

Development of Empirical Dynamic Models from Step Response DataBlack box models

• step response easiest to use but may upset the plant manager (size of input change? move to new steady-state?)

• other methods

Cha

pter

7

impulse - dye injection, tracerrandom - PRBS (pseudo random binary sequences)sinusoidal - theoretical approachfrequency response - modest usage (incl. pulse testing)on-line (under FB control)

Page 2: Development of Empirical Dynamic  Models from Step Response Data Black box models

2

Some processes too complicated to model using physical principles

• material, energy balances• flow dynamics• physical properties (often unknown)• thermodynamics

Example 1: distillation columnExample 1: distillation column50 plates

•For a 50 plate column, dynamic models have many ODEs that require model simplification; and

physical properties must be known; e.g., HYSYS

•black box models (only good for fixed operating conditions) but requires operating plant (actual data)

•theoretical models must be used prior to plant construction or for new process chemistry

Cha

pter

7

Page 3: Development of Empirical Dynamic  Models from Step Response Data Black box models

3

Cha

pter

7

•Need to minimize disturbances during a plant test

Page 4: Development of Empirical Dynamic  Models from Step Response Data Black box models

4

1st order system with gain K, dead time and time constant ; 3 parameters to be fitted.

1+sKe=G(s)

-

s

Simple Process ModelsC

hapt

er 7 Step response:

ttyteKMty t 0)()1()( /)(

Page 5: Development of Empirical Dynamic  Models from Step Response Data Black box models

5

Cha

pter

7For a 1st order model, we note the followingcharacteristics (step response)

(1) The response attains 63.2% of its final response at one time constant (t = ).

(2) The line drawn tangent to the response at maximum slope (t = ) intersects the 100% line at (t = ). [see Fig. 7.2]

There are 4 generally accepted graphical techniquesfor determining first order system parameters , :1. 63.2% response2. point of inflection3. S&K method4. semilog plot

K is found from the steady state response for an input change magnitude M.

ln(1 / ) .i iy KM vs t

Page 6: Development of Empirical Dynamic  Models from Step Response Data Black box models

6

Cha

pter

7

(θ = 0)

speed of response

Page 7: Development of Empirical Dynamic  Models from Step Response Data Black box models

7

Cha

pter

7

Inflection point hard to find with noisy data.

Page 8: Development of Empirical Dynamic  Models from Step Response Data Black box models

8

S & K Method for Fitting FOPTD Model

• Normalize step response(t = 0, y = 0; t →∞, y = 1)

• Use 35 and 85% response times (t1 and t2) = 1.3 t1 – 0.29 t2

= 0.67 (t2 – t1)(based on analyzing many step responses)K found from steady state response

• Alternatively, use Excel Solver to fit and using y (t) = K [1 – e –(t-)/τ] and data of y vs. t

Cha

pter

7

Page 9: Development of Empirical Dynamic  Models from Step Response Data Black box models

9

Cha

pter

7Fitting an Integrator Model

to Step Response Data

In Chapter 5 we considered the response of a first-order process to a step change in input of magnitude M:

/ τ1 M 1 (5-18)ty t K e

For short times, t < , the exponential term can be approximated by / τ 1

τt te

so that the approximate response is:

1MM 1 1 (7-22)

τ τt Ky t K t

(straight line with slope of y1(t=0))

Page 10: Development of Empirical Dynamic  Models from Step Response Data Black box models

10

Cha

pter

7is virtually indistinguishable from the step response of the integrating element

22 ( ) (7-23)K MG s U s

s s

In the time domain, the step response of an integrator is

2 2 (7-24)y t K Mt

2 (7-25)τKK

matches the early ramp-like response to a step change in input.

Comparing with (7-22),

Page 11: Development of Empirical Dynamic  Models from Step Response Data Black box models

11

Cha

pter

7

Figure 7.10. Comparison of step responses for a FOPTD model (solid line) and the approximate integrator plus time delay model (dashed line).

Page 12: Development of Empirical Dynamic  Models from Step Response Data Black box models

12

Cha

pter

7

( 0)

Page 13: Development of Empirical Dynamic  Models from Step Response Data Black box models

13

Cha

pter

5

Page 14: Development of Empirical Dynamic  Models from Step Response Data Black box models

14

Cha

pter

7

Page 15: Development of Empirical Dynamic  Models from Step Response Data Black box models

15

Cha

pter

7

Page 16: Development of Empirical Dynamic  Models from Step Response Data Black box models

16

1.3=

1.79= 8.260

t

84.081.3

2

1

1 2 Sum of squares S 3.81 0.84 0.0757

NLR (θ=0) 2.99 1.92 0.000028 FOPTD (θ = 0.7) 4.60 - 0.0760

Smith’s Method20% response: t20 = 1.8560% response: t60 = 5.0t20 / t60 = 0.37from graph

Solving,

122

121

Cha

pter

7

Page 17: Development of Empirical Dynamic  Models from Step Response Data Black box models

17

Using Excel Solver to Fit Transfer Function Models

• use y (data) vs. y (predicted)• column 1 is data (taken at different times), or y1

• column 2 is model prediction (same time values as above), or y2

• target cell is (y1 - y2)2 , to be minimized

• specify parameters to be changed in reference cells (e.g. 1 = 1, 2 = 2)

• open solver dialog box to check settings• click on < solve > (calls optimization program)

Cha

pter

7

Page 18: Development of Empirical Dynamic  Models from Step Response Data Black box models

18

Cha

pter

7

Page 19: Development of Empirical Dynamic  Models from Step Response Data Black box models

19

Cha

pter

7

Page 20: Development of Empirical Dynamic  Models from Step Response Data Black box models

20

Cha

pter

7