Next Article in Journal
A Validation of Six Wearable Devices for Estimating Sleep, Heart Rate and Heart Rate Variability in Healthy Adults
Next Article in Special Issue
Tutorial on High-Definition Map Generation for Automated Driving in Urban Environments
Previous Article in Journal
Improving Measurement Range of a Swellable Polymer-Clad Plastic Fiber Optic Humidity Sensor by Dye Addition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Localization in Structured Environments with UWB Devices without Acceleration Measurements, and Velocity Estimation Using a Kalman–Bucy Filter

by
Francesco Alonge
1,
Pasquale Cusumano
1,
Filippo D’Ippolito
1,
Giovanni Garraffa
2,*,
Patrizia Livreri
1 and
Antonino Sferlazza
1
1
Department of Engineering, University of Palermo, Viale delle Scienze Ed. 10, 90128 Palermo, Italy
2
Faculty of Engineering and Architecture, University of Enna KORE, 94100 Enna, Italy
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(16), 6308; https://doi.org/10.3390/s22166308
Submission received: 24 July 2022 / Revised: 10 August 2022 / Accepted: 16 August 2022 / Published: 22 August 2022

Abstract

:
In this work, a novel scheme for velocity and position estimation in a UWB range-based localization system is proposed. The suggested estimation strategy allows to overcome two main problems typically encountered in the localization systems. The first one is that it can be suitable for use in environments where the GPS signal is not present or where it might fail. The second one is that no accelerometer measurements are needed for the localization task. Moreover, to deal with the velocity estimation problem, a suitable Kalman–Bucy filter is designed and it is compared, experimentally, with a particle filter by showing the features of the two algorithms in order to be used in a localization context. Additionally, further experimental tests are carried out on a suitable developed test setup in order to confirm the goodness of the proposed approach.

1. Introduction

Real-time localization of mobile objects and people has gained increasing interest and popularity because of the growing demand of location-based services such as in smart industries, warehouse management, healthcare industry, transportation and logistics, defense, mobile robot guidance, and autonomous drive and flight. For these reasons, the localization estimation problem is a challenge in the academic communities and industrial sectors, especially for those involved in autonomous flight applications design [1,2,3] where the controller, in order to implement real-time state-feedback control laws, has to know the position, linear and angular speed of the object, and its attitude. Since the position and velocity vectors, estimated by means of integrations of the accelerations measured by IMU, suffer uncertainties and disturbances introduced by the sensor itself, the aim of this paper is the estimation of the position of a moving point P and that of the velocity without acceleration measurements. In outdoor environments, where geostationary satellites are in LOS (line-of-sight) condition, the GPS signal is used to obtain information about position and velocity of a mobile object (see, for example, [4,5,6,7,8,9]), together with a data fusion system [10] which is able to handle the different nature and frequency of IMU measures and GPS signals. In other contexts, where the GPS signal becomes unreliable, for example, in indoor environments [11,12] or outdoor scenarios such as forests or urban canyons [13], it is necessary to use alternative sensor devices and methods to face the localization problem [14,15,16,17]. A common way to approach this kind of problem is to perform the navigation task in a structured environment where it is possible to take information about the distance between the moving object and some fixed reference points. This can be achieved, for example, by installing some UWB radio transceivers both on the mobile device and in correspondence of the fixed reference points, which are called anchors. The localization method is based on the measurement of the distances between the onboard module and the anchors, and makes use of a suitable algorithm to extract the position of the center of gravity of the moving object [18,19,20]. Starting from n 3 distance measurements and applying a trilateration algorithm [21,22,23,24], it is possible to obtain an estimation of the position vector. With regards to the implementation of the trilateration algorithm, in order to calculate the best approximation of the mobile object position, some recursive procedures have been explored and proposed in the literature, generally based on linear and nonlinear least-square technique [25,26], or the use of Cayley–Menger determinant [27,28]. Other approaches based on Kalman filtering have also been investigated. For example, in [29], a Kalman filter based on data fusion algorithm was designed to improve the localization performance in an indoor scenario. In [30], a multi-sensor fusion algorithm for underwater vehicle localization was presented, making use of neural network and obtaining better navigation and localization results with respect to the classic implementation based on the error-state Kalman filter. In [31], a deep learning framework with multiple long short-term memory modules combined with an extended Kalman filter was proposed to predict the increment of the vehicle position in a localization task during GPS outages.
This paper represents an extension of the work presented in [32], where a localization scheme derived from the parallel robot context and based on the estimation of the direct kinematics is illustrated. In particular, assuming the gravity center of the mobile object as the end effector of a parallel robot and its distances from n anchors as the prismatic links, the estimation of the position vector is obtained by means of inversion of the known inverse kinematics. The distances from the anchors are measured at low frequency using the UWB radio transceivers DWM1000 integrated circuit (IC) from Decawave manufacturer [33]. The estimator consists of a closed-loop control scheme based on a PI action driven by the error between the measured distance vector and the estimated one, and affected by the distance vector derivative acting as a disturbance. Since this disturbance is calculated by means of IMU integration and a projection through the online-computed inverse kinematics, it is affected by errors due to drift caused by IMU biases. In order to cope with this effect, high values of the estimator gains have to be employed, as suggested in [34].
Since this solution appears to be unsatisfactory, in this paper, the estimator presented in [32] is modified, replacing the derivative of the distance vector with an estimation of this derivative carried out by means of an exact first-order Levant’s differentiator [35]. In this work, it is shown that it is possible to eliminate the accelerometer and all problems connected to it, such as systematic errors given by imprecise scaling factors, axes misalignments, non-uniform cross-axis sensitivities, non-zero biases, and temperature dependence. Moreover, from the theoretical point of view, it is possible to ensure the convergence to zero of the position estimation error in the case with three anchors, while if more than three anchors are employed, the convergence can be proved only locally. Finally, with the aim of also estimating the velocity of the mobile object, a Kalman–Bucy filter, driven by the estimated position, is introduced. It is important to highlight that the Kalman–Bucy filter input variables are computed by the proposed localization algorithm and, consequently, that they do not present drift problems caused by the double integration of the accelerometer measurement.
Experimental results show the effectiveness of the proposed localization scheme. In particular, it is shown that it is possible to approximate the first derivatives of the distances by using a suitable developed differentiator. This leads to a slightly noisier estimate, but allows to eliminate the accelerometer. Moreover, the Kalman–Bucy filter is compared with the particle filter, and it is shown that the best results are obtained using the differentiator and the Kalman–Bucy filter for velocity estimation, both in term of amplitude and variance of the estimation error.
The structure of the paper is as follows. In Section 2, the localization scheme for the position estimation without accelerometer measurements is illustrated by differentiating the case with three anchors (Section 2.3) and with more than three anchors (Section 2.4). The experimental results for this scheme are given in Section 2.5. In Section 3, we discuss three different schemes to estimate the velocity, also showing the experimental results and giving a comparison among them in Section 3.3. Finally, conclusions are given in Section 4. Additionally, the experimental setup implemented to prove the effectiveness of the proposed architectures is described in Appendix A.

