Abstract
Keywords
Introduction
With the development of Internet of Things (IOT) technology, indoor wireless localization technology is facing more and more requirements. Zhang et al. 1 and LM Ni et al. 2 discussed common localization methods including Global Positioning System (GPS), infra-red (IR), Bluetooth, Wireless Fidelity (Wifi), radio-frequency identification (RFID), and so on. However, most of these localization methods are not applicable to indoor environments. For example, GPS signal cannot pass through buildings and does not meet the standard for civilian localization with error less than 10 m, which makes the GPS-based localization methods fail in indoor environments. IR localization technology could satisfy the accuracy requirement, but its signal cannot pass through obstacles. It is only used in line-of-sight scenarios, which makes IR also unsuitable for indoor localization. With the advantages of non-contact, non-line-of-sight, low-cost, and strong anti-interference performance, R Carotenuto et al. 3 introduced Bluetooth, Wifi, and RFID technologies in indoor localization. For instance, JKY Ng et al. 4 described a system of wireless location for tracking indoor mobile users. M Scherhäufl et al. 5 introduced an automatic blind calibration method which used passive UHF RFID tags to realize an indoor localization system and a root-mean-square error method is used to evaluate the positioning accuracy. Using RFID, J Maneesilp et al. 6 proposed a three-dimensional (3D) localization algorithm according to the relationship between readers and reference tags. Furthermore, HY Yu et al. 7 proposed a real-time RFID localization system used to localize a moving object. In warehouse management, the main operations include stock-in, stock-out, storage moving, and inventory verification. Compared with the Bar-code technology, RFID technology supports batching operations, which enhances the efficiency.8,9 Hence, RFID localization technology has been used in smart shelves to track goods efficiently. 10
RFID technology is a non-contact automatic identification technology, which uses the reflection transmission radio frequency signal to recognize objects. An RFID system has at least two basic parts, including RFID readers and tags. Electronic tags can be classified as active tags and passive tags. In current researches, localization technology based on distance calculation has three categories, including received signal strength indication (RSSI), direction of arrival (DOA), and time of arrival (TOA).11,12 The working process of RSSI technology is to collect the signal strength of the radio frequency in an actual environment. Then, the target position is evaluated by the signal propagation attenuation model. This method is a priority solution in indoor RFID localization for its advantages of low cost, low investment, and simplicity of device. J Hightower et al. 13 proposed a method named “Spot On,” in which different signal strengths from an electric tag to a number of readers are detected, and the position of the target object is calculated using a clustering-weighted algorithm. LM Ni et al. 14 introduced location identification based on dynamic active RFID calibration (LANDMARC), which defines the reference tag and tracking tag. The coordinates of the reference tags are known. By comparing different values between tracking tags and reference tags from multiple readers, the coordination values of tracking tags could be estimated with an empirical weighted formula. Ma et al. 15 improved the location accuracy using reference tags in an application of LANDMARC technology on vehicle locations. However, the location accuracy was sensitive to the distribution of tags and readers, the number of nearest neighbors was determined empirically and the weights were affected by the density of the tags.
Based on the LANDMARC algorithm, Zhao et al. 16 and NB Aldin et al. 17 proposed virtual reference elimination (VIRE) algorithm, which uses many virtual reference tags to improve the accuracy. VIRE estimates the signal strength of virtual reference tags using a linear interpolation method and then figures out the positions of the tracking tags. This algorithm has advantages of noise resistance, low cost, and high accuracy. However, due to the reflection of radio frequency signals in indoor environments, many factors, such as linear interpolation errors and low localization accuracy of the edge tags, deteriorate the accuracy of the VIRE algorithm.
Recently, to improve the robustness of the localization system, many researchers are trying to apply artificial neural network (ANN) technology to RFID localization. For instance, WS Holland et al. 18 proposed a real-time RFID localization method based on ANN and reference tags. By combining the support vector machine (SVM) and probability neural networks, G Deak et al. 19 presented a kind of device-free passive localization (DFPL) scenario. Yang et al. 20 introduced an online sequential extreme learning machine method to improve the performance and address online localization function. All of the above works have great value in using ANN to address RFID localization problems. Based on the above analysis, the classic localization model cannot perform well in a nonlinear change of radio frequency signal. To conquer this problem, an indoor localization algorithm BP_LANDMARC is proposed in this article, which can address this problem by utilizing the back propagation (BP) ANN. The proposed BP_LANDMARC takes the RSSI value of reference tags as input data and the actual coordinate of reference tags as output data to train a BP ANN. In addition, its calculation accuracy is improved by selecting different working parameters in different environment factors.
The following sections are arranged as follows. In section “Related work,” related technologies of RFID indoor localization are introduced, including the LANDMARC algorithm and the VIRE algorithm, and their merits and faults are analyzed. The BP_ LANDMARC algorithm is proposed in section “Localization algorithm based on ANN and reference tag,” and its working process is introduced. In section “Testing and application,” simulation and testing are discussed, and the performance of the BP_LAND MARC algorithm is compared with the LANDMARC algorithm and the VIRE algorithm. Then, the BP_ LANDMARC algorithm is applied to a practical logistics warehouse. Finally, section “Conclusion” concludes our work and discusses future directions.
Related work
The LANDMARC algorithm is a classic localization method of RSSI technology.
14
The LANDMARC algorithm assumes that there are
Suppose that
In equation (1), the Euclidean distance of the signal strength between the tracking tags and the reference tags is denoted as vector
where
In equation (3),
The VIRE algorithm is an improved method based on the LANDMARC algorithm, where the layout assumption of readers and tags is the same as that in the LANDMARC algorithm.
16
The basic idea is to improve the localization accuracy by excluding small probability position rather than adding additional hardware, such as readers or tags. Virtual reference tags based on the reference tags are utilized in this algorithm. Virtual reference tags are arranged according to some distributed rules. Generally, in an
The RSSI values of vertical direction and virtual reference tags are calculated as equation (5)
In a two-dimensional plane, the RSSI values of the virtual reference tags are calculated as equation (6)
In equations (4)–(6),
After setting all the virtual reference tags, the RSSI values combined with the actual reference tags constitute a reference tag grid. The concept of a proximity map is used to describe their relationship. Every reader creates and maintains its proximity map according to its perceived RSSI values. The tracking tags’ RSSI values are compared with a given threshold; if the results are less the threshold, the related areas in the proximity map are marked as “1.” This means that the tracking tag is in large proximity in these areas. Summarizing all
To improve the accuracy, the calculation method of weight is optimized in the VIRE algorithm using two weights
where
In equations (8) and (9),
Compared with the LANDMARC algorithm, the localization accuracy is highly improved in the VIRE algorithm. Furthermore, the linear interpolation method is used to calculate the virtual reference tag’s RSSI value in this algorithm, which will lead to some error. 21 Although Shao 22 and Wu and Huang 23 proposed some methods to improve the VIRE algorithm, such as the two-dimensional Newton interpolation method, Lagrange interpolation method, or Bayesian-based method in references, these methods perform quite differently with the actual signal strength. Kalman-Filter technology is also used to improve the VIRE algorithm.24–26 However, when the actual measurement model is strongly nonlinear, its performance becomes poor, even if not converged. YS Chiou et al. 27 demonstrated a large localization error on the boundary area of the VIRE algorithm.
When ANN and RFID technology are used to solve the indoor location problems, some key issues should be considered, including the nonlinear mapping ability and adaptive ability of the network, the complexity of network structure and the calculation performance of the algorithm, and the real-time performance affected by different environments. For instance, radial basis function (RBF) algorithm is utilized to implement the indoor location.
28
Compared with the BP algorithm, the RBF network is more complex in the case of the same precision, and the hidden layers are greatly increased while the training samples are increased, which will increase the calculation cost.
Based on the above discussion, the contributions of this article are as follows. The BP ANN is utilized to conquer the nonlinear change in radio frequency signal. As the RSSI localization technology is easily affected by the environment, it is necessary to consider the environment factors to improve the localization precision. The environment factors such as temperature, humidity, luminosity, and electromagnetic radiation intensity are taken as working parameters. Then, ANN is trained in different working environments and different sets of weights are produced. They are stored in the environment factor table as different application scenarios. The environment factors are detected before the localization system works. According to these factors, a set of weights are selected in the environment factor table. Then, a specific scene of ANN is created and ready for working. If there is no suitable application scenario selected in the environmental factor table, a new application scenario should be set up in the system. It is necessary to retrain the ANN for this scenario. Different working parameters are selected within different environment factors to improve the calculation accuracy.
Localization algorithm based on ANN and reference tag
BP ANN
By combining the BP ANN and the LANDMARC localization algorithm, an algorithm named BP_LANDMARC is proposed in this article. BP_LANDMARC sets up a nonlinear localization model by adjusting the network’s parameters based on the training data. The learning process of BP-ANN includes two stages. The first stage is the forward propagation of input signals to regress certain variables, and the second stage is the back propagation of regressing error to adjust the model parameters. A three-layer BP-ANN is constructed in this article. While training, the known reference tag’s RSSI value consists of the inputs to the input layer. The middle layer is designed as a single hidden layer. The output layer is associated with the reference tag’s coordinate value. If the actual output does not match the expected output, then the back-propagation stage is invoked. The error will propagate back to each layer from the output layer and the hidden layer to the input layer. The weights of each layer are adjusted according to the error gradient descent method. This process works continuously until the output error is reduced to the expected value. When it is on the actual working status, the real-time tracking tag’s RSSI value is fed to the BP-ANN. Then, the output is the tracking tag’s estimated coordinate value.
Similar to the LANDMARC localization system, the hardware structure of the BP_LANDMARC localization system includes readers, reference tags, and tracking tags.
The structure of a localization system is shown in Figure 1, assuming there are four readers and
where

Structure of a localization system.
Corresponding to the RSSI matrix
where
Assuming there are
where
Its reference coordinate is denoted as
where
The working principle of the BP-ANN is to take the vector
Influenced by the environment factors, the energy attenuation of the radio frequency signal is a nonlinear process. Its mechanism is very complex and the algorithms Landmarc and Vire mentioned above do not match the nonlinear change process in essential. Theoretically, any nonlinear continuous function can be approximated with any precision by a three-layer BP neural network. Moreover, the BP neural network has strong self-learning and self-adaptive ability, which is very suitable to express the different changes of RSSI caused by environmental changes. Compared with other ANN technologies, the BP neural network is not only more mature and easy to implement but also used for solving many problems in engineering field. Based on these factors, the BP neural network is utilized in this article.
Model of BP_LANDMARC algorithm
The structure of the BP-ANN used by this article is shown in Figure 2, where there are

Structure of the BP artificial neural network.
The input vector is
For the hidden layer, there are the following equations
where the sigmoid function
The output error function is defined as follows
Testing and application
In this section, the functional simulation of the proposed algorithm is first carried out in the MATLAB environment. Second, the error analysis is discussed. Third, the optimal selection of reference tag number is analyzed. Finally, an application of the proposed algorithm is presented.
Function testing
Before applied on the real-time localization, the BP_LANDMARC system should learn from the collected RSSI data of the reference tags. To improve the accuracy, the sample data should be collected in different times and different working environments, which correspond to different application scenarios. An example reference tag learning sample data is shown in Table 1, which presents a snapshot of the training data at one time point. In Table 1, the first column denotes the reference number, and the total number of reference tags is 36. The columns from RSSI_1 to RSSI_4 denote the RSSI values obtained from the four readers. The columns X and Y denote the coordinate values of a reference tag.
Training sample data of ANN.
ANN: artificial neural network; RSSI: received signal strength indication.
In a localization system, some indexes are used to evaluate the algorithms’ behavior. In our article, Euclidean distance is used to measure the localization errors, indicating the error between a tracking tag’s estimated and actual positions. Assume the tracking tag’s actual coordinate value is
To examine the stability of the localization algorithms, we calculated the cumulative distribution function (CDF),
An RFID localization system is constructed as shown in Figure 3. In an

Simulation structure of localization system.
Error analysis
To compare the results of different algorithms, we set the same condition to simulate the LANDMARC algorithm, VIRE algorithm, and BP_LANDMARC algorithm. The results of the three algorithms are shown in Table 2, where the first column denotes the number of tracking tags, and the Act_Coordinate column is for the 20 tracking tags’ actual position coordinate. The columns LANDMARC, VIRE, and BP_LANDMARC are the estimated coordinates obtained from the corresponding algorithms. Then, the last three columns are for the corresponding RMSE errors.
Localization results of three algorithms.
The localization results are shown in Figure 4. For some tracking tags near the boundaries, the effect of BP_LANDMARC is better than those of VIRE and LANDMARC, shown as the tracking point in rectangle A and the tracking point in rectangle B, respectively. The points shown in rectangle C, estimated as one single point by LANDMARC due to their closeness, could be separated properly by both BP_LANDMARC and VIRE, while the accuracy of BP_LANDMARC is better than that of VIRE.

Simulation results of three algorithms.
The RMSE values of the three localization algorithms are calculated under the condition expressed by 20 tracking tags, and comparison results are shown in Figure 5. From Figure 5, we can see that BP_LANDMARC has the best global accuracy among the three algorithms in comparison. For LANDMARC, the largest localization error is 1.78 m, the smallest is 0.25 m, and the standard deviation of errors is ±0.89 m. For VIRE, the largest localization error is 1.33 m, the smallest is 0.009 m, and the standard deviation of errors is ±0.49 m. For BP_LAND MARC, the largest localization error is 0.39 m, the smallest is 0.12 m, and the standard deviation of errors is ±0.25 m, which means that BP_LANDMARC is the steadiest.

Estimation errors of three algorithms.
To examine the distribution of the localization errors about all the tracking tags, we compared the CDF,

CDF results of three algorithms.
Selection of reference tag number
Theoretically, more reference tags means high localization accuracy. However, the actual testing results show that there is no way to improve the accuracy by only increasing reference tags, as shown in Figure 7. For the testing conditions of this work, the smallest localization error is achieved when the number of reference tags is 6. If the reference tags increase, the localization error also increases.

Changing localization accuracy with the number of reference tags.
Under the condition of 20,000 learning times and learning rate

Learning error curve of the first 3000 training times.
Application effect on warehouse management system
Indoor object tracing gets more and more applications with the development of smart home and Industry 4.0. Due to the advantages of low cost, efficiency, and ease of deployment, RFID is suitable for applications of indoor object tracing. This section is devoted to a validation of application to locate goods in a warehouse environment. Suppose that a robot needs to access the goods stored on grid shelves, where the central control system senses both robots and goods in a rough granulate and robots could sense only items in their vision scope. In this example, the proposed system is mainly used to locate goods on the grid shelves. In this application, each shelf is a

The illustration of a locating unit.
To locate the goods, the reference labels are deployed every
The RFID reader is a 4-port UHF fixed one, which can read RFID tags of ultra-high frequency bands in the range of 860–960 MHz, and the maximum communication distance is 10 m. In this application, we label each package of goods with one target tag. When goods are ready to be placed into the shelf, the system should locate an available grid cell of shelves; and when goods are ready to be taken out from the shelf, the system should locate the position of the target tag.
Based on this hardware environment, the proposed BP-LANDMARC algorithm is used to locate grid cell of shelves in the locating unit. The application data show that our design of the RFID localization system can get the locating accuracy of 98.9%. With the application of our system, the number of workers in the warehouse is reduced from 14 to 8. Hence, the efficiency is roughly increased by 42.9%.
Conclusion
This article proposes a kind of indoor locating algorithm, named BP_LANDMARC, based on the BP neural networks combined with the traditional dynamic active RFID calibration method. The proposed algorithm uses the reference tags and the RSSI to locate the targets, differing from the traditional methods on estimation of locating positions using historical data-based learning, but without an explicit experiential equation. To evaluate its validity, we compare the proposed algorithm with two classical algorithms, including LANDMARC and VIRE, under measuring indices of RMSE and CDF. The RMSE index demonstrates that the proposed algorithm could suppress the locating error below 0.39 m, while the errors of LANDMARC and VIRE have reached up to 1.78 and 1.33 m, respectively. Moreover, CDF index demonstrates the superiority of the proposed algorithm with a probability of 0.97 that the error is less than 0.5 m, while for LANDMARC and VIRE the probabilities are 0.50 and 0.15, respectively.
