Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Logic Diagrams
15-QMP-001-F2-R1
Reviewed:
TABLE OF CONTENTS
Page
Section Description
No
1. Purpose 3
2. Scope 3
3. Procedure 4
4. Documentation 16
1 Purpose
2 Scope
The Logic Diagrams are intended to facilitate a common understanding of the Process
Operation amongst technical, design, operating and maintenance personnel concerned
with the systems and its effective implementation by System engineer.
The scope is essentially to provide the guidelines, symbols, both basic and non-basic, for
binary operating functions. The use of symbols in typical systems is illustrated in the
appendices.
The latest revisions of the following documents shall be referred as a minimum while
a) P & ID’s
b) Instrument Index
c) Instrumentation Design Basis
d) Emergency & Shutdown Philosophy
e) Control Philosophy
f) Fire & Gas Detection Philosophy
g) Point Database
h) Safety Philosophy
i) Cause and Effect Charts
j) System Architecture & Specification
k) SAFE Charts
l) Interface Philosophy.
3 Procedure
3.1 Understand fully the operation philosophy of the system after going through documents
such as Control Philosophy, Safety Philosophy, Cause and Effect chart, Interface
Philosophy etc. of the system departments.
3.2 Based on understanding the desired objectives are set. Developing the logic diagram
then proceeds using reasoning and a set of standard logic gates. The advantage of this
approach is that all possible paths to achieve the desired objective are considered.
3.3 Follow any one standard like ISA standard S5.1-1973 (American National Standard
Y32.20-1975), “Instrumentation Symbols and Designations”. A legend sheet/
specification of the block logic diagram should be made for each project.
3.4 In these ways, the diagram may provide a level of detail as appropriate, to interface
between a designer of pneumatic circuits and a designer of electric circuits.
Logic diagram documents, drawing sheets naming etc. should also be standardized as
per ISO requirement
The AND gate has two or more inputs and only a single output. The status of the
output is 1 if all the inputs are in the status 1. Otherwise the output is in status 0.
X1
& Y
TRUTH TABLE FOR
X2
AND GATE
X1 X2 Y
0 0 0
1 0 0
0 1 0
1
The OR gate has two or more inputs and only a single output. The status of the output
is 1 if any one of the inputs are in the status 1. Otherwise the output is in status 0
X1, X2 ARE THE INPUTS & Y IS THE OUTPUT
X2
The NOT gate has a single input and a single output. The output is in the opposite of
status of the input. That means if the input is in the status 0 the output is in status 1
and vice versa.
X Y
0 1
1 0
3.6 Logic symbols shall always be shown in the position from left to right, in order to avoid
misunderstanding.
3.7 All possible logic functions can be built by a combination of the basic logical functions.
However for convenience other symbols are used as well .
3.8 The selection switch connects the output to one of the input signals at a time. The
position of the switch is set manually
3.9 The selection switch connects the output to one of the input signals at a time. The
position of the switch is set manually.
X1
Pos. 1
Pos. 1
X2
Pos. 2
Pos. 2
3.9 Flip-flops are also used in Logic diagrams. The flip-flops are prone to
misunderstanding and require an additional inverter at the reset input to make them
fail-safe. Also an indication shall be used to show whether the flip-flop is set or reset
prevailing, indicating its status when both set and reset signals are present.
The flip-flop most frequently used is the S-R Flip-flop.
In S-R Flip-flop, S represents SET Memory and R represents RESET Memory. In the
S-R flip-flop two Logic outputs Y1 and Y2 are shown. Output Y2 shall not be shown if
it is not used.
In this case, Reset is prevailing meaning that Q=0 regardless of the subsequent
states of X1. Similarly if Set is prevailing then Q=1.
If the state of X1 = X2 = 0, then Q will continue to exist in Previous state, that is, if
Q=1 then it will continue to be in state 1 and if it was in state 0 then it will remain in
state 0.
Similarly, if X1 = X2 = 1, then that condition is the Toggling condition. In this case the
state of Q will be alternately 0 and 1.
A Logical input symbol relates the binary status of an input signal to an external
physical condition. This means that for a High level switch, the signal has the status
1 if the level is below the high level setting of the switch. If the level is above this
setting the signal has the status 0.
A Logical output relates an external physical condition to the binary status of the
output signal. For example, an On-off valve is in closed position if signal equals 1
and in open position if signal equals 0.
The Timers are all single input – single output functions. The timers delay the change
of status from 0 to 1. The delay time should be stated in the symbol.
X t=
5
se
c.
Instrument Signals, Logic Signals & Logic Statements
The existence of a logic signal may correspond physically to either the existence or
the non-existence of an instrument signal, depending on the particular type of
hardware system and the circuit design philosophy that are selected. For example, a
high-pressure alarm may be chosen to be actuated by an electric switch whose
contacts OPEN on high pressure. On the other hand, the high-pressure alarm may
To aid accurate communication between logic developer and reader of the logic
diagram, the diagram should be interpreted literally. Therefore, possibility (b) is the
correct one.
a) Develop the logic diagram in such a way that it says exactly what is intended. If
the valve is intended to be open, then it should be so stated and not be stated, as
being not closed.
b) Have a separate note specifying that the valve always assumes either the closed
or the open position.
In order to make the logic diagram more readable the physical meaning of the
signals, which refers to status 1, should be stated along the signal line.
SHEET NO.
XXXX PAGE XXXX
CONNECTO
R SERIAL NO.
The following definitions apply to devices that have open, closed, or intermediate
positions. The positions stated are nominal to the extent that there are differential
gap and dead band in the instrument that senses the position of the device.
Not open position : A position that is less than 100 percent open.
A device that is not open may or may not be
closed
For a logic system having an input statement that is derived inferentially or indirectly,
a condition may arise that will lead to an erroneous conclusion. For example, an
assumption that flow exists because a pump motor is energized may be false
because of a closed discharge valve, a broken shaft, or another mishap. Factual
statements, that is statements based on positive measurements, confirming that a
certain condition actually exists or does not exist, are generally more reliable and
shall be used while developing the logic diagrams.
may be necessary to enter power supply or loss of power supply as logic inputs to a
system or to individual logic elements. By the same token, it may be necessary to
consider and depict the effect of restoration of power supply. Logic diagrams do not
necessarily have to cover the effect of logic power supplies on process system but
may do so for thoroughness.
The graphical representation of complex logic functions that describe the control of
an industrial process is an essential aspect of an engineer’s responsibility. Once the
diagrams are developed and the redundancies have been removed, a decision
must be made concerning whether to present the circuit graphically with Positive or
Negative Logic. The choice is based on the purpose of the diagrams and the general
desire to explain it graphically in a clear, concise fashion.
A Positive logic is one that illustrates logic elements that output “1” as a result of the
input “1” into the element. An AND is an example of a positive logic element and
normally all logic functions described with AND’s and OR’s are considered Positive.
Conversely, Negative logic illustrates a logic function by using logic elements that
require “0” at inputs to produce “0s” at their outputs. The merit of negative logic is
that it facilitates the creation of control circuits for real systems. One can match the
physical characteristics and requirements of the sensors and the interface circuit of
the actuating device to the Negative logic, more easily than the Positive logic.
In most cases the fail safe concept leads to “normally energized” systems. .In terms
of functional logics this means that at a normal condition of the input and output
signals have the status 1 and at abnormal condition the status is 0. This rule of
thumb hold as long as the normal and abnormal condition are applicable. For start-
up interlock systems this is undefined and for processes which have a stand-by
function it is not always clear.
In systems, where inter linkage occurs between the different functions or systems,
i.e. Process Systems, Sequence Control and Safety Shutdown/ Safety Interlock
Systems, then this shall be clearly indicated in the Logic Diagrams, at least by
covering under Notes.
Drawing Formats
The drawing format may vary from project to project. However, the emphasis shall be
placed on clarify and all logically connected functions shall be indicated, as far as
possible, on the same sheet.
The logic diagrams shall be provided with an index sheet showing the logic divisions
with respect to the main units or sections of the plant and the associated system, i.e.
Process Control, Safety Shutdown, Sequencing etc.
A legend sheet shall be included, which defines the symbols/ representations used in
the logic diagrams. Any general notes shall also be included in this sheet.
If the same logic output is to be repeated several times on the logic diagrams, a
typical can be made for this function or the same can be narrated under a general
note and related instrument tag nos./ equipment tag nos. must be covered under this
note. For example, the running status of all Pumps shall have an associated output
for a visual indication (lamp), which may be covered under a note.
Following is an example stating the various steps for developing logic diagrams.
There is the Oily Water Sump (OWS) of capacity 1200 m3. The Pumps -001A/B/C
and 002A/B/C are pumping out waste water from the sump. The pumps are Auto
start and Auto stop type. On attaining a certain level in the sump one pump will start
and on level built up the second pump will also start. With falling waste water level in
sump, the second pump shall stop first and subsequently the first pump shall stop
automatically.
Objectives:
(1) Start any of the dry weather pump from 62-PA-RA-002 A/B/C when OWS
level in the sump reaches Low Level ( LSL ).
(2) Stop running the dry weather pump when OWS level in the sump reaches at
Low-Low Level ( LSLL ).
(3) Start 2nd dry weather pump from remaining pumps when OWS level in the
sump reaches at High-High Level ( LSHH ).
(4) Stop running the dry weather pump when OWS level in the sump reaches at
LSL.
A Schematic Presentation:
I I I
This is the cause and effect chart of the above mentioned objectives.
Here Causes are Tank Levels ( LSL , LSLL , LSH , LSHH and Pump Failure )
Effect is the pumps start / stop. In our case this is the desired objective as well.
EFFECT
Logic Diagram :
Following is the logic diagram to achieve the desired objective, to start / stop the
pumps.
LSL O
R S
Q PUMP A
LSHH START/STO
POP
LSLL R
O
R
PUMP A
FAIL
LSHH S
Q PUMP B
START/STO
POP
LSLL R
O
R
PUMP B
FAIL
PUMP A
FAIL O
R S
Q PUMP C
PUMP B START/STO
FAIL POP
LSLL R
O
R
PUMP C
FAIL
LSL A
N
D
PUMP A
STATUS
GS Engineering & Construction India Pvt. Ltd.
GS Engineering & Construction India Pvt. Ltd. Doc. No. : 44-DG-01
Rev. No .: 0
TITLE: Design Guide for Logic Diagrams Page No.: 16 of 16
In the above case we have considered Pump A/B are running and Pump C is
standby pump. If either A/B fails , C will start working.
Signals ( LSL , LSLL , LSH, LSHH ) are derived from Level Transmitters so in normal
condition the input status considered is "0" and in abnormal condition the input status
considered is "1".
4.0 Documentation