Next Article in Journal
Generative vs. Discriminative Recognition Models for Off-Line Arabic Handwriting
Previous Article in Journal
A Hypergraph-Based Blockchain Model and Application in Internet of Things-Enabled Smart Homes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

RFID Data-Driven Vehicle Speed Prediction via Adaptive Extended Kalman Filter

College of Information Engineering, Zhejiang University of Technology, Hangzhou 310023, China
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(9), 2787; https://doi.org/10.3390/s18092787
Submission received: 26 July 2018 / Revised: 18 August 2018 / Accepted: 21 August 2018 / Published: 24 August 2018
(This article belongs to the Section Sensor Networks)

Abstract

:
The traditional speed prediction generally utilizes the Global Position System (GPS) and video images, and thus, the prediction precision mainly depends on environmental factors (i.e., weather, ionosphere, troposphere, air, and electromagnetic waves). We study the Radio Frequency Identification (RFID) data-driven vehicle speed prediction and proposed an improved extended kalman filter (i.e., the adaptive extended kalman filter, AEKF) algorithm. Firstly, the on-board RFID reader equipped in the vehicle reads the information (i.e., current speed and time) from the tag deployed on the road. Secondly, the received information is transmitted to the on-board information processing unit, and it is demodulated and decoded into available information. Finally, based on the vehicle state space model, the AEKF algorithm is proposed to predict vehicle speed and improve the prediction results, so that the vehicle speed gradually approaches the actual vehicle speed. The simulation results show that compared with the conventional extended kalman filter (EKF) algorithm, our proposed AEKF algorithm improves the dynamic performance of the filtering and better suppresses the filtering divergence process. Moreover, the AEKF algorithm also improves the precision of the Mean Square Error (MSE) and Mean Absolute Error (MAE) by 57.4% and 32.4%, respectively.

1. Introduction

With the rapid development of social economy, urban road traffic jams and traffic accidents have become more and more common, and the traffic environment has become worse and worse [1,2]. To cope with these traffic problems, the concept of Intelligent Transportation System (ITS) has been proposed as a type of cutting-edge technology to improve the utilization of public transportation resources [3,4]. ITS is endowed with real-time monitoring, ubiquitous sensing, universal connectivity, intelligent information processing, and control [5,6,7]. To efficiently utilize the road resources and improve the driving safety, the vehicle speed predication is considered to be a promising research topic in the ITS [8,9,10]. Obviously, vehicle speed prediction can assist the drivers in adjusting their vehicle speed by referring to the speed of neighboring vehicles. Also, vehicle speed prediction can reduce the probability of various types of traffic accidents and improve the poor traffic environment. Therefore, it is of practical importance to accurately predict the speed of vehicles.
At present, road traffic speed prediction is mainly based on the geographic information from the Global Position System (GPS). GPS technology has been frequently applied to ITS with the implementation of Floating Car Data (FCD) [11]. In reference [12], Thiagarajan et al. proposed a Hidden-Markov-Model (HMM)-based map matching scheme that interpolates sparse data to identify the most probable road segments driven by the user. The OCTOTelematics system proposed in reference [13] used the real-time GPS data uploaded by 60,000 private vehicles to predict the real-time traffic speed based on the artificial network model and pattern matching model for Italian highways and major arterial roads in major citiesreference reference [14], Jenelius et al. segmented a road, calculated the most likely travelling time for each section based on the information of the driving trajectory of the floating car and finally, estimated the route travelling time. In reference [15], Zhang et al. established a K-Nearest Neighbor (KNN)-based short-term urban expressway traffic forecasting system from three aspects (i.e., historical database, search mechanism and algorithm parameters, prediction scheme). In [16], Gong et al. proposed a short-term traffic volume forecasting model based on Support Vector Regression (SVR), in which the traffic volumes in previous time periods were considered to be the input, and the traffic volume at the current time period was considered to be the output. Although the accuracy of speed measurement using GPS data is increasing, it still cannot change its own limitations. For example, GPS signals are blocked by obstacles when vehicles are driven to tunnels or overpasses, and they are also susceptible to environmental factors, such as under heavy tree canopies and in dense urban areas. Also, it is difficult to use GPS signals to predict the speed of neighboring vehicles via wireless communications due to the Doppler effect [17]. On the contrary, RFID tags are not affected by these environmental conditions, since RFID tags are generally waterproof, magnetically resistant, and resistant to high temperatures. To overcome the disadvantages of GPS signals, RFID technology can, therefore, be applied to vehicle speed prediction in the tunnel or under the overpass where the road surfaces can be prevented from significant abuse. In the literature, RFID technology has been used to predict vehicle speed [18,19]. For example, Algindy et al. proposed an average speed calculation method which calculates the vehicle speed by measuring the time required for a vehicle to pass two consecutive road markers deployed over a given distance [18]. In [19], Huo et al. proposed the weighted least squares method with a sliding window of 3 to calculate the weight of the velocity model and then estimated the vehicle speed. Although most efforts have been spent, the RFID data-driven vehicle speed prediction suffers low precision. To improve the prediction precision, we use the Kalman filter theory in this paper.
In terms of filtering algorithms, the Kalman filter is an algorithm that makes optimal use of imprecise data in a linear system with noises to continuously update the best estimate of the system’s current state [20]. In [21], Wu et al. developed a real-time object localization and tracking strategy based on the dynamic Kalman model for monocular image sequences in Unmanned Aerial Vehicle (UAV) navigation. In [22], Chen et al. proposed a Cubature Kalman-Extended target Probability Hypothesis Densit (CK-EPHD) filter to track targets in to non-linear Gaussian systems by combining the Cubature Kalman filter (CKF) with the Gaussian Mixtur-Extended target Probability Hypothesis Density (GM-EPHD) filter. In reference [23], Chen et al. proposed an Extended Kalman Filter (EKF)-based State Of Charge (SOC) estimation algorithm to estimate the charging states of batteries equipped in electric drive vehicles. In reference [24], Xia et al. proposed an adaptive fading Kalman filter algorithm for state estimationreference reference [25], Li et al. proposed a model-free method based on an adaptive Kalman filter to accomplish path tracking for a continuum robot. In reference [26], Chopin et al. proposed the Sequential Monte Carlo2 (SMC2) algorithm which propagates and resamples many particle filters in the x-dimension. In reference [27], Martino et al. designed an interacting parallel sequential Monte Carlo scheme for inference in state space models and online model selection.
This work aims to predict the current vehicle speed of the previous vehicle based on the speed information stored in the RFID tag. Therefore, we propose an RFID data-driven vehicle speed prediction algorithm based on adaptive extended kalman filter. The main contributions of this paper are summarized as follows:
  • We propose an RFID-based vehicle speed predication system, in which the current vehicle can obtain the speed information of the previous vehicle via communication between the RFID tag and RFID reader.
  • We design an improved EKF algorithm (e.g., AEKF) to improve the accuracy of vehicle speed prediction by combining the adaptive forgetting factor and the EKF algorithm.
  • We design three vehicle speed models to simulate the driving environment. Meanwhile, we introduce two evaluation indicators (i.e., MSE and MAE) to better evaluate the vehicle speed prediction error.
  • Extensive simulations are conducted to evaluate the advantages of the AEKF algorithm. The results show that the AEKF algorithm has less error than the conventional EKF algorithm in vehicle speed prediction.
The rest of this paper is organized as follows. In Section 2, we present the system model in detail. In Section 3, we provide some simulations to show that the effectiveness of our proposed road speed prediction. Finally, we summarize this paper in Section 4.

2. System Model

We considered a system model that mainly includes three parts: RFID tag deployment subsystem, information acquisition subsystem, and speed prediction subsystem. The system model is shown in Figure 1, and we firstly illustrate the RFID tag deployment subsystem in the next subsection.

2.1. RFID Tag Deployment Subsystem

The RFID tag deployment subsystem shown in Figure 1 consists of a RFID tag deployed on the road and an antenna in a vehicle reader. We next explain it in detail.
First of all, RFID tags were divided into three types (i.e., passive, active, and semi-passive tags) depending on whether or not the internal power supply is equipped. For RFID deployment into roads, we used passive RFID tags which have the advantages of small size, light weight, low cost, long life, and long maintenance period. Meanwhile, the passive tags supported Tag Talks First (TTF). The RFID tag was deployed on the lane center line and adopted an equidistant deployment strategy. The vehicle speed corresponded to the dashboard speed obtained with the inertial sensors equipped in the vehicle. The RFID tag was only used to store vehicle status information (e.g., the vehicle’s current speed and the current time). In addition, considering the limitations of the storage capacity of the RFID tag, the tag only stored the latest vehicle status information.
Secondly, in terms of vehicle reader, the reader was installed in the center of the front bumper of the vehicle, and the antenna of the reader was at an angle to the horizontal plane to ensure that the tag could be identified. A reader’s reading range depends on many physical and geometric parameters. The specific equation is as follows [28]:
P RX , tag = P TX , reader T b G reader G tag λ 4 π r 2
P RX , reader = P TX , reader T b G reader 2 G tag 2 λ 4 π r 4
Here, P RX , tag denotes the received power of the RFID tag, P RX , reader denotes the reader’s received power, P TX , reader denotes the transmitted power of the reader, T b denotes the backscattered transmission loss, G reader denotes the reader’s transmitted antenna gain, G tag denotes the gain of the tag antenna, r denotes the distance between the RFID tag and the reader, and λ denotes the wavelength.
According to Equation (1) and Equation (2), the reading range is mainly affected by the reader transmit power and the antenna installation angle. In reference [29], Chon et al. pointed out that the RFID reader’s antenna center was used as a fixed point, and the conical region with a radiation angle of 68 was used as the read/write area of the reader. On the basis of this, a corresponding calculation method of the readability of the reader antenna in the road surface area is given in Figure 2. Here, we have the length and the width of the reading area (denoted by X 1 and X 2 , respectively), such that
X 1 = 2 × h × tan 34
X 2 = h tan ( 56 + θ ) + h tan ( 56 θ ) ,
where θ ( 56 < θ < 56 ) denotes the angle between the antenna and the horizontal direction, and h denotes the height between the center of the RFID reader antenna and the road surface. For example, when θ = 45 and h = 37.5 cm, we can calculate the values of X 1 and X 2 as 58.58 cm and 185.63 cm, respectively.
Considering that the tags are too densely paved, readers in RFID systems may experience tag information collisions (i.e., reading two or more tags’ information at the same time). In order to solve this problem effectively, it is necessary to ensure that the distance between the tag and the tag is sufficiently large. Therefore, the design criteria of our road system are explained as follows:
  • The read area of each RFID reader should cover no more than one tag at any moment.
  • Each RFID tag should be covered by no more than one RFID reader’s read area at any moment.
  • The premise that the vehicle can read the tags deployed in the lane is that the vehicle is in the lane.
  • If a vehicle can read a tag, at least half of its body should be in the lane where the tag is deployed.
  • If less than half of a vehicle is in a lane, the vehicle cannot read any tags’ information in the lane.
  • We set θ = 45 and h = 37.5 cm, and thus, the distance between tags should be at least 185.63 cm.
After illustrating the RFID tag deployment subsystem, we illustrate the information acquisition subsystem in the next subsection.

2.2. Information Acquisition Subsystem

The information acquisition subsystem exists in the reader. The RFID tag information is received by the reader antenna, then sent to the information processing unit and demodulated and decoded into usable information.
Specifically, the reader Radio Frequency (RF) antenna emits electromagnetic waves of a certain frequency and forms an effective reading area around the bumper of the vehicle. As the vehicle travels, the RFID tags enter the reading area, and the tags begin to gain energy due to the inductive coupling between the reader and the tags. The built-in rectification circuit of the tag rectifies and smooth the energy to generate a direct voltage. When the direct voltage reaches the required operating voltage of the circuit, the circuit in the tag is activated. Firstly, the tag can transmit the information to the reader in a load-modulated manner. After receiving the modulation signal, the reader antenna sends the modulation information to the information processing unit and then demodulates and decodes it into usable information. In addition, when the antenna receives the signal, the dashboard speed obtained via the inertial sensors equipped in the vehicle should be sent to the RFID tag via the RFID reader. In addition, the current state information of the vehicle will be transmitted to the reader antenna after being coded and modulated by the information processing unit. Afterwards, the antenna is written to the tag via the 24-bit EPC (Electronic Product Code) code to replace the original status information in the tag.
Considering that the time between passing two tags is very short when the vehicle is driving at a high speed, and the speed usually gradually changes in different environments (i.e., tunnel), we only needed to collect the historical information of the vehicle speed to predict a vehicle’s speed. In this paper, we describe the state equation and observation equation of the vehicle speed in our system model as follows:
x k + 1 = f ( x k ) + W k
z k = h ( x k ) + V k
where x k denotes the state vector of the system, and z k denotes the noisy observation vector of the system. The random variables W k and V k denote the process noise and measurement noise, respectively. We assume that W k and V k are white noises that are independent of each other and with a Gaussian distribution:
W k N ( 0 , Q k )
V k N ( 0 , R k )
where Q k denotes the process noise covariance, and R k denotes the measurement noise covariance.
In the next subsection, we focus on illustrating the speed prediction subsystem.

2.3. Speed Prediction Subsystem

The speed prediction subsystem is based on RFID data and integrated with the vehicle speed state space model. It adopts the AEKF algorithm to realize the vehicle speed prediction. The AEKF algorithm is mainly divided into four parts: linearization, time update process, measurement update process, and adaptive forgetting factor. In the following text, we present the details of the AEKF algorithm, in which the key ideas come from the conventional EKF algorithm.
  • Linearization
The AEKF algorithm transforms nonlinear problems into linear problems by linearization. In Taylor’s expansion, we can perform second-order truncation, and even third-order truncation and fourth-order truncation. On the one hand, doing this can reduce the estimation error caused by linearization and slightly improves the estimation accuracy. On the other hand, this greatly increases the number of iterations of data, and it is difficult to implement online. The details of Taylor’s expansion are as follows:
f ( x k ) = f ( x ^ k ) + ϕ k + 1 | k ( x k x ^ k ) + Δ t 1
ϕ k + 1 | k = δ f ( x ^ k ) δ x ^ k
h ( x k ) = h ( x ^ k ) + H k ( x k x ^ k ) + Δ t 2
H k = δ h ( x ^ k ) δ x ^ k
where ϕ k + 1 | k denotes the system state transition matrix which relates the state at the previous time step k to the state at the current step k + 1 . In addition, H k denotes the observation matrix which relates the state to the measurement ( z k ). Δ t 1 and Δ t 2 are infinitesimal above the first order. Ignoring higher-order infinitesimals, substituting Equation (9) into Equation (5) and substituting Equation (11) into Equation (6) gives
x k + 1 = f ( x ^ k ) + ϕ k + 1 | k ( x k x ^ k ) + W k
z k = h ( x ^ k ) + H k ( x k x ^ k ) + V k
  • Time Update Process
The time update process firstly obtains the a priori estimate of the next time step based on the current state. Then the a priori error covariance is calculated with the adaptive forgetting factor ( μ ). In addition, the time update process can also be thought of as a prediction process.
x ^ k + 1 | k = f ( x ^ k | k )
We defined x ^ k + 1 | k to be our a priori estimate at step k + 1 from the previous prediction, and x ^ k | k to be the a posteriori state estimate at step k. The a priori estimate error covariance matrix ( P k + 1 | k ) is presented in Equation (16):
P k + 1 | k = μ k ϕ k + 1 | k P k | k ϕ k + 1 | k T + Q k + 1
Among them, the adaptive forgetting factor ( μ k ) can increase the weight of the latest data and reduce the weight of historical data. At the same time, μ k also corrects the a priori estimate error covariance ( P k + 1 | k ).
  • Measurement Update Process
