Abstract
Keywords
Introduction
Localization plays an important role in the moving object tracking and target existence sensing.1–3 At present, the solutions include global positioning system (GPS), 4 Wi-Fi, 5 Bluetooth, 6 and ZigBee. 7 As a possible solution, radio-frequency identification device (RFID), 8 RFID Ultra Wideband (UWB), 9 and other technologies have attracted a lot of research attention. Each technology has its advantages and disadvantages. We can determine the optimal solution based on different requirements at the aspects of cost, accuracy, range, and energy consumption. Table 1 shows a comparison between the different technologies on those aspects.10,11 Values are in the range of 0–4, while 4 is the best classification and 0 is the worst. It should be noted that these data are from three different studies.8,11,12
Comparison between different localization technologies.
GPS: global positioning system; IMU: inertial measurement unit;RFID: radio-frequency identification device; UWB: ultra wideband.
From Table 1, the RFID UWB technology shows the superiority, despite its higher cost compared to other technologies (e.g. GPS and ZigBee). RFID UWB develops from early RFID technology, with a higher bandwidth and higher localization accuracy.
The general RFID system consists of RFID tags, antennas, and readers. The basic working principle is that RFID system generates a magnetic field through the readers’ antennas; when the RFID tags enter the magnetic field, they will receive the radio-frequency (RF) signal emitted by the readers; then, the RFID tag will send the product information stored in the chip to the readers (passive RFID tag), or actively send an RF signal to the readers (active RFID tag). Active RFID tag, with built-in battery, transmits the identification signal periodically and has a longer reading range compared to passive RFID tag; however, it is bigger in size, more expensive in price, and shorter in service life. Localization with active tag is generally used to locate an RFID reader, such as the tracking of person or object with RFID reader, while localization with passive tag is generally used to locate a target object of a passive tag.
At present, there are extensive studies on RFID-based two-dimensional (2D) localization.13–17 A localization system called LANDMARC (LocAtioN iDentification based on dynaMic Active RFID Calibration) is published by LM Ni et al.
18
LANDMARC algorithm arranges a number of reference RFID tags and readers, which have several power levels, and then estimates the coordinates of the target tag using
RFID-based 3D localization has also been developed in some ways, but the methods still have some drawbacks. Hightower et al. 26 proposed a 3D localization system called SpotON, the system directly uses rich site summary (RSS) information to estimate the distances and aggregation algorithm to get the location; the algorithm is simple, but it is not useful to estimate the distance simply through RSS values in real environment. Bouet and Pujolle 27 uses multiple readers and the binary information to get the object region, but the method needs a lot of readers to reach a high accuracy, and it is hard to get the reachable region of the readers in real environment. Another solution is presented in Han et al., 28 where the location is predicted by the tag array, but this method works only in simulation environment. Maneesilp et al. 29 proposed an RFID 3D localization method. Its basic principle is to use Nelder–Mead method to minimize the error function. This algorithm needs a large number of readers; hence, the cost is expensive. Almaaitah et al. 30 proposed a method called APM (Adaptive Power Multilateration) to dynamically adjust the transmit power of RFID readers and use multi-point method to estimate the location of the target tag; but the APM method requires the reader to dynamically adjust the power level to achieve fine-grained resolution, which is harsh.
In this article, we propose a 3D localization method based on passive RFID tags. In the method, the signal strength of the readers is divided into several levels. First, we estimate the distances between the readers and the RFID tags, according to the reference tag collection in 2D space. Then, we estimate the location of the RFID tag in 3D space through sphere trilateration. 31 Finally, we use the method of least squares 32 to decrease the error. In this article, we use MATLAB 33 to simulate the RFID-based localization system and compare the proposed method with other methods. Moreover, we have carried out testbed experiments in realistic environment to further demonstrate the appropriateness of the proposed method. Both the simulation and the testbed experiment results have shown that, compared to other existing methods, the proposed method can reach a higher positional accuracy using less RFID readers.
The rest of this article is organized as follows: section “Algorithms” introduces the principles of the algorithms; section “Simulation” explains the algorithm simulation and the simulation results; section “Experimental evaluation” shows the experimental evaluation results in real environment; and section “Conclusion and future work” gives a conclusion of this article and explains our future work.
Algorithms
Power level
In this method, the signal strength of the readers is divided into several levels. By adjusting the power level of the reader, we can get different tags sets. The basic model of this method is shown in Figure 1, and the system consists of reference readers, reference tags, and target tag.