2. Localization without Accelerometers

A trilateration algorithm, in both indoor and outdoor environments, allows to extract the information about the coordinates of a point P in a chosen reference frame by measuring the distances of P from some fixed devices whose coordinates A i , i = 1 , , n are a priori known. Since the aim of this paper is to propose a method for the localization of a point of a mobile moving object in indoor environments, where the GPS signals do not arrive, the electronic devices chosen to perform range-based measurements are ultra-wideband radio transceivers (see Section 1). The proposed method is based on the kinematics inversion algorithm highlighted in the parallel robotics field. In this context, differently from the one for serial robots, the structure of the inverse kinematics in a closed form is known, so it is necessary to determine the direct kinematics. Due to the nonlinear nature of the problem, this computation does not exist in a closed form. As already stated, the principal objective is that of performing the localization algorithm without any knowledge of accelerometer signals.
The inverse kinematics structure describing the relationship between the range measures q i and the coordinates p is given by the following equation:
q = K 1 ( p )
where the generic component of K 1 ( p ) , q i , is given by:
q i = ( x i p x ) 2 + ( y i p y ) 2 + ( z i p z ) 2 i S ,
where x i , y i , and z i denote, respectively, the components of the position of the ith anchor A i referred to the reference frame; p x , p y , and p z denote the coordinates of the mobile point P; q i are the distance between P and the ith anchor; and S = { 1 , 2 , n } denotes the discrete set of integer numbers representing the anchors. In the case under study, n 3 . In (1), the components of q and p represent, respectively, the prismatic link lengths and the coordinates of the reference point P of the parallel robot end-effector. If these coordinates ( p x , p y , and p z ) are known, it is possible to obtain q by means of (2). However, the aim of this paper is to estimate the components of P by measuring the distances between P itself and the A i , i = 1 , , n anchors, and then the relationship to be used is the following one:
p = K ( q )
where K is not known and has to be determined.
In [22], it is shown that by using three anchors located on the ground plane, it is possible to obtain a closed-form solution of the direct kinematics problem with an uncertainty on the sign of the component along the z-axis. This uncertainty can be eliminated if the motion of the mobile object is restricted to one side of the plane on which the three anchors lie.

2.1. Determination of the Direct Kinematics for n 3 Anchors

When more than three anchors are used, Equation (1) consists of n equations and three unknown quantities that are the coordinates of P. In this case, the problem is solved by means of the left pseudo-inverse algorithm. More precisely, deriving with respect to the time Equation (1), the following can be obtained:
q ˙ = J K 1 ( p ) p ˙ ,
where J K 1 ( p ) R n × 3 is the Jacobian matrix of the vectorial function K 1 ( p ) , given by:
J K 1 ( p ) = K 1 ( p ) p .
In order to obtain p ˙ from (4), for n = 3 it is sufficient to apply the relationship p ˙ = J K 1 1 ( p ) q ˙ because the Jacobian matrix is invertible, whereas for n > 3 , it is common practice to minimize the 2-norm of the difference of the first and the second term of (4). This leads to an optimal solution p ˙ o p t , given by:
p ˙ o p t = min p ˙ J K 1 ( p ) p ˙ q ˙ 2 2 = J K 1 # ( p o p t ) q ˙ ,
where J K 1 # ( p ) is the left pseudo-inverse matrix of J K 1 ( p ) , given by:
J K 1 # ( p ) = ( J K 1 T ( p ) J K 1 ( p ) ) 1 J K 1 T ( p ) ,
which exists because the Jacobian matrix J K 1 ( p ) is full-rank column.

2.2. A New Closed-Loop Localization Algorithm

