Connecting System Architecture to Model-Based Design

49
1 © 2017 The MathWorks, Inc. Connecting System Architecture to Model-Based Design Lyle Shipton Application Engineer MathWorks Plano, TX

Transcript of Connecting System Architecture to Model-Based Design

Page 1: Connecting System Architecture to Model-Based Design

1© 2017 The MathWorks, Inc.

Connecting System Architecture to Model-Based

Design

Lyle Shipton

Application Engineer

MathWorks

Plano, TX

Page 2: Connecting System Architecture to Model-Based Design

2

Agenda

▪ MathWorks Overview

▪ System Architecting and Model-Based Design

– User Needs

– Current workflows

– MathWorks solution

– Example

▪ Summary

▪ Resources

Page 3: Connecting System Architecture to Model-Based Design

3

Background

▪ University of Illinois at Urbana-

Champaign

– B.S, M.S. Aerospace Engineering

▪ SpaceX Rocket Development Facility

– Test Engineer

– Lead Engineer, Integration & Test

▪ Eaton Aerospace, Fuel and Motion

Controls

– Lead Aerospace Systems Engineer

▪ MathWorks, Application Engineering

Group

– Lead Engineer, Aerospace applications

Page 4: Connecting System Architecture to Model-Based Design

4

MathWorks at a Glance

● Office locations ● Distributors serving 16 countries

◼ Privately held

◼ 4500 employees worldwide

◼ More than 4 million users in 185 countries

Earth’s topography on a Miller cylindrical projection,

created with MATLAB and Mapping Toolbox.

Page 5: Connecting System Architecture to Model-Based Design

5

Key Industries

▪ Aerospace and

defense

▪ Automotive

▪ Biological sciences

▪ Biotech and

pharmaceutical

▪ Communications

▪ Electronics

▪ Energy production

▪ Financial services

▪ Industrial automation

and machinery

▪ Medical devices

▪ Metals, materials, and

mining

▪ Neuroscience

▪ Railway systems

▪ Semiconductors

▪ Software and internet

Page 6: Connecting System Architecture to Model-Based Design

6

Core MathWorks Products

Math. Graphics. Programming.

▪ Designed for engineers and scientists

▪ Professionally developed, tested, and documented

▪ Toolboxes for:

– Machine learning, data analytics, deep learning, image

processing and computer vision, signal processing and

communications, computational finance, robotics and control

systems

▪ Interactive apps that automatically generate programs

▪ Easily scales to clusters, GPUs, and clouds

▪ Direct deployment to production enterprise applications

▪ Automatic conversion to embeddable C and CUDA code

▪ Integrates with Simulink to support Model-Based Design

Page 7: Connecting System Architecture to Model-Based Design

7

Core MathWorks Products

Simulation and Model-Based Design

Model and simulate your system– Use one multi-domain environment

– Model the system under test and the plant

– Simulate how all parts of the system behave

Test early and often– Test your system under all conditions

– Validate your design with real-time testing

– Trace from requirements to design to code

Automatically generate code– Generate production-quality C and HDL code

– Deploy directly to embedded processors or

FPGA’s/ASIC’s

Page 8: Connecting System Architecture to Model-Based Design

8

Key capabilities for engineers and scientists

MathWorks

founded

in 1984

1985 1990 1995 2000 2005

• Rapid prototyping and HIL

• DSP designs • State charts • Physical modeling

• Discrete-event simulation• Video processing

•Model checking• Test and measurement

• Code verification

• Embedded code • HDL code

MATLAB

Simulink

• Control design

• Signal processing

• Image processing

• Computational finance

• Computational biology

• Application deployment

• Parallel computing• Student version

•Optimization

• Statistics

Technical

Computing

Data Analysis

and Algorithm

Development

System

Modeling and

Simulation

Automatic

Code

Generation

Verification,

Validation,

and Test

• Instrument and database connectivity

• Hardware support packages

• Communications systems

2010

• Certification kits

• PLC code

•MATLAB Mobile for phones/tablets

•MATLAB to C/HDL

• Computer vision

• RF• Phased

array

•Machine learning

2015

•GPU code

• Deep learning• Sensor fusion• Text analytics

• Big data• AWS & Azure support• Enterprise integration• ThingSpeak for IoT

• Test automation• Requirements

authoring & mgmt.

• Robotics and autonomous systems•WLAN/LTE protocols

•MATLAB Online

• HDL verification

• HW/SW co-development

Page 9: Connecting System Architecture to Model-Based Design

9

MathWorks Product Overview

Page 10: Connecting System Architecture to Model-Based Design

23

How is this done today?

System of SystemsSoS

Requirements

(CONOPS)

Validation

Textual

requirements

Page 11: Connecting System Architecture to Model-Based Design

24

How is this done today?

System of Systems

SoS

Description/

Architecture

SoS

Requirements

(CONOPS)

Validation

Architecture sketches are

difficult/impossible to

trace to requirements

Page 12: Connecting System Architecture to Model-Based Design

25

How is this done today?

System of Systems

SoS

Description/

Architecture

SoS

Requirements

(CONOPS)

Validation

Architecture models

