13.07.2015 Views

An attitude error correction method based on MARG ... - Jocpr.com

An attitude error correction method based on MARG ... - Jocpr.com

An attitude error correction method based on MARG ... - Jocpr.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Mingjian Li et al J. Chem. Pharm. Res., 2013, 5(9):522-528______________________________________________________________________________In this paper, <strong>MARG</strong> (Magnetic, <str<strong>on</strong>g>An</str<strong>on</strong>g>gular Rate, and Gravity) sensor array c<strong>on</strong>sisting of MEMS three-axis gyroscope,accelerometer and magnetometer are used to capture three-dimensi<strong>on</strong>al accelerati<strong>on</strong>, magnetic field and angularvelocity. Based <strong>on</strong> steepest descent <str<strong>on</strong>g>method</str<strong>on</strong>g> and <strong>com</strong>plimentary filter theory, we propose to use ground magnetic andgravity field observati<strong>on</strong>s to correct the <str<strong>on</strong>g>attitude</str<strong>on</strong>g> <str<strong>on</strong>g>error</str<strong>on</strong>g> of the gyroscope. Our proposed algorithm is denoted as<strong>MARG</strong> algorithm. To evaluate the performance of the proposed algorithm, we carry out gyro/accelerometer/magnetometer integrated navigati<strong>on</strong> simulati<strong>on</strong> experiment and <strong>MARG</strong>/turntable experiment. Experimental resultsindicate superior performance of our <str<strong>on</strong>g>method</str<strong>on</strong>g> over the traditi<strong>on</strong>al Quaterni<strong>on</strong> extended Kalman filter (QKF) <str<strong>on</strong>g>method</str<strong>on</strong>g>.PROPOSED <strong>MARG</strong> LGORITHMAttitude angle of the rotated carrier can be represented by rotati<strong>on</strong> quaterni<strong>on</strong>. The parameters of quaterni<strong>on</strong> can besolved by minimizing the <str<strong>on</strong>g>error</str<strong>on</strong>g> functi<strong>on</strong> of quaterni<strong>on</strong>. Steepest descent <str<strong>on</strong>g>method</str<strong>on</strong>g> is an ideal iterative algorithm forminimizati<strong>on</strong> which was first introduced by Cauchy in 1847. It can find the local minima of an objective functi<strong>on</strong>and is widely explored in engineering applicati<strong>on</strong>s since it has the advantages of small workload, memory efficientand easy to implement [4]. The search path of the steepest descent <str<strong>on</strong>g>method</str<strong>on</strong>g> appears to be serrated. In the first a fewsteps, the objective functi<strong>on</strong> decreases rapidly. When it approaches the local minima, the c<strong>on</strong>vergence speedbe<strong>com</strong>es slow. Usually steepest descent <str<strong>on</strong>g>method</str<strong>on</strong>g> is used with other techniques for fast c<strong>on</strong>vergence. Based <strong>on</strong>steepest decent algorithm and <strong>com</strong>plementary filter theory, we propose an <str<strong>on</strong>g>attitude</str<strong>on</strong>g> <str<strong>on</strong>g>error</str<strong>on</strong>g> <str<strong>on</strong>g>correcti<strong>on</strong></str<strong>on</strong>g> <str<strong>on</strong>g>method</str<strong>on</strong>g> by fusinginformati<strong>on</strong> from different sensors. The block diagram of the proposed <str<strong>on</strong>g>method</str<strong>on</strong>g> is shown in Fig. 1.Fig. 1: Block diagram of proposed <str<strong>on</strong>g>method</str<strong>on</strong>g>The discrete functi<strong>on</strong> of body rotati<strong>on</strong> quaterni<strong>on</strong> and angular velocity can be expressed asq qˆ q t,(1)b b bn w, t n est , t1 n w,twherebb t is the sampling interval,nq w,tis the quaterni<strong>on</strong> at time t ,n ,q is the rate of change of quaterni<strong>on</strong>.bq ˆn [ q q q q1 2 3 4]is the rotati<strong>on</strong> quaterni<strong>on</strong> from navigati<strong>on</strong> coordinate system n to body coordinate system b.n ˆ bd [0 d d d ] and sˆ [0 s s s ] represent the measurement of accelerometer and magnetometerx y zx y zin the navigati<strong>on</strong> coordinate system and body coordinate system, respectively. The quaterni<strong>on</strong> <str<strong>on</strong>g>error</str<strong>on</strong>g> functi<strong>on</strong> isdefined as follows:f ( q, dˆ, s) q dˆ q s.(2)b n b b * n b bˆ ˆ ˆ ˆ ˆn n nThe <str<strong>on</strong>g>error</str<strong>on</strong>g> functi<strong>on</strong> can be solved using steepest descent <str<strong>on</strong>g>method</str<strong>on</strong>g> in (3) and (4).w t523

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!