Equation (6) suggests to determine the position vector by means of the following iterative algorithm:
p ^ ˙ = J K 1 # ( p ^ ) q ^ ˙ + K P e + K I 0 t e ( τ ) d τ .
where e = ( q q ^ ) . The corresponding closed-loop block scheme of the localization method is given in Figure 1.
This algorithm differs from that shown in [32] for the presence of the derivative of the computed feedback distance vector, q ^ ˙ , instead of the derivative of the true distances, q ˙ . While the computed feedback distance vector is a continuous function, and consequently numerically derivable, the measured distance vector is a vector whose elements are piecewise constant functions, and consequently cannot be numerically derivable. For this reason, the computation of q ˙ requires the use of accelerometers, as discussed in [32]. In order to compute a numeric derivative of q ^ it is possible to use the robust first-order Levant’s differentiator [35], given by:
q ^ ˙ i = u i λ | ( x i q i ) | sgn ( x i q i ) ,
u ˙ i = α sgn ( x i q i ) , i = 1 , , n ,
where sgn denotes the signum function.

2.3. Using Three Anchors

When the localization is performed using three anchors, it is easy to prove the following theorem.
Theorem 1.
Given a mobile object, let the point P be the center of gravity. Assume that three anchors are employed for the localization of the mobile object, i.e., q R 3 . Then (8) is an estimator of the coordinates of the point P, where J K 1 # ( p ^ ) = J K 1 1 ( p ^ ) e R 3 and K P , K I R 3 × 3 , with K P = k P I 3 and K I = k I I 3 , provided that k I k P > 0 .
Proof. Since q ^ ˙ = J K 1 ( p ^ ˙ ) (cf. (4)), (8) becomes:
J K 1 1 ( p ^ ) K P e + K I 0 t e ( τ ) d τ = 0 .
since J K 1 1 ( p ^ ) is a square full-rank matrix, (11) implies that:
k P e + k I 0 t e ( τ ) d τ = 0 .
It follows that e ( t ) converges asymptotically to zero when t diverges to infinity, provided that k I k P > 0 . This implies that q ^ converges to q and, consequently, p ^ = K ( q ^ ) converges to p = K ( q ) .

2.4. Using n > 3 Anchors

When n > 3 anchors are employed for the localization task, the left pseudo-inverse J K 1 # ( p ^ ) is a 3 × n matrix having rank three. In this case (8) does not imply the convergence of e ( t ) to zero; in fact, since the n columns of J K 1 # ( p ^ ) are linearly dependent, Equation (8) can be also satisfied for e i , i = 1 , , n different from zero. However, since the elements of the the Jacobian matrix J K 1 ( p ^ ) are bounded, the elements of J K 1 # ( p ^ ) are bounded as well, and, consequently, e 2 is bounded. This implies that K 1 ( p ^ ) K 1 ( p ) 2 is bounded and, since K 1 ( p ) is a continuous function in R 3 , p ^ p 2 is bounded.

2.5. Experimental Results Using Four Anchors

For the localization experimental tests, the setup described in the Appendix A was used. In this case, where only position estimation was addressed (no speed estimation), the results were compared with the previous results obtained with the algorithm proposed in [32]. In order to highlight the differences between the two estimators, the tests were named as shown in Table 1.
In particular, the reference motion of the point P, corresponding to the onboard mobile anchor, is that depicted in Figure 2. This motion occurs in a scenario in which four fixed anchors are placed in positions A 1 = ( 4.58 , 4.58 , 1.60 ) , A 2 = ( 4.58 , 0 , 2.20 ) , A 3 = ( 0 , 0 , 1 ) , and A 4 = ( 0 , 4.58 , 2.80 ) , referred to a conventional Cartesian reference frame. The distances q i , i = 1 , , 4 are measured at a frequency rate of 12 Hz from the onboard mobile anchor and these four fixed anchors A i , i = 1 , , 4 .
These measured distances represent the components of the distances vector q applied as input to the closed loop localization scheme of Figure 1. In this localization scheme, the measured distances q are staircase waveforms, whereas the feedback distances q ^ are continuous, and then differentiable waveforms, which track, on average, the input distance vector components.
The parameters of the localization scheme are k P = 10 and k I = 25 . The components of the closed-loop localization scheme output vector, i.e., the coordinates of the point P, are given in Figure 3 together with the components of the reference trajectory of P during the motion. In the same figure, the corresponding tracking errors for both Test 1 and Test 2 are given together with a zoom relative to the initial transient. For both Test 1 and Test 2, the measured distances are reported in Figure 4 in black color. Examination of these figures shows that the new closed loop localization scheme is able to estimate the components of the point P with an error that, after a transient, presents a maximum value of 15 cm. The estimated position error for the new algorithm Test 2, obtained without the use of acceleration measurement, appears to be a little bit noisier than the one obtained with the previous localization algorithm Test 1. The estimated distances q ^ for both tests are given in Figure 4. Note that, from Figure 4, it is evident that the two algorithms produce almost the same output and for this reason there is an overlap between the two waveforms (Test 1 and Test 2).
In Table 2, the mean value and the variance of the norm of the position estimation error for both Test 1 and Test 2 are reported. Data in Table 1 highlight that mean and variance of the errors relative to Test 2 are greater than those in Test 1. This confirms that using the differentiator instead of the acceleration measurements leads to a small loss of performance which, in turn, is insignificant with respect to the advantage connected to the elimination of the accelerometer itself.
Remark 1.
Note that when the accelerometer is removed from the observer scheme, the algorithm workload is a little bit higher because of the additional computational power needed to implement the differentiator. However, the removal of the accelerometer gives some advantages. In fact, even if accelerometers are very common and not expensive, they are generally affected by systematic errors given by imprecise scaling factors, axes misalignments, non-uniform cross-axis sensitivities, non-zero biases, and temperature dependence that decrease accuracy in the measurements. For these reasons, a system that makes use of accelerometers needs to be initialized with a calibration procedure before use.

