check the mobility of mobile phone by accelerometer sensor

For every new accelerometer sample, we compute the

standard deviation of the magnitude of the acceleration

over a sliding window (w) of samples. The window slides

by one sample for each computation. If the standard de-

viation in a window exceeds a threshold (a), we detect

movement. When the standard deviation is within the

threshold for n successive sliding windows, we report

that the node is stationary.

We experimented with many values for w, a, and n and

determined that w = 5, a = 0.15 m/s2, and n = 10 gave

us few false hints.

posted on 2012-11-16 16:45  NLP-Kevin  阅读(164)  评论(0编辑  收藏  举报