摘要 |
PROBLEM TO BE SOLVED: To prevent a portable terminal device from erroneously counting the number of steps with a simple configuration even when a walking speed of a user varies.SOLUTION: A portable terminal device 1 worn on the body of the user counts the number of steps on the basis of a waveform of acceleration in a gravity direction, compares a first set waveform Wd1 which is the waveform in one set of a predetermined number of steps with a second set waveform Wd2 which is the waveform in one set shifted by one step behind of the first set waveform Wd1 and determines whether or not the first set waveform Wd1 is equivalent to the second set waveform Wd2, compares the first set waveform Wd1 with a third set waveform Wd3 which is the waveform in one set starting from the step later than the second set waveform Wd2 as a first step when determining that the first set waveform Wd1 is not equivalent to the second set waveform Wd2 and determines whether or not the first set waveform Wd1 is equivalent to the third set waveform Wd3, and corrects the number of steps on the basis of the second set waveform Wd2 by increasing or decreasing the same when determining that the first set waveform Wd1 is equivalent to the third set waveform Wd3. |