traced to the

requirements

Page 13: Connecting System Architecture to Model-Based Design

26

How is this done today?

System of Systems

SoS

Description/

Architecture

SoS

Requirements

(CONOPS)

Validation

Trade studies determine

acceptable/optimal

architectures

SoS

Analysis

Page 14: Connecting System Architecture to Model-Based Design

27

How is this done today?

System of Systems

SoS

Description/

Architecture

SoS

Requirements

(CONOPS)

Validation

System CDesign models

traced to

requirements

SoS

Analysis

Page 15: Connecting System Architecture to Model-Based Design

28

How is this done today?

System of Systems

SoS

Description/

Architecture

SoS

Requirements

(CONOPS)

Validation

System CDesign models

traced to

requirements

Design models traced to

architecture models?

SoS

Analysis

Page 16: Connecting System Architecture to Model-Based Design

29

How is this done today?

System of Systems

SoS

Description/

Architecture

SoS

Requirements

(CONOPS)

Validation

System C

Full system (SoS) is field

tested

SoS

Analysis

Page 17: Connecting System Architecture to Model-Based Design

30

How can MathWorks address the gap?

Page 18: Connecting System Architecture to Model-Based Design

31

System Architecting & Technical Analysis

System of Systems

SoS

Description/

Architecture

SoS

Analysis

SoS

Requirements

(CONOPS)

Validation

SoS

Verification

System Composer

• Import/construct architecture models

• Define architecture properties w/ profiles

& stereotypes

• Analyze architectures

• Direct connection between architecture

models & design models

System 3

Page 19: Connecting System Architecture to Model-Based Design

32

Requirements Management

System of Systems

SoS

Description/

Architecture

SoS

Analysis

SoS

Requirements

(CONOPS)

Validation

SoS

Verification

Simulink Requirements

• Author/Import textual requirements

• Bi-directional traceability to architecture

models, design models, & test cases

System 3

Page 20: Connecting System Architecture to Model-Based Design

33

Verification & Validation

System of Systems

SoS

Description/

Architecture

SoS

Analysis

SoS

Requirements

(CONOPS)

Validation

System 3

SoS

Verification

MATLAB, Simulink, Stateflow, Simscape

• Design multi-domain systems

• Early Verification by simulation, static

analysis, & formal methods

Page 21: Connecting System Architecture to Model-Based Design

34

Now let’s see it in action

Page 22: Connecting System Architecture to Model-Based Design

35

Page 23: Connecting System Architecture to Model-Based Design

36

Page 24: Connecting System Architecture to Model-Based Design

37

Page 25: Connecting System Architecture to Model-Based Design

38

Page 26: Connecting System Architecture to Model-Based Design

39

Page 27: Connecting System Architecture to Model-Based Design

40

Page 28: Connecting System Architecture to Model-Based Design

41

Page 29: Connecting System Architecture to Model-Based Design

42

Page 30: Connecting System Architecture to Model-Based Design

43

Page 31: Connecting System Architecture to Model-Based Design

44

Page 32: Connecting System Architecture to Model-Based Design

45

Page 33: Connecting System Architecture to Model-Based Design

46

Page 34: Connecting System Architecture to Model-Based Design

47

Page 35: Connecting System Architecture to Model-Based Design

48

Page 36: Connecting System Architecture to Model-Based Design

49

Page 37: Connecting System Architecture to Model-Based Design

50

Page 38: Connecting System Architecture to Model-Based Design

51

Page 39: Connecting System Architecture to Model-Based Design

52

Page 40: Connecting System Architecture to Model-Based Design

53

Page 41: Connecting System Architecture to Model-Based Design

54

System Composer Intuitively design system and software architectures

Description

==

Architecture

Page 42: Connecting System Architecture to Model-Based Design

55

Simulink RequirementsDigital Thread from Requirements to Architecture and Design

Identify gaps in architecture or design

Identify impact of requirement changes

Link requirements, architectures, design, code and test

Author requirements or view from external source

Page 43: Connecting System Architecture to Model-Based Design

56

System ComposerTackle Architecture complexity with spotlight views

Composition Spotlight

Page 44: Connecting System Architecture to Model-Based Design

57

System ComposerSystem and software architectures connected to implementations in Simulink

ADD

IMPLEMENTATION

HERE

Autogenerated by System Composer on March 25, 2019 2:00 pm EST

Generate Simulink models from

architecture components

Link Simulink models to

architecture components

Page 45: Connecting System Architecture to Model-Based Design

58

System ComposerPerform trade studies based on data driven analysis to optimize architectures

Add custom data Calculate mass roll-up data Create analysis model

Page 46: Connecting System Architecture to Model-Based Design

59

Simulink: A Multi-Language Simulation Environment

Dynamic Systems State Machines Discrete-Event Systems

Physical Modeling Programming Languages

Page 48: Connecting System Architecture to Model-Based Design

61

Contact Us

508-647-7000

Monday - Friday

08:30-17:30 ET

08:30-20:00 ET

Customer Support ......

Technical Support ......

Page 49: Connecting System Architecture to Model-Based Design

62© 2017 The MathWorks, Inc.