3. Velocity Estimation

In order to obtain information about the velocity of P, a Kalman–Bucy filter is designed with the aim of obtaining the state estimation of the model, i.e., the position and velocity of P.
The strap-down model is given by:
p ˙ = v ,
v ˙ = a ,
y = p
where a is the acceleration vector, p and v are the position and velocity vectors, and y is the output vector. The state space model corresponding to (13)–(15) is given by:
x ˙ = A x + B a ,
y = C x .
where x = [ p T v T ] T is the state vector, and the matrices appearing in (16)–(17) are given by:
A = 0 3 I 3 0 3 0 3 , B = 0 3 I 3 , C = I 3 0 3 ,
where 0 3 and I 3 are the null and identity 3 × 3 matrices. It easy to verify that model (16)–(17) is observable and, consequently, it is possible to employ an observer to obtain the state variables. Due to the linearity of the model (16)–(17) and taking into account that the acceleration, measured by the accelerometers, is affected by a large amount of noise, it is convenient to design a continuous-time Kalman–Bucy filter (KBF) estimator. Moreover, a particle filter is considered for comparison reasons.
With regard to the velocity estimation, three different implementation schemes were considered, as reported in Table 3. In all the three schemes, it is assumed that the position estimation is that given by the localization scheme of Figure 1. In particular, in Figure 5, a Kalman–Bucy filter is added to the localization scheme of Figure 1 with the aim of obtaining the velocity estimation. In Figure 6, the estimated velocity is used for estimating q ^ ˙ without the use of the differentiator. In Figure 7, a particle filter is used instead of the Kalman–Bucy filter together with the differentiator.

3.1. Kalman–Bucy Filter

In order to design the KBF corresponding to the acceleration model, it is necessary to associate with the deterministic model (16)–(17) a stochastic model which takes into account the noise generated by the accelerometer w a together with the true acceleration a ¯ and the measurement noise w p at the output of the localization scheme p ^ . Then, the stochastic model of the accelerometer is given by:
x ˙ = A x + B a ¯ + B w a ,
y = C x + w p ,
where w a and w p are uncorrelated Gaussian white noises, a ¯ is the true acceleration, and y is the output, having, respectively, covariance matrices Q and R . The optimal KBF estimator is therefore given by:
x ^ ˙ = A x ^ + B a ¯ + K F ( t ) [ y C x ^ ] ,
where K F ( t ) = P ( t ) C T R 1 and P ( t ) is the covariance matrix of the estimation error given by P ( t ) = E { [ x ( t ) x ^ ( t ) ] [ x ( t ) x ^ ( t ) ] T } , which is the solution of the following Riccati equation:
P ˙ ( t ) = A P ( t ) + P ( t ) A T + B Q B T K F ( t ) R K F T ( t ) ,
corresponding to P ( 0 ) = E { [ x ( 0 ) x ^ ( 0 ) ] [ x ( 0 ) x ^ ( 0 ) ] T } .
To better clarify how the Kalman–Bucy filter is implemented for the velocity estimation, in Figure 8, the corresponding block diagram is reported.
In this way, the localization is performed without using the accelerometers, whereas the velocity estimation requires to employ the signals generated by the accelerometers and a Kalman–Bucy filter. Now, it is interesting to evaluate the use of the estimated velocity for determining the feedback variable q ^ ˙ , with the aim of eliminating the differentiator.
Observing (4), it is possible to obtain an estimation of q ^ ˙ starting from the estimation of v ^ given by the Kalman–Bucy filter. Obviously, this approach should imply the use of the accelerometer signals also for the localization of the point P. It is assumed to again use the position estimated by means of the localization system for obtaining the feedback distance vector q ^ .

3.2. Particle Filter as Alternative to the Kalman–Bucy Filter

In this subsection, the opportunity of using a particle filter instead of a Kalman–Bucy filter is evaluated for velocity estimation of the point P. The particle filter is tuned according to the discrete-time model associated with the strap-down model given by (13) and (14). This model is obtained by integrating Equation (14) and, successively, Equation (13) from t 0 to t, starting from the initial conditions p ( t 0 ) and v ( t 0 ) , and assuming p ( t ) = p ( k T s ) , v ( t ) = v ( k T s ) and a k = a ( k T s ) for t [ k T s , ( k + 1 ) T s ) . Then, the discrete-time model is obtained, placing t 0 = k T s and t = ( k + 1 ) T s where k = 1 , 2 , . The model in question is represented as follows [24]:
x k + 1 = A d x k + B d a ¯ k + B d w a , k ,
y k = C x k + w p , k ,
where a k = a ¯ k + w a , k , with a ¯ k the true acceleration and w a , k the superimposed accelerometer noise, and
A d = I 3 T s I 3 0 3 I 3 ; B d = 0.5 T s 2 I 3 T s I 3
Placing ϵ = B d w a , k , the covariance matrix Q ϵ = E { ϵ ϵ T } is given by:
Q ϵ = 1 4 T s 4 1 2 T s 3 1 2 T s 3 T s 2 Σ 3 ,
where Σ 3 = d i a g ( σ x 2 , σ y 2 , σ z 2 ) and σ x , σ y , and σ z are standard deviations of the accelerometer noise along the axes (x, y, and z).
The particle filter considered here is shown in [36] (the one available in the MATLAB environment). It requires the deterministic discrete-time plant model (22)–(23) without noises w a , k and w p , k , and with a k instead of a ¯ k , and the construction of two functions, the state transition and the likelihood function.
The state transition function computes a 6 × N p matrix where N p is the particles number, and the jth column is the state value corresponding to the jth particle. The likelihood function computes the likelihood of each particle, starting from the output error given by the difference of the measured output and the output computed with the state associated to the particle itself. The output is then computed starting from the state of the particle having the maximum likelihood.

