19 — Verification and assessment

Checked by someone else.

+ The questionHow does a project show the function was built as specified and is enough for the hazard, and how independent must the checker be?

A passed test answers the question it was written for

A test can prove that the heater cuts out at its limit and still leave open whether that limit was the right one. One line of Chapter 17's trace is the incubator's validation test for that limit. It shows that the heater loses power once the protective sensor passes 39.5 °C while the set temperature is above 37 °C. Whether 39.5 °C leaves the response enough of the process safety time is a question about the specification itself, since the air must first climb that far (Chapter 4). A test written from the specification cannot ask that question, because the test takes the limit as given.

Three checks answer three different questions. Verification asks whether the output of each step meets the requirements that the step was given: the design against the specification, the code against the design, a module against its own design. Validation asks whether the finished function, once installed, meets its specification as a whole, for the use it was specified for. IEC 61508-4:2010 defines both as a "confirmation by examination and provision of objective evidence" that requirements have been fulfilled: "the requirements" in verification, and "the particular requirements" for a specific intended use in validation. The third check, the assessment, asks whether those requirements were enough.

The V pairs each step with its check

Chapter 17's lifecycle can be drawn as a V that puts each check opposite the step whose output it judges. The left arm descends from the hazard and risk analysis through the safety requirements specification and the architecture to the detailed design, with the built parts at the bottom. The right arm climbs back: each part is tested against its design, the joined parts against the architecture, and the installed function is validated against the specification. Verification runs along both arms and reviews documents as well as testing equipment. The higher a check sits on the right arm, the more of the work it judges and the later it comes.

40 — The V and its checks
HAZARD AND RISK ANALYSIS SAFETY REQUIREMENTS SPECIFICATION ARCHITECTURE DETAILED DESIGN CODE AND PARTS EACH PART TESTED PARTS JOINED AND TESTED INSTALLED FUNCTION VALIDATED VERIFICATION AT EVERY STEP against its design against the architecture against the specification PHASE 13 · AFTER INSTALLATION AND COMMISSIONING, PHASE 12 FUNCTIONAL SAFETY ASSESSMENT is the specification enough for the hazard? a limit typed in the wrong unit: a review of the code against its design can find it (Ch 3) a wrong value here passes every check that answers to it Schematic. Steps from Chapter 17's lifecycle, drawn for one function.
Dangerous failureDiagnosticsFocal detail
Plate 40 — Each check on the right arm answers to the step level with it on the left: a part to its design, the joined parts to the architecture, the installed function to its specification. Verification runs at every step. A fault that enters at one step can be caught by the check that answers to that step, but a value that is wrong in the specification passes every check that takes the specification as its reference. Only the assessment asks whether the specification is enough for the hazard.

Each check finds only what departs from the step it answers to, and the V shows where each fault can first be caught. In Chapter 3 the limit is typed as 100.4 into firmware that compares in degrees Celsius, and the fault enters where the design becomes code. A review of that code against its design can therefore find it at the step where it entered, and the repair is one line. If the review misses it, the fault reaches validation, where the heater fails to cut out at 38 °C, and it is found only after the function has been built and installed. A limit that is wrong in the specification passes every check that answers to the specification, validation included, because each of those checks takes the same wrong value as its reference.

Validation tests the whole function against its specification

Validation runs the incubator's protective function from its sensor to its cutout under every condition its specification names. Chapter 17's trace gives each of the two limits its own test. The set temperature is a setting shared with the control loop, and whether it is above or below 37 °C decides which limit is in force (Chapter 4). Each test therefore runs on its own side of that boundary, at a set temperature of 36.0 °C for the 38 °C limit and of 38.0 °C for the 39.5 °C limit. Each confirms what the specification states for a trip: the heater loses power, stays without power until reset, and the trip is announced at the cot side.

Validation is neither commissioning nor a proof test. In IEC 61508's lifecycle, installation and commissioning make up phase 12, and overall safety validation is phase 13. The validation is planned earlier, at phase 7, from the overall safety requirements, before the design exists, as Chapter 17 showed. It runs against every requirement before the function is relied on, and again after a change that touches what it tested. The yearly proof test of Chapter 11 repeats part of it at intervals, to find the failures that have arisen since. A failed validation sends the work back to the step whose output departs from its requirement, and the trace names the tests to be run again after the repair.

The assessment asks whether the function is enough

The functional safety assessment is an "investigation, based on evidence, to judge the functional safety achieved" by one or more safety-related systems, in the definition of IEC 61508-4:2010. It does not repeat the tests. It relies on the verification records and assesses the validation, and it goes further than both: it asks whether the requirements themselves are complete and sufficient, and how well errors were prevented and found along the way. For the incubator, an assessor would set the 39.5 °C limit against the time budget of Chapter 4, check that the SIL 2 of Chapter 8 rests on an alarm with a sensor of its own, and search the FMEDA and fault tree of Chapter 18 for a missed pair of failures.

