Process Control Notes
Process Control Notes
Process Control Notes
PROCESS
Process as used in the terms process control and process industry, refers to the methods of changing or refining raw
materials to create end products. The raw materials, which either pass through or remain in a liquid, gaseous, or
slurry (a mix of solids and liquids) state during the process, are transferred, measured, mixed, heated or cooled,
filtered, stored, or handled in some other way to produce the end product.
Process industries include the chemical industry, the oil and gas industry, the food and beverage industry, the
pharmaceutical industry, the water treatment industry, and the power industry.
PROCESS CONTROL
Process control refers to the methods that are used to control process variables when manufacturing a product. For
example, factors such as the proportion of one ingredient to another, the temperature of the materials, how well
1
Process control
the ingredients are mixed, and the pressure under which the materials are held can significantly impact the quality
of an end product.
Control TASKS
Control loops in the process control industry work in the same way, requiring three tasks to occur:
Measurement
Comparison
Adjustment
PROCESS VARIABLE
A process variable is a condition of the process fluid (a liquid or gas) that can change the manufacturing process in
some way. In the example of you sitting by the fire, the process variable was temperature. Common process
variables include:
Pressure
Flow
Level
Temperature
Density
pH (acidity or alkalinity)
2
Process control
Mass
Conductivity
3
Process control
4
Process control
Controller Algorithms
Discrete controllers
Continuous controllers
DISCRETE CONTROLLERS
Discrete controllers are controllers that have only two modes or positions: on and off. A common example of a
CONTINUOUS CONTROLLERS
Controllers automatically compare the value of the PV (process variable) to the SP (set point) to determine if an
error exists. If there is an error, the controller adjusts its output according to the parameters that have been set in
the controller.
5
Process control
Controller Gain
Gain (proportional constant) is defined simply as the change in output divided by the change in input. In general, any change
in control input (disturbance) cause change in control output to adjust the system. If change is high system will be unstable
system
6
Process control
Let us take example of cooling system for control the reactor temperature: The proportionality constant is Kc. and a
The top plot shows the case for no control (Kc = 0), which is called the open loop, or the normal dynamic
As Kc increases, several effects can be noted. First, the reactor temperature responds faster and faster. and
As the gain is increased further, eventually a point is reached where the reactor temperature oscillates
indefinitely, which is undesirable. This point is called the stability limit, where Kc =Ku, Ku is the ultimate
controller gain.
Increasing Kc further causes the magnitude of the oscillations to increase, with the result that the control
7
Process control
PID control
Controller action (response) with respect to disturbance error (E) is governed by three main attitudes or modes:
1- Proportional mode
2- Integral mode
3- Derivative mode
8
Process control
9
Process control
In the figure
(Ex: increase the inlet temperature for cooling system from 50 – 55 oC)
Time response: time required to reach to 63% of its steady state value.
10
Process control
Notes
Integral mode reduce only the offset but cause damping (oscillation), should be
used for systems that oscillation or speed does not have a great effect
Derivative mode is applied for large and slow system, where the system does not
respond to a small change in control output [Ex: large level tank – heat exchanger
(slow system)]
Derivative mode detects the slope process variable diagram (PV) and detects the
future change, hence; apply a large change from the controller where the system
11
Process control
It means the selection of optimum values for Kc, KI, Kd which yield a fast response,
12
Process control
Means that change in system is due to set point change by the operator due to special
means that set point is fixed and the control output regulate itself to recover an
applied disturbance.
13
Process control
14
Process control
15
Process control
16
Process control
At the beginning the control objectives are defined qualitatively then quantitatively.
What was the control objective in the example of the stirred tank heater???
2- Select Measurements.
the plant?”
17
Process control
It is evident that we would like to monitor directly the variables that represent our
control objectives and this is done whenever possible. Such measurements are called
„primary measurements’.
In such a case we measure other variables which can be easily measured (secondary
18
Process control
19
Process control
“What are the manipulated variables (among the available input variables that can be
“The information structure that is used to connect the available measurements to the
20
Process control
“How is the information from the measurements used to adjust values of the
manipulated variables? “
Ex: P or PI or PID
The controller is the active element that receives the information from the
measurements and takes appropriate control action to adjust the values of the
manipulated variables.
21
Process control
D-Transmission Lines
e- Controller
g- Actuators
g-Recording Elements
22
Process control
PRIMARY ELEMENTS/SENSORS
In all cases, some kind of instrument is measuring changes in the
process and reporting a process variable measurement. Primary
elements are devices that cause some change in their property with
changes in process fluid conditions that can then be measured. For
example, when a conductive fluid passes through the magnetic field in
a magnetic flow tube, the fluid generates a voltage that is directly
proportional to the velocity of the process fluid.
Ex: -Thermocouples - Orifice plates
_ Pitot tubes - Venturi tubes - Magnetic flow tubes
- Pressure sens ing diaphragms, strain gauges, capacitance cells
_ Resistance temperature detectors (RTDs)
23
Process control
Thermocouple
25
Process control
TRANSMITTERS
A transmitter is a device that converts a reading from a sensor or
transducer into a standard signal (current vary from 4 mA to 20
mA) and transmits that signal to a monitor or controller.
26
Process control
Process
Variable
Sensor Transducer
(T, P, Flow rate) (Thermocouple – pitot tube Mechanical signal
(Electric output sensor)
(Expansion – magnetic field
Electric Signal
(Volt)
Electric signal
(Current)
Controller
Transmitter
Monitor
27
Process control
SIGNALS
There are three kinds of signals that exist for the process industry to transmit the
process variable measurement from the instrument to a centralized control system.
1. Pneumatic signal
2. Analog signal
3. Digital signal
Pneumatic Signals
Pneumatic signals are signals produced by changing the air pressure in a signal pipe in
proportion to the measured change in a process variable.
28
Process control
Analog Signals
The most common standard electrical signal is the 4–20 mA current
signal. With this signal, a transmitter sends a small current through a
set of wires. The current signal is a kind of gauge in which 4 mA
represents the lowest possible measurement, or zero, and 20 mA
represents the highest possible measurement.
Digital Signals
Digital signals are the most recent addition to process control signal
technology. It depends on 0/1 program codes.
29
Process control
A converter
is a device that converts one type of signal into another type of
signal. For example, a converter may convert current into voltage or
an analog signal into a digital signal. In process control, a converter
used to convert a 4–20 mA current signal into a 3–15 psig
pneumatic signal (commonly used by valve actuators) is called a
current-to-pressure converter.
30
Process control
ACTUATORS
An actuator is the part of a final control device that causes a physical change
in the final control device when signaled to do so. The most common example
of an actuator is a valve actuator, which opens or closes a valve in response
to control signals from a controller.
Actuators are often powered pneumatically, hydraulically, or electrically.
31
Process control
See: https://www.youtube.com/watch?v=XAItnsUcES0
Actuator types
32
Process control
33
Process control
SYMBOLS
In a P&ID, a circle represents individual measurement instruments, such as
transmitters, sensors, and detectors
34
Process control
35
Process control
36
Process control
37
Process control
38
Process control
39
Process control
40
Process control
41
Process control
42
Process control
43
The following is PFD diagram and the nextcontrol
Process is P&ID (piping and instrumentation diagram)
List of streams
44
Process control
No mention for streams details or names of components like the previous PFD
Process control
Control configuration
1- Feedback control
2- Feed forward control
3- Ratio control
4- Inferential control
5- Cascade Control
46
Process control
1- Feedback control
A feedback loop measures a process variable and sends the measurement to a
controller for comparison to setpoint. If the process variable is not at setpoint, control
action is taken to return the process variable to setpoint.
47
Process control
Level
Control
(bottom of distillation
Pressure column)
control
48
Process control
Level
Control
(top of distillation
column)
Temp. control
Compsition
Control
(blending system)
49
Process control
1- Feedforward control
Feedforward control is a control system that anticipates load disturbances and controls them
The designer must have a mathematical understanding of how the manipulated variables will
The main problem is the designer should take in consideration all or the most effective
The added complexity and expense of feedforward control may not be equal to the benefits of
increased control in the case of a variable that causes only a small load disturbance.
50
Process control
51
Process control
It may create instability in the closed-loop It does not introduce instability in the closed-
response Disadvantage loop response. Advantage
52
Process control
Therefore, flow control equipment must have fast sampling and response times. Because flow transmitters tend to be
rather sensitive devices, they can produce rapid fluctuations or noise in the control signal.
To compensate for noise, many flow transmitters have a damping function that filters out noise.
Sometimes, filters are added between the transmitter and the control system.
Because of the time required to change the temperature of a process fluid, temperature loops tend to be relatively slow.
Feedforward control strategies are often used to increase the speed of the temperature loop response.
The speed required in a pressure control loop may be dictated by the volume of the process fluid.
High-volume systems (e.g., large natural gas storage facilities) tend to change more slowly than low-volume systems
(Feedback + Feedforward)
53
Process control
3- Ratio control
It is special type of feedforward where two disturbance streams are measured and kept in a
fixed ratio by controlling only the flow rate of one of the two streams
The stream which is not under control known as "Wild stream"
54
Process control
Controlling the air to fuel ratio in burners (fuel is the wild stream according to source)
Controlling the ratio between feed flowrate and steam in the reboiler
Controlling the ratio between liquid flow rate and vapor in absorber
55
Process control
4- Cascade control
point to controller 2)
56
Process control
Master control
Slave
57
Process control
Single loop (1 measured variables, 1 Manipulated) Multiple loops (2 measured variables, 1 Manipulated)
58
Process control
59
Process control
60
Process control
In these systems, there are two or more controlling variables with one or manipulated
variable, the selective controller transfer the control action from one controlled variable to
a- Override control
In this case, there is ordinary controlled variable in steady state operation, in startup or
shutdown situations (unsteady state operation) some another variables should not exceed
certain upper or lower limits. This is done by using two switches (secondary controllers)
61
Process control
At unsteady state if the level is reduced under the coil level the (LSS) transfer the control action
62
Process control
At unsteady state if the increased to maximum (HSS) transfer the control action to (PC) to
63
Process control
variable at different locations and selects the highest value to provide it the main
64
Process control
To guarantee that the control system will satisfy the operational objectives we need a simple
• In the control system arrangement, we measure value of disturbance and we anticipate what its
• In order to keep the output at the desired level we change the value of the manipulated variable
in order to eliminate the impact of the disturbance on the output. Thus we must know the
Output = f1(disturbance)
65
Process control
Laplace Transform
Any system model in control system is a time domain function [f(t)]
66
Process control
Inverse Laplace
Laplace Transform
Transform
67
Process control
68
Process control
69
Process control
70
Process control
71
Process control
72
Process control
73
Process control
1- Find the Laplace of the differential equation as shown in table to get the
2- Get the inverse Laplace of the result to get the algebraic solution of the
Inverse Laplace
d f(t) Laplace F(S) F (T)
d (t) Transform Transform
74
Process control
Examples:
Y(t)=
75
Process control
Example 2
76
Process control
77
Process control
78
Process control
79
Process control
80
Process control
81
Process control
Home work
82
Process control
83
Process control
84
Process control
Example
85
Process control
Ramp function
Sine function
86
Process control
Exercise
Write the following functions in terms of unit step function(s). Sketch each waveform.
87
Process control
Example:
88
Process control
Example
89
Process control
90
Process control
The following table from (Coughanowr) illustrates most important functions and its Laplace transformation
91
Process control
92
Process control
Examples:
93
Process control
Example 2
94
Example 3
Process control
95
Process control
96
Process control
97
Process control
98
Process control
99
Process control
100
Process control
101
Process control
102
Process control
RAMP Response.
103
Process control
At first prove the law to get the first order response of the tank level as shown above:
104
Process control
105
Process control
106
Process control
107
Process control
Consider the mercury thermometer shown in where 2 is the temperature of its contents or its temperature indication and 1 is the
temperature of the surrounding medium). During an incremental time (d t) the heat flow to the mercury is given by:
dQ UA(1 2 )dt
And the temperature of the mercury will increase by an increment (d 2) so that: dQ wc p d 2
2
From Eqs.
d 2 UA 1
(1 2 ) Fig. (2.4)
dt wc p
wc p d 2
Hence 2 1 or
UA dt
d 2
T 2 1
dt
wc p
Where T = = time constant
UA
(1/UA) = thermal resistance
wcp = thermal capacitance
108
Process control
Example
A thermometer having a time constant of 0.1 min is at a steady-state, temperature of
90°F. At time t = 0, the thermometer is placed in a temperature bath maintained at
100°F. Determine the time needed for the thermometer to read 98°F.
109
Process control
Example
left there for 1 minute, after which it is immediately returned to the bath at
100 f.
a- Draw a sketch showing the variation of the thermometer reading with time.
110
Process control
111
Process control
112
Process control
113
Process control
114
Process control
115
Process control
116
Process control
117
Process control
118
Process control
119
Process control
120
Process control
121
Process control
A Shielded Thermometer
R1
R2 i
1
2
terms of its equivalent non-interacting stages, the effective time constants of the
fictitious independent stages T’1 and T’2 would be such that: T1'T2' T1T2 and
122
Process control
F=V-E
F=0
123
Process control
specified.
Case 3: If F<0. In this case we say that the system is over specified
by F equations.
124
Process control
Thus:
125
Process control
Example (1)
Stirred heater tank
Equations:
126
Process control
Example (2)
Flash Drum
127
Process control
128
Process control
Home Work
Derive the degree of freedom (DOF) for the following system and draw the possible control
scheme(s) based on DOF calculations
129
Process control
130
Process control
131
Process control
132
Process control
133
Process control
134
Process control
Remember:
To apply the rule of closed loop it should be in its CANONICAL FORM
For branched multiple loops a balance should be made starting from X to Y around
[1+GH], or for the more complex system (multiple and branched ) is called
The characteristics equation will be used later in identify if the system stable or not
135
Process control
136
Process control
137
Process control
138
Process control
139
Process control
140
Process control
Remember
141
Process control
142
Process control
143
Process control
144
Process control
145
Process control
Example I
146
Process control
Example II
147
Process control
148
Process control
Homework
Pg 226 in textbook
149
Process control
150
Process control
System stability
Characteristic equation
Consider the general block diagram, which is discussed in the previous
chapter. Using block diagram algebra that was developed in the previous
chapter, we obtain
151
Process control
152
Process control
153
Process control
154
Process control
155
Process control
156
Process control
157
Process control
The criterion of stability for closed-loop systems does not require calculation
requires that we know if any root is to the right of the imaginary axis.
158
Process control
First test: A necessary (but not sufficient) condition for stability is that all of the coefficients in the
characteristic equation must be positive. If any coefficient is negative or zero, the
system is unstable.
Second test: If all of the coefficients are positive, we can construct the following Routh array:
159
Process control
are positive.
160
Process control
161
Process control
Example 4
162
Process control
To have a stable system, each element in the left column of the Routh array must
will be positive if Kc > -1. Thus, we conclude that the system will be stable if
163
Process control
Answer
164
Process control
165
Process control
For the output C to be stable, we analyze the characteristic equation of the system
for the closed loop
Note that The block of U is not involved in the closed loop characteristics equation
166
Process control
167
Process control
168
Process control
time
time
169
Process control
170
Process control
171
Process control
172
Process control
173
Process control
174
Process control
Bode Diagram:
Bode plots are a very useful way to represent the gain and phase of a system as a function of
The difficulty in representing the transfer function comes about because we need to plot a
complex number, H(s) or H(jω), as a function of frequency. Consider the transfer function
To show how the magnitude and phase vary we need two plots one for magnitude and
one for phase.
175
Process control
176
Process control
177
Process control
178