Measurement system of fuel consumption for diesel engine based on function link neural network

Fuel consumption is one of the important technical performance indexes, and it directly reflects the fuel economy. The traditional measuring method of effective power is carried out on test-table in the laboratory, However, it needs a high investment and complex operations, so it is unsuitable to monitor the technique conditions of diesel engine, Above all, measuring the consumption is an urgent problem in the field of diesel engine monitoring. There are many researches based on internal combustion engine been done to improve precision of fuel consumption measurement [1-3]. In order to solve the measurement problems effectively, this paper has combined a function chain neural network and chaos optimization theory which corrected the measurement model for diesel fuel consumption based on mathematical relationship. At last we realize a continuous output of diesel fuel consumption information and give a powerful guarantee in the process of online monitoring and intelligent control. The research is of important theoretical significance and wide engineering application prospects.


Introduction
Fuel consumption is one of the important technical performance indexes, and it directly reflects the fuel economy.The traditional measuring method of effective power is carried out on test-table in the laboratory, However, it needs a high investment and complex operations, so it is unsuitable to monitor the technique conditions of diesel engine, Above all, measuring the consumption is an urgent problem in the field of diesel engine monitoring.There are many researches based on internal combustion engine been done to improve precision of fuel consumption measurement [1][2][3].In order to solve the measurement problems effectively, this paper has combined a function chain neural network and chaos optimization theory which corrected the measurement model for diesel fuel consumption based on mathematical relationship.At last we realize a continuous output of diesel fuel consumption information and give a powerful guarantee in the process of online monitoring and intelligent control.The research is of important theoretical significance and wide engineering application prospects.

Fuel consumption measurement model for diesel engine
Elliptical gear flow-meter is an unique kind of volumetric meters which has a simple structure without mechanical transmission parts.And two elliptical gears are the only function components in the metering system which have the characteristics of low price, corrosion resistant, easy installation, and insensitive for fluid viscosity measured, etc.. [4][5][6].When the instrument coefficient is modified it can achieve higher measurement precision.Firstly we can only get the volume flux of the diesel fuel consumption with it, secondly make a further compensation on temperature and pressure to get mass flux, which we can get volume flux as well as temperature and pressure thirdly upon the relationship of density, temperature and pressure, we get the density under the condition, finally get the mass flux by multiplying the density of volume with flow density.Above is called as compensating quality flow measurement methods.The computation formula of elliptical gear volume flow-meter is described as follows where F is the output pulse frequency, pulse/s; Q is the volume flux, m 3 /s; K is the instrument coefficient, pulse/m 3 ; K is described by the testing chamber structure and magnet number n as follows where k is the number of pulses for each magnet; Q is the discharged fluid volume for each turn cycle of the elliptical gear; N is the magnet number.
To make test results stable and reliable, generally take k = 1, when flow-meter structure is confirmed, q is constant; F is proportional to n, then n is greater, the F is higher, the resolution is higher.

Accuracy revise
In order to eliminate accuracy deviation caused by differences of calibrations and working conditions, measurement precision of elliptical gear volume flow-meter is revised according to the actual conditions.
For elliptical gear flow-meter, in the case of low pressure (pressure value is less than 6.4 MPa), pressure is not need to be revised because of the minor effects on accuracy [4].We focus on two points, first is the influence of flow meter accuracy caused by viscosity and temperature .second is the revise method of them.
The correction of measurement precision is actually a modification of meter coefficient K. Instrument coefficient, mainly used for unit conversion, converts output pulses of elliptical gear flow-meter into engineering units.Its physical meaning is emanatory the pulses number of unit volume fluid through the flow-meter.Revised instrument coefficient K is described as follows where E is the viscosity modified value, %; E 2 is deviated medium value of user medium, %; E 1 calibration medium deviation median, %; C T temperature modified value, %,; t 2 is temperature of the medium for conditions, °C; t 1 is calibration medium temperature, °C; α T is shell expansion coefficient of flow-meter, %/°C.With the measured pulse frequency F, the volume flux of tested medium can be gotten when the revised instruments coefficient K / joined formula (1) http://dx.doi.org/10.5755/j01.mech.17.4.575

Density compensation of volume flux
Usually, density compensation is carried out on volume flux of diesel fuel consumption, because of the small compression coefficient of diesel fuel, if the working pressure is low, we can ignore the variety of density, caused by pressure.And we only consider the influence of the temperature.With the temperature variation in small scope (less than in 40°C), diesel fuel density and temperature can be expressed a linear relationship ( ) where ρ 0 is diesel fuel density under temperature t 0 , kg/m 3 ; β is diesel volume expansion coefficient, 1/°C, ρ is diesel fuel density under temperature t 2 , kg/m 3 .

Diesel fuel consumption measurement model under the working conditions
Above all, when diesel fuel consumption volume flux and density are given, the mass flux of the diesel fuel consumption can be calculated as follows where Q m is diesel fuel consumption mass flux, kg/s; Q v is the volume flux of diesel fuel consumption, m 3 /s; ρ is diesel fuel density, kg/m 3 .Joined the formula ( 7), (8) to the (9) formula, it can be obtained

Function chain neural network correction
We should pay attentions to two points, one is to enhance the fuel consumption measurement precision of the model.and the other is to prevent the "floating" phenomenon of model parameters, which caused by property variety of fuel consumption measurement model, when environmental condition changes.We make online correction of fuel consumption measurement model based on function chain neural network [5][6][7] technology and its principle is prescribed as follows.
Assumed the corrected intelligent measuring output of consumption quantity can be described with a power series a polynomial (generally, take n = 3, it has a higher precision) where x i is the i measurement output value of fuel consumption quantity.
We can clearly indicate that, in the mathematical and the parallel distributed processing network conceptualization model, once a node (node k) is inspired, there will be many additional functions urged, that is, we can get not only x i but also g 0 (x k )，g 1 (x k )，…，g n (x k )，… (Fig. 1).In principle, we can use single-layer network to realize super-vision learning just with the function chain method., , where W j (k) is the jth connection weights as the step k.
We compared the neural network output values ( ) X k of function chain with actual measured value X i with the ith output value of fuel consumption quantity.and after learn the function neural network; the minimum of the average-square errand between the output estimate value of neural network function chain and actual measurement value X i corresponding to the i output value of fuel consumption quantity within the full scope is obtained Namely, the minimum value is function of the weight W 0 , W 1 , W 2 , W 3 .

Adaptive chaotic optimization algorithm
Given the scope of the weight W 0 , W 1 , W 2 , W 3 adaptive mutative scale chaos optimization algorithm is used to solve the global optimization problem of Eq. ( 13).
Choose one dimension self-mapping of infinite folding times as the chaos model in order to produce the chaotic variables of search iteration K 1 and K 2 denotes coarse and fine iteration times respectively.
where m is a integer decided by the optimal objective function, in this paper taken m = 2. Next comes to the early terms of iterative search, because of the great change of (x 1 , x 2 , …, x n ), we need larger β i .Along with the search, the most advantage is approaching, then we need to choose smaller β i in order to search in smaller range of (x * 1 , x * 2 , …, x * n ).
The basic steps chaos optimization algorithm as follows.
Step 1. Algorithm initialization.Firstly we set K 1 = 1, K 2 = 1, and chose two larger positive integer N 1 , N 2 .Then x 0 is produced by random and put into the chaotic model shown in Eq. ( 14).At last the ith chaotic variables x i, n+1 (i = 1, …, n) as the chaotic variables with search iteration was produced.
Step 6. Fine iterative search with chaotic variables.
Make the optimization solution Step 2. Coarse transformation of chaotic variables in the design of the variable interval. 2 Generally, the weight W 0 and W 1 is the same order of magnitude, W 2 is at least one order of magnitude lower than W 1 , and W 3 is more orders of magnitude lower than W 2 .The low magnitude is determined by the nonlinear degree of nonlinear characteristics of the sensors.When we obtain the optimal solutions W 0 , W 2 , W 3 , W 1 we can know that c 0 =W 0 , c 1 =W 1 , c 2 =W 2 , c 3 =W 3 , finally we put the undetermined coefficients c 0 , c 1 , c 2 , c 3 into the memory.
Step 3. Using chaotic variables to coarse iterative search.
Make the optimization solution f i (K 1 ) from

