Literature DB >> 25268911

Attitude heading reference system using MEMS inertial sensors with dual-axis rotation.

Li Kang1, Lingyun Ye2, Kaichen Song3, Yang Zhou4.   

Abstract

This paper proposes a low cost and small size attitude and heading reference system based on MEMS inertial sensors. A dual-axis rotation structure with a proper rotary scheme according to the design principles is applied in the system to compensate for the attitude and heading drift caused by the large gyroscope biases. An optimization algorithm is applied to compensate for the installation angle error between the body frame and the rotation table's frame. Simulations and experiments are carried out to evaluate the performance of the AHRS. The results show that the proper rotation could significantly reduce the attitude and heading drifts. Moreover, the new AHRS is not affected by magnetic interference. After the rotation, the attitude and heading are almost just oscillating in a range. The attitude error is about 3° and the heading error is less than 3° which are at least 5 times better than the non-rotation condition.

Entities:  

Year:  2014        PMID: 25268911      PMCID: PMC4239863          DOI: 10.3390/s141018075

Source DB:  PubMed          Journal:  Sensors (Basel)        ISSN: 1424-8220            Impact factor:   3.576


Introduction

Attitude heading reference systems (AHRSs) which provide in-motion horizontal attitude as pitch and roll, and vertical angle as heading, are widely used in Autonomous Underwater Vehicles (AUVs) [1,2]. In order to afford sufficiently high precision, an AHRS often requires an inertial measurement unit (IMU) with high accuracy optical gyroscopes and quartz flexible accelerometers. It is too expensive to the low-cost applications. Moreover, the size of the AHRS is large. It does not fit the small sized and low cost AUVs such as the followers of a multi AUVs cooperative navigation system [3]. The position of the followers could be obtained from the leaders, while the attitude and heading should be gathered by itself. A thrifty way of doing this is using a digital magnetic compass [4,5]. These devices are low-cost and could achieve a heading accuracy of several milliradians. However, the accuracy drops easily while encountering electromagnetic interference such as the motors and the solenoid for the emergency jettison in the AUVs. It is not robust in such a harsh environment. With the fast development of low-cost Micro-Electro-Mechanical System (MEMS), the AHRS with MEMS inertial sensors could be a potential method. Nowadays, the bias instability of the commercial MEMS gyroscopes is about several or more than 10°/h [6,7]. It is not enough for an AHRS, but the output accuracy could be improved by the IMU rotation technology [8,9]. The IMU rotation technology was initiated by the North Atlantic Treaty Organization (NATO) in the 1980s for marine inertial navigation systems [10]. This technology includes two main types, the single-axis rotation type such as MK39 and WSN-7B [11] and the dual-axis rotation type such as MK49 and WSN-7A [12,13]. It could reduce part of the inertial sensors' drifts for the single-axis rotation type; while the drifts of all the inertial sensors could be removed for the dual-axis type. Recently, this technology is still developing. The rotation scheme would affect the compensation result. Yuan et al. proposed an 8-sequence and a 16-sequence rotation scheme for the dual-axis rotational INS, which could compensate not only the drifts but also the scale factor errors of the gyroscopes [10]. The mounting errors between the IMU's body frame and the rotation table's frame must be calibrated since these errors will significantly affect the output attitude. Song et al. introduced the thin-shell algorithm to alignment these errors [14]. In recent times, this technology has been extended to the MEMS inertial sensors fields. Iozan et al. designed a north finding system using a MEMS gyroscope with a single-axis rotary table to compensate the gyroscope's bias [15]. Wei et al. introduced a MEMS gyroscope north finding system for mobile robot with a single-axis turntable [16]. It could detect the heading angle while the robot is stationary. Renkoski proposed a dual-axis continues rotation MEMS IMU for gyrocompassing applications. With a baseball stitch like slew, the heading angle error was almost not increasing in 60 s, and the north finding accuracy is improved compared with the 2-postion method [17]. This paper introduces IMU rotation technology into MEMS inertial sensors to produce an AHRS. The AHRS is self-contained and could provide in-motion horizontal attitude and heading. The rest paper is organized as follows. Section 2 explains the problem in mathematics. Section 3 proposes the AHRS and its rotary scheme according to the design principles. Section 4 analyzes the error sources of the AHRS and demonstrates the error compensation scheme in mathematics. The accuracy of the AHRS is evaluated with simulation in Section 5 and experiments in Section 6. Conclusions are drawn in Section 7.

Problem Statement

The coordinate frames used here are defined as follows: The n frame is the ideal local level navigation coordinate frame with east-north-up geodetic axes. The n′ frame is the real local level navigation coordinate frame. There are some errors between n and n′ frame owing to the sensor errors. The b frame is the MEMS inertial sensor's body coordinate frame. The e frame is the Earth coordinate frame. The i frame is the nonrotating inertial coordinate frame. The r frame is the rotation table's frame. The d frame is the vehicle's body coordinate frame. The attitude and heading are updated using the common navigation equation as [18] where is the attitude Direct Cosine Matrix (DCM) from the b frame to the n frame and is the angular rate of the IMU in the b frame with respect to the n frame described as is the angular rate measured by the gyroscopes in the b frame, is the angular rate of the Earth's rotation in the n frame, is the rotation angular rate of the n frame with respect to the e frame, the (·)× is the skew symmetric matrix form of a cross-product which satisfies × = (×). Owing to the gyroscopes' measurement errors, the true is unavailable. In most case, we could only obtain its approximation with some errors as . The Euler angle errors between the n frame and the n′ frame are described as [19-21] where = [α]T is the Euler angle errors, and is a 3 × 3 matrix defined as is a 3 × 3 identity matrix, and is the DCM from the n frame to the n′ frame, as where is the angular rate error of the Earth's rotation in the n frame caused by the latitude error, is the angular rate error caused by the velocity errors on the Earth, is the biases of the gyroscopes, and δ is the scale factor errors and axis misalignment errors matrix of the gyroscopes. For an accurate AHRS, the goal is to make every effort to let close to the true DCM . In other words, let close to zero.When is close to zero, for Equation (3), the part is near zero. Because the AUVs would not sail in a very high speed (commonly several meters per second), the part is only several percent °/h if we regard the velocity as zero. Also, the part is several percent °/h if the latitude is roughly known, while the MEMS gyroscopes' error is several or more than 10°/h. In order to let close to zero, the key is to make every effort to reduce the effect caused by the gyroscopes' biases, scale factor errors, and the axis misalignment errors.

Design Principles

Equation (7) can be separated with two parts: and . For the first part, is frequently changing through two axis rotations. Therefore, if the sum of could reach zero, the first part could be compensated. While with the introduction of the additional rotations, would be much larger. This means that the second part would be increased. So the design principles should be as follows: Try to keep . The rotation should be performed in both directions to compensate the part. The rotational speed should be fast to ensure that the gyroscopes' biases and scale factor errors are as unchanged in one compensation cycle. In view of these principles, a MEMS inertial sensor based AHRS is designed as shown in Figure 1. The block diagram is shown in Figure 2.
Figure 1.

(a) Micro-Electro-Mechanical System (MEMS) inertial sensor based Attitude Heading Reference System (AHRS); (b) Size of the AHRS compared with a quarter dollar coin.

Figure 2.

Block diagram of the AHRS.

The AHRS is designed as a y-z two axis reversible rotational structure. The rotation encoders are installed in both directions to measure the rotational angles since these extra angles should be compensated while outputting the attitude and heading. The signal and power wires are through the rotary centers to avoid the length changes. According to the rotational structure, a proper rotary scheme is considered, as presented in Figure 3.
Figure 3.

The rotary scheme. The directions of the rotations are according to the d frame.

Firstly, the rotation is performed in back and forth mode to avoid the influence of scale factor errors and axis misalignment errors and to keep the wires untwined. Secondly, since there are acceleration and deceleration stages for any rotation, the rotation is divided into 180° for one step. Then the duration of each direction and its opposite direction could be the same. Thirdly, 8 s is the fastest time that the motor and gear could finish the 180° turn.

Error Analysis and Compensation for the AHRS

In this section, we will have a delicate numerical analysis of the AHRS's attitude and heading errors according to the rotary scheme designed in Section 3. Besides, a new compensation algorithm to deal with the installation errors between the b frame and the r frame is proposed.

Installation Error Compensation

For a general AHRS, the outputs are the IMU's attitude and heading. While for a rotational AHRS, the additional information caused by the rotation should be compensated. The attitude and heading should be included in the DCM between the d frame and the n frame as where r0 is the rotational table's frame at the initial time, and can be calculated through the rotation encoders. The AHRS could be initialized to let the d frame be parallel with the r0 frame by the adjustment based on the rotation encoders. Then, could be an identity matrix. When the IMU is fixed on the rotational table, it is hoped that the b frame is parallel with the r frame. However, there are always some installation errors between these two frames, which should be compensated. Here, an optimization method is presented to detect the installation error DCM . The rotary structure is rotated into four directions, displayed in Figure 4. The specific force of the IMU is collected as , m = 1,2,3,4. There exists a relationship between and as where is the specific force in the r frame which is unidentified, and the are 3 × 3 DCMs agreeing with the directions as
Figure 4.

Rotation directions for installation error compensation.

For the equation like Equation (9), if is known, can be uniquely solved by an optimization method using the singular value decomposition (SVD) as [22] Calculate the 3 × 3 matrix Determine the SVD of Calculate So the key is to identify . From Equations (9) and (10), we could get some interesting relations as where |·| is the operator to get the magnitude. is a DCM, it could change the direction of a vector and keep the magnitude unchanged. So Equation (14) can be simplified as And the signs of can be determined by making the r frame oblique in direction 1.

Attitude and Heading Errors Compensation

This part gives the numerical analysis of the attitude and heading errors based on the proposed rotary scheme to explain how this scheme can achieve the effect described in Equation (7). There are acceleration and deceleration stages in each rotational step. The sinusoids are used here to simulate the rotational speed as where T is the duration of one rotation step. Its integral form is Then, the rotation steps from 1 to 16 can be expressed as From Equation (8), can be conveyed as And then the error compensation of the rotary scheme in each cycle can be obtained as follows Equations (35) and (36) show that the proposed rotary scheme could achieve the goal in Equation (7). The biases, scale factor errors, and axis misalignment errors can be completely counteracted.

Simulation

Three simulations are carried out to verify the rotation schemes. The conditions for the simulation are as follows: (1) the simulation's latitude is 30°; (2) the rotation time for each step is 8 s; (3) the simulation time is 3600 s. The derivation in Sections 3 and 4 is based on the principle that the sensor errors are as unchanged in one compensation cycle. So, constant errors are applied in the first simulation to prove that the derivation is reasonable. The constant biases are set to 15°/h; the constant scale factor errors are set to 0.2% of the scale factor; and the constant axis misalignment angles are set to 0.6° for the simulation. The simulation also includes a comparison between two methods: (1) attitude and heading sensing with rotations (AHWR); (2) attitude and heading sensing without rotations (AHNR). Figure 5 and Table 1 show the comparison results. The attitude and heading errors are significantly decreased based on the rotation scheme. The errors do not increase with time compared with AHNR.
Figure 5.

Attitude and heading errors comparison between attitude and heading sensing with rotations (AHWR) and attitude and heading sensing without rotations (AHNR) with constant gyroscope biases, scale factor errors, and axis misalignment angles.

Table 1.

Statistics of Figure 5.

MeanSTDMaxMin
Pitch error (°)AHWR−0.0390.7581.406−1.401
AHNR7.8394.59015.8500

Roll error (°)AHWR−0.5730.5970.592−1.603
AHNR6.6263.56812.3600

Heading error (°)AHWR0.6510.6621.884−0.603
AHNR7.4584.32315.0010
In order to separate the errors, the simulation also includes AHWR with constant gyro bias only (CB), AHWR with constant gyro scale factor errors only (CSF), and AHWR with constant axis misalignment angles only (CAM). Figure 6 shows the results within 2 compensation cycles. One compensation cycle lasts 128 s.The errors caused by gyroscope bias may increase in quarter of a cycle. So, it equals to 0.14° with gyroscope bias of 15°/h. The residual errors caused by the scale factor errors are about 0.4° and the remaining errors caused by the axis misalignment angles are about 1.5° when rotating 180°. They are all consistent with the error sources. Owing to the back and forth rotary scheme, the errors are only oscillating. Note also that the error levels of CSF and CAM are much larger than CB. So a potential way to improve the accuracy is to try to improve the techniques to produce MEMS gyroscopes with smaller scale factor errors and axis misalignment angles.
Figure 6.

Attitude and heading errors caused by different error sources.

The compensation in Section 4.2 is based on the hypothesis that the biases and the scale factor errors are constant. Practically, for the real sensors, the errors should include not only constant part but also long term drift part and additional noise part. The second simulation adds random bias long term drift to the sensors. The rate is 15°/h, and the frequency is lower than 0.002 Hz. The simulation runs 100 times. The results are shown in Figure 7 and Table 2.
Figure 7.

Average attitude and heading errors with long term drift added to bias. The dash lines are 1σ envelopes.

Table 2.

Statistics of Figure 7.

MeanSTDMaxMin
Pitch error (°)Average of 100 times0.0020.7871.462−1.407
1σ envelopes0.031

