HOME JOURNALS CONTACT

Information Technology Journal

Year: 2012 | Volume: 11 | Issue: 10 | Page No.: 1518-1522
DOI: 10.3923/itj.2012.1518.1522
Wavelet-based Kalman Filter for Traffic Flow Forecasting in Sensornets
Yan-Chao Zhao, Jian-Feng Wu, Yan Zhang and Bin Zhou

Abstract: With the rapid development of Intelligent Transportation Systems (ITS), traffic controlling and traffic guidance have become a hot research issue. Better traffic controlling can reduce the cost and pollution efficiently. This study researches traffic flow forecasting in Sensornets. First, some observation nodes are proper set and the traffic flow data can be collected. Then wavelet is introduced to reduce the noise of the traffic flow data. Kalman filter is also introduced to forecast the next traffic flow and the result will be more advantageous for traffic controlling. The efficiency and the accuracy of the proposed model are shown in presented numerical examples.

Fulltext PDF Fulltext HTML

How to cite this article
Yan-Chao Zhao, Jian-Feng Wu, Yan Zhang and Bin Zhou, 2012. Wavelet-based Kalman Filter for Traffic Flow Forecasting in Sensornets. Information Technology Journal, 11: 1518-1522.

Keywords: Kalman filter, Traffic flow, forecasting and wavelet-based

INTRODUCTION

Sensornets have been applied in many fields (Akyildiz et al., 2002, 2007; Shan et al., 2011a) since the rapidly development (Wei et al., 2010a; Shan et al., 2010). The information collected by the nodes composes a discrete distribution and most applications will be processing on it, such as traffic controlling, navigation, environment monitoring and so on (Atluri and Zhu, 1998; Belytschko et al., 1996).

Recently, with the great increasing of economy, there are more and more vehicles running on the roads and it has caused some serious problems such as pollution, accidents, traffic jams and so on. Now the Intelligent Transportation System (ITS) has been a hot research issue. Traffic controlling and traffic guidance are the kernel parts in the system. Many researches about traffic controlling have been processed (Smith and Demetsky, 1997; Smith et al., 2002; Clark, 2003).

Traffic flow is a major factor for people understanding the traffic status and the forecasting of traffic flow is one of the most important problems. For avoiding traffic jams, costs and pollution, local authorities should adopt efficient measures to control traffic and it depends on understanding the evolution of traffic flow. A real-time, accurate and efficient forecasting can plays an activities role in traffic controlling. Then people and society will be benefited from it. With the help of traffic flow monitoring, people can get some information about traffic status. Precise representation of traffic flow evolution is beneficial to traffic controlling since it allows them to have more float time to take appropriate precautionary measures. However, these complex dynamics of the evolution are governed by various pertinent physical and biochemical factors (Nath and Patil, 2006).

For the complexity and uncertainty of the evolution, enormous computing cost and time will be consumed. Some intelligence algorithms such as Artificial neural networks (Chau and Cheng, 2002) have been applied for solving these problems but there are some drawbacks. More exactly, the training convergence speed is slow and it is easy to lead a local minimum (Rumelhart et al., 1994). Swarm intelligence is another technique that is developing quickly (Clerc and Kennedy, 2002; Kennedy and Eberhart, 1995). This technique has been applied in some problems and some satisfactory results have been obtained (Chau, 2004a, b). In some other numerical modeling, the physical problem is represented by highly coupled, non-linear Partial differential equations (PDEs) (Zhou et al., 2011; Feng et al., 2012).

Based on the previous researches about sensornets (Gao et al., 2010; Shan et al., 2011b), a wavelet-based model is introduced to forecast the traffic flow in this study. With the collection of previous traffic flow data, the evolution can be represented and the next traffic flow can be forecasted. It is helpful to take efficient measures for reducing jams, costs, pollution and so on. The accuracy and efficiency are shown in the numerical examples.

TRADITIONAL KALMAN FILTER FOR TRAFFIC FLOW FORECASTING

The distribution of observations and evolution of the traffic flow in a region will be considered.

Fig. 1: Observation data with the traditional result

Fig. 2(a-b): Prediction for traffic flow by Kalman filter. (a) Prediction result and (b) Relative error

For precise represent of the traffic flow evolution, some observation data collected in sensornets should be prepared first.

Using some mathematical methods such as polynomial function fitting, nonlinear fitting, least squares estimation, etc., a traffic flow curve can be get quickly and the estimation of future traffic status can also be obtained. Partial differential equations are often related with some complex behavior and many PDE-related models have been applied in presented researches, such as constructing potential field (Qiao et al., 2010; Wei et al., 2010b; Zhou et al., 2010a, b), image segmentation (Zhou and Mu, 2010) and so on. They can be also applied to represent the evolution.

