Next Article in Journal
Power System Reliability Evaluation Based on Chronological Booth–Baleriaux Method
Previous Article in Journal
Is Corticosteroid Treatment Beneficial in Sudden Sensorineural Hearing Loss? A Large Retrospective Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Artificial Neural Network for Indoor Localization Based on Progressive Subdivided Quadrant Method

Department of Industrial Engineering, College of Science & Technology, Dankook University, Cheonan 31116, Republic of Korea
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(14), 8545; https://doi.org/10.3390/app13148545
Submission received: 3 July 2023 / Revised: 20 July 2023 / Accepted: 21 July 2023 / Published: 24 July 2023
(This article belongs to the Section Applied Industrial Technologies)

Abstract

:
The exterior location of a user can be accurately determined using a global positioning system (GPS). However, accurately locating objects indoors poses challenges due to signal penetration limitations within buildings. In this study, an MLP with stochastic gradient descent (SGD) among artificial neural networks (ANNs) and signal strength indicator (RSSI) data received from a Zigbee sensor are used to estimate the indoor location of an object. Four fixed nodes (FNs) were placed at the corners of an unobstructed area measuring 3 m in both length and width. Within this designated space, mobile nodes (MNs) captured position data and received RSSI values from the nodes to establish a comprehensive database. To enhance the precision of our results, we used a data augmentation approach which effectively expanded the pool of selected cells. We also divided the area into sectors using an ANN to increase the estimation accuracy, focusing on selecting sectors that had measurements. To enhance both accuracy and computational speed in selecting coordinates, we used B-spline surface equations. This method, which is similar to using a lookup table, brought noticeable benefits: for indoor locations, the error margin decreased below the threshold of sensor hardware tolerance as the number of segmentation steps increased. By comparing our proposed deep learning methodology with the traditional fingerprinting technique that utilizes a progressive segmentation algorithm, we verified the accuracy and cost-effectiveness of our method. It is expected that this research will facilitate the development of practical indoor location-based services that can estimate accurate indoor locations with minimal data.

1. Introduction

Research on location-based services (LBS) for use in the home, industrial automation, and healthcare has seen increased interest because of the growth of the Internet of Things (IoT) [1].
Location estimation technology is increasingly important in the IoT service domain, especially in services like unmanned vehicles, intelligent transportation systems, and drones. Numerous services have been made available to enhance the convenience of individuals, and currently, location-based services are functioning effectively. Services known as LBSs give wireless network users pertinent information about a user’s location. A crucial element of LBSs that has been considered in the academic and industrial sectors is an accurate and affordable localization mechanism. The GPS technique has typically been used to resolve this problem in outdoor settings, but due to the obstruction, attenuation, or reflection of satellite signals in enclosed spaces, this method is not appropriate [2]. Finding a reliable and affordable indoor localization system is therefore a continuing issue in this field. LBSs are used in a variety of settings to accurately determine outdoor positions using GPS technology. These systems, however, encounter limitations when it comes to detecting signals indoors, making it challenging to estimate interior location. Various LBSs, including wireless personal area networks (WPAN) [3,4,5], wireless local area networks (WLAN) [4], and radio-frequency identification (RFID) [5], use words like dependability and distance to estimate interior locations. Wi-Fi is typically used in indoor location methods [6]. However, recent advancements in lighting, compactness, cheap cost, energy, and compatibility have spurred ongoing research on indoor WPAN sites, such as BLE and Zigbee [7]. The use of the received signal strength indicator (RSSI), which monitors the power level of the received signal, is a popular method in LBSs for completing tasks such as calculating robot placement in warehouses and tracking construction project personnel. Due to its low power consumption and sophisticated signal processing capabilities, RSSI-based location estimation technology has received a great deal of attention and has been thoroughly studied in the context of wireless sensor networks [2]. Additionally, the majority of wireless devices now come equipped with built-in RSSI circuits, eliminating the need for additional hardware and lowering the cost and power usage of the system.
The primary objective of this paper is to improve the precision of positioning in confined areas, specifically outperforming the transferrable sensor capabilities provided by IEEE 802.15.4 standard sensors in open spaces. Additionally, we investigate efficient methods for interpretating fluctuations in radio wave intensity emitted from stationary nodes, which exhibit a logarithmic decrease and are not directly correlated with distance. We use a multi-layer perceptron (MLP)-based technique using the B-spline curved equation to determine the final coordinates and to achieve more refined position tracking.
We propose a novel RSSI signal-based positioning system that utilizes RSSI subregionalization, neural networks, and B-spline methods to address the accuracy issues of the raw signals used in these studies.

2. Related Work

