# ME 7236 Module 1 Autumn 2012

1.1

ME 781
Powertrain Dynamics

Giorgio Rizzoni
Krishnaswamy (Cheena) Srinivasan
The Ohio State University
Department of Mechanical Engineering

Autumn Semester 2012

The Ohio State University
Center for Automotive Research
ME 7236 Module 1 Autumn 2012
1.2

Part I
Engine Dynamics

Giorgio Rizzoni
Jonathan Dawson (The Mathworks)
Yong-Wha Kim (Ford Motor Company)
Byungho Lee (General Motors)
Qi Ma (General Motors)
Inkwang Yoo (Ford Motor Company)
Marcello Canova (The Ohio State University)
Fabio Chiara (The Ohio State University)

ME 7236 Module 1 Autumn 2012
1.3
Module 1
Introduction to Powertrain Dynamics

1.1. COURSE ORGANIZATION ..................................................................... 5
Objective ......................................................................................................... 5
Assignments and examinations ....................................................................... 5
What do we mean by “System Dynamics”? ................................................... 6
What this course is not .................................................................................... 6
Structure of the course .................................................................................... 6
Required background ...................................................................................... 7
1.2. BACKGROUND AND MOTIVATION ................................................ 8
Fuel efficiency improvement .......................................................................... 8
Emission standards ......................................................................................... 9
Emission controls for spark-ignition engines ............................................... 12
The importance of engine control systems ................................................... 14
1.3. INTRODUCTION TO POWERTRAIN DYNAMICS ............................. 16
1.4. MODELING FOR POWERTRAIN CONTROL ..................................... 20
Fundamental equations for modeling fluid systems dynamics ..................... 25
Model coupling techniques ........................................................................... 29
Modeling guidelines ..................................................................................... 31
1.5. TWO IMPORTANT ENGINE CONTROL PROBLEMS ................... 32
The AFR Control Problem ............................................................................ 32
Open-loop AFR Control ............................................................................... 32
Closed-Loop AFR Control ............................................................................ 37
ME 7236 Module 1 Autumn 2012
1.4
The Idle Speed Control Problem .................................................................. 39
Idle Air Control ............................................................................................. 41
Ignition Timing Control ................................................................................ 47
Summary ....................................................................................................... 50
1.6. REFERENCES ......................................................................................... 51
1.7. EXAMPLES ............................................................................................ 52
Example 1.1: Water tank filling dynamics model ........................................ 52
Example 1.2: Compressible flow through an isentropic nozzle ................... 54
Example 1.3: Torsional system dynamics .................................................... 55

ME 7236 Module 1 Autumn 2012
1.5
1.1. COURSE ORGANIZATION
Objective
The objective of this course – the first in a sequence of two - is to introduce
practicing engineers and engineering students (the latter typically in the first or second
year of a M.S. program in electrical or mechanical engineering) to the essential aspects of
modeling and control of automotive powertrains. The course recognizes the significance
of this growing area of engineering and its central role in the automotive industry. The
lectures place emphasis on the integration of many different aspects of powertrain
engineering, including: the dynamics of mechanical, fluid, and thermodynamic systems;
sensor and actuator technology; and feedback controls. Primary emphasis will be given to
dynamics and control of fuel-injected, spark-ignited, internal combustion engines, while
the integration with the complete powertrain (torque converter and transmission) will
also be addressed. The course will present an overview of the major dynamic phenomena
that characterize powertrain behavior: intake and exhaust air flow dynamics; fuel system
dynamics; combustion and emissions; crankshaft dynamics; and air-fuel ratio control.
Emphasis will be placed on explaining the interaction between subsystems, and the
importance of considering the entire vehicle system when assessing the impact of the
performance of a subsystem on overall system performance. Modeling and computer
simulation will be integral part of the course, showing how to build numerical models of
engine/powertrain systems and components and apply them to solve problems pertaining
to powertrain dynamics.

Assignments and examinations
A homework assignment will be handed out each week. Each homework
assignment will include the following components:
a) theoretical: understanding the nature of the problem and identify the path
for solution;
ME 7236 Module 1 Autumn 2012
1.6
b) analytical: development of a mathematical formulation of the problem,
based on a set of equations and a number of physical constants;
c) computational: develop numerical procedures for solving the equations,
formulate criteria for verification and interpretation of the results.
In addition to the homework assignments, the students will complete a modeling,
simulation and system identification project based on data from an actual powertrain.

What do we mean by “System Dynamics”?
System dynamics is a discipline that studies the mathematical representation of
systems, focusing on the dynamic behavior. Typically, the system-dynamic
representation of a complex system such as an automotive powertrain consists of a set of
coupled, nonlinear, ordinary differential equations. Linear and nonlinear system analysis
and computer simulation methods are used to analyze the properties and characteristics of
the describing equations. System dynamics is a discipline that is often presented in the
junior or senior year of the undergraduate mechanical engineering curriculum, focusing
on the dynamics of electrical, mechanical, electro-mechanical, hydraulic, pneumatic, and
thermal systems [1]. In this course it is expected that students have a good working
knowledge of modeling and analysis of these families of systems, and of linear analysis
methods. In addition, the use of computer-aided tools such as Matlab/Simulink is also
necessary to complete many of the assignments in this course [2]. A summary of systems
dynamics concepts is available for those students who are in need of a review [3].
What this course is not
a) Modeling of IC engine thermo-fluid processes.
b) Modeling of mechanical dynamics of engines.
c) Design of transmission elements or subsystems.
Structure of the course
Module 1: Introduction to powertrain dynamics
Module 2: Intake and exhaust dynamics
ME 7236 Module 1 Autumn 2012
1.7
Module 3: Fuel injection and fueling dynamics
Module 4: Combustion, Ignition control and knock
Module 5: Crankshaft dynamics
Module 6: Overview of engine control systems
Module 7: Fluid couplings and torque converters
Module 8: Transmission mechanical system and vehicle longitudinal dynamics
Module 9: Transmission shift hydraulic system
Module 10: Open loop transmission control
Module 8: Shift schedules and continuously variable transmissions

Each of the above modules is presented according to the following sequence:
- Present physical phenomenon in intuitive terms
- Show physical components, where possible, and illustrate performance curves
- Define physical laws
- Derive equations of motion
- Interpret equations of motion
- Discuss computer simulation
- Discuss model identification experiments (where appropriate)

Required background
o Undergraduate level linear system theory
o System Dynamics (dynamics of electrical, electro-mechanical, fluid, thermal, and
mechanical systems) - review available in the technical presentation “Signal and
System Dynamics Integration”, by Profs. Rizzoni, Srinivasan and Yurkovich.
o Basic IC engine processes - review available in the technical presentation
“Internal Combustion Engine Fundamentals”, by Prof. Guezennec.
o Familiarity with the Matlab/Simulink environment - review available in the
GMTEP technical presentation “Matlab/Simulink - Introduction”.
ME 7236 Module 1 Autumn 2012
1.8
1.2. BACKGROUND AND MOTIVATION

Emissions, fuel efficiency and safety requirements have steadily become more
stringent over the last few decades. These regulations can be considered the driving force
behind most of the advancements in the technology of internal combustion engines,
which have been improving at increasing rate with multi-disciplinary effort at all stages
of development.

Fuel efficiency improvement
The recent surge in oil prices has dramatically increased the awareness on
improving the fuel efficiency of passenger vehicles. The problem becomes increasingly
alarming when the entire chain of oil supply, refinement, transportation and utilization is
considered (well-to-wheel analysis).

Figure 1: U.S. Energy Flow Trends in 2005 (Units in quadrillion BTUs)
ME 7236 Module 1 Autumn 2012
1.9
Figure 1 summarizes the energy utilization in the U.S. based on data collected in
2005. Focusing on the bottom part of the chart, it is possible to notice that the petroleum
supplies, which rely mostly on foreign sources (62%), are used almost exclusively for
transportation (out of which, 43% is used for fueling light-duty vehicles, such as
passenger cars and light duty trucks). Furthermore, the energy used for transportation
shows the worst overall efficiency, with values around 20%. This scenario suggests the
strong priority of the automotive industry to design fuel efficient vehicles, as well as the
efforts in improving the overall well-to-wheel efficiency and diversifying the fuel sources
for transportation (i.e., biofuels and natural gas).

Emission standards
Another important motivation for the development of modern and efficient
engines and powertrain systems is dictated by the emission legislations, which have
become increasingly stringent in the past years in the major world automotive markets
(U.S. and Europe), as well as in the emerging economies, such as Asia and Latin
America. These regulations can be considered the driving force behind most of the
advancements in the technology of internal combustion engines.
In the United States, emission standards are managed by the Environmental
Protection Agency (EPA) (www.epa.gov). Few state governments, however, implement
own regulations. This is the case of California, where the California Air Resource Board
(CARB) has applied some of the strictest standards in the world.
Within the Clean Air Act Amendments (CAAA) of 1990, the EPA defined two
sets of federal standards for light-duty vehicles (similar rules have been defined for
heavy-duty vehicles and trucks):
- Tier 1 Standards, which were published on 1991 and were effective from
1994 until 2003;
- Tier 2 Standards, which were initially adopted in 1999 with an
implementation schedule from 2004 to 2009.
ME 7236 Module 1 Autumn 2012
1.10
Currently, vehicles sold in the United States must meet Tier 2 standards, which
are characterized by lower emission limits and a number of additional changes that made
the standards more stringent for larger vehicles. Although the former Tier 1 standards
were different between automobiles and light trucks, the current Tier 2 regulation apply
the same emission standards to all vehicle weight categories (i.e., cars, minivans, light-
duty trucks, SUV), regardless of the fuel they use. With these regulations, large engines
(such as those used in light trucks or SUV) are forced to use more advanced emission
control technologies than smaller engines in order to meet the standards.
Within the Tier 2 standards, there is a ranking of 8 different emission levels,
named Certification Bins, ranging from BIN 1 (corresponding to zero emissions) to BIN
8. Vehicle manufacturers are allowed to certify their vehicles to any of the 8 categories.
At the same time, the average NOx emissions of the entire vehicle fleet sold by each
manufacturer has to meet the average NOx standard of 0.07 g/mi. Temporary emission
standard, less restrictive, have been set as a transitional step until the full implementation
or Tier 2 Standards in 2007.
The EPA Bins cover California LEV 2 emission categories, to uniform vehicles
certification to the Federal and California standards. The emission standards for all
pollutants, are shown in the following figure.

Figure 2.1: Tier 2 Federal Emission Standards (units in [g/mile]) (source: http://www.dieselnet.com)

ME 7236 Module 1 Autumn 2012
1.11
California emission standards have been traditionally more stringent than the EPA
requirements, but their evolution and structure is similar to that of the federal legislation.
The California Air Resource Board (CARB) adopted a former emission standard
program, applied until 2003, where six vehicle types are defined:
- Tier 1;
- Transitional Low Emission Vehicle (TLEV);
- Low Emission vehicle (LEV);
- Ultra Low Emission Vehicle (ULEV);
- Super Ultra Low Emission Vehicle (SULEV);
- Zero Emission Vehicle (ZEV).
Each category was characterized by more stringent emission restrictions. Tier 1
was the baseline used to determine the standards. Car manufacturers were required to
produce a percentage of vehicles certified to increasingly more stringent emission
categories.
In 1998 CARB defined the LEV 2 emission standards, adopted from 2004 to
2010. Under the LEV 2 standard, NOx and PM standards for all emission categories are
significantly tightened, and the same emission levels apply to both gasoline and Diesel
vehicles. Specific emission standards are defined for passenger cars (including light-duty
trucks and medium-duty vehicles below 8500 lbs gross weight) and for heavy-duty
vehicles. As a result, most pick-up trucks and sport utility vehicles are required to meet
the passenger car emission standards The TLEV emission category has been eliminated.
It is, therefore, believed that the LEV 2 emission standards can only be met by
vehicles fitted with advanced emission control technologies, such as particulate filters
and NOx catalysts, or by hybrid-electric vehicles. The following figure reports an excerpt
of the LEV 2 emission standards for passenger cars.
ME 7236 Module 1 Autumn 2012
1.12

Figure 1.2: California LEV 2 Emission Standards for passenger cars (units in [g/mile])
(source: http://www.dieselnet.com)

Emission controls for spark-ignition engines
To comply with the emission regulations, spark ignition (S.I.) engines require the
presence of a three-way catalytic converter to reduce emission levels of the three major
pollutants (HC, NO
X
, and CO). The catalytic converter operates most efficiently in a
narrow window around the stoichiometric value of the air-fuel ratio. Closed-loop
regulation of the air-fuel ratio is therefore required to achieve this goal; the feedback
signal used to close the loop in the air-fuel ratio controller is provided by an exhaust gas
oxygen, or lambda, sensor. The oxygen sensor contains a ceramic material that has an
electrical response to changes in the oxygen partial pressure in the exhaust stream
relative to ambient; this sensor becomes active when it reaches a temperature T > 250
°
C.
The concentration of the amount of oxygen relative to ambient contained in the exhaust is
related to the air/fuel ratio. The voltage output of the lambda sensor is processed by the
Engine Control Unit (ECU), a microcontroller, which outputs a signal to the fuel
injectors (pulse width) adjusting the amount of fuel injected according to the duration of
the input voltage pulse. In this way the air-fuel ratio is maintained as close as possible to
the stoichiometric value to take advantage of the higher conversion efficiency of the
catalytic converter.
To further reduce the formation of NO
X
, it is possible to recirculate a fraction of
the exhaust gas into the intake manifold through a controlled valve. This practice,
conventionally known as Exhaust Gas Recirculation (EGR), is nowadays in decline for
S.I. engines, but is largely adopted in Diesel engines, where it can reach up to 50 percent
of the total trapped charge. The use of EGR corresponds to adding an inert gas to the
ME 7236 Module 1 Autumn 2012
1.13
mixture and thereby reducing the combustion temperature, leading to the reduction of
NO
X
formation. In a typical automotive S.I. engine, 5 to 15 percent of the exhaust gas is
routed back to the intake as EGR.
The control of EGR is typically accomplished using an open-loop structure. The
engine ECU contains maps specifying the opening position of the valve across the engine
operating range. In modern EGR systems, the valve is electrically operated (through a
solenoid actuator), providing a feedback signal on the valve position. Although EGR
does measurably slow combustion, this can be compensated for by advancing the spark
timing.
Open-loop control using other available sensors (throttle position, manifold
pressure and temperature, mass air flow, etc.) is typically used at operating conditions
which require richer or leaner mixtures than in the case of closed-loop control; cold start
and heavy acceleration are two conditions among others which require the open-loop
control strategy to take over.
Additional actuation mechanisms may also be employed to aid in the control of
the engine exhaust emissions; these may include: heated catalysts; electronic throttle
control; auxiliary air handling during starting; idle air bypass actuator; and other systems.
Further, HC emissions which originate from evaporative sources (i.e. evaporation
of the fuel in the tank) are reduced by the use of an evaporative emission control system
which is designed to store and to dispose of the fuel tank vapors. This evaporative system
consists of an active-charcoal canister that stores the HC vapors; these vapors are then
purged into the intake manifold to be burned with the mixture at operating conditions that
require additional mixture enrichment. This system has a strong interaction with the fuel
control system because during the purge cycle air and fuel vapors are introduced into the
intake system in unknown quantities, disturbing the regulation of the lambda control.
The combination of the above described control strategies constitutes what is
generally known as an automotive engine emissions control system. The implementation
of such a control system with the performance required to satisfy emission regulations
requires the use of event-based control (i.e. the control inputs are not computed on a
ME 7236 Module 1 Autumn 2012
1.14
fixed time increment but are dependent on the position of the engine crankshaft), so as to
manage the individual fuel injection and spark ignition events, which occur at different
rates as the engine speed varies. Further, the complete control strategy requires the
measurement of all the signals necessary to obtain information of the engine operating
condition and the parallel implementation of several strategies, including: i) spark timing;
ii) fuel injection (quantity and timing); iii) exhaust gas recirculation (EGR); iv) canister
purge cycle; v) on-board diagnostics.

The importance of engine control systems
The directives for fuel efficiency and environmental protection are followed both
by the Industry and Research Centers focusing mostly on two key areas: design
optimization and control.
Figure 1.3 compares the main tasks related to design optimization and control for
mid class and luxury segment vehicles. In response to both environmental and
acceptability challenges, significant improvements are required to fulfill the targets
imposed in each vehicle segment. For mid class segment vehicles, a large effort is
dedicated to fuel economy improvement through engine downsizing, i.e. reducing the
displacement. This trend is also related to the upcoming regulation regarding CO
2
emissions. Moreover, in order to conquer a market share, the consumer acceptability
requirements (acoustic refinement and driving performance) must be improved.

Figure 1.3: Future engine development trends for mid class and luxury segment vehicles
ME 7236 Module 1 Autumn 2012
1.15
Slightly different effort must be dedicated to the development of luxury segment
vehicles. Here, the consumer acceptability implies a higher priority for driving
performance, combustion and structural refinements.
The tasks delineated must be met in very short time due to increased
competitiveness of the market. The most direct and effective way of improving engines
performance relies on design, either with the development of innovative technical
solutions or the refinement of existing products. The research effort in this field is
generally oriented in two directions. First of all, enhancements are sought for all the
various phenomena that affect the energy conversion process, such as combustion, gas
exchange processes, thermal management, etc… Then it is also required to accommodate
physical constraints that are a result of the improvements sought, for example higher
peak pressures or temperatures.
On the other hand, control design improvement seeks to optimize the various
processes in order to deliver power most efficiently while meeting constraints on
emissions, safety and reliability. Generally, new design and control concepts are tested
extensively prior to prototype applications, a task that constitutes a labor intensive and
expensive process.
In this sense, one of the priorities of industry is to shorten the development time
as much as possible, therefore striving to reduce the time-consuming and expensive tests
and calibration phases typically associated to the engine control development. This can
be accomplished by relying more on mathematical modeling tools to assist both the
engine design phase and the development of its control systems. Such modeling
capabilities are the key to reduce time and costs related to traditional experimental tests
and calibration efforts.
Even though not able to replace experimental investigations in full, simulation
models are capable of shortening consistently the development time from the definition
of the control system tasks to final tests and prototyping.
For internal combustion engines, a wide range of models is available to assist all
the design phases, from the simulation of flow and combustion processes, to the
ME 7236 Module 1 Autumn 2012
1.16
implementation and test of the control system. For example, Computational Fluid
Dynamics (CFD) and Finite Elements Method (FEM) are largely adopted in the
mechanical and fluid dynamic design of engines. Even though computationally intensive,
these tools are extremely powerful in assisting engineers and designers in the
development of individual components, such as manifolds, runners, ports and cylinder
parts. Their use can also replace part of the experimental analysis, which would normally
require complex testing environments and equipment.
However, when the final objective of the study is the design of a controller, it is
essential to have a global understanding of the behavior of the entire engine system,
rather than focusing on the details of a single component. In addition, computation time
becomes a significant constrain.
A typical engine system model, conceived for engine and powertrain control, will
be designed to predict only certain features, namely the dynamic response to
environmental and control inputs, avoiding an overly complex description of phenomena
that are not relevant for the analysis.

1.3. INTRODUCTION TO POWERTRAIN DYNAMICS
Modern engines and powertrain systems have become complex units, their
behavior influenced by the interaction of several components. Consequently, the number
of variables that must be considered for control and diagnostics has dramatically grown.
As stated above, this forces the control engineers to rely more on models from the
early development phases of the control systems. Even though models are not able to
replace experimental investigations, they contribute to shorten development time from
the definition of design specifications to final road tests.
The number and the complexity of design requirements are now forcing a shift
from map-based control systems towards model-based algorithms able to support control
and diagnostics functions.
ME 7236 Module 1 Autumn 2012
1.17
behavior of engine and powertrain systems has its foundations in the system dynamics
theory, a common practice in the study of mechanical, electrical and hydraulic systems.
The general idea is to divide the system studied in elementary components which are
interconnected. The connections, namely the inputs and outputs of each element, become
then the focus of the analysis.
The following block diagrams are intended to illustrate in increasing order of
complexity the relationships among components and subsystems in a typical automotive
powertrain.
Figure 1.4 depicts the simplest overview, in which the engine is interpreted as a
subsystem that converts air and fuel flows to torque and exhaust gases; the developed
torque is what provides the tractive force for the vehicle through a transmission and
driveline.