However, the real evolution is complex and it is often driven by lots of factors. In fact these traditional methods can work well few times because the system is not fixed but dynamic. An example of observation data and the traditional result are show in Fig. 1.

As an efficient technique, Kalman filter has been applied in many researches (Julier and Uhlmann, 1997; Van der Merwe, 2003). The main formulas can be denoted by following:

(1)

(2)

(3)

(4)

where, denotes status vector, z(k) denotes observation vector, H(k) denotes observation matrix, A(k+1, k) denotes transition matrix, R(k) denotes system error co-variance matrix, Q(k) denotes observation error co-variance matrix.

Equation 1 means the direct forecasting of real status and Eq. 2 denotes gain calculation. Correction of the forecasting result can be completed by Eq. 3 while Eq. 4 shows the recurrence computation of the system co-variance matrix. Set initial value of parameters. These equations can help to complete the forecasting process.

Figure 2 shows a forecasting result for a given observation data. As shown in the Fig. 2, the error seems a little big and it does less help to traffic controlling. In fact, the maximal relative error is 7.74% and the mean relative error is 1.64%. A part of the result is shown in Table 1.

However, many factors will affect the collected observation data in fact and the noise removal should be processed before the prediction. Wavelet transform and the inverse transform are often used to achieve this purpose.

Table 1: A part of the result obtained by Kalman filter

Fig. 3(a-b): Noise removal for the observation data by wavelet transform. (a) Original observation data and (b) Noise removal

The main formulas are shown as following:

(5)

(6)

Here f denotes original signal and WΨf denotes the wavelet transform. a and b mean the scale factor and shift factor.

With some given threshold, the low-frequency part (noise or other unimportant part) can be removed by the above two equations and a sample has been presented in Fig. 3.

WAVELET-BASED KALMAN FILTER FOR TRAFFIC FLOW FORECASTING

The wavelet will be combined with Kalman filter and the new model will be applied to forecast the traffic flow according to the observation data collected by sensors. The main formulas have been discussed in previous sections and here we give the model as show in following:

Here the system error co-variance R(k) and observation error co-variance Q(k) should be pre-decided.

NUMERICAL EXPERIMENTS

The proposed model will be used to forecast the traffic flow and the evolution can be obtained. Efficiency and applicability of proposed model are illustrated by following steps. First, the same collected observation data (Fig. 2) will be applied to verify the efficiency and accuracy of the model. The result is shown in Fig. 4.

From the results of our experiments, the prediction of proposed model is better than the one obtained by traditional method. In fact, the maximal relative error is 7.16% and the mean relative error is 1.39%. A part of the values has been given in Table 2.

It follows from the numerical results that the presented algorithm is successful in accuracy, convergence speed and insensitivity to initial observation stations.

Table 2: A part of the result obtained by wavelet-based Kalman filter

Fig. 4(a-b): Prediction for traffic flow by Wavelet-based Kalman filter. (a) Prediction result and (b) Relative error

CONCLUSIONS

This study proposed a wavelet-based Kalman filter model for the forecasting of traffic flow in sensornets. The observation data of the traffic flow can be collected by sensornets. The wavelet transform and Kalman filter were combined to achieve the prediction. The maximal of relative errors has been decreased from 7.74 to 7.16% while the mean of relative errors is decreased from 1.64 to 1.39%. The numerical result shows the efficiency and accuracy of proposed model.

ACKNOWLEDGMENTS

The authors would like to thank the editor and referees for their valuable comments and suggestions that help to improve this study. This study is supported in part by Science and Technology Research and Development Program of Qinhuangdao (Program No. 201101A229).

