Lecture 5 First Order Transfer Function Models
Process Control
- Prof. Kannan M. Moudgalya
IIT Bombay Tuesday, 30 July 2013
1/38 Process Control First Order Models
Lecture 5 First Order Transfer Function Models Process Control - - PowerPoint PPT Presentation
Lecture 5 First Order Transfer Function Models Process Control Prof. Kannan M. Moudgalya IIT Bombay Tuesday, 30 July 2013 1/38 Process Control First Order Models Outline 1. Thermal sensor as a first order system 2. Scilab demonstration of
1/38 Process Control First Order Models
2/38 Process Control First Order Models
3/38 Process Control First Order Models
◮ Shaded: sensor ◮ Mass m and heat capacity Cp ◮ Area available for heat transfer ◮ Initially, sensor and ambient are at
◮ All of a sudden, the ambient
◮ Model this: get T as a fn. of Ta
4/38 Process Control First Order Models
◮ Initially, sensor & ambient at T ◮ Ambient temperature goes to Ta ◮ Subtract the steady state and
◮ ∆T(s) = G(s)∆Ta(s) ◮ G(s) =
◮ where, τ = mCp
◮ What is the unit of τ?
5/38 Process Control First Order Models
◮ A thermometer at 30◦C is suddenly
◮ Thermometer be modelled as a first order
◮ Calculate the temperature profile as
6/38 Process Control First Order Models
◮ Y(s) = G(s)U(s) ◮ G(s) =
◮ U(s) = ambient temperature ◮ Y(s) = temperature indicated by
◮ y(t) ↔ Y(s), u(t) ↔ U(s) ◮ Initial temperature = 30◦C
7/38 Process Control First Order Models
◮ ∆T(s) =
◮ ∆T(t) ↔ ∆T(s), ∆Ta(t) ↔ ∆Ta(s) ◮ τ = 0.5min ◮ ∆Ta(t) =
◮ ∆Ta(s) = 70
◮ ∆T(t) = 70
◮ T(t) = 30 + ∆T(t)
8/38 Process Control First Order Models
9/38 Process Control First Order Models
10/38 Process Control First Order Models
1
2
3 G = 1/( tau ∗ s +1) 4
5 y = csim ( ’ step ’ , t ,G) ; 6
11/38 Process Control First Order Models
12/38 Process Control First Order Models
◮ Given model parameters τ and K, we can
◮ Can we back-calculate? ◮ Given the step response, can we calculate
13/38 Process Control First Order Models
◮ Experimental data have noise ◮ Does it affect identification? ◮ Demonstrate with
14/38 Process Control First Order Models
1
2
3 G = 2 . 5 / ( tau ∗ s +1) 4
5 y = csim ( ’ step ’ , t ,G) ; 6
7
8
9
15/38 Process Control First Order Models
10
11
12
/ / p l o t 2 d ( t , y n o i s e )
13
14
16/38 Process Control First Order Models
17/38 Process Control First Order Models
18/38 Process Control First Order Models
◮ Plant data:
◮ Fit this with the output y prediction from
◮ Get K and τ by minimising
◮ What should we get for K and τ?
19/38 Process Control First Order Models
1
2
3 y = y 2 n o i s e ; 4
5 6 x0 = [3
7
8 kp = xopt (1) ; 20/38 Process Control First Order Models
9
10
11
12
13
21/38 Process Control First Order Models
1
2 kp = x (1) ;
3
4
5 g = numdiff ( func 1 , x ) ; 6
7 22/38 Process Control First Order Models
8
9 kp = x (1) ;
10
11
12
23/38 Process Control First Order Models
24/38 Process Control First Order Models
◮ Modelled as a first order system ◮ A more realistic model:
◮ The sheath is also modelled ◮ Its temperature is denoted as Tw, T-wall ◮ Derive the second order relation between
25/38 Process Control First Order Models
Tw T Ta
◮ Model of the sensor: ◮ mCp
◮ Model of the wall: ◮ mwCpw
◮ Derive the relation between Ta and T ◮ Same procedure as before: deviational ◮ Order of the transfer function: second
26/38 Process Control First Order Models
◮ Laplace transform models are in
◮ For each equation, subtract the
◮ Assume small deviation, if required ◮ Take Laplace transform of each equation
◮ Substitute the expression for Tw into the
◮ You will get T as a function of Ta only ◮ The transfer function will be second
27/38 Process Control First Order Models
28/38 Process Control First Order Models
29/38 Process Control First Order Models
Qi(t) Q(t) = x(t)h(t) h(t)
◮ Suppose that x is constant ◮ ∆h(s) =
◮ τ = A/xs, K1 = 1/xs, K2 = hs/xs. ◮ ∆Q(s) = xs∆h(s)
30/38 Process Control First Order Models
◮ Let out flow
◮ ∆Q1(s) =
◮ ∆Q(s) =
◮ =
31/38 Process Control First Order Models
◮ Response of
◮ a first order system ◮ two first order systems in series
32/38 Process Control First Order Models
1
2 G 1 = 1/( s +1) 3 G 2 = 1/( s +2) 4 G = G 1 ∗ G 2 5
6 y = csim ( ’ step ’ , t ,G) ; 7
8
9
10
33/38 Process Control First Order Models
34/38 Process Control First Order Models
35/38 Process Control First Order Models
36/38 Process Control First Order Models
◮ First order system ◮ Second order systems ◮ Examples ◮ Scilab demonstration
37/38 Process Control First Order Models
38/38 Process Control First Order Models