Synopsys, Inc. · NASDAQ:SNPS
Synopsys — 8th International Modelica Conference 2011
18 slides from Synopsys's conference presentation, March 2011
Slide 1: Simulation-based development of automotive control software with Modelica
Simulation-based development of automotive control software with Modelica Emmanuel Chrisofakis, Dr. Anton Rink, Daimler AG Dr. Andreas Junghanns, QTronic GmbH Christian Kehrer, ITI GmbH 8th International Modelica Conference, March 2011, Dresden
Slide 2: Contents
Contents Software in the loop simulation at Daimler SIL-environment / functionality Plant model Model compatibility Integration of a SIL-Project Summary E. Chrisofakis, Daimler AG 8th International Modelica Conference, March 2011, Dresden slide 2
Slide 3: Software in the loop simulation at Daimler
Software in the loop simulation at Daimler Application area Tool chain SIL-tool Testing and deployment of functional code Backbone (in house development) Version update safequarding of functional code „Desktop“-application / -calibration Silver (QTronic GmbH) Fault simulation Virtual endurance testi
Slide 4: SIL-environment / functionality
SIL-environment / functionality Plant model (Modelica) Functional code (C-Code) The simulation is controlled by a special program (e.g. Silver) which guards the single modules Every module (called „Client“) sends its Outputs to Backbone und reads its Inputs from him, i.e. no direct communication bet
Slide 5: Plant model
Plant model Requirement: accurate calculation of gear shifting • Filling and draininig of clutch pistons • detailed representation of piston mechanics • calculation of the gearbox kinematics including the impact of it to the internal inertia Description • The plant model describes the torsional (1-D
Slide 6: Plant model: Modelica Libraries
Plant model: Modelica Libraries For the creation of the plant model, own devised libraries and standard Modelica components have been used Car-Library includes basic models for building hydraulic and mechanical structures (e.g. orifice, valve edge, planetary gear, parking lock, etc.) AtNag2-Library
Slide 7: Plant model: mechanics
Plant model: mechanics Hydraulic interface (from the hydraulic control unit) Sensor interface parameter masks of a clutch model (rot. speeds) All independent inertias of the gearbox are explicitly modeled E. Chrisofakis, Daimler AG 8th International Modelica Conference, March 2011, Dresden slide 7
Slide 8: Plant model: hydraulics (control unit)
Plant model: hydraulics (control unit) The electro-hydraulic control model has been modeled to torque converter phenomenologically (control logic, no dynamics) for and lock-up clutch Hydraulic interface (to the gearbox) the sake of simulation performance. However, many components such as orifices, s
Slide 9: Model compatibility
Model compatibility • The model is compatible to both Dymola 7.4 as well as SimulationX 3.4 as long as MSL 3.1 is used • Existing models based on older MSL versions have to be “upgraded” • Once this job is done, no further adjustment is necessery and the models can be easily loaded in both software
Slide 10: Integration of a SIL-Project: Silver
Integration of a SIL-Project SiL environment ● Simulation: Silver (QTronic) ● Measurement: CANape (Vector) ● Debugging: Visual Studio (Microsoft) ● Automated Test: TestWeaver (QTronic) ● Code Coverage: CTC++ (Verifysoft) Silver E. Chrisofakis, Daimler AG 8th International Modelica Conference, March
Slide 11: Integration of a SIL-Project: Silver GUI
Integration of a SIL-Project SiL environment graphical user-interface: ● Simulation: Silver (QTronic) • interaction of driver/user with simulated car ● Measurement: CANape (Vector) • accel pedal, steering, etc. can be controlled ● Debugging: Visual Studio (Microsoft) • plotter, breakpoints, scriptin
Slide 12: Integration of a SIL-Project: hardware DLL
Integration of a SIL-Project SiL environment hardware DLL: ● Simulation: Silver (QTronic) • simulated vehicle, engine and ● Measurement: CANape (Vector) transmisssion ● Debugging: Visual Studio (Microsoft) • Dymola/SimulationX ● Automated Test: TestWeaver (QTronic) Plant model ● Code Coverage: CTC++
Slide 13: Integration of a SIL-Project: XCP with CANape/INCA
Integration of a SIL-Project SiL environment XCP with Canape/INCA: ● Simulation: Silver (QTronic) • XCP measurements via TCP/IP ● Measurement: CANape (Vector) • no limitation of bandwith as with CAN ● Debugging: Visual Studio (Microsoft) • online calibration of parameters ● Automated Test: TestWeave
Slide 14: Integration of a SIL-Project: ECU control software as DLL
Integration of a SIL-Project SiL environment ECU control software as DLL: ● Simulation: Silver (QTronic) • entire ECU control software ● Measurement: CANape (Vector) • frame software emulated by wrapper ● Debugging: Visual Studio (Microsoft) ● Automated Test: TestWeaver (QTronic) Plant model CANape
Slide 15: Integration of a SIL-Project: A2L and parameter
Integration of a SIL-Project SiL environment A2L and parameter: ● Simulation: Silver (QTronic) • A2L with address infromation adapted to the DLL ● Measurement: CANape (Vector) • parameter values loaded at simulation start ● Debugging: Visual Studio (Microsoft) ● Automated Test: TestWeaver (QTronic)
Slide 16: Integration of a SIL-Project: Scripting with Python
Integration of a SIL-Project SiL environment Scripting with Python: ● Simulation: Silver (QTronic) • automate frequently used procedures (e. g. engine ● Measurement: CANape (Vector) start, adaptation procedure etc.) ● Debugging: Visual Studio (Microsoft) • implement control tasks (e.g. driver behavi
Slide 17: Integration of a SIL-Project: Debugging with Visual Studio
Integration of a SIL-Project SiL environment Debugging with Visual Studio: ● Simulation: Silver (QTronic) • suspend simulation at any time ● Measurement: CANape (Vector) • attach Visual Studio Debugger to Silver ● Debugging: Visual Studio (Microsoft) ● Automated Test: TestWeaver (QTronic) Plant mode
Slide 18: Summary
Summary • SIL is an essential tool in the gearbox development at Daimler • For the creation of the SIL plant model, Dymola (MSL 2.x) has been used • Upgrade of the model to MSL 3.1 enables full compatibility to SimulationX v. 3.4 • For the plant model export to SIL the new Modelisar-FMI can be appli
Synopsys — 8th International Modelica Conference 2011 on 6ix