0% found this document useful (0 votes)
73 views41 pages

MathWorks Presentation - ChristophHan - FSI - Jan2016

Uploaded by

Vedant Kodagi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views41 pages

MathWorks Presentation - ChristophHan - FSI - Jan2016

Uploaded by

Vedant Kodagi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

Success in Formula Student –

How simulation can help!

Christoph Hahn
Formula Student India
January 2016

© 2015 The MathWorks, Inc.


1
Christoph
Education Technical Specialist
@ MathWorks

Munich office, Germany

Ph.D. in mechanical engineering,


research on carbon fiber composites

2
2007 Christoph
Focus on Formula Student

3
2015 Christoph
Focus on Formula Student

4
5
6
MathWorks

1. Solid company
– Privately held
– Employs 3000+ people
– $800 million revenue in 2014
2. Invest in product development
– ~1000 people in development
– Creating 80+ products
3. More than software
– 500 third party solutions
– 1500 MATLAB based books
– : MATLAB Answers / MATLAB FileExchange
– Learning Materials for Formula Student
7
>> URL =
'mathworks.com/racinglounge';
>> web(URL);

8
9
MathWorks Tools

MATLAB, Simulink, Aerospace Blockset, Aerospace Toolbox, Bioinformatics Toolbox,


Communications System Toolbox, Computer Vision System Toolbox, Control System Toolbox,
Curve Fitting Toolbox, Data Acquisition Toolbox, Database Toolbox, Datafeed Toolbox, DO
Qualification Kit (for DO-178), DSP System Toolbox, Econometrics Toolbox, Embedded Coder,
Filter Design HDL Coder, Financial Instruments Toolbox, Financial Toolbox, Fixed-Point
Designer, Fuzzy Logic Toolbox, Gauges Blockset, Global Optimization Toolbox, HDL Coder,
HDL Verifier, IEC Certification Kit (for ISO 26262 and IEC 61508), Image Acquisition Toolbox,
Image Processing Toolbox, Instrument Control Toolbox, LTE System Toolbox, Mapping
Toolbox, MATLAB Builder EX (for Microsoft Excel), MATLAB Builder JA (for Java language),
MATLAB Builder NE (for Microsoft .NET Framework), MATLAB Coder, MATLAB Compiler,
MATLAB Distributed Computing Server, MATLAB Production Server, MATLAB Report
Generator, Model Predictive Control Toolbox, Model-Based Calibration Toolbox, Neural
Network Toolbox, OPC Toolbox, Optimization Toolbox, Parallel Computing Toolbox, Partial
Differential Equation Toolbox, Phased Array System Toolbox, Polyspace Bug Finder, Polyspace
Code Prover, Real-Time Windows Target, RF Toolbox, Robust Control Toolbox, Signal
Processing Toolbox, SimBiology, SimDriveline, SimElectronics, SimEvents, SimHydraulics,
SimMechanics, SimPowerSystems, SimRF, Simscape, Simulink 3D Animation, Simulink Code 10
MATLAB

11
MATLAB Mobile

12
MATLAB Online

13
My Personal Tips

14
Your Goals in Formula Student

Come up with data-based goals!


Balance efforts!

Shooting for the stars without evidence is not ideal.

15
Simulation in Formula Student

Use simulation to help you achieving your goals!

Simulating to find your goals usually does not work.

16
Simulation in Formula Student

The quality of your car is not defined by its highlights.

You are 1 team that builds 1 car.


It’s the sum that matters.
Teamwork is key!

17
MathWorks Tools in Formula Student

Technical
Computing

Control Design/
Vehicle
Programming
Modeling
ECUs

18
Technical Computing

Access Explore & Discover Share


Files Reporting and
Data Analysis Documentation
& Modeling

Algorithm
Software Outputs for Design
Development

Code & Applications


Application
Development
Hardware Deployment

Automate
19
Model Based Design:
Control Design – Program ECUs

+
CTRL PLANT
-

20
+
Model Based Design: CTRL PLANT
-
Control Design – Program ECUs

C / C ++
Code
Wrapper

ECU

Code generation
1. Supported microcontrollers
• Texas Instruments C2000 / C6000
• STM32F4 Discovery Board
• Beagle Bone Black
• …
2. Third-party solutions with Simulink interface
3. Code generation using MathWorks tools,
Compilation using 3P IDE
21
+
Model Based Design: CTRL PLANT
-
Control Design – Program ECUs
ECU
Requirements C / C ++ User Test
Code
Wrapper
System System ECU HIL

