Literature DB >> 35957265

A Novel Valued Tolerance Rough Set and Decision Rules Method for Indoor Positioning Using WiFi Fingerprinting.

Ninh Duong-Bao1,2, Jing He1, Luong Nguyen Thi3, Khanh Nguyen-Huu4, Seon-Woo Lee5.   

Abstract

In recent years, due to the ubiquitous presence of WiFi access points in buildings, the WiFi fingerprinting method has become one of the most promising approaches for indoor positioning applications. However, the performance of this method is vulnerable to changes in indoor environments. To tackle this challenge, in this paper, we propose a novel WiFi fingerprinting method that uses the valued tolerance rough set theory-based classification method. In the offline phase, the conventional received signal strength (RSS) fingerprinting database is converted into a decision table. Then a new fingerprinting database with decision rules is constructed based on the decision table, which includes the credibility degrees and the support object set values for all decision rules. In the online phase, various classification levels are applied to find out the best match between the RSS values in the decision rules database and the measured RSS values at the unknown position. The experimental results compared the performance of the proposed method with those of the nearest-neighbor-based and the random statistical methods in two different test cases. The results show that the proposed method greatly outperforms the others in both cases, where it achieves high accuracy with 98.05% of right position classification, which is approximately 50.49% more accurate than the others. The mean positioning errors at wrong estimated positions for the two test cases are 1.71 m and 1.99 m, using the proposed method.

Entities:  

Keywords:  RSS; WiFi fingerprinting; decision rules; indoor positioning; rough set; valued tolerance

Mesh:

Year:  2022        PMID: 35957265      PMCID: PMC9371022          DOI: 10.3390/s22155709

Source DB:  PubMed          Journal:  Sensors (Basel)        ISSN: 1424-8220            Impact factor:   3.847


1. Introduction

Over the past ten years, location-based services have rapidly developed. In these services, positioning is one of the most indispensable approaches. For outdoor environments, the global navigation satellite system (GNSS) can provide very reasonable positioning results, with an average error of 3–5 m [1]. However, this system is limited outdoors since it cannot guarantee the same accuracy indoors, where the satellite signals are reflected or blocked by the walls of buildings. Thus, there is an extreme demand to develop indoor positioning systems (IPSs). Currently, there are various technologies used to track the position of a mobile user indoors. These technologies can be classified into two groups: building independent and building dependent. The first group includes the IPSs that do not rely on the infrastructure of a building to determine the user’s position. Some examples for this group are dead reckoning [2] and image-based [3] technologies. On the other hand, the IPSs that relate to the building where they are operated belong to the second group. For this group, we can divide it into two subgroups: the dedicated infrastructure required and the building’s infrastructure utilized. The former subgroup is defined as the IPSs that need the unpopular infrastructure to be set up in a building. Radio frequency identification [4], acoustic signal [5], or visible light communication [6] are some examples belonging to this group. The latter subgroup utilizes the common infrastructure in the building to create the IPSs such as Bluetooth [7,8] and WiFi [9,10]. Among these technologies, WiFi-based positioning [11,12,13] has drawn tremendous attention due to the widespread of WiFi infrastructure in indoor environments such as office buildings, hospitals, malls, etc. Moreover, the high popularization of smart devices such as smartphones or tablets and the compatible implementation of these devices with WiFi systems also leads to the large deployment of this technology for IPS. To enhance the performance of the WiFi-based positioning system, there are hybrid systems that combine the result of the WiFi with other technologies, such as pedestrian dead reckoning [2,9], camera [14], or magnetic field [15]. There are two main approaches for WiFi-based positioning: geometric and fingerprinting [16]. For the former approach, some common conventional positioning methods are the time of arrival [17], time difference of arrival [18], angle of arrival [19], etc. The positioning accuracy of these methods depends on the line-of-sight condition, which is hard to keep indoors, where there are many physical obstacles, such as walls or doors. For the latter one, the WiFi fingerprinting method is another popular method due to its low cost and ease of implementation on smart devices. However, the reflections, the multipath interference, or the changes in the environmental conditions could greatly degrade the performance of this method. Therefore, achieving a reliable and highly accurate WiFi fingerprinting-based positioning method is a challenging problem. The traditional WiFi fingerprinting method has two phases: the offline and the online phases. In the offline phase, the radio map is built by collecting the RSS values from the available APs at different reference points (RPs) in a target area. The unique set of RSS values at one RP is defined as a fingerprint of that position. In the online phase, by comparing the measured RSS values at one unknown position with the RSS values from the radio map using different matching methods, the user’s position can be estimated. The conventional rough set theory was first proposed by Pawlak [20] as an extension of classical set theory to deal with vague information. This theory conceives that information and knowledge in information systems are expressed via indiscernibility relations (equivalence relations) between objects in the object set. The rough set theory is used for big data mining and knowledge reduction [21,22] and can be applied in various fields such as information systems [23] or real estate market analysis [24,25]. To give a more flexible way to the rough set theory to handle the indiscernibility relation, Stefanowski and Tsoukias [26] introduced the valued tolerance relation and proposed the valued tolerance rough set and decision rules method (VTRS–DR). This method is often applied as a support tool in decision-making systems. Rough set theory based on valued tolerance relation calculates the valued tolerance relation for all objects in the decision table, resulting in a valued tolerance relation matrix where the values belong to [0, 1]. This is the extension of the conventional rough set theory proposed by Pawlak. When applied to WiFi fingerprinting-based indoor positioning, the VTRS–DR works not only in the offline phase but also in the online phase. In the offline phase, the conventional RSS fingerprinting database is converted into a decision table where the RSS values are classified into different decision classes which correspond to the predefined RPs. Each tolerance granule corresponding to each object (i.e., one row in the decision table) is calculated based on the valued tolerance relation matrix. After calculating the values of the membership degrees of objects belonging to lower (upper) approximations of each decision class, the credibility degrees of decision rules (i.e., objects in the decision table) are also calculated. Besides that, the support object set values of decision rules are defined by the tolerance granule of objects. A new fingerprinting database with decision rules is constructed from the decision table that includes the credibility degrees and the support object set values for all decision rules. In the online phase, the valued tolerance relation is calculated between the RSS values in the new database and the measured RSS values at an unknown position. The best decision class (i.e., one RP) is chosen among a set of RPs via the proposed method by comparing various components such as the valued tolerance relations, the credibility degrees, the support object set values, and the Euclidean distances; thus, the user’s position can be estimated. In our work, it means estimating the unknown position as the RP closest to that position. To deal with the instability in RSS values from APs, in this paper, a novel VTRS–DR-based WiFi fingerprinting for IPS is proposed. The VTRS–DR method provides an efficient computational structure and helps to solve the indoor positioning problem with high accuracy. The main contributions are figured out as follows: The VTRS–DR method is applied in the offline phase of the WiFi fingerprinting method by creating a new fingerprinting database with decision rules that includes the credibility degrees and the support object set values for all rules. The VTRS–DR method is also applied in the online phase of the WiFi fingerprinting method by estimating the user’s position based on the fingerprinting decision rules database and the measured RSS value to determine the user’s position. For performance evaluation, the proposed method is compared with the nearest neighbor-based and the random statistical methods to prove its superior positioning accuracy and robustness. The rest of this paper is organized as follows. Section 2 discusses the related works. Section 3 describes the basis of the VTRS–DR method. Section 4 introduces the proposed positioning method. Experimental results are displayed in Section 5, and the conclusion is given in Section 6.

