[ Team LiB ] Previous Section Next Section

2.7 Linear Models and Deviation Variables

Consider the stirred-tank heater model (Example 2.3), when the volume, flow rate, and inlet temperature are constant at their steady-state values (indicated by the subscript s):

Equation 2.70

graphics/02equ70.gif


Deviation Variable Formulation

Control engineers like to think in terms of "deviation variables," that is, perturbations from a steady-state operating condition. The reader should show that if we define the following deviation variables

Equation 2.71

graphics/02equ71.gif


then Equation (2.70) can be written in the form

Equation 2.72

graphics/02equ72.gif


or

Equation 2.73

graphics/02equ73.gif


where the new parameters that appear are

graphics/02equ73a.gif


Notice that the process gain is the same as the sensitivity shown in Equation (2.60) and the time constant, in this case, is the same as the residence time. Equation (2.73) is one of the most widely used models to describe the dynamic behavior of chemical processes.

Linearization of Nonlinear Models

The material and energy balance models that describe the behavior of chemical processes are generally nonlinear, while commonly used control strategies are based on linear systems theory. It is important, then, to be able to linearize nonlinear models for control system design and analysis purposes. The method that we use to form linear models is based on a Taylor series approximation to the nonlinear model. The Taylor series approximation is based on the steady-state operating point of the process.

One State Variable

Consider a single variable function (equation)

Equation 2.74

graphics/02equ74.gif


The value of this function can be approximated using a Taylor series expansion of the form

graphics/02equ74a.gif


where the subscript s is used to indicate the point of linearization (usually the steady-state operating point). The quadratic and higher order terms are neglected, resulting in the following approximate equation:

Equation 2.75

graphics/02equ75.gif


Since the steady-state operating point is chosen as the point of linearization, then [by definition of a steady state, f(xs) = 0]

Equation 2.76

graphics/02equ76.gif


and since xs is a constant value, we can write the following form

Equation 2.77

graphics/02equ77.gif


or, dropping the "approximately equal" notation

graphics/02equ77a.gif


where x' = x - xs represents a deviation variable, and graphics/02inequ03.gif is the derivative of the function evaluated at the steady-state value.

One State and One Input

Consider now the following single-state, single-input equation,

Equation 2.78

graphics/02equ78.gif


The value of this function can be approximated using a Taylor series expansion of the form

graphics/02equ78a.gif


where the subscript s is used to indicate the point of linearization (usually the steady-state operating point). The quadratic and higher order terms are neglected, resulting in the following approximate equation

Equation 2.79

graphics/02equ79.gif


Since the steady-state operating point is chosen as the point of linearization, then [by definition of a steady state, f(xs, us) = 0]

graphics/02equ79a.gif


where x' = x - xs represents a deviation variable, and graphics/02inequ04.gif and graphics/02inequ05.gif are the derivatives of the function with respect to the state and input, evaluated at the steady-state value.

Output Variable

Consider now the expression for an output variable

Equation 2.80

graphics/02equ80.gif


A Taylor series expansion about the state and input yields (after neglecting higher order derivatives)

Equation 2.81

graphics/02equ81.gif


and since ys = g(xs,us)

graphics/02equ82.gif


where y' = y - ys, x' = x - xs, and u' = u - us represent deviation variables, and graphics/02inequ06.gif and graphics/02inequ07.gif are the derivatives of the function with respect to the state and input, evaluated at the steady-state value.

These basic ideas are illustrated in the following example.

Example 2.4: A Second-Order Reaction

Consider a CSTR with a single, second-order reaction. The modeling equation, assuming constant volume and density is

graphics/02equ83.gif


Here the state variable is CA and the input variable is F. A Taylor series expansion performed at the steady-state solution yields

graphics/02equ84.gif


Now, consider the concentration of A to be the output variable

graphics/02equ85.gif


so

graphics/02equ86.gif


and the state space model is

graphics/02equ87.gif


where the state, input, and output (in deviation variable form) are

graphics/02equ88.gif


For the following parameters,

graphics/02equ89.gif


A steady-state operating point is

graphics/02equ90.gif


and the partial derivatives are

graphics/02equ91.gif


and the linear model is

graphics/02equ92.gif


Generalization

Consider the general nonlinear model with nx states, ny outputs, nu inputs, and np parameters

graphics/02equ93.gif


The elements of the linearization matrices are defined as

graphics/02equ94.gif


where ij subscripts refer to the ith row and jth column of the corresponding matrix. For example, element Bij refers to the effect of the jth input on the ith state derivative.

The linear state space form is

graphics/02equ95.gif


where the deviation variables are defined as perturbations from their steady-state values

graphics/02equ96.gif


In future chapters we normally drop the prime (') notation for deviation variables and assume that a state space model is always in deviation variable form.

Example 2.5: Jacketed Heater

Consider the jacketed stirred-tank heater shown in Figure 2-11. A hot fluid circulated through the jacket (which is assumed to be perfectly mixed), and heat flow between the jacket and vessel increases the energy content of the vessel fluid. The rate of heat transfer from the jacket fluid to the vessel fluid is

graphics/02equ97.gif


Figure 2-11. Jacketed stirred-tank heater.

graphics/02fig11.gif

where U is the overall heat transfer coefficient and A is the area for heat transfer. Assuming that the volume and density are constant, Fi = F. Energy balances on the vessel and jacket fluids result in the following equations.

graphics/02equ98.gif


Here the outputs are the vessel and jacket temperatures, which are also the states; the inputs are the jacket flow rate, feed flow rate, feed temperature, and jacket inlet temperature. If the outputs, states, and inputs, in deviation variable form, are

graphics/02equ99.gif


Then, the linearized model is

graphics/02equ100.gif


Similarly, the reader should show that

graphics/02equ101.gif


Exercise 8 is a numerical example for this problem.

    [ Team LiB ] Previous Section Next Section