scieee AI-readable full text Open interactive document viewer

A loose-coupled fusion of inertial and UWB assisted by a decision-making algorithm for localization of emergency responders

Ferreira, André G.; Fernandes, Duarte; Catarino, André P.; Rocha, A. M.; Monteiro, João L.

Abstract

Combining different technologies is gaining significant popularity among researchers and industry for the development of indoor positioning systems (IPSs). These hybrid IPSs emerge as a robust solution for indoor localization as the drawbacks of each technology can be mitigated or even eliminated by using complementary technologies. However, fusing position estimates from different technologies is still very challenging and, therefore, a hot research topic. In this work, we pose fusing the ultrawideband (UWB) position estimates with the estimates provided by a pedestrian dead reckoning (PDR) by using a Kalman filter. To improve the IPS accuracy, a decision-making algorithm was developed that aims to assess the usability of UWB measurements based on the identification of non-line-of-sight (NLOS) conditions. Three different data fusion algorithms are tested, based on three different time-of-arrival positioning algorithms, and experimental results show a localization accuracy of below 1.5 m for a 99th percentile.

Full text

electronics Article A Loose-Coupled Fusion of Inertial and UWB Assisted by a Decision-Making Algorithm for Localization of Emergency Responders AndréG. Ferreira 1,* , Duarte Fernandes 1, AndréP. Catarino 2, Ana M. Rocha 2and João L. Monteiro 1 1Algoritmi Center, University of Minho, 4800-058 Guimarães, Portugal; [email protected] (D.F.); [email protected] (J.L.M.) 2Center of Textile Science and Technology, University of Minho, 4800-058 Guimarães, Portugal; [email protected] (A.P.C.); [email protected] (A.M.R.) *Correspondence: [email protected]; Tel.: +351-915-478-637 Received: 1 November 2019; Accepted: 29 November 2019; Published: 2 December 2019   Abstract: Combining different technologies is gaining significant popularity among researchers and industry for the development of indoor positioning systems (IPSs). These hybrid IPSs emerge as a robust solution for indoor localization as the drawbacks of each technology can be mitigated or even eliminated by using complementary technologies. However, fusing position estimates from different technologies is still very challenging and, therefore, a hot research topic. In this work, we pose fusing the ultrawideband (UWB) position estimates with the estimates provided by a pedestrian dead reckoning (PDR) by using a Kalman filter. To improve the IPS accuracy, a decision-making algorithm was developed that aims to assess the usability of UWB measurements based on the identification of non-line-of-sight (NLOS) conditions. Three different data fusion algorithms are tested, based on three different time-of-arrival positioning algorithms, and experimental results show a localization accuracy of below 1.5 m for a 99th percentile. Keywords: data fusion; emergency responders; indoor positioning system (IPS); loose-coupled position fusion; UWB; unstructured environments 1. Introduction Indoor localization is a fast-growing field of research that is attracting both academia and industry worldwide. With the recent advances in this field, new application areas demanding high accurate indoor positioning systems (IPSs) are emerging. Examples of such applications are positioning of employees in industrial environments and emergency responders’ operations, 3D motion detection, patient monitoring, and logistics. Among these, emergency responders’ positioning is regarded as one of the most difficult and challenging application scenarios. The surrounding environment is harsh, highly dynamic, covers vast operative areas, and is unstructured [1–7]. Traditionally, two leading technologies are used for indoor localization, radio transceivers (e.g., Wi-Fi, Bluetooth, ultrawideband—UWB) and inertial measurement units (IMUs). However, both technologies have some limitations that severely impact the IPS performance. On the one hand, the low availability and stability (i.e., received signal strength—RSS—fluctuation and the non-line-of-sight—NLOS—impact on time-of-arrival—ToA—methods) of radio frequency (RF) signals in indoor environments are the main limitations of the radio signal-based IPSs. On the other hand, the intrinsic drift associated with the sensors that make up an IMU degrades the accuracy of the position estimate over time. To overcome these limitations, several researchers proposed IPSs that Electronics 2019,8, 1463; doi:10.3390/electronics8121463 www.mdpi.com/journal/electronics Electronics 2019,8, 1463 2 of 21 combine both approaches in a single solution. In a hybrid IPS, the two subsystems (radio signal- and IMU-based) calculate the first responder’s position independently, and then a data fusion algorithm fuses both position data to provide a single position estimate. Data fusion has proven to be an essential tool to enhance the performance of localization systems in both indoor and outdoor scenarios. With the right combination of positioning technologies, data fusion approaches revealed to be effective in providing both short- and long-term position accuracy. This is an essential criterion for the emergency responders as their missions cover vast operational areas and for long periods [1]. In the literature, it is common to find different data fusion algorithms to fuse position estimates computed by IMU- and radio-based technologies. The data fusion on localization starts with the fusion of GPS and inertial sensors. The works in [ 8 , 9 ] rely on a Kalman filter (KF) to fuse the data obtained from a GPS receiver and inertial sensors. Since GPS signals are not available in indoor environments, other radio-based technologies have been used to perform data fusion. Deng et al. proposed an extended Kalman filter (EKF) to fuse Wi-Fi RSS with the smartphone inertial sensors [ 10 ]. In the work of Masiero et al., the Wi-Fi RSS is also fused with the smartphone inertial sensors, but they rely on a particle filter for the data fusion [ 11 ]. The geometrical information of the building is also used in the data fusion process. In the work of Waqar et al., a Bayes filter is used to fuse the motion information acquired from a smartphone and the Wi-Fi fingerprinting [ 12 ]. Fischer et al. proposed an EKF to fuse the position estimates from a PDR system and ultrasonic beacons [ 13 ]. An EKF is also used in the works [ 14 , 15 ] to fuse inertial data with UWB measurements. Yang et al. proposed an EKF to fuse the smartphone inertial sensors with the data of an acoustic localization system [ 16 ]. A finite impulse response (FIR) filter is proposed by Zhao et al. to fuse inertial and UWB measurements [17]. From the above works on data fusion for localization, the KF stands out as the most used method by researchers on the field. The popularity of the KF relies on the fact that it requires low computational resources, provides real-time localization and accurate position estimation. For these reasons, in this work, a KF is used to combine the position information obtained from the UWB and PDR systems. Like the approach in [ 16 ], data fusion is performed in two stages. In the first stage, the UWB measurements are analyzed to determine the usability of the UWB position estimate. The usability of the UWB measurements is assessed based on the NLOS identification that relies on channel impulse response (CIR) parameters, and the identification is performed based on a random forest model. In the second stage, the position estimates of both systems are fused using a KF. The main contributions of this work are the following: • Development and integration of a hybrid IPS into a fully-functional personal protective equipment (PPE) that besides the position estimation is capable of monitoring physiological and environmental parameter and provides bi-directional communication between the emergency responder and the incident commander; • A loose-coupled IMU/UWB position fusion based on a KF with different ToA-based positioning algorithms, which can compensate the ToA NLOS effect and IMU error accumulation problem; • Assess the performance of the data fusion algorithm by using three different ToA-based positioning algorithms for the UWB position estimate; • Development of a decision-making algorithm to assess the usability of the UWB data for the data fusion process. The paper is organized as follows. Section 2presents the proposed framework. This includes the architecture of the PROTACTICAL cyber–physical system (CPS), the pedestrian dead reckoning (PDR) method, the UWB positioning algorithms, the decision-making algorithm used to assess the usability of UWB position data, and the algorithm developed to fuse both position data. The experimental analysis and related discussion are reported in Section 3. Finally, Section 4concludes the paper. Electronics 2019,8, 1463 3 of 21 2. The PROTACTICAL Positioning Framework In this section, the different components that make up the IPS of the PROTACTICAL CPS are described. Firstly, an overview of the PROTACTICAL CPS is provided, followed by a brief description of all system components. Then, the different subsystems of the hybrid IPS designed for the PROTACTICAL CPS are introduced, namely: the pedestrian dead reckoning (PDR), the UWB positioning, the algorithm for the usability analysis of the UWB data, and the algorithm that fuses both positioning estimates. 2.1. The PROTACTICAL Cyber–Physical System The PROTACTICAL CPS is a smart personal protective equipment that was designed to enhance firefighters’ occupational health, safety, situational awareness, and comfort. It is capable of monitoring physiological and environmental parameters, locating and tracking firefighters, and detecting, in real-time, life-threating scenarios [18–21]. The PROTACTICAL CPS is based on a three-tier architecture (Figure 1). Tier one consists of a wireless body sensor network (WBSN)—WBSN-PROTACTICAL—that comprises several nodes: PROTACTICAL, designed to locate the firefighter and monitor physiological and environmental parameters, and a network coordinator (Gateway-PROTACTICAL). The WBSN-PROTACTICAL is based on ZigBee technology. The complete list of nodes that compose the WBSN-PROTACTICAL, as well as the corresponding monitored parameters is shown in Table 1. Electronics 2019, 8, x FOR PEER REVIEW 3 of 21 In this section, the different components that make up the IPS of the PROTACTICAL CPS are described. Firstly, an overview of the PROTACTICAL CPS is provided, followed by a brief description of all system components. Then, the different subsystems of the hybrid IPS designed for the PROTACTICAL CPS are introduced, namely: the pedestrian dead reckoning (PDR), the UWB positioning, the algorithm for the usability analysis of the UWB data, and the algorithm that fuses both positioning estimates. 2.1. The PROTACTICAL Cyber–Physical System The PROTACTICAL CPS is a smart personal protective equipment that was designed to enhance firefighters’ occupational health, safety, situational awareness, and comfort. It is capable of monitoring physiological and environmental parameters, locating and tracking firefighters, and detecting, in real-time, life-threating scenarios [18–21]. The PROTACTICAL CPS is based on a three-tier architecture (Figure 1). Tier one consists of a wireless body sensor network (WBSN)—WBSN-PROTACTICAL—that comprises several nodes: PROTACTICAL, designed to locate the firefighter and monitor physiological and environmental parameters, and a network coordinator (Gateway-PROTACTICAL). The WBSN-PROTACTICAL is based on ZigBee technology. The complete list of nodes that compose the WBSN-PROTACTICAL, as well as the corresponding monitored parameters is shown in Table 1. Figure 1. PROTACTICAL cyber–physical system’s Architecture. Tier two is the CPS network—ad hoc-PROTACTICAL—and is responsible for the bidirectional communication between the emergency responders and the incident commander. The CPS network is based on an ad-hoc routing principle, and the coverage of this network is expanded through the use of forward-PROTACTICAL as the emergency responders enter a building. This network is based on Wi-Fi technology. Table 1. Nodes and monitored parameters within the wireless body sensor network (WBSN)- PROTACTICAL. Node Garment Monitored Parameters 1 Shirt Heart rate 2 Shirt Sweat detection and inner temperature (back) 3 Shirt Breathing rate 4 Coat Heat flux across the coat, inner temperature (front), and inactivity/fall detection 5 Coat CO, CO2, environmental temperature, and relativity humidity 6 Boot inactivity and relative position 7 Coat inactivity, panic event, and user feedback Gateway Coat absolute position (GPS), indoor location (UWB+PDR), environmental temperature Figure 1. PROTACTICAL cyber–physical system’s Architecture. Table 1. Nodes and monitored parameters within the wireless body sensor network (WBSN)-PROTACTICAL. Node Garment Monitored Parameters 1 Shirt Heart rate 2 Shirt Sweat detection and inner temperature (back) 3 Shirt Breathing rate 4 Coat Heat flux across the coat, inner temperature (front), and inactivity/fall detection 5 Coat CO, CO2, environmental temperature, and relativity humidity 6 Boot inactivity and relative position 7 Coat inactivity, panic event, and user feedback Gateway Coat absolute position (GPS), indoor location (UWB+PDR), environmental temperature Tier two is the CPS network—ad hoc-PROTACTICAL—and is responsible for the bidirectional communication between the emergency responders and the incident commander. The CPS network is based on an ad-hoc routing principle, and the coverage of this network is expanded through the use Electronics 2019,8, 1463 4 of 21 of forward-PROTACTICAL as the emergency responders enter a building. This network is based on Wi-Fi technology. Finally, tier three is the base station PROTACTICAL, which is responsible for storing and displaying the acquired information, managing the network, and triggering distress messages towards the emergency responders if a life-threatening event is detected. 2.2. The Pedestrian Dead Reckoning Subsystem The PDR subsystem is an inertial navigation system (INS) that continuously estimates the position of the emergency responder based on the accelerations and angular velocities measured from a triad of accelerometers and gyroscopes. To minimize the position drift incurred because of the inertial sensors’ measurements drift over time, an EKF is fed with pseudo-zero-velocity updates (ZUPT) every time the emergency responder’s foot is in contact with the ground. Figure 2shows the basic principle of operation of the ZUPT-aided EKF algorithm implemented for the PROTACTICAL CPS, and the pseudocode of the implemented algorithm is shown in Figure 3. A detailed description of the ZUPT-aided EKF algorithm, as well as the hardware specification for the node-PROTACTICAL 6, can be found in [21]. Electronics 2019, 8, x FOR PEER REVIEW 4 of 21 Finally, tier three is the base station PROTACTICAL, which is responsible for storing and displaying the acquired information, managing the network, and triggering distress messages towards the emergency responders if a life-threatening event is detected. 2.2. The Pedestrian Dead Reckoning Subsystem The PDR subsystem is an inertial navigation system (INS) that continuously estimates the position of the emergency responder based on the accelerations and angular velocities measured from a triad of accelerometers and gyroscopes. To minimize the position drift incurred because of the inertial sensors’ measurements drift over time, an EKF is fed with pseudo-zero-velocity updates (ZUPT) every time the emergency responder’s foot is in contact with the ground. Figure 2 shows the basic principle of operation of the ZUPT-aided EKF algorithm implemented for the PROTACTICAL CPS, and the pseudocode of the implemented algorithm is shown in Figure 3. A detailed description of the ZUPT-aided EKF algorithm, as well as the hardware specification for the node-PROTACTICAL 6, can be found in [21]. Figure 2. Illustration of the zero-velocity updates (ZUPT)-aided extended Kalman filter (EKF) method. In the PROTACTICAL CPS, the node-PROTACTICAL 6 is responsible for computing the position of the emergency responder based on the PDR method. This node is placed on the instep of the foot, near the ankle, and is fastened to the shoe by the shoe’s laces. Figure 2. Illustration of the zero-velocity updates (ZUPT)-aided extended Kalman filter (EKF) method. In the PROTACTICAL CPS, the node-PROTACTICAL 6 is responsible for computing the position of the emergency responder based on the PDR method. This node is placed on the instep of the foot, near the ankle, and is fastened to the shoe by the shoe’s laces. Electronics 2019,8, 1463 5 of 21 Electronics 2019, 8, x FOR PEER REVIEW 5 of 21 Figure 3. Pseudocode for the ZUPT-aided EKF algorithm implemented for the pedestrian dead reckoning PDR subsystem. 2.3. UWB Positioning Subsystem The DW1000 chip developed by DecaWave (Dublin, Ireland) is a UWB transceiver compliant with the IEEE802.15.4-2011 standard that revolutionized the UWB market as they provide very accurate ranging measurements at low transceiver cost (approx. €25 per unit) [22]. These UWB transceivers perform ranging measurements based on the two-way ranging (TWR) technique, which is a variant of the time-of-arrival technique. In the proposed system, the tag node is responsible for starting the ranging procedure and the anchor for computing the respective distance. The DW1000 UWB transceivers are configured to operate on channel four (500-MHz bandwidth with a center frequency of 3993.6 MHz), preamble length of 1024, and a data rate of 110 kb/s. Based on the ranging measurements provided by the DW1000 UWB transceiver, the position of the emergency responder is calculated by three ToA-based positioning algorithms, namely: the analytical method, the nonlinear least-squares method based on a first-order Taylor expansion (for abbreviation we will refer to this algorithm as “Taylor series”), and the EKF. These algorithms were selected as they have different complexity and are designed to address different issues on localization. The analytical method is the simplest localization method with less computational requirements. However, the number of possible ranging measurement combinations has to be known Figure 3. Pseudocode for the ZUPT-aided EKF algorithm implemented for the pedestrian dead reckoning PDR subsystem. 2.3. UWB Positioning Subsystem The DW1000 chip developed by DecaWave (Dublin, Ireland) is a UWB transceiver compliant with the IEEE802.15.4-2011 standard that revolutionized the UWB market as they provide very accurate ranging measurements at low transceiver cost (approx. € 25 per unit) [ 22 ]. These UWB transceivers perform ranging measurements based on the two-way ranging (TWR) technique, which is a variant of the time-of-arrival technique. In the proposed system, the tag node is responsible for starting the ranging procedure and the anchor for computing the respective distance. The DW1000 UWB transceivers are configured to operate on channel four (500-MHz bandwidth with a center frequency of 3993.6 MHz), preamble length of 1024, and a data rate of 110 kb/s. Based on the ranging measurements provided by the DW1000 UWB transceiver, the position of the emergency responder is calculated by three ToA-based positioning algorithms, namely: the analytical method, the nonlinear least-squares method based on a first-order Taylor expansion (for abbreviation we will refer to this algorithm as “Taylor series”), and the EKF. These algorithms were selected as they have different complexity and are designed to address different issues on localization. The analytical method Electronics 2019,8, 1463 6 of 21 is the simplest localization method with less computational requirements. However, the number of possible ranging measurement combinations has to be known beforehand since one equation has to be defined for each tag-anchor pair. On the other hand, the Taylor series and the EKF methods aim to deal with nonlinearity issues aroused by the localization problem and the covariance of the ranging measurements. Although the complexity of these algorithms is higher, it is expected to observe an improvement in performance when compared with the first two algorithms. While the Taylor series is an extension to the trilateration-based localization algorithms, the EKF is a predictive algorithm that aims to predict the next state based on a system model and the ranging measurements. A brief description of the three ToA-based position algorithms implemented in this work is provided in the following subsections. For a detailed description of the algorithms, the readers are referred to [19]. 2.3.1. Analytical Method In this work, the analytical method follows the linear implementation proposed by Caffery [ 23 ]. So, considering the challenging scenario where only three anchor nodes are available, the 2D localization problem can be expressed as a set of three equations with two unknowns:              (x−x1)2+(y−y1)2=d2 1 (x−x2)2+(y−y2)2=d2 2 (x−x3)2+(y−y3)2=d2 3 (1) where xi and yi are the known coordinates of the three anchor nodes, x and y are the unknown user’s coordinates, and the d2 iare the distances measured by the DW1000 UWB transceiver. By differencing the previous equations with a selected anchor node and rearranging the resulting equations, the tag’s position can be calculated as: x=(y2−y1)C3−(y3−y2)C1 [(x3−x2)(y2−y1)−(x2−x1)(y3−y2)] (2) where: C1=1 2(kA2k2− kA1k2+d2 1−d2 2)(3) C3=1 2(kA3k2− kA2k2+d2 2−d2 3)(4) where kAikis the norm of the position of anchor i. By substituting (11) into either (9) or (10) and solving in terms of y, gives: y=(x2−x1)C3−(x3−x2)C1 [(y3−y2)(x2−x1)−(y2−y1)(x3−x2)] (5) 2.3.2. Taylor Series Method Since the 2D positioning is a nonlinear problem, the Taylor series method proposes a linearization strategy to correct the error of an initial position estimate X0 . Therefore, this linearization problem can be represented as the following: d(X)≈d(X0)+H0(X−X0)(6) where X0 is the vector of the initial estimation, X is the vector of the anchor nodes’ coordinates, and H0 represents the Jacobian matrix of d(X)around X0, which can be represented as: Electronics 2019,8, 1463 7 of 21 H0=  ∂d1 ∂x ∂d1 ∂y ∂d2 ∂x ∂d2 ∂y . . . ∂dn ∂x ∂dn ∂y X=X0 =  x0−x1 r1 y0−y1 r1 x0−x2 r2 y0−y2 r2 . . . x0−xn rn y0−yn rn  (7) where ri=q(x0−xi)2+(y0−yi)2. It is worthy of mentioning that this linearization is only valid if the initial estimate is sufficiently closed to the actual location of the tag. In this work, the initial estimation is obtained from the analytical method described above. Assuming that the ranging measurements are independent and its error follows a Gaussian distribution, a weighted least squares solution for this problem can be as follows: δ=H0TR−1H0−1H0TR−1M (8) For details about the different elements of the previous equation, the readers are referred to [19]. Based on the initial position estimation (x0,y0) and the computed δ , the position estimation can be updated as follows: (x=x0+δx y=y0+δy(9) The position estimate is refined based on an iterative process. 2.3.3. Extended Kalman Filter Method The performance of the EKF method is closely linked to the correct definition of a motion model for the system. Since human motion is highly unpredictable, the random motion model (i.e., model the motion as Gaussian noise) was selected in this work. Considering this design decision, the state transition model of the system can be defined as: Xk+1=AXk+wk(10) where Xk+1 and Xk=hxtag ytag iT represent, respectively, the current and the previous position state vectors. wk is the process noise that allows changes in position and orientation with covariance matrix Qk=hxyiT . The values of the covariance matrix Qk were determined empirically. The matrix A represents the state transition matrix and is modeled as an identity matrix: A=I2="1 0 0 1 #(11) The measurement model can be represented by: Zk=h(Xk)+vx(12) where Zk is the current ranging measurements vector, h(Xk) is the observation matrix, and vx is the measurement noise whose covariance is Rk . The index k indicates that the parameters can change over time. The observation matrix h(Xk) and the corresponding Jacobian Hk are derived from (1) and are given as follows: h(Xk)=q(x−xk)2+(y−yk)2(13) Hk="x−xk q(x−xk)2+(y−yk)2 y−yk q(x−xk)2+(y−yk)2#(14) Electronics 2019,8, 1463 8 of 21 Based on the models described above, the EKF estimates the tag position based on two different stages: prediction and update. These two stages are described in detail on [19]. 2.4. Usability Analysis of UWB Position Data Despite the attractive features of UWB technology for indoor localization in harsh environments (e.g., robust signaling, through-wall propagation, and broad bandwidth that allows high-resolution ranging) [ 24 – 29 ], the NLOS propagation severely affects the performance of the UWB positioning system by adding positive bias in distance estimation [ 24 , 30 ]. As the number of anchor nodes in the NLOS condition increases, the UWB positioning performance significantly decreases. As demonstrated on the dynamic tests of [ 19 ], when the two anchor nodes are in NLOS condition, the positioning performance is unsatisfactory, even when a NLOS error mitigation algorithm is applied. So, to avoid fusing incorrect/inaccurate UWB position estimates, a decision-making algorithm has been developed to analyze the usability of the UWB data for position estimation. A key part of the decision-making algorithm is a NLOS identification algorithm that allows distinguishing ranging measurements that were taken in LOS and NLOS. To build the NLOS identification algorithm, a measurement campaign was performed and allowed the collection of more than 18,000 samples in both LOS and NLOS propagation conditions (the occlusion of the human body generates the NLOS condition). In the defined setup, the distance between the anchor and the tag ranges from 1 up to 44 m. Since temporal and CIR data distribution statistics require an additional processing that can add a delay of 4–5 s per measurement [ 25 ], which can compromise the real-time requirements of IPS for emergency responders [ 1 ], to build this algorithm only CIR amplitude-based features that can be immediately, or with little processing, available from the DW1000 UWB transceivers built-in diagnostic capability were used. Examples of such features are: the first three points of the first path amplitude; standard deviation of the noise in the CIR accumulator; max growth of CIR power; max noise value; estimated received signal strength (RSS); estimated received power of the first path impulse; ratio of power of maximum noise and power in the first path; and power difference between the estimated RSS and the estimated power of the first impulse. These features were fed into different machine learning algorithms (e.g., k-nearest neighbor, naïve Bayes, support vector machine, random forest, and decision trees), and their performance was assessed based on a 10-fold cross-validation strategy. All features combinations were tested, from models with one feature to models with all 13 features. The best performing model was the random forest classifier with an accuracy of 98.4% on the test dataset, obtained for a model with three features (power difference, estimated received power of the first path impulse, and estimated power of the first impulse). Although models with more features exhibited higher accuracy (maximum accuracy of 98.8% for a model with 10 features), this model showed the best tradeoffbetween number of features/algorithm complexity versus accuracy. The detailed description of the measurement campaign, feature selection, and algorithm comparison/evaluation are being prepared to be published as a separate paper. Unlike the decision-making algorithm proposed in [ 16 ], the decision-making algorithm here proposed does not make assumptions on the user mobility. The proposed algorithm is suitable for all movements, runs in real-time, and has low computational requirements, making it a viable solution for IPSs for emergency responders. At each time step, the decision-making algorithm checks if UWB measurements are available. If new UWB measurements are received, the NLOS identification algorithm is run to check if there are UWB measurements that were acquired in the NLOS condition. If two or more ranging measurements are acquired under NLOS influence, these measurements are discarded, the PDR system gives the user’s position. In this work, it is assumed that only three UWB ranging measurements are available. If more ranging measurements are available, the system has to have at least two ranging measurements in LOS to perform the data fusion with the UWB position estimate. Then, the UWB position is computed, and the data fusion algorithm is executed. Unlike the work in [ 16 ], the proposed method is not necessary to perform any additional validation on the UWB data. When the number of anchor nodes in the NLOS condition is less than two, the confidence on Electronics 2019,8, 1463 9 of 21 the estimated position is very high. Even if the previous measurements were rejected (based on the selected criterion) or lost. Figure 4illustrates the flowchart of the decision-making algorithm proposed. Electronics 2019, 8, x FOR PEER REVIEW 9 of 21 Figure 4. Flowchart of the decision-making algorithm about the usability of UWB measurements for the data fusion process. 2.5. Fusing UWB and PDR Position Estimates For the data fusion process, two sources of measurements are available, the UWB and the PDR. The PDR measurements are used in the prediction stage and the UWB measurements are used in the update stage. Since the target application is to track pedestrians, the process model is defined based on the PDR estimates, and the state model is given as follows: X  = F X    + G d  + w  , (15) where F and G are identity matrices, w is the process noise with covariance noise Q=[], which are determined empirically. X=[] is the current 2D coordinates of the pedestrian and X is the previous position of the pedestrian. d is the process model of the system and is given as: d  =   cos (   )  sin (   )  , (16) where  and  are the step length and walking direction at the time step , respectively. These estimates are obtained based on the PDR system described in section II.B. When the UWB measurements are available, the position of the user is computed based on one of the methods proposed in Section 2.3, and the measurement model is given as: Z  = H X  + v  , (17) where H is an identity matrix and v is the measurement noise with covariance matrix R= Start New UWB measurements available? No Run the NLOS identification algorithm to count the measurements in NLOS Yes Links NLOS ≤ 1? Run the NLOS error mitigation algorithm for the NLOS link Compute the UWB position Run the Data Fusion algorithm Yes Discard the NLOS measurements End No Figure 4. Flowchart of the decision-making algorithm about the usability of UWB measurements for the data fusion process. 2.5. Fusing UWB and PDR Position Estimates For the data fusion process, two sources of measurements are available, the UWB and the PDR. The PDR measurements are used in the prediction stage and the UWB measurements are used in the update stage. Since the target application is to track pedestrians, the process model is defined based on the PDR estimates, and the state model is given as follows: Xk=FXk−1+Gdk+wk, (15) where F and G are identity matrices, wk is the process noise with covariance noise Qk=hεxεyiT , which are determined empirically. Xk=hxkykiT is the current 2D coordinates of the pedestrian and Xk−1is the previous position of the pedestrian. dkis the process model of the system and is given as: dk= dcos(ψk) dsin(ψk), (16) Electronics 2019,8, 1463 16 of 21 Electronics 2019, 8, x FOR PEER REVIEW 16 of 21 Figure 9. Comparison of the position error achieved by each positioning algorithm tested in the lab scenario. The paths estimated by the different positioning methods are shown in Figure 10. Like in the previous scenario, the plot is split into three for a better comparison between the different methods implemented. Although the estimated path is not as smooth as the ones in the atrium scenario, it can be observed that the data fusion algorithm performs better than the other methods. The orientation drift of the PDR system has been corrected, and the UWB measurements in the NLOS condition have been successfully rejected. In this scenario, the data fusion method with the analytical method had the best performance. Like in the atrium, the EKF version had the worst performance in terms of the estimated path. (a) 0 2 4 6 8 10 12 x (m) -2 -1 0 1 2 3 4 5 6 7 y ( m ) Estimated 2D path - Lab 2D Closed Loop Start End Estimated Path PDR Estimated Path Data Fusion Estimated Path UWB Travelled Path Figure 9. Comparison of the position error achieved by each positioning algorithm tested in the lab scenario. Electronics 2019, 8, 1463 16 of 21 Figure 9. Comparison of the position error achieved by each positioning algorithm tested in the lab scenario. The paths estimated by the different positioning methods are shown in Figure 10. Like in the previous scenario, the plot is split into three for a better comparison between the different methods implemented. Although the estimated path is not as smooth as the ones in the atrium scenario, it can be observed that the data fusion algorithm performs better than the other methods. The orientation drift of the PDR system has been corrected, and the UWB measurements in the NLOS condition have been successfully rejected. In this scenario, the data fusion method with the analytical method had the best performance. Like in the atrium, the EKF version had the worst performance in terms of the estimated path. (a) Figure 10. Cont. Electronics 2019,8, 1463 17 of 21 Electronics 2019, 8, 1463 17 of 21 (b) (c) Figure 10. Resulting path estimations using (a) analytical method, (b) Taylor series method, and (c) EKF method for UWB and data fusion position estimates for the lab scenario. 3.3.3. Decision-Making Algorithm Performance Evaluation Table 2 and Table 3 show the confusion matrix for the LOS/NLOS identification in the atrium and lab scenarios, respectively. As can be seen from the tables, the accuracy of the identification on the LOS/NLOS scenarios was quite high for both scenarios (above 80% accuracy in both scenarios). However, in the atrium scenario, the accuracy was higher than in the lab scenario (88.53% and 84.17%, respectively). This difference in the performance can be explained by the influence of the surrounding environment on the algorithm performance. A clear example of the surrounding interference occurred on the atrium. As can be seen in Table 1, only 5 LOS samples were classified as NLOS, but 59 NLOS samples were classified as LOS. This misclassification mainly occurred when the pedestrian was walking near the walls, confirming that the multipath signals degrade the algorithm performance. Figure 10. Resulting path estimations using ( a ) analytical method, ( b ) Taylor series method, and ( c ) EKF method for UWB and data fusion position estimates for the lab scenario. 3.3.3. Decision-Making Algorithm Performance Evaluation Tables 2and 3show the confusion matrix for the LOS/NLOS identification in the atrium and lab scenarios, respectively. As can be seen from the tables, the accuracy of the identification on the LOS/NLOS scenarios was quite high for both scenarios (above 80% accuracy in both scenarios). However, in the atrium scenario, the accuracy was higher than in the lab scenario (88.53% and 84.17%, respectively). This difference in the performance can be explained by the influence of the surrounding environment on the algorithm performance. A clear example of the surrounding interference occurred on the atrium. As can be seen in Table 1, only 5 LOS samples were classified as NLOS, but 59 NLOS samples were classified as LOS. This misclassification mainly occurred when the pedestrian was walking near the walls, confirming that the multipath signals degrade the algorithm performance. Electronics 2019,8, 1463 18 of 21 Table 2. Confusion matrix for the LOS/NLOS identification in the atrium scenario. LOS NLOS LOS 294 5 NLOS 59 200 Table 3. Confusion matrix for the LOS/NLOS identification in the lab scenario. LOS NLOS LOS 324 55 NLOS 52 245 4. Discussion For both scenarios, the superiority of the data fusion method proposed is quite evident. Overall, the path estimated by the data fusion algorithm is closer to the exact trajectory and successfully bound the errors of both methods. Typically, due to the superiority of UWB technology for ToA-based distance calculation, the ToA-based positioning algorithms have a superior and consistent performance throughout all the paths. i.e., its performance does not worsen with time like the IMU-based methods. However, UWB measurements can suffer severe degradation if the signal is blocked by the human body (the NLOS scenario). So, the proposed data fusion algorithm benefits from this knowledge in the sense that when the UWB position is reliable (two or more nodes under LOS condition), the data fusion algorithm gives more weight to those measurements, and the user’s position is computed with higher accuracy. When the UWB position is corrupted (NLOS scenario), the algorithm will use the relative path estimate obtained from the PDR algorithm. In this way, the errors of both systems can be bonded, resulting in a system with superior performance. The effectiveness of the proposed method is evident in the lab experiment. During the first half of the path performed in this scenario, two anchor nodes were in NLOS, leading to a low-quality ToA-based position estimate. On the other hand, the PDR system provided a reasonable position estimate at the beginning of the test, but it deteriorated after four consecutive turns in an area of one square meter in the middle of the path. However, with the proposed data fusion method, these performance limitations were attenuated, and the system was capable of providing a reasonable position estimate throughout the whole experiment. Three variants of the data fusion method were evaluated during the experiments. These variants differ in the positioning method used to compute the UWB position estimate (analytical method, Taylor series, and EKF). Based on the results obtained from the experiments, the analytical method variant exhibited a higher performance in both scenarios. The EKF variant exhibited the worst performance among the three variants evaluated. This low performance can be explained by the low availability of measurements to perform the localization, due to the low sampling frequency of the UWB system, and the smoothing nature of this method. Because of the tracking nature of the EKF method, for a good performance, the EKF should be fed with new measurements at a constant sampling rate and relatively close to each other. However, during real-life scenarios, it is very likely the loss of UWB measurements during long periods, which will compromise the performance of the system. For this reason, the EKF method for ToA-based positioning is not recommended. By comparing the results of the total travelled distance error (Figure 11), it can be observed that the data fusion methods performed significantly better than the UWB-based methods. Whereas, the PDR method had the best performance in the atrium scenario (0.76 m), but its performance significantly worsened in the lab scenario (3.78 m). This difference can be explained by the methods used to estimate the total distance travelled. For the PDR system, the travelled distance was calculated based on the sum of displacement between two sampling periods. Whereas, the UWB and data fusion methods calculated the displacement based on the Euclidean distance between two consecutive points. This method was also used to refine the step displacement required to feed the movement model of the Kalman filter used for data fusion. Additionally, by removing the UWB position estimates with Electronics 2019,8, 1463 19 of 21 two or more anchor nodes in NLOS, the error in the total distance travelled was significantly reduced. For the analytical variant, the data fusion approach in the atrium scenario achieved an error reduction in the total distance travelled of 42% for the UWB-based method and increased 276% compared to the PDR method. However, in the lab scenario, the error reduction was 89% and 50% compared to the UWB-based and PDR methods, respectively. Unlike the other methods, the error in the estimation of the total distance travelled of the EKF-based methods was due to the underestimation of the distance travelled. This phenomenon occurs because of the smoothing nature of the EKF method. Among the data fusion methods, the variant with the analytical method had the best performance in both scenarios. Electronics 2019, 8, x FOR PEER REVIEW 19 of 21 was significantly reduced. For the analytical variant, the data fusion approach in the atrium scenario achieved an error reduction in the total distance travelled of 42% for the UWB-based method and increased 276% compared to the PDR method. However, in the lab scenario, the error reduction was 89% and 50% compared to the UWB-based and PDR methods, respectively. Unlike the other methods, the error in the estimation of the total distance travelled of the EKF-based methods was due to the underestimation of the distance travelled. This phenomenon occurs because of the smoothing nature of the EKF method. Among the data fusion methods, the variant with the analytical method had the best performance in both scenarios. Figure 11. Analysis of the total distance travelled error for the different positioning methods implemented. Finally, the usability analysis of UWB data also proved to be an essential tool to improve the performance of the data fusion algorithm. As shown in Figures 7 and 9, when two or more anchor nodes are in NLOS, the estimated position of all positioning algorithms became very unpredictable. The NLOS identification algorithm has revealed to be very useful in the identification of these measurements. The elimination of those estimations improved the accuracy of the IPS. 5. Conclusions In this paper, several data fusion methods have been proposed and evaluated to fuse the inertial data and UWB ranging measurements in a loose-coupled way. A decision-making algorithm was developed to improve the accuracy of data fusion process. This algorithm assessed the usability of the UWB measurements based on CIR data and a random forest algorithm and fused both information if the UWB measurements are in LOS. The different positioning strategies were evaluated in two scenarios with different propagation conditions (an open space environment—atrium—and a lab). Based on the results obtained, the data fusion method with the analytical method achieved higher position accuracy in both scenarios (a position error below 1.5 m) and provided the lower distance travelled error. As far as future work is concerned, we plan to assess the performance of the proposed data fusion algorithm with different movement patterns (e.g., walking hunched, knee-dragging motion, running, and crawling). Furthermore, we plan to develop an algorithm for assisted deployment of waypoints as this is an indispensable asset for localization in unstructured environments as it is the case of the emergency responders [1]. With the placement of the waypoints on the fly, new geometric configurations of the anchor nodes will arise, and some will likely degrade the performance of the data fusion algorithm. A new decision-making algorithm may be necessary to deal with these situations. 0 2 4 6 8 10 12 14 16 18 UWB Analytical UWB Taylor Series UWB EKF PDRData Fusion + Analytical Data Fusion + Taylor Series Data Fusion + EKF Atrium Lab Figure 11. Analysis of the total distance travelled error for the different positioning methods implemented. Finally, the usability analysis of UWB data also proved to be an essential tool to improve the performance of the data fusion algorithm. As shown in Figures 7and 9, when two or more anchor nodes are in NLOS, the estimated position of all positioning algorithms became very unpredictable. The NLOS identification algorithm has revealed to be very useful in the identification of these measurements. The elimination of those estimations improved the accuracy of the IPS. 5. Conclusions In this paper, several data fusion methods have been proposed and evaluated to fuse the inertial data and UWB ranging measurements in a loose-coupled way. A decision-making algorithm was developed to improve the accuracy of data fusion process. This algorithm assessed the usability of the UWB measurements based on CIR data and a random forest algorithm and fused both information if the UWB measurements are in LOS. The different positioning strategies were evaluated in two scenarios with different propagation conditions (an open space environment—atrium—and a lab). Based on the results obtained, the data fusion method with the analytical method achieved higher position accuracy in both scenarios (a position error below 1.5 m) and provided the lower distance travelled error. As far as future work is concerned, we plan to assess the performance of the proposed data fusion algorithm with different movement patterns (e.g., walking hunched, knee-dragging motion, running, and crawling). Furthermore, we plan to develop an algorithm for assisted deployment of waypoints as this is an indispensable asset for localization in unstructured environments as it is the case of the emergency responders [ 1 ]. With the placement of the waypoints on the fly, new geometric configurations of the anchor nodes will arise, and some will likely degrade the performance of the data fusion algorithm. A new decision-making algorithm may be necessary to deal with these situations. Electronics 2019,8, 1463 20 of 21 Author Contributions: A.G.F., A.P.C., A.M.R., and J.L.M. conceived and designed the experiments; A.G.F. and D.F. performed the experiments; A.G.F. and A.P.C. analyzed the data; J.L.M. provided hardware devices; A.G.F. wrote the paper. Funding: This work has been partially supported by FCT – Fundaç ã o para a Ci ê ncia e Tecnologia within the Project Scope: UID/CEC/00319/2019 and Project UID/CTM/00264/2019 of 2C2T—Centro de Ci ê ncia e Tecnologia T ê xtil, funded by National Founds through FCT/MCTES. The work of A. G. Ferreira and D. Fernandes was supported by the FCT under Grant SFRH/BD/91477/2012 and Grant SFRH/BD/92082/2012. Conflicts of Interest: The authors declare no conflict of interest. References 1. Ferreira, A.F.G.; Fernandes, D.M.A.; Catarino, A.P.; Monteiro, J.L. Localization and Positioning Systems for Emergency Responders: A Survey. IEEE Commun. Surv. Tutor. 2017,19, 2836–2870. [CrossRef] 2. Femminella, M.; Reali, G. A Zero-Configuration Tracking System for First Responders Networks. IEEE Syst. J. 2017,11, 2917–2928. [CrossRef] 3. Curone, D.; Secco, E.L.; Tognetti, A.; Loriga, G.; Dudnik, G.; Risatti, M.; Whyte, R.; Bonfiglio, A.; Magenes, G. Smart Garments for Emergency Operators: The ProeTEX Project. IEEE Trans. Inf. Technol. Biomed. 2010,14, 694–701. [CrossRef] [PubMed] 4. Fuchs, C.; Aschenbruck, N.; Martini, P.; Wieneke, M. Indoor tracking for mission critical scenarios: A survey. Pervasive Mob. Comput. 2011,7, 1–15. [CrossRef] 5. Fischer, C.; Gellersen, H. Location and Navigation Support for Emergency Responders: A Survey. IEEE Pervasive Comput. 2010,9, 38–47. [CrossRef] 6. Rantakokko, J.; Strömbäck, P.; Andersson, P. Foot-and knee-mounted INS for firefighter localization. In Proceedings of the 2014 International Technical Meeting of the Institute of Navigation, San Diego, CA, USA, 27–29 January 2014; pp. 145–153. 7. Faramondi, L.; Inderst, F.; Pascucci, F.; Setola, R.; Delprato, U. An enhanced indoor positioning system for first responders. In Proceedings of the 2013 International Conference on Indoor Positioning and Indoor Navigation, Montbeliard-Belfort, France, 28–31 October 2013; pp. 1–8. 8. Qi, H.; Moore, J.B. Direct Kalman filtering approach for GPS/INS integration. IEEE Trans. Aerosp. Electron. Syst. 2002,38, 687–693. 9. Chu, H.-J.; Tsai, G.-J.; Chiang, K.-W.; Duong, T.-T. GPS/MEMS INS Data Fusion and Map Matching in Urban Areas. Sensors 2013,13, 11280–11288. [CrossRef] [PubMed] 10. Deng, Z.-A.; Hu, Y.; Yu, J.; Na, Z. Extended Kalman Filter for Real Time Indoor Localization by Fusing WiFi and Smartphone Inertial Sensors. Micromachines 2015,6, 523–543. [CrossRef] 11. Masiero, A.; Guarnieri, A.; Pirotti, F.; Vettore, A. A Particle Filter for Smartphone-Based Indoor Pedestrian Navigation. Micromachines 2014,5, 1012–1033. [CrossRef] 12. Waqar, W.; Chen, Y.; Vardy, A. Incorporating user motion information for indoor smartphone positioning in sparse Wi-Fi environments. In Proceedings of the 17th ACM International Conference on Modeling, Analysis and Simulation of Wireless and Mobile Systems-MSWiM, Montreal, QC, Canada, 21–26 September 2014; pp. 267–274. 13. Fischer, C.; Muthukrishnan, K.; Hazas, M. SLAM for Pedestrians and Ultrasonic Landmarks in Emergency Response Scenarios. In Advances in Computers; Zelkowitz, M.V., Ed.; Academic Press: Burlington, Germany, 2011; Volume 81, pp. 103–160. 14. Olsson, F.; Rantakokko, J.; Nygards, J. Cooperative localization using a foot-mounted inertial navigation system and ultrawideband ranging. In Proceedings of the 2014 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Busan, Korea, 27–30 October 2014; pp. 122–131. 15. Kok, M.; Hol, J.D.; Schon, T.B. Indoor Positioning Using Ultrawideband and Inertial Measurements. IEEE Trans. Veh. Technol. 2015,64, 1293–1303. [CrossRef] 16. Yang, H.; Zhang, R.; Bordoy, J.; Höflinger, F.; Li, W.; Schindelhauer, C.; Reindl, L. Smartphone-Based Indoor Localization System Using Inertial Sensor and Acoustic Transmitter/Receiver. IEEE Sens. J. 2016 ,16, 8051–8061. [CrossRef] 17. Zhao, S.; Huang, B.; Liu, F. Localization of Indoor Mobile Robot Using Minimum Variance Unbiased FIR Filter. IEEE Trans. Autom. Sci. Eng. 2018,15, 410–419. [CrossRef] Electronics 2019,8, 1463 21 of 21 18. Fernandes, D.; Ferreira, A.; Mendes, J.; Cabral, J. A wireless body sensor network based on dynamic power control and opportunistic packet scheduling mechanisms. In Proceedings of the 2015 IEEE International Conference on Industrial Technology (ICIT), Seville, Spain, 17–19 March 2015; pp. 2160–2165. 19. Ferreira, A.; Fernandes, D.; Catarino, A.; Monteiro, J. Performance Analysis of ToA-Based Positioning Algorithms for Static and Dynamic Targets with Low Ranging Measurements. Sensors 2017 ,17, 1915. [CrossRef] [PubMed] 20. Fernandes, D.; Gomes, T.; Ferreira, A.; Abrishambaf, R.; Cabral, J.; Monteiro, J.L.; Rocha, A. On-body signal propagation in WBANs for firefighters personal protective equipment: Statistical characterization and performance assessment. In Proceedings of the IEEE International Conference on Industrial Technology, Toronto, ON, Canada, 22–25 March 2017. 21. Ferreira, A.G.; Fernandes, D.; Monteiro, J.; Catarino, A.P.; Rocha, A.M. A Pedestrian Positioning System Integrated into a Cyber-Physical System for Emergency Responders’ Monitoring. In Proceedings of the 2018 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Nantes, France, 24–27 September 2018; pp. 206–212. 22. Decawave. 2014. Available online: http://www.decawave.com (accessed on 16 August 2017). 23. Caffery, J.J. A new approach to the geometry of TOA location. In Proceedings of the Vehicular Technology Conference Fall 2000. IEEE VTS Fall VTC2000. 52nd Vehicular Technology Conference (Cat. No.00CH37152), Boston, MA, USA, 24–28 September 2000; Volume 4, pp. 1943–1949. 24. Marano, S.; Gifford, W.; Wymeersch, H.; Win, M. NLOS identification and mitigation for localization based on UWB experimental data. IEEE J. Sel. Areas Commun. 2010,28, 1026–1035. [CrossRef] 25. Silva, B.; Hancke, G.P. IR-UWB-Based Non-Line-of-Sight Identification in Harsh Environments: Principles and Challenges. IEEE Trans. Ind. Inform. 2016,12, 1188–1195. [CrossRef] 26. Savic, V.; Ferrer-Coll, J.; Angskog, P.; Chilo, J.; Stenumgaard, P.; Larsson, E.G. Measurement Analysis and Channel Modeling for TOA-Based Ranging in Tunnels. IEEE Trans. Wirel. Commun. 2015 ,14, 456–467. [CrossRef] 27. Dardari, D.; Conti, A.; Ferner, U.; Giorgetti, A.; Win, M.Z. Ranging with Ultrawide Bandwidth Signals in Multipath Environments. Proc. IEEE 2009,97, 404–426. [CrossRef] 28. Shen, Y.; Win, M. On the accuracy of localization systems using wideband antenna arrays. IEEE Trans. Commun. 2010,58, 270–280. [CrossRef] 29. Kilic, Y.; Ali, A.J.; Meijerink, A.; Bentum, M.J.; Scanlon, W.G. The effect of human-body shadowing on indoor UWB TOA-based ranging systems. In Proceedings of the 2012 9th Workshop on Positioning, Navigation and Communication, Dresden, Germany, 15–16 March 2012; pp. 126–130. 30. He, J.; Geng, Y.; Liu, F.; Xu, C. CC-KF: Enhanced TOA Performance in Multipath and NLOS Indoor Extreme Environment. IEEE Sens. J. 2014,14, 3766–3774. © 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).