Next Article in Journal
Fuzzy Logic-Based Guaranteed Lifetime Protocol for Real-Time Wireless Sensor Networks
Next Article in Special Issue
Saliency-Guided Detection of Unknown Objects in RGB-D Indoor Scenes
Previous Article in Journal
An Autonomous Self-Aware and Adaptive Fault Tolerant Routing Technique for Wireless Sensor Networks
Previous Article in Special Issue
VisitSense: Sensing Place Visit Patterns from Ambient Radio on Smartphones for Targeted Mobile Ads in Shopping Malls
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Infrastructure-Less Indoor Localization Using the Microphone, Magnetometer and Light Sensor of a Smartphone

by
Carlos E. Galván-Tejada
1,*,
Juan Pablo García-Vázquez
2,
Jorge I. Galván-Tejada
3,
J. Rubén Delgado-Contreras
4 and
Ramon F. Brena
4
1
Programa de Ingeniería de Software, Unidad Académica de Ingeniería Eléctrica, Universidad Autónoma de Zacatecas, Ciudad Universitaria Siglo XXI, Edificio de Ingeniería de Software e Ingeniería en Computación, Zacatecas 98160, Mexico
2
School of Engineering, MyDCI, Autonomous University of Baja California (UABC), Mexicali 21100, Mexico
3
Ingeniería Robótica y Mecatrónica, Unidad Académica de Ingeniería Eléctrica, Universidad Autónoma de Zacatecas "Francisco Garcia Salinas", Zacatecas 98000, Mexico
4
Graduate School of Engineering and Science, Instituto Tecnológico de Monterrey, CETEC South, 5th Floor, Av. E. Garza Sada 2501, Monterrey, NL 64849, Mexico
*
Author to whom correspondence should be addressed.
Sensors 2015, 15(8), 20355-20372; https://doi.org/10.3390/s150820355
Submission received: 2 July 2015 / Revised: 7 August 2015 / Accepted: 11 August 2015 / Published: 18 August 2015
(This article belongs to the Special Issue Sensors for Indoor Mapping and Navigation)

Abstract

:
In this paper, we present the development of an infrastructure-less indoor location system (ILS), which relies on the use of a microphone, a magnetometer and a light sensor of a smartphone, all three of which are essentially passive sensors, relying on signals available practically in any building in the world, no matter how developed the region is. In our work, we merge the information from those sensors to estimate the user’s location in an indoor environment. A multivariate model is applied to find the user’s location, and we evaluate the quality of the resulting model in terms of sensitivity and specificity. Our experiments were carried out in an office environment during summer and winter, to take into account changes in light patterns, as well as changes in the Earth’s magnetic field irregularities. The experimental results clearly show the benefits of using the information fusion of multiple sensors when contrasted with the use of a single source of information.

1. Introduction

Determining the physical location of a user has become an important aspect of mobile computing, because the user’s location is a fundamental part of her/his contextual information, allowing applications to be better suited to the user’s situation [1]. Beyond the widespread use of GPS location systems, which have been incredibly useful outdoors, indoor location has been proven to be a different problem, both because the buildings partially block the GPS signal, thus reducing precision, and, also, because of a higher concentration of relevant places, so the precision needed indoors is much higher. Thus, in recent years, the development of indoor location systems (ILS) has been under constant improvement, especially with the availability of new small and inexpensive sensors. There are several technological approaches that have been proposed for the design of indoor location systems. These include infrared light (IR), ultrasonic sensors, wireless local area networks (WLAN), radio frequency identification (RFID), Bluetooth, ultra wideband (UWB), ZigBee and computer vision, among others [2,3,4]. The combination of these technologies has also been considered [5,6]. Based on these technologies, various ILS have been developed, such as active badge [7], active bat [8], cricket [9], LANDMARC [10], Bluepos [11], LOSNUS [12], CLIPS [13], etc. However, most of them cannot be deployed in a mobile phone and present the disadvantage of requiring a dedicated infrastructure, hindering the system’s scalability as it requires adding devices, and in some cases, when an ILS is based on computer vision algorithms, high processing capabilities are required.
Therefore, some modern ILS are based on the use of a variety of sensors and devices that are embedded in smartphones (e.g., accelerometer, gyroscope, magnetometer) [14,15]; these can be classified as follows:
Inertial-based mobile ILS: these are based on the inertial sensors of a smartphone (e.g., accelerometers and gyroscope). The accelerometer can be used to determine the changes in the user’s position produced when an acceleration is detected in one or more axes, while the gyroscope can be used to detect the changes in the direction to improve the location estimation. Examples of these type of systems are presented in Li et al. [16] and Pratama et al. [17]. The main disadvantage of these systems is that several issues must be considered in the model for estimating the user’s location correctly, such as: (i) accurate knowledge of the initial reference point; (ii) the changes in the position and orientation of the device to the user’s body; and (iii) a calibration phase for estimating the stride length of the user that will use the system.
Camera-based mobile ILS: In these systems, the camera of the smartphone is used to capture information from the user’s location (e.g., an image, video, markers or codes). This information is then compared to the reference information that was previously collected. Examples of this type of system are MoVIPS [18] and SIngPost [19]. The main disadvantage of this approach is that it requires high processing capacity, and the accuracy of the system is reduced when the quality of the information captured presents low resolution or motion blur.
Signal-based mobile ILS: These systems use the sensors embedded in a smartphone to detect, measure and capture signals that are emitted by other devices and then conveyed inside the indoor environment (e.g., Wi-Fi, Bluetooth), as well as the natural signals that are commonly found in those indoor environments (e.g., magnetic field, ambient sound). In these systems, the position estimation is commonly performed through methods, such as “fingerprinting”. This one is composed of two phases: training and position determination. Firstly, a map of the observed signal strength values measured at different locations is recorded during a training phase. Secondly, the signal strength values observed at a user’s device are compared to the map values by using proximity matching algorithms, including, but not limited to k-NN (k-nearest neighbors) [10]. Examples of these systems are presented in Storms et al. [20] and Bilke et al. [21]. The main disadvantage is that they involve the previous point-by-point mapping of a given indoor environment, measuring the magnitude and/or direction of a specific signal at each point and, then, using this signal map for location purposes, finding the most similar place in the signal map to the one detected at a given point.
In this paper, we propose a signal-based ILS, which relies on merging the information from a microphone, a magnetometer and a light sensor embedded in a smartphone to estimate the user’s location in an indoor environment. The goal of our approach, however, is not to find a point in a coordinate system for the user’s location, but just a “room” or office in which the user is. For most practical purposes, this room-level location is large enough; this perspective has also the implication that in order to measure the location quality, instead of expressing an average error distance, we just compare the room predicted by the system against the actual room, and the proportion of correct guesses is expressed in terms of sensitivity and specificity.
There is a similar project called SurroundSense [22], which also targets room-level localization with multi-modal sensor information. However, we identify two basic differences: (i) SurroundSense does not consider magnetic fields as an information source; and (ii) the information fusion technique proposed in SurroundSense sequentially filtered information sources using sound first, then movement and then color, while our methodology proposes to perform information fusion using all information sources at once, combining the different features to make the classification of places.
Furthermore, we have two important goals for our approach: one is to provide low computational cost methods that could be amenable to run on portable devices, and the other is to rely on signals that are available in practically any building in the world (as are ambient noise, ambient light and the magnetic field of the Earth), regardless of how developed the country in which the user lives is.
In order to perform the signal analysis for noise, luminosity and magnetic field, we use our methodology previously presented in Galván-Tejada et al. [23]. In our approach, there is no need to construct a detailed signal map, consisting of a grid of signal measurements for each point of the indoor environment, as performed by Storms et al. [20] and Bilke et al. [21]. Instead, we propose to store a “signature” taken from a random walk inside a given room. By “walk” we refer to walking with a non-predefined pattern, as opposed to a perimeter walk proposed in other approaches. To acquire the information necessary for applying the model proposed in our methodology, we consider the temporal and spectral representation of the evolution of the magnetic field, the environmental sound and the indoor light signals. This method has been shown to be independent of the exact path of the user at the time of signal acquisition, thus facilitating the data acquisition phase and eliminating the necessity of creating an environmental map construction.
The main contribution of this paper is the fusion strategy to merge the information signals necessary to estimate the user’s location in an indoor environment. These signals include the magnetic field of the Earth, the environmental background sound and the luminosity pattern at each building’s room or office, which are present in any indoor environment. This is the rationale for considering the combination of these three signals for building an ILS that could be applied in a wide variety of indoor environments.
This paper is organized as follows. Our proposed method for estimating the user location based on merging data from the magnetic field, environmental audio and indoor light intensity is described in Section 2. In Section 3, we present the experiments and results. A discussion of our results is presented in Section 4, and finally, our conclusions and future work are presented in Section 5.

2. Indoor Location Estimation Methodology

For estimating the user’s location in an indoor environment, we extend our previous indoor location methodology presented in Galván-Tejada et al. [23]. This extension consists of the incorporation of two information sources (light and sound; the previous work was only about magnetic fields) and the corresponding adjustment of the multivariate methodology. Additionally, because increasing the number of information sources implies more features, we add two steps in the last phase (user location estimation model), a forward selection and a backward elimination step, which allow us to reduce features from the estimation model. This extended methodology consists of three phases, as is shown in Figure 1. The three phases are described in the following.
Figure 1. Methodology for estimating the user location.
Figure 1. Methodology for estimating the user location.
Sensors 15 20355 g001

2.1. Data Acquisition

This phase consists of acquiring information of the Earth’s magnetic field irregularities, environmental audio and indoor light intensity information from an indoor environment. To acquire this information, we developed a smartphone application that can access data from the microphone, the magnetometer and the light sensor embedded in the smartphone. For getting data entries, the user must walk around with the smartphone carried on the user’s hand with the screen up, keeping it at the waist level. This activity must be carried out during 10 seconds with an approximate speed of 1 m/s (we have verified that the exact speed is immaterial). In our proposal, the user’s location can be estimated regardless of the walking pattern, as proposed by Gozick [24].
The data are then used to form signatures, i.e., a basic set of data entries that represent the spectral and temporal behavior of the signals captured in the room. To estimate the number of signatures needed to create a model, we use Equation (1) proposed by Eberhardt [25]. It allows us to determine the minimal number of experiments in a multivariate process having statistical validity. In Equation (1), x is the minimum number of experiments and N is the number of rooms multiplied by the number of features and the number of signals, where the features are obtained from the captured signals. A detailed description of the features considered is provided later in the document.
x = l o g 2 ( N ) + 1

2.2. Data Analysis

This phase consists of five tasks, as shown in Figure 1, which are described as follows.
Getting sensors Data: The information provided by the sensors can be represented in vector form. For all of the sensors, 100 readings per second were recorded; the light sensor gets the quantity of lumens represented by a scalar; in the case of the audio sensor, the amplitude of the audio wave is stored. However, with regard to the magnetic field data vector, we need to compute the magnitude of the magnetic field at each measurement point. Each magnetic field measurement is composed of three elements: B x , B y and B z , and the magnitude of the magnetic field is computed by Equation (2), where M x , M y and M z (M referring to the local or current location of the magnetic field) are the three physical axes along x , y and z, respectively.
| M | = M x 2 + M y 2 + M z 2
Signature normalization: After all sensor measurements were obtained, the resulting vector data are processed to eliminate spatial scaling and shifting. This is accomplished by normalizing each signature using Equation (3), where z i , d is the normalized reading, r i , d refers to the i-th observation of the signature in dimension d, where d represents our data sources; μ d is the mean value of the signature for dimension d, and σ d is the standard deviation of the signature for dimension d.
i m : z i , d = r i , d - μ d σ d
Equation (3) is applied for all dimensions in R d .
Feature extraction: This process consists of extracting the minimal number of signal features that enable us to characterize the behavior of the signal. To select the appropriate set of features, we carried out a review of the literature in digital signal processing (DSP) and statistical analysis [26,27,28,29], and as a result, we identified 46 features shown in Table 1. From the features considered, 16 correspond to the temporal domain and 30 to the spectral domain. Temporal features are computed from the waveform of magnetic field, sound and light signals, while spectral features are acquired performing a P-point fast Fourier transform to each signature of the signals [20]. For computing the spectral features, we apply Equation (4), where E S i is the i-th energy signature of the normalized signal and N S i is the i-th normalized signature.
i n : E S i = F F T ( N S i )
Table 1. Features extracted.
Table 1. Features extracted.
FeaturesTemporal DomainSpectral Domain
Kurtosis**
Mean**
Median**
Standard Deviation**
Variance**
Coefficient of Variation (CV)**
Inverse CV**
1,5,25,50,75,95,99 100-Quantile**
Trimmed Mean**
Shannon Entropy *
Slope *
Spectral Flatness *
Spectral Centroid *
Skewness *
1–10 Spectrum Components *
Conform a feature vector: Once all of the features are computed, all of them are merged into a set of features that summarizes the behavior of the signal. This reduces the amount of data, from 1000 data points to 46 features per signature.
Percentile rank: To keep each feature value in the range from 0 to 1, we get the percentile rank, using Equation (5), where x is the feature vector and N is the number of features. Note that Tasks 2 and 5 are necessary to keep all of the feature values in the same range and with the same weight for the feature selection process explained below in this document.
P R = t r u n c a t i o n ( r a n k ( x ) ) ( N + 1 )

2.3. User’s Location Estimation Model

Three tasks must be performed to develop a model for estimating the user’s location; in each task, a model is acquired. The fitness of the models of the first two steps is calculated using the cross-validation approach and in the final task, which is the final model; the fitness is calculated using the split dataset approach, using 30 percent of the dataset as a blind test; these tasks are described as follows:
Feature selection (FS): The aim of this task is to reduce the number of features and to increase the accuracy of the model when less features are considered, thus avoiding the curse of dimensionality [30] and obtaining a less costly computational model.
A feature selection process can be viewed as an optimization problem. In this particular case, the fitness of the model must be optimized with the minimum number of features, and a well-know method for solving this kind of problem is the genetic algorithms (GA). There are other feature extraction techniques, like principal component analysis (PCA) and singular value decomposition (SVD). However, they discard some features that can be useful for the development of a location system based on using our methodology.
In feature selection, a genetic algorithm perform an analysis following 3 basic steps:
  • From a random selection of subsets from a population, the chromosomes are defined as variable subsets of a given size.
  • The capability of each chromosome is assessed for its ability to predict a dependent variable and has a certain level of accuracy.
  • The natural selection process, progressive improvement of the chromosome population, is driven by a number of operators: selection, mutation and crossover.
We propose to perform the analysis of 300 chromosomes, which represents the classification models, of 5 genes (features) each, 200 generations in each model, using in this evolutionary cycle the nearest centroid classifier. These numbers or generations were chosen to cover a big number of combinations of features, and the chromosome size was selected to minimize the “curse of dimensionality”. A well-known feature selection strategy, 3 k-fold cross-validation, was used in the GA setup due to the number of available samples. This 3 k-fold step allows one to generate a rank of features, which depend on the capability of each feature to estimate the location.
Forward selection (FS): This task generates nested models using the rank of features, adding the next best-ranked feature, one at a time in an iterative process, so that it selects the features that increase fitness the most [31].
Backward elimination (BE): To remove possible redundant information in the model acquired with the FS strategy, a BE strategy is applied. This BE involves the testing and elimination of features from the FS model; when the deletion of one feature from the FS model improves the fitness of the model, it is removed; this process is repeated until no improvement is detected. The model after BE gets a better fitness than the others obtained using the GA and the FS strategy.

3. Experiments and Results

In this section, we describe first the experimental results obtained from each sensor separately, in order to acquire an individual model, and then, we present the procedure for making the fusion of all of the sensors’ information. This procedure is carried out for two different datasets, one collected for summer afternoons and another one for a winter morning.

3.1. Local Test Environment

The experiments were carried out in a multi-floor building, which we see as a typical indoor office environment. The dimensions of the floor are 11 m wide and 20 m long, with an area of 220 m 2 . This floor is composed of 20 offices, 2 meeting rooms and 4 corridors. The floor has 38 linear fluorescent lights (General Electric: F96T8-SPX41), 38 air conditioning ducts (which have an impact on the environmental noise) and one wall of the building composed entirely of windows, which affects mainly ambient light.

3.2. Test Data Collection

The data collection took place in two different seasons and different times of day; one collection took place during summer in the afternoon (summer dataset) and the second one in winter during the morning (winter dataset) (data sets are available at: http://aaami.mty.itesm.mx/?page_id=24). Both were performed in 5 offices, 6 corridors and 1 meeting room. These spaces were randomly selected in order to cover several places around the floor; these offices and corridors are labeled in Figure 2.
Figure 2. Floor layout.
Figure 2. Floor layout.
Sensors 15 20355 g002
To collect the data from the microphone, magnetic field (device model: YAS532) and light (device model: CM3323-RGB) sensors, we developed a mobile application in Java using the Google API Level 7. The application was executed in a smartphone Samsung Galaxy S4 i905 with Samsung official Android Version 4.1 rom (Jelly Bean) (data sets are available at: http://www.gsmarena.com/samsung_i9505_galaxy_s4-5371.php).

3.3. Software Requirements

To execute the proposed methodology, two software tools were required: (1) R project (data sets are available at: http://www.r-project.org/), a free software (GNU project) environment for statistical computing, multi-platform, which allowed us to manage the data because of its integrated collection of data analysis tools; and (2) Galgo, an R package based on a genetic algorithm variable selection strategy, primarily designed to develop statistical models from large-scale datasets [32]. The Galgo analysis protocol is composed of 4 steps:
Setting-up the analysis: The analysis using Galgo starts pre-processing the data where the user specifies classes, variables and GA parameters in order to comply with the requirements of Galgo. All of this process can be done using another R tool. Finally, the parameters that define the GA search environment are defined. For this experiment, we define as classes the room names, that is CT542, CT536, CT534, CT522, CT524, Corridor 1a, 1b, 1c, Corridor 2, Corridor 3 and Corridor 4. The variables were the features extracted (Table 1) from the signatures, and finally, 200 generations and a size of 5 genes for 300 chromosomes were defined.
Searching relevant multivariate models: An evolutionary cycle begins from a random population of chromosomes of a size predefined in the fist step, in the parameters of the GA. In this case, we start 300 evolutionary cycles with the same configuration to expand the number of combinations even more.
Refinement and analysis of the population for selected chromosomes: The GA procedure selects the chromosomes that have the desired classification accuracy. In this step, after the selection, an analysis of the genes can be done to reduce the possibility of having genes that do not contribute to the fitness of the model.
Selection of a representative statistical model: During all of the Galgo process, several models are generated, and in the final step, the best model is chosen.

3.4. Getting the Classification Models from the Information Sources

To obtain the best classification model of each sensor, an evolution of the 300 models during the GA process using the nearest centroid classifiers was done per sensor (including the microphone). The nearest centroid was chosen because it has been identified that this is a fast and simple algorithm for classifier, which in addition has the capability to overcome the incompleteness of some datasets [31]. For instance, Figure 3 shows the fitness evolution of these 300 classifiers from the summer magnetic field dataset. We can see how until the GA process is completed, the fitness increases because of the selection of the best features. The gray lines show the evolution of each of the models generated during this process; the mean of the fitness of all of the models is represented by a blue line, and the light blue line represents the mean of the fitness until the evolution is carried out.
Figure 3. Magnetic field summer dataset evolution of the 300 nearest centroid models throughout 200 generations.
Figure 3. Magnetic field summer dataset evolution of the 300 nearest centroid models throughout 200 generations.
Sensors 15 20355 g003
To estimate the accuracy of the models from the selected chromosomes, a cross-validation strategy was applied. This process is important, because during this, the 300 models generating all of the variables are ranked by frequency; this ranking helps to know which variables summarize the behavior with high accuracy. For example, in Figure 4 is shown the rank of the variables from the light sensor from the summer dataset. This ranking allows us to know the stability of the genes and to use this rank to obtain a new model following the forward selection strategy. We can see that in both cases, the features in the first places of the rank are from the temporal evolution.
Figure 4. Light sensor summer dataset gene stability.
Figure 4. Light sensor summer dataset gene stability.
Sensors 15 20355 g004
Once the forward selection strategy is applied, the following models were obtained:
Magnetic field sensor (summer dataset): 1 model composed of 9 features selected from the top 30 ranked features.
Light sensor (summer dataset): 6 models composed of 7 to 17 features selected from the top 30 ranked features.
Microphone device (summer dataset): 5 models composed of 5 to 18 features selected from the top 30 ranked features.
Magnetic field sensor (winter dataset): 2 models composed of 9 and 10 features selected from the top 30 ranked features.
Light sensor (winter dataset): 6 models composed of 14 to 21 features selected from the top 30 ranked features.
Microphone device (winter dataset): 4 models composed of 7 to 10 features selected from the top 30 ranked features.
The final classification models for the sensors were obtained after applying a backward elimination strategy in order to avoid redundant information on the forward selection models. This feature elimination was applied to the models obtained with the forward selection strategy. The backward elimination strategy was carried out until no feature removal improves the fitness of the parent model. The cross-validation strategy was used to validate the final classification model, then the sensitivity and specificity were obtained for each sensor.
After the backward elimination, the classifier models obtained were the following:
Magnetic field sensor (summer dataset): a model composed of 8 features, 100-quantile 99, 95, 75 and 5, variance and media from the temporal signal and Component Number 2 and 100-quantile 5 from the spectral evolution.
Light sensor (summer dataset): a model composed of 6 features, all of them from the temporal evolution, 100-quantile 5, 50, 75 and 99, 90 percent trimmed media and the inverse coefficient of variation.
Microphone device (summer dataset): a model composed of 5 features, 100-quantile 5, 25 and variance from the temporal and Components 2 and 5 from the spectral evolution, equal to the best model obtained with the forward selection strategy.
Magnetic field sensor (winter dataset): a model composed of 9 features, standard deviation, media and 100-quantile 99, 95, 5 and 1, variance, coefficient of variation, inverse coefficient of variation and media from the temporal signal and spectral flatness from the spectral evolution.
Light sensor (winter dataset): a model composed of 9 features, 100-quantile 50, 75 and 95, 90 percent trimmed media, media, standard deviation and variance of the temporal evolution and Component Number 7 and 100-quantile 95 from the spectral evolution
Microphone device (winter dataset): a model composed of 6 variables, 100-quantile 5, 75 and 95 from the temporal and 100-quantile 75, 95 and 99 from the spectral evolution.
In Tables Table 2 and Table 3, we can see that even when the season is different, the sensitivity and the specificity of all of the sensors are similar. For example, the sensitivity of all of the sensors differs in an interval from 1 to 4 percent.
Table 2. Comparison of sensitivity and specificity: summer dataset.
Table 2. Comparison of sensitivity and specificity: summer dataset.
Sensor/DeviceSensitivitySpecificity
Magnetic Field Sensor0.72466830.9704668
Light Sensor0.70590340.9705903
Microphone Device0.75678060.9756781
Table 3. Comparison of sensitivity and specificity: winter dataset.
Table 3. Comparison of sensitivity and specificity: winter dataset.
Sensor/DeviceSensitivitySpecificity
Magnetic- Field Sensor0.75806850.9758069
Light Sensor0.70309240.9703092
Microphone Device0.7762980.9776298

3.5. Signal Information Fusion

To merge the information from the sensors, the features from all of the sensors were merged into one dataset; this procedure was done for the summer and winter datasets, 138 features per room. The same methodology of Section 2 was applied to reduce the 138 features. From the GA process, the selection of the best chromosomes is done in order to rank the variables by frequency; this rank is generated with more features because it contains the variables from the sensors. For instance, the final rank for winter dataset is shown in Figure 5 to know the stability of the genes associated with features from sensors; this rank was used to obtain a new model following the forward selection strategy.
Figure 5. Winter dataset gene stability from the fusion of all sensors.
Figure 5. Winter dataset gene stability from the fusion of all sensors.
Sensors 15 20355 g005
Once the forward selection strategy is applied, 24 models were obtained, 8 for the summer season and 16 for the winter season, composed of 6 to 50 features. As the fusion dataset has 138 features, the forward selection was applied from the top 50 ranked features instead of the first 30, as in the individual sources of information.
The final classification model of the fusion for each dataset was obtained after applying the backward elimination strategy.
After the backward elimination, the classifier model obtained for the summer dataset is composed of 7 features, 3 from the magnetic field sensor (100-quantile 99 and 75 from the temporal evolution and Component 1 from the spectral evolution), 3 from the microphone (100-quantile 99 and 5 from the temporal evolution and the kurtosis from the spectral evolution) and, finally, 1 from the light sensor (spectral flatness from the spectral evolution).
The model acquired from the backward elimination for the winter dataset is composed of 5 variables, 2 from the magnetic field sensor (100-quantile 5 and 95 from the temporal evolution), 2 from the microphone (100-quantile 75 from the temporal evolution and 100-quantile 95 from the spectral evolution) and 1 from the light sensor (100-quantile 75 from the temporal evolution).
The confusion matrix plot acquired from the classification models is shown in Figure 6; the specificity and sensitivity obtained from these two models merging information from all of the sensors is presented in Table 4, showing that the resulting model is better than the models obtained from the sensors individually, which are presented in Tables Table 2 and Table 3.
Figure 6. Confusion matrix plot acquired from the classification models. (a) summer dataset; (b) winter dataset.
Figure 6. Confusion matrix plot acquired from the classification models. (a) summer dataset; (b) winter dataset.
Sensors 15 20355 g006
In order to evaluate the quality of the model acquired, we compare it against other commonly-used classification algorithms, able to deal with nonlinear relations, insensitive to missing values and capable of handling numerical and categorical inputs. The comparison is in terms of sensitivity; the results are presented in Table 5. Our approach outperforms all of them in two principal senses: (i) the number of features was evaluated given the importance in the computational cost; in this sense only the best chromosome requires a lower number of features than the final model acquired using our proposal; and (ii) the sensitivity was evaluated because of the potential to describe the behavior of the model. In this evaluation, our model outperforms all of the other methods. Our proposal allows one to fuse several information sources and to select only the most representative features, improving the fitness and reducing the amount of information needed from each source.
Table 4. Sensitivity and specificity from the final models.
Table 4. Sensitivity and specificity from the final models.
Season DatasetSensitivitySpecificity
Summer Dataset0.93968060.9939681
Winter Dataset0.97601470.9976015
Table 5. Comparison of different approaches.
Table 5. Comparison of different approaches.
ApproachFeaturesSensitivity
Best Chromosome50.889
Nearest Centroid1360.920
Maximum Likelihood Classification1360.926
K-Nearest Neighbors1360.931
Random Forest1360.934
Our Approach60.955

4. Discussion

In this research, we focus on using multivariate models as an implicit form of information fusion for taking into account features of the considered signals (magnetic field, environmental sound, light intensity) for indoor location. The results of the experiments presented in Section 3 enable us to establish that merging multiple sources of information to estimate the user location improves the sensitivity around 22% and specificity around 2% of the system in comparison to only using one source of information individually (e.g., magnetic field). In addition, that data fusion enables us to generate models with less signal features, as presented in Section 3.5, as we have reduced the number of signal features needed to generate an indoor location estimation model 94% for the summer model and 96% for the winter model, which has the consequence of reducing the computational cost of the location process (remember that one of our goals is to allow the location process to run on a smartphone).
Regarding the information sources, we notice that the surviving features are independent of time, because all of the surviving features require ordered data (100-quantile). Then, temporal shape features provide more information to locate a user in indoor environments.
An interesting issue regarding information sources was that the magnetic field signal source has more weight in our model to estimate the user location. This is due to the fact that magnetic fields do not have variations as other sources, such as indoor light intensity or environmental audio. The stability of the magnetic field signal for indoor location also has been reported in the ILS projects of Storms et al. [20] and Chung et al. [33].
In our project, we propose using the fingerprint method to generate a model for merging different sources of environmental information to locate people indoors.
Finally, our results indicate that the time of day or season does not affect our location model very much. This is because most of the features in the final models are from the magnetic field, and the stability of the signal is for extended periods of time.

5. Conclusions and Future Work

We have presented a methodology for estimating the location of a user carrying a portable device that comprises a magnetometer, a microphone and a luminosity sensor in an indoor environment.
Our method involves first the calculation of a set of features of the considered signals, including time features, spectral features and energy features; then, a feature selection process follows, involving the use of genetic algorithms, complemented with forward selection and backward elimination, giving a very reduced set of features. We have experimentally shown that this reduced set of features gives a very high precision for discerning the user location, in spite of the great information reduction achieved. Thus, we have provided evidence that multivariate models can be used as an information fusion technique, in order to estimate the user location in indoor environments.
The main contribution of this paper is the use of multivariate models as an implicit form of information fusion for taking into account features of the considered signals (magnetic, sound, luminosity) for indoor location, achieving the information reduction. Further, we have shown that incorporating several signals has indeed resulted in an improvement in the precision, which is of course a characteristic of good information fusion.
The signals that we selected (magnetism, sound and luminosity), which are strictly passive signals that do not require any infrastructure installation and are available in practically every single building in the world, make this method very widely applicable for indoor location.
As future work, we consider that this methodology is amenable to be applied to other combinations of input signals for indoor location when available, as for instance the wireless Internet access points’ signal intensity, Bluetooth and other signals that are already available in many current portable devices, so we intend to further investigate their use. We are also considering using crowdsourcing, a new paradigm that leverages ubiquitous mobile sensing devices for collaborative tasks [34], in order to avoid explicitly performing the calibration task for each room. This could enable us to automatically construct the magnetic map. In addition, we consider carrying out a survey about how many features can affect our system in different buildings and how you could take them into account to plan the data collection stage.

Acknowledgments

This research was supported by the Tecnologico de Monterrey through the “Intelligent Systems” research chair.

Author Contributions

Carlos E. Galván-Tejada conceived, designed and performed the experiments additionally, partially wrote the paper, Juan P. García-Vázquez partially performed experiments and wrote the paper, Jorge Sensors 2015, 15 20370 I. Galván-Tejada and J. Rubén Delgado-Contreras partially performed experiments, and Ramón Brena wrote and review the paper.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Schilit, B.; Adams, N.; Want, R. Context-aware computing applications. In Proceedings of the 1994 First Workshop on Mobile Computing Systems and Applications (WMCSA ’94), Washington, CO, USA, 8–9 December, 1994.
  2. Gu, Y.; Lo, A.; Niemegeers, I. A survey of indoor positioning systems for wireless personal networks. IEEE Commun. Surveys Tutor. 2009, 11, 13–32. [Google Scholar] [CrossRef]
  3. Liu, H.; Darabi, H.; Banerjee, P.; Liu, J. Survey of wireless indoor positioning techniques and systems. IEEE Trans. Syst. Man Cybern. Part C: Appl. Rev. 2007, 37, 1067–1080. [Google Scholar] [CrossRef]
  4. Mautz, R. Overview of current indoor positioning systems. Geod. Kartogr. 2009, 35, 18–22. [Google Scholar] [CrossRef]
  5. Baniukevic, A.; Sabonis, D.; Jensen, C.S.; Lu, H. Improving wi-fi based indoor positioning using bluetooth add-ons. In Proceedings of the 2011 12th IEEE International Conference on Mobile Data Management (MDM), Lulea, Sweden, 6–9 June 2011.
  6. Galvan T., C.E.; Galvan-Tejada, I.; Sandoval, E. I.; Brena, R. Wifi bluetooth based combined positioning algorithm. Procedia Eng. 2012, 35, 101–108. [Google Scholar]
  7. Want, R.; Hopper, A.; Falcao, V.; Gibbons, J. The active badge location system. ACM Trans. Inf. Syst. 1992, 10, 91–102. [Google Scholar] [CrossRef]
  8. Ward, A.; Jones, A.; Hopper, A. A new location technique for the active office. IEEE Pers. Commun. 1997, 4, 42–47. [Google Scholar] [CrossRef]
  9. Priyantha, N.B.; Chakraborty, A.; Balakrishnan, H. The cricket location-support system. In Proceedings of the 6th Annual International Conference on Mobile Computing and Networking, Boston, MA, USA, 6–11 August 2000.
  10. Ni, L.M.; Liu, Y.; Lau, Y.C.; Patil, A.P. Landmarc: Indoor location sensing using active rfid. Wirel. Netw. 2004, 10, 701–710. [Google Scholar] [CrossRef]
  11. King, T.; Lemelson, H.; Farber, A.; Effelsberg, W. Bluepos: Positioning with bluetooth. In Proceedings of the IEEE International Symposium on Intelligent Signal Processing (WISP 2009), Budapest, Hungary, 26–28 August 2009.
  12. Schweinzer, H.; Syafrudin, M. Losnus: An ultrasonic system enabling high accuracy and secure tdoa locating of numerous devices. In Proceedings of the 2010 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Zurich, Switzerland, 15–17 September 2010.
  13. Noh, Y.; Yamaguchi, H.; Lee, U.; Vij, P.; Joy, J.; Gerla, M. Clips: Infrastructure-free collaborative indoor positioning scheme for time-critical team operations. In Proceedings of the 2013 IEEE International Conference on Pervasive Computing and Communications (PerCom), San Diego, CA, USA, 18–22 March 2013; pp. 172–178.
  14. Han, J.; Owusu, E.; Nguyen, L.T.; Perrig, A.; Zhang, J. Accomplice: Location inference using accelerometers on smartphones. In Proceedings of the 2012 Fourth International Conference on Communication Systems and Networks (COMSNETS), Bangalore, India, 3–7 January 2012.
  15. Kim, S.E.; Kim, Y.; Yoon, J.; Kim, E.S. Indoor positioning system using geomagnetic anomalies for smartphones. In Proceedings of the 2012 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sydney, Australia, 13–15 November 2012.
  16. Li, F.; Zhao, C.; Ding, G.; Gong, J.; Liu, C.; Zhao, F. A reliable and accurate indoor localization method using phone inertial sensors. In Proceedings of the 2012 ACM Conference on Ubiquitous Computing, Pittsburgh, PA, USA, 5–8 September 2012.
  17. Pratama, A.R.; Widyawan; Hidayat, R. Smartphone-based pedestrian dead reckoning as an indoor positioning system. In Proceedings of the 2012 International Conference on System Engineering and Technology (ICSET), Bandung, West Java, Indonesia, 11–12 September 2012; pp. 1–6.
  18. Werner, M.; Kessel, M.; Marouane, C. Indoor positioning using smartphone camera. In Proceedings of the 2011 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Guimarães, Portugal, 21–23 September 2011.
  19. Mulloni, A.; Wagner, D.; Barakonyi, I.; Schmalstieg, D. Indoor positioning and navigation with camera phones. IEEE Pervasive Comput. 2009, 8, 22–31. [Google Scholar] [CrossRef]
  20. Storms, W.; Shockley, J.; Raquet, J. Magnetic field navigation in an indoor environment. In Proceedings of the Ubiquitous Positioning Indoor Navigation and Location Based Service (UPINLBS), Kirkkonummi, Finland, 14–15 October 2010.
  21. Bilke, A.; Sieck, J. Using the magnetic field for indoor localisation on a mobile phone. Lect. Notes Geoinform. Cartogr. 2013. [Google Scholar] [CrossRef]
  22. Azizyan, M.; Constandache, I.; Choudhury, R.R. Surroundsense: Mobile phone localization via ambience fingerprinting. In Proceedings of the 15th Annual International Conference on Mobile Computing and Networking, Beijing, China, 20–25 September 2009.
  23. Galván-Tejada, C.E.; García-Vázquez, J.P.; Brena, R.F. Magnetic field feature extraction and selection for indoor location estimation. Sensors 2014, 14, 11001. [Google Scholar] [CrossRef] [PubMed]
  24. Gozick, B.; Subbu, K.P.; Dantu, R.; Maeshiro, T. Magnetic maps for indoor navigation. IEEE Trans. Instrum. Meas. 2011, 60, 3883–3891. [Google Scholar] [CrossRef]
  25. Eberhardt, F. A sufficient condition for pooling data. Synthese 2008, 163, 433–442. [Google Scholar] [CrossRef]
  26. Agostini, G.; Longari, M.; Pollastri, E. Musical instrument timbres classification with spectral features. EURASIP J. Appl. Signal Process. 2003, 2003, 5–14. [Google Scholar] [CrossRef]
  27. Chen, P.C.; Pavlidis, T. Segmentation by texture using a co-occurrence matrix and a split-and-merge algorithm. Comput. Graph. Image Process. 1979, 10, 172–182. [Google Scholar] [CrossRef]
  28. Haralick, R.M.; Shanmugam, K.; Dinstein, I.H. Textural features for image classification. IEEE Trans. Syst. Man Cybern. 1973. [Google Scholar] [CrossRef]
  29. Lambrou, T.; Kudumakis, P.; Speller, R.; Sandler, M.; Linney, A. Classification of audio signals using statistical features on time and wavelet transform domains. In Proceedings of the 1998 IEEE International Conference on Acoustics, Speech and Signal Processing, Seattle, WA, USA, 12–15 May 1998.
  30. Indyk, P.; Motwani, R. Approximate nearest neighbors: Towards removing the curse of dimensionality. In Proceedings of the Thirtieth Annual ACM Symposium on Theory of Computing, Dallas, TX, USA, 24–26 May 1998.
  31. Torteya, A.M.; Tamez Peña, J.G.; Treviño Alvarado, V.M. Multivariate predictors of clinically relevant cognitive decay: A wide association study using available data from adni. Alzheimer’s Dement. 2012, 8, 285–286. [Google Scholar] [CrossRef]
  32. Trevino, V.; Falciani, F. Galgo: An R package for multivariate variable selection using genetic algorithms. Bioinformatics 2006, 22, 1154–1156. [Google Scholar] [CrossRef] [PubMed]
  33. Chung, J.; Donahoe, M.; Schmandt, C.; Kim, I.-J.; Razavai, P.; Wiseman, M. Indoor location sensing using geo-magnetism. In Proceedings of the 9th International Conference on Mobile Systems, Applications, and Services, Bethesda, MD, USA, 28 June–1 July 2011.
  34. Laoudias, C.; Zeinalipour-Yazti, D.; Panayiotou, C.G. Crowdsourced indoor localization for diverse devices through radiomap fusion. In Proceedings of the 2013 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Montbeliard-Belfort, France, 28–31 October 2013.

Share and Cite

MDPI and ACS Style

Galván-Tejada, C.E.; García-Vázquez, J.P.; Galván-Tejada, J.I.; Delgado-Contreras, J.R.; Brena, R.F. Infrastructure-Less Indoor Localization Using the Microphone, Magnetometer and Light Sensor of a Smartphone. Sensors 2015, 15, 20355-20372. https://doi.org/10.3390/s150820355

AMA Style

Galván-Tejada CE, García-Vázquez JP, Galván-Tejada JI, Delgado-Contreras JR, Brena RF. Infrastructure-Less Indoor Localization Using the Microphone, Magnetometer and Light Sensor of a Smartphone. Sensors. 2015; 15(8):20355-20372. https://doi.org/10.3390/s150820355

Chicago/Turabian Style

Galván-Tejada, Carlos E., Juan Pablo García-Vázquez, Jorge I. Galván-Tejada, J. Rubén Delgado-Contreras, and Ramon F. Brena. 2015. "Infrastructure-Less Indoor Localization Using the Microphone, Magnetometer and Light Sensor of a Smartphone" Sensors 15, no. 8: 20355-20372. https://doi.org/10.3390/s150820355

Article Metrics

Back to TopTop