The assessment comes in stages, so that a wrong requirement can be found before work is built on it. IEC 61511 is the process sector's form of IEC 61508, and its 2016 edition sets out five stages. The first follows the hazard and risk assessment and the specification, before detailed design; the second follows the design; the third follows installation and final validation; the fourth follows experience of operation and maintenance; and the fifth comes after a modification and before decommissioning.

The third must be complete before the plant starts up and the hazard is introduced. The 2016 edition also asks for assessments at intervals during operation and maintenance, as Keswick, a consultant whose firm sells assessments, states in a 2019 conference paper written against that edition. Bratt, the functional safety management advisor of ABB, a maker of control systems, gave the same reading in 2015, in a conference presentation based on the edition's final draft. Gandy of exida, a company that sells assessments, reads the fourth stage as mandatory in a 2018 post on the company's blog. Chapter 20 follows the fifth stage into service, where it comes after each change.

One assessment at the end finds a wrong requirement last

A project that holds its only assessment after validation finds a wrong requirement when everything built on it is finished. Had the incubator's 39.5 °C limit been set too high for the time budget, an assessment at the first stage would have changed one value in the specification. At the third stage, that value has already reached the three items that Chapter 17's trace names: the stored limit, the validation test and the step of the yearly test. Each must be changed and shown again. The stages should be scheduled early rather than bunched into one review at the third, in the 2019 guidance of the 61508 Association, an industry body whose members include assessors and makers.

Independence grows with the integrity level

A check helps only if the cause of an error in the work cannot also make the check miss it. Chapter 7 called a layer independent when nothing that causes the initiating event or defeats another layer can also defeat it, and the same test applies to whoever checks a design. The designer who wrote a specification rereads it with the assumptions that produced it. An error that came from those assumptions therefore gets into the work and through the review together, as Chapter 7's alarms failed with the gauge they read. A colleague in the same team shares fewer of those assumptions, a separate department fewer still, and another organization shares neither the team's schedule nor its management.

IEC 61508 turns that gradient into minimum levels of independence, set either by the consequence of a failure or by the SIL. The levels by SIL are the cells of Table 5 of IEC 61508-1:2010. A SIL 1 function needs at least an independent person to assess it; SIL 2 an independent person, with an independent department more appropriate; SIL 3 an independent department, with an independent organization more appropriate; and SIL 4 an independent organization. An independent person is insufficient at SIL 3, and a department at SIL 4. Where two levels are offered, the choice depends on the organization and other factors.

41 — Independence by SIL
the incubator's channel: SIL 3 with the alarm on the control thermistor, SIL 2 with a sensor of its own (Ch 8) SIL 1 SIL 2 SIL 3 SIL 4 INDEPENDENT PERSON REQUIRED X ACCEPTABLE X1 INSUFFICIENT Y INSUFFICIENT Y INDEPENDENT DEPARTMENT – MORE APPROPRIATE X2 ACCEPTABLE X1 INSUFFICIENT Y INDEPENDENT ORGANIZATION – – MORE APPROPRIATE X2 REQUIRED X IEC 61511, 2003 EDITION the assessment team includes at least one competent person independent of the project design team, at any SIL IEC 61508-1:2010, Table 5. Legend as printed: X minimum required; X1, X2: X2 more appropriate, depending on the organization and other factors; Y insufficient. IEC 61511's 2003 rule as PSLG (2009) summarizes it.
Dangerous failureFocal detail
Plate 41 — The higher the SIL, the further the assessor must stand from the design: an independent person at SIL 1, a department at least at SIL 3 and another organization at SIL 4, in Table 5 of IEC 61508-1. The incubator's channel moves from the SIL 3 column to the SIL 2 column when its alarm gets a sensor of its own, and an independent person then meets the minimum. IEC 61511's 2003 edition asked instead for one competent person outside the design team.

IEC 61511's first edition, of 2003, tied the assessor's independence to neither the consequence nor the SIL. Nunns, a safety consultant at ABB, called this a "more relaxed approach" in 2009. The 2003 edition's rule was for the team instead, which had to include at least one competent person independent of the project design team, as PSLG's 2009 guidance for fuel storage sites after Buncefield summarizes it. The 2016 edition keeps a rule for the team, which must include at least one senior competent person, as Walkington, an assessor at ABB, gives it in a 2017 trade-magazine article. The assessment must be led by a senior competent person who is not involved in the steps being assessed, as Keswick's 2019 paper states.

