1. INTRODUCTION
High-precision attitude measurement and estimation is one of the most important problems in modern control, navigation and guidance systems. The performance of attitude determination systems with a gyroscope deteriorates over time due to the gyroscope drift, whose angle error can reach several degrees and exerts a negative effect on the accurate launch of submarine weapons. To carry out the real-time control of an underwater vehicle and high-precision guidance, it is necessary to guarantee high attitude determination precision.
Recently, the attitude determination methods based on different sensors have been put forward and widely applied in satellite navigation (Psiaki, Reference Psiaki2004; Gebre-Egziaber et al., Reference Gebre-Egziaber, Hayward and Powell2004; Lee et al., Reference Lee, Choi, Bang and Park2008). However, underwater GPS attitude determination technology does not allow for a high degree of autonomy and concealment as an underwater navigation system, and the underwater environment, leads to the abnormal reception of GPS signals (Psiaki, Reference Psiaki2004; Gebre et al., Reference Gebre-Egziaber, Hayward and Powell2004).
The precision and resolution of attitude determination using optical sensors decrease with the increasing distance of the target. On the other hand, optical sensor noise and light blocking may result in failure of attitude determination. Therefore, attitude determination based on optical measurement can not be used with reliability underwater (Lee et al., Reference Lee, Choi, Bang and Park2008; Liu et al., Reference Liu, Wang and Xiao2012; Kussat et al., Reference Kussat, Chadwell and Zimmerman2005; Mukandan and Ramakrishnan, Reference Mukundan and Ramakrishnan1995). Expensive star sensor attitude measurement methods with the highest recognised precision are mainly applied to spacecraft, satellites and so on. These can independently determine attitude and need to be combined with an inertial navigation system to determine the relative attitude to the inertial space (Huang et al., Reference Huang, Zhou, Wang, Fan and Wu1993; Zhang et al., Reference Zhang, Cao and Chen2005; Jafarizadeh and Jamalipour, Reference Jafarizadeh and Jamalipour2011; Kawano et al., Reference Kawano, Sato, Mitani, Kanai and Hama2002; Liebe, Reference Liebe2002). The attitude determination based on Earth's gravity and magnetic observation using a three-axis accelerometer and a three-axis magnetometer calculates the tilt angle according to the gravity vector and the heading angle in combination with the geomagnetic vector (Caruso, Reference Caruso2014). However, small tilt angle calculation error will lead to large head angle inaccuracy (Zhu and Xu, Reference Zhu and Xu2006).
From the above analysis, it is apparent that there are less effective attitude determination methods available that allow a craft navigating underwater to remain concealed. Using the geomagnetic field to determine an underwater vehicle's attitude is a good choice. However, it is impossible for a single vector magnetometer to independently determine attitude because the geomagnetic vector fails to provide three-axis independent information related to attitude, so a type of full attitude determination approach based on Earth's magnetic gradient tensor measurement is proposed. This method has the advantage of independence and can be applied in underwater navigation to safeguard underwater vehicles. Of course, it can also be used for the attitude determination of other craft. The magnetic gradient tensor measuring device is composed of four three-axis fluxgate magnetometers, which also has the potential advantage of low cost.
2. GEOMAGNETIC GRADIENT TENSOR AND ITS MEASUREMENT
The geomagnetic gradient tensor G is the spatial variation rate of the geomagnetic vector along three directions in a Cartesian coordinate system, namely
where, H x, Hy and H z are the three components in x, y and z directions, respectively. We can obtain g xx + g yy + g zz = 0, g xy = g yx, gxz = g zx, gyz = g zy because the divergence and rotation of the geomagnetic field are all zero. Therefore, the magnetic gradient tensor is a 3 × 3 symmetrical matrix whose trace is zero and there exist five independent components selected as g xx, gyy, gxy, gyz and g zx respectively.
To measure the geomagnetic gradient tensor accurately, a type of sensor configuration scheme called a ten single-axis configuration is adopted and shown in Figure 1, where the arrows represent the sensitive axes of sensors. Two three-axis magnetometers are located at position A to measure the magnetic field denoted as (h 1, h 2, h 3) and B to measure the magnetic field denoted as (h 4, h 5, h 6), respectively. Similarly, the magnetic fields (h 7, h 8) and (h 9, h 10) are measured by two two-axis magnetometers located respectively at positions C and D. The baseline lengths of gradient measurement in the directions x and y are respectively l x and l y. Then, the geomagnetic gradient can be given by
The local perturbations or anomalies from rocks, terrain, man-made objects, etc can be viewed as the components of Earth's magnetic gradient tensor, and these tensor measurements can be accurately surveyed by a precise gradient tensor system through calibration, in which resolution can reach 0·52nT/m (Sui et al., Reference Sui, Li, Wang and Lin2014).
3. ATTITUDE MEASUREMENT PRINCIPLE BASED ON MAGNETIC GRADIENT TENSOR
As shown in Figure 2, the navigation coordinate system is represented by ox nynzn, whose three axes are respectively east, north and up, and ox bybzb is the vehicle coordinate system. The three angles ψ, θ and γ are the heading, pitch and roll angles. Consequently, the relationship between the navigation coordinate and vehicle coordinate can be described as follows: firstly, ox 1y 1z 1 is obtained by rotating ox nynzn with ψ around −oz n; secondly, Ox 2y 2z 2 is obtained by rotating Ox 1y 1z 1 with θ around ox 1; finally, Ox bybzb can be given by rotating Ox 2y 2z 2 around oy 2.
The transformation matrix C nb from the navigation coordinate system to the vehicle coordinate system can be written as
The quantities Gn and Gb show the magnetic gradient tensors in the navigation coordinate system and vehicle coordinate system, respectively. Thus,
where, T expresses the matrix transpose. The quantity Gb can be obtained by a magnetic gradient measurement device because it is generally strapped on the vehicle. On the other hand, Gn can be measured in advance and stored in the navigation computer as the navigation geophysical database. From Equation (4), we can obtain five independent equations for the attitude angles (ψ, θ, γ). To avoid trigonometric function operation of the optimal estimation, the quaternion Q = q 0 + q 1i 0 + q 2j 0 + q 3k 0 is introduced to determine the transform matrix, namely
From Equations (4) and (5), we can deduce the following five independent equations with regard to q 0, q 1, q 2 and q 3
In addition there still exists the following relation for the quaternion
The above six equations can be replaced by
Equation (12) is a group of nonlinear equations, which is traditionally solved using an iterative method, the Newton method, the steepest descent method or conjugate gradient method, etc. According to characteristics of the nonlinear equations shown as Equation (12), the Newton Downhill method is chosen, which is a fast and effective method for solving nonlinear equations. The iterative formula of Newton Downhill method is
where 0 < ω ≤ 1. To guarantee convergence, ω generally meets
We adopt the successive halving method to determine ω. To lighten the burden of calculation, partial derivatives in the Jacobian matrix are replaced by difference approximation.
The solutions $\hat q_0 $, $\hat q_1 $, $\hat q_2 $, $\hat q_3 $ of Equation (12) are given using the above iterative algorithm, and then matrix elements $\hat c_{ij} $ of C bn are obtained (i, j = 1, 2, 3) through substituting $\hat q_0 $,$\hat q_1 $,$\hat q_2 $,$\hat q_3 $ into Equation (5). The following relations can be given using Equations (3) and (4),
where, $\hat \theta $ is the estimated pitch angle; $\hat \psi _{main} $ and $\hat \gamma _{main} $ are respectively the main values of estimated heading and roll angles. The estimated heading and roll angles are decided by the rules shown in Tables 1 and 2, respectively.
The detailed steps for underwater full attitude determination based on geomagnetic gradient tensor measurement are described as follows.
Step 1: Calculate the five components of geomagnetic gradient tensor in the vehicle coordinate system according to the sensor output from the magnetic tensor measurement device and Equation (2);
Step 2: Extract the five components of magnetic gradient tensor in the navigation coordinate system from the geomagnetic navigation database according to the position indicated by the inertial navigation system;
Step 3: Solve the nonlinear Equation (12) and obtain $\hat q_0 $, $\hat q_1 $, $\hat q_2 $ and $\hat q_3 $ using the Newton Downhill method;
Step 4: Substitute $\hat q_0 $, $\hat q_1 $, $\hat q_2 $ and $\hat q_3 $ into Equation (5) to calculate $\hat c_{ij} $, and then calculate three attitude angles according to Equation (15) and Tables 1 and 2.
4. NUMERICAL EXPERIMENTS
We use a single magnetic dipole to produce a geomagnetic anomaly gradient, whose magnetic moments in three directions of the navigation coordinate system are m x = 109 A·m2, m y = 2 × 108 A·m2 and m z = 108 A·m2, respectively. The spatial positions of the magnetic dipole relative to the magnetic gradient tensor measurement device are x = 100 m, y = 50 m and z = 20 m in the navigation coordinate system, respectively. The baseline lengths of magnetic gradient measurement are both 1 m, namely l x = l y = 1 m. The iterative termination condition of the Newton Downhill algorithm is selected as ε = ||x k+1− x k|| ≤ 10−6.
Firstly, the influence of the initial solution on the algorithm accuracy is investigated. The noise of each magnetometer is assumed to be an independent Gaussian noise process with zero mean and variance of σ = 2nT.
Figure 3 shows the convergence of the Newton Downhill method for different initial solutions, where δΦ represents the difference of initial solutions deviating from the true solution. When the difference is very obvious, for example, δΦ = 20o and δΦ = 30o, the error e(t) will fluctuate markedly. But when δΦ = 20o, the Newton Downhill method still shows convergence after a few iterations, which means that the error is less than the given minimum.
The Newton Downhill method generally shows good convergence through not more than 20 iteration steps when δΦ ≤ 20o, which is proved by many simulations. This shows the full attitude determination algorithm costs less computing time and possesses potential application value.
Figure 4 gives the estimated attitude angles in the case of different initial angle errors. From Figure 4, we can see the full attitude determination algorithm is not sensitive to initial angle error, and can estimate effectively the attitude angles as long as initial angle error is less than 20°, where the estimation errors of θ, ψ and γ are about 0·47°, 0·15°, 0·12°, respectively. This further indicates that the full attitude determination algorithm possesses potential application value. The output attitude error of the inertial navigation system is less than 10°, which can be used as the initial attitude of the attitude determination algorithm. The error of the full attitude determination algorithm based on a geomagnetic gradient tensor is less than 0·5°, which remarkably improves the precision of the navigation system.
Next, the influence of the sensor noise on the algorithm accuracy is investigated with other invariable simulation parameters. The resolution and absolute precision of a good fluxgate magnetometer such as the RM100 are respectively 0·1 nT and 1 nT. The resolution of a superconducting vector magnetometer such as the 755R can reach 2 × 10−3 nT. The resolution and relative accuracy of a laser optical pump helium vector magnetic sensor such as the P-2000 are better than 0·01 nT and 0·1 %, respectively. Figure 5 shows the convergence of the algorithm for different sensor noise expressed by σ, which is lower than 10 nT.
From Figure 5, we can see that convergence of the algorithm is not obviously influenced by the sensor noise as long as it is less than 10 nT, when the maximum number of iterations is 18. However, the convergence speed slows significantly when the noise is higher than 10 nT.
Figure 6 gives the estimated attitude angles in conditions of different magnetometer noise. When the noise is less than 10 nT, the estimation errors of θ, ψ and γ are about 0·35°, 0·11°, 0·13°, respectively. The noise of a low-cost three-axis fluxgate sensor is less than 10 nT, and therefore it is feasible for the algorithm to use low-cost three-axis fluxgate sensors to construct a geomagnetic gradient tensor measurement device.
During surveying, the device straps down the inertial platform with gyro of 0·01o/h integrated with other sensors, and then its horizontal misalignment is better than 1′. The errors in platform attitude are viewed directly as attitude determination error, so its effect on attitude determination can be ignored. On the other hand, the errors in location during surveying will also lead to gradient tensor error, and the relationship between them in the surveying plane can be expressed as
where, i, j = x, y, z, Δg ij is the gradient tensor error and Δx and Δy are the location errors. According the above simulations, the attitude determination precision is acceptable when the noise of fluxgate sensor is less than 10 nT. Correspondingly, the errors of gradient tensor are about 10 nT/m. So, Δg ij should be less than 10 nT/m and the errors in location are determined by Equation (16).
5. CONCLUSIONS
Attitude measurement and estimation is one of the most important parts of underwater navigation and control. An underwater full attitude determination method based on geomagnetic gradient tensor measurement is proposed in this paper and its steps are given. The effects of the initial angle error and the sensor noise on the attitude determination are studied by simulation. The results show that the algorithm has the advantages of higher precision and faster convergence when the initial angle error is less than 20o and the sensor noise is less than 10 nT. We can conclude that the algorithm possesses potential application value because an inertial navigation system can provide the initial angles, whose error is less than 10o, and low-cost flux-gate magnetometers can be used to measure geomagnetic gradient tensor.
ACKNOWLEDGEMENT
This work was supported by the National Nature Science Foundation of China under Grant Nos 61004130, Postdoctoral Science Foundation of China under Grant Nos 2012M511446, 2013T60348 and 2013M530145, the Fundamental Research Funds for the Central Universities, the 111 project (B13015), to the Harbin Engineering University, Natural Science Foundation of Heilongjiang Province of China under Grant Nos F201415.