The Functional Safety Mirror
Oct 12nd, 2019, Issue no.8, ISO 26262-3, Functional Safety Concept 3/5
This series is dedicated for the absolute functional safety beginners, system engineers or software engineers or anyone wants to know about automotive functional safety ISO 26262 standard from ZERO
Introduction
This article illustrates the functional safety requirements at clause 7 and demonstrates some examples of functional safety mechanisms. Before going to the ISO 26262-3 specs of the functional safety requirements, we need to know what is the safety mechanism ?
1) It is technical solution to detect/ avoid/ control failures or mitigate their harmful effects
2) Implemented by an E/E function or element or in other technology
3) The safety mechanism is able maintain item in a safe state or alert the driver to control the effect of the failure
The following example demonstrates an implementation of a safety mechanism using
E/E function: sense, logic and actuate
Figure 1. Safety Mechanism for Vehicle Headlamp
If the vehicle headlamp failed at night, the driver will notice. Yet, if the headlamp is ON by Error at the daytime, the driver will not notice so the red warning light will be ON to warn the driver to limit the exposure time of the Hazard exposure (E) as conducted at HARA. By implementing this safety mechanism on the function level, we will save battery consumption.
On the other hand, when we want to warn the driver at night if the failure mode of the headlamp is OFF by Error, we will change the logic to be NAND and hence the red warning will be active upon the failure of any of ( headlamp, switch, harness or battery). That being said, the logic AND is controller to be adapted according the driving time. Now, it's time to revisit the functional safety requirements.
Functional Safety Requirements Revisit
Before commenting on possible functional safety strategies, we need to make two terms clear:
The first means if the failure occurred you have to disable the functionality or degrade it(continuous operation with partial functionality) to mitigate the hazard
While the fail-operational is to maintain the availability of the function by supporting the functionality with redundancy; that being said, both of fail-safe and fail-operational are sort of safe-state.
Fail-Safe ---> Degraded Mode ---> Fail-Operational
The functional safety requirements shall specify strategies for the?nine points,?if applicable:
1.fault avoidance
2. faults detection
3. transition to a safe state, and if applicable, from a safe state
4. fault tolerance
5. driver warnings to reduce risk exposure (E) time to an acceptable duration
6. driver warnings to increase controllability ( go to lower C)by the driver
7. the degradation of the functionality in the presence of a fault and its interaction with 5) or 6)
8. define fault handling time to meet Fault Tolerant Time Interval (FTTI)
9. avoidance/ mitigation of a hazardous event due to improper arbitration of multiple control request generated simultaneously by different functions.
a) Braking Systems block(ESC,ABS),
b) Lane Keep Assist (LKA) function block
c) Human Driver
Figure 3: SbW System Architecture
领英推荐
According to the nine functional safety strategies you shall generate FSR for each strategy on the functional level. Furthermore, each functional safety requirement shall be specified by considering the following?five constraints, as applicable:
1.operating modes;
2. fault tolerant time interval;
3. safe states;
4. emergency operation time interval; and
5. functional redundancies (e.g. fault tolerance).
We can add to the nine strategies, a strategy to ensure that the system elements are functioning correctly all the time. Finally, how should the functional safety concept looks like?
Functional Safety Concept
The function safety concept document shall include:
Use Case:
SG01: The EPS system shall prevent unintended self-steering in any direction under all
vehicle operating conditions (ASIL-D)
Unintended self-steering is defined as any steering that was not initiated by the driver
or other vehicle systems (which are assumed to be operating correctly) due to failures
that lead to:
a) Unintended initiation of steering
b) Electrical steering stuck at a non-zero torque output
c) Steering in the wrong direction
Note that, we set the safety goal and described it in an appropriate manner after that we will add functional safety strategies which expressed in requirements. But, how should the functional safety requirement that formulate certain strategy looks like?
model: < one of the 9 strategies> + < one of the 5 constrains, if applicable>
example: <detection strategy> + <FTTI + safe state>
<The EPS system shall perform Power On self-test and periodic tests to ensure the safety related signals are correct>+< and if there is a fault, the system shall go to safe state #2(All steering-assist shall be disabled within 2 secs)
FSR1: The EPS system shall perform Power On self-test and periodic tests to ensure the safety related signals are correct and if there is a fault, the system shall go to safe state #1 within 2 secs.
Safe State 1: All steering-assist shall be disabled
FTTI : 2 secs
The functional safety concept can be supported with safety analysis on the preliminary system architecture using Concept FMEA or FTA. That being said, you will determine the potential hazards at the function level and then you shall provide safety strategies to prevent/mitigate these hazards. Having said, there will be bunch of functional safety requirements are not directly derived from the safety goal but derived from the strategies that mitigate CFMEA/ FTA hazards output, see figure 2:
Figure 2. Functional Safety Concept Process
Thus, the safety concept is the strategies for ( safety goal, Concept FTA/ FMEA) then you write down atomic requirements to construct these strategies on the functional level. Note that, the functional safety strategies that shall cover the CFMEA or concept FTA hazards, will be general functional safety requirement and not hooked to a certain safety goal.
In addition, Functional safety requirement shall be at logical level. That being said, can be allocated to different HW architecture without detailed technicality. That being said, your concept will be valid for: supplier X, supplier Y and supplier Z.
Conclusion
What have we done so far?
We have revisited the functional safety specification that provide safety strategies to convert the ASIL hazards of the the corresponding safety goal into QM. What about the safety mechanisms that can be used?
We will answer this question in the next article through the error handling mechanisms in the AUTOSAR standard which can be used at both Functional Safety Concept & Technical Safety Concept.
Stay tuned!
References:
Senior Embedded Software Engineer @ Aptiv | Embedded Systems
2 年Hi AbdelRahman Hassan, how can I get the correct order of your articles. I am just starting in the functional safety journey and I am reading your articles but I want to ensure that I am reading them in the correct order.
Program Manager | Leading AUTOSAR BSW Solutions for Powertrain, Electrified Mobility | Mastering the Complete Project Management Lifecycle. An expert in anything is once a beginner , So keep Learning !
4 年Hi Can you please let know where can i refer with respect iso26262 - 6
System Safety Architect at Volvo Cars
5 年Hello Hassan First of all it’s a very good article and thank you for that. I have a query for you. How would you differentiate the safe states among safety goals, FSR and TSR? Safe state should be at the item level or vehicle level. And it is relatively easy at the Safety goals level. How would you classify safe states at the FSR and TSR level? Can we really call it as safe state by the way at FSR and TSR level even though the standard do so?
Making electric cars safe| Enabling eco-friendly world via marketplace | Sustainable Event Curator
5 年Great Article with insightful examples. Are you planning to cover Safety Architecture and HSI in your later articles? It would be great to see your perspective and examples on those as well!
SOTIF & ISO 26262 Specialist
5 年Good analysis example