3.3. Experimental Results for the Velocity Estimation Schemes

To properly design the KBF it is necessary to obtain the covariance matrices Q and R . To determine Q , the following procedure is performed. The three components of the acceleration vector, referred to in the conventional frame of Figure 2 and acquired during the experiment described in the previous section, are passed offline through three anticausal filters in order to split each acceleration component into the true acceleration and the noise signal superimposed to them. The anticausal filters are based on a continuous-time third-order Butterworth filter, having different bandwidths so that the mean value of the three noise signals is almost the same and is as low as possible. Then, the three matrix elements of Q , chosen diagonal, are computed as the covariances of the above noise signals. The covariance matrix, computed assuming the three elements of Q equal to the maximum value of the covariance along the three axes, is given by Q = d i a g ( 0.2244 , 0.2244 , 0.2244 ) . The covariance matrix R is chosen equal to I 3 .
To design the particle filter, the distribution function is assumed Gaussian with a null mean and covariance 0.0001 0.0001 0.0001 0.2244 0.2244 0.2244 T , and the particle number is assumed to be N p = 10000 . The first three components of the covariance vector represent the covariances of the position component of P, whereas the remaining three components represent the covariances of the three acceleration components. The sample time is that corresponding to the frequency of 100 Hz, as in the previous experimental results.
In Figure 9, the estimated position, relative to Test 3, 4 and 5, is reported while the experimental results relative to the velocity estimation are given in Figure 10. Examination of this figure shows that the KBF is able to give an acceptable estimation of the velocity of point P in both cases of presence of the differentiator (cf. Figure 5), and direct feedback of the estimated velocity (cf. Figure 6). Instead, the particle filter is not able to estimate the velocity of P or considerably increase the number of particles. Examination of this figure shows that the effects of the velocity feedback on the localization are those of introducing noise in the estimated position of P together with a variation of the mean value of the estimation error and its variance, as is confirmed by Table 4. On the other end, even if the particle filter is able to reproduce the position with an acceptable mean error (greater than the one obtained using the KBF), the variance is four times higher.
Finally, in Figure 11, the norm of the distance estimation error is shown for Test 3 and 4. It appears that results from Test 4 present a better performance in terms of mean value and variance with respect to the one in Test 3.
In conclusion, from the experimental tests, it is possible to affirm that the best results are obtained using the differentiator and the Kalman–Bucy filter for velocity estimation, as shown in Figure 5, Test 3. In fact, this structure allows to obtain, especially in the position estimation task, a lower mean and variance for the position estimation error (see Table 4) while it behaves in a similar way to Test 4 and Test 5 for the velocity estimation (see Table 5). Alternatively, it is possible to use the Kalman–Bucy filter alone, and feed back the velocity estimated by the filter, avoiding the use of the differentiator, accepting an increasing of the mean value and the variance of the position estimation error. The scheme with the particle filter, Test 5, is instead to be excluded because in both cases (position and speed estimation) it behaves worse than the other two solutions proposed in Test 3 and Test 4.

4. Conclusions

In this work, a novel observer for a range-based localization system is proposed for applications in environments where the GPS fails. Two aspects were developed. Firstly, a closed-loop localization scheme, which uses the measured distances as input variable, was designed. Secondly, a Kalman–Bucy filter was used to estimate the velocity components of P, and it was compared with the particle filter. Experimental results show the effectiveness of the proposed localization scheme. In particular, it was shown that it is possible to approximate the first derivatives of the distances by using a suitable developed differentiator. This leads to a slightly noisier estimate, but allows to eliminate the accelerometer and all problems connected to it. Moreover, the Kalman–Bucy filter results as the best-performing filter for estimating the velocity of point P, compared with the particle filter. Finally, it was shown that the velocity estimated by the Kalman–Bucy filter can be fed back to estimate the derivative of the distance vector, avoiding the use of a differentiator to implement the proposed localization algorithm.

Author Contributions

Conceptualization, F.A., P.C., F.D., G.G., P.L. and A.S.; methodology, F.A., P.C., F.D., G.G., P.L. and A.S.; software, F.A. and G.G.; validation, G.G.; formal analysis, F.A., P.C., F.D., G.G., P.L. and A.S.; investigation, F.A., P.C., F.D., G.G. and A.S.; resources, F.A., P.C., F.D., G.G., P.L., and A.S.; data curation, F.A., P.C., F.D., G.G., P.L. and A.S.; writing—original draft preparation, F.A., P.C., F.D., G.G. and A.S.; writing—review and editing, F.A., P.C., F.D., G.G., P.L. and A.S.; visualization, G.G.; supervision, F.A.; project administration, P.L.; funding acquisition, P.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by MUR and realized in the project frame of Seaview, PO FESR 2014-2020, CUP: G69J18001340007.

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.

Appendix A. Description of the Experimental Setup

The experimental tests were conducted by bringing the equipment on a plate mounted on the end effector of a Smart Six-1.4 industrial robot Comau that serves as ground-truth reference. The plate is equipped with a 9-axis IMU LSM9DSI from STMicroelectronics (used only for Tests 3, 4, and 5 defined later in the paper, where the velocity estimation was also performed), a Raspberry Pi3 SBC, which runs the compiled code generated by means of Matlab/Simulink environment at a frequency of 100 Hz, and an anchor device built on top of a Decawave DWM1000 radio transceiver. The robot motion is controlled by means of the Comau C4G controller, which is also able to exchange data with the Raspberry SBC via a WiFi connection. In this way, it is possible to impose the highly accurate and a priori known desired motion to the plate, and to have accurate trajectory references for both point P and the distances between the onboard anchor and the fixed ones.
Figure A1 shows a photo of the experimental setup. The UWB ranging system is composed of four fixed devices placed on the scene and a mobile device placed on the object to be tracked. The beacon hardware is based on DW1000 IC from Decawave, a single-chip IEEE802.15.4-2011UWB compliant device with internal high-precision counter (each LSB of the timestamp timer is 15.65 pS, which leads to maximum theoretical accuracy of ± 5 mm) for time-of-flight (ToF) measurement.
Figure A1. Photo of the experimental setup: (a) fixed beacon, (b) mobile plate to be tracked, (c) indoor scenario.
Figure A1. Photo of the experimental setup: (a) fixed beacon, (b) mobile plate to be tracked, (c) indoor scenario.
Sensors 22 06308 g0a1
Since a two-way ranging technique was used to perform ToF measurements, more time captures are needed to compute a single distance measurement. This led to a measurement accuracy, as indicated on the DW1000 manufacturer website, of ± 10 cm instead of the maximum theoretical accuracy of ± 5 mm. Moreover, each beacon is equipped with an external microcontroller. The range measurement system has an actual equivalent refresh rate of up to 12 Hz.
The experimental implementation was carried out by means of Matlab/Simulink. In particular, the Raspberry runs a precompiled C code built from the Simulink scheme of the proposed algorithm. Real-time execution, in external mode, has a frequency of 100 Hz. UWB and IMU devices are connected to the Raspberry by mean of I2C digital Bus. I2C and LSM9DS1 Simulink blocks are used for interfacing the sensor measurements with the Simulink scheme of the controller.

References

  1. Monica, S.; Ferrari, G. Robust UWB-Based Localization with Application to Automated Guided Vehicles. Adv. Intell. Syst. 2020, 3, 2000083. [Google Scholar] [CrossRef]
  2. Shakhatreh, H.; Sawalmeh, A.H.; Al-Fuqaha, A.; Dou, Z.; Almaita, E.; Khalil, I.; Othman, N.S.; Khreishah, A.; Guizani, M. Unmanned Aerial Vehicles (UAVs): A Survey on Civil Applications and Key Research Challenges. IEEE Access 2019, 7, 48572–48634. [Google Scholar] [CrossRef]
  3. Alonge, F.; D’Ippolito, F.; Fagiolini, A.; Garraffa, G.; Sferlazza, A. Trajectory robust control of autonomous quadcopters based on model decoupling and disturbance estimation. Int. J. Adv. Robot. Syst. 2021, 18, 1729881421996974. [Google Scholar] [CrossRef]
  4. Hamel, T.; Mahony, R. Attitude estimation on SO(3) based on direct inertial measurements. In Proceedings of the IEEE International Conference on Robotics and Automation, IEEE, Orlando, FL, USA, 15–19 May 2006; pp. 2170–2175. [Google Scholar]
  5. Fossen, T.I. Handbook of Marine Craft Hydrodynamics and Motion Control; John Wiley & Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
  6. Zhang, W.; Ghogho, M.; Yuan, B. Mathematical Model and Matlab Simulation of Strapdown inertial navigation system. Model. Simul. Eng. 2012, 2012, 264537. [Google Scholar] [CrossRef] [Green Version]
  7. Fossen, T.I. Guidance and Control of Ocean Vehicles; John Wiley & Sons: Hoboken, NJ, USA, 1994. [Google Scholar]
  8. Fossen, T.I. Marine Control Systems: Guidance, Navigation and Control of Ships, Rigs and Underwater Vehicles; Marine Cybernetics: Trondheim, Norway, 2002. [Google Scholar]
  9. Paull, L.; Saeedi, S.; Seto, M.; Li, H. AUV navigation and localization: A review. Ocean. Eng. IEEE J. 2014, 39, 131–149. [Google Scholar] [CrossRef]
  10. Alonge, F.; D’Ippolito, F.; Garraffa, G.; Sferlazza, A. A Hybrid Observer for Localization of Mobile Vehicles with Asynchronous Measurements. Asian J. Control 2019, 21, 1506–1521. [Google Scholar] [CrossRef]
  11. Li, M.G.; Zhu, H.; You, S.Z.; Tang, C.Q. UWB-Based Localization System Aided With Inertial Sensor for Underground Coal Mine Applications. IEEE Sens. J. 2020, 20, 6652–6669. [Google Scholar] [CrossRef]
  12. Lee, J.; Moon, J.; Kim, S. UWB-based Multiple UAV Control System for Indoor Ground Vehicle Tracking. In Proceedings of the 2021 IEEE VTS 17th Asia Pacific Wireless Communications Symposium (APWCS), Osaka, Japan, 30–31 August 2021; pp. 1–5. [Google Scholar] [CrossRef]
  13. Lee, H.; Kim, W.; Seo, J. Simulation of UWB Radar-Based Positioning Performance for a UAV in an Urban Area. In Proceedings of the 2018 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia), JeJu, Korea, 24–26 June 2018; pp. 206–212. [Google Scholar] [CrossRef]
  14. Zafari, F.; Gkelias, A.; Leung, K.K. A Survey of Indoor Localization Systems and Technologies. IEEE Commun. Surv. Tutor. 2019, 21, 2568–2599. [Google Scholar] [CrossRef] [Green Version]
  15. Yassin, A.; Nasser, Y.; Awad, M.; Al-Dubai, A.; Liu, R.; Yuen, C.; Raulefs, R.; Aboutanios, E. Recent Advances in Indoor Localization: A Survey on Theoretical Approaches and Applications. IEEE Commun. Surv. Tutor. 2017, 19, 1327–1346. [Google Scholar] [CrossRef] [Green Version]
  16. Alarifi, A.; Al-Salman, A.; Alsaleh, M.; Alnafessah, A.; Al-Hadhrami, S.; Al-Ammar, M.A.; Al-Khalifa, H.S. Ultra wideband indoor positioning technologies: Analysis and recent advances. Sensors 2016, 16, 707. [Google Scholar] [CrossRef]
  17. Dardari, D.; Closas, P.; Djurić, P.M. Indoor Tracking: Theory, Methods, and Technologies. IEEE Trans. Veh. Technol. 2015, 64, 1263–1278. [Google Scholar] [CrossRef] [Green Version]
  18. You, W.; Li, F.; Liao, L.; Huang, M. Data Fusion of UWB and IMU Based on Unscented Kalman Filter for Indoor Localization of Quadrotor UAV. IEEE Access 2020, 8, 64971–64981. [Google Scholar] [CrossRef]
  19. Yao, L.; Wu, Y.W.A.; Yao, L.; Liao, Z.Z. An integrated IMU and UWB sensor based indoor positioning system. In Proceedings of the 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017; pp. 1–8. [Google Scholar] [CrossRef]
  20. Kulikov, R.S. Integrated UWB/IMU system for high rate indoor navigation with cm-level accuracy. In Proceedings of the 2018 Moscow Workshop on Electronic and Networking Technologies (MWENT), Moscow, Russia, 14–16 March 2018; pp. 1–4. [Google Scholar] [CrossRef]
  21. Foy, W.H. Position-location solutions by Taylor-series estimation. IEEE Trans. Aerosp. Electron. Syst. 1976, 2, 187–194. [Google Scholar] [CrossRef]
  22. Manolakis, D.E. Efficient solution and performance analysis of 3-D position estimation by trilateration. IEEE Trans. Aerosp. Electron. Syst. 1996, 32, 1239–1248. [Google Scholar] [CrossRef]
  23. Navidi, W.; Murphy, W.S., Jr.; Hereman, W. Statistical methods in surveying by trilateration. Comput. Stat. Data Anal. 1998, 27, 209–227. [Google Scholar] [CrossRef]
  24. Guo, K.; Qiu, Z.; Miao, C.; Zaini, A.H.; Chen, C.L.; Meng, W.; Xie, L. Ultra-wideband-based localization for quadcopter navigation. Unmanned Syst. 2016, 4, 23–34. [Google Scholar] [CrossRef]
  25. Murphy, W.S.; Hereman, W. Determination of a Position in Three Dimensions Using Trilateration and Approximate Distances; Department of Mathematical and Computer Science (MCS), Colorado School of Mines: Golden, CO, USA, 1995. [Google Scholar]
  26. Coope, I. Reliable computation of the points of intersection of n spheres in Rn. ANZIAM J. 2000, 42, C461–C477. [Google Scholar] [CrossRef] [Green Version]
  27. Cao, M.; Anderson, B.D.; Morse, A.S. Localization with imprecise distance information in sensor networks. In Proceedings of the Proceedings of the 44th IEEE Conference on Decision and Control, IEEE, Seville, Spain, 15–15 December 2005; pp. 2829–2834.
  28. Thomas, F.; Ros, L. Revisiting trilateration for robot localization. IEEE Trans. Robot. 2005, 21, 93–101. [Google Scholar] [CrossRef] [Green Version]
  29. Liu, X.; Zhou, B.; Huang, P.; Xue, W.; Li, Q.; Zhu, J.; Qiu, L. Kalman filter-based data fusion of wi-fi rtt and pdr for indoor localization. IEEE Sens. J. 2021, 21, 8479–8490. [Google Scholar] [CrossRef]
  30. Shaukat, N.; Ali, A.; Javed Iqbal, M.; Moinuddin, M.; Otero, P. Multi-sensor fusion for underwater vehicle localization by augmentation of rbf neural network and error-state kalman filter. Sensors 2021, 21, 1149. [Google Scholar] [CrossRef]
  31. Liu, J.; Guo, G. Vehicle localization during GPS outages with extended Kalman filter and deep learning. IEEE Trans. Instrum. Meas. 2021, 70, 1–10. [Google Scholar] [CrossRef]
  32. Garraffa, G.; Sferlazza, A.; D’Ippolito, F.; Alonge, F. Localization Based on Parallel Robots Kinematics As an Alternative to Trilateration. IEEE Trans. Ind. Electron. 2022, 69, 999–1010. [Google Scholar] [CrossRef]
  33. DecaWave. DW1000 User Manual; Version 2.11.; DecaWave: Dublin, Ireland, 2017. [Google Scholar]
  34. Siciliano, B. The Tricept robot: Inverse kinematics, manipulability analysis and closed-loop direct kinematics algorithm. Robotica 1999, 17, 437–445. [Google Scholar] [CrossRef]
  35. Levant, A. Robust exact differentiation via sliding mode technique. Automatica 1998, 34, 379–384. [Google Scholar] [CrossRef]
  36. Chen, Z. Bayesian Filtering: From Kalman Filters to Particle Filters, and Beyond. Statistics 2003, 182, 9257. [Google Scholar] [CrossRef]
Figure 1. Block scheme of the localization method.
Figure 1. Block scheme of the localization method.
Sensors 22 06308 g001
Figure 2. Placement of the anchors in the reference frame.
Figure 2. Placement of the anchors in the reference frame.
Sensors 22 06308 g002
Figure 3. References, estimated coordinates of P, and corresponding norm-2 error P e r r in Test 1 and Test 2.
Figure 3. References, estimated coordinates of P, and corresponding norm-2 error P e r r in Test 1 and Test 2.
Sensors 22 06308 g003
Figure 4. Measured and estimated distances q i in Test 1 and Test 2.
Figure 4. Measured and estimated distances q i in Test 1 and Test 2.
Sensors 22 06308 g004
Figure 5. Test 3 estimator scheme with Kalman filter and differentiator.
Figure 5. Test 3 estimator scheme with Kalman filter and differentiator.
Sensors 22 06308 g005
Figure 6. Test 4 estimator scheme with Kalman filter and velocity feedback.
Figure 6. Test 4 estimator scheme with Kalman filter and velocity feedback.
Sensors 22 06308 g006
Figure 7. Test 5 estimator scheme with particle filter and differentiator.
Figure 7. Test 5 estimator scheme with particle filter and differentiator.
Sensors 22 06308 g007
Figure 8. Kalman–Bucy filter block scheme.
Figure 8. Kalman–Bucy filter block scheme.
Sensors 22 06308 g008
Figure 9. References, estimated coordinates of P, and corresponding norm-2 error P e r r in Test 3, 4 and Test 5.
Figure 9. References, estimated coordinates of P, and corresponding norm-2 error P e r r in Test 3, 4 and Test 5.
Sensors 22 06308 g009
Figure 10. References, estimated velocities v ^ , and corresponding norm-2 error v e r r in Test 3, 4 and Test 5.
Figure 10. References, estimated velocities v ^ , and corresponding norm-2 error v e r r in Test 3, 4 and Test 5.
Sensors 22 06308 g010
Figure 11. Norm of the distance estimation error q e r r for Test 3 and Test 4.
Figure 11. Norm of the distance estimation error q e r r for Test 3 and Test 4.
Sensors 22 06308 g011
Table 1. Experimental tests for the localization without speed estimation.
Table 1. Experimental tests for the localization without speed estimation.
Test NameEstimation Algorithm
Test 1The one already proposed in [32].
Test 2Localization without accelerometers as in Equation (8).
Table 2. Mean value and variance of the position estimation error in Test 1 and Test 2.
Table 2. Mean value and variance of the position estimation error in Test 1 and Test 2.
Mean Value [m]Variance [m 2 ]
Test 10.0450.00910
Test 20.0530.01187
Table 3. Experimental tests for the localization with speed estimation.
Table 3. Experimental tests for the localization with speed estimation.
Test NameEstimation Algorithm
Test 3Differentiator and Kalman–Bucy filter (cf. Figure 5).
Test 4Estimation of q ^ ˙ by Kalman–Bucy filter (cf. Figure 6).
Test 5Differentiator and particle filter (cf. Figure 7).
Table 4. Mean value and variance of the position estimation error in Test 3, Test 4, and Test 5.
Table 4. Mean value and variance of the position estimation error in Test 3, Test 4, and Test 5.
Error Mean Value [m]Error Variance [m 2 ]
Test 30.0450.00911
Test 40.0530.01187
Test 50.0640.04008
Table 5. Mean value and variance of the speed estimation error in Test 3, Test 4, and Test 5.
Table 5. Mean value and variance of the speed estimation error in Test 3, Test 4, and Test 5.
Error Mean Value [m]Error Variance [m 2 ]
Test 30.1250.04860
Test 40.1250.04877
Test 50.1980.20147
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Alonge, F.; Cusumano, P.; D’Ippolito, F.; Garraffa, G.; Livreri, P.; Sferlazza, A. Localization in Structured Environments with UWB Devices without Acceleration Measurements, and Velocity Estimation Using a Kalman–Bucy Filter. Sensors 2022, 22, 6308. https://doi.org/10.3390/s22166308

AMA Style

Alonge F, Cusumano P, D’Ippolito F, Garraffa G, Livreri P, Sferlazza A. Localization in Structured Environments with UWB Devices without Acceleration Measurements, and Velocity Estimation Using a Kalman–Bucy Filter. Sensors. 2022; 22(16):6308. https://doi.org/10.3390/s22166308

Chicago/Turabian Style

Alonge, Francesco, Pasquale Cusumano, Filippo D’Ippolito, Giovanni Garraffa, Patrizia Livreri, and Antonino Sferlazza. 2022. "Localization in Structured Environments with UWB Devices without Acceleration Measurements, and Velocity Estimation Using a Kalman–Bucy Filter" Sensors 22, no. 16: 6308. https://doi.org/10.3390/s22166308

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

Article Metrics

Back to TopTop