This application is a national phase entry of PCT Application No. PCT/JP2020/000148, filed on Jan. 7, 2020, which claims priority to Japanese Application No. 2019-004157, filed on Jan. 15, 2019 which applications are hereby incorporated herein by reference.
The present invention relates to a step-counting device and method, and program.
In recent years, because of increasing health-consciousness along with an aging population worldwide, a growing number of people have been reviewing and improving their lifestyles through measurement and monitoring of their own biological information in daily life. A pedometer is one of such biological information measurement devices, detects walking or running action of a wearer of the pedometer and measures the number of steps by an acceleration sensor.
During walking or running of common humans, grounding and lifting of the feet take place periodically, and peaks of acceleration periodically appear in a body axis direction (direction of gravity) of pedestrians. Pedometers using an acceleration sensor measure the number of steps by detecting such acceleration peaks one by one for each walking motion (see Patent Literature 1).
However, a plurality of peaks may be generated in measured acceleration during one-step motion, and the aforementioned technique accordingly involves a problem of erroneously detecting each peak generated in one step as walking motion.
Embodiments of the present invention has been made to solve the above problem and it is an object of embodiments of the present invention to reduce erroneous detections of walking motion.
A step-counting device according to embodiments of the present invention includes a first calculation unit configured to synthesize respective measured values of acceleration of a plurality of measuring axes measured by a measurement unit that measures acceleration of the plurality of measuring axes and calculate the synthesized acceleration, a second calculation unit configured to calculate acceleration in a body axis direction of a wearer wearing the measurement unit from the respective measured values of acceleration of the plurality of measuring axes, a third calculation unit configured to calculate amplitude of a time variation of the acceleration calculated by the second calculation unit, a reference setting unit configured to set a reference time for determining one step based on the amplitude, a walking detection unit configured to detect walking motion by the wearer based on the synthesized acceleration, a one-step time of the wearer falling within a range of the reference time in the walking motion, and a fourth calculation unit configured to calculate the number of steps of the walking motion detected by the walking detection unit.
In one configuration example of the step-counting device, the step-counting device further includes a fifth calculation unit configured to calculate the time required for one step of the walking motion detected by the walking detection unit.
In one configuration example of the step-counting device, the second calculation unit includes a low-pass filter configured to extract a gravity acceleration component from the respective measured values of acceleration of the plurality of measuring axes and calculates acceleration in the body axis direction of the wearer by subtracting the gravity acceleration component from the respective measured values of acceleration of the plurality of measuring axes.
In one configuration example of the step-counting device, the second calculation unit calculates a deviation between the body axis direction of the wearer and a coordinate axis of the measurement unit, corrects and calculates acceleration in the body axis direction of the wearer according to the calculated deviation.
A step-counting method according to embodiments of the present invention includes a first step of synthesizing respective measured values of acceleration of a plurality of measuring axes measured by a measurement unit that measures acceleration of the plurality of measuring axes and calculating the synthesized acceleration, a second step of calculating acceleration in a body axis direction of a wearer wearing the measurement unit from the respective measured values of acceleration of the plurality of measuring axes, a third step of calculating amplitude of a time variation of the acceleration calculated in the second step, a fourth step of setting a reference time for determining one step based on the amplitude, a fifth step of detecting walking motion by the wearer based on the synthesized acceleration, a one-step time of the wearer falling within a range of the reference time in the walking motion, and a sixth step of calculating the number of steps of the walking motion detected in the fifth step.
In one configuration example of the step-counting method, the step-counting method further includes a seventh step of calculating a time required for one step of the walking motion detected in the fifth step.
In one configuration example of the step-counting method, in the second step, a gravity acceleration component is extracted from the respective measured values of acceleration of the plurality of measuring axes and acceleration in the body axis direction of the wearer is calculated by subtracting the gravity acceleration component from the respective measured values of acceleration of the plurality of measuring axes.
In one configuration example of the step-counting method, in the second step, a deviation between the body axis direction of the wearer and a coordinate axis of the measurement unit is calculated, and acceleration in the body axis direction of the wearer is corrected and calculated according to the calculated deviation.
A program according to embodiments of the present invention is a program for causing a computer to execute each step in the step-counting method.
As described above, according to embodiments of the present invention, a reference time for determining one step based on amplitude of a time variation in acceleration in the body axis direction is set, and it is therefore possible to reduce erroneous detections of walking motion.
Hereinafter, a step-counting device according to an embodiment of the present invention will be described with reference to
The measurement unit 101 is composed of an acceleration sensor including a plurality of measuring axes, and worn by a person to be measured (wearer) to measure acceleration. The measurement unit 101 includes an analog/digital converter configured to convert an analog signal acquired by the acceleration sensor to a digital signal at a sampling rate of, for example, 25 Hz and output the digital signal as a measured value of acceleration on each axis. For example, the measurement unit 101 periodically measures acceleration in three directions of X-axis, Y-axis and Z-axis, which are orthogonal to each other, and thereby obtains a time sequence of measured values of acceleration. The measured values of acceleration measured by the measurement unit 101 are stored, for example, in a storage unit 109. For example, the storage unit 109 is composed of a non-volatile memory represented by a flash memory, or a volatile memory such as a DRAM (dynamic random access memory).
The first calculation unit 102 synthesizes the respective measured values of acceleration of the X-axis, Y-axis and Z-axis measured by the measurement unit 101 and calculates synthesized acceleration. The first calculation unit 102 calculates the synthesized acceleration from the measured values of acceleration stored in the storage unit 109. For example, the first calculation unit 102 calculates the synthesized acceleration based on an nth (n≥1) acceleration component (aX[n], aY[n], aZ[n]) measured by the measurement unit 101 from the start of measurement based on Expression (1).
Here, X, Y and Z represent measuring axes of the acceleration sensor of the measurement unit 101 in an orthogonal coordinate system and αX, αY and αZ represent the respective components of acceleration in the present coordinate system. In the embodiment, it is assumed that the measurement unit 101 is mounted so that the X and Y axes face the horizontal direction and the Z axis faces the body axis direction of the wearer.
Math. 1
Synthesized acceleration |{right arrow over (a)}[n]|=√{square root over (aX[n])2+(aY[n])2+(aZ[n])2)} (1)
where {right arrow over (a)}[n]=(aX [n], aY [n], aZ [n])
The second calculation unit 103 calculates acceleration in the body axis direction (vertical direction) of the wearer wearing the measurement unit 101 from the respective measured values of acceleration of the X-axis, the Y-axis and the Z-axis. The second calculation unit 103 calculates acceleration in the body axis direction from the measured values of acceleration stored in the storage unit 109.
In the embodiment, the second calculation unit 103 extracts the gravity acceleration component from the nth (n≥1) acceleration component (aX[n], aY[n], aZ[n]) measured by the measurement unit 101 from the start of measurement. Furthermore, the second calculation unit 103 calculates a deviation (angle) between the body axis direction (gravity direction) and the coordinate axis (Z-axis) of the measurement unit 101, corrects and calculates acceleration in the body axis direction (vertical direction) according to the calculated deviation.
More specifically, the second calculation unit 103 first extracts the gravity component by removing a high-frequency component from the acceleration component measured by the measurement unit 101 using a low-pass filter. A low-pass filter shown in Expression (2) is used as an example in the embodiment.
Math. 2
Gravity component {right arrow over (aL)}[n]={right arrow over (aL)}[n−1]×α+{right arrow over (a)}[n]×(1−α) (2)
In Expression (2), α is an arbitrary filter coefficient and takes a value 0<α<1. Setting α to a value close to 1 broadens the frequency domain to be removed, and can thereby remove a drastic acceleration variation. The filter coefficient α=0.9 is set in the embodiment. Note that the calculation using Expression (2) is merely an example, and any calculation can be used if such a calculation allows the gravity component to be extracted.
Next, as shown in Expression (3), a non-gravity component is calculated by subtracting the gravity component obtained by Expression (2) from the acceleration component measured by the measurement unit 101.
Math. 3
Non-gravity component {right arrow over (αH)}[n]={right arrow over (a)}[n]−{right arrow over (αL)}[n] (3)
Next, a process of correcting a deviation from the gravity acceleration direction of the Z-axis of the measurement unit 101 is performed to calculate acceleration in the body axis direction. More specifically, an angle θ formed by a vector consisting of the gravity component and the corrected vector (g is gravity acceleration) is calculated using Expression (4). A unit vector perpendicular to both of the vectors is calculated using Expression (5).
Vector consisting of gravity component {right arrow over (G)}=(αLX(n),αLY(n),αLZ(n))
Corrected vector
{right arrow over (G*)}−(0,0,g),
where g is gravity acceleration.
Next, the non-gravity component in the corrected body axis direction (z direction) is calculated using Expression (6) shown below and the calculated non-gravity component is assumed to be the acceleration in the body axis direction.
Math. 5
Non-gravity component in body-axis direction αHZ*[n]={nZnX(1−cos θ)+nY sin θ}×αHX[n]+{nYnZ(1−cos θ)−nX sin θ}×αHY[n]+{nZ2(1−cos θ)+cos θ}×αHZ[n] (6)
where
{right arrow over (n)}=(nx,ny,nz)|,
The third calculation unit 104 calculates amplitude of a time variation of the acceleration (α*HZ[n]) in the body axis direction calculated by the second calculation unit 103. The reference setting unit 105 sets a reference time for determining one step based on the amplitude calculated by the third calculation unit 104.
The walking detection unit 106 detects a one-step walking (or running) motion by the wearer, the one-step time of which falls within a range of the reference time, based on the synthesized acceleration. In the embodiment, the walking detection unit 106 determines one step when the synthesized acceleration first takes a value lower than a first threshold (e.g., 0.9 [m/s2]) and then takes a value higher than a second threshold (e.g., 1.1 [m/s2]) (see Non-Patent Literature 1). Next, when an elapsed time (one-step time) at a point in time at which the second threshold is exceeded this time after exceeding the second threshold last time falls within a range of the reference time set by the reference setting unit 105, this one step is detected as a walking (or running) motion.
The detection of the aforementioned one-step walking (or running) motion will be described more specifically.
The reference setting unit 105 according to the embodiment sets a reference time t of the one-step time according to the amplitude of the body axis direction acceleration (α*HZ[n]) as shown below, as an example.
280 [ms]≤t≤720 [ms](amplitude<1.7)
160 [ms]≤t≤560 [ms](1.7≤amplitude<2.4)
160 [ms]≤t≤480 [ms](2.4≤amplitude<3.8)
160 [ms]≤t≤420 [ms](3.8≤amplitude)
For example, when the amplitude calculated by the third calculation unit 104 is smaller than 1.7 (m/s), the reference setting unit 105 sets the reference time t to 280 [ms] 720 [ms]. In this case, when the elapsed time (one-step time) is 280 [ms] or more and 720 [ms] or less, if the synthesized acceleration takes a value lower than the first threshold and then takes a value higher than the second threshold, the walking detection unit 106 detects it as one-step walking (walking motion). In this way, the fourth calculation unit 107 calculates the number of steps by the one-step walking (or running) motion detected by the walking detection unit 106. The fifth calculation unit 108 calculates a time (one-step time) required for the detected one-step walking motion.
The step-counting device according to the embodiment displays the number of steps calculated by the fourth calculation unit 107 and the one-step time calculated by the fifth calculation unit 108 on the display unit 110. For example, the display unit no can be composed of a display such as a liquid crystal display, an organic EL (electro-luminescence) display or a plasma display.
In the step-counting device according to the embodiment, the communication unit 111 transmits the number of steps calculated by the fourth calculation unit 107 and the one-step time calculated by the fifth calculation unit 108 to an external device wirelessly such as BLE (Bluetooth low energy) or through wired communication such as Ethernet (registered trademark) via a predetermined network. Examples of the external device include smartphone, computer or smartwatch. Note that either one or both of the display unit no and the communication unit 111 may be provided on the step-counting device.
Next, the step-counting method according to the embodiment of the present invention will be described with reference to
First, in a first step S101, the first calculation unit 102 synthesizes respective measured values of acceleration of the plurality of measuring axes measured by the measurement unit 101 and calculates synthesized acceleration. Next, in a second step S102, the second calculation unit 103 calculates acceleration in the body axis direction of the wearer wearing the measurement unit 101 from the respective measured values of acceleration of the plurality of measuring axes. For example, acceleration in the body axis direction of the wearer is calculated by extracting the gravity acceleration component from the respective measured values of acceleration of the plurality of measuring axes and subtracting the gravity acceleration component from the respective measured values of acceleration of the plurality of measuring axes.
Next, in a third step S103, the third calculation unit 104 calculates amplitude of a time variation of acceleration in the calculated body axis direction. Next, in a fourth step S104, the reference setting unit 105 sets a reference time for determining one step based on the calculated amplitude. Next, in a fifth step S105, the walking detection unit 106 detects walking motion by the wearer, in which a one-step time of the wearer falls within a range of the reference time, based on the calculated synthesized acceleration. Next, in a sixth step S106, the fourth calculation unit 107 calculates the number of steps by the detected walking motion. In a seventh step S107, the fifth calculation unit 108 calculates a time required for one step of the detected walking motion.
Note that the step-counting device according to the embodiment may be a computer device including a CPU (central processing unit) 201, a main storage device 202, an external storage device 203 and a network connection device 204 or the like as shown in
The step-counting device in the aforementioned embodiment can also be composed of a programmable logic device (PLD) such as an FPGA (field-programmable gate array). For example, a circuit including the storage unit, the first calculation unit, the second calculation unit, the third calculation unit, the reference setting unit, the walking detection unit, the fourth calculation unit and the fifth calculation unit as logic elements of the FPGA can be made to function as the step-counting device. The first calculation circuit, the second calculation circuit, the third calculation circuit, the reference setting circuit, the walking detection circuit, the fourth calculation circuit and the fifth calculation circuit are each connected to a predetermined writing device to write the FPGA.
As described so far, according to embodiments of the present invention, since a reference time for determining one step is set based on the amplitude of a time variation of acceleration in the body axis direction, it is possible to reduce erroneous detections of walking motion.
Note that the present invention is not limited to the embodiment described so far, but it is obvious that many modifications and combinations can be made by those possessing ordinary knowledge in this field within the technical thought of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2019-004157 | Jan 2019 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2020/000148 | 1/7/2020 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2020/149171 | 7/23/2020 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
8280678 | Lee | Oct 2012 | B2 |
9200923 | Lammel | Dec 2015 | B2 |
10030993 | Barfield | Jul 2018 | B2 |
10564178 | Poduri | Feb 2020 | B2 |
10820836 | Winter | Nov 2020 | B2 |
11698385 | Kim | Jul 2023 | B2 |
20070143068 | Pasolini | Jun 2007 | A1 |
20100121605 | Ohta | May 2010 | A1 |
20110133682 | Egger | Jun 2011 | A1 |
20110196264 | Asada | Aug 2011 | A1 |
20140188431 | Barfield | Jul 2014 | A1 |
20200158533 | Sekiguchi | May 2020 | A1 |
Number | Date | Country |
---|---|---|
2010119500 | Jun 2010 | JP |
2017038631 | Feb 2017 | JP |
2018079102 | May 2018 | JP |
2018089916 | May 2018 | WO |
Entry |
---|
Hokuriku Electric Industry Co., Ltd., “3-axis accelerometer application note Piezoresistive 3-axis accelerometer HAAM-326B Pedometer,” First Edition, Feb. 2007, pp. 1-6. As discussed in the specification. |
Number | Date | Country | |
---|---|---|---|
20210404842 A1 | Dec 2021 | US |