+ Part V · The lifecycle

Traced both ways.

Buncefield's switch was designed and made by one firm, ordered and fitted by another and tested on a site run by a third, and what its padlock was for appears to have reached neither the fitter nor the site. Any safety function that is specified, built and run by different organizations depends on them in the same way: those who know the hazard write the requirement, others build the parts, and others again test and change the function in service. Part V follows a safety function from its requirement to the evidence that it works and keeps working. Chapter 17 sets out the lifecycle and the specification that carries the requirement through it, and Chapter 18 the methods that find where a design can fail. Chapter 19 asks how a project shows that the function was built as specified and who checks that claim, Chapter 20 how the function keeps its integrity in service, and Chapter 21 what a certificate and a safety manual promise a buyer.

17 — The safety lifecycle

Owned from start to end.

+ The questionWhy is functional safety organized as a lifecycle, and who owns each step?

Each step works from what an earlier one wrote

The padlock on Buncefield's switch would have kept the switch working, but the switch's fitter appears to have taken the padlock for a guard against tampering. Chapter 11 tells what followed. It appears that nobody within Motherwell, the firm that ordered and fitted the switch, knew that the padlock was safety-critical. None of the staff at the site knew that it had to be replaced. Each of the three firms that handled the switch carried out its own step, and the one fact that the switch depended on did not pass from one step to the next.

A safety function is never finished by one person at one time. Its demand rate is estimated when the hazard is analyzed, its integrity level is set when the risk is shared out among the layers, and its proof-test interval is chosen at design (Chapters 5, 8 and 11). Whoever operates the equipment carries out the test itself for years afterward. Each later step uses numbers and assumptions that an earlier step produced, so a fact that stays with the step that knew it is missing from every step after. The faults that follow are systematic, built in at the step that lacked the fact (Chapters 3 and 15).

The defense against such faults is to make every step explicit. A safety lifecycle is the ordered set of steps through which a safety function passes, from the first idea of the equipment to its disposal, with what each step must produce and how its result is checked. A step's output reaches the next step only as far as it is written down, so the lifecycle makes each handover a document that the next owner can check. The primary causes of the 34 incidents that HSE analyzed began at every stage from the specification to the changes made after the control system entered service (Chapter 3). The lifecycle therefore runs past design, through installation, operation and change.

Sixteen phases from concept to disposal

IEC 61508:2010 divides the overall safety lifecycle into 16 phases. The first five establish what is needed: the concept of the equipment, the definition of its scope, the hazard and risk analysis, the overall safety requirements, and their allocation among the electrical, electronic and programmable systems and the other measures that will meet them. Phases 6 to 8 plan the later work: how the equipment will be operated and maintained, how its safety will be validated, and how it will be installed and commissioned. Phase 9 writes the safety requirements specification for each electrical, electronic or programmable system, and phases 10 and 11 build those systems and any other risk reduction measures.

Phase 12 installs and commissions the equipment, phase 13 validates its safety as a whole, and phases 14 to 16 cover operation, maintenance and repair, then modification and retrofit, and last decommissioning or disposal. The order of the phases has a purpose. Phases 6 to 8 plan operation, validation and installation from the requirements, before anything is built. The test that will judge the function is therefore set by what the function must do rather than by what the design turned out to do. Chapter 19 separates that validation from the verification carried out at each step.

Modification is the phase that turns the sequence into a loop. A change in service that affects what the safety function must do sends the work back to the requirements, and from there through design, validation and operation again. IEC 61511-1, the process sector's form of IEC 61508, sets the steps out as clauses. The Competent Authority's inspectors use those clauses as benchmarks for the control and instrumentation systems of major hazard sites. The clauses they list run from the allocation of safety functions to protection layers, through the safety requirements specification, design and engineering, application software, installation, commissioning and validation, and operation and maintenance, to modification and decommissioning.

