Research Progress of Wireless Positioning Methods Based on RSSI

: Location-based services are now playing an integral role in the development of emerging industries, such as the Internet of Things, artificial intelligence and smart cities. Although GPS, Beidou and other satellite positioning technologies are becoming more and more mature, they still have certain limitations. In order to meet the needs of high-precision positioning, wireless positioning is proposed as a supplementary technology to satellite positioning, in which the Received Signal Strength Indication (RSSI) is one of the most popular positioning methods. In this paper, the application scenarios, evaluation methods and related localization methods of wireless positioning based on RSSI are studied. Secondly, the relevant optimization methods are analyzed and compared from different angles, and the methods of RSSI data acquisition are described. Finally, the existing problems and future development trends in RSSI positioning methods are expounded, which has certain reference significance for further research on RSSI localization.


Introduction
With the rapid development of artificial intelligence and information technology, location-based services have become one of the basic needs of people's daily life [1].As a mature positioning technology in an outdoor environment, the Global Navigation Satellite System (GNSS) has achieved sub-meter positioning accuracy, which can provide more accurate positioning services [2].However, GNSS and the Global Positioning System (GPS) are still unable to obtain accurate positions in an indoor environment [3].At the same time, people's increasingly frequent indoor activities create a stronger demand for wireless positioning technology [4].Different from the outdoor environment, indoor signal is severely attenuated due to factors such as occlusion, which is not conducive to achieving more accurate positioning [5].Therefore, wireless positioning using ultrasonic, WIFI, Bluetooth, radio frequency identification, infrared and other technologies has gradually become the focus of attention [6].As a common measurement index, RSSI can realize positioning without additional measurement means, such as laser, camera, magnetic, ultrasonic acoustic sensor or lidar [7], thus reducing positioning cost and energy consumption [8].However, the original RSSI signal from the wireless access point is susceptible to obstacles, signal fluctuations, noise, environmental changes, non-line-of-sight communication, multipath interference, etc. [9][10][11].
The main contributions of this article are as follows: • The commonly used RSSI positioning methods, data acquisition methods and evaluation methods are summarized, which provides convenience for beginners.• The improved methods based on RSSI positioning are analyzed, which points out the right direction for researchers.
The RSSI positioning method is more popular than other positioning methods due to its low cost and low power consumption [12].The main contents and contributions of the thesis are organized and shown below.In Section 1, the Wireless positioning application scenarios are reviewed.In Section 2, a more detailed description of the evaluation method is given based on wireless positioning.In Section 3, The common positioning methods are described in detail.In Section 4, the optimization method for wireless positioning is mainly introduced.In Section 5, the data acquisition methods are explained.Finally, the challenges and future development trends of wireless positioning are summed up in Sections 6 and 7, respectively.The aforementioned information can offer convenience for novices and serve as a guide for further research.

Application
The technology of location-based services has entered every aspect of people's lives and is quietly changing every aspect.Wireless positioning technology, as a supplement to satellite positioning, has been of wide concern.Figure 1 shows the application scenario of wireless positioning technology.It can be seen from Figure 1 that wireless positioning technology has been widely used in the fields of precision advertising push, emergency rescue, emergency evacuation, auxiliary architectural design, intelligent transportation, etc. [13][14][15], to make up for the shortcomings of satellite positioning.As the output data is used by certain devices for further applications, the performance of the devices will be degraded if the positioning accuracy is not high enough.For example, for safety management at construction sites, researchers have developed hazard warning systems that combine positioning, imaging, and alerting techniques to warn workers when they are approaching dangerous areas.If the positioning accuracy is low, false or delayed, alarms may occur [16].

•
The commonly used RSSI positioning methods, data acquisition methods and evaluation methods are summarized, which provides convenience for beginners.

•
The improved methods based on RSSI positioning are analyzed, which points out the right direction for researchers.
The RSSI positioning method is more popular than other positioning methods due to its low cost and low power consumption [12].The main contents and contributions of the thesis are organized and shown below.In Section 1, the Wireless positioning application scenarios are reviewed.In Section 2, a more detailed description of the evaluation method is given based on wireless positioning.In Section 3, The common positioning methods are described in detail.In Section 4, the optimization method for wireless positioning is mainly introduced.In Section 5, the data acquisition methods are explained.Finally, the challenges and future development trends of wireless positioning are summed up in Section 6 and Section 7, respectively.The aforementioned information can offer convenience for novices and serve as a guide for further research.

Application
The technology of location-based services has entered every aspect of people's lives and is quietly changing every aspect.Wireless positioning technology, as a supplement to satellite positioning, has been of wide concern.Figure 1 shows the application scenario of wireless positioning technology.It can be seen from Figure 1 that wireless positioning technology has been widely used in the fields of precision advertising push, emergency rescue, emergency evacuation, auxiliary architectural design, intelligent transportation, etc. [13][14][15], to make up for the shortcomings of satellite positioning.As the output data is used by certain devices for further applications, the performance of the devices will be degraded if the positioning accuracy is not high enough.For example, for safety management at construction sites, researchers have developed hazard warning systems that combine positioning, imaging, and alerting techniques to warn workers when they are approaching dangerous areas.If the positioning accuracy is low, false or delayed, alarms may occur [16].

Evaluation Methods
Accuracy is an important index that reflects the quality of the output position data.The Euclidean distance between the estimated and the actual is usually used as a measure of the positioning accuracy [17], which is detailed in Equation (1): in which, x, y, z, respectively, represent the coordinates of the measured value in threedimensional space, and x  , y  , z  represent the real coordinates in three-dimensional space, which is similar to the expression of absolute error in the following Equation (2):

Evaluation Methods
Accuracy is an important index that reflects the quality of the output position data.The Euclidean distance between the estimated and the actual is usually used as a measure of the positioning accuracy [17], which is detailed in Equation (1): in which, x, y, z, respectively, represent the coordinates of the measured value in threedimensional space, and x, y, z represent the real coordinates in three-dimensional space, which is similar to the expression of absolute error in the following Equation ( 2): where p denotes the measured value and p denotes the true value.The average error is the result of averaging the Euclidean distance between the estimated value and the actual value after multiple measurements, as shown in Equation (3).Both this and distance root mean square can effectively measure the validity of the algorithm: (3) Among these, x i , y i , and z i denote three values of the three-dimensional space coordinates of the measured value, and x, y, and z denote three values of the three-dimensional space coordinates of the true value, respectively.In addition to the average error and the root mean square of the distance, the effectiveness of the algorithm can be evaluated using In addition, there are also variance, standard deviation [18] and correlation coefficient for evaluating the positioning effect, as shown in Equations ( 4)- (6). Variance: Standard deviation: Correlation coefficient: The metrics for evaluating the positioning effect also encompass power consumption, cost, and algorithm complexity.The power consumption is mainly generated by communication, and algorithms with high complexity also consume energy [19].Cost is one of the decisive criteria for choosing an indoor positioning system, mainly used to measure the total cost in money and time resources required to achieve the acquisition, establishment and maintenance stages of indoor positioning services.The coverage rate can also be counted as a part of the cost.Equation ( 7) is the coverage rate calculation formula, which can also reduce the positioning cost by covering a larger space with fewer devices [20].The response time for positioning is also an important indicator of the positioning effect.A longer response time may lead to a delay in the positioning output result, thus affecting the positioning effect [21].

Positioning Method
Ranging-based positioning mainly utilizes the principle that RSSI decreases with increase in distance; from Equation (1), it can be seen that the difficulty in estimating the coordinates of the test point using this method lies in the accurate calculation of the distance between the test point and the reference point, otherwise, large estimation errors will be caused.Signal propagation in the medium is often accompanied by scattering, diffraction, reflection, etc.This results in signal fluctuations as shown in Figure 2, which are extremely unfavorable to positioning.Therefore, a large number of studies are devoted to improving the accuracy of the measurement of distance [22].Figure 2 shows the relationship between WI-FI RSSI and the distance of the tested mobile phone.According to previous studies, it can be seen that the relationship is as follow in Equations ( 8) and ( 9) [23].

Positioning Method
Ranging-based positioning mainly utilizes the principle that RSSI decreases with increase in distance; from Equation (1), it can be seen that the difficulty in estimating the coordinates of the test point using this method lies in the accurate calculation of the distance between the test point and the reference point, otherwise, large estimation errors will be caused.Signal propagation in the medium is often accompanied by scattering, diffraction, reflection, etc.This results in signal fluctuations as shown in Figure 2, which are extremely unfavorable to positioning.Therefore, a large number of studies are devoted to improving the accuracy of the measurement of distance [22].Figure 2 shows the relationship between WI-FI RSSI and the distance of the tested mobile phone.According to previous studies, it can be seen that the relationship is as follow in Equations ( 8) and ( 9) [23].
where d denotes the distance to be estimated, and P(d0) is the RSSI measurement of d0 at the reference distance, which can usually be d0 as 1 m [24].
The distance from the point to be measured to the reference point can also be calculated using the Time of Arrival (ToA) method as in Equation (10) [25]: where c is the electromagnetic wave propagation speed m/s, and t is the time at which the transmitting node sends the electromagnetic signal to reach the receiving node; it is known from the method of calculating the distance by the Time of Arrival that it requires high time synchronization between the transmitting node and the receiving node.The probability density function of Pij for measuring the strength of the signal sent by node i to node j can be expressed as [26]: One step further: where d denotes the distance to be estimated, and P(d 0 ) is the RSSI measurement of d 0 at the reference distance, which can usually be d 0 as 1 m [24].
The distance from the point to be measured to the reference point can also be calculated using the Time of Arrival (ToA) method as in Equation (10) [25]: where c is the electromagnetic wave propagation speed 3 × 10 8 m/s, and t is the time at which the transmitting node sends the electromagnetic signal to reach the receiving node; it is known from the method of calculating the distance by the Time of Arrival that it requires high time synchronization between the transmitting node and the receiving node.The probability density function of P ij for measuring the strength of the signal sent by node i to node j can be expressed as [26]: in which d ij is the maximum likelihood estimation of the distance d ij given the received signal strength p ij .In order to better describe the positioning, the fixed WIFI and other devices in the building are usually expressed as "access points" or "anchor nodes", from which the mobile device obtains the RSSI value [27].Figure 3 shows the basic architecture of RSSI-based positioning.The basic architecture of RSSI-based positioning can be categorized into two types.One is to complete RSSI data collection on the mobile and carry out the position estimation on an external server, as shown in Figure 3a.The other is to complete RSSI data collection and position estimation directly on the mobile, as shown in Figure 3b.
in which ij d  is the maximum likelihood estimation of the distance dij given the received signal strength pij.
In order to better describe the positioning, the fixed WIFI and other devices in the building are usually expressed as "access points" or "anchor nodes", from which the mobile device obtains the RSSI value [27].Figure 3 shows the basic architecture of RSSIbased positioning.The basic architecture of RSSI-based positioning can be categorized into two types.One is to complete RSSI data collection on the mobile and carry out the position estimation on an external server, as shown in Figure 3a.The other is to complete RSSI data collection and position estimation directly on the mobile, as shown in Figure 3b.

Based on Ranging
Based on the exponential attenuation of RSSI with the change in distance, methods including trilateral positioning, triangulation positioning and arrival time difference are derived.These methods are easy to compute but are usually more significantly affected by issues such as signal multipath and non-line-of-sight distance [28].

Trilateral Positioning Method
Figure 4 shows the schematic diagram of trilateral positioning [29].Known (x1, y1), (x2, y2), (x3, y3) coordinates of three points and (xi, yi) to their distance were d1, d2, d3.According to the Euler distance calculation method, the equations shown in 11 can be listed, and then the coordinates (xi, yi) can be obtained by solving the equations.In [30], the RSSI signal of BLE is used to adopt trilateral positioning and mean filtering to design and develop an Android application for positioning navigation, which can be used in libraries to help visitors quickly find the position of the shelf where the desired book is located.
In Equation (11), the distance from ( , ) i i x y to the three points can be established by modeling between RSSI and distance.

Based on Ranging
Based on the exponential attenuation of RSSI with the change in distance, methods including trilateral positioning, triangulation positioning and arrival time difference are derived.These methods are easy to compute but are usually more significantly affected by issues such as signal multipath and non-line-of-sight distance [28].

Trilateral Positioning Method
Figure 4 shows the schematic diagram of trilateral positioning [29].Known (x 1 , y 1 ), (x 2 , y 2 ), (x 3 , y 3 ) coordinates of three points and (x i , y i ) to their distance were d 1 , d 2 , d 3 .According to the Euler distance calculation method, the equations shown in 11 can be listed, and then the coordinates (x i , y i ) can be obtained by solving the equations.In [30], the RSSI signal of BLE is used to adopt trilateral positioning and mean filtering to design and develop an Android application for positioning navigation, which can be used in libraries to help visitors quickly find the position of the shelf where the desired book is located.
In Equation (11), the distance from (x i , y i ) to the three points can be established by modeling between RSSI and distance.

Triangulation Method
The triangulation positioning method utilizes the geometric properties of triangles to position the target and estimate the unknown point coordinates by acquiring the angle between the position node and the given AP via the sensor [24].Figure 5 shows the principal diagram of triangulation.It is known that the coordinates of AP1 and AP2 are (x1, y1) and (x2, y2), the equations shown in Equation ( 12) can be listed according to the geometric relationship, then the coordinates of the position nodes can be solved by Equation (12).

Triangulation Method
The triangulation positioning method utilizes the geometric properties of triangles to position the target and estimate the unknown point coordinates by acquiring the angle between the position node and the given AP via the sensor [24].Figure 5 shows the principal diagram of triangulation.It is known that the coordinates of AP1 and AP2 are (x 1 , y 1 ) and (x 2 , y 2 ), the equations shown in Equation ( 12) can be listed according to the geometric relationship, then the coordinates of the position nodes can be solved by Equation ( 12).
geometric relationship, then the coordinates of the position nodes can be solved by Equation (12).
Assuming one of the APs as the coordinate origin, the following equation can be simplified to: Triangulation utilizes the angle of arrival of the radio frequency signal observed by the receiver, which does not require synchronization between the transmitter and the receiver but requires the use of an antenna array at each receiver for DOA estimation, which increases positioning cost and requires greater power consumption [31].

Time Difference of Arrival
Figure 6 shows the schematic diagram of time-of-arrival position estimation.Time Difference of Arrival (TDoA) is a modified version of ToA.Instead of measuring the time it takes for the signal to reach the target position from the AP, this method measures the time difference between the arrival of the signal and the target position.It is relatively easy to implement since only relative time needs to be measured.However, the Line of Sight (LOS) condition is still preferred for TDoA.The algorithm that combines TDoA with Assuming one of the APs as the coordinate origin, the following equation can be simplified to: Triangulation utilizes the angle of arrival of the radio frequency signal observed by the receiver, which does not require synchronization between the transmitter and the receiver but requires the use of an antenna array at each receiver for DOA estimation, which increases positioning cost and requires greater power consumption [31].

Time Difference of Arrival
Figure 6 shows the schematic diagram of time-of-arrival position estimation.Time Difference of Arrival (TDoA) is a modified version of ToA.Instead of measuring the time it takes for the signal to reach the target position from the AP, this method measures the time difference between the arrival of the signal and the target position.It is relatively easy to implement since only relative time needs to be measured.However, the Line of Sight (LOS) condition is still preferred for TDoA.The algorithm that combines TDoA with Angle of Arrive (AoA) is also an example of hybridization of indoor positioning principles [32].The computational equations are shown in Equation (13).
Electronics 2024, 13, x FOR PEER REVIEW 7 of 20 Angle of Arrive (AoA) is also an example of hybridization of indoor positioning principles [32].The computational equations are shown in Equation (13).

Based on Non-Ranging
The positioning method based on RSSI distance measurement mainly utilizes the variation of RSSI propagation in space, so its performance in line-of-sight range is better than that in non-line-of-sight range.As the non-line-of-sight distance is blocked by obstacles and other factors, RSSI will experience obvious attenuation when crossing the barrier, resulting in a decline in positioning accuracy.On this basis, methods such as the approximation method and the database matching method have been proposed successively [33].The database matching method mainly refers to the application of machine learning, neural network and other technologies in wireless positioning.

Based on Non-Ranging
The positioning method based on RSSI distance measurement mainly utilizes the variation of RSSI propagation in space, so its performance in line-of-sight range is better than that in non-line-of-sight range.As the non-line-of-sight distance is blocked by obstacles and other factors, RSSI will experience obvious attenuation when crossing the barrier, resulting in a decline in positioning accuracy.On this basis, methods such as the approximation method and the database matching method have been proposed successively [33].The database matching method mainly refers to the application of machine learning, neural network and other technologies in wireless positioning.

