system design with matlab and simulink - mathworks · 2 challenge simplify the operation of forage...

20
1 © 2015 The MathWorks, Inc. System Design with MATLAB and Simulink Model-Based Design explained Paul Lambrechts System Design with MATLAB and Simulink Model-Based Design explained

Upload: others

Post on 18-Sep-2020

7 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

1© 2015 The MathWorks, Inc.

System Design with MATLAB and SimulinkModel-Based Design explained

Paul Lambrechts

System Design with MATLAB and SimulinkModel-Based Design explained

Page 2: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

2

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 3: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

3

What is Model-Based Design?

Why?The systematic use of models

throughout the development process

Page 4: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

4

Innovation

Quality

Reliability

Return on

Investment

MBD

Innovation Lead among competition

Unique features and differentiators

Quality Exactly what your customer wants

Documentation, test reports, certification

Reliability Preventing design errors

Automated testing

Delivering in time and first time right

Return on Investment Cost reduction (materials, support)

Productive and efficient engineering staff

Why use Model-Based Design?For your Business

Link to MathWorks white paper

Page 5: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

5

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

Why use Model-Based Design?For you as an Engineer

“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.”

Page 6: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

6

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.”

Modeling & Simulation

give you insights

Why?

Page 7: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

7

Example: Engineering Problem to Solve

Control the actuation of

part of a robotic system

Electric motor with

velocity control

Page 8: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

8

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 9: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

9

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 10: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

10

Model the Robot Arm

Page 11: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

11

Model the Motor

Page 12: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

12

Connect Motors to Mechanics

Page 13: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

13

Design and Simulate the Controller

Page 14: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

14

“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.”

Why use Model-Based Design?

Automatic Code Generation accelerates real-time

testing and production implementation

Why?

Page 15: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

15

How Model-Based Design Works: Code Generation

Model the robot arm and the motors

Design the controller

Deploy the controller to hardware

Page 16: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

16

How Model-Based Design Works: Code Generation

Model the robot arm and the motors

Design the controller

Deploy the controller to hardware:

Automatically Generate Controller Code

Page 17: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

17

“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.”

Why use Model-Based Design?

Design the complete system

and accelerate your work

Why?

Page 19: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

19

1. Start small, but relevant!

2. Look for relevant examples and documentation• Website (Videos, Articles, Discover…)

• Documentation (Getting Started, Examples)

• User Community (MATLAB Answers, File Exchange)

3. Use MathWorks Services• Technical Support

• Training Services

• Consulting Services

System Design with MATLAB and SimulinkGet started with Model-Based Design

Link to MathWorks white paper

Innovation

Quality

Reliability

Return on

Investment

MBD

Page 20: System Design with MATLAB and Simulink - MathWorks · 2 Challenge Simplify the operation of forage harvesters by automating the process of filling trailers with corn, grass, and other

20© 2015 The MathWorks, Inc.