Artificial neural network and fuzzy expert system comparison for prediction of performance and emission parameters on a gasoline engine

Artificial neural network and fuzzy expert system comparison for prediction of performance and emission parameters on a gasoline engine

Expert Systems with Applications 38 (2011) 13912–13923 Contents lists available at ScienceDirect Expert Systems with Applications journal homepage: ...

3MB Sizes 2 Downloads 81 Views

Expert Systems with Applications 38 (2011) 13912–13923

Contents lists available at ScienceDirect

Expert Systems with Applications journal homepage: www.elsevier.com/locate/eswa

Artificial neural network and fuzzy expert system comparison for prediction of performance and emission parameters on a gasoline engine Sakir Tasdemir a,⇑, Ismail Saritas b, Murat Ciniviz c, Novruz Allahverdi b a

Department of Computer Technology and Programming, Technical Science College, Selcuk University, Konya, Turkey Department of Electronic and Computer Education, Technical Education Faculty, Selcuk University, Konya, Turkey c Department of Mechanical Education, Technical Education Faculty, Selcuk University, Konya, Turkey b

a r t i c l e

i n f o

Keywords: Fuzzy expert system Artificial neural network Engine performance Engine emission

a b s t r a c t This study is deals with artificial neural network (ANN) and fuzzy expert system (FES) modelling of a gasoline engine to predict engine power, torque, specific fuel consumption and hydrocarbon emission. In this study, experimental data, which were obtained from experimental studies in a laboratory environment, have been used. Using some of the experimental data for training and testing an ANN for the engine was developed. Also the FES has been developed and realized. In this systems output parameters power, torque, specific fuel consumption and hydrocarbon emission have been determined using input parameters intake valve opening advance and engine speed. When experimental data and results obtained from ANN and FES were compared by t-test in SPSS and regression analysis in Matlab, it was determined that both groups of data are consistent with each other for p > 0.05 confidence interval and differences were statistically not significant. As a result, it has been shown that developed ANN and FES can be used reliably in automotive industry and engineering instead of experimental work. Ó 2011 Elsevier Ltd. All rights reserved.

1. Introduction Engine tests are being done by automotive manufacturers and researchers for the aims of determining engine performance values, putting forward effects of engine modifications versus engine performance and determining variations that are brought about when alternative fuels are used. As the results of the experiments (EXP) and researches that go on hundreds of years on the engine, big advances have been recorded. Not only these experiments are expensive, time consuming and costly but also cause negative conditions for human health, environment pollution and labour force (Tasdemir, 2004). Computers are used in a wide variety of fields in automotive sector such as diagnosing failure and designing of vehicles, obtaining high performance, reliable and safe running from vehicles. Artificial intelligence (AI) systems are widely accepted as a technology offering an alternative way to tackle complex and ill-defined problems. The usage of artificial neural networks (ANN), genetic algorithm (GA) and fuzzy logic (FL) are increasing a rapid way with the usage of computers. It is possible to remove disadvantages in the field of determination of the characteristics of engine performance and emission where these characters are complex and uncertain with an intelligence system designed by assist of an expert ⇑ Corresponding author. Address: Selcuk University, Technical Science College, Campus 42003 Konya, Turkey. Tel.: +90 332 2232380; fax: +90 332 2410185. E-mail address: [email protected] (S. Tasdemir). 0957-4174/$ - see front matter Ó 2011 Elsevier Ltd. All rights reserved. doi:10.1016/j.eswa.2011.04.198

(Altrock & Krause, 1994; Guillemin, 1994; Gusikhin, Rychtyckyj, & Filev, 2007; Sayin, Ertunc, Hosoz, Kilicaslan, & Canakci, 2007; Sozen, Arcakliog˘lu, Erisen, & Akçayol, 2004; Yücesu, Sozen, Topgül, & Arcaklioglu, 2007). In the experimental studies, some of the operating points of the system have been investigated. For this type of work, experts and special equipment are needed. It also requires too much time and high cost. ANNs and FESs have been used to solve nonlinear and complex problems that are not exactly modeled mathematically. ANNs and FESs eliminate the limitations of the classical approaches by extracting the desired information using the input data. Applying ANN to a system needs sufficient input and output data instead of a mathematical equation. Furthermore, it can continuously re-train for new data during the operation, thus it can adapt to changes in the system. Also, ANNs can be used to deal with the problems with incomplete and imprecise input data. A well trained ANN can be used as a predictive model for a specific application. Nowadays, ANNs and FESs can be applied to problems that do not have algorithmic solutions or algorithmic solutions that are too complex to be found. To overcome this problem, these systems use the samples to obtain the models of such systems. Their ability to learn by example makes ANNs very flexible and powerful. Therefore, these systems have been intensively used for solving regression and classification problems in many fields. ANNs and FES are used to solve a wide variety of problems in science and engineering, particularly for some areas where the conventional modelling methods fail. Recently, these systems have been widely

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923

used in the areas that require computational techniques, such as pattern recognition, robotics, prediction, medicine, power systems, optimization, manufacturing, optical character recognition, predicting outcomes, problem classification, engineering fields, and social/psychological sciences (Akçayol, Çınar, Bülbül, & Kılıçarslan, 2004; Dincer, Tasdemir, Baskaya, & Uysal, 2008; Dincer, Tasdemir, Basßkaya, Üçgül, & Uysal (2008); Kafkas, Karatasß, Sozen, Arcaklioglu, & Saritas, 2007; Kalogirou, 2003). There have been many investigations with ANN and FES. Some are briefly mentioned below. Diesel engine control design (Hafner, Schüler, Nelles, & Isermann, 2000), an analysis for effect of cetane number on exhaust emissions from engine (Yuanwang, Meilin, Dong, & Xiaobei, 2002), performance maps of a diesel engine (Çelik & Arcakliog˘lu, 2005), engine optimization of efficiency and NOx emission (Keskin, 2004), specification of automotive equipments using LEDs (Ortega & Silva, 2005), fuzzy diagnosis and advice system for optimization of emissions and fuel consumption (Kilagiz, Barana, Yildiz, & Cetin, 2005), analysis of an automobile air conditioning system (Hosoz & Ertunc, 2006), fault diagnosis in a scooter (Wu, Wang, & Bai, 2007), ANN approach on automobile-pricing _ßeri, 2007), a crude oil distillation column with the (Karlik and Is neural networks model (Motlaghi, Jalali, & Ahmadabadi, 2007), engine fault diagnosis (Wu & Liu, 2007), mathematical and experimental analysis of spark ignition engine performance used ethanol-gasoline blend fuel (Yücesu et al., 2007), performance and exhaust emissions of a gasoline engine (Sayin et al., 2007), a fuzzy logic approach to forecast energy consumption change in a manufacturing system (Lau, Cheng, Lee, & Ho, 2008), are some examples there ANN is used. The purpose of this article deals separately with ANN and FES modelling of a gasoline engine to predict engine power, engine torque, specific fuel consumption, and hydrocarbon emission of the engine. To acquire data for training and testing the proposed ANN and FES a single-cylinder, four-stroke test engine was performed with gasoline having various valve timing of engine (0°, 10°, 20° and 30°), and operated at different engine speeds (1200, 1400, 1600, 1800, 2000, 2200, 2400, 2600, 2800, 3000, 3200, 3400 rpm) and full load. In the modelling, experimental data, which were obtained from experimental studies in a laboratory environment, have been used.

2. Experimental study and apparatus The experimental study was conducted on a single cylinder, four-stroke spark ignition engine called as Briggs and Stratton Vanguard trade mark. The general specifications of the engine are shown in Table 1.

13913

Fig. 1. Schematic view of the test equipments.

A Cussons P8160 brand electrical dynamometer and Sun MGA1200 exhaust gas analyzer were used for the tests. The schematic view of the test equipments is shown in Fig. 1. According to the original valve timing of the engine, intake valve timing has been changed from 10° crankshaft angle (CA) advance to 30° CA advance for 3 timings value at 10° CA intervals. A special camshaft has been produced for the experiments and cam profiles have not been changed. Experiments have been performed at eight different engine speeds, from 1200 rpm to 3400 rpm at 200 rpm intervals at wide open throttle (WOT). In this study, the data (Çınar & Salman, 1998) obtained from experiments on Briggs and Stratton Vanguard trade mark single cylinder, 182 cc swept volume, four-stroke, spark ignition engine is used (Tasdemir, 2004). The reason for choosing this engine is to have the ability of comparing data obtained from ANN-FES and experiment that were previously done on this engine and recorded to the literature.

3. The basis of artificial neural network and designed system ANN is a massive parallel-distributed information processing system that has certain performance characteristics resembling biological neural networks of the human brain. ANN has been developed as a generalization of mathematical models of human cognition and neural biology. An ANN model can accommodate multiple input variables to predict multiple output variables. The

Table 1 General specifications of the test engine. Item

Specification

Trade mark Displacement (cc) Cylinder bore  stroke Number of cylinder Ignition Intake valve opening (bTDC – before top dead center) Inlet valve closing (aBDC – after bottom dead center) Exhaust valve opening (bBDC – before bottom dead center) Exhaust valve closing (aTDC – after top dead center)

Briggs and Stratton Vanguard 182 cc 68  50 mm 1 Magnetron-Electronic 16° CA 44° CA 45° CA 15° CA

Fig. 2. Proposed ANN for prediction of gasoline engine performance and emission parameters.

13914

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923

Fig. 3. The present developed model of ANN.

Performance is 0.00371236

0

Training-Solid

Test-Hidden

10

There are many types of ANN architectures in the literature; however, a back-propagation multi-layer feed-forward network (MLN) is the most widely used for prediction and in engineering applications. A MLN typically has an input layer, an output layer, and one or more hidden layers (Akçayol et al., 2004; S ß encan, 2006). The training process in the MLN involves presenting a set of examples (input patterns) with known outputs (target output). The system adjusts the weights of the internal connections to minimize errors between the network output and target output. Each variable is normalized within the range of 0–1 for ANN modelling. Since the transfer functions generally modulate (Eq. (1)) the output to values between 0 and 1 (Ayata, Çavusßog˘lu, & Arcaklıoglu, 2006; Islamoglu & Kurt, 2004)

-1

10

SN ¼

Hidden

-2

10

Solid

-3

10

0

1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 Epoch

Fig. 4. Variation of the mean square error with training and test epoch.

available data set is partitioned into two parts, one corresponding to training and the other corresponding to validation of the model. The purpose of training is to determine the set of connection weights and nodal thresholds that cause the ANN to estimate outputs that are sufficiently close to target values. This fraction of the complete data to be employed for training should contain sufficient patterns so that the network can mimic the underlying relationship between input and output variables adequately (Abbassi & Bahar, 2005; Dincer et al., 2008; Satish & Setty, 2005). They can learn from examples, are fault tolerant in the sense that they are able to handle noisy and incomplete data, are able to deal with non-linear problems, and once trained can perform prediction and generalization at high speed. The prediction by a well-trained ANN is normally much faster than the conventional simulation programs or mathematical models as no lengthy iterative calculations are needed to solve differential equations using numerical methods (Kafkas et al., 2007).

S  Smin ; Smax  Smin

ð1Þ

where SN is the normalized value of a variable S (real value in a parameter), Smax and Smin are the maximum and minimum values of S, respectively. The training process continues until the network output matches the target, i.e. the desired output. The calculated difference between these outputs and target outputs is called ‘‘error’’. The error between the network output and the desired output is minimized by modifying the weights. When the error falls below a determined value, or the maximum number of epochs is exceeded, the training process is terminated. Then, this trained network can be used for simulating the system outputs for the inputs that have not been introduced before (Hosoz & Ertunc, 2006; Rakesh, Kaushikb, & Gargb, 2006; S ß encan, 2006). A personal computer and Matlab 7 (licensed to Saritas) were used as ANN software development material for this study to predict of performance and emission parameters on a gasoline engine. The ANN structure is three layers namely, inputs, outputs, and hidden layer. The input layer consists of two neurons; the output layer consists of four neurons, and the one hidden layer. Engine speed (n) and intake valve opening advance were taken as the input parameters and the output parameters were taken as engine power (Pe), torque (Me), specific fuel consumption (be) and hydrocarbon (HC) for which experiments were conducted in this study (see Fig. 2). The ANN developed according to these parameters are shown in Fig. 3. The back-propagation learning algorithm has been used in feed forward single hidden layers. The back-propagation algorithm has been implemented to calculate errors and adjust weights of the hidden layer neurons. Hyperbolic Tangent–Sigmoid (tansig)

Fig. 5. Structure of developed FES with fuzzification and defuzzification.

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923 Table 2 Rules table. Number of rule 1 2 3 4 . . .. 25 26 27 28 . . .. 45 46 47 48

n (x)

Advance (y)

Pe (k) Me (l) Be (m) HC (t)

If If If If

L2 L2 L2 L2

and and and and

L3 L4 M2 H2

then then then then

L2 L3 L3 L3

L1 L5 M2 M3

H4 H2 M3 H1

H5 H5 H3 H3

If If If If

M3 M3 M3 M3

and and and and

L3 L4 M2 H2

then then then then

M3 H2 H2 M3

H3 H5 H3 H2

L2 L2 L3 L3

L4 L4 L3 L3

If If If If

H4 H4 H4 H4

and and and and

L3 L4 M2 H2

then then then then

H4 H2 H2 H2

H1 L5 L5 L2

L3 L5 M1 M2

M1 H1 H1 H1

transfer function was used in this study. Here for equation NETj was given as attached to X1 and X2 in Eqs. (2) and (3)

NET j ¼ ðW 1 Þi;1  X 1 þ ðW 1 Þi;2  X 2 ; Fj ¼

2  1: 1 þ expð2NET j Þ

ð2Þ

ð3Þ

In the Eq. (2), NETj is the sum of the multiplication products of the input parameters and their weights. The sub-scripts i and j are input and hidden neuron numbers, respectively. A mathematical formula was developed by using the approach (Eq. (3)). Y1–Y4 is used in this study to calculate gasoline engine performance. Traingd is a network training function that updates weight values according to gradient descent back-propagation. Learngd is the gradient descent weight learning function. Forty-eight data were

13915

obtained from experiments and 36 (75% of total data) of them were chosen for training, whereas 12 (25% of total data) of them were chosen for the test data. They all are chosen randomly. Training speed and learning ratio of ANN in the training process was 0.3. Inputs and outputs are normalized in the (0, 1) range for ANN modelling by the operation given in Eq. (1) in Matlab. Here, engine speed (X1) and intake valve opening advance (X2) are two input parameters. In ANN, 60 hidden neurons were used. Therefore, 60 equation parts ranging from NET1–NET60 and F1–F60 were used as sum and activation functions, respectively. Neuron numbers in the hidden layer (2–100 neurons) and epoch numbers (1000–15,000 epochs) were tested for different values. The most suitable neuron number for the hidden layer can be obtained by trying various networks. The training of the network is stopped when the tested values of MSE stop decreasing and begin to increase. The most suitable epoch number with mean square error (MSE) of the ANN performance was determined. After these trials, a network of 2–60–4 neurons and 10,000 epochs were chosen as it yielded the most appropriate result. Training and test data graphics and performance after 10,000 epochs in Matlab are shown in Fig. 4. Variation of the mean squared error (MSE-Eq. (4)) (Kalogirou, 2003; Çelik & Arcakliog˘lu, 2005) with training and test epoch is 0.00371236.

MSE% ¼

n 1X ðdi  Oi Þ2 : n i¼1

ð4Þ

Here, di is targeted or real value, Oi is network output or predicted value, and n is the output data number. 4. Fuzzy expert system and developed system Fuzzy logic (FL) is a mathematical discipline that we use every day and helps us to reach the structure in which we interpret

Fig. 6. The fuzzy membership functions for two input variables n (a), advance (b) and four output variables Pe (c), Me (d), be (e) and HC (f).

13916

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923

our own behaviours. FES is an expert system that uses a collection of fuzzy rules, instead of Boolean logic, to reason about data (Liao, 2005). Unlike the classical Boolean set allowing only 0 or 1 value, the fuzzy set is a set with a smooth boundary allowing partial membership. FESs are developed using the method of FL, which deals with uncertainty (Kilagiz et al., 2005; Liao, 2005; Lee, Howlett, & Walters, 2004). As it is seen in Fig. 5, in FES model the input and output values of the system are crisp values. By fuzzification these crisp input values, its fuzzy membership values and degrees are obtained. In the inference mechanism fuzzy results are inferred from the memberships of fuzzy sets with the aid of knowledge base. In the infer-

ence subprocess, the truth value for the premise of each rule is computed, and applied to the conclusion part of each rule. The knowledge base is built on a collection of fuzzy IF-THEN rules. The human expert should introduce these rules and they have to be analyzed again whenever there are new objects to distinguish. Many shapes of the membership function are possible (e.g., triangular, gaussian, trapezoidal shapes), each will provide a different meaning for the linguistic variable. Membership function is determined by experts (Dincer et al., 2008; Kilagiz et al., 2005; Lee et al., 2004; Liao, 2005; Nguyen, Prasad, Walker, & Walker, 2003). Here, the fuzzy output values which are also obtained by using rule-base are sending to the defuzzification unit, and from this unit the final

Fig. 7. Comparison of change graphics of Pe, Me, be and HC values with respect to engine speed values for different advantages.

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923

13917

Fig. 7 (continued)

crisp values are obtained as output (Saritas, Ozkan, Allahverdi, & Argindogan, 2009). Since the most important effects during the determination of engine performance and emission parameters are engine speed (n) (x – rpm) and intake valve opening advance change (y-°) and they also effects directly the output variables, they are accepted as input parameters of the developed system in this study. Output parameters of the developed FES system have been determined as engine power (Pe) (k – kW), torque (Me) (l – Nm), specific fuel consumption (be) (m – g/kWh) and hydrocarbon (HC) (t – ppm) emission parameter. Thus, a FES with two inputs, four outputs has been designed. While choosing of these parameters, an expert view has been taken into consideration.

Input and output crisp numerical data have been fuzzified with human expert and converted into linguistic variables such as extreme low (L1), lowest (L2), lower (L3), low (L4), almost low (L5), under medium (M1), medium (M2), over medium (M3), upper medium (M4), almost high (H1), high (H2), higher (H3), highest (H4), extreme high (H5) as shown in Table 2. Range of values of these linguistic expressions can be determined and expressed as formulas via meeting with expert. As can be seen from Table 2, system knowledge base has been constituted from 48 fuzzy rules. For example, rules 26 from Table 2 can be explained as follow. If engine speed is over medium and intake valve opening advance is low, then engine power is high, engine torque is extreme high, specific fuel consumption is lowest

13918

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923

Fig. 8. Comparison of experimentally results and ANN-predicted values of engine performance and emission parameters.

and hydrocarbon is low. The structure of the developing a FES consisting of a fuzzification, a knowledge base (rule base), fuzzy inference engine and defuzzification is shown in Fig. 5. Linguistic expression of Advance input variable advance (let y) have been determined as L3, L4, M2, H2 with the help of an expert and triangular membership functions are determined as follow. Here, ladvance(y) is the membership degree of the advance and y is a member of the advance fuzzy set. Sets have been formed for other parameters in similar way and here only the results are presented.

(

lL3 ðyÞ ¼

lL4 ðyÞ ¼

0;

otherwise

10y 10

0 6 y 6 10

8 0; > > >
)

y60

ð5Þ 9 > > > =

0 < y 6 10 10 20y > 10 < y < 20 > > > > > : 10 ; 0; y P 20

8 9 0; y 6 10 > > > > > < y10 10 < y 6 20 > = 10 lM2 ðyÞ ¼ 30y > 20 < y < 30 > > > > > : 10 ; 0; y P 30 (

lH2 ðyÞ ¼

0;

otherwise

y20 10

20 6 y 6 30

ð6Þ

lM2(Advance) = {0/10 + 0.5/15+ 1/20+  +0.5/25 + 0/30}, lH2(Advance) = {0/20 + 0.3/23+  +0.5/25 + 1/30 + 0/35}. Membership functions of the used parameters have been obtained from Eqs. (6)–(8) and their graphics are shown in Fig. 6. When the input data is entered to the system, one or more than one rule can be fired. In this case, inference mechanism determines what the output is going to be. Mamdani approach has been used as fuzzy inference mechanism because of being simple and easy to use. It has been used to determine degree of truth for each rule when Mamdani max–min inference is applied. For each rule, degree of truth is calculated and these degree of truth are used to calculate Pe, Me, be and HC. At the defuzzification process, the exact expression is obtained with ‘‘centroid’’ method according to a validity degree by using formula given in Eq. (9)

R yl 0 ðyÞdy Y  ¼ Rv B v lB0 ðyÞdy

ð9Þ

ð7Þ

This kind of defuzzification determines y⁄ point as the middle of area where membership function of B and cover field intersect. R Here v is the traditional integral symbol. In similar way, results have been obtained for various engine speed and advance from FES.

ð8Þ

5. Results and discussion

)

The fuzzy sets for advance are formed from the Eqs. (6)–(8): lL3(Advance) = {1/0 + 0.5/5+  +0.3/7 + 0/10}, lL4(Advance) = {0/0 + 0.5/5+ 1/10+  +0.5/15 + 0/20},

In this study, performance and emission parameters of a gasoline engine are estimated based on engine speed, independently at 0°, 10°, 20°, 30° advantages by using the experimental data for both ANN and FES methods. The experimentally obtained and

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923

13919

Fig. 9. Comparison of experimentally results and FES-predicted values of engine performance and emission parameters.

estimated values are compared graphically. In Fig. 7, it can be seen that the data obtained from developed system and experimental data are fitting and close. Realized system results and experimental data are evaluated by using regression analysis. The regression graphic between the estimated ANN–FES values and experimental measurement values for engine performance and emission are shown in Figs. 8 and 9. As the correlation coefficients get closer to 1, estimation accuracy increases. In the case presented in this study, the correlation coefficients obtained are very close to 1, which indicates a perfect match between ANN–FES estimation values and experimental measurement values (Table 3). As seen in Figs. 8 and 9, the estimation results and experimental results are in a good agreement. The deviation between experimental and estimated results is very small and negligible for engine performance and emission parameters. In other words, designed ANN-FES and ANN represent the realized experiment values. There were no meaningful difference between the experimental results and ANN and FES results (Table 3). Engine performance and emission parameters experimentalANN (Table 4) and experimental-FES (Table 5) results are applied on statistical t-test resulting in the 95% confidence interval.

Table 3 The correlation values between experimental data and designed systems results.

EXP.-FES EXP.-ANN

Pe

Me

be

HC

0.98248 0.97286

0.99304 0.95381

0.99103 0.98594

0.99561 0.98647

Performed independent t-test for ANN training and test data analyzed one by one with experimental data. The results of these analyses are 0.937 for Pe, 0.966 for Me, 0.994 for be, 0.998 for HC in training data, 0.836 for Pe, 0.993 for Me, 0.935 for be, 0.901 for HC values are obtained in the testing data (p > 0.05). According to results of performed t-tests, there is no difference between data obtained form ANN-FES and experiments significantly but a great relationship as statistically and differences were statistically not significant. Also designed systems successfully model the system on which experiments are performed. Moreover, the engine speed and advantage values which are not carried out in the experiment are applied to FES and ANN to obtain intermediate values. First, advantages (0°, 10°, 20°, 30°) is fixed and engine speed is changed (1300, 1500, 1700, 1900, 2100, 2300, 2500, 2700, 2900, 3100, 3300 rpm) and Pe, Me, be and HC results are obtained (Fig. 10a). Then, engine speed is fixed and Pe, Me be and HC are calculated for the intermediate advantage values of (5°, 15°, 25°) (Fig. 10b). Unperformed experiments are predicted with developed systems for engine performance and emission parameters such as Pe, Me, be, and HC. When the engine is examined for engine performance and emission parameters, it is seen that the Pe, Me, be, and HC predicted with developed systems give similar values to experimental values. When Pe, Me, be, and HC predicted with developed systems are compared with the results from the experimental study, it can be found to be better results and when compared with the results of experimental study pertaining to Pe, Me, be, and HC (Fig. 10). As seen from the graphics, intermediate values which are not performed on the experiment set, but obtained from the developed system are fitting with the experimental results.

13920

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923

Table 4 t-test for equality of means of ANN training and testing output. t

df

Sig. (2-tailed)

Mean difference

Training Pe ANN Me ANN be ANN HC ANN

– – – –

EXP. EXP. EXP. EXP.

.080 .043 .007 .015

70 70 70 70

0.937 0.966 0.994 0.988

.01463 .01014 .12782 .15320

Testing Pe Me be HC

– – – –

EXP. EXP. EXP. EXP.

.210 .009 .083 .126

22 22 22 22

0.836 0.993 0.935 0.901

.05220 .00257 1.57239 2.21260

ANN ANN ANN ANN

Std. error difference

95% Confidence interval of the difference Lower

Upper

.18337 .23715 17.36131 10.55401

.38034 .46284 34.75386 21.20250

.35108 .48313 34.49823 20.89610

.24902 .29974 18.98288 17.49719

.56864 .61904 40.94048 38.49955

.46424 .62419 37.79570 34.07435

Table 5 t-test for equality of means of FES result. t

Pe Me be HC

FES FES FES FES

– – – –

EXP. EXP. EXP. EXP.

.385 .124 .060 .035

df

94 94 94 94

Sig. (2-tailed)

0.870 0.902 0.952 0.972

Mean difference

.05623 .02375 .81690 .31250

When the Pe, Me, be and HC values examined together, FES gives more close results to experimental values than the ANN. This means that FES estimates the engine performance and emission

Std. error difference

.14592 .19203 13.54425 8.91494

95% Confidence interval of the difference Lower

Upper

.23350 .40504 26.07553 18.01333

.34596 .35754 27.70932 17.38833

parameters better compared to ANN. By using the all values, the regression analyses are resulted 0.99938 and 0.99965 for experiment-ANN and experiment-FES respectively (Fig. 11).

Fig. 10. Predicted results of FES and ANN that unperformed experiments, according to engine speed and advance values.

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923

Fig. 10 (continued)

13921

13922

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923

Fig. 11. Comparison of experiment-FES and experiment-ANN for engine performance and emission parameters.

It is also shown that FES estimates better results than ANN by using mean relative percentage error (MRE-Eq. (10)), (Sayin et al., 2007) evaluation. Mean absolute percentage accuracies are 0.9743 for FES and 0.9622 for ANN.

MREð%Þ ¼

 n  1X jdi  Oi j : 100  n i¼1 di

ð10Þ

Here, di is targeted or real value, Oi is network output or predicted value, and n is the output data number. Comparisons of the ANN, FES predictions and the experimental results demonstrate that engines using gasoline with various valve timing can accurately be modelled using ANN and FES. The usage of ANN and FES may be highly recommended to predict the engine’s performance and emissions instead of having to undertake complex and time-consuming experimental studies.

better results may be obtained for different inputs. This study can also be used as a guide for designing ANN and FES for different engine types. Moreover, quite close results to engine test results can be obtained by either increasing number of input, output parameters and linguistic variables or including other artificial intelligence techniques such as genetics algorithms, and data mining. Consequently, with the use of ANN and FES, the performance and exhaust emissions of the internal combustion engines can easily be determined by performing only a limited number of tests instead of a detailed experimental study. The experimental data and the developed system analyses showed that ANN and FES reduce disadvantages such as time, material and economical losses to a minimum, thus saving both engineering effort and funds.

Acknowledgements 6. Conclusions In this study, the ANN and FES approach has been applied comparatively to a gasoline engine for predicting engine power, torque, specific fuel consumption, and emission of hydrocarbon. The performance and exhaust emissions values of a gasoline engine fuelled with the different advances are predicted using ANN and FES for different engine speeds at full load conditions. The biggest advantages of the ANN and FES compared to classical methods are speed of calculations, simplicity, and capacity to learn from examples and also do not require more experimental study. So, engineering effort can be reduced in the areas. Especially this study is considered to be helpful in predicting the residual stress. Results from this model will allow to improve determination of the engine torque and specific fuel consumption and to understand in a short time the behaviour of the experimental results. The model does not need any preliminary assumptions on the underling mechanisms in the modelled process. As a result, it is seen that generally ANN and FES can be used and applied in complex and uncertain fields such as the determine engine performance and emission parameters. The study performed for only one engine can be improved by using different engines. With these models, unperformed advantage and engine speed values can be calculated successfully. Moreover, new systems and models which may obtain better results can be developed by using hybrid artificial intelligence techniques. Optimum engine productions can be realized by using the developed models in the production phase. This study can be a guide for future studies that will use different advance and turn that are determined by an expert. In this way,

This study has been supported by Selcuk University’s Scientific Research Unit.

References Abbassi, A., & Bahar, L. (2005). Application of neural network for the modeling and control of vaporative condenser cooling load. Applied Thermal Engineering, 25, 3176–3186. _ & Kılıçarslan, A. (2004). Artificial neural Akçayol, M. A., Çınar, C., Bülbül, H. I., network based modeling of injection pressure in diesel engines. World Scientific and Engineering Academy and Society (WSEAS) Transactions on Computers, 3, 1538–1544. Altrock, C. V., & Krause, B. (1994). Multi-criteria decision making in German automotive industry using fuzzy logic. Fuzzy Sets and Systems, 63, 375–380. Ayata, T., Çavusßog˘lu, A., & Arcaklıoglu, E. (2006). Predictions of temperature distributions on layered metal plates using artificial neural networks. Energy Conversion and Management, 47, 2361–2370. Çelik, V., & Arcakliog˘lu, E. (2005). Performance maps of a diesel engine. Applied Energy, 79, 385–401. Çınar, C., & Salman, S. (1998). Emme Supabı Zamanlamasının Motor Performansına Etkileri, Gazi Üniversitesi Teknik Eg˘itim Fakültesi. Politeknik Dergisi, 1, 41–48. _ & Uysal, B. Z. (2008). Fuzzy modeling of Dincer, K., Tasdemir, Sß., Basßkaya, Sß., Üçgül, I., performance of counterflow Ranque–Hilsch vortex tubes with different geometric constructions. Numerical Heat Transfer Part B: Fundamentals, 54, 499–517. Dincer, K., Tasdemir, S ß ., Baskaya, S., & Uysal, B. Z. (2008). Modeling of the effects of length to diameter ratio and nozzle number on the performance of counterflow Ranque–Hilsch vortex tubes using artificial neural networks. Applied Thermal Engineering, 28, 2380–2390. Guillemin, P. (1994). Universal motor control with fuzzy logic. Fuzzy Sets and Systems, 63, 339–348. Gusikhin, O., Rychtyckyj, N., & Filev, D. (2007). Intelligent systems in the automotive industry: Applications and trends. Knowledge and Information Systems, 12, 147–168. Hafner, M., Schüler, M., Nelles, O., & Isermann, R. (2000). Fast neural networks for diesel engine control design. Control Engineering Practice, 8, 1211–1221.

S. Tasdemir et al. / Expert Systems with Applications 38 (2011) 13912–13923 Hosoz, M., & Ertunc, H. M. (2006). Artificial neural network analysis of an automobile air conditioning system. Energy Conversion and Management, 47, 1574–1587. Islamoglu, Y., & Kurt, A. (2004). Heat transfer analysis using ANNs with experimental data for air flowing in corrugated channels. International Journal of Heat and Mass Transfer, 47, 1361–1365. Kafkas, F., Karatasß, Ç., Sozen, A., Arcaklioglu, E., & Saritas, S. (2007). Determination of residual stresses based on heat treatment conditions and densities on a hybrid (FLN2-4405) powder metallurgy steel using artificial neural network. Materials and Design, 28, 2431–2442. Kalogirou, S. A. (2003). Artificial intelligence for the modeling and control of combustion processes. A Review, Progress in Energy and Combustion Science, 29, 515–566. _ßeri, A. (2007). An artificial neural networks approach on automobileKarlık, B., & Is pricing. Expert Systems with Applications, 36, 2155–2160. Keskin, U. (2004). Genetic algorithm and artificial neural network for engine optimisation of efficiency and NOx emission. Fuel, 83, 885–895. Kilagiz, Y., Barana, A., Yildiz, Z., & Cetin, M. A. (2005). Fuzzy diagnosis and advice system for optimization of emissions and fuel consumption. Expert System with Applications, 28, 305–311. Lau, H. C. W., Cheng, E. N. M., Lee, C. K. M., & Ho, G. T. S. (2008). A fuzzy logic approach to forecast energy consumption change in a manufacturing system. Expert Systems with Applications, 34, 1813–1824. Lee, S. H., Howlett, R. J., & Walters, S. D. (2004). Emission reduction for a small gasoline engine using fuzzy control. In IFAC symposium on advances in automotive control, Salerno, Italy. Liao, S. H. (2005). Expert system methodologies and applications – A decade review from 1995 to 2004. Expert Systems with Applications, 28, 93–103. Motlaghi, S., Jalali, F., & Ahmadabadi, M. N. (2007). An expert system design for a crude oil distillation column with the neural networks model and the process optimization using genetic algorithm framework. Expert Systems with Applications, 35, 1540–1545. Nguyen, H. T., Prasad, N. R., Walker, C. L., & Walker, E. A. A. (2003). First course in fuzzy and neural control. Florida: Chapman & Hall.

13923

Ortega, A. V., & Silva, I. N. (2005). Application of intelligent systems for specification of automotive equipments using LEDs. Applied Soft Computing, 16, 18–25. Rakesh, K., Kaushikb, S. C., & Gargb, S. N. (2006). Heating and cooling potential of an earth-to-air heat exchanger using artificial neural network. Renewable Energy, 31, 1139–1155. Saritas, I., Ozkan, I. A., Allahverdi, N., & Argindogan, M. (2009). Determination of the drug dose by fuzzy expert system in treatment of chronic intestine inflammation. Journal of Intelligent Manufacturing, 20, 169–176. Satish, S., & Setty, Y. P. (2005). Modeling of a continuous fluidized bed dryer using artificial neural networks. International Communications in Heat and Mass Transfer, 32, 539–547. _ & Canakci, M. (2007). Performance Sayin, C., Ertunc, H. M., Hosoz, M., Kilicaslan, I., and exhaust emissions of a gasoline engine using artificial neural network. Applied Thermal Engineering, 27, 46–54. S ß encan, A. (2006). Artificial intelligent methods for thermodynamic evaluation of ammonia–water refrigeration systems. Energy Conversion and Management, 47, 3319–3332. Sozen, A., Arcakliog˘lu, E., Erisen, A., & Akçayol, M. A. (2004). Performance prediction of a vapour-compression heat-pump. Applied Energy, 79, 327–344. Tasdemir, S. (2004). Design of a fuzzy expert system for definition of gasoline engine performance and emission characteristics. M.Sc. thesis, Selçuk University, Konya, Turkey. Wu, J. D., & Liu, C. H. (2007). Investigation of engine fault diagnosis using discrete wavelet transform and neural network. Expert Systems with Applications, 35, 1200–1213. Wu, J., Wang, Y., & Bai, M. R. (2007). Development of an expert system for fault diagnosis in scooter engine platform using fuzzy-logic inference. Expert Systems with Applications, 33, 1063–1075. Yuanwang, D., Meilin, Z., Dong, X., & Xiaobei, C. (2002). An analysis for effect of cetane number on exhaust emissions from engine with the neural network. Fuel, 81, 1963–1970. Yücesu, H. S., Sozen, A., Topgül, T., & Arcaklioglu, E. (2007). Comparative study of mathematical and experimental analysis of spark ignition engine performance used ethanol-gasoline blend fuel. Applied Thermal Engineering, 27, 358–368.