540 likes | 646 Views
Chapter 2 Mathematical Background. Professor Shi-Shang Jang Chemical Engineering Department National Tsing-Hua University Taiwan March, 2013. 2-1 The Essence of Process Dynamics. As the plant is not operated at its steady state as designed , the process is in a dynamic state .
E N D
Chapter 2 Mathematical Background Professor Shi-Shang Jang Chemical Engineering Department National Tsing-Hua University Taiwan March, 2013
2-1 The Essence of Process Dynamics • As the plant is not operated at its steady state as designed, the process is in a dynamic state. • In many cases, small deviations of process steady state (noise) is allowed, but keep monitoring on the system is very important. • In case of strong deviations (trend), process control becomes a must.
Example: Thermal Process Ts Inputs: f(t), Ti(t),Ts(t) Output: T(t) CV: T(t) MV: f(t) DV: Ti(t), Ts(t)
Noise v.s. Trend T Trend Noise time
Conception of deviation variable Wild stream Fw control stream tank Disturbances Valve liquid level h Fc Plant H= hdeviation = h - hsteady-state Manipulative variables Controlled variables
The feedback/feedforward process control needs to understand the relationships between CVs and MVs DVs and CVs the relationships are called process models. For the ease of mathematical analyses, the process modeling implements in Laplace transform instead of direct use of time domain process model. Implementation of deviation variables is needed. The Essence of Process Dynamics - Continued
Conception of deviation variable ( =T-70) Trend Noise time
2-2 Linear Systems • Consider a process system with a CV, say y(t), and a MV, say m(t). In process industries, it is traditional to assume the system is lumped and linear. A lumped process system is such that: • A lumped system is linear if
Linear Systems-Continued • A lumped process system is autonomous if • An autonomous lumped system is said to be stable at the origin if
Linear Systems-Continued • An autonomous lumped system is called asymptotic stable if • Theory 2-1: A linear system is stable if the roots of the characteristic equation all have negative real part. • Corollary 2-1: A linear system is asymptotic stable if it is stable.
Linear Systems-Examples Note that no matter what the initial conditions is, the solution indicates : The system is hence asymptotic stable.
Linear Systems-Examples Note that the above system is unstable since: Note that the above system is also unstable since:
Linear Systems-Continued • Theory 2-2: A forced linear system is stable if the inputs of the system is bounded. • A process control system is basically assuming that the controlled variable (CV) is to be controlled to a certain set point (zero), thus it is assumed that the input (MV) is the forcing function to a linear system with a dependent variable of CV.
Linear Systems-Continued • A forced system is of the following form, for example: y”+a1y’+a0y=bm(t) • In case of m(t) is in special functions such sint the above equation can be solved by implementing particular solutions i,e., y(t)=yh+yp • However, in case of feedback process control, m(t) is most likely as a function of y(t), i.e.
Linear Systems-Continued • In most analysis of a feedback control systems, it is our tradition to assume that the system performance is in its steady state, i.e. y”+a1y’+a0y=bm(t), y(0)=0; y’(0)=0 • For the convenience of the analysis, a Laplace transform expression of the above linear system becomes necessary.
2-3 Laplace Transform: Definitions and Properties Definition 2-1: Consider a function of time f(t), the Laplace transform of f(t) is denoted by Property 2-1: If f(t)=1, t 0, f(t)=0, t<0, this is called a step function as shown below (to describe an abrupt event to cause the change of operation), then: 0 time
Scenario 1: Step function (shift) The process endures an abrupt long term change, such a PM on a tool of manufacturing plant.
Definitions and Properties- Continued Corollary 2-1: Given the following step function: Then: 0 0 Property 2-2: Given a ramp function: Then: time time
Scenario 2: Ramp function (drift) The process endures slow change on the process such as tool aging of a manufacturing plant.
Definitions and Properties - Continued Definition 2-2: A pulse function is denoted by: 1/c Definition 2-3: A delta function (t)=limc0f(x) 0 c Property 2-3: delta function (t) time Then: Note that, a pulse function can also represent an abrupt event in plant operation, but the event can be vanished very soon unlike step function.
Scenario 3: Pulse function (Excursion) The process endures a sudden short change but returns to its original state.
Definitions and Properties- Continued Property 2-4: Exponential function Then: Corollary 2-2 Then:
Scenario 4: Exponential function (Excursion) The process endures a sudden abrupt change, but return to its original state gradually..
Definitions and Properties- Continued Property 2-5: Sinusoildal Functions Then: Property 2-6: Sinusoildal Functions Then:
Scenario 5: Sinusoidal function The process endures a sinusoidal wave input to force it response another periodical wave.
Theory Theory 2-1: Linearity Consider two functions f(t) and g(t) with their Laplace transform F(s) and G(s) exists, and let a and b be two constants, then Theory 2-2: Derivative Let f(t) be differentiable, and its Laplace transform F(s) exist, then
Theory - Continued Remark 2-1: Deviation variable (perturbation variable) Let y(t) has a steady state ys, then yd is called a deviation variable if yd(t)=y(t)-ys Remark 2-2: In the study of control theory, we all assume that the process is originally at its steady state, and then a change of the system starts. Therefore, y(0)= ys, or yd(0)=0. Corollary 2-3: Derivative of a deviation variable
Theory - Continued Theory 2-3: Final Value Theorem Consider a function f(t) with its Laplace Transform F(s), then: Theory 2-4: Dead time (Time Delay, Translation in Time) Consider a function f(t) with its Laplace Transform F(s), then:
Step 2 Solve for General Procedure Time domain Laplace domain ODE Step 1 Take Laplace Transform Initial conditions Step 3 Factor D(s) perform partial fraction expansion Solution y(t) Step 4 Take inverse Laplace transform
Sol: Take the Laplace transform on both sides of the equation Solution of a Linear System By Laplace Transform Example: Solve the differentiation equation or,
Solution of a Linear System By Laplace Transform – Partial Fraction Expansion
2-4 Transfer Functions – Example: Thermal Process Ts Inputs: f(t), Ti(t),Ts(t) Output: T(t)
2-4 Transfer Functions – Cont. Let f be a constant V= constant, Cv=Cp
Gp(s) Y(s) M(s) Transfer Functions – Cont. where, Gp(s) is call the transfer function of the process, in block diagram:
Homework – Due 3/19 Text p57 2-1,2-2, 2-6 (a), (c) Reading Assignments: Laplace Transform(p11-26) Homework and Reading Assignments
F(X) aX+b X X0 -△ X0 X0+△ -△ 0 △ 2-5Linearization of a Function
Linearization of a Function (single variable) • Example: Linearize the Arrhenius equation, at T=300C, k(300)=100 , E=22,000kcal/kmol.
Linearization of Differential Equations • Definition 2-4: A linear function L(x) is such that for xRn, for all scalars a and b, L(ax1+bx2)= aL(x1)+bL(x2). • Definition 2-5:A Linear system is denoted as the following: Provided that L1,…,Ln are linear functions
Linearization - Continued • Consider a function f(x1,…,xn), the linearization of such a function to a point is defined by the first order Tylor expansion at that point, i.e.
f0 h V f Cross-sectional=A Example – Level Process A=5m2 f0=1m3/min Abrupt change of f0 from 1 to 1.2m3/min
Example – Level Process - Continued Taking Laplace Transform on both sides: Now, F0(s)=0.2/s
example_model [A B C D]=linmod('example_model'); [b,a]=ss2tf(A,B,C,D); Linearization
Level Time(min.)
Conclusive Remarks for Laplace Transform • Laplace transform is convenient tool to represent the dynamics of a linear system. • Laplace transform is very easy to use to special inputs, especially in case of abrupt change of system inputs and time delays. • Linearization is a frequent approach for a nonlinear system, and it is a good approximation in small change of the inputs.
Homework – Due 3/19 • Text p57 • 2-17,2-23 Linearization of Function(p50-56)