A Tutorial To Inertial Navigation: Yuanxin Wu
A Tutorial To Inertial Navigation: Yuanxin Wu
Yuanxin Wu
yuanxin.wu@sjtu.edu.cn
Research Interests:
State estimation
More info:
http://english.seiee.sjtu.edu.cn/english/detail/2127_1925.htm
Lecture Outline
Attitude alignment/Initialization
3
INS Error equation
A. Dead reckoning
Definition
dead reckoning forward from current
Inertial Navigation = position using inertial measurements
1. Calculate velocity: 0
2. Calculate position: v
0
0 0
0 0
Second law:
In an inertial reference frame, the vector sum of
the forces F (net force) on an object is equal to the mass m of
that object multiplied by the acceleration a of the
object: F = ma. (assumed that the mass m is constant.)
Third law:
When one body exerts a force on a second body, the
second body simultaneously exerts a force equal in
magnitude and opposite in direction on the first body.
Introduction of Inertial Navigation
But ECI frame may be treated as an inertial frame for practical purposes
near the Earth.
Introduction of Inertial Navigation
accelerometer gyroscope
Introduction
Inertial Sensors
of Inertial Navigation
iMAR iNAV-RQH
~$100k
~1km/h
Introduction
Inertial Sensors
of Inertial Navigation
MEMS
Accuracy/Bias Stability
1nm = 1852m
Introduction
Inertial Sensors
of Inertial Navigation
IMU =
a triad of gyro
&
a triad of acc.
Introduction of Inertial Navigation
: inclination angle
Spring force
cos
gravitation force
Spring force
cos
gravitation force
or
r r i +r j +r k
x
b b b
y
b
z
b b
Principle of Inertial
Basic Navigation
Kinematics - orientation
r i +r j +r k r i +r j +r k
x
n n
y
n n
z
n n
x
b b b
y
b
z
b b
r r i i + r j i + r k i
x
n
x
b b n b
y
b n
z
b b n
In matrix form,
rxn i b i n j i
b n
k i
b n
rx
b
n b n n b
ry i j jb jn k j ry
b
rzn i b k n jb k n k b k n rzb
Principle of Inertial
Basic Navigation
Kinematics - orientation
r
x
n
i i
b n
j i
b n
k i r
b n
x
b
b n n
i j jb jn k j r
n b b
r
y y
rn i b k n j k
b n
k k r
b n b
z z
r = n
C n
b r b
Rotation/attitude/orientation/DCM matrix,
which transforms the coordinate vector in b-
frame to the coordinate vector in n-frame.
Principle of Inertial
Basic Navigation
Kinematics - orientation
Similarly, r x
b
i i
n b
j i
n b
k i r
n b
x
n
n b b
i j jn jb k j r
b n n
r
y y
rb i n k b j k
n b b
k k r
n n
z z
r = b
C b
n r n
C C
n
b n
b T Rotation/attitude/orientation/DCM matrix,
which transforms the coordinate vector in n-
frame to the coordinate vector in b-frame.
Principle of Inertial
Basic Navigation
Kinematics - orientation
r =C r
n n b
b and r =C r
b b n
n
So, we get
r =C r =C C r
n n b
b
n
b
b n
n
I C C C Cb
n
b
b
n
n
b
n T
This means that the orientation between any two Cartesian frames is
mathematically an orthogonal matrix.
Principle of Inertial
Basic Navigation
Kinematics - orientation
C I C I CT I CT I C C I CI 0
C I sin n 1 cos n
2
Rotation vector: σ n
Quaternion: q cos sin n
2 2
Non-commutativity term
Consider time interval [0 t],
1 1 sin
σ ω σ ω 2 1 σ σ ω
2 2(1 cos )
0 1 1
ω σ ω σ σ ω σ
2 12
1 t
for small , σ ω α ω, α ω d
2 0
Principle of Inertial
Basic Kinematics
Navigation - orientation
Orientation Kinematics – DCM (method 1)
r =C r
n n b
b
Assume n-frame is stationary : Infinitesimal rotation during ∆
∆t
∆
∆ ∆ ∆ ≜
∆
lim
∆ → ∆
lim lim ≜ ≜
∆ → ∆ ∆ → ∆
where denotes the angular rate vector from n-frame to b-
frame, expressed in b-frame
Homework-1: Is it correct when n-frame is non-stationary?
Principle of Inertial Navigation - orientation
Basic Kinematics
Vector rotation r ω r
r
ωr r
r r sin ω t , r lim ωr
ωr t 0 t
ω
vector rotation
Frame rotation r ω r
(=opposite vector rotation)
Principle of Inertial
Basic Kinematics
Navigation - orientation
r =C r
n n b
b
Cb Cb ω nb Cb Ω nb
n n b n b
Relevant frames
r = Ce r Ce r Ce Ωie r r
i i e i e i e e e
Denote the velocity w.r.t Earth by v r
e e
e
f g C Ω Ω r 2Ω v v
i i i
e
e
ie
e e
ie
e
ie
e
e
e
e
v ee = Cen v en v ee = Cen Ω en
n
v en v en
Principle of
Principle
Inertial of
Navigation
Inertial Navigation
f g Ω Ω r 2Ω C v C Ω v v
e e e
ie
e e
ie
e
ie
e
n
n
e
e
n
n
en
n
e
n
e
f n g ln 2Ωien v en Ω en
n
v en v en
v en Cbn f b 2Ωien Ω enn v en g ln
Xe
v en,E sec L RE h
Curvilinear
L v e , N RN h
n
Position: to be explained…
h v n
e ,U
Attitude:
Cb Cb Ω nb
n n b
Earth and Gravity Model
Earth and Gravity Model
Earth Shape
R2 r 2
Eccentricity: e
R
Rr
Flattening: f
R: semi-major axis R
R r
Curvilinear Position: [λ L h]
λ: longitude
L: geodetic latitude
h: height/altitude
Φ: geocentric latitude
Parallel plane
Meridian plane
Earth and Gravity Model
R 1 e 2
RN
1 e sin L
2 2 32
L v nN RN h
x RE h cos L cos
y RE h cos L sin
z 1 e 2 RE h sin L
2. [x y z] → [λ L h]
Iterative methods RE PQ
e.g., (Wu, TAES’2003)
Earth and Gravity Model
Gravity
gravity
g g g
T
Gal = 1cm/s2, mGal = 1e-5 m/s2
gravity anomaly vertical deflections
(up to 10-50”)
g 0 9.780318 1 5.3024 103 sin 2 L 5.9 106 sin 2 2 L m s 2
g 0
g h , R0 RE RN
1 h R0
2
Inertial Navigation Computation
(NED-geodetic frame as an example)
(Wu, TAES’2013)
Principle Inertial
of Inertial
Navigation
Navigation
Computation
v en,E sec L RE h
Curvilinear
L v e , N RN h
n
Position:
h v n
e ,U
Attitude:
Cb Cb Ω nb
n n b
Navigation Computation
Inertial Navigation Computation
Attitude computation
Cb Cb Ω nb
n n b
ω b
nb ω C ω
b
ib
b
n
n
in
Dilemma: the right side contains the solution to be computed
C t C t C t
n
b
n
i
i
b
i Ci Ω b
C i Ci Ω n
C
b b ib n n in
ω cos L 0 sin L
T
ω ω ω
n n n n
in ie en ie
T
T vE vN v E tan L
ω en cos L L sin L
n
RE h RN h RE h
v E RE h cos L ,L v N RN h
Navigation
Inertial
Computation
Navigation Computation
Attitude computation
Recall its relation to rotation vector σ n
C I sin n 1 cos n
2
1 t 2 t
σ ω α ω
k k
2 2
Two samples: θ θ θ θ 1 2 1 2
3
One sample: θ
Attitude computation
C k 1 C C k C
n n k 1 n b k
Then b n k b b k 1
sin n 1 cos n
Cnn kk 1 σ n σ n
2
I
n n2
2
ωinn σ n θ n
σ b θ1b θb2 θ1b θb2 ωbib
3
Velocity computation
v en Cbn f b 2Ωien Ω en
n
e l
v n
g n
Velocity computation
T2 n n n
Cn t Ωien v en dt
tk 1
TI Ωin Ωie v e
n k
tk 2
tk 1 nk n T2 n n
tk
C nt
g dt TI
2
Ωin g
T tk 1 tk
Navigation
Inertial
Computation
Navigation Computation
Velocity computation
The first integral (integrand is fast-changing)
Substituting C
bk
b t
I σb I tk
t
ω bib d
tk
tk 1
C bk b
f dt t
b t
tk 1
k
I
tk
t
ωbib d f b dt
1 2
v1 v 2 θ1 θ 2 v1 v 2 θ1 v 2 v1 θ 2
2 3
Velocity computation
v en k 1
n k 1 v n k Cn k tk 1 Cb k f b dt tk 1 Cn k Ω n v n dt tk 1 Cn k g n dt
b k t tk nt ie e tk nt
C nk e k
bt
n T2 n n n T 2 n n
v k 1 C v e k u k 1 TI Ωin Ωie v e k TI Ωin g
n n k 1
e n k
2 2
where u k 1 C k v n
b 1 v 2
1
θ1 θ2 v1 v 2 θ1 v 2 v1 θ2
2
2 3
Navigation
Inertial
Computation
Navigation Computation
Position computation
v en,E sec L RE h 0 sec L RE h 0 v en, N
p L v en, N RN h 1 RN h 0 0 v en,E R c v en
h v n 0 1 0 v n
e ,U e ,D
r k 1 C
n k 1 Tv n k tk 1 Cn k Ω n r n dt
tk nt in
n
n k e
Position computation
n T2 T3 n n n T2 T3 n n
r k 1 C
n n k 1
nk Tv e k I u k 1 I Ωin Ωie v e k I Ωin g
2 6 2 6
T n
where I u k 1 Cb k 25v1 5v 2 12θ1 v1 8θ1 v 2 2v1 θ 2 2θ 2 v 2
30
Navigation
Inertial
Computation
Navigation Computation
A Level-flight example
v 0 a sin wt 0 , a = 10 and w = 0.02π
n T
e
Inertial Attitude Alignment/Initialization
(Wu, AST’2011; Wu, TAES’2013)
Inertial Attitude Alignment
Optimization-based method
v en Cbn f b 2Ωien Ω en
n
ve gl
n n
Substituting C t C
n
b
n t
n 0
C 0 C
n
b
b 0
b t
Cbn 0 Cb t f b Cn t v en + 2Ωien Ωenn v en g n
b 0 n 0
Known by Known by aided sources
gyro/acc. outputs e.g. quasi-static or GPS
C 0
n
b α β
Optimization-based method
Cbn 0 α tk β tk tk 0 t
Using attitude quaternion to re-express it as
q α tk q* β tk β tk α tk q 0
which is posed as an unit quaternion-constrained
minimization problem
T
arg min q Kq T
K β tM α tM β tM α tM
M
q S 3
Attitude Inertial
AlignmentAttitude Alignment
Optimization-based method
arg min q Kq
T
q S 3
Optimization-based method
Swaying alignment test on a turntable v 0
n
e
Attitude Inertial
AlignmentAttitude Alignment
Optimization-based method
Swaying alignment test on a turntable v 0
n
e
Attitude Inertial
AlignmentAttitude Alignment
Optimization-based method
Swaying alignment
test on a turntable
Heading accuracy:
0.06 deg / 80s
OBAUF: apply low-pass
filtering for both sides: Cbn 0 Cbb t0f b Cnn t0 v en + 2Ωien Ωenn v en g n
Attitude Inertial
AlignmentAttitude Alignment
Optimization-based method
In-motion alignment for airborne INS/GPS
500
400
300 S2
Height
200
S1
S3
100
0
6
4 20
15
4 2 10
x 10 5 4
0 x 10
0
South-North -2 -5
West-East
Attitude Inertial
AlignmentAttitude Alignment
Optimization-based method
In-motion alignment for airborne INS/GPS
Heading: < 1deg / 10s
Optimization-based method
In-motion alignment aided by body-mounted sensors
Doppler-/odometer-based VMS
Attitude Inertial
AlignmentAttitude Alignment
Optimization-based method
In-motion alignment aided by body-mounted VMS
sensors
C 0 C
n
b
b 0 b
f C
b t
n 0
n t v en + 2Ωien Ωenn v en g n
For VMS: y Cbn v en
C 0 C
n
b
b 0
b t f ω y y C
b b
ib
n 0
n t
gn
Optimization-based method
In-motion alignment for underwater INS/DVL
Heading accuracy:
< 1 deg / 210s
Attitude Inertial
AlignmentAttitude Alignment
1. How to obtain acceleration?
2. How to obtain v(0) and p(0)?
3. What’s the reference of acc., vel & pos?
v en,E sec L RE h
Curvilinear
L v e , N RN h
n
Position:
h v n
e ,U
Attitude:
Cb Cb Ω nb
n n b
Inertial Navigation Error Analysis
n Cn Ωb
C b b nb
Attitude Error
Cbn Ωibb Ωbin
Cbn Ωibb Cbn Ωinn Cbn Cbn Ωibb Ωinn Cbn
Cb BCb I ψ Cb
n n n
0
0
ψ I Cb Cb
n nT
0
n nT
ψ Cb Cb Cb Cb
n nT
n C n Ωb Ω n Cn n n b n n
C b b ib in b Cb Cb Ωib Ωin Cb
Inertial Navigation Error Analysis
n b n n nT
ψ Cb Ωib Cb ΩinCb Cb Cb Ωib Cb Cb Cb Ωin
nT n b nT n nT n
n Ω
C b
b Ωb CnT Ω
ib ib b
nC
nCnT C
in b b
nCnT Ω n
b b in
x x x n I ψ Cn
substuting C b b
ψ I ψ Cbn ΩbibCbnT Ω
n I ψ CnCnT I ψ CnCnT Ω n
in b b b b in
Up to 1st order ψΩ Ω ψ Ω C Ω C
n
in
n
in
n
in
n
b
b
ib
nT
b
Velocity Error
v en Cbn f b 2Ωien Ω en
n
ve gl
n n
n I ψ Cn Cn C
C n Cn ψCn
b b b b b b
2 ωien ω en
n
ven gln Relatively small
quantities
Cbn f b ψ Cbn f b
Inertial Navigation Error Analysis
h v n
e ,U
h v ne ,U
Inertial Navigation Error Analysis
x vN vE vD L h
T
T
u x y z f x f y f z
x F x Gu
Alignment and
inertial navigation
Compu. att/vel/pos
9-axis Module
3-axis Magnetometer
for magnetic sensing
3-axis Gyroscopes
for angular velocity
3-axis Accelerometers
for non-gravitational acc.
Main References
Groves, P. D. (2013). Principles of GNSS, Inertial, and Multisensor Integrated Navigation
Systems, Artech House, Boston and London.
Wu, M., Y. Wu, et al. (2011). "Optimization-based Alignment for Inertial Navigation
Systems: Theory and Algorithm." Aerospace Science and Technology 15(1): 1-17.
Wu, Y. and X. Pan (2013). "Velocity/Position Integration Formula (I): Application to In-
flight Coarse Alignment." IEEE Trans. on Aerospace and Electronic Systems 49(2):
1006-1023.