Design Test
ECU

Component Subsystem ECU

Design Test

C / C++
Code

22
+
Model Based Design: CTRL PLANT
-
Control Design – Program ECUs

Requirements C / C ++ User Test


Code
Wrapper
System Simulink
MATLAB
System Simscape
Simulink Design Test Simulink Real-Time
Stateflow ECU
Simscape
Simulink Coder Component Subsystem Embedded
Simulink Real- Coder
Time (for RCP) Design Test

C / C++
Code
Embedded Coder

23
+
Vehicle Modeling CTRL PLANT
-

Mathematical Gray Box Black Box


Models Models Models
• First principles • Parameter • Lookup tables
• Component-based estimation • System
physical models identification
EQs DATA

mCar

mWheel

25
+
Vehicle Modeling CTRL PLANT
-

Mathematical Gray Box Black Box


Models Models Models
• First principles • Parameter • Lookup tables
• Component-based estimation • System
physical models identification
EQs DATA

mCar

mWheel

26
+
Vehicle Modeling CTRL PLANT
-

Mathematical Gray Box Black Box


Models Models Models
• First principles • Parameter • Lookup tables
• Component-based estimation • System
physical models identification
EQs DATA

mCar

Optimization

mWheel

27
+
Vehicle Modeling CTRL PLANT
-

Mathematical Gray Box Black Box


Models Models Models
• First principles • Parameter • Lookup tables
• Component-based estimation • System
physical models identification
EQs DATA

mCar

Identification

mWheel

28
Tuning of Design Parameters Using Simulink Design
Optimization

29
Let‘s have a look at some models

>> sm_double_wishbone_suspension
>> threeSpeedVehicle_engine
>> electricVehicle_closedLoop

30
MathWorks Tools in Formula Student

Technical
Computing

Control Design/
Vehicle
Programming
Modeling
ECUs

31
Support for you – Summarized on one page

WHERE
mathworks.com/academia/student-
competitions/formula-student-india/

WHAT
One page embracing all our resources for you.
 MATLAB and Simulink Racing Lounge
 Software Offer
 Online Training: Physical Modeling
 Access to our support

32
Software Offer for Formula Student Teams

 Work with MATLAB, Simulink and 40+ toolboxes


Bigger than some campus licenses

 Install it on your personal / team machines


Great freedom and ease of use

 Access the technical support


Solve your problems faster

33
Software Offer for Formula Student Teams

 Easy access
– Appoint one license admin in your team
– Follow link on MathWorks FSI page

– Specify number of machines etc.


– Distribute the licenses to your team mates

34
Online Training

 Modeling, simulating, and analyzing


automotive systems.

1. Longitudinal vehicle dynamics


– set up a vehicle model
– predict lap times, fuel consumption, and
battery life.
2. 3D suspension modeling,

 All models on FileExchange


 How to apply?
MathWorks FSI page

35
MATLAB & Simulink Racing Lounge

WHAT
Video podcast dedicated to help you with your
Formula Student project.
Views [-] Video Time [h]
mathworks.com/videos 40178 (4917*) 2830 (344*)
YouTube.com 39572 2725
* last 30 days, data: Oct 8th 2015

WHERE
mathworks.com/racinglounge

WHEN
A new episode every other Wednesday

36
MATLAB & Simulink Racing Lounge

 So what do you get?


You learn from
judges.
Interviewing
Judges

You are in charge.


You get You learn basic You learn special You learn very We learn from you.
an overview. concepts. concepts. special concepts.

Tire Modeling

Resources for Principles of CAD Import in Basics of Code Battery Lap time
Your Project Control Design SimMechanics Generation Modeling simulation

37
MATLAB & Simulink Racing Lounge

Contributions
Feedback welcome! welcome! You learn from
[email protected] judges.
Interviewing
facebook.com/groups/racinglounge Judges

You are in charge.


You get You learn basic You learn special You learn very We learn from you.
an overview. concepts. concepts. special concepts.

Tire Modeling

Resources for Principles of CAD Import in Basics of Code Battery Lap time
Your Project Control Design SimMechanics Generation Modeling simulation

38
MATLAB & Simulink Racing Lounge

39
How to use our support

 Beginner → mathworks.com/fsuk → MATLAB & Simulink Tutorials


→ mathworks.com/racinglounge
→ mathworks.com/products

40
How to use our support

 Advanced User → mathworks.com/support


→ mathworks.com/racinglounge

 Technical Problem →
41
Thank you

42

You might also like