One cause, both channels.
+ The questionWhy do two identical channels fail together far more often than chance allows?
Two healthy units switched off together
On 4 June 1996 both inertial reference units of Ariane 501 failed almost simultaneously, about 37 seconds after its main engine ignition sequence began. Ariane 501 was the first flight of the Ariane 5 launcher. The two units were the computers that sensed the launcher's motion, and the launcher's on-board computer steered by the guidance and attitude information they supplied. They ran in parallel with identical hardware and software, one active and one on hot stand-by, and if the on-board computer detected that the active unit had failed, it switched to the other, as long as that unit was working.
The back-up unit stopped first, 36.7 seconds after the ignition sequence began and about 30 seconds after lift-off, and the active unit stopped about 0.05 seconds later. Since the back-up had already stopped, the on-board computer had no unit to switch to. The active unit's last output was a diagnostic bit pattern, which the on-board computer took for flight data. Acting on that pattern, the on-board computer commanded the nozzles of the solid boosters and of the main engine to full deflection. The Inquiry Board that investigated the failure called this "a large correction for an attitude deviation that had not occurred". The launcher turned until its body pointed more than 20 degrees away from its direction of flight. That angle of attack separated the boosters from the main stage at about 39 seconds and triggered the self-destruct system.
Both units had stopped for the same reason. Each was still running an alignment function, which went on for about 40 seconds of flight. One of the function's results, a value called the horizontal bias, was related to the horizontal velocity that the unit's platform sensed, and the software converted that value from a 64-bit floating-point number to a 16-bit signed integer. The first format holds very large and very small values, while the second holds only whole numbers written in 16 binary digits, a far smaller range. Ariane 5's early trajectory builds up horizontal velocity five times faster than Ariane 4's, so the horizontal bias grew larger than a 16-bit signed integer can hold, and the conversion failed. The Board's report calls that failure an operand error. Comparable conversions in the same part of the code were protected against such an error, but this one was not.
What followed the error was written into the units' specification. The operand error was an exception, and on any exception a unit was to report the failure on the data bus, store its context in memory and finally shut its processor down. Each unit did so. In the Board's judgment, the decision to stop the processors was the one that proved fatal. The same software ran in both units, and both sensed the same flight, so the same value met the same unprotected conversion in each, a fraction of a second apart. A second, identical unit could take over from a unit that had broken down, but it could not cover a design fault, since it carried the same fault.
The Board traced the failure to a systematic error in the software's design, and it found that the culture of the Ariane launcher program had addressed only random hardware failures. The Board called the outcome "the switch-off of two still healthy critical units of equipment". Chapter 3 drew the same line between a failure that reaches one copy at a time and a fault that sits in every copy from the start. Ariane 501's redundancy guarded against the first kind, and its fault was of the second. Two questions remain about code carried over from Ariane 4, and Chapter 15 takes them up: why the alignment function was still running in flight, and why its value had been judged safe.
A shared cause breaks the product
Redundancy assumes channels that fail independently, and Ariane's two units did not. The pair of Chapter 13 gains because the chance that both channels have failed is roughly the product of two small chances, and the product holds only for channels that are independent in Chapter 7's sense. Once a cause has failed one channel and reached the other, the second channel's chance of having failed is close to certain, and the product no longer holds.
Such a cause is a common cause: one cause that leaves two or more channels failed at the same time, whether it strikes them together or one after another before either failure is found. A common cause can be of either of Chapter 3's kinds. Ariane's was systematic, a design fault in every copy, waiting for the input that would trigger it. Others act on the hardware as random failures do, but not one channel at a time. Two thermistors of one type and one batch, aged by the same heat in the same air, can drift for the same reasons and in the same direction, and a surge on a shared supply reaches both at once. Every common cause acts through something the channels share: a design, a make of part, a supply, a place or a procedure.
Chapter 4 named what the incubator's two loops share, and each shared item is a route for a common cause. Between the control loop and the protective channel, a shared cause both creates the demand and removes the protection, as Chapter 7 showed for an alarm that reads the control thermistor. Chapter 12's cross-check of the two thermistors adds one more route, since it joins the protective channel to the control loop. Between the two protective channels of Chapter 13's pair, a shared cause removes both. The thermistors all sit in one air stream, so anything that makes the air at the sensors cooler than the air around the infant misleads every channel alike. The controller heats harder, and no protective channel reads a temperature that calls for a trip. A fault in the shared power supply, or heat inside the shared enclosure, acts on every channel's electronics at once.
Two of the shared items come from the design, not from where the parts sit. A comparison that runs in the controller's software build carries any fault of that build into the protective channel, as Ariane's shared software did. The other is the set-temperature setting. The protective channel takes from the control side whether the set temperature is above 37 °C, to choose between its limits of 38 °C and 39.5 °C. A fault that makes the control side hold a setting above 37 °C, when the user set one below, raises the controller's target and the cutout's limit together. With a wrong setting of 38.5 °C, for example, the controller holds the air above the 38 °C limit meant for that infant, and the cutout waits for 39.5 °C.
The β factor sets the pair's result
Rather than count common causes one by one, the calculation takes a share of each channel's failure rate as common. The β factor is that share: the fraction of a channel's failures that are common cause failures, failures that also fail the other channel. That share is an estimate, made from a checklist score or from field records, as the last section describes. A channel's rate of dangerous undetected failures then splits in two. With β at 10 %, nine-tenths of the rate fails one channel at a time, as Chapter 13 assumed of the whole rate, and one-tenth fails both.
The two parts weigh very differently. The common part acts on the pair as a hidden failure acts on a single channel: nothing reveals it, and the pair cannot answer a demand from the moment the failure occurs until a proof test finds it. The common part's average is therefore β times a single channel's average. For the pair to fail through independent failures, two rare events must both happen within one test interval, and the chance of that is about the square of a small number. The common part needs only one event, so it grows with the rate itself, not with its square. Squaring a probability of 6 in 10,000 makes it about 1,700 times smaller, so even a small β soon outweighs everything the independent part contributes.
The fuller formula of IEC 61508-6 Annex B has the same two parts and adds the repair times and the dangerous failures that diagnostics detect, as Chapter 11 showed for one channel. In that formula, β applies to the undetected failures, and a second factor, βD, applies to the detected ones, whose common part lasts only as long as the repair. Without those additions, the fuller formula reduces to the two parts of the solved example.
Chapter 11's stand-in sensor has a λDU of 71 FIT, from the analysis that the assessor exida made for the transmitter's maker, PR electronics. Both channels are tested together once a year with a perfect test. Over 8,760 hours the rate gives 71 × 8,760 ÷ 10⁹, about 6.22 in 10,000, and one channel averages half of that, about 3.11 in 10,000. Two such channels with no common cause average a third of the square of 6.22 in 10,000, about 1.3 in 10 million (Chapter 13). With β at 10 %, the top of the range for sensors given below, the common part averages 0.10 × 3.11 in 10,000, about 3.1 in 100,000. The independent part keeps 90 % of each channel's rate, so its average falls by 0.9 × 0.9, to about 1.0 in 10 million. The pair averages about 3.1 in 100,000, or 1 in 32,000. The common part is about 300 times the independent part, and the pair is about 10 times better than one channel instead of about 2,400 times. At a β of 1 %, the bottom of the range, the pair averages about 3.2 in a million, and its common part is still about 25 times the independent one. The figures are for the sensors alone and for undetected failures only.
Testing more often reduces the common part in proportion, as long as the test reaches both channels, but it cannot make the product hold again. The independent part shrinks with the square of the interval, faster than the common part, so a shorter interval leaves the common part a larger share. At a six-month interval and a β of 10 %, the common part of the stand-in pair is about 600 times the independent part.
A proof test that reaches both channels is a shared item like any other. The same person, following the same procedure on the same day, can make the same mistake on both channels. A test that ends with one channel disabled, repeated on the other, then disables the pair. Chapter 11 showed such a test on a single switch, Buncefield's, whose test lever was left unsecured. The formula assumes that every test leaves each channel as good as new, and one error repeated on both channels breaks that assumption for both at once.
Diversity and separation close shared routes
Since β depends on the routes the channels share, the defenses work by closing routes. Diversity makes the channels different, so that a fault in one design, one make of part or one program is not also in the other. A protective sensor of another type or from another maker gives diversity, and so does a protective comparison built in hardware while the control runs in software. Separation keeps the channels apart, so that one place, one supply or one stress does not reach both: sensors mounted apart, separate power supplies, separate wiring. The lockstep cores of Chapter 12 run one program, so they have none of the diversity meant here, but they are separated on one chip, in time and in place. The checker runs two cycles behind the main core, a delay that the chip's maker, TI, calls temporal diversity, and the cores sit apart, each with its own wiring for clock and power. For the incubator, a comparison in hardware removes the shared software build, and a protective thermistor of another type removes the shared batch.
Some routes cannot be closed. Every channel must read the air around the infant, so the sensors can be mounted apart but not in different air. The shared set-temperature setting cannot be removed without giving up the step at 37 °C that Chapter 4 explained. Those routes stay in the design, and the calculation of the pair must count them. Neither diversity nor separation can close a route through one item that every channel depends on, since channels that read one sensor share its errors. Chapter 26 follows a flight-control function of this kind, the 737 MAX's MCAS, which acted on the reading of a single sensor.
Diversity guards against a fault in one design, not against a requirement that both designs follow. Ariane's specification told each unit to shut its processor down on any exception, and a unit of a different design built to the same specification would have carried the same rule. The Board's recommendation went to the requirement itself: no sensor should be allowed to stop sending its best estimate, as the two units could have gone on doing.
A checklist scores the defenses
IEC 61508-6:2010 gives a checklist for estimating β in its Annex D. Hauge and colleagues at SINTEF, a Norwegian research institute, describe the method in a 2015 report. In their account, about 40 questions, each answered yes or no, fall into eight groups: physical separation, diversity and redundancy, design maturity, analysis and feedback, procedures and the human interface, competence and safety culture, environmental control, and environmental testing. Each "yes" adds to a score, and the score sets β: between 0.5 % and 5 % for logic solvers, and between 1 % and 10 % for sensors and final elements.
The groups follow the routes of this chapter: where the channels sit, how alike they are, the environment they share, and the people and procedures that keep them. The score moves β slowly and in steps. The SINTEF group finds the method fairly insensitive, since several answers must improve before β falls by one step. Two thermistors of one type, in one air stream and one enclosure, would earn little in the groups on separation and diversity.
Field records put the share higher. In the same report, the SINTEF group estimated β from the failure records of Norwegian petroleum facilities and found more common cause failures in operation than is typically assumed. The work was funded by the Research Council of Norway and by industry participants. The group's suggested β for process transmitters is 15 %, against 6 % in the 2013 values it replaces, and for emergency and process shutdown valves β ranged from 5 % to 40 % between installations. These are oil and gas field devices, not an incubator's electronics, and a checklist scores a design, while field records count failures in service. At 15 %, the solved example's pair would be less than seven times better than one channel.
List every item that two channels share before taking credit for the second: the sensors' type, batch and place, the supply, the enclosure, the software build, any setting passed between them, and the test and the people who carry it out. Remove what diversity or separation can remove, and record why each remaining item stays. Score the design against IEC 61508-6 Annex D and carry the resulting β into the calculation of the pair. Where field records for the same kind of equipment show a higher share, use it or justify the lower value. Write the β and the measures it relies on into the safety requirements specification (Chapter 17). A change that removes a measure is then seen to change β.
- A common cause leaves two channels failed at the same time through something they share. Once such a cause has failed one channel and reached the other, the second has almost certainly failed too, and the product of two small chances no longer holds.
- Ariane 501's two inertial reference units ran the same software on the same flight, so the same unprotected conversion raised the same error in both, and the shutdown that their specification set for any exception stopped both within a fraction of a second.
- Because the independent part of a pair enters squared, even a small β dominates: at a β of 10 %, the stand-in sensor pair is about 10 times better than one channel instead of about 2,400.
- Diversity and separation close shared routes. The checklist of IEC 61508-6 Annex D scores them to a β of 1 % to 10 % for sensors, as SINTEF describes it, and SINTEF's estimates from the failure records of Norwegian petroleum facilities put the share higher.
Let's Talk