Professional Documents
Culture Documents
Proces Control 11
Proces Control 11
----------------------------------------------------------------------------------------
Introduction to process control
Control Engineering is concerned with techniques that are used to solve the following
six problems in the most efficient manner possible.
(a)The identification problem :to measure the variables and convert data for analysis.
(b)The representation problem :to describe a system by an analytical form or mathematical
model
(c)The solution problem :to determine the above system model response.
(d)The stability problem :general qualitative analysis of the system
(e)The design problem: modification of an existing system or develop a new one
(f)The optimization problem: from a variety of design to choose the best.
The two basic approaches to solve these six problems are conventional and modern
approach. The electrical oriented conventional approach is based on complex function
theory. The modern approach has mechanical orientation and based on the state variable
theory.
Control System Objectives
o Economic Incentive
o Safety
o Equipment Protection
o Reduce variability
o Increase efficiency
o Ensure the stability of a process
o Elimination of routine
1
Fourth class Process Control
----------------------------------------------------------------------------------------
2
Fourth class Process Control
----------------------------------------------------------------------------------------
Basic terminologies in control system
System: It is a combination of components that act together and perform a certain
objective.
Plant: It is the machine of which a particular quantity or condition is to be controlled.
Process: Is defined as the changing or refining of raw materials that pass through or
remain in a liquid, gaseous, or slurry state to create end products.
Control: In process industries refers to the regulation of all aspects of the process. Precise
control of level, pH, oxygen, foam, nutrient, temperature, pressure and flow is important in
many process applications.
Sensor: A measuring instrument, the most common measurements are of flow (F),
temperature (T), pressure (P), level (L), pH and composition (A, for analyzer). The sensor
will detect the value of the measured variable as a function of time.
Set point: The value at which the controlled parameter is to be maintained.
Controller: A device which receives a measurement of the process variable, compares
with a set point representing the desired control point, and adjusts its output to minimize
the error between the measurement and the set point.
Error Signal: The signal resulting from the difference between the set point reference
signal and the process variable feedback signal in a controller.
Feedback Control: A type of control whereby the controller receives a feedback signal
representing the condition of the controlled process variable, compares it to the set point,
and adjusts the controller output accordingly.
Steady-State: The condition when all process properties are constant with time, transient
responses having died out.
Transmitter: A device that converts a process measurement (pressure, flow, level,
temperature, etc.) into an electrical or pneumatic signal suitable for use by an indicating or
control system.
Controlled variable: Process output which is to be maintained at a desired value by
adjustment of a process input.
Manipulated variable: Process input which is adjusted to maintain the controlled output
at set point.
Disturbance: A process input (other than the manipulated parameter) which affects the
controlled parameter.
Process Time Constant(τ): Amount of time counted from the moment the variable starts
to respond that it takes the process variable to reach 63.2% of its total change.
Block diagram: It is relationship between the input and the output of the system. It is
easier to visualize the control system in terms of a block diagram.
3
Fourth class Process Control
----------------------------------------------------------------------------------------
4
Fourth class Process Control
----------------------------------------------------------------------------------------
Closed-loop control system: It is a feedback control system which the output signals has a
direct effect upon the control action
Advantage: more accurate than the open-loop control system.
Disadvantages:
(1) Complex and expensive
(2) The stability is the major problem in closed-loop control system
Open-loop control system: It is a control system in which the output has no effect upon
the control action. (The output is neither measured nor fed back for comparison with the
input).
Advantages:
(1) Simple construction and ease of maintenance.
(2) Less expensive than closed-loop control system.
(3) There is no stability problem.
Disadvantages:
(1) Disturbance and change in calibration cause errors; and output may be different from
what is desired.
(2) To maintain the required quality in the output, recalibration is necessary from time to
time
UNote : any control system which operates on a time basis is open-loop control system, e.g.
U
Laplace transforms convert differential equations into algebraic equations. They are related
to frequency response.
6
Fourth class Process Control
----------------------------------------------------------------------------------------
Example: Find the Laplace Transform of
f (t) = cosh(wt) & g(t) = sinh(wt)
Solution: From Example 2 and Theorem above,
7
Fourth class Process Control
----------------------------------------------------------------------------------------
1.3 Laplace Transform of the Derivative
Example: Find the Laplace Transform of the function x(t)which satisfy the following
differential equation and initial condition:-
8
Fourth class Process Control
----------------------------------------------------------------------------------------
1.4 Laplace Transform of the integers
9
Fourth class Process Control
----------------------------------------------------------------------------------------
1.5 Inverse of Laplace Transform
Inversion by partial fraction
The inverse of the Laplace could be obtained from tables for simple functions but for more
complicated function partial fraction is needed
1- Partial fraction
Example:
Example:
Example:
11
Fourth class Process Control
----------------------------------------------------------------------------------------
Example:
11
Fourth class Process Control
----------------------------------------------------------------------------------------
12
Fourth class Process Control
----------------------------------------------------------------------------------------
Example
Expand the following equation of Laplacetransform in terms of its partial fractionsand
obtain
its time-domain response
Solution:
The following equation in Laplace transform is expanded with its partial fractions as
follows
13
Fourth class Process Control
----------------------------------------------------------------------------------------
Example
Expand the following equation of Laplace transform in terms of its partial fractions and
obtain its time-domain response.
Solution:
The following equation in Laplace transform is expanded with its partial fractions as
follows.
Solution:
The following equation in Laplace transform is expanded with its partial fractions as
follows.
14
Fourth class Process Control
----------------------------------------------------------------------------------------
1.7 Final Value Theorem
Can determine the steady-state value of a time-domain signal or function from its Laplace
transform
15
Fourth class Process Control
----------------------------------------------------------------------------------------
1.8 Special Functions
1- Step function
2. Pulse function
16
Fourth class Process Control
----------------------------------------------------------------------------------------
3. Impulse function
4. Ramp function
5. Sine function
17
Fourth class Process Control
----------------------------------------------------------------------------------------
CHAPTER 2
Response of first order systems
Linear Open-Loop Systems
2. Control System Dynamics
It is the study of characteristics behavior of dynamic system, i.e.
(a) Differential equation
i. First-order systems
ii. Second-order systems
(b) System transfer function: Laplace transform
2-1Transfer function, G(s)
Transfer function is an algebraic expression for the dynamic relation between the input and
the output of the process model both expression in s domain y(s),f(s)
It is the ratio of Laplace transform of output to Laplace transform of input with zero initial
conditions.
One of the types of modeling a system
Using first principle, differential equation is obtained
Laplace Transform is applied to the equation assuming zero initial conditions
2-2Order of a system
Order of a system is given by the order of the differential equation governing the system
Alternatively, order can be obtained from the transfer function
In the transfer function, the maximum power of s in the denominator polynomial gives
the order of the system
2-3Block diagrams
Block diagram is a graphical representation of transfer functions and their interactions.
Block diagram assist the engineer in determining the quantitative aspects of dynamic
performance and in understanding the qualitative features of the system
.
Fig.1 Block diagram
18
Fourth class Process Control
----------------------------------------------------------------------------------------
2-4Development of T.F for first order system:
Mercury Thermometer:
It is a measuring device used to measure the temperature of a stream. Consider a mercury
in glass thermometer to be located in a flowing stream of fluid for which the temperature x
varies with time. The object is to calculate the time variation of the thermometer reading y
for a particular change of x
The following assumptions will be used in this analysis:-
1. All the resistance to heat transfer resides in the film surrounding the bulb (i.e., the
resistance offered by the glass and mercury is neglected).
2. All the thermal capacity is in the mercury. Furthermore, at any instant the mercury
assumes a uniform temperature throughout.
3. The glass wall containing the mercury does not expand or contract during the transient
response.
It is assumed that the thermometer is initially at steady state. This means that, before time
zero, there is no change in temperature with time. At time zero the thermometer will be
subjected to some change in the surrounding temperature x(t). (i.e at t<0 , x(t)= y(t)
=constant there is no change in temperature with time). At t=0 there is a change in the
surrounding temperature x(t)
Where
A: area of the bulb
Cp: heat capacity of mercury
m: mass of mercury in the bulb
t: time
19
Fourth class Process Control
----------------------------------------------------------------------------------------
h: film heat transfer coefficient h depend on the flow rate and properties of the surrounding
fluid and the dimension of the bulb. The dynamic behavior must be defined by a deviation
variables.
At steady state (s.s.) , t<0 , x(t)=constant=x s ,
R R
Any system has a T.F of the form of equation (2.2) it is called first order system which is a
first order differential equation (Linear).
21
Fourth class Process Control
----------------------------------------------------------------------------------------
2.5 Properties of transfer functions A T.F
relates two variables in a physical process. One of these is (Forcing or Input variable) and
the other is the effect (Response or Output).
Let G(s) denote the transfer function between an input, x, and an output, y. Then, by
definition
If we select a particular input variation x(t) for which the L.T is x(s) then the response.
21
Fourth class Process Control
----------------------------------------------------------------------------------------
Additive Property
Suppose that an output is influenced by two inputs and that the transfer functions are
known:
Then,
Substitute,
Or,
22
Fourth class Process Control
----------------------------------------------------------------------------------------
2-6 Steady-State Gain The steady-state of a TF can be used to calculate the steady state
change in an output due to a steady-state change in the input. For example, suppose we
know two steady states for an input, u, and an output, y. Then we can calculate the steady
state gain, K, from:
Take assuming the initial conditions are all zero. Rearranging gives the TF:
23
Fourth class Process Control
----------------------------------------------------------------------------------------
2.8 Transient response for different changes
1-Step Change
24
Fourth class Process Control
----------------------------------------------------------------------------------------
2-9 How to calculate the time constant ( )for 1st order system
1) Mathematical method
Time constant (𝜏)is the time required for the response to reach 63% of the its utimate
value.
25
Fourth class Process Control
----------------------------------------------------------------------------------------
3. Third method
Using the log-incomplete response The solution to the first-order differential equation (1)
with initial condition xo is
where Z(t)
is called the logarithm of the incomplete response, or the log-incomplete response
Note that in a plot of Z(t)
against time t, if the plotted line is straight, then the slope is given by −1/ . Given
data that appears to be first-order, the log-incomplete response method may be used
to determine the time constant through the following procedure:
Given data that appears to be first-order, the log-incomplete response method may be
used to determine the time constant through the following procedure :
Estimate the time constant from the 63% point on the free or step response plot.1
from data
2 .Extract the data points up to approximately
4τ (more on this in a bit).
3 .Calculate Z(t).
4 .Plot Z(t) against time t. If the resulting plot
is linear, then the system is likely first-order.
5 .Perform a linear curve fit, forcing the line to go through the origin, if possible.
6 .Determine the time constant τ from the slope of the linear curve fit.
So why only look at the data from t = 0 to t = 4τ? As the data approaches the steadystate
value, noise in the data masks the behavior of the response, making it difficult to obtain a
reliable value for the time constant.
26
Fourth class Process Control
----------------------------------------------------------------------------------------
27
Fourth class Process Control
----------------------------------------------------------------------------------------
CHPTER 3
3- Physical Examples of first Order System
1-Mixing tank (involving mass transfer operation)
Consider the mixing process which a stream of solution containing salt (KCl) flows at a
constant volumetric flow rate Q into a tank of constant hold up volume V. The
concentration of the salt in the entering stream ,Ci (kg/m 3), varies with time. Find the
outlet concentration to step change in inlet concentration?
Solution
Assumptions:
1. The density of the solution is constant and the inlet flow rate is equal to the outlet flow
rate. Since the holdup volume is constant.
2. Initially pure water is running through the tank.
Mass balance
Mass rate of salt In - Mass rate of salt Out = Mass rate of salt accumulation in the tank
Steady-state mass balance around the tank:
28
Fourth class Process Control
----------------------------------------------------------------------------------------
Eq.6 is linear, first order differential equation and zero initial condition and taking
Laplace transform of this expression and rearranging the results gives:
29
Fourth class Process Control
----------------------------------------------------------------------------------------
Dynamic characteristics:
For a step change in the input, the process reaches a new steady state.
• The ultimate value of the output is kp a, which can be found from the last Equation ,(Eq.
9) by setting t →∞
• The time constant, τ can be found be setting t = τ in the last equation, (Eq. 9) which gives
y = 0.632 kp a. Then from Figure2, the time needed for y to reach 0.632 kp a is τ.
• The smaller the value of τ, the steeper is the initial response of the output.
• The larger static gain of a process, the larger steady state value of its output for the same
input change.
Assumption :
constant liquid holdup and constant inflow(w
is constant), a linear model result
Subtract equations
By substituting deviation variables for variables, the transfer functions are not related o
initial conditions.
31
Fourth class Process Control
----------------------------------------------------------------------------------------
3-1Response of first order system
EXAMPLE
system consist of level tank output flow rate is directly proportional to its level drive
transfer function relating out put flow rate to input flow rate and also drive transfer
function relating its level to in put flow rate
Sol.
M.B in unsteady state
32
Fourth class Process Control
----------------------------------------------------------------------------------------
Where:
R is related as a linear resistance
33
Fourth class Process Control
----------------------------------------------------------------------------------------
34
Fourth class Process Control
----------------------------------------------------------------------------------------
1-Step change
35
Fourth class Process Control
----------------------------------------------------------------------------------------
2-Ramp Response
36
Fourth class Process Control
----------------------------------------------------------------------------------------
37
Fourth class Process Control
----------------------------------------------------------------------------------------
3-impluse
4-sinsoidal response
38
Fourth class Process Control
----------------------------------------------------------------------------------------
39
Fourth class Process Control
----------------------------------------------------------------------------------------
By comparing Eq. for the input forcing Y(t) function with Eq. for the ultimate periodic
response X(t), we see that
1. The output is a sine wave with a frequency w equal to that of the input signal.
2. The ratio of output amplitude to input amplitude is 11122<τ+w.
3. The output lags behind the input by an angle φ. It is clear that lag occurs, for the sign of
φ is always negative.
41
Fourth class Process Control
----------------------------------------------------------------------------------------
3-2Non-linear systems
To solve non-linear systems there are two methods:-
1-Linearization method Making the non-linear function as linear using Taylar series and
give approximate results.
2-Non-linear solution It is difficult and give exact solution
Linearization Technique
41
Fourth class Process Control
----------------------------------------------------------------------------------------
1. Turbulent flow
2. Chemical reaction at nth order ≠1
3. Radiation heat transfer
4-Dynamics of liquid level system
Consider the system which consists of a tank of uniform cross –sectional area A to which
is attached a flow resistance R such as a value ,a pipe ,or a weir.
Case 1
The volumetric flow rate "Q" through the resistance is related to the head "H" by linear
relationship (R is linear resistance). The density of liquid is constant. Find the transfer
function which relates the head to inlet flow.
Mass balance Mass rate In – Mass rate Out= Mass accumulation in the tank Steady state
mass balance
42
Fourth class Process Control
----------------------------------------------------------------------------------------
43
Fourth class Process Control
----------------------------------------------------------------------------------------
Case 2
44
Fourth class Process Control
----------------------------------------------------------------------------------------
45
Fourth class Process Control
----------------------------------------------------------------------------------------
46
Fourth class Process Control
----------------------------------------------------------------------------------------
47
Fourth class Process Control
----------------------------------------------------------------------------------------
48
Fourth class Process Control
----------------------------------------------------------------------------------------
49
Fourth class Process Control
----------------------------------------------------------------------------------------
Response of 1st order system to sinusoidal input:
51
Fourth class Process Control
----------------------------------------------------------------------------------------
Pure Time Delay system
3-3Translation of function
Time Delay The most commonly used model to describe the dynamics of chemical
process is First-Order Plus Model Delay Model. By proper choice τd , this model can be
represent the dynamics of many industrial processes.
Time delays occur due to
1. Fluid flow in a pipe
2. Transport of solid material (e.g., conveyor belt)
3. Chemical analysis
Sampling line delay
Time required to do the analysis (e.g., on-line gas chromatograph
The Transportation Lag
The transportation lag is the delay between the time an input signal is applied to a system
and the time the system reacts to that input signal. Transportation lags are common in
industrial applications. They are often called “dead time”.
Dead-Time Approximations:-
q i (t) = Input to dead-time element. q o (t) = Output from dead-time element. The simplest
R R R R
the approximation would be perfect for any value of τ d . When the slope of q i (t) varies
R R R R
rapidly, only small τ d ’s will give a good approximation. If the variation in x(t) were some
R R
arbitrary function, as shown in figure below, the response y(t) at the end of the pipe would
be identical with x(t) but again delayed by t
51
Fourth class Process Control
----------------------------------------------------------------------------------------
52
Fourth class Process Control
----------------------------------------------------------------------------------------
Example: Thermal system
53
Fourth class Process Control
----------------------------------------------------------------------------------------
54
Fourth class Process Control
----------------------------------------------------------------------------------------
2-Turbulent Flow
Laminar Flow
Turbulent Flow
55
Fourth class Process Control
----------------------------------------------------------------------------------------
2-System with only Capacity
G(s)
Where : ( A ) is the Capacitance
1. Liquid Capacitance
If the flows of liquid into tank is independent of the level in the tank. Assumptions
1- The flow is independent of the liquid level
2- No flow resistance
3- at t<0 the tank is empty
4- at t=0 open the valve and the level of liquid increase
Mass balance : Mass flow rate in –mass flow out =rate of accumulation in the tank Steady
state mass balance :
Laplace transform:
56
Fourth class Process Control
----------------------------------------------------------------------------------------
Discharge of Capacitance through the positive displacement pump t<0 :the pump is
turn off t=0
57
Fourth class Process Control
----------------------------------------------------------------------------------------
CHAPTER4
Response of 1st order systems in series
Many physical systems can be represented by several first-order processes connected in
series as shown in figure:-
58
Fourth class Process Control
----------------------------------------------------------------------------------------
59
Fourth class Process Control
----------------------------------------------------------------------------------------
Example 4.1.
Two non-interacting tanks are connected in series as shown in Fig. 4-1 a. The time
constants are τ2 =1 and τ1 =0.5; R 2=1. Sketch the response of the level in tank 2 if a unit-
step change is made in the inlet flow rate to tank 1.
Solution: The transfer function for this system is found directly from Equation above thus
61
Fourth class Process Control
----------------------------------------------------------------------------------------
61
Fourth class Process Control
----------------------------------------------------------------------------------------
2. Interacting System
62
Fourth class Process Control
----------------------------------------------------------------------------------------
63
Fourth class Process Control
----------------------------------------------------------------------------------------
64
Fourth class Process Control
----------------------------------------------------------------------------------------
Interacting system
If the tanks are interacting, the overall transfer function, according to Equation of
interacting system (assuming further that A1=A2)
65
Fourth class Process Control
----------------------------------------------------------------------------------------
66
Fourth class Process Control
----------------------------------------------------------------------------------------
CHAPTER 5
5-1 Second order system Sources of second order dynamics in the chemical industries
come from a series of first-order systems, or a processing system with a controller.
The order of a
differential equation is the highest degree of derivative present in that equation. A system
whose input-output equation is a second order differential equation is called Second Order
System.
*We set order n = 2 for a second-order system. The ODE reduces to
Since acceleration =
(Force due to pressure p on lag1 )–(force due to pressure p2on lag2) – ( force due to liquid
level difference in the two lags)-( force due to fluid friction) =(mass of liquid in the
tube)×(acceleration)
68
Fourth class Process Control
----------------------------------------------------------------------------------------
69
Fourth class Process Control
----------------------------------------------------------------------------------------
5-3Spring –damper system
1. The force exerted by the spring (toward the left)of –ky where k is a positive constant
,called Hooke's constant.
2. The viscous friction force (acting to the left )of –c dy/dt ,where c is positive constant
called the damping coefficient.
3. The external force F(t) (acting toward the right)
Force balance :
F(t) - Fs – Fd = (mass ×acceleration)
71
Fourth class Process Control
----------------------------------------------------------------------------------------
71
Fourth class Process Control
----------------------------------------------------------------------------------------
72
Fourth class Process Control
----------------------------------------------------------------------------------------
73
Fourth class Process Control
----------------------------------------------------------------------------------------
74
Fourth class Process Control
----------------------------------------------------------------------------------------
75
Fourth class Process Control
----------------------------------------------------------------------------------------
1-Angular frequency
From eq. of the response y(t)
2- Cycle period Td
3-Delay time (td) is the time required to reach at 50% of its final value by a time response
signal during its first cycle of oscillation.
4-Time of first peak,( tp)
The maximum value of response occur at minimum time at t>0 and sine function =0 .this
is called the peak time. is simply the time required by response to reach its first peak i.e.
the peak of first cycle of oscillation, or first overshoot On differentiating the expression of
y(t) we can obtain the expression for peak time. dy(t)/ dt = 0 we have expression for peak
time
76
Fourth class Process Control
----------------------------------------------------------------------------------------
5- Subsidence ratio (SR)
6-Decay ratio(DR)
77
Fourth class Process Control
----------------------------------------------------------------------------------------
78
Fourth class Process Control
----------------------------------------------------------------------------------------
8. Rise time (tr) is the time required to reach at final value by a under damped time
response signal during its first cycle of oscillation. If the signal is over damped, then rise
time is counted as the time required by the response to rise from 10% to 90% of its final
value.
In order to derive the expression for the rise time we have to equate the expression for y(t)
= 1. From the above we have:
79
Fourth class Process Control
----------------------------------------------------------------------------------------
9-Settling time (ts) is the time required for a response to become steady
It is defined as the time required by the response to reach and steady
within specified range of 2% to 5% of its final value. Settling time is given by the
expression :
81
Fourth class Process Control
----------------------------------------------------------------------------------------
Angular frequency
Cycle period Td
Overshoot
Rise time,(tr)
Decay ratio(DR)
81
Fourth class Process Control
----------------------------------------------------------------------------------------
Example :A control system having transfer function is expressed as :
The radian frequency for the control system is 1.9 rad/min .The time constant is 0.5 min,
The control system is subject to a change of the magnitude 2 .
Calculate i) Rise time ii ) Decay ratio
iii)Maximum value of Y (t) iv) Response time
Solution :
82
Fourth class Process Control
----------------------------------------------------------------------------------------
83