Next Article in Journal
Missing Data Imputation for Geolocation-based Price Prediction Using KNN–MCF Method
Previous Article in Journal
A Citizen-Centric Approach for the Improvement of Territorial Services Management
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Estimation of Indoor Location Through Magnetic Field Data: An Approach Based On Convolutional Neural Networks

by
Carlos E. Galván-Tejada
1,†,
Laura A. Zanella-Calzada
2,†,
Antonio García-Domínguez
1,
Rafael Magallanes-Quintanar
1,
Huizilopoztli Luna-García
1,
Jose M. Celaya-Padilla
1,
Jorge I. Galván-Tejada
1,
Alberto Vélez-Rodríguez
1 and
Hamurabi Gamboa-Rosales
1,*
1
Unidad Académica de Ingeniería Eléctrica, Universidad Autónoma de Zacatecas, Jardín Juarez 147, Centro, Zacatecas 98000, Zac, Mexico
2
LORIA, Université de Lorraine, Campus Scientifique BP 239, 54506 Nancy, France
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
ISPRS Int. J. Geo-Inf. 2020, 9(4), 226; https://doi.org/10.3390/ijgi9040226
Submission received: 17 February 2020 / Revised: 20 March 2020 / Accepted: 2 April 2020 / Published: 8 April 2020

Abstract

:
Estimation of indoor location represents an interesting research topic since it is a main contextual variable for location bases services (LBS), eHealth applications and commercial systems, among others. For instance, hospitals require location data of their employees, as well as the location of their patients to offer services based on these locations at the correct moments of their needs. Several approaches have been proposed to tackle this problem using different types of artificial or natural signals (i.e., wifi, bluetooth, rfid, sound, movement, etc.). In this work, it is proposed the development of an indoor location estimator system, relying in the data provided by the magnetic field of the rooms, which has been demonstrated that is unique and quasi-stationary. For this purpose, it is analyzed the spectral evolution of the magnetic field data viewed as a bidimensional heatmap, avoiding temporal dependencies. A Fourier transform is applied to the bidimensional heatmap of the magnetic field data to feed a convolutional neural network (CNN) to generate a model to estimate the user’s location in a building. The evaluation of the CNN model to deploy an indoor location system (ILS) is done through measuring the Receiver Operating Characteristic (ROC) curve to observe the behavior in terms of sensitivity and specificity. Our experiments achieve a 0.99 Area Under the Curve (AUC) in the training data-set and a 0.74 in a total blind data set.

1. Introduction

People’s indoor location estimation (ILE) is one of the most important context variables, since they are essential data for location-based services (LBS). This allows us to increase the features of these services in many fields, such as, eHealth [1], shopping centers [2], automotive applications [3], among others. Consequently, the development of indoor location systems (ILS) is an interesting research topic that is improved every day with different proposals, taking advantage of the availability of mobile devices, such as smartphones that can detect many natural or generated signals [4].
Regarding generated or artificial sources of data, few approaches have been proposed to develop ILS. For instance, there are several proposals that use the propagation of signals, such as Bluetooth, Zigbee, WiFi and radio frequency identification (RFID), among others [5,6,7,8]. These proposals have proved their ability to develop accurate and robust ILS, through the use of sensors and diverse devices, allowing the development of commercial and well-known systems, e.g., LANDMARC [9], Bluepos [10], CLIPS [11], to mention some [12,13]. Nevertheless, the use of these approaches is complicated and expensive given the need of specific infrastructure that must be deployed in buildings where the ILS will be used. Additionally, the coverage of these systems has several constrains of infrastructure materials, point of view, signal propagation, etc., giving a limited coverage for the estimation of the location of the user.
Approaches that uses natural signals, for instance, light, environmental sound, magnetic field data, etc., solve the problem of install the dedicated infrastructure to generate data to develop ILS and increasing the capability to cover wide areas. For this purpose, most of the natural signals can be sensed with common devices, such as smartphones, since they include not only magnetic field sensors but also proximity and acceleration sensors that allow us to collect data on the earth’s magnetic field.
For instance, Majeed et al. [14] propose an indoor location method using LED luminaries, where a passive user participation is not needed; however, specific LED lights are. Guan et al. [15] use visible light communication and specific niche of Robot Operating System (ROS) to develop an ILS. They propose the use of the double-lamp principle, presenting in their results a 1 cm error in real-time; however, it is a specific application of light localization in a mobile robot topic.
One approach that uses sound to develop an indoor positioning system is presented by Chang et al. [16]. This research proposes the use of deep learning to model the behavior of sound in a building, predicting the location based on the received sound, claiming 90% of accuracy. A mobile system developed to use with smartphones, called EchoTag, is proposed by Tung et al. [17]. They claim that one of the major improvements is that he pre-installation of infrastructure is not needed for generating acoustic signatures or fingerprints with a phone’s speaker. An average of 90% of accuracy is reported after one week of the fingerprint collection.
However, the previous approaches require signals that are easily affected by external phenomena. For instance, light varies even with the earth rotation, or in the case of artificial light with bulbs or LED, it changes if any replacement is done. In the case of environmental sound in a non-controlled environment, any type of noise could led to error estimation, additionally to the noise or offset that may be added by the microphone. Therefore, with the development and the availability of magnetic sensors in common devices, such as smartphones, approaches that use magnetic field signal as information source has been proposed [18,19,20] given that it is a robust signal to natural earth phenomena as rotation and translation [18].
Magnetic field anomalies can be used to describe specific locations inside a building [21], and novel approaches include the use of complex machine learning techniques. Ashraf et al. [22] propose a smartphone approach applying a deep neural network ensemble. A soft voting criteria is defined for the prediction of multiple neural networks (NN), claiming an average error of 2.8 meters. In this sense, convolutional neural networks (CNN), which are commonly used to classify images [23,24,25], are proposed to develop ILS. Al-homayani et al. [26] propose the use of CNNs to develop an ILS, using a smartphone as sensor and a matrix of magnetic data points as CNN input. They propose 317 points of interest and 58,374 samples collected, describing each point with a 2 rows by 3 columns matrix; however, a maximal error of 40.76 meters is reported. Also, an approach presented by Ashraf et al. [27] apply CNNs to identify the floor in which localization must be done and then mixed with a WiFi approach to achieve the location. However, for several applications, the identification of certain place, like the floor, or a particular room is enough to provide indoor services.
Based on what was mentioned above, this study proposes the use of a CNN applied to magnetic field data to identify particular rooms. For this approach, magnetic field data are viewed as a bi-dimensional heatmap of energy, that recognizes a particular room. Then, these heatmaps are used to feed a CNN, which is comprised by two convolutional layers, one max pool layer and two dropout layers. The objective of this CNN is to classify the heatmap into the different possible classes, estimating to which room it corresponds, to help in the development of new ILS approaches using a natural signal, which does not need to be deployed, additionally with the use of common devices, i.e., smartphones, with an algorithm that can be upgraded easly and implemented in any type of buildings.
Three main goals are presented in this work, (1) to know if magnetic field information can be used as a bi-dimensional data source to develop ILS and other type of applications. (2) To improve related approaches that implement CNNs with magnetic field data as a first step, given that CNNs could be improved by changing or adding new layers of the architecture. Finally, two important aspects of any ILS are: (a) that it must be a generalized model (i.e., a model that is independent from a specific device or user) and (b) easy to implement in mobile devices. Therefore, (3) it is important to demonstrate that magnetic data have enough information to develop a CNN model that can be encapsulated and ported in mobile devices.
This paper is organized as follows Section 2 presents a detailed description of the magnetic field data set used, as well as the methods applied for the development of the ILS. Section 3 presents the experiments performed using the spectral evolution of the magnetic field data from several rooms and the results obtained. In Section 4, a discussion and conclusions are described and, finally, Section 5 presents future work.

2. Materials and Methods

In this section, magnetic field sensors and data that describe each of the rooms and the building locations are detailed. Additionally, methods used to develop the indoor location estimation model through a CNN are presented.

2.1. Magnetic Field Sensors

As mentioned in the previous section, LBS are one of the principal applications of ILS. Therefore, to promote the application of this type of proposals, well-know and common devices are proposed to sense the magnetic field data, i.e., smartphones, which are widely spread and include magnetic field sensors, among others, as light, proximity and acceleration. Three smartphones with different types of sensors were used as collection devices to collect data on the earth’s magnetic field.
In the software part, an application that collects the magnetic sensor data from these smartphones was developed. To add complexity and variability to the data, three different users performed the sensing. A first user performed the magnetic field sensing using a Motorola G2, with a BOSH BMC150 magnetic sensor. The second user used a Sony Xperia 7 with the MPC d sensor and finally a last user performed the sensing with a Nexus 7 model smartphone. The sensors were selected based on the criteria of sensor quality to have a wide spectrum from low to high quality smart phones.

2.2. Data Pre-Processing

The original magnetic field readings are composed of an individual reading for each Cartesian axis, i.e., x, y and z component, as well as anomalous readings due to sudden changes in the magnetic field or erroneous sensor readings. Therefore, a pre-processing is required to obtain tidy data. The tasks corresponding to the pre-processing are described below:

2.2.1. Magnitude of Magnetic Field Data

Raw magnetic field data, composed by the three components in micro Teslas, described above, are processed using Equation (1) to obtain the magnitude of such data.
| M | = M x 2 + M y 2 + M z 2
Obtaining the magnitude of the magnetic field data makes it possible to avoid restricting the position of the smartphone and the reading obtained by the sensor for each of the axes (i.e., screen position with respect to the hand).

2.2.2. Normalization

To avoid a possible spatial scaling due to the different sensors used, a Z normalization is applied to each of the magnetic field readings that comprise the magnetic signature, using Equation (2), where z i , d refers to the normalized reading, r i , d refers to the i t h observation of the signature in dimension d, μ 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 (2) was applied for all dimensions in R d .

2.2.3. Energy Grouping

As a final step, an energy grouping process was performed, where the Fast Fourier Transform (FFT) was applied.
The FFT can be described as a simpler and efficient method to compute the Discrete Fourier Transform (DFT), which allows us to characterize linear systems and identify the frequency components of a sampled waveform [28]. Therefore, to calculate the DFT of an array with a fast algorithm, or the FFT, Equation (3) can be applied,
y [ h ] = k = 1 n z [ k ] e x p ( 2 π i ( k 1 ) ( h 1 ) / n )
where z [ k ] represents the vector of values to transform, h = 1 , , n where n is the length of y, e x p ( 2 π i ( k 1 ) ( h 1 ) / n ) is a primitive nth root of 1 and the value returned is the normalized univariate DFT of the sequence of values of z [29].
Equation (3) was implemented in R d .
Once initial magnetic signatures were collected in the rooms and stored in a data set created during the signature collection, feature extraction and selection were carried out to get the initial classification model that allows us to estimate the location of users.

2.3. Data set Description

The data set of the signatures of the earth’s magnetic field is composed of the data of 11 rooms. Each of the signatures represents 1000 points that describe the magnitude of the readings from each room, collected from a school building shown in Figure 1, available at research group website (The data set can be publicly accessed in http://ingsoftware.reduaz.mx/amidami). Those rooms (classrooms, bathrooms, corridors and offices) were selected due to several factors that make them interesting for this study. Their location, construction materials, electrical circuits and some of the walls are shared between rooms, making common spaces, which adds similar readings between two rooms, adding complexity to the development.
To ensure statistical validity, the minimum number of magnetic field signatures for each room was determined using Equation (4), as proposed by Galvan-Tejada et al. [18]. In this equation the result represented by x is the number of signatures to develop the model, N is the number of variables used for the experimentation. In this work, N is considered equal to 33,000 (11 rooms multiplied by 1000 unique magnetic field data points, multiplied by three different magnetic sensors each). Meaning a minimum of 16 signatures per room.
x = l o g 2 ( N ) + 1
In Table 1 selected rooms are presented, as well as the number of fingerprints of each. It can be observed that the minimal number of magnetic field fingerprints is 36 from one classroom and one corridor. Therefore, 36 was selected as the number of fingerprints used to train and test the CNN.

2.4. Convolutional Neural Network

CNN are a particular type of artificial neural network (ANN) to accurately represent the data learned. They are characterized by having up to five base layers, including an input layer, a convolutional neural layer, a pooling layer, a fully connected layer and an output layer. Also, CNN presents the important characteristic of extracting abstract features directly from the input data, achieving important contributions, mainly in different computer fields, such as classification, detection and segmentation of data [30].
This method, like other similar methods, uses a two-stage process: a feature learning stage and a classification stage. Each stage consists on one or more layers and, the feature learning stage is implemented by combining two types of layers, usually being convolutional layers and pooling layers. In this stage, the most significant features are extracted from the training subset of data. Then, these features are provided to a fully connected ANN layer.
A traditional ANN architecture of N-layers, with an input vector X 0 , produces an output vector X n = f ( W n X n 1 + b n ) , where X n 1 is the input vector to the n t h layer. In order to achieve minimum error between the desired and the actual output, an optimized set of weight vectors, W n , and bias vectors, b n , is calculated as shown in Equations (5) and (6).
W n = W n η e ( X n , X d e s i r e d ) W n
b n = b n η e ( X n , X d e s i r e d ) b n
Therefore, the first layer of a CNN, as mentioned above, usually consists of a convolutional layer, which uses a set of the filter to slid over the input data. The results obtained from each subset are mapped to one single point, repeating the process for the entire set of data. Then, this output is provided to a pooling layer. The purpose of the pooling layer is to make the calculations obtained from the convolutional layer easier through the reduction of its size and to make the CNN more invariant. To reach this purpose, a convolutional layer with a kernel size equal to the pooling size and a large pitch is used.
Considering a feature map, f, of a convolutional layer of size w h n , where w and h represent the width and height, respectively, and n the number of filters used in the convolutional layer. The pooling of the feature map, f, with a pooling size k and a stride r gives a three-dimensional array, S, represented in Equation (7),
S i , j , u ( f ) = ( h = | k / 2 | | k / 2 | w = | k / 2 | | k / 2 | | f g ( h , w , i , j , u ) | 1 p )
where p refers the order of p-norm and p represents the max pooling operation. g ( h , w , i , j , u ) = ( r · i + h , r · j + w , u ) represents a mapping function from positions in S to f. Then, in Equation (8), a calculation to correlate the convolutional layer and the pooling layer is presented,
C i , j , o ( f ) = σ ( h = | k / 2 | | k / 2 | w = | k / 2 | | k / 2 | u = 1 N θ h , W , u , o · f g ( h , W , i , j , u ) )
where θ refers the kernel weights, σ ( · ) refers the rectified linear unit activation function ( σ ( x ) = m a x ( 0 , x ) ) , and o N , being N the number of output channels [31,32].

Model Training

For the model training, the parameters used and the established CNN architecture are described below in Figure 2.
Initially, two convolutional layers (2-dimensional) are included, differing in the number of filters used in each, being 32 and 64, respectively. Also, both layers used a kernel size of 3 × 3 and as activation function, rectifier linear unit (ReLU). Then, a max pooling layer is included with a size of 2 × 2. A dropout layer is included with rate of 0.25. This layer probabilistically removes 25% of the inputs to the next layer, simulating a large number of networks with different structure, making nodes more robust to the inputs and reducing the risk of overfitting. A flatten layer is also added to reorder the data into a 4-d vector to be applied to the next dense layer. In this layer are presented 128 units and it uses as an activation rule, ReLU. A second dropout layer is added with a rate of 0.5 (50% of the inputs are removed). Finally, a second dense layer is added, presenting 11 units and as activation function, Softmax.
The activation function, ReLU, represents a non-sigmoidal function, defined by Equation (9), where x refers to the positive value obtained [33].
σ ( x ) = m a x ( 0 , x ) = ( x ) +
On the other hand, the objective of the activation function Softmax is to turn numbers aka logits into probabilities that sum to one, having as output a vector representing the probability distributions of a list of potential outcomes. It is calculated with Equation (10), where z is an arbitrary vector with real values z j , being j = 1, …, n, and n is the size of the vector [34].
f j ( z ) = e z j k = 1 n e z k

2.5. Model Validation

Additionally to the self-evaluation process, in terms of accuracy and loss function, which is done to evaluate the performance of the CNN to classify the heatmaps from the rooms, a blind test approach is proposed. Therefore, a percentage of the observations is used to train the CNN and the complement is used to test the performance of the trained model with data that the model has never seen.
For the loss function, categorical cross entropy is implemented. This function is used for categorical data, where for n classes, the target for each sample is a n-dimensional vector where all values are zeros, except for the index corresponding to the class of the sample, where the value is one. Then, the closer the model’s outputs are to the vector with value one, the lower the loss. Therefore, this function compares the distribution of the predictions, represented as q in Equation (11), with the true distribution, represented as q, where the probability of the real class is set to one while for the rest of the classes is set to zero.
H ( p , q ) = x p ( x ) l o g q ( x )
On the other hand, to measure the performance of the model the areas is calculated under the curve (AUC), which is the area under the ROC curve, is selected as metric to evaluate in terms of sensitivity and specificity. This metric allows us to observe the behavior of the model recognizing true positives (TP), which are observations that actually are classified as the correct room it belongs to, and false positives (FP), which are the observations that belongs to aother room but are classified in the current evaluated room. Therefore, AUC explains general performance of the CNN to classify the rooms.

3. Experiments and Results

In this section, the experiments performed and the results obtained are presented.
Initially, the data set contains 396 raw magnetic signatures of the rooms, 36 for each of the selected rooms, shown in Figure 3 in red, where it can be seen that they cover 40% of the total floor area of the building. As mentioned in previous section, these rooms were selected given several characteristics, mainly the location; nevertheless, the building construction materials and weather circumstances are other important features that can be taken in account in the development as is presented in other studies [19,21,35].
Once the fingerprints are selected, magnitude is calculated for each fingerprint to acquire a 1000 unique data points and the FFT is applied to each one. Subsequently, the one-dimension data vector obtained is reshaped, converting each uni-dimensional fingerprint into a bi-dimensional heatmap, as shown in Figure 4. This step is performed so that the data is in the appropriate format to be submitted to the CNN.
The energy distribution calculated per room is presented in Figure 5, where it can be observed the dispersion and symmetry of the data, and it can be identified that each room has a unique behavior, highlighting the following:
  • In general, the boxes that represent the energy measurements do not show symmetry, since Q 2 is not in the center.
  • The boxes show similar interquartile difference, which adds complexity to the development, as mentioned in Section 2.3, by having some similar measurements between rooms.
  • The average measurements for the regions are not similar between rooms.
  • There are no outliers, which demonstrates consistency and reliability in measurements.
In the next stage, the training of the model proposed is developed. For the implementation of the CNN, the Python deep learning library, Keras [36], is used.
The development of the model is divided into two steps, training and testing. For the training, the CNN balances 70% of the data, i.e., 11 fingerprints per room and it is carried on over 500 epochs. The performance of this step is presented in Figure 6, observing in the upper graph the behavior of the loss function and in the lower graph the behavior of the accuracy, which increase along the 500 epochs and reaches 0.99.
For the validation of the CNN model, the 30% remaining data is used for a blind test, i.e., five fingerprints per room. Then, the ROC curve of this step is calculated, as shown in Figure 7, to observe the behavior in terms of sensitivity and specificity, appreciating true positives and true negatives, obtaining an AUC of 0.746.

4. Discussion and Conclusions

In this work it is presented the implementation of a CNN to classify indoor location magnetic fingerprints for the estimation of the location. This approach uses lineal magnetic field data points viewed as a bi-dimensional heatmap in order to be classified with a CNN approach. The results presented in Section 3 allow us to identify the following aspects:
  • Magnetic field fingerprints can be viewed as bi-dimensional data: Even when magnetic field data is viewed as a unique data point, a collection of points of a room can be treated as a bi-dimensional data heatmap that allows us to develop an ILS with bi-dimensional techniques. In this proposal, these bi-dimensional representations are viewed as a spectral evolution after applying an FFT, as presented in the results section, which means that spectral information and their properties are present due to the above, it means that a partial fingerprint has enough information that can identify the room.
  • CNN can be used to work with magnetic data: Currently, CNN has been widely used for the development of classification models in the field of image processing. However, the application presented in this work, with the magnetic field data seen as a bi-dimensional heatmap, has been shown to have the potential to be used as input for the training of a CNN in order to develop an ILS. According to the results obtained, the classification of indoor locations based on the modeling of magnetic field data allows us to obtain statistically significant accuracy. However, CNN could be improved in several ways, for instance, changing the loss function could lead to upgrading the performance of the CNN for this specific scenario, additionally a deeper NN can increase the AUC for complex buildings. Nevertheless, these last modifications needs a special study to be sure of the avoidance of the over fitting problem.
  • Magnetic field data present enough information to develop an ILS: Several approaches include magnetic field as a second data source to complement another type of signal. However viewed as a bi-dimensional data source, magnetic field has enough information to develop an ILS, achieving almost 75% of AUC. Nevertheless, the reduction of AUC in the blind set could reflect a overfitting problem that must be studied.
  • Deeper Networks and longer training improve the fitness of the CNN: Accuracy of the CNN increase along the 500 epochs proposed in this work, meaning a better ILS complemented with the reduction of the loss metric.
One interesting point from this research is that magnetic field can be viewed as a bi-dimensional signal, allowing the study of this signal with digital image processing techniques, such as CNNs which are mainly used to classify images.
Nevertheless, even when the AUC of the blind test is almost 0.75, it is much less than 0.99 which was obtained with the training set, meaning that the architecture could be modified to show better results in the blind test, for example, increasing the number of layers or, on the other hand, increasing the number of epochs. However, both options could lead to an overfitting problem, so it must be analyzed.

5. Future Work

Magnetic field demonstrates that it can be used to develop an ILS based on a CNN approach. However it is important to mention that there are several problems and improvements that could be done. Therefore, it is proposed as future work the analysis of other types of architectures to increase the fitness in the blind test without compromising the overfitting that could appear, as well as testing a longer training to adjust weights of the neural network. It is also possible to evaluate the model in different scenarios with variable configurations (size and distribution of spaces, wall materials, etc.) to visualize the behavior of the obtained results. In addition, increasing the data set allows us to apply transfer learning as another approach to evaluate the performance of the CNN, where they can also be used as learning curves for the evaluation of the behavior.
Finally, the developed CNN will be implemented in mobile devices through the development of a mobile app for the most common operative systems, such Android and iOS.

Author Contributions

Conceptualization, Carlos E. Galván-Tejada; Data curation, Carlos E. Galván-Tejada, Laura A. Zanella-Calzada, Huizilopoztli Luna-García and Jose M. Celaya-Padilla; Formal analysis, Carlos E. Galván-Tejada, Laura A. Zanella-Calzada, Antonio García-Domínguez, Jose M. Celaya-Padilla and Jorge I. Galván-Tejada; Funding acquisition, Jorge I. Galván-Tejada and Hamurabi Gamboa-Rosales; Investigation, Carlos E. Galván-Tejada and Laura A. Zanella-Calzada; Methodology, Carlos E. Galván-Tejada, Antonio García-Domínguez, Rafael Magallanes-Quintanar, Jose M. Celaya-Padilla and Hamurabi Gamboa-Rosales; Project administration, Carlos E. Galván-Tejada and Jorge I. Galván-Tejada; Resources, Jose M. Celaya-Padilla, Jorge I. Galván-Tejada and Hamurabi Gamboa-Rosales; Software, Laura A. Zanella-Calzada, Antonio García-Domínguez, Rafael Magallanes-Quintanar, Huizilopoztli Luna-García and Alberto Vélez-Rodríguez; Supervision, Antonio García-Domínguez, Rafael Magallanes-Quintanar and Alberto Vélez-Rodríguez; Validation, Carlos E. Galván-Tejada and Rafael Magallanes-Quintanar; Visualization, Carlos E. Galván-Tejada, Rafael Magallanes-Quintanar and Huizilopoztli Luna-García; Writing—original draft, Carlos E. Galván-Tejada, Laura A. Zanella-Calzada, Antonio García-Domínguez, Huizilopoztli Luna-García and Alberto Vélez-Rodríguez; Writing—review & editing, Carlos E. Galván-Tejada and Laura A. Zanella-Calzada. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Grönroos, S.; Peltonen, L.M.; Soloviev, V.; Lilius, J.; Salanterä, S. Indoor positioning system for movement path analysis in healthcare institutions. Finn. J. eHealth eWelf. 2017, 9, 112–120. [Google Scholar] [CrossRef] [Green Version]
  2. Liu, Y.; Cheng, D.; Pei, T.; Shu, H.; Ge, X.; Ma, T.; Du, Y.; Ou, Y.; Wang, M.; Xu, L. Inferring gender and age of customers in shopping malls via indoor positioning data. In Environment and Planning B: Urban Analytics and City Science; Sage Publications: London, UK, 2019; p. 2399808319841910. [Google Scholar]
  3. Ionescu, L.; Belu, N.; Rachieru, N.; Mazăre, A.; Anghel, D. Monitoring of manufacturing processes in the automotive industry using indoor location system. In IOP Conference Series: Materials Science and Engineering; IOP Publishing: Bristol, UK, 2016; Volume 145, p. 022020. [Google Scholar]
  4. Galván-Tejada, C.E.; García-Vázquez, J.P.; Brena, R.F. Natural or generated signals for indoor location systems? An evaluation in terms of sensitivity and specificity. In Proceedings of the IEEE 2014 International Conference on Electronics, Communications and Computers (CONIELECOMP), Cholula, Mexico, 26–28 February 2014; pp. 166–171. [Google Scholar]
  5. Afuosi, M.B.; Zoghi, M.R. Indoor Positioning Based on Improved Weighted KNN for Energy Management in Smart Buildings. Energy Build. 2020, 212, 109754. [Google Scholar] [CrossRef]
  6. Cui, W.; Liu, Q.; Zhang, L.; Wang, H.; Lu, X.; Li, J. A robust mobile robot indoor positioning system based on Wi-Fi. Int. J. Adv. Robot. Syst. 2020, 17, 1729881419896660. [Google Scholar] [CrossRef] [Green Version]
  7. Xu, H.; Ding, Y.; Li, P.; Wang, R.; Li, Y. An RFID indoor positioning algorithm based on Bayesian probability and K-nearest neighbor. Sensors 2017, 17, 1806. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Zhou, C.; Yuan, J.; Liu, H.; Qiu, J. Bluetooth indoor positioning based on RSSI and Kalman filter. Wirel. Pers. Commun. 2017, 96, 4115–4130. [Google Scholar] [CrossRef]
  9. Ni, L.M.; Liu, Y.; Lau, Y.C.; Patil, A.P. LANDMARC: Indoor location sensing using active RFID. In Proceedings of the 1st IEEE International Conference on Pervasive Computing and Communications, (PerCom 2003), Fort Worth, TX, USA, 23–16 March 2003; pp. 407–415. [Google Scholar]
  10. King, T.; Lemelson, H.; Farber, A.; Effelsberg, W. Bluepos: Positioning with bluetooth. In Proceedings of the 2009 IEEE International Symposium on Intelligent Signal Processing, Budapest, Hungary, 26–28 August 2009; pp. 55–60. [Google Scholar]
  11. Tilch, S.; Mautz, R. CLIPS—A camera and laser-based indoor positioning system. J. Locat. Based Servi. 2013, 7, 3–22. [Google Scholar] [CrossRef]
  12. IndoorAtlas, L. Ambient Magnetic Field-Based Indoor Location Technology: Bringing the Compass to the Next Level; IndoorAtlas Ltd.: Mountain View, CA, USA, 2012. [Google Scholar]
  13. Priyantha, N.B. The cricket indoor location system. Ph.D. Thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 2005. [Google Scholar]
  14. Majeed, K.; Hranilovic, S. Performance Bounds on Passive Indoor Positioning using Visible Light. J. Lightw. Technol. 2020, 38, 2190–2200. [Google Scholar] [CrossRef]
  15. Guan, W.; Chen, S.; Wen, S.; Hou, W.; Tan, Z.; Cen, R. Indoor Localization System of ROS mobile robot based on Visible Light Communication. arXiv 2020, arXiv:eess.SP/2001.01888. [Google Scholar]
  16. Chang, C.H.; Lin, C.Y.; Wang, R.G.; Chou, C.C. Applying Deep Learning and Building Information Modeling to Indoor Positioning Based on Sound. In Computing in Civil Engineering 2019: Visualization, Information Modeling, and Simulation; American Society of Civil Engineers: Reston, VA, USA, 2019; pp. 193–199. [Google Scholar]
  17. Tung, Y.C.; Shin, K.G. Echotag: Accurate infrastructure-free indoor location tagging with smartphones. In Proceedings of the 21st Annual International Conference on Mobile Computing and Networking, Paris, France, 7–11 September 2015; pp. 525–536. [Google Scholar]
  18. 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–11015. [Google Scholar] [CrossRef] [Green Version]
  19. Li, B.; Gallagher, T.; Dempster, A.G.; Rizos, C. How feasible is the use of magnetic field alone for indoor positioning? In Proceedings of the IEEE 2012 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sydney, Australia, 13–15 November 2012; pp. 1–9. [Google Scholar]
  20. Shao, W.; Zhao, F.; Wang, C.; Luo, H.; Muhammad Zahid, T.; Wang, Q.; Li, D. Location fingerprint extraction for magnetic field magnitude based indoor positioning. J. Sens. 2016, 2016. [Google Scholar] [CrossRef]
  21. Shen, G.J.; Zhao, C.; Zhao, F. Indoor Location-Finding Using Magnetic Field Anomalies. U.S. Patent 9,326,103, 26 April 2016. [Google Scholar]
  22. Ashraf, I.; Hur, S.; Park, S.; Park, Y. DeepLocate: Smartphone Based Indoor Localization with a Deep Neural Network Ensemble Classifier. Sensors 2020, 20, 133. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  23. Farfade, S.S.; Saberian, M.J.; Li, L.J. Multi-view face detection using deep convolutional neural networks. In Proceedings of the 5th ACM on International Conference on Multimedia Retrieval, Shanghai, China, 23–16 June 2015; pp. 643–650. [Google Scholar]
  24. Chen, J.; Ou, Q.; Chi, Z.; Fu, H. Smile detection in the wild with deep convolutional neural networks. Mach. Vis. Appl. 2017, 28, 173–183. [Google Scholar] [CrossRef]
  25. Khan, K.; Attique, M.; Khan, R.U.; Syed, I.; Chung, T.S. A Multi-Task Framework for Facial Attributes Classification through End-to-End Face Parsing and Deep Convolutional Neural Networks. Sensors 2020, 20, 328. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  26. Al-homayani, F.; Mahoor, M. Improved indoor geomagnetic field fingerprinting for smartwatch localization using deep learning. In Proceedings of the 2018 IEEE International Conference on Indoor Positioning and Indoor Navigation (IPIN), Nantes, France, 24–27 September 2018; pp. 1–8. [Google Scholar]
  27. Ashraf, I.; Hur, S.; Park, Y. Application of Deep Convolutional Neural Networks and Smartphone Sensors for Indoor Localization. Appl. Sci. 2019, 9, 2337. [Google Scholar] [CrossRef] [Green Version]
  28. Bergland, G. A guided tour of the fast Fourier transform. IEEE Spectr. 1969, 6, 41–52. [Google Scholar] [CrossRef]
  29. R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2019. [Google Scholar]
  30. Ganapathi, I.I.; Prakash, S.; Dave, I.R.; Bakshi, S. Unconstrained ear detection using ensemble-based convolutional neural network model. In Concurrency and Computation: Practice and Experience; Wiley: Hoboken, NJ, USA, 2020; p. e5197. [Google Scholar]
  31. Pratt, S.; Ochoa, A.; Yadav, M.; Sheta, A.; Eldefrawy, M. Handwritten Digits Recognition Using Convolution Neural Networks. J. Comput. Sci. Coll. 2019, 34, 40. [Google Scholar]
  32. Hai, J.; Qiao, K.; Chen, J.; Tan, H.; Xu, J.; Zeng, L.; Shi, D.; Yan, B. Fully convolutional densenet with multiscale context for automated breast tumor segmentation. J. Healthc. Eng. 2019, 2019. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  33. Schmidt-Hieber, J. Nonparametric regression using deep neural networks with ReLU activation function. arXiv 2017, arXiv:1708.06633. [Google Scholar]
  34. Kouretas, I.; Paliouras, V. Simplified Hardware Implementation of the Softmax Activation Function. In Proceedings of the IEEE 2019 8th International Conference on Modern Circuits and Systems Technologies (MOCAST), Thessaloniki, Greece, 13–15 May 2019; pp. 1–4. [Google Scholar]
  35. Shu, Y.; Bo, C.; Shen, G.; Zhao, C.; Li, L.; Zhao, F. Magicol: Indoor localization using pervasive magnetic field and opportunistic WiFi sensing. IEEE J. Sel. Areas Commun. 2015, 33, 1443–1457. [Google Scholar] [CrossRef]
  36. Keras. 2015. Available online: https://keras.io (accessed on 10 October 2019).
Figure 1. Distribution plan of main floor of school building used to comprise the magnetic field data set.
Figure 1. Distribution plan of main floor of school building used to comprise the magnetic field data set.
Ijgi 09 00226 g001
Figure 2. Architecture and parameters of the convolutional neural network (CNN) architecture proposed.
Figure 2. Architecture and parameters of the convolutional neural network (CNN) architecture proposed.
Ijgi 09 00226 g002
Figure 3. Distribution plane of main floor of school building used to comprise the magnetic field data set.
Figure 3. Distribution plane of main floor of school building used to comprise the magnetic field data set.
Ijgi 09 00226 g003
Figure 4. Example of heatmaps from a bi-dimensional magnetic field signature. The numbers presented in labels x and y represent the fingerprints, showing the structure of the relationship between them. (a) Heatmap before applying Fast Fourier Transform (FFT); (b) FFT heatmap.
Figure 4. Example of heatmaps from a bi-dimensional magnetic field signature. The numbers presented in labels x and y represent the fingerprints, showing the structure of the relationship between them. (a) Heatmap before applying Fast Fourier Transform (FFT); (b) FFT heatmap.
Ijgi 09 00226 g004
Figure 5. Energy distribution per room.
Figure 5. Energy distribution per room.
Ijgi 09 00226 g005
Figure 6. CNN training behavior based on (A) loss function and (B) accuracy.
Figure 6. CNN training behavior based on (A) loss function and (B) accuracy.
Ijgi 09 00226 g006
Figure 7. ROC Curve from blind test in the CNN over 500 epochs.
Figure 7. ROC Curve from blind test in the CNN over 500 epochs.
Ijgi 09 00226 g007
Table 1. Type and number of magnetic field fingerprints for each selected room.
Table 1. Type and number of magnetic field fingerprints for each selected room.
Room NumberRoom TypeNumber of Raw Fingerprints
1Center wide corridor40
9Partial classroom37
10Partial classroom36
11Partial classroom42
12Partial classroom37
13Partial classroom39
14Partial classroom42
22Lower narrow corridor42
23Upper narrow corridor36
24Upper narrow corridor37
25Right wide corridor38

Share and Cite

MDPI and ACS Style

Galván-Tejada, C.E.; Zanella-Calzada, L.A.; García-Domínguez, A.; Magallanes-Quintanar, R.; Luna-García, H.; Celaya-Padilla, J.M.; Galván-Tejada, J.I.; Vélez-Rodríguez, A.; Gamboa-Rosales, H. Estimation of Indoor Location Through Magnetic Field Data: An Approach Based On Convolutional Neural Networks. ISPRS Int. J. Geo-Inf. 2020, 9, 226. https://doi.org/10.3390/ijgi9040226

AMA Style

Galván-Tejada CE, Zanella-Calzada LA, García-Domínguez A, Magallanes-Quintanar R, Luna-García H, Celaya-Padilla JM, Galván-Tejada JI, Vélez-Rodríguez A, Gamboa-Rosales H. Estimation of Indoor Location Through Magnetic Field Data: An Approach Based On Convolutional Neural Networks. ISPRS International Journal of Geo-Information. 2020; 9(4):226. https://doi.org/10.3390/ijgi9040226

Chicago/Turabian Style

Galván-Tejada, Carlos E., Laura A. Zanella-Calzada, Antonio García-Domínguez, Rafael Magallanes-Quintanar, Huizilopoztli Luna-García, Jose M. Celaya-Padilla, Jorge I. Galván-Tejada, Alberto Vélez-Rodríguez, and Hamurabi Gamboa-Rosales. 2020. "Estimation of Indoor Location Through Magnetic Field Data: An Approach Based On Convolutional Neural Networks" ISPRS International Journal of Geo-Information 9, no. 4: 226. https://doi.org/10.3390/ijgi9040226

APA Style

Galván-Tejada, C. E., Zanella-Calzada, L. A., García-Domínguez, A., Magallanes-Quintanar, R., Luna-García, H., Celaya-Padilla, J. M., Galván-Tejada, J. I., Vélez-Rodríguez, A., & Gamboa-Rosales, H. (2020). Estimation of Indoor Location Through Magnetic Field Data: An Approach Based On Convolutional Neural Networks. ISPRS International Journal of Geo-Information, 9(4), 226. https://doi.org/10.3390/ijgi9040226

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop