JP2020003229A - Semiconductor device, portable terminal device, stride derivation method, and program - Google Patents

Semiconductor device, portable terminal device, stride derivation method, and program Download PDF

Info

Publication number
JP2020003229A
JP2020003229A JP2018120169A JP2018120169A JP2020003229A JP 2020003229 A JP2020003229 A JP 2020003229A JP 2018120169 A JP2018120169 A JP 2018120169A JP 2018120169 A JP2018120169 A JP 2018120169A JP 2020003229 A JP2020003229 A JP 2020003229A
Authority
JP
Japan
Prior art keywords
acceleration
stride
combined acceleration
semiconductor device
setting 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.)
Granted
Application number
JP2018120169A
Other languages
Japanese (ja)
Other versions
JP7173673B2 (en
Inventor
和則 藤原
Kazunori Fujiwara
和則 藤原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lapis Semiconductor Co Ltd
Original Assignee
Lapis Semiconductor Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lapis Semiconductor Co Ltd filed Critical Lapis Semiconductor Co Ltd
Priority to JP2018120169A priority Critical patent/JP7173673B2/en
Publication of JP2020003229A publication Critical patent/JP2020003229A/en
Application granted granted Critical
Publication of JP7173673B2 publication Critical patent/JP7173673B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

To derive a stride with higher accuracy than ever before.SOLUTION: A semiconductor device includes: a resultant acceleration derivation unit which derives a resultant acceleration obtained by synthesizing an acceleration of each axis of a three-dimensional orthogonal coordinate system; a reference resultant acceleration derivation unit which derives a reference resultant acceleration serving as a resultant acceleration reference on the basis of the resultant acceleration; and a correction unit which derives a value obtained by multiplying a difference between an average value of resultant accelerations and the reference resultant acceleration by a correction coefficient as an amount of correction, and derives a value obtained by adding the amount of correction to a stride initial setting value as a correction stride.SELECTED DRAWING: Figure 2

Description

本発明は、半導体装置、携帯端末装置、歩幅導出方法及びプログラムに関する。   The present invention relates to a semiconductor device, a portable terminal device, a step length deriving method, and a program.

加速度センサを用いて、歩行者の歩行を検出して、歩数及び歩行距離等を導出する技術として、以下の技術が知られている。   The following techniques are known as techniques for detecting a pedestrian's walking using an acceleration sensor and deriving the number of steps, walking distance, and the like.

例えば、特許文献1には、加速度センサから出力された加速度データから導出された周期及び振幅と、歩幅との関係を収容したデータベースを有し、歩行時における加速度データから周期及び振幅を導出し、導出した周期及び振幅に対応する歩幅を、データベースを参照することによって導出する技術が記載されている。   For example, Patent Document 1 has a database that stores the relationship between the cycle and amplitude derived from the acceleration data output from the acceleration sensor and the stride, and derives the cycle and amplitude from the acceleration data during walking. A technique for deriving a stride corresponding to the derived cycle and amplitude by referring to a database is described.

また、特許文献2には、歩行ピッチに応じて、当該歩行ピッチが予め定められた複数のいずれのピッチ区間に入るかによって予め定められた一次式が決まり、当該一次式に当該歩行ピッチを当てはめて得られる値を歩幅補正値とし、身長設定値に所定値を乗じてなる基準歩幅に当該歩幅補正値を乗じて当該単位時間での歩幅とする技術が記載されている。   Further, in Patent Literature 2, a predetermined linear expression is determined depending on which of a plurality of predetermined pitch sections the walking pitch falls in according to the walking pitch, and the walking pitch is applied to the linear expression. A technique is described in which a value obtained by performing the above step is a stride correction value, and a reference stride obtained by multiplying a height setting value by a predetermined value is multiplied by the stride correction value to obtain a stride in the unit time.

また、特許文献3には、単位時間における歩数を計数するステップと、計数された単位時間あたりの歩数に基づいて、歩幅補正係数を得るステップと、基準歩幅に歩幅補正係数を乗算し、歩幅を補正するステップと、を含む歩幅補正方法が記載されている。   Further, Patent Document 3 discloses a step of counting the number of steps in a unit time, a step of obtaining a step correction coefficient based on the counted steps per unit time, a step of multiplying a reference step by a step correction coefficient, and And a correcting step.

特開2006−118909号公報JP 2006-118909 A 特開2013−223697号公報JP 2013-223697 A 国際公開第2008−081553号International Publication No. 2008-081553

最近、歩行者の移動距離を正確に測定する技術として、歩行者測位技術(PDR:Pedestrian Dead Reckoning)が用いられている。   Recently, a pedestrian positioning technique (PDR: Pedestrian Dead Reckoning) has been used as a technique for accurately measuring a pedestrian's moving distance.

歩行者の移動距離は、全地球測位システム(GPS: Global Positioning System, Global Positioning Satellite)を利用することで、ある程度正確に距離を測定できるが、電波の届かない建物内や地下では測定が困難である。また、歩行者の移動距離の測定は、歩行者が携帯する携帯端末装置によって実現されることが想定されるが、GPSによる測定では、消費電力が大きくなり、バッテリーの問題も有り現実的ではない。   The distance traveled by pedestrians can be measured to some extent accurately by using the Global Positioning System (GPS), but it is difficult to measure in buildings or underground where radio waves do not reach. is there. Further, it is assumed that the measurement of the pedestrian's travel distance is realized by a portable terminal device carried by the pedestrian, but the measurement by GPS increases power consumption and is not realistic due to a battery problem. .

低消費電力で簡便に歩行距離を求める方法として、歩数計によりカウントした歩数に、歩幅を乗算することにより求める方法が知られている。この方法によれば、歩数及び歩幅が正確でれば、ある程度正確に移動距離を算出することができる。   As a method for easily obtaining a walking distance with low power consumption, a method is known in which the number of steps counted by a pedometer is multiplied by a stride. According to this method, if the number of steps and the step length are accurate, the moving distance can be calculated to some extent accurately.

しかし、歩行時とランニング時とでは歩幅が大きく異なるので、例えば、歩幅を歩行時の歩幅に固定した場合には、ランニング時における移動距離の算出精度が低下する。歩行周期から導出される補正係数を用いて歩幅を補正する技術が存在する。しかしながら、この技術は、歩行周期の変化に応じて歩幅補正を行うというものであり、例えば、ランニング時においてピッチ走行を行う者、ストライド走行を行う者、といったように、ユーザ間で歩行周期が異なることから、ユーザによっては正確な歩幅補正を行うことができないという問題があった。   However, since the stride differs greatly between walking and running, for example, when the stride is fixed to the walking stride, the accuracy of calculating the moving distance during running decreases. There is a technique for correcting a stride using a correction coefficient derived from a walking cycle. However, in this technique, a stride is corrected in accordance with a change in a walking cycle. For example, a walking cycle differs between users, such as a person who performs pitch running and a person who performs stride running during running. Therefore, there is a problem that accurate stride correction cannot be performed for some users.

本発明は、上記の点に鑑みてなされたものであり、従来よりも高精度に歩幅を導出することを目的とする。   The present invention has been made in view of the above points, and an object of the present invention is to derive a stride with higher accuracy than before.

本発明に係る半導体装置は、三次元直交座標系の各軸の加速度を合成した合成加速度を導出する合成加速度導出部と、前記合成加速度及び補正係数に基づいて導出した補正量を用いて、歩幅初期設定値を補正した値を、補正歩幅として導出する補正部と、を含む。   A semiconductor device according to the present invention is characterized in that a stride is calculated using a combined acceleration deriving unit that derives a combined acceleration obtained by combining accelerations of respective axes of a three-dimensional orthogonal coordinate system, and a correction amount derived based on the combined acceleration and a correction coefficient. A correction unit that derives a value obtained by correcting the initial setting value as a corrected step length.

本発明に係る他の半導体装置は、三次元直交座標系の各軸の加速度を合成した合成加速度を取得する合成加速度取得部と、前記合成加速度及び補正係数に基づいて導出した補正量を用いて、歩幅初期設定値を補正した値を、補正歩幅として導出する補正部と、を含む。   Another semiconductor device according to the present invention uses a combined acceleration obtaining unit that obtains a combined acceleration obtained by combining accelerations of respective axes of a three-dimensional orthogonal coordinate system, and a correction amount derived based on the combined acceleration and the correction coefficient. And a correction unit that derives a value obtained by correcting the step setting value as a corrected step.

本発明に係る携帯端末装置は、上記のいずれかの半導体装置と、前記補正歩幅及び前記補正歩幅に基づいて導出された情報の少なくとも一方を表示する表示部と、を含む。   A portable terminal device according to the present invention includes any one of the semiconductor devices described above, and a display unit that displays at least one of the corrected stride and information derived based on the corrected stride.

本発明に係る歩幅導出方法は、三次元直交座標系の各軸の加速度を合成した合成加速度を導出または取得し、前記合成加速度及び補正係数に基づいて導出した補正量を用いて、歩幅初期設定値を補正した値を、補正歩幅として導出することを含む。   The stride derivation method according to the present invention derives or obtains a synthetic acceleration obtained by synthesizing accelerations of respective axes of a three-dimensional orthogonal coordinate system, and uses a correction amount derived based on the synthetic acceleration and the correction coefficient to initialize a stride. This includes deriving a value obtained by correcting the value as a corrected step length.

本発明に係るプログラムは、三次元直交座標系の各軸の加速度を合成した合成加速度を導出または取得し、前記合成加速度及び補正係数に基づいて導出した補正量を用いて、歩幅初期設定値を補正した値を、補正歩幅として導出する処理をコンピュータに実行させるプログラムである。   The program according to the present invention derives or obtains a synthetic acceleration obtained by synthesizing the acceleration of each axis of the three-dimensional orthogonal coordinate system, and calculates a stride initial setting value using a correction amount derived based on the synthetic acceleration and the correction coefficient. This is a program for causing a computer to execute a process of deriving a corrected value as a corrected stride.

本発明によれば、従来よりも高精度に歩幅を導出することが可能となる。   According to the present invention, it is possible to derive the stride with higher accuracy than before.

本発明の実施形態に係る半導体装置の構成の一例を示す図である。1 is a diagram illustrating an example of a configuration of a semiconductor device according to an embodiment of the present invention. 本発明の実施形態に係るマイクロコンピュータの機能構成の一例を示す機能ブロック図である。FIG. 1 is a functional block diagram illustrating an example of a functional configuration of a microcomputer according to an embodiment of the present invention. 本発明の実施形態に係る歩幅導出処理の流れの一例を示すフローチャートである。It is a flow chart which shows an example of the flow of stride derivation processing concerning an embodiment of the present invention. 本発明の実施形態に係る基準合成加速度導出処理の流れの一例を示すフローチャートである。It is a flow chart which shows an example of the flow of standard synthetic acceleration derivation processing concerning an embodiment of the present invention. 合成加速度及びその平均値の時間推移を実測した結果の一例を示す図である。It is a figure showing an example of the result of having measured time transition of a synthetic acceleration and the average value. 歩行速度と合成加速度の平均値との関係の一例を示す図である。It is a figure showing an example of the relation between a walking speed and the average value of synthetic acceleration. 歩行速度と歩幅との関係の一例を示す図である。It is a figure showing an example of the relation between walking speed and stride. 合成加速度の平均値と基準合成加速度との差分と、歩幅との関係の一例を示す図である。FIG. 8 is a diagram illustrating an example of a relationship between a difference between an average value of a combined acceleration and a reference combined acceleration, and a stride length. 本発明の実施形態に係る半導体装置によって導出された補正歩幅と歩幅の実測値との誤差を、複数の歩行速度について取得した結果の一例を示すグラフである。9 is a graph illustrating an example of a result obtained by acquiring an error between a corrected stride and an actually measured stride derived by the semiconductor device according to the embodiment of the present invention for a plurality of walking speeds. 合成加速度及びその平均値の時間推移を実測した結果の一例を示す図である。It is a figure showing an example of the result of having measured time transition of a synthetic acceleration and the average value. 本発明の実施形態に係るマイクロコンピュータの機能構成の一例を示す機能ブロック図である。FIG. 1 is a functional block diagram illustrating an example of a functional configuration of a microcomputer according to an embodiment of the present invention. 本発明の実施形態に係る半導体装置の構成の一例を示す図である。1 is a diagram illustrating an example of a configuration of a semiconductor device according to an embodiment of the present invention. 本発明の実施形態に係るマイクロコンピュータの機能構成の一例を示す機能ブロック図である。FIG. 1 is a functional block diagram illustrating an example of a functional configuration of a microcomputer according to an embodiment of the present invention. 本発明の実施形態に係る移動距離導出処理の流れの一例を示すフローチャートである。6 is a flowchart illustrating an example of a flow of a moving distance deriving process according to the embodiment of the present invention. 本発明の実施形態に係る携帯端末装置の構成の一例を示す図である。It is a figure showing an example of composition of a personal digital assistant concerning an embodiment of the present invention.

以下、本発明の実施形態について図面を参照しつつ説明する。尚、各図面において、実質的に同一又は等価な構成要素又は部分には同一の参照符号を付し、重複する説明は省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In each of the drawings, substantially the same or equivalent components or portions are denoted by the same reference numerals, and redundant description will be omitted.

図1は、本発明の実施形態に係る半導体装置1の構成の一例を示す図である。半導体装置1は、マイクロコンピュータ10と、三軸加速度センサ20とが、単一のパッケージに収容された形態を有する。   FIG. 1 is a diagram illustrating an example of a configuration of a semiconductor device 1 according to an embodiment of the present invention. The semiconductor device 1 has a configuration in which the microcomputer 10 and the triaxial acceleration sensor 20 are housed in a single package.

三軸加速度センサ20は、三次元直交座標系におけるX軸、Y軸、Z軸の各々の加速度を検出し、検出した各軸の加速度を示す、各軸の加速度信号Ax、Ay、Azを出力する。三軸加速度センサ20は、例えば、MEMS(Micro Electro Mechanical Systems)技術を用いて実現されるピエゾ抵抗方式または静電容量方式を採用するものであってもよい。   The three-axis acceleration sensor 20 detects the acceleration of each of the X-axis, the Y-axis, and the Z-axis in the three-dimensional orthogonal coordinate system, and outputs acceleration signals Ax, Ay, and Az of each axis indicating the detected acceleration of each axis. I do. The triaxial acceleration sensor 20 may adopt, for example, a piezo-resistance method or a capacitance method realized by using MEMS (Micro Electro Mechanical Systems) technology.

マイクロコンピュータ10は、CPU(Central Processing Unit)11、一時記憶領域としての主記憶装置12、不揮発性の補助記憶装置13、外部からの入力信号を受け付け、またCPU11による演算結果を出力する入出力装置(I/O)14を含んで構成されている。CPU11、主記憶装置12、補助記憶装置13、入出力装置14は、それぞれ、バス16に接続されている。補助記憶装置13には、歩幅を導出する歩幅導出処理の手順を記述した歩幅導出プログラム100、及び後述する基準合成加速度を導出する基準合成加速度導出処理の手順を記述した基準合成加速度導出プログラム101が格納されている。三軸加速度センサ20は、マイクロコンピュータ10の入出力装置14に接続されており、三軸加速度センサ20から出力される各軸の加速度信号Ax、Ay、Azは、入出力装置14を介してマイクロコンピュータ10に入力される。   The microcomputer 10 includes a CPU (Central Processing Unit) 11, a main storage device 12 as a temporary storage area, a non-volatile auxiliary storage device 13, and an input / output device that receives an external input signal and outputs a calculation result by the CPU 11. (I / O) 14. The CPU 11, the main storage device 12, the auxiliary storage device 13, and the input / output device 14 are connected to the bus 16, respectively. The auxiliary storage device 13 includes a stride derivation program 100 describing a procedure of a stride derivation process of deriving a stride, and a reference synthetic acceleration derivation program 101 describing a procedure of a reference synthetic acceleration derivation process of deriving a later-described reference synthetic acceleration. Is stored. The triaxial acceleration sensor 20 is connected to the input / output device 14 of the microcomputer 10, and the acceleration signals Ax, Ay, Az of each axis output from the triaxial acceleration sensor 20 Input to the computer 10.

図2は、CPU11が、歩幅導出プログラム100及び基準合成加速度導出プログラム101を実行することにより構築される、マイクロコンピュータ10の機能構成の一例を示す機能ブロック図である。   FIG. 2 is a functional block diagram illustrating an example of a functional configuration of the microcomputer 10 constructed by the CPU 11 executing the stride length derivation program 100 and the reference combined acceleration derivation program 101.

加速度信号取得部31は、三軸加速度センサ20から逐次(例えば、30msec毎に)出力される加速度信号Ax、Ay、Azを取得する。加速度信号取得部31によって取得された加速度信号Ax、Ay、Azは、合成加速度導出部32及び基準合成加速度導出部34にそれぞれ供給される。   The acceleration signal acquisition unit 31 acquires the acceleration signals Ax, Ay, Az sequentially (for example, every 30 msec) output from the three-axis acceleration sensor 20. The acceleration signals Ax, Ay, Az acquired by the acceleration signal acquiring unit 31 are supplied to the combined acceleration deriving unit 32 and the reference combined acceleration deriving unit 34, respectively.

合成加速度導出部32は、加速度信号Ax、Ay、Azによって示される、各軸の加速度を合成した合成加速度Aを導出する。合成加速度導出部32は、例えば、下記の(1)式によって示される演算を行うことで、合成加速度Aを導出する。合成加速度導出部32は、逐次供給される加速度信号Ax、Ay、Azに対して、合成加速度Aを逐次導出する。合成加速度導出部32は、導出した合成加速度Aを平均値導出部33に供給する。   The synthetic acceleration deriving unit 32 derives a synthetic acceleration A obtained by synthesizing the acceleration of each axis indicated by the acceleration signals Ax, Ay, Az. The synthetic acceleration deriving unit 32 derives the synthetic acceleration A by performing, for example, an operation represented by the following equation (1). The synthetic acceleration deriving unit 32 sequentially derives a synthetic acceleration A for the sequentially supplied acceleration signals Ax, Ay, Az. The combined acceleration deriving unit 32 supplies the derived combined acceleration A to the average value deriving unit 33.

A=(Ax+Ay+Az1/2 ・・・ (1) A = (Ax 2 + Ay 2 + Az 2 ) 1/2 (1)

平均値導出部33は、合成加速度導出部32において逐次導出される合成加速度Aの複数のサンプルを平均化した平均値Aaveを導出する。平均値Aaveは、合成加速度Aの移動平均値であってもよいし、区間平均値であってもよい。平均値導出部33は、合成加速度導出部32から逐次供給される合成加速度Aに対して、平均値Aaveを逐次導出する。平均値導出部33は、導出した合成加速度Aの平均値Aaveを、基準合成加速度導出部34及び補正部37にそれぞれ供給する。   The average value deriving unit 33 derives an average value Aave obtained by averaging a plurality of samples of the synthetic acceleration A sequentially derived by the synthetic acceleration deriving unit 32. The average value Aave may be a moving average value of the resultant acceleration A or a section average value. The average value deriving unit 33 sequentially derives an average value Aave for the resultant acceleration A sequentially supplied from the resultant acceleration deriving unit 32. The average value derivation unit 33 supplies the derived average value Aave of the resultant acceleration A to the reference resultant acceleration derivation unit 34 and the correction unit 37, respectively.

設定値取得部35は、ユーザの身長を示す身長情報Hを取得する。歩幅初期設定値導出部は、取得した身長情報Hによって示される身長に基づいて、歩幅の初期設定値である歩幅初期設定値Wiを導出する。歩幅初期設定値導出部36は、例えば、身長と歩幅とを対応付けたテーブルを参照して、身長情報Hによって示される身長に対応する歩幅初期設定値Wiを導出してもよい。本実施形態において、ランニングではない通常歩行時における歩幅が、歩幅初期設定値Wiとして導出されるものとする。歩幅初期設定値導出部36は、導出した歩幅初期設定値Wiを、補正部37に供給する。   The setting value acquisition unit 35 acquires height information H indicating the height of the user. The stride initial setting value deriving unit derives a stride initial setting value Wi, which is an initial setting value of a stride, based on the height indicated by the acquired height information H. The stride initial setting value deriving unit 36 may derive the stride initial setting value Wi corresponding to the height indicated by the height information H, for example, with reference to a table in which the height and the stride are associated. In the present embodiment, it is assumed that the stride at the time of normal walking that is not running is derived as the stride initial setting value Wi. The step initial setting value deriving unit 36 supplies the derived step initial setting value Wi to the correcting unit 37.

基準合成加速度導出部34は、各軸の加速度信号Ax、Ay、Az及び合成加速度Aの平均値Aaveに基づいて、歩幅初期設定値Wiに対応する歩行状態(本実施形態ではランニングではない通常歩行状態)を検出した場合に、その時点における合成加速度Aの平均値Aaveを、基準合成加速度Asとして導出する。具体的には、基準合成加速度導出部34は、合成加速度Aの平均値Aave及び各軸の加速度信号Ax、Ay、Azが、所定の適合条件を満たす場合、その時点における合成加速度Aの平均値Aaveを、基準合成加速度Asとして導出する。「適合条件を満たす場合」とは、例えば、各軸の加速度信号Ax、Ay、Azに基づいて導出される歩行周期及び合成加速度Aの平均値Aaveが、それぞれ、歩幅初期設定値Wiに対応した所定範囲内にある状態が、所定の歩数分だけ連続した場合である。導出された基準合成加速度Asは、主記憶装置12に格納され、合成加速度Aの平均値Aave及び各軸の加速度信号Ax、Ay、Azが、上記の適合条件を満たす度に更新(上書き)される。なお、起動時においては、基準合成加速度Asの初期設定値が、主記憶装置12に格納される。   Based on the acceleration signals Ax, Ay, Az of each axis and the average value Aave of the resultant acceleration A, the reference synthetic acceleration deriving unit 34 calculates a walking state corresponding to the initial step value Wi (normal walking other than running in this embodiment). When the state is detected, the average value Aave of the resultant acceleration A at that time is derived as the reference resultant acceleration As. Specifically, when the average value Aave of the synthetic acceleration A and the acceleration signals Ax, Ay, Az of the respective axes satisfy a predetermined matching condition, the reference synthetic acceleration deriving unit 34 calculates the average value of the synthetic acceleration A at that time. Aave is derived as the reference composite acceleration As. The "case where the matching condition is satisfied" means that, for example, the average value Aave of the walking cycle and the resultant acceleration A derived based on the acceleration signals Ax, Ay, and Az of each axis respectively correspond to the step initial value Wi. This is a case where the state within the predetermined range continues for the predetermined number of steps. The derived reference combined acceleration As is stored in the main storage device 12, and is updated (overwritten) every time the average value Aave of the combined acceleration A and the acceleration signals Ax, Ay, Az of each axis satisfy the above-mentioned conformity condition. You. At the time of startup, the initial set value of the reference combined acceleration As is stored in the main storage device 12.

補正部37は、合成加速度Aの平均値Aave、基準合成加速度As及び予め定められた補正係数αに基づいて補正量を導出し、この補正量を用いて歩幅初期設定値Wiを補正した値を、補正歩幅Waとして導出する。具体的には、補正部37は、下記の(2)式によって示される演算を行うことで、補正歩幅Waを導出する。(2)式に示すように、補正部37は、合成加速度の平均値Aaveと、基準合成加速度Asとの差分に、補正係数αを乗じた値を補正量として導出し、補正量を歩幅初期設定値Wiに加算した値を補正歩幅Waとして導出する。   The correction unit 37 derives a correction amount based on the average value Aave of the synthetic acceleration A, the reference synthetic acceleration As, and a predetermined correction coefficient α, and calculates a value obtained by correcting the initial step value Wi using the correction amount. , Corrected stride Wa. Specifically, the correction unit 37 derives the corrected stride Wa by performing the calculation represented by the following equation (2). As shown in Expression (2), the correction unit 37 derives a value obtained by multiplying a difference between the average value Aave of the synthetic acceleration and the reference synthetic acceleration As by a correction coefficient α as a correction amount, and sets the correction amount to the initial step length. The value added to the set value Wi is derived as the corrected stride Wa.

Wa=Wi+(Aave−As)×α ・・・(2) Wa = Wi + (Aave−As) × α (2)

図3は、CPU11が、歩幅導出プログラム100を実行することにより実施される歩幅導出処理の流れの一例を示すフローチャートである。CPU11が、歩幅導出プログラム100を実行することで、CPU11は、加速度信号取得部31、合成加速度導出部32、平均値導出部33、設定値取得部35、歩幅初期設定値導出部36及び補正部37として機能する。   FIG. 3 is a flowchart illustrating an example of the flow of the stride derivation process performed by the CPU 11 executing the stride derivation program 100. When the CPU 11 executes the stride derivation program 100, the CPU 11 executes the acceleration signal acquisition unit 31, the combined acceleration derivation unit 32, the average value derivation unit 33, the set value acquisition unit 35, the stride initial set value derivation unit 36, and the correction unit. Functions as 37.

ステップS1において、CPU11は、設定値取得部35として機能し、ユーザの身長を示す身長情報Hを取得する。身長情報Hは、例えば、ユーザによる入力操作によって取得することが可能である、また、CPU11は、補助記憶装置13に予め格納された身長情報Hを読み込むことにより身長情報Hを取得してもよい。   In step S1, the CPU 11 functions as the set value obtaining unit 35, and obtains height information H indicating the height of the user. The height information H can be acquired by, for example, an input operation by the user. The CPU 11 may acquire the height information H by reading the height information H stored in the auxiliary storage device 13 in advance. .

ステップS2において、CPU11は、歩幅初期設定値導出部36として機能し、取得した身長情報Hによって示される身長に対応する歩幅初期設定値Wiを導出する。CPU11は、例えば、身長と歩幅とを対応付けたテーブルを参照して、身長情報Hによって示される身長に対応する歩幅初期設定値Wiを導出してもよい。CPU11は、導出した歩幅初期設定値Wiを主記憶装置12に格納する。   In step S2, the CPU 11 functions as a stride initial setting value deriving unit 36, and derives a stride initial setting value Wi corresponding to the height indicated by the acquired height information H. For example, the CPU 11 may derive the stride initial setting value Wi corresponding to the height indicated by the height information H by referring to a table in which the height and the stride are associated with each other. The CPU 11 stores the derived initial step length Wi in the main storage device 12.

ステップS3において、CPU11は、加速度信号取得部31として機能し、入出力装置14に入力される各軸の加速度信号Ax、Ay、Azを取得する。   In step S <b> 3, the CPU 11 functions as the acceleration signal acquisition unit 31 and acquires the acceleration signals Ax, Ay, and Az of each axis input to the input / output device 14.

ステップS4において、CPU11は、合成加速度導出部32として機能し、加速度信号Ax、Ay、Azによって示される、各軸の加速度を合成した合成加速度Aを導出する。合成加速度導出部32は、(1)式によって示される演算を行うことで、合成加速度Aを導出し、これを主記憶装置12に格納する。   In step S4, the CPU 11 functions as the synthetic acceleration deriving unit 32, and derives a synthetic acceleration A obtained by synthesizing the acceleration of each axis indicated by the acceleration signals Ax, Ay, and Az. The resultant acceleration deriving unit 32 derives the resultant acceleration A by performing the calculation represented by the expression (1), and stores the derived acceleration A in the main storage device 12.

ステップS5において、CPU11は、平均値導出部33として機能し、合成加速度Aの複数のサンプルを平均化した平均値Aaveを導出する。   In step S5, the CPU 11 functions as the average value deriving unit 33, and derives an average value Aave obtained by averaging a plurality of samples of the resultant acceleration A.

ステップS6において、CPU11は、後述する基準合成加速度導出処理(図4参照)のステップS15において導出され、主記憶装置12に格納された基準合成加速度Asを取得する。   In step S6, the CPU 11 obtains the reference combined acceleration As derived in step S15 of the later-described reference combined acceleration deriving process (see FIG. 4) and stored in the main storage device 12.

ステップS7において、CPU11は、補正部37として機能し、(2)式によって示される演算を行うことで、補正歩幅Waを導出し、これを主記憶装置12に格納する。その後、処理は、ステップS3に戻される。   In step S <b> 7, the CPU 11 functions as the correction unit 37, derives a corrected stride Wa by performing the calculation represented by the expression (2), and stores it in the main storage device 12. Thereafter, the process returns to step S3.

このように、本実施形態に係る歩幅導出処理によれば、歩幅初期設定値Wiは、歩行状態に応じて逐次変動する合成加速度Aの平均値Aaveに応じた補正量で補正され、現在の歩行状態に応じた歩幅が、補正歩幅Waとしてリアルタイムで導出される。   As described above, according to the stride derivation processing according to the present embodiment, the stride initial setting value Wi is corrected by the correction amount corresponding to the average value Aave of the synthetic acceleration A that sequentially changes according to the walking state, and The stride according to the state is derived in real time as the corrected stride Wa.

図4は、CPU11が、基準合成加速度導出プログラム101を実行することにより実施される基準合成加速度導出処理の流れの一例を示すフローチャートである。この基準合成加速度導出処理は、上記した歩幅導出処理(図3参照)と並行して実施される。CPU11が、基準合成加速度導出プログラム101を実行することで、CPU11は、基準合成加速度導出部34として機能する。   FIG. 4 is a flowchart illustrating an example of the flow of a reference combined acceleration derivation process performed by the CPU 11 executing the reference combined acceleration derivation program 101. This reference synthetic acceleration deriving process is performed in parallel with the above-described step length deriving process (see FIG. 3). When the CPU 11 executes the reference synthetic acceleration deriving program 101, the CPU 11 functions as the reference synthetic acceleration deriving unit 34.

ステップS11において、CPU11は、上記した歩幅導出処理(図3参照)のステップS3において取得した加速度信号Ax、Ay、Azに基づいて、歩行が行われているか否かを判定する。CPU11は、例えば、加速度信号Ax、Ay、Azの時間推移が、歩行状態であることを示す特定のパターンであると判定した場合、歩行が行われているものと判定し、処理をステップS12に移行する。   In step S11, the CPU 11 determines whether or not walking is performed based on the acceleration signals Ax, Ay, Az acquired in step S3 of the above-described step length deriving process (see FIG. 3). For example, when the CPU 11 determines that the time transition of the acceleration signals Ax, Ay, and Az is a specific pattern indicating that the user is in a walking state, the CPU 11 determines that walking is being performed, and proceeds to step S12. Transition.

ステップS12において、CPU11は、加速度信号Ax、Ay、Azに基づいて、検出した歩行における歩行周期を導出する。CPU11は、例えば、加速度信号Ax、Ay、Azの時間推移から歩行周期を導出する。   In step S12, the CPU 11 derives a walking cycle in the detected walking based on the acceleration signals Ax, Ay, Az. For example, the CPU 11 derives a walking cycle from the time transition of the acceleration signals Ax, Ay, Az.

ステップS13において、CPU11は、上記した歩幅導出処理(図3参照)のステップS4において導出され、主記憶装置12に格納された合成加速度Aの平均値Aaveを取得する。   In step S13, the CPU 11 obtains the average value Aave of the resultant acceleration A derived in step S4 of the above-described step length deriving process (see FIG. 3) and stored in the main storage device 12.

ステップS14において、CPU11は、ステップS12において導出した歩行周期、及びステップS13において取得した合成加速度Aの平均値Aaveの大きさが、歩幅初期設定値Wiに対応した適合条件を満たすか否かを判定する。CPU11は、歩行周期が例えば2Hz以下であり、且つ、合成加速度Aの平均値Aaveが例えば1.2g以下である歩行が、例えば20歩分連続した場合、上記の適合条件を満たしていると判定し、処理をステップS15に移行する。一方、CPU11は、歩行周期及び合成加速度Aの平均値Aaveが、上記の適合条件を満たしていないと判定した場合、処理をステップS11に戻す。   In step S14, the CPU 11 determines whether or not the walking cycle derived in step S12 and the magnitude of the average value Aave of the resultant acceleration A acquired in step S13 satisfy the matching condition corresponding to the initial step value Wi. I do. The CPU 11 determines that the above-mentioned matching condition is satisfied when the walking in which the walking cycle is, for example, 2 Hz or less and the average value Aave of the synthetic acceleration A is, for example, 1.2 g or less continues for, for example, 20 steps. Then, the process proceeds to step S15. On the other hand, if the CPU 11 determines that the average value Aave of the walking cycle and the resultant acceleration A does not satisfy the above-mentioned matching condition, the process returns to step S11.

ステップS15において、CPU11は、ステップS13において取得した合成加速度Aの平均値Aaveを、基準合成加速度Asとして導出し、これを主記憶装置12に格納する。既に主記憶装置12に格納されている基準合成加速度Asは、新たな、基準合成加速度Asに更新(上書き)される。その後、処理はステップS11に戻される。   In step S15, the CPU 11 derives the average value Aave of the resultant acceleration A obtained in step S13 as the reference resultant acceleration As, and stores this in the main storage device 12. The reference synthetic acceleration As already stored in the main storage device 12 is updated (overwritten) to a new reference synthetic acceleration As. Thereafter, the process returns to step S11.

図5は、通常歩行時(歩行速度4.8km/h)及びランニング時(歩行速度8.4km/h)における合成加速度A及びその平均値Aaveの時間推移を実測した結果の一例を示す図である。図5に示すように、合成加速度A及びその平均値Aaveは、歩行速度が高くなると大きくなる。一般的に、歩幅は歩行速度が高くなる程、広くなり、合成加速度Aまたはその平均値Aaveは、歩幅と相関性を有する。   FIG. 5 is a diagram showing an example of the results of actual measurement of the transition of the combined acceleration A and the average value Aave thereof during normal walking (at a walking speed of 4.8 km / h) and during running (at a walking speed of 8.4 km / h). is there. As shown in FIG. 5, the synthetic acceleration A and its average value Aave increase as the walking speed increases. Generally, the stride length increases as the walking speed increases, and the resultant acceleration A or the average value Aave thereof has a correlation with the stride length.

図6Aは、歩行速度と合成加速度Aの平均値Aaveとの関係の一例を示す図である。互いに身長(すなわち歩幅)が異なる複数の被験者に、ランニングマシーンを用いて歩行速度を段階的に変化させて歩行させたときの、三軸加速度センサの出力のログデータを取得し、歩行速度と合成加速度Aの平均値Aaveとの関係を被験者毎に求めたところ、図6Aに示すように、歩行速度と合成加速度Aの平均値Aaveとの間には、比例関係が成立することが明らかとなった。   FIG. 6A is a diagram illustrating an example of the relationship between the walking speed and the average value Aave of the resultant acceleration A. Obtain log data of the output of the triaxial acceleration sensor when a plurality of subjects with different heights (that is, stride lengths) are allowed to walk while changing the walking speed stepwise using a running machine, and synthesize the log data with the walking speed. When the relationship between the average value Aave of the acceleration A and the average value Aave of the combined acceleration A was found for each subject as shown in FIG. 6A, it was clarified that a proportional relationship was established between the walking speed and the average value Aave of the resultant acceleration A. Was.

図6Bは、歩行速度と歩幅との関係の一例を示す図である。上記の歩行実験において、歩行速度と歩幅との関係を被験者毎に求めたところ、図6Bに示すように、歩行速度と歩幅との間には、比例関係が成立することが明らかとなった。   FIG. 6B is a diagram illustrating an example of a relationship between a walking speed and a stride. In the above-described walking experiment, when the relationship between the walking speed and the stride was determined for each subject, it became clear that a proportional relationship was established between the walking speed and the stride, as shown in FIG. 6B.

図6Cは、合成加速度Aの平均値Aaveと基準合成加速度Asとの差分(Aave−As)と、歩幅との関係の一例を示す図である。上記の歩行実験における各被験者が、所定の歩行速度で歩行しているときの、合成加速度Aの平均値Aaveを平均化したものを、各被験者に共通の基準合成加速度Asとし、合成加速度Aの平均値Aaveと基準合成加速度Asとの差分(Aave−As)と、歩幅との関係を被験者毎に求めたところ、図6Cに示すように、基準合成加速度Aの平均値Aaveと基準合成加速度Asとの差分(Aave−As)と、歩幅との間には、比例関係が成立することが明らかとなった。   FIG. 6C is a diagram illustrating an example of a relationship between a difference (Aave−As) between the average value Aave of the resultant acceleration A and the reference resultant acceleration As, and a stride. The average of the average value Aave of the combined acceleration A when each subject in the above-described walking experiment is walking at a predetermined walking speed is defined as a reference combined acceleration As common to each subject. When the relationship between the difference (Aave-As) between the average value Aave and the reference synthetic acceleration As and the stride was determined for each subject, the average value Aave of the reference synthetic acceleration A and the reference synthetic acceleration As were obtained as shown in FIG. 6C. It has been clarified that a proportional relationship is established between the difference (Aave-As) with the stride length.

図6Cに示すグラフは、(2)式に対応している。すなわち、図6Cに示すグラフの直線の傾きは、(2)式の補正係数αに相当する。図6Cに示すグラフにおいて、合成加速度Aの平均値Aaveと基準合成加速度Asとの差分(Aave−As)がゼロであるときの歩幅(切片)は、歩幅初期設定値Wiに対応する。歩行実験に基づいて作成された図6Cに示すグラフの直線の傾きを、(2)式の補正係数αとして適用することで、(2)式を用いて正確な歩幅を導出することが可能となる。   The graph shown in FIG. 6C corresponds to equation (2). That is, the slope of the straight line in the graph shown in FIG. 6C corresponds to the correction coefficient α in the equation (2). In the graph shown in FIG. 6C, the stride (intercept) when the difference (Aave−As) between the average value Aave of the resultant acceleration A and the reference resultant acceleration As is zero corresponds to the step initial value Wi. By applying the slope of the straight line of the graph shown in FIG. 6C created based on the walking experiment as the correction coefficient α in the equation (2), it is possible to derive an accurate stride using the equation (2). Become.

図7は、本発明の実施形態に係る半導体装置1によって導出された歩幅(補正歩幅Wa)と歩幅の実測値との誤差を、複数の歩行速度について取得した結果の一例を示すグラフである。図7に示すように、本発明の実施形態に係る半導体装置1によれば、各歩行速度について、±5%程度の誤差で、歩幅(補正歩幅Wa)を導出することが可能である。   FIG. 7 is a graph illustrating an example of a result obtained by acquiring an error between a stride (corrected stride Wa) derived by the semiconductor device 1 according to the embodiment of the present invention and an actually measured stride for a plurality of walking speeds. As shown in FIG. 7, according to the semiconductor device 1 according to the embodiment of the present invention, it is possible to derive a stride (corrected stride Wa) with an error of about ± 5% for each walking speed.

本実施形態に係る半導体装置1によれば、歩行周期を用いることなく歩幅を導出するので、例えば、ランニング時においてピッチ走行を行う者、ストライド走行を行う者、といったように、ユーザにより歩行周期が異なる場合でも正確な歩幅(補正歩幅Wa)を導出することが可能である。   According to the semiconductor device 1 according to the present embodiment, since the stride is derived without using the walking cycle, the walking cycle is set by the user such as, for example, a person who performs pitch running or a person who performs stride running during running. It is possible to derive an accurate stride (corrected stride Wa) even in different cases.

ここで、図8は、三軸加速度センサを、上着の胸ポケットに入れた場合と、ズボンのポケットに入れた場合の、通常歩行時(歩行速度4.8km/h)における合成加速度A及びその平均値Aaveの時間推移を実測した結果の一例を示す図である。図8に示すように、歩行速度が同じであっても、三軸加速度センサの装着位置が変わると、合成加速度A及びその平均値Aaveが変動する。従って、合成加速度Aまたはその平均値Aaveから、単純に歩幅を導出した場合、三軸加速度センサの装着位置によっては、実際の歩幅との誤差が大きくなる。   Here, FIG. 8 shows the combined acceleration A and the normal acceleration (at a walking speed of 4.8 km / h) when the three-axis acceleration sensor is put in the chest pocket of the jacket and in the pants pocket. It is a figure showing an example of the result of having measured time transition of the average value Aave. As shown in FIG. 8, even when the walking speed is the same, when the mounting position of the three-axis acceleration sensor changes, the synthetic acceleration A and the average value Aave thereof change. Therefore, when the stride is simply derived from the combined acceleration A or its average value Aave, an error from the actual stride increases depending on the mounting position of the triaxial acceleration sensor.

本発明の実施形態に係る半導体装置1によれば、実測された合成加速度Aの平均値Aaveを基準合成加速度Asとして適用し、合成加速度の平均値Aaveと基準合成加速度Asとの差分を用いて、歩幅初期設定値Wiに対する補正量を導出しているので、三軸加速度センサ20を含む半導体装置1の装着位置による合成加速度Aの変動要因が吸収される。すなわち、本発明の実施形態に係る半導体装置1によれば、その装着位置によらず、従来よりも高精度に歩幅を導出することが可能となる。   According to the semiconductor device 1 according to the embodiment of the present invention, the average value Aave of the actually measured composite acceleration A is applied as the reference composite acceleration As, and the difference between the average value Aave of the composite acceleration and the reference composite acceleration As is used. Since the correction amount for the initial step value Wi is derived, the fluctuation factor of the combined acceleration A due to the mounting position of the semiconductor device 1 including the three-axis acceleration sensor 20 is absorbed. That is, according to the semiconductor device 1 according to the embodiment of the present invention, it is possible to derive the stride with higher accuracy than in the past, regardless of the mounting position.

また、基準合成加速度Asは、逐次更新されるので、歩行中に三軸加速度センサ20を含む半導体装置1の装着位置が変化した場合でも、基準合成加速度Asがこれに追従して変化するので、常に安定した精度で歩幅(補正歩幅Wa)を導出することができる。   In addition, since the reference synthetic acceleration As is sequentially updated, even when the mounting position of the semiconductor device 1 including the triaxial acceleration sensor 20 changes during walking, the reference synthetic acceleration As changes following the change. The stride (corrected stride Wa) can always be derived with stable accuracy.

なお、本実施形態では、ランニングではない通常歩行時における歩幅を歩幅初期設定値Wiとして適用する場合を例示したが、ランニング時における歩幅を、歩幅初期設定値Wiとして適用してもよい。この場合、ランニング時における合成加速度Aの平均値Aaveを基準合成加速度Asとして適用するべく、基準合成加速度Asを導出するときの適合条件を変更する必要がある。   Note that, in the present embodiment, the case where the stride during normal walking, which is not running, is applied as the stride initial setting value Wi, but the stride during running may be applied as the stride initial setting Wi. In this case, in order to apply the average value Aave of the combined acceleration A during running as the reference combined acceleration As, it is necessary to change the adaptation conditions when deriving the reference combined acceleration As.

また、本実施形態に係る半導体装置1が、三軸加速度センサ20とマイクロコンピュータ10とを単一のパッケージに収容した形態を有する場合を例示したが、半導体装置1が、三軸加速度センサ20を備えていない構成としてもよい。この場合、半導体装置1とは別のパッケージに収容された三軸加速度センサが、半導体装置1と共に用いられる。   In addition, although the semiconductor device 1 according to the present embodiment has a configuration in which the three-axis acceleration sensor 20 and the microcomputer 10 are housed in a single package, the semiconductor device 1 includes the three-axis acceleration sensor 20. It is good also as a structure which is not provided. In this case, a three-axis acceleration sensor housed in a package different from the semiconductor device 1 is used together with the semiconductor device 1.

[第2の実施形態]
図9は、本発明の第2の実施形態に係るマイクロコンピュータ10の機能構成の一例を示す機能ブロック図である。
[Second embodiment]
FIG. 9 is a functional block diagram illustrating an example of a functional configuration of a microcomputer 10 according to the second embodiment of the present invention.

本実施形態に係るマイクロコンピュータ10は、合成加速度取得部38を備えている。合成加速度取得部38は、三軸加速度センサ20から出力される合成加速度Aを取得し、取得した合成加速度Aを平均値導出部33に供給する。   The microcomputer 10 according to the present embodiment includes a combined acceleration acquisition unit 38. The combined acceleration acquisition unit 38 acquires the combined acceleration A output from the three-axis acceleration sensor 20 and supplies the acquired combined acceleration A to the average value derivation unit 33.

また、本実施形態に係るマイクロコンピュータ10は、設定値取得部39が、歩幅初期設定値Wiを取得する。歩幅初期設定値Wiは、例えば、ユーザによる入力操作に応じて取得することが可能である。また、設定値取得部39は、補助記憶装置13に格納されている歩幅初期設定値Wiを読み込むことによりこれを取得してもよい。   Further, in the microcomputer 10 according to the present embodiment, the setting value acquisition unit 39 acquires the step setting initial value Wi. The step initial value Wi can be acquired, for example, in response to an input operation by the user. Further, the setting value acquisition unit 39 may acquire this by reading the stride initial setting value Wi stored in the auxiliary storage device 13.

本実施形態に係るマイクロコンピュータ10は、三軸加速度センサ20が、合成加速度Aを導出する機能を備えており、歩幅初期設定値Wiを直接取得する場合に適用し得る機能構成を有する。   The microcomputer 10 according to the present embodiment has a function in which the three-axis acceleration sensor 20 has a function of deriving the synthetic acceleration A, and has a functional configuration that can be applied when directly acquiring the step initial value Wi.

[第3の実施形態]
図10は、本発明の第3の実施形態に係る半導体装置1の構成の一例を示す図である。本実施形態に係る半導体装置1は、補助記憶装置13に格納された移動距離導出プログラム102を含む。
[Third Embodiment]
FIG. 10 is a diagram illustrating an example of a configuration of a semiconductor device 1 according to the third embodiment of the present invention. The semiconductor device 1 according to the present embodiment includes a moving distance deriving program 102 stored in the auxiliary storage device 13.

図11は、CPU11が、歩幅導出プログラム100、基準合成加速度導出プログラム101及び移動距離導出プログラム102を実行することにより実現されるマイクロコンピュータ10の機能構成の一例を示す機能ブロック図である。本実施形態に係るマイクロコンピュータ10は、歩数導出部30及び移動距離導出部40を含む。   FIG. 11 is a functional block diagram illustrating an example of a functional configuration of the microcomputer 10 realized by the CPU 11 executing the stride derivation program 100, the reference combined acceleration derivation program 101, and the moving distance derivation program 102. The microcomputer 10 according to the present embodiment includes a step number deriving unit 30 and a moving distance deriving unit 40.

歩数導出部30は、三軸加速度センサ20から出力される各軸の加速度信号Ax、Ay、Azに基づいて累積歩数のカウント値Cを導出する。   The step number deriving unit 30 derives a count value C of the cumulative step number based on the acceleration signals Ax, Ay, Az of each axis output from the three-axis acceleration sensor 20.

移動距離導出部40は、歩数導出部30によって導出された累積歩数のカウント値Cと、補正部37によって導出された補正歩幅Waとに基づいて移動距離Lを導出する。具体的には、移動距離導出部40は、下記の(3)式に示される演算を行うことで、移動距離Lを導出する。(3)式に示すように、移動距離導出部40は、累積歩数のカウント値Cに補正歩幅Waを乗じた値を、移動距離Lとして導出する。   The moving distance deriving unit 40 derives the moving distance L based on the count value C of the cumulative number of steps derived by the step number deriving unit 30 and the corrected step length Wa derived by the correcting unit 37. Specifically, the moving distance deriving unit 40 derives the moving distance L by performing the calculation represented by the following equation (3). As shown in equation (3), the moving distance deriving unit 40 derives a value obtained by multiplying the count value C of the accumulated steps by the corrected step length Wa as the moving distance L.

L=C×Wa ・・・(3) L = C × Wa (3)

図12は、CPU11が、移動距離導出プログラム102を実行することにより実施される移動距離導出処理の流れの一例を示すフローチャートである。この移動距離導出処理は、上記の歩幅導出処理(図3参照)及び基準合成加速度導出処理(図4参照)と並行して実施される。CPU11が、移動距離導出プログラム102を実行することで、CPU11は、歩数導出部30及び移動距離導出部40として機能する。   FIG. 12 is a flowchart illustrating an example of the flow of a moving distance deriving process performed by the CPU 11 executing the moving distance deriving program 102. This moving distance deriving process is performed in parallel with the above-described step length deriving process (see FIG. 3) and the reference combined acceleration deriving process (see FIG. 4). When the CPU 11 executes the moving distance deriving program 102, the CPU 11 functions as the step number deriving unit 30 and the moving distance deriving unit 40.

ステップS21において、CPU11は、累積歩数のカウント値Cをゼロにリセットする。   In step S21, the CPU 11 resets the count value C of the accumulated number of steps to zero.

ステップS22において、CPU11は、上記した歩幅導出処理(図3参照)のステップS3において取得した加速度信号Ax、Ay、Azに基づいて、歩行が行われているか否かを検出する。CPU11は、例えば、加速度信号Ax、Ay、Azの時間推移が、歩行状態であることを示す特定のパターンであると判定した場合、歩行が行われているものと判定し、処理をステップS23に移行する。   In step S22, the CPU 11 detects whether or not walking is performed based on the acceleration signals Ax, Ay, Az acquired in step S3 of the above-described step length deriving process (see FIG. 3). For example, when the CPU 11 determines that the time transition of the acceleration signals Ax, Ay, and Az is a specific pattern indicating that the user is in a walking state, the CPU 11 determines that walking is being performed, and proceeds to step S23. Transition.

ステップS23において、CPU11は、累積歩数のカウント値Cを1つ増加させる。   In step S23, the CPU 11 increases the count value C of the cumulative number of steps by one.

ステップS24において、CPU11は、上記した歩幅導出処理(図3参照)のステップS7において導出され、主記憶装置12に格納された補正歩幅Waを取得する。   In step S24, the CPU 11 acquires the corrected stride Wa derived in step S7 of the above-described stride derivation processing (see FIG. 3) and stored in the main storage device 12.

ステップS25において、CPU11は、(3)式によって示される演算を行うことで、移動距離Lを導出し、これを主記憶装置12に格納する。その後、処理は、ステップS22に戻される。   In step S <b> 25, the CPU 11 derives the movement distance L by performing the calculation represented by the equation (3), and stores this in the main storage device 12. Thereafter, the process returns to step S22.

以上のように、本実施形態に係る半導体装置1によれば、補正歩幅Waと累積歩数のカウント値Cから移動距離Lが導出される。本実施形態の半導体装置1によれば、高精度で歩幅(補正歩幅Wa)を導出することができるので、移動距離Lについても高い精度で導出することが可能となる。   As described above, according to the semiconductor device 1 according to the present embodiment, the moving distance L is derived from the corrected stride Wa and the count value C of the accumulated steps. According to the semiconductor device 1 of the present embodiment, the stride (corrected stride Wa) can be derived with high accuracy, so that the moving distance L can be derived with high accuracy.

なお、半導体装置1は、例えば、導出した移動距離Lに基づいて、消費カロリーを導出する機能を更に備えていてもよい。この場合、補正歩幅Wa及びその他のデータ(例えば歩行速度等)を消費カロリーの導出に用いてもよい。   The semiconductor device 1 may further have a function of deriving calorie consumption based on the derived moving distance L, for example. In this case, the corrected step length Wa and other data (for example, walking speed or the like) may be used to derive the calorie consumption.

[第4の実施形態]
図13は、本発明の第4の実施形態に係る携帯端末装置200の構成の一例を示す図である。携帯端末装置200は、上記した第1〜第3の実施形態に係る半導体装置1のいずれか1つを含んで構成されている。携帯端末装置200は、半導体装置1によって導出された補正歩幅Wa、及びこれに基づいて導出された情報(例えば、移動距離、消費カロリー、移動経路)の少なくとも1つを表示する表示部201を有している。携帯端末装置200は、通信機能を備えたスマートフォンの形態を有するものであってもよい。この場合、ネットワークを介して携帯端末装置200に接続されたサーバに、半導体装置1によって導出された補正歩幅Wa及びこれに基づいて導出された情報を格納してもよい。
[Fourth embodiment]
FIG. 13 is a diagram illustrating an example of a configuration of a mobile terminal device 200 according to the fourth embodiment of the present invention. The mobile terminal device 200 is configured to include any one of the semiconductor devices 1 according to the above-described first to third embodiments. The portable terminal device 200 has a display unit 201 that displays at least one of the corrected step length Wa derived by the semiconductor device 1 and information derived based on the corrected step length Wa (for example, travel distance, calorie consumption, and travel route). are doing. The mobile terminal device 200 may have a form of a smartphone having a communication function. In this case, the corrected stride Wa derived by the semiconductor device 1 and information derived based on the corrected stride Wa may be stored in a server connected to the portable terminal device 200 via the network.

1 半導体装置
10 マイクロコンピュータ
11 CPU
12 主記憶装置
13 補助記憶装置
14 入出力装置
20 三軸加速度センサ
30 歩数導出部
31 加速度信号取得部
32 合成加速度導出部
34 基準合成加速度導出部
35、39 設定値取得部
36 歩幅初期設定値導出部
37 補正部
38 合成加速度取得部
40 移動距導出部
100 歩幅導出プログラム
101 基準合成加速度導出プログラム
102 移動距離導出プログラム
200 携帯端末装置
201 表示部
1 semiconductor device 10 microcomputer 11 CPU
Reference Signs List 12 Main storage device 13 Auxiliary storage device 14 Input / output device 20 Three-axis acceleration sensor 30 Step number deriving unit 31 Acceleration signal obtaining unit 32 Synthetic acceleration deriving unit 34 Reference synthetic acceleration deriving unit 35, 39 Set value obtaining unit 36 Derivation of initial step length Unit 37 Correction unit 38 Synthetic acceleration acquisition unit 40 Moving distance deriving unit 100 Stride deriving program 101 Reference synthetic acceleration deriving program 102 Moving distance deriving program 200 Mobile terminal device 201 Display unit

Claims (19)

三次元直交座標系の各軸の加速度を合成した合成加速度を導出する合成加速度導出部と、
前記合成加速度及び補正係数に基づいて導出した補正量を用いて、歩幅初期設定値を補正した値を、補正歩幅として導出する補正部と、
を含む半導体装置。
A synthetic acceleration deriving unit that derives a synthetic acceleration obtained by synthesizing the acceleration of each axis of the three-dimensional orthogonal coordinate system,
A correction unit that derives a value obtained by correcting the stride initial setting value as a corrected stride, using a correction amount derived based on the combined acceleration and the correction coefficient,
Semiconductor device including:
三次元直交座標系の各軸の加速度を合成した合成加速度を取得する合成加速度取得部と、
前記合成加速度及び補正係数に基づいて導出した補正量を用いて、歩幅初期設定値を補正した値を、補正歩幅として導出する補正部と、
を含む半導体装置。
A combined acceleration acquisition unit that acquires a combined acceleration obtained by combining the accelerations of the respective axes of the three-dimensional orthogonal coordinate system,
A correction unit that derives a value obtained by correcting the stride initial setting value as a corrected stride, using a correction amount derived based on the combined acceleration and the correction coefficient,
Semiconductor device including:
前記合成加速度に基づいて前記合成加速度の基準となる基準合成加速度を導出する基準合成加速度導出部を更に含み、
前記補正部は、前記合成加速度の平均値と前記基準合成加速度との差分に、前記補正係数を乗じた値を前記補正量として導出し、前記補正量を前記歩幅初期設定値に加算した値を、前記補正歩幅として導出する
請求項1または請求項2に記載の半導体装置。
Further including a reference combined acceleration deriving unit that derives a reference combined acceleration that is a reference of the combined acceleration based on the combined acceleration,
The correction unit derives a value obtained by multiplying a difference between the average value of the synthetic acceleration and the reference synthetic acceleration by the correction coefficient as the correction amount, and adds a value obtained by adding the correction amount to the stride initial setting value. The semiconductor device according to claim 1, wherein the semiconductor device is derived as the corrected stride.
前記基準合成加速度導出部は、前記歩幅初期設定値に対応する歩行状態を検出した場合に、その時点における前記合成加速度の平均値を、前記基準合成加速度として導出する
請求項3に記載の半導体装置。
The semiconductor device according to claim 3, wherein the reference combined acceleration deriving unit derives, as the reference combined acceleration, an average value of the combined acceleration at that time when detecting a walking state corresponding to the stride initial setting value. .
前記基準合成加速度導出部は、前記合成加速度の平均値及び前記各軸の加速度信号が、所定の適合条件を満たす場合、その時点における前記合成加速度の平均値を、前記基準合成加速度として導出する
請求項3または請求項4に記載の半導体装置。
The reference combined acceleration deriving unit, when the average value of the combined acceleration and the acceleration signal of each axis satisfy a predetermined matching condition, derives an average value of the combined acceleration at that time as the reference combined acceleration. The semiconductor device according to claim 3 or 4.
前記適合条件を満たす場合は、前記各軸の加速度信号に基づいて導出される歩行周期及び前記合成加速度の平均値の大きさが、それぞれ、前記歩幅初期設定値に対応した所定範囲内にある状態が、所定の歩数分だけ連続した場合である
請求項5に記載の半導体装置。
When the matching condition is satisfied, the walking cycle derived based on the acceleration signal of each axis and the magnitude of the average value of the combined acceleration are within a predetermined range corresponding to the initial step length setting value, respectively. 6. The semiconductor device according to claim 5, wherein the number of consecutive steps is a predetermined number of steps.
前記歩幅初期設定値を取得する設定値取得部
を更に含む請求項1から請求項6のいずれか1項に記載の半導体装置。
The semiconductor device according to claim 1, further comprising: a setting value acquisition unit configured to acquire the step setting value.
身長を示す身長情報を取得する設定値取得部と、
前記身長情報によって示される身長に基づいて、前記歩幅初期設定値を導出する歩幅初期設定値導出部と、
を更に含む請求項1から請求項6のいずれか1項に記載の半導体装置。
A setting value acquisition unit for acquiring height information indicating the height,
Based on the height indicated by the height information, a stride initial setting value deriving unit that derives the stride initial setting value,
The semiconductor device according to claim 1, further comprising:
前記各軸の加速度信号に基づいて累積歩数を導出する歩数導出部と、
前記歩数導出部によって導出された累積歩数と、前記補正歩幅とに基づいて移動距離を導出する移動距離導出部と、
を更に含む
請求項1から請求項8のいずれか1項に記載の半導体装置。
A step number deriving unit that derives a cumulative step number based on the acceleration signal of each axis,
A moving distance deriving unit that derives a moving distance based on the cumulative number of steps derived by the step number deriving unit and the corrected step length,
The semiconductor device according to any one of claims 1 to 8, further comprising:
前記各軸の加速度信号を出力する三軸加速度センサを更に含む
請求項1から請求項9のいずれか1項に記載の半導体装置。
The semiconductor device according to claim 1, further comprising a three-axis acceleration sensor that outputs an acceleration signal of each of the axes.
請求項1から請求項10のいずれか1項に記載の半導体装置と、
前記補正歩幅及び前記補正歩幅に基づいて導出された情報の少なくとも1つを表示する表示部と、
を含む携帯端末装置。
A semiconductor device according to any one of claims 1 to 10,
A display unit that displays at least one of the corrected stride and information derived based on the corrected stride,
A mobile terminal device including:
三次元直交座標系の各軸の加速度を合成した合成加速度を導出または取得し、
前記合成加速度及び補正係数に基づいて導出した補正量を用いて、歩幅初期設定値を補正した値を、補正歩幅として導出する
歩幅導出方法。
Deriving or obtaining a combined acceleration that combines the acceleration of each axis of the three-dimensional rectangular coordinate system,
A stride derivation method for deriving, as a corrected stride, a value obtained by correcting a stride initial setting value using a correction amount derived based on the combined acceleration and the correction coefficient.
前記合成加速度に基づいて前記合成加速度の基準となる基準合成加速度を導出し、
前記合成加速度の平均値と前記基準合成加速度との差分に、前記補正係数を乗じた値を前記補正量として導出し、前記補正量を前記歩幅初期設定値に加算した値を前記補正歩幅として導出する
請求項12に記載の歩幅導出方法。
Deriving a reference combined acceleration that is a reference of the combined acceleration based on the combined acceleration,
A value obtained by multiplying a difference between the average value of the combined acceleration and the reference combined acceleration by the correction coefficient is derived as the correction amount, and a value obtained by adding the correction amount to the stride initial setting value is derived as the corrected stride length. The stride derivation method according to claim 12.
前記歩幅初期設定値に対応する歩行状態が検出された場合に、その時点における前記合成加速度の平均値を、前記基準合成加速度として導出する
請求項13に記載の歩幅導出方法。
The stride derivation method according to claim 13, wherein when a walking state corresponding to the stride initial setting value is detected, an average value of the combined acceleration at that time is derived as the reference combined acceleration.
前記合成加速度の平均値及び前記各軸の加速度信号が、所定の適合条件を満たす場合、その時点における前記合成加速度の平均値を、前記基準合成加速度として導出する
請求項13または請求項14に記載の歩幅導出方法。
The average value of the combined acceleration and the acceleration signal of each axis satisfy a predetermined matching condition, and derive an average value of the combined acceleration at that time as the reference combined acceleration. How to derive the stride.
前記適合条件を満たす場合は、前記各軸の加速度信号に基づいて導出される歩行周期及び前記合成加速度の平均値の大きさが、それぞれ、前記歩幅初期設定値に対応した所定範囲内にある状態が、所定の歩数分だけ連続した場合である
請求項15に記載の歩幅導出方法。
When the matching condition is satisfied, the walking cycle derived based on the acceleration signal of each axis and the magnitude of the average value of the combined acceleration are within a predetermined range corresponding to the initial step length setting value, respectively. The step length derivation method according to claim 15, wherein the step is a case in which the number of steps is continuous for a predetermined number of steps.
身長を示す身長情報を取得し、
前記身長情報によって示される身長に基づいて、前記歩幅初期設定値を導出する
請求項12から請求項16のいずれか1項に記載の歩幅導出方法。
Get height information indicating height,
The stride derivation method according to any one of claims 12 to 16, wherein the stride initial setting value is derived based on the height indicated by the height information.
三次元直交座標系の各軸の加速度を合成した合成加速度を導出または取得し、
前記合成加速度及び補正係数に基づいて導出した補正量を用いて、歩幅初期設定値を補正した値を、補正歩幅として導出する
処理をコンピュータに実行させるプログラム。
Deriving or obtaining a combined acceleration that combines the acceleration of each axis of the three-dimensional rectangular coordinate system,
A program for causing a computer to execute a process of deriving, as a corrected stride, a value obtained by correcting a stride initial setting value using a correction amount derived based on the combined acceleration and the correction coefficient.
前記合成加速度に基づいて前記合成加速度の基準となる基準合成加速度を導出し、
前記合成加速度の平均値と前記基準合成加速度との差分に、前記補正係数を乗じた値を前記補正量として導出し、前記補正量を前記歩幅初期設定値に加算した値を前記補正歩幅として導出する
処理をコンピュータに実行させる請求項18に記載のプログラム。
Deriving a reference combined acceleration that is a reference of the combined acceleration based on the combined acceleration,
A value obtained by multiplying a difference between the average value of the combined acceleration and the reference combined acceleration by the correction coefficient is derived as the correction amount, and a value obtained by adding the correction amount to the stride initial setting value is derived as the corrected stride length. The program according to claim 18, wherein the program causes a computer to execute the processing.
JP2018120169A 2018-06-25 2018-06-25 Semiconductor device, portable terminal device, stride derivation method and program Active JP7173673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018120169A JP7173673B2 (en) 2018-06-25 2018-06-25 Semiconductor device, portable terminal device, stride derivation method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018120169A JP7173673B2 (en) 2018-06-25 2018-06-25 Semiconductor device, portable terminal device, stride derivation method and program

Publications (2)

Publication Number Publication Date
JP2020003229A true JP2020003229A (en) 2020-01-09
JP7173673B2 JP7173673B2 (en) 2022-11-16

Family

ID=69099624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018120169A Active JP7173673B2 (en) 2018-06-25 2018-06-25 Semiconductor device, portable terminal device, stride derivation method and program

Country Status (1)

Country Link
JP (1) JP7173673B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022075603A1 (en) * 2020-10-05 2022-04-14 삼성전자 주식회사 Electronic device for identifying information relating to walking, and an operation method of electronic device for identifying information relating to walking

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006118909A (en) * 2004-10-20 2006-05-11 Matsushita Electric Works Ltd Walking meter
JP2009301286A (en) * 2008-06-12 2009-12-24 Fujitsu Ltd Portable equipment, stride correction method, information equipment and stride correction program
JP2013022090A (en) * 2011-07-15 2013-02-04 Tohoku Univ Energy consumption amount presentation device and energy consumption amount estimation method
JP5291261B1 (en) * 2013-02-20 2013-09-18 徳男 江村 Pedometer
JP2014145765A (en) * 2007-04-13 2014-08-14 Murata Electronics Oy Method and device for measuring progress of moving person

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006118909A (en) * 2004-10-20 2006-05-11 Matsushita Electric Works Ltd Walking meter
JP2014145765A (en) * 2007-04-13 2014-08-14 Murata Electronics Oy Method and device for measuring progress of moving person
JP2009301286A (en) * 2008-06-12 2009-12-24 Fujitsu Ltd Portable equipment, stride correction method, information equipment and stride correction program
JP2013022090A (en) * 2011-07-15 2013-02-04 Tohoku Univ Energy consumption amount presentation device and energy consumption amount estimation method
JP5291261B1 (en) * 2013-02-20 2013-09-18 徳男 江村 Pedometer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022075603A1 (en) * 2020-10-05 2022-04-14 삼성전자 주식회사 Electronic device for identifying information relating to walking, and an operation method of electronic device for identifying information relating to walking

Also Published As

Publication number Publication date
JP7173673B2 (en) 2022-11-16

Similar Documents

Publication Publication Date Title
CN110325833B (en) System for accurately measuring structure and method thereof
CN103843313B (en) Moving direction determination with noisy signals from inertial navigation systems on mobile devices
CN100470198C (en) Walker navigation device and program
KR101252634B1 (en) system for analyzing walking motion
EP1847807B1 (en) Motion classification methods for personal navigation
EP3819592A1 (en) Positioning device, positioning method, and program
RU2566427C1 (en) Method of determination of temperature dependences of scaling factors, zero shifts and array of orientation of axes of sensitivity of laser gyroscopes and pendulum accelerometers as part of inertial measuring unit at bench tests
WO2006104140A1 (en) Advancing direction measurement device and advancing direction measurement method
CN103429986B (en) inertial navigation paddle algorithm
JP5176145B2 (en) Direction detection method and apparatus, and movement history calculation method and apparatus
CN111522034A (en) Positioning method, equipment and device based on inertial navigation
US8510079B2 (en) Systems and methods for an advanced pedometer
JP2019028796A (en) Measuring apparatus, navigation system, measuring method and program
KR101301462B1 (en) Pedestiran dead-reckoning apparatus using low cost inertial measurement unit and method thereof
Schindhelm et al. Usability of apple iPhones for inertial navigation systems
JP7173673B2 (en) Semiconductor device, portable terminal device, stride derivation method and program
Mikov et al. Data processing algorithms for MEMS based multi-component inertial measurement unit for indoor navigation
Sang et al. A self-developed indoor three-dimensional pedestrian localization platform based on MEMS sensors
JP2006038650A (en) Posture measuring method, posture controller, azimuth meter and computer program
WO2014185027A1 (en) Offset estimation device, offset estimation method, and program
JP2011117945A (en) Walk measuring instrument, walk measurement method, and program
JP6108830B2 (en) Portable information device, program and method capable of evaluating walking stability
KR101736341B1 (en) Wearable device, method and computer program for indoor positioning
Kim et al. Comparison of step length estimation models using inertial sensor on pelvis
JP2021148460A (en) Movement amount estimation device, model generation device, movement amount estimation method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220329

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220530

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: 20221004

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221101

R150 Certificate of patent or registration of utility model

Ref document number: 7173673

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150