Independence does not by itself qualify an assessor. Formal evidence of the assessors' competence, including competence in auditing, must be available, and whoever is accountable for the assessment is expected to have an expert level of competence, in the 61508 Association's guidance. Chapter 16 applies the same independence to software.

Solved example: the assessor the incubator's protective channel needs

Chapter 8 sized the channel twice. While the alarm at the cot side reads the control thermistor, a demand rate of about 0.1 a year against a target of 0.0001 gives a risk reduction factor of 0.1 ÷ 0.0001 = 1,000, and the channel needs SIL 3. With a sensor of its own for the alarm and a nurse to answer it, the demand rate falls to 0.01 a year, the factor to 0.01 ÷ 0.0001 = 100 and the level to SIL 2. In Table 5's SIL 3 column, an independent person is insufficient: the assessor must come at least from an independent department, and another organization is more appropriate. In the SIL 2 column an independent person meets the minimum. The alarm's own sensor therefore lowers the independence required by one step as well as the level by one, and a maker with no department outside its design team needs another organization only for the SIL 3 channel. Medical device standards use no SIL, so the example reads IEC 61508's table for the channel as this book has sized it (Chapter 25).

Certification is a third party's assessment, and it is voluntary

Certification is an assessment by a body outside the maker, stated in a certificate. TÜV Rheinland, one such body, describes its work for a product as audits that examine and assess the evidence, an FMEDA for mechanical products, and qualification tests. It states that it then issues a certificate confirming the product's functional safety capabilities. A product's certificate covers the product, and the project still verifies, validates and assesses the function built from it (Chapter 8). What a certificate states, and on what conditions, is the subject of Chapter 21.

Certification to IEC 61508 is voluntary. Accreditation of the body that issues a certificate is not mandatory either, and the word "certificate" is not protected, as the 61508 Association's 2022 guide to certificates and safety manuals states. Accreditation is the check on the issuer: a national accreditation body examines a certification body against ISO/IEC 17065:2012, the standard for bodies that certify products, and records the standards that the accreditation covers. DAkkS, Germany's national accreditation body, accredits TÜV SÜD Rail as such a body, and the scope of that accreditation includes functional safety to Parts 1 to 3 of IEC 61508 for components, devices and systems.

A notified body works under a different regime. It is a conformity assessment body designated under an EU law to carry out the assessments that the law requires. The certification and consulting company exida states that it is a notified body for the Machinery Directive, 2006/42/EC, and that status covers the assessments the directive requires for machinery. The Machinery Regulation of 2023 repeals the directive with effect from 20 January 2027 (Chapter 28). A certificate to IEC 61508 from the same body remains a voluntary certification, whose standing comes from the body's accreditation and from the evidence behind it.

The evidence from all these checks can be gathered into one argument. A safety case is "a structured argument, supported by a body of evidence that provides a compelling, comprehensible and valid case" that a system is safe "for a given application in a given operating environment". The UK Ministry of Defence's safety and environmental management system quotes this definition from Issue 6 of Def Stan 00-56, the ministry's standard for the safety management of defense systems. The argument adds what the records alone lack: it says which hazard each piece of evidence answers and why that evidence is enough. The definition's last words set its limit: the case holds for one application in one environment, and a change to either reopens it.

Plan every check when the requirement is written

Write into the lifecycle plan, for every phase output, the verification that checks it and the document it is checked against. Write the validation tests from the safety requirements specification before design begins, at least one for every requirement, and run each limit on its own side of any setting that selects it, as the incubator's two limits need. Schedule the assessment from its first stage, once the specification exists, and record what each stage found and how it was closed. Choose the assessor's independence from the function's SIL; for a process plant, take it from the rule of the edition of IEC 61511 that applies. Record that choice and the assessor's competence in the plan. Treat a bought part's certificate as evidence for the assessment, not as its result.

+ What this chapter established
  • Verification checks each step's output against the requirements it was given, and validation checks the installed function against its whole specification, so a limit that is wrong in the specification passes every check that answers to it, validation included.
  • The functional safety assessment relies on the verification and validation evidence to judge the functional safety the function achieves, including whether its requirements are complete and sufficient. IEC 61511's 2016 edition places it in five stages, from the specification to each modification.
  • IEC 61508 sets minimum levels for the assessor's independence, by the consequence of a failure or by the SIL. By SIL they run from an independent person at SIL 1 to an independent organization at SIL 4, so the incubator's alarm on its own sensor lowers the independence required along with the level.
  • Certification to IEC 61508 is a voluntary assessment by a body outside the maker, and accreditation of that body is not mandatory either. A safety case gathers the evidence into one argument for a given application in a given operating environment.
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.