2. Related Works

Generally, there are two categories of WiFi fingerprint-based matching algorithms: deterministic and probabilistic. The deterministic algorithm is very common due to its ease of implementation and its possibility to work well in real time. The nearest neighbor (NN), KNN, and weighted KNN (WKNN) [27,28] are some of the popular deterministic algorithms. To handle the fluctuation of WiFi RSS values, as well as to normalize them, Ninh et al. [10] introduced the random statistical method in the offline phase. The method helped to create a standardized fingerprinting database. In the online phase, to figure out the unknown position of a user, the authors applied the Mahalanobis distance as the matching algorithm to improve the positioning accuracy. The experiments were conducted in different setup conditions in an office room. As a result, the maximum positioning error was only 0.75 m. In Reference [29], instead of using the common Euclidean distance in NN-based algorithms, Duong-Bao et al. implemented five distance measures and compared the positioning results in different settings such as changing the number of setup APs or changing the grid spacing between two RPs. The experimental results showed that the Chi-Squared distance is the best measure with a mean error of 1.17 m in two test cases. Even though these deterministic algorithms could reduce computational complexity, they used only a single reference fingerprint for each RP (i.e., a set of mean RSS values from available AP) for finding the best match between the measured RSS values at an unknown position and the fingerprints in the database, and this could lead to big positioning errors due to the instability of the RSS values. On the other hand, the probabilistic algorithm needs to know the probability distribution of the RSS values from available APs at every RPs. Even though this algorithm can provide good accuracy, it is more complex than the deterministic algorithm, and the positioning performance relies on the computation of likelihood functions. Some popular probabilistic algorithms are the Kalman filter [9], particle filter [30], and hidden Markov models [31]. Using two Kalman filters, Zhuang et al. [32] fused the positional information from the micro-electromechanical system (MEMS) sensors and WiFi fingerprinting to enhance the tracking accuracy. The MEMS sensors helped to reduce the searching space of WiFi fingerprinting by using an extended Kalman filter, and another Kalman filter was applied to smooth the positioning result of WiFi fingerprinting. From two test scenarios, the results showed that the proposed method improved the accuracy by 47% and 28% with mean errors of 2.2 m and 2.6 m, respectively. In Reference [33], Deng et al. also used the extended Kalman filter in the integrated system, which consisted of pedestrian dead reckoning, WiFi fingerprinting, and special positions in a building (i.e., doors, elevators, escalators, etc.) to reduce the positioning error. From the experiments, it was shown that the mean positioning error was only 1.22 m in a test area of 487.2 m2. The two above methods obtained good positioning results; however, they could not completely handle the variation of the RSS values, even though they used different sources (i.e., smartphone sensors and special positions in a building), which would make the systems become more complicated, to calibrate for estimated user’s position. Currently, many latest works use the WiFi fingerprinting technique as the main tool to determine the user’s position with the help of machine learning techniques [34,35,36,37,38]. In Reference [37], based on the conventional WiFi fingerprinting, Song et al. proposed the CNNLoc which combined the stacked auto-encoder and convolutional neural network (CNN) to track the users’ positions in multi-buildings with multi-floors. The framework required a lot of data preprocessing in the training phase, such as sub-datasets division, rectangle areas creation, cell grids division, etc. As the result, the proposed method obtained a 96.03% accuracy of floor classification with a positioning error of 11.78 m. Moreover, using the deep learning approach, Qin et al. [38] combined the convolutional denoising autoencoder (CDAE) and CNN for the IPS. In the offline phase, the K-means algorithm was used to extract the set of features. During the online phase, the RSS values were put into the CDAE to extract the main features, and then the CNN was used to find out the user’s position. The experimental results showed that the mean positioning errors were 1.05 m and 12.4 m for two different datasets. These methods were vulnerable to the changes of RSS values, and they were required to be adjusted to work well with different buildings. The RSS values collected even from the same AP can fluctuate much due to the changes of environmental conditions, such as the number of working people, the number of electrical devices, the user’s body, the period in a day, etc. The aforementioned works have not controlled the instability of the RSS values perfectly. Therefore, we propose a novel WiFi fingerprinting-based method, which utilizes the valued tolerance rough set and decision rules method to classify the user’s position among predefined reference points. To the best of our knowledge, applying the VTRS–DR method to solve the indoor positioning challenge has never been recorded before.

