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

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

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

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

Testing Framework with Simulink Test

Verification, Validation and Test in Model Based Design Manohar Reddy

Simulink to Embedded Hardware Paul Peeling MathWorks

Automated Requirements-Based Testing

Testing Simulink Models

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

Implementation and Verification Daniel MARTINS Application Engineer MathWorks

Verification, Validation, and Test with Model-Based Design

Testen zur Absicherung automatisierter Transformationsschritte im Model-Based Design

From Design to Production

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

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

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

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

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

What s New in Simulink in R2015b and R2016a

Increasing Design Confidence Model and Code Verification

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

Advanced AC Motor Control S/W Development Sang-Ho Yoon Senior Application Engineer The MathWorks

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

Verification and Validation Introducing Simulink Design Verifier

What s New in MATLAB and Simulink

Automating Best Practices to Improve Design Quality

Simulink Verification and Validation

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

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

Workflow for Control System Design and Implementation

Standardkonforme Absicherung mit Model-Based Design

Complex Signal Processing Verification under DO-254 Constraints by François Cerisier, AEDVICES Consulting

2015 The MathWorks, Inc. 1

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

Jay Abraham 1 MathWorks, Natick, MA, 01760

DRYING CONTROL LOGIC DEVELOPMENT USING MODEL BASED DESIGN

Automating Best Practices to Improve Design Quality

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

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

What s New in Simulink Release R2016a and R2016b

Advanced Software Development with MATLAB

Testing and Validation of Simulink Models with Reactis

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

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

ISO Compliant Automatic Requirements-Based Testing for TargetLink

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

What s New in MATLAB and Simulink The MathWorks, Inc. 1

Effective Team Collaboration with Simulink

Team-Based Collaboration in Simulink

What's new in MATLAB and Simulink for Model-Based Design

What s New In Simulink: Fraser Macmillen

Verification and Test with Model-Based Design

automatisiertensoftwaretests

SCADE. SCADE Suite Tailored for Critical Applications EMBEDDED SOFTWARE

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

Objectives. Chapter 19. Verification vs. validation. Topics covered. Static and dynamic verification. The V&V process

Verification and Validation. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 22 Slide 1

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

What s New in MATLAB and Simulink

Using Model-Based Design in conformance with safety standards

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

Master Class: Target Optimized Code Generation Shobhit Shanker Senior Application Engineer-Code Generation & Verification

Testing. ECE/CS 5780/6780: Embedded System Design. Why is testing so hard? Why do testing?

Model-Based Design for Video/Image Processing Applications

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

Applications of Program analysis in Model-Based Design

What s New in MATLAB and Simulink

MATLAB/Simulink in der Mechatronik So einfach geht s!

Boeing Certification Techniques for Advanced Flight Critical Systems Challenge Problem Integration (CerTA FCS CPI) Briefing at the

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

CS 424 Software Quality Assurance & Testing LECTURE 3 BASIC CONCEPTS OF SOFTWARE TESTING - I

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

CLOSING THE DESIGN CYCLE LOOP WITH EXECUTABLE REQUIREMENTS AND OSLC

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

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

What s New in MATLAB and Simulink Young Joon Lee Principal Application Engineer

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

In this Lecture you will Learn: Testing in Software Development Process. What is Software Testing. Static Testing vs.

Part 5. Verification and Validation

Designing and Targeting Video Processing Subsystems for Hardware

Three General Principles of QA. COMP 4004 Fall Notes Adapted from Dr. A. Williams

Model-Based Design for Safety Critical Automotive Applications

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

Real-Time Testing in a Modern, Agile Development Workflow

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

Verification and Validation of High-Integrity Systems

Static Analysis in C/C++ code with Polyspace

Hardware Software Co-Design and Testing Using Simulink Real-Time Paul Berry and Brian Steenson

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

Production Code Generation Introduction and New Technologies

FPGA Verification How to improve verification without throwing everything away

개발과정에서의 MATLAB 과 C 의연동 ( 영상처리분야 )

Verification and Validation

Product Support. mathworks.com Release 14 Supported / Compatible Compilers for MATLAB 7.0

Model-Based Design of Connected and Autonomous Vehicles

FMI Kit for Simulink version by Dassault Systèmes

Developing Measurement and Analysis System using MATLAB

Entwicklung mechatronischer Systeme in der Luft- und Raumfahrt

On the Generation of Test Cases for Embedded Software in Avionics or Overview of CESAR

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

Transcription:

1

Simulation-based Test Management and Automation Sang-Ho Yoon Senior Application Engineer 2016 The MathWorks, Inc. 2

Today s Agenda Verification Activities in MBD Simulation-Based Test Manage and Automate Simulation-Based Tests Equivalence Test between Model and Generated Code Questions and Answers 3

Verification Activities in MBD 2016 The MathWorks, Inc. 4

Verification in DO-178C (Software Considerations in Airborne Systems and Equipment Certification) *DO-178C Section 6.0 5

Verification Activities in MBD Model Verification Design Review Requirement Traceability Report Generation Static Analysis Model Standards Checking Design Error Detection Prove Design Correctness Dynamic Test Simulation-based Functional Test Coverage Analysis Code Generation and Verification Code Review Code Inspection Static Analysis Code Metrics and Coding Rule Checking Formal Verification (Abstract Interpretation) Equivalence Test SIL(Software-In-the-Loop) and PIL(Processor) Requirements 1 Model Design Code Integration Code User Acceptance 2 6

Simulation-based Test 2016 The MathWorks, Inc. 7

Example Model 8

Module Test-Harness Test Cases (Signal Builder) Model (Model Block) Output Check (Assertions) Test Harness 9

Model Coverage Report Simulink Verification and Validation Coverage metrics identifies untested portions of your model 10

How about Legacy Code? Use of Legacy Code Tool for introduction of existing C code on Simulink models External C Function MATLAB code specification 11

Coverage for C-code S-Functions Design Coverage Model S-Function C code 12

How to Manage Test Models 2016 The MathWorks, Inc. 13

Simulink Test: Test Harness Additional Subsystems If a subsystem is a library reference Do I need to make a new model for it? Do I need to make multiple test harnesses for multiple test objectives? If only a subsystem need to be tested Do I need to make a new model for it? 14

Test Harnesses Test Harness Enables unit testing without requiring new model Exercise Component under test Analyze Synchronized testing environment Supports testing library blocks Main Model 15

How to Make Test Scenarios 2016 The MathWorks, Inc. 16

Simulink Test: Test Sequence Block Design temporal or logic-based test scenarios Works with MATLAB Action Language Create complex test inputs and assessments Trouble shooting aids Test Sequence/Assessment Block 17

Test Sequence: "verify" statement Streams to Simulation Data Inspector Integrates with Simulink Test Manager pass/fail 18

How to Automate Various Tests 2016 The MathWorks, Inc. 19

Simulink Test: Test Manager Create Test Cases Group into Test Suites and Test Files Execute individual or batch View summary and detailed results Archive, export, report 20

Test Manager Coverage Integration Collect and aggregate coverage using Simulink Test Manager Coverage collected and aggregated automatically New support for coverage on Simulink Test harnesses View coverage summary from test results Embed full coverage reports into a test manager report 21

Summary of Simulink Test 1. Test Harnesses 2. Test Sequence Block 3. Test Manager Synchronized, simulatable test environment Inputs and assessments based on logical, temporal conditions Author, execute, manage test cases Review, export, report Test Harness Main Model Component under test 22

Equivalence Test between Model and Generated Code 2016 The MathWorks, Inc. 23

Software-in-the-Loop (SIL) Testing: Verify Production Controller with Software-in-the-loop Execution Host/Host Nonreal-time Code Generation Compiled C Code S-Function (Windows DLL) 24

Code Coverage for Generated Code with SIL 25

Summary Model Verification includes Reviews, Analyses and Tests Model-Based Tests can be efficiently managed with Simulink Test Simulink Test provides following functionalities Test Harnesses Test Sequence Test Manager 26

The MathWorks Change the world by Accelerating the pace of discovery, innovation, development, and learning in engineering and science 27

Q&A 28