embracing complexity - mathworks · embracing complexity the festo bionic handling ... student...

50
1 Embracing Complexity Embracing Complexity Embracing Complexity Gavin Walker Development Manager

Upload: trinhduong

Post on 26-Aug-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

1

Embracing Complexity Embracing Complexity

Embracing Complexity

Gavin Walker

Development Manager

2

Embracing Complexity Embracing Complexity

1970 Stanford Ph.D. thesis,

with thousands of lines of

Fortran code

MATLAB and Simulink Proven Ability to Make the Complex Simpler

3

Embracing Complexity Embracing Complexity

MATLAB and Simulink Proven Ability to Make the Complex Simpler

Credit: SwRI

4

Embracing Complexity Embracing Complexity

So why am I talking about

EMBRACING complexity?

5

Embracing Complexity Embracing Complexity

Possible Grand Challenges

Zero automotive traffic fatalities, injuries minimized, and

significantly reduced traffic congestion and delays

Blackout-free electricity generation and distribution

Perpetual life assistants for busy, older or disabled people

Energy-aware buildings

Location-independent access to world-class medicine

Raj Rajkumar, Carnegie Mellon University

Kang Shin, University of Michigan

Insup Lee, University of Pennsylvania

Excerpted, with permission

6

Embracing Complexity Embracing Complexity

Collaborate

Model

Simulate

Automate

How do we do it?

7

Embracing Complexity Embracing Complexity

Power

Management

Transmission

Engine Ride Control

ABS

Steering

Stability Controls

Traction Control

Obstacle

Detection

Adaptive

Cruise Control

Crash

Avoidance

Airbags

Adaptive Front

Lighting Systems

Passenger

Detection

Windows Doors

Lights

Climate Controls

Driver Drowsiness Infotainment

Instrumentation

Voice

Recognition

Navigation

Wireless

Connectivity

Functions in Today’s Automobile

8

Embracing Complexity Embracing Complexity

Functions in Today’s Automobile

Automatic Cruise

Control (ACC)

9

Embracing Complexity Embracing Complexity

Functions in Today’s Automobile

Automatic Cruise

Control (ACC)

10

Embracing Complexity Embracing Complexity

Functions in Today’s Automobile

ACC integrates with

engine control

electronic stability

program

braking system

11

Embracing Complexity Embracing Complexity

Platform for Collaboration

Behaviour Modelling

& Code Generation

Software Architecture Definition

BSW Configuration

& RTE Generation

12

Embracing Complexity Embracing Complexity

Neuroimaging of Brain Activity

PET

SPECT

EEG

MEG

fMRI

Function?

Structure?

Connectivity?

13

Embracing Complexity Embracing Complexity

Platform for Collaboration

Courtesy: Wellcome Trust Centre

for Neuroimaging, UCL, UK

14

Embracing Complexity Embracing Complexity

Platform for Collaboration

Courtesy: Wellcome Trust Centre

for Neuroimaging, UCL, UK

15

Embracing Complexity Embracing Complexity

Physical

Sensors

Data

Information

Knowledge

Action

Data Analysis

16

Embracing Complexity Embracing Complexity

Observation

Organization

Understanding

Application

Physical

Sensors

Data

Information

Knowledge

Action

Data Analysis

17

Embracing Complexity Embracing Complexity

Observation • Sensing

• Collecting

• Data Acquisition

Organization

Understanding

Application

Data Analysis

DAQ and

instrumentation

Cameras

Files, programs,

Web

Databases

Data warehouses

18

Embracing Complexity Embracing Complexity

Organization • Filtering

• Signal Analysis

• Data Reduction

• Plotting

Understanding

Application

Data Analysis

MPG Acceleration Displacement Weight Horsepow er

MP

GA

ccel

erat

ion

Dis

plac

emen

tW

eigh

tH

orse

pow

er

50 1001502002000 4000200 40010 2020 40

50

100

150

200

2000

4000

200

400

10

20

20

40

Data

Processing

Visualization

Exploratory

Analysis

Observation • Sensing

• Collecting

• Data Acquisition

19

Embracing Complexity Embracing Complexity

Application

Understanding • Visualization

• Predictive Analytics

• Frequency/Time-domain

Data Analysis

Estimation and

Prediction

Analytics • Pre-built algorithms

• Evaluate, compare, customize

Domains • Time & Frequency

• Image, video

• Geospatial

• etc.

Decision Tree

Ensemble

Method

Neural Network

Support Vector

Machine

Classification

Linear

Non-linear

Non-

parametric

Regression

0 20 40 60 80 100 120 140 160 180 200

0.5

0.6

0.7

0.8

0.9

1

time secs

activ

e po

wer

per

-uni

t

NN

measured

0 5 10 15 20 25 30 35 40 450

0.2

0.4

0.6

0.8

1

1.2x 10

-4

turbine number

MS

E

Organization • Filtering

• Signal Analysis

• Data Reduction

• Plotting

Observation • Sensing

• Collecting

• Data Acquisition

20

Embracing Complexity Embracing Complexity

Application • Reporting

• Apps

• Scalable Deployment

Data Analysis

Reports

MATLAB

Apps

Integration into

Existing

Systems Excel

Feedback for

Design &

Operations

Understanding • Visualization

• Predictive Analytics

• Frequency/Time-domain

Organization • Filtering