The measurement update process is responsible for the correction, i.e., for incorporating a new measurement into the a priori estimate to obtain an improved a posteriori estimate. In addition, the measurement update process can be thought as a correction process.
The posteriori state estimate ( x ^ k + 1 | k + 1 ) is presented in Equation (17):
x ^ k + 1 | k + 1 = x ^ k + 1 | k + K k + 1 z k + 1 h ( x ^ k + 1 | k )
where h ( x ^ k + 1 | k ) denotes a presumption of the pre-measurement value. We hope that the filter can filter out noise that interferes with the actual state, i.e., the estimated state of the filter is closest to the actual state. The closest one can be understood as the smallest two-norm sum of errors between the actual state and the estimated state at step k, which is equivalent to the trace minimum of the covariance matrix, as shown in Equation (18):
min K k + 1 x k + 1 x ^ k + 1 | k + 1 2 2 min K k + 1 t r c o v ( x k + 1 x ^ k + 1 | k + 1 ) = min K k + 1 t r ( P k + 1 | k + 1 )
The a posteriori estimate covariance matrix ( P k + 1 | k + 1 ) is presented in Equation (19):
P k + 1 | k + 1 = c o v ( x k + 1 x ^ k + 1 | k + 1 ) = c o v ( I K k + 1 H k + 1 ) ( x k + 1 x ^ k + 1 | k + 1 ) + K k + 1 R k + 1 K k + 1 T P k + 1 | k ( I H k + 1 T K k + 1 T ) + K k + 1 ( H k + 1 P k + 1 | k H k + 1 T + R k + 1 ) K k + 1 T H k + 1 P k + 1 | k
The above expected value corresponds to minimizing the trajectory of the a posterior estimate covariance matrix. In Equation (20), the trace is minimized when the matrix derivative is zero. Solving Equation (20) yields the optimal Kalman gain ( K k + 1 ), as shown in Equation (21):
δ P k + 1 | k + 1 δ K k + 1 = 2 H k + 1 P k + 1 | k + 1 H k + 1 T K k + 1 T + 2 R k + 1 K k + 1 T ( P k + 1 | k H k + 1 T ) T H k + 1 P k + 1 | k T = 0
K k + 1 = P k + 1 | k H k + 1 T ( H k + 1 P k + 1 | k T H k + 1 T + R k + 1 ) 1
where P k + 1 | k and H k + 1 P k + 1 | k T H k + 1 T + R k + 1 are symmetric matrices, and the kalman gain ( K k + 1 ) is selected to minimize the a posteriori state estimate by incorporating the measurement. Substituting Equation (21) into Equation (19) in order to simplify P k + 1 | k + 1 gives
P k + 1 | k + 1 = ( I K k + 1 H k + 1 ) P k + 1 | k
  • Adaptive Forgetting Factor
We know that as μ k increases, this eventually leads to x ^ k + 1 | k + 1 getting closer to the observed value (e.g., the dynamic performance of the system increases, and the error also greatly increased). Meanwhile, the value of the adaptive forgetting factor ( μ k ) will change as the system model parameters change, thus ensuring the tracking accuracy of the system model. In addition, the calculation of the adaptive forgetting factor when k > 0 is as follows:
μ k = m a x 1 , α t r ( G k ) t r ( ξ k )
G k = d ( M k H k Q k H k T R k )
e k = z k h ( x ^ k | k 1 )
d = U e k e k T , if e k e k T U 1 , if e k e k T < U
M k = μ k 1 e k e k T 1 + μ k 1
ξ k = H k ϕ k | k 1 P k 1 | k 1 ϕ k | k 1 T H k T
where α ( α > 1 ) denotes a correction coefficient which can coercively improve the tracking performance of the filter, and the value of α depends on the actual situations. U denotes the tolerable maximum error variance, and the smaller the value of U is, the higher the accuracy requirement is. Meanwhile, the value of U depends on the actual situations. e k denotes the residual, which is the difference between the actual measured value and the estimated output value at step k, and e k reflects the tracking ability of the system state. Furthermore, the smaller the value of e k , the stronger the tracking ability is. M k is the covariance matrix of the residual e k . d denotes the weighting factor, which can affect G k and then affect μ k . In Equation (23), μ k depends, to a large extent, on α and G k , and G k is affected by d. Therefore, when the residual exceeds the maximum tolerable error, we must reduce the value of d to ensure the system’s accuracy. When the residual error is no more than the maximum tolerable error, we tend to improve the dynamic characteristics of the system, and we thus set d = 1 . In Equation (27), we can see that M k directly uses the information of the current moment instead of averaging the historical information. In addition, it can reflect the status quo of the system model error at the current moment. G k and ξ k are intermediate variables with no specific physical meaning. Considering that there is an error between the established model and the actual situation, the accumulated error will continue to be accumulated in the filtering calculation process. This causes P k + 1 | k to lose its positive definite symmetry, making the filter’s dynamic tracking performance weak and even causing the filter to diverge. The purpose of introducing the forgetting factor is to limit the memory length of the filter by the forgetting factor, make full use of the latest measurement data, improve the dynamic performance of the system, and improve the tracking effect of the filter. Specifically, it can be seen from Equation (23) to Equation (28) that when the vehicle state is abrupt, the increase of the residual will lead to an increase in the error variance matrix, and the forgetting factor will increase accordingly. In addition, we set the value of μ 0 to 1. When μ k > 1 , this indicates that the system needs to improve the a priori covariance matrix to ensure that the estimated value can track the latest observations. When μ k = 1, it is consistent with the conventional EKF algorithm.
In addition, the complete operation of the AEKF algorithm is described in Figure 3. The adaptive extended kalman filter estimates the process by using a form of feedback control, i.e., the filter obtains feedback while estimating the state of the process. In addition, the design of an RFID data-driven vehicle speed prediction based on an adaptive extended kalman filter is specifically as shown in Algorithm 1:
Algorithm 1. RFID data-driven speed prediction based on the AEKF algorithm.
1:
Initialization: Set k = 0 and initialization variables (i.e., ϕ k + 1 | k , P k + 1 | k , H k + 1 , μ k , α , d)
2:
while the vehicle is driving in the RFID road system do
3:
  Collect the information in the k + 1 RFID tag.
