Next Article in Journal
Design of a New Ultracompact Resonant Plasmonic Multi-Analyte Label-Free Biosensing Platform
Previous Article in Journal
Energy-Based Metrics for Arthroscopic Skills Assessment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An RFID Indoor Positioning Algorithm Based on Bayesian Probability and K-Nearest Neighbor

1
School of Computer Science, Nanjing University of Posts and Telecommunications, Nanjing 210023, China
2
Jiangsu High Technology Research Key Laboratory for Wireless Sensor Networks, Nanjing 210003, China
3
Department of Electrical and Computer Engineering, New Jersey Institute of Technology, Newark, NJ 07102, USA
*
Author to whom correspondence should be addressed.
Submission received: 15 June 2017 / Revised: 23 July 2017 / Accepted: 1 August 2017 / Published: 5 August 2017
(This article belongs to the Section Sensor Networks)

Abstract

:
The Global Positioning System (GPS) is widely used in outdoor environmental positioning. However, GPS cannot support indoor positioning because there is no signal for positioning in an indoor environment. Nowadays, there are many situations which require indoor positioning, such as searching for a book in a library, looking for luggage in an airport, emergence navigation for fire alarms, robot location, etc. Many technologies, such as ultrasonic, sensors, Bluetooth, WiFi, magnetic field, Radio Frequency Identification (RFID), etc., are used to perform indoor positioning. Compared with other technologies, RFID used in indoor positioning is more cost and energy efficient. The Traditional RFID indoor positioning algorithm LANDMARC utilizes a Received Signal Strength (RSS) indicator to track objects. However, the RSS value is easily affected by environmental noise and other interference. In this paper, our purpose is to reduce the location fluctuation and error caused by multipath and environmental interference in LANDMARC. We propose a novel indoor positioning algorithm based on Bayesian probability and K-Nearest Neighbor (BKNN). The experimental results show that the Gaussian filter can filter some abnormal RSS values. The proposed BKNN algorithm has the smallest location error compared with the Gaussian-based algorithm, LANDMARC and an improved KNN algorithm. The average error in location estimation is about 15 cm using our method.

1. Introduction