Figure 1.4: Overview of basic engine function

A more detailed view of basic engine functions, illustrating the difference
between ideal and actual external inputs, is shown in Figure 1.5. In the figure, it is
shown that the flows of air and fuel are actually regulated by ”valves” or “flow restriction
devices” (throttle body and fuel injectors), and are affected by internal dynamics. In
particular, two specific subsystems are source of dynamic behavior, namely the intake
manifold for air and the evaporation dynamics for the injected fuel.
ME 7236 Module 1 Autumn 2012
1.18
Throttle
Body
Intake
Manifold
Combustion
Fuel Injector
Crankshaft
EGO
Sensor
E
Fuel Dynamics
Tind
A/Fexh
Vo2
Spark
Controller
ou
air in
fuel in
air in cyl.
fuel in cyl.
engine speed
Transmission
Vehicle

Figure 1.5: More detailed view of powertrain dynamics
Intake
Manifold
Fuel Dynamics
(Well Wetting)
Combustion
Exhaust
Manifold
Fuel Injection
EGR
Canister
HEGO
Catalytic
Converter
E
t
fuel
o
can
o
EGR
Throttle Body
E
Inertia
Damping/Friction
Drive Train
Vehicle
ou
sp
Exhaust
engine
speed
engine
torque
Air
Fuel
Electronic
Throttle
Control
from ECM
from ECM
Canister
purge
from ECM
from ECM
from ECM
Open-loop
fuel control
Closed-loop
fuel control
EGR
Control
Ignition
Control

Figure 1.5: Complete block diagram of automotive powertrain.
ME 7236 Module 1 Autumn 2012
1.19
Figure 1.5 shows a third block diagram which depicts a more complete system
model, including closed-loop air-fuel ratio control, and including disturbances such as
EGR and canister purge flows. This representation allows one to better understand the
interactions between components, defining the inputs, outputs of each subsystem and the
related controlled variables.
The characterization of the engine and powertrain dynamics involves studying the
dynamic response of each subsystem, as well as the interactions between the different
components. Further complexity is added by the characteristic frequency associated to
the dynamic response of each component, as summarized in Table 1.1.

Table 1.1 Powertrain dynamics time constants.
Subsystem Bandwidth or Time Constant
1. Intake Manifold Fast Dynamics: 200 -400 Hz
Slow Dynamics: 1 - 2 Hz
2. Fuel Injector Time constant: 0.5 - 3 ms
3. Fuel Dynamics Evaporation: 0.5 s
Mixing: 1 - 10 ms
4. Combustion Delay: 1/2 engine cycle
5. Crankshaft 0 - 2000 Hz
6. Transmission/Vehicle 3 - 5 Hz
7. O
2
Sensor Time constant: of the order of a few ms
(speeds up with aging)

The engine system, as an assembly of mechanical, hydraulic, thermal and
electrical components, is characterized by a number of different phenomena that typically
occur at different time scales. For example, the typical response of a fuel injector
(electro-hydraulic actuator) is rather fast, in the order of 0.1 – 3 ms. Conversely, the fuel
evaporation dynamics, being mostly dependent on the slowly-varying intake manifold
temperature and the fuel vapor partial pressure in the port, is typically characterized by a
larger time constant.
ME 7236 Module 1 Autumn 2012
1.20
The separation of time constants is a typical problem that occurs when modeling
the dynamics of engines and powertrain systems, which may resolve in numerical issues
(i.e., stiffness) and complications when the model is used for control design.
It is important then to realize that no system can be modeled exactly in all its
detail, but that a good control-oriented model will capture with reasonable accuracy the
behavior of the system in a bandwidth sufficiently limited to allow for a simple but
reliable control design.
Powertrain models aimed at the development of control strategies have been
developed since 1980, following the advent of digital simulations of internal combustion
engine processes. To this extent, it is worth mentioning the early works of Dobner [1.7],
Powell and Cook [1.8], Moskwa and Hedrick [1.9], Hendricks and Sorenson [1.10], Turin
and Geering [1.11]. In recent years, various control approaches have been proposed to
use such models for control purposes, and model based control methods are gaining
wider acceptance in the research community. Relevant works in the field have been
presented by Amstutz et al. [1.12], Ault et al. [1.13], Azzoni et al. [1.14], Chang et al.
[1.15], Cho and Hedrick [1.16], Grizzle and Cook [1.17-1.19], Hendricks et al. [1.20],
Powell et al. [1.21], Kao and Moskwa [1.22, 1.23], Turin and Geering [1.11].

1.4. MODELING FOR POWERTRAIN CONTROL
The application of the system dynamics principles to the study of powertrain
systems allows one to operate a deconstruction of the plant into a series of interconnected
components.
Once each component is determined in its relevant inputs/states/outputs, it is
necessary to develop a mathematical model that allows to predict the states and outputs in
relation with the inputs and (if any) the control variables. In this process it is important to
maintain a ”system viewpoint”, hence not focusing on the details of the individual
component, but considering it as part of a more complex entity. This approach, even with
the loss of details for each individual component, is necessary to develop a description of
ME 7236 Module 1 Autumn 2012
1.21
the system capable of dynamically accounting for the most relevant phenomena, while
maintaining a reasonable computational ease.
In general, a preliminary stage for the analysis of a system or component consists
of operating a classification, namely making assumptions on the categories of models that
would best address the problem. Although there are neither standard nor accepted
methods of classifying system models, it is possible to define several categories in
relation with the characteristics of the system and the scopes of the analysis.
The operation of an internal combustion engine can be seen as the result of
interactions between several phenomena that occur at different temporal and spatial
scales. When modeling a specific engine component, a fundamental choice has to be
made to determine the bandwidth of the model, i.e., the maximum temporal and spatial
resolution. This choice leads to implicitly operate a spatial and temporal average
(~lowpass filter), removing spatial and temporal scales from the model, which will be
unresolved. Therefore, the capabilities of a model to capture specific engine phenomena
will be affected.
Following the principles above, two possible classifications of engine models can
Classification by Space Scale (Characteristic Length):
• Micro-length (multi-D) – the boundaries of the systems are very small,
allowing for detailed characterization of scalar and vector fields;
• Small length (1D) – the boundaries are set to characterize the field in typically
one direction; properties are assumed constant on any plane orthogonal to the
chosen direction;
• Large length (0D lumped, high-order) – the boundaries are assumed equal to a
component (e.g., valve, receiver,…), wherein the properties are considered
uniformly distributed;
• Very large length (0D lumped, low-order) – several components are included
within the boundaries.

ME 7236 Module 1 Autumn 2012
1.22
Classification by Time Scale:
• Very short time scales - captures evolution of internal system states at micro-
scale (e.g.: sub-millisecond).
• Short time scales - captures dynamics much faster than the excitation time
scale (e.g.: tens of milliseconds);
• Medium time scales - captures input-output dynamic behavior of comparable
time scale relative to excitation (e.g.: fractions of one second);
• Long time scales (quasi steady) - system reaches equilibrium very quickly
relative to the time scale of excitation (e.g.: seconds, minutes, hours).
This classification concept can be better explained through an example. A very
important engine subsystem is the intake manifold. Inside this component, several
thermodynamic, fluid dynamic and heat transfer processes occur, and the “breathing
performance” of the engine (i.e., the ability to draw fresh air/fuel charge at each cycle)
results from complex interactions.

Figure 1.6: Example of model classification applied to intake manifold modeling
ME 7236 Module 1 Autumn 2012
1.23
Several models can be used to study the flow through the intake manifold. Figure
1.6 illustrates the classification based on the spatial and temporal scales reporting the
most relevant model that are generally adopted for studying the system at different levels
of accuracy and computation time:
- 3D Computational Fluid Dynamics (CFD) Models: the system is studied
in four dimensions (space and time), adopting a very high resolution that
allows to characterize in great detail the velocity field. Such models are
typically used for design optimization;
- 1D Wave-Action Models (WAM): these models remove two spatial
dimension from the problem, assuming that all the properties (pressure,
temperature, etc…) vary only with respect to time and one spatial
coordinate (length). The time resolution and discretization length are
typically small, allowing for the characterization of the high-frequency
pressure fluctuations (wave propagation dynamics) that are very relevant
for engine tuning. Wave-action models are also used for optimizing the
manifold design, with respect to tuning and volumetric efficiency. From a
numerical standpoint, WAM are typically based on nonlinear partial
differential equations, which are solved using numerical approximations;
- 0D Filling-and-Emptying (F&E) Models: these models approximate all
the spatial resolution of the system, assuming that the thermodynamic
properties are uniformly distributed. The time resolution is typically set to
provide an adequate characterization of the system properties during one
engine cycle (typically, one degree of crank angle). For these reasons,
such models are often named “thermodynamic, crank-angle based
models”. Models pertaining to this category are considered a fair
compromise between accuracy (most of the high-frequency variations in
pressures and flow rates due to the alternative motion of the piston are
captured) and computation time. These models typically result in a high-
order system of nonlinear ordinary differential equations;
- 0D , Low-Order Models: these models capture only the low-frequency
dynamics of the system, considering all the system properties as cycle-
ME 7236 Module 1 Autumn 2012
1.24
averaged. This approach is often known as Mean-Value Modeling
(MVM). The result of such approximations is a low-order system of
nonlinear ordinary differential equations, as typically occurs in system
dynamics theory. This facilitates the applications of these models in
control system design.
Figure 1.6 illustrates also that the choice of a specific model category implies that
all the phenomena occurring at higher spatial and temporal scales will not be considered.
However, in order to respect the conservation principles and the agreement with the
behavior of the physical component, the effects of unresolved scales must be
approximated on the resolved scales. This can be done by introducing corrective
coefficients (in engine modeling, these are typically known as, discharge coefficients,
friction coefficients, heat transfer coefficients…). Such parameters, requiring
experimental calibration, approximate the unresolved physics that would be otherwise
removed from the model, generating errors.
As introduced above, mean-value models capture only the low frequency
spectrum of a system input/output behavior. For control oriented modeling approach, the
bandwidth of interest is typically associated to the transients that result from variations of
the engine load torque, which can be translated into correspondent variations of the
throttle position, intake manifold pressure and spark timing. With this approach, the
models developed have a time resolution which is adequate to capture the desired details
of the engine “throttle-to-torque” dynamics, but not the high-frequency behavior (which
can be associated to the fuel system dynamics, the engine cyclical behavior, or to the
tuning effects in the engine manifolds and runners). Such high frequency modes are
typically time-averaged.
The flexibility of these models and their capability of representing the
input/output behavior of the system with reasonable precision but low computational
complexity, have made them a very powerful tool in the analysis, simulation and design
of internal combustion engines.
The MVM technique is applied to each engine component to obtain a
mathematical representation of the input/output behavior. The characterization can be
ME 7236 Module 1 Autumn 2012
1.25
made with different modeling criteria as well as different levels of detail. This process
requires knowledge of all the system components behavior, hence knowledge of different
engineering fields. Focusing on the throttle-to-torque dynamics, all the necessary
principles and information concerning thermodynamics, fluid mechanics, heat transfer,
chemistry and combustion have to be used together. Often, notions of applied mechanics,
electrical and electromechanical systems, and automatic control are also required.
Once all components have been individually modeled, they are coupled together
in relation with the system block diagram representation. The result is a set of differential
and algebraic equations (DAE) describing the dynamic of the entire system. Models
created following this methodology can serve a number of applications which, depending
on the model complexity, range from feasibility and design studies, to optimization,
control design, calibration and validation.

Fundamental equations for modeling fluid systems dynamics
An important step for formulating a MVM of an engine (or any fluid system), is
stating the fundamental equations that represent the time evolution of the system
variables. The equations are based on conservation principles that stem from the
fundamental notions of thermodynamic and fluid mechanics.
The formulation of the fundamental equations for a fluid system assumes the
definition of a suitable model of the flow. Focusing on a macroscopic viewpoint, based
on the continuum scheme commonly adopted in fluid mechanics, two methods of
analysis are available. The first step in both cases consists of drawing an arbitrary closed
volume within a region of the flow field studied. This defines a control volume V, whose
boundary is defined by a control surface A.

ME 7236 Module 1 Autumn 2012
1.26

a) Finite control volume fixed in space

b) Finite control volume moving with the fluid
Figure 1.7: Overview of flow modeling approaches

The Eulerian approach states that the control volume is fixed in space and the
fluid moves through it, as depicted in Figure 1.7(a). Alternatively, as Figure 1.7(b)
shows, in the Lagrangian approach the control volume is moving with the fluid such that
the same fluid particles are always contained in the volume. The conservation laws are
applied to the fluid inside the control volume and, if the Eulerian approach is chosen, to
the mass and energy flows across the control surface.
Most of the practical cases in fluid systems dynamics deal with the study of the
flows into and out of components, an Eulerian approach is usually chosen, defining the
control volume as the physical volume of the component. Hence, the conservation laws
are applied to a control volume fixed in space, where mass, energy and momentum can
flow across its boundary. In this context, a general conservation equation for an extensive
system property can be written in the following form:
{net change in time} = {flow in through boundary}-{flow out through boundary} + {net
generation}-{net consumption}
The conservation laws, whose validity is independent of the nature of the
particular fluid or problem, are a summary of theoretical analyses and experimental
observations and rely on the assumption of nuclear and relativity effects being absent.
The conservation principles are usually expressed in the form of equations:
ME 7236 Module 1 Autumn 2012
1.27
• mass conservation equation;
• energy conservation equation;
• momentum equation.
The principle of mass conservation, referred to an open thermodynamic system of
finite extension and fixed boundary, states that the overall mass of the system is constant,
hence the rate of accumulation of mass within the control volume is equal to the excess
of the incoming mass flow rate over the outgoing mass flow rate:
¿ ¿
÷ =
j
out
i
in
j i
m m
dt
dm
 
(1)
In steady-state (hence, with the left-hand side equal to zero), the equation is also
known as the continuity equation
The energy conservation equation is the expression of the first law of
thermodynamics for open systems, i.e. capable of exchanging mass and/or energy with
the boundary. Considering a flow model of a finite control volume fixed in space such as
in Figure 1.7(a), the principle states that rate of change of the total energy of the system
is equal to the difference between the rate of energy flowing into the system and the rate
of energy flowing out of the system:
( )
¿ ¿
÷ + ÷ =
j
j out
i
i in
t
W Q h m h m
dt
me d
j i
 
 
(2)
where e
t
is the total energy per unit of mass comprising the thermodynamic internal
energy (u), as well as the kinetic (
2
2
1
c ) and potential energy (¢ ). The latter includes all
the forms of potential energy associated to conservative fields, such as gravitational or
electrical.
¢ + + =
2
2
1
c u e
t

(3)
ME 7236 Module 1 Autumn 2012
1.28
Moreover, h represents the enthalpy of the flow, Q

is the total heat exchanged through the
surface of the system and W

is the mechanical power generated by the system.
The momentum equation, unlike the previous two, is not the result of a
conservation principle but rather the application of Newton’s second law of motion to an
open thermodynamic system. For this reason, the equation is actually a vector equation
(depending on three directions and time). This law states that the rate of change of the
system momentum in any direction is equal to difference between the incoming and the
outgoing rate of momentum flow and the sum of the external forces acting on the system:
¿
+ ÷ =
i
i out in
F M M
dt
M d

 

(4)
The fundamental equations allow one to form a coupled system of nonlinear
ordinary differential equations in terms of several unknown variables. Therefore, it is
necessary to introduce further assumptions in order to create a model that can be solved
analytically or numerically. To this extent, constitutive relations can be introduced to
complete the equations set.
Unlike the conservation equations, whose validity is completely general, the
constitutive relations are a specific characteristic of the problem. Usually they are related
to the fluid considered and involve its properties, in the following form:
( ) 0 , , = T v p f (5)
where p is the fluid pressure, v the specific volume (per unit of mass) and T the
temperature.
The expression of a constitutive relation generally leads to a set of algebraic
equations, even though ordinary differential equations are possible in some cases.
Constitutive relations often derive from assumptions made on the nature of the fluid. For
instance, if the fluid can be considered incompressible, the relation will simply become
. const v = Moreover, for most of the applications involving liquids, constant temperature
is an acceptable assumption.
ME 7236 Module 1 Autumn 2012
1.29
Since internal combustion engines operate with gaseous fluids, another important
constitutive relation that will often be used is the equation of state for a perfect gas:
mRT pV = (6)
where R is the specific gas constant. The perfect gas model is a reasonable approximation
of the behavior of all compressible fluids, provided their thermodynamic state is far
enough from the saturation conditions (for example, during evaporation or condensation).
The perfect gas model implies further assumptions that allow one to close the
entire equations set. For example, the thermodynamic internal energy and enthalpy (used
in the energy equation) are functions of the sole gas temperature:
( )
( ) T c T h h
T c T u u
p
v
= =
= =

(7)
where c
v
is the specific heat at constant volume and c
p
the specific heat at constant
pressure. Equation (7), sometimes known as the caloric equation of state, will be further
applied in the following modules.

Model coupling techniques
One of the advantages of using the input/output representation is that this
approach emphasizes modularity. Hence, large and complex powertrain systems can be
decomposed into elementary components interconnected. If each component is modeled
to be easily interfaced at the input and output ports with other subsystems, it is possible
to use “standard” component to assemble complex systems in a simple and
straightforward procedure. At the same time the calibration effort is reduced, because it
can be made separately for the model of each component and then only minor
adjustments are required on the final assembly.
In order to achieve these benefits, a suitable coupling concept must be defined for
multiport interconnected systems. Several approaches have been proposed in literature,
the most important ones relying on transfer functions, transfer matrices and bond graphs.
However, in the analysis of internal combustion engines (or any fluid system), a simple
ME 7236 Module 1 Autumn 2012
1.30
and immediate representation can be obtained by dividing the system input and output
variables in two categories:
- Level Variables: in general they are differential variables provided by the
fundamental equations that indicate the amount of thermodynamic
properties stored inside a component;
- Flow Variables: they usually relate to the flow of a specific variable
through the control surfaces.
Examples of level variables may be mass (either total mass or mass of individual
components in a mixture), internal energy, or kinetic energy; flow variables may be mass
flow rate or enthalpy flow rate.
Likewise, when modeling any physical system there are two main classes of
objects that must be considered:
- Reservoirs: these components are characterized by one or more states that
represent the ”stored” amount of level variables (state determined system);
- Flow Control Devices: they determine the amount of properties that flow
through the component itself, typically as a result of differences between reservoir levels
(purely algebraic system).
Reservoirs receive flow variables as inputs and their outputs are level variables.
Conversely, flow control devices receive level variables and determine the flows
associated. Figure 1.8 briefly summarizes the concept.

Figure 1.8: Classifications of systems components and signals

The representation adopted facilitates the connection between components,
solving typical causality problems that are associated with dynamical systems modeling.
As Figure 1.9 shows, alternating reservoirs (state determined systems) to flow control
devices allows one to respect the cause and effect priorities between the input and output
signals of each block, allowing to immediately identify the driving and driven variables.
ME 7236 Module 1 Autumn 2012
1.31

Figure 1.9: Example of connection between components

Modeling guidelines
The modeling approach described so far can be summarized with a sequence of
procedures:
1. apply the system dynamics approach to deconstruct the engine and/or
powertrain system into a series of fundamental components, therefore
determining the system boundaries, inputs and outputs);
2. identify the relevant sources of dynamics by choosing a number of
reservoirs and their corresponding “level variables”. The number of state
determined components will influence the order of the model (i.e., the
number of state equations);
3. using the fundamental equations and the fluid properties, formulate
differential equations for all the state determined components;
4. using the fundamental equations in quasi-static conditions (i.e., without
the time derivatives) and the fluid properties, formulate algebraic relations
for the flow resistance components, relating the flows between the
reservoirs as functions of the state variables;
5. as a result of the quasi-static approximations, the algebraic equations will
be characterized by a number of unknown parameters that need to be
identified from experimental data or other available information;
6. once the calibration is done, assemble the components into the overall
system model;
7. validate the complete model on a set of data points that have not been used
to identify the parameters.

ME 7236 Module 1 Autumn 2012
1.32
1.5. TWO IMPORTANT ENGINE CONTROL PROBLEMS
This section introduces representative control strategies used in production
vehicles for air-fuel ratio (AFR) and idle speed control. These control strategies use both
look-up table based control schemes and dynamic feedback or feedforward control
schemes. The engine control unit (ECU) has limited computational capability; however,
a large memory space is available through the use of Read Only Memory (ROM). The
use of sensors is limited due to cost factors. In keeping with the relatively slow
computational speed and large memory of the ECU, current look-up table based control
strategies work well. However the calibration processes associated with such tables
require a significant amount of time and effort. The development period of a new vehicle
therefore is significantly affected by the time duration of these processes. The use of
dynamic models may be useful in reducing this development time by reducing the overall
calibration effort.

The AFR Control Problem
The AFR control problem for an internal combustion engine is not limited
to the control of AFR about stoichiometry. There are multiple objectives that need to be
achieved via AFR control. These are essentially dependent on the various engine
operating conditions, including engine load engine speed, coolant temperature,
acceleration, deceleration, etc. However, we may generally classify the AFR control
problems into two groups: open-loop control and closed-loop control. Modern ECU’s
have the capability to decide whether the control of AFR is to be closed-loop or open
loop. This is achieved by using information from various sensors installed on the engine
subsystems. These two types of strategies are discussed next.
Open-loop AFR Control
Open loop AFR control is essentially the control of the AFR at or about a desired
value through the use of (often elaborately) constructed look up tables that encompass
various engine-operating conditions. When the ignition key is turned on and the engine
cranks, a rich air-fuel mixture is required to guarantee the initiation and sustenance of
ME 7236 Module 1 Autumn 2012
1.33
stable combustion. The amount of fuel to be injected is primarily dependent upon the
temperature of the intake manifold with the assumption that the engine motoring RPM
remains constant, as does the intake pressure at each cranking instant. Since most of the
current mass-production engines do not have an intake manifold wall temperature sensor,
engine coolant temperature information is used. This is necessary in order to compensate
for the fuel dynamics due to the wall wetting phenomenon
1
. Air flow rate information,
which also plays an important part in these estimations, is supplied via a mass air flow
meter or other kinds of air metering sensors. Too much fuel, however, is not always
“good” for engine cranking. If too much fuel is injected during engine cranking, it may
cause flooding of the spark plug electrode gap that will in most cases results in no spark.
Therefore, when a repeated engine-cranking situation is detected by the ECU within a
relatively short time period, it is easily implied that the previously injected liquid fuel has
not had sufficient time to evaporate. The ECU should therefore have an algorithm to limit
the amount of fuel injected such that the overall liquid fuel present in the intake system is
compatible with optimum engine performance under a cranking scenario.
At the onset of engine cranking, all the injectors start to inject fuel simultaneously
(full group injection) upon the detection of crankshaft tooth wheel signal. Normally, full
group injection is performed only once, and the amount of fuel to be injected is
dependent on the coolant temperature, and not on the air flow rate. This is due to the
inherent delay of the air-metering sensor not allowing sufficient time to both sense and to
calculate the amount of air entering the engine. During the engine cranking, the fuel
amount from the injector solenoid valve is heavily dependent on the battery voltage,
because the starter motor draws large amounts of current from the battery, causing a
temporary drop in battery terminal voltage. The battery voltage may drop to around 7
Volts in the worst case (at extreme cold engine conditions), thus decreasing the amount
of current that passes through the injector solenoid coil. The less the current at the coil

1
I.e.: the tendency of injected fuel to condense in a puddle in the inlet port, and then to evaporate
at a rate dependent on local pressure and temperature conditions. A more detailed account is given in
Module 3.
ME 7236 Module 1 Autumn 2012
1.34
the lower the lift of injector plunger, thereby injecting less fuel. Therefore, compensation
of battery voltage drop via increasing injection pulse width at cranking phase is another
important consideration. The detection of the specific cylinder that is to be fired after the
first firing is decided upon by the combination of the crankshaft sensor signal, the
number 1 cylinder Top Dead Center (#1 TDC) sensor signal, and the engine firing order.
Since full group injection causes excessive fuel at the beginning of cranking, this results
in a high HC emission immediately after the engine cranking. To reduce the cold HC
emission, some car manufacturers are adopting a static #1 TDC sensor, typically mounted
on the camshaft, thereby avoiding full group injection. Half group injection, which
injects fuel on one bank of the cylinders, is thus a good alternate technique for firing
initiation at cranking.
In addition, the AFR is controlled to be rich at Wide-Open Throttle (WOT)
condition. Since the primary objective at WOT acceleration is to get enough engine
power for better driveability performance, AFR control remains in a rich state. When
there is an abrupt acceleration command from the driver, the engine experiences a “lean
spike” mainly due to the time lag of the air-metering sensor and ECU calculation time
delay. Thus it usually results in under fuelling during sudden accelerations. One typical
strategy to compensate the lean spike at the sudden acceleration situation is the non-
synchronous injection timing scheme. Under normal operating conditions, fuel is
injected based on predefined engine events, that is the firing order. During instances of
sudden acceleration the ECU drives additional injection through an interrupt signal. This
is non-synchronous injection. Non-synchronous injection is applied to the injector of the
next firing cylinder only on the detection of a hard acceleration scenario by the ECU.
This situation is detected through the use of the TP sensor signal. The ECU is able to
discriminate between normal acceleration rates and hard accelerations by looking at the
rates of the throttle position change. The amount of fuel to be injected in these
conditions is dependent on the engine speed, the pressure at the intake runner, and
temperature of the intake subsystem. In most of the mass-production engines, the so-
called transient fuel compensation on throttle variation is based on the above mentioned
engine speed, pressure and coolant temperature.
ME 7236 Module 1 Autumn 2012
1.35
The injection timing of each cylinder will be optimum if injection is terminated
before the start of the intake valve opening. This provides sufficient time for the liquid at
the intake port and valve to evaporate, thereby ensuring a homogeneous mixture of air
and fuel. The homogeneity of mixture plays an important part in the reduction of exhaust
emissions over the entire engine running range.
Not only does the lean spike worsen driveability and exhaust emissions but it also
tends to induce engine knock. A rich AFR has other advantages. Traditionally the
engine-knocking problem at the beginning of a sudden acceleration was rectified mainly
by spark timing control. In most mass-production vehicles today, enrichment of air-fuel
mixture is also introduced to reduce knocking tendencies in the engine at the initiation of
a sudden acceleration. This is because a rich AFR condition improves flame propagation
speed in the combustion chamber.
On the other hand, fuel cut-off (or reduction) is necessary for deceleration
condition. The purpose of fuel cut-off is to improve fuel economy. Among the factors
which affect the fuel cut-off are: coolant temperature; engine speed; and air conditioner
compressor engagement status. The status of the compressor engagement is an important
factor in deciding the fuel cut-off. A fuel cut-off with the compressor engaged, which
can be considered an external load, could result in an unstable engine operation or ÷ in
the extreme case ÷ engine stall. Hence it becomes necessary to consider the compressor
engagement status even when looking at speed ranges for fuel cut-off. Several other
considerations come into play. For example, when the engine is below the base engine
warm-up temperature, there will be relatively large engine torque loss due to increased
engine friction as a result of high lubricant viscosity. Therefore, if the fuel-cut is
executed at low engine temperature conditions while decelerating, such undesirable states
may be achieved as discussed above.
The basic injection look-up table, which is obtained through steady state engine
dynamometer test, has two independent variables: engine speed and engine load. By
breaking up the engine speed and load into several points, various steady state test
condition-operating points are determined. These operating conditions are referred to as
break points. By running the engine at these break point conditions, the injection pulse
ME 7236 Module 1 Autumn 2012
1.36
width for the desired AFR (stoichiometry) is thus calibrated. The fuel injection look-up
table uses units of milliseconds as the time scale. The basic fuel injection look-up table,
therefore, implicitly includes such static engine parameters as charge efficiency, residual
gas, fuel evaporation at the intake ports, injector dead time and air metering sensor’s
(pressure sensor, MAF, etc) static characteristics.
Since the basic fuel injection look-up table is constructed for standard conditions,
there are many other factors relating to ambient conditions and powertrain system that
must be taken into account as correction terms for open-loop control. These correction
groups consist of battery voltage, coolant temperature, ambient air temperature, altitude
compensation, transient compensation (throttle and engine load variations), anti-
knocking, automatic transmission compensation, etc. The corrections are added or
subtracted from the basic fuel injection look-up table, some of them are even multiplied
to calculate open-loop injection pulse width. Increasing the fuel pulse from the open-
loop value is very important for robust AFR control of an engine. The open-loop fuel
and closed-loop fuels are in a trade-off relationship with each other. That is to say that if
for a total fuel amount to be injected, if the open-loop related fuel quantity is increased,
then the closed-loop portion of the fuel has to be decreased. By reducing the portion of
fuel commanded in closed-loop, a faster and more stable AFR control can be achieved.
The ECU being used today still often consists of 16-bit microcomputers with an
increasing number of applications employing 32-bit architecture. Automotive
microcontrollers are characterized by fixed-point arithmetic, relatively slow processor
speeds, and substantial amounts of memory. For this reason, the use look-up tables for -
loop control has been historically a preferred choice for control applications. With the
introduction of 32-bit controllers, it is conceivable that in some instance dynamic control
strategies might replace some of today’s look-up tables, and that the calibration load
might be subsequently reduced.

ME 7236 Module 1 Autumn 2012
1.37
Closed-Loop AFR Control
Closed-loop AFR control corrects the quantity of fuel injected as a function of the
signal sensed by the EGO sensor. In most gasoline engine applications, binary EGO
sensors have been used as the exhaust gas AFR sensing device. Due to the cost and
insufficient reliability of the Universal Exhaust Oxygen (UEGO) sensors, these sensors
are seldom used for the AFR control except for lean-burn engine applications.
The basic AFR control strategy that is commonly applied to mass production
vehicles is a Proportional and Integral (PI) control algorithm with gain scheduling
dependent on how long the EGO sensor signal stays at one level (lean or rich). The
closed-loop correction term oscillates as a function of the state of the EGO sensor. The
ECU employs fuel compensation by using a P-correction that intervenes when the EGO
sensor switches, and an I-correction that intervenes when the EGO sensor stays at the
same level. Therefore, the P-gain comes into play instantaneously with the EGO sensor
switching and the I-gain compensates progressively while the EGO sensor stays at one
level (lean or rich). The PI gains are not always the same; instead, these gains change to
adjust according to the engine operating conditions, and on the number of steps of I-
correction already applied. The duration of the EGO signal staying at on one level also
has an impact in gain scheduling. This variable gain concept affords a fast control of
AFR to stoichiometry in the presence of large AFR deviations.
For a well-tuned engine system with an appropriately calibrated ECU, the mean
value of PI-correction will oscillate about a zero value. However, there are various
factors that keep the mean PI-correction from being zero. These factors include the
following:
- Fuel system degradation and tolerance: degradation of fuel pressure regulator, fuel
pump deterioration, injector clogging, and the use of gasoline other than that used for
calibration may result in the PI control behaving as if for a lean system. This
misinterpretation by the control scheme will result in a shift of the mean correction
value from zero.
ME 7236 Module 1 Autumn 2012
1.38
- Leakage of air into the intake system leading to an unmeasured quantity of air being
added to the engine, thus leading to a lean excursion. The effect of leakage on MAF
sensor-based systems might be more critical than on speed-density systems.
- Aging and tolerance of air measurement sensors: degradation of not only the air
measurement sensors but also of such sensors as those that are used for fuel
calibration, air temperature and coolant temperature will affect the mean PI-
correction shift.
- Air density change: the altitude effects on air density will affect fuelling over the
entire engine operating range.
If no closed-loop AFR control compensation is introduced, the previously listed
factors may force the engine to have a steady-state fuelling error. Therefore, a self-
adaptive AFR control algorithm is necessary to effectively control for each of the engine
specific circumstances. When the listed factors occur, the closed-loop PI-correction
strategy comes into play and compensates for the AFR deviation, thus resulting in the
mean PI-correction value to shift from zero. If the PI-correction deviation remains for a
specified time duration, the ECU may add/subtract fuel corresponding to the amount of
PI deviation from the open-loop fuel calculation sum (additive compensation). Thereby,
keeping the AFR at stoichiometry with the mean PI-correction being forced back to a
engine is experiencing intake air leakage or changes of injector delay time. If the shift of
mean PI-correction value is caused due to an air density change, a multiplication of scale
factors is more effective to cover the whole engine operating range (multiplicative
compensation).
The engine and ambient conditions that introduce the deviation of mean PI -
orrection have different magnitude of influence depending on the engine speed and load.
Therefore, it is necessary to distinguish the engine operating areas into several sections to
find which factors are dominant in that particular area. Figure 1.10 specifies these areas.
Intake leaks need to be compensated at low-load conditions as an additive term to the
open-loop injection map, because leakage air might be magnified at low engine load
ME 7236 Module 1 Autumn 2012
1.39
(area 2: high vacuum condition). Injector delay, which affects each engine stroke, has to
be compensated as an additive term at high engine speed and low-load (area 3). Finally,
fuel system degradation and air density changes might effect the entire engine operation
range. So the open-loop fuel map has to be multiplied by scaling factors to compensate
across the whole engine operating range (area 1) except WOT condition where the AFR
is not controlled to stoichiometry.
Area
2
Area
1
Area
3
WOT
Max
speed
Min
Speed
Engine
Engine
Speed

Figure 1.10: Areas for additive and multiplicative correction.

The Idle Speed Control Problem
The objective of idle speed control is to maintain a smooth and comfortable
driving condition while minimizing fuel consumption rates. To get good fuel efficiency,
the engine idle speed should be set to a very low RPM. If we set the idle RPM too low,
however, then the idle speed control tends to become very unstable as the engine may be
producing insufficient torque at this engine RPM. Therefore in deciding the idle RPM
one has to consider an operating speed where torque production is robust enough to reject
disturbances from various sources. Moreover for drive smoothness and comfort it is
necessary to control the idle speed within a very narrow range. This would imply
maintaining the engine speed at almost a constant level. This would be a trivial task if
there were no unexpected disturbances. However, in a real life scenario there are various
kinds of disturbances present during an engine idle condition; these are:
ME 7236 Module 1 Autumn 2012
1.40
- Engagement of automatic transmission: shifting the transmission from neutral to the
drive range adds a torque disturbance to the engine through the torque converter.
The reverse procedure (drive to neutral shift) also introduces the same torque
amount as a subtractive disturbance to the engine. Moreover, the amount of this
disturbance is not always same; instead it is dependent on the temperature of the
torque converter fluid because torque transmissibility is related to the viscosity of
Automatic Transmission Fluid (ATF).
- Electrical disturbance: due to the operation (on/off) of such electrical devices as
defroster, head lamp and direction lamps, the engine speed is affected. The engine
speed drop is dependent in the electrical capacity of such devices.
- Direct engine torque disturbances: the power steering pump and air conditioning
compressor is good examples of direct torque intervention.
- Canister purge valve on and off at engine idle: as discussed in the Chapter 1, the
opening of CPV causes unmeasured air and fuel introduction to the engine system,
thereby prompting an increase engine speed. In contrast, closing of the CPV will
induce an engine speed drop.
For engine applications with small displacement volumes, the above mentioned
disturbance effects are more dominant as compared to engines with a larger
displacement volume. This necessitates the use of more sophisticated idle speed control
strategies for small displacement volume engines. Driver comfort is a strong motivation
for controlling the idle speed to the nominal value. It is common knowledge that a
change in the nominal idle speed affects driver comfort, as discussed above. However,
it needs to be mentioned that a drop in the nominal idle speed can affect the comfort
level more drastically than a similar increase in the idle speed. Researchers in the
automotive industry have therefore been concentrating on investigating methods of
avoiding engine speed decrease during idle conditions. Ignition timing and idle air
control strategies are two methods popularly adopted for controlling idle speed.
ME 7236 Module 1 Autumn 2012
1.41
Idle Air Control
Idle air control is often accomplished through the use of either a stepper motor or
a rotary solenoid valve actuating the air by-pass valve. This affords control of the section
area of the air passage thereby allowing a control over the amount of air entering the
engine. The airflow through the Idle Air Control Valve (IACV) can be managed through
a control over the valve flow area; this can be accomplished by varying the actuator duty
cycle. The factors affecting the calculation of duty cycle vary with engine running
conditions.
During engine cranking and warm-up phase, the IACV is opened as a function of
coolant temperature corrected for altitude. The nominal engine speed is then decided
upon by relying on the engine coolant temperature; for cold engine conditions, the
nominal engine speed is maintained high so as to make up for the high friction torque
loss. The idle RPM is then gradually reduced to the idle speed normal for a warmed up
engine. This procedure can be achieved using a two-dimensional look-up table (coolant
temperature vs. idle valve duty cycle). Altitude compensation is implemented by means
of a multiplying factor for the look-up table, thereby ensuring sufficient airflow into the
engine at high altitudes. Thus, the altitude compensation factor should be larger than
unity. Detection of altitude other than the level of calibration can be easily done using
the Manifold Absolute Pressure (MAP) sensor. When the ignition key is turned on
without the engine running, the MAP sensor senses the ambient pressure. With the
engine running, ambient pressure can be continuously updated by sensing the maximum
intake pressure for low RPM at high engine loads. This is so because the pressure
existing in the intake manifold during such a condition closely approximates ambient
pressure. At the engine warmed-up condition, the idle speed duty cycle calculation is
dependent on engine events and conditions. The calculation of idle duty cycle can be
subdivided into four main parts; these are open-loop duty cycle, vehicle event based
ME 7236 Module 1 Autumn 2012
1.42
Open-loop Base Idle
Duty Cycle
Battery Correction
Correction
Dash Pot Correction
Closed-loop PI
Correction
Correction
Others
Bat Voltage
Duty
Duty
¿
Final Idle
Duty
Command
Vehicle
Condition
Based
Corrections

Figure 1.11: Final idle air bypass valve duty command calculation.
Figure 1.11 shows how these correction terms are added to calculate the final idle duty
cycle. The detection of vehicle on or off events such as air/con, cooling fan, electric load
and transmission neutral to drive shift can be done via various sensory systems of a
vehicle. Each of the above mentioned four-correction terms are calculated respectively
and added to finalize the total idle duty cycle to be output. Following is a brief discussion
of how each of the corrections are calculated and calibrated:
ME 7236 Module 1 Autumn 2012
1.43
Leakage Air
Altitude Correction
Nominal Engine
Speed Correction
Cooling Fan
Correction
Transmission Neutral
Drive Shift
A/C
Others
Coolant Temp.
Duty
Air Temp.
Duty
Ambient Press.
Factor
Coolant Temp.
Duty
ATF Temp.
Or
Coolant Temp.
Duty
¿
Switch
Switch
Switch
Switch
Open-Loop
Base Idle
Duty Cycle
Base
Terms
Vehicle
Event
Related
Terms

Figure 1.12: Schematic of Open-loop Base Duty Cycle.

Open loop duty cycle calculation: the open-loop duty cycle is calibrated by
referring to the coolant and air temperatures, and the ambient pressure along with the
corrections associated with vehicle events that inject torque disturbances to the engine.
During the engine idle condition, the intake manifold pressure level is low (high vacuum)
hence the airflow through idle valve can be modeled as a one-dimensional choked flow.
In addition, most of the idle speed valves are designed to allow a linear relationship
between the duty cycle and airflow rate. The airflow rate is primarily dependent on
ambient pressure. Therefore, air temperature and ambient pressure are base factors that
ME 7236 Module 1 Autumn 2012
1.44
decide the amount of air that passes through the idle valve. As is shown in Figure 1.12,
all the open-loop duty can be sub-grouped either as base terms or as vehicle events
related terms. The base terms consist of leakage air, nominal engine speed correction and
corrections for air and coolant temperatures. Air leakage defines the air that leaks past
throttle valve seating circumferentially while the throttle is closed. The leakage occurs
through an annular aperture because the valve can not complete seal the throttle body.
Selection of such valves is therefore necessarily based on the valve satisfying the
specifications on leakage limits at standard operating conditions. Air leaking past the
throttle valve will therefore add to the idle airflow, hence throttle valves with small
leakage are preferred for idle air control purposes. This allows the idle air control valve
to have a larger control span. The corrections based on air and coolant temperature
contribute to the idle duty calculation. Since the coolant temperature level determines
nominal idle RPM, this correction factor is added to compensate the nominal idle speed
differences. The vehicle event related terms are added to the base terms as a correction
factor. Turning on the A/C compressor upon the driver’s command will result in a steady
state engine speed error if the system lacks compensation. Thus increment of idle duty
cycle is required to maintain the nominal engine idle speed. The neutral to drive shift of
the transmission also introduces a similar kind of steady state error and thus needs to be
compensated. Each of the vehicle events related terms have to be decided upon by
empirical means. This is done by subjecting the engine to each of these conditions. The
calibration procedure thus requires a lot of time and effort. However, this open-loop
calibration procedure reduces the closed-loop contribution thus leading to a fast and
robust idle speed control. In most of the engine applications, the nominal idle speed
between A/C on and off are set differently. The nominal engine speed level for A/C on
condition is higher than that of A/C off condition to provide more engine torque to
compensate the disturbance from the A/C compressor.
Anticipating Disturbance Torque: One of the most effective ways of rejecting a
torque disturbance is anticipating it before it occurs. Due to the large delay between the
opening of the idle valve to the production of engine torque, an engine will experience
abrupt engine speed fluctuation whenever accessory loads disturbance are applied or
ME 7236 Module 1 Autumn 2012
1.45
removed. Many accessory load disturbances can be anticipated to allow for air
compensation via the idle valve. For instance, if an ECU receives a command to turn on
A/C from driver, then it begins to compensate air via the idle air valve before the
compressor is actually turned on. After the torque production time delay the engine will
have developed the torque lost to the compressor related disturbance. The ECU will then
send a command to turn on the compressor without affecting the engine RPM.
Therefore, anticipating the disturbance torque is a problem that determines how much air
needs to be compensated. The time period between the start of idle valve compensation
and the instant of compressor turning on also should be calibrated. The neutral to drive
shift of the transmission can also be anticipated through the detection of transmission
lever movements. However, the amount of idle duty compensation required is based on
the temperature of the ATF. The viscosity differences, due to the various possible
temperatures of the ATF, result in different levels of torque disturbances acting on the
engine. If the ECU does not have access to the ATF temperature information, engine
coolant temperature may be used instead. Using the procedures explained above, almost
all of the torque disturbances can be effectively anticipated. As long as the vehicle’s
electrical components are under the control hierarchy of the ECU, the electrical
disturbances to the idle speed control can be anticipated too. These electrical loads
becomes more essential for small displacement volume engines.
Vehicle Events Based Corrections: There are other vehicle-running conditions,
however, that must also be considered. These consist of corrections that compensate for
battery voltage, engine load and dashpot function, etc. The idle valve is essentially a
solenoid valve or stepper motor hence the opening section area is effected by the battery
voltage. If a vehicle’s battery voltage deviates from the standard calibration condition,
then the voltage needs to be compensated. The engine load, if it is different from the
value at the time of calculation, needs to be compensated too. Different engine loads
other than those during calibration may effect the amount of air that passes through idle
valve. In addition, the load difference also effects the charge efficiency, which
eventually changes the air that enters the engine. The dashpot correction plays an
ME 7236 Module 1 Autumn 2012
1.46
important role at the moment of throttle valve closing. When the throttle valve abruptly
closes during deceleration, the intake manifold will be in a high vacuum, presenting a
possible risk of damaging the rubber hoses and connections attached to the intake
manifold. Moreover, the Positive Crankcase Ventilation (PCV) system can leak
lubricating oil into the intake manifold. Another contribution of the dashpot function is
to reduce the “rich spike” of the AFR during deceleration. At this condition, the wall-
wetted fuel from the previous cycle continues to enter the cylinder although deceleration
fuel cut-off occurs. Thus leading to a rich AFR spike. However, by opening the idle
valve at a pre-defined mode, above listed high vacuum and AFR rich excursion problems
can be solved.
Closed-loop Idle Air Control: The closed-loop idle control strategies rely on the
conventional PI-control scheme with various gain-scheduling concepts. Each gain is
tuned according to the difference of the specific target RPM and current engine RPM.
The Crankshaft Position Sensor (CPS) usually performs the measurement of engine
RPM. As in the same case of the injection pulse width control, the P-gains intervene as
a correction for instantaneous engine RPM fluctuation while I-gains compensate stead-
state engine RPM error. For a new, well-tuned engine system, the mean value of PI-
correction is expected to be centered at zero. However, as the engine intake system ages,
deposits of dust and oil mixtures can be found on the throttle and idle valves. This
process leads to among other effects a decrease in the idle airflow rate owing to a
constriction of the air passages. Variations among engines attributable to manufacturing
processes may also force the closed-loop controller to come into play. The amount of
shift can be separately compensated through self-adaptive correction, thus returning the
mean PI correction value zero. The self-adaptive correction, therefore, provides more
room for closed-loop idle air control.
ME 7236 Module 1 Autumn 2012
1.47
Leakage
Open-loop
Closed-loop
Idle Air
Controllable
Air

Figure 1.13: Idle Air Control.
Strategies for idle valve control have been explored. The contributions of
leakage, open loop, closed-loop and self-adaptive air correction have been reviewed.
Figure 1.13 illustrates how these corrections are linked together. Elaborate calibration
work makes it possible to reject almost all disturbances that are expected for various
engine conditions. However, for unanticipated disturbances this scheme suffers in its
effectiveness due to the inherent delay of the idle speed air control strategy.

Ignition Timing Control
Ignition timing control schemes are used to effectively compensate for the
inherent delay of the idle air control method. The torque production delay associated
with the airflow dynamic is substantially larger than that for ignition. It is also known
that changes in ignition timing will affect the engine torque production instantaneously.
This characteristic can therefore be used as an idle speed control method under dynamic
engine conditions.
ME 7236 Module 1 Autumn 2012
1.48
Ignition Timing (BTDC)
[Degree]
MBT
Normalized
Torque
1
0.9
35 20 10 0

Figure 1.14: Schematic of Engine Torque vs. Ignition.
Engine torque production is dependent on ignition timing. Figure 1.14 shows the
effect of variations in ignition timing on brake torque for typical spark-ignition engine
[6]. Ignition timings can typically be varied to be advanced or retarded. An ignition
advance implies increasing the angular position of ignition initiation with respect to Top
Dead Center (TDC). Retarding the ignition timing would mean moving the initiation of
ignition closer to TDC. The engine torque increases as the ignition timing is advanced
until it reaches to the Maximum Brake Torque (MBT) point. Further advancing the
ignition timing may result in the engine knocking. Substantially retarding the ignition
timing on the other hand will cause the engine to misfire. Hence the importance placed
by automotive manufactures on efficient calibrations for optimal ignition tuning.
Calibration of MBT or optimum ignition timing at various engine loads and
speeds forms a basis for ignition control. To find the MBT point, an engine is set up on a
dynamometer. Running the engine at various predefined load and RPM breakpoints, the
ignition timing is adjusted to for MBT. Thus the MBT ignition timing provides the best
torque at each of the engine running conditions tested. Knocking points exist for all
engines; it is preferred to have knock points after the MBT point. However, hardware
design may force the ideal MBT point to lie after the knock point. Continuous knock,
however, needs to be avoided since it can seriously damage the combustion chamber
ME 7236 Module 1 Autumn 2012
1.49
including valves and piston. Once the knocking ignition timing is found, the optimum
ignition timing should be decided by retarding a few degrees away from the knocking
point. This provides a margin of safety to allow for engine to engine production
variations. If an engine has a knock detection sensor installed, the ignition margin of
safety can be reduced, thus advancing the ignition timing by a few degrees. This will
result in the production of more engine torque. Ignition timing relies heavily on engine
RPM when the engine load is constant, the ignition timing needs to be advanced as the
engine RPM increases. This is done to allow the combustion process similar time
duration at all engine speeds. The basic ignition map for part load and full load
conditions is found by considering the previously discussed factors. This leads to the
Retarding the ignition timing from MBT or optimum torque ignition timing
should set the basic ignition map for the idle condition. Idle ignition map is necessary if
the engine were to be able to operate within a torque range. For instance, selecting the
basic ignition timing at, 10 degrees before TDC, the ECU can have room for controlling
the torque through ignition timing variation. The ECU may therefore retard or advance
the ignition timing through control algorithms to reject unknown disturbances.
Generally, the ignition timing can vary by about ±10 degrees centered at the calibrated
basic idle ignition timing. In most cases, the map of idle ignition timing relies on the
measured coolant temperature. The basic ignition timing is usually set to be advanced,
with the coolant temperature low, to provide more torque. Then as the coolant
temperature increases, the basic idle ignition timing is retarded gradually. To
accommodate different disturbances like A/C or transmission shift, several maps will be
useful for compensation.
Ignition control at idle is done mostly by proportional correction with various
gains. Since the prime aim for the use of ignition timing is to compensate dynamic
engine rpm fluctuation, integral control is seldom used. Instead the steady-state error is
corrected by idle air control. Knowing that the engine torque is linearly proportional to
the ignition advance in the vicinity of idle ignition control range, the amount of ignition
timing compensation can be calculated simply by multiplying a gain to the difference of
ME 7236 Module 1 Autumn 2012
1.50
the filtered and the current engine RPM. In addition, since the shape of the engine torque
curve is different when the coolant temperature changes, gain scheduling is needed to
take into account the coolant temperature variation with the engine running. Therefore,
the proportional gains are determined based on the different coolant temperatures.
Although the ignition timing can reject unknown and high frequency disturbances
effectively, it is not appropriate to use the ignition timing to compensate steady-state
engine RPM deviation. Consequently, the idle ignition map provides control capability
by sacrificing engine torque.

Summary
Typical production control strategies for both AFR and idle speed control have
been explored. Most of these control strategies use event-based methods rather than
using model-based control method. Thus lots of experimental works are involved in
calibration procedure. Also, since there are too many calibration factors involved each
other like a web, changing one calibration factor may influence to the other control
performance that is difficult to predict. Although all the current production control
strategies may not be replaced by the model-based control schemes, engine subsystem
models may replace part of them; thus, providing a more simple and systematic approach
to the control problems.
ME 7236 Module 1 Autumn 2012
1.51
1.6. REFERENCES
[1.1] J. Lowen Shearer, Bohdan T. Kulakowski, and John F. Gardner “Dynamic Modeling and Control of
Engineering Systems", 2nd Ed., Prentice-Hall, 1997.
[1.2] " Matlab/Simulink Introduction", GMTEP Technical Presentation.
[1.3] G. Rizzoni, K. Srinivasan, S. Yurkovich, "Signal and System Dynamics Integration", Notes for GMTEP
Technical Presentation GM 1989.
[1.4] M. Ross, R. Goodwin, R. Watkins, M. Wang, and T. Wenzel, “Real-world emissions from Model Year 1993,
2000 and 2010 passenger cars”, distributed by the American Council for an Energy-efficient Economy, USA, November
1995.
[1.5] PNGV
[1.6] H Heywood, J. R., “Internal Combustion Engine Fundamentals,” McGraw Hill Publishing Company, 1988.
[1.7] D. J. Dobner, “An engine model for dynamic engine control development,” ASME Winter annual meeting,
Paper No. WA4-11:15. 1986.
[1.8] B. K. Powell and J. A. Cook, “Nonlinear low frequency phenomenological engine modeling and analysis,”
Proceedings of the American Control Conference, pp.332-340, Minneapolis, MN, June, 1987.
[1.9] J. J. Moskwa and J. K Hedrick, “Modeling and validation of automotive engines for control algorithm
development,” Advanced Automotive Technologies-1989, pp.237-247, ASME DSC-vol.13.
[1.10] E. Hendricks and S. C. Sorenson, “SI engine controls and mean value engine modeling,” SAE Technical
Paper No. 910258, 1991.
[1.11] R. C. Turin and H. P. Geering, “Model based adaptive fuel control in an SI engine,” SAE Technical Paper
No. 940374. 1994.
[1.12] A. Amstutz, N. P. Fekete and J. D. Powell, “Model-based air-fuel ratio control is SI engines with a switching
type EGO sensor,” SAE Technical Paper NO. 940972, 1994.
[1.13] B. A. Ault, V. K. Jones, J. D. Powell and G. F. Franklin, “Adaptive air-fuel ratio control of a spark-ignition
engine,” SAE Technical Paper No. 940373, 1994.
[1.14] P. Azzoni, D. Moro, F. Ponti and G. Rizzoni, “Engine and load torque estimation with application to
electronic throttle control,” SAE Technical Paper No. 980795, 1998.
[1.15] C. F. Chang, N. P. Fekete, A. Amstutz, and J. D. Powell, “Air-fuel ratio control in spark ignition engine
using estimation theory,” IEEE Transactions on Control System technology, Vol. 3, pp. 22-31. March, 1995.
[1.15] D. Cho, D. and J. K. Hedrick, “A nonlinear controller design Method for fuel-injected automotive engines,”
ASME Journal of Engineering for Gas Turbines and Power, Vol. 110, pp. 313-320, July, 1988.
[1.16] J. W. Grizzle, J. A. Cook and W. P. Milam, “Improved cylinder air charge estimation for transient air fuel
ratio control,” Proceedings of the American Control Conference, Baltimore, MD, June, 1994.
[1.17] J. W. Grizzle, K. L. Dobbins and J. A. Cook, “Individual cylinder air-fuel ratio control with a single EGO
sensor,” IEEE Transactions on Vehicular Technology, Vol. 40, No.1, pp. 280-286, February, 1991.
[1.18] A. G. Stefanopoulou, J. A. Cook and J. W. Grizzle, “Modeling and control of a spark ignition engine with
variable cam timing,” Proceedings of the American Control Conference, pp. 2576-2581, Seattle, WA, June, 1995.
[1.19] E. Hendricks, T. Vesterholm and S. C. Sorenson, “Nonlinear, closed loop, SI engine control observers,” SAE
Technical Paper No. 920237, 1992.
[1.20] N. P. Fekete, U. Nester, I. Gruden and J. D. Powell, “Model-based air-fuel ratio control of a lean multi-
cylinder engine,” SAE Technical Paper No. 950846, 1995.
[1.21] M. Kao and J. J. Moskwa, “Turbocharged diesel engine modeling for nonlinear engine control and state
estimation,” Journal of Dynamic Systems, Measurements, and Control, Vol. 117, pp. 20-30. 1995.
[1.22] M. Kao and J. J. Moskwa, “Nonlinear diesel engine control and cylinder pressure,” Journal of Dynamic
Systems, Measurements, and Control, Vol. 117, pp. 183-192. 1995.
ME 7236 Module 1 Autumn 2012
1.52
1.7. EXAMPLES
Example 1.1: Water tank filling dynamics model
This example shows how to derive a model of a cylindrical water tank as shown
in Figure 1.15. The scope of the problem is to determine a mathematical model for the
water level in the tank, assuming the entering mass flow rate of water as an independent
variable (control variable). An exit valve is connected to the tank.
in
m
out
m

( ) t h
F
) (t y

Figure 1.15: Cylindrical water tank system, ( ) t m mass of water in the tank, and
corresponding height ( ) t h , F tank-floor area, A exit orifice area
The model of the system can be built following the general modeling guidelines
summarized in this module. In particular, the only relevant "reservoir" is the mass
( ) t m

of water in the tank (state variable), which is proportional to the water height
( ) t h

(output variable). The input for the system is
in
m
, i.e. the inflowing water mass flow,
while the out flowing water
out
m
depends on the exit valve opening area A (control
variable).
Assuming the reservoir effects in the measuring device can be neglected (as
typically very fast), and the water temperature (and therefore its density) changes very
slowly such that it may be assumed constant, it is possible to apply the mass conservation
equation (1) to the mass of water contained in the tank:
( ) ( ) ( ) t m t m t m
dt
d
out in
  ÷ =

(e-1)
ME 7236 Module 1 Autumn 2012
1.53
where the water mass in the tank can be written as ( ) ( ) t Fh t m µ = , being F the tank area.
Assuming the incoming flow as the independent variable (control variable), the outgoing
mass flow can be determined considering the exit valve as a flow control device. For this
component, the steady-state continuity equation for an incompressible fluid (Bernoulli's
law) is applied:
( ) ( ) ( )
( )
( ) ( ) t gh t p
t p
t v t v A t m
out
µ
µ
µ = A
A
= = ,
2
,  (e-2)
which results in the following expression:
( ) ( ) t gh A t m
out
2 · = µ  (e-3)
Combining (e-1) with (e-3), the model equation for the system in Figure 1.15 is
obtained:
( ) ( ) ( ) | | t gh A t m
F
t h
dt
d
in
2
1
µ
µ
÷ = 
(e-4)
which represents a first order nonlinear model.

ME 7236 Module 1 Autumn 2012
1.54
Example 1.2: Compressible flow through an isentropic nozzle
This example is similar to the one discussed in the previous problem and shows
how to utilize the equation describing the isentropic flow of a compressible fluid through
a nozzle to determine the pressure in a vessel filled with gas. The initial pressure
( ) 0 = t p
and temperature
( ) 0 = t T
in
are known, as well as the geometric data of the
vessel and the nozzle. The outlet pressure
out
p
is assumed to be constant and equal to
ambient conditions.

Figure 1.16: Cylindrical, pressurized vessel with exit orifice
Following the general modeling guidelines summarized above, it is possible to
observe that there is no input mass flow (
0 =
in
m
) and the state variable of the system is
the mass
( ) t m
of fluid in the vessel. Applying the continuity equation to the system, the
resulting differential equation is:
( ) ( ) t m t m
dt
d
out
 ÷ =

(e-5)
The mass flow rate of gas exiting the system can be calculated using the equation
of the flow through an isentropic nozzle (see [1.6]).
ME 7236 Module 1 Autumn 2012
1.55
¦
¦
¦
¦
¹
¦
¦
¦
¦
´
¦
|
|
.
|

\
|
+
<
|
|
.
|

\
|
|
|
.
|

\
|
+
· · =
|
|
.
|

\
|
+
>
|
|
.
|

\
|
(
(
(
¸
(

¸

|
|
.
|

\
|
÷
÷
·
|
|
.
|

\
|
· =
÷ ÷
+
÷
÷
1 1
1
1
1 1
1
2
1
2
1
2
1
1
2
¸
¸
¸
¸
¸
¸
¸
¸
¸
¸ ¸
¸
¸ ¸
¸
in
out
in
in d
out
in
out
in
out
in
out
in
in d
out
p
p
if
RT
Ap C
m
p
p
if
p
p
p
p
RT
Ap C
m

(e-6)
where p is the pressure inside the tank, R is the universal gas constant, T is the
temperature of the fluid in the tank, A is the area of the restriction and ¸ is the ratio of the
specific heat coefficients. In (e-6), C
d
is known as discharge coefficient: this model
parameter is typically introduced to account for the real gas flow effects and requires
calibration with experimental data.
Assuming the fluid as a perfect gas and that the temperature of the fluid in the
tank does not change significantly, the ideal gas law can be used in conjunction with (e-
5) to determine the pressure in the vessel:
( )
( )
( ) t m
RT
V t p
dt
d
t m
dt
d
out
 ÷ =
(
¸
(

¸

=
(e-7)
Which, combined with (e-6), allows one to estimate the instantaneous pressure in the
vessel.
The expression (e-6) is nonlinear and particularly complex to model. Its
formulation can, however, be considerably simplified if the pressure ratio between the
tank and the external ambient is high (above the critical value) and the tank is sufficiently
large compared to the area of the nozzle. Under these approximations, it is possible to
assume that the nozzle operates in choked conditions. Therefore, by combining equations
(e-6) and (e-7), the differential equation that governs the dynamics of the pressure inside
the vessel can be derived as follows:
p
RT
A C
V
RT
dt
dp
d
·
(
(
(
¸
(

¸

|
|
.
|

\
|
+
· · ÷ =
÷
+
1
1
1
2
¸
¸
¸
¸
(e-9)
which is a first order linear differential equation with constant coefficients.
ME 7236 Module 1 Autumn 2012
1.56
Example 1.3: Torsional system dynamics
A simple model of an engine drivetrain is shown in Figure 1.17, where the input
to the system is the torque generated by a multicylinder engine and the desired output is
the engine angular velocity,
du
E
dt
= e
E
. Please note that the damping term B
E is

proportional to the flywheel speed, while the clutch damping is proportional to the
difference between vehicle speed,
du
V
dt
= e
V
, and flywheel speed.
Using the method of determinants, find the transfer function between torque and
engine speed in symbolic form. Expand and group numerator and denominator to obtain
the transfer function in the form of a ratio of polynomials.
crankshaft and
flywheel inertia
vehicle
equivalent inertia
stiffness and damping of
clutch coupling
J
E
J
V
K
C
B
C
T
E
u
E
u
V
B
E
damping due to
bearing friction
at flywheel
T
L

Figure 1.17: Simplified model of engine cranktrain dynamics
The equations of motion can be obtained by applying Newton’s law to the system
represented in Figure 1.17:
) ( ) (
V E C E E V E C E E E
B B k T J u u u u u u
    
÷ ÷ ÷ ÷ ÷ =

) ( ) (
V E C V E C L V V
B k T J u u u u u
   
÷ + ÷ + ÷ =

(e-10)
(e-11)
Equations (e-10 – e-11) become
( ) ( ) ( )
( ) ( )
L V C C V E C C
E V C C E C E C E
T s K s B s J s K s B
T s K s B s K s B B s J
÷ = + + + + ÷
= + ÷ + + +
) ( ) (
) ( ) (
2
2
u u
u u

(e-12)
ME 7236 Module 1 Autumn 2012
1.57
or, in matrix form,
( ) ( ) ( )
( ) ( )
(
¸
(

¸

÷
=
(
¸
(

¸

(
¸
(

¸

+ + + ÷
+ ÷ + + +
L
E
V
E
C C V C C
C C C E C E
T
T
s
s
K s B s J K s B
K s B K s B B s J
) (
) (
2
2
u
u

(e-13)

u
E
(s) =
det
T
E
÷ B
C
s + K
C
( )
÷T
L
J
V
s
2
+ B
C
s + K
C
( )

¸

(
¸
(
det
J
E
s
2
+ B
C
+ B
E
( )s + K
C ( )
÷ B
C
s + K
C
( )
÷ B
C
s + K
C
( )
J
V
s
2
+ B
C
s + K
C
( )

¸

(
¸
(
(
=
J
V
s
2
+ B
C
s + K
C
( )
T
E
÷ B
C
s + K
C
( )T
L
J
E
s
2
+ B
C
+ B
E
( )s + K
C ( )
J
V
s
2
+ B
C
s + K
C ( )
÷ B
C
s + K
C
( )
2

u
E
(s)
T
E
( s)
T
L
(s)=0
=
J
V
s
2
+ B
C
s + K
C ( )
J
E
s
2
+ B
C
+ B
E
( )
s + K
C ( )
J
V
s
2
+ B
C
s + K
C ( )
÷ B
C
s + K
C
( )
2

Since we desire the transfer function from T
E
to e
E
, we multiply both sides by s
to obtain

su
E
(s)
T
E
(s)
T
L
(s)=0
=
e
E
(s)
T
E
(s)
=
s J
V
s
2
+ B
C
s + K
C
( )
J
E
s
2
+ B
C
+ B
E
( )s + K
C
( )
J
V
s
2
+ B
C
s + K
C
( )
÷ B
C
s + K
C
( )
2
=
J
V
s
3
+ B
C
s
2
+ K
C
s
J
E
J
V
s
4
+ B
C
+B
E
( )
J
V
+J
E
B
C
( )
s
3
+ J
E
K
C
+ B
C
+B
E
( )
B
C
+K
C
J
V
( )
s
2
+K
C
2
÷B
C
2
s
2
÷2B
C
K
C
s÷K
C
2
=
J
V
s
2
+ B
C
s + K
C
J
E
J
V
s
3
+ B
C
+ B
E
( )J
V
+ J
E
B
C
( )s
2
+ J
E
K
C
+ B
E
B
C
+ K
C
J
V
( )s ÷ 2B
C
K
C

Now we can substitute numerical values.

ME 7236

Module 1

Autumn 2012

Part I Engine Dynamics
Giorgio Rizzoni Jonathan Dawson (The Mathworks) Yong-Wha Kim (Ford Motor Company) Byungho Lee (General Motors) Qi Ma (General Motors) Amr Radwan (Detroit Diesel Corporation) Devesh Upadhyay (Ford Motor Company) Inkwang Yoo (Ford Motor Company) Marcello Canova (The Ohio State University) Fabio Chiara (The Ohio State University)

1.2

ME 7236

Module 1

Autumn 2012

Module 1 Introduction to Powertrain Dynamics
1.1. COURSE ORGANIZATION ..................................................................... 5 Objective ......................................................................................................... 5 Assignments and examinations ....................................................................... 5 What do we mean by “System Dynamics”? ................................................... 6 What this course is not .................................................................................... 6 Structure of the course .................................................................................... 6 Required background ...................................................................................... 7 1.2. BACKGROUND AND MOTIVATION ................................................ 8

Fuel efficiency improvement .......................................................................... 8 Emission standards ......................................................................................... 9 Emission controls for spark-ignition engines ............................................... 12 The importance of engine control systems ................................................... 14 1.3. INTRODUCTION TO POWERTRAIN DYNAMICS............................. 16 1.4. MODELING FOR POWERTRAIN CONTROL ..................................... 20 Fundamental equations for modeling fluid systems dynamics ..................... 25 Model coupling techniques ........................................................................... 29 Modeling guidelines ..................................................................................... 31 1.5. TWO IMPORTANT ENGINE CONTROL PROBLEMS ................... 32

The AFR Control Problem ............................................................................ 32 Open-loop AFR Control ............................................................................... 32 Closed-Loop AFR Control............................................................................ 37
1.3

ME 7236

Module 1

Autumn 2012

The Idle Speed Control Problem .................................................................. 39 Idle Air Control ............................................................................................. 41 Ignition Timing Control ................................................................................ 47 Summary ....................................................................................................... 50 1.6. REFERENCES ......................................................................................... 51 1.7. EXAMPLES ............................................................................................ 52 Example 1.1: Water tank filling dynamics model ........................................ 52 Example 1.2: Compressible flow through an isentropic nozzle ................... 54 Example 1.3: Torsional system dynamics .................................................... 55

1.4

ME 7236

Module 1

Autumn 2012

1.1. COURSE ORGANIZATION Objective The objective of this course – the first in a sequence of two - is to introduce practicing engineers and engineering students (the latter typically in the first or second year of a M.S. program in electrical or mechanical engineering) to the essential aspects of modeling and control of automotive powertrains. The course recognizes the significance of this growing area of engineering and its central role in the automotive industry. The lectures place emphasis on the integration of many different aspects of powertrain engineering, including: the dynamics of mechanical, fluid, and thermodynamic systems; sensor and actuator technology; and feedback controls. Primary emphasis will be given to dynamics and control of fuel-injected, spark-ignited, internal combustion engines, while the integration with the complete powertrain (torque converter and transmission) will also be addressed. The course will present an overview of the major dynamic phenomena that characterize powertrain behavior: intake and exhaust air flow dynamics; fuel system dynamics; combustion and emissions; crankshaft dynamics; and air-fuel ratio control. Emphasis will be placed on explaining the interaction between subsystems, and the importance of considering the entire vehicle system when assessing the impact of the performance of a subsystem on overall system performance. Modeling and computer simulation will be integral part of the course, showing how to build numerical models of engine/powertrain systems and components and apply them to solve problems pertaining to powertrain dynamics.

Assignments and examinations A homework assignment will be handed out each week. assignment will include the following components: a) theoretical: understanding the nature of the problem and identify the path for solution; Each homework

1.5

System dynamics is a discipline that is often presented in the junior or senior year of the undergraduate mechanical engineering curriculum. Design of transmission elements or subsystems. A summary of systems dynamics concepts is available for those students who are in need of a review [3]. In addition. based on a set of equations and a number of physical constants. focusing on the dynamic behavior. What this course is not a) b) c) Modeling of IC engine thermo-fluid processes. focusing on the dynamics of electrical. the system-dynamic representation of a complex system such as an automotive powertrain consists of a set of coupled. electro-mechanical. and of linear analysis methods. nonlinear. pneumatic. Structure of the course Module 1: Module 2: Introduction to powertrain dynamics Intake and exhaust dynamics 1. Modeling of mechanical dynamics of engines. hydraulic. simulation and system identification project based on data from an actual powertrain. ordinary differential equations. and thermal systems [1]. Typically. Linear and nonlinear system analysis and computer simulation methods are used to analyze the properties and characteristics of the describing equations. In addition to the homework assignments.6 . What do we mean by “System Dynamics”? System dynamics is a discipline that studies the mathematical representation of systems. In this course it is expected that students have a good working knowledge of modeling and analysis of these families of systems.ME 7236 Module 1 Autumn 2012 b) analytical: development of a mathematical formulation of the problem. mechanical. the use of computer-aided tools such as Matlab/Simulink is also necessary to complete many of the assignments in this course [2]. the students will complete a modeling. formulate criteria for verification and interpretation of the results. c) computational: develop numerical procedures for solving the equations.

Guezennec. by Profs. and mechanical systems) . Srinivasan and Yurkovich. Ignition control and knock Crankshaft dynamics Overview of engine control systems Fluid couplings and torque converters Transmission mechanical system and vehicle longitudinal dynamics Transmission shift hydraulic system Open loop transmission control Shift schedules and continuously variable transmissions Each of the above modules is presented according to the following sequence:        Present physical phenomenon in intuitive terms Show physical components. o Familiarity with the Matlab/Simulink environment . and illustrate performance curves Define physical laws Derive equations of motion Interpret equations of motion Discuss computer simulation Discuss model identification experiments (where appropriate) Required background o Undergraduate level linear system theory o System Dynamics (dynamics of electrical.Introduction”. fluid. electro-mechanical. o Basic IC engine processes . by Prof.review available in the technical presentation “Signal and System Dynamics Integration”. where possible.review available in the GMTEP technical presentation “Matlab/Simulink .ME 7236 Module 1 Autumn 2012 Module 3: Module 4: Module 5: Module 6: Module 7: Module 8: Module 9: Module 10: Module 8: Fuel injection and fueling dynamics Combustion.7 . thermal.review available in the technical presentation “Internal Combustion Engine Fundamentals”. 1. Rizzoni.

which have been improving at increasing rate with multi-disciplinary effort at all stages of development.2. refinement.8 .ME 7236 Module 1 Autumn 2012 1. Energy Flow Trends in 2005 (Units in quadrillion BTUs) 1. fuel efficiency and safety requirements have steadily become more stringent over the last few decades.S. Figure 1: U. These regulations can be considered the driving force behind most of the advancements in the technology of internal combustion engines. BACKGROUND AND MOTIVATION Emissions. transportation and utilization is considered (well-to-wheel analysis). The problem becomes increasingly alarming when the entire chain of oil supply. Fuel efficiency improvement The recent surge in oil prices has dramatically increased the awareness on improving the fuel efficiency of passenger vehicles.

gov).ME 7236 Module 1 Autumn 2012 Figure 1 summarizes the energy utilization in the U. Few state governments.  Tier 2 Standards. Furthermore. as well as in the emerging economies. the energy used for transportation shows the worst overall efficiency.epa. implement own regulations. with values around 20%. which were published on 1991 and were effective from 1994 until 2003. This is the case of California. biofuels and natural gas). where the California Air Resource Board (CARB) has applied some of the strictest standards in the world. 43% is used for fueling light-duty vehicles. are used almost exclusively for transportation (out of which.S. emission standards are managed by the Environmental Protection Agency (EPA) (www. it is possible to notice that the petroleum supplies. based on data collected in 2005. and Europe). 1. Focusing on the bottom part of the chart. This scenario suggests the strong priority of the automotive industry to design fuel efficient vehicles.9 . such as passenger cars and light duty trucks).S. such as Asia and Latin America. Within the Clean Air Act Amendments (CAAA) of 1990.. the EPA defined two sets of federal standards for light-duty vehicles (similar rules have been defined for heavy-duty vehicles and trucks):  Tier 1 Standards. These regulations can be considered the driving force behind most of the advancements in the technology of internal combustion engines. which rely mostly on foreign sources (62%). which were initially adopted in 1999 with an implementation schedule from 2004 to 2009. as well as the efforts in improving the overall well-to-wheel efficiency and diversifying the fuel sources for transportation (i. however.e. In the United States. Emission standards Another important motivation for the development of modern and efficient engines and powertrain systems is dictated by the emission legislations. which have become increasingly stringent in the past years in the major world automotive markets (U.

vehicles sold in the United States must meet Tier 2 standards. large engines (such as those used in light trucks or SUV) are forced to use more advanced emission control technologies than smaller engines in order to meet the standards. have been set as a transitional step until the full implementation or Tier 2 Standards in 2007. ranging from BIN 1 (corresponding to zero emissions) to BIN 8. Vehicle manufacturers are allowed to certify their vehicles to any of the 8 categories. SUV). The emission standards for all pollutants. lightduty trucks. the current Tier 2 regulation apply the same emission standards to all vehicle weight categories (i.com) 1. the average NOx emissions of the entire vehicle fleet sold by each manufacturer has to meet the average NOx standard of 0. With these regulations.07 g/mi. named Certification Bins. Temporary emission standard. to uniform vehicles certification to the Federal and California standards.e.10 .. less restrictive. which are characterized by lower emission limits and a number of additional changes that made the standards more stringent for larger vehicles.ME 7236 Module 1 Autumn 2012 Currently. Figure 2.1: Tier 2 Federal Emission Standards (units in [g/mile]) (source: http://www. are shown in the following figure. Within the Tier 2 standards. At the same time. minivans. there is a ranking of 8 different emission levels. regardless of the fuel they use.dieselnet. cars. Although the former Tier 1 standards were different between automobiles and light trucks. The EPA Bins cover California LEV 2 emission categories.

such as particulate filters and NOx catalysts. Tier 1 was the baseline used to determine the standards. adopted from 2004 to 2010. Each category was characterized by more stringent emission restrictions.11 . Specific emission standards are defined for passenger cars (including light-duty trucks and medium-duty vehicles below 8500 lbs gross weight) and for heavy-duty vehicles. where six vehicle types are defined:       Tier 1. Zero Emission Vehicle (ZEV). As a result. It is. applied until 2003. 1. The following figure reports an excerpt of the LEV 2 emission standards for passenger cars. Transitional Low Emission Vehicle (TLEV). Low Emission vehicle (LEV). The California Air Resource Board (CARB) adopted a former emission standard program. and the same emission levels apply to both gasoline and Diesel vehicles. Under the LEV 2 standard. Ultra Low Emission Vehicle (ULEV). or by hybrid-electric vehicles. therefore. Car manufacturers were required to produce a percentage of vehicles certified to increasingly more stringent emission categories.ME 7236 Module 1 Autumn 2012 California emission standards have been traditionally more stringent than the EPA requirements. Super Ultra Low Emission Vehicle (SULEV). but their evolution and structure is similar to that of the federal legislation. NOx and PM standards for all emission categories are significantly tightened. In 1998 CARB defined the LEV 2 emission standards. most pick-up trucks and sport utility vehicles are required to meet the passenger car emission standards The TLEV emission category has been eliminated. believed that the LEV 2 emission standards can only be met by vehicles fitted with advanced emission control technologies.

NOX. where it can reach up to 50 percent of the total trapped charge. This practice. The voltage output of the lambda sensor is processed by the Engine Control Unit (ECU). it is possible to recirculate a fraction of the exhaust gas into the intake manifold through a controlled valve. The concentration of the amount of oxygen relative to ambient contained in the exhaust is related to the air/fuel ratio.com) Emission controls for spark-ignition engines To comply with the emission regulations.dieselnet. which outputs a signal to the fuel injectors (pulse width) adjusting the amount of fuel injected according to the duration of the input voltage pulse. spark ignition (S.12 . this sensor becomes active when it reaches a temperature T > 250° C. the feedback signal used to close the loop in the air-fuel ratio controller is provided by an exhaust gas oxygen. but is largely adopted in Diesel engines. Closed-loop regulation of the air-fuel ratio is therefore required to achieve this goal. In this way the air-fuel ratio is maintained as close as possible to the stoichiometric value to take advantage of the higher conversion efficiency of the catalytic converter. conventionally known as Exhaust Gas Recirculation (EGR). or lambda. and CO). To further reduce the formation of NOX. The oxygen sensor contains a ceramic material that has an electrical response to changes in the oxygen partial pressure in the exhaust stream relative to ambient.) engines require the presence of a three-way catalytic converter to reduce emission levels of the three major pollutants (HC. is nowadays in decline for S.I.2: California LEV 2 Emission Standards for passenger cars (units in [g/mile]) (source: http://www. The catalytic converter operates most efficiently in a narrow window around the stoichiometric value of the air-fuel ratio.I. The use of EGR corresponds to adding an inert gas to the 1. a microcontroller. engines.ME 7236 Module 1 Autumn 2012 Figure 1. sensor.

In a typical automotive S. disturbing the regulation of the lambda control. and other systems.) is typically used at operating conditions which require richer or leaner mixtures than in the case of closed-loop control.13 . these vapors are then purged into the intake manifold to be burned with the mixture at operating conditions that require additional mixture enrichment. HC emissions which originate from evaporative sources (i. The engine ECU contains maps specifying the opening position of the valve across the engine operating range. the valve is electrically operated (through a solenoid actuator). Open-loop control using other available sensors (throttle position. engine. 5 to 15 percent of the exhaust gas is routed back to the intake as EGR. idle air bypass actuator. Additional actuation mechanisms may also be employed to aid in the control of the engine exhaust emissions.e. mass air flow. this can be compensated for by advancing the spark timing. evaporation of the fuel in the tank) are reduced by the use of an evaporative emission control system which is designed to store and to dispose of the fuel tank vapors.I. the control inputs are not computed on a 1. The combination of the above described control strategies constitutes what is generally known as an automotive engine emissions control system.ME 7236 Module 1 Autumn 2012 mixture and thereby reducing the combustion temperature. these may include: heated catalysts. manifold pressure and temperature. Further. The control of EGR is typically accomplished using an open-loop structure. etc. In modern EGR systems. This system has a strong interaction with the fuel control system because during the purge cycle air and fuel vapors are introduced into the intake system in unknown quantities. The implementation of such a control system with the performance required to satisfy emission regulations requires the use of event-based control (i. This evaporative system consists of an active-charcoal canister that stores the HC vapors. Although EGR does measurably slow combustion. cold start and heavy acceleration are two conditions among others which require the open-loop control strategy to take over. leading to the reduction of NOX formation. auxiliary air handling during starting.e. electronic throttle control. providing a feedback signal on the valve position.

v) on-board diagnostics. so as to manage the individual fuel injection and spark ignition events. the consumer acceptability requirements (acoustic refinement and driving performance) must be improved. In response to both environmental and acceptability challenges. Figure 1. Moreover. This trend is also related to the upcoming regulation regarding CO2 emissions. the complete control strategy requires the measurement of all the signals necessary to obtain information of the engine operating condition and the parallel implementation of several strategies. iv) canister purge cycle.e.14 . i. which occur at different rates as the engine speed varies. The importance of engine control systems The directives for fuel efficiency and environmental protection are followed both by the Industry and Research Centers focusing mostly on two key areas: design optimization and control. Figure 1. Further.3 compares the main tasks related to design optimization and control for mid class and luxury segment vehicles. ii) fuel injection (quantity and timing). significant improvements are required to fulfill the targets imposed in each vehicle segment. reducing the displacement. iii) exhaust gas recirculation (EGR). a large effort is dedicated to fuel economy improvement through engine downsizing. in order to conquer a market share.3: Future engine development trends for mid class and luxury segment vehicles 1. For mid class segment vehicles. including: i) spark timing.ME 7236 Module 1 Autumn 2012 fixed time increment but are dependent on the position of the engine crankshaft).

First of all.15 . such as combustion. safety and reliability. The tasks delineated must be met in very short time due to increased competitiveness of the market. Generally. Such modeling capabilities are the key to reduce time and costs related to traditional experimental tests and calibration efforts. Here. a wide range of models is available to assist all the design phases. The most direct and effective way of improving engines performance relies on design. a task that constitutes a labor intensive and expensive process. one of the priorities of industry is to shorten the development time as much as possible. simulation models are capable of shortening consistently the development time from the definition of the control system tasks to final tests and prototyping. from the simulation of flow and combustion processes.ME 7236 Module 1 Autumn 2012 Slightly different effort must be dedicated to the development of luxury segment vehicles. new design and control concepts are tested extensively prior to prototype applications. either with the development of innovative technical solutions or the refinement of existing products. combustion and structural refinements. For internal combustion engines. gas exchange processes. Even though not able to replace experimental investigations in full. to the 1. the consumer acceptability implies a higher priority for driving performance. The research effort in this field is generally oriented in two directions. This can be accomplished by relying more on mathematical modeling tools to assist both the engine design phase and the development of its control systems. for example higher peak pressures or temperatures. In this sense. therefore striving to reduce the time-consuming and expensive tests and calibration phases typically associated to the engine control development. etc… Then it is also required to accommodate physical constraints that are a result of the improvements sought. On the other hand. thermal management. control design improvement seeks to optimize the various processes in order to deliver power most efficiently while meeting constraints on emissions. enhancements are sought for all the various phenomena that affect the energy conversion process.

their behavior influenced by the interaction of several components. Consequently. rather than focusing on the details of a single component. Even though models are not able to replace experimental investigations. For example. However. 1. namely the dynamic response to environmental and control inputs. it is essential to have a global understanding of the behavior of the entire engine system. conceived for engine and powertrain control. this forces the control engineers to rely more on models from the early development phases of the control systems. ports and cylinder parts. INTRODUCTION TO POWERTRAIN DYNAMICS Modern engines and powertrain systems have become complex units. which would normally require complex testing environments and equipment. computation time becomes a significant constrain. they contribute to shorten development time from the definition of design specifications to final road tests. A typical engine system model. The number and the complexity of design requirements are now forcing a shift from map-based control systems towards model-based algorithms able to support control and diagnostics functions. Even though computationally intensive. Their use can also replace part of the experimental analysis.16 . In addition. will be designed to predict only certain features. the number of variables that must be considered for control and diagnostics has dramatically grown. Computational Fluid Dynamics (CFD) and Finite Elements Method (FEM) are largely adopted in the mechanical and fluid dynamic design of engines. these tools are extremely powerful in assisting engineers and designers in the development of individual components. when the final objective of the study is the design of a controller. 1. such as manifolds.ME 7236 Module 1 Autumn 2012 implementation and test of the control system. As stated above. runners. avoiding an overly complex description of phenomena that are not relevant for the analysis.3.

In the figure.4 depicts the simplest overview.17 .ME 7236 Module 1 Autumn 2012 The approach commonly adopted for the analysis of steady-state and transient behavior of engine and powertrain systems has its foundations in the system dynamics theory. 1.4: Overview of basic engine function A more detailed view of basic engine functions. two specific subsystems are source of dynamic behavior. become then the focus of the analysis. Figure 1. The general idea is to divide the system studied in elementary components which are interconnected. illustrating the difference between ideal and actual external inputs. a common practice in the study of mechanical. namely the intake manifold for air and the evaporation dynamics for the injected fuel. the developed torque is what provides the tractive force for the vehicle through a transmission and driveline. The connections. in which the engine is interpreted as a subsystem that converts air and fuel flows to torque and exhaust gases.5. is shown in Figure 1. and are affected by internal dynamics. electrical and hydraulic systems. namely the inputs and outputs of each element. it is shown that the flows of air and fuel are actually regulated by ”valves” or “flow restriction devices” (throttle body and fuel injectors). Figure 1. In particular. The following block diagrams are intended to illustrate in increasing order of complexity the relationships among components and subsystems in a typical automotive powertrain.

1.ME 7236 Module 1 Autumn 2012 Fuel Injector fuel in Fuel Dynamics fuel in cyl.5: Complete block diagram of automotive powertrain. Intake Manifold Combustion A/F exh EGO Sensor Vo 2 Tload Vehicle engine speed air in Throttle Body Tind   Crankshaft Transmission Spark Controller Figure 1.18 .5: More detailed view of powertrain dynamics Open-loop fuel control  fuel from ECM Closed-loop fuel control Canister purge from ECM Fuel Inject ion can Fuel Dynamics (Well Wetting) Fuel Canister Drive Train Vehicle Load Throttle Body from ECM Electronic Throttle Control Intake Manifold Combustion Air sp EGR from ECM EGR Control engine torque  Inertia engine speed from ECM Damping/Friction Ignition Control Exhaust Manifold EGR HEGO Catalytic Converter Exhaust Figure 1. air in cyl.

6. is characterized by a number of different phenomena that typically occur at different time scales.2 Hz Time constant: 0. The characterization of the engine and powertrain dynamics involves studying the dynamic response of each subsystem.5 .2000 Hz 3 . 4. thermal and electrical components. as summarized in Table 1. 3.1. including closed-loop air-fuel ratio control. 1. 2.5 s Mixing: 1 .1 – 3 ms. This representation allows one to better understand the interactions between components. is typically characterized by a larger time constant. being mostly dependent on the slowly-varying intake manifold temperature and the fuel vapor partial pressure in the port. the typical response of a fuel injector (electro-hydraulic actuator) is rather fast. Subsystem 1. defining the inputs. 5.5 shows a third block diagram which depicts a more complete system model. in the order of 0. Table 1. For example. 7. hydraulic.10 ms Delay: 1/2 engine cycle 0 . Intake Manifold Fuel Injector Fuel Dynamics Combustion Crankshaft Transmission/Vehicle O2 Sensor Bandwidth or Time Constant Fast Dynamics: 200 -400 Hz Slow Dynamics: 1 . as well as the interactions between the different components.ME 7236 Module 1 Autumn 2012 Figure 1.5 Hz Time constant: of the order of a few ms (speeds up with aging) The engine system. and including disturbances such as EGR and canister purge flows.3 ms Evaporation: 0. the fuel evaporation dynamics. outputs of each subsystem and the related controlled variables. as an assembly of mechanical. Further complexity is added by the characteristic frequency associated to the dynamic response of each component.1 Powertrain dynamics time constants. Conversely.19 .

even with the loss of details for each individual component. To this extent. and model based control methods are gaining wider acceptance in the research community.ME 7236 Module 1 Autumn 2012 The separation of time constants is a typical problem that occurs when modeling the dynamics of engines and powertrain systems. It is important then to realize that no system can be modeled exactly in all its detail.17-1. Once each component is determined in its relevant inputs/states/outputs. Turin and Geering [1. it is worth mentioning the early works of Dobner [1.14]. but that a good control-oriented model will capture with reasonable accuracy the behavior of the system in a bandwidth sufficiently limited to allow for a simple but reliable control design. various control approaches have been proposed to use such models for control purposes. it is necessary to develop a mathematical model that allows to predict the states and outputs in relation with the inputs and (if any) the control variables. Azzoni et al. is necessary to develop a description of 1. Relevant works in the field have been presented by Amstutz et al. Chang et al. 1.4. 1. [1.7].12]. Ault et al. Hendricks and Sorenson [1.23]. MODELING FOR POWERTRAIN CONTROL The application of the system dynamics principles to the study of powertrain systems allows one to operate a deconstruction of the plant into a series of interconnected components.9]. hence not focusing on the details of the individual component. In this process it is important to maintain a ”system viewpoint”. [1. [1.21]. In recent years. Moskwa and Hedrick [1. [1.11]. Cho and Hedrick [1. Turin and Geering [1.20]. stiffness) and complications when the model is used for control design. This approach.. Kao and Moskwa [1.11]. Hendricks et al.15].16]. [1.8].e.22.10]. following the advent of digital simulations of internal combustion engine processes.19]. Powertrain models aimed at the development of control strategies have been developed since 1980. Powell et al. which may resolve in numerical issues (i. [1. Grizzle and Cook [1. Powell and Cook [1.13]. but considering it as part of a more complex entity.20 .

the capabilities of a model to capture specific engine phenomena will be affected. namely making assumptions on the categories of models that would best address the problem. 1. it is possible to define several categories in relation with the characteristics of the system and the scopes of the analysis.. removing spatial and temporal scales from the model. wherein the properties are considered uniformly distributed. low-order) – several components are included within the boundaries. • Large length (0D lumped. This choice leads to implicitly operate a spatial and temporal average (~lowpass filter). high-order) – the boundaries are assumed equal to a component (e. • Small length (1D) – the boundaries are set to characterize the field in typically one direction. The operation of an internal combustion engine can be seen as the result of interactions between several phenomena that occur at different temporal and spatial scales. properties are assumed constant on any plane orthogonal to the chosen direction. i. In general. a fundamental choice has to be made to determine the bandwidth of the model. valve.g. Although there are neither standard nor accepted methods of classifying system models. • Very large length (0D lumped. a preliminary stage for the analysis of a system or component consists of operating a classification..…). Therefore. When modeling a specific engine component. allowing for detailed characterization of scalar and vector fields. receiver. which will be unresolved. while maintaining a reasonable computational ease.e. the maximum temporal and spatial resolution.21 . two possible classifications of engine models can be made: Classification by Space Scale (Characteristic Length): • Micro-length (multi-D) – the boundaries of the systems are very small.ME 7236 Module 1 Autumn 2012 the system capable of dynamically accounting for the most relevant phenomena. Following the principles above.

fluid dynamic and heat transfer processes occur.g. • Short time scales . • Medium time scales . This classification concept can be better explained through an example.captures evolution of internal system states at microscale (e. A very important engine subsystem is the intake manifold. Inside this component. minutes.ME 7236 Module 1 Autumn 2012 Classification by Time Scale: • Very short time scales .: tens of milliseconds).e. several thermodynamic.captures dynamics much faster than the excitation time scale (e..: fractions of one second).: seconds. hours). the ability to draw fresh air/fuel charge at each cycle) results from complex interactions.g.22 . • Long time scales (quasi steady) .system reaches equilibrium very quickly relative to the time scale of excitation (e.captures input-output dynamic behavior of comparable time scale relative to excitation (e.6: Example of model classification applied to intake manifold modeling 1.g.: sub-millisecond). Figure 1.g. and the “breathing performance” of the engine (i.

 1D Wave-Action Models (WAM): these models remove two spatial dimension from the problem. crank-angle based models”. The time resolution is typically set to provide an adequate characterization of the system properties during one engine cycle (typically. For these reasons. temperature. Low-Order Models: these models capture only the low-frequency dynamics of the system. adopting a very high resolution that allows to characterize in great detail the velocity field. considering all the system properties as cycle1. Such models are typically used for design optimization.  0D Filling-and-Emptying (F&E) Models: these models approximate all the spatial resolution of the system. Wave-action models are also used for optimizing the manifold design. Models pertaining to this category are considered a fair compromise between accuracy (most of the high-frequency variations in pressures and flow rates due to the alternative motion of the piston are captured) and computation time. These models typically result in a highorder system of nonlinear ordinary differential equations. allowing for the characterization of the high-frequency pressure fluctuations (wave propagation dynamics) that are very relevant for engine tuning.23 . such models are often named “thermodynamic. with respect to tuning and volumetric efficiency. From a numerical standpoint. one degree of crank angle).ME 7236 Module 1 Autumn 2012 Several models can be used to study the flow through the intake manifold. etc…) vary only with respect to time and one spatial coordinate (length). assuming that the thermodynamic properties are uniformly distributed.6 illustrates the classification based on the spatial and temporal scales reporting the most relevant model that are generally adopted for studying the system at different levels of accuracy and computation time:  3D Computational Fluid Dynamics (CFD) Models: the system is studied in four dimensions (space and time). The time resolution and discretization length are typically small.  0D . WAM are typically based on nonlinear partial differential equations. assuming that all the properties (pressure. which are solved using numerical approximations. Figure 1.

For control oriented modeling approach.ME 7236 Module 1 Autumn 2012 averaged. The result of such approximations is a low-order system of nonlinear ordinary differential equations. With this approach. The MVM technique is applied to each engine component to obtain a mathematical representation of the input/output behavior. in order to respect the conservation principles and the agreement with the behavior of the physical component. intake manifold pressure and spark timing. the engine cyclical behavior. have made them a very powerful tool in the analysis. Figure 1. requiring experimental calibration. Such parameters. the models developed have a time resolution which is adequate to capture the desired details of the engine “throttle-to-torque” dynamics. mean-value models capture only the low frequency spectrum of a system input/output behavior. The characterization can be 1.6 illustrates also that the choice of a specific model category implies that all the phenomena occurring at higher spatial and temporal scales will not be considered. However. heat transfer coefficients…).24 . but not the high-frequency behavior (which can be associated to the fuel system dynamics. This facilitates the applications of these models in control system design. As introduced above. these are typically known as. as typically occurs in system dynamics theory. the effects of unresolved scales must be approximated on the resolved scales. friction coefficients. generating errors. This can be done by introducing corrective coefficients (in engine modeling. simulation and design of internal combustion engines. The flexibility of these models and their capability of representing the input/output behavior of the system with reasonable precision but low computational complexity. the bandwidth of interest is typically associated to the transients that result from variations of the engine load torque. This approach is often known as Mean-Value Modeling (MVM). which can be translated into correspondent variations of the throttle position. discharge coefficients. Such high frequency modes are typically time-averaged. or to the tuning effects in the engine manifolds and runners). approximate the unresolved physics that would be otherwise removed from the model.

Focusing on the throttle-to-torque dynamics. electrical and electromechanical systems. Focusing on a macroscopic viewpoint. The first step in both cases consists of drawing an arbitrary closed volume within a region of the flow field studied. The formulation of the fundamental equations for a fluid system assumes the definition of a suitable model of the flow. control design. This defines a control volume V. Once all components have been individually modeled. notions of applied mechanics. hence knowledge of different engineering fields. calibration and validation. Often. fluid mechanics. This process requires knowledge of all the system components behavior. 1. Fundamental equations for modeling fluid systems dynamics An important step for formulating a MVM of an engine (or any fluid system). all the necessary principles and information concerning thermodynamics. whose boundary is defined by a control surface A. The equations are based on conservation principles that stem from the fundamental notions of thermodynamic and fluid mechanics. two methods of analysis are available. to optimization.ME 7236 Module 1 Autumn 2012 made with different modeling criteria as well as different levels of detail. they are coupled together in relation with the system block diagram representation. heat transfer. The result is a set of differential and algebraic equations (DAE) describing the dynamic of the entire system. based on the continuum scheme commonly adopted in fluid mechanics. Models created following this methodology can serve a number of applications which.25 . is stating the fundamental equations that represent the time evolution of the system variables. depending on the model complexity. chemistry and combustion have to be used together. range from feasibility and design studies. and automatic control are also required.

The conservation principles are usually expressed in the form of equations: 1. a general conservation equation for an extensive system property can be written in the following form: {net change in time} = {flow in through boundary}-{flow out through boundary} + {net generation}-{net consumption} The conservation laws. Most of the practical cases in fluid systems dynamics deal with the study of the flows into and out of components. to the mass and energy flows across the control surface.7(a). whose validity is independent of the nature of the particular fluid or problem. in the Lagrangian approach the control volume is moving with the fluid such that the same fluid particles are always contained in the volume. energy and momentum can flow across its boundary. defining the control volume as the physical volume of the component. Alternatively.7(b) shows. an Eulerian approach is usually chosen. are a summary of theoretical analyses and experimental observations and rely on the assumption of nuclear and relativity effects being absent. In this context. as depicted in Figure 1. the conservation laws are applied to a control volume fixed in space. Hence. The conservation laws are applied to the fluid inside the control volume and. as Figure 1. where mass. if the Eulerian approach is chosen.ME 7236 Module 1 Autumn 2012 a) Finite control volume fixed in space b) Finite control volume moving with the fluid Figure 1.26 .7: Overview of flow modeling approaches The Eulerian approach states that the control volume is fixed in space and the fluid moves through it.

the equation is also known as the continuity equation The energy conservation equation is the expression of the first law of thermodynamics for open systems. the principle states that rate of change of the total energy of the system is equal to the difference between the rate of energy flowing into the system and the rate of energy flowing out of the system: d met        mini hi   mout j h j  Q  W dt i j (2) where et is the total energy per unit of mass comprising the thermodynamic internal 1 energy (u). hence the rate of accumulation of mass within the control volume is equal to the excess of the incoming mass flow rate over the outgoing mass flow rate: dm  dt  m i in i   m j out j (1) In steady-state (hence. The latter includes all 2 the forms of potential energy associated to conservative fields.27 . i. such as gravitational or electrical. with the left-hand side equal to zero). capable of exchanging mass and/or energy with the boundary. states that the overall mass of the system is constant. Considering a flow model of a finite control volume fixed in space such as in Figure 1.e. 1 et  u  c 2   2 (3) 1. • momentum equation. referred to an open thermodynamic system of finite extension and fixed boundary. The principle of mass conservation. • energy conservation equation.ME 7236 Module 1 Autumn 2012 • mass conservation equation.7(a). as well as the kinetic ( c 2 ) and potential energy ( ).

1. the equation is actually a vector equation (depending on three directions and time). h represents the enthalpy of the flow. For instance. unlike the previous two. This law states that the rate of change of the system momentum in any direction is equal to difference between the incoming and the outgoing rate of momentum flow and the sum of the external forces acting on the system:  d M    M in  M out   Fi dt i (4) The fundamental equations allow one to form a coupled system of nonlinear ordinary differential equations in terms of several unknown variables. The momentum equation. To this extent. in the following form: f  p . For this reason. the constitutive relations are a specific characteristic of the problem. the relation will simply become v  const. T   0 (5) where p is the fluid pressure. constitutive relations can be introduced to complete the equations set. constant temperature is an acceptable assumption. Usually they are related to the fluid considered and involve its properties. v. is not the result of a conservation principle but rather the application of Newton’s second law of motion to an open thermodynamic system.ME 7236 Module 1 Autumn 2012  Moreover. v the specific volume (per unit of mass) and T the temperature. for most of the applications involving liquids. if the fluid can be considered incompressible. Q is the total heat exchanged through the  surface of the system and W is the mechanical power generated by the system. whose validity is completely general. Constitutive relations often derive from assumptions made on the nature of the fluid. it is necessary to introduce further assumptions in order to create a model that can be solved analytically or numerically. Unlike the conservation equations.28 . even though ordinary differential equations are possible in some cases. Therefore. The expression of a constitutive relation generally leads to a set of algebraic equations. Moreover.

In order to achieve these benefits. in the analysis of internal combustion engines (or any fluid system). another important constitutive relation that will often be used is the equation of state for a perfect gas: pV  mRT (6) where R is the specific gas constant. the thermodynamic internal energy and enthalpy (used in the energy equation) are functions of the sole gas temperature: u  u T   c v T h  hT   c p T (7) where cv is the specific heat at constant volume and cp the specific heat at constant pressure. Equation (7). large and complex powertrain systems can be decomposed into elementary components interconnected. For example. The perfect gas model is a reasonable approximation of the behavior of all compressible fluids. If each component is modeled to be easily interfaced at the input and output ports with other subsystems. sometimes known as the caloric equation of state. transfer matrices and bond graphs. during evaporation or condensation). it is possible to use “standard” component to assemble complex systems in a simple and straightforward procedure. provided their thermodynamic state is far enough from the saturation conditions (for example. Several approaches have been proposed in literature. the most important ones relying on transfer functions.29 . a simple 1. Model coupling techniques One of the advantages of using the input/output representation is that this approach emphasizes modularity. a suitable coupling concept must be defined for multiport interconnected systems.ME 7236 Module 1 Autumn 2012 Since internal combustion engines operate with gaseous fluids. At the same time the calibration effort is reduced. Hence. because it can be made separately for the model of each component and then only minor adjustments are required on the final assembly. However. will be further applied in the following modules. The perfect gas model implies further assumptions that allow one to close the entire equations set.

1.30 . Likewise. allowing to immediately identify the driving and driven variables. Reservoirs receive flow variables as inputs and their outputs are level variables. when modeling any physical system there are two main classes of objects that must be considered:   Reservoirs: these components are characterized by one or more states that represent the ”stored” amount of level variables (state determined system).  Flow Variables: they usually relate to the flow of a specific variable through the control surfaces. Figure 1. typically as a result of differences between reservoir levels (purely algebraic system). Flow Control Devices: they determine the amount of properties that flow through the component itself.8: Classifications of systems components and signals The representation adopted facilitates the connection between components.9 shows. or kinetic energy.8 briefly summarizes the concept. Examples of level variables may be mass (either total mass or mass of individual components in a mixture). Conversely. solving typical causality problems that are associated with dynamical systems modeling. As Figure 1.ME 7236 Module 1 Autumn 2012 and immediate representation can be obtained by dividing the system input and output variables in two categories:  Level Variables: in general they are differential variables provided by the fundamental equations that indicate the amount of thermodynamic properties stored inside a component. Figure 1. flow variables may be mass flow rate or enthalpy flow rate. internal energy. flow control devices receive level variables and determine the flows associated. alternating reservoirs (state determined systems) to flow control devices allows one to respect the cause and effect priorities between the input and output signals of each block.

5. identify the relevant sources of dynamics by choosing a number of reservoirs and their corresponding “level variables”. using the fundamental equations and the fluid properties.. therefore determining the system boundaries.e. validate the complete model on a set of data points that have not been used to identify the parameters. assemble the components into the overall system model. 3. 4. once the calibration is done. as a result of the quasi-static approximations. apply the system dynamics approach to deconstruct the engine and/or powertrain system into a series of fundamental components. formulate differential equations for all the state determined components. the number of state equations).9: Example of connection between components Modeling guidelines The modeling approach described so far can be summarized with a sequence of procedures: 1. inputs and outputs). formulate algebraic relations for the flow resistance components. without the time derivatives) and the fluid properties.e.. 2.31 . the algebraic equations will be characterized by a number of unknown parameters that need to be identified from experimental data or other available information. The number of state determined components will influence the order of the model (i. 7. relating the flows between the reservoirs as functions of the state variables. 6. using the fundamental equations in quasi-static conditions (i. 1.ME 7236 Module 1 Autumn 2012 Figure 1.

ME 7236 Module 1 Autumn 2012 1. however. we may generally classify the AFR control problems into two groups: open-loop control and closed-loop control. However the calibration processes associated with such tables require a significant amount of time and effort. including engine load engine speed. The use of dynamic models may be useful in reducing this development time by reducing the overall calibration effort. The use of sensors is limited due to cost factors. TWO IMPORTANT ENGINE CONTROL PROBLEMS This section introduces representative control strategies used in production vehicles for air-fuel ratio (AFR) and idle speed control. The AFR Control Problem The AFR control problem for an internal combustion engine is not limited to the control of AFR about stoichiometry.5.32 . coolant temperature. a rich air-fuel mixture is required to guarantee the initiation and sustenance of 1. There are multiple objectives that need to be achieved via AFR control. acceleration. This is achieved by using information from various sensors installed on the engine subsystems. These two types of strategies are discussed next. a large memory space is available through the use of Read Only Memory (ROM). When the ignition key is turned on and the engine cranks. However. In keeping with the relatively slow computational speed and large memory of the ECU. The development period of a new vehicle therefore is significantly affected by the time duration of these processes. current look-up table based control strategies work well. These are essentially dependent on the various engine operating conditions. Modern ECU’s have the capability to decide whether the control of AFR is to be closed-loop or open loop. etc. These control strategies use both look-up table based control schemes and dynamic feedback or feedforward control schemes. Open-loop AFR Control Open loop AFR control is essentially the control of the AFR at or about a desired value through the use of (often elaborately) constructed look up tables that encompass various engine-operating conditions. The engine control unit (ECU) has limited computational capability. deceleration.

ME 7236 Module 1 Autumn 2012 stable combustion. and the amount of fuel to be injected is dependent on the coolant temperature. and not on the air flow rate. The amount of fuel to be injected is primarily dependent upon the temperature of the intake manifold with the assumption that the engine motoring RPM remains constant. which also plays an important part in these estimations.33 . it may cause flooding of the spark plug electrode gap that will in most cases results in no spark. During the engine cranking. Therefore. If too much fuel is injected during engine cranking.: the tendency of injected fuel to condense in a puddle in the inlet port. as does the intake pressure at each cranking instant.e. 1. thus decreasing the amount of current that passes through the injector solenoid coil. is not always “good” for engine cranking. Normally. At the onset of engine cranking. Too much fuel. This is due to the inherent delay of the air-metering sensor not allowing sufficient time to both sense and to calculate the amount of air entering the engine. however. The ECU should therefore have an algorithm to limit the amount of fuel injected such that the overall liquid fuel present in the intake system is compatible with optimum engine performance under a cranking scenario. The less the current at the coil 1 I. engine coolant temperature information is used. it is easily implied that the previously injected liquid fuel has not had sufficient time to evaporate. the fuel amount from the injector solenoid valve is heavily dependent on the battery voltage. full group injection is performed only once. This is necessary in order to compensate for the fuel dynamics due to the wall wetting phenomenon1. when a repeated engine-cranking situation is detected by the ECU within a relatively short time period. is supplied via a mass air flow meter or other kinds of air metering sensors. causing a temporary drop in battery terminal voltage. Air flow rate information. all the injectors start to inject fuel simultaneously (full group injection) upon the detection of crankshaft tooth wheel signal. Since most of the current mass-production engines do not have an intake manifold wall temperature sensor. A more detailed account is given in Module 3. because the starter motor draws large amounts of current from the battery. and then to evaporate at a rate dependent on local pressure and temperature conditions. The battery voltage may drop to around 7 Volts in the worst case (at extreme cold engine conditions).

the pressure at the intake runner.34 . Thus it usually results in under fuelling during sudden accelerations. Under normal operating conditions. When there is an abrupt acceleration command from the driver. this results in a high HC emission immediately after the engine cranking. The amount of fuel to be injected in these conditions is dependent on the engine speed. AFR control remains in a rich state. In addition. thereby avoiding full group injection. pressure and coolant temperature. The detection of the specific cylinder that is to be fired after the first firing is decided upon by the combination of the crankshaft sensor signal. the AFR is controlled to be rich at Wide-Open Throttle (WOT) condition. 1. One typical strategy to compensate the lean spike at the sudden acceleration situation is the nonsynchronous injection timing scheme. To reduce the cold HC emission. Half group injection. fuel is injected based on predefined engine events. that is the firing order. compensation of battery voltage drop via increasing injection pulse width at cranking phase is another important consideration. Since the primary objective at WOT acceleration is to get enough engine power for better driveability performance.ME 7236 Module 1 Autumn 2012 the lower the lift of injector plunger. some car manufacturers are adopting a static #1 TDC sensor. thereby injecting less fuel. The ECU is able to discriminate between normal acceleration rates and hard accelerations by looking at the rates of the throttle position change. is thus a good alternate technique for firing initiation at cranking. which injects fuel on one bank of the cylinders. This is non-synchronous injection. Non-synchronous injection is applied to the injector of the next firing cylinder only on the detection of a hard acceleration scenario by the ECU. the engine experiences a “lean spike” mainly due to the time lag of the air-metering sensor and ECU calculation time delay. typically mounted on the camshaft. During instances of sudden acceleration the ECU drives additional injection through an interrupt signal. the number 1 cylinder Top Dead Center (#1 TDC) sensor signal. and the engine firing order. In most of the mass-production engines. Therefore. This situation is detected through the use of the TP sensor signal. the socalled transient fuel compensation on throttle variation is based on the above mentioned engine speed. and temperature of the intake subsystem. Since full group injection causes excessive fuel at the beginning of cranking.

In most mass-production vehicles today. Several other considerations come into play. Traditionally the engine-knocking problem at the beginning of a sudden acceleration was rectified mainly by spark timing control. when the engine is below the base engine warm-up temperature. The status of the compressor engagement is an important factor in deciding the fuel cut-off. This provides sufficient time for the liquid at the intake port and valve to evaporate. such undesirable states may be achieved as discussed above.35 . fuel cut-off (or reduction) is necessary for deceleration condition. thereby ensuring a homogeneous mixture of air and fuel. On the other hand. if the fuel-cut is executed at low engine temperature conditions while decelerating. A fuel cut-off with the compressor engaged. has two independent variables: engine speed and engine load. could result in an unstable engine operation or  in the extreme case  engine stall. The basic injection look-up table. Among the factors which affect the fuel cut-off are: coolant temperature. The purpose of fuel cut-off is to improve fuel economy. enrichment of air-fuel mixture is also introduced to reduce knocking tendencies in the engine at the initiation of a sudden acceleration. This is because a rich AFR condition improves flame propagation speed in the combustion chamber. The homogeneity of mixture plays an important part in the reduction of exhaust emissions over the entire engine running range. Not only does the lean spike worsen driveability and exhaust emissions but it also tends to induce engine knock. the injection pulse 1. engine speed. Therefore. various steady state test condition-operating points are determined. Hence it becomes necessary to consider the compressor engagement status even when looking at speed ranges for fuel cut-off. By breaking up the engine speed and load into several points. and air conditioner compressor engagement status.ME 7236 Module 1 Autumn 2012 The injection timing of each cylinder will be optimum if injection is terminated before the start of the intake valve opening. which can be considered an external load. These operating conditions are referred to as break points. By running the engine at these break point conditions. A rich AFR has other advantages. For example. there will be relatively large engine torque loss due to increased engine friction as a result of high lubricant viscosity. which is obtained through steady state engine dynamometer test.

therefore. relatively slow processor speeds. ambient air temperature. coolant temperature. The ECU being used today still often consists of 16-bit microcomputers with an increasing number of applications employing 32-bit architecture. and substantial amounts of memory. These correction groups consist of battery voltage. The open-loop fuel and closed-loop fuels are in a trade-off relationship with each other. With the introduction of 32-bit controllers. For this reason. some of them are even multiplied to calculate open-loop injection pulse width. it is conceivable that in some instance dynamic control strategies might replace some of today’s look-up tables. Increasing the fuel pulse from the openloop value is very important for robust AFR control of an engine. Since the basic fuel injection look-up table is constructed for standard conditions. a faster and more stable AFR control can be achieved. antiknocking. Automotive microcontrollers are characterized by fixed-point arithmetic. etc) static characteristics. altitude compensation. 1. transient compensation (throttle and engine load variations). the use look-up tables for loop control has been historically a preferred choice for control applications. there are many other factors relating to ambient conditions and powertrain system that must be taken into account as correction terms for open-loop control. residual gas. if the open-loop related fuel quantity is increased. The corrections are added or subtracted from the basic fuel injection look-up table. injector dead time and air metering sensor’s (pressure sensor. The fuel injection look-up table uses units of milliseconds as the time scale. then the closed-loop portion of the fuel has to be decreased. That is to say that if for a total fuel amount to be injected.ME 7236 Module 1 Autumn 2012 width for the desired AFR (stoichiometry) is thus calibrated. and that the calibration load might be subsequently reduced. The basic fuel injection look-up table. By reducing the portion of fuel commanded in closed-loop. fuel evaporation at the intake ports.36 . implicitly includes such static engine parameters as charge efficiency. automatic transmission compensation. MAF. etc.

and the use of gasoline other than that used for calibration may result in the PI control behaving as if for a lean system. there are various factors that keep the mean PI-correction from being zero. The basic AFR control strategy that is commonly applied to mass production vehicles is a Proportional and Integral (PI) control algorithm with gain scheduling dependent on how long the EGO sensor signal stays at one level (lean or rich). The ECU employs fuel compensation by using a P-correction that intervenes when the EGO sensor switches. In most gasoline engine applications. fuel pump deterioration. the mean value of PI-correction will oscillate about a zero value. The closed-loop correction term oscillates as a function of the state of the EGO sensor.ME 7236 Module 1 Autumn 2012 Closed-Loop AFR Control Closed-loop AFR control corrects the quantity of fuel injected as a function of the signal sensed by the EGO sensor. and on the number of steps of Icorrection already applied. the P-gain comes into play instantaneously with the EGO sensor switching and the I-gain compensates progressively while the EGO sensor stays at one level (lean or rich). instead. These factors include the following:  Fuel system degradation and tolerance: degradation of fuel pressure regulator. these gains change to adjust according to the engine operating conditions. binary EGO sensors have been used as the exhaust gas AFR sensing device. 1.37 . these sensors are seldom used for the AFR control except for lean-burn engine applications. Due to the cost and insufficient reliability of the Universal Exhaust Oxygen (UEGO) sensors. This variable gain concept affords a fast control of AFR to stoichiometry in the presence of large AFR deviations. injector clogging. Therefore. and an I-correction that intervenes when the EGO sensor stays at the same level. For a well-tuned engine system with an appropriately calibrated ECU. However. The PI gains are not always the same. The duration of the EGO signal staying at on one level also has an impact in gain scheduling. This misinterpretation by the control scheme will result in a shift of the mean correction value from zero.

39 . This would be a trivial task if there were no unexpected disturbances. The Idle Speed Control Problem The objective of idle speed control is to maintain a smooth and comfortable driving condition while minimizing fuel consumption rates. WOT Engine Load Area 2 Area 1 Area 3 Min Load Min Speed Max speed Engine Speed Figure 1. If we set the idle RPM too low. So the open-loop fuel map has to be multiplied by scaling factors to compensate across the whole engine operating range (area 1) except WOT condition where the AFR is not controlled to stoichiometry. which affects each engine stroke. Moreover for drive smoothness and comfort it is necessary to control the idle speed within a very narrow range. then the idle speed control tends to become very unstable as the engine may be producing insufficient torque at this engine RPM.10: Areas for additive and multiplicative correction. these are: 1. has to be compensated as an additive term at high engine speed and low-load (area 3). the engine idle speed should be set to a very low RPM.ME 7236 Module 1 Autumn 2012 (area 2: high vacuum condition). fuel system degradation and air density changes might effect the entire engine operation range. in a real life scenario there are various kinds of disturbances present during an engine idle condition. However. Injector delay. This would imply maintaining the engine speed at almost a constant level. To get good fuel efficiency. however. Therefore in deciding the idle RPM one has to consider an operating speed where torque production is robust enough to reject disturbances from various sources. Finally.

For engine applications with small displacement volumes.40 . head lamp and direction lamps. instead it is dependent on the temperature of the torque converter fluid because torque transmissibility is related to the viscosity of Automatic Transmission Fluid (ATF). closing of the CPV will induce an engine speed drop. Moreover. Driver comfort is a strong motivation for controlling the idle speed to the nominal value. as discussed above.  Direct engine torque disturbances: the power steering pump and air conditioning compressor is good examples of direct torque intervention. the above mentioned disturbance effects are more dominant as compared to engines with a larger displacement volume. The reverse procedure (drive to neutral shift) also introduces the same torque amount as a subtractive disturbance to the engine. This necessitates the use of more sophisticated idle speed control strategies for small displacement volume engines. thereby prompting an increase engine speed. It is common knowledge that a change in the nominal idle speed affects driver comfort. the amount of this disturbance is not always same. 1.  Electrical disturbance: due to the operation (on/off) of such electrical devices as defroster. In contrast. the engine speed is affected. The engine speed drop is dependent in the electrical capacity of such devices. it needs to be mentioned that a drop in the nominal idle speed can affect the comfort level more drastically than a similar increase in the idle speed.  Canister purge valve on and off at engine idle: as discussed in the Chapter 1. However. the opening of CPV causes unmeasured air and fuel introduction to the engine system. Ignition timing and idle air control strategies are two methods popularly adopted for controlling idle speed. Researchers in the automotive industry have therefore been concentrating on investigating methods of avoiding engine speed decrease during idle conditions.ME 7236 Module 1 Autumn 2012  Engagement of automatic transmission: shifting the transmission from neutral to the drive range adds a torque disturbance to the engine through the torque converter.

and self-adaptive compensations. The airflow through the Idle Air Control Valve (IACV) can be managed through a control over the valve flow area. The idle RPM is then gradually reduced to the idle speed normal for a warmed up engine. thereby ensuring sufficient airflow into the engine at high altitudes. for cold engine conditions. During engine cranking and warm-up phase. the nominal engine speed is maintained high so as to make up for the high friction torque loss. With the engine running. The nominal engine speed is then decided upon by relying on the engine coolant temperature. idle valve duty cycle).41 . vehicle event based corrections. When the ignition key is turned on without the engine running. the idle speed duty cycle calculation is dependent on engine events and conditions. the IACV is opened as a function of coolant temperature corrected for altitude. The factors affecting the calculation of duty cycle vary with engine running conditions. Detection of altitude other than the level of calibration can be easily done using the Manifold Absolute Pressure (MAP) sensor. Thus. these are open-loop duty cycle. This is so because the pressure existing in the intake manifold during such a condition closely approximates ambient pressure. This affords control of the section area of the air passage thereby allowing a control over the amount of air entering the engine. this can be accomplished by varying the actuator duty cycle. closed-loop. the MAP sensor senses the ambient pressure. Altitude compensation is implemented by means of a multiplying factor for the look-up table.ME 7236 Module 1 Autumn 2012 Idle Air Control Idle air control is often accomplished through the use of either a stepper motor or a rotary solenoid valve actuating the air by-pass valve. This procedure can be achieved using a two-dimensional look-up table (coolant temperature vs. 1. the altitude compensation factor should be larger than unity. The calculation of idle duty cycle can be subdivided into four main parts. ambient pressure can be continuously updated by sensing the maximum intake pressure for low RPM at high engine loads. At the engine warmed-up condition.

Each of the above mentioned four-correction terms are calculated respectively and added to finalize the total idle duty cycle to be output. cooling fan.42 .11: Final idle air bypass valve duty command calculation. electric load and transmission neutral to drive shift can be done via various sensory systems of a vehicle. Following is a brief discussion of how each of the corrections are calculated and calibrated: 1.11 shows how these correction terms are added to calculate the final idle duty cycle. The detection of vehicle on or off events such as air/con. Figure 1.ME 7236 Module 1 Autumn 2012 Open-loop Base Idle Duty Cycle Duty Battery Correction Vehicle Condition Based Corrections Bat Voltage Engine Load Correction Duty Load Dash Pot Correction  Final Idle Duty Command Closed-loop PI Correction Self-adaptive Correction Others Figure 1.

In addition. Therefore. Switch Others Switch Figure 1. Or Coolant Temp.  Cooling Fan Correction Switch Transmission Neutral Drive Shift Vehicle Event Related Terms A/C Duty Switch ATF Temp. Nominal Engine Speed Correction Duty Open-Loop Base Idle Duty Cycle Coolant Temp. During the engine idle condition.43 . Open loop duty cycle calculation: the open-loop duty cycle is calibrated by referring to the coolant and air temperatures.ME 7236 Module 1 Autumn 2012 Leakage Air Duty Coolant Temp.12: Schematic of Open-loop Base Duty Cycle. The airflow rate is primarily dependent on ambient pressure. Factor Altitude Correction Ambient Press. Base Terms Duty Air Temp. most of the idle speed valves are designed to allow a linear relationship between the duty cycle and airflow rate. and the ambient pressure along with the corrections associated with vehicle events that inject torque disturbances to the engine. air temperature and ambient pressure are base factors that 1. the intake manifold pressure level is low (high vacuum) hence the airflow through idle valve can be modeled as a one-dimensional choked flow.

The neutral to drive shift of the transmission also introduces a similar kind of steady state error and thus needs to be compensated. As is shown in Figure 1. the nominal idle speed between A/C on and off are set differently. Due to the large delay between the opening of the idle valve to the production of engine torque. Each of the vehicle events related terms have to be decided upon by empirical means. Since the coolant temperature level determines nominal idle RPM. The base terms consist of leakage air. The leakage occurs through an annular aperture because the valve can not complete seal the throttle body. Anticipating Disturbance Torque: One of the most effective ways of rejecting a torque disturbance is anticipating it before it occurs. this correction factor is added to compensate the nominal idle speed differences. The calibration procedure thus requires a lot of time and effort.ME 7236 Module 1 Autumn 2012 decide the amount of air that passes through the idle valve. an engine will experience abrupt engine speed fluctuation whenever accessory loads disturbance are applied or 1. Selection of such valves is therefore necessarily based on the valve satisfying the specifications on leakage limits at standard operating conditions. The nominal engine speed level for A/C on condition is higher than that of A/C off condition to provide more engine torque to compensate the disturbance from the A/C compressor. Air leakage defines the air that leaks past throttle valve seating circumferentially while the throttle is closed. The vehicle event related terms are added to the base terms as a correction factor. However. hence throttle valves with small leakage are preferred for idle air control purposes. Air leaking past the throttle valve will therefore add to the idle airflow. This allows the idle air control valve to have a larger control span. Thus increment of idle duty cycle is required to maintain the nominal engine idle speed.44 . nominal engine speed correction and corrections for air and coolant temperatures.12. all the open-loop duty can be sub-grouped either as base terms or as vehicle events related terms. Turning on the A/C compressor upon the driver’s command will result in a steady state engine speed error if the system lacks compensation. this open-loop calibration procedure reduces the closed-loop contribution thus leading to a fast and robust idle speed control. This is done by subjecting the engine to each of these conditions. In most of the engine applications. The corrections based on air and coolant temperature contribute to the idle duty calculation.

46 . However. The Crankshaft Position Sensor (CPS) usually performs the measurement of engine RPM. as the engine intake system ages.ME 7236 Module 1 Autumn 2012 important role at the moment of throttle valve closing. The self-adaptive correction. well-tuned engine system. 1. the intake manifold will be in a high vacuum. by opening the idle valve at a pre-defined mode. The amount of shift can be separately compensated through self-adaptive correction. the wallwetted fuel from the previous cycle continues to enter the cylinder although deceleration fuel cut-off occurs. At this condition. Each gain is tuned according to the difference of the specific target RPM and current engine RPM. above listed high vacuum and AFR rich excursion problems can be solved. For a new. Closed-loop Idle Air Control: The closed-loop idle control strategies rely on the conventional PI-control scheme with various gain-scheduling concepts. thus returning the mean PI correction value zero. provides more room for closed-loop idle air control. the P-gains intervene as a correction for instantaneous engine RPM fluctuation while I-gains compensate steadstate engine RPM error. presenting a possible risk of damaging the rubber hoses and connections attached to the intake manifold. the Positive Crankcase Ventilation (PCV) system can leak lubricating oil into the intake manifold. When the throttle valve abruptly closes during deceleration. Variations among engines attributable to manufacturing processes may also force the closed-loop controller to come into play. the mean value of PIcorrection is expected to be centered at zero. As in the same case of the injection pulse width control. Thus leading to a rich AFR spike. Moreover. This process leads to among other effects a decrease in the idle airflow rate owing to a constriction of the air passages. deposits of dust and oil mixtures can be found on the throttle and idle valves. Another contribution of the dashpot function is to reduce the “rich spike” of the AFR during deceleration. therefore. However.

Elaborate calibration work makes it possible to reject almost all disturbances that are expected for various engine conditions. However.13 illustrates how these corrections are linked together. The contributions of leakage.ME 7236 Module 1 Autumn 2012 Idle Air Closed-loop Open-loop Controllable Air Self-adaptation Leakage Figure 1. Figure 1. closed-loop and self-adaptive air correction have been reviewed. for unanticipated disturbances this scheme suffers in its effectiveness due to the inherent delay of the idle speed air control strategy. It is also known that changes in ignition timing will affect the engine torque production instantaneously. This characteristic can therefore be used as an idle speed control method under dynamic engine conditions. open loop.13: Idle Air Control. The torque production delay associated with the airflow dynamic is substantially larger than that for ignition. Strategies for idle valve control have been explored. 1.47 . Ignition Timing Control Ignition timing control schemes are used to effectively compensate for the inherent delay of the idle air control method.

ME 7236 Module 1 Autumn 2012 Normalized Torque 1 MBT 0.48 . hardware design may force the ideal MBT point to lie after the knock point. However.14 shows the effect of variations in ignition timing on brake torque for typical spark-ignition engine [6]. The engine torque increases as the ignition timing is advanced until it reaches to the Maximum Brake Torque (MBT) point. however. An ignition advance implies increasing the angular position of ignition initiation with respect to Top Dead Center (TDC).14: Schematic of Engine Torque vs. Further advancing the ignition timing may result in the engine knocking. Substantially retarding the ignition timing on the other hand will cause the engine to misfire. Ignition timings can typically be varied to be advanced or retarded. Hence the importance placed by automotive manufactures on efficient calibrations for optimal ignition tuning. Engine torque production is dependent on ignition timing. needs to be avoided since it can seriously damage the combustion chamber 1. Knocking points exist for all engines. Calibration of MBT or optimum ignition timing at various engine loads and speeds forms a basis for ignition control. the ignition timing is adjusted to for MBT.9 0 10 20 35 Ignition Timing (BTDC) [Degree] Figure 1. Running the engine at various predefined load and RPM breakpoints. Ignition. Thus the MBT ignition timing provides the best torque at each of the engine running conditions tested. Continuous knock. Retarding the ignition timing would mean moving the initiation of ignition closer to TDC. it is preferred to have knock points after the MBT point. To find the MBT point. an engine is set up on a dynamometer. Figure 1.

providing a more simple and systematic approach to the control problems. 1. Consequently. In addition. Thus lots of experimental works are involved in calibration procedure. engine subsystem models may replace part of them. Also. the idle ignition map provides control capability by sacrificing engine torque. gain scheduling is needed to take into account the coolant temperature variation with the engine running. thus. since the shape of the engine torque curve is different when the coolant temperature changes. since there are too many calibration factors involved each other like a web. Summary Typical production control strategies for both AFR and idle speed control have been explored. it is not appropriate to use the ignition timing to compensate steady-state engine RPM deviation. changing one calibration factor may influence to the other control performance that is difficult to predict. Therefore. the proportional gains are determined based on the different coolant temperatures. Although all the current production control strategies may not be replaced by the model-based control schemes.ME 7236 Module 1 Autumn 2012 the filtered and the current engine RPM.50 . Although the ignition timing can reject unknown and high frequency disturbances effectively. Most of these control strategies use event-based methods rather than using model-based control method.

[1. WA. 2576-2581. Lowen Shearer.15] C. “Modeling and validation of automotive engines for control algorithm development. Dobbins and J. D. Chang. 920237. D. A. [1. 950846. 940373.5] [1. GMTEP Technical Presentation. 22-31. 1994. K. June. 1991. Minneapolis.237-247. R. Prentice-Hall. [1. Baltimore. and T. Cook and J.ME 7236 Module 1 Autumn 2012 1.” Proceedings of the American Control Conference. 1.20] N. 910258. [1. R. W.6] PNGV H Heywood. 980795.332-340. 1997. Wenzel. Powell. March. 1995. Kulakowski. Stefanopoulou. 117. [1.10] E. and Control. J.” SAE Technical Paper No. A. Moro. MD. Jones. C. February. Wang. MN. 1992. and J.1. S.” SAE Technical Paper No. Sorenson.19] E. J. [1. 1995. [1. pp. 1988. “Modeling and control of a spark ignition engine with variable cam timing. 20-30. W. [1. 2000 and 2010 passenger cars”.18] A. Ault. Hendricks. Powell. ASME DSC-vol. N. V. [1. Fekete. SI engine control observers. Hendricks and S. “Improved cylinder air charge estimation for transient air fuel ratio control. "Signal and System Dynamics Integration". Cook. Nester. Vol. D. Amstutz. D. Kao and J. Fekete. Grizzle. Srinivasan. June. 1987. pp. P.” McGraw Hill Publishing Company. Bohdan T. L. Azzoni. N. A.51 . 313-320.” SAE Technical Paper NO. 1994.3] G.12] A. I. and Control.1] J. WA4-11:15. J. Ross. “Nonlinear.” Advanced Automotive Technologies-1989. R. November 1995. Amstutz. Vol. 3. No. G. Moskwa and J. Vol. 1995. Dobner. pp. A. Rizzoni.” SAE Technical Paper No. “Turbocharged diesel engine modeling for nonlinear engine control and state estimation. K. Turin and H. distributed by the American Council for an Energy-efficient Economy. D. [1. K. J..4] M. [1. J. K. 183-192. Cook. “Adaptive air-fuel ratio control of a spark-ignition engine. Seattle. 2nd Ed. 940374. pp. 110. “Individual cylinder air-fuel ratio control with a single EGO sensor. F. [1.” ASME Winter annual meeting. “SI engine controls and mean value engine modeling. [1. F. [1. A. “Air-fuel ratio control in spark ignition engine using estimation theory.2] " Matlab/Simulink Introduction". Vol. “Internal Combustion Engine Fundamentals.7] D. pp.” IEEE Transactions on Vehicular Technology. [1. 117. Franklin. [1. July. 1991. “Nonlinear diesel engine control and cylinder pressure. A.” SAE Technical Paper No. Hedrick. closed loop. Vesterholm and S. [1. and J.6.14] P. 1995. June.” IEEE Transactions on Control System technology. Powell and G. Goodwin. REFERENCES [1. [1. Gruden and J. T. 1988. Powell. 1998.” Journal of Dynamic Systems. Notes for GMTEP Technical Presentation GM 1989. Sorenson.9] J. 940972. 1994. Moskwa. Grizzle. J. [1. P. K Hedrick. Cook and W. “Real-world emissions from Model Year 1993. Measurements. “Model-based air-fuel ratio control of a lean multicylinder engine. [1. Cho.17] J. “Model-based air-fuel ratio control is SI engines with a switching type EGO sensor. pp. Paper No.13. Milam. P. Watkins. J. “An engine model for dynamic engine control development.” SAE Technical Paper No.” Proceedings of the American Control Conference. 40. P. [1. Yurkovich. Rizzoni. W.” SAE Technical Paper No.13] B. C. F. U.22] M.21] M. pp. 1986. “Engine and load torque estimation with application to electronic throttle control. USA. pp.” Proceedings of the American Control Conference. Powell and J. and John F. Vol. P. Measurements.16] J. 280-286. Kao and J. “A nonlinear controller design Method for fuel-injected automotive engines. Moskwa. 1995. Grizzle. 1994. D.11] R. Geering. Ponti and G. K.8] B.” ASME Journal of Engineering for Gas Turbines and Power. J.” Journal of Dynamic Systems. C. “Nonlinear low frequency phenomenological engine modeling and analysis. M. Fekete and J.. “Model based adaptive fuel control in an SI engine.15] D. Gardner “Dynamic Modeling and Control of Engineering Systems".

i. it is possible to apply the mass conservation equation (1) to the mass of water contained in the tank: d   mt   min t   mout t  dt (e-1) 1. and corresponding height ht  . EXAMPLES Example 1.7. In particular. the only relevant "reservoir" is the mass mt  of water in the tank (state variable). which is proportional to the water height ht   (output variable).15: Cylindrical water tank system.  m in ht  F  mout y (t ) Figure 1.15. An exit valve is connected to the tank. and the water temperature (and therefore its density) changes very slowly such that it may be assumed constant. A exit orifice area The model of the system can be built following the general modeling guidelines summarized in this module.  while the out flowing water mout depends on the exit valve opening area A (control variable).e.ME 7236 Module 1 Autumn 2012 1. mt  mass of water in the tank. the inflowing water mass flow. F tank-floor area. The input for the system is min .52 . assuming the entering mass flow rate of water as an independent variable (control variable). The scope of the problem is to determine a mathematical model for the water level in the tank. Assuming the reservoir effects in the measuring device can be neglected (as typically very fast).1: Water tank filling dynamics model This example shows how to derive a model of a cylindrical water tank as shown in Figure 1.

ME 7236 Module 1 Autumn 2012 where the water mass in the tank can be written as mt   Fht  . For this component.15 is obtained: 1 d  ht   min t   A 2 ght  dt F which represents a first order nonlinear model.   (e-4) 1. the model equation for the system in Figure 1. pt   ght   (e-2) which results in the following expression:  mout t   A  2 ght  (e-3) Combining (e-1) with (e-3). being F the tank area. Assuming the incoming flow as the independent variable (control variable). the outgoing mass flow can be determined considering the exit valve as a flow control device. the steady-state continuity equation for an incompressible fluid (Bernoulli's law) is applied:  mout t   Avt . vt   2pt  .53 .

it is possible to  observe that there is no input mass flow ( min  0 ) and the state variable of the system is the mass mt  of fluid in the vessel.2: Compressible flow through an isentropic nozzle This example is similar to the one discussed in the previous problem and shows how to utilize the equation describing the isentropic flow of a compressible fluid through a nozzle to determine the pressure in a vessel filled with gas.16: Cylindrical. 1. The outlet pressure ambient conditions. as well as the geometric data of the vessel and the nozzle. Applying the continuity equation to the system. pressurized vessel with exit orifice Following the general modeling guidelines summarized above. the resulting differential equation is: d  mt    mout t  dt (e-5) The mass flow rate of gas exiting the system can be calculated using the equation of the flow through an isentropic nozzle (see [1.6]). pout is assumed to be constant and equal to Figure 1.ME 7236 Module 1 Autumn 2012 Example 1.54 . The initial pressure p t  0  and temperature Tin t  0  are known.

allows one to estimate the instantaneous pressure in the vessel. The expression (e-6) is nonlinear and particularly complex to model.ME 7236 Module 1 Autumn 2012   C Ap in   m out  d RT in       m out      p   out  p  in C d Ap in RT in      1   p out 2  1   p   1  in    1      1       if  p out   p  in   2   1      1       2   1        1   if  p out   p  in   2   1      1    (e-6) where p is the pressure inside the tank. however. Its formulation can. Assuming the fluid as a perfect gas and that the temperature of the fluid in the tank does not change significantly. the ideal gas law can be used in conjunction with (e5) to determine the pressure in the vessel: d d  p t V     mout t  mt    dt dt  RT   (e-7) Which. In (e-6). be considerably simplified if the pressure ratio between the tank and the external ambient is high (above the critical value) and the tank is sufficiently large compared to the area of the nozzle. it is possible to assume that the nozzle operates in choked conditions. T is the temperature of the fluid in the tank. A is the area of the restriction and  is the ratio of the specific heat coefficients. 1.55 . Therefore. combined with (e-6). the differential equation that governs the dynamics of the pressure inside the vessel can be derived as follows:  1    2   1  dp  RT Cd A          1   p  dt V RT       (e-9) which is a first order linear differential equation with constant coefficients. R is the universal gas constant. Under these approximations. by combining equations (e-6) and (e-7). Cd is known as discharge coefficient: this model parameter is typically introduced to account for the real gas flow effects and requires calibration with experimental data.

find the transfer function between torque and engine speed in symbolic form. Expand and group numerator and denominator to obtain the transfer function in the form of a ratio of polynomials. dt is proportional to the flywheel speed.3: Torsional system dynamics A simple model of an engine drivetrain is shown in Figure 1. vehicle crankshaft and equivalent inertia flywheel inertia stiffness and damping of clutch coupling TE E JE BC BE KC V TL JV damping due to bearing friction at flywheel Figure 1. d E   E .17:     J EE  TE  kC ( E  V )  BE E  BC ( E  V )    JV  TL  kC ( E  V )  BC ( E  V ) V Equations (e-10 – e-11) become (e-10) (e-11) J  BC s  K C  E ( s )  J V s 2  BC s  K C  V ( s )  TL E s 2  BC  B E s  K C  E ( s )  BC s  K C  V ( s )  TE    (e-12) 1. Please note that the damping term BE dt d V  V .17. Using the method of determinants.ME 7236 Module 1 Autumn 2012 Example 1. where the input to the system is the torque generated by a multicylinder engine and the desired output is the engine angular velocity.17: Simplified model of engine cranktrain dynamics The equations of motion can be obtained by applying Newton’s law to the system represented in Figure 1.56 . and flywheel speed. while the clutch damping is proportional to the difference between vehicle speed.

we multiply both sides by s to obtain s  E (s) TE (s) T     E (s) TE (s)  L (s )0 J E s2  BC  BE s  KC J V s 2  BCs  KC  BCs  KC 2 JV s 3  BC s 2  K C s s J V s 2  BCs  K C   J E JV s4  2 2 2  BC  BE JV  JE BC s 3 JE KC  BC  BE BC KC JV s 2  KC  BC s2 2BC KCs KC JV s 2  BC s  KC J E JV s 3   BC  B E J V  J E BC s 2  J E K C  BE BC  K C JV s  2BC K C  Now we can substitute numerical values. 1.  J E s 2  BC  B E s  K C    BC s  K C        E ( s )  TE     J V s  BC s  K C   V ( s )   TL  2  BC s  K C   (e-13)  E (s)   J s 2   B  B  s  K E C E C det   BC s  KC     TE det  T  L    JV s 2  BC s  KC   BC s  K C       J V s 2  BC s  K C    BC s  KC    JV s 2  BC s  KC TE   BC s  K C TL   J E s 2  BC  BE s  KC J V s2  BC s  KC    BC s  KC 2  E (s)  JV s 2  BCs  K C   TE (s) T (s)0  J E s 2   BC  B E  s  K C  J V s 2  BCs  K C    BC s  K C  2 L Since we desire the transfer function from TE to E.ME 7236 Module 1 Autumn 2012 or. in matrix form.57 .