4:
  Calculate ϕ k + 1 | k and H k .
5:
  if k > 0 then
6:
   Calculate x ^ k + 1 | k and e k according to the Equation (15) and Equation (25), respectively.
7:
   if e k e k T < U then
8:
    Set d = 1 .
9:
   else
10:
    Set d = U e k e k T .
11:
   end if
12:
   Calculate G k and ξ k according to the Equations (24) ∼ (28), respectively.
13:
   Calculate μ k according to the Equation (23).
14:
   Calculate P k + 1 | k , x ^ k + 1 | x + 1 , K k + 1 and P k + 1 | k + 1 according to the Equations (16), (17), (21), (22), respectively.
15:
  else
16:
   This information is used as the initial value of the system, and set μ k =0.
17:
  end if
18:
  Set k = k + 1
19:
end while

3. Simulation Analysis

We used MATLAB for simulation experiments. We firstly introduced two evaluation indicators and established three vehicle models to verify the effectiveness of our proposed RFID data-driven vehicle speed prediction.

3.1. Evaluation Indicator Setting

We firstly introduced the MSE as one of the evaluation indicators for vehicle speed tracking prediction to evaluate the degree of change in the vehicle speed. The smaller the value of MSE is, the more accurately a prediction model describes the experimental data. The MSE is defined as follows:
M S E = 1 N k = 1 N X a ( k ) X p ( k ) 2
where N denotes the number of simulations. k denotes the k-th simulation. X a ( k ) denotes the k-th actual value. X p ( k ) denotes the k-th prediction. We then introduced the MAE to better reflect the actual situation of the prediction error. The MAE is defined as follows:
M A E = 1 N k = 1 N | X a ( k ) X p ( k ) |
The parameter definitions were consistent with the MSE.

3.2. Simulation Model Setting

Assuming the vehicle is traveling in the tunnel, we set the initial position of the vehicle to zero. Meanwhile, we also assumed that the length of the tunnel was 4 km. Four hundred and one tags were deployed on the road with a tag spacing of 10 m, and RFID tags were also deployed at the initial position. In addition, the values of Q k and R k were set to 1 and 2, respectively. In addition, we set d and U to 1 and 0.5, respectively. We established three speed models, as follows:
  • Normal model: Vehicle moves with a constant speed at 25 m/s for 30 s, then it decelerates by −0.3 m/s2 for 50 s. After reaching 10 m/s, the vehicle accelerates at 0.4 m/s2 for 50 s. Finally, the vehicle moves with a constant speed of 25 m/s for 30 s.
  • Constant speed model: Vehicle moves with a constant speed at 25 m/s for 100 s.
  • Deceleration model: Vehicle moves with a constant speed at 25 m/s for 4 s, and then it decelerates at −2.5 m/s2.

3.3. Analysis of Simulation Results