Roll error (°)Average of 100 times−0.5740.5730.299−1.449
1σ envelopes0.026

Heading error (°)Average of 100 times0.6590.5741.539−0.244
1σ envelopes0.014
The results in Figure 7 are similar to Figure 5. It means that the long term drift can also be compensated by the rotations. The 1σ envelopes are within 0.04°. They are too close to the average values to see them clearly. The third simulation adds additional noises to the sensors. The rates are 0.009°/s/ for bias, random data within ±0.25% for the scale factor. The simulation also runs 100 times. Figure 8 displays the average errors, as well as the respective 1σ envelopes.
Figure 8.

Average attitude and heading errors with noises added to bias and scale factor. The dash lines are 1σ envelopes.

In Figure 8, the average pitch error is within 0.15°, the average roll error is within 0.2°, and the average heading error is within 0.15°. The average errors are not growing with time. Although the average attitude and heading errors keep steady, its 1σ envelopes are increasing with time. After 3600 s, the errors reach 0.5° for both attitude and heading. So, with real sensors, the main error source is the random noises which cannot be compensated by rotation.

Experimental Results

Three experiments are carried out on the AHRS shown in Figure 1 to demonstrate the performance with real sensors. The parameters of the sensors are as follows: Gyroscope: bias stability: around 15°/h, noise: 0.009°/s/ , axis misalignment: 0.6°; Accelerometers: accuracy: 5 mg; Rotation encoder: resolution: 0.03°. The AHRS is fixed on an already calibrated turntable that the initial heading could be directly obtained from the turntable. The initial pitch and roll could be gathered from the accelerometers through two simple equations as [23] where g is the gravity force. The turntable keeps still in the first experiment. It means that the pitch, roll and heading are stable. The attitude and heading errors are the output drift. The first experiment is carried out three times and each one lasts 1800 s. The results are shown in Table 3. We take the first one as an example to give the experiment details. The results are performed from Figure 9, 10 and Figure 11.
Table 3.

Statistics of the first experiment.

MeanSTDMaxMin
Pitch error (°)10.0150.5141.209−1.048
20.7070.9522.837−1.520
3−0.8610.6900.831−2.780

Roll error (°)1−0.3590.5090.889−1.909
20.1670.9081.987−2.245
30.4100.8992.425−1.227

Heading error (°)1−0.1840.3010.687−1.050
2−0.2640.6031.055−1.707
30.2900.8842.414−1.493
Figure 9.

Rotation encoder outputs in two rotation cycles.

Figure 10.

Attitude and heading errors of experiment 1 without installation error compensation.

Figure 11.

Attitude and heading errors of experiment 1 after installation error compensation.

Figure 9 displays the outputs of the rotation encoders within two rotation cycles. Owing to the rotation speed errors, one rotation cycle is not exactly 128 s. Figure 10 gives the attitude and heading errors before the installation error compensation, while Figure 11 shows the results after the compensation. Both the errors in Figures 10 and 11 are oscillating within a range. However, it is clear that the range after the compensation is smaller. The statistics in Table 3 are based on Figure 11. The oscillatory ranges are all within 2°. According to the results of the simulations, these oscillations are caused by the scale factor errors and axis misalignment angles. Owing to the back and forth rotation mode, these errors would not increase. These results in Figure 11 are consistent with the simulations. In the second experiment, the turntable performed a ±15°, 0.1 Hz swing on the heading to evaluate the performance of the AHRS in dynamic environment. The reason we choose heading as the swing axis is that, for most of the AHRS, a roughly known pitch and roll can still be obtained from the accelerometers using the Equations (37) and (38) in motion situations, while the heading could only be obtained from the integration of the gyroscopes. The experiment is also performed three times, and each one lasts for 3600 s. The results are displayed in Table 4. We also take the first one as an example to give the experiment details. The results are performed in Figures 12 and 13.
Table 4.

Statistics of the second experiment.

MeanSTDMaxMin
Pitch error (°)1−0.2480.8712.223−2.701
2−0.3540.8262.017−2.939
3−0.2550.7432.205−2.456

Roll error (°)1−0.8350.9081.888−3.332
20.0091.1242.989−2.924
3−0.1511.0182.535−2.935

Heading error (°)1−0.1110.4911.606−1.685
2−0.1370.7321.751−2.054
3−0.4841.0282.861−2.867
Figure 12.

Heading comparison between the AHRS and the turntable.

Figure 13.

Attitude and heading errors of experiment 2.

The original output data rate of the turntable is 1 Hz. The data rate is increased by using a sinusoid wave curve fitting to 100 Hz. Figure 12 displays the heading outputs of the AHRS and the turntable within 10 cycles. The time delay between two outputs is about 0.14 s. These delays are already fixed in Figure 12. Figure 13 shows the errors of this experiment. The installation errors are already compensated in these two figures. The errors are a little bit larger compared with the stand-still condition. The pitch and roll errors are about 3°, and the heading error is within 2°. The third experiment is a comparison between the AHRS proposed by this paper (AHRS1) and a low cost digital magnetic compass based AHRS (AHRS2) to show that AHRS1 is more stable in some magnetic interference environment. The AHRS1 and AHRS2 are all put on the turntable. The turntable still performed a ±15°, 0.1 Hz swing on the heading. The experiment lasts for 800 s. For the first 400 s, we do not add any magnetic interference to these AHRSs. After 400 s, magnetic interference is added. The results are shown in Figures 14 and 15, and Table 5. In order to make waveforms clear, Figure 14 only shows the output between 300 s to 500 s.
Figure 14.

Heading comparison between AHRS1, AHRS2, and the turntable. Magnetic interference is added after 400 s.

Figure 15.

Attitude and heading errors comparison between AHRS1 and AHRS2. Magnetic interference is added after 400 s.

Table 5.

Statistics of the third experiment.

MeanSTDMaxMin
Pitch error (°)AHRS1−0.4410.5931.065−2.127
AHRS20.1220.0440.2470.002

Roll error (°)AHRS1−0.1490.9351.843−2.302
AHRS2−0.0800.0610.063−0.318

Heading error (°) before interference addedAHRS1−0.3880.6631.132−2.069
AHRS2−0.1460.7551.855−3.378

Heading error (°) after interference addedAHRS1−0.9190.7090.751−2.457
AHRS2−8.4667.09123.860−48.260
For pitch and roll, the errors of AHRS2 are smaller than AHRS1, but the errors are on the same level. While for heading, the errors of AHRS1 and AHRS2 are on the same level before the magnetic interference is added. When the magnetic interference is added, the error statistics of AHRS1 keep small while the errors of AHRS2 are significantly increased.

Conclusions

A low cost and small size attitude and heading reference system based on MEMS inertial sensors is presented. The AHRS is based on a dual-axis rotation structure with a proper rotary scheme to compensate the attitude and heading drift caused by the large gyroscope biases, scale factor errors and axis misalignment errors. Also the installation angle error between the body frame and the rotation table's frame is calibrated through an optimization algorithm. Simulations and experiments are proposed to evaluate the performance of the AHRS. The attitude and heading drift are significantly reduced by the proper rotary scheme. The new AHRS is not affected by magnetic interference. The attitude error is about 3° and the heading error is less than 3°, which are at least 5 times better than the non-rotation condition. Furthermore, the errors are almost just oscillating within a range. Most of these oscillatory errors are caused by the scale factor errors and axis misalignment errors with additional rotations. So we believe that the accuracy could be further improved if the scale factor errors and axis misalignment errors of the MEMS gyroscopes could be reduced.
  1 in total

1.  Minimal-Drift Heading Measurement using a MEMS Gyro for Indoor Mobile Robots.

Authors:  Sung Kyung Hong; Sungsu Park
Journal:  Sensors (Basel)       Date:  2008-11-17       Impact factor: 3.576

  1 in total
  3 in total

1.  A New Self-Calibration and Compensation Method for Installation Errors of Uniaxial Rotation Module Inertial Navigation System.

Authors:  Meng Niu; Hongyu Ma; Xinglin Sun; Tiantian Huang; Kaichen Song
Journal:  Sensors (Basel)       Date:  2022-05-17       Impact factor: 3.847

2.  A Novel MEMS Gyro North Finder Design Based on the Rotation Modulation Technique.

Authors:  Yongjian Zhang; Bin Zhou; Mingliang Song; Bo Hou; Haifeng Xing; Rong Zhang
Journal:  Sensors (Basel)       Date:  2017-04-28       Impact factor: 3.576

3.  A System-Level Self-Calibration Method for Installation Errors in A Dual-Axis Rotational Inertial Navigation System.

Authors:  Shiyu Bai; Jizhou Lai; Pin Lyu; Xiaowei Xu; Ming Liu; Kai Huang
Journal:  Sensors (Basel)       Date:  2019-09-16       Impact factor: 3.576

  3 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.