Approximation
Figure 7 shows the principal diagram of the approximation of positioning.Let the corresponding position coordinates of three APs be known as (x 1 , y 1 ), (x 2 , y 2 ) and (x 3 , y 3 ) respectively, and the unknown point be (x i , y i ).According to the approximation, it is judged which AP (x i , y i ) is within the coverage of, then the coordinates of the unknown point are considered to be approximated as the position of the coordinate point of that AP [34].The schematic diagram of the approximation positioning is shown in Figure 7.

Based on Non-Ranging
The positioning method based on RSSI distance measurement mainly utilizes the variation of RSSI propagation in space, so its performance in line-of-sight range is better than that in non-line-of-sight range.As the non-line-of-sight distance is blocked by obstacles and other factors, RSSI will experience obvious attenuation when crossing the barrier, resulting in a decline in positioning accuracy.On this basis, methods such as the approximation method and the database matching method have been proposed successively [33].The database matching method mainly refers to the application of machine learning, neural network and other technologies in wireless positioning.

Approximation
Figure 7 shows the principal diagram of the approximation of positioning.Let the corresponding position coordinates of three APs be known as (x1, y1), (x2, y2) and (x3, y3) respectively, and the unknown point be (xi, yi).According to the approximation, it is judged which AP (xi, yi) is within the coverage of, then the coordinates of the unknown point are considered to be approximated as the position of the coordinate point of that AP [34].The schematic diagram of the approximation positioning is shown in Figure 7.

Database Matching Method
Fingerprint positioning methods can be generally divided into offline and online stages.The offline stage is used to establish a fingerprint map/database [35], and the online stage is the positioning stage, namely, measurement and matching.The positioning area is artificially set up with grid points and the RSSI values corresponding to different WI-FI are measured for each point, i.e., Equation ( 14) is obtained.After all points are measured,

Database Matching Method
Fingerprint positioning methods can be generally divided into offline and online stages.The offline stage is used to establish a fingerprint map/database [35], and the online stage is the positioning stage, namely, measurement and matching.The positioning area is artificially set up with grid points and the RSSI values corresponding to different WI-FI are measured for each point, i.e., Equation ( 14) is obtained.After all points are measured, the fingerprint matrix as shown in Equation ( 15) is obtained.This process is called the fingerprint database establishment.
In the online stage, the MP i is matched with each point in the fingerprint database to determine the final positioning coordinates by measuring the measurement points MP i = (RSSI i 1 , RSSI i 2 , . . ., RSSI i n ) [36]. Figure 8 shows the schematic diagram of fingerprint positioning.The most commonly used positioning algorithm in fingerprint positioning is the KNN algorithm; fingerprint points are designed in the offline phase and the RSSI data of the AP is obtained at each fingerprint point to build a fingerprint database.The online phase matches the measurement data obtained from the point to be measured with the fingerprint library, calculates the Euclidean distance from each reference point to the point to be measured, sets the value of k, selects the k coordinates closest to MP i , and ultimately obtains the coordinates of the point to be measured through Equation ( 17) [37].
fingerprint library, calculates the Euclidean distance from each reference point to the point to be measured, sets the value of k, selects the k coordinates closest to MPi, and ultimately obtains the coordinates of the point to be measured through Equation ( 17) [37]. ...

Optimization Methods
The optimization methods for wireless positioning technology can be divided into software optimization and hardware optimization.Figure 9 shows the common wireless positioning optimization method diagram.Hardware optimization commonly includes hardware device selection and parameter optimization, while software optimization methods are mainly related to algorithm optimization, including distance measurement method optimization, database matching method optimization, combination optimization methods, etc.

Optimization Methods
The optimization methods for wireless positioning technology can be divided into software optimization and hardware optimization.Figure 9 shows the common wireless positioning optimization method diagram.Hardware optimization commonly includes hardware device selection and parameter optimization, while software optimization methods are mainly related to algorithm optimization, including distance measurement method optimization, database matching method optimization, combination optimization methods, etc. to be measured, sets the value of k, selects the k coordinates closest to MPi, and ultimately obtains the coordinates of the point to be measured through Equation ( 17) [37]. ...

Optimization Methods
The optimization methods for wireless positioning technology can be divided into software optimization and hardware optimization.Figure 9 shows the common wireless positioning optimization method diagram.Hardware optimization commonly includes hardware device selection and parameter optimization, while software optimization methods are mainly related to algorithm optimization, including distance measurement method optimization, database matching method optimization, combination optimization methods, etc.

Optimization of Hardware Device
The selection of hardware devices in the positioning method based on RSSI includes WIFI, BLE, ZigBee, LoRA, etc.In complex environments, different types of hardware devices can be used to effectively improve the accuracy of positioning [38], and the positioning effect can also be optimized by exploring ways to support different communication protocols, communication frequencies, and communication devices.
In [39], examining the difference in signal characteristics between 2.4 GHz and 5 GHz, the influence of combined frequency of WIFI 2.4 GHz and 5 GHz on positioning accuracy was studied, and the results showed that the success rate of dual-frequency was higher than that of single-frequency.In [40], a 2.4 GHz ISM band LoRa indoor positioning method based on RSSI was proposed.By changing the configuration parameters of LoRa, this method used Matlab to fit the RSSI path loss function of different indoor environments and realized location estimation by using trilateral positioning.LOS and Non-Line of Sight (NLOS) positioning errors under different configuration parameters are analyzed.
In [41], BLE as a beacon is used to explore the differences that exist in the measurement RSSI of different brands of cell phones from the client phone, a new Statistic Similarity Loss (SSL) is proposed to enable the model to be generalized to an unknown phone using a semi-supervised learning method, which was demonstrated by testing the model on a known iPhone XR and an unknown Huawei Mate20 Pro phone; the error of the iPhone XR reached 0.84 m, and Mate20 Pro reduced from 2.62 m to 1.63 m.
In addition, two or more types of equipment are mixed to make full use of the complementary advantages between various devices to achieve the purpose of improving positioning accuracy.Taking WIFI as an example, in [42], a location method combining WIFI and BLE was proposed.In [43], a multi-fusion positioning technique based on convolutional neural network by mixing WIFI with BLE and pedestrian trajectory projection is put forward.Both of the above methods achieved relatively good positioning results.Common hardware optimization methods are shown in Figure 10.

analyzed.
In [41], BLE as a beacon is used to explore the differences that exist in the measurement RSSI of different brands of cell phones from the client phone, a new Statistic Similarity Loss (SSL) is proposed to enable the model to be generalized to an unknown phone using a semi-supervised learning method, which was demonstrated by testing the model on a known iPhone XR and an unknown Huawei Mate20 Pro phone; the error of the iPhone XR reached 0.84 m, and Mate20 Pro reduced from 2.62 m to 1.63 m.
In addition, two or more types of equipment are mixed to make full use of the complementary advantages between various devices to achieve the purpose of improving positioning accuracy.Taking WIFI as an example, in [42], a location method combining WIFI and BLE was proposed.In [43], a multi-fusion positioning technique based on convolutional neural network by mixing WIFI with BLE and pedestrian trajectory projection is put forward.Both of the above methods achieved relatively good positioning results.Common hardware optimization methods are shown in Figure 10.

Optimization Based on Ranging Methods
The optimization of RSSI's range-based positioning method is usually employed to improve the signal propagation function and geometric positioning, which is obviously affected by the environment and is mainly applied in the LOS range.The general RSSI path propagation function optimization plot is given in Figure 11.Through the research into the RSSI propagation law, the fitting method is selected and designed to achieve the purpose of improving the fitting accuracy.The commonly used fitting methods are least squares fitting, polynomial fitting, logarithmic fitting, etc.
In [44], the RSSI of Bluetooth iBeacon was used for positioning.This method determines the signal propagation model parameters of iBeacon by collecting RSSI values

Optimization Based on Ranging Methods
The optimization of RSSI's range-based positioning method is usually employed to improve the signal propagation function and geometric positioning, which is obviously affected by the environment and is mainly applied in the LOS range.The general RSSI path propagation function optimization plot is given in Figure 11.Through the research into the RSSI propagation law, the fitting method is selected and designed to achieve the purpose of improving the fitting accuracy.The commonly used fitting methods are least squares fitting, polynomial fitting, logarithmic fitting, etc.In [45], the attenuation of RSSI with the change in test distance was studied, and further confirmed that RSSI meets the Gaussian distribution by using the Q-Q diagram and the P-P diagram On this basis, the function of 1st, 2nd and 3rd degree polynomial fitting RSSI with the change of test distance was studied using logarithm as the variable.Then, the centroid algorithm is proposed through the end point optimization.In [46], it was analyzed tha the RSSI distribution has a higher accuracy at a small distance, while the ToA method has a higher accuracy when RSSI is at a long distance.Therefore, a wireless sensor positioning method for TOA-RSSI for a 2D environment was proposed, and the analysis showed tha the method had a significant effect.
In [47], wireless positioning technology was applied to UAV (unmanned aeria vehicle) landing, and a prototype UAV ground landing station based on BLE-RSSI was proposed in combination with maximum likelihood estimation and the trilingua measurement algorithm.The results showed that BLU-RSSI could determine the location target more accurately when the UAV was within 5 m of the ground landing station platform.

Optimization Based on Database Matching Methods
Due to the complexity of RSSI measurement and collection, data sets are usually unevenly distributed, which is mainly manifested in distant points have similar RSS values [48], which is one of the main reasons for inaccurate positioning of database matching methods.The optimization of database matching method is usually divided into offline database establishment optimization and online database matching optimization.
In [49], an improved KNN fingerprint location method based on error propagation theory was proposed by analyzing the uncertainty of RSSI measurement, and the effectiveness of the algorithm was verified on the open dataset.In [50], the influence o different K values of KNN and WKNN on WIFI fingerprint positioning system was explored, and the optimal fingerprint positioning parameters using the NN algorithm were obtained.
In [51], a wireless positioning method was proposed to quantify and identify AP by introducing non-uniform quantization RSSI entropy into KNN positioning.The construction of an offline fingerprint database selects APs with obvious signa performance differences.The entropy weight Euclidean distance is used as the weight o In [44], the RSSI of Bluetooth iBeacon was used for positioning.This method determines the signal propagation model parameters of iBeacon by collecting RSSI values at different distances and performs Kalman filtering on RSSI signals to suppress the signal oscillation and drift.Finally, the weighted least square method and four boundary positioning methods are used to estimate the position of the target object.In [45], the attenuation of RSSI with the change in test distance was studied, and further confirmed that RSSI meets the Gaussian distribution by using the Q-Q diagram and the P-P diagram.On this basis, the function of 1st, 2nd and 3rd degree polynomial fitting RSSI with the change of test distance was studied using logarithm as the variable.Then, the centroid algorithm is proposed through the end point optimization.In [46], it was analyzed that the RSSI distribution has a higher accuracy at a small distance, while the ToA method has a higher accuracy when RSSI is at a long distance.Therefore, a wireless sensor positioning method for TOA-RSSI for a 2D environment was proposed, and the analysis showed that the method had a significant effect.
In [47], wireless positioning technology was applied to UAV (unmanned aerial vehicle) landing, and a prototype UAV ground landing station based on BLE-RSSI was proposed in combination with maximum likelihood estimation and the trilingual measurement algorithm.The results showed that BLU-RSSI could determine the location target more accurately when the UAV was within 5 m of the ground landing station platform.

Optimization Based on Database Matching Methods
Due to the complexity of RSSI measurement and collection, data sets are usually unevenly distributed, which is mainly manifested in distant points have similar RSSI values [48], which is one of the main reasons for inaccurate positioning of database matching methods.The optimization of database matching method is usually divided into offline database establishment optimization and online database matching optimization.
In [49], an improved KNN fingerprint location method based on error propagation theory was proposed by analyzing the uncertainty of RSSI measurement, and the effectiveness of the algorithm was verified on the open dataset.In [50], the influence of different K values of KNN and WKNN on WIFI fingerprint positioning system was explored, and the optimal fingerprint positioning parameters using the NN algorithm were obtained.
In [51], a wireless positioning method was proposed to quantify and identify AP by introducing non-uniform quantization RSSI entropy into KNN positioning.The construction of an offline fingerprint database selects APs with obvious signal performance differences.The entropy weight Euclidean distance is used as the weight of the similarity between the online RSSI vector and the offline reference point, and the position estimation coordinates are output.This method can reduce the storage overhead and simultaneously improve the positioning accuracy.In [52], an Empirical Mode Decomposition Threshold (EMDT) was proposed to solve the problem of RSSI signal fluctuation.The method first preprocesses the RSSI fingerprint data using the EMDT method and proposes an improved WKNN algorithm, which first obtains the K initial RPs by WKNN, then calculates the center coordinates of the K RPs and the Euclidean distance d ic from each coordinate to the center coordinate.The threshold value D is set.When d ic > D, the point is considered to be a deviation point, which is culled to obtain the closest coordinates distance of K ′ .Then, the position of the center point is calculated again along with the distance d ′ ic to the center point of the new K ′ coordinate to derive the new weighted Equation (17).Finally, the improved WKNN method is used for location estimation.
In which, In [53], the quadtree algorithm is used to divide the location region in the offline stage and the partitioned data is stored in the form of grid.The online stage utilizes quad-tree search locking to narrow down the positioning range and analyzes the RSSI propagation distance differences in different directions.Taking Figure 12 as an example, it can be seen that the change in RSSI of AP in the x-direction is significantly larger than the change in the y-direction.Based on this, the RSSI Euclidean distance is improved by using the correlation coefficient to determine the nearest K reference points, combined finally with the idea of entropy weight for positioning.Unlike the previous method in [53] where regions are divided, in [54] the K-Means algorithm was used to divide the environment into different logarithmic distance propagation models in order to better characterize the indoor environment, and Bayesian location estimation was improved to obtain positioning results.The results showed that this method was superior to traditional Bayesian location estimation.
that the change in RSSI of AP in the x-direction is significantly larger than the change in the y-direction.Based on this, the RSSI Euclidean distance is improved by using the correlation coefficient to determine the nearest K reference points, combined finally with the idea of entropy weight for positioning.Unlike the previous method in [53] where regions are divided, in [54] the K-Means algorithm was used to divide the environment into different logarithmic distance propagation models in order to better characterize the indoor environment, and Bayesian location estimation was improved to obtain positioning results.The results showed that this method was superior to traditional Bayesian location estimation.

Combined Optimization
Although a single wireless positioning method has been well developed, it still has certain limitations [55].The combination positioning method can fully consider the advantages of each single positioning method to design an effective fusion algorithm to improve the positioning accuracy.

Combined with Inertial Sensor
The inertial sensor can calculate the navigation position by measuring motion acceleration, gyroscope, etc., which is one of the more common optimization methods combined with RSSI positioning [56].

Combined Optimization
Although a single wireless positioning method has been well developed, it still has certain limitations [55].The combination positioning method can fully consider the advantages of each single positioning method to design an effective fusion algorithm to improve the positioning accuracy.

Combined with Inertial Sensor
The inertial sensor can calculate the navigation position by measuring motion acceleration, gyroscope, etc., which is one of the more common optimization methods combined with RSSI positioning [56].
In [57], a positioning method combining Pedestrian Dead Reckoning (PDR) and RSSI is designed to address the issues of insufficient positioning accuracy and strong interference in single-source positioning.This method takes advantage of the relatively accurate nature of PDR in short-range positioning and uses the fluctuation of Bluetooth RSSI as a judgment criterion to determine whether to perform adaptive particle filtering.If the criterion is not met, the PDR value is directly outputted.Otherwise, the positioning result is outputted after adaptive particle filtering.In [58], the attenuation of RSSI is more pronounced when passing through room doors, which are used as landmarks in the indoor environment.By accurately monitoring the time when users pass through the doors, this compensates for errors in the cumulative inertial measurement unit (IMU) data so as to achieve the goal of improving positioning accuracy.In [59], a fusion positioning method of WIFI and IUM based on the ESKF algorithm was proposed to achieve high-precision positioning of UAV indoor navigation.

Integration with Image-Based Methods
Image-based wireless positioning methods employ neural networks, machine learning, and other methods for scene recognition to further reduce the positioning area in order to improve the positioning accuracy.There are also positioning corrections by using individual iconic objects as landmarks, while there are methods, such as image matching, plotting the collected RSSI information into grayscale images.Taking Figure 13 as an example, the neural network is used to identify the corridor, elevator entrance and room as the positioning range, and then complete accurate positioning [60].
learning, and other methods for scene recognition to further reduce the positioning area in order to improve the positioning accuracy.There are also positioning corrections by using individual iconic objects as landmarks, while there are methods, such as image matching, plotting the collected RSSI information into grayscale images.Taking Figure 13 as an example, the neural network is used to identify the corridor, elevator entrance and room as the positioning range, and then complete accurate positioning [60].Neural networks and machine learning, as one of the most important research directions in recent years, have been applied to the field of wireless positioning [61].As one of the most widely used neural networks, the BP neural network is mainly composed of input layer, hidden layer and output layer.Figure 14 shows the model diagram of the classic BP neural network [62].In wireless positioning, it is often used for RSSI distance estimation and direct position estimation.
. . . . . .Neural networks and machine learning, as one of the most important research directions in recent years, have been applied to the field of wireless positioning [61].As one of the most widely used neural networks, the BP neural network is mainly composed of input layer, hidden layer and output layer.Figure 14 shows the model diagram of the classic BP neural network [62].In wireless positioning, it is often used for RSSI distance estimation and direct position estimation.
learning, and other methods for scene recognition to further reduce the positioning area in order to improve the positioning accuracy.There are also positioning corrections by using individual iconic objects as landmarks, while there are methods, such as image matching, plotting the collected RSSI information into grayscale images.Taking Figure 13 as an example, the neural network is used to identify the corridor, elevator entrance and room as the positioning range, and then complete accurate positioning [60].Neural networks and machine learning, as one of the most important research directions in recent years, have been applied to the field of wireless positioning [61].As one of the most widely used neural networks, the BP neural network is mainly composed of input layer, hidden layer and output layer.Figure 14 shows the model diagram of the classic BP neural network [62].In wireless positioning, it is often used for RSSI distance estimation and direct position estimation.
. . . . . .In [63], the virtual ratio is calculated using the principle of trilateral positioning, on the basis of the RSSI path loss function, narrows the positioning range to set the virtual AP position, and adaptively modifies the inputs of the CNN model in order to improve the positioning accuracy.In [64], a ranging model based on the BP neural network was proposed.This model firstly scales and transforms the collected RSSI by using Equation (18).Secondly, it optimizes the initial values of weights and deviations of the BP neural network by using the genetic algorithm to optimize the ranging model.Lastly, the three sides are positioned to output the positioning results.
where v i and σ i denote the average value and standard deviation, namely, the translation and scaling coefficients, respectively.Based on the optimization of the BP neural network by the genetic algorithm, in [65], an indoor positioning algorithm based on the SAGA BP neural network is combined with simulated annealing to optimize the initial weights and thresholds of the BP neural network.The proposed algorithm is superior to the traditional BP neural network algorithm and GA-BP, analyzing the RSSI loss model and path, RSSI distribution in a simulation room and comparison between simulation and real environment.
In addition, parameter optimization of the neural network occurs.In [66], an optimization method for indoor localization parameters for portable small embedded systems is described in more detail.The method is given a set of machine learning models in advance and searches for optimal parameters by gradually adjusting the number of layers, neurons, and the training number of the models for improvement in positioning accuracy.
In addition to BP neural network, CNN, RNN, LSTM and other models have also been applied to RSSI positioning.In [67], WIFI in a building is used as an access point and Kullback-Leibler scatter is combined to propose a speed-aware recurrent neural network for RSSI fault tolerance, mainly to improve the positioning accuracy when the input access point fails.Experimental comparison results show that this method effectively improves the positioning accuracy.In [68], a random neural network model based on LoRa WAN RSSI was trained and tested using different numbers of neurons.The experiments recorded an average error of learning rate of 0.0002, 0.002, 0.02, 0.2, 2 for 8, 16, 20 hidden neurons, respectively.The results show that the accuracy is higher when the hidden layer neurons are 20 and the learning rate is 0.2.
Table 1 shows the common combinatorial optimization methods; RSSI data sources of RSSI based wireless positioning technology can come from Wi-Fi, BLE, Zigbee and simulation acquisition, etc. UWB, IMU image and LIDAR can be combined with this.These combinations can moderately improve the shortcomings of single positioning but may also lead to an increase in cost and power consumption.

Method RSSI
In [80], multi-wall and ray-tracing techniques are used to create three different indoor environment plan simulation RSSI datasets for stadium, office building and a long corridor.Differences between simulated and measured RSSI plots are presented and discussed, and the results show that satisfactory results are also obtained by using simulated models.The RSSI map generated using ray tracing technique is given in Figure 15.In addition to obtaining RSSI simulation data by ray-tracing technology, attenuation functions can also be obtained by fitting RSSI with distance attenuation, so as to obtain RSSI values of reference points and test points [81].

Real Data Acquisition
Figure 16 shows the basic block diagram for data acquisition.The RSSI data acquisition grid points were designed in the collection area, and mobile devices, such as smart phones, were used to perform multiple RSSI acquisitions at the grid points to establish the RSSI database.

Real Data Acquisition
Figure 16 shows the basic block diagram for data acquisition.The RSSI data acquisition grid points were designed in the collection area, and mobile devices, such as smart phones, were used to perform multiple RSSI acquisitions at the grid points to establish the RSSI database.simulated models.The RSSI map generated using ray tracing technique is given in Figure 15.In addition to obtaining RSSI simulation data by ray-tracing technology, attenuation functions can also be obtained by fitting RSSI with distance attenuation, so as to obtain RSSI values of reference points and test points [81].

Real Data Acquisition
Figure 16 shows the basic block diagram for data acquisition.The RSSI data acquisition grid points were designed in the collection area, and mobile devices, such as smart phones, were used to perform multiple RSSI acquisitions at the grid points to establish the RSSI database.Based on previous research, a higher level of positioning accuracy can be achieved by reducing the interval between sampling points.To obtain a higher accuracy of positioning, a large number of collected data need to be obtained, thus increasing the time and cost of data collection to a certain extent [82].Based on this, many researchers have Based on previous research, a higher level of positioning accuracy can be achieved by reducing the interval between sampling points.To obtain a higher accuracy of positioning, a large number of collected data need to be obtained, thus increasing the time and cost of data collection to a certain extent [82].Based on this, many researchers have carried out a series of explorations.By designing the trajectory and speed of the robot, the purpose of uniform data acquisition can be achieved and labor costs can be reduced [83].Software algorithms can utilize interpolation, SLAM, migration learning and other methods for data reconstruction to improve data collection efficiency.
Fingerprint datasets will change as the environment changes, so the fingerprint database needs to be updated regularly, which is also a of the cost of wireless positioning [84].In [85], an RSSI fingerprint change detection method using machine learning techniques to reconstruct the RSSI database into a probabilistic feature database by PCA (Principal Component Analysis) and GP (Gaussian Process) is described.This method uses KL (Kullback-Leibler) divergence as a metric to measure the similarity between the existing database and the new test set, so as to determine whether the fingerprint database needs to be updated.
In [86], a biharmonic spline interpolation method was proposed to expand the amount of wireless map data based on the original data collection.Combined with Feedforward Backpropagation (FFBP) Neural Network and General Regression Neural Network (GRNN), the position estimation of an artificial neural network based on a semiinterpolating database is designed.The experiment results show that the method has a good effect.

Publicly Available Datasets
A good dataset can effectively improve the efficiency of positioning algorithm validation and increase the algorithm validation pathways [87].With the increase in the number of researchers in RSSI wireless positioning, many scholars have shared the measured datasets to facilitate the experimental testing of the algorithms, which has pushed the development of wireless positioning technology.Selected RSSI datasets are given in Table 2. Ref. [91] https://github.com/mluckner/RSSI-Dataset-for-Indoor-Localization-Fingerprinting5 Ref. [92] https://www.kaggle.com/datasets/mehdimka/ble-rssi-dataset

Remaining Problems and Development Trends 7.1. Current Challenges
Although wireless positioning technology has been significantly developed, there is still a large room for improvement.Taking the RSSI positioning technique as an example, there are many interfering factors in the spatial propagation of RSSI [93], which lead to a certain degree of error, either by using database matching or by using a distance-based model [94].How to effectively address this error due to communication propagation requires further research and exploration.In terms of algorithm improvement, many artificial intelligence algorithms have been applied to wireless positioning technology, and the positioning accuracy has been improved to different degrees.To obtain high positioning accuracy through machine learning and neural network requires much training, which will inevitably lead to an increase in computing costs.In the case of BP neural networks, the algorithm is more likely to fall into a local optimum, which will lead to suboptimal training parameters.Meanwhile, there is also literature on various improvements in terms of loss function, number of neurons, number of layers, etc., to improve the positioning accuracy.WIFI, Bluetooth, and inertial sensors, as the most common devices in people's lives, when used in wireless positioning can greatly reduce the cost of positioning [95].How to effectively utilize these low-cost, easy-to-deploy devices to achieve higher-precision positioning is still a challenge that many scholars need to overcome.

Development Trends
With the further development of wireless communication technology, the development of emerging industries, such as smart cities, intelligent robots and driverless cars, is also growing.Location-based services will play an increasingly important role in people's lives [96].Artificial intelligence algorithms, such as machine learning and neural networks, will be widely used in wireless positioning technology in the future [97].The proposed new algorithm will promote wireless positioning technology in the software to achieve greater breakthroughs, and the integration of multi-algorithm and multi-technology will also promote higher precision in wireless positioning, lower cost, higher applicability, more portability and intelligent direction.

Conclusions
Focusing on the application of wireless positioning technology and related evaluation methods, this paper mainly analyzes the relationship between RSSI and distance change in spatial communication.On this basis, the wireless positioning method based on distance and database matching method is introduced in more detail.The advantages and disadvantages of several methods and the corresponding improvements are analyzed.The methods of obtaining simulation data and real data for wireless positioning research are explained.Finally, the problems and development trends in wireless positioning technology are explained, and the necessity of further research is pointed out, which provides reference for subsequent research.

Figure 2 .
Figure 2. The relationship between RSSI of WI-FI and the distance of the test cell phone.

Figure 2 .
Figure 2. The relationship between RSSI of WI-FI and the distance of the test cell phone.

Figure 3 .
Figure 3. Basic architecture of RSSI-based positioning.(a) The data is received on the mobile terminal and the external server performs position estimation; (b) Complete data reception and position estimation on mobile terminal.

Figure 3 .
Figure 3. Basic architecture of RSSI-based positioning.(a) The data is received on the mobile terminal and the external server performs position estimation; (b) Complete data reception and position estimation on mobile terminal.

Figure 6 .
Figure 6.Schematic diagram of time-of-arrival position estimation.

Figure 6 .
Figure 6.Schematic diagram of time-of-arrival position estimation.

Figure 8 .
Figure 8. Schematic diagram of the KNN algorithm.

Figure 8 .
Figure 8. Schematic diagram of the KNN algorithm.

Figure 8 .
Figure 8. Schematic diagram of the KNN algorithm.

Electronics 2024 ,
13, x FOR PEER REVIEW 10 of 20 at different distances and performs Kalman filtering on RSSI signals to suppress the signa oscillation and drift.Finally, the weighted least square method and four boundary positioning methods are used to estimate the position of the target object.

Figure 12 .
Figure 12.Difference in propagation distance of RSSI in different directions.

Figure 12 .
Figure 12.Difference in propagation distance of RSSI in different directions.

Figure 14 .
Figure 14.Model diagram of classical BP neural network.

Figure 15 .
Figure 15.The RSSI map generated using ray tracing technique.

Figure 15 .
Figure 15.The RSSI map generated using ray tracing technique.

Figure 15 .
Figure 15.The RSSI map generated using ray tracing technique.

Figure 17 20 Figure 17
Figure17shows the RSSI distribution of the APs at three different positions measured in a 7.0 × 6.2 environment.The acquisition cell phone was SAMSUNG Galaxy S20, and the completion of the acquisition was carried out at intervals of 0.6 m.

Table 1 .
Common combination optimization methods.