Compositions of the localization system.
By adjusting the power levels of reader

Reference tags set
The distance set between the readers
Calculate the distance
Get the minimum distance
Repeatedly get the signal strength of the reference tag in set
Calculate the variance
For the
Extend the set
Complement the signal strength
Calculate the difference in signal strength between every reference tag
Choose
Calculate the distance between target tag
Denote the distance set as
where
Sphere trilateration
After we get the distance set
where

Sphere trilateration.
We can get
The method of least squares
Through sphere trilateration, we can get the feasible solution set

Planar fit method using the method of least squares.
The method of least squares is a mathematical optimization technique; it looks for the best matching function of the data by minimizing the squares of errors. Using the method of least squares, we can easily get the solution and minimize the squares of errors between the solution and the actual data. The general linear model with the method of least squares can be expressed as following:
Irrelevant model variables
Equation (13) is the same as the linear equations (14)
Generally,
Derive the equations in the form of linear squared difference using the method of least squares
Through sphere trilateration, we can get the feasible solution set
For the discrete points in feasible solution set
The target equation of the method of least squares is
Then, we sort the
Flowchart
The flowchart of the algorithms is shown in Figure 5, it contains the following steps:
Get the locations of reference tags;
Adjust the power level to get valid reference tags set;
Repeatedly get RSSI information and use Gaussian filter to preprocess the data;
Complete the missing reference tags and get the corresponding RSSIs by
Evaluate the distance by the relation between RSSI and power level;
Get the feasible coordinates of the target tag through sphere trilateration;
Evaluate the coordinates of target tag through method of least squares and get the location of target tag;
If there is any target tag left, go to step 2; otherwise, finish.

Flowchart of the proposed algorithm.
Simulation
In the simulation, we simulate a hexahedron with the size of 10 m × 10 m × 10 m.
We use the log-distance path loss model in our simulation experiment. It provides the attenuation of signal from distance in the indoor environment
where
The RSSI can be expressed by the following equation
where
Since the
where
The error is defined as the Euclidean distance between the estimated target coordinate
The mean error in location
In the default case, the reference tags are placed every 0.5 m on the ceiling of the hexahedron, eight readers are placed on the upper side, and every reader has 16 power levels.
Influence factors
Factors that affect the localization results include the number of power levels
The number of power levels
In this experiment, we, respectively, divide the power strength into 4, 8, 12, and 16 levels.
As shown in Figure 6, the mean error of the proposed method always decreases when the number of power levels increases. As the number of power levels increases, the signal strength between reference tags and target tag in

Error affected by the number of power levels
Density of reference tags
The density of reference tags
As shown in Figure 7, the average localization error increases when the density of reference tags decreases. As density of reference tags decrease, the reference tags in

Error affected by density of reference tags
The number of readers
In this simulation, we have studied the influence of the number of readers. The readers are placed in the corners and the edges (when the number of readers is 9, one is placed in the center of the ceiling).
As shown in Figure 8, the average error decreases when the number of readers

Error affected by the number of readers
Location of target tag
In this part, we have studied the influence of the location of target, including the
As shown in Figures 9 and 10, the average error increases significantly when target tag is near the upper side, lower side, or the boundaries of the hexahedron. When the target tag is near the lower side or the boundaries, the decrease in the reference tags leads to the increase in the error. When the target tag is near the upper side, since the existence of error, the number of complex solutions (invalid solutions) increases when using sphere trilateration to get feasible solutions, then the average error increases.

Error distribution when

Error distribution when
Comparison with other methods
Compare influence factors
In this part, we have compared the proposed method with PLS method in research 29 and APM method in research. 30 We have studied the influence of the number of power levels, the density of reference tags, and the number of readers by the three methods, respectively.
As shown in Figure 11, the mean errors of the three methods keep decreasing when power levels

Compare the number of power levels

Compare the density of reference tags

Compare the number of readers
Cumulative distribution function curves
We used the cumulative distribution function (CDF) curves of localization error to compare our proposed method with the PLS method and APM method. All of the results are gotten from the same case, where the number of readers is 8, the number of power level is 16, and tag density is 0.5 m.
From Figure 14, we have learnt that the localization error of the proposed method is less than 0.35 m with the probability of 90% and all of the errors are under 0.5 m. While the APM method has an error of localization less than 0.65 m with the probability of 90% and the same probability of PLS method is 1.3 m. The results show that the proposed method is better than both the APM method and the PLS method in the same simulation environment.