• Signal Analysis

• Data Reduction

• Plotting

Observation • Sensing

• Collecting

• Data Acquisition

21

Embracing Complexity Embracing Complexity

From Data to Knowledge to Action

22

Embracing Complexity Embracing Complexity

23

Embracing Complexity Embracing Complexity

24

Embracing Complexity Embracing Complexity

Modelling and Simulation

25

Embracing Complexity Embracing Complexity

Modelling and Simulation

Simulink Master Class:

Physical

Modelling with

SimScape

26

Embracing Complexity Embracing Complexity

Collaborate

Model

Simulate

Automate

27

Embracing Complexity Embracing Complexity

Automation

Automated task can be done by

anyone

28

Embracing Complexity Embracing Complexity

Automation

Automation brings mistake-

proofing

29

Embracing Complexity Embracing Complexity

Automation

Automate the common but

especially the complex

30

Embracing Complexity Embracing Complexity

The Festo Bionic Handling

Assistant. Image © Festo AG.

■ PLCs

■ FPGAs

■ DSPs

■ Microcontrollers

■ Rapid prototyping

■ HIL testing

■ Embedded systems

Automatic Code Generation

31

Embracing Complexity Embracing Complexity

Video © Festo AG.

Automatic Code Generation

32

Embracing Complexity Embracing Complexity

Automatic Code Generation

“Using Simulink for Model-Based Design enables us

to develop the sophisticated pneumatic controls

required for the Bionic Handling Assistant and other

mechatronic designs. With Simulink PLC Coder, it is

now much easier to get from a design to a product.”

Dr. Rüdiger Neumann, Festo

33

Embracing Complexity Embracing Complexity

The Festo Bionic Handling

Assistant. Image © Festo AG.

■ PLCs

■ FPGAs

■ DSPs

■ Microcontrollers

■ Rapid prototyping

■ HIL testing

■ Embedded systems

Automatic Code Generation

The Alenia Aermacchi M-346.

■ Automatic Code

Generation

■ Certified Process

34

Embracing Complexity Embracing Complexity

Challenge Develop the company’s first DO-178B Level A certified

autopilot system

Solution Use Model-Based Design to model the system and

software design, verify requirements coverage, generate

code, and produce reports and other artifacts for the

certification authority

Results Requirements review for certification up to 30% shorter

Time-to-flight reduced by 20%

Low-level certification activities automated

Alenia Aermacchi Develops Autopilot

Software for DO-178B Level A Certification

“For us, a key advantage of

Model-Based Design is the

ability to concentrate on design

and development instead of low-

level coding, verification, and

certification tasks. The result is

higher quality, DO-178B certified

software, and faster iterations.”

Massimiliano Campagnoli

Alenia Aermacchi

The Alenia Aermacchi M-346.

35

Embracing Complexity Embracing Complexity

Building the Foundations

Technical Computing:

Enhancing Numerical

Analysis Education

with MATLAB

Innovative Course Design

36

Embracing Complexity Embracing Complexity

Building the Foundations

LEGO® MINDSTORMS® NXT Student Contest

37

Embracing Complexity Embracing Complexity

Building the Foundations

Easy-to-Build Devices Programmable Hardware

+

+ Model-Based Design:

Modelling, Simulation,

and Real-Time Testing

for Model-Based

Design

38

Embracing Complexity Embracing Complexity

Building the Foundations

LEGO® MINDSTORMS® NXT Student Contest Cambridge University ECO Racing

39

Embracing Complexity Embracing Complexity

Possible Grand Challenges

Zero automotive traffic fatalities, injuries minimized, and

significantly reduced traffic congestion and delays

Blackout-free electricity generation and distribution

Perpetual life assistants for busy, older or disabled people

Energy-aware buildings

Location-independent access to world-class medicine

40

Embracing Complexity Embracing Complexity

Embracing Complexity

Used by permission of Prof. Chris Gerdes,

Stanford University School of Engineering

41

Embracing Complexity Embracing Complexity

Embracing Complexity

Used by permission of Prof. Chris Gerdes,

Stanford University School of Engineering

42

Embracing Complexity Embracing Complexity

“We want to use every bit of the car’s capability to be as safe as possible. We want to develop autonomous vehicles

that can avoid any accident that is physically possible to avoid.”

Professor Chris Gerdes

Stanford University

43

Embracing Complexity Embracing Complexity

44

Embracing Complexity Embracing Complexity

Embracing Complexity

… and instinctive driver reactions

Used by permission of Prof. Chris Gerdes,

Stanford University School of Engineering

45

Embracing Complexity Embracing Complexity

Embracing Complexity

… and instinctive driver reactions

Used by permission of Prof. Chris Gerdes,

Stanford University School of Engineering

46

Embracing Complexity Embracing Complexity

Embracing Complexity

… adding drift and countersteering

Used by permission of Prof. Chris Gerdes,

Stanford University School of Engineering

47

Embracing Complexity Embracing Complexity

Autonomous Vehicles

48

Embracing Complexity Embracing Complexity

Autonomous Traffic Management

► Can use information

from other vehicles

when available

► Robust when other

vehicles aren’t

similarly equipped

49

Embracing Complexity Embracing Complexity

Collaborate

Model

Simulate

Automate

50

Embracing Complexity Embracing Complexity

What will you need

to embrace

complexity