Top Banner
1 © 2015 The MathWorks, Inc. Education Master Class Preparing Future Engineers and Scientists for the Challenges of Digital Transformation Jim Tung
58

Education Master Class - MATLAB EXPO

Mar 14, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Education Master Class - MATLAB EXPO

1© 2015 The MathWorks, Inc.

Education Master ClassPreparing Future Engineers and

Scientists for the Challenges of

Digital Transformation

Jim Tung

Page 2: Education Master Class - MATLAB EXPO

2

BuildingIQ

What it does?

SAVES ENERGY

Page 3: Education Master Class - MATLAB EXPO

3

Embedded Algorithms for Interpreting Blood Type Results

What it does?

SAVES TIME

Page 4: Education Master Class - MATLAB EXPO

4

Augmented reality visualization of blood flow

What it does?

SAVES LIVES

Page 5: Education Master Class - MATLAB EXPO

5

Digital Transformation

Page 6: Education Master Class - MATLAB EXPO

6

Digital Transformation

• Increasingly individualized products

• Autonomous machines that do not require costly

programming to meet new requirements

• Intelligent products that collect data to optimize

processes and develop new products

• Opportunities for innovative business models

and services

“Sample-size 1”

“Smart products”

“Servitization”

Page 7: Education Master Class - MATLAB EXPO

7

What Tomorrow’s Engineer Needs to Know

• Algorithms: e.g., Controls, Signal Processing,

Optimization, Computer Vision

• Abstraction, Modeling, and Simulation

AND

• Multidomain System Development

AND

• Distributed and Connected Systems

• Using Cloud Platforms and Big Data Processing

• AI and Data Science

Page 8: Education Master Class - MATLAB EXPO

8

Project-Based Learning with MATLAB and Simulink

Treat engineering students like engineers

Hands-on experience of working on hardware and software

Solve authentic problems in myriad contexts

Increase student interest and improve learning

https://www.mathworks.com/hardware-support/home.html

Page 9: Education Master Class - MATLAB EXPO

9

Today’s Topics: Three Exercises to Develop That Know-How

Quadcopter Simulation

• Develops Computational

Thinking

• Enables comparisons of

theory and simulation

• Automatically generates

controller code

Page 10: Education Master Class - MATLAB EXPO

10

Today’s Topics: Three Exercises to Develop That Know-How

Arduino Mobile Rover

Quadcopter Simulation

• Develops Computational

Thinking

• Enables comparisons of

theory and simulation

• Automatically generates

controller code

• Model-Based Design

for autonomous vehicle

• Integrates controls,

WiFi, path planning,

and localization

• Low-cost hardware

Page 11: Education Master Class - MATLAB EXPO

11

Today’s Topics: Three Exercises to Develop That Know-How

Triplex Pump Digital Twin

Arduino Mobile Rover

Quadcopter Simulation

• Develops Computational

Thinking

• Enables comparisons of

theory and simulation

• Automatically generates

controller code

• Model-Based Design

for autonomous vehicle

• Integrates controls,

WiFi, path planning,

and localization

• Low-cost hardware

• Complex industrial

application

• Combines engineering

and data science

• Can leverage cloud

computing

• No hardware required

Page 12: Education Master Class - MATLAB EXPO

12

Today’s Topics: Three Exercises to Develop That Know-How

Triplex Pump Digital Twin

Arduino Mobile Rover

Quadcopter Simulation

• Develops Computational

Thinking

• Enables comparisons of

theory and simulation

• Automatically generates

controller code

Page 13: Education Master Class - MATLAB EXPO

13

Quadcopter SimulationDevelop Understanding of

Technical concepts

Control System Design

Code generation for

deployment

Plant Modeling

Commercial

CAE

Simscape

Multibody

Comparison

Hand

Derivation

MATLAB

Simulink

Symbolic

Math

T2

Page 14: Education Master Class - MATLAB EXPO

14

Quadcopter: modeling – part 1 Develop Understanding of

Technical concepts

Control System Design

Code generation for

deployment

