Process Control Fundamentals - ADD
Process Control Fundamentals - ADD
Fundamentals
ENG. AHMED DEYAB
Introduction to Process Control
•Chemical plants are never truly at steady state.
Reduce variability
Increase efficiency
Ensure safety
Constraint
Control But the higher the temperature the greater
the product yield.
Example
Therefore, better reactor temperature
control allows safe operation at a higher
reactor temperature and thus more profit.
Temperature Control – Heat Exchanger
Steam
Setpoint
Product TC
Stream
TT
Feed Condensate
How is control done
Control is accomplished through a rational arrangement of
equipment (measuring devices, valves, controllers,
computers) and human intervention (plant designers, plant
operators), which together constitute a control system.
Control loops in the process control
industry work in the same way,
requiring three tasks to occur:
THREE
TASKS Measurement
Comparison
Adjustment
Loop Components
Controlled variable: it is the variable that needs to be
maintained or controlled at some desired value or range.
Sometimes also referred to as process variable.
Set Point: it is the desired value of the controlled
Important variable. Thus the job of a control system is to maintain
the controlled variable at its set point.
terms Manipulated variable is the variable used to maintain
the controlled variable at its set point.
Disturbance: any variable that causes the controlled
variable to deviate from its set point. Also referred to as
upset.
Heat Exchanger Control
Controlled variable - Outlet temperature of product stream
Manipulated variable - Steam flow
Actuator - Control valve on steam line
Sensor - Thermocouple on product stream
Disturbance - Changes in the inlet feed temperature
Logic Flow Diagram for a
Feedback Control Loop
Disturbance
Setpoint e c u
+- Controller Actuator Process CV
Sensor
Feedback
Disturbances:
1. ………………………….. 4 -……………………………….
2. …………………………... 5- ………………………………
3. …………………………… 6- ……………………………….
Process Variable T2
Advantage: Disadvantage:
28
Feed forward Model (Boiler Steam Drum)
Temperature Control Loop
Feedback Control Loop
Level control
Feed
Tank
Product
The inlet flow comes from an upstream process, and may change with time
The level in the tank must be kept constant despite these changes
Level controller
LIC: Level Indicator
Controller
Feed
SP
Valve
Opening
(OP)
Error = Process Variable (PV) – Set Point (SP)
Feedback control
Block diagram
disturbance
comparator manipulated
y variable y
sp
+ controller process
– error
set-point controlled
variable
transmitter
Back to level control
Flow in
desired value
(set-point)
disturbance
transmitter
SP
LT LC
controlled controller
variable
(measurement
)
process
Flow out
manipulated
variable
• Primary element/sensor
• Converter
• Transducer
Components • Transmitter
of Control • Indicator
Loops • Recorder
• Controller
• Correcting element/final control element
• Actuator
PRIMARY ELEMENTS/SENSORS
In all cases, some kind of instrument is measuring
changes in the process and reporting a process variable
measurement.
Some of the greatest ingenuity in the process control field
is apparent in sensing devices.
Because sensing devices are the first element in the
control loop to measure the process variable, they are
also called primary elements
Pressure sensing diaphragms, strain gauges, capacitance cells
Resistance temperature detectors (RTDs)
Thermocouples
Orifice plates
Pitot tubes
Examples of Venturi tubes
primary Magnetic flow tubes
elements Coriolis flow tubes
Radar emitters and receivers
Ultrasonic emitters and receivers
Annubar flow elements
Vortex sheddar
Magnetic flow tubes
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.
The primary element (magnetic flow tube) outputs a voltage that can
be measured and used to calculate the fluid’s flow rate.
RTD (Resistance temperature detectors )
With an RTD, as the temperature of a process fluid
surrounding the RTD rises or falls, the electrical
resistance of the RTD increases or decreases a
proportional amount.
The resistance is measured, and from this measurement,
temperature is determined.
TRANSMITTERS
A transmitter is a device that converts a reading from a sensor into a
standard signal and transmits that signal to a monitor or controller.
Transmitter types include:
- Pressure transmitters
- Flow transmitters
- Temperature transmitters
- Level transmitters
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.
The 3 corresponds to the lower range value (LRV) and the 15 corresponds to the upper range
value (URV).
Pneumatic signaling is still common. However, since the advent of electronic instruments in
the 1960s, the lower costs involved in running electrical signal wire through a plant as
opposed to running pressurized air tubes has made pneumatic signal technology less
attractive.
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.
For example, imagine a process that must be maintained at 100 °C.
An RTD temperature sensor and transmitter are installed in the process vessel, and the
transmitter is set to produce a 4 mA signal when the process temperature is at 95 °C and a
20 mA signal when the process temperature is at 105 °C.
The transmitter will transmit a 12 mA signal when the temperature is at the 100 °C setpoint.
As the sensor’s resistance property changes in response to changes in temperature, the
transmitter outputs a 4–20 mA signal that is proportionate to the temperature changes. This
signal can be converted to a temperature reading or an input to a control device, such as a
burner fuel valve.
Other common standard electrical signals include the 1–5 V (volts) signal and the pulse
output.
Digital Signals
Digital signals are the most recent addition to process control signal
technology. Digital signals are discrete levels or values that are combined in
specific ways to represent process variables and also carry other
information, such as diagnostic information. The methodology used to
combine the digital signals is referred to as protocol.
Manufacturers may use either an open or a proprietary digital protocol.
Open protocols are those that anyone who is developing a control device
can use. Proprietary protocols are owned by specific companies and may be
used only with their permission.
Open digital protocols include the HART® (highway addressable remote
transducer) protocol, FOUNDATION™ Fieldbus, Profibus, DeviceNet, and the
Modbus® protocol.
Transducers & Converters
For example, a final control element may regulate the flow of fuel to a burner to control
temperature, the flow of a catalyst into a reactor to control a chemical reaction, or the flow of air
into a boiler to control boiler combustion.
In any control loop, the speed with which a final control element reacts to correct a variable that
is out of setpoint is very important.
Many of the technological improvements in final control elements are related to improving their
response time.
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.
Diaphragms, bellows, springs, gears, hydraulic pilot valves, pistons, or electric
motors are often parts of an actuator system
Globe Valve
54
Multiple use of an End Device
RECORDERS
A recorder is a device that records the output of a measurement
devices.
Many process manufacturers are required by law to provide a
process history to regulatory agencies, and manufacturers use
recorders to help meet these regulatory requirements.
In addition, manufacturers often use recorders to gather data for
trend analysis.
By recording the readings of critical measurement points and
comparing those readings over time with the results of the process,
the process can be improved.
Trend
Display
Trend Display
DCS System Consoles
DCS System
Graphic
Display
A disadvantage of feedback control
hot oil
fuel gas cold oil
hot oil
fuel gas cold oil
Two control loops are nested within each other: the master
controller and the slave controller
◦ the output signal of the master (primary) controller serves as the set point
of the slave (secondary) controller
Simple Feedback Loop
Simple
Cascade
Control
Loop
CASCADE EXAMPLE
USING A FLOW CONTROL TO THE FLASH TANK
loop 4 Leaving the inner loop closed, tune the master loop for
disturbance rejection (the tuning guidelines presented before
can be used)
5 Close the master loop, and adjust the tuning online to ensure
good performance
SP
Valve
Opening
(OP)
Error = Process Variable (PV) – Set Point (SP)
Feed Back Control Loop
Feed
SP
50%
PV (t) Error (t) = 5%
LIC
Tank
55%
Product
Valve
Opening
50%
(OP) 60%
Controller Tuning
P –Proportional
PI – Proportional Integral
𝑂𝑃 𝑡 α 𝑒𝑟𝑟𝑜𝑟 𝑡
𝑂𝑃(𝑡) = × 𝑒𝑟𝑟𝑜𝑟 𝑡
Performance of P-only controllers
Response to a disturbance step change
no control
(KC=0) • Whatever the value of KC,
the offset is reduced with
increasing KC respect to open-loop
operation
controlled variable
• Increasing KC :
the offset is reduced
the system may oscillate
the process response is
off-set speeded up
• Although the open-loop
response may be 1st order,
set-point
the closed-loop one is not
time
Controller Tuning
𝑂𝑃 𝑡 α⨜𝑒𝑟𝑟𝑜𝑟 𝑡
𝐾𝑐
𝑂𝑃(𝑡) = 𝐾𝑐 × 𝑒𝑟𝑟𝑜𝑟 𝑡 + ⨜𝑒𝑟𝑟𝑜𝑟 𝑡 𝑑𝑡
Performance of PI controllers
Increasing KC :
controlled variable
CAUTION
For large values of the controller
gain, the closed-loop response
set point
may be unstable !
time
Performance of PI controllers (cont’d)
Response to a disturbance step change: effect of I
Increasing I :
oscillations are
controlled variable
KC fixed dampened
increasing I the process response is
made more sluggish
CAUTION
For small values
set point of the integral
time, the closed-
loop response
may be unstable
time !
Controller Tuning
𝑑 𝑒𝑟𝑟𝑜𝑟 (𝑡)
𝑂𝑃 𝑡 α
𝑑𝑡
𝐾𝑐 𝑑 𝑒𝑟𝑟𝑜𝑟 (𝑡)
𝑂𝑃(𝑡) = 𝐾𝑐 × 𝑒𝑟𝑟𝑜𝑟 𝑡 + ⨜𝑒𝑟𝑟𝑜𝑟 𝑡 𝑑𝑡 + 𝐾𝑐 × ×
𝑇𝑖 𝑑𝑡
Performance of PID controllers
Response to a disturbance step change
no derivative action Increasing D :
D = 0 the oscillations caused by
the integral action are
increasing D dampened
controlled variable
CAUTION
set-point Noisy measurements may
disrupt the controller
performance !
time
Piping and Instrument
Diagram(P&ID)
Contains: plant construction information (piping, process,
instrumentation, and other diagrams)
ISA Symbology
"V" - D# - SQ
Where;
•HV or V - A literal and required part of all hand valve tags
•D# - last two digits of P&ID drawing number
•SQ - Sequence Number (01 to 99)
•V0001 - The first hand valve on P&ID D100
•V1205 - The fifth hand valve on P&ID D112
Piping &
Connection
Piping
Lines
Lines
1) Usage: For 2) Line Number:
example, process, The identification
drain, nitrogen, number of the line
blowdown, etc. on the plant.
4) Piping Class:
The piping
3) Size: Usually in
specification, both
inches.
material and
pressure rating
5) Insulation Class
Lines
Lines
Instruments
Instruments
In a P&ID, a circle represents individual
ISA Symbology measurement instruments, such as
transmitters, sensors, and detectors
A single horizontal line running across the center of the shape The absence of a line indicates that the function is field
indicates that the instrument or function is in a primary mounted.
location (e.g., a control room). Dotted line indicates that the function or instrument is
inaccessible (e.g., located behind a panel board).
A double line indicates that the function is in an auxiliary
location (e.g., an instrument rack).
Board Mounted
Field Mounted
Not Accessible
A square with a circle inside
represents instruments that
both
- Display
measurement readings and
- Perform some
control function
A hexagon represents computer
functions, such as those carried
out by a controller
Exercise
222
2 222
2
THANK YOU