Software Architecture Analyses: Electric Power Steering EPS
https://www.researchgate.net/figure/Steer-by-wire-model_fig1_318595731

Software Architecture Analyses: Electric Power Steering EPS


September 12nd, 2021, Issue no.30, ISO 26262-6:2018, Development on Software Level

This series is dedicated to the absolute automotive functional safety beginners, system engineers or software engineers or anyone who wants to know about automotive functional safety ISO 26262 standard from ZERO. Disclaimer, this series and only expresses the author view to the ISO 26262 and not to the view of any company, institution or organization.


Electric Power Steering

In this article, we will explain how can we approach a safety analyses for the software architecture. Assume we have Electric Power Steering (EPS) system:

EPS has two angle sensors; the reason for multiple sensors is redundancy, accuracy and diagnostics. Multiple sensors are required since the steering angle is critical for the stability control system, and any discrepancy could mean the difference between making it around a corner or hitting another vehicle.

No alt text provided for this image

From this system architecture, the technical safety concept will be developed then software safety requirements will be created to make software architecture afterwards. We need to reach the SAD as early as possible since it is iterative process due to the conducted safety analyses that we will do. Now we have the following sub set of requirements:

TSR01_EPS: EPS shall receive vehicle speed from engine ECU in SPEED_RANGE and steering wheel angle in ANGLE_RANGE from steering angle sensor.

SSRS01_Steering: Safety monitor shall implement a range check for steering angle between 0 and 720 degree and if out of range go to safe state LIMP_HOME ---> ASIL-D

SSRS02_Steering: Safety monitor shall implement a range check for steering angle between 0 and 360 degree if vehicle_speed > 50kmh and if out of range go to safe state LIMP_HOME ---> ASIL-D

No alt text provided for this image

So from TSR01 we create the corresponding SSRS01 and from SSRS01 we create the software architecture to realize this requirements, this architecture might include multiple design requirement for this SSRS01. As the above figure, we create:

  1. Static & dynamic architecture
  2. requirements allocation: the sub-level components
  3. safety mechanisms, if applicable
  4. SW partitioning, if applicable

So from SW partitioning, we understand that we need to isolate the ASIL software component from non-safety related component. Then, we will create additional requirements from that on software architecture level.

By analyzing the software architecture by FTA or FMEA, we will be able to detect the weakness of the architecture and improve it. Also, we will figure out that there are safety SRS are missing, so we will add them. That being said, this iteration is mandatory to cover all missing safety SRS which might not be captured from converting TSRs of the system to SSRS.

void EPS_Control_System( struct* steering_sensor, uint32 vehicle_speed)
{
?
?status= Range_check(steering_sensor->angle); //if status =0x0A so it is in   range
?status_speed= Range_check(speed);? ? ? ? ? ? //if status_speed =0x0F so it is in range
?status |= (4 <<status_speed);
??
? if(status==0xFA)
? {
? ?Process_EPS_Ctrl( steering_sensor->angle, vehicle_speed);
? }
? else
? {
? ?LOG_DTC(0xEF0D);
? ?SET_ERR(ASIL_ERR);
? }


}        

Therefore, we have implemented safety SRS for the range check of both EPS steering angle (SSRS01) and vehicle speed range (SSRS02).

Dependent Failure Analyses

After we have added the Safety SRSs, now we have software architecture in which we believe it is robust. But we have to make another analyses to verify there is no interference between TSR01_EPS ( the monitored requirement) and the range check of speed and angle SSR01& SSR02 ( the monitoring requirement). That being said, the monitored function(TSR01) won't corrupt the monitor functions (SSR01&SSR02).

Although the dependent failure analyses is performed in another level; we will analyze our software architecture against:

Coexistence: if the software component is compose of safety related and non-safety related sub component elements

Decomposition: if software component is ASIL-D and we want to decompose it into two ASIL-B(D) into the downstream sub components

That being said, we want to analyze if FFI is achieved or not in terms of:

  1. Spatial ( memory);
  2. Temporal(timing);
  3. Communication

In the next article we will talk about dependent failure analyses for software architecture: common cause & cascading failures


References




Sandeep Kumar Bomthapalli

Automotive Systems Functional Safety Architect @ NXP Semiconductors | Automotive Functional Safety Professional

3 年

Thank you so much on sharing this article. Very well explained on the system level. Usually with the software subsystem, there is always decomposition techniques.

Simon P P Whiteley

A #SystemSafetyEngineer who helps individuals and organisations explore, pioneer & get fantastic results using the little known #STAMP-based #Safety assessment approaches: #CAST Accident Analysis & #STPA Hazard Analysis

3 年

Interesting post, thank you for posting. may I suggest supplementing with?#STPA, it would generate requirements in addition to those methods mentioned, including “dangerous successes”, I.e system behaved as designed but that resulted in a negative outcome.

Hassan Higazy

Safety in mobility

3 年

Pinion angle sensor is used to detect the front wheel angle and based on the error between pinion angle and the driver steering reference angle, a control signal is used to control the front wheel steering motor to closely steer the front wheels according to the driver steering angle " the reference".

回复
Steven BANFOUI

Product Safety Engineer

3 年

Thanks for sharing AbdelRahman Hassan

要查看或添加评论,请登录

Hassan Higazy的更多文章

  • Good Enough Safety Analysis

    Good Enough Safety Analysis

    May 9th, 2024, Issue no.40, ISO 26262 This series is dedicated to automotive functional safety beginners, managers…

    3 条评论
  • Freedom from temporal interference

    Freedom from temporal interference

    Sep 16th, 2023, Issue no.39, ISO 26262 This series is dedicated to automotive functional safety beginners, managers…

    9 条评论
  • Model-based development and functional safety

    Model-based development and functional safety

    July 23rd, 2023, Issue no.38, ISO 26262 This series is dedicated to automotive functional safety beginners, managers…

    8 条评论
  • Freedom From Interference: Watchdog Manager Safety Mechanism (II)

    Freedom From Interference: Watchdog Manager Safety Mechanism (II)

    April 29th, 2023, Issue no.37, ISO 26262 This series is dedicated to automotive functional safety beginners, system…

    5 条评论
  • Freedom From Interference: Watchdog Manager Safety Mechanism (I)

    Freedom From Interference: Watchdog Manager Safety Mechanism (I)

    Jan 29th, 2023, Issue no.36, ISO 26262 This series is dedicated to automotive functional safety beginners, system…

    5 条评论
  • A proven in-use: the FuSa dark corner

    A proven in-use: the FuSa dark corner

    October 10th, 2022, Issue no.35, ISO 26262 This series is dedicated to automotive functional safety beginners, system…

    6 条评论
  • Pay much less by ASIL Tailoring

    Pay much less by ASIL Tailoring

    May 8th, 2022, Issue no.33, ISO 26262 This series is dedicated to the absolute automotive functional safety beginners…

    12 条评论
  • E-Gas 3 Level Monitoring Concept

    E-Gas 3 Level Monitoring Concept

    March 20th, 2022, Issue no.32, ISO 26262 This series is dedicated to the absolute automotive functional safety…

    17 条评论
  • Steering SW Architecture Under Analyses

    Steering SW Architecture Under Analyses

    Jan 15th, 2022, Issue no.31, ISO 26262-6:2018, Development on Software Level This series is dedicated to the absolute…

    2 条评论
  • Freedom From Interference: exchange of information

    Freedom From Interference: exchange of information

    August 1st, 2021, Issue no.29, ISO 26262-6:2018, Development on Software Level This series is dedicated to the absolute…

    2 条评论

社区洞察

其他会员也浏览了