First of all, we discussed the effects of different values of the correction coefficient α on the system’s identification accuracy when the vehicle is moving at a constant speed at an initial speed. In addition, we randomly generated Q k and R k that obey a Gaussian distribution and record these. We set the number of iterations to 100 and used the same Q k and R k in each simulation to ensure that α was the only independent variable. We then took the value of α from 1 to 3, and the step size was set to 0.1. The simulation results are shown in Figure 4 and Table 1.
When the system state variable mutates, it quickly accumulates errors and makes the filter’s dynamic tracking performance weaker, and it may even diverge. The adaptive forgetting factor limits the memory length of the filter and makes full use of the latest measurement. At the same time, the correction coefficient ( α ) can increase the adaptive forgetting factor and improve the system’s dynamic performance. In addition, dynamic performance is described as the ability to track observations. As shown in Figure 4, we selected three typical values of α . As the correction coefficient ( α ) increased, the error kept increasing and the predictions became closer and closer to the observations. The reason for is that the introduction of α made the optimal filtering into sub-optimal filtering at the expense of a certain degree of filtering accuracy for better system dynamic performance. As shown in Table 1, it can be seen that as the value of α increases, the rate of increase of MSE increases with the increase of α , and the rate of increase of MAE decreases with the increase of α . In summary, in order to balance the dynamic characteristics and errors of the system, we set the value of α = 2 to 2.
We then applied the EKF algorithm and the AEKF algorithm to the vehicle speed normal model. We divided the normal model into four stages, which are constant speed, deceleration, acceleration, and constant speed in that order. The predicted effects of the EKF and AEKF algorithms are shown in Figure 5. In addition, the error comparison of the two algorithms is shown in Figure 6.
In Figure 5, the lines represent the observation, prediction, and actual value, respectively. The closer the predicted value is to the actual value, the better the prediction effect of the system is. In Figure 5a, the maximum error at the 117th second is 0.8399 m/s. In Figure 5b, the maximum error of 0.5122 m/s occurred at the 123th second. In Figure 6, we can directly see that the filtering accuracy of the AEKF algorithm is higher than the EKF algorithm, which indicates that the AEKF algorithm can better predict the speed of high-speed moving vehicles. We also divided four stages of the normal model for comparison, and the error comparisons of the two algorithms are shown in Table 2.
In Table 2, we can see that the accuracy improvement of the AEKF algorithm relative to the EKF algorithm in the MSE are 61.8%, 57.0%, 51.5%, and 60.6%, respectively. In terms of MAE, the accuracy improvement of the AEKF algorithm relative to the EKF algorithm is 31.4%, 29.3%, 25.5%, and 38.9%, respectively. In general, the AEKF algorithm improves MSE and MAE by 56.3% and 30.1%, respectively, over the EKF algorithm.
We then applied the EKF algorithm and the AEKF algorithm to the constant speed model. The simulation results are shown in Figure 7.
First, constant speed mode is often used when the vehicle is driving on the highway. We can see that velocity predicted value is in the range of 24 to 26 with the EKF algorithm in Figure 7a. Meanwhile, we also can see that the velocity prediction value is in the range of 24.5 to 25.5 with the AEKF algorithm in Figure 7. In addition, an increase in vehicle travelling time (e.g., the number of iterations in each simulation) in constant speed model results in an increase in the error at the same number of simulations, but the increase in accuracy is less affected. In addition, the error comparisons in the constant speed model are shown in Table 3.
The speed prediction effect of the EKF and AEKF algorithms in deceleration model is shown in Figure 8a. Figure 8b shows that the AEKF algorithm achieves a smaller error than the EKF algorithm. In Table 3, the precision improvemenst of the three models are shown to be above 50% and 30%. Among them, the AEKF algorithm has the highest accuracy improvement in the constant speed model. In detail, the AEKF algorithm improved the MSE aspects of the three modes with accuracy levels of 56.3%, 59.6%, and 54.5%, respectively. In addition, the AEKF algorithm improved the MAE aspects of the three modes with accuracy levels of 30.1%, 35.3%, and 30.4%, respectively. Finally, we calculated the average error of the three vehicle speed models and found that the algorithm accuracy increases were 57.4% and 32.4%. Therefore, it is concluded that under the same initial conditions, the AEKF algorithm’s vehicle speed prediction errors are smaller than those of the EKF algorithm.

4. Conclusions

To account for the phenomenon in which GPS signals cannot work normally because of the environment (i.e., tunnel), we proposed an RFID road system based on the AEKF algorithm to predict the speed of high-speed moving vehicles. In Section 3, we firstly discussed the influence of different correction coefficients α on the system under conditions in which the initial conditions were unchanged. We found that with an increase in the correction coefficient ( α ), the dynamic performance of the system greatly improved, but the filtering accuracy was lost. We then compared the AEKF algorithm with the EKF algorithm in three modes. The mean square error and the mean absolute error of the AEKF algorithm were both smaller than those of the EKF algorithm. The AEKF algorithm had a 57.4% and 32.4% lower mean square error and relative absolute error than the EKF algorithm, respetively. At the same time, the system can still quickly and effectively predict the target speed while saving costs, ensuring the safety of the vehicle and reducing the probability of a traffic accident.

Author Contributions

Conceptualization, all co-authors; Methodology, all co-authors; Software, all co-authors; Validation, all co-authors; Formal Analysis, all co-authors; Investigation, all co-authors; Resources, all co-authors; Data Curation, all co-authors; Writing Original Draft Preparation, L.Q., Y.H., A.F.; Writing-Review & Editing, all co-authors; Visualization, all co-authors; Supervision, L.Q., Y.W., W.Z.; Project Administration, L.Q., Y.W., W.Z.; Funding Acquisition, L.Q., Y.W., W.Z.

Funding

This work was supported in part by the National Natural Science Foundation of China under Project 61379122, Project 61572440, and Project 61502428, and in part by the Zhejiang Provincial Natural Science Foundation of China under Project LR16F010003, LY17F010013, and Project LR17F010002.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Qian, L.P.; Wu, Y.; Zhou, H.; Shen, X.S. Non-orthogonal multiple access vehicular small cell networks: Architecture and solution. IEEE Netw. 2017, 31, 15–21. [Google Scholar] [CrossRef]
  2. Bi, Y.; Zhou, H.; Xu, W.; Shen, X.S.; Zhao, H. An efficient PMIPv6-based handoff scheme for urban vehicular networks. IEEE Trans. Intell. Transp. Syst. 2016, 17, 3613–3628. [Google Scholar] [CrossRef]
  3. Zhou, Z.; Yu, H.; Xu, C.; Zhang, Y.; Mumtaz, S.; Rodriguez, J. Dependable content distribution in d2d-based cooperative vehicular networks: A big data-integrated coalition game approach. IEEE Trans. Intell. Transp. Syst. 2016, 19, 953–964. [Google Scholar] [CrossRef]
  4. Qian, L.P.; Wu, Y.; Zhou, H.; Shen, X.S. Dynamic cell association for non-orthogonal multiple-access V2S networks. IEEE J. Sel. Areas Commun. 2017, 35, 2342–2356. [Google Scholar] [CrossRef]
  5. Zhu, C.; Zhou, H.; Leung, V.C.M.; Wang, K.; Zhang, Y.; Zhang, L. Toward big data in green city. IEEE Commun. Mag. 2017, 55, 14–18. [Google Scholar] [CrossRef]
  6. Wu, Y.; Qian, L.P.; Mao, H.; Yang, X.; Zhou, H.; Tan, X.; Tsang, D.H.K. Non-orthogonal multiple access vehicular small cell networks: Architecture and solution. IEEE Netw. 2018, 32, 84–91. [Google Scholar] [CrossRef]
  7. Qian, L.P.; Wu, Y.; Zhou, H.; Shen, X.S. Joint uplink base station association and power control for small-cell networks with non-orthogonal multiple access. IEEE Trans. Wirel. Commun. 2017, 16, 5567–5582. [Google Scholar] [CrossRef]
  8. Jiang, B.; Fei, Y. Vehicle speed prediction by two-level data driven models in vehicular networks. IEEE Trans. Intell. Transp. Syst. 2017, 18, 1793–1801. [Google Scholar] [CrossRef]
  9. Cebecauer, M.; Jenelius, E.; Burghout, W. Integrated framework for real-time urban network travel time prediction on sparse probe data. IET Intell. Transp. Syst. 2018, 12, 66–74. [Google Scholar] [CrossRef]
  10. Liu, L.; Li, J.; Chen, F.; Ye, J.; Huai, J. Road traffic speed prediction: a probabilistic model fusing multi-source data. IEEE Trans. Knowl. Data Eng. 2018, 30, 1310–1323. [Google Scholar]
  11. Richard, B. Floating car data projects worldwide: A selective review. In Proceeding of the ITS America Annual Meeting, San Antonio, TX, USA, 26–28 April 2004; pp. 192–197. [Google Scholar]
  12. Thiagarajan, A.; Ravindranath, L.; Lacurtsa, K.; Madden, S.; Balakrishnan, H. VTrack: Accurate, energy-aware road traffic delay estimation using mobile phones. In Proceeding of the 7th ACM Conference on Embedded Networked Sensor Systems, Berkeley, CA, USA, 4–6 November 2009; pp. 85–98. [Google Scholar]
  13. Fabritiis, C.; Ragona, R.; Valenti, G. Traffic estimation and prediction based on real time floating car data. In Proceeding of the 2008 11th International IEEE Conference on Intelligent Transportation Systems, Beijing, China, 12–15 October 2008; pp. 197–203. [Google Scholar]
  14. Jenelius, E.; Koutsopoulos, H. Travel time estimation for urban road networks using low frequency probe vehicle data. Transp. Res. Part B Methodol. 2013, 53, 64–81. [Google Scholar] [CrossRef] [Green Version]
  15. Zhang, L.; Rao, Q.; Yang, W.; Zhang, M. An improved K-nearest neighbor model for short-term traffic flow prediction. Procedia-Soc. Behav. Sci. 2013, 96, 653–662. [Google Scholar] [CrossRef]
  16. Gong, J.; Qi, L.; Liu, M.; Chen, X. Forecasting urban traffic flow by SVR. In Proceeding of the 25th Chinese Control and Decision Conference, Guiyang, China, 25–27 May 2013; pp. 981–984. [Google Scholar]
  17. Qian, L.P.; Zhang, Y.J.; Huang, J.; Wu, Y. Demand response management via real-time electricity price control in smart grids. IEEE J. Sel. Areas Commun. 2013, 31, 1268–1280. [Google Scholar] [CrossRef]
  18. Al-Gindy, A.; Tawfik, A.; Sakhi, L.; Mohamad, H.; Mustafa, M. RFID speed monitoring system. In Proceeding of the International Conference on Developments in eSystems Engineering, Abu Dhabi, UAE, 16–18 December 2013; pp. 328–331. [Google Scholar]
  19. Huo, Y.; Lu, Y.; Cheng, W.; Jing, T. Vehicle road distance measurement and maintenance in RFID systems on roads. In Proceeding of the International Conference on Connected Vehicles and Expo, Vienna, Austria, 3–7 November 2014; pp. 30–36. [Google Scholar]
  20. Eom, K.; Lee, S.; Kyung, Y.; Lee, C.; Kim, M.; Jung, K. Improved kalman filter method for measurement noise reduction in multi sensor RFID systems. Sensors 2011, 11, 10266–10282. [Google Scholar] [CrossRef] [PubMed]
  21. Wu, Y.; Sui, Y.; Wang, G. Vision-based real-time aerial object localization and tracking for UAV sensing system. IEEE Access. 2017, 5, 23969–23978. [Google Scholar] [CrossRef]
  22. Chen, J.; Wang, N.; Ma, L.; Xu, B. Extended target probability hypothesis density filter based on cubature Kalman filter. IET Radar Sonar Navig. 2015, 9, 324–332. [Google Scholar] [CrossRef]
  23. Chen, Z.; Fu, Y.; Mi, C. State of charge estimation of lithium-ion batteries in electric drive vehicles using extended kalman eiltering. IEEE Trans. Veh. Tech. 2013, 62, 1020–1030. [Google Scholar] [CrossRef]
  24. Xia, Q.; Rao, M.; Ying, Y.; Shen, X. Adaptive fading kalman filter with an application. Automatica 1994, 30, 1333–1338. [Google Scholar] [CrossRef]
  25. Li, M.; Kang, R.; Branson, D.; Dai, J. Model-free control for continuum robots based on an adaptive kalman filter. IEEE/ASME Trans. Mechatron. 2018, 33, 286–297. [Google Scholar] [CrossRef]
  26. Chopin, N.; Jacob, P.; Papaspiliopoulos, O. SMC2: An Efficient Algorithm for Sequential Analysis of State-Space Models. Royal Stat. Soc. 2013, 75, 397–426. [Google Scholar] [CrossRef]
  27. Martino, L.; Read, J.; Eivira, V.; Louzada, F. Cooperative Parallel Particle Filters for Online Model Selection and Urban Mobility. Digital Signal Process. 2017, 60, 172–185. [Google Scholar] [CrossRef]
  28. Jung, J.; Kim, H.; Lee, H.; Yeom, K.W. An UHF RFID tag with long read range. In Proceeding of the 2009 European Microwave Conference (EuMC), Rome, Rome, Italy, 29 September–1 October 2009; pp. 1113–1116. [Google Scholar]
  29. Chon, H.; Jun, S.; Jung, H.; An, W. Using RFID for accurate positioning. Positioning 2004, 3, 32–39. [Google Scholar] [CrossRef]
