Professional Documents
Culture Documents
Fuel Flow Rate Measurement Prediction For Real Time ApplicationDeng11
Fuel Flow Rate Measurement Prediction For Real Time ApplicationDeng11
Jiamei Deng, Bastian Maass, Richard Stobart, Edward Winward and Zhijia Yang
Loughborough Univ.
consumption of the fuel in the vessel and discontinuous fuel ratio between main and total fuel injected (FR) - in
during the refilling of the fuel meter. different load and speed points. Problem (2) is overcome by
doing extensive perturbation experiments for different torque
Alternative fuel measurement system designs which are and speed points with steady state speed-load demand but
popular in engine fuel measurement applications are based on excited fuel system parameters (e.g. SOI, RP and FR).
the Coriolis Effect or use a servo controlled displacement Problem (3) will be overcome by using neural networks
measurement technique [1]. These designs are generally more employing the methodology of a non-linear autoregressive
expensive but they have the advantages of both continuous model with exogenous inputs (NLARX) to predict the fuel
fuel measurement and fast response. For example, the AVL flow rate. Problem (4) is overcome by using neural network
733S is rated at <440ms while the AVL coriolis based system identifiable properties to find a fuel flow rate model with
(AVL 735S) is specified as <125 ms, a key advantage when good performance, then reducing the structure size through
investigating engine transient response. When a fast response minimizing the number of delay parameters.
is not required, some economic fuel metering systems are
always the sought-after solutions for lots of applications [2]. A fuel flow rate model should be simple to implement, easily
trained or re-trained, and should have good performance in
Virtual sensors have been utilized in various areas, such as, the prediction of unseen data. Moreover, to be used for diesel
engine and emission monitoring and vehicle dynamics. A key operation, these models should also catch as much as possible
advantage of NNs is that they can be used as an arbitrary dynamics of the system. In this paper, identification
function approximation mechanism without knowing the experiments are designed to catch all kinds of characteristics
complicated underlying process, a highly advantageous and of fuel flow rate. The models are developed to estimate the
economic way to measure fuel flow rate. NN modeling fuel flow rate based on possible parameter changes in engine
belongs to one of nonlinear regression techniques. It is easy operation. This model could be used for monitoring fuel flow
for NN to run in engine control unit as NNs could be rate, optimizing engine operation, and achieving control
composed of digital information. purpose.
Neural networks have been successfully used in many engine This paper reports on work which has successfully identified
based applications including emissions, boost pressure and a NLARX model that captures the dynamics of fuel flow rate
EGR prediction [3, 4, 5]. Bose and Kumar [6] use fuzzy logic with an accuracy of R-square of 0.99 for both training and
to predict the engine emissions, but one of the inputs is validation and high regression coefficient. The training and
cylinder peak pressure, which is difficult to obtain in standard validation data are collected using extensive point by point
production engines. How to choose effective inputs based on system identification experiments. The model could be used
easily obtained parameters is of great importance for building for control development in practical. This paper demonstrates
successful models. Exhaustive input searching is the most a comprehensive and detailed modeling technique that could
difficult tasks for building models in engine application. be used in engine applications. The method is highly flexible
Schilling et al chose inputs based on a sensitivity analysis [7]. and could help solve similar problems in other engine
applications.
In developing a fuel flow rate model, the following general
and unique issues need to be considered: In summary, the modeling process comprises the following
five steps:
1. The input choices are quite difficult. The basic fuel flow
equations could not be used directly as many variables are 1. The first step is to study the mechanisms of the fuel flow
either unmeasureable or unreliable rate meter. The purpose of this step is to understand the
2. The transient information is difficult to capture for fuel properties and dynamics of fuel flow rate and choose
flow rate appropriate modeling techniques
3. Capturing both steady state and transient fuel flow rate 2. The second step is to design a data collection experiment
reliably in a single model is extremely difficult to catch all of the dynamics of the fuel flow rate
4. Models are too complicated for real time control and 3. The third step is to construct the ‘best’ fuel flow rate
measurement purposes estimation model structure by going through a process of
selecting different neural network structures and then
Consequently, this paper focuses on the development of fuel evaluating the performance of each
flow rate models in the steady state.
4. The fourth step identifies the unknown parameters in the
best model structure and validates the model.
Problem (1) will be overcome by choosing the particular
inputs which excited the system in the application, to include:
where start of injection (SOI), common rail pressure (RP) or
this type meter is far better suited to steady state test with preselected weight and 3). interval (start/stop)
applications. measurement. For the experimental work reported in this
paper, mode 2 was used with a filling level of 250g
The Test Cell Measurement Circuit (amplification mode 4 setting - for maximum accuracy).
The 733S fuel meter in isolation provides accurate fuel mass
rate measurements even when the fuel temperature inside the Output Signals, Measurement and Conversion
measuring vessel changes, this is a consequence of the fuel For the work reported in this paper, the fuel measurement
meter measuring fuel mass directly. However, the design of system was configured to use the analogue (0-10V) output of
the whole fuel measurement system remains critical for the 733S fuel meter which was sampled at greater than 10Hz
reducing fuel temperature variation and hence fuel (the measurement rate of the fuel meter) by a National
temperature derived experimental error i.e. the fuel mass in Instruments PXI-6255 card mounted in a NI PXI-1042Q
the measurement circuit itself must remain constant. As an chassis. The acquired voltage was then converted into
example of the effect of temperature gradient in the instantaneous fuel rate using a calibration equation, this being
measurement circuit, if the temperature of a system of a function of the configured measurement parameters of the
volume 1000 cm3 were to change by 1°C during the fuel meter.
measurement time for a fuel of density 0.85 g/cm3 and
expansion coefficient 0.001 per°C, the mass of the fuel in the EXPERIMENT FACILITY
measurement circuit will be reduced by 1000×0.85×0.001×1 The engine that is used in this study is a Caterpillar C6.6
= 0.85g. If during this measurement interval the engine ACERT heavy-duty off-highway engine. This is a 6 cylinder
consumes 50g, the fuel meter measures the engine fuel engine with a Caterpillar common rail fuel system. The
consumption less the mass change in the measurement engine calibration used in this work produces up to 159kW at
circuit, thus the resulting error would be (50-(50-0.85))/50 rated speed (2200rpm) with peak torque of 920Nm at
which is1.7%. The measurement circuit also needs to remain 1400rpm The engine has been modified with a high pressure
deaerated and the geometric volume must also be constant loop EGR system and a variable geometry turbine for
(avoiding pressure related expansions). experimental purposes.
As such, the measurement circuit implemented for the The engine is fully instrumented to measure air, fuel and
Caterpillar C6.6 diesel engine employed during this work is cooling system pressures, temperatures and flow rates. The
carefully designed and configured to avoid sources of error. fuel flow rate is measured by AVL 733S Fuel Mass Balance.
A schematic of the major components and fuel transfer lines Emissions data is gathered principally using AVL 415 smoke
of the system are illustrated in figure 2. and 439 opacity meters (offering steady state and transient
measurement respectively) and a Horiba 9100 exhaust gas
analyzer measuring nitrous oxide, carbon dioxide, carbon
monoxide, unburnt hydrocarbons and oxygen. The
temperature and pressure at the exhaust port, are measured
for each of the six cylinders. This is supported by exhaust
manifold, post turbocharger, pre/post EGR cooler/control
valve temperature and pressure measurements. Figure 3
shows the engine facility.
DATA COLLECTION
INTRODUCTION FOR DATA
COLLECTION
An example of real fuel flow rate signal, with a pattern of
measurement then discontinuity is presented in figure 4. The
Figure 2. Fuel metering circuit.
purpose of the work reported herein is to estimate the engine
fuel flow rate during the periods when the fuel meter is
Measurement Modes and Configuration Parameters refilling and stabilizing.
Relevant to this Work
The 733S fuel meter has three main measurement modes; 1).
individual and multiple measurements with preselected
measurement time, 2). individual and multiple measurement
For torque, six points (C, D, E, F, G, H) in each zone are used three parameters perturbation as the perturbation is
to collect the data and the torque change with 6.66% rated implemented in the real-time engine speed governor
torque interval corresponding to the speed, figure 6. That algorithm. This algorithm allows the above outlined
means for each of these six zones, six different torque points parameters to be perturbed at a frequency of <1 Hz with the
are used to identify fuel flow rate model. Thus, a total of 36 algorithm then measuring the instantaneous engine rpm and
points are used to identify the model for the fuel flow rate. comparing to that demanded and then adjusting the quantity
However, as the engine is unstable at 2050 rpm and 66.6% of of fuel injected into the cylinder. This way, the fuel quantity
rated torque, only35 points are used. is continually adjusted to compensate for the change in
combustion efficiency due to the perturbed parameters.
Each of these operating points is marked by varying engine Figure 7 shows the training set of the control signal variation.
control settings where SOI, RP and FR are randomly Each of a training and validation set consists of 32000
changed. These parameters are chosen as they are used as the samples. This illustrates the random amplitude and frequency
effective inputs of fuel path control application [10]. The data changes of start of injection timing, rail pressure and fuel
collected at each load and speed case is split into half for ratio; a technique which leads to a more robust fuel rate
training and half for validation purpose. model. A neural network model has to be trained and thus the
data it is trained on and hence the techniques utilized to
generate such data are very important. Accurately
approximating the system response requires a data set to
contain as much information of the system dynamics as is
practical.
(2)
Figure 9. Neural network structures of a multilayer perceptron (MLP) as used in FF and FFTD networks
of the two blocks. Typical regressors are simply delayed meter model is in a reasonable size and could be used for real
input (delayed SOI, RP and FR) or output variables (delayed time control purpose and measurement.
fuel flow rate). More advanced regressors are in the form of
arbitrary user-defined functions of delayed input (delayed Based on such an assumption, the following theorem is used
SOI, RP and FR) and output variables (delayed fuel flow to guide the structure choice process. It is the similar theorem
rate). in [13] although the theorem is for a single input and single
output case in [13]. But it is easily adopted by this multi-input
THE TRAINING PROCESS AND single output fuel flow rate model.
MINIMISING THE MODEL Theorem 2: Consider the fuel flow rate model described by
STRUCTURE ,
For these three different neural networks, the best results are there exist a NLARX model with identifiable θ, if and only if
obtained by using NLARX. Thus, NLARX will be used as an min(nu- nu0, ny- ny0)=0.
example to illustrate the training and the structure selection
process. With this theorem, the search for the fuel metermodels could
be simplified. With the order nu0 and ny0 of NLARX model,
The training process is as follows. Given a neural network we could take ny=nu1=nu2=… nuM for the giving structure.
described by Equation (2), there is an error metric that is
By increasing one unit at a time the model will be found
referred to as performance index of Equation (3), which is to
where Theorem 2 holds.
be minimized. This index is a representation of the
approximation of the network to some given training patterns.
In order to minimize the NLARX structure, the fuel flow rate
The task will be to modify the network parameters θ to
model is chosen by using following steps:
reduce the index FM (θ, ZM) over the complete trajectory to
achieve the minimal value. In this paper the neural networks 1. Choose nonlinear regressors, such as, such as tree-
are trained using gradient descent algorithms while the initial partition networks, wavelet networks, and multi-layer neural
value of θ is perturbed several times in order to avoid the networks.
local minimal solution. The gradient descent methods will
2. Choose ny and nu by using Theorem 1 to let
calculate the vector whose elements are ny=nu1=nu2=… nuM, then increase one unit at a time for all
ny,nu1,nu2,… nuM, until the model reach the required
. The training algorithm will find the
performance.
parameters of the network for which the performance index
has reached a desirable value. Given a vectorising trajectory 3. Reduce ny by one unit and compare the model
for the network output and training patterns, the performance performance described by Equation 2.
index is the Euclidean norm of the error matrix of the whole
training batch for the output fuel flow rate. 4. If the performance is improved in (3), repeat the procedure
(2) until the model performance is worse.
Nonlinear regressor of the NLARX are chosen first in the fuel
5. Follow the same procedures of (3) and (4) for each of nu1,
meter modeling work. The fuel meter model is a single output
and multiple input problem. Thus, ny will be a single scalar nu2, …, nuM.
value, nu will be composed of inputs nu=[nu1 nu2… nuM],
where M is the number of inputs. Using such procedure will keep the model size reasonable
small, so that model could be used for real time control and
Theorem 1: For a specific nonlinear regressor of NLARX, measurement.
there must exist nu0 and ny0, such that for all nu and ny,
nu0< nu, ny0<ny For such nu0 and ny0, there exists a RESULTS FOR STEADY-STATE
parameters θ = θ0 for the fuel flow rate y(n): SCENARIO
Three NN structures are used for the fuel flow rate model.
Each model structure is trained with the same training set and
(5) validated against the same validation data. For each model
structure, the visual correlation between model output and the
desired data is given. In addition, a scatter plot showing the
However, the true orders of nu0 and ny0 are usually never
linear regression of both signals is presented.
known. It will be exhaustive combination search for such
values. Such a search is not necessary as long as the fuel
FEED-FORWARD STRUCTURE
In this paper, the feed-forward structure is tested in order to
find a good and cost efficient fuel flow rate model. In
general, it can be stated that a bigger network causes higher
costs for training in order to find the optimal weight
assignment for close output prediction. Here, the network size
is increased in order to find the best network topology
describing the systems behavior.
The correlation of predicted results with the output target is Figure 11. Data Correlation of FF two-layer network
realized with the correlation method coefficient of with [4 4 4] neurons and logistic transfer functions:
determination R2 that is expressed through: Visual correlation showing model output following
signal trend with correlation of R2=0.93 for training and
validation.
(6)
Figure 16. Data Correlation of NLARX two-layer network with [4 4] neurons and logistic transfer functions: Linear regression
between predicted output and desired output
Figure 17. Comparison of best results of FF, FFTD and NLARX structures in steady-state scenario (Training and Validation)
against desired output
possible, which could be suitable for real-time control and in DI Diesel Engines,” Proceedings of the IEEE International
measurement purposes, the structure is minimized based on Conference on Control Applications, Munich, Germany, Oct.,
neural network identifiable properties. This paper shows that 2006.
NLARX could predict fuel flow rate accurately with R-square 8. AVL 733S Operator Manual.
above 0.99. Accurate fuel flow rate estimation is very
important for predicting CO2 emissions as the co2 emission 9. Winward, E., Deng, J., and Stobart, R., “Innovations In
is proportional to the fuel consumption, which varies with the Experimental Techniques For The Development of Fuel Path
speed. Control In Diesel Engines,” SAE Int. J. Fuels Lubr. 3(1):
594-613, 2010, doi:10.4271/2010-01-1132.
The test presents the best structure for the prediction of fuel 10. Deng, J., Winward, E., Stobart, R., and Desai, P.,
rate based on engine control. The engine control parameters: “Modeling Techniques to Support Fuel Path Control in
SOI, RP and FR, are randomly changed. It is shown that feed- Medium Duty Diesel Engines,” SAE Technical Paper
forward structures can predict a trend of fuel rate but not 2010-01-0332, 2010, doi:10.4271/2010-01-0332.
accurately map the input-output relation. The feed-forward 11. Maass, B., Stobart, R., and Deng, J., “Diesel Engine
structures fail to accurately predict the fuel meter signal. Emissions Prediction Using Parallel Neural Networks,”
American Control Conference, 2009.
The next step is the implementation of the chosen network
structure in the engine test cell and develop the fuel flow rate 12. Haykin, S., “Neural Networks - A Comprehensive
model in a transient cycles, such as, Non road transient cycle. Foundation;” Prentice Hall Inc., Second edition; 1999.
The prediction of fuel rate over refill drops of the fuel meter 13. Ljung, L., “System Identification-Theory for User,”
enables a more stable and reliable calculation of Air-to-Fuel Prentice Hall, Englewood Cliffs, New Jersey, 1999, 1999,
Ratio. In addition, this parameter can be integrated into 14. Funahashi, K., “On the Approximate Realization of
control strategies for fuel economy improvement or emission Continuous Mappings by Neural Networks,” Neural
reduction. Such a non-linear model is capable of supporting Networks, 2(3), 183-192, 1989.
diagnosis processes as well as being a fast model for controls
design and evaluation.
CONTACT INFORMATION
REFERENCES Jiamei Deng is with the Department of Aeronautical and
Automotive Engineering, Loughborough University, UK. Her
1. Ebner, H. and Köck, K., “New Fuel Mass Flow Meter - A email address is: j.deng@lboro.ac.uk.
Modern and Reliable Approach to Continuous and Accurate
Fuel Consumption Measurement,” SAE Technical Paper Bastian Maass is with the Department of Aeronautical and
2000-01-1330, 2000, doi:10.4271/2000-01-1330. Automotive Engineering, Loughborough University, UK. His
2. Mohtasebi, S. and Hong, H., “Low Cost Electronically email address is: b.maass@lboro.ac.uk.
Controlled Fuel Metering System for Small Gas Turbine
Engines,” SAE Technical Paper 1999-01-0545, 1999, doi: Richard Stobart is with the Department of Aeronautical and
10.4271/1999-01-0545. Automotive Engineering, Loughborough University, UK. His
email address is: r.k.stobart@lboro.ac.uk.
3. Wu, B., Prucka, R., Filipi, Z., Kramer, D. et al., “Cam-
phasing Optimization Using Artificial Neural Networks as Ed Winward is with the Department of Aeronautical and
Surrogate Models-Fuel Consumption and NOx Emissions,” Automotive Engineering, Loughborough University, UK. His
SAE Technical Paper 2006-01-1512, 2006, doi: email address is: r.e.t.b.winward@lboro.ac.uk.
10.4271/2006-01-1512.
4. He, Y. and Rutland, C.J., “Application of Artificial Neural Zhijia Yang is with the Department of Aeronautical and
Networks in Engine Modeling,” International Journal of Automotive Engineering, Loughborough University, UK. Her
Engine Research, 5(4), 281-296, 2004. email address is: z.vang2@lboro.ac.uk.
5. Maass, B., Deng, J., and Stobart, R. K., “Prediction of
Smoke Emissions of a Heavy Duty Diesel Engine with a DEFINITIONS/ABBREVIATIONS
NLARX Model,” American Control Conference, 2009.
6. Bose, N. and Kumar, N. S., “Prediction of Engine SOI
Emissions Through Fuzzy Logic Modelling,” International Start Of Injection
Conference on Computational Intelligence and Multimedia
Applications, 2007. RP
7. Schilling, A., Amstutz, A., Onder, C. H., and Guzzella, L., Common Rail Pressure
“A real-Time Model for the Prediction of the NOx Emissions
FR
Fuel Ratio between main and total fuel injected
NN
Neural Network
NLARX
Non-Linear AutoregRessive model with eXogenous
inputs