36 — The overall safety lifecycle as a loop
1 Concept 2 Overall scope definition 3 Hazard and risk analysis 4 Overall safety requirements 5 Overall safety requirements allocation 6 Overall operation and maintenance planning 7 Overall safety validation planning 8 Overall installation and commissioning planning 9 E/E/PE system safety requirements specification 10 E/E/PE safety-related systems: realization 11 Other risk reduction measures 12 Overall installation and commissioning 13 Overall safety validation 14 Overall operation, maintenance and repair 15 Overall modification and retrofit 16 Decommissioning or disposal PLANNED FROM THE REQUIREMENTS BUILT A CHANGE THAT AFFECTS THE REQUIREMENTS RETURNS HERE END USER OR OPERATOR END USER OR OPERATOR ENGINEERING FIRM OR EQUIPMENT SUPPLIER FUNCTIONAL SAFETY MANAGEMENT: OWNERS, PLAN, VERIFICATION, ASSESSMENT, AUDIT, COMPETENCE the specification crosses to the supplier here Phases: IEC 61508:2010. Owners: ABB's grouping (2003) and view (2012), a maker's. Schematic.
Operator and alarmSafety functionFocal detail
Plate 36 — The overall safety lifecycle runs from concept to disposal in 16 phases. Operation, validation and installation are planned from the requirements before anything is built, and a change in service that affects the requirements sends the work back to them, which closes the loop. In ABB's grouping, a maker's, the end user owns the first five phases and the last three, and the supplier the phases between.

The specification carries the requirement

The safety requirements specification states what each safety function must do and how reliably it must do it, so that everyone who designs, builds, tests and operates the function works to one written requirement. For each function it holds two sets of requirements, functional and integrity, the same two parts in which Chapter 3 counted HSE's specification faults. IEC 61511-1 gives the specification a clause of its own. Every number that the earlier chapters derived for a safety function ends up in this one document.

The functional requirements say what the function senses, decides and does. They name the hazard the function answers and the safe state it must reach, the measurement and its trip point, the action on the final element and what counts as success. They record the trip point together with the response time and with the control loop's overshoot, which the trip point must clear, because the three are chosen as one (Chapter 4). They say how a trip is reset, how the function behaves in start-up, shutdown and maintenance, and whether it trips by removing energy (Chapter 2). Where an operator is one of the layers, they record the alarm, its set point, the expected response and the time to the point of no return (Chapter 9).

The integrity requirements say how rarely the function may fail, and on what that figure rests. They record the assumed sources of demand and the demand rate (Chapter 5). They list each layer credited beside the function, with its PFD and the test that supports it (Chapter 7). They state the integrity level and the mode, with the target as a PFDavg or a PFH (Chapter 8). The proof-test interval is recorded with the coverage that the PFDavg calculation assumed (Chapter 11). So are the requirements against common cause failure, with the β they support in the calculation (Chapter 14). The specification also gives the mean time to repair that is feasible and the maximum allowable spurious trip rate. The requirements for overrides and bypasses, and for how each is cleared, belong here too, and Chapter 20 follows them into service.

A specification can fail in ways that no test of the finished function reveals. Failure modes and the protection they need can be left undefined, start-up and shutdown left out, environmental conditions omitted, revisions poorly controlled, and safety and non-safety actions mixed in one function. Gandy of exida, a certification and consulting company, described these deficiencies, among others, from his practice in a 2016 blog article. The hazard and risk assessment and the writing of the specification can also drift apart. ABB, a maker of control systems, reports from its experience in a 2012 factsheet that the gap between the two is significant. Whatever is wrong in the specification passes into every later phase, since each works from it. A test written from a wrong requirement passes the wrong design, as Chapter 3 showed.

Owners and the interfaces between them

The phases alone do not say who carries out each one. Functional safety management does: across the lifecycle it names the person or organization responsible for each phase, plans the work, verifies the output of each phase, assesses the functional safety achieved and audits whether the procedures are followed in practice. Everyone involved in a lifecycle activity must have the competence for the duties they perform, under the requirements for functional safety management in IEC 61508-1. Since its 2016 edition, IEC 61511-1 has also required a procedure that manages that competence and assesses it periodically. In PSLG's guidance for fuel storage sites, training alone is not competence.

Along the lifecycle the owner changes, and every change of owner is an interface. ABB's 2003 guide to IEC 61508 groups the phases by owner. The end user or operator owns phases 1 to 5, from the concept to the allocation of the requirements, and an engineering firm or equipment supplier owns phases 6 to 13, through installation and validation. The end user then takes the function back for operation, modification and decommissioning. ABB's 2012 factsheet states the view that the end user is responsible for providing the specification to the supplier, so the specification is the document that crosses the first boundary. The grouping and the view are ABB's, a maker's, and they show where the handovers fall.

At Buncefield the Competent Authority found a shortfall at each firm that handled the switch. Motherwell's process for specifying the switches' requirements was inadequate, and the ordering fell short on both sides: TAV, the switch's maker, should have asked what the switch was for, which here was to detect a high level only. Motherwell did not obtain the maker's data, so it did not pass that data on to its customers. The site operator did not exercise sufficient oversight of the ordering, the installation and the testing. Chapter 15 gives the Authority's finding on the information TAV provided.

37 — Who owned each step of the switch, and what crossed between them
STEP OWNER WHAT CROSSED TO THE NEXT OWNER WHAT THE COMPETENT AUTHORITY FOUND Specify and order Motherwell, used by the site to supply and install the switch An order for the switch, placed with TAV Process for specifying the switches' requirements inadequate; ordering fell short on both sides Design, make, supply TAV The switch and the maker's information Information not clear on key aspects of design and use; TAV should have asked what it was for: to detect a high level only Install, 1 July 2004 Motherwell The installed switch, without its padlock Maker's data not obtained, so not passed on to its customers Operate and test The site operator (HOSL; Total's staff ran the site) Periodic tests by site staff Oversight of ordering, installation and testing not sufficient; no site staff aware the padlock had to be replaced Change: the 2004 replacement The site operator No management of change Required by the safety report for critical equipment; none considered the padlock's role was not made clear here Source: Competent Authority, Buncefield: Why did it happen? (2011). Wording shortened.
Dangerous failureOperator and alarmFocal detail
Plate 37 — Each step of the switch's life had its own owner, and the Competent Authority found a shortfall at each firm that handled the switch: a process for specifying the switches' requirements that was inadequate, an ordering that fell short on both sides, a maker's information that did not make the key aspects of the switch clear, maker's data that the installer never obtained, and a site operator whose oversight was not sufficient. The 2004 replacement had no management of change.

Contracting a step out does not contract out its ownership. HOSL, the depot's operator under the COMAH Regulations, was a joint venture of Total UK and Chevron, and it had no employees. Total's staff ran the site day to day, but HOSL could not delegate its obligations as operator. PSLG's guidance asks a company that contracts out safety-critical work to remain an intelligent customer, keeping enough technical competence of its own to judge whether the work is done to the required quality and safety. The Competent Authority found that HOSL did not act as one.

A device has interfaces of the same kind. A skin temperature probe can be supplied separately by a firm other than the maker of the equipment it serves. One report in FDA's adverse-event records concerns such a probe, made by one firm for another firm's infant care equipment and reported under the product code of incubators. Chapter 23 of the Academy guide Every drop accounted for follows such interfaces through infusion pumps, and Chapter 21 of Where the heat goes through surgical energy devices.

A requirement traced to its test, and changed

Traceability is the record that links each requirement back to the hazard it answers and forward to the design element that meets it and to the tests that show it is met. A trace is read in both directions. Forward, it shows whether every requirement has a test, and a requirement whose test cell is empty has none. Backward, it shows why each part of the design exists, so that no part is removed or changed without the hazard behind it coming into view. The incubator's cutout gives a trace of six lines, one for each step that touches its limit.

