Functional Safety
Functional Safety
                      Functional
                      safety handbook
Functional safety handbook - v10         11/6/08     3:29 pm   Page 2
CONTENTS
References Page 34
          For more information, contact Stuart Nunns, UK Safety Lead Competency Centre at
                                 stuart.nunns@gb.abb.com
                                                     2
Functional safety handbook - v10              11/6/08        3:29 pm        Page 3
1.0 INTRODUCTION
        The demands of the safety critical systems               embarking on more formalized regimes,
        market are becoming ever more exacting, with             including certification programmes, to
        international standards being increasingly used          ensure their safety applications are
        to demonstrate compliance with legal                     implemented in accordance with IEC61508 [1]
        requirements and the increasing need to justify          and IEC61511 [2].
        that the required functional safety has been
        achieved. This is not surprising given the               The author has worked with a number of
        increasing dependence on such systems to                 organizations seeking certification. This
        achieve the specified tolerable risk targets. With       Functional Safety Handbook provides a case
        increasing contractual rigour and the potential          study illustrating how a major automation
        for litigation should something go wrong,                system supplier (the organization), with world
        organizations need to demonstrate that                   wide systems integration businesses (the
        their functional safety capability is seen as            integrators) undertook the challenge to achieve
        best in class.                                           third-party accredited certification for its
                                                                 functional safety management system (FSMS)
        Of particular importance in this context is the          against the requirements of IEC 61508 and
        effectiveness of the competence management               IEC 61511.
        arrangements to ensure that those within the
        organization having responsibility for functional        The generic methodology described and
        safety are competent to undertake those duties.          comprising the procedures and processes to
        In order to meet these increasing demands,               achieve certification have been developed by
        safety suppliers and integrators are increasingly        ABB Ltd.
                                                             3
Functional safety handbook - v10             11/6/08        3:29 pm         Page 4
2.0 BACKGROUND
        Statistics relating to the performance of large         practice and demand that attention be paid to
        organizations are published internationally and         all safety lifecycle activities within an effective
        incidents, especially those causing injury or           functional safety management system.
        death, make headline news. Recent inquiries
        into major incidents provide further support of         2.2 Safety standards are also changing
        the increasing importance of international              The publication of the international safety
        standards (IEC 61508 and IEC 61511) where               standards IEC 61508 and IEC 61511 for the
        such standards have been used as a                      process sector are setting global benchmarks
        benchmark of what constitutes acceptable                as “good practices” in functional safety. Safety
        good practice [3] [4]. Many management                  Regulators and the legal professions world wide
        incentives are based on the safety performance          are embracing these standards and using them
        of their operation. In order to compete or even         to make judgements as to whether accepted
        survive, industry continually strives to improve        good practice has been applied if negligence is
        performance and profitability while maintaining         suspected. Ignore them at your peril!
        and improving safety. In today’s world there are
        significant costs on an organization if they are        2.3 Globalization
        not acting in a socially responsible manner.            The safety-related market is truly global and
        Such costs include direct financial costs arising       increasingly based on international standards.
        from the incident itself, from legal costs and          Although companies throughout the supply
        fines in the event of being found guilty of             chain are establishing the capability to ensure
        breaking the law, damages paid to injured               compliance with the relevant international
        parties caused by negligence and reputation             standards there are currently differences in the
        damage which can have far reaching                      way IEC 61508 and IEC 61511 are being
        implications on the business. The result is that        implemented. These differences lead to a
        safety and profitability are inextricably linked.       lack of cohesion in the supply chain and
                                                                increase the likelihood of contractual and
        In summary, there are strong regulatory and             project disruption. The interface between the
        social demands for businesses to demonstrate            supply chain and the end user organization can
        they have exercised their duty of care by               sometimes be less than ideal as end user
        providing a safe, reliable operation with full          organizations have been subjected to right-
        documentation and decision traceability.                sizing, downsizing, restructuring and changes
                                                                of ownership which makes it a challenge for
        2.1 Safety technologies are                             them to retain core competencies in an
        changing rapidly                                        environment of rapid change.
        In line with all control system technologies,
        safety systems are undergoing a revolution.             2.4 Organizational and personal
        Increasing reliance for process protection is           competence
        being placed on networked ‘smart’ equipment,            Proven competence at a company, department
        integrated control and safety solutions, reusable       and individual level is increasingly seen as
        safety components and subsystems with                   necessary to meet contractual and regulatory
        automated configuration tools. The application          requirements. But which competency scheme is
        of such technology has, potentially, significant        most appropriate and who should it apply to?
        economic and safety benefits, but to release its
        potential, it is vital that such technology is          2.5 What do the standards say about
        applied by the adoption of current good                 competency and functional safety?
        practice and this means the adoption of                 The following clauses relate to IEC 61508
        relevant standards such as IEC 61508 and IEC            and IEC 61511 in respect of the “Management
        61511. These standards represent current good           of functional safety”. In the case study, the
                                                            4
Functional safety handbook - v10               11/6/08         3:29 pm        Page 5
                                                               5
