JP5492723B2 - Body motion detection device - Google Patents
Body motion detection device Download PDFInfo
- Publication number
- JP5492723B2 JP5492723B2 JP2010211706A JP2010211706A JP5492723B2 JP 5492723 B2 JP5492723 B2 JP 5492723B2 JP 2010211706 A JP2010211706 A JP 2010211706A JP 2010211706 A JP2010211706 A JP 2010211706A JP 5492723 B2 JP5492723 B2 JP 5492723B2
- Authority
- JP
- Japan
- Prior art keywords
- peak
- acceleration
- value
- difference
- peak value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims description 209
- 230000001133 acceleration Effects 0.000 claims description 305
- 230000007423 decrease Effects 0.000 claims description 55
- 230000003247 decreasing effect Effects 0.000 claims description 26
- 238000005070 sampling Methods 0.000 claims description 26
- 239000000872 buffer Substances 0.000 description 40
- 238000000034 method Methods 0.000 description 27
- 238000006243 chemical reaction Methods 0.000 description 16
- 238000013500 data storage Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 238000004364 calculation method Methods 0.000 description 3
- 238000009499 grossing Methods 0.000 description 3
- 239000002131 composite material Substances 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
Images
Landscapes
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Description
この発明は、被験者の体動を検出する体動検出装置に関する。 The present invention relates to a body motion detection device that detects body motion of a subject.
従来、加速度センサにより被験者の上下方向の加速度を検出し、その検出値である加速度の大きさの変動傾向に基づいて体動を計数する体動検出装置があった。このような体動検出装置は、たとえば、加速度の大きさが減少傾向から増加傾向に切り替わる谷型のピークや、加速度の大きさが増加傾向から減少傾向に切り替わる山型のピークを検出し、隣接する谷型のピークのピーク値と山型のピークのピーク値との差分が閾値を超えた場合に体動(歩行)を検出し、当該差分が閾値を超えた回数をカウントすることによって体動(歩数)をカウントするように構成されている。 2. Description of the Related Art Conventionally, there has been a body motion detection device that detects acceleration in the vertical direction of a subject using an acceleration sensor and counts body motion based on a variation tendency of the magnitude of acceleration that is a detected value. Such a body motion detection device detects, for example, a valley-shaped peak in which the magnitude of acceleration switches from a decreasing trend to an increasing trend and a mountain-shaped peak in which the magnitude of acceleration switches from an increasing trend to a decreasing trend. Body movement (walking) is detected when the difference between the peak value of the trough-shaped peak and the peak value of the mountain-shaped peak exceeds the threshold, and the body movement is counted by counting the number of times the difference exceeds the threshold It is configured to count (number of steps).
また、従来、具体的には、たとえば、隣接する谷型のピークのピーク値と山型のピークのピーク値との差分がその時に設定されている閾値より上のレベルの閾値を上回る場合には、体動(歩数)のカウントに用いる閾値を上のレベルの閾値に設定変更し、当該差分がその時に設定されている閾値を下回る場合には、体動(歩数)のカウントに用いる閾値を下のレベルの閾値に設定変更するようにした技術があった(たとえば、下記特許文献1を参照。)。 Further, conventionally, specifically, for example, when the difference between the peak value of the adjacent valley-shaped peak and the peak value of the mountain-shaped peak exceeds the threshold value above the threshold value set at that time If the threshold used for counting body movement (steps) is changed to a higher level threshold and the difference falls below the threshold set at that time, the threshold used for counting body movement (steps) is decreased. There has been a technique in which the setting is changed to a threshold of a level (for example, see Patent Document 1 below).
しかしながら、上述した特許文献1に記載された従来の技術は、隣接する谷型のピークのピーク値と山型のピークのピーク値との差分を閾値と比較して差分が閾値を超えた場合に体動(歩行)を検出しているため、1回の体動において検出される本来の谷型のピークと山型のピークとの間にノイズに起因する谷型のピークや山型のピークが重畳された場合に体動(歩行)を誤検出してしまい、体動の誤カウントが生じるという問題があった。 However, the conventional technique described in the above-mentioned Patent Document 1 compares the difference between the peak value of the adjacent valley-shaped peak and the peak value of the mountain-shaped peak with the threshold value, and the difference exceeds the threshold value. Since body movement (walking) is detected, there is a valley-shaped peak or peak-shaped peak due to noise between the original valley-shaped peak detected in one body movement and the peak-shaped peak. When superimposed, body motion (walking) is erroneously detected, and there is a problem that erroneous counting of body motion occurs.
また、上述した特許文献1に記載された従来の技術は、隣接する谷型のピークのピーク値と山型のピークのピーク値との差分がその時に設定されている閾値を上回るか下回るかにより閾値のレベルを設定変更するため、ノイズに起因する谷型のピークや山型のピークのピーク値に基づく差分に基づいて閾値が設定変更されてしまう。このため、体動(歩行)の誤検出が増加し、体動(歩数)の誤カウントがさらに増加してしまうという問題があった。 In addition, the conventional technique described in Patent Document 1 described above depends on whether the difference between the peak value of the adjacent valley-shaped peak and the peak value of the mountain-shaped peak exceeds or falls below the threshold value set at that time. Since the threshold level is changed, the threshold value is changed based on the difference based on the peak value of the valley-shaped peak or the peak of the mountain-shaped peak caused by noise. For this reason, there has been a problem that erroneous detection of body movement (walking) increases, and erroneous counting of body movement (number of steps) further increases.
この発明は、上述した従来技術による問題点を解消するため、ノイズに起因する体動の誤カウントを防止することができる体動検出装置を提供することを目的とする。 An object of the present invention is to provide a body motion detection device capable of preventing erroneous counting of body motion due to noise in order to solve the above-described problems caused by the prior art.
上述した課題を解決し、目的を達成するため、この発明にかかる体動検出装置は、加速度センサが出力する加速度を取得する加速度取得手段と、前記加速度取得手段によって取得される加速度の大きさの変動傾向が切り替わる第1のピークを検出する第1のピーク検出手段と、前記加速度取得手段によって取得される加速度の大きさの変動傾向が前記第1のピークとは反対方向に切り替わる第2のピークを検出する第2のピーク検出手段と、前記第1のピーク検出手段によって検出された第1のピークの値と当該第1のピークのつぎに前記第2のピーク検出手段によって検出された第2のピークの値との差分である第1の差分が第1の閾値以上であるか否かを判断する第1の判断手段と、前記第2のピーク検出手段によって検出された第2のピークの値と当該第2のピークのつぎに前記第1のピーク検出手段によって検出された第1のピークの値との差分である第2の差分が第2の閾値以上であるか否かを判断する第2の判断手段と、を備え、前記第1の判断手段によって第1の差分が第1の閾値以上であると判断され、かつ、前記第2の判断手段によって第2の差分が第2の閾値以上であると判断された場合に体動を検出することを特徴とする。 In order to solve the above-described problems and achieve the object, a body motion detection device according to the present invention includes an acceleration acquisition unit that acquires an acceleration output from an acceleration sensor, and an acceleration that is acquired by the acceleration acquisition unit. A first peak detecting means for detecting a first peak at which the fluctuation tendency is switched; and a second peak at which the fluctuation tendency of the magnitude of acceleration acquired by the acceleration acquisition means is switched in the opposite direction to the first peak. Second peak detecting means for detecting the first peak value detected by the first peak detecting means and the second peak detected by the second peak detecting means next to the first peak. A first determination means for determining whether or not a first difference that is a difference from a peak value of the first threshold is equal to or greater than a first threshold; and a second difference detected by the second peak detection means Whether the second difference, which is the difference between the first peak value detected by the first peak detection means next to the second peak value, is greater than or equal to the second threshold value. Second determining means for determining the first difference, the first determining means determines that the first difference is greater than or equal to a first threshold, and the second determining means determines the second difference is Body motion is detected when it is determined that the second threshold value or more is reached.
また、この発明にかかる体動検出装置は、上記の発明において、前記第1の判断手段によって第1の差分が第1の閾値以上であると判断された第1の差分の後に出現した前記第2の差分が第2の閾値以上であると判断された場合に体動を検出することを特徴とする。 Further, in the above invention, the body motion detection device according to the present invention is characterized in that the first difference that appears after the first difference determined by the first determination means that the first difference is not less than a first threshold value. The body motion is detected when it is determined that the difference between the two is equal to or greater than the second threshold value.
また、この発明にかかる体動検出装置は、上記の発明において、前記第2の判断手段によって前記第2の閾値以上であると判断された第2の差分の後に出現した第1の差分が、前記第1の判断手段によって前記第1の閾値以上ではないと判断された場合、つぎに出現する第2の差分にかかる体動の検出をおこなわないことを特徴とする。 Further, in the body movement detection device according to the present invention, in the above invention, the first difference that appears after the second difference determined to be equal to or greater than the second threshold by the second determination unit is: When it is determined by the first determination means that it is not equal to or greater than the first threshold value, the body motion relating to the second difference that appears next is not detected.
また、この発明にかかる体動検出装置は、上記の発明において、前記第1のピーク検出手段によって検出された第1のピークの値を記憶する第1の記憶手段と、前記第2のピーク検出手段によって検出された第2のピークの値を記憶する第2の記憶手段と、を備え、前記第1の判断手段が、前記第2のピーク検出手段によって第2のピークが検出されるごとに、当該検出された第2のピークの値と前記第1の記憶手段によって記憶された第1のピークの値とに基づいて算出される第1の差分が前記第1の閾値以上であるか否かを判断し、前記第2の判断手段が、前記第1のピーク検出手段によって第1のピークが検出されるごとに、当該検出された第1のピークの値と前記第2の記憶手段によって記憶された第2のピークの値とに基づいて算出される第2の差分が前記第2の閾値以上であるか否かを判断し、前記第1の記憶手段が、前記第2のピーク検出手段によって第2のピークが検出された場合に、先に記憶されている第1のピークの値を消去し、前記第2の記憶手段が、前記第1のピーク検出手段によって第1のピークが検出され、当該第1のピークの値と先に記憶されている第2のピークの値との差分が前記第2の閾値以上であると判断された場合に、先に記憶されている第2のピークの値を消去することを特徴とする。 Moreover, the body motion detection device according to the present invention is the above invention, wherein the first storage means for storing the value of the first peak detected by the first peak detection means, and the second peak detection Second storage means for storing the value of the second peak detected by the means, and each time the first determination means detects the second peak by the second peak detection means. Whether the first difference calculated based on the detected second peak value and the first peak value stored by the first storage means is greater than or equal to the first threshold value. Each time the first peak is detected by the first peak detection means, the second determination means uses the value of the detected first peak and the second storage means. Calculated based on stored second peak value Whether the second difference is greater than or equal to the second threshold and the first storage means detects the second peak when the second peak detection means detects the second peak. The first peak value stored in the first peak is erased, and the second storage means detects the first peak by the first peak detection means, and stores the first peak value first. When it is determined that the difference between the second peak value and the second peak value is greater than or equal to the second threshold value, the previously stored second peak value is erased.
また、この発明にかかる体動検出装置は、上記の発明において、前記第1のピーク検出手段が、加速度の大きさが減少傾向から増加傾向に切り替わる下弦ピークを検出し、前記第2のピーク検出手段が、加速度の大きさが増加傾向から減少傾向に切り替わる上弦ピークを検出することを特徴とする。 In the body motion detection device according to the present invention as set forth in the invention described above, the first peak detection means detects a lower chord peak where the magnitude of acceleration switches from a decreasing tendency to an increasing tendency, and the second peak detection The means is characterized by detecting an upper string peak in which the magnitude of acceleration switches from an increasing tendency to a decreasing tendency.
また、この発明にかかる体動検出装置は、上記の発明において、前記第1のピーク検出手段が、加速度の大きさが増加傾向から減少傾向に切り替わる上弦ピークを検出し、前記第2のピーク検出手段が、加速度の大きさが減少傾向から増加傾向に切り替わる下弦ピークを検出することを特徴とする。 In the body motion detection device according to the present invention as set forth in the invention described above, the first peak detection means detects an upper string peak in which the magnitude of acceleration switches from an increasing tendency to a decreasing tendency, and the second peak detection The means is characterized by detecting a lower chord peak in which the magnitude of acceleration switches from a decreasing tendency to an increasing tendency.
また、この発明にかかる体動検出装置は、上記の発明において、前記第1のピーク検出手段および前記第2のピーク検出手段が、前回取得した加速度の大きさと今回取得した加速度の大きさとの差分を算出し、前回算出された差分に対する今回算出された差分の大小に基づいて加速度の大きさの変動傾向を判断することを特徴とする。 The body motion detection device according to the present invention is the above-described invention, wherein the first peak detection means and the second peak detection means are the difference between the acceleration magnitude acquired last time and the acceleration magnitude acquired this time. , And a variation tendency of the magnitude of the acceleration is determined based on the difference calculated this time with respect to the previously calculated difference.
また、この発明にかかる体動検出装置は、上記の発明において、前記第1のピーク検出手段が、加速度の大きさの変動傾向が連続して増加あるいは減少した後に当該変動傾向が減少あるいは増加に切り替わった場合に前記第1のピークを検出し、前記第2のピーク検出手段が、加速度の大きさの変動傾向が連続して減少あるいは増加した後に当該変動傾向が増加あるいは減少に切り替わった場合に前記第2のピークを検出することを特徴とする。 In the body movement detecting device according to the present invention, in the above invention, the first peak detecting means may decrease or increase the fluctuation tendency after the fluctuation tendency of the magnitude of acceleration continuously increases or decreases. When the first peak is detected when the switching is made, and the second peak detecting means switches to the increase or decrease after the fluctuation tendency of the acceleration magnitude continuously decreases or increases The second peak is detected.
また、この発明にかかる体動検出装置は、上記の発明において、前記加速度取得手段が、任意のサンプリング周期ごとに加速度の大きさを取得し、前記第1のピーク検出手段による第1のピークの検出条件、および、前記第2のピーク検出手段による第2のピークの検出条件を、前記サンプリング周期の長さに応じて変動させることを特徴とする。 In the body motion detection device according to the present invention, in the above invention, the acceleration acquisition means acquires the magnitude of acceleration every arbitrary sampling period, and the first peak detection means detects the first peak. The detection condition and the second peak detection condition by the second peak detection means are varied according to the length of the sampling period.
この発明によれば、加速度センサが出力する加速度の大きさを示す信号に重畳されたノイズに起因する体動の誤検出を防止することができる。 According to the present invention, it is possible to prevent erroneous detection of body movement caused by noise superimposed on a signal indicating the magnitude of acceleration output from the acceleration sensor.
この発明にかかる体動検出装置によれば、加速度センサが出力する加速度の大きさを示す信号に重畳されたノイズに起因する体動の誤検出を防止することができるので、ノイズに起因する体動の誤カウントを防止することができるという効果を奏する。 According to the body motion detection device according to the present invention, it is possible to prevent erroneous detection of body motion due to noise superimposed on a signal indicating the magnitude of acceleration output from the acceleration sensor. There is an effect that an erroneous counting of movement can be prevented.
以下に添付図面を参照して、この発明にかかる体動検出装置の好適な実施の形態を詳細に説明する。なお、以下の実施の形態の説明および添付図面において、同様の構成には同一の符号を付し、重複する説明を省略する。 Exemplary embodiments of a body motion detection device according to the present invention will be explained below in detail with reference to the accompanying drawings. Note that, in the following description of the embodiments and the accompanying drawings, the same reference numerals are given to the same components, and duplicate descriptions are omitted.
(体動検出装置のハードウェア構成)
図1は、この発明にかかる体動検出装置のハードウェア構成を示すブロック図である。図1に示すように、体動検出装置11は、互いに異なる三方向(X軸方向、Y軸方向およびZ軸方向とする)の加速度を検出可能な3軸加速度センサを備えている。ここでは、3軸加速度センサを、X軸方向の加速度を検出するX軸加速度センサ12、Y軸方向の加速度を検出するY軸加速度センサ13、およびZ軸方向の加速度を検出するZ軸加速度センサ14として示す。加速度センサとしては、周知のものを用いることができる。X軸方向、Y軸方向およびZ軸方向は、体動検出装置11に固有の方向であり、体動検出装置11の姿勢(向きや傾き)の変化に伴って変化する。
(Hardware configuration of body motion detection device)
FIG. 1 is a block diagram showing a hardware configuration of a body motion detection device according to the present invention. As shown in FIG. 1, the body
また、体動検出装置11は、3軸加速度センサの出力信号に基づいて、体動検出装置11を携帯する被験者の体動であるか否かを判断し、体動をカウントする処理装置15を備えている。処理装置15の詳細な構成については、後述する。また、体動検出装置11は、処理装置15でカウントされた体動を表示する表示装置16を備えている。表示装置16は、たとえば、液晶パネルと液晶駆動回路とを備えている。
Further, the body
(処理装置の機能的構成)
図2は、この発明にかかる体動検出装置11の処理装置の機能的構成を示すブロック図である。図2に示すように、処理装置15は、X軸アナログ/デジタル変換部21、Y軸アナログ/デジタル変換部22、Z軸アナログ/デジタル変換部23、加速度データ取得部24、ピーク検出部25、上弦ピーク値記憶部26、下弦ピーク値記憶部27、ピーク差検出部28、閾値判定部29、下弦・上弦検出切替部30、フラグ制御部31および計数部32を備えている。これらの機能部21〜32については、ハードウェアにより実現されてもよいし、CPUなどでプログラムを実行することにより実現されてもよい。
(Functional configuration of processing equipment)
FIG. 2 is a block diagram showing a functional configuration of the processing device of the body
X軸アナログ/デジタル変換部21、Y軸アナログ/デジタル変換部22およびZ軸アナログ/デジタル変換部23は、それぞれ、入力端子(図2における符号21a,22a,23aを参照)を介してX軸加速度センサ12、Y軸加速度センサ13およびZ軸加速度センサ14に接続されている。X軸アナログ/デジタル変換部21、Y軸アナログ/デジタル変換部22およびZ軸アナログ/デジタル変換部23は、それぞれ、X軸加速度センサ12、Y軸加速度センサ13およびZ軸加速度センサ14から出力されるアナログ電圧信号を所定の周期でサンプリングしてデジタルデータに変換する。X軸アナログ/デジタル変換部21、Y軸アナログ/デジタル変換部22およびZ軸アナログ/デジタル変換部23は、同一のタイミングでそれぞれのセンサ出力信号をサンプリングするのが望ましい。
The X-axis analog /
この発明にかかる体動検出装置11において、X軸アナログ/デジタル変換部21、Y軸アナログ/デジタル変換部22およびZ軸アナログ/デジタル変換部23によって、X軸加速度センサ12、Y軸加速度センサ13およびZ軸加速度センサ14から出力されるアナログ電圧信号を取得する周期(以下「サンプリング周期」という)は、可変とされている。
In the body
加速度データ取得部24は、各軸のアナログ/デジタル変換部21,22,23の出力値に基づいて加速度の大きさを取得する。加速度の大きさは、増減を繰り返す。加速度データ取得部24の詳細な構成については、後述する。この実施の形態においては、加速度データ取得部24によって取得手段としての機能を実現することができる。
The acceleration
ピーク検出部25は、加速度バッファおよびUpDownバッファを備えている。加速度バッファは、加速度データ取得部24から出力された加速度の値(加速度の大きさを示す値)を格納する。ピーク検出部25は、加速度データ取得部24から出力された加速度を、たとえば、所定のサンプリング周期で取得し、取得するごとに加速度バッファを更新する。
The
UpDownバッファは、加速度の増減ステータスを記憶する。UpDownバッファは、前回の加速度に対する今回の加速度の増減ステータス(UpDown今回)と、前々回の加速度に対する前回の加速度の増減ステータス(UpDown前回)と、前々々回の加速度に対する前々回の加速度の増減ステータス(UpDown前々回)と、を記憶する。 The UpDown buffer stores acceleration increase / decrease status. The UpDown buffer includes a current acceleration increase / decrease status with respect to the previous acceleration (UpDown current), a previous acceleration increase / decrease status with respect to the previous acceleration (UpDown previous), and a previous acceleration increase / decrease status with respect to the previous acceleration. UpDown before) is stored.
ピーク検出部25は、UpDownバッファに記憶された加速度の増減ステータスに基づいて、下弦ピーク(谷型のピーク、この実施の形態においては第1のピーク)や上弦ピーク(山型のピーク、この実施の形態においては第2のピーク)を検出するとともに各ピークのピーク値(下弦ピーク値および上弦ピーク値)を検出する。この実施の形態においては、ピーク検出部25によって第1のピーク検出手段および第2のピーク検出手段としての機能を実現することができる。下弦ピーク値は、加速度データ取得部24により取得された加速度の大きさが減少傾向から増加傾向に切り替わるときのピーク値とする。上弦ピーク値は、加速度データ取得部24により取得された加速度の大きさが増加傾向から減少傾向に切り替わるときのピーク値とする。
Based on the acceleration increase / decrease status stored in the UpDown buffer, the
ピーク検出部25は、下弦ピーク値を検出するために、たとえば、次のような処理をおこなう。ピーク検出部25は、加速度データ取得部24から出力された加速度の値を今回の加速度としてバッファに格納し、そのバッファの格納値(n番目の加速度)をつぎに加速度データ取得部24から出力される前に前回の加速度としてバッファに格納する。そして、つぎに加速度データ取得部24から出力された加速度(n+1番目の加速度)の値を今回の加速度としてバッファに格納し、前回の加速度(n番目の加速度)と今回の加速度(n+1番目の加速度)とを比較し、n+1番目の加速度の値がn番目の加速度の値よりも小さい場合に、n+1番目の加速度を下弦ピーク値に格納する。また、ピーク検出部25は、n+1番目の加速度を前回の加速度としてバッファに格納するとともに、先に格納されていたn番目の加速度を前々回の加速度としてバッファに格納する。
The
つぎに、ピーク検出部25は、そのつぎに加速度データ取得部24から出力された加速度(n+2番目の加速度)の値を今回の加速度としてバッファに格納して、前回の加速度(n+1番目の加速度)と今回の加速度(n+2番目の加速度)とを比較し、n+2番目の加速度の値がn+1番目の加速度の値よりも小さい場合に、n+2番目の加速度の値を下弦ピーク値に格納する。また、ピーク検出部25は、n+2番目の加速度を前回の加速度としてバッファに格納するとともに、先に格納されていたn+1番目の加速度を前々回の加速度としてバッファに格納する。
Next, the
そして、ピーク検出部25は、加速度データ取得部24から出力された加速度の値が少なくとも2回連続して小さくなった後、そのつぎに加速度データ取得部24から出力された加速度(n+3番目の加速度)の値を今回の加速度としてバッファに格納して、前回の加速度(n+2番目の加速度)と今回の加速度(n+3番目の加速度)とを比較し、n+3番目の加速度の値がn+2番目の加速度の値よりも大きくなった場合に、加速度の大きさが減少傾向から増加傾向に切り替わったと判断する。そのときの下弦ピーク値(n+2番目の加速度の値)が、下弦ピーク値記憶部27によって記憶される。
Then, after the acceleration value output from the acceleration
また、ピーク検出部25は、上弦ピーク値を検出するために、たとえば、次のような処理をおこなう。ピーク検出部25は、加速度データ取得部24から出力された加速度の値を今回の加速度としてバッファに格納し、そのバッファの格納値(m番目の加速度)をつぎに加速度データ取得部24から出力される前に前回の加速度としてバッファに格納する。そして、つぎに加速度データ取得部24から出力された加速度(m+1番目の加速度)の値を今回の加速度としてバッファに格納し、前回の加速度(m番目の加速度)と今回の加速度(m+1番目の加速度)とを比較し、m+1番目の加速度の値がm番目の加速度の値よりも大きい場合に、m+1番目の加速度を上弦ピーク値に格納する。また、ピーク検出部25は、m+1番目の加速度を前回の加速度としてバッファに格納するとともに、先に格納されていたm番目の加速度を前々回の加速度としてバッファに格納する。
In addition, the
つぎに、ピーク検出部25は、m+1番目の加速度の値と、そのつぎに加速度データ取得部24から出力された加速度(m+2番目の加速度)の値を今回の加速度としてバッファに格納して、前回の加速度(m+1番目の加速度)と今回の加速度(m+2番目の加速度)とを比較し、m+2番目の加速度の値がm+1番目の加速度の値よりも大きい場合に、m+2番目の加速度の値を上弦ピーク値に格納する。また、ピーク検出部25は、m+2番目の加速度を前回の加速度として格納するとともに、先に格納されていたm+1番目の加速度を前々回の加速度としてバッファに格納する。
Next, the
そして、ピーク検出部25は、加速度データ取得部24から出力された加速度の値が少なくとも2回連続して大きくなった後、そのつぎに加速度データ取得部24から出力された加速度(m+3番目の加速度)の値を今回の加速度としてバッファに格納して、前回の加速度(m+2番目の加速度)と今回の加速度(m+3番目の加速度)とを比較し、m+3番目の加速度の値がm+2番目の加速度の値よりも小さくなった場合に、加速度の大きさが増加傾向から減少傾向に切り替わったと判断する。そのときの上弦ピーク値(m+2番目の加速度の値)が、上弦ピーク値記憶部27によって記憶される。
Then, after the acceleration value output from the acceleration
ピーク差検出部28は、上弦ピーク値記憶部26によって記憶された上弦ピーク値および下弦ピーク値記憶部27によって記憶された下弦ピーク値の差分を検出(算出)する。ピーク差検出部28は、上弦ピーク値および下弦ピーク値の差分の検出(算出)に際して、たとえば、上弦ピーク値とその直後の下弦ピーク値との差分を検出(算出)する。また、ピーク差検出部28は、上弦ピーク値および下弦ピーク値の差分の検出(算出)に際して、下弦ピーク値とその直後の上弦ピーク値との差分を検出(算出)する。
The peak
閾値判定部29は、ピーク差検出部28により検出(算出)された、上弦ピーク値および下弦ピーク値の差分を、あらかじめ設定されている所定の閾値と比較し、その結果に基づいて体動を検出したか否かを判定する。閾値判定部29は、下弦ピーク値(第1のピーク値)とその直後の上弦ピーク値(第2のピーク値)との差分(第1の差分)が、ピーク差検出部28により検出(算出)された場合、当該差分が第1の閾値以上であるか否かを判断する。また、閾値判定部29は、上弦ピーク値(第2のピーク値)とその直後の下弦ピーク値(第1のピーク値)との差分(第2の差分)が、ピーク差検出部28により検出(算出)された場合、当該差分が第2の閾値以上であるか否かを判断する。
The threshold
第1の閾値および第2の閾値は、あらかじめ設定された値とされる。第1の閾値と第2の閾値とは同じ値とすることができる。また、第1の閾値と第2の閾値とは、たとえば、第1の閾値<第2の閾値や第1の閾値>第2の閾値のように、それぞれが異なる値であってもよい。閾値判定部29は、第1の差分が第1の閾値以上であり、かつ、第2の差分が第2の閾値以上であると判断した場合に体動を検出したと判定する。この実施の形態においては、閾値判定部29によって第1の判断手段および第2の判断手段としての機能を実現することができる。
The first threshold value and the second threshold value are set in advance. The first threshold value and the second threshold value can be the same value. Further, the first threshold value and the second threshold value may be different from each other, for example, first threshold value <second threshold value or first threshold value> second threshold value. The
下弦・上弦検出切替部30は、ピーク検出部25が下弦ピーク値を検出するか上弦ピーク値を検出するかを切り替える。下弦・上弦検出切替部30は、山谷判断ステータスを記憶するバッファを備える。山谷判断ステータスは、体動検出装置11のステータス(動作状態)を示し、「山検知済・谷検知中」ステータスまたは「山検知中」ステータスに設定される。山谷判断ステータスの設定の切り替えについては、説明を後述する(図4および図5を参照)。
The lower string / upper string
この発明にかかる実施の形態の体動検出装置11は、下弦・上弦検出切替部30を備えるものに限らない。この発明にかかる実施の形態の体動検出装置11は、下弦・上弦検出切替部30を備えず、加速度データ取得部24から出力された加速度の値のみに基づいて、上弦ピーク値および下弦ピーク値を検出する構成であってもよい。
The body
上弦ピーク値記憶部26は、上弦ピーク値を記憶する。上弦ピーク値記憶部26は、ピーク検出部25によって下弦ピーク値が検出され、かつ、当該下弦ピーク値および上弦ピーク値記憶部26に記憶されているピーク値の差分が所定の閾値を超えている場合に、記憶されている上弦ピーク値をリセットする。すなわち、上弦ピーク値記憶部26は、ピーク検出部25によって下弦ピーク値が検出され、かつ、当該下弦ピーク値および上弦ピーク値記憶部26に記憶されているピーク値の差分が所定の閾値を超えている場合、記憶されている上弦ピーク値をリセットし、つぎに検出された上弦ピーク値を新たに記憶する。この実施の形態においては、上弦ピーク値記憶部26によって第2の記憶手段を実現することができる。
The upper string peak
下弦ピーク値記憶部27は、下弦ピーク値を記憶する。下弦ピーク値記憶部27は、ピーク検出部25によって上弦ピーク値が検出された場合に、記憶されている下弦ピーク値をリセットする。すなわち、下弦ピーク値記憶部27は、ピーク検出部25によって上弦ピーク値が検出された場合、記憶されている下弦ピーク値をリセットし、つぎに検出された下弦ピーク値を新たに記憶する。この実施の形態においては、下弦ピーク値記憶部27によって第1の記憶手段を実現することができる。
The lower chord peak
フラグ制御部31は、閾値判定部29により体動を検出したと判定された場合に、所定のタイミングで体動検出フラグをオンにする。所定のタイミングは、たとえば、下弦・上弦検出切替部30による、山谷判断ステータスの設定の切り替えタイミングとすることができる。また、フラグ制御部31は、体動検出フラグをオンにした後、所定期間経過した時点で体動検出フラグをオフに切り替える。計数部32は、カウンタにより構成されており、体動検出フラグがオンになった回数をカウントする。計数部32のカウント値のデータは、出力端子(図2における符号32aを参照)を介して前記表示装置16へ送られる。
The
(加速度データ取得部の機能的構成)
図3は、この発明にかかる体動検出装置11の加速度データ取得部の機能的構成を示すブロック図である。図3に示すように、加速度データ取得部24は、X軸加速度データ格納部310、Y軸加速度データ格納部320、Z軸加速度データ格納部330、合成加速度データ算出部340、合成加速度データ格納部350および平滑化部360を備えている。
(Functional configuration of acceleration data acquisition unit)
FIG. 3 is a block diagram showing a functional configuration of the acceleration data acquisition unit of the body
X軸加速度データ格納部310、Y軸加速度データ格納部320およびZ軸加速度データ格納部330は、たとえば、リングバッファにより構成されている。X軸加速度データ格納部310、Y軸加速度データ格納部320およびZ軸加速度データ格納部330は、それぞれ、入力端子(図3における符号310a,320a,330aを参照)を介してX軸アナログ/デジタル変換部21、Y軸アナログ/デジタル変換部22およびZ軸アナログ/デジタル変換部23に接続されており、それらアナログ/デジタル変換部の出力値を加速度データとして格納する。
The X-axis acceleration
合成加速度データ算出部340は、3軸の加速度データから合成加速度データを算出する。合成加速度データ格納部350は、たとえば、リングバッファにより構成されている。合成加速度データ格納部350は、合成加速度データ算出部340によって算出された合成加速度データを格納する。平滑化部360は、合成加速度データ格納部350から連続する所定個数(たとえば、4個)の合成加速度データを読み出し、それらの移動平均値を算出する。合成加速度データの移動平均値を求めることによって、ノイズや微弱な変動などを除去して合成加速度データを平滑化することができる。平滑化部360の出力データは、出力端子(図3における符号360aを参照)を介して前記ピーク検出部25へ送られる。
The combined acceleration
(体動検出処理手順)
つぎに、この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出処理手順について説明する。図4および図5は、この発明にかかる体動検出装置11の体動検出方法による体動検出処理手順を示すフローチャートである。図4および図5のフローチャートにおいて、まず、今回の加速度を取得する(ステップS401)。ステップS401においては、たとえば、体動検知処理にかかる加速度を、所定のサンプリング周波数で取得する。
(Body motion detection procedure)
Next, the body motion detection processing procedure by the body motion detection method of the body
つぎに、ステップS401において取得された今回の加速度と、ピーク検出部25のバッファにおいて今回の加速度として記憶されている前回の加速度とを比較し、今回の加速度が前回の加速度よりも大きいか否かを判断する(ステップS402)。そして、今回の加速度が前回の加速度よりも大きい場合(ステップS402:Yes)は、UpDownバッファにおける加速度の増減ステータスのうちのUpDown今回をUPに設定する(ステップS403)。その後、ステップS407へ移行する。
Next, the current acceleration acquired in step S401 is compared with the previous acceleration stored as the current acceleration in the buffer of the
ステップS402において、今回の加速度が前回の加速度よりも大きくない場合(ステップS402:No)は、今回の加速度が前回の加速度よりも小さいか否かを判断する(ステップS404)。そして、今回の加速度が前回の加速度よりも小さい場合(ステップS404:Yes)は、UpDownバッファにおける加速度の増減ステータスのうちのUpDown今回をDOWNに設定する(ステップS405)。その後、ステップS407へ移行する。 In step S402, when the current acceleration is not larger than the previous acceleration (step S402: No), it is determined whether or not the current acceleration is smaller than the previous acceleration (step S404). If the current acceleration is smaller than the previous acceleration (step S404: Yes), UpDown this time in the increase / decrease status of the acceleration in the UpDown buffer is set to DOWN (step S405). Thereafter, the process proceeds to step S407.
ステップS404において、今回の加速度が前回の加速度よりも小さくない場合(ステップS404:No)、すなわち、今回の加速度が前回の加速度よりも大きい場合および今回の加速度が前回の加速度よりも小さい場合以外(今回の加速度が前回の加速度と等しい)の場合は、UpDownバッファにおける加速度の増減ステータスのうちのUpDown今回をUpDown前回に設定された値と同じ値に設定する(ステップS406)。その後、ステップS407へ移行する。 In step S404, when the current acceleration is not smaller than the previous acceleration (step S404: No), that is, when the current acceleration is larger than the previous acceleration and when the current acceleration is smaller than the previous acceleration ( If the current acceleration is equal to the previous acceleration), the UpDown current value of the acceleration increase / decrease status in the UpDown buffer is set to the same value as the previous value set for UpDown (step S406). Thereafter, the process proceeds to step S407.
ステップS407においては、前回の加速度の値が今回の加速度の値となる(前回の加速度=今回の加速度)ように、前回の加速度の値を更新する(ステップS407)。つぎに、UpDownバッファにおける加速度の増減ステータスのうちのUpDown前々回、UpDown前回およびUpDown今回を参照して、各ステータスが、それぞれ、UpDown前々回=UPかつUpDown前回=UPかつUpDown今回=DOWNであるか否かを判断する(ステップS408)。ステップS408において、UpDownバッファにおける加速度の各ステータスが、それぞれ、UpDown前々回=UPかつUpDown前回=UPかつUpDown今回=DOWNではない場合(ステップS408:No)は、ステップS412へ移行する。 In step S407, the previous acceleration value is updated so that the previous acceleration value becomes the current acceleration value (previous acceleration = current acceleration) (step S407). Next, referring to UpDown previous time, UpDown previous time and UpDown current in the acceleration increase / decrease status in the UpDown buffer, whether each status is UpDown previous time = UP and UpDown previous time = UP and UpDown current time = DOWN, respectively. Is determined (step S408). In step S408, if the statuses of the accelerations in the UpDown buffer are not UpDown last time = UP and UpDown last time = UP and UpDown this time = DOWN (step S408: No), the process proceeds to step S412.
ステップS408において、UpDownバッファにおける加速度の各ステータスが、それぞれ、UpDown前々回=UPかつUpDown前回=UPかつUpDown今回=DOWNである場合(ステップS408:Yes)は、上弦ピーク値と下弦ピーク値との差分(上弦ピーク値−下弦ピーク値)が、所定の閾値以上であるか否かを判断する(ステップS409)。この実施の形態においては、ステップS409においては、第1の閾値と第2の閾値とが同じ閾値に設定されている場合を例に説明し、以下、第1の閾値および第2の閾値を、ともに「閾値」として説明する。 In step S408, if the statuses of acceleration in the UpDown buffer are UpDown previous time = UP and UpDown last time = UP and UpDown this time = DOWN (step S408: Yes), the difference between the upper chord peak value and the lower chord peak value It is determined whether (upper string peak value−lower string peak value) is equal to or greater than a predetermined threshold (step S409). In this embodiment, in step S409, the case where the first threshold value and the second threshold value are set to the same threshold value will be described as an example. Hereinafter, the first threshold value and the second threshold value will be described. Both are described as “threshold”.
ステップS409において、上弦ピーク値と下弦ピーク値との差分(上弦ピーク値−下弦ピーク値)が、所定の閾値以上ではない場合(ステップS409:No)は、ステップS411へ移行する。一方、ステップS409において、上弦ピーク値と下弦ピーク値との差分(上弦ピーク値−下弦ピーク値)が、所定の閾値以上である場合(ステップS409:Yes)は、山谷判断ステータスを「山検知済・谷検知中」に設定する(ステップS410)。 In step S409, when the difference between the upper chord peak value and the lower chord peak value (upper chord peak value−lower chord peak value) is not equal to or greater than the predetermined threshold (step S409: No), the process proceeds to step S411. On the other hand, in step S409, if the difference between the upper chord peak value and the lower chord peak value (upper chord peak value−lower chord peak value) is equal to or greater than a predetermined threshold (step S409: Yes), the mountain / valley determination status is set to “mount detected”. Set “to valley detection” (step S410).
そして、ステップS401において取得された今回の加速度を下弦ピーク値に設定する(ステップS411)。ステップS411によって、先に記憶されていた下弦ピーク値(第1のピーク値)がリセットされ、ステップS401において取得された今回の加速度の値が新たな下弦ピーク値となるように下弦ピーク値が更新される。 Then, the current acceleration acquired in step S401 is set to the lower chord peak value (step S411). In step S411, the previously stored lower chord peak value (first peak value) is reset, and the lower chord peak value is updated so that the current acceleration value acquired in step S401 becomes a new lower chord peak value. Is done.
つぎに、UpDownバッファにおける加速度の増減ステータスのうちのUpDown前々回、UpDown前回およびUpDown今回を参照して、各ステータスが、それぞれ、UpDown前々回=DOWNかつUpDown前回=DOWNかつUpDown今回=UPであるか否かを判断する(ステップS412)。ステップS412において、UpDownバッファにおける加速度の各ステータスが、それぞれ、UpDown前々回=DOWNかつUpDown前回=DOWNかつUpDown今回=UPである場合(ステップS412:Yes)は、上弦ピーク値と下弦ピーク値との差分(上弦ピーク値−下弦ピーク値)が、所定の閾値以上であるか否かを判断する(ステップS413)。 Next, referring to UpDown previous time, UpDown previous time, and UpDown current time in the increase / decrease status of the acceleration in the UpDown buffer, whether each status is UpDown previous time = DOWN and UpDown previous time = DOWN and UpDown current time = UP, respectively. Is determined (step S412). In step S412, if the statuses of the acceleration in the UpDown buffer are UpDown previous time = DOWN and UpDown last time = DOWN and UpDown this time = UP (step S412: Yes), the difference between the upper chord peak value and the lower chord peak value It is determined whether (upper string peak value−lower string peak value) is equal to or greater than a predetermined threshold value (step S413).
ステップS413において、上弦ピーク値と下弦ピーク値との差分(上弦ピーク値−下弦ピーク値)が、所定の閾値以上である場合(ステップS413:Yes)は、ステップS401において取得された今回の加速度を上弦ピーク値に設定する(ステップS414)。ステップS414によって、先に記憶されていた上弦ピーク値(第2のピーク値)がリセットされ、ステップS401において取得された今回の加速度の値が新たな上弦ピーク値となるように上弦ピーク値が更新される。 In step S413, when the difference between the upper string peak value and the lower string peak value (upper string peak value−lower string peak value) is equal to or greater than a predetermined threshold (step S413: Yes), the current acceleration acquired in step S401 is determined. The first peak value is set (step S414). In step S414, the previously stored first chord peak value (second peak value) is reset, and the first chord peak value is updated so that the current acceleration value acquired in step S401 becomes a new first chord peak value. Is done.
その後、山谷判断ステータスが「山検知済・谷検知中」に設定されているか否かを判断する(ステップS415)。ステップS415において、山谷判断ステータスが「山検知済・谷検知中」に設定されている場合(ステップS415:Yes)は、図5におけるステップS501へ移行する。 Thereafter, it is determined whether or not the mountain valley determination status is set to “mountain detected already / valley detected” (step S415). In step S415, when the mountain / valley determination status is set to “mountain detected / valley detected” (step S415: Yes), the process proceeds to step S501 in FIG.
一方、ステップS415において、山谷判断ステータスが「山検知済・谷検知中」に設定されていない場合(ステップS415:No)は、図5におけるステップS503へ移行する。また、ステップS413において上弦ピーク値と下弦ピーク値との差分(上弦ピーク値−下弦ピーク値)が、所定の閾値以上ではない場合(ステップS413:No)、および、ステップS412においてUpDownバッファにおける加速度の各ステータスが、それぞれ、UpDown前々回=DOWNかつUpDown前回=DOWNかつUpDown今回=UPではない場合(ステップS412:No)は、図5におけるステップS503へ移行する。 On the other hand, in step S415, when the mountain valley determination status is not set to “mountain detected / valley detected” (step S415: No), the process proceeds to step S503 in FIG. If the difference between the upper chord peak value and the lower chord peak value (upper chord peak value−lower chord peak value) is not greater than or equal to a predetermined threshold value in step S413 (step S413: No), and the acceleration in the UpDown buffer is determined in step S412. If each status is not UpDown before last time = DOWN and UpDown last time = DOWN and UpDown this time = UP (step S412: No), the process proceeds to step S503 in FIG.
山谷判断ステータスが「山検知済・谷検知中」に設定されている場合(ステップS415:Yes)は、図5のフローチャートにおけるステップS501において、山谷判断ステータスを「山検知中」に設定する(ステップS501)とともに、体動検出フラグをONに設定する(ステップS502)。ステップS501における処理とステップS502における処理とは、実行順序が逆であってもよい。すなわち、山谷判断ステータスが「山検知済・谷検知中」に設定されている場合は、体動検出フラグをONに設定した後に、山谷判断ステータスを「山検知中」に設定するようにしてもよい。 When the mountain / valley determination status is set to “mountain detected / valley detected” (step S415: Yes), the mountain / valley determination status is set to “mountain detected” in step S501 in the flowchart of FIG. In step S501), the body motion detection flag is set to ON (step S502). The execution order of the process in step S501 and the process in step S502 may be reversed. That is, if the mountain / valley determination status is set to “mountain detected / valley detected”, the body / valid detection status may be set to “mountain detected” after the body motion detection flag is set to ON. Good.
つぎに、ステップS401において取得された今回の加速度が、上弦ピーク値以上であるか否かを判断する(ステップS503)。ステップS503において、ステップS401において取得された今回の加速度が上弦ピーク値以上である場合(ステップS503:Yes)は、ステップS401において取得された今回の加速度を上弦ピーク値に設定する(ステップS504)ことにより、上弦ピーク値を更新する。ステップS503において、ステップS401において取得された今回の加速度が上弦ピーク値以上ではない場合(ステップS503:No)は、ステップS505へ移行する。 Next, it is determined whether or not the current acceleration acquired in step S401 is equal to or higher than the first chord peak value (step S503). In step S503, when the current acceleration acquired in step S401 is equal to or higher than the upper chord peak value (step S503: Yes), the current acceleration acquired in step S401 is set to the upper chord peak value (step S504). To update the upper string peak value. In step S503, when the current acceleration acquired in step S401 is not equal to or higher than the first chord peak value (step S503: No), the process proceeds to step S505.
ステップS505においては、ステップS401において取得された今回の加速度が、下弦ピーク値以下であるか否かを判断する(ステップS505)。ステップS505において、ステップS401において取得された今回の加速度が下弦ピーク値以下である場合(ステップS505:Yes)は、ステップS401において取得された今回の加速度を下弦ピーク値に設定する(ステップS506)ことにより、下弦ピーク値を更新する。ステップS505において、ステップS401において取得された今回の加速度が下弦ピーク値以下ではない場合(ステップS505:No)は、ステップS507へ移行する。 In step S505, it is determined whether or not the current acceleration acquired in step S401 is equal to or lower than the lower chord peak value (step S505). In step S505, when the current acceleration acquired in step S401 is equal to or lower than the lower chord peak value (step S505: Yes), the current acceleration acquired in step S401 is set to the lower chord peak value (step S506). To update the lower chord peak value. In step S505, when the current acceleration acquired in step S401 is not less than the lower chord peak value (step S505: No), the process proceeds to step S507.
そして、UpDownバッファにおける加速度の増減ステータスのうちのUpDown前々回のステータスがUpDown前回のステータスとなる(UpDown前々回=UpDown前回)ように、UpDown前々回のステータスを更新する(ステップS507)とともに、UpDown前回のステータスがUpDown今回のステータスとなる(UpDown前回=UpDown今回)ように、UpDown前回のステータスを更新して(ステップS508)、一連の処理を終了する。ステップS507の処理とステップS508の処理とは、実行順序が逆であってもよい。すなわち、UpDown前回のステータスを更新した後に、UpDown前々回のステータスを更新するようにしてもよい。 Then, the previous status of UpDown is updated so that the previous status of UpDown in the increase / decrease status of the acceleration in the UpDown buffer becomes the previous status of UpDown (UpDown previous time = UpDown previous status) (Step S507) and the previous status of UpDown The UpDown previous status is updated (Step S508) so that the status of UpDown is the current status (UpDown previous time = UpDown current time), and the series of processing ends. The processing order of step S507 and the processing of step S508 may be reversed. That is, after updating the previous status of UpDown, the status of the previous time of UpDown may be updated.
(体動検出アルゴリズム)
つぎに、この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出アルゴリズム例について説明する。
この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出アルゴリズムは、第1の差分が閾値(第1の閾値)以上であり、かつ、第2の差分が閾値(第2の閾値)以上である場合に体動を検出したと判定し、体動を検出したと判定するごとに体動を1回ずつカウントする。
(Body motion detection algorithm)
Next, an example of a body motion detection algorithm by the body motion detection method of the body
In the body motion detection algorithm according to the body motion detection method of the body
体動をカウントするカウント判定タイミングは、下弦ピーク値(第1のピーク値)とその直後の上弦ピーク値(第2のピーク値)との差分(第1の差分)が閾値(第1の閾値)以上であり、その後に、当該上弦ピーク値に対する差分(第2の差分)が閾値(第2の閾値)以上となる下弦ピークが出現した時点とすることができる。 The count determination timing for counting the body movement is based on the difference (first difference) between the lower chord peak value (first peak value) and the immediately following upper chord peak value (second peak value) as a threshold (first threshold). ), And thereafter, the time point when the lower chord peak at which the difference (second difference) with respect to the upper chord peak value is equal to or greater than the threshold (second threshold) appears.
また、体動をカウントするカウント判定タイミングは、たとえば、上弦ピーク値とその直後の下弦ピーク値との差分(第1の差分)が閾値(第1の閾値)以上であり、その後に、当該下弦ピーク値に対する差分(第2の差分)が閾値(第2の閾値)以上となる上弦ピークが出現した時点としてもよい。 The count determination timing for counting the body movement is, for example, that the difference (first difference) between the upper chord peak value and the lower chord peak value immediately after that is equal to or greater than a threshold (first threshold), and then the lower chord It may be a point in time when an upper crest peak where the difference (second difference) with respect to the peak value is equal to or greater than a threshold (second threshold) appears.
(ノイズ誤カウント防止)
つぎに、上述の体動検出アルゴリズムによって、どのようにしてノイズによる誤カウントが防止されるかについて説明する。図6は、この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出アルゴリズムを説明する波形図である。
(Prevents incorrect noise counting)
Next, how the erroneous counting due to noise is prevented by the above-described body motion detection algorithm will be described. FIG. 6 is a waveform diagram illustrating a body motion detection algorithm according to the body motion detection method of the body
この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出アルゴリズムにおいては、下弦ピークから当該下弦ピークの直後に出現する上弦ピークまでの振幅に対して設けられた所定の閾値に基づいて、前記振幅(下弦ピーク値と当該下弦ピークの直後の上弦ピーク値との差分)が前記所定の閾値以下の場合、つぎに出現する上弦ピーク値(前記上弦ピーク値)から当該上弦ピークの直後に出現する下弦ピークまでの振幅(前記上弦ピーク値と当該上弦ピークの直後の下弦ピーク値との差分)はノイズとみなし、体動検出をおこなわない。
In the body motion detection algorithm according to the body motion detection method of the body
具体的に、たとえば、図6に示したような振幅の信号においては、上弦ピーク値に対する差分が所定の閾値以上となる振幅(符号610を参照)の下弦ピークを検出し、体動のカウントをおこなった後に、当該下弦ピークから当該下弦ピークの直後に出現する上弦ピークまでの振幅(符号620を参照)が、所定の閾値以下である場合、当該上弦ピーク値から当該上弦ピークの直後に出現する下弦ピークまでの振幅(符号630を参照)が体動の検出にかかる所定の閾値よりも大きい場合であっても体動のカウントをおこなわない。 Specifically, for example, in a signal having an amplitude as shown in FIG. 6, a lower chord peak with an amplitude (see reference numeral 610) at which the difference from the upper chord peak value is equal to or greater than a predetermined threshold is detected, and the body motion is counted. If the amplitude from the lower chord peak to the upper chord peak that appears immediately after the lower chord peak after the operation (see reference numeral 620) is equal to or less than a predetermined threshold value, the amplitude appears from the upper chord peak value immediately after the upper chord peak. Even when the amplitude up to the lower chord peak (see reference numeral 630) is larger than a predetermined threshold for detecting body movement, the body movement is not counted.
また、具体的に、たとえば、図6に示したような振幅の信号において、矢印640に示したピークは、矢印640の1つ前の下弦ピークから当該下弦ピークの直後に出現する上弦ピークまでの振幅が所定の閾値以下であり振幅が小さいので体動のカウントをおこなわない。このような体動検出アルゴリズムとすることにより、たとえば鉄道などの乗り物に乗車していることに起因する揺れや振動によって出現する振幅(ノイズ)による体動の誤カウントを防止し、体動を精度良くカウントすることができる。
Specifically, for example, in the signal having the amplitude as shown in FIG. 6, the peak indicated by the
(下弦ピーク値、上弦ピーク値のリセットタイミング)
つぎに、この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出アルゴリズムにおける、下弦ピーク値、上弦ピーク値のリセットタイミングについて説明する。図7は、この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出アルゴリズムにおける、下弦ピーク値、上弦ピーク値のリセットタイミングを示す説明図である。
(Reset timing of lower and upper chord peak values)
Next, the reset timing of the lower chord peak value and the upper chord peak value in the body motion detection algorithm by the body motion detection method of the body
図7において、この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出アルゴリズムでは、体動によって振幅(山谷)を生じる信号において、上弦ピークを検出した場合に、下弦ピーク値をリセットする。また、この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出アルゴリズムでは、体動によって振幅(山谷)を生じる信号において、下弦ピークを検出し、かつ、当該下弦ピークを検出した時点における上弦ピーク値および下弦ピーク値の差分が所定の閾値を超えた場合に、下弦ピーク値をリセットする。
In FIG. 7, in the body motion detection algorithm according to the body motion detection method of the body
この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出アルゴリズムにおいては、図7において矢印710で示したような下弦ピークを検出しても、上弦ピーク値と当該下弦ピーク値との差分が所定の閾値を超えない場合は、上弦ピーク値はリセットされない。すなわち、この発明にかかる実施の形態の体動検出装置11の体動検出方法による体動検出アルゴリズムにおいては、体動によって振幅(山谷)を生じる信号における下弦ピークを検出しても、当該検出された下弦ピーク値の上弦ピーク値に対する差分が所定の閾値を超えるまでの間は、上弦ピーク値はリセットされない。図7においては、上弦ピーク値との差分が所定の閾値を超える矢印720で示した下弦ピーク(下弦ピーク)を検出した時点において、上弦ピーク値がリセットされる。
In the body motion detection algorithm by the body motion detection method of the body
このとき、上弦ピーク値をリセットするタイミングは、下弦ピークの検出、当該下弦ピーク値と直前の上弦ピーク値との差分の閾値との比較、体動のカウントの条件から必要な条件を組み合わせた条件とすることができる。たとえば、上弦ピーク値をリセットするタイミングを、「下弦ピークを検出し、かつ、体動検出のカウントをおこなった時点」と限定してもよい。 At this time, the timing for resetting the upper chord peak value is a combination of the necessary conditions from the detection of the lower chord peak, the comparison of the threshold value of the difference between the lower chord peak value and the immediately preceding upper chord peak value, and the body movement counting condition. It can be. For example, the timing for resetting the upper chord peak value may be limited to “the point in time when the lower chord peak is detected and the body motion detection is counted”.
また、同様に、下弦ピーク値をリセットするタイミングは、上弦ピークの検出、当該上弦ピーク値と直前の下弦ピーク値との差分の閾値との比較、体動のカウントの条件から必要な条件を組み合わせた条件とすることができる。たとえば、下弦ピーク値をリセットするタイミングを、「上弦ピークを検出し、かつ、当該上弦ピーク値と直前の下弦ピーク値との差分が所定の閾値以上となった時点」とさらに限定することもできる。 Similarly, the timing for resetting the lower chord peak value is a combination of the conditions for detecting the upper chord peak, comparing the difference between the upper chord peak value and the previous lower chord peak value, and counting the body movement. Conditions. For example, the timing at which the lower chord peak value is reset can be further limited to “when the upper chord peak is detected and the difference between the upper chord peak value and the immediately preceding lower chord peak value is equal to or greater than a predetermined threshold value”. .
そして、下弦ピーク値をリセットするタイミングを、「上弦ピークを検出し、かつ、当該上弦ピーク値と直前の下弦ピーク値との差分が所定の閾値以上となった時点」とした場合は、さらに、「上弦ピーク値と当該上弦ピークの直前の下弦ピーク値との差分を判断する閾値」が、「下弦ピーク値と当該下弦ピークの直前の上弦ピーク値との差分を判断する閾値」よりも小さくなるような条件(「上弦ピーク値と当該上弦ピークの直前の下弦ピーク値との差分を判断する閾値」<「下弦ピーク値と当該下弦ピークの直前の上弦ピーク値との差分を判断する閾値」)と設定することも誤カウント防止には有効である。 Then, when the timing of resetting the lower chord peak value is “when the upper chord peak is detected and the difference between the upper chord peak value and the immediately preceding lower chord peak value is equal to or greater than a predetermined threshold value”, The “threshold value for determining the difference between the upper chord peak value and the lower chord peak value immediately before the upper chord peak” is smaller than the “threshold for determining the difference between the lower chord peak value and the upper chord peak value immediately before the lower chord peak”. Conditions (“Threshold for determining the difference between the upper chord peak value and the lower chord peak value immediately before the upper chord peak” <“Threshold for determining the difference between the lower chord peak value and the upper chord peak value immediately before the lower chord peak”) It is also effective to prevent erroneous counting.
上述の例に限らず、ピークの検出、当該ピーク値と直前のピーク値との差分の閾値との比較、体動のカウントの条件からを組み合わせることによって上弦ピーク値、下弦ピーク値のリセットタイミングとすればよい。 Not limited to the above example, the combination of detection of a peak, comparison of the threshold value of the difference between the peak value and the immediately preceding peak value, and the condition of counting the body movement, the reset timing of the first and second peak values do it.
これまでの実施の形態では、体動をカウントするカウント判定タイミングが、下弦ピーク値(第1のピーク値)とその直後の上弦ピーク値(第2のピーク値)との差分(第1の差分)が閾値(第1の閾値)以上であり、その後に、当該上弦ピーク値に対する差分(第2の差分)が閾値(第2の閾値)以上となる下弦ピークが出現した時点で体動をカウントする場合の上弦ピークと下弦ピークのリセットタイミングについて説明した。 In the embodiments described so far, the count determination timing for counting the body movement is the difference (first difference) between the lower chord peak value (first peak value) and the immediately following upper chord peak value (second peak value). ) Is equal to or greater than a threshold (first threshold), and thereafter, body motion is counted when a lower chord peak appears where the difference (second difference) relative to the upper chord peak value is equal to or greater than the threshold (second threshold). The timing of resetting the upper and lower chord peaks was explained.
一方、体動をカウントするカウント判定タイミングは、上弦ピーク値とその直後の下弦ピーク値との差分(第1の差分)が閾値(第1の閾値)以上であり、その後に、当該下弦ピーク値に対する差分(第2の差分)が閾値(第2の閾値)以上となる上弦ピークが出現した時点というように、上述の説明とは上弦ピークと下弦ピークの順が逆となるようにしてもよい。その場合は、上弦ピーク値と下弦ピーク値をリセットするタイミングの条件も上弦ピーク値と下弦ピーク値とで上述の説明の逆になる。 On the other hand, the count determination timing for counting the body movement is such that the difference (first difference) between the upper chord peak value and the immediately following lower chord peak value is equal to or greater than a threshold value (first threshold value), and then the lower chord peak value. The order of the upper chord peak and the lower chord peak may be reversed from the above description, for example, when the upper chord peak at which the difference with respect to (second difference) is equal to or greater than the threshold (second threshold) appears. . In this case, the timing conditions for resetting the upper chord peak value and the lower chord peak value are also opposite to those described above for the upper chord peak value and the lower chord peak value.
(上弦ピーク/下弦ピークの検出方法)
図8は、上弦ピークの検出方法を示す説明図である。図8において、上弦ピークは、所定のサンプリング周期で取得された加速度の値に基づいて、当該加速度の大きさの増減傾向が2回連続して増加傾向を示した後(図8における符号801,802を参照)、減少傾向を示した(図8における符号803を参照)場合に検出される。
(Detection method of upper and lower chord peaks)
FIG. 8 is an explanatory diagram showing a method for detecting the upper chord peak. In FIG. 8, the upper chord peak is obtained after the increase / decrease tendency of the magnitude of the acceleration shows an increase tendency twice consecutively based on the acceleration value acquired at a predetermined sampling period (
図9は、下弦ピークの検出方法を示す説明図である。図9において、下弦ピークは、所定のサンプリング周期で取得された加速度の値に基づいて、当該加速度の大きさの増減傾向が2回連続して減少傾向を示した後(図9における符号901,902を参照)、増加傾向を示した(図9における符号903を参照)場合に検出される。
FIG. 9 is an explanatory diagram showing a method for detecting the lower chord peak. In FIG. 9, the lower chord peak is indicated after the increase / decrease tendency of the magnitude of the acceleration shows a decrease tendency twice in succession based on the acceleration value acquired at a predetermined sampling period (
以上説明したように、この実施の形態の体動検出装置11は、加速度センサが出力する加速度を取得し、取得される加速度の大きさの変動傾向が切り替わる第1のピークと、取得される加速度の大きさの変動傾向が第1のピークとは反対方向に切り替わる第2のピークと、を検出する。そして、第1のピークの値と当該第1のピークのつぎに検出された第2のピークの値との差分である第1の差分が第1の閾値以上であって、かつ、第2のピークの値と当該第2のピークのつぎに検出された第1のピークの値との差分である第2の差分が第2の閾値以上である場合に体動を検出することを特徴としている。すなわち、下弦ピーク値とその直後の上弦ピーク値との差分が閾値以上であり、かつ、上弦ピーク値とその直後の下弦ピーク値との差分が閾値以上である場合に体動を検出することを特徴としている。
As described above, the body
この実施の形態の体動検出装置11によれば、加速度センサが出力する加速度の大きさを示す信号に重畳されたノイズに起因する体動の誤検出を防止することができ、体動を精度良くカウントすることができる。
According to the body
具体的には、被験者は、たとえば、通勤などのような歩行状態、散歩などのような比較的ゆっくりした歩行状態、ジョギングなどのように走行している状態、などのように様々な状態となることが想定される。この実施の形態の体動検出装置11によれば、被験者の状態が様々に変わっても当該被験者が体動検出装置11に対して何らの操作をすることなく、各状態における体動を精度良くカウントすることができる。
Specifically, for example, the subject can have various states such as a walking state such as commuting, a relatively slow walking state such as a walk, and a running state such as jogging. It is assumed that According to the body
また、この実施の形態の体動検出装置11は、第1の差分が第1の閾値以上であると判断された第1の差分の後に出現した第2の差分が第2の閾値以上であると判断された場合に体動を検出することを特徴としている。すなわち、下弦ピーク値とその直後の上弦ピーク値との差分が閾値以上であり、その後出現した上弦ピーク値とその直後の下弦ピーク値との差分が閾値以上である場合に体動を検出することを特徴としている。
Further, in the body
この実施の形態の体動検出装置11によれば、加速度センサが出力する加速度の大きさを示す信号に重畳されたノイズに起因する体動の誤検出を防止しつつ、体動に起因する振幅を精度良く検出することができる。これによって、どのような状態における体動であってもノイズに起因する体動の誤カウントを防止することができ、体動を精度良くカウントすることができる。
According to the body
また、この実施の形態の体動検出装置11は、第2の閾値以上であると判断された第2の差分の後に出現した第1の差分が第1の閾値以上ではない場合は、つぎに出現する第2の差分にかかる体動の検出をおこなわないことを特徴としている。この実施の形態の体動検出装置11によれば、たとえば、上記のように体動を検出した後、被験者がつぎの体動となる動作をおこなう前にノイズが重畳された場合、当該ノイズに起因して検出された上弦ピーク値や下弦ピーク値に基づいて体動の検出がおこなわれることを防止することができる。これによって、ノイズに起因する体動の誤カウントを防止することができ、体動を精度良くカウントすることができる。
In addition, the body
また、この実施の形態の体動検出装置11は、第1の差分および第2の差分が閾値を超えているかどうかの判断を、上弦ピーク値記憶部26に記憶された上弦ピーク値(第2のピーク値)や下弦ピーク値記憶部27に記憶された下弦ピーク値(第1のピーク値)に基づいておこなう。下弦ピーク値記憶部27に記憶された下弦ピーク値は、上弦ピークが検出されるごとにリセット(消去)する。上弦ピーク値記憶部26に記憶された上弦ピーク値は、下弦ピークが検出され、当該下弦ピーク値と上弦ピーク値記憶部26において先に記憶されている上弦ピーク値との差分が閾値以上であると判断された場合に、上弦ピーク値記憶部26において先に記憶されている上弦ピーク値をリセット(消去)する。
In addition, the body
この実施の形態の体動検出装置11によれば、下弦ピーク値記憶部27に記憶された下弦ピーク値や上弦ピーク値記憶部26に記憶された上弦ピーク値を上記のようにリセット(消去)することにより、被験者の体動に起因する第1の差分および第2の差分を精度良く検出することができる。これによって、ノイズに起因する体動の誤カウントを防止することができ、体動を精度良くカウントすることができる。
According to the body
また、この実施の形態の体動検出装置11は、前記第1のピーク検出手段および前記第2のピーク検出手段が、前回取得した加速度の大きさと今回取得した加速度の大きさとの差分を算出し、前回算出された差分に対する今回算出された差分の大小に基づいて加速度の大きさの変動傾向を判断することを特徴とする。この実施の形態の体動検出装置11によれば、加速度の大きさ(加速度の値)の変動傾向を容易かつ正確に算出することができるので、ノイズに起因する体動の誤カウントを防止することができ、体動を精度良くカウントすることができる。
Further, in the body
また、この実施の形態の体動検出装置11は、加速度の大きさの変動傾向が連続して減少した後に当該変動傾向が増加に切り替わった場合に下弦ピークを検出し、加速度の大きさの変動傾向が連続して増加した後に当該変動傾向が減少に切り替わった場合に上弦ピークを検出することを特徴としている。この実施の形態の体動検出装置11によれば、加速度の大きさの変動傾向が確実に減少した後に増加した場合に下弦ピークを検出し、加速度の大きさの変動傾向が確実に増加した後に減少した場合に上弦ピークを検出することができるので、ノイズに起因する体動の誤カウントを防止することができ、体動を精度良くカウントすることができる。
In addition, the body
また、この実施の形態の体動検出装置11は、任意のサンプリング周期ごとに加速度の大きさを取得し、下弦ピークの検出条件および上弦ピークの検出条件をサンプリング周期の長さに応じて変動させることを特徴としてもよい。サンプリング周期の長さは、たとえば、上述した実施の形態の方法でのサンプリング周期の長さよりも長いサンプリング周期を設定することができる。この場合、サンプリング周波数は、上述した実施の形態の方法でのサンプリング周波数よりも低くなる。
In addition, the body
具体的には、上述した実施の形態においては、加速度の大きさが「UP(増加傾向)→UP(増加傾向)→DOWN(減少傾向)」という増減傾向を示した時点で上弦ピークを検出したが、サンプリング周期の長さを長くした場合は、たとえば、「UP(増加傾向)→DOWN(減少傾向)」という増減傾向を示した時点で上弦ピークを検出するように検出条件を変動させる。同様に、上述した実施の形態においては、加速度の大きさが「DOWN(減少傾向)→DOWN(減少傾向)→UP(増加傾向)」という増減傾向を示した時点で下弦ピークを検出したが、サンプリング周期の長さを長くした場合は、たとえば、「DOWN(減少傾向)→UP(増加傾向)」という増減傾向を示した時点で下弦ピークを検出するように検出条件を変動させる。 Specifically, in the above-described embodiment, the first peak was detected when the magnitude of the acceleration showed an increase / decrease trend of “UP (increase tendency) → UP (increase tendency) → DOWN (decrease tendency)”. However, when the length of the sampling cycle is increased, for example, the detection condition is changed so as to detect the first-crest peak at the time when the increase / decrease tendency of “UP (increase tendency) → DOWN (decrease tendency)” is shown. Similarly, in the above-described embodiment, the lower chord peak is detected when the magnitude of the acceleration shows an increase / decrease trend of “DOWN (decrease trend) → DOWN (decrease trend) → UP (increasment trend)”. When the length of the sampling cycle is increased, for example, the detection condition is changed so that the lower chord peak is detected when the increase / decrease tendency of “DOWN (decrease tendency) → UP (increase tendency)” is shown.
また、サンプリング周期の長さは、たとえば、上述した実施の形態の方法でのサンプリング周期の長さよりも短いサンプリング周期を設定することができる。この場合、サンプリング周波数は、上述した実施の形態の方法でのサンプリング周波数よりも高くなる。 The length of the sampling period can be set to a sampling period shorter than the length of the sampling period in the method of the above-described embodiment, for example. In this case, the sampling frequency is higher than the sampling frequency in the method of the above-described embodiment.
具体的には、上述した実施の形態においては、加速度の大きさが「UP(増加傾向)→UP(増加傾向)→DOWN(減少傾向)」という増減傾向を示した時点で上弦ピークを検出したが、サンプリング周期の長さを短くした場合、たとえば、「UP(増加傾向)→UP(増加傾向)→UP(増加傾向)→DOWN(減少傾向)→DOWN(減少傾向)」という増減傾向を示した時点で上弦ピークを検出するように検出条件を変動させる。同様に、上述した実施の形態においては、加速度の大きさが「DOWN(減少傾向)→DOWN(減少傾向)→UP(増加傾向)」という増減傾向を示した時点で下弦ピークを検出したが、サンプリング周期の長さを短くした場合は、たとえば、「DOWN(減少傾向)→DOWN(減少傾向)→DOWN(減少傾向)→UP(増加傾向)→UP(増加傾向)」という増減傾向を示した時点で下弦ピークを検出するように検出条件を変動させる。 Specifically, in the above-described embodiment, the first peak was detected when the magnitude of the acceleration showed an increase / decrease trend of “UP (increase tendency) → UP (increase tendency) → DOWN (decrease tendency)”. However, when the length of the sampling cycle is shortened, for example, “UP (increase tendency) → UP (increase tendency) → UP (increase tendency) → DOWN (decrease tendency) → DOWN (decrease tendency)” is shown. The detection condition is changed so that the upper chord peak is detected at that time. Similarly, in the above-described embodiment, the lower chord peak is detected when the magnitude of the acceleration shows an increase / decrease trend of “DOWN (decrease trend) → DOWN (decrease trend) → UP (increasment trend)”. When the length of the sampling cycle is shortened, for example, the tendency of increase / decrease of “DOWN (decreasing tendency) → DOWN (decreasing tendency) → DOWN (decreasing tendency) → UP (increasing tendency) → UP (increasing tendency)” is shown. The detection condition is changed so that the lower chord peak is detected at the time.
なお、上述した実施の形態においては、加速度の大きさが「UP(増加傾向)→UP(増加傾向)→DOWN(減少傾向)」という増減傾向を示した時点で上弦ピークを検出したが、加速度の大きさが「UP(増加傾向)→DOWN(減少傾向)→DOWN(減少傾向)」という増減傾向を示した時点で上弦ピークを検出するようにしてもよい。同様に、上述した実施の形態においては、加速度の大きさが「DOWN(減少傾向)→DOWN(減少傾向)→UP(増加傾向)」という増減傾向を示した時点で下弦ピークを検出したが、加速度の大きさが「DOWN(減少傾向)→UP(増加傾向)→UP(増加傾向)」という増減傾向を示した時点で下弦ピークを検出するようにしてもよい。 In the embodiment described above, the crest peak is detected when the magnitude of acceleration shows an increase / decrease trend of “UP (increase tendency) → UP (increase tendency) → DOWN (decrease tendency)”. The upper peak may be detected at the time when the magnitude of the curve indicates an increase / decrease trend of “UP (increase tendency) → DOWN (decrease tendency) → DOWN (decrease tendency)”. Similarly, in the above-described embodiment, the lower chord peak is detected when the magnitude of the acceleration shows an increase / decrease trend of “DOWN (decrease trend) → DOWN (decrease trend) → UP (increasment trend)”. The lower chord peak may be detected when the magnitude of the acceleration shows an increase / decrease trend of “DOWN (decrease tendency) → UP (increase tendency) → UP (increase tendency)”.
また、この実施の形態の体動検出装置11は、加速度の大きさが所定のサンプリング周期ごとに取得された場合に、前記変動傾向が連続して変動した後に当該変動傾向が切り替わった時点で、下弦ピーク(第1のピーク)および上弦ピーク(第2のピーク)を検出することを特徴としている。すなわち、上述した実施の形態においては、加速度の大きさが「UP(増加傾向)→UP(増加傾向)→DOWN(減少傾向)」という増減傾向を示した時点で上弦ピークを検出し、加速度の大きさが「DOWN(減少傾向)→DOWN(減少傾向)→UP(増加傾向)」という増減傾向を示した時点で下弦ピークを検出する。
In addition, when the magnitude of acceleration is acquired for each predetermined sampling period, the body
この実施の形態の体動検出装置11によれば、加速度センサが出力する加速度の大きさを示す信号に重畳されたノイズに起因する体動の誤検出を防止しつつ、体動に起因する振幅を精度良く検出することができる。これによって、どのような状態における体動であってもノイズに起因する体動の誤カウントを防止することができ、体動を精度良くカウントすることができる。
According to the body
上述した実施の形態においては、下弦ピークおよび下弦ピーク値を第1のピークおよび第1のピーク値とし、上弦ピークおよび上弦ピーク値を第2のピークおよび第2のピーク値とした場合について説明したが、第1のピークおよび第2のピークはこれに限るものではない。すなわち、上述した実施の形態の体動検出装置11は、加速度の大きさが減少傾向から増加傾向に切り替わる下弦ピークを第1のピークとして検出し、加速度の大きさが増加傾向から減少傾向に切り替わる上弦ピークを第2のピークとして検出することを特徴としているが、この発明にかかる体動検出装置11においては、加速度の大きさが増加傾向から減少傾向に切り替わる上弦ピークを第1のピークとして検出し、加速度の大きさが減少傾向から増加傾向に切り替わる下弦ピークを第2のピークとして検出するものであってもよい。
In the above-described embodiment, the case where the lower chord peak and the lower chord peak value are the first peak and the first peak value, and the upper chord peak and the upper chord peak value are the second peak and the second peak value has been described. However, the first peak and the second peak are not limited to this. That is, the body
この場合、上弦ピーク値とその直後の下弦ピーク値との差分である第1の差分が第1の閾値以上であり、かつ、下弦ピーク値とその直後の上弦ピーク値との差分である第2の差分が第2の閾値以上であると判断した場合に体動を検出したと判定する。また、この場合、第1の閾値および第2の閾値を同じ値に設定してもよいし、第1の閾値と第2の閾値を異なる値に設定してもよい。 In this case, the first difference that is the difference between the upper chord peak value and the immediately lower chord peak value is equal to or greater than the first threshold, and the second difference that is the difference between the lower chord peak value and the immediately following upper chord peak value. It is determined that body motion is detected when it is determined that the difference is greater than or equal to the second threshold. In this case, the first threshold value and the second threshold value may be set to the same value, or the first threshold value and the second threshold value may be set to different values.
以上のように、この発明にかかる体動検出装置は、被験者の体動をカウントする体動検出装置に有用であり、特に、歩行や走行などの各状態において被験者の体動をカウントする体動検出装置に適している。 As described above, the body motion detection device according to the present invention is useful for a body motion detection device that counts the body motion of the subject, and in particular, the body motion that counts the body motion of the subject in each state such as walking and running. Suitable for detection device.
11 体動検出装置
24 加速度データ取得部
25 ピーク検出部
26 上弦ピーク値記憶部
27 下弦ピーク値記憶部
28 ピーク差検出部
29 閾値判定部
DESCRIPTION OF
Claims (9)
前記加速度取得手段によって取得される加速度の大きさの変動傾向が切り替わる第1のピークを検出する第1のピーク検出手段と、
前記加速度取得手段によって取得される加速度の大きさの変動傾向が前記第1のピークとは反対方向に切り替わる第2のピークを検出する第2のピーク検出手段と、
前記第1のピーク検出手段によって検出された第1のピークのつぎに前記第2のピーク検出手段によって第2のピークが検出されると、当該第1のピークの値と、当該第2のピークの値との差分である第1の差分が第1の閾値以上であるか否かを判断する第1の判断手段と、
前記第2のピーク検出手段によって検出された第2のピークのつぎに前記第1のピーク検出手段によって第1のピークが検出されると、当該第2のピークの値と、当該第1のピークの値との差分である第2の差分が第2の閾値以上であるか否かを判断する第2の判断手段と、
を備え、
前記第1の判断手段によって第1の差分が第1の閾値以上であると判断され、かつ、前記第2の判断手段によって第2の差分が第2の閾値以上であると判断された場合に体動を検出し、当該体動を計数することを特徴とする体動検出装置。 Acceleration acquisition means for acquiring the acceleration output from the acceleration sensor;
First peak detecting means for detecting a first peak at which the fluctuation tendency of the magnitude of acceleration acquired by the acceleration acquiring means is switched;
Second peak detecting means for detecting a second peak in which the tendency of fluctuation in the magnitude of acceleration acquired by the acceleration acquiring means switches in a direction opposite to the first peak;
When the second peak is detected by then the second peak detecting means in the first peak which is detected by said first peak detecting means, and the value of the first peak, the second First determination means for determining whether or not a first difference that is a difference from a peak value is equal to or greater than a first threshold;
When the first peak is detected then by the first peak detecting means of a second peak which is detected by said second peak detecting means, and the value of the second peak, the first Second determination means for determining whether or not a second difference that is a difference from a peak value is equal to or greater than a second threshold;
With
When the first determination means determines that the first difference is greater than or equal to a first threshold and the second determination means determines that the second difference is greater than or equal to a second threshold A body motion detection device that detects body motion and counts the body motion .
前記第2のピーク検出手段によって検出された第2のピークの値を記憶する第2の記憶手段と、
を備え、
前記第1の判断手段は、前記第2のピーク検出手段によって第2のピークが検出されるごとに、当該検出された第2のピークの値と前記第1の記憶手段によって記憶された第1のピークの値とに基づいて算出される第1の差分が前記第1の閾値以上であるか否かを判断し、
前記第2の判断手段は、前記第1のピーク検出手段によって第1のピークが検出されるごとに、当該検出された第1のピークの値と前記第2の記憶手段によって記憶された第2のピークの値とに基づいて算出される第2の差分が前記第2の閾値以上であるか否かを判断し、
前記第1の記憶手段は、前記第2のピーク検出手段によって第2のピークが検出された場合に、先に記憶されている第1のピークの値を消去し、
前記第2の記憶手段は、前記第1のピーク検出手段によって第1のピークが検出され、当該第1のピークの値と先に記憶されている第2のピークの値との差分が前記第2の閾値以上であると判断された場合に、先に記憶されている第2のピークの値を消去することを特徴とする請求項1〜3のいずれか一つに記載の体動検出装置。 First storage means for storing a value of the first peak detected by the first peak detection means;
Second storage means for storing the value of the second peak detected by the second peak detection means;
With
Each time the second peak detection unit detects the second peak, the first determination unit stores the value of the detected second peak and the first storage unit stored in the first storage unit. Determining whether or not a first difference calculated based on a peak value of the first threshold is equal to or greater than the first threshold;
Each time the first peak is detected by the first peak detection means, the second determination means stores the value of the detected first peak and the second value stored by the second storage means. Determining whether or not the second difference calculated based on the peak value of the second threshold is greater than or equal to the second threshold;
The first storage means erases the value of the first peak previously stored when the second peak is detected by the second peak detection means,
In the second storage means, the first peak is detected by the first peak detection means, and the difference between the first peak value and the previously stored second peak value is the first peak value. The body motion detection device according to any one of claims 1 to 3, wherein the second peak value stored in advance is deleted when it is determined that the threshold value is 2 or more. .
前記第2のピーク検出手段は、加速度の大きさが増加傾向から減少傾向に切り替わる上弦ピークを検出することを特徴とする請求項1〜4のいずれか一つに記載の体動検出装置。 The first peak detecting means detects a lower chord peak where the magnitude of acceleration switches from a decreasing tendency to an increasing tendency,
The body motion detection device according to any one of claims 1 to 4, wherein the second peak detection unit detects an upper string peak in which the magnitude of acceleration switches from an increasing tendency to a decreasing tendency.
前記第2のピーク検出手段は、加速度の大きさが減少傾向から増加傾向に切り替わる下弦ピークを検出することを特徴とする請求項1〜4のいずれか一つに記載の体動検出装置。 The first peak detecting means detects an upper peak where the magnitude of acceleration switches from an increasing tendency to a decreasing tendency;
5. The body motion detection device according to claim 1, wherein the second peak detection unit detects a lower chord peak in which the magnitude of acceleration switches from a decreasing tendency to an increasing tendency. 6.
前記第2のピーク検出手段は、加速度の大きさの変動傾向が連続して減少あるいは増加した後に当該変動傾向が増加あるいは減少に切り替わった場合に前記第2のピークを検出することを特徴とする請求項7に記載の体動検出装置。 The first peak detecting means detects the first peak when the fluctuation tendency is changed to decrease or increase after the fluctuation tendency of the magnitude of acceleration continuously increases or decreases,
The second peak detecting means detects the second peak when the fluctuation tendency of the acceleration magnitude is continuously reduced or increased and then the fluctuation tendency is switched to increase or decrease. The body movement detection device according to claim 7.
前記第1のピーク検出手段による第1のピークの検出条件、および、前記第2のピーク検出手段による第2のピークの検出条件を、前記サンプリング周期の長さに応じて変動させることを特徴とする請求項1〜6のいずれか一つに記載の体動検出装置。 The acceleration acquisition means acquires the magnitude of acceleration every arbitrary sampling period,
The detection condition of the first peak by the first peak detection means and the detection condition of the second peak by the second peak detection means are varied according to the length of the sampling period. The body movement detection device according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010211706A JP5492723B2 (en) | 2010-09-22 | 2010-09-22 | Body motion detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010211706A JP5492723B2 (en) | 2010-09-22 | 2010-09-22 | Body motion detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012065749A JP2012065749A (en) | 2012-04-05 |
JP5492723B2 true JP5492723B2 (en) | 2014-05-14 |
Family
ID=46163759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010211706A Active JP5492723B2 (en) | 2010-09-22 | 2010-09-22 | Body motion detection device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5492723B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2593983C1 (en) * | 2015-03-13 | 2016-08-10 | Общество С Ограниченной Ответственностью "Хилби" | Method of determining type of motion activity conditions and device therefor |
CN105509763B (en) * | 2015-12-01 | 2019-08-30 | 深圳市元征科技股份有限公司 | Minimizing technology and device are interfered in step counting |
WO2018127947A1 (en) | 2017-01-04 | 2018-07-12 | 富士通株式会社 | Information processing device, information processing system, and information processing method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3685741B2 (en) * | 2001-06-13 | 2005-08-24 | ヒロセ電機株式会社 | Momentum measuring device |
JP2006026092A (en) * | 2004-07-15 | 2006-02-02 | Matsushita Electric Ind Co Ltd | Acceleration information transmitting device, body exercise analyzing device, and body exercise analyzing method |
JP4190482B2 (en) * | 2004-10-29 | 2008-12-03 | 三洋電機株式会社 | Counting device and program |
US7766841B2 (en) * | 2005-05-18 | 2010-08-03 | Panasonic Electric Works Co., Ltd. | Sleep diagnosis device |
JP5017062B2 (en) * | 2007-11-01 | 2012-09-05 | シチズン・システムズ株式会社 | Body motion detection device |
JP5416896B2 (en) * | 2007-11-15 | 2014-02-12 | シチズン・システムズ株式会社 | Body motion detection device |
JP5202933B2 (en) * | 2007-11-30 | 2013-06-05 | 株式会社タニタ | Body motion detection device |
-
2010
- 2010-09-22 JP JP2010211706A patent/JP5492723B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012065749A (en) | 2012-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5049810B2 (en) | Body motion detection device | |
US7962308B2 (en) | Body motion detection device, body motion detection method, and body motion detection program | |
JP6219182B2 (en) | Input device | |
US8654077B2 (en) | Apparatus and method for detecting tap | |
US20170168087A1 (en) | Identification and compensation of mems accelerometer errors | |
KR102490847B1 (en) | Multiple axis wrist worn pedometer | |
JP5017062B2 (en) | Body motion detection device | |
JP5492723B2 (en) | Body motion detection device | |
US11598649B2 (en) | System and method for detecting steps with double validation | |
US20070202997A1 (en) | Step number measuring apparatus | |
TWI502167B (en) | Method for counting step and electronic apparatus using the same | |
CN107941236B (en) | Step counting method, step counting device and storage medium | |
KR101640072B1 (en) | Apparatus and method for revising value of accelerometer sensor in portalble terminal | |
JP5049749B2 (en) | Body motion detection device | |
JP2015064859A (en) | Input device | |
JP5416896B2 (en) | Body motion detection device | |
JP5434333B2 (en) | Inclination detection method and inclination detection apparatus | |
JP6100299B2 (en) | Step detection device, step detection method, and computer program | |
JP6511157B2 (en) | Step number measuring device and step number measuring program | |
JP4647284B2 (en) | Analog / digital conversion method and analog / digital conversion circuit | |
JP2015143661A (en) | Structure monitoring device, structure monitoring system and structure monitoring method | |
CN113244595B (en) | Action explosive force analysis method and system | |
US11550427B2 (en) | System for detecting a touch gesture of a user, device comprising the system, and method | |
WO2020149171A1 (en) | Number of steps measuring device, method, and program | |
TWI564564B (en) | Accelerator-based counting apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130515 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131108 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131119 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140120 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140218 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140303 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5492723 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |