Quaternion-Based Complementary Filter for Attitude Determination of a Smartphone
Quaternion-Based Complementary Filter for Attitude Determination of a Smartphone
复制标题
DOI:
10.1109/jsen.2016.2574124
复制
发表时间:
2016-08-01
影响因子:
4.3
通讯作者:
Redmond, Stephen J.
中科院分区:
文献类型:
--
作者:
Del Rosario, Michael B.;Lovell, Nigel H.;Redmond, Stephen J.
A geometrically intuitive quaternion-based complementary filter has been developed, which estimates the attitude of a smartphone using signals obtained from the device's internal magnetic and inertial measurement unit. This method introduces two correction factors mu(a), which governs the rate at which the accelerometer corrects the pitch/roll angle, and mu(m), which controls the rate at which the yaw angle is corrected by the magnetometer. The smartphone's attitude can be determined by combining information from the tri-axial gyroscope (measures the rate at which the device rotates), the tri-axial accelerometer (measures the acceleration due to gravity in the absence of body movement), and the tri-axial magnetometer (can be used to determine the direction of geomagnetic north). In order to validate the algorithm, a nonferrous rectangular plate with retroreflective markers affixed at each corner was attached to the smartphone enabling its attitude to be tracked by an optical motion capture system. The accuracy of the algorithm (phi(RMSE) = 3.37 degrees, theta(RMSE) = 1.84 degrees, psi(RMSE) = 4.83 degrees) was assessed as ten subjects performed five normal daily activities while the smartphone was loosely fixed to the upper thigh to simulate being carried in a pants pocket. The optimal tuning parameters (mu(a) = 0.003 and mu(m) = 0.001) for the algorithm across all the body movements were also identified.