Functional safety handbook - v10            11/6/08       3:29 pm        Page 6
        In the case study, the senior management of           The ‘Strategic Competency Principles’ are
        the organization responded to the strategic           based on a multi-tiered approach to
        objectives by establishing an internal Company        demonstrating functional safety capability, see
        Safety Authority (CSA). The CSA was charged           Figure 1 below. At the highest level the
        with the responsibility of ensuring that safety       organization had to demonstrate compliance to
        applications were implemented in accordance           good practice by the adoption of international
        with IEC61508 and IEC61511.                           standards IEC 61508 and IEC 61511. A key
                                                              part of this demonstration was the strategic aim
        The CSA was tasked with developing a set of           of achieving third party accredited certification.
        core principles for functional safety and a           An essential element of this was the
        program of work to achieve accredited                 organization’s competence framework.
        certification for the organization as a whole.
        These core principles endorsed by senior              The second level relates to individual
        management are collectively referred to as            competence and the requirement to achieve
        ‘Strategic Competency Principles’. They define        external recognition of an individual’s functional
        minimum requirements designed to reflect a            safety capability. This recognition complements
        common purpose, shared beliefs and values             the organization’s competence framework. At
        and a commitment to (functional) safety within        the lowest level is the specific requirement to be
        all the relevant businesses.                          competent to implement and deliver a specific
                                                              safety product, package or service.
Figure 1
                                                          6
Functional safety handbook - v10              11/6/08      3:29 pm        Page 7
        There are four strategic competency principles:        d) Manage Third Party Integrators and
        a) Benchmark current practice                             Channel Partners
           Undertake and document a ‘gap                          All Third Party companies invited to carry out
           assessment’ of each of the organizations               safety-related activities on behalf of the
           integrator companies’ functional safety                organization’s integrator companies shall be
           management system against IEC 61508 and                assessed and approved by the CSA.
           IEC61511 to establish the scope of the task.
           (See section 6)                                       This assessment and approval shall be
                                                                 achieved through a gap assessment,
        b) Implement safety standards                            project functional safety assessments
           Following the ‘gap assessment’, specify and           undertaken by the CSA and project audits
           implement a program of work to achieve                undertaken by the integrator. All Third Party
           accredited certification for each of the              Integrators shall have in place a functional
           organization’s integrator companies’                  safety management system compliant with
           functional safety management systems.                 IEC 61508 and IEC 61511.
          Whilst the organization’s integrator                 The key tenets of these Strategic Competency
          companies are seeking accredited                     Principles are:
          certification, they shall produce safety plans
          covering all their related safety activities.        • To use Certified Products
                                                               • To employ Competent (Certified) persons
        c) Establish individual Competency                     • To implement safety systems through the
           The organization’s Safety Engineers shall             certified organization
           progress to certified functional safety
           engineer status through the TUV Rheinland
           Functional Safety Program.
                                                           7
Functional safety handbook - v10             11/6/08        3:29 pm         Page 8
        In the case study, prior to the gap assessment a        • Integration involves the downloading and
        core set of prerequisites had to be agreed for            compilation of the configuration data and
        the organization. These not only provided a               application software on the target platform
        clear understanding of the organization’s safety-       • Approved libraries and function blocks are
        related systems supply chain responsibilities but         protected from unauthorized modification
        also mapped the organization’s generic                  • Hardware consists of SIS logic solver,
        functional safety management system against               cabinets with appropriate termination panels
        IEC 61508 Part 1 clause 6 and IEC 61511 Part              for connecting the process signal to the logic
        1 clause 5 (Management of Functional Safety).             solver I/O modules. Power supplies and
                                                                  power distribution for the logic solver and
        This core set of prerequisites are                        field devices are also normally included
        defined below:                                          • A certified application development package
        • The subsystem used for systems                          is used to configure the SIS logic solver, I/O
          implementation (logic solver and                        and communication hardware
          associated I/O modules) is third-party                • Coding standards are available for each
          certified in accordance with the                        61131-3 language used, including any
          requirements of IEC61508                                specific limitations or restrictions
        • Safety integrity data (PFD, systematic                • The development environment
          capability and hardware fault tolerance)                provides version and configuration
          exists for all devices                                  management facilities
        • Safety integrity data for the logic solver is         • Process Hazard and Risk Assessment has
          clearly defined in the Safety Manual provided           been performed to ensure systematic
          by the supplier of the logic solver                     development of a Safety Requirements
        • Reliability data necessary for the integrator           Specification and this has been provided
          to perform their task is provided by supply             as a key deliverable from the End
          chain manufacturers to the integrator and               User/Engineering Procurement and
          is readily available                                    Construction (EPC) organization
        • Hardware element design (e.g. Analog Input
          module, Analog Output module) is not                  With respect to the last bullet point, there are
          undertaken but hardware is configured into            significant variations in the quality and contents of
          overall hardware architecture by development          the Safety Requirements Specification (SRS)
          of subsystems                                         within the industry. The fundamental
        • Software is Limited Variability Language (LVL).       requirements are for a clear specification of the
          This is defined in IEC61131-3 [5] and                 safety functions and target safety integrity for
          includes ladder diagram, functional block             each safety function. This information is critical to
          diagrams, sequential function chart and               the integrator, as it enables the integrator to not
          structured text                                       only provide a detailed and constructive proposal
        • Libraries are available with certified or             to any bid document, but also, if successful, to
          approved function blocks                              engineer a solution which meets the safety
        • Special (approved) configuration                      functions and target safety integrity required.
          tools are available as part of the logic
          solver environment                                    Guidance is provided in IEC 61508 Part 2
        • Development tool support confirms that the            clause 7.2.3 regarding the content of the Safety
          downloaded run-time application software is           Requirements Specification. This is
          identical to the source application software          strengthened, for the process industry, in IEC
        • Application software development is                   61511 part 1 clause 10.3.1. In the absence of
          facilitated by the use of existing                    an SRS at the bid and proposal phase, the
          function blocks                                       integrator established a set of processes to
                                                            8
