Introduction
In recent years, many functions in automobiles have been implemented through electronic control due to electrification and the widespread adoption of advanced driver-assistance systems (ADAS). Furthermore, numerous semiconductor components are used in these electronic controls. While these semiconductor components are designed to be of high quality, failure is not entirely impossible. Even a single component failure can lead to abnormal vehicle behavior.
Furthermore, as automobiles become more sophisticated, the number of electronic components they contain continues to increase, making preparation for failures more important than ever. For this reason, the concept of "functional safety (ISO 26262)," which ensures safety even when component failures occur, remains crucial in the automotive industry.
While many articles have been published explaining functional safety (ISO 26262), this article focuses on hardware metrics for quantitatively evaluating the achievement of functional safety. It also introduces FMEDA (Failure Modes, Effects and Diagnostic Analysis), used for evaluating hardware metrics, and the Renesas CAR Tool, which streamlines this analysis.
1. Functional safety (ISO 26262)
Functional safety is a standard that aims to manage the hazards caused by failures in electrical and electronic systems and reduce those risks to an acceptable level, i.e., to a safe state. Automobiles are equipped with many electronic systems, such as brakes, steering, electric powertrains, and ADAS (Advanced Driver Assistance Systems). Failures in these systems can have a significant impact on vehicle safety. ISO 26262 is an international standard for managing the risks caused by such electrical and electronic system malfunctions.
Functional safety, in fact, does not aim to completely eliminate failures. It operates on the premise that failures can never be completely eliminated, as they are always likely to occur. Therefore, it is a standard designed to detect failures, control and mitigate their impact, and transition to a safe state.
for example
- Detection and notification of malfunctions
- Controlling and mitigating the effects of failures
Transitioning to and maintaining a safe state
- Degraded operation and warnings to the driver
• Diagnosis to prevent potential malfunctions
This standard involves ensuring safety by combining various measures to detect and address malfunctions.
Safety is implemented starting at the vehicle level.
Functional safety development begins by defining the functions to be implemented in the vehicle and the items to be addressed (vehicle functions and systems), and then identifies hazardous events using HARA (Hazard Analysis and Risk Assessment). In HARA, the severity of the hazard, exposure to the hazardous situation, and ease of avoidance are evaluated to determine the ASIL (Automotive Safety Integrity Level), and safety objectives are set. Safety objectives are the highest-level requirements at the vehicle level, independent of specific technologies or components. From these, functional safety requirements and technical safety requirements are derived, and finally, hardware safety requirements and software safety requirements are concretized. ISO 26262 covers item definitions, HARA, safety objectives, and functional safety concepts in Part 3, system-level development in Part 4, hardware development in Part 5, and software development in Part 6.
As shown in the diagram above, functional safety starts at the vehicle level and is ultimately embodied in hardware and software safety requirements. So, how do we verify that the design meets these safety requirements?
ISO 26262 distinguishes between different approaches to evaluation and countermeasures depending on the type of failure. First, let's explain the failures covered in functional safety. Failures covered in ISO 26262 are broadly divided into two types: random hardware failures and systematic failures. Random hardware failures occur due to accidental component failures or aging, and can generally be quantitatively evaluated using failure rates. Systematic failures, on the other hand, are failures that occur in the same way under the same conditions due to errors in specifications, design, or implementation. These are difficult to evaluate with simple failure rates, so they are prevented through development processes, reviews, and verification.
2. Hardware Metrics
As discussed in the previous chapter, systematic failures are prevented through development processes, reviews, and verification activities, but random hardware failures require quantitative evaluation using failure rates. So, how do we verify that the hardware is designed to meet safety requirements?
ISO 26262 Part 5 states that evaluations using SPFM, LFM, and PMHF should be performed to quantitatively demonstrate safety designs against random hardware failures. Hardware metrics are a system for evaluating safety designs against random hardware failures using these SPFM, LFM, and PMHF indicators. Hardware metrics are not merely numbers for pass/fail judgments. They are also indicators for analyzing the impact of failures on safety objectives and the effectiveness of failure detection and control by safety mechanisms, thereby identifying design weaknesses and areas for improvement.
Furthermore, the higher the ASIL (Assessment Status Integrity), the stricter the requirements for fault detection and control become.
・SPFM(Single Point Fault Metric)
This evaluates how well the system handles single-point faults that violate safety objectives on their own, as well as residual faults that remain undetected by safety mechanisms.
・LFM(Latent Fault Metric)
We evaluate how we handle multiple point faults that remain undetected and latent.
・PMHF(Probabilistic Metric for random Hardware Failures)
This evaluates the probability, per unit of operating time, that safety objectives are compromised by random hardware failures.
Failure classification is determined in relation to safety objectives.
In evaluating hardware metrics, the first step is to identify the types of failures that can occur in each component and function, and then to organize how those failures affect safety objectives and whether they can be detected and controlled by safety mechanisms. It's crucial to understand that even for the same component and the same failure, the fault classification changes depending on the target safety objective, usage, and safety mechanisms. Therefore, it's important to avoid classifications such as "this component failure is always a single-point fault," "this component failure is always a multi-point fault," or "this is always a latent fault," etc.
It's important to make decisions in relation to safety objectives, rather than thinking in a fixed way.
Diagnostic coverage is important.
Furthermore, diagnostic coverage is essential for understanding hardware metrics. Diagnostic Coverage: DC Diagnostic coverage is an indicator that shows the proportion of target failures that can be detected or controlled by safety mechanisms. In other words, it is a numerical value that represents "how well the safety mechanisms cover failures."
In the initial design phase, estimates may be based on guidelines and past performance, but once the design is finalized, the rationale for these estimates is strengthened using failure mode allocation, analysis results, fault injection tests, and other methods. However, simply implementing high-coverage safety mechanisms is insufficient.
Which type of failure is being targeted?
How long does it take to detect?
What kind of control measures will be taken after detection?
Can it transition to a safe state appropriately?
The verification and evaluation must include all of the above.
3.FMEDA
Hardware metrics such as SPFM, LFM, and PMHF should not be calculated by simply summing up the failure rates of components. Instead, it is necessary to organize and correlate each failure, its impact, safety mechanisms, and diagnostic coverage. A representative method used for this analysis is FMEDA (Failure Modes, Effects, and Diagnostic Analysis).
Differences from FMEA
While "FMEA" is a commonly known method, FAME assumes possible failure modes for system components and analyzes the impact of those failures on higher-level components and the system from cause to effect. In contrast, FMEDA links failure modes and impacts from FMEA with failure rates, safety mechanisms, and diagnostic coverage. Therefore, it can quantitatively analyze not only "what happens when a failure occurs?" but also "to what extent can that failure be detected or controlled?"
In functional safety, FMEDA primarily deals with the following information:
• Components, hardware elements, and failure modes
- Distribution of failure rate and failure modes
Impact on safety objectives
• Safety mechanism for detecting and controlling malfunctions
• Diagnostic coverage and its rationale
- Fault classification and its contribution to SPFM, LFM, and PMHF
FMEA is about improvement, not calculation.
The important point here is that the purpose of FMEDA is "improvement," not "calculation." The value of FMEDA lies not only in calculating metrics, but also in analyzing the results to identify which failures pose a significant risk, whether safety mechanisms are insufficient, and which changes would be effective. For example, if SPFM falls short of the target, you can review your approach to single-point or residual faults. If LFM is insufficient, you can check whether there are latent failures in the safety mechanisms themselves and whether the diagnostic cycle is appropriate.
It is important to mature the safety design by repeatedly going through the "analysis → evaluation → improvement → re-evaluation" cycle at FMEDA.
Manual management of FMEDA's operations is difficult.
In recent years, MCUs and SoCs have seen an increase in the number of internal elements, failure modes, and safety mechanisms, leading to more complex analysis conditions. Furthermore, changes in the functions used or safety objectives necessitate updating fault classifications, diagnostic coverage, and metrics. Additionally, consistent management of differences before and after design changes, reasons for changes, multiple use cases, and reference materials is required. Managing this using only a standard spreadsheet (Excel) would result in significant effort being spent on issues such as classification errors, broken formulas and references, inconsistent diagnostic coverage, missed recalculations, and tracking of change history. Therefore, a tool that manages FMEDA as a repeatable analysis environment becomes crucial.
4. Renesas CAR Tool
Supporting these FMEDA tasks is Renesas'CAR Tool (Customizable Analysis Report Tool). The CAR Tool is a GUI-based tool for performing safety analyses compliant with ISO 26262. It utilizes a library of Renesas components to manage information such as failure rates, failure modes, safety mechanisms, and fault coverage. For complex devices like MCUs and SoCs, the ability to view analysis results hierarchically, from the top-level components down to individual elements, is particularly effective. It can handle not only a single safety objective but also multiple safety objectives and use cases, allowing for adjustment of analysis conditions to suit the target application.
What you can do with CAR Tool
Importing and sharing Renesas component libraries
- Setting of fault characteristics, failure impact, safety mechanisms, and fault coverage
- Automatic calculation of hardware architecture metrics such as SPFM and LFM.
- Calculation support for PMHF and safety objective breach assessment
- Support for multiple safety objectives, use cases, and application profiles
- Confirmation of results and contributing factors through hierarchical display
- Version control, change history, error information, and management of related documents
The value of CAR Tool lies in its ability to rapidly iterate through design improvement cycles.
The value of CAR Tool goes beyond simply automatically calculating metrics. It allows you to change FMEDA conditions and re-evaluate, identifying which elements and failure modes contribute significantly to the results, making it easier to compare improvement proposals. You can then consider adding safety mechanisms, changing diagnostic methods, or replacing components with those that have lower failure rates, and reflect their effects in the evaluation results. Furthermore, the ability to handle multiple safety objectives and use cases in the same environment, and to manage change history and supporting documentation, contributes to the explainability during reviews. This makes it easier to show not only the result of "meeting the target value," but also "what assumptions and safety mechanisms were based on, and why this result was obtained." CAR Tool is not a "metrics calculation tool," but a tool that supports the improvement of safety design through FMEDA. Please try CAR Tool from the Renesas website below.
[Other related pages]
Renesas Electronics Automotive SoC R-Car Family - Renesas -Macnica
Renesas Electronics Automotive MCU RL78/Fx Series - Renesas -Macnica
Renesas Electronics Automotive MCU RH850 Family - Renesas -Macnica