Real-Time Modelica Simulation on a Suse Linux Enterprise Real Time PC

Similar documents
Simulation of Hybrid Electric Vehicles

Modeling and Simulation of a Large Chipper Drive

Page Dr. Margit Noll,* Harald Giuliani,* Dragan Simic,* Valerio Conte,* Hannes Lacher,*and Peter Gollob*

Investigation of the Operational Behavior of a Large Chipper Drive

Integration of complex Modelica-based physics models and discrete-time control systems: Approaches and observations of numerical performance

Virtual Electric Vehicle Design using Real-world Coupled Realtime Simulation

COUPLING HIL-SIMULATION, ENGINE TESTING AND AUTOSAR- COMPLIANT CONTROL UNITS FOR HYBRID TESTING

Synchronising a Modelica R. Real-Time Simulation Model with a Highly Dynamic Engine Test-Bench System. Abstract. 2 Hardware-in-the-Loop system

Experience the Hybrid Drive

Virtual Testing of the Full Vehicle System

Implementation of an Extended Vehicle Model Architecture in Modelica for Hybrid Vehicle Modeling: Development and Applications

Testing Energy Storage Systems: From EVs to Utility Grid

Modelling of Electric Drives using freefoclib

Performance Evaluation of Electric Vehicles in Macau

Regenerative Braking System for Series Hybrid Electric City Bus

Finite Element Based, FPGA-Implemented Electric Machine Model for Hardware-in-the-Loop (HIL) Simulation

Real-Time Simulation of A Modular Multilevel Converter Based Hybrid Energy Storage System

OPENSTEERING PLATFORM

NOVEL MODULAR MULTIPLE-INPUT BIDIRECTIONAL DC DC POWER CONVERTER (MIPC) FOR HEV/FCV APPLICATION

Momentu. Brake-by-Wire Gathers. HIL Test System for Developing a 12-V Brake-by-Wire System BRAKE-BY-WIRE SYSTEMS

Testing Electrified Drivetrains for Vehicles without the Battery or Engine. Application Reprint of Readout No. 38

PV inverters in a High PV Penetration scenario Challenges and opportunities for smart technologies

System Analysis of the Diesel Parallel Hybrid Vehicle Powertrain

Combining Optimisation with Dymola to Calibrate a 2-zone Predictive Combustion Model.

Highly dynamic control of a test bench for highspeed train pantographs

A full vehicle simulation of an HEV starter-generator concept with the SmartElectricDrives library

IMPLEMENTATION OF A VEHICLE-IN-THE-LOOP DEVELOPMENT AND VALIDATION PLATFORM

HYSYS System Components for Hybridized Fuel Cell Vehicles

Development and Optimization System of Vehicle Electronic Fuel Injection

SIL, HIL, and Vehicle Fuel Economy Analysis of a Pre- Transmission Parallel PHEV

European Conference on Nanoelectronics and Embedded Systems for Electric Mobility. Functional Validation of Battery Management Systems

VEHICLE DYNAMICS BASED ABS ECU TESTING ON A REAL-TIME HIL SIMULATOR

Podium Engineering complete race cars, vehicle prototypes high performance hybrid/electric powertrain

POWERTRAIN SOLUTIONS FOR ELECTRIFIED TRUCKS AND BUSES

Modelling and Simulation Specialists

MoBEO: Model based Engine Development and Calibration

ESC-HIL TEST SYSTEM SOLUTIONS FOR VIRTUAL TEST DRIVING

From simulation to real time control of an all electric bus : the ElLiSup project

66RHMLPD ([DPSOHVRIXVDJHDQGVSUHDGRI'\PROD ZLWKLQ7R\RWD 0RGHOLFD:RUNVKRS3URFHHGLQJVSS

Developing a Methodology for Certifying Heavy Duty Hybrids based on HILS

Design and evaluate vehicle architectures to reach the best trade-off between performance, range and comfort. Unrestricted.

Modelling of a Double Clutch Transmission with an Appropriate Controller for the Simulation of Shifting Processes

VIRTUAL HYBRID ON THE ENGINE TEST BENCH SMART FRONTLOADING

We accelerate e-mobility

Analysis and Design of the Super Capacitor Monitoring System of Hybrid Electric Vehicles

Vehicle Powertrain Dynamometer

Modelling, Control, and Simulation of Electric Propulsion Systems with Electronic Differential and Induction Machines

Real-time Simulation of Electric Motors

GRAND RENEWABLE ENERGY 2018

MBD solution covering from system design to verification by real-time simulation for automotive systems. Kosuke KONISHI, IDAJ Co., LTD.

Models everywhere: How a fully integrated model-based test environment can enable progress in the future

Design and Experimental Study on Digital Speed Control System of a Diesel Generator

Utilizing Object-Oriented Modeling Techniques for Composition of Operational Strategies for Electrified Vehicles

AVL SERIES BATTERY BENCHMARKING. Getting from low level parameter to target orientation

Model-Based Design and Hardware-in-the-Loop Simulation for Clean Vehicles Bo Chen, Ph.D.

VIRTUAL VEHICLE Research Center

Keysight Technologies Scienlab Charging Discovery System

The MathWorks Crossover to Model-Based Design

DRAFT (IMECE ) Hardware-In-the-Loop Simulation for Control Development in EHPV Applications

Ming Cheng, Bo Chen, Michigan Technological University

ASM Brake Hydraulics Model. dspace Automotive Simulation Models ASM Brake Hydraulics Model

An automatic system to test Li-ion batteries and ultracapacitors for vehicular applications

Five Cool Things You Can Do With Powertrain Blockset The MathWorks, Inc. 1

IMPLEMENTING A BATTERY ENERGY STORAGE SYSTEM WITH A CONVERTERLESS DIRECT CONNECTION TO AN LVDC DISTRIBUTION NETWORK

LOAD SHARING WITH PARALLEL INVERTERS FOR INDUCTION MOTOR DRIVE APPLICATION

Isolated Bidirectional DC DC Converter for SuperCapacitor Applications

5 kw Multilevel DC-DC Converter for Hybrid Electric and Fuel Cell Automotive Applications

VALIDATION OF A HUMAN-AND-HARDWARE-IN-THE- LOOP CONTROL ALGORITHM

Objectives / Expected Results

Fast Orbit Feedback (FOFB) at Diamond

New Technologies for Fuel Cells in Future Powertrain Applications

TECHNICAL ISSUES IN DEVELOPMENT OF A VARIABLE HYBRIDITY FUELCELL LOCOMOTIVE

Accelerated Testing of Advanced Battery Technologies in PHEV Applications

zub A Software Kernel for Servo Drives and Frequency Converters machine control AG

BEYOND TEARDOWN - AVL SERIES BATTERY BENCHMARKING

VESI: Demonstrator #2 Vehicle Integrated Power Conversion

Reciprocating Compressor Modeling: A Comparison between 3D-FSI and GT-SUITE 1D Simulation Results

V-CAP TM A FEV VIRTUAL POWERTRAIN CALIBRATION PLATFORM

The evaluation of endurance running tests of the fuel cells and battery hybrid test railway train

USING OF dspace DS1103 FOR ELECTRIC VEHICLE MODELING

EMC System Engineering of the Hybrid Vehicle Electric Motor and Battery Pack

dspace GmbH Rathenaustr Paderborn Germany dspace Technology Conference Workshop #2

Integration of EtherCAT in Advanced Test Systems Solutions and Challenges. Dr. Frank Schütte, Andreas Tenge, Dr. László Juhász dspace GmbH, Paderborn

Technology from the New Product SANUPS K for a Smart Grid Society

Seismic Engineering Research Infrastructures for European Synergies. JRA1: Small Lab Experience. Iasi 13th July 2009

elektronik Designing vehicle power nets A single simulation tool from initial requirements to series production

Bicycle Hardware in the Loop Simulator for Braking Dynamics Assistance System

Model based development of Cruise Control for Mercedes-Benz Trucks

Test & Validation Challenges Facing ADAS and CAV

Energy Systems and Storage Integration R&D at NREL

Behaviour of battery energy storage system with PV

Digital Twin Validation for Distributed Resource Converters and Assets

Analysis and Design of Improved Isolated Bidirectional Fullbridge DC-DC Converter for Hybrid Electric Vehicle

«electricity & Vehicles» PLATFORM

INFLUENCE OF TEMPERATURE ON THE PERFORMANCE TOOTHED BELTS BINDER MAGNETIC

EGVIA Workshop: European funded project results - Reduction of CO2 emissions from Heavy-Duty Trucks.

ASM Gasoline Engine Simulation Package. dspace Automotive Simulation Models ASM NEW: Gasoline Engine Model and ASMParameterization

LMS Imagine.Lab AMESim Ground Loads and Flight Controls

Dynamic simulation of the motor vehicles using commercial software

INVESTIGATION AND PERFORMANCE ANALYSIS OF MULTI INPUT CONVERTER FOR THREE PHASE NON CONVENTIONAL ENERGY SOURCES FOR A THREE PHASE INDUCTION MOTOR

Transcription:

Real-Time Modelica Simulation on a Suse Linux Enterprise Real Time PC Arno Ebner Martin Ganchev Helmut Oberguggenberger Franz Pirker Arsenal Research Giefinggasse 2 1210 Vienna Austria arno.ebner@arsenal.ac.at Abstract This paper presents a real-time simulation system for a Suse Linux Enterprise Real-Time (SLERT) operating system workstation. With this system can be executed Hardware-in-the-loop (HIL) simulation. HIL is the integration of real components and system models in a common simulation environment. The main focuses of this simulation system presented in this paper are the development and the validation of simulation models of electric components (e.g. battery systems, electric drives etc.) for Hybrid (HEV) and Electric Vehicles. The system is based on a Linux real-time computer with numerous analoge/digital input and output channels and all simulation models are implemented in Modelica using the for example the SmartPowertrains and SmartElectricDrives libraries. The models are simulated with the Dymola simulation environment for Linux. Keywords: Real-time simulation, hardware-in-theloop simulation, hybrid electric vehicle 1 Intoduction Hardware-in-the loop (HIL) is a useful method for the testing hybrid and electric vehicles components and is important for the validation and the verification of implemented simulation models. The integration of real components and virtual models in a common simulation environment highly supports the development processes of hybrid and electric vehicle components like electric drive systems or energy storage systems. At Arsenal Research vehicle models are implemented in Modelica using the powerful SmartPowerTrains and SmartElectricDrives libraries. These vehicle models can be simulated with the Dymola simulation environment. The proposed hardware-inthe-loop simulation workstation is based on a Dual CPU Xeon system with a SUSE Linux Enterprise Real-Time (SLERT) operating system. This operating system allows CPUs to be shielded from other processes and guarantees a highly deterministic execution environment. This system guarantee short response times and fast cycle times which are essential to meet the requirements of HIL simulations of for example electric drive trains. On this computer system can be executed standard Linux application such as the Dymola simulation tool. With the Modelica Real-Time Interface software, which was developed by Arsenal Research an interconnection between the simulation tool and I/O processes was realized. On this system sampling times up to 400 microseconds can be achieved depending on the complexity of the simulation model and the number of input and output channels. The I/O functionality of the HIL workstation is realized by data acquisition cards on which can be connected the high-power energy storage test bench and the high dynamic dynamometer. The energy storage test bench has a maximum charge power of 48kW and a maximum discharge power of 44kW at a maximum voltage of 600V. With the drive train test bed (dynamometer) can be tested electric drives with a maximum power of 110kW and up to a speed of 8000rpm. To connect Electronic Control Units (ECU) to the HIL simulator there exists also a CAN interface to the simulation environment. In that way the simulation can for example generate reference values which will be transmitted by CAN to the testing system or for example the simulation receives signals from the ECU and can evaluate these signals. Detailed information about the implemented hybrid and electric vehicle models and especially about their real-time capability will be given in the paper. Also the connection between the Dymola simulation tool and the I/O functionalities will be described. Finally as an application example for the test facility a HIL simulation of a real electric drive system (electric drive, power electronics and battery) for a two wheels vehicle will be shown. The Modelica Association 375 Modelica 2008, March 3 rd 4 th, 2008

A. Ebner, M. Ganchev, H. Oberguggenberger, F. Pirker Figure 1: System overview of a HIL configuration for testing the electric components of a hybrid electric vehicle 2 System Overview 2.1 Real Time Computer The main part of the proposed system is a 3.2 GHz Dual CPU Workstation with a SUSE Linux Enterprise Real-Time (SLERT) operating system. On this system operates a normal Dymola simulation environment for Linux on which can be implemented and simulated Modelica models. The effort of this system is that the simulation models can be executed in realtime directly from the simulation environment. The proposed simulation computer with the SLERT operating system guarantees short response times and fast cycle times; such fast sampling time is for example required for HIL simulations of drive trains. A sampling frequency of over 2 khz can be achieved depending on the complexity of the simulation model and the number of input and output channels. The input and output functionality to the test benches is provided by an analoge/digital data acquisition card connected and for the digital communication with Electronic Control Units (ECU) by an external CAN interface. bench on which is connected the testing drive and for the energy storage test bench on which is for example connected a real battery. As feedback the simulation tool receives measured values from the real components. In figure 1 is given a possible schematic overview of the HIL system for testing the electric components for a hybrid or an electric vehicle. In this case the motor control unit (MCU), the power electronics (inverter), the electric drive, the battery management system (BMS) and the battery stack are the systems under test. The behavior of the vehicle for example the internal combusting engine, the driving dynamics, the ambient conditions, the drive cycle and the driver will be simulated on the real-time simulation workstation. Table 1: Technical data of drive-train test-bench (dynamometer) Peak Power Peak Torque Peak Speed Control Modes Ext. Data I/O Freq. 110 kw 500 Nm 8000 rpm Torque or Speed 500 Hz 2.2 Testing Infrastructure The simulation environment on the Linux computer generates reference values for the drive train test The Modelica Association 376 Modelica 2008, March 3 rd 4 th, 2008

Table 2: Technical data of electric energy storage test-bench memory and the DAQ functions for analoge and digital In- and Output. Charge mode Peak Voltage Peak Current Discharge mode Peak Voltage Peak Current Control Modes 480 V 100 A @ 480 V or 500 A @ 60 V 600 V 540 A @ 600 V or 750 A @ 60 V Voltage, Current, Power, Resistance 3 Modelica Real-Time Interface The Modelica Real-Time Interface provides an interconnection between the Dymola simulation tool and the input and output functionalities of the system. The interface guarantees the synchronisation between the simulation time and the real time. Simulation time means the virtual time inside of the simulation time which will be matched with the time in the real world by the Real-Time Interface. The interface provides also the signal conditioning of the simulation variables to input and output values of the DAC channels, in that way the test benches can be connected directly to the simulation workstation. Figure 3: The two main processes for the real-time simulation For a running real-time simulation two main processes the so-called Dymosim process and the RTmod process works together. The model and solver are executed in the Dymosim process, this is the lefthanded process in figure 3. The model can be build with the RTInterface blocks for example for Trigger functions and data I/O. Data I/O is implemented by a Shred Memory and synchronized by semaphores. All functionality in Modelica is implemented using external c-functions and Modelica standard blocks. The RTmod process (right-handed process in figure 3) is completely c-written it includes the Frequency Based Scheduler synchronization the Data I/O over shared Figure 2: Functional overview of the Modelica realtime interface 4 Application Examples 4.1 Hybrid Electric Vehicle HIL Simulation A hardware-in-the-loop simulation of a HEV system will be shown as an application example. The behavior of a Mild HEV is simulated on the Linux realtime computer on which is connected a real electric drive with a peak power of 12 kw and the motor control unit for this electric drive. The whole HEV is modeled in Modelica using the SmartPowertrains library and the SmartElectricDrives library. Based on suited power requirements pointed out by a drive cycle, the simulation model generates the reference values for the testing drive, (e.g. a reference torque) which are communicated to the Motor Control Unit (MCU) via the CAN bus and the power inverter generates the electric signals for the drive. The measured torque in the load cell of the test bench corresponds to the torque of the power train, this feedback value goes back the simulation model and new reference values can be calculated. The Modelica Association 377 Modelica 2008, March 3 rd 4 th, 2008

A. Ebner, M. Ganchev, H. Oberguggenberger, F. Pirker 5 Conclusion Figure 4: HEV hardware-in-the-loop simulation 4.2 Electric Two-Wheeler HIL Simulation The capabilities of electric two-wheelers are intensively investigated due to their high potential for improved urban mobility as well as tourist or sport application. Nevertheless existing products are in many cases lacking of appropriate range or power to achieve a broad (satisfactory) customer acceptance. To evaluate the technological potential of electric two-wheelers different e-scooter concepts have been analyzed by simulation. Based on the simulation environment available at arsenal research an electric scooter model was set up and simulations using different electric drive configurations have been performed. The results allow for determination of high power scooter concepts. For validation and demonstration of a high power two-wheeler an e-scooter prototype has been realized and tested. The simulation and test results in e.g. performance and range will be given as well as the further improvement potential will be discussed. Figure 5: Electric two-wheeler hardware-in-the-loop simulation In the provided paper is presented a HIL simulation solution for development and for testing of components for HEV`s. The powerful hardware of the simulation computer and the real-time operating system allows the simulation of complex models with a fast data exchange with the real components which are connected to test benches. With the described Modelica Real-Time Interface it is possible to execute the HIL simulation direct from the Dymola simulation tool with which was implemented the model. The benefit of this system is that a simulation engineer can for example validate an implemented model directly, matching the simulation results with the measured values at the connected real component. Or in the advanced development an engineer can test a developed component also when the entire system is not available; the prototype of the system exists only as a virtual model in the simulation. References [1] Peter Fritzson, Principles of Object- Oriented Modeling and Simulation with Modelica 2.1, IEEE Press, Piscataway, NJ, 2004 [2] M. Otter, H. Elmqvist, Modelica Language, Libraries, Tools, Workshop and EU- Project RealSim, Simulation News Europe, pp. 3-8, Dec. 2000 [3] A. Ebner, A. Haumer, D. Simic, F. Pirker: Interacting Modelica using a Named Pipe for Hardware-in-the-loop Simulation, 5th International Modelica Conference Proceedings Vol.1, pp. 261-266, Vienna, Austria, [4] A. Ebner, F. V. Conte, F. Pirker: Rapid Validation of Battery Management System with a Dymola Hardware-in-the-Loop Simulation Energy Storage Test Bench, 22nd International Battery, Hybrid and Fuel Cell Electric Vehicle Symposium & Exposition; pp. 1570-1574, Yokohama, Japan, [5] D. Simic, H. Giuliani, C. Kral, J. Gragger, Simulation of Hybrid Electric Vehicles, 5th International Modelica Conference Proceedings Vol.1, pp. 25-32, Vienna, Austria, [6] J. Gragger, D. Simic, C. Kral, H. Giuliani, V. Conte, F. Pirker, A Simulation Tool for The Modelica Association 378 Modelica 2008, March 3 rd 4 th, 2008

Electric Auxiliary Drives in HEVs - the Smart Electric Drives Library, FISITA World Automotive Congress, Yokohama, Japan, [7] M. Noll, D. Simic, A. Ebner, Evaluation of the Technological Potential of Electric Two- Wheelers Based on a High-Power Electric Scooter, EET-2007 European Ele-Drive Conference, http://www.ele-drive.com, accessed on 2007-03-06 The Modelica Association 379 Modelica 2008, March 3 rd 4 th, 2008