Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling...

19
1 © 2015 The MathWorks, Inc. Introduzione al Model-Based Design Aldo Caraceto

Transcript of Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling...

Page 1: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

1© 2015 The MathWorks, Inc.

Introduzione al Model-Based Design

Aldo Caraceto

Page 2: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

2

Page 3: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

3

ChallengeSimplify the operation of forage harvesters by automating the process of

filling trailers with corn, grass, and other crops

SolutionUse Model-Based Design to develop, test, and implement an automated

control system that uses 3D camera data to position the filler spout

Results Development times halved

Generated code immediately operational

Industry innovation award won

Link to user story

A forage harvester with the

IntelliFill™ system from CNH’s

FR90000 series

“With Model-Based Design we spent most of

our time developing and optimizing the system.

Almost no time was spent implementing it in C

or debugging code. There’s no difference in

performance between the Simulink model

running on a laptop and production code.”

Karel Viaene

CNH

CNH Develops Intelligent Filling System

for Forage Harvesters

Page 4: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

4

What Is Model-Based Design?

It is systematic use of models throughout the

development process for design, analysis,

simulation, automatic code generation and

verification

Page 5: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

5

“Model-Based Design enables the simulation

of complex mechatronic systems and

controllers, code generation for real-time HIL

testing, signal and image processing, and data

analysis and visualization.”

Berthold Bäuml, head of the autonomous learning robots lab at DLR

Why Use Model-Based Design?

Page 6: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

6

Bid on – and win – more projects

Create products that could not have been developed

otherwise

Generate sales and revenue earlier

Offer features and performance that the competition

cannot match

Use fewer and less expensive components

Minimize the number of physical prototypes

Reduce warranty costs

Lower support costs.

Link to MathWorks white paper

Why Use Model-Based Design?

Page 7: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

8

Why Use Model-Based Design?

“Model-Based Design enables the simulation of complex

mechatronic systems and controllers, code generation for

real-time HIL testing, signal and image processing, and

data analysis and visualization.”

Modelling & Simulation

give you insights

Why?

Page 8: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

9

Engineering Problem to Solve

Control the actuation of

part of a robotic system

Electric motor with

velocity control

Page 9: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

10

What Kind of Insights Do We Want to Get?

How do I size the motors?

Does my system still work if component values change?

Can I get desired performance?

What if…?

Page 10: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

11

How Model-Based Design Works: Modeling and Simulation

Model the robot arm and the motors

Design the controller

At each stage: Simulate the model

Page 11: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

12

Model The Robot Arm

Page 12: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

13

Model the Motor

Page 13: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

14

Design and Simulate the Controller

Page 14: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

15

Why Use Model-Based Design?

“Model-Based Design enables the simulation of complex

mechatronic systems and controllers, code generation for

real-time HIL testing, signal and image processing, and

data analysis and visualization.”

Automatic Code Generation accelerates

real-time testing and production

implementation

Why?

Page 15: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

16

How Model-Based Design Works: Code Generation

Model the robot arm and the motors

Design the controller

Deploy the controller to hardware

Page 16: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

17

Automatically Generate Controller Code

Page 17: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

18

Why Use Model-Based Design?

“Model-Based Design enables the simulation of complex

mechatronic systems and controllers, code generation for

real-time HIL testing, signal and image processing, and

data analysis and visualization.”

Design complete system and accelerate

your work

Why?

Page 18: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

19

Recap

Page 19: Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling System for Forage Harvesters. 4 ... Design the controller At each stage: Simulate

20

Get Started with Model-Based Designuse 3 proven principles

1. Use models to solve

specific design problems

2. Run system-level simulations

3. Take advantage of

MathWorks resources

Link to MathWorks white paper