In traditional IEEE 802.15.4 signal-based indoor positioning systems, RSSI signals are always distorted by multipath effects. Yiu et al., in their research, investigated two factors: density of access points (APs) and the influence of using an outdated signature map. They proposed several approaches to generate a radio frequency distribution map [8].
Quadtree search and fractal direction entropy weighting (QSFDEW) is a brand new indoor fingerprint locating algorithm that was developed by Huang et al. [9]. This method incorporates the benefits of QSFDEW algorithms, improving the indoor location’s accuracy as well as speed. The QSFDEW algorithm’s implementation is an inventive method for enhancing indoor fingerprint locations.
A RSSI-based indoor locating system that uses a multilateration (MLT) technique for logistics applications was proposed by Wang et al. [10]. The authors used a sensor network for food transportation logistics and completed both simulations and live experiments. When six fixed nodes (FNs) were used, Wang et al. [10] showed that their system could deliver a localization error of less than 1 m. Additionally, tests using a module compliant with IEEE 802.15.4 revealed location errors of less than 1.8 m.
Previous studies, however, only take into account the accuracy of location estimation in a space where fixed nodes are placed close together while estimating the location by calculating the distance of RSSI signals in a vast space as a logarithmic function. The fingerprint method also has the drawback of requiring a full scan and learning the entire area’s location information.
A location system utilizing artificial neural networks (ANNs) was suggested in [11] as a solution to this issue. The research findings in [11] demonstrated that ANNs can greatly enhance localization performance in indoor contexts with multipath effects in a localization system based on Wi-Fi RSSI data. Further advancements are required due to the prediction uncertainty of ANNs, which can lower the trustworthiness of localization outcomes. Findings in [12,13,14,15] offer a deep neural network (DNN)-based localization system as a means of creating a more trustworthy localization system. In complex indoor environments, DNN-based localization systems have the capability to accurately determine and improve the positioning of objects or individuals. The primary challenges of DNN-based localization systems, however, are the training difficulties of DNNs and the need for a substantial amount of training data. A convolutional neural network (CNN) is suggested as an alternative to enhance localization performance in [16]. CNN-based localization techniques deliver precise building and floor predictions using RSSI time series from WLAN access points. A CNN-based localization system can be implemented with few resources, but it is challenging because of the memory required for activation at the network layer.
For localization systems based on Wi-Fi RSSI signal, a novel time series semi-supervised learning technique is proposed in [17]. Compared to the current Wi-Fi RSSI signal-based localization method, the semi-supervised learning algorithm produces results for locations that are more accurate. The extreme learning machine (ELM) [18] that is described in this study is used in a Wi-Fi positioning system to lessen the effort required to calibrate Wi-Fi fingerprint maps. The Wi-Fi fingerprint maps are created more quickly and with less labor due to the ELM’s quick learning rates, which also enhance the performance of localization. But in terms of precision and accuracy, the localization outcomes of ELM-based systems can fall short of deep learning-based systems [19]. Recurrent neural networks (RNN) and long short-term memory (LSTM) models are used to create localization systems in [20,21,22]. Additionally, [23] provides a Wi-Fi indoor localization system based on deep learning models that surpasses the current Wi-Fi RSSI signal-based localization system. This system uses RSSI and channel state information (CSI).
To solve the challenge of RSSI signals, [24] suggested a Wi-Fi RSSI signal-based positioning system that employs RSSI heat maps rather than RSSI raw values. However, these deep learning model-based positioning systems use raw RSSI data from APs to perform positioning. According to experimental findings, among all current deep learning techniques, the proposed Wi-Fi RSSI heat map-based positioning system using HDLM offers the best positioning accuracy.
The primary objective of this paper is to improve the precision of positioning in confined areas, specifically outperforming the transferrable sensor capabilities provided by IEEE 802.15.4 standard sensors in open spaces. Additionally, we investigate efficient methods for interpretating fluctuations in radio wave intensity emitted from stationary nodes, which exhibit a logarithmic decrease and are not directly correlated with distance. We use a multi-layer perceptron (MLP)-based technique using the B-spline curved equation to determine the final coordinates and achieve more refined position tracking.
The remainder of this paper is organized as follows. Section 3 provides a detailed explanation of an indoor location system that utilizes the MLT mechanism based on the RSSI measurements. In Section 4, the proposed strategy is elaborated upon. The experimental design and findings, as well as any relevant discussion, are presented in Section 5 and Section 6, respectively. Finally, Section 7 offers an overview of the study’s findings.

3. RSSI Signal Based MLT Location Estimation

Figure 1 depicts the WSN system employed in this investigation. More fixed nodes will produce more reliable data, but they will also increase the cost and complexity of the system. To select location coordinates in a rectangular-shaped range, we chose four nodes, which is a simple and minimal number [1,2,6]. At the predetermined positions, there were four fixed nodes (FNs): FNs 1 (0, 3), 2 (3, 3), 3 (0, 0), and 4 (3, 0). The computational and receiving components of the system were combined into a receive station node (RSN). Within the restricted area, a mobile node (MN) of unknown identity was located. The FNs, which were situated at predefined points, sent RSSI signals to the MN. A mathematical equation based on the information received by the MN was used to estimate the MN’s coordinates. We developed an indoor positioning system based on RSSI. It consists of three steps: gathering the RSSI measurements using a communication protocol that has been designed, converting the RSSI measurements into distances using a PLE, and using a multi-signal algorithm.

3.1. RSSI Measurement and Acquisition

A network made up of all the nodes was created to find the MNs. A beacon packet was created by the RSN and sent to the MN. After receiving the packet, the MN gathered the FN ID, location, and packet number from it while measuring the FN’s RSSI readings. Additionally, the MN sent a report packet containing the data it had gathered to the RSN, which then sent it on to the computer. Using the identity, RSSI, and values, location, and packet number of each FN, the MN’s position was ascertained.

3.2. Transformation to RSSI Values to Distances

A computer used PLE to convert the RSSI values from all FNs into distance values [25]. This equation states that the distance calculated in a 3 × 3 m examination area can be used to calculate the RSSI. Equations (1) and (2), which calculate the average RSSI in dBm based on the relationship between the R S S I i   and the associated distance, show the PLE. At a reference distance from the R S S I i transmitter, the average RSSI (dBm) is calculated [25]. The path-loss index, denoted by the symbol k, displays the rate of signal loss as a function of distance. After gathering RSSI readings from a test field where the separation between the transmitter and receiver was known, the R S S I i were calculated.
R S S I i d B m = R S S I i 0 d B m 10 × k × log 10 d d 0
d = 10 R S S I i 0 d B m R S S I i d B m 10 × k ,   f o r   d 0 = 1

4. Proposed Methods

As mentioned in [26,27,28,29,30,31,32,33], RSSI signals tend to exhibit low repeatability as they vary over time. They change with time for a variety of reasons, including the hardware used, the distance between the transmitter and receiver, the measurement period, the interference from external devices, the presence and movement of people, and the surrounding environment (the type of building, any obstructions, and the materials used) [33].
Conventional MLT methods frequently result in estimated locations that fall outside the defined test area, as demonstrated in previous studies [10,33]. To overcome this issue, we utilized an ANN method that relies on converted distances and RSSI signals to estimate location. Additionally, we employed a refined location estimation approach based on a progressive subdivided quadrant method, allowing us to improve the accuracy of our localization system. Figure 2 illustrates the proposed system.
Three processes make up the suggested system in Figure 2: (a) zone generation using PSQ, (b) zone selection, (c) and estimation of location using the B-spline surface equation. The following is a detailed description of the steps.
Traditional supervised deep neural networks often have both offline and online phases for localization. An extensive dataset, made up of measurable data split into training and validation sets, is used to build and validate a model during the offline phase. In this instance, the ANN model applies the data directly without preprocessing by using received signal strength indicator (RSSI) values gathered from nine ground truth locations as inputs and producing the appropriate user location information. The ANN model can precisely pinpoint a mobile node using the training dataset once it has been optimized. To achieve high localization accuracy, it is necessary to gather a sizeable number of dense, labeled data samples, but doing so is expensive and time-consuming. To address this issue, we segment the data into zones (regions) and create high-resolution data labels, and then apply neural network learning to them.
In this study, we offer a method for generating artificial data that complements genuine labeled acquisition data using a progressive segmentation methodology. To accomplish location prediction, the algorithm blends actual gathered data with artificially increased data. Furthermore, to ensure consistent data quality and coordinate prediction, the system converts the distance measurement to an equivalent FN value.
For localization, actual data are merged with the generated signal’s magnitude and translated distance. FNs and MNs were used in the experiment, which took place in a 3 × 3 m indoor area. RSSI signals were recorded for each access point. The online location region prediction is then performed using the learned ANN model. Based on the generated data, a region is chosen, and the B-spline curve equation is applied to estimate its location. The suggested framework employs B-spline approaches and progressive segmentation techniques to efficiently estimate the location of mobile nodes in a 3 × 3 m interior environment with little data collection.

4.1. Proposed Method for Virtual Data Generation Using PSQ

The received signal strength indicator value obtained at a fixed node (FN) is divided into log scales using the suggested incremental segmentation method to produce a virtual coordinate of the mobile node (MN). By limiting the amount of labeled training data, PSQ-based localization aims to solve the costs and difficulties of acquiring labeled data while perhaps avoiding overfitting issues that could arise with deep learning-based localization. In order to enhance the effectiveness of supervised learning, these technologies make use of both created and acquired data.
In a segmentation and conquest strategy, a given problem is divided into two or more subproblems, which are typically taken directly from the original problem. It is possible to segment subproblems into smaller ones or use the solutions to a segmented subproblem directly to calculate solutions to a given problem. This method divides small cases into smaller ones until a solution is found. The segmentation and conquering algorithm uses a top-down methodology in which answers to the child problem are used to calculate answers to the parent problem.
In this study, the log scale of the RSSI signal was gradually divided using a threshold determination technique to produce data for the center values at 25 points and 16 zones on the 5 × 5 grid. A conceptual diagram of the PSQ algorithm employed in this study is shown in Figure 3. For the binary segmentation process to create four node values and intermediate values in the segmented zone, a 3 m × 3 m space must be divided into four 1.5 m × 1.5 m intervals.
To estimate the coordinates of ( x e ,   y e ) for PSQ, one zone is divided into four regions. If each x-coordinate is from x 0 to x 1 and the y-coordinate is from y 0 to   y 1 , it is divided into four zones (Zones 1 to 4), each of which is defined in the same way as Equation (3). The symbols used in this study are shown in Table 1.
Z o n e   1 : x 0 x x 1   +   x 0 2 ,   y 1   +   y 0 2 x y 1 Z o n e   2 : x 1   +   x 0 2 x x 1 ,   y 1   +   y 0 2 x y 1 Z o n e   3 : x 0 x x 1   +   x 0 2 ,   y 0 x y 1   +   y 0 2 Z o n e   4 : x 1   +   x 0 2 x x 1 ,   y 0 x y 1   +   y 0 2
The measured area was divided into 4 zones, as depicted in Figure 4, and 4 subdivided cells were chosen as selection regions.

4.2. Zone Selection-Based ANNs

