Latitude-free initial alignment method under swaying base based on gradient descent optimization

11512976 · 2022-11-29

Assignee

Inventors

Cpc classification

International classification

Abstract

The disclosure discloses a latitude-free initial alignment method under a swaying base based on gradient descent optimization. Firstly, swaying base latitude-free alignment is regarded as a Wahba attitude determination problem to inhibit device noise interference, and an objective function is established based on a gravitational acceleration vector under an earth system; then an exact solution of the objective function is obtained through a gradient descent optimization method, and inertial system conversion quaternion estimation is achieved under the latitude-free condition; and finally, an attitude quaternion is determined by only using information of an accelerometer and a gyroscope of a strapdown attitude heading reference system, and therefore latitude-free initial alignment under the swaying base is achieved. The disclosure can solve the problem that initial alignment cannot be accomplished with unknown latitude under the swaying base, and thus the application range of the strapdown attitude heading reference system is ensured.

Claims

1. A method comprising: establishing a first objective function using acceleration vectors obtained by an accelerometer and angular velocity vectors obtained by a gyroscope, wherein the accelerometer and the gyroscope are mounted on a vessel comprising a swaying base that has random perturbations relative to the earth, wherein the first objective function is a function of an orientation of a reference frame i.sub.b0 of the vessel at time to with respect to an inertial reference frame i, wherein the orientation is represented by a quaternion q i i b 0 ; obtaining a first value of q i i b 0 by optimizing the first objective function with respect to q i i b 0 ; establishing a second objective function using a velocity vector or a position vector of the vessel, wherein the second objective function is a function of q i i b 0 , wherein the second objective function is ζ ( q i i b 0 , α ( t k ) , β ( t k ) ) = 1 2 .Math. t k [ t k 1 , t k 2 ] .Math. η ( q i i b 0 , α ( t k ) , β ( t k ) ) .Math. 2 , wherein α ( t k ) = v ~ i ( t k ) = - t 0 t k g ~ i ( t ) d t and β ( t k ) = v ~ i b 0 ( t k ) = t 0 t k f ~ i b 0 ( t ) d t , or wherein α ( t k ) = p ~ i ( t k ) = t 0 t k v ~ i ( t ) d t and β ( t k ) = p ~ i b 0 ( t k ) = t 0 t k v ~ i b 0 ( t ) d t , wherein {tilde over (v)}.sup.i(t.sub.k) is the velocity at time t.sub.k in the inertial reference frame i, {tilde over (p)}.sup.i(t.sub.k) is the position vector at time t.sub.k in the inertial reference frame i, {tilde over (v)}.sup.i.sup.bo(t.sub.k) is the velocity vector at time t.sub.k in the reference frame i.sub.b0, p _ i b 0 ( t ) is the position vector at time t.sub.k in the reference frame i.sub.b0, {tilde over (g)}.sup.i(t) is a gravity acceleration vector at the time t in the inertial reference frame i, and f ~ i b 0 ( t ) is an acceleration vector of the vessel at time t in the reference frame i.sub.b0, obtaining a second value of q i i b 0 by optimizing the second objective function with respect to q i i b 0 and by using the first value of q i i b 0 as an initial value; determining a position and orientation of the vessel in a reference system of the earth based the second value of q i i b 0 ; and steering the vessel using the position and orientation of the vessel in the reference system of the earth.

2. The method according to claim 1, wherein the first objective function is ζ ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) ) = 1 2 .Math. t k [ t k 1 , t k 2 ] .Math. η ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) ) .Math. 2 ; wherein η ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) ) = ( q i i b 0 .Math. g ~ i ( t k 1 ) .Math. q i i b 0 + f ~ i b 0 ( t k 1 ) q i i b 0 .Math. g ~ i ( t k 2 ) .Math. q i i b 0 + f ~ i b 0 ( t k 2 ) ) .

Description

BRIEF DESCRIPTION OF FIGURES

(1) FIG. 1 is reference attitude motion curves under a swaying condition.

(2) FIG. 2 is alignment error curves of Three-axis Attitude Determination (TRIAD), Optimization-Based Alignment (OBA), Three Vectors Self-Alignment (TVSA) and Gravitational Apparent Motion (GAM). FIG. 3 schematically shows a vessel with an accelerometer and a gyroscope.

DETAILED DESCRIPTION

(3) The disclosure is further described in combination with accompanying drawings below.

(4) In order to verify the effectiveness of the disclosure, a method of the disclosure is simulated through Matlab®.

(5) First, according to the definition of a coordinate system, at the moment of t=t.sub.0, a carrier coordinate system b coincides with a solidification coordinate system

(6) i b 0 ,
and then

(7) q b i b 0 ( t 0 ) = [ 1 0 0 0 ] T .
Thus, a

(8) q b i b 0
(t.sub.k) updating equation is obtained:

(9) q . b i b 0 ( t k ) = 1 2 q b i b 0 ( t k - 1 ) .Math. ω ~ i b 0 b ( t k )
where

(10) q b i b 0
(t.sub.k) is a carrier swaying quaternion, representing coordinate change of a relative inertia solidification coordinate system caused by carrier swaying motion; and

(11) ω ˜ i b 0 b b ( t k )
is information of gyroscope output angular velocity at the moment t.sub.k.

(12) Likewise, according to the definition of the coordinate system, a formula q.sub.e.sup.i(t.sub.0)=[1 0 0 0].sup.T is established, and a q.sub.e.sup.i(t.sub.k) updating equation is obtained:
{dot over (q)}.sub.e.sup.i(t.sub.k)=½q.sub.e.sup.i(t.sub.k-1).Math.ω.sub.ie.sup.e
where q.sub.e.sup.i(t.sub.k) is an earth rotation quaternion, representing coordinate change of a relative inertia system caused by the earth rotation; and
ω.sub.ie.sup.e is a projection of a rotation angular velocity vector of the earth in an earth coordinate system, and ω.sub.ie.sup.e=[0 0 0 ω.sub.ie].sup.T.

(13) Besides, if local latitude information is known, through rotation of two times, a position quaternion q.sub.e.sup.n can be obtained:
q.sub.e.sup.n=q.sub.n′.sup.n.Math.q.sub.e.sup.n′,
where

(14) { q e n = [ cos ( 90 ° - L 2 ) 0 - sin ( 90 ° - L 2 ) 0 ] T q n n = [ cos ( 45 ° ) 00 - sin ( 45 ° ) ] T .

(15) According to a quaternion multiplication chain rule, an attitude quaternion q.sub.b.sup.n(t.sub.k) can be factorized into a product of four portions including the position quaternion q.sub.e.sup.n, the earth rotation quaternion q.sub.e.sup.i(t.sub.k), an inertial system conversion quaternion

(16) q i b 0 i
and the carrier swaying quaternion

(17) 0 q b i b 0
(t.sub.k);

(18) q b n ( t k ) = q e n .Math. q i e ( t k ) .Math. q i b 0 i .Math. q b i b 0 ( t k ) .

(19) Moreover, a gravitational acceleration vector g.sup.n and a normalization vector g.sup.n thereof under the system are written as follows:
g.sup.n=[0 0 −g].sup.T
g.sup.n=g.sup.n/∥g.sup.n∥[0 0−1].sup.T.

(20) Likewise, a gravitational acceleration vector normalization form g.sup.e under the system is written as follows:
g.sup.e=[−cos L0−sin L].sup.T.

(21) Then the gravitational acceleration vector is converted from an e system to an i system, as shown in a formula:
g.sup.i(t.sub.k)=q.sub.e.sup.i(t.sub.k).Math.g.sup.e.Math.q.sub.e.sup.i*(t.sub.k).

(22) Further, the gravitational acceleration vector is converted from the e system to an i.sub.b.sub.0 system, as shown in a formula:

(23) g ¯ i b 0 ( t k ) = q i i b 0 .Math. g ¯ i ( t k ) .Math. q i i * b 0 = q l i b 0 .Math. q e i ( t k ) .Math. g ¯ e .Math. q e i * ( t k ) .Math. q i i * b 0 .

(24) In a traditional inertial system alignment method, after the gravitational acceleration vector pair

(25) g ¯ i b 0
(t.sub.k) and g.sup.i(t.sub.k) is obtained, an objective function can be established, and then the inertia system conversion quaternion

(26) q i i b 0
is determined. However, under the condition of no latitude, g.sup.e and g.sup.i(t.sub.k) cannot be obtained due to lack of the local latitude information L, and thus g.sup.e needs to be reconstructed. The objective function is established by using output information of an accelerometer in fixed-length sliding window, and a reconstructed gravitational acceleration is obtained by using a gradient descent optimization method to solve the objective function:

(27) g ~ e = [ - 1 - ( 1 m .Math. j = j 1 j m f z ~ ( t j ) ) 2 0 - 1 m .Math. j = j 1 j m f ~ z i ( t j ) ] T .

(28) Under the inertial coordinate system i, a gravitational acceleration vector projection {tilde over (g)}.sup.i(t.sub.k) is:
{tilde over (g)}.sup.i(t.sub.k)=q.sub.e.sup.i(t.sub.k).Math.q.sub.e.sup.i*(t.sub.k).

(29) Besides, at two different moments t=t.sub.k1 and t=t.sub.k2, a formula is established:

(30) { f ~ i b 0 ( t k 1 ) = - q i i 0 .Math. g ~ i ( t k 1 ) .Math. q i i b 0 * f ~ i b 0 ( t k 2 ) = - q i i 0 .Math. g ~ i ( t k 2 ) .Math. q i i b 0 * .

(31) Likewise, inhibiting interference caused by inertial device noise by using measured data in a period of time window and establishing an objective function

(32) ζ ( q i i b 0 , g i ( t k ) , f i b 0 ( t k ) )
are as follows:

(33) min q i i b 0 ζ ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) ) = 1 2 .Math. k 1 , k 2 .Math. η ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) ) .Math. 2 η ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) ) , and = ( q i i b 0 .Math. g ~ i ( t k 1 ) .Math. q i i b 0 * + f ~ i b 0 ( t k 1 ) q i i b 0 .Math. g ~ i ( t k 2 ) .Math. q i i b 0 * + f ~ i b 0 ( t k 2 ) )
the above formula is solved by using the gradient descent optimization method, and its iteration process is shown as follows:

(34) q i i b 0 ( k ) = q i i b 0 ( k - 1 ) - λ ( k ) ζ ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) ) .Math. ζ ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) ) .Math. ζ ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) ) = η T ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) ) q i i b 0 η ( q i i b 0 , g ~ i ( t k ) , f ~ i b 0 ( t k ) )
where

(35) 0 ζ ( q i i b 0 , g ˜ i ( t k ) , f i b 0 ( t k ) )
represents a gradient vector of the objective function

(36) ζ ( q i i b 0 , g ˜ i ( t k ) , f i b 0 ( t k ) ) ,
and λ(k) represents the k.sup.th iteration step length.

(37) Likewise,

(38) q i i b 0
can be determined as long as a vector point pair meeting the following formula can be found:

(39) { β ( t k 1 ) = q i i b 0 .Math. α ( t k 1 ) .Math. q i i b 0 * β ( t k 2 ) = q i i b 0 .Math. α ( t k 2 ) .Math. q i i b 0 * ,
where β(t.sub.k) and α(t.sub.k) respectively represent projections of the vector pair under the inertial solidification coordinate system

(40) i b 0
and the inertial coordinate system i.

(41) A specific establishing mode for further establishing an objective function by using a velocity vector and a position vector respectively in order to improve the inhibiting capability of an algorithm to inertial device noise and linear vibration interference is as follows:

(42) v ~ ib 0 ( t k ) = t 0 t k f ~ i b 0 ( t ) dt v ~ i ( t k ) = - t 0 t k g ~ i ( t ) dt p ~ i b 0 ( t k ) = t 0 t k v ~ i b 0 ( t ) dt p ~ i ( t k ) = t 0 t k v ~ i ( t ) dt min q i i b 0 ζ ( q i i b 0 , α ( t k ) , β ( t k ) ) = 1 2 .Math. k 1 , k 2 .Math. η ( q i i b 0 , α ( t k ) , β ( t k ) ) .Math. 2 η ( q i i b 0 , α ( t k ) , β ( t k ) ) = ( q i i b 0 .Math. α ( t k 1 ) .Math. q i i b 0 * - β ( t k 1 ) q i i b 0 .Math. α ( t k 2 ) .Math. q i i b 0 * - β ( t k 2 ) ) .

(43) Likewise, a determination result of the inertial system conversion quaternion

(44) q i i b 0
is determined by using gradient descent optimization to solve the objective function.

(45) A local latitude L is calculated by using the gravitational acceleration vector {tilde over (g)}.sup.e:

(46) L = sin 1 ( g ~ z e ) = sin - 1 ( 1 m .Math. j = j 1 j m f ~ z i ( t j ) ) .

(47) Then after the local latitude information L is obtained through estimation, the position quaternion q.sub.e.sup.n can be obtained:

(48) q e n = 2 2 [ cos ( 90 ° - L 2 ) - sin ( 90 ° - L 2 ) - sin ( 90 ° - L 2 ) - cos ( 90 ° - L 2 ) ] T ,
and thus the attitude quaternion q.sub.b.sup.n(t) is obtained through updating:

(49) q b n ( t k ) = q e n .Math. q i e ( t k ) .Math. q i b 0 i .Math. q b i b 0 ( t k ) = q e n .Math. q e i * ( t k ) .Math. q i i b 0 * .Math. q b i b 0 ( t k ) .

(50) In order to verify the effectiveness of the swaying base latitude-free self-alignment method provided by the disclosure, a simulation experiment is specially designed, and comparison analysis with a traditional swaying base alignment method depending on latitude information and an existing latitude-free swaying base alignment method is performed.

(51) Simulation conditions are set as follows.

(52) The simulation experiment adopts an inertial device with gyroscopic drift being 0.01°/h and accelerometer null bias being 10.sup.−4 g, and a sampling frequency is 100 Hz. Gyroscope random walk is 0.001°/√{square root over (h)}, and accelerometer measurement noise is 10.sup.−5 g/√{square root over (Hz)}, all treated as white noise. As a reference value of an attitude can be obtained in real time under a simulation environment, as long as a contrast experiment is performed under the same swaying condition, alignment performance of all algorithms can be evaluated by using obtained alignment errors. Thus, local latitude is set by simulation to be 45.7796° (Harbin), the simulation time is 200 s, initial alignment is performed from 0 s to 200 s, and a difference value between an alignment result at an alignment completing moment of the 200.sup.th s and a set reference value is used as an alignment error of this experiment. Specifically, in simulation, a swaying balance position is set to be: ρ=0° (rolling), κ=0° (pitching) and Ψ=45° (heading), an initial phase is (0°,0°,0°), and swaying motion meets the following formula:

(53) 0 { ρ = 10 ° sin ( 2 π 5 t + ϕ i ) θ = 10 ° sin ( π 4 t + ϕ i ) ψ = 45 ° + 5 ° sin ( 2 π 7 t + ϕ i ) .

(54) Corresponding attitude motion curves of the simulation experiment of the first time are as shown in FIG. 1. FIG. 2 shows alignment error curves of traditional TRIAD and OBA methods depending on external latitude information and latitude-free alignment methods TVSA and GAM. It shows in FIG. 2 that through an alignment process of 200 s, TRIAD, OBA, TVSA and GAM are smaller than 0.01° in horizontal error and smaller than 0.1° in heading error. The GAM latitude-free alignment method provided by the disclosure and the traditional TRIAD method depending on the latitude information are both based on a double-vector alignment concept, thereby being similar in alignment convergence process, and better inhibiting noise interference at the 150.sup.th s to enter a convergence state. However, the existing latitude-free alignment method TVSA needs threes groups of vectors to build an objective function and depends on a gravity vector (single frame measured information) under the inertial system at the current moment to determine space orientation information, leading to large noise interference influence within the alignment time (200 s), as shown in FIG. 2, the heading error of TVSA reaches −0.0967°, while the heading error of GAM provided by the disclosure is −0.0604°. Thus, compared with the existing swaying base latitude-free alignment method TVSA, the GAM method provided by the disclosure is faster in alignment convergence speed and better in noise inhibiting capability.