Quaternion Kalman Filter Design Based on MEMS Sensors

Similar documents
Unscented Kalman Filtering for Attitude Determination Using MEMS Sensors

EXPERIMENTAL COMPARISON BETWEEN MAHONEY AND COMPLEMENTARY SENSOR FUSION ALGORITHM FOR ATTITUDE DETERMINATION BY RAW SENSOR DATA OF XSENS IMU ON BUOY

Estimation of Altitude and Vertical Velocity for Multirotor Aerial Vehicle using Kalman Filter

Dynamic Modelling for MEMS-IMU/Magnetometer Integrated Attitude and Heading Reference System

RESEARCH ON THE APPLICATION OF STABLE ATTITUDE ALGORITHM BASED ON DATA FUSION OF MULTI- DIMENSIONAL MEMS INERTIAL SENSORS

Camera and Inertial Sensor Fusion

Tracking of Human Arm Based on MEMS Sensors

Review Paper: Inertial Measurement

Testing the Possibilities of Using IMUs with Different Types of Movements

Low Cost solution for Pose Estimation of Quadrotor

Calibration of Inertial Measurement Units Using Pendulum Motion

navigation Isaac Skog

An Intro to Gyros. FTC Team #6832. Science and Engineering Magnet - Dallas ISD

Satellite Attitude Determination

Inertial Measurement Units I!

Implementation of Estimation and Control Solutions in Quadcopter Platforms

Selection and Integration of Sensors Alex Spitzer 11/23/14

MOTION tracking is a key technology in synthetic environments,

Lecture 13 Visual Inertial Fusion

A Kalman Filter Based Attitude Heading Reference System Using a Low Cost Inertial Measurement Unit

Navigational Aids 1 st Semester/2007/TF 7:30 PM -9:00 PM

(1) and s k ωk. p k vk q

Politecnico di Torino. Porto Institutional Repository

Inertial Navigation Systems

MEMS technology quality requirements as applied to multibeam echosounder. Jerzy DEMKOWICZ, Krzysztof BIKONIS

Me 3-Axis Accelerometer and Gyro Sensor

REAL-TIME human motion tracking has many applications

Package RAHRS. July 18, 2015

Satellite and Inertial Navigation and Positioning System

Keeping a Good Attitude: A Quaternion-Based Orientation Filter for IMUs and MARGs

E80. Experimental Engineering. Lecture 9 Inertial Measurement

CHARACTERIZATION AND CALIBRATION OF MEMS INERTIAL MEASUREMENT UNITS

INTEGRATED TECH FOR INDUSTRIAL POSITIONING

Strapdown Inertial Navigation Technology

INERTIAL NAVIGATION SYSTEM DEVELOPED FOR MEMS APPLICATIONS

Use of the Magnetic Field for Improving Gyroscopes Biases Estimation

GPS denied Navigation Solutions

Strapdown Inertial Navigation Technology, Second Edition D. H. Titterton J. L. Weston

Orientation Capture of a Walker s Leg Using Inexpensive Inertial Sensors with Optimized Complementary Filter Design

LPMS-B Reference Manual

Mio- x AHRS. Attitude and Heading Reference System. Engineering Specifications

LPMS-B Reference Manual

Research Article An Intuitive Approach to Inertial Sensor Bias Estimation

MULTI-SENSOR DATA FUSION FOR LAND VEHICLE ATTITUDE ESTIMATION USING A FUZZY EXPERT SYSTEM

Error Simulation and Multi-Sensor Data Fusion

Strapdown Inertial Navigation Technology. Second Edition. Volume 207 PROGRESS IN ASTRONAUTICS AND AERONAUTICS

Attitude and gyro bias estimation by the rotation of an inertial measurement unit

MEMS for structural health monitoring of wind turbine blades

Development of a MEMs-Based IMU Unit

CENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 6: IMU (Inertial Measurement Unit)

DriftLess Technology to improve inertial sensors

Design and Development of Control System for Three- Dimensional Wireless Human-Computer

VCIT Visually Corrected Inertial Tracking

Application Research of Wavelet Fusion Algorithm in Electrical Capacitance Tomography

Mobile Robotics. Mathematics, Models, and Methods. HI Cambridge. Alonzo Kelly. Carnegie Mellon University UNIVERSITY PRESS

Computationally Efficient Visual-inertial Sensor Fusion for GPS-denied Navigation on a Small Quadrotor

Camera Drones Lecture 2 Control and Sensors

Optimization of Control Parameter for Filter Algorithms for Attitude and Heading Reference Systems

CyberAtom X-202 USER MANUAL. Copyrights Softexor 2015 All Rights Reserved.

Multimodal Movement Sensing using. Motion Capture and Inertial Sensors. for Mixed-Reality Rehabilitation. Yangzi Liu

Low-cost MEMS Sensor-based Attitude Determination System by Integration of Magnetometers and GPS: A Real-Data Test and Performance Evaluation

THE POSITION AND ORIENTATION MEASUREMENT OF GONDOLA USING A VISUAL CAMERA

Relative Pose of IMU-Camera Calibration Based on BP Network

Inertial Measurement Units II!

Calibration of Triaxial Accelerometer and Triaxial Magnetometer for Tilt Compensated Electronic Compass

Using SensorTag as a Low-Cost Sensor Array for AutoCAD

Introduction to Inertial Navigation (INS tutorial short)

ECV ecompass Series. Technical Brief. Rev A. Page 1 of 8. Making Sense out of Motion

Evaluation of a Low-Cost MEMS IMU for Indoor Positioning System

DYNAMIC POSITIONING CONFERENCE September 16-17, Sensors

Dealing with Scale. Stephan Weiss Computer Vision Group NASA-JPL / CalTech

Electronics Design Contest 2016 Wearable Controller VLSI Category Participant guidance

Game Application Using Orientation Sensor

Electronic Letters on Science & Engineering 11(2) (2015) Available online at

IMU and Encoders. Team project Robocon 2016

Autonomous Navigation for Flying Robots

The Performance Evaluation of the Integration of Inertial Navigation System and Global Navigation Satellite System with Analytic Constraints

CyberAtom X-200 USER MANUAL. Copyrights Softexor 2015 All Rights Reserved.

A novel approach to motion tracking with wearable sensors based on Probabilistic Graphical Models

Tap Position Inference on Smart Phones

Indoor Location Algorithm Based on Kalman Filter

Inertial Systems. Ekinox Series TACTICAL GRADE MEMS. Motion Sensing & Navigation IMU AHRS MRU INS VG

Testing Approaches for Characterization and Selection of MEMS Inertial Sensors 2016, 2016, ACUTRONIC 1

Research and implementation of a simulation method of electric transmission line inspection using UAV based on virtual reality

3D Motion Tracking by Inertial and Magnetic sensors with or without GPS

Development of a Ground Based Cooperating Spacecraft Testbed for Research and Education

XDK HARDWARE OVERVIEW

Strapdown system technology

Collaboration is encouraged among small groups (e.g., 2-3 students).

Inertial/celestial integrated navigation algorithm for long endurance unmanned aerial vehicle 1

arxiv: v1 [cs.ro] 27 Sep 2018

9 Degrees of Freedom Inertial Measurement Unit with AHRS [RKI-1430]

An IMU-based Wearable Presentation Pointing Device

Autonomous Navigation in Complex Indoor and Outdoor Environments with Micro Aerial Vehicles

Inertial Navigation Static Calibration

DEVELOPMENT OF A PEDESTRIAN INDOOR NAVIGATION SYSTEM BASED ON MULTI-SENSOR FUSION AND FUZZY LOGIC ESTIMATION ALGORITHMS

State-space models for 3D visual tracking

Trajectory Planning for Reentry Maneuverable Ballistic Missiles

GPS + Inertial Sensor Fusion

CONCEPT OF AHRS ALGORITHM DESIGNED FOR PLATFORM INDEPENDENT IMU ATTITUDE ALIGNMENT

Transcription:

, pp.93-97 http://dx.doi.org/10.14257/astl.2014.76.20 Quaternion Kalman Filter Design Based on MEMS Sensors Su zhongbin,yanglei, Kong Qingming School of Electrical and Information. Northeast Agricultural University Harbin, 150030, China Abstract: Controlling UAV requires high-precision dynamic information input. However, mini UAV needs more demands because of the its small volume. Using MEMS sensor can make the UAV become high-precision, low power consumption and inexpensive machine. Accelerometer and magnetometer can measure the acceleration of gravity and geomagnetic field that the vectors are uncorrelated, which can be considered as a vector in order to correct the gyroscope. Kalman filter based on quaternion has been adopted in this study in order to achieve the attitude measurement and error control of transporter. Keywords: Kalman Filter,Data Fusion,MEMS Sensor 1 Introduction he attitude angle information of local geographic coordinate frame is provided by the AHRS [1],which is very essential for the UAV s navigation and control. he price of conventional mechanical and laser gyroscope is costly. For the reason of volume size and price limitation, it cannot be popularized in the minitype UAV. With the development of micro-electronics, the MEMS devices with high-precision, low power consumption, and small-size can satisfy aviation and astronautic demands[2-3]. Due to the characters of the low cost, small size, and convenience of AHRS applied in MEMS, it can be applied in many fields in the future. he angle of pitch angle, roll angle and yaw angle can be calculated by measuring angular velocity and linear velocity, respectively.he MEMS gyroscope could measure rotational angular rate of a rigid body. hrough analyzing integration of angular rates, rotation euler angle can be achieved. Nonetheless, there is severe zero bias error of the gyro and measurement errors in the angular rate gyroscope, which would lead to integral error in SINS(strapdown inertial navigation system)and difficulties of reaching the accuracy[4]. Meanwhile, accelerometer and magnetometer can calculate the uncorrelated vector --acceleration of gravity and geomagnetic field, which can be used to correct the gyroscope as the attitude s observation vector. Kalman filter is more applying to data fusion of multiple sensors. It is a function of Kalman filter is applied to data fusion of multiple sensors, which can combine the attribute of multiple sensors and obtain more precise attitude angle information by updating prediction by using angular rate obtained through gyro measurement and observation by acceleration of gravity and magnetic field. ISSN: 2287-1233 ASL Copyright 2014 SERSC

2 Attitude Angle Estimation base on Kalman Filter he attitude angle can be achieved by calculating the integration of gyro angle rates during a short time. However, tiny measurement errors may change into many measurement errors through adding integral time. Accurate static information can be obtained by gyroscope with accelerometer and magnetic sensor. But it has a interruption of inertial forces, vibrations, or magnetic noises. Accelerometer and magnetic sensor could provide two uncorrelated estimations[5]. It can get attitude angle from integration of angular rates measured by the MEMS gyroscopes, which only performs well in high frequency region. But it is inevitably affected by gyro drifts. Without an additional observation for drifts correction, which is based on integration of angular rates would gradually diverge from the real attitude angle. he pitch angle and roll angle error can be observed by gravity direction vector. he yaw angle error can be observed by geomagnetic direction vector. So using gravity direction vector and geomagnetic direction vector as the observation vectors to correct the attitude angle. hrough analyzing integration of angular rates, a quaternion can be achieved. Secondly, to make the measurements of the accelerometers and magnetometer as a reference vector which are calculated through gravity field model and geomagnetic field model to correct the quaternion. he optimal estimate of quaternion can be achieved by this vector. Finally, the attitude angle can be achieved by this quaternion. he quaternion differential equation is expressions(1),where ωx,ωy,ωz are the measured value of the 3-axis gyroscope. 0 ω ω ω x y z. 2 2 2 q0 q0 ω. x z y ω ω 0 q1 2 2 2 q1. = = ωy q ωz ω x 2 0 q2. 2 2 2 q 3 q ω ω z y ωx 3 0 2 2 2 he quaternions will gradually lose its standardization properties due to the calculation errors and other factors. o ensure the quaternion attitude matrix is orthogonal, quaternions need to be processed normally after each quaternion update cycle. he basic idea of the kalman filter is to process nonlinear problems by linear model. hen the linearized system is filtered [6].he data of engineering survey are generally dissociaton.firstly, to conduct data discretization.he state equation after discretization is shown as follows: ( 1) ( 1 1) X k k = Ax k k (2) A is a state transition matrix. X(k k-1)is the state estimates values of k time in k-1 (1) 94 Copyright 2014 SERSC

time. t is the cycle of measurement.he output of the gyroscope and accelerometer are observation vector,as shown in equation (3): z (k) = H(k)x (k) + v k (3) H k is the observation equation and V k is the measurement noise covariance matrix(zero mean white noise as the measurement noise of the system). Observation vector is jointly provided by accelerometers and magnetometers.he measured value of accelerated velocity relative to body axis system and geomagnetic field are two natural independent reference vectors. hus quantity of state needs to be revised twice. Observations update equation is shown in equation(4) x = x + kg ( z H x ) (4) k kk 1 k k k kk 1 Suppose the errors of the system and observation noise are stable. In the process of filtering, the attitude angle is updated by using quaternion attitude angle differential equation. Attitude angle is corrected by using the measured value of accelerometers and magnetometers. In the process of filter, according to gravity and magnetic measurements,the variance error needs to be updated to calculate kalman gain in the next step, which is shown in formula (7). he variance prediction formula and gain filter matrix are shown in equation (5) (6): Pkk 1 Apk 1A WQW = + (5) kg = P H /( H P H + R) (6) k kk 1 k k kk 1 k Pk = (1 kgkh k) Pkk (7) 1 3 Simulation and Analysis A practical project is taken for a background to carry simulation for the system that composed by gyroscope and magnet compass. Simulation time is 300s, he sampling period of the sensor is 0.005s. Data transmission cycle is 1s. he mean square error of gyroscope drift white noise is 0.1 /s and that of accelerometer measurement noise is 0.0005g. he mean square error of magnetometer measurement noise is 10-7 Gs. his paper uses the local gravitational acceleration and magnetic field strength in NanJing.g=[0 0-9.79494], Horizontal component of the magnetic field is 3.301*10-6.he vertical component is 3.684*10-6.he initial value of the variance is p k-1 =diag(0.1,0.1,0.1,0.1) he pitch angle and roll angle is set to close to 0 and yaw angle equal to 58. In given conditions, the roll angle, pitch angle, and yaw angle are output by serial port. It is shown in Figure 1. Copyright 2014 SERSC 95

Fig. 1 Pitch angle curve by Kalman filtering It can beseen from Figure 1 that the convergence speeds of pitch angle and roll angle are all rapid after the Kalman filter. It will become stable in a 2s-3s when filter starts working. As you can see in Figure 1, convergence speeds of yaw angle also is rapid. After gathering the data that real attitude data and filtered data in the static condition to calculate the attitude angle error respectively. we can get average values of the attitude Angle error. It Is shown in able 1. able 1. Error of kalman filtering Error Pitch angle Roll angle Yaw angle mean( ) 0.1135 0.1547 0.5261 RMSE ( ) 0.2187 0.2833 0.9841 As you can see in able 1, after performing Kalman filter, attitude angle doesn't drift with integration time.drift error is limited in a certain range and fast convergence speed. he validation testing showed yaw angle error range of ±0.5, pitch angle error 96 Copyright 2014 SERSC

range of ±0.2, roll angle error range of ±0.2.Cumulative error is limited to some extent and improve the attitude determination accuracy. 4 Conclusion In this research, the core part is focusing on SM32F405, designing and implementing the quaternion kalman filter based on 3-axis MEMS gyroscope, accelerometer and magnetometer. he adopt quaternion kalman filtering algorithm have the features of high accuracy and fast convergence speed. he simulations reveal that attitude angle error is small and attitude angle doesn't drift with integration time. Cumulative error is limited effectively and improve the attitude determination accuracy Meanwhile, this system has the advantage of small volume, high precision and low cost, which will offer prospects the future application References 1. Mark Euston, Paul Coote, Robert Mahony, Jonghyuk Kim, A com-plementary filter for attitude estimation of a fixed-wing uav with a low-cost imu,arek Hamel. In 6th International Conference on Field and Service Robotics.(2007). 2. L.Lou,X.Xu,J.Cao,Z.Chen,Y.Xu,Sensor fusion-based attitude estimation using low-cost MEMS-IMU formobile robot navigation,proceedings of the 6th IEEE Joint International Information echnology and Artiicial intelligence Conference,465 468, (2011) 3. J. L Marins,Xiaoping Yun, E. R. Bachmann, R. B. McGhee, M. J. Zyda.InProc. An ex-tended kalman filter for quaternion-based orientation estimation using marg sensors,in,proc IEEE/RSJ International Conference on Intelligent Robots and Systems, volume 4, 2003-2011, (2001). 4. Yangzhu Wang, Ning Li, Xi Chen, Miao Liu, Design and Implementation of an AHRS Based onmems Sensors and Complementary Filtering,Advances in mechanical engineering.2014.11 (2014) 5. Linlin Xia,LinZhao,Fanming Liu,Huimin Liu,Iterated EKF algorithms for land vehicular tightly-coupled AHRS/GPS,Journal of Chinese Inertial echnology.15(6); 707-712 (2007) 6. Hanlin Sheng, ianhong Zhang, DongdongLiu,Low_cost AHRS design based on extending Kalman filter,system Engineering and Electronic 35(10);2158-2164(2013) Copyright 2014 SERSC 97