Latitude-free initial alignment method under swaying base based on gradient descent optimization
11512976 · 2022-11-29
Assignee
Inventors
- Ya Zhang (Harbin, CN)
- Qian Sun (Harbin, CN)
- Wei Gao (Harbin, CN)
- Fei Yu (Harbin, CN)
- Yanyan Wang (Harbin, CN)
- Xiuwei Xia (Harbin, CN)
- Jianxiong Wei (Harbin, CN)
- Weiqi Miao (Harbin, CN)
Cpc classification
G06F17/11
PHYSICS
G01C21/183
PHYSICS
G06F17/16
PHYSICS
International classification
G01C25/00
PHYSICS
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
2. The method according to claim 1, wherein the first objective function is
Description
BRIEF DESCRIPTION OF FIGURES
(1)
(2)
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)
and then
(7)
Thus, a
(8)
(t.sub.k) updating equation is obtained:
(9)
where
(10)
(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)
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)
(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)
and the carrier swaying quaternion
(17)
(t.sub.k);
(18)
(19) Moreover, a gravitational acceleration vector g.sup.n and a normalization vector
g.sup.n=[0 0 −g].sup.T
(20) Likewise, a gravitational acceleration vector normalization form
(21) Then the gravitational acceleration vector is converted from an e system to an i system, as shown in a formula:
(22) Further, the gravitational acceleration vector is converted from the e system to an i.sub.b.sub.
(23)
(24) In a traditional inertial system alignment method, after the gravitational acceleration vector pair
(25)
(t.sub.k) and
(26)
is determined. However, under the condition of no latitude,
(27)
(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)
(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)
are as follows:
(33)
the above formula is solved by using the gradient descent optimization method, and its iteration process is shown as follows:
(34)
where
(35)
represents a gradient vector of the objective function
(36)
and λ(k) represents the k.sup.th iteration step length.
(37) Likewise,
(38)
can be determined as long as a vector point pair meeting the following formula can be found:
(39)
where β(t.sub.k) and α(t.sub.k) respectively represent projections of the vector pair under the inertial solidification coordinate system
(40)
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)
(43) Likewise, a determination result of the inertial system conversion quaternion
(44)
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)
(47) Then after the local latitude information L is obtained through estimation, the position quaternion q.sub.e.sup.n can be obtained:
(48)
and thus the attitude quaternion q.sub.b.sup.n(t) is obtained through updating:
(49)
(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)
(54) Corresponding attitude motion curves of the simulation experiment of the first time are as shown in