Figure 1. The diagram of RFID data-driven vehicle speed prediction system.
Figure 1. The diagram of RFID data-driven vehicle speed prediction system.
Sensors 18 02787 g001
Figure 2. The reading area of RFID reader.
Figure 2. The reading area of RFID reader.
Sensors 18 02787 g002
Figure 3. The operation of the AEKF algorithm.
Figure 3. The operation of the AEKF algorithm.
Sensors 18 02787 g003
Figure 4. Errors with different α values.
Figure 4. Errors with different α values.
Sensors 18 02787 g004
Figure 5. Speed prediction effect in the normal model.
Figure 5. Speed prediction effect in the normal model.
Sensors 18 02787 g005
Figure 6. Speed error effect in the normal model.
Figure 6. Speed error effect in the normal model.
Sensors 18 02787 g006
Figure 7. Speed prediction effect in the constant speed model.
Figure 7. Speed prediction effect in the constant speed model.
Sensors 18 02787 g007
Figure 8. Speed prediction effect in the deceleration model.
Figure 8. Speed prediction effect in the deceleration model.
Sensors 18 02787 g008
Table 1. Comparison with different α values.
Table 1. Comparison with different α values.
α 11.21.41.61.822.22.42.62.83
MSE0.03960.04410.04850.05300.05720.06130.06530.06900.07240.07570.0788
MAE0.15250.16140.17020.17840.18610.19310.19940.20520.21050.21520.2195
Table 2. Algorithmic errors in the normal model.
Table 2. Algorithmic errors in the normal model.
StageEKFAEKFEKF vs AEKF
MSEMAEMSEMAEMSEMAE
10.06080.18330.02320.125761.8%31.4%
20.08280.21140.03560.149457.0%29.3%
30.08620.22470.04180.167351.5%25.5%
40.06090.20170.02400.123360.6%38.9%
Total0.07560.20840.03300.145756.3%30.1%
Table 3. Algorithmic errors in the vehicle speed model.
Table 3. Algorithmic errors in the vehicle speed model.
StageEKFAEKFEKF vs AEKF
MSEMAEMSEMAEMSEMAE
Normal model0.07560.20840.03300.145756.3%30.1%
Constant speed model0.17460.32690.07050.211559.6%35.3%
Deceleration model0.10850.24890.04930.173254.5%30.4%
Average0.11960.26140.05090.176857.4%32.4%

Share and Cite

MDPI and ACS Style

Huang, Y.; Qian, L.; Feng, A.; Wu, Y.; Zhu, W. RFID Data-Driven Vehicle Speed Prediction via Adaptive Extended Kalman Filter. Sensors 2018, 18, 2787. https://doi.org/10.3390/s18092787

AMA Style

Huang Y, Qian L, Feng A, Wu Y, Zhu W. RFID Data-Driven Vehicle Speed Prediction via Adaptive Extended Kalman Filter. Sensors. 2018; 18(9):2787. https://doi.org/10.3390/s18092787

Chicago/Turabian Style

Huang, Yupin, Liping Qian, Anqi Feng, Yuan Wu, and Wei Zhu. 2018. "RFID Data-Driven Vehicle Speed Prediction via Adaptive Extended Kalman Filter" Sensors 18, no. 9: 2787. https://doi.org/10.3390/s18092787

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop