Abstract

The growing demand for new products that rely on the accurate identification of a target’s location indoors, while remaining mindful of cost, continues to drive research in this important and challenging area. Researchers are actively pursuing algorithmic improvements to eliminate errors introduced from complex interference factors present in indoor, wireless communication environments. In this work, we adopt a differential signal strength method in the design of our new indoor localization algorithm. The proposed algorithm reduces errors in the time domain by smoothing out the wireless signal fluctuations, thus stabilizing the signal; a single exponential algorithm is applied to the signal strength parameters collected to accomplish this. The target’s position is then computed by utilizing both the plane geometric method and difference localization theory. This combination of techniques is reasonable for the environment under consideration (small scale, wireless), as the multipath effects for the signal are approximately equal under these conditions. In addition, the proposed approach is compatible with a wide variety of technologies (e.g., RFID and Bluetooth); it can be cost-effectively deployed by leveraging an existing hardware infrastructure. The proposed approach has been implemented and experimentally validated. The test results are very promising: they indicate that our algorithm improves the positioning accuracy by 70%–80% in comparison with the trilateration and LANDMARC positioning algorithms.

1. Introduction

The ability to accurately determine the position of a device, and more recently a user with a device, in an indoor environment remains an important and challenging research problem. This is a fundamental feature across a wide and growing variety of fields with significant social and economic importance (e.g., emergency rescue, disaster prevention, logistics management, and device testing). The availability of advanced mobile networks, intelligent devices, and the Internet of things continues to drive the demand for sophisticated location-based services for indoor applications. Many people spend a substantial amount of time indoors, 87%, with high levels of mobile phone use for voice and data (refer to Figure 1). Hence, the indoor positioning technology is of broad interest [1].

Although GPS and other GNSS technologies can solve the problem of outdoor localization well, the satellite signal strength and signal quality decline rapidly in an indoor or sheltered environment. The signal strength and the quality of an indoor cellular mobile network are better than those of a satellite in the same condition, but the localization accuracy of the cellular mobile network is poor because of limited bandwidth. Usually, the localization accuracy of a cellular mobile network ranges from several decameters to several hundred meters [2, 3].

Consequently, alternatives to GPS and GNSS are needed to provide accurate indoor positioning technology. The problem is challenging, however, due to the variations in rooms (size, shape, and construction materials) and their content (furniture and artwork installations). Barriers introduce signal diffraction, refraction, and scattering, which modify the signal characteristics (strength, phase, and amplitude), and introduce a multipath effect.

An established solution is to first having the transmitter estimate the distance to the target with a receive signal strength indicator (RSSI); the target location is subsequently computed. However, the RSSI does not exhibit a decreasing linear response as distance increases, which limits its accuracy. The nonlinear response is due to small-scale shadow fading, resulting from the multipath transmission. After analyzing the factors influencing the accuracy of localization in indoor, wireless network environments, the essential research question emerges: Can a more accurate algorithm be designed, which reduces both the propagation error and the multipath effect? [4].

In this work, we propose the design, implementation, and validation for a novel localization algorithm for indoor, wireless network environments. The main contributions of our paper are as follows:(1)Both the plane geometric method and difference localization theory are used in the design of a novel indoor localization algorithm. This combination of techniques is reasonable for the environment under consideration (small scale, wireless), as the multipath effects for signals are approximately equal under these conditions.(2)The proposed algorithm is designed to reduce errors in both the time and space domains. For time, the acquired signal is treated with an exponential smoothing method to reduce fluctuations over time, creating a more stable signal. For space, the error introduced by the propagation multipath effect is addressed using differential positioning methods. The algorithm is demonstrated in an empirical study with complex environments to be more accurate than other currently available alternatives, achieving an accuracy of 0.65 m.(3)The algorithm adapts well to widely available location technologies (e.g., Bluetooth and RFID). This feature has the potential to support lower-cost deployments, by reusing the existing hardware infrastructure.

The remainder of this paper is organized as follows: Section 2 presents an overview of current indoor localization algorithms. The signal propagation model and errors introduced by the multipath effect in indoor, wireless network environments are described in Section 3. The error reduction method, addressing the multipath effect in both time and space domains, is presented in Section 4. The underlying theory for our differential positioning algorithm is presented in Section 5, along with its implementation and calculation methods. The validation results for a comparative empirical study are presented in Section 6. Lastly, a summary of the results and direction for the future work are presented in Section 7.

2.1. The Kinds of the Indoor Positioning Algorithms

There are several types of technologies used for indoor positioning, such as infrared-based indoor positioning technology [5], ultrasonic-based indoor positioning technology [6, 7], Bluetooth-based indoor positioning technology [8], ZigBee-based indoor positioning technology [9], WiFi-based indoor positioning technology [10, 11], cellular-based indoor positioning technology [12], UWB-based indoor positioning technology [13, 14], inertial navigation-based indoor positioning technology [15, 16], and RFID-based indoor positioning technology.

Generally, these technologies rely on one or more sensing signals to calculate positions. For example, the distance can be represented by the received signal strength and the arrival time of the received signal. The stronger the received signal is, the closer the signal sender is. Similarly, the earlier the signal arrives, the closer the receiving position is to the transmitting position of the signal. When there is only one received signal, the location cannot be calculated. When there are multiple devices for receiving the signal, the location can be calculated.

According to the different processing methods of measurement parameters, indoor positioning algorithms can be divided into triangulation-based positioning algorithms and scene-based positioning algorithms.(1)Triangulation-based positioning algorithm: this kind of algorithm always makes use of the characteristics of the arrival signals, such as arrival time, phase, and strength. The differences in time and phase help in positioning a tag.As shown in Figure 2, the SpotON system is a typical representative of this type of algorithm, proposed by Hightower et al. [17]. The system uses three or more readers as the base stations to record the signal strength of each tag read by the reader and calculate the position of the tag by means of triangulation. Later, a modified SpotON system based on ad hoc [18] introduced the ad hoc network into the SpotON positioning method. In contrast, the TOA algorithm depends on the time of arrival. The principle diagram of the TOA algorithm is shown in Figure 3. First, the target distance from the receiving antenna based on the propagation time of the signal arriving at the receiving antenna is found, and then the triangulation principle is used to find the target coordinates. Bao and Wang used the arrival time method to track the motion trajectory of the person [19]. Wang and Shen used the L-MUSIC method to locate the label using the arrival time method [20]. Studies on the TOA method applied to SAW-RFID positioning are also available [21, 22]. There are some disadvantages in using TOA in the RFID positioning system: since the indoor positioning scene is usually small, the distance from the tag to the reader is close, and the short-distance ranging is required to be high with the propagation speed of the electromagnetic wave in the air. Time accuracy, meanwhile, requires the transmitter and receiver to remain accurately synchronized; the relatively low communication rate of the wireless device makes it difficult to add an accurate time stamp.(2)Scene analysis-based positioning mechanism: first, the scene parameter information is collected, then the detected target information is matched with the scene information, and finally the target is located accordingly. The typical scene analysis-based positioning algorithms are the reference tag method, fingerprint positioning method, centroid algorithm, and neighbor node method.

The LANDMARC algorithm uses a mix of fixed reference tags, fixed readers, and target reference tags [23]. The indoor space is arranged with a collection of fixed readers and a large number of fixed reference tags. The fixed readers compute the signal strength of the fixed and target reference tags; the position of the target tag can be computed. Since then, many scholars have conducted follow-up studies on the LANDMARC system and have proposed various improvements. Jin et al. introduced the concept of neighbor nodes in the LANDMARC system to improve the efficiency of positioning [24]. Chattopadhyay and Harish conducted a large number of experiments on the LANDMARC system, quantitatively analysed the arrangement and density of the reference tags, and pointed out the positioning effect of the LANDMARC system. This approach is sensitive to the tags’ orientations; it requires the tags to be aligned in the same direction [25]. This team used neural networks to improve the LANDMARC system, trained the neural network through the signal strength of prearranged target and reference tags, and used trained neural networks to calculate the location of unknown target tags [26]. Choi et al. introduced a signal strength correction method that uses the corrected signal strengths of the target tag and the reference tag to calculate and improve the accuracy of positioning [27]. Zhao et al. proposed a VIRE (virtual reference elimination) algorithm based on a virtual reference tag. It estimates the location information and signal strength of the virtual reference tag by combining the position information and signal strength of the actual reference tag with a linear interpolation method to achieve indoor transmission [28]. Xu et al. [29] proposed an algorithm based on support vector regression to further improve the positioning accuracy of LANDMARC, and the experimental result shows that the RMSE is about 20.2 cm. Xu et al. [30] then proposed an algorithm, called the BKNN, based on the K-nearest neighbor and Bayesian probability. The average location estimation error was further reduced to approximately 15 cm.

2.2. The Evaluation Indicators of Indoor Positioning Algorithms

The evaluation of performance of positioning algorithms in the indoor environment has been considered from numerous perspectives. The commonly used indoor target positioning algorithm performance evaluation indicators are as follows:(1)Positioning Accuracy. This is the most important and commonly used index in positioning algorithm evaluation. In the target positioning system, the positioning accuracy generally refers to the deviation of the actual position of the target from the estimated position.(2)Environmental Adaptability. Positioning capability refers to both the number of targets that the algorithm can locate at the same time and the scenario to which the algorithm applies.(3)Real-Time Performance. It usually includes the positioning algorithm’s computation time, as well as the installation and configuration time of the system. It is an important criterion for evaluating the positioning algorithm. For indoor sports goals, real-time and quick acquisition of target locations is of great value to the actual application of the system.(4)Power Consumption. This is the factor that has the most influence on the design and implementation of the algorithm. Different algorithms have different complexity, and the number of positioning devices that need to participate in positioning is also different; in addition, the energy of positioning tags is very limited. Therefore, under the requirement of satisfying the positioning accuracy, an algorithm with less communication overhead, less computation, and less storage overhead should be selected.(5)Implementation Complexity and Cost. Implementation complexity is an important criterion for judging the merits of a positioning algorithm. Algorithms with high positioning accuracy but complex implementation are often not used. The implementation cost is mainly the total cost of the infrastructure, additional hardware, and other equipment required for the specified algorithm, and the low-cost location algorithm should be selected under the guarantee of positioning accuracy and limited funds.

The comparison of positioning algorithms with respect to these evaluation indicators is summarized in Table 1; the qualitative values used are poor, fair, good, and very good.

Although indoor location technology has made considerable progress, the application deployment of location technology is still complex. Meanwhile, the target’s physical properties, the electromagnetic environment interference, and moving items all can influence the location results directly. Therefore, indoor location technology has a wide space for improvement [31].

3. Signal Modelling and Error Analysis for Indoor, Wireless Network Environments

3.1. Signal Propagation Model

In an indoor environment, the transmission loss of electromagnetic waves can be represented using the lognormal shadowing model, when interference is not considered:

In this model, is the power density loss of a received signal from the distance . The gain of the receiving and transmitting antennas is and , respectively. The additional parameters include the environment factor and the signal wavelength ; the distance is typically recommended to be 1 m [10].

More generally, power density loss of a signal over a distance iswhere is the normal distribution such that ranges within [32].

From (3), it is obvious that the receiving power equals transmitting power minus loss power. A straightforward substitution of (2) into (3) results in the calculation of the received signal strength for the distance d as

Hence, (4) indicates the power strength of the received signal, under ideal conditions, behaves as a logarithmic function, where the received power decreases as the transmission distance increases. The RSSI is adopted in our experiments as an approximation of , as a simplifying assumption. However, this adoption does introduce some error, and measured RSSI values in indoor environments fluctuate (refer to Figure 4).

3.2. Signal Error Analysis

In actual environments, especially indoor, electromagnetic signal propagation encounters obstacles (e.g., furniture), which interfere with their transmissions. These encounters introduce reflection, diffraction, and scattering of the signals; as a result, equation (1) no longer models the transmission correctly. A very small change in the position of a moving target can cause signal fluctuations because the received composite signal contains signal components that are reflected from different directions by different reflection sources, as well as diffracted and scattered signal components.

When there is a sharp obstacle on a transmission path between the signal receiving antenna and the signal emitting source, the signal is often diffracted, and a secondary wave generated from the blocking surface is transmitted to the obstacle. The diffraction of the RF signal is affected by many factors including the polarization, phase, and amplitude of the signal, as well as the diffraction spot’s shape on the obstacle. When there are a large number of small-sized (i.e., less than the wavelength) objects in the propagation medium, scattering occurs during signal propagation. Scattering is often caused by a rough surface, small objects, or some irregularly shaped objects. In reality, not only the surface of the metal but also the insulator can produce reflections. The reflection of electromagnetic waves from the surface of the insulator is complicated and there is no ideal metal surface, but even common insulating materials can produce reflections.

When the above phenomenon occurs simultaneously in an actual indoor propagation environment, the antenna receives all the signals arriving from different directions. In other words, it receives a vector sum of these signals; this is called the multipath effect. The multipath propagation caused by the reflection of the surface is also called specular multipath. The multipath propagation caused by diffraction and scattering is also called diffuse multipath.

Based on the above analysis, it can be seen that the fundamental factor that restricts the indoor wireless signal localization algorithm in the environment is that the interference of multipath effects in the wireless signal propagation process seriously affects the stability and reliability of the signal. As shown in Figure 5, the multipath effect is simplified, and the signal received by the wireless signal receiver is composed of two parts, the line-of-sight path signal and the non-line-of-sight path signal :

As shown in Figure 5, let be the time delay of the phase difference between the line-distance path signal and the non-line-of-sight path signal electric field components. The calculation method is shown in (6). is the distance between the transmitter and the receiver of the wireless signal, and is the line-of-sight. Path distance, , is the multipath path distance, c is the speed of light, is the height of the transmitter from the ground, and is the height of the receiver from the ground.

Let the signal propagation time be $t$, then $R$ receives the wireless signal, as shown in (7), where is the standard distance and is the received signal size at the standard distance.

According to (6), when the distance $d > h_t + h_r$, the signal $E_{TOT}$ is approximately

Comparing (7) and (8), it can be seen that the effects of multipath propagation will lead to signal distortion. As a consequence of variable and complex indoor environments, dense multipath effects will be generated, thus making the median stability and reliability of the signal propagation process worse.

4. Indoor Wireless Signal Propagation Error Reduction Method

As mentioned in Section 3, fluctuations and interference may occur at different times and in different spaces. Therefore, this study focuses on eliminating interference and noise of the wireless signal from two aspects: time and space. We realize the reduction of the indoor wireless signal transmission error through the combination of the two aspects.

4.1. Wireless Signal Acquisition Error Reduction Method

Errors resulting from signal strength fluctuations over time are inherent in indoor, wireless network environments. Figure 6 illustrates a simple schematic of this situation, where the receiver acquires the wireless signal at the distance .

Representing the collection of data values in the time period , the representative parameter, RSSI, for the signal strength parameter is

When a single exponential smoothing algorithm is applied, the result is presented aswhere is the smoothing factor and is the accumulated value of the signal strength. The smoothing factor determines the weight of the currently observed signal strength in the final results. According to related conclusions, when there are data fluctuations, and the long-term variation trend is not obvious, the smoothing factor value ranges from 0.1 to 0.4. According to the transmission pattern of the indoor wireless signal, the smoothing factor should be within a small range to avoid the signal fluctuation and error. This study sets the single exponential smoothing factor value to be 0.25. When a smoothing algorithm is applied to a data series, the current smoothing value is affected by all of the formerly observed values; this effect progressively decreases. This method guarantees the forward integrity of the data and maintains a good data processing efficiency. The results of applying the smoothing algorithm are presented in Figure 7. In the time domain, the fluctuations of the signal strengths are remarkably reduced.

4.2. Wireless Signal Propagation Error Reduction Method

The essence of a distance measurement positioning algorithm is that the distance information between the receiver and the transmitter can be computed by using the signal strength. The accuracy of this computation is impacted by the multipath effect in wireless environments, as a result of reflection, diffraction, and interference in indoor settings. We analyse various interference on the signal strength error utilizing the path loss model. We begin with the definition of the signal strength reference attenuation :

According to (12), the expression of the relationship between the distance d and the reference attenuation is

Solving the derivative of the distance about results in

The reference attenuation vector of signal strength received at different positions is set as

The corresponding distance vector of each signal reference attenuation vector iswhere is the distance vector error induced by the environment noise vector error and Due to the environment noise being relatively stable in the adjacent position, in all the positions is approximately equal. The following equation can be obtained from equation (13):

It can be seen from (16) that the distance vector error is exponentially correlated to the signal power attenuation. In order to reduce the distance vector error, a direct mapping between distance and signal power strength should be avoided. Therefore, according to the characteristic of the same environmental factors in the same positions, a difference method is applied (first order) to reduce the multipath effect and, consequently, reduce the environmental noise interference.

Outdoor positioning studies have widely adopted differential positioning technologies. These positioning approaches rely on computations involving two measured values. The values can be collected using two targets and one measuring station, one target and two measuring stations, or one target (measured twice) and one measuring station. With two measured values, the common data items can be removed, which reduces common parameters and errors. Here, we adopt the concept of the outdoor differential positioning method and apply it to our indoor environment. As shown in Figure 8, a schematic for a simple indoor, wireless network system consists of a transmitter and two receivers ( and ). The distances between the transmitter and the receivers are and , respectively; is the distance between the two receivers.