Plant Modeling

Commercial

CAE

Simscape

Multibody

Comparison

Hand

Derivation

MATLAB

Simulink

Symbolic

Math

Page 15: Education Master Class - MATLAB EXPO

15

Quadcopter: modeling – part 2 Develop Understanding of

Technical concepts

Control System Design

Code generation for

deployment

Plant Modeling

Commercial

CAE

Simscape

Multibody

Comparison

Hand

Derivation

MATLAB

Simulink

Symbolic

Math

Page 16: Education Master Class - MATLAB EXPO

16

Quadcopter: modeling – part 3 Develop Understanding of

Technical concepts

Control System Design

Code generation for

deployment

Plant Modeling

Commercial

CAE

Simscape

Multibody

Comparison

Hand

Derivation

MATLAB

Simulink

Symbolic

Math

Page 17: Education Master Class - MATLAB EXPO

17

Quadcopter: Control Design Develop Understanding of

Technical concepts

Control System Design

Code generation for

deployment

Plant Modeling

Commercial

CAE

Simscape

Multibody

Comparison

Hand

Derivation

MATLAB

Simulink

Symbolic

Math

Page 18: Education Master Class - MATLAB EXPO

18

Quadcopter: Code generation for

deploymentDevelop Understanding of

Technical concepts

Control System Design

Code generation for

deployment

Plant Modeling

Commercial

CAE

Simscape

Multibody

Comparison

Hand

Derivation

MATLAB

Simulink

Symbolic

Math

Page 19: Education Master Class - MATLAB EXPO

19

Today’s Topics: Three Exercises to Develop That Know-How

Triplex Pump Digital Twin

Arduino Mobile Rover

Quadcopter Simulation

• Model-Based Design

for autonomous vehicle

• Integrates controls,

WiFi, path planning,

and localization

• Low-cost hardware

Page 20: Education Master Class - MATLAB EXPO

20

Arduino Mobile Rover in Action

Page 21: Education Master Class - MATLAB EXPO

21

Mobile Rover Basics

Arduino+

Motor Control

DC Motors+

Encoders

Battery

Ultrasonic

Sensor

Servo Motor

Page 22: Education Master Class - MATLAB EXPO

22

1. Modeling and simulation

2. Deploy to hardware

3. Integrate with localization using Wi-Fi

Workflow

Mathematical

Models

C/C++

code

(0,0)

(25,25)

91⁰(12,37)

Page 23: Education Master Class - MATLAB EXPO

23

Wheel velocities Input Rover trajectoryOutput

Modeling and Simulation

Rover kinematics

Page 24: Education Master Class - MATLAB EXPO

24

Forward kinematics

𝜔𝑙

𝜔𝑟=1

𝑟∗

1 − ൗ𝐿 2

1 ൗ𝐿 2

∗𝑣𝜔

New Input

Rate of rotation:𝜔Forward velocity: 𝑣

Inverse kinematics

𝑥 𝑡 = න0

𝑡

𝑣 ∗ cos 𝜃 𝑑𝑡

𝑦 𝑡 = න0

𝑡

𝑣 ∗ 𝑠𝑖𝑛 𝜃 𝑑𝑡

𝜃 𝑡 = න0

𝑡

𝜔 𝑑𝑡

OutputIntermediate

Output

Modeling and Simulation

Rover kinematics

Wheel velocitiesInputRover velocities Rover trajectoryOutput

Wheel speeds

(ꞷl, ꞷr)

Forward velocity (v),

Rate of rotation (ꞷ)= f( )

ICC

v

ꞷlꞷr

L

Page 25: Education Master Class - MATLAB EXPO

25

Modeling and Simulation

Rover kinematics

Forward kinematics

𝜔𝑙

𝜔𝑟=1

𝑟∗

1 − ൗ𝐿 2

1 ൗ𝐿 2

∗𝑣𝜔

Inverse kinematics

𝑥 𝑡 = න0

𝑡

𝑣 ∗ cos 𝜃 𝑑𝑡

𝑦 𝑡 = න0

