+ Before we start

Before we start.

The failures at Tank 912 are not peculiar to fuel depots. A machine guard, a car's brakes, an aircraft's flight controls and an infant incubator's heater are all built from parts that will fail, and each can harm someone when a failure goes unchecked. Functional safety is the engineering of the protection that acts when such a failure occurs. This guide is built around one question about it: if any part of a system can fail, how can the system still bring itself to a safe state in time, and how rarely may that protection fail before the risk that remains is accepted?

The short answer has two halves, and the first concerns structure. A hazard gets a safety function of its own: a sensor, a piece of logic and a final element, which together bring the process to a safe state. The final element is the part that acts on the process, such as a valve or a heater cutout. The function is kept apart from the control system that runs the process, so that a failure in the control system does not also remove the protection. The function's parts are chosen to fail toward the safe state where they can. They check themselves, so that many failures are revealed soon after they occur instead of waiting to be found when the function is needed. Where one part is not enough, parts back each other up without sharing a cause that could defeat them together.

The second half concerns numbers and evidence. How rarely the function may fail is set from the risk that would remain without it. That target is written as an integrity level, a numbered band of failure rarity (Chapter 8). One side of that rarity concerns random failures. Parts fail at rates that can be estimated, so the chance that the function has failed when it is called on can be computed from those rates and from how often the function is tested. The other side concerns systematic failures. A wrong requirement, a design error or a test procedure that leaves a lever in the wrong position produces the same failure whenever its conditions recur, and no rate describes it. That side is earned by the way the function is specified, built, checked and kept in service.

All of this rests on one fact, which every chapter uses: every part eventually fails, and some failures stay hidden until the moment the part is needed. That every part fails is ordinary experience. Sensors drift, relay contacts weld shut, insulation breaks down, and a requirement written wrong is wrong in every unit built to it. That some failures stay hidden is what makes protection hard. A protective function does nothing while the process runs normally, so a failure inside it changes nothing that an operator can see, and the failure shows itself only when the function is needed or deliberately tested. A protection therefore cannot be built from parts that never fail, and it cannot be trusted merely because it has never been called on.

Words with a narrower sense

Many words in this guide are ordinary words that the field uses in a narrower sense, and read in their everyday sense they lead to wrong conclusions about how a protection works. Fault, error and failure are the clearest case: everyday speech uses the three for one idea, but here a fault is a state, an error a value and a failure an event, and each can stop short of the next (Chapter 1). The table lists the words in the order the chapters take them up, and the glossary at the back defines every term in the sense this guide gives it.

WordWhat it means hereWhere it is explained
fault, error, failurea state in which a part cannot perform as required; a value that departs from the true one; the event in which an item loses the ability to perform as requiredChapter 1
demandthe occasion on which a safety function must actChapter 1
safe statea state in which the equipment cannot bring about the hazard it guards againstChapter 2
tripthe act by which a protective function brings the equipment to its safe stateChapter 2
random, systematicwhere a failure comes from, not how often it happens: hardware degrading at a random time; a cause built into how an item was specified, designed, made, installed, run, maintained or changed, which acts whenever its conditions recurChapter 3
alarm condition, alarm signalthe state of an alarm system that has determined that a potential or actual hazardous situation needs the operator's awareness or response; what it generates to announce that state, such as a tone or a lightChapter 4
tolerableof a risk: lived with, not accepted, on condition that it is reduced as far as is reasonably practicableChapter 6
independentof a protection layer: such that nothing that causes the initiating event, and nothing that defeats another layer, can also defeat itChapter 7
integrity levelone of four bands, SIL 1 to SIL 4, each a tenfold step, that state how rarely a safety function may failChapter 8
proof testa periodic test that reveals the dangerous failures a function's own diagnostics cannot findChapter 11
coveragethe share of dangerous failures that a system's own checks detect, or that a proof test reveals among those the checks miss; nothing to do with insuranceChapters 11 and 12
channelone path that can carry out a safety function, or one subsystem's share of it, by itselfChapter 13
votethe rule by which several channels decide to trip, written as how many must call out of how many there areChapter 13
bypassa deliberate means of stopping a safety function from acting while it stays installedChapter 20
capableon a certificate, the highest integrity level that an element's systematic capability allows a safety function to claim, judged from the element aloneChapter 21

How to read this guide

The 30 chapters are numbered straight through the book and grouped in eight parts, and each chapter opens on a question, usually one that the chapter before it leaves open. Part I takes a single failure apart, from what a failure is, which way it falls and where it comes from, to the safety function built against it. That function is set up on one example that returns in every later chapter: the overtemperature protection of an infant incubator. Part II asks how safe is safe enough, through hazard and tolerable risk, layers of protection, integrity levels and the operator. Part III counts failures: their rates, proof tests, diagnostics, redundancy and the common causes that defeat redundancy.

Part IV turns to systematic failure and to software, where no rate applies, and Part V to the lifecycle that carries a requirement through to evidence and into service. Part VI follows the one method through process plants, machines, road vehicles, medical devices, and aircraft and defense. Part VII describes the field as it stands in 2026, and Part VIII the law as of November 2026 in Europe and the UK, the United States and India. Chapter 22 returns to Tank 912 and takes the night barrier by barrier, with everything the earlier chapters have built. The closing section of Chapter 30, What would have made the night harmless, then gathers the answer to the central question.

The eight parts can also be placed on one drawing, the V of Chapter 19, which sets each check opposite the step whose output it judges.

01 — The book's eight parts on one V
PART VII · THE MAKERS AND ASSESSORS · CH 27 PART VIII · THE LAW · CH 28 TO 30 HAZARD AND RISK ANALYSIS SAFETY REQUIREMENTS SPECIFICATION ARCHITECTURE DETAILED DESIGN CODE AND PARTS EACH PART TESTED PARTS JOINED AND TESTED INSTALLED FUNCTION VALIDATED TRACEABILITY, BOTH WAYS · CH 17 IN SERVICE operation, proof tests, change (Ch 11, 20) A CHANGE THAT AFFECTS THE REQUIREMENTS RETURNS HERE · CH 17 THE CHANNEL'S LIMITS · CH 4 OWN SENSOR AND CUTOUT · CH 4 ONE TEST FOR EACH LIMIT · CH 19 YEARLY TEST PAST THE LIMIT · CH 11 PARTS I AND II CH 1 TO 9 the hazard, the risk, the requirement PARTS III AND IV CH 10 TO 16 the architecture, the numbers its parts meet, systematic capability PART V CH 17 TO 21 verification, validation, assessment (Ch 19) PART VI · EACH SECTOR'S STANDARD ON THE SAME V, OR BESIDE IT · CH 22 TO 26 HOW RARELY IT MAY FAIL INTEGRITY LEVEL · PFDavg · PFH set and counted in Parts I to III, from the risk, the failure rates and the test intervals the central question's second half, off the V Schematic. The V as Chapter 19 draws it, with this guide's parts and chapters.
Safety functionFocal detail
Plate 01 — The book's parts placed on the V of Chapter 19: Parts I and II (Chapters 1 to 9) where the requirement is written, Parts III and IV (Chapters 10 to 16) down the design arm, Part V (Chapters 17 to 21) up the checks, and service beyond the top, where a change returns to the requirements, with traceability across in both directions. The incubator's protective channel runs the whole V. The V shows where the numbers of Parts I to III are used; the arithmetic that sets how rarely the function may fail lies off it. In the panel off the V, PFDavg is the average probability of failure on demand and PFH is the frequency of dangerous failures per hour (Chapters 8 and 11).

Kevin Forsberg and Harold Mooz set out the V in a 1991 symposium paper, as a picture of the project cycle in systems engineering. Parts I and II sit at the top of its left arm, where the requirement is written, and Parts III and IV run down that arm into the design. Part V takes the right arm, through verification, validation and assessment. Part VI lays each sector's standard on the V or beside it, and Parts VII and VIII, the field and the law, lie outside it. The V shows where the numbers of Parts I to III are used, not the arithmetic that yields them.

Readers from three backgrounds need different parts of the book first, and the table sets out a route for each.

Who is readingNeeds most from the bookParts to readShortest path
An electronics or embedded engineer starting on a product with a safety functionhow a part fails and the safety function built against it; failure rates, proof tests, diagnostics and redundancy; systematic failure and software; the lifecycle from requirement to evidenceI, III, IV and V, then Chapter 25 or the product's sector chapterChapters 2, 4, 10 to 13, 16 and 18
A founder or product lead deciding what a safety claim will demand of a productwhat the safety function is and how safe it must be; the specification that carries the requirement; what a certificate states and on what conditions; who assesses; the law in the intended marketChapter 4; Part II; Chapters 17, 21 and 27; the product's sector chapter; the chapter of Part VIII for the intended marketChapters 4, 8 and 21
A quality or regulatory professional who knows risk management for medical devices and is meeting functional safety for the first timehow a hazard's risk sets an integrity level; the lifecycle from requirement to evidence and service; the method in medical devices and the other sectors; the law in each marketII, V, VI and VIIIChapters 5, 8, 17 and 25
In practice: what a safety claim demands of a product

Expect the integrity level to shape the design: the vote, the diagnostic coverage, what the channels share, and a claim no higher than the lowest ceiling among the elements (Chapters 8, 12 to 14 and 21). Expect it to shape how the product is made, since systematic capability is earned by the methods used to specify, design, code and check each part, or by a record of use (Chapters 15 and 16). Keep a trace from each requirement to its test, and plan for an assessor whose required independence rises with the level (Chapters 17 and 19). Read each bought-in element's certificate and safety manual for the conditions a builder takes on (Chapters 21 and 27). Write the proof-test interval and its coverage into the service documents, and send each change in service that affects what the function must do back to the requirements (Chapters 11, 17 and 20). Then find, for each market, the law that places the duty (Part VIII).

Four kinds of box appear throughout, each marked by the color of its edge:

Insight

Blue edge. Holds the step an argument turns on, or the chapter's solved example, worked with real figures.

Caution

Orange edge. Names a misreading the subject invites, or the point where a figure or a rule stops applying.

In practice

Green edge. Turns the idea into a step in the reader's own work: a design review, a test plan, an assessment or a technical file.

+ What this chapter established
  • Each chapter closes with four lines on what it established.

The mathematics goes no further than powers of ten, percentages and ratios, and the few formulas that define the field, each worked with numbers where it first appears. A layer of protection analysis multiplies the frequency of an initiating event by the chance that each independent layer fails (Chapter 7). The average chance that a single channel has failed when it is needed is about half the product of its rate of hidden dangerous failures and the interval between its tests (Chapter 11). Diagnostic coverage is a ratio: the dangerous failures that a system's own checks detect, over all its dangerous failures (Chapter 12). Either channel of the pair in Chapter 13 can stop the process, and the pair is worked out with a term for the small share of failures that strikes both at once (Chapter 14). Specialists use Markov models for more complex arrangements, and this guide names them without using them. Probabilities are written as "1 in 10,000", not as negative powers of ten.

The plates are numbered through the book independently of the chapters, and each color in them stands for one class of thing throughout the book. Lapis blue is the safety function, the guide's subject, and green is the basic control and the process it runs. Red is a dangerous failure or the hazard, drawn with a broken stroke or a small cross; cyan is a safe failure or the safe state, drawn as a closed, rounded box. Violet is a diagnostic and what it detects, and ochre is the operator and the alarm. One orange mark in each plate points at the detail that matters most, and a muted dashed line marks what is disabled, such as the Buncefield switch's test lever in its lower position. Under each plate a key strip names only the colors that plate uses.

The color key
CLASSES OF THING · ONE COLOR EACH SUBJECT, FOCUS AND CONSTRUCTION BASIC CONTROL the control loop and the process it runs: sensor, controller, heater DANGEROUS FAILURE a dangerous failure or the hazard: a broken stroke or a small cross HEATER OFF SAFE STATE a safe failure or the safe state: a closed, rounded box DIAGNOSTICS a diagnostic and what it detects: checks, cross-checks, proof tests OPERATOR AND ALARM the operator and the alarm: people, annunciators, the response T SAFETY FUNCTION sensor, logic and final element, its signal path and its integrity figures FOCAL DETAIL the detail that matters most: one orange mark per plate OR GRAY instruments, hardware, construction and shared parts DASHED GRAY what is removed or disabled, and what is not measured or tested BASIC CONTROL DANGEROUS FAILURE FOCAL DETAIL each plate's key strip lists only the colors it uses
Key — Each color stands for one class of thing, and a dangerous failure and a safe state also differ by form: a broken stroke or a cross against a closed, rounded box. The same color means the same thing in every plate of this guide.
The limits of this guide

This guide explains the method of functional safety. It does not replace the standards, a competent safety assessment or a regulatory opinion, and following it does not make a product or a plant compliant. Standards, regulatory status and company details are stated as of November 2026 and will date. Where the guide uses a failure rate, certificate or analysis from a maker, or from an assessor working for one, it says so. The infant incubator is a generic design that describes no maker's product, and named products and firms illustrate a principle without being recommended.

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.