Professional Documents
Culture Documents
Note: The source of the technical material in this volume is the Professional
Engineering Development Program (PEDP) of Engineering Services.
Warning: The material contained in this document was developed for Saudi
Aramco and is intended for the exclusive use of Saudi Aramco’s employees.
Any material contained in this document which is not already in the public
domain may not be copied, reproduced, sold, given, or disclosed to third
parties, or otherwise used in whole, or in part, without the written permission
of the Vice President, Engineering Services, Saudi Aramco.
CONTENT PAGE
INTRODUCTION............................................................................................................4
System Modifications.........................................................................................28
Authorization Procedures........................................................................29
Typical Applications ................................................................................31
Documentation........................................................................................32
Evaluation..........................................................................................................33
REFERENCES.............................................................................................................54
GLOSSARY .................................................................................................................72
LIST OF FIGURES
Figure 10. Binary Logic Diagram For Vacuum Pump System ....................................... 35
Figure 15. HAZOP Worksheet For Vacuum Pump System Proposed Change ............. 45
Figure 20. Vacuum Pump ESD System Binary Logic Diagram ..................................... 50
INTRODUCTION
• Input devices
• Output devices
• Specific deviations (if any) for each guide word for the part
of the process being examined.
-1 -2
1 10 to 10
2 10-2 to 10-3
-3 -4
3 10 to 10
The following are some of the general criteria that are used for
determining the type of shutdown devices are:
CAUSE (IF)
T-303 high level LSHH S
High level reset pushbutton R
K-304 high disch. press. PSHH [34.5 kPa S C
(5 psig)]
High disch. press. reset pushbutton R O
K-304 disch. valve closed S
PIC
307
PZV PI
301 308
N2
FO
PT PCV
307 307 PI
T 309
303
From
Reactor LI To
304 Vent
LAH LSH
305 305
Vacuum
Pump
Knockout
Pot
K-304
NOTE: Some piping details (e.g., line sizes) and instrumentation details (e.g., block valves on pressure
gauges)
Specific criteria that are used for determining the need for a
shutdown point and the type of process instrumentation that
should be used are described below for the following process
variables:
• Flow
• Level
• Pressure
• Temperature
• Vibration
The following are two ways that a single orifice flange or flow
element may be used for both a basic process control system
(BPCS) and an ESD system (see Figure 5):
Input
Signal
Input to BPCS
Signal
to BPCS
FT
Isolation
FT Valves
Block
Valves
FE
FE
FT FT
Input Input
Signal Signal to
to ESD ESD
System System
Vent
Valve
ESD System
Block
Valve
LT
107 ESD System
LSLL Actuation
108
Point
Drain
Valve
To Downstream
System
Note: The ESD input device set point must be below the
relief valve set point.
The monitor must have adjustable shutdown set points, and one
or more of these shutdown points must be used to activate the
ESD system. Unless specified otherwise, a three-second time
delay must be provided to prevent spurious shutdowns.
Final devices are used to take the process to a safe state when
a shutdown occurs or if power is lost to the ESD system logic.
Vacuum pump K-304 and emergency isolation valve ZV-301 in
Figure 7 are examples of final devices in this vacuum pump
system.
PZV PI
308
N2 ZV
FO 301
PT LSHH PCV
307 306 307 PI
T 309
From 303
Reactor LI Vacuum To Vent
304 Pump System
LAH LSH FC
305 305 PSHH
310
Knockout
Pot
K-304
ESD
To
Drain
21
ESD Systems
Development and Analysis of
Emergency Shutdown Systems
Engineering Encyclopedia ESD Systems
Development and Analysis of
Emergency Shutdown Systems
• Must be fail-safe.
If the design principle for the ESD system is known (e.g., de-
energized-to-trip), the HAZOP worksheet, HAZOP summary
form, or cause-and-effect matrix can provide valuable
information for selecting a final device. For example, the
HAZOP worksheet in Figure 8 provides some requirements for
the vacuum pump discharge final device. The action that the
HAZOP worksheet specifies for this valve is to close the block
valve on either high discharge pressure or low differential
pressure. This action specifies the fail-safe position of this final
device when the ESD system trips or power to the final device is
lost. If this fail-safe position is not ensured, the valve may not
close when a critical situation arises.
1 MORE Liquid buildup Excessive liquid Possible vacuum High level interlock
OF in T-303 carryover from pump rupture if T-303 (Level 4) to stop
knockout pot reactor overflows vacuum pump
System Modifications
Authorization Procedures
Modification
Request
Initiators
Operation/production requests
Systematic faults
Modification
Request New/amended legislation
Incident/accident experience
Modifications to the process plant
Software
Modification
Log Update Impact
Analysis HAZOP
Study Analysis
Update Impact
Analysis
Report
Modification
Design
Authorization
Typical Applications
• New/amended legislation
Documentation
• P&IDs
• HAZOP worksheets
• Cause-and-effect diagrams
• Written description
• Logic diagram
• P&IDs
• HAZOP worksheet
• Cause-and-effect diagram
• Written description
• Logic diagrams
• Ladder logic
• Specification sheets
Evaluation
Comparison of Binary
Logic and Resulting
PLC Ladder Logic
The binary logic diagram for the vacuum pump example that
was described in Module 2 is shown in Figure 10. This binary
logic diagram was converted to relay logic in Module 2 (see
Figure 11).
T-303 High
301 Level Reset = 1 OR Output Symbol
PB Shutdown
Reset
T-303 High
Level Shutdown
T-303 High High Level = 0 A Alarm Signal LAHH
LSHH Level 306
306 (Alarm on when
Shutdown
output = 0)
K-304 Disch.
Block Valve ZV
(Closes when 301
K-304 High output = 0)
302 Disch. Reset = 1 OR
PB Press.
Shutdown
Reset K-304 High
Disch. Press.
Shutdown PAHH
K-304 High High Pressure = 0 A Alarm Signal 310
PSHH Disch.
310 Press. (Alarm on when
Shutdown output = 0)
Input Symbol
The ladder logic used in today's PLCs follows the same basic
rules as the schematic diagram used in relay logic systems.
PLC ladder logic is designed to emphasize logic flow. Ladder
diagrams show a "hot" line down the left side of the drawing and
a "neutral" line down the right hand side of the drawing. The
rung of logic is shown on a line running from left to right
between the hot and neutral lines. Switch contacts are usually
shown on the left side of this line, and coils or other outputs are
shown on the right side (See Figure 12). When continuity exists
through all the contacts, the coil or output in that line is
energized, causing an action to occur in a machine or a control
process.
H N
24 vDC
Circuit #21
Panel 16
Line
Number
LSHH-306
301PB Contact opens
on high level
301 302 301 T-303 High
1 CR Level Shutdown
(2, 6, 7)
301CR
2 Relay Contact
Wire Numbers Reference
PSHH-310
302PB Contact opens
on high level
303 304 302 K-304 High Disch.
3 CR Press. Shutdown
(4, 5, 6, 8)
302CR
4
Output
Conditions Instructions
] [ ]/[ ( )
] [
Coil
Contacts
A Continuous Path
Is Needed For Logic
Continuity
The coils shown in the above figures function just like the coil in
a conventional relay. When power is applied to the coil, all its
normally open contacts are made and all its normally closed
contacts are broken. When no power is applied to the coil,
normally open contacts are open and normally closed contacts
are closed.
A ] [ ] [ ] [
] [
OR ] [
] [
b) OR Logic Function
S R Coil
LS ] [ ] [ ( )
Coil
] [
R
LAHH-306
LSHH-306
301-PB T-303 High
High Level
Reset Shutdown Switch Level Shutdown
Alarm
] [ ] [ ( )
LAHH-306
T-303 High
Level Shutdown
Alarm
] [
PAHH-310
PSHH-310
302-PB K-304 High
High Pressure
Reset Shutdown Switch Pressure
Shutdown Alarm
] [ ] [ ( )
PAHH-310
K-304 High
Pressure
Shutdown Alarm
] [
PAHH-310 ZV-301
K-304 High
K-304 Discharge
Pressure
Shutdown Alarm Block Valve
] [ ( )
LAHH-306 PAHH-310 XLS-301
T-303 High K-304 High K-304 Disch. K-304 Run
Level Shutdown Pressure Block Valve Permissive
Alarm Shutdown Alarm Closed
] [ ] [ ] [ ( )
Requirements for
"Management of Change"
to ESD Systems
- Cause-and-effect matrices
The conversion from the binary logic diagram was made using
the equivalent logic functions shown in Figure 13 and the timer
logic function comparison shown in Figure 22.
1 MORE Liquid buildup Excessive liquid Possible vacuum High level interlock
OF in T-303 carryover from pump rupture if T-303 (Level 4) to stop
knockout pot reactor overflows vacuum pump
Level 4 Shutdowns
Deviation Integrity
Ref. Recommended Input Shutdown
and/or Set Point Level Comments
No. Shutdown Signal Action
Consequence Requirements
1 High level, T- Liquid buildup T-303 Level 90% of Stop vacuum
303 knockout in T-303 straight pump
pot knockout pot side of
knockout
pot
CAUSE (IF)
T-303 high level LSHH S
High level reset pushbutton R
K-304 high disch. press. PSHH [34.5 kPa S C
(5 psig)]
High disch. press. reset pushbutton R O
K-304 disch. valve closed S
PZV PI
301 308
N2 ZV
FO 301
PT LSHH PCV
307 306 307 PI
T 309
From 303
Reactor LI Vacuum To Vent
304 Pump System
LAH LSH FC
305 305 PSHH
310
Knockout
Pot
K-304
ESD
PDSLL System
311
48
ESD Systems
Development and Analysis of
Emergency Shutdown Systems
Engineering Encyclopedia ESD Systems
Development and Analysis of
Emergency Shutdown Systems
When the level in T-303 vacuum pump knockout pot reaches the set point
of the high level shutdown switch, the high level shutdown switch will
open. This switch action stops K-304 vacuum pump, and it actuates a
visual and audible high level shutdown alarm. When the high level
condition has been corrected, the operator can push the high level
shutdown reset pushbutton. This reset action will clear the T-303 knockout
pot high level shutdown alarm, and it provides a run permissive signal to
K-304 vacuum pump.
When K-304 vacuum pump discharge block valve closes, the closed limit
switch will close, and K-304 vacuum pump will stop.
T-303 High
301 Level Reset = 1 OR Output Symbol
PB Shutdown
Reset
T-303 High
T-303 High Level Shutdown
LSHH High Level = 0 A Alarm Signal LAHH
Level (Alarm on when 306
306 Shutdown output = 0)
K-304 Disch.
Block Valve ZV
(Closes when 301
K-304 High output = 0)
302 Disch. Reset = 1 OR
PB Press.
Shutdown
Reset K-304 High
Disch. Press.
K-304 High Shutdown PAHH
High Pressure = 0 A Alarm Signal 310
PSHH Disch.
310 Press. (Alarm on when
Shutdown output = 0)
Input Symbol
K-304 K
Disch. Valve Closed = 1 A K-304 Run 304
XLS Block Permissive
301 Valve
Closed
K-304 Low OR
Low Diff. Press. = 0
PDSLL Diff.
311 Press. K-304 Low
Diff. Press.
Shutdown Shutdown PDAHH
Alarm Signal 311
(Alarm on when
K-304 Motor DI output = 0)
Motor ON = 1
XS Auxiliary
302 Contact 5 sec
LSHH-306 LAHH-306
301-PB High Level T-303 High
Reset Shutdown Switch Level Shutdown
Alarm
] [ ] [ ( )
LAHH-306
T-303 High
Level Shutdown
Alarm
] [
PSHH-310 PAHH-310
302-PB K-304 High
Reset High Pressure Pressure
Shutdown Switch Shutdown Alarm
] [ ] [ ( )
PAHH-310
K-304 High
Pressure
Shutdown Alarm
] [
PAHH-310 ZV-301
K-304 High
Pressure K-304 Discharge
Shutdown Alarm Block Valve
] [ ( )
LAHH-306 PAHH-310 XLS-301 PDALL-311
T-303 High K-304 High K-304 Disch. K-304 Low K-304 Run
Level Shutdown Pressure Block Valve Diff. Press. Permissive
Alarm Shutdown Alarm Closed Shutdown Alarm
] [ ] [ ]/[ ] [ ( )
PDSLL-311 PDALL-311
K-304 Low K-304 Low
Diff. Press. Diff. Press.
Shutdown Switch Shutdown Alarm
] [ ( )
XS-302
K-304 Motor
Auxiliary
Contact
] [ TMR_ACCUM
5 seconds
1 Sec
Timer
Accumulated
Value
Binary Logic PLC Ladder Logic
TMR_ACCUM
DI
5 sec 5 seconds
1 Sec
Timer
Preset Time Base
Delay Initiation Timer On-Delay Timer
The On-Delay Timer performs timing functions within the ladder logic
function block. It times logic events and performs actions based on
the power flow to the timer input legs and the timer value. Timers
time logic events in time bases ranging from 0.01 seconds to hours.
Each Timer has two input legs on the left and two output legs on the
right. The upper input leg is the time leg; the lower input leg is the
enable leg. The upper output leg is the timed-out leg; the lower
output leg is the not-timed-out leg.
When power flows to the enable leg, the Timer is enabled. While the
timer is enabled, if power flows to the time leg, the Timer
accumulates time and is retentive as long as the timer remains
enabled. When the timer is not enabled or when the accumulate is
not equal to the preset, the timed-out leg is off and the not-timed-out
leg is on. When the accumulated time reaches the specified preset
value, the timed-out leg turns on and the not-timed-out leg turns off.
The output legs remain in this state until the Timer is reset by
removing power to the enable leg.
Change description:
Change rationale:
Backflow of air from the vent system can create a hazardous situation
(and possible explosion) in the vacuum pump system and upstream
process equipment. This backflow can be caused by a vacuum pump
failure or by a buildup of pressure in the vent system.
James Smith
Originator
This change has met the appropriate review requirements, and it has been approved.
Safety, health, and environmental concerns have been addressed, procedures, have
been revised, the appropriate training and/or communication activities have occurred,
and all affected process safety information is being updated.
Steve Wilson
Request For Change Authorizer
REFERENCES
5. Transfer the input and set point for each Level 1 shutdown
to the input column of the cause-and-effect matrix that is
provided for Level 1 shutdowns. Repeat this action for the
inputs and set points for Level 2, Level 3, and Level 4
shutdowns.
Work Aid 1B: Guidelines and Technical References for Selecting An Input
Device/Sensor
Work Aid 1C: Guidelines and Technical References for Selecting The
Appropriate Final Device
• Shutoff characteristics
• Fire-safe operation
2. Verify that the final devices can meet the process and
environmental constraints of the application in accordance
with paragraph 8.1 of SAES-J-601. The following should be
considered:
5. Update the PLC ladder logic for each revised binary logic
diagram. Use the logic function equivalents in Figures 39
and 40 to make the conversion. For the sake of simplicity,
assume that analog input signals are compared to a set
point in the input module, and that the output signal from
the input module is a discrete signal that functions as the
input signal is defined in the binary logic diagram.
S represents set memory, and R If tank pressure becomes high, vent the tank
represents reset memory. and continue venting, regardless of
pressure, until venting is stopped by manual
Logic output C exists as soon actuation of hand switch HS-1, provided that
as logic input A exists, the pressure is not high. If the venting is
regardless of the subsequent stopped, a compressor may be started.
state of A, until the memory
is reset by logic input B
existing. Logic output C will
not exist again until the Tank Pressure S
High Vent Tank
presence of logic input A
causes the memory to be set. Permit
HS-1 R Compressor
Logic output D, if used, Start
exists when C does not exist,
S and D does not exist when C
A C exists.
MEMORY
Output D should not be shown
Flip-Flop
B R D if it is not used.
If B is to override A, then R
should be encircled, e.g., R .
Storage OR
tank B
feed
pump
The existence of
logic input A If system pressure exceeds a high limit
causes logic (input = 1), start the vacuum pump (output =
DELAY output B to 1) at once. Stop the vacuum pump (output =
TERMINATION DT exist 0) when the system pressure is below the low
A B
(DELAY TO t immediately. B limit (input = 0) continuously for 1 minute.
OFF) terminates when
A has terminated System DT Vacuum
and has not pressure 1m pump
again existed
for time t.
A ] [ ] [ ] [
] [
OR ] [
] [
b) OR Logic Function
S R Coil
LS ] [ ] [ ( )
Coil
] [
R
Timer
Accumulated
Value
Binary Logic PLC Ladder Logic
TMR_ACCUM
DI
5 sec 5 seconds
1 Sec
Timer
Preset Time Base
Delay Initiation Timer On-Delay Timer
The On-Delay Timer performs timing functions within the ladder logic
function block. It times logic events and performs actions based on
the power flow to the timer input legs and the timer value. Timers
time logic events in time bases ranging from 0.01 seconds to hours.
Each Timer has two input legs on the left and two output legs on the
right. The upper input leg is the time leg; the lower input leg is the
enable leg. The upper output leg is the timed-out leg; the lower
output leg is the not-timed-out leg.
When power flows to the enable leg, the Timer is enabled. While the
timer is enabled, if power flows to the time leg, the Timer
accumulates time and is retentive as long as the timer remains
enabled. When the timer is not enabled or when the accumulate is
not equal to the preset, the timed-out leg is off and the not-timed-out
leg is on. When the accumulated time reaches the specified preset
value, the timed-out leg turns on and the not-timed-out leg turns off.
The output legs remain in this state until the Timer is reset by
removing power to the enable leg.
GLOSSARY
AND function A logic function in which the output assumes the 1-state if
and only if all inputs assume the 1-state.
annotated logic A graphical method for showing ESD inputs, outputs, and
diagram internal logic using AND/OR, timer, or counter logic elements
with basic logic statements embedded in the diagram.
basic process control The control equipment and system that is installed to regulate
system normal production functions.
binary logic diagram A method of representing the logic in binary interlock and
sequencing systems using abstract logic functions such as
AND, OR, and NOT.
cause-and-effect matrix A form of state table that is used for showing the relationship
between a process input and an output device in binary
interlock and sequencing systems.
DELAY INITIATION A time delay function in which the time delay occurs when the
(DELAY TO ON) logic input changes from the 0-state to the 1-state.
function
DELAY TERMINATION A time delay function in which the time delay occurs when the
(DELAY TO OFF) logic input changes from the 1-state to the 0-state.
function
fail to danger fault A hardware or software failure that inhibits or delays actions
to achieve a safe operational state should a demand occur.
This type of fault is also called an "unrevealed" fault or a
"covert" fault because it can remain undetected until
revealed by testing.
guide word Simple words that are used to qualify or quantify the design
intention and to guide and stimulate the brainstorming
process for identifying process hazards and/or operability
problems during a HAZOP.
manual reset button A pushbutton that is used to reset an ESD system interlock
once the condition that caused the shutdown has been
corrected.
normally closed (NC) A contact in an electrical device that is closed when the
device is in its non-activated state.
normally open (NO) A contact in an electrical device that is open when the device
is in its non-activated state.
NOT function A single input, single output logic function in which the output
state is the complement of the input state.
output device Automatic block valves, motors, pilot lights, and similar
devices that accept output signals from the logic solver in an
ESD system.
piping and instrument A graphical method for representing the physical equipment,
diagram piping, and instrumentation in a process.
safety integrity level One of three possible discrete integrity levels (SIL 1, SIL 2,
and SIL 3) of ESD systems. SILs are defined in terms of
probability of failure on demand (PFD).
systematic fault A fault due to errors or omission that causes an ESD system
to fail under some particular combination of inputs or under
some particular environmental conditions.
time delay function A logic function in which the response of the output is
delayed following a change in the input.