𝑡

𝑣 ∗ 𝑠𝑖𝑛 𝜃 𝑑𝑡

𝜃 𝑡 = න0

𝑡

𝜔 𝑑𝑡

10

5

v (cm/s)

t (s)

t (s)

ꞷ (deg/s)

18

5 10

Page 26: Education Master Class - MATLAB EXPO

26

Modeling and Simulation

Rover kinematics

10

5

v (cm/s)

t (s)

t (s)

ꞷ (deg/s)

18

5 10

Page 27: Education Master Class - MATLAB EXPO

27

Modeling and Simulation

Path Planning and Motion Control

Calculate angle

Turn

Calculate distance

Move Forward

Pick-up / Drop

Next waypoint

Legend

Path planning

Motion control

Rover location

Object location

Final destination

Page 28: Education Master Class - MATLAB EXPO

28

Modeling and Simulation

Path Planning and Motion Control

Adding waypoints

is as simple as

changing this

block!

New Input Intermediate

Output

Intermediate

OutputOutput

Page 29: Education Master Class - MATLAB EXPO

29

Modeling and Simulation

Path Planning and Motion Control

Page 30: Education Master Class - MATLAB EXPO

30

1. Modeling and simulation

2. Deploy to hardware

3. Integrate with localization using Wi-Fi

Workflow

Mathematical

Models

C/C++

code

(0,0)

(25,25)

91⁰(12,37)

Page 31: Education Master Class - MATLAB EXPO

31

Deploy to Hardware

Page 32: Education Master Class - MATLAB EXPO

32

Deploy to Hardware

Page 33: Education Master Class - MATLAB EXPO

33

1. Modeling and simulation

2. Deploy to hardware

3. Integrate with localization using Wi-Fi

Workflow

Mathematical

Models

C/C++

code

(0,0)

(25,25)

91⁰(12,37)

Page 34: Education Master Class - MATLAB EXPO

34

(0,0)

(25,25)

91⁰(12,37)

Get Location Data Over Wi-Fi

Webcam on top of a table;

Tethered to PC

Taking

picture of

arena

Image

Processing

Location

results sent via

Wi-Fi

Page 35: Education Master Class - MATLAB EXPO

35

Localization Algorithm

Workflow

Step 1: Use R, G, B colors as

threshold

Step 2: Remove noise

Step 3: Find the centroid

Repeat to track

and send results!

Rover

Location: (75,60) cm

Heading: 90 deg

Algorithm

outputs

Threshold applied Noise removed Centroid identifiedFrom webcam

Step 1 Step 2 Step 3

Page 36: Education Master Class - MATLAB EXPO

36

Mobile phone controlling rover

Arduino

Raspberry PiLEGO Mindstorms EV3

TI C2000

ST Micro

Parrot

Minidrones

Page 37: Education Master Class - MATLAB EXPO

37

Today’s Topics: Three Exercises to Develop That Know-How

Triplex Pump Digital Twin

Arduino Mobile Rover

Quadcopter Simulation

• Complex industrial

application

• Combines engineering

and data science

• Can leverage cloud

computing

• No hardware required

Page 38: Education Master Class - MATLAB EXPO

38

Triplex Pump

Page 39: Education Master Class - MATLAB EXPO

39

Predictive Maintenance Using Digital Twins

Page 40: Education Master Class - MATLAB EXPO

40

How can I teach students these concepts if I don’t have a real

pump?

Page 41: Education Master Class - MATLAB EXPO

41

by sending

sensor data

to a predictive

maintenance

algorithm

created using

a Digital Twin

and machine

learning

in MATLAB.

Prevent system downtime

Page 42: Education Master Class - MATLAB EXPO

42

Component

Failure

Triplex Pump

▪ Crankshaft drives three plungers

– Each 120 degrees out of phase

– One chamber always discharging

– Smoother flow than single

or duplex piston pumps

Crankshaft

Outlet

Algorithm

Pressure

Sensor

Failure

Diagnosis

Inlet

Page 43: Education Master Class - MATLAB EXPO