Functional safety handbook - v10                  11/6/08        3:29 pm         Page 9
        facilitate a dialog with the client in order                 This core set of pre-requisites was also a
        to complete, for the bid and proposal phase                  requirement for defining the certification
        purposes, the checklist in Table 1. However,                 scope and applied area of each integrators’
        this was not a substitute for the delivery of                certification. The certification scope covered:
        an adequate SRS by the client which                          • IEC 61508 E/E/PE safety related System
        would be necessary subsequent to the bid                       Integration and IEC 61511 SIS Integration
        and proposal phase.                                          • Applicable phases – IEC 61508 Phase 9 &
                                                                       IEC 61511 Phase 4
        There are significant benefits to the parties                • Specifically:
        involved in needing the SRS (the party having                  • Management of Functional Safety
        responsibility for developing the SRS and the                  • Documentation
        party requiring the SRS in order to undertake                  • Functional Safety Assessments
        the integration process) engaging in a dialog at
        an early stage. Early dialog facilitates the
        concept of partnership working and can be of
        advantage to both parties.
A description of all the safety instrumented functions necessary to achieve the required functional safety
Definition of the safe state of the process for each identified safety instrumented function
          Definition of any individually occurring safe process states which, when occurring concurrently, create a
          separate hazard (for example, overload of emergency storage, multiple relief to flare system)
Assumed sources of demand and demand rate on the safety instrumented function
Response time requirements for the SIS to bring the process to a safe state
Safety integrity level and mode of operation (demand/continuous) for each safety instrumented function
          Description of SIS process output actions and the criteria for successful operation, for example,
          requirements for tight shut-off valves
          Functional relationship between process inputs and outputs, including logic, mathematical functions and
          any required permissives
Failure modes and desired response of the SIS (for example, alarms, automatic shutdown)
Any specific requirements related to the procedures for starting up and restarting the SIS
All interfaces between the SIS and any other system (including the BPCS and operators)
                                                                 9
Functional safety handbook - v10              11/6/08        3:29 pm      Page 10
        At the outset of the certification program it was         Acceptance Test (SAT) which is undertaken
        necessary to analyze the two relevant standards           on the complete SIS. However in the context
        (IEC 61508 and IEC 61511) to identify                     of the integrator, Site Acceptance Test (SAT)
        differences in interpretation and terminology for         is an activity performed by the integrator on
        those clauses affecting the scope of supply;              the customer’s site, following Factory
        such as levels of independence for Functional             Acceptance Test (FAT) on the logic solver
        Safety Assessments, Techniques and                        (and not the complete SIS) and after delivery
        Measures, Site Acceptance Test (SAT),                     of the logic solver to site
        Verification and Validation.
                                                              • IEC 61511, Part 1, 15.2.2, software validation
        In addition, this analysis was required as the          can be interpreted as applying to the SIS. In
        organization only provides logic solver                 the context of the integrator software
        subsystems and IEC 61511 tends to focus on              validation is included in the Factory
        the complete SIS. As the organization had a             Acceptance Test (FAT) on the logic solver
        requirement for its certification scope to include      itself, and not the complete SIS which is out
        both IEC 61508 and IEC 61511 it had to reach            of the scope of supply
        an agreement with its certification body on
        interpretation of the standards in specific areas.    • IEC 61511, Part 1, Clause 13.1 refers to
        This resulted in a memorandum of                        Factory Acceptance Test (FAT) and states
        understanding providing interpretation and              that Factory Acceptance Test (FAT) is
        clarification. For example:                             sometimes referred to as integration test and
                                                                part of validation. In the context of the
        • IEC 61511, Part 1, clause 15.1.1 states that          integrator’s Factory Acceptance Test (FAT)
          SIS Validation is also referred to as Site            this is a separate activity from integration test
                                                                and is undertaken on the logic solver itself
                                                             10
Functional safety handbook - v10              11/6/08         3:29 pm      Page 11
        There is an increasing trend in the marketplace        Strategic Competency Principle (c) (see section
        for client organizations to demand formal              3) addresses training (attribute 3) in functional
        evidence of the competency of those providers          safety and specific safety platforms. The CSA
        of safety-related products and services.               chose a respected third party specialist as the
        Many of these requirements are colloquially            provider of training leading to TUV certified
        referred to as ‘one liners’ (for example ‘must         functional safety engineer status.
        have competent people’ or ‘must have certified
        engineers’), and it is clear in many cases that        The other three attributes above on which the
        the originators of such statements do not fully        competence of persons was based, namely
        understand the requirement or how to respond           knowledge, experience and qualifications, were
        to questions relating to what is exactly               addressed through the development and
        meant by such statements.                              introduction of a Competence Management
                                                               System (CMS).
        In any well-run organization, staff are required to
        be competent to perform the tasks assigned to          The CMS introduced a further level of
        them. Organizations dealing with safety-related        competence specific to functional safety, over
        systems increasingly find that their customers         and above that required by the company’s ISO
        need assurance that the organization’s                 9001 QMS. The CMS was based on the UK
        personnel can be shown to meet the necessary           IEE/BCS “Competency Criteria for Safety-
        standards of competency. This includes the             related System Practitioners” [6].
        designers and implementers of such systems.
        Professionals, with responsibility for design          The key requirement was for all personnel
        and/or supervision, will also, for example, be         having responsibilities for specified tasks on a
        expected to have a detailed working knowledge          safety-related project to have their training,
        of all relevant legislation, codes of accepted         knowledge, experience and qualifications
        good practice which affect their work, together        assessed in relation to the particular tasks for
        with knowledge of working practices in similar         which they were responsible.
        establishments and awareness of current
        developments in their field.                           Although IEC61508 does not make a direct
                                                               correlation with the required level of rigour
        Against this background the case study                 and competence, the following factors were
        company established processes for both                 taken into consideration:
        organizational and individual competence. The          • The consequences in the event of failure of
        ability to demonstrate that the organization had          the Electrical/Electronic/Programmable
        competent functional safety staff called for the          Electronic (E/E/PE) safety related system; the
        establishment of a functional safety competence           greater the consequence, the more rigorous
        scheme. This competence scheme was based                  the specification and assessment of
        on four attributes:                                       competence.
                                                               • The safety integrity levels of the
        1. Knowledge                                              Electrical/Electronic/Programmable Electronic
        2. Experience                                             (E/E/PE) safety related system; the higher the
        3. Training                                               safety integrity levels, the more rigorous the
        4. Qualifications                                         specification assessment of competence.
                                                               • The novelty of design procedures or
        One of the objectives of the CSA was set to               application; the newer or more untried the
        establish a group of functional safety                    designs, design procedures or application,
        practitioners within the organization.                    the more rigorous the specification and
                                                                  assessment of competence should be.
                                                              11
Functional safety handbook - v10             11/6/08        3:29 pm     Page 12
                                                            12
Functional safety handbook - v10                         11/6/08       3:29 pm            Page 13
        • Phase 4      SIS Design & Engineering                          As a result of performing the gap assessment
        • Phase 9      Verification                                      common areas for improvement were identified,
                                                                         which in turn helped to prioritize the later
                                                                         development of the functional safety
        Table 2 Example Gap Assessment                                   management system.
        Target of Evaluation
          Target of    Purpose of TOE              IEC 61508        Assessment prompt list          IEC 61511 Clauses/purpose
          Evaluation                               Clauses/tables
          Competence   To define procedures        1/6.2.1 h)       • There is evidence that the    5.2.2.2
          assessment   for ensuring that                              functional safety tasks to    Persons, departments or organisations
          process      applicable parties          Figs 2,3,4 and     be done have been             involved in safety lifecycle activities shall
                       involved in any of the      1/Table 1 as       assigned – the                be competent to carry out the activities
                       overall, E/E/PES or         framework.         competency required for       for which they are accountable.
                       software safety lifecycle                      the task and a gap analysis   • What evidence is available
                       activities are competent                       between the competencies          demonstrating this
                       to carry out the                               of the individual allocated   • Does it take into account, specific
                       activities for which they                      to the task have been             technology, safety engineering,
                       are accountable; in                            undertaken.                       regulations, management and
                       particular, the following                    • There is evidence of a            leadership skills, consequences, SIL,
                       should be specified:                           logical process that              complexity, novelty
                       the training of staff in                       documents who is              • Knowledge – how do you show this
                       diagnosing and                                 responsible for               • Training – generally records in place
                       repairing faults and in                        deciding why an individual        (part of ISO9001)
                       system testing,                                has been allocated to the     • Experience – traditionally
                       the training of                                task.                             poorly recorded
                       operations staff, the                        • This element will be          • How are these assessed /
                       retraining of staff at                         explored in greater detail        recorded / updated
                       periodic intervals;                            within the overall            • How are the competency
                                                                      competency assessment             needs identified
                                                                      TOES (Annexe C)               • How is the ‘gap’ between needs
                                                                                                        and skills assessed / bridged
                                                                      13
Functional safety handbook - v10                11/6/08       3:29 pm     Page 14
        A short list of accredited certification bodies        • List of organizations including those that have
        was drawn up by the Company Safety Authority             been assessed, their scope of assessment
        (CSA) and invited to participate in a pre-               and contact details within the organization
        qualification exercise to provide information to
        demonstrate their capability and competency.           • Description of:
                                                                 - the assessment methodology
        The information requested included:                      - the assessment process
                                                                 - guidance notes for the assessed
        • Appropriate evidence of operation as an                  organization
          accredited certification body including
          - national accreditation bodies to which             • Typical work program (including labor costs)
            accredited                                           for a third party functional safety assessment,
          - scope and date of accreditation                      including man-days effort
          - details of applicable standards and
            certificates relevant to the accreditation         • Any current limitations envisaged in
                                                                 undertaking the third party assessment
        • Pedigree, including a description of the               program
          experience, capability and competence of the
          certification body and its auditors to perform       • Company accounts for the last
          these specific third-party assessments                 accounting period
          (functional safety management as opposed
          to product assessment)                               • Organizational structure
        • Global presence of the certification body            It was then necessary to establish an impartial
          including countries in which they operate            and independent panel representing the
                                                               organization to review the responses resulting in
        • Whether dependent on agencies in specific            the selection of a global third-party accredited
          countries and if so their details                    certification organization. In the case study this
                                                               was the Company Safety Authority (CSA).
                                                              14
Functional safety handbook - v10                   11/6/08        3:29 pm         Page 15
Figure 2: The Safety Lifecycle Model (see Appendix, page 32 for full version)
                                                                 15
Functional safety handbook - v10                11/6/08         3:29 pm    Page 16
                                                             16
Functional safety handbook - v10             11/6/08         3:29 pm    Page 17
        8.2.3 Integrated Test Specification                  Tolerance (HFT) and Safe Failure Fraction (SFF)).
        The Integrated Test Specification is used to
        demonstrate that each application software           8.2.7 Module Failure Modes Analysis
        module produced integrates correctly with other      The purpose of the Module Failure Modes
        software modules and interfaces correctly with       Analysis is to provide a report of the hardware
        the system target hardware and system                failure modes performed on the System.
        firmware, all being an integral part of the
        deliverable system. Testing will include both        This analysis attempts to discover and analyze
        functional safety and non-safety aspects of the      all potential failure modes of the hardware sub-
        system to verify that the system performs its        system, the effects these failures have on the
        intended functions and does not perform              system, and what measures have been
        unintended functions.                                engineered to correct and or mitigate the
                                                             failures or effects on the system.
        8.2.4 Factory Acceptance Test
        Specification                                        The analysis supports the Reliability and
        The Factory Acceptance Test Specification is         Availability calculations in the SIL Verification
        used to demonstrate to the client that each          Report, in providing evidence that the ESD
        application software module produced                 system conforms to the availability requirement
        integrates correctly with other software             of the SIL, as identified in the Safety
        modules, and interfaces correctly with the           Requirement Specification.
        system target hardware and system firmware,
        all being an integral part of the deliverable        Note that the Failure Modes Analysis is an
        system. Testing will include both functional         optional requirement and should only be
        safety and non-safety aspects of the system,         produced if they are a requirement/necessity of
        to verify that the system performs its               the project.
        intended functions and does not perform
        unintended functions.                                8.3 Safety Lifecycle Structure and Planning
                                                             Documentation
        8.2.5 Site Acceptance Test Specification
        The Site Acceptance Test Specification is used       8.3.1 Safety Lifecycle Management Plan
        to demonstrate to the client that the entire         The purpose of this document is to
        system, including all networks, function correctly   demonstrate how the integrator intends to
        after re-assembly and installation on site. In       manage the realization sections of the safety
        addition the SAT verifies that the software          lifecycle of the project and defines how the user
        loaded is that which was demonstrated at the         manages the subsequent operational and
        FAT stage, this is achieved by functionally          maintenance parts. This is in order to show its
        testing specific elements of the control system,     alignment with the recommendations laid out in
        previously verified at the FAT.                      IEC 61508 and IEC 61511.
                                                          17
Functional safety handbook - v10                              11/6/08            3:29 pm              Page 18
Test Plan
                                                                                                                     Safety Lifecycle
                                                                                                                     Management Plan
        All techniques marked “R” in the grey shaded group are replaceable, but at least one of these is required.
        For the verification of this safety lifecycle phase, at least one of the techniques or measures shaded grey in this table or listed
        in table B.5 shall be used.
        NOTE 1 For the meaning of the entries under each safety integrity level, see the text preceding this table.
        NOTE 2 The measures in this table can be used to varying effectiveness according to table B.6, which gives examples for low and high
                  effectiveness. The effort required for medium effectiveness lies somewhere between that specified for low and for high effectiveness.
        NOTE 3 The overview of techniques and measures associated with this table is in annex B of IEC 61508-7. Relevant sub-clauses are
                  referenced in the second column.
                                                                               18
Functional safety handbook - v10                                11/6/08         3:29 pm            Page 19
        In the case study, this was an extensive                                  scope of the certification, a functional safety
        exercise. The tables of Techniques and                                    capability of SIL 3. In respect to the techniques
        Measures within IEC 61508 cover the complete                              and measures used, the Highly Recommended
        E/E/PES and Software Safety Lifecycles. The                               ‘HR’ option was selected and then tables
        first step was to identify only those tables                              populated with:
        associated with the integrator’s core set of pre-                         • cross references to organization procedures
        requisites (see section 3.2 above) related to IEC                         • certificates of compliance
        61508 Phase 9 and IEC 61511 Phase 4. Having                               • use of certified logic solvers
        identified the sub-set of tables the decision was
        made to benchmark the assessment of the                                   Examples are shown in Tables 3 and 4 below
        organization against the requirements for SIL 3.
        The aim of the certification would be to provide                          A ‘Y’ in the SIS column within the table against
        the third party evidence that the integrator had                          a specific technique identifies the technique as
        demonstrated, for the logic solvers within the                            being selected for the project.
Table 4 – Software design and development: support tools and programming language
              Technique/measure             See IEC       SIL1        SIL2         SIL3        SIL4      SIS         Techniques and Methods
                                            61508-7
        * Appropriate techniques/measures shall be selected according to the safety integrity level. Alternate or equivalent techniques/measures are
          indicated by a letter following the number. Only one of the alternate or equivalent techniques/measures has to be satisfied.
                                                                              19
Functional safety handbook - v10               11/6/08        3:29 pm      Page 20
                                                              20
Functional safety handbook - v10            11/6/08        3:29 pm     Page 21
        The FSA should provide, amongst other               Additional FSAs may be required depending
        things, confidence that the following have          on criteria such as:
        been achieved:                                      • Duration of project
        • The safety instrumented system logic solver       • Number of safety systems implemented
           is designed, constructed, verified and tested      within the project
           in accordance with the safety functional         • Safety regulatory requirements
           design specification; any differences have       • Degree of complexity
           been identified and resolved
        • The safety instrumented system logic solver       Each phase of the FSA is supported by
           validation planning is appropriate and the       checklists drawn directly from IEC 61508 and
           validation activities have been completed        designed to assist the assessment team in
        • Project design change procedures are in           ensuring that the FSA is conducted in
           place and have been properly applied             accordance with the requirements of the
        • SIL capability achieves the SIL target            standard.
           requirements
        • Regulations, mandatory standards and any          Table 5 (see page 22) provides an example of a
           stated codes of practice have been met           checklist to be used during the final FSA. The
        • Where development and production tools are        white cells are the clauses from the standard
           used they shall be included in the FSA           setting out the objectives to be achieved
        • Adequate and complete documentation is            whereby compliance will be measured and
           provided                                         findings recorded. The blue cells are the clauses
                                                            from the standard setting out the requirements
        At least one Functional Safety Assessment           to meet the objectives.
        (FSA) is performed during the project’s safety
        lifecycle. The FSA is split into three phases:
        • Preliminary FSA – trigger point completion of
            Safety Lifecycle Management Plan
        • Design FSA – trigger point completion of
            Functional Design Specification
        • Final FSA – trigger point completion of
            Factory Acceptance Test
                                                           21
Functional safety handbook - v10              11/6/08            3:29 pm            Page 22
         1.1    IEC 61508-1     5.2.1 The documentation shall contain sufficient information, for
                Clause 5.2             each phase of the overall, E/E/PES and software safety
                Requirements           lifecycles completed, necessary for effective performance of
                                       subsequent phases and verification activities.
                                5.2.2 The documentation shall contain sufficient information
                                       required for the management of functional safety (clause 6).
                                5.2.3 The documentation shall contain sufficient information
                                       required for the implementation of a functional safety
                                       assessment, together with the information and results derived
                                       from any functional safety assessment.
                                5.2.4 Unless justified in the functional safety planning or specified in
                                       the application sector standard, the information to be
                                       documented shall be as stated in the various clauses of this
                                       standard.
                                5.2.5 The availability of documentation shall be sufficient for the
                                       duties to be performed in respect of the clauses of this
                                       standard.
                                5.2.6 The documentation shall be
                                       – accurate and concise;
                                       – be easy to understand by those persons having to make
                                          use of it;
                                       – suit the purpose for which it is intended;
                                       – be accessible and maintainable.
                                5.2.7 The documentation or set of information shall have titles or
                                       names indicating the scope of the contents, and some form
                                       of index arrangement so as to allow ready access to the
                                       information required in this standard.
                                5.2.8 The documentation structure may take account of company
                                       procedures and the working practices of specific application
                                       sectors.
                                5.2.9 The documents or set of information shall have a revision
                                       index (version numbers) to make it possible to identify
                                       different versions of the document.
                                5.2.10 The documents or set of information shall be so structured as
                                       to make it possible to search for relevant information. It shall
                                       be possible to identify the latest revision (version) of a
                                       document or set of information.
                                5.2.11 All relevant documents shall be revised, amended, reviewed,
                                       approved and be under the control of an appropriate
                                       document control scheme.
                                                               22
Functional safety handbook - v10                      11/6/08             3:29 pm           Page 23
        8.5 Safety Project Activity Plans                                   local procedures. An extract of the Activity Plan
        The project safety lifecycle model, as defined                      is provided in Table 6 below.
        above, is further supported by a detailed Activity                  Although Activity Plan activities are in their
        Plan, which specifies for each stage of the                         respective logic sequence, this does not
        project, its inputs, outputs and review                             constitute the actual order in which activities
        responsibilities. The intention is that each                        may be completed. Therefore reference should
        integrator will populate the business process                       be made to each specific safety project
        model reference and activity references with                        schedule.
                                                                        23
Functional safety handbook - v10               11/6/08        3:29 pm     Page 24
                                                              24
Functional safety handbook - v10        11/6/08    3:29 pm       Page 25
                                                   25
