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

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

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

Using Model-Based Design in conformance with safety standards

Automating Best Practices to Improve Design Quality

Implementation and Verification Daniel MARTINS Application Engineer MathWorks

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

Standardkonforme Absicherung mit Model-Based Design

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

2015 The MathWorks, Inc. 1

Model-Based Design for Safety Critical Automotive Applications

DRYING CONTROL LOGIC DEVELOPMENT USING MODEL BASED DESIGN

Verification and Validation of High-Integrity Systems

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

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

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

Verification, Validation, and Test with Model-Based Design

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

From Design to Production

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

Jay Abraham 1 MathWorks, Natick, MA, 01760

Automating Best Practices to Improve Design Quality

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

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

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

Verification, Validation and Test in Model Based Design Manohar Reddy

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

Verification and Test with Model-Based Design

Automated Requirements-Based Testing

Simulink to Embedded Hardware Paul Peeling MathWorks

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

Verification and Validation Introducing Simulink Design Verifier

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

Simulink Verification and Validation

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

Applications of Program analysis in Model-Based Design

Production Code Generation Introduction and New Technologies

Architecture-driven development of Climate Control Software LMS Imagine.Lab Embedded Software Designer Siemens DF PL

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

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

Workflow for Control System Design and Implementation

Generating Industry Standards Production C Code Using Embedded Coder

Formal Verification of Flight Control Applications along a Model- Based Development Process A Case Study

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

What s New in Simulink in R2015b and R2016a

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

Team-Based Collaboration in Simulink

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

AVS: A Test Suite for Automatically Generated Code

Simulink for AUTOSAR: Best Practices

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

Rapid Control Prototyping with MATLAB/Simulink Case Study: Ball-on-Wheel

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

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

Increasing Design Confidence Model and Code Verification

Moving MATLAB Algorithms into Complete Designs with Fixed-Point Simulation and Code Generation

Reuse MATLAB Functions and Simulink Models in UVM Environments with Automatic SystemVerilog DPI Component Generation

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

Test and Evaluation of Autonomous Systems in a Model Based Engineering Context

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

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

Model to Code, Made Simple and Easy Sebastien Dupertuis Application Engineer Applications Engineering Group MathWorks Switzerland June 11, 2015

Effective Verification Strategies for Distributed Body Control Applications based on Plant Modeling and Test Case Reuse

Team-Based Collaboration in Simulink Chris Fillyaw Application Engineer Detroit, MI

Simulink as Your Enterprise Simulation Platform

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

Introducing Simulink Release 2012b for Control System Development Mark Walker MathWorks

IDE for medical device software development. Hyun-Do Lee, Field Application Engineer

Software Development with Real- Time Workshop Embedded Coder Nigel Holliday Thales Missile Electronics. Missile Electronics

Testing Framework with Simulink Test

By Jason Ghidella, PhD, and Pieter J. Mosterman, PhD. Left Elevator. actuator. hydraulic system 1 left outer. left inner

Testing and Validation of Simulink Models with Reactis

Hardware Implementation and Verification by Model-Based Design Workflow - Communication Models to FPGA-based Radio

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

DO-178C / ED-12C Model Based Supplement. Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011

Model-Based Design for Altera FPGAs Using HDL Code Generation The MathWorks, Inc. 1

Testen zur Absicherung automatisierter Transformationsschritte im Model-Based Design

Codegenerierung für Embedded Systeme leicht gemacht So geht s!

What s New in MATLAB & Simulink. Prashant Rao Technical Manager MathWorks India

Functional verification on PIL mode with IAR Embedded Workbench

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

Addressing Future Challenges in the Development of Safe and Secure Software Components The MathWorks, Inc. 1

The Avionics System Test Bench, Functional Engineering Simulator: New Developments in Support of Mission and System Verification

Model-Based Design for Large High-Integrity Systems: A Discussion on Logic-Intensive Algorithms

MATLAB/Simulink 기반의프로그래머블 SoC 설계및검증

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

Automated Continuous Verification & Validation for Automobile Software

Real-Time Workshop Embedded Coder 4

SCADE. SCADE Suite Tailored for Critical Applications EMBEDDED SOFTWARE

Introduction to Control Systems Design

2015 The MathWorks, Inc. 1

Model-Based Design for effective HW/SW Co-Design Alexander Schreiber Senior Application Engineer MathWorks, Germany

Design of a Flexible Integration Interface for PIL Tests

Embarquez votre Intelligence Artificielle (IA) sur CPU, GPU et FPGA

Volvo Car Group Jonn Lantz Agile by Models

Accelerating FASGW(H) / ANL Image Processing with Model-Based Design Issue 2

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

How Real-Time Testing Improves the Design of a PMSM Controller

IN VEHICLE NETWORKING & DIAGNOSTICS WITH MODEL BASED DEVELOPMENT APPROACH C OMPA N Y: H A R MAN INTERNATIONAL INDIA. C ONTA C T: PH

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

Transcription:

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

Safety-Critical Model-Based Design Workflow Validate Trace: RMI Requirements Simulink & Stateflow Model Conformance: Model Advisor Verify: SystemTest SLDV Property Proving Model Coverage Verify: SystemTest Embedded IDE Link XXX Trace: Model/Code Trace Report Real-Time Workshop Embedded Coder Source Code Conformance: PolySpace Products Verify: SLDV Test Generation Embedded IDE Link XXX Embedded IDE Object Code 2

Requirements Process for Model-Based Design Functional, operational, and safety requirements Exist one level above the model Models trace to requirements Requirements validation - complete and correct Simulation is a validation technique Traceability can identify incomplete requirements Model coverage can identify incomplete requirements Requirements based test cases Test cases trace to requirements Validate Requirements 3

Simulation example controller and plant 4

Requirements trace example view from DOORS to Simulink 5

Requirements trace example view from Simulink to DOORS 6

Requirements based test trace example view from Simulink Signal Builder block to DOORS 7

Model coverage report example 8

Requirements Process take-aways Early requirements validation Eliminates rework typically seen at integration on projects with poor requirements Early test case development Validated requirements are complete and verifiable which results in well defined test cases Requirements management and traceability Requirements management interfaces provide traceability for design and test cases Validate Requirements 9

Design Process for Model-Based Design Model-Based Design Create the design - Simulink and Stateflow Modular design for teams - Model Reference Model architecture/regression analysis - Model Dependency Viewer Documented design - Simulink Report Generator Requirements traceability using Simulink Verification and Validation Design conforms to standards using Model Advisor Requirements Trace: RMI Simulink & Stateflow Conformance: Model Advisor Model 10

Example detailed design including model reference and subsystems Top Model Subsystem Reference Model 11

Model dependency viewer 12

Example Model Advisor report 13

Design Verification for Model-Based Design Requirements based test cases Automated testing using SystemTest and Simulink Verification and Validation Traceability using Simulink Verification and Validation Robustness testing and analysis Built in Simulink run-time diagnostics Formal proofs using Simulink Design Verifier Coverage Analysis Verify structural coverage of model Verify data coverage of model Requirements Simulink & Stateflow Verify: SystemTest SLDV Property Proving Model Coverage Model 14

SystemTest for requirements based testing 15

SystemTest example report Data Plotting and expected results comparisons Summary of results 16

Signal Builder and Assertion Blocks 17

Model coverage report example signal ranges 18

Simulink Design Verifier Coverage Test Model Test Report Generated Test Cases 19

Simulink Design Verifier Objective Test Model with Constraints and Objectives Test Report Generated Test Cases 20

Simulink Design Verifier Property Proving Model with Assumption and Objective Report Property to be proven 21

Design Process take-aways Modular reusable implementations Platform independent design Scalable to large teams Consistent and compliant implementations Common design language Automated verification of standards compliance Efficient verification process Develop verification procedures in parallel with design Coverage analysis early in the process Automated testing and analysis Trace: RMI Requirements Simulink & Stateflow Conformance: Model Advisor Verify: SystemTest SLDV Property Proving Model Coverage Model 22

Coding Process for Model-Based Design Automatic code generation Real-Time Workshop Embedded Coder Traceability HTML Code Traceability Report Source code verification Complies with standards using PolySpace MISRA-C checker Accurate, consistent and robust using PolySpace verifier Model Trace: Model/Code Trace Report Real-Time Workshop Embedded coder Conformance: PolySpace Products Source Code 23

Incrementally Generate Code Incremental code generation is supported via Model Reference When a model is changed, only models depending on it are subject to regeneration of their code dependent models rebuilt model changed and rebuilt Reduces application build times and ensure stability of a project s code Degree of dependency checking is configurable 24

Add Links to Requirements Requirements appear in the code 25

Code to Model Trace Report 26

Simulink Integration with PolySpace Products Input1 Entries varying from - 500 to 500 Math operations Divide, add, min/max, product, substract, sum K1 and K2 Constants Can be tuned from -297 to 303 Lookup tables Maps, surfaces, algorithms, extrapolations Adjusted, tuned 27

See results in the model Change the model Generate the production code Run PolySpace software PolySpace detected an error here (after having analyzed the generated code) 28

Coding Process takeaways Reusable and platform independent source code Traceability MISRA-C compliance Static verification and analysis Model Trace: Model/Code Trace Report Real-Time Workshop Embedded coder Conformance: PolySpace Products Source Code 29

Integration Process for Model-Based Design Executable object code generation ANSI or ISO C or C++ compatible compiler Run-time libraries provided Executable object code verification Test generation using Simulink Design Verifier Capability to build interface for Processor-In-the-Loop (PIL) testing Analyze code coverage during PIL Analyze execution time during PIL Analyze stack PIL Requirements Model Verify: SystemTest Embedded IDE Link XXX Embedded IDE Source Code Object Code Verify: SLDV Test Generation Embedded IDE Link XXX 30

Processor-in-the-Loop (PIL) Verification - Execute Generated Code on Target Hardware Simulink Algorithm (Software Component) Plant Model Code Generation Execution on host and target non-real-time Communication via one of Embedded Target data link e.g. serial, CAN, TCP/IP debugger integration with MATLAB 31

Integration Process Takeaways Integration with multiple development environments Test cases and harnesses generated automatically Efficient processor in-the-loop test capability Requirements Model Verify: SystemTest Embedded IDE Link XXX Embedded IDE Source Code Object Code Verify: SLDV Test Generation Embedded IDE Link XXX 32

Wrap-up Tools to support the entire safety critical development process Participation on SC-205/WG-71 committee for DO-178C Safety-Critical/DO-178B guideline document Available to licensed customers with Real-Time Workshop Embedded Coder Contact Bill Potter (bill.potter@mathworks.com) or Tom Erkkinen (tom.erkkinen@mathworks.com) 33