计算机工程与应用 ›› 2016, Vol. 52 ›› Issue (18): 40-45.

• 理论与研发 • 上一篇    下一篇

基于谷歌眼镜传感器的曲线拟合计步算法

罗  浩1,方志祥1,萧世伦2   

  1. 1.武汉大学 测绘遥感信息工程国家重点实验室,武汉 430079
    2.美国田纳西大学 地理系,诺克斯维尔 37919
  • 出版日期:2016-09-15 发布日期:2016-09-14

Curve fitting step counting algorithm based on Google glass sensor

LUO Hao1, FANG Zhixiang1, Shih-Lung Shaw2   

  1. 1.State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing, Wuhan University, Wuhan 430079, China
    2.Department of Geography, University of Tennessee, Knoxville 37919, America
  • Online:2016-09-15 Published:2016-09-14

摘要: 当前独立的计步器普遍要考虑行人佩戴的部位,如基于手机的计步方法可靠性受限于手机放置位置。根据谷歌眼镜的位置固定特性设计了一种新的计步算法,有效地解决了平地、斜坡、上下楼梯等场景下的计步问题。该算法综合运用谷歌眼镜采集的加速度传感器信号和旋转矢量传感器信号,对这些信号进行快速傅里叶变换滤波处理,用二次曲线拟合信号序列,根据曲线参数阈值进行计步判断。实验结果表明:该算法在平地、斜坡、上下楼梯等场景具有96%以上的准确率。

关键词: 谷歌眼镜, 计步器, 传感器, 曲线拟合

Abstract: The reliability of current step counting method generally relies on the body parts where the independent pedometer is equipped, or the positioned location where the mobile phone is set. To solve this problem, this paper proposes a step counting algorithm according to the fixed characteristics of Google glass. The proposed algorithm considers both the acceleration sensor signal and rotation vector sensor signal of Google glass to count steps of pedestrians. In this algorithm, signals are filtered by a fast Fourier transformation filter, and are fitted by a quadratic curve fitting method. Then, the step account is calculated according to the threshold of curve parameter. The experimental results show that the algorithm has a high accuracy of 96%, and can be adapted to some scenarios including ground, slope, and stairs.

Key words: Google glass, pedometer, sensor, curve fitting