31
1 © 2017 The MathWorks, Inc. MATLAB & Simulink for Cyber Physical Systems Sumit Tandon Senior Customer Success Manager, MathWorks

MATLAB & Simulink for Cyber Physical Systems

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: MATLAB & Simulink for Cyber Physical Systems

1© 2017 The MathWorks, Inc.

MATLAB & Simulink for Cyber Physical Systems

Sumit Tandon – Senior Customer Success Manager, MathWorks

Page 2: MATLAB & Simulink for Cyber Physical Systems

2

Agenda

▪ Intro to MATLAB and Simulink

– What, where, who, how, quick demos

▪ Intro to Automated Driving System Toolbox

– What, where, why, quick demos

▪ Resources

▪ Q & A

Page 3: MATLAB & Simulink for Cyber Physical Systems

3

What is MATLAB?

▪ High-level language

▪ Interactive development

environment

▪ Used for:

– Numerical computation

– Data analysis and visualization

– Algorithm development and

programming

– Application development and

deployment

Page 4: MATLAB & Simulink for Cyber Physical Systems

4

Data Analysis Workflow

Reporting and

Documentation

Outputs for Design

Deployment

ShareExplore & Discover

Data Analysis

& Modeling

Algorithm

Development

Application

Development

Files

Software

Hardware

Access

Code & Applications

Automate

Page 5: MATLAB & Simulink for Cyber Physical Systems

5

Demo: Fuel Economy Analysis

▪ Goal:

– Study the relationships between fuel economy,

horsepower, and type of vehicle

▪ Approach:

– Import data from spreadsheet

– Interactively visualize

and explore trends

– Create a model

– Document results

Page 6: MATLAB & Simulink for Cyber Physical Systems

6

Simulink

▪ Block-diagram environment

▪ Model, simulate and analyze multidomain systems

▪ Accurately design, implement, and test:– Control systems– Signal processing systems– Communications systems– And other dynamic systems

▪ Platform for Model-Based Design

The leading environment for modeling, simulating, and implementing dynamic and embedded systems

Page 7: MATLAB & Simulink for Cyber Physical Systems

7

System Design Process

Page 8: MATLAB & Simulink for Cyber Physical Systems

8

Demo: Wing Landing Gear System

Page 9: MATLAB & Simulink for Cyber Physical Systems

9

What people do in industry:

Mars Rovers – NASA Jet Propulsion Lab

Artist's rendition of Mars rover.

Graphics courtesy of NASA/JPL/Cornell

MATLAB is used for:

Entry, Descent, and Landing System Design, Navigation, and Data Analysis…

Page 10: MATLAB & Simulink for Cyber Physical Systems

10

What people do in industry:

Motion-Stereo Parking – BMW

Vehicle equipped with side-view camera. As the vehicle moves, the side-view camera acquires

images that are used to measure depth.

MATLAB is use for:

Motion-Stereo Systems, Object Detection, Computer Vision, Real-Time Control…

Page 11: MATLAB & Simulink for Cyber Physical Systems

11

What people do in industry:

Prosthetic Arm – Applied Physics LabMATLAB is use for:

Simulation in Virtual Environment, Machine Learning, Real-Time Controller Design,

and Clinical Application…

Page 12: MATLAB & Simulink for Cyber Physical Systems

12

Automated Driving System Toolbox

Page 13: MATLAB & Simulink for Cyber Physical Systems

13

Some common questions from automated driving engineers

How can I

visualize vehicle

data?

How can I

detect objects in

images?

How can I

fuse multiple

detections?

vehicle

1011010101010100101001

0101010100100001010101

0010101001010100101010

0101010100101010101001

0101010010100010101010

0010100010100101010101

0100101010101010010101

0100101010010110000101

0100101010101010010010

1010011101010100101010

1

2F

Page 14: MATLAB & Simulink for Cyber Physical Systems

14

Some common questions from automated driving engineers

How can I

visualize vehicle

data?

How can I

detect objects in

images?

How can I

fuse multiple

detections?

vehicle

1011010101010100101001

0101010100100001010101

0010101001010100101010

0101010100101010101001

0101010010100010101010

0010100010100101010101

0100101010101010010101

0100101010010110000101

0100101010101010010010

1010011101010100101010

1

2F

Page 15: MATLAB & Simulink for Cyber Physical Systems

15

Visualize sensor data

Page 16: MATLAB & Simulink for Cyber Physical Systems

16

Visualize differences in sensor detections

Page 17: MATLAB & Simulink for Cyber Physical Systems

17

Learn more about visualizing vehicle databy exploring examples in the Automated Driving System Toolbox

▪ Transform between

vehicle and image

coordinates

▪ Plot lidar point cloud▪ Plot object detectors

in vehicle coordinates– Vision & radar detector

– Lane detectors

– Detector coverage areas

Page 18: MATLAB & Simulink for Cyber Physical Systems

18

Some common questions from automated driving engineers

How can I

visualize vehicle

data?

How can I

detect objects in

images?

How can I

fuse multiple

detections?

vehicle

1011010101010100101001

0101010100100001010101

0010101001010100101010

0101010100101010101001

0101010010100010101010

0010100010100101010101

0100101010101010010101

0100101010010110000101

0100101010101010010010

1010011101010100101010

1

2F

Page 19: MATLAB & Simulink for Cyber Physical Systems

19

Classification

Left

Bottom

Width

Height

How can I detect objects in images?

Object

detector

Classification

Left

Bottom

Width

Height

Page 20: MATLAB & Simulink for Cyber Physical Systems

20

Train object detectors based on ground truth

ImagesObject

detector

Train

detector

Ground Truth

Classification

Left

Bottom

Width

Height

Classification

Left

Bottom

Width

Height

Page 21: MATLAB & Simulink for Cyber Physical Systems

21

Train object detectors based on ground truth

Object

detector

Train

detector

Design object detectors with the Computer Vision System Toolbox

Machine

Learning

Aggregate Channel Feature trainACFObjectDetector

Cascade trainCascadeObjectDetector

Deep

Learning

R-CNN(Regions with Convolutional Neural Networks)

trainRCNNObjectDetector

Fast R-CNN trainFastRCNNObjectDetector

Faster R-CNN trainFasterRCNNObjectDetector

Images

Ground Truth

Page 22: MATLAB & Simulink for Cyber Physical Systems

22

How can I create

ground truth?

Specify ground truth to train detector

Object

detector

Train

detector

Ground Truth

Images

Page 23: MATLAB & Simulink for Cyber Physical Systems

23

Specify ground truth to train detector

Ground Truth

Object

detector

Train

detectorGround Truth

Labeler App

Video

Page 24: MATLAB & Simulink for Cyber Physical Systems

24

Specify ground truth to evaluate detectors

Video Set 2Object

detector Evaluate

detections

Specify ground truth to train detectors

Ground truthGround Truth

Labeler App

Detections

Ground Truth

Object

detector

Train

detectorGround Truth

Labeler App

Video Set 1

Page 25: MATLAB & Simulink for Cyber Physical Systems

25

Learn more about detecting objects in imagesby exploring examples in the Automated Driving System Toolbox

▪ Add automation algorithm

for lane tracking

▪ Extend connectivity of

Ground Truth Labeler App

▪ Label detections with

Ground Truth Labeler App

Page 26: MATLAB & Simulink for Cyber Physical Systems

26

Learn more about detecting objects in imagesby exploring examples in the Automated Driving System Toolbox

▪ Explore pre-trained

pedestrian detector

▪ Explore lane detector

using coordinate

transforms for mono-

camera sensor model

▪ Train object detector

using deep learning and

machine learning

techniques

Page 27: MATLAB & Simulink for Cyber Physical Systems

27

Some common questions from automated driving engineers

How can I

detect objects in

images?

How can I

fuse multiple

detections?

vehicle

1

2F

How can I

visualize vehicle

data?

1011010101010100101001

0101010100100001010101

0010101001010100101010

0101010100101010101001

0101010010100010101010

0010100010100101010101

0100101010101010010101

0100101010010110000101

0100101010101010010010

1010011101010100101010

Page 28: MATLAB & Simulink for Cyber Physical Systems

28

Learn more about sensor fusionby exploring examples in the Automated Driving System Toolbox

▪ Design

multi-object tracker

based on logged

vehicle data

▪ Synthesize

driving scenario

to test

multi-object tracker

▪ Generate C/C++

code from algorithm

which includes a

multi-object tracker

Page 29: MATLAB & Simulink for Cyber Physical Systems

29

Upcoming Webinar:

Introduction to Automated Driving System Toolbox

www.mathworks.com > Events > Upcoming Webinars

https://www.mathworks.com/company/events/webinars/upcoming/introduction-to-automated-driving-system-toolbox-

2355969.html

Date Time

25 Jan 2018 1:30 AM PST

25 Jan 2018 6:00 AM PST

25 Jan 2018 11:00 AM PST

Page 30: MATLAB & Simulink for Cyber Physical Systems

30

Resources

Page 31: MATLAB & Simulink for Cyber Physical Systems

31

Q & A