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

Similar documents
From Design to Production

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

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

Implementation and Verification Daniel MARTINS Application Engineer MathWorks

Verification and Validation of High-Integrity Systems

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

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

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

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

Future Directions for SysML v2 INCOSE IW MBSE Workshop January 28, 2017

Jay Abraham 1 MathWorks, Natick, MA, 01760

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

Automating Best Practices to Improve Design Quality

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

Verification, Validation, and Test with Model-Based Design

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

Automating Best Practices to Improve Design Quality

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

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

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

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

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

Testing! Prof. Leon Osterweil! CS 520/620! Spring 2013!

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

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

An Information Model for High-Integrity Real Time Systems

Simcenter Motion 3D. Mechatronics - Improve Design Dynamics Performance: Combine 3D Multi-Body Simulation with 1D Actuation & Controls Simulation

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

Compositional Model Based Software Development

Applications of Program analysis in Model-Based Design

DRYING CONTROL LOGIC DEVELOPMENT USING MODEL BASED DESIGN

DEVELOPMENT OF DISTRIBUTED AUTOMOTIVE SOFTWARE The DaVinci Methodology

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

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

Simulink Verification and Validation

Introduction to Dependable Systems: Meta-modeling and modeldriven

Volvo Car Group Jonn Lantz Agile by Models

Practical Model-based Testing With Papyrus and RT-Tester

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

People tell me that testing is

Semantics-Based Integration of Embedded Systems Models

Verification and Validation

GeneAuto for Ada and SPARK

Product Range 3SL. Cradle -7

Techniques for the unambiguous specification of software

ISO Compliant Automatic Requirements-Based Testing for TargetLink

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

Lecture Notes UML UNIT-II. Subject: OOAD Semester: 8TH Course No: CSE-802

NX electrical and mechanical routing

Mathieu Dutré - Application Specialist MBSE. Analysis and optimization of physical models for HIL simulation

Composable Architecture & Design Applying Product Line and Systems of Systems Concepts to the Design of Unique, Complex Cyber-Physical Systems

Automated Continuous Verification & Validation for Automobile Software

FOUR INDEPENDENT TOOLS TO MANAGE COMPLEXITY INHERENT TO DEVELOPING STATE OF THE ART SYSTEMS. DEVELOPER SPECIFIER TESTER

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

Spark verification features

Investigation of System Timing Concerns in Embedded Systems: Tool-based Analysis of AADL Models

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

Static Analysis in C/C++ code with Polyspace

Migration of Legacy Systems to Software Product Lines

Joint Agile Delivery Phase 3

Team-Based Collaboration in Simulink

Model Based Systems Engineering Engine Control: from concept to validation. Jan Smolders Technical Account Manager

Designing and Analysing Power Electronics Systems Using Simscape and SimPowerSystems

Test Architect A Key Role defined by Siemens

Verification, Validation and Test in Model Based Design Manohar Reddy

CSSE 490 Model-Based Software Engineering: More MBSD. Shawn Bohner Office: Moench Room F212 Phone: (812)

Ian Sommerville 2006 Software Engineering, 8th edition. Chapter 22 Slide 1

SCADE. SCADE Display Graphical Prototyping and Design. Tailored for Critical Embedded HMIs EMBEDDED SOFTWARE

automatisiertensoftwaretests

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

Curriculum for the Bachelor's Degree Programme in Software Development National section

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

Part 5. Verification and Validation

Requirements Management Made Simple - 5 Easy Steps

CLOSING THE DESIGN CYCLE LOOP WITH EXECUTABLE REQUIREMENTS AND OSLC

Verification and Test with Model-Based Design

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

ASIC world. Start Specification Design Verification Layout Validation Finish

Generating Industry Standards Production C Code Using Embedded Coder

The Impact of SOA Policy-Based Computing on C2 Interoperation and Computing. R. Paul, W. T. Tsai, Jay Bayne

BUILDING GOOD-QUALITY FUNCTIONAL SPECIFICATION MODEL

2015 The MathWorks, Inc. 1

Verification and Validation Introducing Simulink Design Verifier

Principles of Software Construction: Objects, Design, and Concurrency (Part 2: Designing (Sub )Systems)

Chapter 6 Architectural Design. Chapter 6 Architectural design

Background Project Purpose & Goals. SW Reliability Statistical Testing Model Based Specification and Testing

DESIGN, EVOLUTION AND USE

No Source Code. EEC 521: Software Engineering. Specification-Based Testing. Advantages

Model Driven Development with xtuml and BridgePoint

Chapter 6 Architectural Design. Lecture 1. Chapter 6 Architectural design

Simulink to Embedded Hardware Paul Peeling MathWorks

Evolutionary Architecture and Design

High-assurance software for autonomous ground systems

OBJECT ORIENTED SYSTEM DEVELOPMENT Software Development Dynamic System Development Information system solution Steps in System Development Analysis

Software architecture in ASPICE and Even-André Karlsson

Eclipse technology in IFMS Interface Management System

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

IOT FLAGSHIP PROJECT. Dr. Mario Drobics, AIT

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

CSSE 490 Model-Based Software Engineering: Transformation Systems

Transcription:

Architecture-driven development of Climate Control Software LMS Imagine.Lab Embedded Software Designer Siemens DF PL Restricted Siemens AG 2017 Realize innovation.

Content 1 Overview 3 2 LMS Imagine.Lab Embedded Software Designer 5 3 Architecture-driven development of climate controller 6 4 Key takeaways 17 Page 2

Electric vehicle climate controller Architecture-driven software development Car Controller Objective: To estimate the impact of the air conditioning system both on the passenger thermal comfort and on the vehicle range Focus: Architecture driven development of control software unit Page 3

Electric vehicle climate controller Architecture-driven software development Page 4

LMS Imagine.Lab Embedded Software Designer To help build the Digital Twin of On-board software Software Architects Embedded Software Engineers Build digital twin of the code LMS Embedded Software Designer Avoid bugs much early in the development lifecycle V&V Engineers Page 5 Front load testing and verification activities

1. Create, import Create or import software architecture Directly implement or import software architectures from SysML Abstract Models Interface Models Software Architectures can be defined in LMS Embedded Software Designer with the help of Block Interfaces and Abstract Blocks System Architectures defined in SysML can be Imported in LMS Embedded Software Designer Page 6

LMS Embedded Software Designer Software Architecture Car Controller Page 7

LMS Embedded Software Designer Software Architecture Car Controller Page 8

2. Model Enhancing software architecture, modeling code and software test specifications Draw code & validation plan first before implementing and testing High level abstractions enabled by extensible DSLs Data-dictionary, units, conversion rules etc. Abstraction supported by appropriate DSLs to represent different perspective of system architecture Test cases as reusable models Testable and verifiable specifications in the form of contracts pre and post conditions and/or assertions in the code Graphical Test Requirement Multi-paradigm Textual Logical Data Models Physical Units and Conversion Rules Unit Test Design Page 9

LMS Embedded Software Designer Data Continuity and traceability Car Controller Page 10

LMS Embedded Software Designer Variant aware architecture and implementation Aircraft Controller Page 11

3. Create, reuse Software implementation Implement Implementation from scratch in LMS Embedded Software Designer Decision Table, Mathematical Formulae Library blocks IDE Enforced Type Checking Block OK Rules Syntactical checks of the source code Warning Correct typographical and syntactical errors Check violation of coding rules (MISRA) Check units compatibility Reuse Toolset to migrate C-code to MBSE paradigm Options to: Re-use existing C-code with no modifications Import specified variant configurations (variant- aware import of legacy code) Perform formal verification on imported C-code with minimal effort Improve quality through editor validations: Eliminate issues due to incompatible and inconsistent product variant configurations Make product variant specific code smart, easy-to-maintain and enhance Integrate Quick transformation of control strategies developed as Simulink models into production-ready C-code Import of: Simulink and Stateflow models Model initialization data Benefits: Integrate strategies available as Simulink models with existing C-code Reduce time to bring control strategies into production Improve quality Page 12

LMS Embedded Software Designer Software implementation Aircraft Controller Page 13

4. Validate Ensure quality and robustness of the implementation Unit Tests (Open-loop testing) Block Test vectors Unit testing & integration testing with plant models Creating and Managing tests Integration Tests (Closed-loop testing) Block Concrete values for I/O & global Batch mode simulation can be performed Execute block Simulation spanning multiple cycles Test case successful Result not as expected Contract verifications Assertion verifications Visual representation of test results Test vector generation Test case successful Result not as expected Export to LMS Amesim & Simulink Traceability between requirements & implementation, between results and specifications Controller modeled in LMS Embedded Software Designer and plant taken from LMS Amesim Simulation in LMS Amesim using native solvers and results are brought back to LMS Embedded Software Designer Page 14

4. Validate Ensure quality and robustness of the implementation Data Flow Analysis Static, formal analysis & coverage measurements Model Checking Block Rules Invalid right shift operation on signed integer Block Assertions Block Whitebox Analysis Data flow analysis Abstract interpretation Use of uninitialized variable Formal verification OK Warning Proof Counterexample Invalid operation on signed integers Use of uninitialized variable Assumed Guarantee Analysis Redundant parameter declaration Warning such as Array index can only be positive is thrown Robustness analysis (/0, memory access checks, overflow, underflow) Assertion analyses Abstraction specific properties Code Coverage Analysis Page 15

LMS Embedded Software Designer Unit Test and Formal Verification Aircraft Formal Verification Controller Unit tests Requirement driven verification Page 16

Integrated model-driven software engineering Benefits Typical Challenges SW development is spread across different teams resulting in fragmentation of process and data artifacts Robustness of the model/code issues found later in the production phases Issues of proper design automation, change request and impact analysis Managing and testing different software variants Solution Benefits Reduced release time with Integrated model-driven SW engineering from Software Architecture to Deployment, with traceability across design levels Arch > Implementation > Test > V&V Predictable and smooth integration to improve architecture decision making for partitioning, network and communication design Provide automation based on design rules and conditions to quickly check errors on the fly and assess different design decisions and impact of changes Early design error detection while performing tradeoff and incremental changes Address the many variations of software with integrated variant model and testing and verification Page 17

Vijay Bahadur Singh Application Engineer Siemens PLM / Simulation & Test Solutions Department bahadur.singh@siemens.com