43

Page 44: Education Master Class - MATLAB EXPO

44

Predictive Maintenance Workflow

▪ Sensor data isn‘t always available

– Failure conditions difficult to reproduce

– Time consuming or costly to generate

Solution: Build digital twin and generate

sensor data using simulation

▪ Developing algorithm is complex

– Requires complex concepts and analysis

Solution: Use MATLAB to simplify process of

developing and deploying algorithm

Deploy

Algorithm

Develop

Predictive Model

Preprocess

Training Data

Obtain and

Explore Data

Build Digital

Twin

SimulationControl

Unit

Sensor Data

Page 45: Education Master Class - MATLAB EXPO

45

Key takeaways

▪ IoT is revolutionizing the industry

▪ New graduates will be expected to address challenges like this

▪ Experience with tools and workflows used in industry make students more

hireable

Page 46: Education Master Class - MATLAB EXPO

46

Today’s Topics: Three Exercises to Develop That Know-How

Triplex Pump Digital Twin

Arduino Mobile Rover

Quadcopter Simulation

• Complex industrial

application

• Combines engineering

and data science

• Can leverage cloud

computing

• No hardware required

• Model-Based Design

for autonomous vehicle

• Integrates controls,

WiFi, path planning,

and localization

• Low-cost hardware

• Develops Computational

Thinking

• Enables comparisons of

theory and simulation

• Automatically generates

controller code

Page 47: Education Master Class - MATLAB EXPO

47

Vision

2040: Austria is world leader in STEM education

Mission

Strengthen STEM education and secure local industry in Austria

Strategy

Connect stakeholders in academia, industry and government.

Initiate, and support high-impact STEM projects.

Projects

Multicopter for teaching and research

Page 48: Education Master Class - MATLAB EXPO

48

ComGov

Page 49: Education Master Class - MATLAB EXPO

49

Turn CHALLENGES into OPPORTUNITIES

Recruiting

Hiring

Market

penetration

in AERO

Brand

awareness

Page 50: Education Master Class - MATLAB EXPO

50

Turn CHALLENGES into OPPORTUNITIES

Courses

Research

in AERO

Recruiting

Hiring

Market

penetration

in AERO

Brand

awareness

Page 51: Education Master Class - MATLAB EXPO

51

School of Aerospace Engineering

Meeting with

Institute

Collaboration with

Flight robotics seminar

Page 52: Education Master Class - MATLAB EXPO

52

Page 53: Education Master Class - MATLAB EXPO

53

Turn CHALLENGES into OPPORTUNITIES

Recruiting

Hiring

Market

penetration

in AERO

Brand

awareness

Courses

Research

in AERO

3 Hires

in 1 semester

Page 54: Education Master Class - MATLAB EXPO

54

Page 55: Education Master Class - MATLAB EXPO

55

Turn CHALLENGES into OPPORTUNITIES

Recruiting

Hiring

Market

penetration

in AERO

Brand

awareness

Courses

Research

in AERO

3 Hires

in 1 semester

1 Million

views in

24 hrs

Page 56: Education Master Class - MATLAB EXPO

56

Preparing Students for Digital Transformation

InnovationExpertise

KnowledgeCurricula

Basic Research

Discovery

Graduate Education

Applied Research

Tools and Technology

Product Development

Workforce Training

Future Researchers

Academic

Research

Undergraduate

EducationIndustry

Skilled Labor

Page 57: Education Master Class - MATLAB EXPO

57

• Develops

Computational Thinking

• Enables comparisons of

theory and simulation

• Automatically generates

controller code

• Model-Based Design

for autonomous

vehicle

• Integrates controls,

WiFi, path planning,

and localization

• Low-cost hardware

Arduino MobileRover

• Complex industrial

application

• Combines

engineering and data

science

• Can leverage cloud

computing

• No hardware required

Quadcopter

Simulation

Triplex Pump Digital Twin

Bring these exercises to your classroom!

Page 58: Education Master Class - MATLAB EXPO

58

www.mathworks.com/academia