Fuzzy Logic Model For The Prediction of Traffic Volume in Week Days
Fuzzy Logic Model For The Prediction of Traffic Volume in Week Days
Fuzzy Logic Model For The Prediction of Traffic Volume in Week Days
1
International Journal of Computer Applications (0975 – 8887)
Volume 107 – No 17, December 2014
variables contain information about the process operating Delhi-hardwar highway (NH-58) road is used to ensure the
conditions. The consequent of the rule is shows a linear fuzzy sets of each variable and its corresponding membership
regression model which is valid for the given operating functions. Day of week is fuzzified into five fuzzy sets: Mon,
condition [30]–[34]. Consider a set of inputs x1, x2, . . . , xn Tue, Wed, Thur, Fri. The time is fuzzified into midnit, dawn ,
variables and y single output variable for dynamic system . emor , mor, fnoon , anoon , even , dusk , night. To get better
The relationship between input and output variables in prediction precision, the output variable (traffic volume) is
dynamic system can be represented as: fuzzified into eight sets: Very low, low, medium, moderate,
high, Vhigh, v2high, v3high.Triangular function is used to
y = f(x1, x2, . . . , xn) (1) denote membership function for the input and output
A fuzzy model structure describes the function f between the variables. Figure 2a, 2b and Table 1(a) and Table 1(b) are
inputs xi , i = 1, . . . , n and the output y. The inputs and used to represent memberships function of the input variables
outputs are measured at the sample time t; t = 1,2, . . . , N. and figure 3 ,Table 3 for the membership function of output
variable .
A fuzzy model of a dynamic system for a Many Input Single
Output (MISO) system has a set of rules in the following Table 1: Parameters of membership function of input
format: Variables
Rulek : If x1 is Dk1 and . . . and xn is Dkn then
(a) Day of the week
yk = dk1x1 + dk2x2 + · · · + dknxn + dk0 Mon [1,1,1,1]
(2)
Tue [2,2,2,2]
where k is the rule number. For example, if we want to model
a three input n = 3 single output system using two rules i = 1, Wed [3,3,3,3]
2. The system can be represented as follows:
Thur [4,4,4,4]
Rule1: If x1 is D11 and x2 is D12 and x3 is D13 then
Fri [5,5,5,5]
y1 = d11x1 + d12x2 + d13x3 + d10
(b) Time of the Day
Rule2: If x1 is D21 and x2 is D22 and x3 is D23 then
Midnit (0,0,3)
y2 = d11x1 + d12x2 +da13x3 + d20
where y1 is the output corresponding to the region of values, Dawn (0,3,5)
in the input domain, of the variables x1, x2, x3 based a set of
membership function D11, D12 and D13. The inner-product Emor (3,5,8)
space for the fuzzy set Di , which defines the fuzzy region in
Mor (5,8,11)
the antecedent space, can be described as:
Fnoon (8,11,14)
Anoon (11,14,17)
(3)
Even (14,17,20)
Thus, the degree of fulfillment is represented as:
Dusk (17,20,23)
Night (20,24,23)
2
International Journal of Computer Applications (0975 – 8887)
Volume 107 – No 17, December 2014
Fuzzy Inference
Traffic Volume
Defuzzification
fuzzification
week
Output
Input
Rules reliability
3
International Journal of Computer Applications (0975 – 8887)
Volume 107 – No 17, December 2014
mostly developed based on the data collected from Delhi-hardwar highway (NH-58 ) for week days. After that average data for each
days are calculated on the hourly basis .In this paper, fuzzy control rules are developed based on the hourly traffic volumes data.After
reviewing the data, a total of 44 rules are obtained. If the antecedences of several rules are the same, then the rule, which has the
largest weight, is kept. Rules designed for the proposed system are shown in Table 3.
3.2.3 Defuzzification
According to the input variables, their member functions and 41 effective control rules. The traffic volume at particular time and day
can be obtained by defuzzification. In this paper the ‘CENTROID Method’ was used for defuzzification. This is the most widely used
method. This can be called as centre of gravity or centre of area method. It can be defined by
4
International Journal of Computer Applications (0975 – 8887)
Volume 107 – No 17, December 2014
4. RESULTS AND DISCUSSION [3] Zheng, W., Lee, D. H. and Shi, Q.2006. Short-term
After applying the available test data into the proposed traffic freeway traffic prediction: Bayesian combined neural
volume prediction model traffic volume will be predicted . network approach, Journal of Transportation Engineering
For testing the accuracy of the model prediction, two error , 114–121.
formulas are used, the first is used to test the accuracy of [4] Cheslow, M., Hatcher, S. G. and Patel, V. M.1992. An
single sample and second is used to the accuracy of the whole initial evaluation of alternative intelligent vehicle
sample. The difference between predicted traffic volume highway systems architecture. Rep. No. 92w0000063,
corresponding to the observed traffic volume of week days is MITRE Corporation, Bedford, Mass (1992).
shown in Fig 5 . The total error in the proposed model is
calculated by the Mean Absolute Percentage Error [5] Topuz , V.2007.Traffic Demand Prediction Using ANN
[35](MAPE).With the proposed method on average the Simulator, In: KES 2007/WIRN 2007, Part I, LNAI
MAPE error for week days is 15% The error shows that the 4692, Springer-Verlag, Berlin Heidelberg, 864-870 .
predicted traffic volume have relatively good correlation with [6] Okutani, I. and Stephanedes, Y. J.1984..Dynamic
the actual traffic volume.This reduce the MAPE error by prediction of traffic volume through kalman filtering
modifying the membership functions and rules.However, for theory, Transp. Res., Part B: Methodol, 18(1), 1–11.
some points, as shown in the fig 5, there are still have large
error and this is caused by the burstiness of traffic condition. [7] Xie, Y., Zhang, Y. and Ye, Z.2007. Short-term traffic
volume forecasting using Kalman filter with discrete
wavelet decomposition. Computer-Aided Civil and
Infrastructure Engineering, 22 326–334.
[8] Ross, P.1982.Exponential filtering of traffic data.
Transportation Research Record 869, 43–49.
[9] Smith, B. L., and Demetsky, M. J.1994. Short-Term
Traffic Flow Prediction: Neural Network Approach, In
Transportation Research Record 1453, TRB, National
Research Council, Washington, D.C., 98–104.
[10] Van Lint, J. W. C., Hoogendoorn , S. P., and Van Zuylen
, H. J, Accurate Freeway Travel Time Prediction with
State-Space Neural Networks Under Missing Data.2005.
Transportation Research Part C, Vol. 13, No. 5-6 347–
Fig 5. Simulated and Predicted Volume of week days 369.
5. CONCLUSION [11] Vlahogianni, E. I., Karlaftis, M. G. and Golias, J.
Modelling a traffic volume prediction model has proven to be C.2005.Optimized and Meta-Optimized Neural Networks
a very difficult task .The highly nonlinear nature of traffic for Short-Term Traffic Flow Prediction: A Genetic
behavior necessitates the use of fuzzy logic for the modeling Approach, Transportation Research Part C, Vol. 13, No.
and development of traffic volume prediction model. Fuzzy 3, 211–234.
logic can be a potential method dealing with structural and
parametric uncertainties in the traffic Volume behavior human [12] Park, D., and Rilett , L. R.1999. Forecasting Freeway
expert knowledge expressed by linguistic variables is a Link Travel Times with a Multilayer Feedforward Neural
powerful tool enabling fuzzy models to deal with uncertainties Network, Computer-Aided Civil and Infrastructure
and inaccuracies. In the current study membership functions, Engineering, Vol. 14, No. 5, 357–367.
fuzzy control rules of fuzzy logic is used to make traffic [13] Yin, H. B., Wong , S. C., Xu, J. M., and Wong , C.
prediction model. The above model has limitation that fuzzy K..2002.Urban Traffic Flow Prediction Using a Fuzzy-
control rules were designed on small data set .The result Neural Approach. Transportation Research Part C, Vol.
shows this approach is satisfactory and wide applicability in 10, No. 2, 85–98.
the area of Intelligent Transport System. However, there are
still gaps to do improve the reliability and efficiency of the [14] Li , L., Lin ,W.H. and Liu ,H.2006. Type-2 fuzzy logic
fuzzy logic model. In addition, new extensive data sets will approach for short-term traffic forecasting. Intelligent
be necessary to provide the basis for constructing a high Transport Systems, IEE Proceedings, 153(1), 33 – 40.
quality model. [15] Su, H., Yu, S. 2007. Hybrid GA Based Online Support
Using extensive data sets MAPE error can be minimized using Vector Machine Model for Short- Term Traffic Flow
neural network along with fuzzy . Forecasting In: APPT LNCS 4847, Springer-Verlag
Berlin Heidelberg,743-752.
6. REFERENCES [16] CHEN, B.P. and MA, Z. 2009. Short-term Traffic Flow
[1] Kajackas, A., Vindašius and Š., Stanaitis.2009., Prediction Based on ANFIS, International Conference on
Vehicle Communication: Emergency Message Delay Communication Software and Networks ICCSN, ISBN
Distribution , Electronic and Electrical Engineering. – 978-0-7695-3522-7, IEEE, 791-793.
Kaunas: Technologija , 8(96), 33–38.
[17] SADEK, A, W. 2007. Artificial Intelligence Applications
[2] Zeng, in Transportation, In: Transportation Research E-C113.
D., Xu , J., Gu, J., Liu, L. and Xu, G.2008. Short term Artificial Intelligence in Transportation Information for
traffic flow prediction using hybrid ARIMA and ANN Application. Transportation Research Board, ISSN 0097-
models, Workshop on Power Electronics and Intelligent 8515, 1-6 .
Transportation System, 621-625.
5
International Journal of Computer Applications (0975 – 8887)
Volume 107 – No 17, December 2014
[18] Smith, B.L.and Demetsky, M.J.1994. Short-term Traffic [28] Lotfi ,A. and Garibaldi ,J. M.2004. Applications and
Flow Prediction: Neural Network Approach.Transp. Res. Science in Soft Computing. Springer, ISBN: 3-540-
Rec. 1453, 98–104 . 40856-8.
[19] Celikoglu, H.B and Cigizoglu, H. K .2007, Modelling [29] Kosko ,B. 1998.Fuzzy systems as universal
public transport trips by radial basis function neural approximators, in Proceedings of Int. Conf. Fuzzy Syst.,
Networks In: Mathematical and Computer Modelling , 1153–1162.
Elsevier 45 ,480–489.
[30] Babu˜ska ,R.1996 Fuzzy Modeling and Identification.
[20] ] Ruimin Li, R , Hua ,p. u. , Lu, H. 2009. Combined PhD thesis, Delft University of Technology.
Neural Network Approach for Short-Term Urban
Freeway Traffic Flow Prediction, ISNN 2009, Part III, [31] Babu˜ska ,H. A., . Braake ,R., Krijgsman , A. J. and
LNCS 5553, Springer-Verlag Berlin Heidelberg 2009, Verbruggen . H. B.1996. Comparison of intelligent
1017–1025. control schemes for real-time pressure control, Control
Engineering Practice, vol. 4, 1585–1592.
[21] ]Abdulhai, B., Himanshu, P.and Will, R.2002.Short-
Term Traffic Flow Prediction Using Neuro-Genetic [32] Sheta , A. 2005.Modeling the Tennessee Eastman
Algorithms, Journal of Intelligent Transportation Chemical Reactor Using Fuzzy Logic. New York, USA:
Systems, 7: 1, 3 —41. Book Chapter. The ISE Book Series on Fuzzy System
Engineering-Theory and Practice, Nova Science, ISBN:
[22] Wang , L. X. and Mendel ,J. M.1993. Fuzzy adaptive 3-540-25322-X.
filter: with application to nonlinear channel equalization,
IEEE Trans. Fuzzy Syst., vol. 1,no. 3, 161–170 [33] Sheta ,A., . Oznergiz ,E., Abdelrahman, M. and Babuska,
R.2009.Modeling of hot rolling industrial process using
[23] Brown ,M. and Harris ,C. J.1994. Neurofuzzy Adaptive fuzzy logic, in Proceedings of the ISCA 22nd
Modeling and Control. Hemel Hempstead: Prentice Hall International Conference on Computer Applications in
Industry and Engineering (CAINE-2009), San Francisco,
[24] Wang, L. X.1992. Fuzzy systems are universal CA, USA, 81–86
approximators, in Proceedings of IEE Int. Conf. on
Fuzzy Systems, San Diego, USA, 1163–1170. [34] Abdelrahman, M., Sheta ,A., Deabes ,W.2009. Fuzzy
mathematical modeling for reconstructing images in ECT
[25] Dubois ,D. and Prade, H.1992. Fuzzy sets in approximate of manufacturing processes, in Proceedings of the
reasoning: part 1, Fuzzy Sets and Systems, vol. 40,143– International Conference on Computer Engineering and
202 Systems (ICCES2009), Ain Shams University, Cairo,
[26] Yager , R. R. and Filev, D. P. 1994. Essentials of Fuzzy Egypt.
Modeling and Control. John Wiley, New York.. [35] Taylor, J. R.1982. An introduction to error analysis: the
[27] Lotfi ,A.2002. Application of Learning Fuzzy Inference study of uncertainties in physical measurements,
Systems in Electricity Load Forecast. In report of the University Science Books, Mill Valley, CA.
EUNITE worldwide competitionon Electricity Load
Forecast using Intelligent Techniques (ISBN: 80- 89066-
41-0).
IJCATM : www.ijcaonline.org 6
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: