APPARATUS AND METHODS FOR DRIFTLESS ATTITUDE DETERMINATION AND RELIABLE LOCALIZATION OF VEHICLES

Information

  • Patent Application
  • 20120086598
  • Publication Number
    20120086598
  • Date Filed
    October 08, 2010
    14 years ago
  • Date Published
    April 12, 2012
    12 years ago
Abstract
In order to determine positional information, about a mobile robot, Real Time Kinematic (RTK) Global Satellite Navigation System (GNSS) measurement data are obtained by at least two GNSS receivers mounted on the mobile robot. Estimates of the covariance matrices of the measurement data are computed. The RTK GNSS measurement data are combined according to the covariance matrices to obtain enhanced positional information. The results may be fused with data from an IMU to obtain driftless attitude and/or localization information.
Description
FIELD OF THE INVENTION

This invention relates to the field of robotics, and more particularly to the driftless attitude determination and reliable localization of vehicles, such as mobile robots, waking robots, or humanoid robots.


BACKGROUND OF THE INVENTION

Both position and attitude determination of a mobile robot are necessary for navigation, guidance and steering control of the robot. Dead-reckoning using vehicle kinematic model and incremental measurement of wheel encoders are the common techniques to determine the position and orientation of mobile robots for indoor applications. However, the application of this technique for localization of outdoor robots is limited, particularly when the robot has to traverse an uneven terrain or loose soils. This is because wheel slippage and wheel imperfection cause quick accumulation of the position and attitude errors.


The problem with inertial systems is that they require additional information about absolute position and orientation to overcome long-term drift. An attitude estimation system based on utilization of multiple inertial measurements of a mobile robots is known. Only pitch and roll angles may be estimated in this method by using gravity components deduced from measurements of two accelerometer, but the yaw angle is not detectable. An integrated inertial platform consisting of three rate gyros, a triaxial accelerometer and two tilt sensors is known to minimize long-term drift. Other research focuses on using vision system as the absolute sensing mechanism required to update the prediction position obtained by inertial measurements.


Attitude determination GPS (ADGPS) using a multi-GPS antenna technology, in which the receiver gives not only the position but also the velocity data, are used for airborne applications as well as marine vessels and ships. Integration of such a GPS system and Inertial Navigation System (INS) is straightforward because attitude measurements from the two systems is directly available. ADGPS however need large antenna separation, e.g., 17 m, for offering competitive accuracy for azimuth and pitch determination of a ship. Multiple GPS antennas with separation distance of 11 m has been tried for attitude determination of aircraft. Methods for attitude estimation of UAVs based on position and velocity information obtained from a single GPS antenna have been disclosed. Since the velocity information is obtained from the Doppler shift measurement of the GPS carrier signals, these methods are suitable for fast moving vehicles such as UAVs, but not for mobile robots or humanoid robots.


Nowadays, differential Global Navigation Satellite Systems (GNSSs) to centimeter-level accuracy are commercially available making them attractive for localization, guidance and control of outdoor mobile robots. GNSS is the generic term for a satellite-based navigation system, such as the Global Positioning System (GPS), the Russian GLONASS, or European Galileo systems, and the term will be used in this specification to encompass all such systems. It will also be understood that in some environments, such as on mars, a satellite-based system may not be available. However, in such environments, it is possible to replace the satellites by transmitters placed at fixed locations that are functionally equivalent to satellites. Such transmitters are known as “pseudolites”, and it will be understood that the expression GNSS as used herein will also encompass such pseudolite-based systems. However, for convenience the invention will be described specifically in the context of the GPS system, which is the most widely used system today.


In conventional GPS, the pseudo ranges to satellites are measured by aligning the locally generated pseudorandom signal to the received signal. In Real Time Kinematic (RTK) GPS, and more specifically RTK GPS, an attempt is made to align the carriers rather than the signals modulated on to the carriers. Since the carriers are about 1000 times faster than the signals, considerable improvements in accuracy over conventional GPS can be achieved.


One method of improving the accuracy of localization systems using RTK GPS in the presence of GPS latency is to use a localization algorithm based on Kalman filtering that tries to fuse information coming from an inexpensive single GPS with inertial data and map-based data. A decentralized data fusion algorithm for simultaneous position estimation of a land vehicle and building the map of the environment by incorporating data from inertial sensor, GPS, laser scanner, the wheel and steering encoders is described in J. Vaganay, M. J. Aldon and A. Fournier, “Mobile robot attitude estimation by fusion of intertial data”, IEEE Int Conference on Robotics & Automation, Atlanta Georgia, May 1993, pp 277-282.


The use of vision systems has also been investigated. However, vision systems have proven to be sensitive to the lighting condition of the environment.


SUMMARY OF THE INVENTION

According to a first aspect of the present invention there is provided a method of determining positional information about a vehicle, comprising: computing estimates of the covariance matrices of Real Time Kinematic (RTK) Global Satellite Navigation System (GNSS) measurement data obtained by at least two GNSS receivers mounted on the mobile vehicle; and fusing the RTK GNSS measurement data according to their corresponding covariance matrices to obtain enhanced positional information.


Embodiments of the invention provide a method for estimating vehicle attitude and position, in three dimensions, by optimally fusing two RTK GNSS measurements, accelerometric measurements of gravity from an accelerometer (or an inclinometer instrument) and angular rate measurements from a rate gyro. The relation between the GPS noises and the difference between the measured and actual antenna-to-antenna baselines is developed that allows to estimate the covariance matrix of the GNSS measurement noises.


First, the covariance matrices associated with the two RTK GNSS measurements are estimated based on the error on the magnitude of the antenna-to-antenna baseline measurement and the confidence of the GNSS receivers on the horizontal and vertical axes measurements. Then, the observation vector is constructed from the measurements of the onboard accelerometer and two RTK GNSSs. The measurement of the onboard rate gyro, the discrete-time observation as well as the estimated measurement covariance matrices are used by an Extended Kalman filter for driftless attitude determination of the mobile robot. Finally, the estimated attitude (in term of quaternion), RTK GPS measurements and the estimated covariance matrixes are used by another estimator to optimally localize the mobile robot by taking advantage of the redundancy in the GPS measurements plus the knowledge of the GNSS noise characteristics. This allows enhancing the accuracy and robustness of the GNSS-based localization of vehicles.


According to a second aspect of the invention there is provided an apparatus for determining positional information about a vehicle, comprising: at least two GNSS receivers for mounting on the vehicle robot and defining an antenna-to-antenna baseline therebetween; and a processor configured to compute estimates of the covariance matrices of Real Time Kinematic (RTK) Global Satellite Navigation System (GNSS) measurement data obtained by at least two GNSS receivers mounted on the vehicle, and to fuse the RTK GNSS measurement data according to their corresponding covariance matrices to obtain enhanced positional information.


A further aspect of the invention provides an apparatus for determining positional information about a vehicle, comprising at least two GNSS receivers for mounting on the vehicle and defining an antenna-to-antenna baseline therebetween; an inertial Measurement Unit (IMU) for obtaining data about the movement of the mobile robot; and a processor configured to and to fuse the RTK GNSS measurement data and the data from the IMU to obtain enhanced positional information.





BRIEF DESCRIPTION OF THE DRAWINGS

The invention will now be described in more detail, by way of example only, with reference to the accompanying drawings, in which:



FIG. 1 is a block diagram of an apparatus in accordance with one embodiment of the invention;



FIG. 2 shows a mobile robot with two GPS antennas and an IMU mounted on the robot;



FIG. 3 shows a mobile robot with three GPS antennas and an IMU mounted on the robot for experimental purposes;



FIG. 4 shows the path taken by an experimental robot;



FIG. 5 shows the IMU outputs;



FIG. 6 shows the RTK GPS outputs;



FIG. 7 shows the confidence on the RTK GPS measurements;



FIG. 8 shows the estimated parameters;



FIG. 9 shows the vehicle attitude;



FIG. 10 shows the vehicle position;



FIG. 11 shows the attitude errors; and



FIG. 12 shows the position errors.





DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION

The apparatus shown in FIG. 1 comprises a vehicle 1 with wheels 2. A pair of RTK GPS antenna 3 coupled to respective GPS receivers 4, which may be differential receivers, are mounted a fixed distance apart on the vehicle 1 and separated by an antenna-to-antenna baseline 5. An accelerometer 6 and rate gyro 7 are mounted on the mobile robot 1. The embodiment will be described in connection with GPS, although as noted the invention applies more generally to any GNSS system, including systems using fixed pseudolites instead of satellites.


The mobile robot 1 also includes a processor 10, which may be a general-purpose computer, comprising a plurality of software/and or hardware modules, namely a covariance estimation module 11, a stochastic estimator module 12, an observation vector module 13, and an extended Kalman filter module 14, and an initializer 18.


The signals from the receivers 4 are subtracted from each other in subtraction module 15.


It will be understood that the various modules can be implemented in software, hardware or a combination of the two.


A base antenna 16 is also provided at a fixed location as is known in RTK GPS.


The method of estimating robot attitude and position, in three dimensions, involves optimally fusing two RTK GPS measurements, accelerometric measurements of gravity from an accelerometer (or an inclinometer) and angular rate measurements from a rate gyro in the Kalman filter 14 (KF). In addition to the pose, the KF 14 also estimates the gyro bias.


RTK GPS devices notoriously suffer from signal robustness issue as their signal can be easily disturbed by many factors such as satellite geometry, atmospheric condition and shadow. To deal with the uncertain GPS noise problem, the covariance matrix of the GPS noises is estimated in real-time so that the KF filter 14 is continually “tuned” as well as possible.


Kinematics



FIG. 2 schematically illustrates a vehicle 1 as a rigid body to which multiple differential GPS-antennas 3 and an IMU device are attached. Coordinate frame {A} is an inertial frame while {B} is a vehicle-fixed (body frame) coordinate system. The origin of frame {A} coincides with that of the base antenna of the differential GPS system, i.e., the GPS measurements are expressed in this frame. On the other hand, the origin of {B} coincides with the IMU center and their axes are parallel, i.e., the IMU measurements are expressed in {B} . The orientation of {B} with respect to {A} is represented by the unit quaternion q=[qvT g0]T, where subscripts v and o denote the vector and scalar parts of the quaternion, respectively. The rotation matrix A representing the rotation of frame {B} with respect to frame {A} is related to the corresponding quaternion q by






A(q)=(2qo2−1)13+2qo[qv×]+2qvqvT,   (1)


where [.×] denotes the matrix form of the cross-product. Consider quaternions q1, q2, and q3. Then, A(q3)=A(q1)A(q1) and q3=q2custom-characterq1 are equivalent, where custom-character denotes the quaternion-product and the operators [qcustom-character] is defined, analogous to the cross-product matrix as







[

q


]

=

ϒ
-

diag


(


[


q
v

×

]

,
0

)










where





ϒ

=

[




q
0




q
v






-

q
v
T





q
0




]





The conjugate q* of a quaternion is defined such that q*custom-characterq=qcustom-characterq*=[0 0 0 1]T.


Now, assume that vector r represents the location of the origin of frame {B} that is expressed in coordinate frame {A}, and pi is the output of the ith GPS measurement. Apparently, from FIG. 2, we have






p
i
=r+A(q)ei+vpi ∀i=1,2   (2)


where constant vectors eis are the locations of the GPS antennas in the vehicle-fixed frame and vpis represent the GPS measurement noises, which are assumed random walk noises with covariance E[vpivpiT=Rpi.


The IMU 20 is equipped with an accelerometer which can be used for accelerometric measurements of gravity. In general, accelerometer output contain components of the acceleration of gravity and the inertial acceleration. In mobile robots, the level of inertial acceleration is negligible compared to the acceleration of gravity; typically maximum inertial acceleration is about 0.02 g. Therefore, despite the fact that estimation of the inertial acceleration of the robot can be obtained from the GPS data, it is sufficient to model the inertial acceleration as a measurement noise in the KF. Let assume that a be the accelerometer output. Then, the acceleration equation can be written as











a


a



=



A
T


k

+

v
a



,




(
3
)







where ∥•∥ denotes the Euclidean norm, and unit vector k is defined to be aligned with the gravity vector in frame {A}, while va captures the accelerometer noise and inertial acceleration all together. We treat va as a random walk noise with covariance E[vavaT]=σa213.


Observation Equations


The objective of the extended Kalman filter (EKF) is to determine the vehicle attitude and position by fusing the IMU and GPS measurements.


In principle, the attitude of a rigid body can be determined from two non-collinear position vectors each of which expressed each in two coordinate systems. Equation (3) gives the gravity vector in both frames, while the baseline vector Δp≅p1−p2 is the rotated version of the vector from one antenna to the other, i.e., e1−e2. Therefore, equations (2) and (3) suffice to obtain the attitude q and the position r. However, this will lead to an inaccurate estimate because of low signal-to-noise ratio of the Δp measurement. Denoting vectors Δe=e1−e2 and vp=vp2−vp1, one can in from (2) that














Δ





e



=





Δ





p

+

v
p









Δ





p



+

Δ







p
~

T



v
p





,




where








Δ






p
~


=


Δ





p




Δ





p









(
5
)







and the RHS of (5) is obtained by the first-order approximation of the norm of summation of two vectors. Antenna-to-antenna baseline ∥Δe∥ is approximately 1 m, whereas the GPS error isabout ±5 cm. This means that the error in measurement of orientation of vector Δp is about 10%, which is far from desired accuracy. The two GPS observations in conjunction with the measurements of the acceleration gravity are used as external updates in an elaborate Kalman filter integrating a rate gyro data with the observation data.


In the described embodiment, the IMU signals are given at the rate of 20 Hz, whereas the GPS data can be acquired at the rate of 1 Hz. Therefore, an average of the IMU signal can be obtained between two consecutive GPS data acquisitions. This tends to decrease the IMU noise. Therefore, the discrete-time measurement of the acceleration can be obtained by averaging through integration of the IMU signals at that interval tk−tΔ<t≦tk, where tΔ denotes the GPS sampling rate, i.e.,











a
_

k

=


1

t
Δ







t

k
-
1



t
k





a


(
ξ
)









ξ








(
5
)







Therefore, the discrete-time measurement vector is defined as










z
k

=

[





p

1
k


-

p

2
k










a
_

k

/




a
_

k







]





(
6
)







In view of (2), (3) and (6), the observation vector as a function of the discrete-time variables qk and kk can be written as










h
k

=

[





A


(

q
k

)




(


e
1

-

e
2


)









A
T



(

q
k

)




k
k





]





(
7
)







Thus, the observation equation is








z
k

=


h
k

+

v
k



,






where






v
k


=

[





v

p






1
k



-

v

p






2
k









v

a
k





]






is the overall additive measurement noise. Assuming that the noises of the two GPS receivers are not mutually corrected and that they are also not corrected with the IMU noise, the covariance matrix of the measurement noise takes the form











R
k

=


E


[


v
k



v
k
T


]


=

[




R

p
k





0
3






0
3





σ
a
2



1
3





]



,




(
8
)







where







R

p
k


=



R

p

1
k



+


R

p

2
k








and






R

p

i
k





=

E


[




v

p

i
k






v

p

i
k


T




]







is the covariance matrix associated with the measurement nose of the ith GPS.


The discrete-time observation vector (7) is a nonlinear function of the quaternion. To linearize the observation vector, one also needs to derive the sensitivity of the nonlinear observation vector with respect to the system variables. To this end, consider small orientation perturbations





δq=qcustom-characterq*.   (9)


around a nominal quaternion q. Now, by virtue of A(q)=A(δqcustom-characterq), one can compute the observation vector (7) in terms of the perturbation δq. Using the first order approximation of nonlinear matrix function AT(δq) from expression (1) by assuming a small rotation δq, i.e., ∥δqv∥=1 and δq0≈1, i.e.,





A(δq)≈13+2[δqv×].


To take the decomposition rules of quaternion into account, the state vector to be estimated by the EKF is defined as






x=col(δqv,b)   (10)


where vector b is the corresponding gyro bias. Thus, the sensitivity matrix can be written as










H
=


(



h



x


)

=

[





-
2




A
_



[


(


e
1

-

e
2


)

×

]






0
3






2




A
_

T



[

k
×

]




A
_





0
3




]



,




(
11
)







where Ā=A( q). Thus, the linearized observation equation is





zk≈Hxk±vk   (12)


Covariance Estimation of the GPS Error


Efficient implementation of the KF requires the statistical characteristics of the measurement noise. The IMU noises are not usually characterized by time-invariant covariance. Therefore, σa is a constant parameter, which can be either derived from the sensor specification or empirically tuned. The GPS noise characteristics, however, are time-varying; the errors vary depending on many factors such as satellite geometry, atmospheric condition, multipath areas, and shadow.


The covariance of the GPS antenna-to-antenna measurements can be estimated from the difference between ∥Δp∥ and ∥Δe∥, which are both the antenna to antenna baselines expressed in two different frames. The magnitude of a vector is invariant under rotation transformation, i.e., ideally ∥Δp∥=∥Δe∥ if GPS data is noise-free. However, from the error equation (4), we can infer that






E[(∥Δpk∥−∥Δe∥)2]=Δ{tilde over (p)}kTRpkΔ{tilde over (p)}k.   (13)


If the covariance matrix is assumed diagonal as





Rpkpk213,   (14)


then σpk2=E[(∥Δp∥−∥Δe∥)2]. Moreover, since GPS receivers estimate the position via the averaging process over the sampling interval, we can assume E[∥Δp∥]≈∥Δpk∥. Therefore, knowing that Δe is a deterministic variable, we can find the covariance from





σpk2=(∥Δpk∥−∥Δe∥)2.


Most Real Time Kinematic (RTK) GPS receivers can estimate the confidence on their position measurements in real-time that allows us to characterize the covariance matrix more accurately. Typically, the positions of horizontal axes are measured with the same confidence, while the height measurements are given with less confidence. Therefore, for the i-th GPS, we can say Ci=diag(chi,chi,cvi), where chi and cvi are the confidence on the horizontal and vertical measurement data that are provided by the receiver in real-time. We assume that





Rpi=ρCi2 ∀i=1,2,   (15)


where the scaling factor ρ is yet to be found. Substituting (15) in the RHS of (13) yields






ρ
=




(




Δ






p
k




-



Δ





e




)

2


Δ








p

~

k
T



(


C

1
k

2

+

C

2
k

2


)


Δ







p
~

k



.





Thus, the covariance matrix of the GPS noise can be computed from







R

pi
k


=




(




Δ






p
k




-



Δ





e




)

2


Δ








p

~

k
T



(


C

1
k

2

+

C

2
k

2


)


Δ







p
~

k






C

i
k

2

.






Attitude Estimation


The relation between the time derivative of the quaternion and the angular velocity ω can be readily expressed by











q
.

=


1
2




ω
_


q










where






ω
_


=


[



ω




0



]

.






(
16
)







The angular rate obtained from the gyro measurement is





ωg=ω−b−εg   (17)


where b is the corresponding bias vector; εg is the angular random walk noises with covariances E[εgεgT]=σg213. The gyro bias is traditionally modeled as





{dot over (b)}=εb,   (18)


where εb is the random walk with covariances E[εbεbT]=σb213. Then, adopting a linearization technique one can linearize (16) about the nominal quaternion q and nominal velocity






ωg+ b,


to obtain














t



δ






q
v


=



-

ω
_


×
δ






q
v


+


1
2


δ





b

+


1
2




ɛ
g

.







(
19
)







Since δqo is not an independent variable and it has variations of only the second order, its time derivative can be ignored. Setting the dynamics equations (19) and (18) in the standard state space form, gives















t



x

=

Fx
+

G





ɛ



,




(
20
)







where ε=col(εgb); and







F
=

[




-

[


ω
_

×

]






1
2



1
3







0
3




0
3




]


,

G


[





1
2



1
3





0
3






0
3




1
3




]






Observabilty Analysis


A successful use of Kalman filtering requires that the system be observable. A linear time-invariant (LTI) systems is said to be globally observable if and only if its observability matrix is full rank. The observability matrix associated with linearized system (20) together with the observation model (11) is






O=[H
T(HF)T . . . (HF5)T]T.


The states of the system are assumed to be completely observable if and only if rank 0 =6 (21)


which is equivalent to O having 18 independent rows.


Although the described system is not time-invariant as F and H are defined on the nominal trajectory at a frozen instant in time, examination of the LTI observability measure can still provide a useful insight into the local observability of the system at that time. To this end, we construct the submatrices of the observability matrix O, i.e.,










HF
=


[


-



A
_



[

Δ





e
×

]




[


ω
_





×

]





1
2




A
_



[

Δ





e




×

]




ω
_

×

]



1
2




A
_



[


k


×

]




]




(
22
)







where k′=ĀTk is the unit gravity vector expressed in the vehicle frame and we used the identity ĀT[k×]Ā=[k′×] to obtain (22). The observability matrix can be reduced to the following block-triangular matrix by few elementary Matrix Row Operations (MRO)











O



MRO



O



=

[



M



0
3





×


M



]


,




where




(
23
)






M
=



[


k


×

]



[

Δ





e
×

]


-


[

Δ





e
×

]



[


k


×

]







(
24
)







and hence rank O=rank O′. It is clear from (23) that the full rankness of the block-triangular matrix rests on the invertibility of the square matrix M. In other words, if M is invertible, then the system is observable.


Proposition 1 If a line connecting the two GPS antennas is not collinear with the gravity vector, then system (12)-(20) is observable.


Proof: In a proof by contradiction, we show that M ∈ R3×3 must be a full-rank matrix. If M is not full-rank, then there must exist a non-zero vector η≠ 03×1 such that





Mη=03×1   (25)


In view of definition (24) and the property of the vector product of three vectors {a, b, c},






a×(b×c)=(a·c)b−(a·b)c,


one can easily show that LHS of (25) is equivalent to













M





η

=





k


×

(

Δ





e
×
η

)


-

Δ





e
×

(


k


×
η

)










=






(


k


·
η

)


Δ





e

-


(

Δ






e
·
η


)



k





0


,







(
26
)







in which, the inequality of (26) is inferred from the fact that vectors k′ and Δe are not parallel and hence they can not annihilate one other. Therefore, it is not possible for (25) to be true meaning that matrix M must be full rank.


Discrete Time Model


The equivalent discrete-time model of (20) is






x
k+1kxk+wk   (27)


where Φk=Φ(tk+tΔ,tk) is the state transition matrix over time interval tΔ. In order to find a closed form solution for the state transition matrix, we need the nominal values. The nominal values of the relevant states at interval tk<τ≦k+tΔ are obtained from the latest estimate update, i.e., qk(τ)={circumflex over (q)}k, bk(τ)={circumflex over (b)}k. Similar to (5), the nominal value of the angular velocity is obtained by averaging through integration of the IMU signals at that interval between two consecutive GPS data acquisition, i.e.,











ω
_

k

=



b
^

k

+


1

t
Δ







t

k
-
1



t
k






ω
g



(
ξ
)










ξ

.









(
28
)







Therefore, the nominal angular velocity remains constant in the interval. Under these circumstances, the state transition matrix can be obtained in closed form for constant angular velocity or for varying angular velocity remains constant in direction. Let us define θk(τ)= ωkτ and θk=∥θk∥. Then, the state transition matrix Φk(τ)=Φ(τ,tk+τ) takes on the form:











Φ
k



(
τ
)


=

[





Ψ

1
k




(
τ
)






1
2




Ψ

2
k




(
τ
)







0



1
3




]





(
29
)







where the elements of the above matrix are given as












Ψ

1
k




(

t
Δ

)


=


1
3

-



sin






θ
k



θ
k




[


θ
k

×

]


+




1
-

cos






θ
k




θ
k




[


θ
k

×

]


2












Ψ

2
k




(

t
Δ

)


=


(


1
3

+




cos






θ
k


-
1


θ
k
2




[


θ
k

×

]


+





θ
k

-

sin






θ
k




θ
k
3




[


θ
k

×

]


2


)



t
Δ



,





(
30
)







Let Σe=blockdiag(σg213b213) be the continuous-time covariance matrix of the entire process noise. Then, the corresponding discrete-time covariance matrix is











Q
k

=


E


[


w
k



w
k
T


]


=




t
k



t
k

+

t

Δ
k







Φ


(
t
)



G






Σ
ɛ



G
T




Φ
T



(
t
)





t





,




(
31
)







which has the following structure










Q
k

=

[




Λ

1
k





Λ

2
k






×




σ
b
2



t
Δ



1
3





]





(
32
)







For small angle θk, where








sin






θ
k





θ
k

-


1
6



θ
k
3






and





cos






θ
k





1
-


1
2



θ
k
2




,




the elements of the state-transition matrix (30) can be effectively simplified. Then, upon integration of the substitution of the simplified state transition matrix into (31) we arrive at







Λ

1
k


=



(




σ
g
2



t
Δ


4

+



σ
b
2



t
Δ
3


12


)



1
3


+





σ
b
2



t
Δ
3


240



[


θ
k

×

]


2

+



(




σ
g
2



t
Δ


80

+



σ
b
2



t
Δ
3


1008


)



[


θ
k

×

]


4









Λ

2
k


=


σ
b
2





t
Δ
2



(



1
4



1
3


-


1
12



[


θ
k

×

]


+



1
48



[


θ
k

×

]


2


)


.






Estimator Design


The state transition matrix (29) is used only for covariance propagation, while the system states have to be propagated separately by solving their own differential equations. Let us compose the redundant state ax=col(q,b), which contains the full quaternion q and parameters b. Combining (16), (18), we then describe the state-space model of the system as






a
{dot over (x)}=f(ax,ε)


The EKF-based observer for the associated noisy discrete system (27) is given in two steps: (i) estimate correction






K
k
=P
k

H
k
T(HkPkHkT±Rk)−1   (33)






{circumflex over (x)}
k
={circumflex over (x)}
k

+K(zk−h({circumflex over (χ)}k))   (34)






P
k=(112−KkHk)Pk  (35)


and (ii) estimate propagation






a
{circumflex over (x)}
k+1
=a{circumflex over (x)}k+∫tktk+tΔf(ax(t),0)dt   (36)






P
k+1
kPkΦkT+Qk   (37)


The vector of discrete-time states, xk, which is to be estimated by the KF, contains only the variations δqvk not the quaternion qk. However, the quaternion can be obtained from the former variables if the value of the nominal quaternion qk is given, that is





δ{circumflex over (q)}k={circumflex over (q)}kcustom-characterq*k   (38)


A natural choice for the nominal value of quaternion is its update estimate as q(tk−1)={circumflex over (q)}k−1. Since the nominal angular velocity ωk is assumed constant at interval tk−1≦t≦tk, then, in view of (16), the nominal quaternion evolves from its initial value q(tk−1) to its final value qk= q(tk) according to:











q
_

k

=





1
2



[



θ
_

k



]







q
^


k
-
1


.






(
39
)







It can be shown that the above exponential matrix function has a closed-form expression so that the above equation can be written as











q
_

k

=



(


cos



θ
k

2


+

sin



θ
k

2



)




q
^


k
-
1



+


(



2

θ
k



sin



θ
k

2


-


1
2


cos



θ
k

2



)





θ
_

k




q
^


k
-
1









(
40
)







From (38), the KF step, i.e., (34), can be written in terms of the full quaternion, qk instead of its variation δqvk, as










[




δ








q

^


v
k









ρ
^

k




]

=


[




vec


(



q
^


k
_





q
_

k
*


)








ρ
^


k
_





]

+

K


(


z
k

-

h
k


)







(
41
)







where qk is obtained from (40). Finally, assuming that ∥δ{circumflex over (q)}vk∥<1, a valid unit quaternion can be constructed from











q
^

k

=


[




δ



q
^


v
k









1
-




δ



q
^


v
k





2






]




q
_



(

t
k

)







(
42
)







Substituting (40) into (42) gives








q
^

k

=


[




δ



q
^


v
k









1
-




δ



q
^


v
k





2






]



(



(


cos



θ
k

2


+

sin



θ
k

2



)




q
^


k
-
1



+


(



2

θ
k



sin



θ
k

2


-


1
2


cos



θ
k

2



)





θ
_

k




q
^


k
-
1





)













(

Note





the





last





θ





in





the





above





equation





should





be





in





bold

)





Initialization of the Kalman Filter


For the first iteration of the EKF, an adequate guess of the initial states is required. The best guess for the parameters at t=0 s is =03, while the initial orientation of the vehicle with respect to the inertial frame at t=0 s is not known beforehand. It is that presumed ∥δqv∥≦1. If this condition is violated, the error quaternion will not be unit norm. To prevent this from happening, it is important to keep the initial error in quaternion estimate small as much as possible.


Mathematically, the rotation matrix can be computed from two non-collinear unit vectors k and Δ{tilde over (p)} and their rotated versions ã≅a/∥a∥ and Δ{tilde over (e)}. Similar to the methods for registration of 3-D laser scanning data, let us form the following matrices from the units vectors as






D
a
=[k Δ{tilde over (p)} k×Δ{tilde over (p)}]  (43)






D
b
=[ã Δ{tilde over (e)} ã×Δ{tilde over (e)}]  (44)


Then, in the absence of measurement noise, i.e., v≡0, the above matrices are related by





Da=ADb   (45)


Matrices Da and Db are non singular as long as k and Δ{tilde over (j)} are not collinear, i.e., the line connecting the GPS antennas is not parallel to the gravity vector. Then, under this circumstance, the rotation matrix can be obtained from






A=D
a
D
b
−1   (46)


Solution (46) yields a valid rotation matrix A so that ATA=13 , only if there is no error in the column vectors of matrices (45). However, due to the IMU and GPS noises, a valid rotation matrix may not be obtained from solution (46). To correct this problem, one may observe that all singular values of any orthogonal matrix must be one. This means that the singular value decomposition of the RHS of (33) yields






D
a
D
b
−1
=UΣV
T,


where U and V are orthogonal matrices and matrix Σ=13Σ is expected to be close to the identity matrix, i.e., ∥ΔΣcustom-character1. Therefore, by ignoring small matrix ΔΣ, a valid solution to the rotation matrix can be found as





Â=UVT,   (47)


which then can be used to obtain the equivalent quaternion at t=0 s.


Position Estimation


With the estimation of attitude in hand, one can use the two sets of position and orientation equations (4) to compute r. Despite an estimate of r can be obtained from one set of equations, a better estimation can be achieved by solving two equations together if the measurement noise characteristic is known.


Setting the two GPS equations (4) in the matrix form, we get










y
=


Lr
+




n
p

+

n
q




noise







where





y


=

[





p
1

-


A
^



e
1









p
2

-


A
^



e
2






]



,

L
=

[




1
3






1
3




]


,




(
48
)







while GPS measurement errors and attitude estimation errors are respectively represented by vectors








n
p

=

[




v

p
1







v

p
2





]


,


n
q

=


-
2




A
_



[




[


e
1

×

]






[


e
2

×

]




]



δ




q
~

v

.







Using the argument that mutual correlation between np and nq is negligible, we can write the covariance matrix of the entire noise in (48) as:













R
r

=


E


[


n
p



n
p
T


]


+

E


[


n
q



n
q
T


]









=

[





R

p
1


+

4



A
_



[


e
1

×

]





P
q



[


e
1

×

]





A
_

T






4



A
_



[


e
1

×

]





P
q



[


e
2

×

]





A
_

T







4



A
_



[


e
2

×

]





P
q



[


e
1

×

]





A
_

T






R

p
2


+

4



A
_



[


e
2

×

]





P
q



[


e
2

×

]





A
_

T






]








(
49
)







where Pq=E[δ{tilde over (q)}vδ{tilde over (q)}vT] ∈ R3×3. Since the Kalman filer gives the covariance matrix of all estimated states including the quaternion, one can get Pq from the filter covariance matrix as






P
=


[




P
q



×




×


×



]




R

6
×
6


.






Then an optimal solution to (48) can be obtained by the weighted pseudo inverse where a suitable weighting matrix is the covariance matrix of the noise. That is











r
^

=



(


L
T



R
r

-
1



L

)


-
1




L
T



R
r

-
1



y


,

[





p
1

-


A
^



e
1









p
2

-


A
^



e
2






]





(
50
)







Using (48) in (50) yields






{circumflex over (r)}=(LTRr−1L)−1LTRr−1


If the orientation estimation error is sufficiently small, i.e., the second term in RHS of (49) is negligible, then (50) can be conveniently written as






{circumflex over (r)}=W
1(p1−Ae1)+W2(p2−Ae2),


where the weighting matrices are defined as





W1≅Rp2(Rp1+Rp2)−1   (52)





W2≅Rp1(Rp1+Rp2)−1.   (53)


It is worth noting that W1+W2=13. This means that the estimator (51) proportionally puts more weight on that GPS measurement with the smallest covariance matrix in order to estimate the position.


Experimental Verification


The test vehicle was equipped with three RTK GPS antennas as shown in FIG. 3. Although only two GPSs are required by the adaptive KF, having three GPSs allowed measurement of the vehicle attitude purely from a kinematic relation. Despite its poor accuracy, the three-GPS attitude determination method does not introduce any attitude drift. Therefore, it was possible to investigate whether or not the pose estimation method based on fusing two GPSs and an IMU exhibits any drift.


Assume that p3 and e3 denote the third GPS measurement and the location of its antenna on the vehicle, respectively. Also, denote Δp′=p1−p3 and Δe′=e1−e3 and






N
a
=[Δp Δp′ Δp×Δp′]






N
b
=[Δe Δe′ Δe×Δe′]  (54)


where identity Na=ANb holds in the absence of GPS measurement noise. Therefore, in a development similar to (40) -(47), one can calculate the rotation matrix from the above matrices.


A rover equipped with three RTK GPS receivers along with satellite antennas and radio modems (model Promark3RTK from Magellan Navigation Inc.) in addition to an INIU device from Crossbow Technology, Inc. (model IMU300) was used for experiments. Experiments were conducted on the 30×60 m Mars Emulation Terrain (MET) of the Canadian Space Agency. The locations of the GPS antennas expressed in the vehicle-frame are shown in the following table. The additional GPS receiver was provided to permit estimation of the vehicle pose indpendently of the IMU measurements.













TABLE







x(m)
y(m)
z(m)





















e1
−0.452
0.604
−0.252



e2
−0.452
−0.616
−0.224



e3
−0.427
−0.003
−0.249










An operator sent a pre-scheduled sequence of primitive commands to the mobile robot-e.g., “move forward of a certain distance”, “rotate clockwise by 45°”, etc-so that the robot follows a preplanned path going through some specified via points. FIG. 4 shows the 3-D path taken by the mobile robot. The time-histories of the IMU measurements and GPS measurements are depicted in FIGS. 5 and 6, respectively, while the time-history of the confidence on the GPS data is shown in FIG. 7.


The Two-GPS-IMU fusion method was compared with One-GPS-IMU method. Although it was not possible to obtain ground truth attitude and position information during the test, it was possible to obtain an estimate of the attitude without any drift and a fairly reliable estimate of position by processing the data acquired from the three GPS receivers.



FIG. 8 shows that the Kalman Filter can quickly identify the parameters, i.e., gyroscope bias and the direction cosines of the gravity vector in the inertial frame. Trajectories of the vehicle position and attitude based on the Two-GPS-IMU fusion method and One-GPS-IMU method versus the results of the geometric pose estimation process based on the data of the three GPS receivers (used as the reference) are plotted in FIGS. 9 and 10, respectively. The errors between the estimated and the reference pose trajectories are calculated by





Position Error=∥{circumflex over (r)}−rref





Orientation Error=2 sin−1∥vec(qrefcustom-character{circumflex over (q)}*)∥


and the results are plotted in FIGS. 11 and 12. It is clearly evident from FIG. 11 that the attitude estimation error using one GPS and IMU accumulates gradually due to gyro drift, whereas the Two GPS-IMU method exhibits no drift. As shown in FIG. 12, the position estimation based on one GPS also exhibits drift, which is the echoed attitude drift. Furthermore, it is apparent from the figure that the position estimation based on one GPS measurement is not accurate at the time around t=400 s, because the error margin of the first GPS receivers during that period is incidentally high, as shown FIG. 6. Both drift and spike in the position errors are substantially reduced in the Two-GPS-IMU estimation method.


The described system can be used for outdoor mobile robots for terrestial applications and to provide a ground-truth pose estimation of a vehicle during testing. The system is also applicable to applications on other worlds, such as the Moon or Mars, where low power pseudolites can be substituted for orbiting satellites.

Claims
  • 1. A method of determining positional information about a vehicle, comprising: computing estimates of the covariance matrices of Real Time Kinematic (RTK) Global Satellite Navigation System (GNSS) measurement data obtained by at least two GNSS receivers mounted on the vehicle; andfusing the RTK GNSS measurement data according to their corresponding covariance matrices to obtain enhanced positional information.
  • 2. The method of claim 1, wherein an antenna-to-antenna baseline is defined between the GNSS receivers, and the estimates of the covariance matrices are based on the error in the magnitude of a measurement of the antenna-to-antenna baseline and the confidence in the GNSS receiver measurements.
  • 3. The method of claim2, wherein the antenna-to-antenna baseline is not collinear with the vector of gravity.
  • 4. The method of claim 2, wherein the measurement data from the RTK GNSS receivers is fused with measurement data from an inertial measurement unit (IMU).
  • 5. The method of claim 4, wherein the IMU includes an onboard accelerometer and rate gyro.
  • 6. The method of claim 4, wherein the IMU includes an onboard inclinometer and rate gyro.
  • 7. The method of claim 4, wherein the measurement data is fused in a Kalman filter.
  • 8. The method of claim 7, wherein the positional information comprises attitude information obtained from the Kalman filter.
  • 9. The method of claim 8, wherein the attitude information is derived from the quaternion
  • 10. The method of claim 7, wherein the positional information also comprises localization information.
  • 11. The method of claim 10, wherein the localization information is derived from the equation
  • 12. The method of claim 4, wherein the covariance matrix of the GNSS measurement noise is derived from equation
  • 13. The method of claim 7, wherein the initial states of the Kalman filter are determined from difference between the two GNSS measurements and the accelerometer measurement.
  • 14. The method of claim 4, further comprising computing an observation vector from measurements obtained from the accelerometer and the GNSS receivers, and applying the observation vector, the estimates of the covariance matrices and measurements obtained from the onboard rate gyro as inputs to a Kalman filter to determine the attitude of the vehicle.
  • 15. The method of claim 1, wherein at least three GNSS receivers are mounted on the vehicle and a pose estimation is obtained from measurements from the three GNSS receivers.
  • 16. The method of claim 1, wherein the GNSS receivers compute their ranges with respect to a stationary GNSS base station.
  • 17. An apparatus for determining positional information about a vehicle, comprising: at least two GNSS receivers for mounting on the vehicle and defining an antenna-to-antenna baseline therebetween; anda processor configured to compute estimates of the covariance matrices of Real Time Kinematic (RTK) Global Satellite Navigation System (GNSS) measurement data obtained by at least two GNSS receivers mounted on the mobile robot, and to fuse the RTK GNSS measurement data according to their corresponding covariance matrices to obtain enhanced positional information.
  • 18. The apparatus of claim 17, wherein an antenna-to-antenna baseline is defined between the GNSS receivers, and the estimates of the covariance matrices are based on the error in the magnitude of a measurement of the antenna-to-antenna baseline and the confidence in the GNSS receiver measurements.
  • 19. The apparatus of claim 18, wherein an antenna-to-antenna baseline is not collinear with the vector of gravity.
  • 20. The apparatus of claim 17, wherein the processor is configured to fuse measurement data from the RTK GNSS receivers with measurement data from an inertial measurement unit (IMU).
  • 21. The apparatus of claim 20, wherein the IMU includes an onboard accelerometer and rate gyro.
  • 22. The apparatus of claim 20, wherein the IMU includes an onboard inclinometer and rate gyro
  • 23. The apparatus of claim 20, wherein the processor comprises a Kalman filter.
  • 24. The apparatus of claim 23, wherein the Kalman filter is configured to produce attitude information about the vehicle.
  • 25. The apparatus of claim 24, wherein the attitude information is derived from the equation
  • 26. The apparatus of claim 24, wherein the positional information also comprises localization information.
  • 27. The apparatus of claim 26, wherein localization information is derived from the equation
  • 28. The apparatus of claim 23, wherein the initial states of the Kalman filter is determined from the difference between GPS measurements and the accelerometer measurement.
  • 29. The apparatus of claim 21, comprising a module for computing an observation vector from measurements obtained from the accelerometer and the GPS receivers, and a Kalman filter receiving as inputs the observation vector, the estimates of the covariance matrices and measurements obtained from the onboard rate gyro and outputting the attitude of the mobile robot.
  • 30. The apparatus of claim 17, comprising at least three GNSS receivers mounted on the mobile robot, and wherein the processor is configured to obtain a pose estimation from measurements from the two GPS receivers.
  • 31. The apparatus of claim 17, wherein the GNSS receivers are configured to compute their ranges with respect to a stationary GNSS base station.
  • 32. An apparatus for determining positional information about a vehicle, comprising: at least two GNSS receivers for mounting on the vehicle and defining an antenna-to-antenna baseline therebetween;an inertial Measurement Unit (IMU) for obtaining data about the movement of the mobile robot; anda processor configured to and to fuse the RTK GNSS measurement data and the data from the IMU to obtain enhanced positional information.
  • 33. The apparatus of claim 32, wherein the processor is configured to compute estimates of the covariance matrices of Real Time Kinematic (RTK) Global Satellite Navigation System (GNSS) measurement data obtained by at least two GNSS receivers mounted on the vehicle and to fuse the RTK GNSS measurement data according to their corresponding covariance matrices.
  • 34. The apparatus of claim 32, wherein the vehicle is a mobile robot or a walking robot or a humanoid robot.