ISO meets AUTOSAR - First Lessons Learned Dr. Günther Heling

Similar documents
Software integration challenge multi-core experience from real world projects

AUTOSAR Method. Webinar

The Safe State: Design Patterns and Degradation Mechanisms for Fail- Operational Systems

Taking the Right Turn with Safe and Modular Solutions for the Automotive Industry

Handling Challenges of Multi-Core Technology in Automotive Software Engineering

Is This What the Future Will Look Like?

10 th AUTOSAR Open Conference

AUTOSAR Software Design with PREEvision

Software Architecture for Secure ECUs. Rudolf Grave EB TechDay-June 2015

Product Information Embedded Operating Systems

A Safe Basis. Safety Functions Status and Challenge V

Arccore AB 2017, all rights reserved. Accelerating innovation

Scalable and Flexible Software Platforms for High-Performance ECUs. Christoph Dietachmayr Sr. Engineering Manager, Elektrobit November 8, 2018

10 th AUTOSAR Open Conference

Safety and Security for Automotive using Microkernel Technology

Adaptive AUTOSAR Extending the Scope of AUTOSAR-based Embedded Software

10 th AUTOSAR Open Conference

Communication Patterns in Safety Critical Systems for ADAS & Autonomous Vehicles Thorsten Wilmer Tech AD Berlin, 5. March 2018

정형기법을활용한 AUTOSAR SWC 의구현확인및정적분석

TCL. ASIL Level. Software. Automotive ISO Tool-Qualification. Safety Manual. Software for Safety-Related Automotive Systems

Software architecture in ASPICE and Even-André Karlsson

Adaptive AUTOSAR: Infrastructure Software for Advanced Driver Assistance. Chris Thibeault June 7, 2016

10 th AUTOSAR Open Conference

Introducing a new temporal partitioning scheme to AUTOSAR OS

10 th AUTOSAR Open Conference

Guido Sandmann MathWorks GmbH. Michael Seibt Mentor Graphics GmbH ABSTRACT INTRODUCTION - WORKFLOW OVERVIEW

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

AUTOBEST: A microkernel-based system (not only) for automotive applications. Marc Bommert, Alexander Züpke, Robert Kaiser.

Agenda. > AUTOSAR Overview. AUTOSAR Solution. AUTOSAR on the way

Autonomous Driving From Fail-Safe to Fail-Operational Systems

AUTOSAR design flow. Yoon-Jin Kim Application Engineer. July mentor.com/automotive

Adaptive AUTOSAR Extending the Scope of AUTOSAR-based Embedded Software

Failure Diagnosis and Prognosis for Automotive Systems. Tom Fuhrman General Motors R&D IFIP Workshop June 25-27, 2010

A Multi-Core Basic Software as Key Enabler of Application Software Distribution

Isolation of Cores. Reduce costs of mixed-critical systems by using a divide-and-conquer startegy on core level

Current status and Future of AUTOSAR. Markus Bechter 7 th AUTOSAR Open Conference Oct. 22 nd -23 rd 2014, Detroit

Software Architecture. Definition of Software Architecture. The importance of software architecture. Contents of a good architectural model

Deriving safety requirements according to ISO for complex systems: How to avoid getting lost?

Adaptive AUTOSAR. Ready for Next Generation ECUs V

OFF-ROAD VEHICLE DIAGNOSTICS WITH AUTOSAR. Jigar Patel Namdeo Dhawle July 18, 2018

Designing a software framework for automated driving. Dr.-Ing. Sebastian Ohl, 2017 October 12 th

Using Fault Injection to Verify an AUTOSAR Application According to the ISO 26262

Model Based Development and Code Generation for Automotive Embedded Systems. April 26, 2017 Dr. Gergely Pintér, Dr. Máté Kovács thyssenkrupp Steering

AMDC 2017 Liviona Multi-Core in Automotive Powertrain and Next Steps Towards Parallelization

Virtualization of Heterogeneous Electronic Control Units Testing and Validating Car2X Communication

Smart Antennas and Hypervisor: Enabling Secure Convergence. July 5, 2017

AUTOSAR proofs to be THE automotive software platform for intelligent mobility

PREEvision at Porsche (Update 2018)

Introduction to Adaptive AUTOSAR. Dheeraj Sharma July 27, 2017

Simulink for AUTOSAR: Best Practices

Functional Safety Architectural Challenges for Autonomous Drive

Safe Multi-Display Cockpit Controller

Fault-Injection testing and code coverage measurement using Virtual Prototypes on the context of the ISO standard

How Microcontrollers help GPUs in Autonomous Drive

Experiences with CANoe-based Fault Injection for AUTOSAR

New ARMv8-R technology for real-time control in safetyrelated

Riccardo Mariani, Intel Fellow, IOTG SEG, Chief Functional Safety Technologist

Experiences with AUTOSAR compliant Autocode generation using TargetLink

Automotive Security: Challenges and Solutions

KSAR Support. for. ST s SPC5 32-bit Automotive MCUs

The AUTOSAR Timing Model --- Status and Challenges. Dr. Kai Richter Symtavision GmbH, Germany

AUTOSAR Overview and Classic Platform

MICROSAR. Product Information

AUTOSAR System and Software Design with PREEvision

CTFL -Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

SPC584C80C3, SPC58EC80C3

SPC5 MCAL overview. ZHANG Livia

Automated Driving Necessary Infrastructure Shift

Create, Embed, Empower. Crevavi Technologies Company profile

European Conference on Nanoelectronics and Embedded Systems for Electric Mobility

SIMPLIFYING THE CAR. Helix chassis. Helix chassis. Helix chassis WIND RIVER HELIX CHASSIS WIND RIVER HELIX DRIVE WIND RIVER HELIX CARSYNC

How Security Mechanisms Can Protect Cars Against Hackers. Christoph Dietachmayr, CIS Solution Manager EB USA Techday, Dec.

Safety Argument based on GSN for Automotive Control Systems. Yutaka Matsubara Nagoya University

Functionality assignment to partitioned multi-core architectures

Welcome Note. Dr. Thomas Scharnhorst, AUTOSAR Spokesperson 10 th AUTOSAR Open Conference 8 th Nov 2017, Mountain View, California

Interaction between AUTOSAR and non-autosar Systems on top of a Hypervisor

Automated Configuration of Time-Critical Multi-Configuration AUTOSAR Systems

STMicroelectronics Automotive MCU Technical Day 意法半导体汽车微控制器技术日 2017 年 ST 汽车 MCU 技术日 2017 年 6 月 6 日, 上海 2017 年 6 月 8 日, 深圳 2017 年 6 月 13 日, 北京

Solving functional safety challenges in Automotive with NOR Flash Memory

Functional Safety on Multicore Microcontrollers for Industrial Applications

Functional Safety on Multicore Microcontrollers for Industrial Applications. Thomas Barth (h-da) Prof. Dr.-Ing. Peter Fromm (h-da)

CAN FD - Flexible Tools for Flexible Data Rates

SystemDesk - EB tresos Studio - TargetLink Workflow Descriptions

Safety Driven Optimization Approach for Automotive Systems. Slim DHOUIBI, PhD Student, VALEO - LARIS

Dr. Andreas Both / Zhang Enqin Automotive Runtime Software

Multicore platform towards automotive safety challenges

Modeling and Assessment of Safety Critical Systems

Compliance Verification Process for Ethernet ECUs

Develop Vehicle Control Systems As CPS. For Next Generation Automobiles. Shige Wang GENERAL MOTORS GLOBAL RESEARCH & DEVELOPMENT

SW-C Description. AUTOSAR SW-C n SW-C 3. Virtual Functional Bus. Deployment tools ECU2 AUTOSAR SW-C 3 AUTOSAR SW-C 2 AUTOSAR SW-C 1 RTE

RTA-BSW v3.0.0 RTA-BSW Getting Started Guide Status: Release

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

Automotive Networks Are New Busses and Gateways the Answer or Just Another Challenge? ESWEEK Panel Oct. 3, 2007

Cyber security mechanisms for connected vehicles

STMicroelectronics Automotive MCU Technical Day

Click ISO to edit Master title style Update on development of the standard

Entwicklung zuverlässiger Software-Systeme, Stuttgart 30.Juni 2011

Developing AUTOSAR Compliant Embedded Software Senior Application Engineer Sang-Ho Yoon

Architecture concepts in Body Control Modules

Ethernet TSN as Enabling Technology for ADAS and Automated Driving Systems

Transcription:

ISO 26262 meets AUTOSAR - First Lessons Learned Dr. Günther Heling

Agenda 1. ISO 26262 and AUTOSAR Two Basic Contradictions Top-Down vs. Reuse Concentration vs. Distribution 2. Approach Mixed ASIL System 3. Lessons learned from Projects Slide: 2

Agenda 1. ISO 26262 and AUTOSAR Two Basic Contradictions Top-Down vs. Reuse Concentration vs. Distribution 2. Approach Mixed ASIL System 3. Lessons learned from Projects Slide: 3

ISO 26262 meets AUTOSAR 1 st Contradiction Top-down vs. Reuse ISO 26262 Guidelines to ensure safety Project related top-down approach AUTOSAR Standards to support SW reuse Reuse & configuration of building blocks Slide: 4

1 st Contradiction Top-down vs. Reuse Safety Elements out of Context (SEooC) acc. ISO 26262 solve the contradiction Vehicle Project SEooC Hazard analysis & risk assessment ASIL assignment Concrete use case is unknown! Safety concept Safety requirements Validate Safety Manual Assumptions on ASIL and safety requirements Development acc. ISO 26262 Process Development acc. ISO 26262 Process Integration Safety Case Consider Safety Case code partly generated! Slide: 5

2 nd Contradiction Concentration vs. Distribution Security! Safety! Safety! Connectivity Driver Assistance Electrification Distribution of functionality many components involved well supported by AUTOSAR but high effort acc. ISO 26262 1 single safety requirement enforces development acc. ISO 26262 process Slide: 6

2 nd Contradiction Concentration vs. Distribution Functional Safety Concept should be based on few networks and ECUs only 1. Link safety sensors to a safety ECUs instead of the nearest ECU 2. Avoid small portions of safety related software on one ECU 3. Link safety related actuators to a safety ECU (not efficient: one safety tell-tale in an Instrument Cluster) That might lead to extra costs in cabling and/or busload A system design tool like PREEvision can support to find the optimal solution Slide: 7

System and Component Design with PREEvision Lane Departure Warning ASIL Qualification ASIL Function Sensor ECU ECU with ASIL mismatch Slide: 8

Agenda 1. ISO 26262 and AUTOSAR Two Basic Contradictions Top-Down vs. Reuse Concentration vs. Distribution 2. Approach Mixed ASIL System 3. Lessons learned from Projects Slide: 9

Development of Mixed ASIL Software acc. ISO 26262 Options: a) ASIL Lift-up QM ASIL b) Coexistence Modules of different ASIL exist in one ECU 1. Develop software components according their individual ASIL 2. Ensure Freedom from Interference between software components with different ASIL provide a Safe Environment for safety modules Slide: 10

Safe Environment enabling Coexistence higher ASIL SWC1 Safe Environment COM Application specific algorithms Basic functions RTE SWCn CANDRV your job our job depending on your requirements Providing a Safe Environment Watchdog E2E Protection MPU handling RAM/ROM Test Silence Check Core Test Threat: Propagation of failures a. across defined interfaces b. across undefined interfaces cannot cover all HW failures ASIL compliant HW needed (ECC, Lockstep for higher ASIL) QM (or lower ASIL) SW HW Slide: 11

Agenda 1. ISO 26262 and AUTOSAR Two Basic Contradictions Top-Down vs. Reuse Concentration vs. Distribution 2. Approach Mixed ASIL System 3. Lessons learned from Projects Memory Protection Timing Protection Communication Protection Slide: 12

Base of Experience and General Lessons Learned MICROSAR Safe used in >150 projects SafeContext SafeWatchdog SafeCom SafeRTE SilentBSW SafeBSW 80% ASIL-A/B 20% ASIL-C/D Broad range of concepts different ECU types different Tier1s 1. Safety is not an Add-on Big impact on architecture Legacy solutions sometimes hinder Consider Functional and Technical Safety Concept very early! Slide: 13

Applying Memory Partitioning (MPU) - General Precondition: Controller with MPU + OS SC3 or SC4 Context switches have big impact on runtime overhead ball park figures: SC1: 100% SC3: 180% Safe SC3: 200% Capability of MPUs is different between different Controllers e.g. number of memory regions per partition, software extension possible but costs runtime Define partitions and mapping of runnables early and carefully Have a close look at C performance MemMap has to be maintained for all components Including MCAL and CDDs Check MPU configuration during startup To ensure that the defined configuration is active Access control to HW register partly need special algorithms Registers not accessible in some modes Slide: 14

Applying Memory Partitioning (MPU) - Communication Assumption: Communication BSW does not comply with highest ASIL For intra ECU communication context switches should be avoided Try to use sender/receiver communication For inter ECU communication number of context switches should be minimized Collect data in a proxy data space if delay is acceptable Alternatives: SilentBSW or SafeBSW avoid context switches Slide: 15

Applying Watchdog First thing to decide: internal or external watchdog Watchdog handling has quite an effect on runtime Define and implement checkpoints early Activate the watchdog early in the project Start and stop of the system need special attention > e.g. blocking of interrupts can be critical > e.g. early shutdown of OS can be critical Design and test stop/shutdown early Don t set watchdog too sensitive Handling of window watchdog needs special consideration Fast reaction on window-open trigger needed Slide: 16

Applying E2E Protection Synchronization of application to communication is hard to realize Make sure the receiver is tolerant regarding single inconsistencies of the message counter If tolerance is not acceptable: System design based on ECU wide synchronization with communication is needed Slide: 17

Lessons Learned ISO 26262 and AUTOSAR go together well when considering safety very early 1 Safety Elements out of Context support reuse 2 Concentration of safety related elements reduces effort 3 Coexistence concept supports Mixed ASIL systems 4 Take benefit from experiences made Slide: 18

Thank you for your attention! Dr. Günther Heling