ANNs are made up of multilayered structures. Multi-layer perceptron (MLP) is the approach that artificial neural networks most frequently utilize to approximate functions. Figure 5 depicts the MLP’s structural layout.
MLP consists of input layers, hidden layers, and output layers, as shown in Figure 5. A typical MLP usually has multiple nodes connecting it. The network structure must first be established before building an artificial neural network. The computation of the solution only requires one hidden layer if the input nodes can be linearly separated. Finding the optimal solution is difficult in situations with eight input nodes, like the one described in this study. In this study, we built an artificial neural network training model using stochastic gradient descent (SGD) among backpropagation algorithms. SGD is a variant of gradient descent that uses minibatches, or just one data point, to calculate the error and update the weights. By dividing the data to be calculated into small batches, memory is efficiently used. Backpropagation algorithms like these show significant differences in learning effectiveness and predictive power depending on the number of hidden layers and nodes.
The maximum number of learning iterations was set at 1000 to enable the determination of the ideal artificial neural network topology. The number of hidden layers was set to three, the output layer node to two, and the input layer node to eight. There were 16 nodes in the first hidden layer, 8 nodes in the second, and 4 nodes in the third hidden layer. The logarithmic sigmoid function was employed as the activation function in the hidden layers. The input layer was composed of virtual region labeling data that included node signals from the 16 virtual regions and the four fixed nodes.
Results are output through the three hidden layers and two output layers. The output value was selected in four rows and four columns ( i , j ) and was represented by zone selection in 16 cases. Because the weight changes in neural network learning were taken randomly, the results differed, and the number of attempts varied each time. Thus, the generation seed was fixed, and the optimal method and loss function were selected for learning. The model obtained the optimum MSE (highest) value using the Adam optimization method and a sequential network comprising five dense layers. The loss function for polynomial classification was defined as binary cross-entropy, while the performance evaluation was influenced by accuracy. The fitting method was used to carry out the learning process as with other neural networks, and callback functions were employed to prevent overfitting. To ensure the lowest loss feasible, the training process was stopped if the validation loss increased three times in a row. The learning model’s findings were verified using the average squared error (MSE, mean squared error) and the coefficient of determination.
The mean squared error (MSE) and coefficient of determination R 2 were used to evaluate the performance of the learning model [33]. MSE is a statistic for evaluating the learning effectiveness of ANNs. A more reliable model is one that has a lower MSE value. R2 estimates the percentage of the dependent variable’s variability that can be predicted from the independent variables. The value R 2 = 1 shows that all sample observations lie on the estimated regression line, and the closer the value is to 1, the better the fit. To evaluate the learning outcomes, 60, 20, and 20% of the total learning data were randomly assigned for training, validation, and testing, respectively.
The SGD optimization model and a sequential network with five dense layers, as previously reported [34], were used to produce the optimum MSE (best value). While accuracy affects performance evaluation, binary cross-entropy is the definition of the loss function for polynomial classification. Similar to other neural networks, the fitting approach was used for training, with the callback function being used to avoid overfitting. To achieve the lowest loss feasible, the training procedure was stopped when the validation loss increased consecutively three times or more.
The proposed method employs the database values of d 1 to d 4 to predict the expected location of the unidentified MN as zone number. The development of an ANN requires prior definition of its network structure. The inputs into the neural network comprise the RSSI signal values and RSSI-to-distance transformation, represented by ( d 1 , d 2 , d 3 , d 4 , RSSI1, RSSI2, RSSI3, RSSI4). This study showed that, when there are eight input nodes, the optimal regression value cannot be determined using a single hidden layer [33].
A neural network Is created by increasing the coefficient of the hidden layer to solve this issue. The results of the proposed algorithm show that the number of hidden layers and nodes makes a significant difference in learning effectiveness and forecasting capability [33].
The curve fitting method chooses coordinates to approximate the precise location in the cell after an area has been defined. By replacing the B-spline curved expression for a formula provided by the chosen parameter value and utilizing it as a look-up table, one of the methods for choosing coordinates can be utilized to choose a position.

4.3. Estimated Location Compensation Using B-Spline Surface Equation

When a potential area is chosen, the coordinates are derived by applying the B-spline curved expression in the standard cell to calculate the parameters u and v. Standardized and numbered from 0 to 1, the u and v parameters are used to calculate coordinate values by transforming them into particular cells. Using curved equations in two dimensions in selected cells, such as employing LUTs, has been suggested to monitor the location. Since data must be compared and cell locations must be computed using linear proportional equations, tracking locations with LUTs is laborious. B-spline surface equation data can be saved as a surface and utilized in place of LUTs to resolve this issue. The equation for the B-spline surface is as follows:
Q u ,   v = i = 0 m j = 0 n B i , j S i , j ( u ,   v )
B i , j represents the control points of B-spline equation, and S i , j is the basis function for parameters u and v. This surface equation can be represented in matrix form as follows:
Q = S [ B ]
The node coordinate value Q is represented in this curve equation. Control point coordinate [ B ] computed coordinates are as follows when using Equation (6):
B = S 1 [ Q ]
If the data was generated using a rectangular polygon net of dimensions m × n , the matrix [D] can be represented as m × n × 2 , effectively removing the height variable equation on the 3-D coordinate axis. To solve the problem, an ideal algorithm must be used. The control point acts as the interpolation, making sure that each data coordinate on the surface of the curve is traversed. Each node must be supplied with the variable parameters u and v in order to acquire interpolation data using the provided data coordinates. The two variable parameters u and v have an acceptable range that is determined by:
0 u 1.0 ,   0 v 1.0
To perform curve interpolation and ensure the calculation of the control point B i , j , it is necessary to meet the requirements of the following equation:
E i , j k + 1 = E i , j k + Q i , j i = 0 m j = 0 n B i , j S i , j ( u ,   v )
The control value of E i , j k is the error of the kth value in solving the equation. The operation is repeated until the error value is below the given common difference. The disparities between data that has been measured and calculated make up the objective function. In the B-spline curved expression, the control point [ B ] is converted into the selected cell as follows:
B = [ T ] k [ B ]
Here, B is the converted control point matrix, and [ T ] k is the moving translation matrix of the selected cell k.
In the given B-spline Equation (6), the expecting ( u e ,   v e ) value may be calculated as follows:
( x e ,   y e ) = i = 0 m j = 0 n B i , j S i , j ( u e ,   v e )
u e = x m x 0 x 1 x 0
u e ,   v e = 0   i f   u ,   v < 0   a n d   u e ,   v e = 1   i f   u ,   v > 1
Here, x m and y m are values obtained by converting RSSI signals received from four FNs into distances. If each x-coordinate ranges from x 0 to x 1 and the y-coordinate ranges from y 0 to y 1 , it is divided into four zones (Zones 1 to 4). These divisions are determined based on RSSI signals received from the four FNs that have been converted into coordinate values of x m   and y m . The x coordinates are x 0 to x 1   and the y coordinates are y 0 to y 1 . Within the divided area, the ( x e ,   y e )   coordinates are calculated by u e , v e   parameters.

5. Experimental Environment

The experiment was conducted at the Industrial Engineering Lab, Room 312, Engineering Building, Cheonan Campus, Dankook University, Republic of Korea.
In the laboratory, an RSSI-based location system was built in one-third of the room. The measurement area was 3.0 × 3.0 m, as shown in Figure 5. The area where the wireless network was established was empty, whereas the experiment was conducted in a workspace with office equipment and a PC set up in the remaining area.
In this study, a Zigbee wireless network protocol was utilized. The Zigbee wireless sensor was established on the physical layer of IEEE 802.15.4 standard’s low-rate wireless personal area network (LR-WPAN) communication [7,35]. An XBee module, a commonly used product, was employed, and the network was configured by assigning a coordinator, router, and end device. To mitigate interference, channel 20 was established as the frequency of the XBee S2C sensor because it was in a different frequency band from the prevalent 2.4 GHz Wi-Fi in buildings [2].
In the XBee S2C sensor, each FN is subordinate to the MN, which transmits signals. Signal flow was set to occur in only one direction. The Arduino Mega 2560(Arduino SRL, Via Andrea Appiani 25, 20900 Monza MB) controller in the MN, which served as a router, read the RSSI values of the four FNs and transferred the received values to the RSN.
Four FNs were anchored to one of the four corners: (x1 = 0.00, y1 = 0.00), (x2 = 3.00, y2 = 0.00), (x3 = 3.00, y3 = 3.00), and (x4 = 0.00, y4 = 3.00). We ensured that all nodes were 1.2 m above ground, with a 3 m distance between FNs, to avoid various radio-wave interferences, such as diffraction and reflection from the floor, as shown in Figure 5. Measurements were conducted using a tripod to maintain similar variables that may occur between experiments, such as accurate measurements from the device and the state of the device. Signals received from the four FNs to the MN were sent to a computer to estimate the MN’s location. Table 2 lists the compensated locations established in Section 3 for each zone of the proposed test field. As discussed in the previous section, additional segmentation processes can be employed to improve estimation accuracy. However, the scale of the network influences this, increasing computational complexity. Hence, obtaining an optimal segmentation step is difficult and requires further study.
As explained in Section 2, the RSSI was transformed into a distance measure for the indoor location using PLE. The methodology for estimating the PLE in the test field includes monitoring the RSSI data at various distances using a single transmitter and an RSN. In the test field, the receiver collected 8000 samples of the RSSI data at different distances from each FNs. Figure 6 shows the resulting data as a logarithmic plot of the average RSSI in dBm versus distance in meters. The experimental PLE for the environment was calculated using linear regression analysis.

6. Results and Discussion

Metrics and Evaluation of Performance

Python was used to create deep learning models, along with libraries like TensorFlow 2. Three measures—MSE, root MSE (RMSE), and mean absolute error (MAE)—were used to calculate the difference between the estimated location and the actual value in order to evaluate the model’s performance. According to Section 4, the localization error and prediction accuracy of the model on the datasets were assessed. By averaging the absolute values of the errors, MAE was calculated.
M A E = 1 n i = 1 n | P S i S A i |
According to Equation (14), MSE is the average of the squared differences between the estimated and actual values. The average size of the prediction mistakes is shown by the following equation:
M S E = 1 n i = 1 Π ( P S i S A i ) 2
The average difference between the expected and actual values is quantified by the statistic known as RMSE, which can be used to assess the accuracy of a model’s predictions. This value gives a thorough evaluation of the model’s performance and is obtained by calculating the square root of the residual. In several domains, RMSE is frequently used to evaluate the difference between expected and actual results.
R M S E = i = 1 n ( P S i S A i ) 2 n
The number of experiments performed is represented by n in the equation. The prediction of the final location by the proposed algorithm is denoted as P S i , while the actual final location in the i-th experiment is referred to as S A i . The performance of the best-fitting model was evaluated by incorporating batch normalization into the MLP regression algorithm and analyzing the impact of various numbers of hidden layers. The accuracy of the model predictions was determined by computing the ratio of the correct predictions to the total predictions. The optimization process was performed using the Adam optimizer, and all activation functions were performed using it. The results indicated that the SELU activation function had a lower location error (0.65 m compared to the other activation functions (ReLU, Softplus, and ELU)), thus demonstrating its superior performance.
The decay curves of the loss function for various epochs of the training and validation datasets are shown in Figure 7. The stability of the curve was observed after 60 epochs, but the observations were extended to 140 epochs for further confirmation of the results.
The proposed model was used to determine the quadrants in sequential steps and the error distance for the target coordinates. The results of this analysis are presented in Table 3 and Table 4, respectively. These tables provide a comprehensive summary of the proposed model’s performance and its ability to accurately predict the target coordinates.
The results obtained from the proposed model exhibit a remarkable level of accuracy in predictions, with the lowest location error being 0.18 m. The largest recorded location error was 1.06 m, which exceeded the performance of the sensor. These results demonstrate the capability of the proposed model to precisely forecast the target coordinates.
The average error distance determined using the MLT approach was 1.603 m, according to Figure 8. In contrast, the proposed methodology has a much lower average error of 0.5625 m. These findings demonstrate that the proposed approach outperforms existing MLT methods.

7. Conclusions

In this work, we have developed a system that addresses the challenge of accurately estimating indoor environments by utilizing RSSI readings from four FNs.
We used tracking system approaches based on RSSI to create precise internal positions. We discovered that employing signal averaging techniques and fingerprinting approaches helped accuracy to some degree. However, it was noted that errors still persisted when dealing with weak signals, especially in corners of the area, leading to poor performance across the entire region. The fingerprinting method entailed significant expenditures due to the considerable data collection needed to cover a large area.
We suggested using B-spline fitting methods and artificial neural network (ANN) approaches to identify the final location in order to overcome this problem. The study showed that the proposed strategy may achieve location learning with only a small amount of data-by-data augmentation. The target region was gradually divided using this method, which was based on the ANN method and used signal analysis and domain segmentation to precisely track the moving node’s location.
Instead of using lookup tables (LUTs), we approximated the B-spline surface. This approach produced more accurate coordinate values compared to fingerprinting methods.
Our proposed model has shown an impressive level of prediction accuracy, as evidenced by the lowest reported position error of 0.18 m. Although there were instances where the sensor’s limits were exceeded by the highest position inaccuracy, resulting in 1.06 m, overall, the results demonstrate how well our suggested model can predict target coordinates.
The suggested method’s adaptability allows for its application in various scenarios, including indoor activities to identify target locations in unrestricted open spaces. Moreover, the internal location tracking system we developed can also be adapted for uses such as portable robots, automated guided vehicles (AGVs), and mobile phones (LBS). However, it may be more difficult to find the optimal weights when the signals have shorter intervals, and accuracy may suffer when fewer location signals are collected than now.
In our future research, we aim to enhance the accuracy of the location estimation system by investigating the optimal number of quadrant steps while taking into computational the computational time complexity. In addition, we can extend the application of our PSQ algorithm to outdoor localization by combining RSSI signals and time-series deep learning algorithms as in [36,37,38] for precise localization within the cell of an external base station.

Author Contributions

Conceptualization: K.R.K. and J.H.C.; Data curation: K.R.K. and A.L.; Formal analysis: K.R.K.; Methodology: K.R.K. and J.H.C.; Writing- original draft: K.R.K. and A.L.; Project administration: J.H.C.; Writing- review and editing: K.R.K. and J.H.C. All authors have read and agreed to the published version of the manuscript.

Funding

The present research was supported by the research fund of Dankook University: R20200113 in 2020.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Billa, A.; Shayea, I.; Alhammadi, A.; Abdullah, Q.; Roslee, M. An overview of indoor localization technologies: Toward IoT navigation services. In Proceedings of the 2020 IEEE 5th International Symposium on Telecommunication Technologies (ISTT), Shah Alam, Malaysia, 9–11 November 2020; pp. 76–81. [Google Scholar] [CrossRef]
  2. RSSI-Based Indoor Localization and Identification for ZigBee Wireless Sensor Networks in Smart Homes. IEEE Trans. Instrum. Meas. 2019, 68, 566–575. [CrossRef]
  3. Schroeer, G. A real-time UWB multi-channel indoor positioning system for industrial scenarios. In Proceedings of the 2018 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Nantes, France, 28–31 October 2018. [Google Scholar] [CrossRef]
  4. Contreras, D.; Castro, M.; de la Torre, D.S. Performance evaluation of bluetooth low energy in indoor positioning systems. Trans. Emerg. Telecommun. Technol. 2017, 28, e2864. [Google Scholar] [CrossRef] [Green Version]
  5. Cho, J.H.; Cho, M.W. Effective position tracking using b-spline surface equation based on wireless sensor networks and passive UHF-RFID. IEEE Trans. Instrum. Meas. 2013, 62, 2456–2464. [Google Scholar] [CrossRef]
  6. Qin, F.; Zuo, T.; Wang, X. CCpos: WiFi Fingerprint Indoor Positioning System Based on CDAE-CNN. Sensors 2021, 21, 1114. [Google Scholar] [CrossRef] [PubMed]
  7. Zhou, Q.; Wang, L.; Yu, P.; Huang, T.; Zhou, M. Unmanned patrol system based on kalman filter and ZigBee positioning technology. J. Phys. Conf. Ser. 2019, 1168, 32063. [Google Scholar] [CrossRef]
  8. Yiu, S.; Dashti, M.; Claussen, H.; Perez-Cruz, F. Wireless RSSI fingerprinting localization. Signal Process. 2017, 131, 235–244. [Google Scholar] [CrossRef]
  9. Huang, Y.; Ye, R.; Yan, B.; Zhang, C.; Zhou, X. QSFDEW: A fingerprint positioning method based on quadtree search and fractal direction entropy weighting. Wirel. Netw. 2022, 29, 437–448. [Google Scholar] [CrossRef]
  10. Wang, X.; Bischoff, O.; Laur, R.; Chemistry, S.P.-P. Undefined Localization in Wireless Ad-Hoc Sensor Networks Using Multi-Lateration with RSSI for Logistic Applications; Elsevier: Amsterdam, The Netherlands, 2009. [Google Scholar]
  11. Dayekh, S.; Affes, S.; Kandil, N.; Nerguizian, C. Cooperative localization in mines using fingerprinting and neural networks. In Proceedings of the 2010 IEEE Wireless Communication and Networking Conference, Sydney, Australia, 18–21 April 2010; pp. 1–6. [Google Scholar]
  12. Kim, K.S.; Lee, S.; Huang, K. A scalable deep neural network architecture for multi-building and multi-floor indoor localization based on Wi-Fi fingerprinting. Big Data Anal. 2018, 3, 4. [Google Scholar] [CrossRef] [Green Version]
  13. Adege, A.B.; Lin, H.-P.; Tarekegn, G.B.; Munaye, Y.Y.; Yen, L. An indoor and outdoor positioning using a hybrid of support vector machine and deep neural network algorithms. J. Sens. 2018, 2018, 1253752. [Google Scholar] [CrossRef]
  14. Zhang, W.; Liu, K.; Zhang, W.; Zhang, Y.; Gu, J. Deep neural networks for wireless localization in indoor and outdoor environments. Neurocomputing 2016, 194, 279–287. [Google Scholar] [CrossRef]
  15. Adege, A.B.; Lin, H.-P.; Tarekegn, G.B.; Jeng, S.-S. Applying deep neural network (DNN) for robust indoor localization in multi-building environment. Appl. Sci. 2018, 8, 1062. [Google Scholar] [CrossRef] [Green Version]
  16. Ibrahim, M.; Torki, M.; ElNainay, M. CNN based indoor localization using RSS time-series. In Proceedings of the 2018 IEEE Symposium on Computers and Communications (ISCC), Natal, Brazil, 25–28 June 2018; pp. 1044–1049. [Google Scholar]
  17. Yoo, J. ime-Series Laplacian Semi-Supervised Learning for Indoor Localization. Sensors 2019, 19, 3867. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Gu, Y.; Chen, Y.; Liu, J.; Jiang, X. Semi-supervised deep extreme learning machine for Wi-Fi based localization. Neurocomputing 2015, 166, 282–293. [Google Scholar] [CrossRef]
  19. Zou, H.; Lu, X.; Jiang, H.; Xie, L. A fast and precise indoor localization algorithm based on an online sequential extreme learning machine. Sensors 2015, 15, 1804–1824. [Google Scholar] [CrossRef]
  20. Lukito, Y.; Chrismanto, A.R. Recurrent neural networks model for WiFi based indoor positioning system. In Proceedings of the 2017 International Conference on Smart Cities, Automation & Intelligent Computing Systems (ICON-SONICS), Yogyakarta, Indonesia, 8–10 November 2017; pp. 121–125. [Google Scholar]
  21. Chen, Z.; Zou, H.; Yang, J.; Jiang, H.; Xie, L. WiFi fingerprinting indoor localization using local feature based deep LSTM. IEEE Syst. J. 2019, 14, 3001–3010. [Google Scholar] [CrossRef]
  22. Sahar, A.; Han, D. An LSTM based indoor positioning method using Wi-Fi signals. In Proceedings of the 2nd International Conference on Vision, Image and Signal Processing, Las Vegas, CA, USA, 27–29 July 2018; pp. 1–5. [Google Scholar]
  23. Hsieh, C.-H.; Chen, J.-Y.; Nien, B.-H. Deep learning based indoor localization using received signal strength and channel state information. IEEE Access 2019, 7, 33256–33267. [Google Scholar] [CrossRef]
  24. Poulose, A.; Han, D.S. Hybrid Deep Learning Model Based Indoor Positioning Using Wi-Fi RSSI Heat Maps for Autonomous Applications. Electronics 2021, 10, 2. [Google Scholar] [CrossRef]
  25. Yang, T.; Cabani, A.; Chafouk, H. A survey of recent indoor localization scenarios and methodologies. Sensors 2021, 21, 8086. [Google Scholar] [CrossRef]
  26. Zhang, D.; Zhang, X.; Xie, F. Research on location algorithm based on beacon filtering combining dv-hop and multidimensional support vector regression. Sensors 2021, 21, 5335. [Google Scholar] [CrossRef]
  27. Lionis, A.; Peppas, K.; Nistazakis, H.E.; Tsigopoulos, A.; Cohn, K.; Zagouras, A. Using machine learning algorithms for accurate received optical power prediction of an fso link over a maritime environment. Photonics 2021, 8, 212. [Google Scholar] [CrossRef]
  28. Jiang, J.R.; Subakti, H.; Liang, H.S. Fingerprint feature extraction for indoor localization. Sensors 2021, 21, 5434. [Google Scholar] [CrossRef] [PubMed]
  29. Sakphrom, S.; Suwannarat, K.; Haiges, R.; Funsian, K. A simplified and high accuracy algorithm of rssi-based localization zoning for children tracking in-out the school buses using bluetooth low energy beacon. Informatics 2021, 8, 65. [Google Scholar] [CrossRef]
  30. Olesiński, A.; Piotrowski, Z. An adaptive energy saving algorithm for an rssi-based localization system in mobile radio sensors. Sensors 2021, 21, 3987. [Google Scholar] [CrossRef] [PubMed]
  31. Ingabire, W.; Larijani, H.; Gibson, R.M.; Qureshi, A.U.H. Outdoor node localization using random neural networks for large-scale urban iot lora networks. Algorithms 2021, 14, 307. [Google Scholar] [CrossRef]
  32. Blas, H.S.S.; Mendes, A.S.; Encinas, F.G.; Silva, L.A.; González, G.V. A multi-agent system for data fusion techniques applied to the internet of things enabling physical rehabilitation monitoring. Appl. Sci. 2021, 11, 331. [Google Scholar] [CrossRef]
  33. Naghdi, S.; O’keefe, K. Combining Multichannel RSSI and Vision with Artificial Neural Networks to Improve BLE Trilateration. Sensors 2022, 22, 4320. [Google Scholar] [CrossRef]
  34. Li, D.; Niu, Z. A wireless fingerprint positioning method based on wavelet transform and deep learning. ISPRS Int. J. Geo-Inf. 2021, 10, 442. [Google Scholar] [CrossRef]
  35. Safi, A.; Ahmad, Z.; Jehangiri, A.I.; Latip, R.; Zaman, S.K.u.; Khan, M.A.; Ghoniem, R.M. A Fault Tolerant Surveillance System for Fire Detection and Prevention Using LoRaWAN in Smart Buildings. Sensors 2022, 22, 8411. [Google Scholar] [CrossRef]
  36. Zaman, S.K.U.; Jehangiri, A.I.; Maqsood, T.; Haq, N.U.; Umar, A.I.; Shuja, J.; Ahmad, Z.; Dhaou, I.B.; Alsharekh, M.F. LiMPO: Lightweight mobility prediction and offloading framework using machine learning for mobile edge computing. Cluster Comput. 2023, 26, 99–117. [Google Scholar] [CrossRef]
  37. Zaman, S.K.U.; Jehangiri, A.I.; Maqsood, T.; Umar, A.I.; Khan, M.A.; Jhanjhi, N.Z.; Shorfuzzaman, M.; Masud, M. COME-UP: Computation Offloading in Mobile Edge Computing with LSTM Based User Direction Prediction. Appl. Sci. 2022, 12, 3312. [Google Scholar] [CrossRef]
  38. Bhattacharya, A.; De, P. A survey of adaptation techniques in computation offloading. J. Netw. Comput. Appl. 2017, 78, 97–115. [Google Scholar] [CrossRef]
Figure 1. Schematic illustration of hardware configured for experiment.
Figure 1. Schematic illustration of hardware configured for experiment.
Applsci 13 08545 g001
Figure 2. Proposed system flow chart. The asterisks are how we calculate the point-by-point Euclidean distance to split each zone.
Figure 2. Proposed system flow chart. The asterisks are how we calculate the point-by-point Euclidean distance to split each zone.
Applsci 13 08545 g002
Figure 3. Conceptual diagram of PSQ algorithm. (The arrows represent the flow of data).
Figure 3. Conceptual diagram of PSQ algorithm. (The arrows represent the flow of data).
Applsci 13 08545 g003
Figure 4. Defined border line and zone number.
Figure 4. Defined border line and zone number.
Applsci 13 08545 g004
Figure 5. The neural network structure used in the study. It consists of an SGD-based backpropagation algorithm.
Figure 5. The neural network structure used in the study. It consists of an SGD-based backpropagation algorithm.
Applsci 13 08545 g005
Figure 6. Correlation between RSSI and log(distance). The dash line is a linear regression of RSSI against log(distance).
Figure 6. Correlation between RSSI and log(distance). The dash line is a linear regression of RSSI against log(distance).
Applsci 13 08545 g006
Figure 7. (a) is the figure for training and validation loss, and (b) is the figure for training and validation accuracy of the ANN Model.
Figure 7. (a) is the figure for training and validation loss, and (b) is the figure for training and validation accuracy of the ANN Model.
Applsci 13 08545 g007
Figure 8. Comparison of average error distances calculated based RSME obtained using both methods.
Figure 8. Comparison of average error distances calculated based RSME obtained using both methods.
Applsci 13 08545 g008
Table 1. Symbols used in the study.
Table 1. Symbols used in the study.
SymbolsDefinition
x 0,1 x-coordinate of the fixed node
y 0,1 y-coordinate of the fixed node
( x e ,   y e ) Expected   coordinates   of   ( x ,   y )
Q Curve equation in matrix form
B Control points coordinate
[ E k ] Error of the kth value
B Converted control point matrix
[ T ] k Translation matrix of the selected cell k.
( u e ,   v e ) Expected   parametric   values   of   ( u ,   v )
( x m ,   y m ) Converting coordinates form RSSI
Table 2. Virtual Locations for the Experiment.
Table 2. Virtual Locations for the Experiment.
Virtual Locations: Experiment
Zone 1 = (0.75, 2.25)Zone 2 = (2.25, 2.25)
P 1 , 1
P 1 , 2
P 1 , 3
P 1 , 4
( x 1 , 1 ,   y 1 , 1 ) = ( 0.375 , 2.625 )
x 1 , 2 ,   y 1 , 2 = 1.125 , 2.625
( x 1 , 3 ,   y 1 , 3 ) = ( 0.375 , 1.875 )
x 1 , 4 ,   y 1 , 4 = 1.125 , 1.875
P 2 , 1
P 2 , 2
P 2 , 3
P 2 , 4
( x 2 , 1 ,   y 2 , 1 ) = ( 1.875 , 2.625 )
x 2 , 2 ,   y 2 , 2 = 2.625 , 2.625
( x 2 , 3 ,   y 2 , 3 ) = ( 1.875 , 1.875 )
x 2 , 4 ,   y 2 , 4 = 2.625 , 1.875
Zone 3 = (0.75, 0.75)Zone 4 = (2.25, 0.75)
P 3 , 1
P 3 , 2
P 3 , 3
P 3 , 4
( x 3 , 1 ,   y 3 , 1 ) = ( 0.375 , 1.125 )
x 3 , 2 ,   y 3 , 2 = 1.125 , 1.125
( x 3 , 3 ,   y 3 , 3 ) = ( 0.375 , 0.375 )
x 3 , 4 ,   y 3 , 4 = 1.125 , 0.375
P 4 , 1
P 4 , 2
P 4 , 3
P 4 , 4
( x 4 , 1 ,   y 4 , 1 ) = ( 1.875 , 1.125 )
x 4 , 2 ,   y 4 , 2 = 2.625 , 1.125
( x 4 , 3 ,   y 4 , 3 ) = ( 1.875 , 0.375 )
x 4 , 4 ,   y 4 , 4 = 2.625 , 0.375
Table 3. Experimental results after the first step of the PSQ method.
Table 3. Experimental results after the first step of the PSQ method.
Target Coordinates1 Step of QuadrantEstimated CoordinatesError Distance
(0, 3)0.0006, 0.0024(0.75, 2.25)1.06 m
(1, 3)0.0087, 0.01700.79 m
(0, 2)0.0331, 0.00460.79 m
(1, 2)0.0998, 0.00200.35 m
Table 4. Experiment results after the second step of the PSQ method.
Table 4. Experiment results after the second step of the PSQ method.
Target Coordinates2 Step of QuadrantEstimated CoordinatesError Distance
(0, 3)0.0002, 0.0018(0.38, 2.63)0.53 m
(1, 3)0.0013, 0.9650(1.13, 2.63)0.40 m
(0, 2)1.0000, 0.0000(0.38, 1.88)0.40 m
(1, 2)0.9974, 0.9976(1.13, 1.88)0.18 m
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kim, K.R.; Lim, A.; Cho, J.H. Artificial Neural Network for Indoor Localization Based on Progressive Subdivided Quadrant Method. Appl. Sci. 2023, 13, 8545. https://doi.org/10.3390/app13148545

AMA Style

Kim KR, Lim A, Cho JH. Artificial Neural Network for Indoor Localization Based on Progressive Subdivided Quadrant Method. Applied Sciences. 2023; 13(14):8545. https://doi.org/10.3390/app13148545

Chicago/Turabian Style

Kim, Kyeong Ryong, Aaron Lim, and Jae Hyung Cho. 2023. "Artificial Neural Network for Indoor Localization Based on Progressive Subdivided Quadrant Method" Applied Sciences 13, no. 14: 8545. https://doi.org/10.3390/app13148545

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