3. VTRS–DR Method

Say we have a set of objects, ( is the total number of the fingerprints of RPs), that can be characterized by a set of conditional attributes, (a set of RSS values collected from APs at one RP, ). If we denote a subset of objects in by a decision attribute (with ), which is one RP in a set of RPs, then we define the decision table . The decision attribute partitions set into decision classes () as , , with each class being one RP in the fingerprinting database. Each decision class is a tolerance class. At the beginning of the VTRS–DR method, the relations between the objects and the attributes can be represented through the decision table, , which is given in Table 1. In this table, conditional attributes (i.e., RSS values from APs) are given and each attribute , , has its RSS values changing in the interval [–100, 0] (dBm). Here, each object (i.e., one row in Table 1) represents one fingerprint (i.e., a unique set of RSS values) of the given RP, which is a decision class. It is worth noting that, in the decision table, , we do not need to sort the RPs by their orders, and the number of appearing times of each decision class (i.e., each RP) can be different which depends on the number of RSS scanning times at each RP.
Table 1

The structure of the decision table.

U RSS1 (dBm) RSS2 (dBm) RSSn (dBm) d
u1 −51−54 −52 RP1
u2 −46−47 −51 RP2
u3 −50−56 −53 RP1
um1 −76−43 −41 RPN
um −73−41 −38 RPN
To explain the VTRS–DR method clearly, we are able to give some basic definitions. Valued tolerance relation among the objects of setbuilt on a set of conditional attributesis denoted by (i.e., ). satisfies two properties: (a) reflexive, ; and (b) symmetric, . Definition 1 is used to determine whether the objects of set satisfy the valued tolerance relation built on a set of conditional attributes, . If a pair of objects has the valued tolerance relation, then these objects may belong to the same tolerance class. The valued tolerance relation of each attribute , in any two objects,, is denoted by and calculated as follows: where , is the discrimination threshold value of the attribute , . The discrimination threshold, , is defined as the threshold of the similarity measure. The value is used to measure the similarity between two values of the attribute . From Equation (1), , , and . The value determines whether the two objects are indiscernible (equivalent) with the respect to each attribute in rough set theory. Definition 2 is used to calculate the valued tolerance relation between a pair of objects in built on a conditional attribute, . This definition supports the calculation of the valued tolerance relation between two objects in Definition 3. The valued tolerance relation between two objects, , on a set of conditional attributes, , is denoted by and calculated as follows: From Equation (2), , and satisfies two properties, (a) and (b), of the valued tolerance relation. Definition 3 used is to determine the valued tolerance relation between a pair of objects in built on a set of conditional attributes, . If , and then two objects, , are not related. If , then two objects have a valued tolerance relation. If is closer to 1, then two objects are more related. Then the valued tolerance relation matrix is built, , where this matrix is symmetric with the main diagonal is equal to 1. This definition supports Definition 4 to calculate the tolerance granule for each object in . A tolerance granule of object for relation is denoted by and calculated as follows: Definition 4 is used to determine whether the objects in have the valued tolerance relation with an object, , built on a set of conditional attributes, . Here, is a tolerance granule of u, where it carries a set of objects that has the valued tolerance relation with (i.e., a set of supporting objects of ). This definition supports Definition 5 to determine the lower and upper approximations of the decision classes (i.e., the tolerance classes) built on a set of conditional attributes, . With a set of decision classes, , a subset of conditional attributes, , and an object, , the lower approximations and upper approximations of  for are denoted by  and  and defined as follows: Definition 5 used is to determine a lower approximation, , of decision class , which has tolerance granules, , involved in and an upper approximation, , of that has tolerance granules, , intersected with . In this way, any objects that belong to are certainly involved in ; meanwhile, any objects that belong to can be involved in or not. Therefore, the determination of the lower and upper approximations plays an important role in the performance of the VTRS–DR method since it strongly affects the decision results, as well as the calculation space. The closer the and are to the , the more accurate the results and the lower the computational cost. With a setof decision classes, , a subset of conditional attributes, , and an object, , the membership degrees of object belonging to and are denoted by and and calculated as follows: where is the membership degree of object in the set (i.e., or ). Definition 6 is used to calculate the membership degree of an object, , to find out whether it belongs to the lower or upper approximation. The and values are in the interval between 0 and 1; thus, the object, , will belong to the approximation that is closer to 1. This is an important criterion to determine the decision class, , that the object, , belongs to. With a decision table and a subset of attributes, , a decision rule that describes an object, , , is denoted by , and defined by the following: where is a value of and is a decision class based on decision attribute of the object . Definition 7 is used to describe a decision rule, , corresponding to an object, , . In Equation (8), the left side presents a set of conditional attributes, , and the right side presents a decision attribute, , corresponding to a decision class that involves the object, . With a subset of attributes, , the credibility degree of a decision rule , , is denoted by and calculated as follows: Definition 8 is to calculate the credibility degree of a decision rule, , . The value is in the interval between 0 and 1. If this value is closer to 1, then it is reliable that the object is involved in the decision class . This is an important criterion for classifying a new object into a decision class. With a subset of attributes, , a support object set of a decision rule , , is denoted by and calculated as follows: In Equation (10), is the tolerance granule of rule for relation . It means, on binary relation , and with a set of conditional attributes, , we build a valued tolerance relation, , such that , where is the support degree of rule for object . Object is similar to some extent to the conditional part of the rule on the set of conditional attributes, . Moreover, is a valued tolerance relation defined exactly as the relation . Thus, is calculated as in Equation (3), i.e., and , , where is an object of the rule . Definition 9 is to determine the , a support object set of a decision rule, , corresponding to an object, , . The of is equivalent to a tolerance granule, , of the object . If many decision classes have the same credibility degrees, then it is difficult to decide which class the object belongs to; thus, the support object set of each class will help to solve the problem of classification. This value plays an important role in classifying a new object into a decision class.

4. The Proposed Positioning Method

In this section, to apply the VTRS–DR method to the WiFi fingerprinting method, we recount how we used the VTRS–DR method with a set of conditional attributes, , meaning that the whole set of (i.e., the whole APs) in the decision table, , was applied. Figure 1 shows the overall structure of the proposed method. The method is applied not only in the offline phase but also in the online phase. For the offline phase, at each reference point, , , a large number of RSS values from APs is collected. Then the original RSS fingerprinting database is created, as shown in Table 2. The structure of this database is presented as follows: {Position, Coordinate, RSS values from APs}. To make this database similar to the decision table, , in Table 1, two parts {Position, RSS values from APs} in the original database are copied, and the index of each row is added as the first column to mark the objects. Finally, Algorithm 1 is applied to the to make the fingerprinting decision rules database. The structure of the fingerprinting decision rules database is shown in Table 3, with the format as follows: {Rule, Conditions of rule, Decision attribute, Support components}. Here, the support components include two values: the credibility degree and the support object set value. For the online phase, based on the fingerprinting decision rules database and measured RSS values received from one unknown position, the user’s position is obtained via Algorithm 2. Algorithm 2 chooses the best RP candidate as the user’s position among the whole RPs by considering the valued tolerance relation, the credibility degree, the support object set value, and the Euclidean distance. One example of the proposed method can be seen in Appendix A.
Figure 1

The overall structure of the proposed method.

Table 2

The original RSS database.

Table 3

The structure of the fingerprinting decision rules database.

5. Experimental Results

5.1. Experimental Setup

To validate the efficiency and accuracy of the proposed method, we used the dataset introduced by Duong-Bao et al. [39]. The dataset was created in an office room at Hunan University, China, over four months. The room had an area of 9.0 × 6.5 m2. Five APs were installed at different positions, and each one was fixed at 1.1 m to 1.6 m from the ground, as can be seen in Figure 2. The smartphone played a role as a client to send the scanned RSS values to the server (i.e., the laptop). This server was responsible for storing the RSS values, creating the radio map, and classifying the user’s position among predefined RPs. Figure 3 shows the positions of the APs, as well as the RPs in a two-dimensional coordinate. From this figure, there existed 205 RPs in the room, and the grid spacing between two adjacent RPs was 0.5 m. The starting point (RP0) was marked at the entrance door on the top left of the figure, and the other RPs were marked orderly from the left side to the right side, and from the top to the bottom. The last point (RP204) ended at the bottom right, where it was nearby the AP3.
Figure 2

The office room for data collection.

Figure 3

The positions of five APs and 205 APs in the office room.

In the offline phase, a subject holding a smartphone in front of his body stood at each determined RP to collect the RSS values from the five available APs. For each RP, the subject scanned the RSS values 100 times in different directions, meaning that there were 20,500 scanning times for 205 RPs. In this phase, various environmental conditions (i.e., the density of people and electrical devices, the direction of the user, the period of a day, etc.) were considered to create a noisy and complex fingerprinting database. In the online phase, the RSS values were collected in two separate test cases which were set up with different environmental conditions. Table 4 shows the conditions for the RSS collection of the two cases. For each case, the subject stood on each RP and used the smartphone to scan the RSS values once, meaning that the subject collected the RSS values 205 times over 205 RPs (i.e., 410 times in two cases). More detailed descriptions of the dataset can be found in Reference [31].
Table 4

The difference in environmental conditions in Case 1 and Case 2.

ConditionsCase 1Case 2
Density of people1 to 96 to 13
Density of electrical devices1120
TemperatureCoolWarm
Height from the ground1.3 m1.3 m
Subject directionRandomRandom

5.2. Experimental Results

From the aforementioned dataset, in this experiment, the fingerprinting decision rules database was created from the original RSS fingerprinting database, which involves the RSS values collected from 205 RPs in the offline phase. Therefore, the training data used to build the new database include 20,500 objects corresponding to 20,500 samples (i.e., 20,500 rows) and five conditional attributes corresponding to five APs (i.e., five columns). At each RP position, the subject collected the RSS values 100 times; thus, there are 100 rules for each class (i.e., each RP), which also means that, for each RP, there are 100 collected fingerprints (i.e., set of RSS values). The testing data used the two test cases that were collected in the online phase of the above dataset to classify the user’s position. For each test case, the RSS values from the five APs were collected at each RP once, meaning there were 205 sets of RSS values collected over 205 RPs used for performance evaluation. The discrimination thresholds, , corresponding to the number of conditional attributes are shown in Table 5. To the best of our knowledge, the k values are mostly chosen from the trial-and-error method, meaning that different sets of values were put into the proposed method and repeatedly tested to find out the best values. We chose the discrimination threshold values, , for each attribute , , to measure the similarity among the objects and calculate the experimental results to find out which set of can help the VTRS–DR method to achieve the best result. With each set of , the VTRS–DR method builds a fingerprinting decision rules database. We used the database with 20,500 rows to test with the fingerprinting decision rules database corresponding to each . From the classification results corresponding to different sets of values, we then chose the set that maximizes the result.
Table 5

The discrimination threshold values, .

Attribute RSS1 RSS2 RSS3 RSS4 RSS5
kj 1.971.981.961.951.99
To evaluate the performance of our proposed method, we compared it with the NN-based methods (i.e., the 1-NN and WKNN (K is chosen as 3)) [17] and the random statistical (RS) method [14]. Note that the NN-based methods use the original fingerprinting database and the RS method uses the standardized fingerprinting database; meanwhile, the proposed method uses the fingerprinting decision rule database when matching with the measured RSS values in the online phase. For the compared methods, in the offline phase, the fingerprint of one RP is presented as a set of means of collected RSS values (i.e., 100 RSS values for each available AP at that RP). In the online phase, the NN-based and RS methods calculate the distance between the measured RSS values with the fingerprints of the whole RPs to find out the user’s position. The Euclidean distance was used for the two NN-based methods, while the Mahalanobis distance was used for the RS method, respectively. The mean error in the experiment is calculated as follows: where is the mean error (m), is the number of RPs used in the online phase , and is the Euclidean distance between and its classified position. Figure 4 shows the results of positioning errors of the four methods for the dataset of Case 1. It can be seen from the figure that the VTRS–DR method achieves the best results, as it can mostly find out the exact user’s positions among the predefined RPs (i.e., the same positions as the RPs where the user stood), which means no error (0 m). In Figure 4, there are only four positions (the 15th, 44th, 86th, and 162nd positions) where the proposed method obtains the wrong results, while the 1-NN and RS methods obtain 93 and 113 wrong results. The positioning errors corresponding to the four wrong estimated positions are 1 m, 3.35 m, 1.80 m, and 0.71 m, respectively. Comparing the mean positioning errors, the 1-NN, WKNN, and RS methods achieve errors around 1 m, which are 1.13 m for 1-NN, 1.17 m for WKNN, and 0.94 m for RS, respectively. Meanwhile, the mean errors of the proposed method are far better than others with only 0.033 m. A deeper statistical comparison of error positions is pointed out in Table 6. In this table, we can see that the WKNN method has the smallest minimum positioning error, with only 0.05 m, while the maximum error of the VTRS–DR method is only 3.35 m, which is approximately half of that of other methods, with 8.02, 7.03 m, and 6.73 m, respectively. However, the mean positioning error at wrong classified positions of the proposed method is not the smallest one (1.71 m with the standard deviation of 1.03 m), as it is higher than the WKNN mean error of only 1.17 m but lower than the two others, 2.05 m and 2.06 m. The results show the superiority of the VTRS–DR method to other methods for the dataset of Case 1 since it improves the classified accuracy from the above methods by 53.17% and 43.42%. The WKNN method cannot provide the exact positions where the user stood since this method calculates the mean positions from the three nearest candidates.
Figure 4

The positioning error distance of four methods via 205 RPs in Case 1.

Table 6

Statistical comparison of four methods in Case 1 at error positions.

1-NNWKNNRSVTRS–DR
No. of Errors11320593 4
Max (m)8.027.036.73 3.35
Min (m)0.50 0.05 0.500.71
Mean (m)2.05 1.17 2.061.71
Stdev (m)1.691.151.52 1.03
Figure 5 displays the positioning errors of the four methods for the dataset of Case 2, where the environmental conditions were set up as being more complicated, such as increasing the number of working people or increasing the number of electrical devices. Overall, even though the testing condition is more complex, the proposed method is still better than others since it still maintains a very small number of wrong estimated positions with only four errors (the 46th, 62nd, 86th, and 99th positions) compared to the 1-NN (116) and RS (108) methods, meaning that it reduces the classification errors by 54.64% and 50.73%, respectively. The positioning errors corresponding to the four wrong estimated positions are 1.58 m, 3.16 m, 1.80 m, and 1.41 m, respectively. The mean positioning error of the proposed method is the best one with only 0.039 m, while the others’ errors are around 1.2 m. Table 7 shows the further statistical analysis of the four methods in Case 2 at error positions. From this table, the proposed method still achieves the smallest maximum error with 3.16 m, but the mean positioning error of the WKNN method is higher than others with 1.26 m.
Figure 5

The positioning error distance of four methods via 205 RPs in Case 2.

Table 7

Statistical comparison of four methods in Case 2 at error positions.

1-NNWKNNRSVTRS–DR
No. of Errors116205108 4
Max (m)7.657.007.02 3.16
Min (m)0.50 0.001 0.501.41
Mean (m)2.10 1.26 2.211.99
Stdev (m)1.671.201.62 0.69
Moreover, the cumulative position error distributions in the two test cases are shown in Figure 6. For Case 1 (a), at the 60th percentile, the positioning error of the proposed method is 0 m, and at the 90th percentile, the error is still 0 m. The 0 m error continues until the 98th percentile. At the same percentiles, the errors of the NN, the WKNN, and RS methods are 0.68 m, 0.48 m, and 0.93 m at the 60th percentile and 3.24 m, 3.02 m, and 2.61 m at the 90th percentile, respectively. From this result, the VTRS–DR method certainly achieves much better accuracy compared to others. For Case 2 (b), the same phenomenon for the positioning errors among four methods also happens where the error of the proposed method is greatly smaller than the results of the other methods at the same percentiles. From both test cases, the VTRS–DR method outperforms the performance of the other methods from the point of view of classification since it can help to correctly classify the unknown position among the predefined RPs. The major reason for the extraordinary results of the proposed method is that it uses many classification levels (i.e., calculating the valued tolerance relation, the credibility degree, the support object set value, and the Euclidean distance).
Figure 6

Cumulative position error distributions of the four methods in (a) Case 1 and (b) Case 2.

The computational cost of the four implemented methods is analyzed by calculating the running time of each method on MATLAB (R2019a). We used a Dell Vostro laptop which was equipped with an Intel(R) Core (TM) i7-8550U CPU @1.80 GHz processor, 8 GB RAM, and 128 GB SSD. The operating system was Microsoft Windows 10 Professional Edition (64-bit). The computational cost for creating the fingerprinting decision rules database in the offline phase is approximately 96.62 min, and the time for creating the valued tolerance relation matrix obtains 89.34% of the total running time. Furthermore, Figure 7 shows the running time of the four algorithms over 205 RPs in Case 1 to classify the user’s position in the online phase. The figure revealed that the 1-NN becomes the smallest average cost of about 0.0002 s while the VTRS–DR method obtains the biggest average cost of about 0.12 s. Concurrently, the WKNN and RS methods obtain the average values of 0.0077 and 0.0155 s, respectively. From the above costs in two phases, we can easily see that the proposed method will take lots of time to build the fingerprinting decision rules databases, especially the valued tolerance relation matrix, but it does not take much time to estimate the user’s position in the online phase. This means that the proposed method can be used in the real-time scenario, while the database creation can be performed on the server readily.
Figure 7

The running time of four methods via 205 RPs in Case 1.

Furthermore, to evaluate the robustness of the proposed method, we intentionally reduced the number of APs to four and three APs instead of using the default five APs. Since there are many possible sets of using four or three APs, we used the combination method to consider the whole possible cases. Therefore, if we consider three APs, the number of possible cases is , and with four APs, this number is , respectively. The positioning results of the proposed method in two test cases were also compared to the 1-NN, WKNN, and RS methods. Table 8 and Table 9 show the mean positioning errors among the four methods in two cases with different combinations of four APs. For example, the notation {1, 2, 3, 4} in the tables represents the combination of four APs from 1 to 4. From both tables, even though the mean positioning errors of all cases increase, the VTRS–DR method still shows the best performance. The error of the proposed method is by far much lower than the others.
Table 8

Mean errors of using four APs in Case 1.

Case 1 (4 APs){1, 2, 3, 4}{1, 2, 3, 5}{1, 2, 4, 5}{1, 3, 4, 5}{2, 3, 4, 5}Mean (m)
1-NN1.3741.4331.4111.4711.3901.416
WKNN1.3521.3461.5321.3711.5141.423
RS1.5881.3501.4071.4621.6361.489
VTRS–DR 0.210 0.184 0.315 0.227 0.334 0.254
Table 9

Mean errors of using four APs in Case 2.

Case 2 (4 APs){1, 2, 3, 4}{1, 2, 3, 5}{1, 2, 4, 5}{1, 3, 4, 5}{2, 3, 4, 5}Mean (m)
1-NN1.5271.5361.7321.4731.5201.558
WKNN1.5991.5371.7351.4961.5631.586
RS1.5881.5381.6631.4771.6501.583
VTRS–DR 0.183 0.116 0.237 0.191 0.174 0.180
However, this is not right when using only three APs in two test cases. The mean positioning errors can be seen in Table 10 and Table 11. The results show that the VTRS–DR method cannot outperform the positioning results of other methods; even some combinations’ results of the proposed method are much worse than others, for example, the cases of {1, 3, 4} in both cases. The reason can come from the characteristic of the VTRS–DR method that it may require more than a certain number of attributes (i.e., the number of APs) to produce good results. This problem, however, might not occur in practical scenes due to the widespread of APs indoors, especially in urban areas. Figure 8 and Figure 9 display the comparisons of the mean of mean errors of the four methods in three different numbers of APs. From these figures, we can see that the mean of mean errors of the VTRS–DR methods is much better than others in cases using five and four APs, but for three APs, it is slightly better than others in Case 2 but somewhat worse than WKNN method in Case 1 (i.e., 1.766 m for WKNN and 1.865 m for VTRS–DR). Meanwhile, the RS method obtains the worst error in Case 1 with 1.959 m, and the 1-NN method gets the worst error in Case 2 with 2.103 m. The accuracy of the proposed method in Case 2 is better than in Case 1; we think that this is because the RSS values in Case 1 are more stable at any RPs than in Case 2 due to their simpler setup; thus, there may exist many valued tolerance relations that have the same values, and this makes it hard to classify the decision classes clearly. Therefore, the proposed method can work well in complicated environments, which are more popular in real life than stable environments are, such as Case 1.
Table 10

Mean errors of using three APs in Case 1.

Case 1 (3 APs){1, 2, 3}{1, 2, 4}{1, 2, 5}{1, 3, 4}{1, 3, 5}{1, 4, 5}{2, 3, 4}{2, 3, 5}{2, 4, 5}{3, 4, 5}Mean (m)
1-NN1.8451.8582.0001.9991.7131.9022.0111.7162.2301.8781.915
WKNN1.679 1.843 1.778 1.741 1.532 1.721 1.864 1.7152.0501.732 1.766
RS1.7851.9301.8791.9961.6431.8212.1381.9772.3382.0891.959
VTRS–DR 1.478 1.848 1.650 3.486 1.237 1.8102.004 1.444 2.024 1.664 1.865
Table 11

Mean errors of using three APs in Case 2.

Case 2 (3 APs){1, 2, 3}{1, 2, 4}{1, 2, 5}{1, 3, 4}{1, 3, 5}{1, 4, 5}{2, 3, 4}{2, 3, 5}{2, 4, 5}{3, 4, 5}Mean (m)
1-NN1.9122.1202.2942.1331.9932.1252.1592.0012.4181.8732.103
WKNN1.7931.9752.028 1.798 1.7402.0181.9341.9292.2341.7491.920
RS1.8212.1122.2921.9541.9252.1372.1652.0582.5211.9472.093
VTRS–DR 1.447 1.828 1.735 3.390 1.461 1.733 1.921 1.631 1.920 1.597 1.866
Figure 8

Mean of mean errors of four methods with different numbers of APs in Case 1.

Figure 9

Mean of mean errors of four methods with different numbers of APs in Case 2.

6. Conclusions

In this paper, a novel WiFi fingerprinting positioning method based on the valued tolerance and decision rules method was proposed. The proposed method is implemented not only in the offline phase but also in the online phase. In the offline phase, the fingerprinting decision rules database is built from the decision table based on the conventional RSS fingerprinting database. The created database consists of different components, such as the credibility degree and support object set, which are utilized to support the classification of the measured RSS values in the online phase to the precise class. This helps to increase the classification performance. The evaluation shows that the proposed method outperforms the other methods for both the datasets of the two cases which were set up with different environmental conditions, although the test data were collected in a small number (only two sets) of RSS samples on the exact position of each RP rather than the random positions in the target area. The wrong classification rate of the proposed method is very low, which reduced the errors from the other methods from 43.42% to 54.64%. However, the proposed method also has some limitations. The first one is high complexity. Even though it can achieve extraordinary positioning results, the computational complexity makes it difficult to be used in real-time since it needs to compute the relation matrix in the offline phase, as well as the complicated components, such as the credibility degree and support object set values in the online phase. The second limitation is that the performance of the proposed method will greatly degrade when the number of available APs is reduced. For future work, we want to evaluate the performance of this method in bigger areas, such as buildings with multiple floors and various available APs that consist of more complicated environmental conditions. Furthermore, we also want to investigate how to optimize the number, as well as the setup positions, of APs in a target area.
Table A1

The original RSS database proposed for the example.

PositionCoordinates RSS1 (dBm) RSS2 (dBm) RSS3 (dBm) RSS4 (dBm) RSS5 (dBm)
RP1 (x1,y1) −57−48−64−45−52
RP1 (x1,y1) −58−49−63−48−53
RP2 (x2,y2) −57−43−65−51−53
RP2 (x2,y2) −58−42−67−51−55
RP3 (x3,y3) −55−54−63−52−57
RP3 (x3,y3) −56−51−62−52−58
RP4 (x4,y4) −40−50−57−52−53
RP4 (x4,y4) −43−51−61−53−53
RP5 (x5,y5) −41−53−62−39−50
RP5 (x5,y5) −42−53−63−39−49
RP6 (x6,y6) −50−49−61−53−50
RP6 (x6,y6) −50−50−61−53−51
RP7 (x7,y7) −50−56−65−45−48
RP7 (x7,y7) −51−56−69−46−49
RP8 (x8,y8) −57−46−65−48−56
RP8 (x8,y8) −58−47−64−50−55
RP9 (x9,y9) −59−49−63−47−56
RP9 (x9,y9) −60−51−64−47−54
RP10 (x10,y10) −67−51−66−51−42
RP10 (x10,y10) −66−53−66−51−43
Table A2

The structure of the decision table created from the original RSS database.

U RSS1 (dBm) RSS2 (dBm) RSS3 (dBm) RSS4 (dBm) RSS5 (dBm) d(Position)
u1 −57−48−64−45−52 RP1
u2 −58−49−63−48−53 RP1
u3 −57−43−65−51−53 RP2
u4 −58−42−67−51−55 RP2
u19 −67−51−66−51−42 RP10
u20 −66−53−66−51−43 RP10
Table A3

Valued tolerance relation matrix, .

RA u1 u2 u3 u4 u5 u6 u7 u8 u9 u10 u11 u12 u13 u14 u15 u16 u17 u18 u19 u20
u1 1.00.2740000000000000.03400.0340.17400
u2 0.2741.00000000000000.1740.4490.2750.44900
u3 001.0 0.213 00000000000.17400000
u4 00 0.213 1.00000000000000000
u5 00001.00.17400000000000000
u6 00000.1741.000000000000000
u7 0000001.00000000000000
u8 00000001.0000.0730.07300000000
u9 000000001.00.6060000000000
u10 000000000.6061.00000000000
u11 00000000.073001.00.72500000000
u12 00000000.073000.7251.000000000
u13 0000000000001.00000000
u14 00000000000001.0000000
u15 0.0340.1740.174000000000001.00.5160.174000
u16 00.4490000000000000.5161.00.274000
u17 0.0340.2750000000000000.1740.2741.00.44900
u18 0.1740.449000000000000000.4491.000
u19 0000000000000000001.00.449
u20 0000000000000000000.4491.0
Table A4

The membership degrees of each object belong to and .

U μ(D1)A μ(D1)A μ(D2)A μ(D2)A μ(D3)A μ(D3)A μ(D4)A μ(D4)A μ(D5)A μ(D5)A μ(D6)A μ(D6)A μ(D7)A μ(D7)A μ(D8)A μ(D8)A μ(D9)A μ(D9)A μ(D10)A μ(D10)A
u1 0.8261.000000000000000.03400.17400
u2 0.5511.000000000000000.44900.44900
u3 000.8261.0000000000000.1740000
u4 001.01.00000000000000000
u5 00001.01.000000000000000
u6 00001.01.000000000000000
u7 0000001.01.0000000000000
u8 0000000.9271.00000.07300000000
u9 000000001.01.00000000001.0
u10 000000001.01.00000000001.0
u11 00000000.073000.9271.000000000
u12 00000000.073000.9271.000000000
u13 0000000000001.01.0000000
u14 0000000000001.01.0000000
u15 00.17400.17400000000000.8261.000.17400
u16 00.4490000000000000.5511.000.27400
u17 00.27500000000000000.2740.7251.000
u18 00.449000000000000000.5511.000
u19 0000000000000000001.01.0
u20 0000000000000000001.01.0
Table A5

The fingerprinting decision rules database.

Decision Rule RSS1 (dBm) RSS2 (dBm) RSS3 (dBm) RSS4 (dBm) RSS5 (dBm) d Credibility Degree (μA(ρi)) Support Object Set (SA(ρi))
ρ1 −57−48−64−45−52 RP1 0.726 {u1,u2,u15,u17,u18}
ρ2 −58−49−63−48−53 RP1 0.551 {u1,u2,u15,u16,u17,u18}
ρ3 −57−43−65−51−53 RP2 0.826 {u3,u4,u15}
ρ4 −58−42−67−51−55 RP2 0.826 {u3,u4}
ρ5 −55−54−63−52−57 RP3 1.0 {u5,u6}
ρ6 −56−51−62−52−58 RP3 1.0 {u5,u6}
ρ7 −40−50−57−52−53 RP4 1.0 {u7}
ρ8 −43−51−61−53−53 RP4 0.927 {u8,u11,u12}
ρ9 −41−53−62−39−50 RP5 1.0 {u9,u10}
ρ10 −42−53−63−39−49 RP5 1.0 {u9,u10}
ρ11 −50−49−61−53−50 RP6 0.927 {u8,u11,u12}
ρ12 −50−50−61−53−51 RP6 0.927 {u8,u11,u12}
ρ13 −50−56−65−45−48 RP7 1.0 {u13}
ρ14 −51−56−69−46−49 RP7 1.0 {u14}
ρ15 −57−46−65−48−56 RP8 0.551 {u1,u2,u3,u15,u16,u17}
ρ16 −58−47−64−50−55 RP8 0.551 {u2,u15,u16,u17}
ρ17 −59−49−63−47−56 RP9 0.551 {u1,u2,u15,u16,u17,u18}
ρ18 −60−51−64−47−54 RP9 0.551 {u1,u2,u17,u18}
ρ19 −67−51−66−51−42 RP10 1.0 {u19,u20}
ρ20 −66−53−66−51−43 RP10 1.0 {u19,u20}
  8 in total

1.  Continuous Indoor Positioning Fusing WiFi, Smartphone Sensors and Landmarks.

Authors:  Zhi-An Deng; Guofeng Wang; Danyang Qin; Zhenyu Na; Yang Cui; Juan Chen
Journal:  Sensors (Basel)       Date:  2016-09-05       Impact factor: 3.576

2.  Indoor Location Sensing with Invariant Wi-Fi Received Signal Strength Fingerprinting.

Authors:  Mohd Nizam Husen; Sukhan Lee
Journal:  Sensors (Basel)       Date:  2016-11-11       Impact factor: 3.576

3.  Fingerprinting-Based Indoor Localization Using Interpolated Preprocessed CSI Phases and Bayesian Tracking.

Authors:  Wenxu Wang; Damián Marelli; Minyue Fu
Journal:  Sensors (Basel)       Date:  2020-05-18       Impact factor: 3.576

4.  Fuzzy Logic Type-2 Based Wireless Indoor Localization System for Navigation of Visually Impaired People in Buildings.

Authors:  Basem Al-Madani; Farid Orujov; Rytis Maskeliūnas; Robertas Damaševičius; Algimantas Venčkauskas
Journal:  Sensors (Basel)       Date:  2019-05-07       Impact factor: 3.576

5.  CCpos: WiFi Fingerprint Indoor Positioning System Based on CDAE-CNN.

Authors:  Feng Qin; Tao Zuo; Xing Wang
Journal:  Sensors (Basel)       Date:  2021-02-05       Impact factor: 3.576

6.  An Indoor Positioning System Based on Static Objects in Large Indoor Scenes by Using Smartphone Cameras.

Authors:  Aoran Xiao; Ruizhi Chen; Deren Li; Yujin Chen; Dewen Wu
Journal:  Sensors (Basel)       Date:  2018-07-11       Impact factor: 3.576

7.  WiFi Indoor Localization with CSI Fingerprinting-Based Random Forest.

Authors:  Yanzhao Wang; Chundi Xiu; Xuanli Zhang; Dongkai Yang
Journal:  Sensors (Basel)       Date:  2018-08-31       Impact factor: 3.576

  8 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.