Comparison of location estimation accuracy in Wi-Fi – indoor positioning system
Indoor positioning technology is an important issue to be addressed for providing any kind of location based services. There were lot of approaches for this technology by the user of active sensors like active badge, active bat, etc. (Hightower and Borriello, 2001), and some approaches use the in-building Wi-Fi networks for indoor positioning. The use of Wi-Fi signals as a potential positioning system within buildings has opened doors for many applications. Lot of research is being undertaken in this domain to find a more viable solution of location positioning using the Wi-Fi signals within the building with higher accuracy. This is because of the ubiquitous availability of Wi-Fi signals in almost all the buildings, so no additional hardware is required to install a positioning system in the buildings.
The two basic methods of finding the position of the user given the signals strength of Wi-Fi are trilateration (Bahl and Padmanabhan, 2000; Wang et al., 2003) and location signature / fingerprinting (Bahl and Padmanabhan, 2000). The trilateration method can compute the user location on the fly from the signal strength data and known positions of the Wi-Fi signal transmitters also called Access Points (APs). The distance of the user from any Wi-Fi transmitter is inversely proportional to the signal strength obtained from that transmitter. One can find the user’s location if at least 3 Wi-Fi transmitters are visible. But this method of trilateration does not work well in the indoor environment. This is because of the signals undergo various interference and multipath problems due to the features like walls, equipments within the building and so the trilateration will not result in correct positioning of the user (Li et al. 2006).
The other method of positioning namely location signature / fingerprinting method solves this by involving two phases. In the first training phase, the location signature (i.e. the signal strength data from various access points (APs) at that point) of discrete points were recorded and stored in the database along with the location details of that point with in building. Since the actual signals at various points are collected, this signal information will include the interference and multipath patterns of the Wi-Fi signal data in the indoor environment which will even help to differentiate between two spatially close points but separated by walls. In the second positioning or testing phase, the obtained signals at user’s location are matched back to the training data. The location corresponding to the best match using a location estimation algorithm is the estimated position of the user.
This experiment studies about the Wi-Fi Location signature / fingerprinting method and does a preliminary comparison of the two location estimation algorithms namely the nearest neighborhood (Bahl and Padmanabhan, 2000) and Naïve Bayes (Pang et al., 2007) in terms of location estimation accuracy.
2. Experiment Setup:
The experiment was done in a real indoor environment without any special modifications. Totally 21 access points (APs) within and around the building were used in this experiment. 29 discrete points were selected in a section of the building which served as training points at which the Wi-Fi signal training data was collected. This section of the building constitutes test bed for the experiment.
2.1 Collection of Wi-Fi signal data (Training phase):
2.2 Location estimation methods (Testing phase):
2.2.1 Nearest neighborhood algorithm:
2.2.2 Naïve Bayes method:
2.3 Results and Discussion
The Figure 1 shows the test area for this project and the software tool used in this experiment. The base image shows the layout of the building floor. The blue dots represent the points at which the training data is collected. Figure 2 shows the errors (in meters) for all the test points. The X-axis represents the various test points and the Y-axis shows the corresponding error in location estimation in meters using the two algorithms namely the nearest neighborhood and Naïve Bayes. From the graph one could see that the Naïve Bayes algorithm is performing better in terms of location estimation and the average error in location estimation is around 2 meters, where as the average error in nearest neighborhood is around 4.5 meters.
2.4 Future Work:
The variation in the Wi-Fi signals with respect to the time, day and seasonal variation are major factors affecting the location estimation procedures. Also the Wi-Fi signals vary due to interference from other electromagnetic waves in the same wavelength which operate in the buildings like microwave ovens. These constitute the noise of the system. This noise negation models can be incorporated into the location estimation procedures.
Figure 2: Graph showing the location estimation errors of Nearest neighborhood and Naïve Bayes algorithms for various test points
1. Bahl, P, Padmanabhan, VN (2000) RADAR: An in-building RF-based user location and tracking system, IEEE Infocom 2000, Tel Aviv, Israel, 26-30 March, vol. 2, pp. 775-784.
2. Hightower, J., & Borriello, G., “Location systems for ubiquitous computing”, IEEE Computer, August 2001, 34, (8), pp. 57-66
3. Wang, Y., Jia, X., Lee, H.K., and Li, G.Y., “An indoor wireless positioning system based on WLAN infrastructure”, 6th Int. Symp. on Satellite Navigation Technology Including Mobile Positioning & Location Services, Melbourne, Australia, 22-25 July 2003, CD-ROM proc., paper 54.
4. Li, B, Salter, J, Dempster AG, Rizos, C (2006) Indoor Positioning Techniques Based on Wireless LAN, First IEEE International Conference on Wireless Broadband and Ultra Wideband Communications, Sydney, Australia, 13-16 March, paper 113.
5. P. Prasithsangaree, P. Krishnamurthy, and P. K. Chrysanthis, “On Indoor Position Location with Wireless LANs,” in Proc. IEEE International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC’02), Lisbon, Portugal, Sept. 2002.
6. Pang, J., Greenstein, B., Gummadi, R., Seshan, S., and Wetherall, D. 802.11 user fingerprinting. In MobiCom (Sept. 2007).
7. Li, B., Wang, Y., Lee, H.K., Dempster, A.G. & Rizos, C. “Method for Yielding a Database of Location Fingerprints in WLAN”, Communications, IEE Proceedings, Vol. 152, Issue 5, October 2005, pp. 580-586.
8. B Fu, G Bernath, B Steichen, S Weber “Wireless Background Noise in the Wi-Fi Spectrum” Mobile Computing, 2008. WiCOM’08
Wi-Fi Indoor Postioning System (Wi-Fi IPS)Posted: March 24, 2012 in Android Dev, iPhone Dev, Position System, Technology Update