© Maplesoft, a division of Waterloo Maple Inc. 2010.
Automotive ApplicationsOmer Yagel,VP Business Development, [email protected]
© Maplesoft, a division of Waterloo Maple Inc. 2010.
POWERTRAINAutomotive Applications
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Powertrain: Engine, Transmission, Drivetrain
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Powertrain: Mean-value Engine
Throttle Inlet Manifold
Engine Power
External Load (dyno)
Speed, Torque
Energy Consumption
Standard Equations(Maple Custom Components)
Controller
© Maplesoft, a division of Waterloo Maple Inc. 2010.
© Maplesoft, a division of Waterloo Maple Inc. 2010.
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Engine Startup with Battery
Mechanical Load
Alternator/Charge Control
Starter Sequence
Battery
Heat Dissipation
© Maplesoft, a division of Waterloo Maple Inc. 2010.
STEERINGAutomotive Applications
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Steering Mechanism
© Maplesoft, a division of Waterloo Maple Inc. 2010.
NVH: Power Steering with Electrical Servo
© Maplesoft, a division of Waterloo Maple Inc. 2010.
NVH: Steering Vibration Analysis
© Maplesoft, a division of Waterloo Maple Inc. 2010.
ELECTRIC VEHICLESAutomotive Applications
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Battery Model
Thermal Efficiency (lookup)
Energy Loss (thermal)
Charge Saturation (lookup)
State of Charge with low-charge voltage degradation (lookup)
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Simulation Results
Battery Current Battery Voltage
State of Charge Battery Temperature
Mechanical Load: Speed
Mechanical Load: Torque
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Battery Model (Version 2)
© Maplesoft, a division of Waterloo Maple Inc. 2010.NSERC/Toyota/Maplesoft Industrial Research Chair in Mathematics-Based Modelling and Design 16
Battery-Electric Vehicle
• MapleSim realization of battery electric vehicle
• Powered by a lead-acid-battery
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Electric circuit battery model
9NSERC/Toyota/Maplesoft Industrial Research Chair in Mathematics-Based Modelling and Design
Chen and Rincón-Mora battery
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Comparison with actual battery discharge
10NSERC/Toyota/Maplesoft Industrial Research Chair in Mathematics-Based Modelling and Design
Chen and Rincón-Mora battery
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Hybrid-Electric Vehicle
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Pressure Regulator
Hydraulics: Pressure Regulator
© Maplesoft, a division of Waterloo Maple Inc. 2010.
VEHICLE DYNAMICSAutomotive Applications
© Maplesoft, a division of Waterloo Maple Inc. 2010.
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Full-Chassis Model
Tire Model• Fiala• Calspan• Pacejka• User-defined
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Rider Model with Restraints
© Maplesoft, a division of Waterloo Maple Inc. 2010.
© Maplesoft, a division of Waterloo Maple Inc. 2010.
HARDWARE-IN-THE-LOOP TESTINGAutomotive Applications
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Control systems design process
Plant modeling
Controllerdesign
HIL test
Target
Reduce plant modeling time from months to days
Fastest plant models for HIL testing (10x)
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Simulation cycle time = 10ms
SimMechanics (ms)
MapleSim S-function
Simulink (ms)
Speed advantage
Double Pendulum 137 14 9.9x
Four Bar Linkage 288 70 4.1x
Stewart Platform 710 74 9.6x
Faster real-time simulation
• Model optimization and simplification• Unique multibody model formulation• Optimized code generation• More systems become feasible for RT simulation
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Real-Time Performance…
63ms Cycle Time
© Maplesoft, a division of Waterloo Maple Inc. 2010.
…with no loss of Fidelity
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Host PC with…• MapleSim• Full-chassis model• Connectivity Toolbox• LabVIEW• Simulation Module
PXI Chassis• LabVIEW/RT Controller Module
Digital Out
CAN bus Interface
MotoTronStabilityController
Example: Stability Control Test System
Control Output Display
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Vehicle Model
Tire Model• Fiala• Calspan• Pacejka• User-defined
© Maplesoft, a division of Waterloo Maple Inc. 2010.
Code Generation of Model for LabVIEW
Vehicle Model loaded on to LabVIEW/Real-Time
Controller loaded on to Prototype Controller
LabVIEW Operator Interface
Model Code Generation to LabVIEW
Bicycle Model
© Maplesoft, a division of Waterloo Maple Inc. 2010.
With Stability ControllerWithout Stability Controller
© Maplesoft, a division of Waterloo Maple Inc. 2010.