A function the driver also controls.
+ The questionHow is an integrity level set for a function a driver can override, and what about hazards with no fault at all?
Three classes in place of a frequency
ISO 26262 grades a hazard by three classes, each given as a number: how bad its harm would be, how often the car is in the situation where the hazard can occur, and how controllable the hazard would be. In an ordinary car the driver holds the controls throughout. A malfunction need not end in harm if the driver can still correct it by braking, steering or lifting a foot. Controllability, the third class, grades whether the harm could still be avoided once the malfunction shows, so the driver's ability to take over enters the grade itself.
Severity runs from S0, no injuries, to S3, fatal injuries. Exposure runs from E0, almost never, to E4, very frequently. Exposure grades the driving situation in which the hazard could arise, not the fault that would cause it. Controllability runs from C0, controllable in general, to C3, difficult or impossible to control. Together the three classes set an automotive safety integrity level, or ASIL, from ASIL A, the least demanding, to ASIL D.
Chapter 8 set a SIL by dividing the frequency of the consequence that the other layers leave by the frequency that can be tolerated. The grade for a car comes from classes instead, and the third class has no counterpart among the frequencies of a LOPA. In a plant the safety function acts on its own. An operator who answers an alarm is credited as a separate layer, and earns at most a factor of 10 (Chapter 9).
The three classes give the ASIL through a table, which can be read as a sum of their numbers. With all three classes above zero, a sum of 10 gives ASIL D, 9 gives ASIL C, 8 gives ASIL B and 7 gives ASIL A. A sum of 6 or less, or any class at zero, gives QM, the grade below ASIL A, for which no ASIL is set. Each class made one step worse therefore raises the level by one letter, as in the calibrated risk graph of Chapter 8. The table laid out from the sum shows that only the worst class in all three reaches ASIL D.
The letter then grades the rest of the work on the function. The methods asked of the function's software rise with the ASIL. So does the independence of the people who confirm that the work was done as the standard requires, the assessor among them (Chapters 16 and 19). A hazard graded QM carries none of these graded requirements, and one graded ASIL D carries the strictest of each. The letter is fixed before any part is chosen, so an error in one class carries through every phase that the letter grades.
A reference process built on the V
ISO 26262 can be laid on the V of Chapter 19 as it stands, because the standard's reference process is built on a V, and the overview of the series in Part 1 draws the process steps along one. In the book's V, the analysis that sets the ASIL stands at the top of the left arm. The safety requirements descend from the function as a whole to its hardware and its software. The hardware is judged by the metrics of Part 5, which this chapter comes to later. Part 6 develops the software on a V of its own, the software V of Chapter 16. Each level's checks rise on the right arm opposite. Over the whole V stand the confirmation measures of Part 2: the reviews, audit and assessment whose independence rises with the ASIL.
Part 8 turns the trace of Chapter 17 into a rule applied one level at a time. Each safety requirement must be traceable to its source at the next level up, to each requirement derived from it at the next level down or to its realization in the design, and to its verification specification. A requirement on one unit of software therefore leads back, link by link, to the analysis at the top of the left arm, and across to the check on the right arm that answers to it.
The book places ISO 21448 beside this V, not on it, because the hazards with no fault that close this chapter lie in what a function was asked to do, and what is missing from a specification passes every check that answers to it (Chapter 19).
- Controllability brings the driver into the grade, so one harm in one driving situation runs from QM to ASIL B as the driver's ability to take over falls.
- A function is graded in every driving situation in which it can fail, and the worst of them sets its ASIL.
- Confirmation measures stand over the whole V: reviews, audit and assessment whose independence the ASIL grades.
- ISO 26262's scope is limited to hazards caused by malfunctioning behavior of the electrical and electronic systems in series production road vehicles, mopeds excluded.
The driver's share of the grade
The grade belongs to a hazard in one driving situation, so a function is graded in every situation in which it can fail, and the worst of them sets its ASIL. Van Eikema Hommes, of the Volpe National Transportation Systems Center, worked such a case in a 2016 report for NHTSA, the US road safety regulator. The report assesses the safety standards for electronic control systems in cars. In the worked case, adaptive cruise control, which holds a set speed and a distance behind the car ahead, becomes unavailable on a curved highway exit ramp. The report rates the hazard S3 and E2, and its controllability C0 or C1 for the "unavailability of a driver assisting system", which gives QM.
The classes are S3 for severity and E2 for exposure, with C0 or C1 for controllability. At C0 one class is zero, so the hazard is QM whatever the other two are. At C1 the sum is 3 + 2 + 1 = 6, one short of the 7 that ASIL A needs, so the hazard is again QM, as in NHTSA's report. With severity and exposure held fixed, controllability alone moves the result. At C2 the sum is 7 and the level ASIL A, and at C3, difficult or impossible to control, the sum is 8 and the level ASIL B. For the same harm in the same situation, the driver's ability to take over spans the range from no ASIL to ASIL B.
Controllability also marks where the driver stops helping. A function that fails by dropping out hands the car back to a driver who is already driving it. A function that fails by acting does something the driver did not ask for, and the driver must first notice the act and then oppose it, inside the time the situation allows. Such a failure is harder to control, because the driver can respond only after it has begun, so it takes a worse controllability class. The failure that matters in a throttle pedal is of this kind.
Two tracks for one pedal
An electronic throttle pedal pulls no cable to the engine. Like the incubator, the pedal of this chapter is generic. It moves a sensor whose signal the engine controller reads as the torque the driver wants, so a sensor that fails toward full travel asks for torque the driver never requested, a dangerous failure in Chapter 2's sense. The pedal therefore moves two sensing tracks, each wired separately to the controller. The controller checks the two tracks against each other, the cross-check of Chapter 12. When they differ by more than two healthy tracks would, the controller treats the pedal as released, so the car slows instead of speeding up and the driver can still brake.
Under ISO 26262 a redundant pair may share out the level of the requirement it meets. ASIL decomposition splits a requirement between two or more elements that are each redundant with respect to it and sufficiently independent of each other, and each element then carries a lower ASIL. The split rests on redundancy. Each element can meet the requirement alone, so the requirement is lost only if both fail, and each can then be built to a lower level. That holds only while each element fails for its own reasons.
In the schemes of ISO 26262-9, the letter in brackets records the ASIL of the requirement before the split. A requirement at ASIL D may be met by elements at ASIL C(D) and ASIL A(D), or at ASIL B(D) and ASIL B(D). A requirement at ASIL C may be met by B(C) and A(C), and one at ASIL B by A(B) and A(B). Any level may also be split into the same level and QM.
A cause that fails both elements turns the pair back into a single element. Such a cause is the common cause of Chapter 14. In the pedal such causes sit close together: one supply feeding both tracks, one connector carrying both signals, one arm and spring moving both. Sufficient independence is the condition that keeps such causes out. IEC 61508's hardware fault tolerance credits a redundant pair on the same condition (Chapter 13).
The scheme lowers the level of each element, never of the requirement. The ASIL D requirement is met only by the pair, with each track able to meet it alone, and only while the two stay sufficiently independent. A later change can give both tracks one supply, or let one track's reading enter the other's check. Such a change leaves two ASIL B elements and an ASIL D requirement that neither meets, although every element still carries its letter. The letter in brackets keeps the level that the pair must meet visible on every requirement derived by the split.
Faults that act at once and faults that wait
Decomposition fixes the architecture, and three hardware metrics then judge the hardware that carries it. The single-point fault metric, or SPFM, concerns faults that act on the function at once. It is a percentage: the closer it comes to 100 %, the smaller the share of the hardware's failure rate made up of such faults with nothing to detect them or turn them safe. The SPFM is a share of the same kind as the safe failure fraction of Chapter 12. In the pedal, the cross-check covers a track that fails toward full travel, while a fault in the connector that both tracks share could act at once with nothing to catch it.
Other faults violate nothing alone and wait for a second fault. A failed cross-check is one. The tracks still agree and the pedal still works, and nothing shows until a track fails toward full travel and the check that should have caught it does not. The latent fault metric, or LFM, concerns faults of this kind, which stay unnoticed until another fault lets them act. The LFM is also a percentage, and the higher it is, the fewer such faults stay hidden. A latent fault is the hidden failure of Chapter 11 in another setting, and the remedy is the same: a test that finds the fault before the second fault arrives, such as a check of the cross-check each time the controller starts.
The third metric is the probabilistic metric for random hardware failures, or PMHF. It is a rate per hour, as the PFH of Chapter 8's high-demand mode is. The pedal is read at every moment the car is driven, so a fault in the pedal acts as soon as the fault occurs instead of waiting for a demand, the continuous mode that Chapter 8 judges by a rate per hour. The targets of all three metrics grow stricter toward ASIL D, as Texas Instruments, a chip maker, tabulates them from ISO 26262-5:
| Target | ASIL B | ASIL C | ASIL D |
|---|---|---|---|
| SPFM, at least | 90 % | 97 % | 99 % |
| LFM, at least | 60 % | 80 % | 90 % |
| PMHF, at most | 100 FIT | 100 FIT | 10 FIT |
From ASIL C to ASIL D the SPFM target moves from 97 % to 99 %, which cuts the share of the failure rate left uncovered from 3 % to 1 %. Over the same step the PMHF target falls tenfold, to 10 FIT, one failure in 100 million hours (Chapter 10).
Hazards with no fault
Everything so far begins with a malfunction. The hazards within ISO 26262's scope are those caused by malfunctioning behavior of the electrical and electronic systems in series production road vehicles, mopeds excluded. A function that must perceive the road can cause harm with nothing malfunctioning. An emergency braking function acts on what its sensors report and on how its software reads the scene. In a situation that its sensing and its reading were not designed for, the function can brake when nothing is there, or fail to brake, while every part works and every line of code does what its specification says.
Such a failure behaves as the systematic failures of Chapter 3 do, since the same situation reproduces it every time, but the failure lies in what the function was asked to do, not in a fault made while building the function. Part III's measures, failure rates, diagnostics and redundancy, act on parts that fail, and here nothing has failed. A second sensor of the same design shares the same insufficiency, and a shared insufficiency is a common cause by Chapter 14's definition. Duplicating the sensor therefore does nothing against that insufficiency. What reduces such a hazard is a fuller account of the situations the function will meet and of what it must perceive in each, because only a situation can reveal the insufficiency.
These hazards are the subject of ISO 21448, under the name safety of the intended functionality, or SOTIF. In ISO's summary, SOTIF is the absence of unreasonable risk due to hazards that result from functional insufficiencies, and the summary gives the scope as "intended functionalities where proper situational awareness is essential to safety", emergency intervention systems and driving automation at levels 1 to 5 among them. The faults that ISO 26262 covers fall outside that scope, and so do threats to cybersecurity and well-established systems such as stability control and airbags. A car's hazards are thus divided by cause, faults to ISO 26262 and insufficiencies to ISO 21448, so an emergency braking function falls under both, and the pedal, which needs no awareness of the road, under ISO 26262 alone.
ISO 21448 is in force in its first edition, of 2022, and ISO 26262 in its second, of 2018. How a regulator relies on either standard is a matter of law: Chapter 29 takes up NHTSA's approach in the United States, and Chapter 30 the Bureau of Indian Standards' adoption of Part 12 of ISO 26262, for motorcycles.
Grade every hazard in each driving situation in which it can arise, record the S, E and C classes with the reason for each, and take the worst result as the ASIL. Where a requirement is decomposed, carry the original level in brackets on every derived requirement, and show the independence of the elements: separate supplies, connectors and wiring, and freedom from interference wherever their software shares a processor with software of a lower ASIL (Chapter 16). Compute the SPFM, LFM and PMHF from the hardware's failure analysis (Chapter 18). Credit a safety mechanism only with the faults it detects, and give every latent fault a test that finds it. For a function that perceives the road, list the situations it must handle and verify it against them as well as against faults.
- ISO 26262 sets an ASIL from the classes of severity, exposure and controllability, and its table can be read as the sum of their numbers: 10 gives ASIL D, 7 gives ASIL A, and 6 or less, or any class at zero, gives QM.
- Controllability brings the driver's ability to take over into the grade: the cruise control lost on an exit ramp in NHTSA's report is QM at C1 and would be ASIL B at C3.
- Decomposition lets two or more redundant, sufficiently independent elements meet one requirement at lower levels, such as two tracks at ASIL B(D) for ASIL D. The SPFM, LFM and PMHF judge the hardware against targets that grow stricter toward ASIL D.
- ISO 21448 covers hazards with no fault, which arise from the insufficiencies of a function that works as designed. A second sensor of the same design shares such an insufficiency and does not reduce it.
Let's Talk