Chapter 4 Dynamic Systems: Higher Order Processes Prof. Shi-Shang Jang National Tsing-Hua University Chemical Engineering Dept. Hsin Chu, Taiwan April, 2014
4-1 Second Order Systems A second order system is of the following form: Another form: K p is called process gain, is called time constant, is called damping factor. The roots of the denominator are the poles of the system.
4-1 Second-Order Processes - Continued Definition 4-1: A second order process is called over- damped, if >1; is called under-damped if <1; is called critical damped if =1. Property 4-1: Consider the roots of denominator, in case of over-damped system, the poles of the system are all negative real numbers. Property 4-2: The poles of a under-damped system are complex with negative real numbers. Property 4-3: The pole of a critical damped system is a repeated negative real number.
2-5 Step Response of Second-Order Processes – Over- damped process m(s)=A/s Inflection point =3 =2 =1
4-1 Non-interactive Systems – Thermal Tanks
4-1 Non-interactive Systems –Thermal Tanks – Cont.
4-1 Non-interactive Systems
Numerical Example
4-1 Non-interactive Systems An over-damped second order system has two negative real poles. Therefore, 2 s 2 +2s+1=( 1 s+1)( 2 s+1); hence such that =
4-2 Interactive Systems – Thermal Tanks with Recycle
4-2 Interactive Systems – Thermal Tanks with Recycle- Cont.
4-2 Interactive Systems f1f1 Cross- sectional=A 2 h2h2 V2V2 f2f2 h1h1 V1V1 fifi Cross- sectional=A 1 fofo
4-2 Interactive Systems H 1 (s) H 2 (s) + + F 0 (s) F i (s) + - F 0 (s) F i (s) + -
Numerical Example
State Space Approach Consider the following linear system with N differential equations K inputs and P sensors where X is termed the state vector and M is the input vector. The following observation equation is available:
State Space Approach _ Cont. Assume that it is desirable to realize the input/output transfer functions and neglecting the state variables.
State Space Approach _ Example Interacting Tanks
State Space Approach _ Example Interacting Tanks – Cont.
State Space to Transfer Function- MATLAB >> A=[ ; ] A = >> B=[1;0];C=[0 1];D=0; >> [num,den]=ss2tf(A,B,C,D,1) num = den = >> ss=den(3) ss = >> num=num/ss num = >> den=den/ss den = >> tf(num,den) Transfer function: e-015 s s^ s + 1
State Space Approach _ Example Recycling Heating Tanks
State Space Approach _ Example Recycling Heating Tanks (Cont.)
State Space Approach _ Example Recycling Heating Tanks (MATLAB) >> A=[ ; ];B=[0.4 0;0 0.05];C=[0 1];D=[0 0]; >> [a,b]=ss2tf(A,B,C,D,1) a = b = >> [a,b]=ss2tf(A,B,C,D,2) a = b =
4-3 Generation The most general transfer function is as the following: p 1, p 2,…,p n are called the poles of the system, z 1, z 2,…,z m are the zeros of the system, K p is the gain. Note that n m is necessary, or the system is not physically realizable.
4-4 Poles and Zeros - Example Imaginary part Real part 0 0 Left Half Plane LHP Right Half Plane RHP
4-4 Poles and Zeros - Example time Response
4-4 Location of the Poles and Stability in a Complex Plane Re Im Purdy oscillatory Fast Decay Slow Decay Exponential Decay with oscillation Slow growth Fast Exponential growth Exponential growth with oscillation Stable (LHP) Unstable (RHP)
4-4 The Stability of the linear system Definition 4-2: A system is called stable for the initial point if given any initial point y 0, such that ∣ y 0 ∣≦ ε, there exists a upper bound , such that: Definition 4-3: A system is called asymptotic stable if given any initial point y 0, then
4-4 The Stability of the linear system Definition 4-4: A system is called input output stable if the input is bound, then the output is bounded. (Bounded Input Bounded Output, BIBO) Property 4-4: A linear system is asymptotic stable and BIBO if and only if all its poles have negative real parts.
4-4 Stability - Example time Response G4G4 G2G2 G3G3 G1G1 m(s)=1
Rise time A B C time Response 4-5 Step Response of Second-Order Processes – Under- damped process 1. Overshoot= 2. Decay Ratio= 3. Rise time=t r = 4. Period of oscillation=T= 5. Frequency of oscillation (Natural Frequency)=1/T Settling time T
Example: Temperature Regulated Reactor t=3060st=1000s Feed flow rate 0.4 → 0.5kg/s at t=0. 1.What is process gain? 2.What is transfer func? 3.What is rise time?
4-5 Over-damped Second Order Systems Using Step Input
Smith’s Method for Second Order Systems Step 1: Get time delay by observing the response curve. Step 2: Find time t 20 such that y/y =0.2, find t 60 such that y/y =0.6 Step 3: Get t 20 /t 60, then and From the right figure.
Example: A Typical Experiment Time (second) Y(temperature, o C, o C) Y(temperature,mA,4-20mA)Y (temperature, %)ln(1-Y)
Example t 20 =1.9 t 60 =5 t 20 /t 60 =0.38 From the figure t 60 / =2.4 =5/2.4 =2.1 =1.2 2 =4.32, 2 =5.04
Textbook Reading Assignment and Homework Chapter 2, p41-49 Homework p58, 2-9, 2-15, 2-16 Due April 25th
Non-isothermal CSTR
Non-isothermal CSTR- Cont.
Process Information Steady State Values
Non-isothermal CSTR- Cont. Cooling flow rate 0.8 Energy Balance of the Reactor Material Balance of the Reactor Energy Balance of the Jacket Inlet and Outlet Energy and Material fluxes of the Reactor Inlet and Outlet Energy fluxes of the Jacket Rate Constant Heat Exchange between Jacket and Reactor
Transfer Functions Derived by Linearization
Linearization of the Reactor Example
It can be shown as generated as above: Transfer Functions Derived by Linearization – Cont. [num, den]=ss2tf(A,B,C,D,4) num = e den = >> ss=den(4) >> den=den/ss den = >> num=num/ss num = e
SIMULINK of Linear System - CSTR
Non-isothermal CSTR- Cont. Cooling flow rate 0.8 Time (min) Tank temperature
Non-isothermal CSTR- Cont. Linearized Model (page 127)
The problem of nonlinearity
Open Loop Unstable Process- Chemical Reactor (text page 139)
Open Loop Unstable Process- Chemical Reactor
4-3 Step Response of the High Order System X(s)=A/s n=2 n=3 n=5 n=10 time Responses
4-3 Step Response of the High Order System- Continued Method of Reaction Curve: time Response inflection point
4-3 Step Response of the High Order System- Continued time Responses Real Approximate
4-3 Response of Higher-Order Systems – Cont.
4-4 Other Types of Process Response Integrating Processes: Level Process
4-4 Other Types of Process Response
Homework Text p , 4-5, 4-7, 4-8, 4-10, 4-11,4-12 Due April
Supplemental Material Development of Empirical Models from Process Data
S-1 Introduction An empirical model is a model that is developed from experience and their parameters are found based on experimental tests. The most frequent implemented empirical models are first order, second order and/or with time delays. The input changes is basically a step or an impulse.
S-2 First Order without Time Delay Systems Using Step Input Consider a first order system with a output signal y(t) and input signal m(t), then:
First Order with Time Delay Systems Using Step Input Consider a first order system with a output signal y(t) and input signal m(t), then:
Example: A Typical Experiment ( U=1m 3 /min) Time (second) Y(temperature, o C, o C) Y(temperature,mA,4-20mA)Y (temperature, %)ln(1-Y)
Graphical Fitting Methods Fit 1: Method of 63.2% Response Fit 2: Method of initial slope Fit 3: Method of Log plot
Example: An Experiment Plot Fit 1 Fit )( 1 s s G s e sG s
Method of log plot Consider a First-Order Plus Dead Time Model
Method of log plot - Continued Fit 3
Method of log plot - Continued
Method of log plot - Continued Fit 3 real Fit 2 Fit 1
S-3 Over-damped Second Order Systems Using Step Input
Smith’s Method for Second Order Systems Step 1: Get time delay by observing the response curve. Step 2: Find time t 20 such that y/y =0.2, find t 60 such that y/y =0.6 Step 3: Get t 20 /t 60, then and From the right figure.
Example t 20 =1.9 t 60 =5 t 20 /t 60 =0.38 From the figure t 60 / =2.4 =5/2.4 =2.1 =1.2 2 =4.32, 2 =5.04