CDF curves of proposed method and other methods.
Experimental evaluation
Experiment setting
To further demonstrate the appropriateness of the proposed method compared to the other methods, we have conducted several realistic experiments in Guangzhou Research Institute of O-M-E Technology.
The reader model we used is Alien ALR-9900+, 34 the main working frequency is 920 MHz, the maximum power strength is 30.7 dBm and the minimum power strength is 15.7 dBm. We use two kinds of antennas, their model are Alien ALR-8696-C 35 (8.5 dBic gain) and ALR-9611-CR 36 (6 dBic gain). Our experiment setting is shown in Figure 15, we finish the experiments under a realistic environment with 4.00-m long, 3.63-m wide, and 2.60-m high. The computer communicates with the ALR-9900+ reader via transmission control protocol/Internet protocol (TCP/IP). We have written a C# program to adjust the power level and get the tag ID and corresponding RSSI values. The power level can be changed in millisecond level. The readers and the reference tags are deployed in the ceiling of the room. The numbers of readers we use are 4, 6 and 8. The passive reference RFID tags are placed every 0.33 m and the total number of reference tags is 72.

Experimental setup in realistic environment.
Experiment results
In the experiment, we have divided the power strength into 4, 6, 8, and 16 levels and the number of readers into 4, 6, and 8. All of the results are gotten from the 16 sample points distributed uniformly in the space. The performance comparison results between the proposed method, the APM method, and the PLS method are presented in Figure 16. As shown in Figure 16, the mean errors of the three methods decrease with the increase in the number of power levels and the number of readers. When the number of power levels is 16 and the number of readers is 8, the average localization accuracy of all the sample points with PLS method, APM method, and the proposed method is, respectively, 0.75, 0.63 and 0.28 m. The proposed method enhances the precision of localization accuracy by 62% over PLS method and 55% over APM method.

Experiment results with no sheltering: (a) the number of power levels (
In summary, the proposed method can provide lower localization errors than PLS method and APM method in the same circumstance.
Impacts of sheltering
The environment of the working space is not always the same, and as the time passes, the tags may be sheltered by water or metal. In order to study the impacts of sheltering, we have conducted several experiments in realistic environment. We have put several water bottles or metal between the readers and the tags, respectively, and repeat the experiments to get the results. The impact results of water sheltering are shown in Figure 17; when the number of power levels is 16 and the number of readers is 8, the mean errors of PLS method, APM method, and the proposed method are, respectively, 0.90, 0.79 and 0.30 m. Compared to the results of no sheltering (Figure 16), the average localization accuracy of PLS method, APM method, and the proposed method decreases 20%, 25%, and 7%, respectively.

Experiment results with water sheltering: (a) the number of power levels (
When the sheltering factor changes to metal sheltering with other factors unchanged, the results are shown in Figure 18. The mean errors of PLS method, APM method, and the proposed method are, respectively, 0.95, 0.88, and 0.33 m. Compared to the results of no sheltering (Figure 16), the average localization accuracy of PLS method, APM method, and the proposed method decreases 27%, 39%, and 18%, respectively; compare with water sheltering (Figure 17), the average accuracy decreases 6%, 11%, and 10%, respectively.

Experiment results with metal sheltering: (a) the number of power levels (
We can conclude from the above that the proposed method is more adaptable to the environment than PLS method and APM method.
Conclusion and future work
In this article, we have proposed a novel RFID-based 3D localization method. In the simulation section, we have studied the influence factors of the localization results, including the number of power levels, the number of readers, the density of reference tags, and the location of target tag. Besides, we have given simulation results to compare our proposed method with the other methods. Moreover, we have carried out testbed experiment to evaluate our proposed method. Both the simulation and testbed experiment results have shown that, compared to other methods, our proposed method can reach a higher positional accuracy using less RFID readers and it is more robust to the environment.
However, the proposed method does not solve the problem that the error increases significantly with the decrease in the distance between the target tags and the reader. Our further work will focus on solving these problems and we will also carry out experiments to test the robustness of the proposed algorithm when varying the hardware.