REFERENCES

  • Akyildiz, I.F., T. Melodia and K.R. Chowdhury, 2007. A survey on wireless multimedia sensor networks. Comput. Networks, 51: 921-960.
    CrossRef    


  • Akyildiz, I.F., W. Su, Y. Sankarasubramaniam and E. Cayirci, 2002. Wireless sensor networks: A survey. Comput. Networks, 38: 393-422.
    CrossRef    Direct Link    


  • Atluri, S.N. and T. Zhu, 1998. A new Meshless Local Petrov-Galerkin (MLPG) approach in computational mechanics. Comput. Mech., 22: 117-127.
    CrossRef    Direct Link    


  • Belytschko, T., Y. Krongauz, D. Organ, M. Fleming and P. Krysl, 1996. Meshless methods: An overview and recent developments. Comput. Methods Applied Mech. Eng., 139: 3-47.
    CrossRef    Direct Link    


  • Chau, K.W. and C.T. Cheng, 2002. Real-time prediction of water stage with artificial neural network approach. Lect. Notes Artif. Intell., 2557: 715-715.
    CrossRef    


  • Chau, K.W., 2004. Rainfall-runoff correlation with particle swarm optimization algorithm. Lect. Notes Comput. Sci., 3174: 970-975.
    CrossRef    


  • Chau, K.W., 2004. River stage forecasting with particle swarm optimization. Lect. Notes Comput. Sci., 3029: 1166-1173.
    CrossRef    


  • Clark, S., 2003. Traffic prediction using multivariate nonparametric regression. J. Transp. Eng., 129: 161-168.
    CrossRef    Direct Link    


  • Clerc, M. and J. Kennedy, 2002. The particle Swarm-explosion, stability and convergence in a multidimensional complex space. IEEE Trans. Evol. Comput., 6: 58-73.
    CrossRef    Direct Link    


  • Feng, J., J.Z. Zhang and B. Zhou, 2012. Compact support FDK kernel reconstruction model base on approximate inverse. Math. Problems Eng.,
    CrossRef    


  • Gao, A., W. Wei and X. Xiao, 2010. Multiple hash Sub-chains: Authentication for the hierarchical sensor networks. Inform. Technol. J., 9: 740-748.
    CrossRef    


  • Julier, S.J. and J.K. Uhlmann, 1997. A new extension of the kalman filter to nonlinear systems. Proceedings of the 11th International Symposium on Aerospace/Defense Sensing, Simulation and Controls, April 21-24, 1997, Orlando, FL., USA., pp: 1-12.


  • Kennedy, J. and R. Eberhart, 1995. Particle swarm optimization. Proc. IEEE Int. Conf. Neural Networks, 4: 1942-1948.
    CrossRef    Direct Link    


  • Nath, S. and R.S. Patil, 2006. Prediction of air pollution concentration using an in situ real time mixing height model. Atmos. Environ., 40: 3816-3822.
    CrossRef    


  • Qiao, B.M., B. Zhou, X.L. Yang, W. Wei and R. Liu, 2010. Improved DV-HOP localization based on better weighted Least-square method. Inform. Technol. J., 9: 1172-1177.
    CrossRef    Direct Link    


  • Rumelhart, D.E., B. Widrow and M.A. Lehr, 1994. The basic ideas in neural networks. Commun. ACM, 37: 87-92.
    Direct Link    


  • Shan, L.Q., W. Wei and Y. Liu, 2010. Customizable WEB UI of based on templates Inform. Technol. J., 9: 1677-1681.
    CrossRef    Direct Link    


  • Shan, L., J. Wang, Y. Zhao and Y. Liu, 2011. Synchronous aggregation scheduling with minimal latency in multihop sensornet. Inf. Technol. J., 10: 1626-1631.
    CrossRef    


  • Shan, L., Y. Liu and W. Wei, 2011. GRESS: Based on gradient and residual energy of sleep scheduling in the distributed sensor networks. Res. J. Inform. Technol., 3: 132-139.
    CrossRef    Direct Link    


  • Smith, B.L. and M.J. Demetsky, 1997. Traffic flow forecasting: Comparison of modeling approaches. J. Transp. Eng., 123: 261-266.
    CrossRef    Direct Link    


  • Smith, B.L., B.M. Willians and R.K. Oswald, 2002. Comparison of parametric and nonparametric models for traffic flow forecasting. Transp. Res. Part C: Emerging Technol., 10: 303-321.
    CrossRef    Direct Link    


  • Van der Merwe, R., 2003. Sigma-point kalman filters for probabilistic inference in Dynamic-state space models. Proceedings of the Workshop on Advances in Machine Learning, June 8-11, 2003, Montreal, Canada -.


  • Wei, W., A. Gao, B. Zhou and Y. Mei, 2010. Scheduling adjustment of mac protocols on cross layer for sensornets. Inform. Technol. J., 9: 1196-1201.
    CrossRef    Direct Link    


  • Wei, W., B. Zhou, A. Gao and Y. Mei, 2010. A new approximation to information fields in sensor nets. Inform. Technol. J., 9: 1415-1420.
    CrossRef    Direct Link    


  • Zhou, B. and C.L. Mu, 2010. Level set evolution for boundary extraction based on a p-laplace equation. Applied Math. Modell., 34: 3910-3916.
    CrossRef    


  • Zhou, B., X.L. Yang and W. Wei, 2010. Constructing smoothing information potential fields with partial differential equations. Inform. Technol. J., 9: 1426-1430.
    CrossRef    Direct Link    


  • Zhou, B., X.L. Yang, R. Liu and W. Wei, 2010. Image segmentation with partial differential equations. Inform. Technol. J., 9: 1049-1052.
    CrossRef    Direct Link    


  • Zhou, B., C.L. Mu, J. Feng and W. Wei, 2011. Continuous level anisotropic diffusion for noise removal. Applied Math. Modell., (In Press).
    CrossRef    

  • © Science Alert. All Rights Reserved