Академический Документы
Профессиональный Документы
Культура Документы
Vasco Lenzi
Application Engineer
MathWorks
2
Key takeaways
3
Bosch eBike Systems Develops Electric Bike
Controller with Model-Based Design
Challenge
Develop the control system for an electric
bike within a tight schedule
Solution
Use Model-Based Design with MATLAB and Simulink The primary business benefits of
to design drive and motor control subsystems, run Model-Based Design are shorter
simulations and tests, and generate prototype and development times and lower costs.
production code For me, the biggest advantage
comes from knowing that we could
Results
use generated code, which made it
Designs updated and ready for retest in five minutes
Code generated to meet safety standards possible to debug at the model level
Crucial market deadline met in Simulink, not at the code level.
Daniel Baumgrtner
Bosch eBike Systems
Link to user story
4
Alstom Generates Production Code for Safety-Critical
Power Converter Control Systems
Challenge
Design and implement real-time power conversion and control
systems for trams, metros, and railways
Solution
Use MathWorks tools for Model-Based Design to design,
simulate, and automatically generate production code for safety-
critical transportation systems Given the resources available
to us, it would have been
Results
Development time cut by 50% impossible to deliver this on
Defect-free, safety-critical code generated and certified schedule without MathWorks
Common language established tools."
Han Geerligs
Alstom
5
Case study Ball-on-Wheel
Rapid Control Prototyping
6
Model-Based Design RESEARCH REQUIREMENTS
7
Industry Best Practices Modeling a plant
Simulink First principles Symbolic Math
Writing algorithm for embedded targets
Simscape Language
Graphical programming
8
Model-Based Design RESEARCH REQUIREMENTS
IMPLEMENTATION
INTEGRATION
9
Hardware Support for Project-Based Learning
10
Model-Based Design
RESEARCH REQUIREMENTS
DESIGN
in-the-loop workflows
IMPLEMENTATION
INTEGRATION
11
In-the-loop verification methodologies
Software-in-the-Loop
Is the generated
Compiled
Algorithm Plant Model code functionally
SIL equivalent to the
model ?
12
In-the-loop verification methodologies
Processor-in-the-Loop
Is the generated
Algorithm Plant Model code functionally
equivalent to the
model ?
Non-Real-Time functional
verification of the algorithm
component
13
In-the-loop verification methodologies
Hardware-in-the-Loop: HIL
Does algorithm
perform well on
Algorithm Plant Model actual device
with true
latencies?
Code Code
Real-Time Machine
Production embedded target Harness eg Speedgoat
14
Key takeaways
15
Appendix: Useful Links and Resources
MathWorks @ ETHZ
Link
17
Shipping examples Command Window
18
Internet of Things / Cloud
19