Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2021 Jun 26;21(13):4390. doi: 10.3390/s21134390

Robustly Adaptive EKF PDR/UWB Integrated Navigation Based on Additional Heading Constraint

Debao Yuan 1, Jian Zhang 1,*, Jian Wang 2, Ximin Cui 1, Fei Liu 2, Yalei Zhang 2
Editor: Jari Nurmi
PMCID: PMC8271371  PMID: 34206938

Abstract

At present, GNSS (Global Navigation Satellite System) positioning technology is widely used for outdoor positioning services because of its high-precision positioning characteristics. However, in indoor environments, effective position information cannot be provided, because of the signals being obscured. In order to improve the accuracy and continuity of indoor positioning systems, in this paper, we propose a PDR/UWB (Pedestrian Dead Reckoning and Ultra Wide Band) integrated navigation algorithm based on an adaptively robust EKF (Extended Kalman Filter) to address the problem of error accumulation in the PDR algorithm and gross errors in the location results of the UWB in non-line-of-sight scenarios. First, the basic principles of UWB and PDR location algorithms are given. Then, we propose a loose combination of the PDR and UWB algorithms by using the adaptively robust EKF. By using the robust factor to adjust the weight of the observation value to resist the influence of the gross error, and by adjusting the variance of the system adaptively according to the positioning scene, the algorithm can improve the robustness and heading factor of the PDR algorithm, which is constrained by indoor maps. Finally, the effectiveness of the algorithm is verified by the measured data. The experimental results showed that the algorithm can not only reduce the accumulation of PDR errors, but can also resist the influence of gross location errors under non-line-of-sight UWB scenarios.

Keywords: indoor positioning, PDR/UWB, adaptively robust EKF, loose combination, heading constraints

1. Introduction

At present, with the rapid development of mobile communication technology, people are paying increasing attention to location-based services. Statistics show that 80% of location-based services are indoors [1], so it is necessary to establish a high-precision and continuous indoor positioning system. In recent years, wireless positioning technology for indoor environments has been widely studied, including pseudolite technology, Bluetooth, infrared, Ultra-Wide Band (UWB), and Pedestrian Dead Reckoning (PDR). Of course, with the development of technology, some new positioning methods have also been adopted (such as occupancy grid maps [2,3]). In order to further improve the reliability and accuracy of indoor positioning, multi-sensor fusion positioning technology has attracted the attention of scholars at home and abroad; the Extended Kalman Filter (EKF) algorithm is widely used in multi-sensor fusion positioning systems. However, the complexity of indoor environments makes it difficult to build high-precision dynamic models and observation models effectively.

In recent years, UWB positioning technology has developed rapidly. Compared with Bluetooth, pseudolite, and other technologies, UWB can penetrate walls of a certain thickness, meaning that it has a strong anti-multipath ability, high positioning accuracy, and is conducive to providing real-time positioning services in sheltered and complex environments [4]. At present, the common UWB positioning methods are as follows: (1) One-Way TOA Ranging; (2) Two-Way TOA Ranging; (3) Time Difference of Arrival [5]. However, due to the complexity of indoor environments, UWB signals are often received without line-of-sight, in addition to other factors influencing the process of transmission, resulting in large deviations in the positioning results [6]. In order to reduce the influence of the gross error of non-line-of-sight (NLOS) locations in the UWB, neural network, support vector machine, Gaussian process regression, and other algorithms are used to identify the NLOS range value of UWB [7,8]. Yang proposed a NLOS error elimination method based on a sparse pseudo-input Gaussian process, which has a low complexity and offers high performance in NLOS scenes [9]. Ridolfi proposed the use of the combination of a CNN neural network algorithm and adaptive error correction algorithm to eliminate NLOS errors and improve the positioning accuracy of the base station [10]. Liu reduced the influence of NLOS errors based on the SVM algorithm under the condition of considering various error factors, such as transmission distance of the signal, the transmitted power, and the transmitted preamble length [11]. Cui combined the Morlet wavelet transform with a CNN neural network algorithm to extract the observed values with a non-horizon error. The experimental results showed that the algorithm is more accurate [12]. PDR positioning technology uses acceleration sensors and gyroscopes to detect the step frequency, estimate the step length, and calculate the heading, and then to calculate pedestrian positions; it offers high positioning continuity and high positioning accuracy over a short time period [13]. However, there is a serious error accumulation problem with PDR positioning technology. Cho et al. [14] proposed using a neural network for step size estimation, which can effectively avoid the interference of accelerometer bias in the step size estimation. As one of the important parameters of PDR, the accuracy of the course estimation determines the positioning performance. Klingbeil et al. [15] achieved an accurate heading correction by combining the magnetometer and gyroscope measurement data. At present, the mainstream heading correction method involves the use of short-baseline wireless sensor technologies to correct the PDR positioning system, including Bluetooth [16], UWB [17], and wireless fidelity [18].

At present, the reliance on single-sensor indoor positioning algorithms makes it difficult to meet the demands of high-precision location services in complex indoor environments. Multi-sensor combined positioning algorithms provide development potential for high-precision indoor positioning. To further improve the accuracy of PDR indoor pedestrian dynamic positioning, an unscented Kalman filter was used for PDR/UWB fusion positioning. The experimental results showed that the dynamic and static positioning accuracy of the fusion algorithm can be controlled at the decimeter level in open areas; however, in long and narrow indoor environments (such as corridors), the network structure of the UWB base station is poor and the solution equation appears to display the rank deficiency phenomenon, which will reduce the accuracy and availability of the PDR/UWB positioning algorithm [19]. Wang et al. [20] achieved WiFi–P-O fusion positioning based on a fading adaptive Kalman filter by using a multi-sensor device from a smart phone. The algorithm achieved accurate correction of inertial navigation unit heading information by adding map constraints. However, because the accuracy of the algorithm mainly depends on WiFi positioning results, its positioning performance cannot meet the requirements of high-precision positioning. For geomagnetic navigation, the integrated WiFi–geomagnetic matching algorithm can effectively reduce the search range of the geomagnetic matching algorithm, so as to improve the matching success rate [15]. Li et al. [21] used an EKF to achieve PDR/UWB fusion positioning, which can resist the influence of gross errors in UWB data to a certain extent. However, because the algorithm only takes the UWB ranging value as the observation, once the UWB data are missing, the positioning accuracy of the algorithm will be difficult to control. Corrales et al. [22] used a particle filter (PF) algorithm for UWB, IMU, and odometer fusion positioning. The experimental results showed that the algorithm can obtain high-precision positioning data in non-line-of-sight environments. However, compared with EKF, the PF algorithm has a complex process and low computational efficiency.

Robustly adaptive filters can effectively resist the influence of gross errors between a dynamic model and an observation model. The adaptive Kalman filter algorithm can resist the influence of gross errors on dynamic models, while the robust Kalman filter algorithm can resist the influence of gross errors on the observation values. Yang et al. [23,24,25,26,27] carried out a dynamic geodesy approach based on a robustly adaptive Kalman filter. This method can not only effectively balance the contribution rate of the dynamic and observation models for the optimal estimation of parameters, but can also resist the influence of gross errors on the positioning results to a certain extent. In the past few years, the Kalman filter has been widely used in various fields, such as in INS dynamic alignment [28,29,30], the INS/SAR fusion positioning model [31], real-time clock error estimation [32], precise single-point positioning [33], satellite orbit determination [34], radar navigation [35], and SLAM [36]. Li et al. [37] implemented WiFi/PDR fusion positioning based on a robustly adaptive Kalman filter. The experimental results showed that the algorithm can effectively resist the influence of gross errors by controlling the system variance and observation noise in different scenes. Liu et al. [38] loosely combined UWB and PDR based on the EKF algorithm and ensured PDR positioning accuracy through map heading constraints. The experimental results showed that the location result for the UWB/PDR fusion with map constraints was best. However, the influence of dynamic model errors was not considered in this algorithm. Guo et al. constructed a NLOS error recognition method based on the intensity distribution characteristics of the UWB signal, and they realized the combined location of PDR and UWB based on the Kalman filter [39]. Tong et al. realized the combined location of PDR and UWB based on the weighted method, but the best way to determine the weight factor for different scenes remains to be studied [40].

Aiming to mitigate PDR error accumulation and non-line-of-sight (NLOS) positioning gross errors in UWB, a PDR/UWB positioning algorithm based on an adaptively robust Kalman filter is proposed in this paper. The algorithm not only adaptively adjusts the variance of the dynamic model to resist the gross error of the dynamic model according to the positioning scene, but also adaptively adjusts the random model of the observed value by using the robust factor. At the same time, the algorithm dynamically adjusts the initial random model according to the type of observation to improve the optimal estimation accuracy of the PDR–UWB positioning model. In order to further improve the accuracy of the model, the algorithm determines the PDR heading constraint mode according to the positioning scene.

The article is divided into four sections. Section 2 introduces the UWB positioning principles, the PDR positioning principles, the adaptively robust Kalman filter algorithm, and the fusion positioning model with additional heading constraints. Section 3 uses the measured data to demonstrate and analyze the algorithm, and Section 4 analyzes and summarizes the algorithm.

2. Methods

2.1. UWB Positioning System

For indoor positioning based on the UWB system, the location of a mobile station is determined by measuring the real-time distance between the mobile station and a fixed reference station. In this paper, the basic Kalman filtering algorithm is used to solve the UWB positioning. The position and speed of the mobile station are taken as the state parameters Xk=[xkykzkvx,kvy,kvz,k]T, where xk, yk, zk, vx,k, vy,k, and vz,k represent the coordinate values and speed of the mobile station at time k; the dynamic model of the UWB positioning system is as follows:

Xk=FXk1+wk (1)

where Xk and Xk1 represent the state vectors at times k and k−1, F is the state transition matrix (Formula (2), where t represents the sampling interval), wk is the system noise vector, and its covariance matrix is Qk.

F=[100t000100t000100t000100000010000001] (2)

The TOA ranging model [1] is used for UWB ranging. The distance between the UWB base station and the mobile station is obtained by measuring the time difference between the UWB signal from the base station and the tag. The ranging model from the mobile station to the base station at time k is as follows:

dr,ki=(xrxi)2+(yryi)2+(zrzi)2=c(trti) (3)

where dr,ki is the ranging value; xr, yr, and zr are the mobile station coordinate values; xi, yi, and zi are the base station coordinates; tr is the UWB signal receiving time; ti is the signal transmitting time; c is the speed of light.

According to Equation (3), the measurement equation for the UWB positioning system is as follows:

Zk=f(Xk|k1)+Vk (4)

where Zk represents the observation vector composed of the ranging value, Xk|k1 is the system state prediction value, f(Xk|k1) is the nonlinear expression of Formula (3), and Vk is the residual vector. Taylor expansion is carried out for Formula (3) to obtain the linear coefficient matrix Hk:

Hk=[xrx1ρr1yry1ρr1zrz1ρr1000xrx2ρr2yry2ρr2zrz2ρr2000xrxiρrixrxiρrizrziρri000] (5)

where ρri is the calculated value of the distance from the mobile station r to the base station i according to the predicted value of the system state.

Figure 1 shows the indoor pedestrian positioning system based on UWB. First, the UWB base stations are evenly distributed along the corridor to construct the local coordinate system. Then, the pedestrian carries the UWB mobile station indoors and gives the pedestrian’s position in real time based on the above UWB positioning model. The indoor activity trajectory of the pedestrians is divided into two parts: position 1 for pedestrians entering the room and position 2 for pedestrians in the corridor. When the pedestrian is at position 1, due to the influence of gross errors (such as NLOS errors), the positioning results will involve serious deviation.

Figure 1.

Figure 1

Model of the UWB (Ultra Wide Band) indoor positioning system.

2.2. PDR Positioning System

The PDR location algorithm is used to track the spatial position of a pedestrian’s trajectory. Its principal aim is to obtain the heading angle by using the equipment direction sensor, to calculate the user’s step value and step speed by using the acceleration sensor, and finally to calculate the location information of the mobile terminal, which has the characteristics of short-time positioning accuracy and strong independence.

2.2.1. Gait Detection with Multi-Threshold Constraints

The accuracy of the step size estimation directly affects the positioning accuracy, and its value can be obtained simultaneously with gait recognition. Therefore, accurate gait detection is the basis of step size estimation. Multi-threshold constrained gait detection uses the numerical acceleration threshold and time threshold for gait detection [20]. Taking peak detection as an example, its principles are as follows.

Let Numpk and Numvy, respectively, represent the detected peak and valley number. If only one peak value is detected (NumpkNumvy=1), the expression for peak detection is

flag={1,δΔtpv=12δΔtp,apδΔp&ΔtpvδΔtpv&ΔtpδΔtp0,δΔtpv=12δΔtp,others (6)

When two continuous peaks are detected (NumpkNumvy=2), the peak detection expression is as follows:

flag={1,δΔtpv=12δΔtp,apδΔp&ΔtpvδΔtpv&ΔtpδΔtp&Δap>00,δΔtpv=12δΔtp,others (7)

where δΔtpv is the time difference threshold between adjacent peaks and troughs, δΔtp is the time difference threshold between adjacent peaks, δΔp is the acceleration peak threshold, Δap is the difference between adjacent peaks, Δtpv is the time difference between adjacent peaks and troughs, Δtp is the difference between adjacent peaks, ap is the acceleration measurement value to be verified, and flag is used to indicate whether the point is a peak (1: yes, 0: no).

In order to ensure the correctness and adaptability of the acceleration peak threshold, the dynamic threshold method is adopted:

δΔp={1Δttk1tka(t)dt,k=21,k=1 (8)

where tk1 and tk, respectively, represent the observation times for the beginning and end of k1 and k, and a(t) is the real-time measurement value of the accelerometer.

Figure 2 shows a set of experiments using the above algorithm to detect the gait of the PDR. The experimental results show that the pedestrian’s steps can be accurately detected by setting a multi-threshold.

Figure 2.

Figure 2

PDR (Pedestrian Dead Reckoning) gait detection.

After the pedestrian’s gait is accurately detected, the step estimation can be obtained using the following formula:

Lk=Kamaxamin4 (9)

where Lk is the step size at the k step; amax and amin are the maximum and minimum amplitude of the corresponding accelerometer, respectively; and K is a constant.

2.2.2. PDR Position Solution

In this paper, based on the pedestrian heading angle, step size, and position information of the previous moment, the current pedestrian position is obtained:

[NkEk]=[Nk1+Skcos(θk)Nk1+Sksin(θk)] (10)

where Nk and Ek represent the current position of the pedestrian; Nk1 and Ek1 represent the position of the pedestrian at the previous moment; θk represents the heading angle; and Sk represents the step length

2.3. PDR/UWB Robustly Adaptive Kalman Filter Model

2.3.1. Dynamic Model

PDR positioning technology calculates the pedestrian’s position based on the data collected by the acceleration sensor, gyroscope, and magnetometer, which has the characteristics of high positioning continuity and high positioning accuracy over a short time; however, the error accumulation is obvious. The UWB indoor pedestrian positioning has the characteristics of high positioning accuracy and no cumulative errors. However, gross errors exist in non-line-of-sight environments. Therefore, PDR/UWB fusion positioning can effectively improve the indoor pedestrian positioning accuracy. In this paper, the EKF algorithm is used for PDR/UWB fusion positioning. By taking the position error, distance error, and heading error as state parameters, the expression is as follows:

X=[dNdEdsdα]T (11)

The dynamic model expression of the PDR/UWB fusion positioning algorithm is obtained from Equation (10):

Xk=FXk1+Wk (12)

where Xk is the system state at the current time, Xk1 is the system state at the previous time, Wk is the system noise vector, and F is the system state transition coefficient matrix:

F=[10cosαksk×sinαk01sinαksk×cosαk00100001] (13)

2.3.2. Observation Model

When the UWB data are updated, the PDR/UWB fusion positioning algorithm adopts the bias of the UWB and PDR positioning results:

Z=[ΔNΔE]T=[Nu,kNp,kEu,kEp,k]T (14)

where [ΔNΔE]T is the coordinate difference, (Nu,kEu,k) is the UWB positioning result, and (Np,kEp,k) is the PDR positioning result.

However, the update frequency of PDR data is much higher than that of UWB data. Therefore, when there is no update of UWB data at the observation time of the PDR data, the following algorithm is adopted for the observation value:

Z=[ΔNΔE]T=[Np,k+1Np,kEp,k+1Ep,k]T (15)
{Np.k+=Np,k+dNEp.k+=Ep,k+dE (16)
{Nk+1=Nk+1++(sk+dsk)×cos(αk+dαk)Nk+1=Ek+1++(sk+dsk)×sin(αk+dαk) (17)

Formula (16) is used to update the current position of the pedestrian by using the position error obtained by filtering, and Formula (17) predicts the pedestrian’s position at the next moment by using the filter’s current time state parameters and observation values.

2.3.3. PDR–UWB Fusion Positioning Model Based on EKF

The state parameter update for the PDR/UWB fusion positioning algorithm is divided into a time update and a measurement update [1], in which the time update is

Xk|k1=FkXk1 (18)
Pk|k1=FkPk1FkT+Qk1 (19)

When the observation value is obtained, the measurement is updated as follows:

Vk|k1=ZkHkXk|k1 (20)
PVk=HkPk|k1HkT+Rk (21)
K=Pk|k1HkTPVk|k11 (22)
Xk=Xk|k1+KVk|k1 (23)
Pk=(IKHk)Pk|k1(IKHk)T+KRkKT (24)

where Xk and Xk, respectively, represent the optimal estimation of PDR–UWB state parameters at times k1 and k; Pk1 and Pk, respectively, represent the covariance matrix of the PDR–UWB state parameters at times k1 and k; Xk|k1 represents the predicted value of the PDR–UWB state; Qk1 is the system covariance matrix; Pk|k1 is the covariance matrix of the predicted value of the state; Rk is the covariance matrix of the observed value; Vk|k1 is the gain factor; PVk is the covariance matrix of the gain factor; and K is the gain matrix.

2.3.4. PDR/UWB Fusion Positioning Model Based on Robustly Adaptive Kalman Filter

In order to improve the robustness and adaptability of the observation model and dynamic model of the PDR/UWB fusion positioning algorithm, a robustly adaptive filtering algorithm is established according to the positioning scene.

Adaptive Kalman Filter

The dynamic model accuracy of the PDR/UWB indoor positioning algorithm differs from that of the observation value model under different location scenarios. Therefore, in order to improve the adaptive fusion location algorithm in different scenarios, we dynamically adjust the covariance matrix and observation covariance matrix according to the state of the UWB data.

When there is no UWB auxiliary positioning at the observation time, the positioning accuracy of the observation value is relatively low and the prediction model accuracy is relatively high. Therefore, it is necessary to reduce the system covariance matrix to enhance the contribution rate of the state parameter prediction value for the optimal estimation, and to increase the covariance matrix of the observation value to reduce the contribution rate of the observation value with low accuracy for the optimal estimation. Through many experiments, the system covariance matrix and the observed covariance matrix are as follows:

Q=[10000100000.30000π20] (25)
R=[100010] (26)
Robust Kalman Filter

The accuracy of the PDR/UWB positioning model depends on the positioning accuracy of the observations when the results of the UWB positioning can be obtained at any time. Therefore, in order to reduce the influence of the UWB positioning gross error on the accuracy of the fusion positioning algorithm, a robust filtering algorithm is adopted in this paper.

Under the assumption that the observed residuals obey a Gaussian normal distribution, we construct the following test quantity [41]:

λ=Vk|k1PVk|k11Vk|k1T/m (27)

where m is the number of observations and λ obeys the F distribution (F(m,)).

According to the hypothesis test, for the given significance level α, the probability that λ is greater than Fα(m,) is

P(λk>Fα(m,))<α (28)

In this paper, α=0.01 and m=2. When the observed value can obtain the UWB positioning result, the test factor λk is constructed based on Equation (27). When λk is greater than Fα(m,), the covariance matrix of the observed value is dynamically adjusted by constructing the robust factor ε:

R¯=εR (29)
ε=λkFα(m,) (30)

Figure 3 shows the basic flow for the PDR–UWB fusion positioning algorithm. In PDR positioning technology, the data measured by accelerometers, gyroscopes, and magnetometers are used to estimate the step size and heading, and then to calculate the real-time positions of travelers. At the same time, when UWB positioning data can be observed at the observation time, the EKF algorithm is used to solve the positioning algorithm. In order to further improve the positioning accuracy of the PDR algorithm and reduce the influence of cumulative errors, the robustly adaptive EKF is used to construct the PDR/UWB fusion positioning algorithm.

Figure 3.

Figure 3

PDR–UWB fusion positioning model based on robustly adaptive Kalman filter.

2.4. Fusion Positioning Model with Additional Heading Constraints

As one of the important parameters of PDR, the accuracy of heading angle estimation determines the positioning performance of PDR. In order to reduce the influence of cumulative PDR errors on heading estimation, we use an indoor map to constrain the heading based on pedestrian positioning scenes:

  • (1)

    When pedestrians are in narrow passages such as corridors and stairs, the azimuth of the narrow passages is obtained according to the indoor map, and then the measured value of the pedestrian heading is corrected to the azimuth;

  • (2)

    When a pedestrian is in a wide scene, such as an indoor room, an azimuth wheel is constructed according to the pedestrian’s current position and heading. Figure 4 shows the basic principles of the course constraint based on the azimuth wheel. First, according to the pedestrian heading, the semicircular azimuth wheel is constructed at the current position and the equal angle α of the azimuth wheel is determined according to the positioning accuracy required by PDR. Then, the final heading angle θ1 is determined according to the relationship between the initial heading θ0 and the equal angle γi of the azimuth wheel.

Figure 4.

Figure 4

PDR heading angle correction.

θ1=γi,if|θ0γi|α2 (31)

3. Experimental and Summary

The experimental scene was located on the second floor of the School of Surveying and Mapping and Urban Spatial Information of Beijing University of Civil Engineering and Architecture. First, several UWB base stations were evenly distributed in a narrow indoor corridor (the length of the corridor was 65 m, the width was 3 m, and the indoor area of the room was 6.2 m). Then, the testers carried the UWB positioning terminal and PDR equipment to perform the positioning test according to the experimental route. The specific experimental scenario is shown in Figure 5.

Figure 5.

Figure 5

Experimental scene for the PDR/UWB fusion positioning.

As shown in Figure 5, according to the different positioning environments for pedestrians, the experimental scene was divided into three parts (represented by Arabic numerals). The first part was the corridor scene, the second part was the transition scene between the corridor and the interior scene of the room, and the third part was the interior scene of the room. In the second part, because the concrete wall blocks the signal, when pedestrians are in the location scene, if the UWB base stations in the corridor and in the room are turned on at the same time, the UWB location terminal may face interference from NLOS errors.

3.1. Single-Sensor Positioning

3.1.1. UWB Positioning

In order to demonstrate and analyze the positioning accuracy of the UWB positioning terminal in different scenarios, we first used UWB equipment for indoor positioning. At the same time, in order to verify the influence of NLOS positioning errors on positioning accuracy, all base stations were turned on at the same time at position 2 to obtain the UWB positioning error under NLOS conditions.

Figure 6 shows the indoor positioning results for pure UWB, where Figure 6a shows the UWB positioning track and the real track and Figure 6b shows the deviation between the UWB positioning result and the real location. It can be seen from Figure 6 that when the location environment for the UWB positioning terminal was good, the indoor positioning results for UWB were in good agreement with the true track, and the positioning accuracy was better than 70 cm in general (Figure 6a). The second position was the influence of non-line-of-sight errors on the positioning results. From the track map and the residual map, it can be seen that when the observed values contained large gross errors, the UWB positioning results had serious positioning deviations, meaning the maximum error could reach 3 m (Figure 6a). The first position in the middle was used to simulate the missing UWB positioning results (for the positioning accuracy of the PDR–UWB fusion positioning algorithm in the case of missing UWB positioning results). It can be seen from position 3 in Figure 6a that when the UWB positioning base station was in the narrow space in the room, track mixing might appear because the distance between the base stations was too small.

Figure 6.

Figure 6

Pure UWB indoor positioning results.

3.1.2. PDR Positioning

In order to demonstrate and analyze the positioning accuracy of the PDR indoor positioning system, we first used PDR for indoor pedestrian positioning and then obtained the positioning performance for PDR according to the real trajectory.

Figure 7 shows the indoor positioning trajectory of the PDR in detail. It can be seen from the figure that, when indoor pedestrians only relied on PDR positioning equipment to obtain their own position, the positioning results seriously deviated from the real trajectory, resulting in obvious error accumulation. At the same time, through the comparative analysis of the PDR positioning trajectory and UWB positioning trajectory, the sampling rate for the PDR positioning result was significantly better than for the UWB positioning result; however, its positioning accuracy was significantly lower than that of UWB positioning.

Figure 7.

Figure 7

Pure PDR indoor positioning.

To sum up, when the indoor pedestrian uses UWB for positioning, when the quality of the positioning scene data is good, the accuracy of the positioning result is better than 50 cm. When there are gross errors in the observation data, the positioning result will experience serious deviation, meaning the maximum error could reach 3 m. At the same time, its data sampling rate is relatively low. When the pedestrian uses PDR for positioning, the data utilization rate is relatively high; however, the positioning result shows obvious error accumulation and the positioning error is large. Therefore, it can be seen from the above analysis that the positioning results for pure UWB indoor positioning and pure PDR indoor positioning have corresponding defects.

3.2. PDR/UWB Fusion Positioning

In order to demonstrate the effectiveness of the proposed algorithm, the following experiments were carried out based on the measured data:

  • (1)

    Pure UWB indoor positioning;

  • (2)

    Pure PDR indoor positioning;

  • (3)

    Indoor location of PDR/UWB based on EKF;

  • (4)

    PDR/UWB indoor positioning based on robustly adaptive EKF with heading constraint.

Figure 8 shows the positioning trajectory for each scheme and the real walking trajectory for the pedestrians. As can be seen from position 2 in Figure 8, due to the interference of non-line-of-sight error factors, the UWB observation value contained the interference of gross error factors, resulting in large deviations in the UWB positioning results. The PDR/UWB location algorithm based on conventional EKF did not reduce the weight of abnormal UWB location results, which led to large deviations in the fusion location algorithm. The PDR/UWB fusion positioning algorithm proposed in this paper effectively reduced the influence of the gross error factor on the accuracy of the fusion positioning algorithm by detecting and reducing the weight of abnormal UWB positioning results. It can be seen from position 2 that the algorithm proposed in this paper had the best resistance to gross errors.

Figure 8.

Figure 8

Indoor pedestrian positioning trajectory.

When the UWB positioning result is missing, the accuracy of the PDR/UWB positioning fusion algorithm depends on the accuracy of the PDR positioning algorithm. It can be seen from position 1 in Figure 8 that when the conventional EKF was used for fusion positioning, the positioning result showed a large deviation due to the accuracy limit of the EKF algorithm itself and the lack of heading constraint on the PDR. In order to improve the accuracy of the fusion localization algorithm, the PDR was added with heading constraints, and the EKF system variance matrix and observation variance matrix were adaptively transformed according to the localization scene. At the same time, when the distance between the UWB base stations was small, the trajectory mixing phenomenon might appear when using the UWB positioning terminal for indoor positioning. It can be seen from position 3 in Figure 8 that the PDR/UWB fusion positioning algorithm could effectively improve the indoor positioning accuracy and reduce the trajectory mixing phenomenon.

In order to further evaluate and analyze the positioning accuracy of each algorithm, the positioning trajectory of each scheme was compared with the real trajectory and the corresponding residual positioning value was obtained.

Figure 9 shows the positioning residuals of each scheme in the axial direction in detail. As can be seen from Figure 9, the positioning accuracy of the PDR/UWB fusion positioning algorithm based on a robustly adaptive EKF with heading constraints was optimal in all directions. Table 1 provides the root-mean-square error of the positioning error of each scheme in detail. It can be seen from Table 1 that the positioning accuracy of the proposed algorithm was better than 30 cm in the X direction, 50 cm in the Y direction, and 60 cm in the plane. Compared with the pure UWB positioning algorithm, the positioning accuracy of the proposed algorithm was improved by 32.7% in the plane and 49.8% compared with the PDR/UWB fusion positioning algorithm based on conventional EKF. At the same time, it can be seen from the figure that the positioning error of the PDR algorithm was obviously due to the error accumulation phenomenon. When the fusion positioning algorithm was used, it could effectively reduce the cumulative PDR error. Due to the limitation of the UWB adoption rate, there were relatively few data points in the UWB positioning results. The robustly adaptive EKF fusion positioning algorithm based on the heading constraint could fully maintain the excellent characteristics of the high PDR adoption rate while maintaining high positioning accuracy.

Figure 9.

Figure 9

Residual positioning error of each scheme.

Table 1.

RMS comparison of positioning error for different schemes.

Scheme X Y Plane
Only UWB 0.633 0.453 0.778
PDR 1.582 2.104 2.632
EKF 0.681 0.792 1.045
Adaptively Robust EKF 0.294 0.434 0.524

4. Conclusions

The UWB indoor positioning algorithm, which has a low sampling rate, is easily affected by the gross error of the observation value, and the PDR algorithm, which has a low positioning accuracy, has the defect of error accumulation. To solve these problems, we proposed a robustly adaptive EKF PDR/UWB fusion positioning algorithm based on additional heading constraints. First, the observation covariance matrix and system covariance matrix of the EKF algorithm were adaptively adjusted according to the location scene. Then, robust processing was carried out to reduce the influence of the gross error factor in the UWB positioning results on the positioning accuracy of the fusion algorithm; this method can reduce the influence of UWB observation gross errors (such as non-line-of-sight errors) on the positioning results, and it has better timeliness compared with the machine learning algorithm to identify gross errors. At the same time, in order to further improve the positioning accuracy of the algorithm, a heading constraint method based on an indoor map to constrain the heading factor of the PDR algorithm was proposed. The main advantages of this algorithm are as follows: (1) The PDR/UWB fusion localization is realized based on the improved EKF algorithm. The algorithm can automatically adjust the corresponding covariance matrix according to the UWB positioning results, which is better than the conventional EKF localization performance. (2) The existing robust theory is applied to the fusion localization algorithm. It can effectively eliminate the influence of UWB positioning errors on the fusion positioning results. (3) An improved heading constraint algorithm is proposed, which makes the algorithm better than the conventional PDR algorithm when the UWB positioning results are missing.

In order to demonstrate the effectiveness and positioning accuracy of the algorithm, experiments were carried out with the measured data. The experimental results showed that the plane positioning accuracy of our method was 0.524 m, which was 32.7% higher than that of the pure UWB positioning algorithm and 49.8% higher than that of the PDR/UWB fusion positioning algorithm based on a conventional EKF. The experimental results showed that our algorithm could effectively reduce the influence of the gross error factor on the UWB positioning results and on the accuracy of the fusion positioning algorithm and could improve the usability and accuracy of the fusion positioning algorithm in complex indoor environments. At the same time, our algorithm inherited the characteristics of high positioning accuracy from the UWB positioning algorithm and a high sampling rate from the PDR. It should be noted that the fusion localization algorithm used in this paper was an improved loose combination localization algorithm, so the authors will study the tight combination localization algorithm in the future in order to further improve the usability of the PDR/UWB localization algorithm.

Author Contributions

All authors contributed to the study conception and design. Conceptualization, D.Y. and J.Z.; Methodology, D.Y. and J.Z.; Software, J.Z., F.L. and J.W.; Validation, J.Z.; Formal Analysis, J.Z. and Y.Z.; Investigation, D.Y.; Resources, D.Y. and F.L.; Data Curation, D.Y.; Writing—Original Draft Preparation, D.Y. and J.Z.; Writing—Review and Editing, J.W. and X.C.; Visualization, D.Y.; Supervision, X.C. and J.W.; project administration, D.Y.; funding acquisition, D.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Hebei Natural Science Foundation Ecological Smart Mine Joint Fund (No. E2020402086).

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.

Footnotes

Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Li Z., Liu C., Gao J., Li X. An Improved WiFi/PDR Integrated System Using an Adaptive and Robust Filter for Indoor Localization. ISPRS Int. J. Geo-Inf. 2016;5:224. doi: 10.3390/ijgi5120224. [DOI] [Google Scholar]
  • 2.Jang B.G., Choi T.Y., Lee J.J. Adaptive occupancy grid mapping with clusters. Artif. Life Robot. 2006;10:162–165. doi: 10.1007/s10015-005-0358-4. [DOI] [Google Scholar]
  • 3.Guerra A., Guidi F., Dall’Ara J., Dardari D. Occupancy Grid Mapping for Personal Radar Applications; Proceedings of the IEEE Statistical Signal Processing Workshop (SSP); Freiburg im Breisgau, Germany. 10–13 June 2018; pp. 766–770. [Google Scholar]
  • 4.Yang L., Giannakis G.B. Ultra-wideband communications: An idea whose time has come. IEEE Signal Process. Mag. 2004;21:26–54. doi: 10.1109/MSP.2004.1359140. [DOI] [Google Scholar]
  • 5.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. doi: 10.1109/JPROC.2008.2008846. [DOI] [Google Scholar]
  • 6.Gezici S. A Survey on Wireless Position Estimation. Wirel. Pers. Commun. 2008;44:263–282. doi: 10.1007/s11277-007-9375-z. [DOI] [Google Scholar]
  • 7.Guvenc I., Chong C., Watanabe F. NLOS Identification and Mitigation for UWB Localization Systems; Proceedings of the 2007 IEEE Wireless Communications and Networking Conference; Hong Kong, China. 11–15 March 2007; pp. 1571–1576. [Google Scholar]
  • 8.Xiao Z., Wen H., Markham A., Trigoni N., Blunsom P., Frolik J. Non-Line-of-Sight Identification and Mitigation Using Received Signal Strength. IEEE Trans. Wirel. Commun. 2015;14:1689–1702. doi: 10.1109/TWC.2014.2372341. [DOI] [Google Scholar]
  • 9.Yang X. NLOS Mitigation for UWB Localization Based on Sparse Pseudo-Input Gaussian Process. IEEE Sens. J. 2018;18:4311–4316. doi: 10.1109/JSEN.2018.2818158. [DOI] [Google Scholar]
  • 10.Ridolfi M., Fontaine J., Herbruggen B.V., Joseph W., Hoebeke J., Depoorter E. UWB anchor nodes self-calibration in NLOS conditions: A machine learning and adaptive PHY error correction approach. Wirel. Netw. 2001;27:3007–3023. doi: 10.1007/s11276-021-02631-0. [DOI] [Google Scholar]
  • 11.Liu M., Lou X., Jin X., Jiang R., Ye K., Wang S. NLOS Identification for Localization Based on the Application of UWB. Wirel. Pers. Commun. 2021 doi: 10.1007/s11277-021-08425-z. [DOI] [Google Scholar]
  • 12.Cui Z., Gao Y., Hu J., Tian S., Cheng J. LOS/NLOS Identification for Indoor UWB Positioning Based on Morlet Wavelet Transform and Convolutional Neural Networks. IEEE Commun. Lett. 2020;25:879–882. doi: 10.1109/LCOMM.2020.3039251. [DOI] [Google Scholar]
  • 13.Li J.-F., Wang Q.-H., Liu X.-M., Zhang M.-Y. An autonomous waist-mounted pedestrian dead reckoning system by coupling low-cost MEMS inertial sensors and GPS receiver for 3D urban navigation. J. Eng. Sci. Technol. Rev. 2014;7:9–14. doi: 10.25103/jestr.071.02. [DOI] [Google Scholar]
  • 14.Cho S.Y., Park C.G. MEMS Based Pedestrian Navigation System. J. Navig. 2006;59:135–153. doi: 10.1017/S0373463305003486. [DOI] [Google Scholar]
  • 15.Klingbeil L., Wark T. A Wireless Sensor Network for Real-Time Indoor Localisation and Motion Monitoring; Proceedings of the 2008 International Conference on Information Processing in Sensor Networks (ipsn 2008); St. Louis, MO, USA. 22–24 April 2008; pp. 39–50. [Google Scholar]
  • 16.Zuo J., Liu S., Xia H., Qiao Y. Multi-phase fingerprint map based on interpolation for indoor localization using iBeacons. IEEE Sens. J. 2018;18:3351–3359. doi: 10.1109/JSEN.2018.2789431. [DOI] [Google Scholar]
  • 17.Tian Q., Wang K.I.-K., Salcic Z. A low-cost INS and UWB fusion pedestrian tracking system. IEEE Sens. J. 2019;19:3733–3740. doi: 10.1109/JSEN.2019.2894714. [DOI] [Google Scholar]
  • 18.Shi L.-F., Wang Y., Liu G.-X., Chen S., Zhao Y.-L., Shi Y.-F. A fusion algorithm of indoor positioning based on PDR and RSS fingerprint. IEEE Sens. J. 2018;18:9691–9698. doi: 10.1109/JSEN.2018.2873052. [DOI] [Google Scholar]
  • 19.Chen P., Kuang Y., Chen X. A UWB/Improved PDR Integration Algorithm Applied to Dynamic Indoor Positioning for Pedestrians. Sensors. 2017;17:2065. doi: 10.3390/s17092065. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Wang J., Hu A., Liu C., Li X.J.S. A floor-map-aided WiFi/pseudo-odometry integration algorithm for an indoor positioning system. Sensors. 2015;15:7096–7124. doi: 10.3390/s150407096. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Li Y., Zhuang Y., Lan H., Zhang P., Niu X., El-Sheimy N. WiFi-aided magnetic matching for indoor navigation with consumer portable devices. Micromachines. 2015;6:747–764. doi: 10.3390/mi6060747. [DOI] [Google Scholar]
  • 22.González J., Blanco J.L.J.R., Systems A. Mobile robot localization based on Ultra-Wide-Band ranging: A particle filter approach. Robot. Auton. Syst. 2009;57:496–507. doi: 10.1016/j.robot.2008.10.022. [DOI] [Google Scholar]
  • 23.Yang Y., He H., Xu G. Adaptively robust filtering for kinematic geodetic positioning. J. Geod. 2001;75:109–116. doi: 10.1007/s001900000157. [DOI] [Google Scholar]
  • 24.Yang Y., Song L., Xu T. Robust estimator for correlated observations based on bifactor equivalent weights. J. Geod. 2002;76:353–358. doi: 10.1007/s00190-002-0256-7. [DOI] [Google Scholar]
  • 25.Yang Y., Cui X. Adaptively robust filter with multi adaptive factors. Surv. Rev. 2008;40:260–270. doi: 10.1179/003962608X325330. [DOI] [Google Scholar]
  • 26.Yang Y., Gao W. Integrated Navigation by Using Variance Component Estimates of Multi-sensor Measurements and Adaptive Weights of Dynamic Model Information. Acta Geod. Cartogr. Sin. 2004;33:22–26. [Google Scholar]
  • 27.Yang Y., Haibo H.E., Tianhe X.U. Adaptive Robust Filtering for Kinematic CPS Positioning. Acta Geod. Cartogr. Sin. 2001;30:293–298. [Google Scholar]
  • 28.Ali J., Ushaq M. A consistent and robust Kalman filter design for in-motion alignment of inertial navigation system. Measurement. 2009;42:577–582. doi: 10.1016/j.measurement.2008.10.002. [DOI] [Google Scholar]
  • 29.Pasku V., Angelis A.D., Dionigi M., Moschitta A., Angelis G.D., Carbone P.J. Analysis of Non-Ideal Effects and Performance in Magnetic Positioning Systems. IEEE Trans. Instrum. Meas. 2016;65:2816–2827. doi: 10.1109/TIM.2016.2608425. [DOI] [Google Scholar]
  • 30.Li Z., Wang J., Gao J. An enhanced GPS/INS integrated navigation system with GPS observation expansion. J. Navig. 2016;69:1041–1060. doi: 10.1017/S0373463315001083. [DOI] [Google Scholar]
  • 31.Gao S., Zhong Y., Li W. Robust adaptive filtering method for SINS/SAR integrated navigation system. Aerosp. Sci. Technol. 2011;15:425–430. doi: 10.1016/j.ast.2010.08.007. [DOI] [Google Scholar]
  • 32.Huang G., Zhang Q. Real-time estimation of satellite clock offset using adaptively robust Kalman filter with classified adaptive factors. GPS Solut. 2012;16:531–539. doi: 10.1007/s10291-012-0254-z. [DOI] [Google Scholar]
  • 33.Guo F., Zhang X. Adaptive robust Kalman filtering for precise point positioning. Meas. Sci. Technol. 2014;25:1–8. doi: 10.1088/0957-0233/25/10/105011. [DOI] [Google Scholar]
  • 34.Soken H.E., Hajiyev C., Sakai S.I. Robust Kalman filtering for small satellite attitude estimation in the presence of measurement faults. Eur. J. Control. 2014;20:64–72. doi: 10.1016/j.ejcon.2013.12.002. [DOI] [Google Scholar]
  • 35.Jose E., Adams M., Mullane J.S., Patrikalakis N.M. Predicting Millimeter Wave Radar Spectra for Autonomous Navigation. IEEE Sens. J. 2010;10:960–971. doi: 10.1109/JSEN.2009.2037013. [DOI] [Google Scholar]
  • 36.Jose E., Adams M.D. An augmented state SLAM formulation for multiple line-of-sight features with millimetre wave RADAR; Proceedings of the 2005 IEEE/RSJ International Conference on Intelligent Robots and Systems; Edmonton, AB, Canada. 2–6 August 2005. [Google Scholar]
  • 37.Li Z., Zhao L., Qin C., Wang Y. WiFi/PDR integrated navigation with robustly constrained Kalman filter. Meas. Sci. Technol. 2020;31:084002. doi: 10.1088/1361-6501/ab87ea. [DOI] [Google Scholar]
  • 38.Liu F., Wang J., Zhang J., Han H. An Indoor Localization Method for Pedestrians Base on Combined UWB/PDR/Floor Map. Sensors. 2019;19:2578. doi: 10.3390/s19112578. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Guo S., Zhang Y., Gui X., Han L. An Improved PDR/UWB Integrated System for Indoor Navigation Applications. IEEE Sens. J. 2020;20:8046–8061. doi: 10.1109/JSEN.2020.2981635. [DOI] [Google Scholar]
  • 40.Tong H., Xin N., Su X., Chen T., Wu J. A Robust PDR/UWB Integrated Indoor Localization Approach for Pedestrians in Harsh Environments. Sensors. 2020;20:193. doi: 10.3390/s20010193. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Chang G. Kalman filter with both adaptivity and robustness. J. Process Control. 2014;24:81–87. doi: 10.1016/j.jprocont.2013.12.017. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Not applicable.


Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES