Beruflich Dokumente
Kultur Dokumente
applications
Yong Li, Andrew Dempster, Binghao Li, Jinling Wang, Chris Rizos School of Surveying and Spatial Information Systems, University of New South Wales, Sydney, NSW 2052, Australia Yong.li@unsw.edu.au Abstract. This paper describes a prototype system for attitude and heading determination. A L1-only GPS receiver is integrated with microelectromechanical gyroscopes, accelerometers and magnetometers. In contrast to a multiantenna/multi-receiver GPS attitude determination system, this system uses a single antenna/single receiver configuration to derive standalone velocity and acceleration solutions from the GPS L1 carrier phase measurements. No reference station is needed to form differences of carrier phase measurements for the velocity and acceleration calculation. The GPS-derived acceleration is further used in the attitude determination by combination with the three-dimension acceleration sensed by the accelerometers. The magnetometers sense the Earths magnetic field intensity, and can give the heading estimation regardless of the status of the host platform. To satisfy real-time applications, infinite impulse response differentiators instead of finite impulse response differentiators are used to derive the acceleration from GPS. The algorithms have been implemented and their efficiency demonstrated by experiments. Keywords. Attitude determination, micro-electromechanical system, inertial units, GPS DMU-HDX-AHRS (Crossbow, 2000). However, todays MEMS sensors are still much less accurate than expensive precise inertial sensors, intended for use in inertial navigation systems (INS). Smart filtering and extra sensors can help to address these problems. However, complex algorithms require powerful computational platforms to keep the solutions tracking in highly dynamic mobile applications. Handheld devices can be used as the computational platform to perform these algorithms; however, such a design may require a heavy data communication load between the sensors and the computational platforms. Taking these factors into account, one has to make a tradeoff between the computational speed and complexity of the data processing algorithms. This paper introduces the development of an AHRS/GPS integrated system. The MEMS sensorbased AHRS consists of microelectromechanical gyroscopes, accelerometers and magnetometers; which sense the tri-axial acceleration of the host platform, the Earths magnetic field vector, and the tri-axial angular rate. These measurements are combined with the known acceleration and magnetic vectors in the reference coordinate system to give the orientation of the host platform. This scenario is valid when the host platform is static, as in a territorial application. For a dynamic platform, gyroscope measurements must be processed in order to update the attitude solution. GPS can help to monitor the dynamics of the platform and drive the procedure in a suitable mode in order to respond properly to the dynamics. To achieve the highest accuracy that a L1 GPS receiver can reach to, the L1 carrier phase measurements are used for computing the acceleration of the receiver. This implementation is more advanced than deriving the acceleration through differencing the position. The GPS-derived acceleration can be used to estimate the attitude, as well as correcting the gyroscope bias. To satisfy the speed requirement for mobile applications, infinite impulse response
1. Introduction
Microelectromechanical sensors (MEMS) are experiencing rapid growth in demand in many applications, including general aviation, unmanned automotive vehicle (Brown and Lu, 2004), locating personnel (Collin et al 2002; Cho and Park, 2005), mobile mapping systems (Ellum and El-Sheimy, 2002), and athletic training monitoring. MEMS inertial sensors are devices well suited to many applications because of their tiny size and low cost, and are ideal as components of a compact and affordable attitude and heading reference system (AHRS), e.g. in the 3DG-M (Microstrain, 2003) and
differentiators are used instead of finite impulse response differentiators to derive the acceleration from GPS.
2. System design
The prototype system consists of a SuperStar II GPS OEM board, a 3DM-G, a USB-RS232 adapter, and a laptop PC. The SuperStar II provides the GPS raw measurements, including pseudorange and L1 carrier phase (CPH) measurements, as well as the broadcast ephemeris. The 3DM-G consists of 3axial magnetometers, 3-axial accelerometers, and 3axial gyroscopes. It provides the raw measurements for computing orientation. The USB-RS232 adapter provides additional RS232 ports for the GPS receiver and the 3DM-G to be connected with the laptop PC where the data are recorded and the commands are sent to the devices. The electronic board of the 3DM-G is shown in Fig. 1, and it specifications are listed in Table 1. The output of the magnetometers is a vector quantifying the direction and magnitude of the magnetic field. It is a relative quantity and scaled with respect to another, e.g. the geomagnetic field strength present in the factory during calibration (MicroStrain, 2003). Fig. 1 Electronic board of 3DM-G
Table 1. Main specifications of the 3DM-G (MicroStrain, 2003) parameter Orientation range Orientation angle resolution Temperature drift Repeatability Accuracy Sensor range Value 360 deg, all axises <0.1 deg +/-0.025% per Celsius degree 0.01 deg +/- 5 deg Gyros: +/- 300 deg/sec Accelerometers: +/- 2 g Magnetometers: +/- 1 Gauss 100Hz 64 mm by 90mm by 25mm 40 grams with enclosure, 18 grams without enclosure 5.2 12 VDC 90mA
The software is designed to be suitable for operation in a real-time environment. The memory
storage requirement and the computational load are the crucial issues addressed in the design. The software uses multithreads and assigns them different priority levels. The communication thread is designed to run in the background and monitor the communication events and receive/send data as well. The whole system function is divided into tasks/modules to response the requests from the main thread. The corresponding Windows messages are defined to notify the event occurrences. For example, the instantaneous vector packet of the 3DM-G arrives, a corresponding Windows message will be triggered and the processing function of this message will become active to perform the attitude determination. Thanks for the similarity between the Windows message mechanism and the interrupt mechanism of an embedded operating system, this design should allow easy migration of the source code to an embedded system. The 3DM-G has an internal clock and updates its raw data at a rate of a hundred times per second. But it is a relative time and does not align with, for example, Universal Time Coordinated (UTC). Visual C++ commands allow the users software to access the UTC time. The software labels the first arrival of the raw data with the UTC time, and uses the 3DM-G embedded clock to account for the increase of the time span. This method marks the raw data of the 3DM-G on UTC time. In the meantime, the GPS messages are also marked on arrival on UTC time so that the delay of the actual arrival UTC time relative to the GPS time can be derived. The method provides the common time for both the GPS data and the 3DM-G data, and makes it possible to integrate the GPS with the 3DM-G. When the 3DM-G is static, the accelerometers and magnetometer data are sufficient for computing the tri-axial angular solutions. The gyroscopes can provide short-term accurate updates after their biases have been compensated. But the accuracy would degrade over the long-term. Therefore the SuperStar II GPS receiver is used as an external aid. Through differencing the carrier phase twice the range acceleration can be obtained. The linear acceleration can be further derived from the range accelerations of at least four visible satellites. The GPS-derived acceleration provides a reference for the output of the accelerometers. Further combining the accelerations with the magnetometer data the tri-axial attitude can be obtained in a dynamic environment. Such solutions can aid the estimation of the on-line gyroscope bias. A flow chart of the algorithm for GPS position, velocity and acceleration determination, as well as attitude determination, is shown in Fig. 2. Two parts, the attitude determination from the MEMS sensor data and the GPS acceleration determination, have been implemented and the remainder of this paper will focus on these two aspects.
Fig. 2 Structure of the AHRS/GPS system Bias estimate Gyro Magn Accl GPS
fb
(1)