Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling...
Transcript of Introduzione al Model-Based Design - MathWorks · Karel Viaene CNH CNH Develops Intelligent Filling...
1© 2015 The MathWorks, Inc.
Introduzione al Model-Based Design
Aldo Caraceto
2
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
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
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?
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?
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?
9
Engineering Problem to Solve
Control the actuation of
part of a robotic system
Electric motor with
velocity control
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…?
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
12
Model The Robot Arm
13
Model the Motor
14
Design and Simulate the Controller
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?
16
How Model-Based Design Works: Code Generation
Model the robot arm and the motors
Design the controller
Deploy the controller to hardware
17
Automatically Generate Controller Code
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?
19
Recap
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