StepWhat the trace records for the cutout's limit
Hazard and risk analysisAir overheated by a failed control loop (Chapter 5)
AllocationSIL 2 once the alarm at the cot side has its own sensor and a nurse to answer it (Chapter 8)
SpecificationHeater unpowered, latched and announced at 38 °C with the set temperature below 37 °C, or at 39.5 °C above it
DesignA second thermistor, its own comparison and a cutout in the heater's power path (Chapter 4)
ValidationOne test for each limit: the protective sensor driven past it, the heater off and staying off until reset
OperationA yearly proof test that drives the protective sensor past its limit (Chapter 11)

The operation line shows what a trace is for. The yearly performance check of Chapter 11 tests the control loop, so on its own it leaves that line empty. The line is filled only when the service documents add a test that drives the protective sensor past its limit. The validation line needs two tests, not one, because the specification holds two limits and a test of one shows nothing about the other. Each test cites the requirement it demonstrates, so a change to the requirement names every test that must be run again. Chapters 15 and 16 of the Academy guide Copy and count build a PCR test's specification from its intended use, and Chapter 22 of Where the heat goes carries a surgical device's requirements to their evidence.

Change is a step of the lifecycle because every change returns to it. Management of change identifies, reviews and approves each modification of equipment, procedures, raw materials or processing conditions before it is made, so that the modification is analyzed for adverse effects, documented and made known to those it affects. A replacement in kind is exempt. For a safety instrumented system, IEC 61511-1 requires procedures that identify the changes affecting the system's requirements. Tank 912's new switch of 2004 went in with no management of change (Chapter 11). Chapter 20 follows change through a working life, with what counts as a replacement in kind and how software and configuration are changed.

Solved example: what raising one limit reaches

Suppose a change would raise the cutout's upper limit from 39.5 °C to 40 °C. That value is the limit that the maker's filing behind the incubator's specification reports for the incubator it was compared with (Chapter 4). Forward, the trace names three items: the limit stored in the comparison, the validation test for that limit, and the step of the yearly test that drives the sensor past it. Backward, it reaches the time budget. The example uses a set temperature of 38.0 °C, chosen inside the filing's range of 25 to 39 °C. From there, air heated by a failed control loop climbs 39.5 − 38.0 = 1.5 °C to the present limit and 40 − 38.0 = 2.0 °C to the new one. If the air climbs at a steady rate, the climb to the new limit takes 2.0 ÷ 1.5, about 1.33 times as long. That extra time comes out of the process safety time and leaves less for the response. The change is therefore a change to the specification: the response time must be shown again to fit, and a cutout with the new value is not a replacement in kind.

Name an owner for every phase and every interface

Write a lifecycle plan that names each phase's owner, its inputs and outputs and how its output is verified, and name the document that crosses each change of owner. Keep the safety requirements specification under revision control, with the functional and integrity requirements of each function and the source of every number in it. Trace each requirement to the hazard behind it, its design element, its validation test and its proof test, and treat an empty cell as an open item. Tell each supplier what the function is for, ask for the safety information of its part, and pass that information on to whoever installs, tests and maintains it. For a device such as the incubator, count the skin probe's maker and the service organization among the interfaces. Put every change, a replacement part included, through an analysis that starts from the specification.

+ What this chapter established
  • A safety function's requirements, design, tests and changes are made at different times by different people, so the lifecycle names each step from concept to decommissioning and what it must produce, and functional safety management names who owns it.
  • The safety requirements specification states what each function must do and how reliably, and gathers the numbers the earlier steps derived: the demand rate, the credited layers, the target, the trip point with its response time, and the proof-test interval with its coverage.
  • Every change of owner is an interface, and ownership is not contracted out with the work: at Buncefield the Competent Authority found a shortfall at each firm that handled the switch, and the depot's operator under the COMAH Regulations could not delegate its obligations as operator.
  • A trace links each requirement to its hazard, its design element and its tests, so it shows a requirement with no test and every item that a change, such as a raised cutout limit, must reach.
Created with Claude (Anthropic).
Educational reference material, not engineering, regulatory or clinical advice. Product and company names referenced are the property of their respective owners.