Location-based services (LBS) are provided by a number of commercial companies, and it improves user satisfaction and offers convenience. Many LBS applications need to know the detailed location of objects. Over the years, many systems have supported automatic positioning, such as the Global Positioning System (GPS), widely used in outdoor environments all over the world. However, GPS cannot support indoor positioning because there is no signal inside buildings. In order to meet the requirements for inside buildings, many indoor positioning technologies are proposed by researchers. Ultrasonic [1], sensor [2], Bluetooth [3], WiFi [4] and magnetic field [5] technologies are used to perform indoor positioning.
Yayan Ugur et al. proposed an ultrasonic based indoor positioning system [6], which uses only ultrasonic signals and calculates the position of the mobile platform with centimeter-level accuracy. The transmitters are at fixed known positions and the time difference of arrival (TDOA) of the receiver, which is embedded on the mobile unit, is calculated to get the mobile unit’s position. The system is cost effective because it uses the existing Local Area Network of the building.
Deng Zhi-An et al. proposed a novel position transition detection algorithm [7], which allows the user heading estimation to be pervasive and suitable for daily use and for indoor pedestrian navigation using the built-in inertial sensors on a smartphone. It can be used to avoid the confusion between position transition and user turn during pedestrian walking. The results show that the proposed approach can automatically detect carrying positions with high accuracy.
Li Honggui proves that the nonlinear least square method is suitable for parameter estimation of Bluetooth signal propagation and provides the theoretical details for 3D indoor position with a Bluetooth device [8]. The results of simulation and hardware experiments show that the average of absolute precision of location estimation is at meter level.
Han-Sol Kim et al. proposed an indoor positioning system [9] with a particle filter system where the weights of particles are updated by multiple magnetic sensors and three magnetic field maps: a horizontal intensity map, a vertical intensity map and a direction information map. The system integrates magnetic field map navigation and an encoder system. The results show that the estimated position of the proposed system is more accurate than that of previous systems.
Nascimento Hitalo J.B. et al. proposed a positioning algorithm [10] based on Bayes inference to locate objects in 3D WLAN indoor environments. This is a fingerprint technique and the average positioning error is about three meters.
With the increasing number of mobile robots controlled by a mobile device, Chao Chun-Tang et al. proposed a visual control interface for a mobile robot with a single camera to estimate the 3D position of a target [11]. WiFi is used to transmit the control signal and video from the mobile robot. The presented 3D estimation method is based on triangulation.
Radio frequency identification (RFID) [12] is the key technology necessary to realize the Internet of Things (IoT) and cyber-physical systems (CPS), widely used in health monitors [13,14], smart homes [15], smart cities [16], vehicle location [17], construction [18], supply chain management [19] and object tracking [20], etc. RFID has the advantages of low cost, long life, low power consumption and easy deployment, which attracts many researchers to use it in indoor environments [21,22,23]. Compared with ultrasonic, WiFi and Bluetooth, RFID used in indoor positioning is more cost and energy efficient. The typical RFID systems consists of tags, readers and a back-end computer system. There are two types of tags: active and passive, where the active tag has a battery and can send the information at hundreds of meters, and the passive tag depends on the emitted energy of the reader’s antenna instead of using a battery to transmit information. There are four different RFID frequency bands [24]: low frequency (LF)—125~134 kHz, high frequency (HF)—13.56 MHz, ultra-high frequency (UHF)—433~956 MHz and microwave frequency (MF)—2.45 GHz. Ni Lionel M. et al. first used active RFID with the concept of reference tags for indoor location sensing [25], called LANDMARC, and as they used K-nearest reference tags’ coordinates to locate unknown tags, it is also called a K-Nearest Neighbor (KNN) algorithm [26]. Benelli Giuliano et al. uses LF RFID to track different typologies of pebbles on beaches [27]. Mi Jian et al. designed an HF-band RFID system with multiple readers and passive tags for indoor mobile robot self-localization [28]. Own Chung-Ming et al. uses UHF RFID technologies for real-time bus recognition in the Taipei bus station [29], where the active RFID tag on the bus is combined with the infrared receiver. Hsu Chien-Chang et al. proposed a sensor-assisted RFID-based indoor tracking system [23] which uses active RFID technology to identify the location of elderly people living alone. The active RFID system may exhaust much more energy than the passive RFID system. The LF RFID system has a short reading range at centimeter-level and is not suitable for large-scale location usage.
There are two types of Received Signal Strength indicator (RSS, many references also refer to it as RSSI) based indoor positioning algorithms in RFID systems: triangulation and reference tags. The triangulation method uses the geometry of circles, spheres or triangles to determine the locations of the target by estimating distances. The following methods are usually used to estimate the distance in triangulation based position systems: Time of Arrival (TOA) [30] and Angle of Arrival (AOA) [31]. The authors [32] present a novel passive RFID localization algorithm based on elliptical trilateration in smart home environments, where they obtained an average error of 16.08 cm for all objects. The reference tags method first requires the building of a database of known RSS signals of the RFID tags’ locations. It then uses a positioning algorithm to calculate the target tag’s location. In the literature [33], the authors present a maximum intersected tags method to estimate the target’s location. The results show that the location error is about 30~60 cm. Table 1 gives the comparisons of different positioning methods. The COTS reader is a commercial off-the-shelf reader.
Due to the low cost and easy deployment of passive UHF RFID it is a widely used and researched positioning method. Buffi, A. et al. proposed a phase-based technique for localization and tracking of UHF RFID tags moving along a conveyor belt [34], and the numerical results show that a centimeter-level accuracy in the tag position estimation can be achieved even in a rich multipath environment. In order to overcome the limitations of current RFID systems, Guidi, F. et al. proposed the joint adoption of RFID and ultra-wideband (UWB) tag technologies [35,36], which are introduced to reduce the positioning error thanks to the large bandwidth involved. Arnitz D. et al. give a proof of concept for UWB-based ranging in passive UHF RFID [37], which is robust to multipath propagation. UWB RFID will offer high accuracy localization capabilities in next generation RFID systems. However, the UWB RFID is limited in the range of reader-tag communication [38] and it is costly, as the high accuracy localization requires three readers. To overcome such limitations, Guidi, F. et al. investigated the possibility of jointly adopting millimeter-wave (mmW) technology with passive RFID [39], and the results show that the proposed scheme can outperform the UWB one as it requires a lower number of pulses to achieve the same reader-tag distance and consequently a reduced complexity.
LANDMARC [25] is the first method to use reference tags to locate the target, and its positioning accuracy is about 72 cm. The KNN algorithm [25] is a kind of references tag positioning method, mainly used to estimate the location according to the measured RSS compared with the known RSS value recorded in the database. The KNN is widely used and improved in indoor environment positioning. Li D. in literature [40] proposed a feature-scaling-based k-nearest neighbor (FS-kNN) algorithm for achieving improved localization accuracy, while FS-kNN can achieve an average location error as low as 1.70 m in WiFi fingerprint-based indoor positioning systems. An improved KNN algorithm was introduced by Liang X. et al. which is beneficial to location estimation in a real GSM network [41]. In order to meet the demand of localization precision, LANDMARC is improved as well. In order to find the k value which leads to the best accuracy in each environment, an adaptive KNN algorithm is proposed for RFID location systems [42]. Because the multipath effect and the various indoor environments significantly affect the positioning accuracy, the overall accuracy of LANDMARC fluctuates. In order to solve this problem, Liu X. et al. proposed LANDMARC with an improved KNN algorithm for RFID location systems whose location accuracy is increased by 10.1% on average [43].
This paper mainly focuses on the passive UHF RFID-based indoor positioning method. Inspired by the WiFi indoor positioning algorithm [10] and the KNN algorithm [26], and inspired by Sun Y. and Gu F. who use the sparse signal to descript all the information of the original signal with high probability in the literature [44], we propose an RFID indoor positioning algorithm based on Bayesian probability and K-Nearest Neighbor, using a Gaussian filter to filter the abnormal Received Signal Strength (RSS) value and using the proper k value and the Bayesian estimation method to improve the accuracy of the location. Rather than WiFi technology [10] and active RFID technology [25], we use passive UHF RFID technology to perform indoor positioning resulting in a lower location error of about 15 cm. When comparing the proposed algorithm with the traditional LANDMARC algorithm and other related algorithms, the results show that our algorithm performs with a higher location accuracy.
The rest of the paper is organized as follows: In Section 2, we examine the RFID signal characteristic of RSS and phase. Section 3 gives the Bayesian theorem used in our algorithm. In Section 4, an RFID indoor positioning algorithm is proposed where a Gaussian filter is used to filter abnormal RSS values and Bayesian estimation is used to improve positioning accuracy. Section 5 presents the experiments. Finally, Section 6 concludes the paper.

2. RFID Signal Characteristic

In the following, we use the commodity off-the-shelf RFID reader—Impinj R420 RFID reader and EPC Gen2 UHF RFID tags to perform the test for the signal characteristic of RSS and phase.

2.1. RSS

RSS is an important eigenvalue of RFID signals, which can be obtained by the RFID reader reading the RFID tags. Through testing, we found that the RSS value has a linear relationship with the distance between the antenna of the RFID reader and the RFID tags. In Figure 1, we do the test with a continuously increasing distance from 0 to 120 cm by slowly moving an electric toy car equipped with an RFID tag further away, step by step. At the same time, the RFID reader reads the tag and records the RSS value. When the tag is far enough away from the reader’s antenna, the RSS value does not change significantly. From Figure 1, we can see that when the distance is at 120 cm, the RSS value is stable.
In addition, we put the tag approximately 0.6 m in front of the reader’s antenna, as shown in Figure 2. At the same time, we recorded the RSS value. When there are shelters to pass through between the reader and the tag, the RSS value fluctuates greatly, which is shown in Figure 3. Num-Announces are the cumulative sums of numbers of a tag read successfully by the RFID reader, which is normally at a rate of approximately 40 readings per minute. From Figure 3, we can see that the fluctuations are generated when the Num-Announces are about 100, 320, 500 and 715, respectively. This is because we repeatedly put a hand in the space between the reader and the tag, causing interference with the wireless communication which influences the measured RSS.

2.2. Phase

The phase is another important eigenvalue of RFID signals which the RFID reader antenna can read from the tag [45]. Similarly, we place the tag at 0.6 m as shown in Figure 2. At the same time, we record the phase value. As Figure 4 shows, if the distance between the tag and the reader is fixed, the phase value changes from 1.50 to 1.56 and the mean of the phase is 1.53, which is caused by the multipath effect and the various noises in the indoor environment. However, we can consider 1.53 as the phase value in the experiment through simple data processing. We hold the view that this characteristic of phase in a fixed distance belongs to a stable status.
We put the RFID tag in front of the antenna of the RFID reader and kept away from it while we used the RFID reader to read the phase value at the same time. As shown in Figure 5, we found that the phase value has a linear relationship with the distance and is cyclical. In addition, the phase difference [46] of tag sensitivity makes it hard to use passive RFID for large-scale location usage.
Thus, if we use the RFID signal to carry out indoor positioning, we must overcome the noise in indoor environment and the cycle characteristic of the phase. In this paper, we mainly solve the noise problem which influences the location accuracy. In the following, we will use a Gaussian filter to filter abnormal RSS values and use Bayesian estimation with the KNN algorithm to improve positioning accuracy in RFID systems.

3. Bayes Theorem

The formula for conditional probability in statistics is:
P ( A B ) = P ( A ) P ( B | A ) = P ( B ) P ( A | B ) ,
That is, the probability P ( A B ) that event A and event B occur at the same time is equal to the probability P ( A ) that event A occurs multiplied by the probability P ( B | A ) that event B occurs under the probability of the occurrence of event A. Or the probability P ( A B ) is equal to the probability P ( B ) that event B occurs multiplied by the probability P ( A | B ) that event A occurs under the probability of the occurrence of event B. From Equation (1), we can get:
P ( B | A ) = P ( B ) P ( A | B ) P ( A )
Assume that event B is a probability space which is composed of independent events, then P ( A ) can be expanded by the full probability formula:
P ( A ) = P ( A | B 1 ) P ( B 1 ) + P ( A | B 2 ) P ( B 2 ) + + P ( A | B n ) P ( B n )
Thus, the Bayesian formula can be expressed as:
P ( B i | A ) = P ( A | B i ) P ( B i ) P ( A | B 1 ) P ( B 1 ) + P ( A | B 2 ) P ( B 2 ) + + P ( A | B n ) P ( B n )
P ( B i | A ) refers to the posterior probability, but P ( A | B n ) P ( B n ) refers to the prior probability, and P ( B i ) refers to the basis probability. The Bayesian formula also can be expressed as:
P ( B i | A ) = P ( A | B i ) P ( B i ) i = 1 n P ( B i ) P ( A | B i )
Normally, P ( A | B ) is not equal to P ( B | A ) . However, the two have a definite relationship, where Bayesian law is the statement of this relationship. Bayesian law is the relationship of the conditional probability and the marginal probability of random events A and B, which is shown in the following formula:
P ( A | B ) = P ( B | A ) P ( A ) P ( B ) L ( A | B ) P ( A )
Where P ( A | B ) is the possibility of event A occuring in the case of event B having occurred, P ( A ) is the prior probability (also called the marginal probability) of event A which is unaffected by any factor of event B, P ( A | B ) is the conditional probability of event B having already occurred and is also called the posterior probability of event A, P ( B | A ) is the conditional probability of event A having already occurred and is also called the posterior probability of event B, and P ( B ) is the prior probability of event B which is unaffected by any factor of event A. In addition, sometimes P ( B | A ) P ( B ) is also called the standardized likelihood. Then the Bayesian law can be expressed as: Posterior probability = Standardized likelihood × Prior probability.
In summary, the parameters are being estimated as a random variable which is a specific distribution form, and the probability density distribution f ( x | θ ) is transferred as the posterior probability h ( x | θ ) . It first obtains the probability density distribution and then obtains the parameter estimation value through mathematical expectations. The specific steps of the Bayesian estimate are used in our method and listed as follows:
(1)
Confirm the prior distribution π ( θ ) of parameter θ .
(2)
Obtain the joint probability density distribution f ( x | θ ) through joint probability density distribution x = ( x 1 , x 2 , x 3 , , x n ) .
(3)
Obtain the posterior probability h ( x | θ ) of parameter θ .
(4)
Obtain the estimated value θ ^

4. Proposed Positioning Algorithm

The indoor environment is changeable because of the intensity of the population, the random walking behavior of person, the path’s effect and so on. This will make the RSS value of the RFID tag fluctuate around a certain value. The RSS value in the same location can be approximated by the Gaussian probability distribution, and the probability density function can be expressed as the following:
P ( x ) = 1 σ 2 π e ( x μ ) 2 2 σ 2
where x represents the actual RSS value, μ = 1 m i = 1 m R S S I i represents the mean of the RSS value, σ = 1 m 1 i = 1 m ( R S S I i μ ) 2 and σ represents the standard deviation.
In order to overcome the noise in the indoor environment, we used a Gaussian filter to filter the abnormal RSS value and used Bayesian estimation to improve positioning accuracy. The proposed positioning algorithm based on Bayesian probability and KNN (BKNN) has the following three processes: (1) KNN to select k reference tags, (2) the Gaussian filter process and (3) the Bayesian estimation process. The details of algorithm BKNN are as follows:
• KNN
Suppose there are n readers and m reference tags in an RFID systems, and u target tags are need to be positioned. The RSS vector of the target tags is s = ( s 1 , s 2 , s 3 , , s n ) , which indicates the RSS value of the target tags detected by the reader i , i ( 1 , n ) . For the reference tags, the corresponding RSS vector is θ = ( θ 1 , θ 2 , θ 3 , , θ n ) . The Euclidean distance is defined as E j = θ i s i , j ( 1 , m ) , which is based on the target tag and reference tag. The Euclidean distance E is used to measure the proximity of the target tag and the reference tag, that is, while the reference tag is close to the target tag the E value should be smaller. Therefore, when there are m reference tags, the E value of the target tag p and all reference tags should be smaller. Accordingly, the E value vector of the target tag p and all reference tags can be expressed as E = ( E 1 , E 2 , E 3 , , E m ) , and sorted in order from small to large which is recorded as E = ( E 1 , E 2 , E 3 , , E m ) . From this sequence, the k reference tags are selected and the weighted average value is calculated according to the known tag position, and the approximate position of the target tag can be estimated.
• Gaussian Filter Process
In order to make the collected RSS value close to the real value and thus improve the positioning accuracy, we need to filter the fluctuating RSS value which is generated by the probability event or noise interference. Take the RSS collection process as a normal distribution model. When we calculate the RSS, assuming that it is a Gaussian distribution in which μ represents the mean of the RSS value and σ represents the standard deviation. The result of the density function of x is expressed as the following:
f ( x ) = 1 σ 2 π e ( x μ ) 2 2 σ 2
where μ = 1 m i = 1 m R S S I i , σ = 1 m 1 i = 1 m ( R S S I i μ ) 2 , R S S I i is the i-th RSS value, and m is the measurement time. The greater the value of σ is, the better the smoothing effect of the Gaussian filter is. We select the a probability is greater than 0.6 which is in the high probability generation area, that is 0.6 f ( x ) 1 , 0.15 σ + μ x 3.09 σ + μ . This range of RSS values is selected, and then the geometric average is calculated which is regarded as the target tag’s RSS value.
• Bayesian Estimation Process
When calculating the target tag’s coordinate using the LANDMARC algorithm, a different k value will produce a different coordinate. The measurement can be repeated k times. Suppose the measurement is independent, according to Bayesian theory, the prior probability model and the posteriori probability model can be set up. The prior probability model is used to estimate the probability at k time of the target’s probable position at k − 1 time. After that, the posteriori probability model is set up according to the measurement value of the target’s position at k time, and then the final position can be calculated. The details are shown in the following.
Let Z k = { Z i , i = 1 , 2 , 3 , , k } represents the sets of all measured k tags’ coordinates, and Z i is the i-th tag’s measured coordinates. p ( Z k | X k ) is the probability of the unknown tag at X k position under the known set Z k , and p ( Z k | X k ) is also called as posteriori probability; p ( X k | Z k 1 ) is the prior probability which represents the position estimation of unknown tag under the unknown set Z k . Assuming that the measured values are independent of each other, we can get the following formula according to Bayesian formula:
p ( X k | Z k ) p ( Z k | X k ) × p ( X k | Z k 1 )
The proposed Bayesian estimation based positioning algorithm is as follows:
(1)
Determine the prior probability: p ( X k | Z k 1 ) . Suppose X k = ( x , y ) , X k 1 = ( x k 1 , y k 1 ) , we can obtain the following formula:
p ( X k | Z k 1 ) = 1 σ 1 2 π e D 1 2 2 σ 1 2
where D 1 is the distance between X k and X k 1 .
(2)
Determine the posteriori probability: p ( Z k | X k ) , which is shown in the following formula.
p ( Z k | X k ) = 1 σ 2 2 π e ( D 2 Q ) 2 2 σ 2 2
where p ( Z k | X k ) is the probability of the unknown tag at X k position and the measured distance is D 2 , Q represents the distance between the unknown tag and the reader’s antenna, and σ 2 represents the uncertainty variance of the measured distance. In our algorithm, four reference tags around the target tags’ position are selected, where these positions are A ( a 1 , b 1 ) , B ( a 2 , b 2 ) , C ( a 3 , b 3 ) , D ( a 4 , b 4 ) , then we can get the value of D 2 = ( x a i ) 2 + ( y b i ) 2 .
(3)
Calculate the probability distribution function of the unknown tag’s position. According to Formulas (9)–(11), we can calculate the p ( X k | Z k ) which represents the probability distribution function of the target tag’s location. We then get the following formula:
p ( x , y ) = i = 1 4 p i ( X k | Z k ) = C ( 1 σ 1 σ 2 2 π ) 4 e f ( x , y )
where
f ( x , y ) = i = 1 4 f i ( x , y ) = 1 2 i = 1 4 { 1 σ 1 2 [ ( x x k 1 ) 2 + ( y y k 1 ) 2 ] + 1 σ 2 2 ( ( x a i ) 2 + ( y b i ) 2 q i ) 2 }
In Equation (13), q i is the distance between the reference tag and the target tag. The value of ( x , y ) which could make p ( x , y ) to be the maximum value can be regarded as the target position. The exponential function is monotonic, and we can find the ( x , y ) that can make f ( x , y ) has the maximum. The target function f ( x , y ) contains nonlinear factors, we define g i ( x , y ) = ( x a i ) 2 + ( y b i ) 2 and expand the approximate value ( x , y ) with Taylor expansion type, and then we can get the following equation:
{ m i = g i (x,y) x | (x,y) = ( x , y )= x b i ( x a i ) 2 + ( y b i ) 2 n i = g i (x,y) y | (x,y) = ( x , y )= y b i ( x a i ) 2 + ( y b i ) 2 g i = g i ( x , y )= ( x a i ) 2 + ( y b i ) 2 g i (x,y) g i + m i (x x )+ n i (y y )= m i x+ n i y+ g i m i x n i y
Let c i = g i m i x n i y q i , w 1 = 1 σ 1 2 , w 2 = 1 σ 2 2 , we can get the following formula:
f ( x , y ) = i = 1 4 f i ( x , y ) = 1 2 i = 1 4 { w 1 [ ( x x k 1 ) 2 + ( y y k 1 ) 2 ] + w 2 ( m i x + n i y + c i ) 2 }
(4) Calculate the target tag’s position. What makes p ( x , y ) to be the maximum value can be considered as the target tag’s location. Let the first derivative of Equation (15) equals zero, we can get the following equation:
{ (4 w 1 + w 2 i=1 4 m i 2 )x+ w 2 ( i=1 4 n i m i )y+ w 2 i=1 4 c i m i 4 w 1 x k1 =0 w 2 ( i=1 4 n i m i )x+(4 w 1 + w 2 i=1 4 n i 2 )y+ w 2 i=1 4 c i n i 4 w 1 y k1 =0
Then the value of ( x , y ) which is the position of the target tag can be calculated using Equation (16).

5. Experiments and Results

5.1. Experimental Settings

Figure 6 shows the experimental environment. In our experiments, Impinj R420 RFID reader and EPC Gen2 tags are used. The experimental settings are listed in Table 2. In the experiments, the whole test area is 3.6 m × 4.8 m. We placed 117 reference tags positioned in 9 rows by 13 columns in the monitoring area of the RFID reader (Figure 6a shows part of the monitoring area) and 5 target tags which needed to be positioned. The matchboxes were used to bolster tags in the experiments. The detailed experimental settings with every tag space duration distance are shown in Figure 6b, where the squares and triangles represent reference tags and to-be-positioned target tags, respectively.

5.2. Results of the Gaussian Filter for RSS

We collected the 5 tags’ RSS values using the R420 RFID reader, Figure 7 shows the results of the RSS values where we can see that there are many fluctuations. The Gaussian filter is used to process these abnormal data, Figure 8 shows the results of the filtered RSS value. We can see that the RSS values processed by the Gaussian filter are stable to some extent and there are no large fluctuations.

5.3. Results of the Average Location Error

Firstly, we selected the original data obtained from the RFID reader and used the LANDMARC algorithm to position unknown tags. Then the average location error was compared among the LANDMARC algorithm [25], the IKNN algorithm [43], the Gaussian-based algorithm and our BKNN algorithm. In the experiments, 4 reference tags are selected to locate target. We performed 10 timed tests, and each test took about 20 min. So the sum of Num-Announces of each selected reference tag was about 8000, and all of those RSS values were collected and used by positioning algorithms to estimate the 5 target tags. Figure 9 shows the results of the average location error among the compared algorithms. We can see that the location error of the Gaussian-based algorithm is less than that of the LANDMARC and IKNN algorithm, this is because some abnormal RSS values can be filtered by the Gaussian filter. The average error of the BKNN location estimation is about 15 cm, which is the smallest among the compared algorithms. This is because our BKNN uses the proper k value and processed RSS values which can remove abnormal location data, and uses Bayesian probability to estimate the target tag’s location which can predict the exact location data. Thus, BKNN reduces the location error and has a much higher location accuracy than that of other compared algorithms. According to literature [43], the tag space between the two reference tags is 1 m, but the average error of location estimation is about 85 cm, while the average error of our algorithm is about 15 cm when the tag space is 40 cm. Though we use more reference tags, the accuracy is improved, which has significant implications for practical indoor positioning algorithms. In low cost RFID-based indoor positioning environments, the average accuracy of the location estimation of our algorithm is also very effective and suitable for use in indoor location based services, i.e., book searching in the library, locating patients in a hospital, finding people trapped in a burning building, finding an individual’s luggage without removing it from the vehicle or the aircraft in an airport and reminding passengers of flights and boarding gates so that they do not miss their flights or delay departures.

5.4. Comparisons of BKNN with Different Positioning Methods

In this section, for precision, cost, time consumption, energy consumption, etc., we compare BKNN with other positioning methods, such as LANDMARC [25], fingerprint-based [33], phase-based [34] and IKNN [43]. Table 3 shows the results of the comparisons. As passive UHF RFID was used, the cost and energy consumption is low in our BKNN algorithm. All the compared algorithms use the COTS RFID reader which can easily be implemented in current RFID systems, and because the abnormal data is filtered before calculating the final location, the time consumption is lower than that of the IKNN and LANDMARC algorithms.

6. Conclusions

This paper has presented an indoor positioning method using passive UHF RFID. However, there are two problems that passive RFID encounters when used in an indoor location. The first problem is that the RSS value of RFID is easily affected by the surrounding dynamic environment. The second problem is the phase value is cyclical and the phase difference is tag sensitive, which makes UHF RFID difficult to use in large-scale locations. In this paper, we mainly solve the noise problem which influences the location accuracy. A Gaussian filter is used to filter abnormal RSS values and Bayesian estimation together with the KNN algorithm are used to improve positioning accuracy. In the experiments, 4 reference tags are selected to locate target. The average location error of our algorithm is about 15 cm, which is the smallest among the compared algorithms. Because the positioning accuracy has a relationship with the collected RSS values of reference tags, how to deploy the optimized placement of readers and reference tags will be studied in our future work.

Acknowledgments

The authors thank all the reviewers and editors for their valuable comments and work. This work is financially supported by Jiangsu Government Scholarship for Overseas Studies, the National Natural Science Foundation of P. R. China (No.: 61373017, No.: 61572260, No.: 61572261, No.: 61672296, No.: 61602261), the Natural Science Foundation of Jiangsu Province (No.: BK20140886, No.: BK20140888), Jiangsu Natural Science Foundation for Excellent Young Scholars (BK20160089), Scientific & Technological Support Project of Jiangsu Province (No.: BE2015702, BE2016185, No.: BE2016777), China Postdoctoral Science Foundation (No.: 2014M551636, No.: 2014M561696), Jiangsu Planned Projects for Postdoctoral Research Funds (No.: 1302090B, No.: 1401005B), Postgraduate Research and Practice Innovation Program of Jiangsu Province (SJLX16_0326, KYCX17_0798), Project of Jiangsu High Technology Research Key Laboratory for Wireless Sensor Networks (WSNLBZY201509) and NUPTSF (Grant No.: NY214060, No. NY214061).

Author Contributions

He Xu and Ye Ding conceived and designed the experiments, and wrote the paper; Peng Li performed the experiments and analyzed the data; Ruchuan Wang contributed RFID devices and guided their use. Yizhu Li helped with language modification. All authors contributed to the final version.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ijaz, F.; Yang, H.K.; Ahmad, A.W.; Lee, C. Indoor positioning: A review of indoor ultrasonic positioning systems. In Proceedings of the 15th International Conference on Advanced Communication Technology (ICACT), PyeongChang, Korea, 27–30 January 2013; pp. 1146–1150. [Google Scholar]
  2. Gupta, A.; Yilmaz, A. Indoor Positioning using Visual and Inertial Sensors. In Proceedings of the IEEE Sensors, Orlando, FL, USA, 30 October–3 November 2016; pp. 1–3. [Google Scholar]
  3. Bekkelien, A. Bluetooth Indoor Positioning; University of Geneva: Geneva, Switzerland, 2012. [Google Scholar]
  4. Yang, C.; Shao, H.R. WiFi-based indoor positioning. IEEE Commun. Mag. 2015, 53, 150–157. [Google Scholar] [CrossRef]
  5. Blankenbach, J.; Norrdine, A.; Hellmers, H. A robust and precise 3D indoor positioning system for harsh environments. In Proceedings of the 2012 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sydney, Australia, 13–15 November 2012; pp. 1–8. [Google Scholar]
  6. Yayan, U.; Yucel, H.; Yazici, A. A low cost ultrasonic based positioning system for the indoor navigation of mobile robots. J. Intell. Robot. Syst. 2015, 78, 541–552. [Google Scholar] [CrossRef]
  7. Deng, Z.-A.; Wang, G.F.; Hu, Y.; Cui, Y. Carrying Position Independent User Heading Estimation for Indoor Pedestrian Navigation with Smartphones. Sensors 2016, 16, 677. [Google Scholar] [CrossRef] [PubMed]
  8. Li, H. Low-cost 3d bluetooth indoor positioning with least square. Wirel. Pers. Commun. 2014, 78, 1331–1344. [Google Scholar] [CrossRef]
  9. Kim, H.S.; Seo, W.; Baek, K.R. Indoor positioning system using magnetic field map navigation and an encoder system. Sensors 2017, 17, 651. [Google Scholar] [CrossRef] [PubMed]
  10. Nascimento, H.J.; Rodrigues, E.B.; Cavalcanti, F.R.; Paiva, A.R.L. An Algorithm Based on Bayes Inference And K-nearest Neighbor for 3D WLAN Indoor Positioning. In Proceedings of the XXXIV Simposio Brasileiro De Telecomunicacoes (SBRT), Santarem, Brasil, 30 August–2 September 2016; pp. 398–402. [Google Scholar]
  11. Chao, C.T.; Chung, M.H.; Chiou, J.S.; Wang, C.J. A simple interface for 3d position estimation of a mobile robot with single camera. Sensors 2016, 16, 435. [Google Scholar] [CrossRef] [PubMed]
  12. Finkenzeller, K. RFID Handbook: Fundamentals and Applications in Contactless Smart Cards, Radio Frequency Identification and Near-Field Communication; John Wiley & Sons: Hoboken, NJ, USA, 2010. [Google Scholar]
  13. Zhang, J.; Tian, G.Y.; Marindra, A.M.; Sunny, A.I.; Zhao, A.B. A review of passive RFID tag antenna-based sensors and systems for structural health monitoring applications. Sensors 2017, 17, 265. [Google Scholar] [CrossRef] [PubMed]
  14. Martínez Pérez, M.; Vázquez González, G.; Dafonte, C. Evaluation of a Tracking System for Patients and Mixed Intravenous Medication Based on RFID Technology. Sensors 2016, 16, 2031. [Google Scholar] [CrossRef] [PubMed]
  15. Kim, S.C.; Jeong, Y.S.; Park, S.O. RFID-based indoor location tracking to ensure the safety of the elderly in smart home environments. Pers. Ubiquitous Comput. 2013, 17, 1699–1707. [Google Scholar] [CrossRef]
  16. Mora-Mora, H.; Gilart-Iglesias, V.; Gil, D.; Sirvent-Llamas, A. A computational architecture based on RFID sensors for traceability in smart cities. Sensors 2015, 15, 13591–13626. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Prinsloo, J.; Malekian, R. Accurate vehicle location system using RFID, an internet of things approach. Sensors 2016, 16, 825. [Google Scholar] [CrossRef] [PubMed]
  18. Valero, E.; Adán, A.; Cerrada, C. Evolution of RFID applications in construction: A literature review. Sensors 2015, 15, 15988–16008. [Google Scholar] [CrossRef] [PubMed]
  19. Fan, H.; Wu, Q.; Lin, Y.; Zhang, J. A split-path schema-based rfid data storage model in supply chain management. Sensors 2013, 13, 5757–5776. [Google Scholar] [CrossRef] [PubMed]
  20. Chai, J.; Wu, C.; Zhao, C.; Chi, H.L.; Wang, X.; Ling, B.W.K.; Teo, K.L. Reference tag supported RFID tracking using robust support vector regression and Kalman filter. Adv. Eng. Inform. 2017, 32, 1–10. [Google Scholar] [CrossRef]
  21. Song, X.; Li, X.; Tang, W.; Zhang, W.; Li, B. A hybrid positioning strategy for vehicles in a tunnel based on RFID and in-vehicle sensors. Sensors 2014, 14, 23095–23118. [Google Scholar] [CrossRef] [PubMed]
  22. Shen, B.; Zheng, Q.; Li, X.; Xu, L. A framework for mining actionable navigation patterns from in-store RFID datasets via indoor mapping. Sensors 2015, 15, 5344–5375. [Google Scholar] [CrossRef] [PubMed]
  23. Hsu, C.C.; Chen, J.H. A novel sensor-assisted RFID-based indoor tracking system for the elderly living alone. Sensors 2011, 11, 10094–10113. [Google Scholar] [CrossRef] [PubMed]
  24. Domdouzis, K.; Kumar, B.; Anumba, C. Radio-Frequency Identification (RFID) applications: A brief introduction. Adv. Eng. Inform. 2007, 21, 350–355. [Google Scholar] [CrossRef]
  25. Ni, L.M.; Liu, Y.; Lau, Y.C.; Patil, A.P. LANDMARC: Indoor location sensing using active RFID. Wirel. Netw. 2004, 10, 701–710. [Google Scholar] [CrossRef]
  26. Han, S.; Kim, J.; Park, C.H.; Yoon, H.C.; Heo, J. Optimal detection range of RFID tag for RFID-based positioning system using the k-NN algorithm. Sensors 2009, 9, 4543–4558. [Google Scholar] [CrossRef] [PubMed]
  27. Benelli, G.; Bertoni, D.; Sarti, G. An analysis on the use of LF RFID for the tracking of different typologies of pebbles on beaches. In Proceedings of the 2011 IEEE International Conference on RFID-Technologies and Applications (RFID-TA), Sitges, Spain, 15–16 September 2011; pp. 426–431. [Google Scholar]
  28. Mi, J.; Takahashi, Y. Design of an HF-Band RFID System with Multiple Readers and Passive Tags for Indoor Mobile Robot Self-Localization. Sensors 2016, 16, 1200. [Google Scholar] [CrossRef] [PubMed]
  29. Own, C.M.; Lee, D.S.; Wang, T.H.; Wang, D.J.; Ting, Y.L. Performance Evaluation of UHF RFID Technologies for Real-Time Bus Recognition in the Taipei Bus Station. Sensors 2013, 13, 7797–7812. [Google Scholar] [CrossRef] [PubMed]
  30. Xu, C.; Law, C.L. TOA estimator for UWB backscattering RFID system with clutter suppression capability. EURASIP J. Wirel. Commun. Netw. 2010, 753129. [Google Scholar] [CrossRef]
  31. Zhou, J.; Zhang, H.; Mo, L. Two-dimension localization of passive RFID tags using AOA estimation. In Proceedings of the 2011 IEEE Instrumentation and Measurement Technology Conference (I2MTC), Hangzhou, China, 10–12 May 2011; pp. 1–5. [Google Scholar]
  32. Bouchard, K.; Fortin-Simard, D.; Gaboury, S.; Bouchard, B.; Bouzouane, A. Accurate trilateration for passive RFID localization in smart homes. Int. J. Wirel. Inf. Netw. 2014, 21, 32–47. [Google Scholar] [CrossRef]
  33. Soonjun, S.; Boontri, D.; Cherntanomwong, P. A novel approach of RFID based indoor localization using fingerprinting techniques. In Proceedings of the 15th Asia-Pacific Conference on Communications (APCC), Shanghai, China, 8–10 October 2009; pp. 475–478. [Google Scholar]
  34. Buffi, A.; Nepa, P.; Lombardini, F. A phase-based technique for localization of UHF-RFID tags moving on a conveyor belt: Performance analysis and test-case measurements. IEEE Sens. J. 2015, 15, 387–396. [Google Scholar] [CrossRef]
  35. Guidi, F.; Sibille, A.; Roblin, C.; Casadei, V.; Dardari, D. Analysis of UWB tag backscattering and its impact on the detection coverage. IEEE Trans. Antennas Propag. 2014, 62, 4292–4303. [Google Scholar] [CrossRef]
  36. Guidi, F.; Decarli, N.; Bartoletti, S.; Conti, A.; Dardari, D. Detection of multiple tags based on impulsive backscattered signals. IEEE Trans. Commun. 2014, 62, 3918–3930. [Google Scholar] [CrossRef]
  37. Arnitz, D.; Muehlmann, U.; Witrisal, K. UWB ranging in passive UHF RFID: Proof of concept. Electron. Lett. 2010, 46, 1401–1402. [Google Scholar] [CrossRef]
  38. Zhao, C.; Wu, C.; Chai, J.; Wang, X.; Yang, X.; Lee, J.M.; Kim, M.J. Decomposition-based multi-objective firefly algorithm for RFID network planning with uncertainty. Appl. Soft Comput. 2017, 55, 549–564. [Google Scholar] [CrossRef]
  39. Guidi, F.; Decarli, N.; Dardari, D.; Mani, F.; D'Errico, R. Passive Millimeter-Wave RFID using Backscattered Signals. In Proceedings of the 2016 IEEE Globecom Workshops (GC Wkshps), Washington, DC, USA, 4–8 December 2016; pp. 1–6. [Google Scholar]
  40. Li, D.; Zhang, B.; Li, C. A Feature-Scaling-Based k-Nearest Neighbor Algorithm for Indoor Positioning Systems. IEEE Internet Things J. 2016, 3, 590–597. [Google Scholar] [CrossRef]
  41. Liang, X.; Gou, X.; Liu, Y. Fingerprint-based location positioning using improved KNN. In Proceedings of the 3rd IEEE International Conference on Network Infrastructure and Digital Content (IC-NIDC), Beijing, China, 21–23 September 2012; pp. 57–61. [Google Scholar]
  42. Han, K.; Cho, S.H. Advanced LANDMARC with adaptive k-nearest algorithm for RFID location system. In Proceedings of the 2nd IEEE International Conference on Network Infrastructure and Digital Content, Beijing, China, 24–26 September 2010; pp. 595–598. [Google Scholar]
  43. Liu, X.; Wen, M.; Qin, G.; Liu, R. LANDMARC with improved k-nearest algorithm for RFID location system. In Proceedings of the 2nd IEEE International Conference on Computer and Communications (ICCC), Chengdu, China, 14–17 October 2016; pp. 2569–2572. [Google Scholar]
  44. Sun, Y.; Gu, F. Compressive sensing of piezoelectric sensor response signal for phased array structural health monitoring. Int. J. Sens. Netw. 2017, 23, 258–264. [Google Scholar] [CrossRef]
  45. Nikitin, P.V.; Martinez, R.; Ramamurthy, S.; Leland, H.; Spiess, G.; Rao, K.V.S. Phase based spatial identification of UHF RFID tags. In Proceedings of the 2010 IEEE International Conference on RFID, Orlando, FL, USA, 14–16 April 2010; pp. 102–109. [Google Scholar]
  46. Catarinucci, L.; Colella, R.; Tarricone, L. Design, development, and performance evaluation of a compact and long-range passive UHF RFID tag. Microw. Opt. Technol. Lett. 2012, 54, 1335–1339. [Google Scholar] [CrossRef]
Figure 1. The RSS value changes according to distance.
Figure 1. The RSS value changes according to distance.
Sensors 17 01806 g001
Figure 2. Obtaining the RSS value.
Figure 2. Obtaining the RSS value.
Sensors 17 01806 g002
Figure 3. The RSS value in an interference environment.
Figure 3. The RSS value in an interference environment.
Sensors 17 01806 g003
Figure 4. The phase value is stable in the fixed distance.
Figure 4. The phase value is stable in the fixed distance.
Sensors 17 01806 g004
Figure 5. The phase value is cyclical and linear with changeable distance.
Figure 5. The phase value is cyclical and linear with changeable distance.
Sensors 17 01806 g005
Figure 6. Experimental environment. (a) part of the monitoring area; (b) every tag space duration distance.
Figure 6. Experimental environment. (a) part of the monitoring area; (b) every tag space duration distance.
Sensors 17 01806 g006aSensors 17 01806 g006b
Figure 7. The RSS values of 5 tags.
Figure 7. The RSS values of 5 tags.
Sensors 17 01806 g007aSensors 17 01806 g007b
Figure 8. The RSS value of 5 tags processed by the Gaussian filter.
Figure 8. The RSS value of 5 tags processed by the Gaussian filter.
Sensors 17 01806 g008aSensors 17 01806 g008b
Figure 9. The average error of location estimation of 5 tags.
Figure 9. The average error of location estimation of 5 tags.
Sensors 17 01806 g009
Table 1. Comparisons of different positioning methods.
Table 1. Comparisons of different positioning methods.
IndexAccuracyTime ConsumptionCostEnergy ConsumptionCOTS Reader
Positioning Methods
Fingerprint [10,33]HighLowHighLowYes
Reference tags [25]NormalHighNormalNormalYes
AOA [31]HighNormalNormalHighYes
TDOA [6]LowLowNormalLowNo
Table 2. The experimental settings.
Table 2. The experimental settings.
ParameterValue
Range3.6 m × 4.8 m
Numbers of reference tags117
Numbers of target tags5
Table 3. Comparisons of BKNN with different positioning methods.
Table 3. Comparisons of BKNN with different positioning methods.
IndexPrecisionTime ConsumptionCostEnergy ConsumptionCOTS Reader
Positioning Methods
LANDMARC [25]NormalHighNormalNormalYes
Fingerprint [33]HighLowHighLowYes
Phase [34]HighHighNormalNormalYes
IKNN [43]HighHighNormalNormalYes
Proposed BKNNHighNormalLowLowYes

Share and Cite

MDPI and ACS Style

Xu, H.; Ding, Y.; Li, P.; Wang, R.; Li, Y. An RFID Indoor Positioning Algorithm Based on Bayesian Probability and K-Nearest Neighbor. Sensors 2017, 17, 1806. https://0-doi-org.brum.beds.ac.uk/10.3390/s17081806

AMA Style

Xu H, Ding Y, Li P, Wang R, Li Y. An RFID Indoor Positioning Algorithm Based on Bayesian Probability and K-Nearest Neighbor. Sensors. 2017; 17(8):1806. https://0-doi-org.brum.beds.ac.uk/10.3390/s17081806

Chicago/Turabian Style

Xu, He, Ye Ding, Peng Li, Ruchuan Wang, and Yizhu Li. 2017. "An RFID Indoor Positioning Algorithm Based on Bayesian Probability and K-Nearest Neighbor" Sensors 17, no. 8: 1806. https://0-doi-org.brum.beds.ac.uk/10.3390/s17081806

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