Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

development Calculation and Simulation

The Virtual Vehicle


transient Simulation in the diesel
engine development process
Concerning the topic “Motor Process Simulation in Realtime – Basics and Application Possibilities”, a dissertation
was worked out at the Technische Universität Berlin, which received the “Hermann Appel Preis 2008” in the area
powertrain development. This paper reports about the continuation of the scientific work in the current activities
of modelling and simulation at IAV GmbH: Straight forward high-fidelity system simulation delivers solutions from
module concept evaluation up to real-time application for controls testing ahead of the experiment on the engine
dyno or vehicle.

26 mtZ 12I2009 volume 70


1 Introduction The Authors

IAV uses a modelling software environ-


ment for the advanced diesel develop- Dr.-Ing.
ment. The environment consists of com- Ingo Friedrich
mercial and in-house developed hard- and is team manager Ad­
software as well as model libraries in or- vanced diesel engines
der to handle the growing complexity. The in the business area
library is intensely supported by measure- powertrain mecha­
ment data sources from engine and mod- tronics at IAv GmbH in
ule test benches as well as by the controls Berlin (Germany).
development departments, Figure 1. The
simulation activities are embedded in the
advanced development infrastructure Dr.-Ing. Ralf
which consists of single cylinder and full- Buchwald
size engine test benches as well as vehicle is technical consultant
and component test benches. thermodynamics Ad­
As in reality a virtual test cycle has to vanced diesel engines
consider all effects that are emission rele- in the business area
vant as cold start (friction, warm-up) in- powertrain mecha­
cluding the appropriate control strate- tronics at IAv GmbH in
gies. The modelling platform is flexible Berlin (Germany).
concerning degree of detail, calculation
speed and connectivity. The various test
data sources in conjunction with the Dr.-Ing.
controls development make a fast and ef- Eckhard Stölting
ficient simulation of a test cycle possible. is team manager diesel
Typical overall vehicle simulation stud- engine Control design
ies focus on: in the business area
– exhaust raw emission reduction and ex- powertrain mecha­
haust gas aftertreatment system layout tronics at IAv GmbH in
– turbocharger (TC) matching in con- Gifhorn (Germany).
junction with different exhaust gas
recirculation (EGR) systems [1]
– examination of energy flow and en- Dipl.-Ing.
ergy recuperation systems [2]. Ansgar Sommer
is head of department
Advanced diesel
engines in the busi­
ness area powertrain
mechatronics at IAv
GmbH in Berlin
(Germany).

Figure 1: R&D environment supporting modelling and simulation

mtZ 12I2009 volume 70 27


development Calculation and Simulation

degree of abstraction. Figure 2 assigns a


model type for different vehicle subsys-
tems to a degree of abstraction with one
example of application. The degree of
detail can individually be chosen for
each subsystem depending on the
project definition, the available model-
ling data resources and the calculation
time constraint. In that way the opti-
mum simu­lation quality and efficiency
can be reached. For example the com-
bustion engine can be simulated in less
than real-time using a 0D-gas exchange
Figure 2: Possible degrees of detail exemplary for five vehicle subsystems calculation combined with a mean-
value model-based on an artificial neu-
ral network for the in-cylinder process.
If the energy and heat management
Prerequisites here are a physics-based ability for the latter. Today physics based simulation is the main scope, a high de-
plant model and an appropriate model pa- models replace more and more map- gree of detail can be chosen here – for
rameterisation as well as the parameteri- based models for these applications be- example for subsystem specific concept
sation of the necessary controls model. cause of their superiority in terms of or parametric studies – at minimised
mapping transient behaviour or causal overall calculation time.
relationships between in- and outputs. Figure 3 shows an exemplary segmen-
2 Identification of Software Tools Increasing calculation power of today’s tation into subsystems and the appropri-
CPUs allows a fast execution of rather de- ate software tool in the chosen tool chain
The analysis of the overall vehicle behav- tailed engine models [3]. for an overall vehicle simulation. The
iour in conjunction with a high level of For a flexible simulation of the com- software tools are linked together via the
detail of single components causes unac- bustion engine in the overall vehicle en- vehicle simulation software VeLoDyn (Ve-
ceptable calculation times. Fast calculat- vironment in terms of degree of detail, hicle Longitudinal Dynamics) based on
ing models allow a high number of pa- calculation performance and connectiv- Matlab/Simulink which serves as integra-
rameter variations in a limited time ity a couple of questions concerning tion platform since most of today’s off-
frame. Applications for the validation of model depth and choice of simulation the-shelf tools offer this interface. Fur-
ECU functionalities in a software in the tools have to be answered. One possible thermore Matlab/Simulink is the ade-
loop (SiL) or hardware in the loop (HiL) way of model classification can be done quate software for controls development
environment have even higher demands with a level of abstraction. Early stages and for compiling hardware-independ-
on calculation speed up to real-time cap­ of engine development demand a high ent code with the real-time workshop.
Depending on the application GT-
­Power or Themos is used for the engine
process, Dymola/Modelica for energy
management, cooling system, powertrain
and electric system and AxiSuite or KAT-
Sim [4] for exhaust gas aftertreatment.

3 Engine Modelling

Engine modelling mainly focuses on the


two following points:
– the gas exchange including the turbo/
supercharging and EGR system
– the combustion process with energy
flow analysis and engine out emission
evaluation.
Both should be calculated with high ac-
curacy for transient operation – ideally in
real-time and three dimensional. Howev-
er three-dimensional overall engine mod-
Figure 3: Typical segmentation into subsystems for an overall vehicle simulation elling is still far away from reasonable

28 MTZ 12I2009 Volume 70


calculation time for overall vehicle simu-
lation making a reduction of the degree
of detail unavoidable. GT-Power is used
here for engine modelling supplemented
by zero-dimensional single and two-zone
combustion and exhaust emission calcu-
lation models developed and experimen-
tally validated in-house. These models are
also used for online as well as for real-
time cylinder pressure data analysis on
the test bench and moreover for control
algorithm development or for real-time
combustion model development.
Figure 4 shows the environment being
used in typical projects. The single cylin-
der engine delivers engine data at an early
stage of development to IAV’s OpenTDA Figure 4: Modelling process
for detailed combustion analysis. The re-
sults of the calculation and the compo-
nent test bench data (that means turbo-
charger, heat exchanger, fuel injector etc.) ured data the engine simulation quality and control bus connections. The main
serve as input parameters for the GT-Pow- evolves step by step to a high level con- parts are drive train (including engine,
er engine and the AxiSuite exhaust gas cerning precision, reusability and calcu- clutch and transmission), vehicle, driver
aftertreatment model with heat release lation time. On this basis of system un- and road profile supplemented by vehicle
curves, exhaust emission data, valve dis- derstanding the extrapolation of the en- and control models (SoftECU). Within
charge coefficients etc. After model ad- gine behaviour can be extended. For an this system each submodel can be re-
justment and verification the virtual full- overall vehicle simulation vehicle, driv- placed by another software tool via its
size engine with exhaust gas aftertreat- er, power train and auxiliary systems Matlab simulation interface. Other fea-
ment model is ready for performing pa- have to be modelled with adequate pre- tures are the options to compile a real-
rameter variations or concept studies. cision, too. time capable vehicle model with Matlab’s
For the development and calibration real-time workshop and/or to transfer the
of advanced control functions the “Mod- vehicle model to the engine test bench
ular Prototype Engine Controller” (IAV- 4 Vehicle and for emulating different drive cycles by
MPEC) [5] is used. It can be run in rapid- Auxiliary Systems Modelling controlling engine torque and speed with
prototyping or full-path mode. Its com- different parameter sets for gear ratios or
ponents are: The graphical user interface shown in gear shift strategies in order to optimize
– TRA (Thermodynamic Real-Time Anal- Figure 5 represents the modular architec- fuel consumption and emissions.
ysis) for thermodynamic cylinder- ture of the integration platform VeLoDyn The aim of the SoftECU shown in
pressure analysis with its basic submodels and the signal ­Figure 6 is not to copy the functionality of
– MBCAP (Model-based Controlled Air
Path) for the transient TC and EGR sys-
tem control
– FI2RE (Flexible Injection and Ignition
for Rapid Engineering) for all types of
ignition and fuel injection system
control
– AC3 (Advanced Closed Loop Combus-
tion Control)
– HyWaCoS (Model-based Injection Con-
trol)
– Model-based SCR control.
To use synergetic effects IAV-MPEC is
strongly linked to the IAV simulation
tools TR-Sim (Thermodynamic Real-Time
Simulation) and Themos (by IAV and
­Tesis) for combustion process simula-
tion. Through the repeated interchange
and comparison of simulated and meas- Figure 5: Modular structure of the Matlab-based integration tool VeLoDyn

MTZ 12I2009 Volume 70 29


development Calculation and Simulation

the turbine now serve as input for the Ax-


iSuite model which computes the ther-
modynamics and reaction kinetics in the
exhaust gas aftertreatment system with
differing degree of detail. The AxiSuite
results include the time-based curves for
gas temperatures at relevant positions in
the exhaust system as well as for NH3 and
NOx mass flow. In an iterative process the
GT-Power, VeLoDyn and AxiSuite model
parameters have to be recalibrated until
the optimal solution for engine, gear box
and catalytic system is found.
Above the offline method there is the
option of running all involved software
Figure 6: SoftECU structure tools synchronous in an adequate step
size. This online simulation offers the ad-
vantage that optimization procedures
concerning engine parameters and after-
a real ECU or to display prototype func- the state-of-the-art methodology: The en- treatment design parameters can be
tions, but rather to control all virtual ac- gine variations are simulated offline at done during runtime. The realisation of
tuators as fuel injectors, VTG, EGR valves, steady-state operating points in the repre- an online simulation environment using
intake throttle, VVA etc. during transient sentative map area of the driving-cycle. the named software tools requires:
simulation in an optimal way, using all The scope is the simulation of the input – an adequate selection of the degree of
the information available from the simu- variables for the exhaust gas aftertreat- model detail
lation model. In order to obtain variables ment system: exhaust temperature and – a subsystem specific choice of solver
of interest as for example oxygen amount mass flow as well as exhaust gas composi- step size in order to secure numeric
and peak pressure in the cylinder, EGR tion, particularly NOx. Here, NOx raw stability
mass flow, or DPF loading the real ECU emission is computed using a semi-em- – a feedback control concept.
code has complex observers implemented pirical model based on measured data. The control concept is implemented in
since this information can not be meas- The resulting maps are implemented in the SoftECU described before.
ured directly with sensors. Since the VeLoDyn in order to perform the driving- Figure 8 shows the simulation result
SoftECU has access to all this information cycle simulation in conjunction with the for turbine outlet temperature, NOx con-
directly, the complexity of the SoftECU is Dymola model for the parallel comput- version rate as well as urea and fuel con-
rather small in comparison to the real ing of the transient engine warm-up sumption in the NEDC for the single- and
world ECU or even prototype functions. process, including its gas-exchange com- two-stage TC engine. The latter is matched
ponents. The resulting time-based pro- to a 20 % higher rated power compared
files for exhaust gas temperature, mass to the single-stage engine both aiming at
5 Vehicle Model for Evaluating flow and gas composition downstream of the same exhaust emission and fuel con-
Euro-6 Diesel Car Concepts

In the following example NOx tailpipe


emission and fuel consumption for a Die-
sel-powered vehicle in the NEDC are com-
puted and optimized. The target vari­
ables are to be optimised with:
– engine-based measures (single and
two-stage turbo charging combined
with high/low pressure EGR, match-
ing and warm-up optimisation) and
– emission aftertreatment measures
(matching, calibration and control of
the DeNOx (SCR) and oxidation cata-
lyst system)
in order to find the optimal solution for
the overall system.
In this case offline computation of the Figure 7: Methodology for serial simulation of tailpipe exhaust emission in the driving cycle
type described in Figure 7 can be seen as using GT-Power, VeLoDyn, Dymola and AxiSuite

30 MTZ 12I2009 Volume 70


sumption level. For comparability the
configuration of the exhaust gas after-
treatment system is kept identical.
Immediately apparent in the case of
the two-stage turbocharger system is the
less steep temperature rise and the sig-
nificantly lower temperature level down-
stream of the turbine, resulting in less
favourable conditions for the downstream
exhaust gas aftertreatment components.
The two-stage turbocharger system emits
a significantly higher level of NOx be-
cause of a much lower SCR conversion
rate (65 % for single-stage, 39 % for two-
stage) which doesn’t meet the develop-
ment aim of 70 % of the Euro 6 level any-
more. Fuel consumption for the single-
stage turbocharger system is also about Figure 8: Simulation results – comparison of turbine outlet temperatures for single and dual
8 % lower. Already at the simulation stage turbo charging
stage, the altogether lower level of NOx
conversion, particularly with the two-
stage turbocharger, demonstrates the
problem of optimising the layout of the lead to a higher fuel consumption, which implementation respectively. In the right
EGR-, turbocharger- and SCR system. This means that for this application the use branch the implementation will be inte-
is because of the relatively low exhaust of engine-based improvement measures grated into the overall system followed by
gas temperature level throughout the must be weighted against improvement the test against the specified target values
test cycle. Further optimisation is neces- measures on the exhaust gas aftertreat- from the left branch. The final calibration
sary here, for example by adapting en- ment side. brings out whether the process can be
gine calibration with the aim of shorten- verified. While working through the V-
ing the light-off phase and achieving a process complexity grows due to the
higher exhaust gas temperature. 6 Model-based Controls steadily increasing degree of detail. If an
Figure 9 depicts the simulation result Algorithm Development Process error has been made at the beginning and
for engine heat-up acceleration by means has been taken all the way through the
of a retarded start of fuel injection, a de- The development of automotive control process, its localisation and correction re-
activation of the piston cooling and a algorithms is done according to the V- quires a large amount of time.
post injection in order to raise engine- process, Figure 10. In the first step a con- For the purpose of early detection of
out gas temperature in the first 180 s of cept has to be set up followed by the speci- errors simulation is advantageous. Phys-
the test cycle. However, these measures fication and finally the realisation and ics based models are well suited for the
concept phase, since they are able to rep-
resent the basic geometric attributes for
an at least rough study of the system’s
characteristics. Data driven black-box
models mostly can’t be used in that early
phase because generally no data source
is yet available. The developed models
can also be used for studying system be-
haviour, which is of great importance for
the definition of advanced solutions.
The engine model from the concept
phase is also used in the specification
phase for the layout of the control algo-
rithms. This is done by continuous tests
under pre-specified conditions against
the engine model (MiL). In the phase of
code generation the graphics-based speci­
fication of the software will be ported to a
basic computer language, for example C-
Figure 9: Simulation results – measures for system heat-up of exhaust-gas aftertreatment code. Errors that may occur during this

MTZ 12I2009 Volume 70 31


development Calculation and Simulation

integration platform based on Matlab/


Simulink. With this software environ-
ment it is additionally possible to find
solutions for real-time applications with
specialized tools as Themos and KATsim.

References
[1] Birkner, C.; Jung, C.; Nickel, J.; Offer, T.; von Rüden,
K.: Durchgängiger Einsatz der Simulation beim mo­
dellbasierten Entwicklungsprozess am Beispiel des
Ladungswechselsystems – von der Bauteilaus­le­
gung bis zur Kalibration der Regelalgorithmen. HdT-
Tagung Simulation und Aufladung, Berlin, 2005
[2] Kitte J.; Tietze, T.; Jänsch, D.; Bals, R.: Model­
lierung und Simulation in Dymola/Modelica als
­Basis zur Entwicklung innovativer Wärmemanage­
mentstrategien. In: Wärmemanagement des Kraft­
fahrzeugs VI. S. 252 ff., ISBN 978-3-8169-2820-1,
Expert-Verlag, Renningen, 2008
[3] Friedrich, I.: Motorprozess-Simulation in Echtzeit –
Figure 10: Controls algorithm development process Grundlagen und Anwendungsmöglichkeiten.
­Dissertation, TU Berlin, Shaker-Verlag 2008
[4] Langeheinecke, K.; Dusemund, S.; Schneider, H.;
Bank, R.: KATSim – ein Werkzeug zur numerischen
transformation will be corrected by itera- model environment (Themos and KAT- Simulation von Abgaskatalysatoren. In: MTZ 70
(2009), Nr. 11, S. 858 – 863
tive tests in short loops (SiL). In that phase Sim) can be very efficient, since for both
[5] Stölting, E.; Seebode, J., Gratzke, R.; Behnk, K.:
the model based development is unique applications most of the necessary param- Emissionsgeführtes Motormanagement für
by making a testing against the reference eters are compatible. The contradicting ­Nutzfahrzeuganwendungen. In: MTZ 69 (2008), ­
test cases from the specification phase demands for real-time simulation con- Nr. 12, S. 1042 – 1049
possible. cerning model stability and the numeri-
When the integration phase is reached cal error at large time stepping are still a
it can be assured that the modules fits the challenge. Typically a compromise has to
specification due to the MiL and HiL tests. be found between step size and accuracy.
Accordingly the tests in the integration
phase can be focused on the correct inter-
action between the modules. A stimu­lus 7 Summary and Conclusion
and monitoring of the modules can only
be done via the I/O interface of the ECU. The increasing demands on Diesel com-
Therefore the ECU is driven in combina- bustion engines concerning exhaust
tion with the engine model (HiL). For these emissions, fuel consumption and power
tests the calibration from the specification density lead to a growing complexity of
phase as well as those test cases that are all involved systems. The contradictory
related to the overall system can be used. need for further reducing the develop-
Concerning the calibration phase mod- ment time can therefore only be reached
el-based development not only provides a by an adaptation and improvement of
higher degree of maturity but also a basic the development methodology.
system calibration ready for the detailed The IAV’s approach focuses on a phys-
optimisation. Through this the time to sys- ics-based system view beginning at a very
tem launch can be remarkably shortened. early state of development and attending
Although model-based system develop- to the series production. For this purpose
ment shows significant advantages it is the simulation environment has to be
not (yet) completely accepted. The main easily adaptable, scalable in terms of de-
obstacle is seen in the effort necessary to gree of detail and of high connectivity.
built and parameterize a suitable engine The described hard- and software envi-
model. Providing the parameter set of an ronment for the overall vehicle simula-
existing model combination from the en- tion has a heterogeneous structure based
gine and aftertreatment concept or de- on off-the-shelf and in-house developed
sign phase (GT-Power and Axi­Suite) to a software. It can be adapted also to future
physics based real-time capable engine requirements through the usage of an

32 MTZ 12I2009 Volume 70

You might also like