Using Model-Based Design in conformance with safety standards

Similar documents
Standardkonforme Absicherung mit Model-Based Design

Production Code Generation and Verification for Industry Standards Sang-Ho Yoon Senior Application Engineer

Model-Based Design for High Integrity Software Development Mike Anthony Senior Application Engineer The MathWorks, Inc.

Verification and Validation of High-Integrity Systems

Simulink 모델과 C/C++ 코드에대한매스웍스의정형검증툴소개 The MathWorks, Inc. 1

Automating Best Practices to Improve Design Quality

Verification and Validation of Models for Embedded Software Development Prashant Hegde MathWorks India Pvt. Ltd.

Model-Based Design for Safety Critical Automotive Applications

Implementation and Verification Daniel MARTINS Application Engineer MathWorks

A Model-Based Reference Workflow for the Development of Safety-Related Software

Model-Based Design for Safety-Critical and Mission-Critical Applications Bill Potter Technical Marketing April 17, 2008

Automating Best Practices to Improve Design Quality

Automatización de Métodos y Procesos para Mejorar la Calidad del Diseño

Intro to Proving Absence of Errors in C/C++ Code

Report. Certificate Z

Simulink 를이용한 효율적인레거시코드 검증방안

From Design to Production

Increasing Design Confidence Model and Code Verification

Guidelines for deployment of MathWorks R2010a toolset within a DO-178B-compliant process

Increasing Embedded Software Confidence Model and Code Verification. Daniel Martins Application Engineer MathWorks

Generating Industry Standards Production C Code Using Embedded Coder

Leveraging Formal Methods Based Software Verification to Prove Code Quality & Achieve MISRA compliance

Verification and Test with Model-Based Design

automatisiertensoftwaretests

Testing, Validating, and Verifying with Model-Based Design Phil Rottier

Leveraging Formal Methods for Verifying Models and Embedded Code Prashant Mathapati Application Engineering Group

2015 The MathWorks, Inc. 1

Oscar Slotosch, Validas AG. Proposal for a Roadmap towards Development of Qualifyable Eclipse Tools

WHITE PAPER. 10 Reasons to Use Static Analysis for Embedded Software Development

Tool Safety Manual for Testwell CTC++

IBM Rational Rhapsody. IBM Rational Rhapsody Kit for ISO 26262, IEC 61508, IEC and EN Overview. Version 1.9

What s New with the MATLAB and Simulink Product Families. Marta Wilczkowiak & Coorous Mohtadi Application Engineering Group

Oscar Slotosch, Validas AG. Testing for Tool Qualification of Eclipse Tools

Compiler in sicherheitsrelevanten Projekten Was bedeutet das für die Testumgebung?

Utilisation des Méthodes Formelles Sur le code et sur les modèles

IBM Rational Rhapsody

Final Presentation AUTOCOGEQ GMV, 2017 Property of GMV All rights reserved UNCLASSIFIED INFORMATION

Simulink for AUTOSAR: Best Practices

Oscar Slotosch. ISO Conforming Tool Qualification for Modular Tools

Tool Qualification Plan for Testwell CTC++

Automatic Code Generation Technology Adoption Lessons Learned from Commercial Vehicle Case Studies

DRYING CONTROL LOGIC DEVELOPMENT USING MODEL BASED DESIGN

Automated Requirements-Based Testing

Verification, Validation, and Test with Model-Based Design

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

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

IBM Rational Rhapsody

GAIO. Solution. Corporate Profile / Product Catalog. Contact Information

Development and Deployment of ECU based Control Systems through MBD. Imperative role of Model based design in System Engineering

Formal Verification of Models and Code Prashant Mathapati Application Engineer Polyspace & Model Verification

Ein Modell - viele Zielsysteme

Don t Be the Developer Whose Rocket Crashes on Lift off LDRA Ltd

Implementing MATLAB Algorithms in FPGAs and ASICs By Alexander Schreiber Senior Application Engineer MathWorks

Jay Abraham 1 MathWorks, Natick, MA, 01760

Optimization and Implementation of Embedded Signal Processing Algorithms Jonas Rutström Senior Application Engineer

Considerations in automotive embedded development Global Automotive Director Kiyo Uemura

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

Testen zur Absicherung automatisierter Transformationsschritte im Model-Based Design

Best Practices Process & Technology. Sachin Dhiman, Senior Technical Consultant, LDRA

What s New In Simulink: Fraser Macmillen

CERTIFIED. Faster & Cheaper Testing. Develop standards compliant C & C++ faster and cheaper, with Cantata automated unit & integration testing.

SCADE. SCADE Suite Tailored for Critical Applications EMBEDDED SOFTWARE

Simulink Verification and Validation

SCADE TRAINING PROGRAM 2016

Integrated Workflow to Implement Embedded Software and FPGA Designs on the Xilinx Zynq Platform Puneet Kumar Senior Team Lead - SPC

ISO Compliant Automatic Requirements-Based Testing for TargetLink

ISO Tool Confidence Level (TCL)

ISO compliant verification of functional requirements in the model-based software development process

By V-cubed Solutions, Inc. Page1. All rights reserved by V-cubed Solutions, Inc.

Testing Simulink Models

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

Hardware-Software Co-Design and Prototyping on SoC FPGAs Puneet Kumar Prateek Sikka Application Engineering Team

Tools and Methods for Validation and Verification as requested by ISO26262

Collaboration in Teams: Simulink Projects Demonstration

Functional Safety Design Packages for STM32 & STM8 MCUs

Manufacturer certification in plant, metal and rolling-stock engineering

IEC EN/IEC Safe EN ISO Functional safety solutions for industrial devices Standardized safety modules Protocol software Services

Simulink to Embedded Hardware Paul Peeling MathWorks

Reducing Design Errors in Complex State Machines using Model-Based Design

AVS: A Test Suite for Automatically Generated Code

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

Testing Framework with Simulink Test

Identity Assurance Framework: Realizing The Identity Opportunity With Consistency And Definition

FUNCTIONAL SAFETY FOR INDUSTRIAL AUTOMATION

Open System Architecture Selecting the Right Cable and Connectivity for Your Application

Simulation-based Test Management and Automation Sang-Ho Yoon Senior Application Engineer

Automatic Qualification of Abstract Interpretation-based Static Analysis Tools. Christian Ferdinand, Daniel Kästner AbsInt GmbH 2013

Towards Open Modular Critical Systems

VectorCAST SP3 and Beyond

ExCuSe A Method for the Model-Based Safety Assessment of Simulink and Stateflow Models

Coding Standards in FACE Conformance. John Thomas, Chris Edwards, and Shan Bhattacharya

An incremental and multi-supplement compliant process for Autopilot development to make drones safer

Automotive Safety Manual

Standard Glossary of Terms used in Software Testing. Version 3.2. Advanced Test Automation - Engineer Terms

Quality Management System (QMS)

Introduction to C and HDL Code Generation from MATLAB

Workflow for Control System Design and Implementation

Certification Authorities Software Team (CAST) Position Paper CAST-25

Coding Standards in FACE Conformance. John Thomas, Chris Edwards, and Shan Bhattacharya

Better than Hand Generating Highly Optimized Code using Simulink and Embedded Coder

Transcription:

Using Model-Based Design in conformance with safety standards MATLAB EXPO 2014 Kristian Lindqvist Senior Engineer 2014 The MathWorks, Inc. 1

High-Integrity Applications Software-based systems that are designed and maintained such that they have a high probability of carrying out their intended function 2

Why are we here? I want to show: How can MathWorks tools help develop high-integrity systems? What are the standard requirements for using the tools? How can MathWorks simplify meeting standards? 3

How can MathWorks tools help develop high-integrity systems? 4

Reference Workflow Model-Based Design for High-Integrity Software Exemplary verification and validation process for safety-related software created using Model-Based Design 5

Reference Workflow Model-Based Design for High-Integrity Software Model Verification Detect design errors at design time 6

Verification by simulation Simulation / model testing (Simulink) Model coverage (Simulink V&V) Req. Mgmt. Int. (Simulink V&V) 7

Test Coverage Analysis for Models Simulation / model testing (Simulink) Model coverage (Simulink V&V) Req. Mgmt. Int. (Simulink V&V) Coverage from first simulation Coverage from second simulation Total coverage Decision coverage Condition coverage MC/DC Lookup table coverage Signal range coverage 8

Tracing Requirements Model Creating links between textual documents and model objects Simulation / model testing (Simulink) Model coverage (Simulink V&V) Req. Mgmt. Int. (Simulink V&V) 9

Model Static Review and Analysis High-Integrity Modeling Guidelines Checks Model standards checking (Simulink V&V) 10

High-Integrity Modeling Guidelines Checks Model Advisor checks to facilitate standard objectives at the model level 11

Reference Workflow Model-Based Design for High-Integrity Software Code Verification Gain confidence in the generated code 12

Code Verification in the context of ISO 26262 Processor In-the-Loop PIL test (Embedded Coder) 13

Code Verification in the context of ISO 26262 Prevention of unintended functionality Traceability matrix analysis (IEC Certification Kit) or Model vs. code coverage (third-party tool) 14

Traceability Matrix Generation Generate traceability information covering requirements, model elements, and generated code Req #1 Req #2 Req #3 Use Microsoft Excel to track, and annotate generated traceabilty matrices for your project Fulfill requirements to document traceability information and to demonstrate absence of unintended functionality >> iec.exporttracereport('model_name') 15

Example: Door Locking System Small realistic example System model Modular development Automation Artifacts creation 16

Reference Workflow Model-Based Design for High-Integrity Software Model standards checking (Simulink V&V) PIL test (Embedded Coder) Simulation / model testing (Simulink) Model coverage (Simulink V&V) Req. Mgmt. Int. (Simulink V&V) Traceability matrix analysis (IEC Certification Kit) or model vs. code coverage (third-party tool) Simulink/Stateflow Embedded Coder Third-party tool 17

Advanced Reference Workflow Additional Best Practices Model standards checking (Simulink V&V) Property Proving (Simulink Design Verifier) Simulation / model testing (Simulink) Model coverage (Simulink V&V) Req. Mgmt. Int. (Simulink V&V) PIL test (Embedded Coder) Test generation (Simulink Design Verifier) Run-time error detection (Polyspace products) Traceability matrix analysis (IEC Certification Kit) or model vs. code coverage (third-party tool) MISRA-C checking (Polyspace products) Simulink/Stateflow Embedded Coder Third-party tool 18

What are the standard requirement for using the tools? 19

Tool Inventory and Classification Inventory of all the tools involved Document use cases of the tools Classify the tools for their use cases Generally, most tools will not have to be qualified 20

Tool Classification and Qualification (ISO 26262) I. Tool Classification II. Tool Qualification Tool use cases Tool impact Tool error detection Tool confidence level ASIL UC 1..n TI 2 TD 3 TD 2 TD 1 Medium High TCL 3 TCL 2 Qualification methods for TCL3 Qualification methods for TCL2 Increasing qualification requirements TI 1 TCL 1 Qualification not required 21

Reference Workflow Model-Based Design for High-Integrity Software Model standards checking (Simulink V&V) PIL test (Embedded Coder) Simulation / model testing (Simulink) Model coverage (Simulink V&V) Req. Mgmt. Int. (Simulink V&V) Traceability matrix analysis (IEC Certification Kit) or model vs. code coverage (third-party tool) Simulink/Stateflow Embedded Coder Third-party tool 22

How can MathWorks simplify meeting the standard? 23

MathWorks Certification Kits IEC 61508 ISO 26262 EN 50128 IEC Certification Kit DO-178C DO-278A DO-330 DO-254 DO Qualification Kit 24

MathWorks Certification Kits Supports tool qualification Streamlines standard compliant development of embedded systems... www.mathworks.com/products/iec-61508/ www.mathworks.com/products/do-178/ 25

Independent Assessment by TÜV SÜD Example Certificate Assessment Report 26

Qualification of Model-Based Design Tools Embedded Coder, Simulink Design Verifier, Simulink Verification and Validation, and Polyspace are pre-qualified for all ASILs according to ISO 26262 Simulink Verification and Validation Simulink Design Verifier PolySpace Client/Server for C/C++ Embedded Coder Note: Embedded Coder, Simulink Design Verifier, Simulink Verification and Validation, and Polyspace products were not developed using certified processes. 27

Process Compliance Demonstration Annotated method tables with suggestions on how to use Model-Based Design processes and tools to apply the methods listed in the standard 28

Reference Workflow - Compliance Demonstration Templates 29

Test Cases for Tool Qualification/Validation Test automation provided to validate tools within the project 30

Process Deployment Advisory Service MathWorks Consulting services to quickly adopt Model-Based Design for standards Objectives Identify gaps in current processes Provide a roadmap to an optimized standard compliant process Assist with deployment of that roadmap Educate on the standard Help with software tool qualification www.mathworks.com/services/consulting/areas/iso26262-process-deployment.html 31

Summary How can MathWorks tools help develop high-integrity systems? Model-Based Design offers many Verification and Validation methods Tool automation help meet the process documentation requirements What are the standard requirements for using the tools? The Reference Workflow is guiding through the development process How can MathWorks simplify meeting the standard? Certification/Qualification Kits and Consulting expertise eases the Tool Qualification process 32