Which way it falls.
+ The questionWhy are failures sorted by what they do to the hazard, and which of them can a system see?
A weight that falls to danger
A wire pulls a railway semaphore arm to "clear", and a counterweight returns the arm to "danger" when the wire breaks. The pull of the wire is the only thing that holds the arm at "clear". A failure that removes the pull leaves the weight free to fall, and a weight needs no power, no adjustment and no one's attention to do so. The signal then shows its most restrictive aspect, and trains stop. The state the signal falls into is its safe state, one in which the equipment cannot bring about the hazard it guards against. A design arranged so that its likely failures leave it in that state is fail-safe.
The weight does not make a signal safe merely by being there: its fall has to point at danger. A lower-quadrant signal shows "clear" by dropping its arm below the horizontal, and on early ones the arm "was likely to drop by gravity into the clear position", according to a reference page on signaling from the Indian Railways Fan Club, an association of railway enthusiasts. The weight of those arms therefore worked toward "clear". The cure was a heavier spectacle end, the part of the arm that holds its colored glasses, which then served as the arm's counterweight. Gravity pulled just as hard before and after; what changed was which way the design let it pull.
A counterweight answers one failure, the loss of the wire's pull, and nothing else. It cannot overcome a load that holds the arm where it is: the weight of snow and ice could jam a signal at "line clear", as the Science Museum Group's record of a model Great Northern Railway signal notes. A design is therefore fail-safe against the failures its designer named, and every other failure needs an answer of its own. Signal installations are designed for fail-safe operation "as far as possible", in the words of the enthusiasts' reference.
Safe and dangerous are judged against the hazard
Every failure of a protective part can be sorted by what it does to the hazard. A safe failure pushes the equipment toward its safe state: it can cost production or service, such as a train held at a signal that should have cleared, but not safety. A dangerous failure can stop the equipment from reaching its safe state in time when the hazard arises, and so may cost safety. A dangerous failure does harm only if a demand comes while it lasts, the last link of Chapter 1's chain from a fault to harm. A safe failure costs only what stopping costs.
The incubator's heater shows that a class belongs to a failure, not to a part. Its protective channel ends in a cutout: a relay whose contacts sit in the heater's supply and open to cut it (Chapter 4). If the contacts stick open, the heater loses power whatever the controller asks, and the air cools. The infant is then safe from overheating, though not from the cold, which the staff must notice and answer. If the contacts weld shut, the heater keeps its power whatever the protective channel decides, and when the control loop fails, the channel cannot cut the heater's supply. One relay, with one pair of contacts, fails in two directions.
Energy holds the working state
Electrical protection uses the semaphore's principle, with current in place of the wire's pull. A trip is the act by which a protective function brings the equipment to its safe state, such as a cutout opening the heater's supply. In a design built to de-energize to trip, the function holds energy in its working state, and the trip is the removal of that energy. The cutout's relay coil carries current for as long as the protective channel finds the air below its limit, and the contacts close only while the coil holds them. When the channel decides to trip, it stops the coil current and the contacts spring open, as the weight brought down the arm.
A safety controller in such a system sets all its outputs to zero when it detects a fault, as Rockwell Automation, one maker of these controllers, documents for its own. A fault that the controller finds in itself therefore trips the heater. Faults that nothing finds trip it as well. A supply that fails, a wire that breaks, a coil that burns open and a controller output that dies all remove the coil's current, and each of them opens the contacts with no check involved. The design does not prevent these failures; it decides which way they fall.
Removing the coil's energy does nothing against a failure that holds the contacts shut without it. Welded contacts ignore the coil, so the trip that stops the coil current changes nothing at the heater, and the welded relay stays a dangerous failure whatever the circuit around it does. The opposite arrangement, energize to trip, applies energy to make the trip, such as a coil that must be powered to open a contact. In it, a lost supply or a broken wire prevents the trip, so the very failures that de-energizing makes safe become dangerous. Such a design must watch its supply and its wiring to see them.
A failure is detected only if it looks different
The second question is whether anything shows the failure when it happens. A failure is detected when it becomes evident, as soon as it occurs, to the people who run and maintain the equipment, for example because a check built into the system raises an alarm. It is undetected when nothing makes it evident at once. Detection needs two things: the failed state must look different from the working state, and something must be looking. Chapter 1's thermistor shows both conditions. Its open circuit and its short give impossible readings, which a check can see, while its drift gives a plausible reading, which no check on that one reading can tell from the truth.
Welded contacts fail the first condition in another way. In normal operation the cutout's contacts are closed, because the air stays below the limit, so a welded contact and a healthy one look exactly alike, closed and carrying the heater's current. The difference appears only when the channel trips, in a test or on a demand, and the contacts stay shut. A failure whose failed state matches the working state in everything that normal operation exercises stays hidden until something exercises the part further. The high-level switch at the Buncefield depot failed this way: after its periodic tests, its test lever was left in the lower position that disabled the switch, or free to fall there (Chapter 11).
Detection is therefore a property of the design as much as of the part. An open circuit in the protective thermistor is detected only in a channel built to check that the thermistor's reading is possible. In a channel without that check, the same open circuit leaves the logic reading cold air, and the failure is undetected. Chapter 12 shows how such checks are built and how much they find.
"Undetected" means that nothing makes the failure evident when it happens. A safe undetected failure that acts is still found later, by its effect: the cutout whose contacts stick open leaves a cooling incubator, which its low-temperature alarm or the staff will find. A dangerous undetected failure has no such effect, because in normal operation the function it disables does nothing. In a table of failure rates, a large safe undetected share therefore forecasts trips that come without a demand, while the dangerous undetected share is the one that stays hidden.
Four classes, and what each asks of the design
Two questions with two answers each give four classes. IEC 61508:2010 sorts a protective function's failures as safe or dangerous and counts the dangerous ones as detected or undetected. That standard covers safety functions carried out by electrical, electronic and programmable electronic systems. Lundteigen and Rausand set out all four classes in lecture slides written for a 2014 textbook on the reliability of safety-critical systems. A safe detected failure (SD) pushes the equipment toward its safe state and is announced by a check. A safe undetected failure (SU) gives no warning, and if it acts it shows itself later, as a trip without a demand. A dangerous detected failure (DD) disables the function but raises an alarm, and until it is corrected the function cannot act. A dangerous undetected failure (DU) disables the function and shows nothing until a test or a demand finds it, as welded contacts do.
Chapter 4's incubator trips at an air temperature of 38 °C while the set temperature is below 37 °C. Its figures come from one maker's filing with the US Food and Drug Administration (FDA). The set temperature here is 36 °C, and the example takes a drift of 1 °C either way. The protective thermistor's three modes then give four cases. With the thermistor reading 1 °C high, the channel sees 38 °C when the air is at 38 − 1 = 37 °C, so it trips 1 °C above the set temperature instead of 2 °C. The trip comes early, toward the safe state, and on a plausible reading, which makes the failure safe undetected. With the thermistor reading 1 °C low, the channel trips only when the air reaches 38 + 1 = 39 °C, 1 °C later than designed, again on a plausible reading: dangerous undetected. An open circuit reads colder than any real air, so the channel would never trip: dangerous, and detected only if the channel checks its readings. A short reads hotter than any real air, so the channel trips at once: safe, and detected if the same check reports it. One part fills all four cells. The direction of its error decides safe or dangerous, and whether the reading could be true decides whether a check can see it.
Each class asks something different of the design, and the dangerous undetected class asks most. Before we start names one fact that every chapter uses: every part eventually fails, and some failures stay hidden until the moment the part is needed. The dangerous undetected failures are those hidden ones: they remove the protection without a sign, and only a test finds them before the demand does. A design can lower their rate with better parts, find them with periodic tests at an interval chosen for the purpose, or move them into the detected class with a check that sees them (Chapter 12). Chapter 11 calls those periodic tests proof tests.
A dangerous detected failure asks for a response. An alarm that nobody answers leaves the function as disabled as a hidden failure would, so the detected failure must lead to repair, or to the safe state, within the time the process allows (Chapter 4). A controller that sets its outputs to zero on a detected fault gives that response by itself, because in a de-energize-to-trip system an output at zero is a trip. The dangerous detected failure then ends in the safe state.
The safe classes ask for less, but they still cost. A safe failure that acts stops the train or cools the incubator with no hazard present, and a safe undetected failure does it without warning. A safe detected failure costs least, because the check that finds it also tells the maintainer what to repair. How rarely the protection fails when it is needed depends on the dangerous classes alone, which is why Chapters 8 and 11 measure a protective function by them. Chapter 13 shows how designs that vote between channels trade trips without a demand against dangerous failures.
For each part of a protective function, list its failure modes and write against each which way it moves the equipment, toward the safe state or away from it, and whether anything in normal operation would show it. Arrange the path from the logic to the part that acts so that a lost supply, a broken wire or a dead output trips, and record the failures it leaves dangerous, such as welded contacts. For every failure left dangerous and undetected, name the test that will find it and its interval. For every failure that is dangerous and detected, name the response and how soon it must come. Keep the list in the design file, because the failure analysis and the test plan both start from it.
- A fail-safe design arranges its likely failures to leave the equipment in its safe state, as a counterweight returns a semaphore arm to "danger", but only against the failures its designer named.
- A failure is safe or dangerous by what it does to the hazard, so one relay fails safe when its contacts stick open and dangerously when they weld shut.
- De-energizing to trip turns a lost supply, a broken wire and a dead output into trips, and leaves welded contacts dangerous.
- A failure is detected only if its failed state looks different from the working state and something is looking for the difference. The dangerous undetected class asks most of the design: its failures stay hidden until a test or a demand finds them.
Let's Talk