scieee AI-readable full text Open interactive document viewer

Analysis of Received Signal Strength Quantization in Fingerprinting Localization

Khandker, Syed,Torres-Sospedra, Joaquín,Ristaniemi, Tapani

Full text

This is a self-archived version of an original article. This version may differ from the original in pagination and typographic details. Author(s): Title: Year: Version: Copyright: Rights: Rights url: Please cite the original version: CC BY 4.0 https://creativecommons.org/licenses/by/4.0/ Analysis of Received Signal Strength Quantization in Fingerprinting Localization © 2020 by the authors. Licensee MDPI, Basel, Switzerland. Published version Khandker, Syed; Torres-Sospedra, Joaquín; Ristaniemi, Tapani Khandker, S., Torres-Sospedra, J., & Ristaniemi, T. (2020). Analysis of Received Signal Strength Quantization in Fingerprinting Localization. Sensors, 20(11), Article 3203. https://doi.org/10.3390/s20113203 2020 sensors Article Analysis of Received Signal Strength Quantization in Fingerprinting Localization Syed Khandker 1,* , Joaquín Torres-Sospedra 2,3 and Tapani Ristaniemi 1 1Faculty of Information Technology, University of Jyväskylä, Mattilanniemi 2, 40014 Jyväskylä, Finland; [email protected] 2Institute of New Imaging Technologies, Universitat Jaume I, Av. Vicente Sos Baynat s/n, 12071 Castellón de la Plana, Spain; [email protected] or torr[email protected] 3UBIK Geospatial Solutions, Av. Vicente Sos Baynat s/n, 12071 Castellón de la Plana, Spain *Correspondence: [email protected] Received: 17 May 2020; Accepted: 2 June 2020; Published: 4 June 2020   Abstract: In recent times, Received Signal Strength (RSS)-based Wi-Fi fingerprinting localization has become one of the most promising techniques for indoor localization. The primary aim of RSS is to check the quality of the signal to determine the coverage and the quality of service. Therefore, fine-resolution RSS is needed, which is generally expressed by 1-dBm granularity. However, we found that, for fingerprinting localization, fine-granular RSS is unnecessary. A coarse-granular RSS can yield the same positioning accuracy. In this paper, we propose quantization for only the effective portion of the signal strength for fingerprinting localization. We found that, if a quantized RSS fingerprint can carry the major characteristics of a radio environment, it is sufficient for localization. Five publicly open fingerprinting databases with four different quantization strategies were used to evaluate the study. The proposed method can help to simplify the hardware configuration, enhance security, and save approximately 40–60% storage space and data traffic. Keywords: fingerprinting; quantization; indoor positioning 1. Introduction and Motivation Positioning is an important part of our daily life. Essential services, e.g., navigation, health care, personnel management, and emergency rescue, require localization information to work effectively. The predominant localization technology (e.g., GPS and Galileo) using satellite signals has solved most of the outdoor positioning-related problems. However, the satellite-based positioning in indoor is severely degraded due to the blockage of the satellite signals by the obstacles. Therefore, alternative indoor localization technologies have been recently developed using optic [ 1 ], ultra-sound [ 2 ], dead reckoning [ 3 ], ultra-wideband [ 4 ], RFID [ 5 ], visible Light [ 6 ], and Bluetooth technology [ 7 ]. Most of them are based on communications technologies and require the deployment of additional hardware components in the environment to work effectively. Dead reckoning is only able to provide relative positioning (displacement from the origin) and needs a secondary technology to support absolute positioning and reduce the error drift. However, Wi-Fi fingerprinting localization has become a very promising and competitive technical solution for indoor positioning systems for its cost-effective high precision performance [ 8 ] for either smartphone [ 9 , 10 ] or autonomous vehicle [ 11 , 12 ] applications. Wi-Fi fingerprinting localization is a technique that uses RSS measurement to perform localization tasks. RSS is easy to obtain with the current Wi-Fi interfaces without requiring any additional hardware. Moreover, unlike Channel State Information (CSI)-based techniques [ 13 ], it is not restricted to a particular LAN card and operating system. Therefore, RSS-based positioning has attracted considerable attention from researchers [ 14 – 16 ]. RSS is a measurement of the strength of a radio signal Sensors 2020,20, 3203; doi:10.3390/s20113203 www.mdpi.com/journal/sensors Sensors 2020,20, 3203 2 of 19 that performed at the receiver end. In a wireless network, RSS from different Access Points (AP) creates a unique pattern for a geographical area, which is called Wi-Fi fingerprint. It is assumed that a fingerprint from a recording point remains unique for that location. Therefore, fingerprints can be used to retrieve the location. Generally, the RSS values are expressed in dBm unit with 1-dBm granularity. The main aim of RSS is to check the signal quality for evaluating the coverage and the quality of service; therefore, fine-granular RSS is needed. However, in fingerprinting positioning along with RSS values, reference AP labels are also recorded. Since a fingerprint has many reference AP, instead of fine-granular RSS, coarse-granular RSS could be able to provide the same positioning accuracy. Moreover, storing, exchanging, and processing raw RSS value can occupy a considerable amount of memory [ 17 , 18 ], as well as be a potential threat to user’s location privacy [ 19 , 20 ]. In this case, a quantization method can be useful. Quantization is the process of mapping a set of values to a particular value. It is inherent, for instance, in analog-to-digital converters and it has been widely studied in different positioning technologies [18,21–25]. In Wi-Fi fingerprinting, at the receiver end, a sensor captures the energy of a signal transmitted by the AP. This signal strength is a continuous number and fluctuates over time. For making sense out of it and for different kinds of signal processing, e.g., quality checking, ranging, and positioning, the signal power needs to be divided and expressed by a set of finite numbers, which is called quantization. The output ( l ) of a quantization depends on the used bit number. If n bits are used, the total output would be l=2n(1) Figure 1shows an example of linear quantization. Pmax and Pmin are the maximum and minimum power of a signal. In Figure 1, we can see each quantized level shares a range of input power. Typically, the strength of a Wi-Fi signal is in between 1 and 10 −10 mW. Through the quantization process, a large range of Pmax and Pmin can be scale down to a smaller set of numbers, where the granularity of output level depends on the used bit number. Figure 1shows that more bits lead to finer output levels, while fewer bits lead to coarser output levels. The IEEE 802.11-2012 standard recommends to quantized the received signal power in the range of 0 to ≤ 8 bits, where the output levels are called Received Signal Strength Indicator (RSSI) [ 26 ]. However, quantization is implementation-dependent and done in a proprietary manner by different manufacturers. Pmax , Pmin , and applied bit number vary from manufacturer to manufacturer, which may contribute to the device heterogeneity problem, along with some other heterogeneity contributors such as the design of the antenna, and antenna orientation. Moreover, some manufacturers express the quantized value of receives power (e.g., 0,1,2,...,N) where some other provides RSS directly in dBm unit (e.g., − 30 or − 40) [ 27 ]. This makes a great confusion between RSS and RSSI. However, solving this confusion is out of the aim of this paper. More information regarding the relationship between RSS and RSSI can be found in [26–28]. Generally, in dBm unit, RSS values are in the range of 0 to − 100 dBm, and expressed by 1-dBm granularity [ 29 ]. To express these 101 levels, at least 7 bits are needed. Some studies showed that, instead of this fine-granular RSS, coarse-granular or fewer-bit quantized RSS could provide the same positioning accuracy [ 17 , 18 , 30 ]. However, most of the simulation-based previous studies investigated the quantization effect on Wireless Sensor Networks (WSN) or Distributed Sensor Networks (DSN). RSS quantization in the Wi-Fi network focusing the fingerprinting positioning purpose has not been studied enough. Why coarse-granular RSS or reduced-bit quantization can provide the same amount of positioning accuracy is not investigated yet. In the real scenario, vast numbers of AP, different mobile devices, and obstacles can have a great impact on quantization. Lack of thorough investigation of RSS quantization on real data motivated us to conduct this research. The main contributions of this study are followings: • We thoroughly investigated the usefulness of reduction bit quantization considering why it can perform the same positioning accuracy as that of traditional RSS. Sensors 2020,20, 3203 3 of 19 • Reduction bit quantization also reduces the data size. We investigated how much disk space and network traffic can be saved if reduced-bit quantization were used. • We analyzed the RSS quantization effect on five different publicly open fingerprinting databases. Our findings are coherent and reflect all the real-life scenarios. 4 8 12 16 output (level) PMin PMax input (power) 4 bit 2468 output (level) PMin PMax input (power) 3 bit 1 2 3 4 output (level) PMin PMax input (power) 2 bit Figure 1. RSS quantization concept. The remaining of this paper is organized as follows. Section 2introduces a review of the works related the quantization. Section 3describes the fingerprinting databases and explains the method. Section 4is devoted to the different kinds of experiments and results. In Section 5, we discuss the findings and observations. Section 6presents the conclusions and draws the research lines for further work. 2. Related Work Since the primary purpose of RSS is not localization, only a few works have been done on the technical aspect of RSS (i.e., quantization) focusing on the localization, especially in the Wi-Fi network. This section reviews the existing works that address different aspects of signal strength quantization. Bahl and Padmanabhan introduced RADAR, the first indoor positioning system based on k -NN for Wi-Fi fingerprinting in 2000 [ 31 ]. Although some k -NN variants [ 32 – 35 ] and other advanced methods, e.g., probabilistic models [ 36 , 37 ] or SVM-based [ 38 ], have also been applied with fingerprinting, we focus on the simple k-NN model as it is still widely used nowadays [39–43]. Jarvinen et al. [ 44 ] proposed RSS quantization to secure two-party computation (STPC) to preserve the privacy in fingerprint-based positioning. Their proposal decreases the overhead of STPC evaluation. They implemented an approximately 500 times faster privacy-preserving indoor localization protocol using quantized RSS. They observed that a 50 % reduction on quantized bits has around 5% impact on the accuracy of localization. Nguyen et al. [ 45 ] observed that, in a WSN at the outdoor environment, the quantized scheme performed more stably and had smaller errors compared to the indoor space; this is because the wireless signals in the indoor environment suffered from multi-path and reflection effects from walls and obstacles. Both RSS and angle of arrival measurement were used in their study. They mentioned that, after a certain number of quantization levels, positioning accuracy does not improve. Ababneh [ 46 ] mentioned that in a distributed sensor network (DNS) the localization error becomes highly dependent on the total number of bits and the pattern of the distribution of the sensors, especially when the number of bits allowed is relatively small. He proposed two novel low-complexity Sensors 2020,20, 3203 4 of 19 bit allocation algorithms to solve optimal computational complexity. The simulation results show a significant reduction in computational complexity. Richter et al. [ 17 ] studied the effects of the RSS quantization, focusing privacy-preserving. According to them, quantized RSS is beneficial to create ciphertext for encrypting purpose. Therefore, quantization can be an excellent tool for privacy preservation. Their non-uniform 4-bit quantization yields the same positioning accuracy as that of the unquantized system. Nui et al. [ 47 ] performed a comparative study on location estimator in WSNs, based on quantized data, and compared it with localization approaches using analog data. They suggested that, to reduce communication costs, and sensor power consumption, local sensors should send quantized measurements to the fusion center. The simulation experiment showed that the positioning precision loss due to quantization reduces as the number of bits increases, which is almost negligible when 6 bits are used. Li et al. [ 48 ] proposed quantized received signal strength-based target localization method to save energy and communication bandwidth in WSN. Their proposed algorithm, firstly, combines the particle swarm optimization (PSO) with their proposed formula to generate a fixed set of thresholds and then uses those to quantize the measured RSS. Based on the obtained quantized RSS data, PSO and optimized algorithms are used for accurate and efficient positioning. Gao et al. [ 30 ] showed that, in fingerprinting positioning, the full resolution RSSI measurements are unnecessary. According to them, raw RSSI are noisy, exhibit a high degree of variability, and occupy a massive amount of memory. In their study, through a non-uniform quantization process, it was possible to reduce the RSSI data volume by approximately 72% without compromising the localization accuracy, while the positioning accuracy was around 2 m. Torres-Sospedra and Moreira [ 49 ] analyzed the sources of very large positioning errors. They identified that the representation of the received signal strength as an integer value, which can be seen as a first quantization added to all RSSI measurements, added some uncertainty to the reference fingerprints, especially if the distance between the AP and the receiver is moderate or high. Depending on the AP distribution, which in most scenarios were deployed for communication purposes, and the noise level in the RSSI measurements, there can be some large areas in the operational environment where the collected fingerprints are similar. Thus, the fingerprint methods cannot properly operate or provide accurate position estimations on them. Mizmizi and Reggiani [ 18 ] showed that the computational complexity could be limited by adapting the RSSI quantization. Their simulation of WSN contained many beacons over a limited squared area on a single floor with a two-dimensional coordinate system. They observed that there is an optimal quantization level number, over which positioning accuracy cannot be improved without increasing the number of beacons. However, if the quality of the RSSI measurements increases, then it is possible to reduce the number of quantization levels at the same performance. The exact meaning of the “quality of the RSSI” was not mentioned. Shi et al. [ 50 ] studied the relationship among quantization level, network configuration parameters, and the lower bound of the positioning error based on the quantized RSSI in WSN. Their simulation suggests that localization error variance cannot be improved by only increasing the quantization level after a particular value; this is due to the noise in the RSSI readings. When the quantized RSSI value interval is comparable to the noise, increasing the quantization level becomes less useful. Krishnamachari [ 51 ] showed a positioning performance analysis by using Cramér–Rao bound (CRB). He mentioned that 3 bits of RSS quantization in WSN suffices to give a lower bound that is very close to best possible. Patwari and Hero [ 52 ] used the Cramer–Rao Bound (CRB) to compare the minimal attainable variances of unbiased sensor location estimators in WSN. They considered that RSS measurements are always going to be quantized while an analog-to-digital converter converts it. If there are many levels, Sensors 2020,20, 3203 5 of 19 then the effect of the quantization is minimal. According to them, 3 bits of quantization are sufficient for an RSS-based positioning system. Most of the previous works were done in WSN or DSN. According to our best knowledge, only two studies were done on RSS quantization in the Wi-Fi network focusing on user’s privacy preservation [17,44] . In general, the RSS quantization effect in the Wi-Fi network has not been studied enough. Moreover, simulation results of the previous studies may not reflect all the aspects of a real-world scenario. This study focused on a step-by-step investigation of the quantization process on five different publicly open databases by four different quantization strategies. Furthermore, we considered applying quantization on the absolute signal energy level, which is a novel contribution to the Wi-Fi fingerprinting localization. Finally, the quantization of RSS measurements in fingerprinting has usually been applied to reduce the radio map size and optimize the computation of fingerprint-based methods. However, quantization only partially reduces the complexity of fingerprinting as the number of APs and reference fingerprints are not altered. Other relevant works that have focused on reducing the radio map include a focus on removing useless APs from the radio map [ 53 ], applying unsupervised learning to cluster/split the radio map [ 33 , 38 , 54 , 55 ], using radio-signal propagation knowledge to filter fingerprints out the radio-map [ 34 , 56 – 58 ], combining clustering with RSSI-based rules [ 59 ], and, even, reducing on-the-fly the reference samples and APs of the radio map [ 60 ]. In this study, we focused on the nominal case where no other optimizations have been performed. This ensures that the study reflects the benefits of quantization without the interference of other approaches, such as advanced fingerprint models or optimization rules. 3. Materials and Methods In this section, we describe fingerprinting databases and the RSS quantization process. 3.1. Database Description Five publicly open fingerprinting databases were used in this research. The first one is from the University of Jaume I, Spain. The author presented their work at the 2014 International Conference on Indoor Positioning and Indoor Navigation conference; the name of this database is UJIIndoorLoc [ 61 ]. The second one is from the Tampere University of Technology (TUT) Finland; we named it as TUT database [ 62 ]. The third database was collected by the research group of the University of Minho, Portugal, and is called Minho database [ 63 ]. The name of the next database is Mannheim. It was collected by the research group from the University of Mannheim, Germany [ 64 ]. The final database was collected from a library building of the University of Jaume I, which is different from the first database; we call it the Library database [ 65 ]. Short descriptions and comparison of these databases are discussed below. 3.1.1. UJIIndoorLoc Database This multi-building, multi-floor localization database is the first publicly available Wi-Fi fingerprinting database created by the researchers from the University of Jaume I, Spain. Twenty users and 25 devices were deployed to collect the fingerprinting data from 3 buildings with 4 or 5 floors depending on the building. Two Android applications were used to create the database. In total, this database contains 21,049 samples. Apart from the RSS and location information, features such as BuildingID, FloorID, UserID, and timestamp are given for each sample. The location points were uniformly distributed to the users with the restriction that any reference point should be covered by, at least, two users. The longitude and latitude coordinates are given in meters with UTM from WGS84. 3.1.2. TUT Database Fingerprints from the TUT university building were collected by a research group from that university from January 2017 to August 2017. The total area of that building is approximately 22,570 m 2 Sensors 2020,20, 3203 6 of 19 containing five floors. In total, 991 AP were recorded during the collection period. Out of 4648 collected fingerprints, 15% were used for the training and 85% were used for the testing. All fingerprints contained local coordinate values, e.g., (x, y, z) = (41.45, 14.71, 3.7), not the GPS one. Twenty-one Android devices having an identical application were used during the crowd-sourced data collection process. According to the TUT research group, approximately 10 m of mean 3D positioning accuracy was achieved through different positioning methods. 3.1.3. Minho Database The research group from the University of Minho, Portugal collected the third database of this study from a university building that resembles an industrial floor plant, with a total area of around 1000 m 2 . The data were collected in July 2017. The data collection setup was based on a Raspberry Pi 3 Model B with its internal Wi-Fi interface, and four additional USB Wi-Fi interfaces (Edimax EW-7811un). The database contains five sets of files, one for each one of the Wi-Fi interfaces. Since there is no significant impact of change in the Wi-Fi interface in our study, we used the data from the fifth interface in our work. In total, 5783 fingerprints were collected, among which 4973 were labeled as training fingerprints, and the rest were used as test fingerprints. The RSS from 11 different APs were recorded in each fingerprint. 3.1.4. Mannheim Database A research group from the University of Mannheim, Germany, collected this database. The primary purpose of this database is to create a digital compass. Therefore, apart from the RSS and location, angular information was recorded by a USB powered digital compass. Samples were collected from the hallway of an office building. For each training and testing point, samples were collected 20 and 100 times, respectively. However, to speed up the experiment, we randomly selected ten samples per testing points. We had 14,300 training samples and 5060 testing samples. Local X,Y coordinate was used to define the location of the fingerprints. 3.1.5. Library Database The UJI research group has been collecting the Wi-Fi measurement from their university library premises for the last 25 months, which has 308 m 2 of footprint. The fingerprints were recorded from the bookshelves area of the third and fifth floors of the library. These two floors are adjoining floors despite their numbering. Wi-Fi signal could travel from one story to another through stairs, but no line-of-sight path is available. That data have been recording for the last 25 months for the same place. We used the latest data (25th month) in this study. The database contains 576 training fingerprints and 3120 testing fingerprints. As with the TUT database, they also used a local coordinate system. In total, 620 AP were heard during the collection time. A Samsung Galaxy S3 smartphone was used to collect the fingerprint data with dedicated software. The authors reported the mean 2D positioning accuracy of 2.34 m. 3.2. Facts in the Databases Facts regarding fingerprinting positioning in all theses database are summarized in Table 1. Positioning performance based on traditional RSS was calculated using the k -NN algorithm and Euclidean distance. To keep similarity with previous works, k = 1 was used in UJIIndoorLoc, TUT, and Mannheim; and k = 3 was used in Minho and Library. Positioning accuracy for the TUT database was based on 3D positioning; for the other databases, it was 2D positioning. Minho and Mannheim have no floor information; therefore, floor detection is Not Applicable (NA) in these two. Sensors 2020,20, 3203 7 of 19 Table 1. Facts in the databases. Database Coverage Number of Number of Number of Positioning (m) Floor (m2) Training Sample Testing Sample AP Accuracy Detection (%) UJIIndoorLoc 108,703 19,936 1111 520 7.74 90.28 TUT 22,570 697 3951 991 9.39 91.75 Minho 1000 4973 810 11 4.7 NA Mannheim 312 14,300 5060 28 3.01 NA Library 308 576 3120 620 2.34 100 3.3. Method We briefly state the quantization process in the Introduction. In this subsection, the proposed quantization method is explained in detail. 3.3.1. Quantization The Wi-Fi signal is an electromagnetic wave whose intensity is attenuated as it propagates through space. When that wave reaches the antenna of a sensor, the sensor captures the energy from the signal. This energy expresses the strength of that signal. Despite the signal strength being continuous, it needs to be expressed to a countable finite number of elements to make that sensible and valuable for a different kind of signal processing, e.g., checking the quality of the signal, ranging, and positioning. To express the continuous value of the received signal to finite numbers, it generally goes through a process called quantization. If Pi is the absolute received power (in mW), using an S -level quantization, we obtain Q(Pi) =                  0, L0≤Pi<L1 1, L1≤Pi<L2 . . . . . . S−1, LS−1≤Pi<LS (2) Here, L0 , . . . , LS defines the range of the quantization levels, where L0=∞ mW and Ls=−∞ mW. The quantized power is Q(Pi) = 0,1, . . . . . ., S−1 . If we look at the distribution of RSS in all the databases in Figure 2, we can see that the spreading of RSS is between − 30 and − 100 dBm. However, there could be some negligible amount of RSS reading beyond this range. It is common practice to use very weak signal value, e.g., − 103 dBm for the non-heard AP in the fingerprints, to maintain the same length for all the fingerprints. Thus, we can see RSS values in the scale of − 30 to − 103 dBm are mostly used in fingerprinting positioning. RSS beyond this range will have no or negligible impact in fingerprinting localization. Therefore, we considered quantizing the RSS only from − 30 to − 103 dBm. The databases provide RSS in dBm unit. The following equations can convert RSS value from dBm to mW and vice versa. PmW =1 mW ×10PdBm 10 (3) PdBm =10 ×log10(PmW/1 mW)(4) Since quantization happens at the absolute signal energy level, at first, we converted all RSS from dBm unit to mW unit using Equation (3) and then applied quantization. However, we found that, instead of mW unit, if quantization is applied on dBm unit, it provides the same results because they are just the same value represented by two different units. Sensors 2020,20, 3203 8 of 19 UJIIndoorLoc training database -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 RSS 0 1 2 Frequency 104UJIIndoorLoc test database -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 RSS 0 500 1000 Frequency TUT training database -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 RSS 0 1000 2000 Frequency TUT test database -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 RSS 0 5000 10000 Frequency Mannheim training database -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 RSS 0 5000 Frequency Mannheim test database -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 RSS 0 1000 2000 Frequency Minho training database -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 RSS 0 2000 4000 Frequency Minho test database -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 RSS 0 500 Frequency Library training database -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 RSS 0 500 1000 Frequency Library test database -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 RSS 0 5000 Frequency Figure 2. RSS distribution in the databases. 3.3.2. Quantizer Figure 2shows that the usable RSS range for fingerprinting localization is − 30 to − 103 dBm, which is equivalent to 10 −3 to 10 −10.3 mW. Thus, we can set maximum energy index, Emax =− 3, and minimum energy index, Emin =− 10.3. We proposed four different formulas ( f1 , f2 , f3 , f4 ) for seven different bit numbers (n) where n=2,3,4,5, 6,7,8 and i= 1, . . . ,2 n to divide the signal energy for each quantization level. The first formula results a linear quantization; depending on applied bit number, each level shares an equal amount of energy index. f1= (Emax −Emin)/(2n−1)(5) In the next three formulas, we applied non-linear quantization to reflect the nature of signal propagation. From the maximum energy index, in each quantized level, the energy index is reduced as follows f2(i)= (Emax −Emin)×∑ith i=1√2i−1 ∑2n i=1√2i−1(6) f3(i)= (Emax −Emin)×∑ith i=1 3 √2i−1 ∑2n i=1 3 √2i−1(7) f4(i)= (Emax −Emin)×∑ith i=1log 2i−1 ∑2n i=1log 2i−1(8) Figures 3and 4show the 3- and 4-bit quantizers, respectively. Sensors 2020,20, 3203 15 of 19 6. Conclusions In this study, we investigated the received signal strength quantization effect for localization in five different databases by four different formulas. The environment, data collection strategy, coverage area, number of training and testing fingerprints, number of floors, and number of APs were different from one database to another. Without having any correlation in all the databases, we found that 4-bit quantization can achieve the same localization accuracy as that of traditional RSS. Generally, the traditional RSS is quantized by 8 bits. However, most Wi-Fi chip manufacturers do not reveal their quantization strategy. In general, we can see the typical range of the RSS is between 0 dBm and − 100 dBm that needs 101 different levels, which is in the range of at least 7 bits. In our study, we found that, for fingerprinting positioning purposes, 4-bit or 16-level quantization is sufficient. The proposed quantization method can help to simplify the hardware configuration, conceal the real RSS, save approximately 40–60% storage space, and data traffic. Since the quantization happens just after sensing the signal, we used the signal strength in the mW unit. However, we found that, instead of mW format, if quantization is done based on the dBm unit, that also provides the same localization accuracy. The performance of all the quantization formulas slightly varies. Nonetheless, linear quantization is a consistent performer. We achieved the performance limit of traditional RSS through 4-bit quantization. One limitation of this study is that quantization was analyzed using k -NN as the main localization algorithm. Probably, quantization will have a similar impact on the results reported by the variants based on weighted k -NN. Therefore, as further work, we shall focus on how to reduce the computational load and increase localization accuracy through an efficient combination of RSS quantization, radio map clustering, AP filtering, and advanced fingerprint algorithms. Author Contributions: S.K. conceived, designed, and performed the experiments; S.K. and J.T.-S. wrote the paper; and J.T.-S. and T.R. guided the paper writing and reviewed the paper. All authors have read and agreed to the published version of the manuscript. Funding: Syed Khandker expresses his warm thanks to the Riitta and Jorma J. Takanen foundation for its financial support. Joaquín Torres-Sospedra is funded by the Torres-Quevedo Programme of the Spanish government, Grant No. PTQ2018-009981 (Project INSIGNIA). Conflicts of Interest: The authors declare no conflict of interest. References 1. Bergen, M.H.; Arafa, A.; Jin, X.; Klukas, R.; Holzman, J.F. Characteristics of Angular Precision and Dilution of Precision for Optical Wireless Positioning. J. Lightwave Technol. 2015,33, 4253–4260. [CrossRef] 2. Perez, M.C.; Ureña, J.; Hernandez, A.; Jimenez, A.; Ruiz, D.; Alvarez, F.J.; De Marziani, C. Performance comparison of different codes in an ultrasonic positioning system using DS-CDMA. In Proceedings of the 2009 IEEE International Symposium on Intelligent Signal Processing, Budapest, Hungary, 26–28 August 2009 ; pp. 125–130. 3. Jimenez, A.R.; Seco, F.; Prieto, C.; Guevara, J. A comparison of Pedestrian Dead-Reckoning algorithms using a low-cost MEMS IMU. In Proceedings of the 2009 IEEE International Symposium on Intelligent Signal Processing, Budapest, Hungary, 26–28 August 2009; pp. 37–42. 4. Jiménez Ruiz, A.R.; Seco Granja, F. Comparing Ubisense, BeSpoon, and DecaWave UWB Location Systems: Indoor Performance Analysis. IEEE Trans. Instrum. Meas. 2017,66, 2106–2117. [CrossRef] 5. Liu, M.; Wang, H.; Yang, Y.; Zhang, Y.; Ma, L.; Wang, N. RFID 3-D Indoor Localization for Tag and Tag-Free Target Based on Interference. IEEE Trans. Instrum. Meas. 2019,68, 3718–3732. [CrossRef] 6. De-La-Llana-Calvo, A.; Lázaro-Galilea, J.L.; Gardel-Vicente, A.; Rodríguez-Navarro, D.; Rubiano-Muriel, B.; Bravo-Muñoz, I. Analysis of Multiple-Access Discrimination Techniques for the Development of a PSD-Based VLP System. Sensors 2020,20, 1717. [CrossRef] 7. Ji, M.; Kim, J.; Jeon, J.; Cho, Y. Analysis of positioning accuracy corresponding to the number of BLE beacons in indoor positioning system. In Proceedings of the 2015 17th International Conference on Advanced Communication Technology (ICACT), Seoul, Korea, 1–3 July 2015; pp. 92–95. Sensors 2020,20, 3203 16 of 19 8. He, S.; Chan, S..G. Wi-Fi Fingerprint-Based Indoor Positioning: Recent Advances and Comparisons. IEEE Commun. Surv. Tutor. 2016,18, 466–490. [CrossRef] 9. Georgiou, K.; Constambeys, T.; Laoudias, C.; Petrou, L.; Chatzimilioudis, G.; Zeinalipour-Yazti, D. Anyplace: A Crowdsourced Indoor Information Service. In Proceedings of the 2015 16th IEEE International Conference on Mobile Data Management, Pittsburgh, PA, USA, 15–18 June 2015; Volume 1, pp. 291–294. 10. Moreira, A.; Meneses, F. Where@UM—Dependable organic radio maps. In Proceedings of the 2015 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Calgary, AB, Canada, 13–16 October 2015. 11. Nguyen, D.; Recalde, M.E.V.; Nashashibi, F. Low speed vehicle localization using WiFi fingerprinting. In Proceedings of the 2016 14th International Conference on Control, Automation, Robotics and Vision (ICARCV), Phuket, Thailand, 13–15 November 2016. [CrossRef] 12. Hernández, N.; Hussein, A.; Cruzado, D.; Parra, I.; Armingol, J.M. Applying low cost WiFi-based localization to in-campus autonomous vehicles. In Proceedings of the 20th IEEE International Conference on Intelligent Transportation Systems, ITSC 2017, Yokohama, Japan, 16–19 October 2017. 13. Zhang, Y.; Li, D.; Wang, Y. An Indoor Passive Positioning Method Using CSI Fingerprint Based on Adaboost. IEEE Sens. J. 2019,19, 5792–5800. [CrossRef] 14. Talvitie, J.; Renfors, M.; Lohan, E.S. Distance-Based Interpolation and Extrapolation Methods for RSS-Based Localization With Indoor Wireless Signals. IEEE Trans. Veh. Technol. 2015,64, 1340–1353. [CrossRef] 15. Huang, C.; Manh, H. RSS-Based Indoor Positioning Based on Multi-Dimensional Kernel Modeling and Weighted Average Tracking. IEEE Sens. J. 2016,16, 3231–3245. [CrossRef] 16. Achroufene, A.; Amirat, Y.; Chibani, A. RSS-Based Indoor Localization Using Belief Function Theory. IEEE Trans. Autom. Sci. Eng. 2019,16, 1163–1180. [CrossRef] 17. Richter, P.; Leppakoski, H.; Lohan, E.S.; Yang, Z.; Jarvinen, K.; Tkachenko, O.; Schneider, T. Received Signal Strength Quantization for Secure Indoor Positioning via Fingerprinting. In Proceedings of the 2018 8th International Conference on Localization and GNSS (ICL-GNSS), Guimarães, Portugal, 26–28 June 2018. [CrossRef] 18. Mizmizi, M.; Reggiani, L. Design of RSSI based fingerprinting with reduced quantization measures. In Proceedings of the 2016 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Madrid, Spain, 4–7 October 2016. [CrossRef] 19. Li, H.; Sun, L.; Zhu, H.; Lu, X.; Cheng, X. Achieving privacy preservation in WiFi fingerprint-based localization. In Proceedings of the IEEE INFOCOM 2014—IEEE Conference on Computer Communications, Toronto, ON, Canada, 27 April–2 May 2014; pp. 2337–2345. [CrossRef] 20. Konstantinidis, A.; Chatzimilioudis, G.; Zeinalipour-Yazti, D.; Mpeis, P.; Pelekis, N.; Theodoridis, Y. Privacy-Preserving Indoor Localization on Smartphones. IEEE Trans. Knowl. Data Eng. 2015 ,27, 3042–3055. [CrossRef] 21. Hernandez, A.; Ureña, J.; Mazo, M.; Jimenez, A.; Garcia, J.J.; Marziani, C.; Ochoa, A.; Villadangos, J.M.; Jimenez, J.A.; Alvarez, F.J. A comparison of computing architectures for ultrasonic signal processing. In Proceedings of the IEEE International Workshop on Intelligent Signal Processing, Faro, Portugal, 1–3 September 2005; pp. 38–40. 22. Rodríguez-Navarro, D.; Lázaro-Galilea, J.L.; Bravo-Muñoz, I.; Gardel-Vicente, A.; Tsirigotis, G. Analysis and Calibration of Sources of Electronic Error in PSD Sensor Response. Sensors 2016 ,16, 619. [CrossRef] [PubMed] 23. Jiao, J.; Deng, Z. Deep combining of local phase quantization and histogram of oriented gradients for indoor positioning based on smartphone camera. Int. J. Distrib. Sens. Netw. 2017,13. [CrossRef] 24. Hilsenbeck, S.; Bobkov, D.; Schroth, G.; Huitl, R.; Steinbach, E. Graph-Based Data Fusion of Pedometer and WiFi Measurements for Mobile Indoor Positioning. In Proceedings of the 2014 ACM International Joint Conference on Pervasive and Ubiquitous Computing, UbiComp ’14, Seattle, WA, USA, 13–17 Sepember 2014; Association for Computing Machinery: New York, NY, USA, 2014; pp. 147–158. [CrossRef] 25. Kim, B.Y.; Cho, J.-S.; Park, Y..; Kim, K.-D. Implementation of indoor positioning using LED and dual PC cameras. In Proceedings of the 2012 Fourth International Conference on Ubiquitous and Future Networks (ICUFN), Phuket, Thailand, 4–6 July 2012; pp. 476–477. 26. Coleman, D.D.; Westcott, D.A. CWNA Certified Wireless Network Administrator Official Study Guide, Exam CWNA-106; Sybex: Hoboken, NJ, USA, 2014; p. 92. Sensors 2020,20, 3203 17 of 19 27. Attila, B.; Lung, C. On the relationship between received signal strength and received signal strength index of IEEE 802.11 compatible radio transceivers. Carpathian J. Electron. Comput. Eng. 2013,6, 15–20. 28. Gao, H. Investigation of Context Determination for Advanced Navigation Using Smartphone Sensors. Ph.D. Thesis, University College London, London, UK, 2019. 29. Zanella, A. Best Practice in RSS Measurements and Ranging. IEEE Commun. Surv. Tutor. 2016 ,18, 2662–2686. [CrossRef] 30. Gao, W.; Nikolaidis, I.; Harms, J.J. RSSI quantization for indoor localization services. In Proceedings of the 2017 IEEE 28th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC), Montreal, QC, Canada, 8–13 October 2017. [CrossRef] 31. Bahl, P.; Padmanabhan, V.N. RADAR: an in-building RF-based user location and tracking system. In Proceedings of the IEEE INFOCOM 2000. Conference on Computer Communications. Nineteenth Annual Joint Conference of the IEEE Computer and Communications Societies (Cat. No. 00CH37064), Tel Aviv, Israel, 26–30 March 2000; Volume 2, pp. 775–784. 32. Beomju Shin.; Jung Ho Lee.; Taikjin Lee.; Hyung Seok Kim. Enhanced weighted K-nearest neighbor algorithm for indoor Wi-Fi positioning systems. In Proceedings of the 2012 8th International Conference on Computing Technology and Information Management (NCM and ICNIT), Seoul, Korea, 24–26 April 2012; Volume 2, pp. 574–577. 33. Hu, X.; Shang, J.; Gu, F.; Han, Q. Improving Wi-Fi Indoor Positioning via AP Sets Similarity and Semi-Supervised Affinity Propagation Clustering. Int. J. Distrib. Sens. Netw. 2015,11, 109642. [CrossRef] 34. Chen, W.; Chang, Q.; Hong-tao, H.; Wang, W. A novel clustering and KWNN-based strategy for Wi-Fi fingerprint indoor localization. In Proceedings of the 2015 4th International Conference on Computer Science and Network Technology (ICCSNT), Harbin, China, 19–20 December 2015; Volume 1, pp. 49–52. 35. Razavi, A.; Valkama, M.; Lohan, E. K-Means Fingerprint Clustering for Low-Complexity Floor Estimation in Indoor Mobile Localization. In Proceedings of the 2015 IEEE Globecom Workshops (GC Wkshps), San Diego, CA, USA, 6–10 December 2015. [CrossRef] 36. Youssef, M.A.; Agrawala, A.; Udaya Shankar, A. WLAN location determination via clustering and probability distributions. In Proceedings of the First IEEE International Conference on Pervasive Computing and Communications, (PerCom 2003), Fort Worth, TX, USA, 23–26 March 2003; pp. 143–150. 37. Berkvens, R.; Peremans, H.; Weyn, M. Conditional Entropy and Location Error in Indoor Localization Using Probabilistic Wi-Fi Fingerprinting. Sensors 2016,16, 1636. [CrossRef] 38. Lee, C.; Lin, T.; Fang, S.; Chou, Y. A novel clustering-based approach of indoor location fingerprinting. In Proceedings of the 2013 IEEE 24th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC), London, UK, 8–11 September 2013; pp. 3191–3196. 39. Caso, G.; Nardis, L.D. Virtual and Oriented WiFi Fingerprinting Indoor Positioning based on Multi-Wall Multi-Floor Propagation Models. Mob. Netw. Appl. 2016,22, 825–833. [CrossRef] 40. Renaudin, V.; Ortiz, M.; Perul, J.; Torres-Sospedra, J.; Jiménez, A.R.; Pérez-Navarro, A.; Mendoza-Silva, G.M.; Seco, F.; Landau, Y.; Marbel, R.; et al. Evaluating Indoor Positioning Systems in a Shopping Mall: The Lessons Learned From the IPIN 2018 Competition. IEEE Access 2019,7, 148594–148628. [CrossRef] 41. Anagnostopoulos, G.G.; Kalousis, A. A Reproducible Analysis of RSSI Fingerprinting for Outdoor Localization Using Sigfox: Preprocessing and Hyperparameter Tuning. In Proceedings of the 2019 International Conference on Indoor Positioning and Indoor Navigation, Pisa, Italy, 30 September–3 October 2019. 42. Khandker, S.; Mondal, R.; Ristaniemi, T. Positioning Error Prediction and Training Data Evaluation in RF Fingerprinting Method. In Proceedings of the 2019 International Conference on Indoor Positioning and Indoor Navigation, Pisa, Italy, 30 September–3 October 2019. 43. Rojo, J.; Mendoza-Silva, G.M.; Ristow Cidral, G.; Laiapea, J.; Parrello, G.; Simó, A.; Stupin, L.; Minican, D.; Farrés, M.; Corvalán, C.; et al. Machine Learning applied to Wi-Fi fingerprinting: The experiences of the Ubiqum Challenge. In Proceedings of the 2019 International Conference on Indoor Positioning and Indoor Navigation, Pisa, Italy, 30 September–3 October 2019. 44. Järvinen, K.; Leppäkoski, H.; Lohan, E.; Richter, P.; Schneider, T.; Tkachenko, O.; Yang, Z. PILOT: Practical Privacy-Preserving Indoor Localization Using OuTsourcing. In Proceedings of the 2019 IEEE European Symposium on Security and Privacy (EuroS P), Stockholm, Sweden, 17–19 June 2019; pp. 448–463. [CrossRef] 45. Ln Nguyen, T.; D Vy, T.; Shin, Y. An Efficient Hybrid RSS-AoA Localization for 3D Wireless Sensor Networks. Sensors 2019,19, 2121. [CrossRef] Sensors 2020,20, 3203 18 of 19 46. Ababneh, A. Low-Complexity Bit Allocation for RSS Target Localization. IEEE Sens. J. 2019 ,19, 7733–7743. [CrossRef] 47. Niu, R.; Vempaty, A.; Varshney, P.K. Received-Signal-Strength-Based Localization in Wireless Sensor Networks. Proc. IEEE 2018,106, 1166–1182. [CrossRef] 48. Li, Z.; Chung, P.J.; Mulgrew, B. Distributed target localization using quantized received signal strength. Signal Process. 2017,134, 214–223. [CrossRef] 49. Torres-Sospedra, J.; Moreira, A. Analysis of Sources of Large Positioning Errors in Deterministic Fingerprinting. Sensors 2017,17, 2736. [CrossRef] [PubMed] 50. Shi, H.; Li, X.; Shang, Y.; Ma, D. Cramer-Rao Bound Analysis of Quantized RSSI Based Localization in Wireless Sensor Networks. In Proceedings of the 11th International Conference on Parallel and Distributed Systems (ICPADS’05), Fukuoka, Japan, 20–22 July 2005; Volume 2, pp. 32–36. [CrossRef] 51. Krishnamachari, B. Networking Wireless Sensors; Cambridge University Press: New York, NY, USA, 2005. 52. Patwari, N.; Hero, A.O., III. Using Proximity and Quantized RSS for Sensor Localization in Wireless Networks. In Proceedings of the 2nd ACM International Conference on Wireless Sensor Networks and Applications, WSNA ’03, San Diego, CA, USA, 19 September 2003; ACM: New York, NY, USA, 2003; pp. 20–29. [CrossRef] 53. Eisa, S.; Peixoto, J.; Meneses, F.; Moreira, A. Removing useless APs and fingerprints from WiFi indoor positioning radio maps. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation, Montbeliard-Belfort, France, 28–31 October 2013. 54. Chen, Y.; Lymberopoulos, D.; Liu, J.; Priyantha, B. Indoor Localization Using FM Signals. IEEE Trans. Mob. Comput. 2013,12, 1502–1517. [CrossRef] 55. Altintas, B.; Serif, T. Improving RSS-Based Indoor Positioning Algorithm via K-Means Clustering. In Proceedings of the 17th European Wireless 2011—Sustainable Wireless Technologies, Vienna, Austria, 27–29 April 2011. 56. Gallagher, T.J.; Li, B.; Dempster, A.G.; Rizos, C. A sector-based campus-wide indoor positioning system. In Proceedings of the 2010 International Conference on Indoor Positioning and Indoor Navigation, Zurich, Switzerland, 15–17 September 2010. 57. Marques, N.; Meneses, F.; Moreira, A. Combining similarity functions and majority rules for multi-building, multi-floor, WiFi positioning. In Proceedings of the 2012 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sydney, Australia, 13–15 November 2012. 58. Moreira, A.; Nicolau, M.J.; Meneses, F.; Costa, A. Wi-Fi fingerprinting in the real world - RTLS@UM at the EvAAL competition. In Proceedings of the 2015 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Calgary, AB, Canada, 13–16 October 2015. 59. Torres-Sospedra, J.; Quezada-Gaibor, D.; Mendoza-Silva, G.M.; Nurmi, J.; Koucheryavy, Y.; Huerta, J. New Cluster Selection and Fine-grained Search for k-Means Clustering and Wi-Fi Fingerprinting. In Proceedings of the 2020 International Conference on Localization and GNSS (ICL-GNSS), Tampere, FI, USA, 2–4 June 2020. 60. Yu, F.; Jiang, M.; Liang, J.; Qin, X.; Hu, M.; Peng, T.; Hu, X. 5 G WiFi Signal-Based Indoor Localization System Using Cluster -Nearest Neighbor Algorithm. Int. J. Distrib. Sens. Netw. 2014,2014. [CrossRef] 61. Torres-Sospedra, J.; Montoliu, R.; Martínez-Usó, A.; Avariento, J.P.; Arnau, T.J.; Benedito-Bordonau, M.; Huerta, J. UJIIndoorLoc: A new multi-building and multi-floor database for WLAN fingerprint-based indoor localization problems. In Proceedings of the 2014 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Busan, Korea, 27–30 October 2014; pp. 261–270. 62. Lohan, E.; Torres-Sospedra, J.; Leppäkoski, H.; Richter, P.; Peng, Z.; Huerta, J. Wi-Fi Crowdsourced Fingerprinting Dataset for Indoor Positioning. Data 2017,2, 32. [CrossRef] 63. Moreira, A.; Silva, I.; Meneses, F.; Nicolau, M.J.; Pendao, C.; Torres-Sospedra, J. Multiple simultaneous Wi-Fi measurements in fingerprinting indoor positioning. In Proceedings of the 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017. [CrossRef] 64. King, T.; Kopf, S.; Haenselmann, T.; Lubberger, C.; Effelsberg, W. COMPASS: A Probabilistic Indoor Positioning System Based on 802.11 and Digital Compasses. In Proceedings of the 1st International Workshop on Wireless Network Testbeds, Experimental Evaluation and Characterization, Los Angeles, CA, USA, 23–29 September 2006; pp. 34–40. [CrossRef] 65. Mendoza-Silva, G.; Richter, P.; Torres-Sospedra, J.; Lohan, E.; Huerta, J. Long-Term WiFi Fingerprinting Dataset for Research on Robust Indoor Positioning. Data 2018,3, 3. [CrossRef] Sensors 2020,20, 3203 19 of 19 66. Rath, H.K.; Timmadasari, S.; Panigrahi, B.; Simha, A. Realistic indoor path loss modeling for regular WiFi operations in India. In Proceedings of the 2017 Twenty-Third National Conference on Communications (NCC), Chennai, India, 2–4 March 2017. [CrossRef] 67. Torres-Sospedra, J.; Montoliu, R.; Trilles, S.; Belmonte, Ó.; Huerta, J. Comprehensive analysis of distance and similarity measures for Wi-Fi fingerprinting indoor positioning systems. Expert Syst. Appl. 2015 , 42, 9263–9278. [CrossRef] c 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).