Measurement system of diesel fuel consumption
The diesel fuel consumption measurement system is shown in Fig. 3.
Step 4. Reduction of chaotic variables search interval.
In order to prevent new range beyond the border, the following treatments are done: if Therefore, the vector * The number of pulse per turn cycle of Elliptical gear fuel consumption sensor is 4, and the gear precision 5, the instrument coefficient K is 1.553 pulse/m 3 , other basic parameters is shown in Table1. where β i is determined by following Taken DELL DIMENSION 4500 as the microcomputer, the external device includes keyboard, printer, display and disk drive.

Peripherals
He matched insert board of 12 A/D transformer is the standard pinboard which can directly insert into Host.

Automation instrumentation 1) YKE 202 type pulse generator;
2) The DDZ-Ⅱ type temperature transmitter with the range of 0 ~ 200°C switches the temperature signal, and its output current is 4 ~ 20mADC and 1 ~ 5VDC by the current -voltage transformer.

System software
The application software of Diesel fuel consumption measurement system is adopted the VISUAL BASIC, it includes several parts.

Data acquisition and processing system
According to the instruction requirement, the various parameters (elliptical gear speed and diesel temperature) are transformed into signals by the automatic instruments through the microcomputer interface with its data interface, further processed by the currentvoltage converter, then sent to A/D transformer for A/D conversion, finally the digital quantity corresponding to the measuring parameter is obtained, thus the above two different types data collection is finished.

Volume flux measurement system
After measured the rotate speed of the elliptical gear, the volume flux Q v of diesel fuel consumption may be calculated with formula (7).

Mass flux measurement system of diesel fuel consumption measurement
The volume flux Q v can be compensated with formula (10), and get the mass flux Q m of diesel fuel.

System operation
To install the diesel fuel consumption measurement system in the pipeline, the above parameters are collected and calculated every 15 s with the measuring system, and thus the instantaneous and cumulative value of diesel fuel consumption are obtained, and displayed on a monitor screen.

Application of diesel fuel consumption measurement system
Taken the diesel fuel mass flux as the benchmark with Corey ollie mass flow-meter under the different volume flux Q V , the trend of the relative error η of fuel consumption measurement model is shown in Fig. 4 shown.Fig. 4 relative error from the fuel consumption measurement It shows that, when volume flux Q V is in 20 ~ 70 L/h, the relative error of diesel fuel consumption measurement model is about 0.85%, but when Q V less than volume flow 20 L/h, the relative error of elliptical gear oil consumption measurement model is sharpen, it may be due to the leakage when small flow caused by a large proportion.
Due to the small diesel oil temperature fluctuations, the viscosity has little change and E 2 can be regarded as fixed value.Therefore, the online measurement and real-time display and printing can be realized just with the online acquisition of working temperature t 2 of heavy oil and elliptical gear pulse frequency F conveniently.

Conclusion
1 Take the stainless steel elliptical gear flowmeter as metering component, based on volume flux model and the density compensation with the correction of instrument coefficient, and combined the function chain of neural network and chaos optimization theory to optimize and revise, the fuel consumption measurement model is established under the working conditions of diesel engine.
2 Revised by the function chain of neural network for elliptical gear fuel consumption measurement model, the relative error is reduced by 0.15% averagely, and it has a high precision, therefore, it can completely be realized online fuel consumption measurement with the elliptical gear flow meter for diesel engine.In order to solve measurement problem of fuel consumption measurement in the diesel engine, a fuel consumption measurement model using elliptical gear flowmeter for diesel engine was established based on its measurement mechanism, and its parameters adjustment by using function link neural network and chaos optimization algorithm were introduced.The application results revealed that the measurement system for diesel engine is of high precision and is useful for enhancing the economical quality of the diesel engine.

Fig. 1
Fig. 1 Schematic diagram of function joint In Fig. 2 W j (j = 0, 1, …, n, n = 3) is network connection weights.The number of connection weights is the same as the order number against nonlinear polynomial (j = n).Assumed neural network of neurons is linear, the function chain neural network's input value is 1,2 3

Table 1
Parameter of fuel consumption transducer with oval-shaped gear