The “free space” electromagnetic wave propagation model is the most basic available. Here, electromagnetic waves emanate along straight lines from a signal source; a spherical space is filled. As shown in Figure 9, according to the Huygens–Fresnel principle, each point on the wave front is a wave source for the secondary radiation of the spherical wave during the transmission of the signal. This wave source is called the secondary wave source. The radiation field at any point in the space is the result of the interference of the waves emitted by the secondary wave sources at any point on any closed curved surface that surrounds the wave surface. Because the secondary wave source at each point on the closed surface reaches the receiving point differently, the magnitude of the signal field strength at the receiving point changes.

Under normal circumstances with no electromagnetic interference, the propagation of wireless signals in the room conforms to the indoor general attenuation model. This model is a general model under the conditions of a signal source and can be used in a typical indoor environment. The environmental path loss information is characterized by the average path loss and the associated shadow attenuation statistics to characterize the loss of the indoor path. The signal strength received by and can be computed using the indoor wireless signal attenuation model:

A first-order differential method is used to eliminate the multipath effect error. Combining (17) with (18) results in

When receivers are in close proximity (i.e., under the small-scale condition), they can be considered to share the same environmental conditions, including the level of multipath effect interference they receive. Hence, when and become closer, the interference related to the multipath effect interference is very similar. This similarity allows for the elimination of normal distribution parameters that are common in both receivers:

From (20), we can obtain the ratio of and :

The power strength of signals collected by receivers is in accordance with (21). Under small-scale conditions, the environmental factor is a constant value for these receivers. Consequently, a differential method can be used to eliminate the common parameters, which avoids the multipath error.

5. The Proposed Differential Positioning Algorithm: Design and Implementation

5.1. Algorithm Design

As shown above, one of the most important things in RFID-based indoor positioning is eliminating noise from receiving signals. And the noise comes from multipath effect of signals. Obviously, the electromagnetic environment indoors is more complex than that outdoors. However, the objects indoors are in the same complex electromagnetic environment. We analysed the loss of path and proposed a method to eliminate the noise.

The deploying of RFID devices is as shown in Figure 10. The RFID tag is stuck to the target, such as book and clothes. And the RFID antennas are installed in the same room with tag. Controlled by the RFID reader, the antennas receive the RFID tag ID as well as the RSSI. When the target is moving in the room, we do not know the position of the target, while the antennas are in a fixed known position.

As shown in Figure 10, there are two antennas and one tag in a room, and the antenna A receives the RSSI value Rssi_A of tag P which is different from the RSSI value received by the antenna B for the reason of different path loss.

The algorithm design draws upon plane geometric and difference localization methods. Beginning with the fundamentals of the plane geometric method, we consider several points on a plane, as shown in Figure 11.

We first consider a simple model. Let point P be the target tag and A and B be antennas. The position of P is P (x, y), and the position of A and B is (−t, 0) and (t, 0), respectively. The X-axis is set using the segment ; the central perpendicular of is set as the Y-axis. According to equation (20), assume that point on the plane satisfies .

It can be obtained from the planar Euclidean distance formula that

When , the simplified formula, a circle trajectory equation, is

As illustrated in Figure 11, satisfies equation (23), where is the radius of the circle.

From equation (24), we can get that the track of is a circle:

Let , we can get that

The trajectory of point satisfies the circle trajectory equation, as shown in Figure 12.

The position O defines the center of the trajectory circle. The trajectory equation defines the line segment to have an inner point and an outer point ; is divided according to , a constant ratio. The diameter of the trajectory circle is the segment . The length of can be obtained using the following equations:

The radius of the circle trajectory half of the diameter is

According to equations (20) and (21), we can find that can be calculated using power of the receiving signal, i.e., the RSSI value. And if we choose more than 3 points to receive the signal, the point P would be on the intersection of two circles, as shown in Figure 13.

However, we assume that all points except P are in the X-axis which may not suit the real scenario.

We then considered a more complex model. As shown in Figure 14, let be the target tag, point A, point B, and point C be the antennas controlled by the RFID reader, and their positions be , , and , respectively. Points A, B, and C are chosen without any constraints. Let be the distance of point A and point B and be the distance of point A and point C. Obviously, and are known.

Let and .

Consider the circle derived from points P, A, and B such that

So,

, then

We get the circle derived from points P, A, and B:

The center of the circle is .

The radius .

And we can get another circle derived from points P, A, and C:

The center of the circle is .

The radius .

According to equations (33) and (34), the intersection points can be solved, which are point P.

About , if , point P is on the mid-vertical line of AB connection.

In summary, simultaneously from all the circles’ equation or lines’ equation, we can get the target point P.

5.2. Algorithm Implementation
5.2.1. Movement Signal Receiver Matrix

In order to obtain the overlapped domain of multiple circle trajectories, multiple signal receivers should be set to collect power strength measurements. Considering the cost and difficulty of deployment, we apply the movement signal receiver method to extend the receiving range of a single signal receiver. This method can result in a reduction in the deployment density of receivers and algorithm cost. As shown in Figure 15, based on the relative movement principle, we make the wireless signal receiver move in a fixed direction [33, 34].

The displacement of the signal receiver can be described in the following equation, where is the displacement of the receiver at the timepoint and is the initial timepoint:

Knowing the initial position of the receiver and migration velocity, we can calculate the displacement of the receiver $R$ at different times using the following equation:

Thus, the coordinates of receivers at different timepoints can be determined. The displacements of moving receivers can be presented by the matrix, which is composed of receivers’ moving positions at different timepoints:

5.2.2. Data Acquisition and Pretreatment

Using the migration receiver matrix to collect the power strength of wireless signals can obtain the signal power strength of different positions, which can effectively reduce the hardware deployment cost and improve the equipment utilization in the premise of ensuring data acquisition quality.

We organize the data in a standardized quadruple: time, strength value, ID, and displacement:

Aiming at the wireless signal noise and errors in the time domain of the receivers at the same position, a smoothing treatment has been done by the designed single exponential smoothing method in order to reduce the time-domain error. The formula is as follows:

By using the single exponential smoothing method for the signal strength of adjacent nodes in the moving receiver matrix, the signal strength deviation caused by noises can be reduced. At this step, the distance ratio in the following equation can be calculated to obtain the circular trajectory of the target:

5.2.3. Heuristic Alternative for Determining a Target Position

As indicated in Section 5.1, one approach to determining a target’s position is to establish and solve a system of circular trajectory equations for the intersection coordinates. However, this is a computationally expensive problem that also relies on the difficult task of sensor deployment in real applications. To reduce the calculation complexity, a Monte Carlo simulation is adopted. The target position’s coordinates are obtained using a fuzzy map-based strategy. The plane is divided into square units () establishing a Cartesian coordinate system (refer to Figure 16) [35].

Each unit area is assessed on whether or not it falls within the generated target circular trajectory; the coordinates of the target circular trajectory are .

Each area is marked as either 0 (it is not within the trajectory) or 1 (it is within the trajectory). In the following equation, is the radius of the -th circle in (34):

This assessment is conducted for each movement of a receiver.

Next, the unit areas within a circular trajectory, marked as 1, are viewed as a fuzzy map. A fuzzy map is generated to represent each movement of a receiver during one cycle.

Hence, the intersection total for each unit area can be counted over a collection of fuzzy maps (k represents the number of receiver movements) as

Once these are counted, heat map can be generated to visualize the results (refer to Figure 17). Here, the area with a higher possibility of containing the target position has a deeper color.

Going beyond a visual inspection, the fuzzy maps can be used to compute the most likely position of the target by solving the intersection coordinates. When solving for the target coordinate, two weights are considered.

The first weight, , reflects the overall, containing density of the number of unit areas that fall within a circular trajectory over all of the movement cycles represented in maps (refer to equation (44)). A higher number of unit areas contained within a trajectory result in a higher density and :

The second weight, , reflects the density of one particular unit area, (refer to equation (45)). Here, is the number of the candidate unit areas connected with the candidate unit area being considered, . The number of candidate unit areas selected from the complete positioning domain is . When the density of the candidate unit area connected with is larger, the weight is also larger:

Using the total weight, is the product of and :

Using the calculated total weights, the target location can be calculated using

6. Algorithm Test and Result Analysis

6.1. Testing Environment and Equipment

As shown in Figure 18, two test spaces are designed in the laboratory. The first space has little environmental interference, whereas the second space has substantial environmental interference. Both of the spaces exceed . Within each space, the target is randomly positioned. The test system moves the wireless receiver along the guide rail (fixed speed) and collects the signal data parameters. The environment factors are set to 1.8 based on experience.

The laboratory space and test equipment utilized in the empirical studies are summarized in this section. The wireless hardware includes Bluetooth and RFID equipment. For Bluetooth testing, the NORDIC nRF51422 processor chip and the Arduino open-source hardware platform are used. For RFID testing, the Impinj R420 (Figure 19) device is used.

As shown in Figure 20, we attached the signal receiver to the motor guide rail. The testing system moved the receiver along the guide rail. The speed is fixed; the testing system pauses this movement once a second to receive the signal.

During the actual operation of the algorithm, the asynchrony of data acquisition at the sensing layer and the time delay of data transmission at the network layer cause the integrity of the standard four-tuple data acquired by the application layer to be not guaranteed. Therefore, integrity checking rules need to be applied at the application layer to ensure that the positioning algorithm calculates the correct result. The steps to apply these rules are as follows: First, the application layers retrieve the data from the message middleware layer and populate an array, with L rows and four columns. Each row stores a signal sample acquired by the reader; the four columns store the standardized quadruple of data, . The two-dimensional array is shown in Figure 21. The RSSI values are in the range .

The system encapsulates the two-dimensional array matrix arranged at each moment into a data packet and performs integrity detection on the two-dimensional array in the generated data packet before calculating the positioning. If the data in the matrix are complete, the difference geometry positioning is performed. If the data in the matrix are incomplete, the data packet is discarded to ensure the reliability s of the indoor positioning algorithm’s output. According to the steps of the differential geometric positioning algorithm, the distance ratio is calculated by the RSSI difference of the target tag when the reader moves at different positions, and the actual position of the tag to be measured is obtained according to the fuzzy map calculation method.

Since the actual data collection rate of position location technologies (e.g., RFID) is at a very high level, it is necessary to use a sliding window in the message middleware layer to organize the collected data packets for efficient processing. The test system sets as the data collection interval. Within one window, only the data packets with the first time stamp are initially considered; if these data are complete, the algorithm calculation is performed. Otherwise, the first set of data is discarded and the second set of data in the entire time window is considered.

6.2. Experimental Design and Discussion of the Results
6.2.1. Designing the Laboratory Test Spaces

(1)Small test area: as shown in Figure 18, there is a small test area. It is a narrow corridor full of debris and a typical indoor environment full of noise signals. The area is 4.8 m in length, 3.5 m in width, and 3 m in height. In the area, we test the RFID-based indoor positioning method we proposed to measure the accuracy of the method.(2)Large test area: as shown in Figure 22, we simulated two scenarios in the same space in the laboratory. The area is 8 m in length, 7 m in width, and 3 m in height. We chose the area for the purpose of simulating the warehouse that is full of shelves to put something such as books, pharmaceutical supplies, and mechanical components. The positioning strategy can be effectively applied to the aforementioned or similar scenarios. Using the guide rail instead of multiple RFID readers in a scene has the following advantages: (1) The result of using guide rail measurement is robust. The result of continuous measurement has better accuracy than that of discrete measurement after smoothing. (2) The guide rail can effectively save space. In the actual scene, multiple RFID readers may be difficult to deploy and distributed readers may bring further complex processing in collaboration. (3) In addition to space savings, the cost of a single guide rail is lower than that of multiple RFID readers economically. Therefore, the following experiments can be used to simulate the actual large-scale scene.

Figure 22(a) simulates the scenario which has no obstacle in the space. And in Figure 22(b), we put some high plants to simulate the scenario which has some obstacles in the space. Both of the spaces exceed . Within each space, the target is randomly positioned. The test system moves the wireless receiver along the guide rail (fixed speed) and collects the signal data parameters. The environment factors are set to 1.8 based on experience.

For measuring the accuracy of the algorithm, the RMSE is computed using the following equation (48), where are the real coordinates of the target and are the computed results using the proposed algorithm:

6.2.2. Assessing the Accuracy of the Proposed Algorithm

(1)Small area test: the experiments in this area are used to verify the accuracy and feasibility of the algorithm. As shown in Figure 18, we deployed four antennas in the corridor, placed an RFID tag in the area, and used one reader to receive the RFID signal. The received signal is shown in Figure 23, where the same antenna continuously receives multiple data. Because the tag is static in the area, we assume that the first data are the earliest one among the data received by each antenna continuously. Then, according to the time sequence, the tag position is processed and calculated according to the previous method.After getting the tag position, the deviation between the calculated value and the actual position is shown in Figure 24, and the RMSE is 0.20. The test results show that the proposed indoor location algorithm is effective and has high accuracy in static tags.(2)Large area test: to evaluate the accuracy of our algorithm, we collect data from 30 experimental runs for both tests 1 and 2, using both Bluetooth and RFID technologies (120 runs in total). The RMSE is computed to assess the accuracy. The results are illustrated in Figure 25.

Table 2 presents a summary of the experimental results. The average error in our experiments ranges from 46 to 62 cm, achieving approximately 55 cm overall, spanning the two distinct test spaces and position location technologies. Its accuracy is better in the environment with little interference (test 1), which is to be expected. Examining the average error results in the environment with substantial interference (test 2), the algorithm performs quite well. In addition, the variance results are quite low which indicates the algorithm is stable.

6.2.3. Comparing the Accuracy of the Proposed Algorithm

The accuracy of the proposed algorithm is further assessed in a comparative experiment involving two existing approaches: the LANDMARC and trilateration positioning algorithms. In this experiment, the test 2 area (substantial environmental interference) is used; we collect data from 30 experimental runs, using RFID and Bluetooth devices and all three algorithms (180 runs in total). Figure 26 illustrates the results using the RFID technology, and Figure 27 presents the results using Bluetooth.

The experimental results using the RFID technology are summarized in Table 3, and Table 4 presents the results using the Bluetooth technology.

The results indicate the proposed algorithm is more accurate than the trilateration positioning and LANDMARC positioning approaches in the test area with substantial environmental interference. The proposed algorithm achieves an average RMSE that is less than 0.65 m in the indoor environment. Comparatively, the error of the proposed approach is much lower than that of both the trilateration positioning algorithm (approximately 20% its error) and the LANDMARC positioning algorithm (approximately 30% of its error). In addition, the comparison of the variance results indicates the proposed algorithm also offers better stability than the other two approaches in this study.

7. Conclusion and Future Work

A novel positioning algorithm is proposed in this work for use in indoor environments with wireless communication. The algorithm is designed using a plane geometric method and difference localization theory. The algorithm is implemented; its accuracy and adaptability to different location position technologies (RFID and Bluetooth) are empirically evaluated in two distinct test environments. Furthermore, in a comparative evaluation involving established trilateration positioning and LANDMARC positioning approaches, the proposed algorithm achieves the best accuracy while also providing stability in the results. The proposed algorithm can also help reduce the deployment cost by adopting the movement antenna matrix method and reducing the number of sensors needed, thus improving its feasibility for use in real-world applications.

There are many interesting directions for the future work. Investigating further improvements to the accuracy of the proposed algorithm is planned. For example, one improvement is to replace the signal strength parameter, RSSI, with a probability parameter. This may be accomplished by using a Gaussian distribution model to compute the probability of a target position. A second direction is to extend the approach and the test system architecture to also support access to geographic data. This extension would support a combination of real geographic data and indoor location positioning capabilities, which may be valuable for developing practical systems.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Disclosure

This paper is an extended version of a conference paper, which was published at the 12th International Conference on Wireless Algorithms, Systems, and Applications (WASA 2017), named “Design and Realization of an Indoor Positioning Algorithm Based on Differential Positioning Method.” The funders had no role in the design of this study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Conflicts of Interest

The authors declare no conflicts of interest.

Authors’ Contributions

Siye Wang and Chang Ding conceived the presented idea, developed the theory, and performed the computations. Chang Ding and Yanfang Zhang conducted the experiment to verify the idea. Shaoyi Zhu and Yue Cui applied the proposed differential position algorithm to a software program and collected the experiment data from the RFID device and Bluetooth device, respectively. Yanfang Zhang carried out the experiment about the relationship between RSSI and distance. Weiqing Huang and Jianguo Jiang helped supervise the project. Siye Wang and Chang Ding wrote the original draft in consultation with Weiqing Huang and Jianguo Jiang. Junyu Lin contributed to the interpretation of the results. All authors provided critical feedback and helped shape the research, analysis, and manuscript.

Acknowledgments

This research was funded by the National Key Research and Development Project under grant no. 2018YFF0301202.