Functional safety handbook - v10                                                                  11/6/08               3:29 pm                     Page 26
                                                                                                                                 Produce
                                                                                                                              Implementation
                                                                                                                                 Program
                                                                                                                              Appoint Project
                                                                                                                                Manager
                                                                                                                                Champion
                                                                               CSA
                                                                         Recommended
                                                                         Lifecycle Model
                                                                                                    REMOTE & SITE
                                                                                                                                                    REMOTE & SITE
                                                                                                       Training in
                                                                                                                                 Develop             Advise on Local     Functional Safety
                                                                                                    Functional Safety
                                                                                                                                Standards                Model             Managment
                                                                                                     Managment &
                                                                                                                               Template and          Development &           System
                                                                                                     Recommended
                                                                                                                                Procedures             Deviations
                                                                                                        Lifecycle
                                                                                                     Proceduresdd1                                                 2
                                                                               CSA
                                                                          Recommended
                                                                         Functional Safety                                       REMOTE                                        SITE
                                                                           Procedures                                           XXXXX XXX                                Certification Body
                                                                                                                             Certification Body                           Assessment &
                                                                                                                              Agree Program                                Awareness &
                                                                                                                                 and Place                                   Checklist
                                                                                                                                  Contract 3                              Completioneee4
                                   Strategic Complacency Principle ‘B’
                                                                                                                                   SITE                REMOTE
                                                                                                                              Training in SL        Issue Completed      Certification Body
                                                                                                                              Achievement &           Checklists to      Gap Assessment
                                                                                                                             Functional Safety      Certification Body     and Review
                                                                                                                               Assessment                                     at FSMS
                                                                                                                                                5                  6
                                                                                                                                                                         Certification Body
                                                                                                                               Identify Pilot                            Gap Assessment
                                                                                                                                  Project                                  and Review
                                                                                                                                                                              at FSMS
                                                                                                         SITE
                                                                                                        Perform
                                                                                                    Functional Safety           Pilot Project                            Certification Body
                                                                                                      Assessment              Implementation                                 Pre-Audit
                                                                                                                                   SITE
                                                                                  Key
                                                                                                                             Pre-Certification
                                                                                                                               Body Audit
                                                                                   CSA
                                                                                  Activity
                                                                                                                                                8
                                                                            Local Organisation
                                                                                 Activity
                                                                                                                             Certification Body                          Certification Body
                                                                                                                                    Audit                                  Audit Report
                                                                             Certification Body
                                                                                   Activity
Certification
Figure 3: The Certification Process (see Appendix, page 31 for larger version)
                                                                                                                        26
Functional safety handbook - v10               11/6/08        3:29 pm      Page 27
        of the FSMS and its implementation within their        deviations), which are required as part of the
        organization. This allows the integrator to            certification process.
        develop their local procedures based on a
        working model. It will also cover the certification    Once completed, the CSA will issue the
        process and alignment to IEC 61508 and IEC             checklists to the certification body Lead
        61511. (See section 10 below for a description         Assessor for review. At the same time, the
        of the training modules).                              organization will issue its FSMS procedures to
                                                               the certification body. In parallel, the integrator
        At the conclusion of the training module, the          identifies a pilot project or projects to
        integrator is presented with a copy of the             demonstrate that the safety lifecycle and
        training material, the recommended safety              FSMS is being implemented in its entirety.
        lifecycle model, and the suite of generic              The pilot project(s) will be audited by the
        procedures. (See section 3.8).                         certification body.
        9.2 Advise on development / deviations for             9.5 Training in SIL Achievement and
        integrators’ use of procedures                         Functional Safety Assessment
        The CSA provides advice to the integrator on           The purpose of this training module is to
        the implementation of the FSMS, development            provide the integrator with a detailed
        of their own FSMS procedures and answers               understanding of the methodology adopted in
        technical queries on procedures, templates and         order to prepare a SIL Achievement Report for
        other documents.                                       a safety project. This will include several worked
                                                               examples, and prepare the safety engineers for
        The integrator then has the option of making           the pilot project implementation.
        alterations to the generic suite of FSMS
        procedures to align with existing requirements         The training module will also address the scope
        and local business systems. The CSA will               and purpose of Functional Safety Assessments
        provide advice on the impact of these                  and Audits, and commence development of a
        deviations on the FSMS and the recommended             plan of the assessment activity for the pilot
        certification process.                                 project (see section 10, page 28).
                                                              27
Functional safety handbook - v10              11/6/08        3:29 pm      Page 28
        Technical training was an essential part of the       10.2 SIL achievement & Functional
        implementation program and the competency             Safety Assessment
        management system for the organization.               A 1.5 day course consisting of the
        Training is one of the four attributes of             following topics:
        competence (see Section 5). Two technical             • Safety function and safety integrity
        training courses were developed by the CSA               requirements
        suitable for delivery to business units working to    • Design essentials of IEC 61508, hardware
        the core set of the pre-requisites earlier defined       safety integrity and systematic safety integrity
        (see Section 4).                                      • SIL compliance to IEC 61508
                                                              • SIL achievement procedure, worked example
        In the case study, these technical training              and exercise
        courses were delivered to the organization with       • Functional safety assessments in the context
        a period of six weeks separating them. The               of SIL achievement
        contents of these courses are set out below:
                                                             28
Functional safety handbook - v10             11/6/08         3:29 pm     Page 29
        Prior to and during the case study, there was         This was achieved in the form of a Safety
        already in place a large internal company             Database containing the following information:
        network of safety practitioners with different
        safety objectives and operational safety              • Third-party certificates of safety products
        standards.                                            • Lists of certified functional safety engineers
                                                                and functional safety technology engineers
        Other internal businesses had developed future        • Improvement themes
        plans for certification.                              • Technical papers and articles
                                                              • Latest FSMS procedures
        Consequently it was essential to establish, at an     • External functional safety standards
        early stage in the process, a common repository       • Sales and technical product material
        for information exchange.                             • Case study progress and program updates
                                                             29
Functional safety handbook - v10             11/6/08        3:29 pm     Page 30
        • Strategy
        • Benchmarking and gap assessment
        • Developing the functional safety management
          system
        • Selecting the certification body
        • Implementing the functional safety
          management system
        • Rolling out the certification process
                                                            30
Functional safety handbook - v10                                                       11/6/08             3:29 pm                    Page 31
APPENDICES
                        Complacency
                         Principle ‘A’
                          Strategic
                                                                                         Perform gap            Gap Assessment
                                                                                         Assessment                 Report
                                                                                                                   Produce
                                                                                                                Implementation
                                                                                                                   Program
                                                                                                                Appoint Project
                                                                                                                  Manager
                                                                                                                  Champion
                                                                    CSA
                                                              Recommended
                                                              Lifecycle Model
                                                                                       REMOTE & SITE
                                                                                                                                       REMOTE & SITE
                                                                                          Training in
                                                                                                                   Develop              Advise on Local     Functional Safety
                                                                                       Functional Safety
                                                                                                                  Standards                 Model             Managment
                                                                                        Managment &
                                                                                                                 Template and           Development &           System
                                                                                        Recommended
                                                                                                                  Procedures              Deviations
                                                                                           Lifecycle
                                                                                        Proceduresdd1                                                 2
                                                                    CSA
                                                               Recommended
                                                              Functional Safety                                    REMOTE                                         SITE
                                                                Procedures                                     XXXXX XXX                                    Certification Body
                                                                                                            Certification Body                               Assessment &
                                                                                                             Agree Program                                    Awareness &
                                                                                                                and Place                                       Checklist
                                                                                                                 Contract 3                                  Completioneee4
                        Strategic Complacency Principle ‘B’
                                                                                                                     SITE                 REMOTE
                                                                                                             Training in SL            Issue Completed      Certification Body
                                                                                                             Achievement &               Checklists to      Gap Assessment
                                                                                                            Functional Safety          Certification Body     and Review
                                                                                                              Assessment                                         at FSMS
                                                                                                                                  5                   6
                                                                                                                                                            Certification Body
                                                                                                                 Identify Pilot                             Gap Assessment
                                                                                                                    Project                                   and Review
                                                                                                                                                                 at FSMS
                                                                                            SITE
                                                                                           Perform
                                                                                       Functional Safety          Pilot Project                             Certification Body
                                                                                         Assessment             Implementation                                  Pre-Audit
                                                                                                                     SITE
                                                                       Key
                                                                                                                Pre-Certification
                                                                                                                  Body Audit
                                                                        CSA
                                                                       Activity
                                                                                                                                  8
                                                                 Local Organisation
                                                                      Activity
                                                                                                            Certification Body                              Certification Body
                                                                                                                   Audit                                      Audit Report
                                                                  Certification Body
                                                                        Activity
                                                                                                                                                              Certification
        Figure 3: The Certification Process (referred from page 26)
                                                                                                           31
Functional safety handbook - v10                  11/6/08        3:29 pm   Page 32
APPENDICES
                                                                32
Functional safety handbook - v10   11/6/08   3:29 pm   Page 33
APPENDICES
                                             33
Functional safety handbook - v10             11/6/08      3:29 pm      Page 34
REFERENCES
[2] IEC 61511 – Functional safety – Safety instrumented systems for the process sector
        [3] “Recommendations on the design and operation of fuel storage sites”; Buncefield Major
            Incident Investigation Board:
            http://www.buncefieldinvestigation.gov.uk/reports/recommendations.pdf
        [4] “The Report Of The BP U.S. Refineries Independent Safety Review Panel” (concerning the
            Texas City incident).
            http://www.csb.gov/completed_investigations/docs/Baker_panel_report.pdf
        [6] Safety, Competency & Commitment - Competency Guidelines for Safety-Related System
            Practitioners 1999 (ISBN 0 85296 787 X)
                                                        34
Functional safety handbook - v10              11/6/08       3:29 pm     Page 35
Stuart R Nunns CEng, BSc, FIET, FInstMC - Principal Safety Consultant ABB Ltd
                             Stuart Nunns has thirty-six     Nunns is a TUV Functional Safety Expert and
                             years’ experience in            member of the IET Functional Safety
                             automation and safety           Professional Network Executive Group and
                             within the oil & gas,           the InstMC’s Safety Panel. He has written
                             chemical, steel and             and presented papers and led international
                             electricity generation          safety-related systems workshops. He was
                             sectors and is a Principal      project manager of both the CUIG
        Consultant within the Safety Lead Competency         (Framework IV) European safety group and
        Centre of ABB's Process Automation Division.         the F/W V SIPI61508 EC Framework V project
        Nunns is a member of ABB's Safety Steering           developing guiding principals for the
        Team, responsible for identifying and managing       implementation of IEC 61508.
        the development of functional safety products
        and services, mapping the total safety lifecycle.    Within the UK he was the instigator and project
        He is currently leading a global work program        manager of the CASS (conformity assessment
        within ABB to establish TUV certified Safety         of safety systems to IEC 61508) scheme and
        Execution Centres.                                   served as a Director of CASS Ltd.
                                                            35
Functional safety handbook - v10                      11/6/08   3:29 pm   Page 36
   ABB Limited
   Howard Road
   Eaton Socon
   St Neots
   Cambridgeshire
   PE19 8EU
   Tel: 01480 475321
   Fax: 01480 217948
   www.abb.com