02 Functional Safety 2018.03.27
02 Functional Safety 2018.03.27
Register
1 Introduction ..................................................................................................................... 3
2 End user project management ........................................................................................ 3
2.1 Risk assessment and risk reduction ........................................................................................... 3
2.2 From potential hazards to safety ............................................................................................... 4
2.3 Types of errors in safety systems ............................................................................................... 5
2.4 Functional Safety Management ................................................................................................. 6
2.5 Limitation of figures – probabilistic vs. systematic .................................................................. 7
2.6 Technical requirements ............................................................................................................... 8
2.7 Qualification of personnel ........................................................................................................... 8
2.8 Requirements for a legally sound implementation .................................................................. 8
3 Design and planning of safety instrumented systems .................................................. 9
3.1 General Requirements ................................................................................................................. 9
3.2 Component selection ................................................................................................................... 9
3.2.1 Operability .................................................................................................................................... 9
3.2.2 Proof of suitability ........................................................................................................................ 9
3.2.3 Required information ................................................................................................................10
3.3 The Functional Safety Manual ..................................................................................................10
4 Safety loop calculation .................................................................................................. 11
4.1 Preliminary remarks ..................................................................................................................11
4.2 Calulation formulas....................................................................................................................12
4.3 Sample calculations ...................................................................................................................13
4.3.1 Single-channel protective system ............................................................................................13
4.3.2 Multichannel protective system ...............................................................................................14
5 Life cycle of Safety Instrumented Systems ................................................................... 20
5.1 Commissioning ...........................................................................................................................20
5.2 Safe parameterization ...............................................................................................................20
5.3 Device behavior during normal operation and during failures .............................................21
5.4 Proof test .....................................................................................................................................22
5.4.1 General ........................................................................................................................................22
5.4.2 Effect of the proof test interval on PFDavg ...............................................................................22
5.4.3 Ideal proof test............................................................................................................................23
5.4.4 Proof Test Coverage ...................................................................................................................24
5.5 Repair ..........................................................................................................................................27
5.6 Modification................................................................................................................................27
5.7 Useful lifetime ............................................................................................................................27
6 Appendix ........................................................................................................................ 28
6.1 References ...................................................................................................................................28
6.1.1 Standards ....................................................................................................................................28
6.1.2 Relevant NAMUR recommendations .......................................................................................28
6.1.3 Selected Internet Resources ......................................................................................................29
6.2 Calculations according to IEC 61508:2010 .............................................................................29
6.3 Overview calculation tools ........................................................................................................31
7 Glossary .......................................................................................................................... 32
2 / 34
Whitepaper
Functional Safety in practice
1 Introduction
Functional safety is still an intensively discussed topic in the process industry.
This document is a supplement to the Endress+Hauser publication CP01008Z "Functional safety - SIL"
and presumes the knowledge about Functional Safety gained there. It provides additional information
for more advanced practitioners without using the standard language too much. For more detailed
information, a study of relevant literature and the relevant standards is recommended.
The information in this publication is provided to the best of our knowledge. However we cannot accept
any liability from misunderstanding that may occur.
3 / 34
Whitepaper
Functional Safety in practice
The operators of safety systems must take appropriate measures for risk assessment and risk reduction
during the entire lifecycle.
For this purpose, IEC 61508 defines certain steps:
• Risk definition and assessment according to detailed failure probabilities for the entire safety loop
from the sensor to the controller to the actuator over the entire safety lifecycle.
• Definition and implementation of measures (Functional Safety Management).
• Use of suitable (qualified) devices.
4 / 34
Whitepaper
Functional Safety in practice
According to VDI / VDE 2180 Part 5, faults in the use of devices in safety systems can be controlled as
follows:
Figure 3: Measures to be taken when using devices in safety systems (Source: VDI/VDE 2180 Part 5)
5 / 34
Whitepaper
Functional Safety in practice
Table of contents
1 Objective / purpose
Terms and abbreviations
3 Scope
4 Organization in the safety lifecycle
4.1 Safety plan
4.2 Delegation of responsibility
4.2.1 Planning team
4.2.2 Assessment team
4.3 Risk consideration
4.3.1 Consideration of the risks within the HAZOP
4.3.2 Allocation of the scope of the relevant standard
4.3.3 Classification of the safety systems (SIS)
4.4 Preparation of system specification
4.5 Preparation of requirement specifications
4.6 Software Implementation
4.7 Verification of software
4.8 Installation and commissioning
4.9 Validation
4.10 Operation and maintenance
4.11 Decommissioning
5 Change management
6 Tests in safety lifecycle
6.1 Purpose
6.2 Tests to be carried out
6.2.1 Test of system specifications
6.2.2 Test of requirement specifications
6.2.3 Verification of software
6.2.4 Verification of correct application of assembly and
commissioning
6.2.5 Validation
7 Audit (check of operational quality features)
7.1 Purpose
7.2 Planning and execution (minimum requirements)
7.2.1 Delegation of responsibility
7.2.2 Definition of scope
7.2.3 Specification of frequency
7.2.4 Execution of the audit
7.2.5 Documentation and evaluation of results
8 Applicable Documents
9 Modification service
10 Requirement index
6 / 34
Whitepaper
Functional Safety in practice
Table 1: Incomplete listing of systematic errors and random failures in systems and devices
7 / 34
Whitepaper
Functional Safety in practice
• Verification by proven-in-use
o Evidence by manufacturer
o Evidence by end user
For effective functional safety management of safety-related systems, a planning team and an
assessment team should be established and the four eye principle.
8 / 34
Whitepaper
Functional Safety in practice
3.2.1 Operability
Amongst others, the following variables can affect the functional safety of components. This should be
considered doing component selection.
Environmental influences:
• Mechanical influences (e.g. vibration, shock, impact, static forces)
• Corrosion and other chemical attack
• Pollution
• Temperature
• Moisture
• Power supply (overvoltage, undervoltage)
• Electromagnetic influences
• Radioactivity
Influences of process media:
• Mechanical influences (e.g. pulsation, turbulence, cavitation)
• Physical influences
• Chemical influences
• Thermal influences
9 / 34
Whitepaper
Functional Safety in practice
10 / 34
Whitepaper
Functional Safety in practice
11 / 34
Whitepaper
Functional Safety in practice
Reference Contents
VDI/VDE 2180 Part 4, Approximation formulas for PFDavg for different architectures
Clause 6.1 MooN. Attention must be paid to the specified conditions for
the applicability of the formulas.
IEC 61508-6:2000, Annex B Formulas for PFDavg and PFH (excluding Proof Test Coverage
(PTC) and duration of use).
IEC 61508-6:2010, Annex B Formulas for PFDavg and PFH (including Proof Test Coverage
(PTC) and duration of use). Only the formula for the
architecture 1oo2 is referred to explicitly.
For the consideration in this chapter, the approximation formulas from VDI/VDE 2180 Part 4 are used.
The approximation formulas are:
Meaning of symbols:
PFD Average probability of failure on demand of the safety instrumented systems, later
referred to as PFDavg
ɉୈ Failure rate of dangerous undetected failures
ଵ Proof test interval (specified in hours)
ߚ Proportion of undetected common cause failures (Common Cause Factor). A method for
determining β is specified in IEC 61508-6 Annex D. In practice, the value of β is usually in
the range 5% to 10%.
The exact calculation formulas based on IEC 61508-6: 2010 are given in chapter 6.2.
12 / 34
Whitepaper
Functional Safety in practice
Block diagram:
13 / 34
Whitepaper
Functional Safety in practice
Overall result:
-4 -4 -4 -4 -4 -4 -4 -3
PFDavg = 2.9×10 + 2.8×10 + 1.4×10 + 1.3×10 + 1.2×10 + 2.9×10 + 2.6×10 = 1.5×10
-2
This protective system is mathematically suitable for safety functions up to SIL 2 (PFD avg <1×10 ). The
review of the systematic suitability gives SIL 3 (see table).
Note: As some components have a hardware safety integrity of SIL 2, the entire protective system can
only be used for safety functions up to SIL 2.
Safety PLC
Component Sensor Interface AI CPU DO Interface Actuator
-8 -8 -9 -9 -9 -8 -8
λDU [1/h) 6.5×10 6.3×10 3.2×10 3.0×10 2.8×10 6.6×10 6.0×10
T1 [h] 8760 8760 87600 87600 87600 8760 8760
Hardware
Safety 2 2 3 2 2
Integrity
Systematic
Safety 3 3 3 3 3
Integrity
14 / 34
Whitepaper
Functional Safety in practice
Block diagram:
15 / 34
Whitepaper
Functional Safety in practice
Overall result:
-4
PFDavg = 8.3×10
-3
This protective system is mathematically suitable for safety functions up to SIL 3 (PFDavg < 1×10 ).
Note that the actuator interface and the actuator are configured only in single channel architecture and
have hardware safety integrity of SIL 2. Hence, the entire protective system can only be used for safety
functions up to SIL 2.
16 / 34
Whitepaper
Functional Safety in practice
Block diagramm:
17 / 34
Whitepaper
Functional Safety in practice
18 / 34
Whitepaper
Functional Safety in practice
Overall result:
-4
PFDavg = 1.9×10
-3
This protective system is suitable for safety functions up to SIL 3 (PFDavg <1×10 ).
19 / 34
Whitepaper
Functional Safety in practice
5.1 Commissioning
Before commissioning of safety-related devices, the following documentation must be available:
• Operating Manual
• Functional Safety Manual
• Operator requirements (e.g. end user documentation)
20 / 34
Whitepaper
Functional Safety in practice
21 / 34
Whitepaper
Functional Safety in practice
5.4.1 General
Safety-related devices must be inspected for functionality at appropriate intervals. The relevant
parameter is the time interval for periodic testing (proof test interval T1). This value is to be included in
the calculation of PFDavg. It should be chosen so that PFDavg stays within the required SIL range.
du) in a safety-
related system. It is the goal to bring a safety system to an “as new” condition or as close as practical to
this condition.
Responsibility of the end user is to choose the proof test procedure and the time intervals (T1). The test
shall be carried out such that the proper function of the safety system is proven observing the inter-
action of all components. The proof test intervals for different subsystems may be of different lengths.
The proof tests must be carried out, documented and managed by the end user. For this purpose, a proof
test protocol should be created. The proof test is based on the proposal in Functional Safety Manual or
operator requirement.
To ensure a controlled process a proof test protocol with control of timing is recommended. In the
test instruction, the test procedure should be described in detail. The test documentation should be
transparent and permanently available.
IEC 61511 allows both the proof test of the entire safety system as well as the test of subsystems only.
ሺሻ ൌ ିή୲
The reliability indicates the degree of probability that a component will meet the requirements for a
certain period of time.
The probability of failure P(t), by definition, indicates the probability that a component has failed before
reaching a certain point in time. The failure probability function P(t) = PFD(t) is described as follows.
Simplification:
Assuming ͳ اit follows: ͳ െ ି୶ ൎ
From this it follows for PFD(t) under the conditions λ = const. and ɉ ή ͳ ا
ሺሻ ൌ ɉ ή
In practice, the fractions caused by MTTR are neglected for the calculation of PFD(t). Assuming that
MTTR = 8h << the operating time t, it follows:
ሺሻ ൌ ɉୈ ή
22 / 34
Whitepaper
Functional Safety in practice
Since the probability of failure is a linear curve, the mean value can be calculated simply by the integral
of PFD(t).
ଵ ்
ୟ୴ ൌ ή భ ሺሻ
୲
ࢀ
۾۴۲ ܞ܉ൌ ૃ۲ ܃ή ൬ ܀܂܂ۻ൰ ૃ۲۲ ή ܀܂܂ۻ
Again, the approximation from practice can be used and the proportions of MTTR neglected, since
MTTR << t. From this follows:
۾۴۲ ܞ܉ൌ ήૃ ήࢀ
۲ ܃
23 / 34
Whitepaper
Functional Safety in practice
To calculate the average probability of failure, the approximation is used from the following formula:
ܶଵ ܶ
ܲܦܨ௩ ൌ ɉ ή ൬ ൰ ή ɉ ή ൬ ൰ ή ሺͳ െ ሻ ɉ ή ܴܶܶܯ
ʹ ʹ
ࡼࡲࡰࢇ࢜ࢍ ൌ ૃࡰࢁ ή ࢀ ή ܂۾۱ ή ૃࡰࢁ ή ܂ή ሺ െ ܂۾۱ሻ
24 / 34
Whitepaper
Functional Safety in practice
T1
T1
25 / 34
Whitepaper
Functional Safety in practice
In the case of a simple proof test (PTC = 50%) it may be useful at regular intervals (e.g. every 4 years) to
introduce a more complex proof test. The result then looks as shown in Figure 11.
It is derived from the following formula for the average probability of failure with two Proof Test
Coverages and different proof test intervals.
ࡼࡲࡰࢇ࢜ࢍ ൌ ή ૃࡰࢁ ή ࢀ ή ܂۾۱ ή ૃࡰࢁ ή ࢀ ή ሺ െ ܂۾۱ ሻ ή ૃࡰࢁ ή ܂ή ሺ െ ܂۾۱ ሻ
T1 T2 T
Figure 11: Proof test with PTC 50% (annually) and 99% (every 4 years)
26 / 34
Whitepaper
Functional Safety in practice
5.5 Repair
Repair means a 1:1 replacement of components. It brings a device in an "as new" condition or as close
as practical to this condition (source: IEC 61508-4:2010, Section 3.8.5).
A repair of safety-related components can be carried out by qualified personnel of the end user or a
service technician of the manufacturer. Repair of defined components may be done following the
manufacturer’s repair instructions. Only original spare parts must be used.
If a device was operated in a safety-related application and a device error cannot be excluded, the
replaced component must be sent to the device manufacturer for fault analysis.
For repairs to safety-related devices the following cases and procedures can be distinguished (see
VDI/VDE 2180, Part 3, Section 2.2.3.):
1. Repair of a single-channel safety instrumented system:
• One fault leads to failure of the safety instrumented system.
• The repair must be done immediately after detection of the fault.
• During repair, the plant must be shut down or appropriate actions taken to achieve or maintain
the safe state.
2. Repair of a single fault tolerant, multichannel safety instrumented system:
• After detection of a fault the process can be operated safely, while repairing the defective part.
The designated repair time must be respected.
• Otherwise, alternative measures must be taken.
5.6 Modification
Modifications are changes desired by the end user to already delivered and installed devices.
Usually modifications on safety-related components are performed in the manufacturer’s factory.
Modifications to safety-related components at the end user's location are possible only after
approval by the manufacturer. In this case, the modifications should be performed and documented
by a qualified manufacturers’ service engineer.
6 Appendix
6.1 References
6.1.1 Standards
Designation Title
IEC 61508:1998 Functional safety of electrical/electronic/programmable
electronic safety-related systems, Edition 1
IEC 61508:2010 Functional safety of electrical/electronic/programmable
electronic safety-related systems, Edition 2
IEC 61511-1:2016 Functional safety – Safety instrumented systems for the
process industry sector
VDI/VDE 2180, Part 1 bis 6 Safeguarding of industrial process plants by means of process
control engineering (PCE)
28 / 34
Whitepaper
Functional Safety in practice
Source Contents
[Link]/SIL Overview of SIL evaluated Endress+Hauser products with
certificates and Functional Safety Manual for download
[Link]/functionalsafety/ Web site of the International Electrotechnical Commission
(IEC) for functional safety
[Link]/ Functional Safety website of VDE
funktionale-sicherheit
[Link] Homepage of “61508 Association“
Input values:
ɉୈ Detected dangerous failure rate
ɉୈ Undetected dangerous failure rate
MRT Mean repair time (hour)
MTTR Mean time to restoration (hour)
ଵ Proof test interval (hour)
ଶ Interval between demands (hour)
Ⱦ The fraction of undetected failures that have a common cause. A method for
determining β is specified in IEC 61508-6 Annex D. In practice, the value of β is
usually in the range 5% to 10%.
ߚୈ The fraction of detected failures that have a common cause.
PTC Proof Test Coverage
29 / 34
Whitepaper
Functional Safety in practice
Terms:
Meaning of terms:
tCE Channel equivalent mean down time (hour) for 1oo1, 1oo2, 2oo2 and 2oo3
architectures
tGE Voted group equivalent mean down time (hour) for 1oo2 and 2oo3 architectures
tG2E Voted group equivalent mean down time (hour) for 1oo3 architecture
CCF Common Cause Factor
30 / 34
Whitepaper
Functional Safety in practice
31 / 34
Whitepaper
Functional Safety in practice
7 Glossary
Term Explanation
Device type A Devices where the failure rates and failure modes of all
components are clearly known in all cases.
Device type B Devices where the device behavior in case of error is not fully
determinable (e.g. programmable or configurable devices).
Failure rate λ Probability of failure of a component (e.g. resistor, μC). The
-9
failure rate unit is FIT (Failure In Time, 1 FIT = 10 / h).
FMEDA (Failure Modes, Effects Analytical method for electronic circuits and mechanics for
and Diagnostic Analysis) the quantitative determination of failure modes and failure
rates.
Failure rates:
• λSD: Total failure rate for safe detected failures
• λSU: Total failure rate for safe undetected failures
• λDD: Total failure rate for dangerous detected failures
• λDU: Total failure rate for dangerous undetected failures
Functional Safety Part of the overall system safety which depends on the
correct functioning of safety-related systems to reduce risk.
Functional safety is achieved when each safety function is
performed as specified.
Hardware Fault Tolerance A hardware fault tolerance of N means that N+1 is the
(HFT) minimum number of faults that could cause a loss of the
safety function.
Hardware Safety Integrity Part of the safety integrity of a safety-related system relating
to random hardware failures in a dangerous mode of failure.
High demand mode Mode of operation where the safety function is frequently
performed on demand, in order to transfer an equipment
under control into a specified safe state, and where the
frequency of demands is greater than once a year.
Low demand mode Mode of operation where the safety function is only
performed on demand, in order to transfer an equipment
under control into a specified safe state, and where the
frequency of demands is no greater than once a year.
Measurement error of a stand- Specified device accuracy without consideration of safety
ard device concerns.
MTBF Mean Time Between Failures
MTTR Mean Time To Repair
PFDavg Average probability of dangerous failure of a safety function
at low demand mode of operation.
PFH (probability of failure per Failure probability of a safety function at high or continuous
hour) mode of operation.
32 / 34
Whitepaper
Functional Safety in practice
Term Explanation
Proof test interval (T1) Time interval between periodic tests performed to detect
dangerous hidden failures in a safety-related system.
Random failure Error with not reproducible cause. Its occurrence is not
predictable.
Redundancy Using multiple elements or systems to perform the same
function. Redundancy can be implemented by identical
elements (homogeneous redundancy) or with different
elements (diverse redundancy).
Residual risk Remaining risk despite protective measures.
Risk Combination of the probability of occurrence of harm and the
severity of that harm.
Safe Failure Fraction (SFF) Ratio of the average failure rates of safe plus dangerous
detected failures and safe plus dangerous failures.
Safe state Status of a system when safety is achieved.
Safety function Function which is intended to achieve or maintain a safe state
for the process, with respect to a specific hazardous event.
Safety Instrumented System Instrumented system used to implement one or more safety
(SIS) (instrumented) functions.
Safety Integrity Level (SIL) Four discrete levels (SIL 1 to SIL 4). The higher the SIL of a
safety-related system, the lower the probability that the
system does not perform the required safety function.
Safety Life Cycle Description of all necessary activities in the implementation
of safety-related systems from the concept phase to the
decommissioning.
Safety measuring error Changed measurement accuracy for safety-related functions
compared to the specification for standard operating accuracy.
Safety-related system System which performs safety functions in order to reach or
maintain a safe state for equipment under control.
Software Safety Integrity Part of the safety integrity of a safety-related system relating
to systematic failures in a dangerous mode of software related
failures
Systematic fault Error with generally identifiable and reproducible cause.
Systematic Safety Integrity Part of the safety integrity of a safety-related system relating
to random hardware failures in a dangerous mode of failure.
Useful lifetime Time between early failures (burn-in) and before late failures
(wear-out) where the failure rates of components can be
considered constant.
33 / 34
Whitepaper
Functional Safety in practice
Term Explanation
34 / 34
Contact
WP01032F/00/EN/01.16
Endress+Hauser GmbH+Co. KG
Hauptstraße 1
79689 Maulburg
Germany