Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6519682B2 - Measuring device, measuring method and measuring program - Google Patents
[go: Go Back, main page]

JP6519682B2 - Measuring device, measuring method and measuring program - Google Patents

Measuring device, measuring method and measuring program Download PDF

Info

Publication number
JP6519682B2
JP6519682B2 JP2018044700A JP2018044700A JP6519682B2 JP 6519682 B2 JP6519682 B2 JP 6519682B2 JP 2018044700 A JP2018044700 A JP 2018044700A JP 2018044700 A JP2018044700 A JP 2018044700A JP 6519682 B2 JP6519682 B2 JP 6519682B2
Authority
JP
Japan
Prior art keywords
value
acceleration
horse
cpu
determined
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.)
Expired - Fee Related
Application number
JP2018044700A
Other languages
Japanese (ja)
Other versions
JP2018113976A (en
Inventor
陽介 千田
陽介 千田
良一 伴
良一 伴
史朗 永嶋
史朗 永嶋
耕司 辰巳
耕司 辰巳
広幸 山▲崎▼
広幸 山▲崎▼
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2018044700A priority Critical patent/JP6519682B2/en
Publication of JP2018113976A publication Critical patent/JP2018113976A/en
Application granted granted Critical
Publication of JP6519682B2 publication Critical patent/JP6519682B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本件開示の発明は、計測装置、計測方法及び計測プログラムに関する。   The invention disclosed herein relates to a measurement device, a measurement method, and a measurement program.

近年、移動する物体の動作を計測する機器等の情報処理装置には、その高機能化に伴い、さまざまなセンサが搭載されている。例えば、加速度センサや角速度センサを有する装置は、センサの出力値に基づいて、装置の現在の状態を判定する。そして、加速度センサや角速度センサの出力値を利用して、情報処理装置を携帯する人の歩行状態や姿勢を判定する方法等が提案されている(特許文献1、2を参照)。   2. Description of the Related Art In recent years, various sensors have been mounted on information processing apparatuses such as devices that measure the movement of moving objects, as their functions become more sophisticated. For example, a device having an acceleration sensor or an angular velocity sensor determines the current state of the device based on the output value of the sensor. And the method etc. of determining the walking state and posture of the person who carries an information processing apparatus are proposed using the output value of an acceleration sensor or an angular velocity sensor (refer to patent documents 1 and 2).

特開2010−257395号公報Unexamined-Japanese-Patent No. 2010-257395 特開2002−328134号公報JP 2002-328134 A

ところで、情報処理装置を装着した物体の動作状態を判定する際に、情報処理装置及びセンサの座標系、いわゆるローカル座標系と、グローバル座標系とは軸が一致しないため、各センサのセンサ出力に対して座標変換を施す必要がある。   By the way, when determining the operation state of the object on which the information processing apparatus is mounted, the axes of the coordinate system of the information processing apparatus and the sensor, that is, the so-called local coordinate system and the global coordinate system do not coincide. It is necessary to carry out coordinate transformation for the

携帯電話端末等の情報処理装置には、情報処理装置に対する操作を処理したり通信を実行したりするメインマイコンと、加速度センサ等からの出力情報を処理するサブマイコンを備えるものがある。メインマイコンは、装置全体の制御の他、例えばブラウザ等のアプリケーションも動作させるため高性能である。一般に、マイコンの演算処理性能と消費電力とは比例関係にあると考えてよい。そして、情報処理装置において駆動時間(電池の持続時間)は重要な要素の1つである。情報処理装置における消費電力を抑えれば、情報処理装置の駆動時間を長くすることができる。そこで、メインマイコンはできるだけ休止状態にされる。そのため、通常は、メインマイコンで常時加速度センサの出力をモニタリングしない構成が採用される。   Some information processing apparatuses such as mobile phone terminals include a main microcomputer that processes an operation on the information processing apparatus and executes communication, and a sub-microcomputer that processes output information from an acceleration sensor or the like. The main microcomputer is high-performance because it operates not only the control of the entire apparatus but also an application such as a browser. In general, it may be considered that the arithmetic processing performance of the microcomputer and the power consumption are in a proportional relationship. And in the information processing apparatus, the driving time (duration of the battery) is one of the important factors. If the power consumption in the information processing apparatus is reduced, the driving time of the information processing apparatus can be extended. Therefore, the main microcomputer is put to sleep as much as possible. Therefore, usually, a configuration is employed in which the main microcomputer does not constantly monitor the output of the acceleration sensor.

そこで、情報処理装置のサブマイコンが使用される。一般に、サブマイコンの消費電力はメインマイコンの1/200〜1/1000程度である。すなわち、サブマイコンは常時動作状態としても、電力浪費の観点からは支障がない。ただし、サブマイコンの性能はメインマイコンに比べて非力であり、整数の四則演算やメモリ操作といった単純な処理であれば実行できる。サブマイコンを用いて物体の動作評価を常時行うためには、上記のような単純な演算に基づいて必要な処理を行う。   Therefore, the sub-microcomputer of the information processing apparatus is used. Generally, the power consumption of the sub microcomputer is about 1/200 to 1/1000 of the main microcomputer. That is, even if the sub-microcomputer is always operated, there is no problem in terms of power consumption. However, the performance of the sub-microcomputer is less powerful than that of the main microcomputer, and it can be executed with simple operations such as integer arithmetic and memory operations. In order to constantly evaluate the motion of an object using a sub-microcomputer, necessary processing is performed based on the above simple calculation.

例えば、加速度センサの座標系で出力された値を、上下左右前後のいわゆるグローバル座標系における値に変換する場合、回転行列を利用した演算を行うことでそのような変換を行うことができる。この変換は、通常は三角関数を用いて行う。しかし、上述のように、整数の四則演算とメモリ操作程度の処理が可能なサブマイコンでは、処理負荷の高い三角関数の演算等を行うことはできない。   For example, when converting values output in the coordinate system of the acceleration sensor into values in the so-called global coordinate system in the top, bottom, left, and right, such conversion can be performed by performing an operation using a rotation matrix. This conversion is usually performed using a trigonometric function. However, as described above, with a sub-microcomputer that can perform integer arithmetic operations and memory operation processing, it is not possible to perform operations such as trigonometric functions with high processing load.

本件開示の技術は、上記に鑑みてなされたものであり、その目的とするところは、計測装置における消費電力を抑えつつ、計測装置が装着された四脚動物の歩行状態を計測することである。   The technique of the present disclosure has been made in view of the above, and an object thereof is to measure the walking state of a tetrapod animal equipped with the measuring device while suppressing the power consumption in the measuring device. .

本件開示の計測プログラムは、1つの側面では、四脚動物に取り付けられた計測装置に、四脚動物に取り付けられた加速度センサから3次元空間の加速度データを取得させ、取得した加速度データを用いて四脚動物の歩容を特定させ、特定した四脚動物の歩容を用いて四脚動物の所定の脚が着地したか否かを判定させ、四脚動物の所定の脚が着地したと判定したときの四脚動物の位置を示す位置情報を、四脚動物に取り付けられたGPSセンサから取得したGPSデータが示す位置情報と時間情報とを用いて生成させ、生成した位置情報とGPSデータが示す時間情報とを用いて、四脚動物の所定の脚が着地したと判定してから再度前記四脚動物の所定の脚が着地したと判定するまでの四脚動物の移動における加速度の平均値を算出させる。   In one aspect, the measurement program according to the present disclosure causes the measurement device attached to the tetrapod animal to acquire acceleration data of the three-dimensional space from the acceleration sensor attached to the tetrapod animal, and uses the acquired acceleration data The gait of the tetrapod is specified, and the gait of the identified tetrapod is used to determine whether or not the predetermined leg of the tetrapod has landed, and it is determined that the predetermined leg of the tetrapod has landed. The position information indicating the position of the quadruped animal when it was generated is generated using the position information and time information indicated by the GPS data acquired from the GPS sensor attached to the tetrapod animal, and the generated position information and GPS data are The average value of the acceleration in the movement of the four-legged animal from when it is determined that the predetermined leg of the four-legged animal has landed to when it is determined again that the predetermined leg of the four-legged animal has landed using the indicated time information. Calculate.

本件開示の技術によれば、計測装置における消費電力を抑えつつ、計測装置が装着された四脚動物の歩行状態を計測することができる。   According to the technology of the present disclosure, it is possible to measure the walking state of the tetrapod animal equipped with the measuring device while suppressing the power consumption of the measuring device.

図1は、一実施形態における携帯電話端末のハードウェア構成を示す概略構成図である。FIG. 1 is a schematic configuration view showing a hardware configuration of a mobile phone terminal in one embodiment. 図2は、一実施形態における携帯電話端末の機能部を示す機能構成図である。FIG. 2 is a functional block diagram showing functional parts of the mobile telephone terminal in one embodiment. 図3Aは、一実施形態における加速度センサのセンサ出力のベクトルを示す図である。FIG. 3A is a diagram showing a vector of sensor output of an acceleration sensor in one embodiment. 図3Bは、一実施形態における加速度センサのセンサ出力のベクトルを示す図である。FIG. 3B is a diagram showing a vector of sensor output of an acceleration sensor in one embodiment. 図4Aは、一実施形態におけるユーザの歩行状態を示す模式図である。FIG. 4A is a schematic view showing the walking state of the user in one embodiment. 図4Bは、一実施形態におけるユーザの歩行状態を示す模式図である。FIG. 4B is a schematic view showing the walking state of the user in one embodiment. 図5Aは、一実施形態における加速度センサのセンサ出力のベクトルを示す図である。FIG. 5A is a diagram showing a vector of sensor output of an acceleration sensor in one embodiment. 図5Bは、一実施形態における加速度センサのセンサ出力のベクトルを示す図である。FIG. 5B is a diagram showing a vector of sensor output of an acceleration sensor in one embodiment. 図6Aは、一実施形態における加速度センサのセンサ出力のベクトルを示す図である。FIG. 6A is a diagram showing a vector of sensor output of an acceleration sensor in one embodiment. 図6Bは、一実施形態におけるユーザの矢状面、冠状面、横断面を示す模式図である。FIG. 6B is a schematic view showing a sagittal plane, a coronal plane, and a cross section of the user in one embodiment. 図7は、一実施形態における加速度センサのセンサ出力のベクトルを示す図である。FIG. 7 is a diagram showing a vector of sensor output of the acceleration sensor in one embodiment. 図8は、一実施形態におけるサブマイコンの一部の構成を示す概略構成図である。FIG. 8 is a schematic configuration view showing a partial configuration of the sub-microcomputer in one embodiment. 図9Aは、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 9A is a flowchart executed by the sub-microcomputer in one embodiment. 図9Bは、一実施形態におけるユーザの位置及び方位を示す模式図である。FIG. 9B is a schematic view showing the position and orientation of the user in one embodiment. 図10は、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 10 is a flowchart executed by the sub-microcomputer in one embodiment. 図11Aは、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 11A is a flowchart executed by the sub-microcomputer in one embodiment. 図11Bは、一実施形態における角速度の時間変化を示すグラフである。FIG. 11B is a graph showing temporal changes in angular velocity in one embodiment. 図12Aは、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 12A is a flowchart executed by the sub-microcomputer in one embodiment. 図12Bは、一実施形態におけるユーザの歩行状態と角速度の関係を示すグラフである。FIG. 12B is a graph showing the relationship between the walking state of the user and the angular velocity in one embodiment. 図13Aは、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 13A is a flowchart executed by the sub-microcomputer in one embodiment. 図13Bは、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 13B is a flowchart executed by the sub-microcomputer in one embodiment. 図13Cは、一実施形態におけるユーザの歩行状態と角速度の関係を示すグラフである。FIG. 13C is a graph showing the relationship between the walking state of the user and the angular velocity in one embodiment. 図14は、一実施形態における馬の歩容を例示する図である。FIG. 14 is a diagram illustrating a horse's gait in one embodiment. 図15は、一実施形態におけるサブマイコンの一部の構成を示す概略構成図である。FIG. 15 is a schematic block diagram showing a part of the configuration of the sub-microcomputer in one embodiment. 図16Aは、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 16A is a flowchart executed by the sub-microcomputer in one embodiment. 図16Bは、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 16B is a flowchart executed by the sub-microcomputer in one embodiment. 図16Cは、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 16C is a flowchart executed by the sub-microcomputer in one embodiment. 図17は、一実施形態における馬の歩容判定の実験結果の例を示すグラフである。FIG. 17 is a graph showing an example of an experimental result of gait determination of a horse according to an embodiment. 図18は、一実施形態における馬体と携帯端末との位置関係を例示する図である。FIG. 18 is a diagram illustrating the positional relationship between the horse body and the portable terminal in one embodiment. 図19Aは、一実施形態における、馬の上下方向の角速度の向きの時間変化を示す模式図である。FIG. 19A is a schematic view showing a temporal change in the direction of the angular velocity in the vertical direction of the horse in one embodiment. 図19Bは、一実施形態における、馬の上下方向の角速度の向きの時間変化を示す模式図である。FIG. 19B is a schematic view showing a temporal change in the direction of the angular velocity in the vertical direction of the horse in one embodiment. 図20は、一実施形態におけるサブマイコンの一部の構成を示す概略構成図である。FIG. 20 is a schematic configuration view showing a configuration of a part of the sub-microcomputer in one embodiment. 図21は、一実施形態における馬の上下方向の動きと左右方向の回転の関係を示すグラフである。FIG. 21 is a graph showing the relationship between vertical movement and horizontal rotation of a horse according to an embodiment. 図22Aは、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 22A is a flowchart executed by the sub-microcomputer in one embodiment. 図22Bは、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 22B is a flowchart executed by the sub-microcomputer in one embodiment. 図23は、一実施形態における馬の手前判定の実験結果の例を示すグラフである。FIG. 23 is a graph showing an example of an experimental result of the front determination of a horse in one embodiment. 図24は、一実施形態におけるサブマイコンの一部の構成を示す概略構成図である。FIG. 24 is a schematic block diagram showing a part of the configuration of the sub-microcomputer in one embodiment. 図25は、一実施形態における馬の各前脚の状態と上下加速度の関係を示すグラフである。FIG. 25 is a graph showing the relationship between the state of each front leg of the horse and the vertical acceleration in one embodiment. 図26は、一実施形態における馬の各歩と上下加速度の関係を示すグラフである。FIG. 26 is a graph showing the relationship between each step of the horse and the vertical acceleration in one embodiment. 図27は、一実施形態における馬の歩行の規則性および対称性を示すグラフである。FIG. 27 is a graph showing horse walking regularity and symmetry in one embodiment. 図28は、一実施形態における馬の歩行の規則性および対称性の相関を示すグラフである。FIG. 28 is a graph showing the correlation of horse walking regularity and symmetry in one embodiment. 図29は、一実施形態における馬の各歩と上下加速度および運動エネルギの関係と、運動エネルギと規則性および対称性の関係を示す図である。FIG. 29 is a diagram showing the relationship between each step of the horse and vertical acceleration and kinetic energy, and the relationship between kinetic energy and regularity and symmetry in one embodiment. 図30Aは、一実施形態における馬の1歩の上下加速度に関するグラフである。FIG. 30A is a graph of vertical acceleration per step of a horse in one embodiment. 図30Bは、一実施形態における馬の各歩の上下加速度に関するグラフである。FIG. 30B is a graph of vertical acceleration of each step of a horse in one embodiment. 図31は、一実施形態における各種装置の構成を示す概略構成図である。FIG. 31 is a schematic configuration view showing configurations of various devices in one embodiment. 図32は、一実施形態における計測端末の機能部を示す機能構成図である。FIG. 32 is a functional configuration diagram showing functional parts of the measurement terminal in one embodiment. 図33は、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 33 is a flowchart executed by the sub-microcomputer in one embodiment. 図34は、一実施形態における馬の歩行の規則性および対称性の相関を示すグラフである。FIG. 34 is a graph showing the correlation of horse walking regularity and symmetry in one embodiment. 図35は、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 35 is a flowchart executed by the sub-microcomputer in one embodiment. 図36は、一実施形態における馬の歩行判定の結果の1例を示すグラフである。FIG. 36 is a graph showing an example of the result of horse walking determination in one embodiment. 図37Aは、一実施形態において設定される規則性および対称性の正常領域を示すグラフである。FIG. 37A is a graph showing regular regions of regularity and symmetry set in one embodiment. 図37Bは、一実施形態において設定される規則性および対称性の異常領域を示すグラフである。FIG. 37B is a graph showing anomalous regions of regularity and symmetry set in one embodiment. 図38は、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 38 is a flowchart executed by the sub-microcomputer in one embodiment. 図39は、一実施形態において計測される規則性および対称性の関係を示すグラフである。FIG. 39 is a graph showing the relationship between regularity and symmetry measured in one embodiment. 図40は、一実施形態における各種装置の構成を示す概略構成図である。FIG. 40 is a schematic configuration view showing configurations of various devices in one embodiment. 図41は、一実施形態における計測端末の機能部を示す機能構成図である。FIG. 41 is a functional configuration diagram illustrating functional units of the measurement terminal according to an embodiment. 図42は、一実施形態における馬の各歩の上下加速度に関するグラフである。FIG. 42 is a graph of the vertical acceleration of each step of the horse in one embodiment. 図43Aは、従来における馬の移動に伴う加速度の計測結果を示すグラフである。FIG. 43A is a graph showing the measurement results of the acceleration accompanying the movement of a horse in the prior art. 図43Bは、一実施形態における馬の移動に伴う加速度の計測結果を示すグラフである。FIG. 43B is a graph showing measurement results of acceleration accompanying movement of a horse in one embodiment. 図44は、一実施形態における馬の各歩の上下加速度に関するグラフである。FIG. 44 is a graph of vertical acceleration of each step of a horse in one embodiment. 図45は、一実施形態において設定される異常領域を示すグラフである。FIG. 45 is a graph showing an abnormal area set in one embodiment. 図46は、一実施形態においてサブマイコンが実行するフローチャートである。FIG. 46 is a flowchart executed by the sub-microcomputer in one embodiment.

(第1の実施形態)
以下、第1の実施形態における携帯電話端末及びその制御方法について、図面を参照しながら説明する。本実施形態では、運動体である人(ユーザ)が携帯電話端末を携帯している場合を想定する。
First Embodiment
Hereinafter, the mobile phone terminal and the control method thereof in the first embodiment will be described with reference to the drawings. In this embodiment, it is assumed that a person (user) who is an exercise body carries a mobile phone terminal.

図1に示すように、本実施形態における携帯電話端末10は、アンテナ101、RF(Radio Frequency)部102、メインマイコン103、サブマイコン104、ボタン10
5、ディスプレイ106、タッチパネル107、ROM(Read Only Memory)108、RAM(Random-Access Memory)109、加速度センサ110、角速度センサ111を備える。ただし、本実施形態に開示された技術は、携帯電話端末10に限定されず、情報処理装置一般に適用できる。
As shown in FIG. 1, the mobile phone terminal 10 in the present embodiment includes an antenna 101, an RF (Radio Frequency) unit 102, a main microcomputer 103, a sub microcomputer 104, and a button 10.
5, a display 106, a touch panel 107, a ROM (Read Only Memory) 108, a RAM (Random-Access Memory) 109, an acceleration sensor 110, and an angular velocity sensor 111. However, the technology disclosed in the present embodiment is not limited to the mobile phone terminal 10, and can be applied to information processing devices in general.

携帯電話端末10は、アンテナ101を経由して基地局等の外部の無線送受信装置(図
示せず)と無線通信を行う。RF部102は、外部の無線送受信装置との送受信において、送信時にベースバンド信号を周波数帯(RF帯)に変調し、受信時にこれらの周波数帯の信号をベースバンド信号に復調する。
The mobile phone terminal 10 wirelessly communicates with an external wireless transmission / reception device (not shown) such as a base station via the antenna 101. The RF unit 102 modulates a baseband signal to a frequency band (RF band) at the time of transmission, and demodulates signals at these frequency bands to a baseband signal at the time of transmission / reception with an external wireless transmission / reception device.

メインマイコン103は、ROM108に記憶された制御プログラム108aを実行して、携帯電話端末10が有する各種機能を実現する。サブマイコン104は、加速度センサ110及び角速度センサ111のセンサ出力を演算処理し、携帯電話端末10のユーザの座標系、すなわちグローバル座標系の加速度や角速度に変換する。   The main microcomputer 103 executes the control program 108 a stored in the ROM 108 to realize various functions of the mobile phone terminal 10. The sub-microcomputer 104 arithmetically processes sensor outputs of the acceleration sensor 110 and the angular velocity sensor 111, and converts it into an acceleration or an angular velocity of the coordinate system of the user of the mobile phone terminal 10, that is, the global coordinate system.

ボタン105は、ユーザが携帯電話端末10の操作に使用するハードウェアキーである。ディスプレイ106は、携帯電話端末10において実行される各種処理の結果等の種々の情報を表示する。また、ディスプレイ106は、メインマイコン103やサブマイコン104により実行される種々の処理の処理結果や処理状態、コンテンツ等を表示する。タッチパネル107は、ユーザのタッチ操作等を受け付ける。タッチパネル107はディスプレイ106と重なるように配置されている。ユーザは、タッチパネル107を指等でタッチ操作等することで、ディスプレイ106に表示されたアイコン等の表示項目の選択等を行う。   The button 105 is a hardware key used by the user to operate the mobile phone terminal 10. The display 106 displays various information such as results of various processes executed in the mobile phone terminal 10. Further, the display 106 displays processing results, processing states, contents and the like of various processing executed by the main microcomputer 103 and the sub microcomputer 104. The touch panel 107 receives a touch operation or the like by the user. The touch panel 107 is disposed to overlap the display 106. The user performs a touch operation on the touch panel 107 with a finger or the like to select a display item such as an icon displayed on the display 106.

ROM108は、携帯電話端末10において実行される各種プログラムを格納する。RAM109は、メインマイコン103やサブマイコン104が種々の処理を実行する際に一時的な記憶領域として使用される。すなわち、RAM109はワークエリアとして用いられ、各種プログラムや端末番号等の携帯電話端末の固有情報が格納される。また、RAM109には、ユーザが入力した設定やプログラムの情報、ディスプレイ106等を介してユーザに提供されるデータ等が格納される。   The ROM 108 stores various programs executed in the mobile phone terminal 10. The RAM 109 is used as a temporary storage area when the main microcomputer 103 and the sub-microcomputer 104 execute various processes. That is, the RAM 109 is used as a work area, and stores specific information of the mobile phone terminal such as various programs and terminal numbers. In addition, the RAM 109 stores information of settings and programs input by the user, data provided to the user via the display 106, and the like.

メインマイコン103は、高速演算処理を実行することができるが、消費電力が大きい。したがって、常時動作状態に保つことは好ましくないため、メインマイコン103の動作時間には一定の制限が課せられ、一時的に休止状態に移行される。ところで、ユーザの動作状態を判定する場合、ユーザの動作データを常時取得し、取得した動作データに基づいて動作状態を判定する。   The main microcomputer 103 can execute high-speed arithmetic processing but consumes a large amount of power. Therefore, it is not preferable to keep the operating state at all times, so the operating time of the main microcomputer 103 is subject to a certain limit, and the operating state is temporarily shifted to the inactive state. By the way, when the user's operation state is determined, the user's operation data is constantly acquired, and the operation state is determined based on the acquired operation data.

そこで、本実施形態では、サブマイコン104は、少なくともユーザの動作が発生している間は動作状態に保たれ、加速度センサ110や角速度センサ111のセンサ出力を受け取り、センサ出力を演算処理してグローバル座標系の加速度データを生成する。サブマイコン104は、四則演算等の単純な演算処理やROM108やRAM109等のメモリへのアクセス処理等の処理負荷が低い処理を実行する。   Therefore, in the present embodiment, the sub-microcomputer 104 is maintained in the operating state at least while the user's operation is occurring, receives the sensor output of the acceleration sensor 110 or the angular velocity sensor 111, and calculates the sensor output. Generate acceleration data of coordinate system. The sub-microcomputer 104 executes processing with low processing load such as simple arithmetic processing such as arithmetic operations and access processing to memories such as the ROM 108 and the RAM 109.

したがって、メインマイコン103は、必要な場合に動作状態にされ、サブマイコン104が常時もしくは長時間にわたりユーザの動作状態の判定結果に基づいて、ユーザにわかりやすい値に変換したり統計情報を作成したりして、生成した情報をディスプレイ106に表示する。なお、生成した情報は、アンテナ101を介して外部に送信してもよい。   Therefore, the main microcomputer 103 is activated when necessary, and the sub-microcomputer 104 converts the statistical information into a value easy to be understood by the user based on the determination result of the user's operation state constantly or for a long time Then, the generated information is displayed on the display 106. The generated information may be transmitted to the outside via the antenna 101.

本実施形態では、携帯電話端末10のROM108に記憶されているアプリケーション等が、CPU103によって実行される。このようなアプリケーション等の実行により、図2に示すように、携帯電話端末10は、内積値算出部201、外積算出部202、絶対値算出部203、動作状態特定部204として機能する。ただし、内積値算出部201、外積算出部202、絶対値算出部203、動作状態特定部204のいずれか1つ以上が、ハードウェア回路であってもよい。   In the present embodiment, the application or the like stored in the ROM 108 of the mobile phone terminal 10 is executed by the CPU 103. By executing such an application, as shown in FIG. 2, the mobile phone terminal 10 functions as an inner product value calculation unit 201, an outer product calculation unit 202, an absolute value calculation unit 203, and an operation state specification unit 204. However, any one or more of the inner product value calculating unit 201, the outer product calculating unit 202, the absolute value calculating unit 203, and the operation state specifying unit 204 may be a hardware circuit.

次に、本実施形態において、携帯電話端末10のサブマイコン104において実行され
る、ユーザが行った所定の動作を判定する構成、アルゴリズム及び処理について説明する。
Next, a configuration, an algorithm, and a process of determining a predetermined operation performed by the user, which is executed in the sub-microcomputer 104 of the mobile phone terminal 10 in this embodiment, will be described.

図3A及び図3Bは、携帯電話端末を携帯するユーザの姿勢が不明な場合に、加速度センサのセンサ出力から、ユーザの座標系における上下方向(鉛直方向)の加速度情報を取り出す方法の一例を示す図である。ここでは、ユーザが歩行中である場合を想定している。図3Aに示すように、互いに直交するX軸、Y軸、Z軸が携帯電話端末のローカル座標系を構成する。図3Aにおいて、加速度センサのセンサ出力AはA=(x,y,z)で与えられる。なお、Tは転置行列を意味する。そして、図3Aに示すように、加速度センサのセンサ出力Aは、ユーザの歩行に伴う振動Sと重力加速度Gの合成と考えることができる。 FIGS. 3A and 3B show an example of a method of extracting acceleration information in the vertical direction (vertical direction) in the coordinate system of the user from the sensor output of the acceleration sensor when the posture of the user carrying the mobile phone terminal is unknown. FIG. Here, it is assumed that the user is walking. As shown in FIG. 3A, the X axis, the Y axis, and the Z axis orthogonal to one another constitute a local coordinate system of the mobile phone terminal. In FIG. 3A, the sensor output A of the acceleration sensor is given by A = (x, y, z) T. In addition, T means a transposed matrix. And as shown to FIG. 3A, the sensor output A of an acceleration sensor can be considered to be the synthesis | combination of the vibration S and the gravitational acceleration G accompanying a user's walk.

ここで、人間の歩行について概説する。図4A及び図4Bは、人間の歩行における体幹と両足の動きを模式的に表す図である。図4Aは、人間の歩行を真上(鉛直上方)から見た図であり、図4Bは、人間の歩行を真横(水平方向)から見た図である。体幹20は、人間の股関節から頭部までの部分に対応し、脚20L、20Rはそれぞれ左脚と右脚に対応する。図4A及び図4Bに示すように、人間は、歩行中、左右の脚20L、20Rが交互に地面に着き、体幹20は上下、左右、前後の各方向にそれぞれ揺れる。また、図4A及び図4Bに示すように、体幹20の上下動の周期は、左右の脚20L、20Rの一方が地面から離れて再び着き、さらに他方が地面から離れて再び着くまでの期間と一致する。一方、体幹20の左右の揺れについては、左脚20Lが地面に着いている間は人間の左方向に揺れ、右脚20Rが地面に着いている間は人間の右方向に揺れる。したがって、人間の歩行時における体幹20の左右の揺れの周期は、上下動の周期の2倍の周期、すなわち1/2の周波数である。   Here we outline human walking. FIG. 4A and FIG. 4B are diagrams schematically showing movements of the torso and feet in human walking. FIG. 4A is a view of human walking as viewed from directly above (vertically upward), and FIG. 4B is a view of human walking as viewed from the side (horizontal direction). The trunk 20 corresponds to the human hip to head portion, and the legs 20L and 20R correspond to the left leg and the right leg, respectively. As shown in FIGS. 4A and 4B, during walking, the left and right legs 20L and 20R alternately come to the ground while walking, and the trunk 20 sways in the vertical and horizontal directions and the front and back directions. Also, as shown in FIGS. 4A and 4B, the period of vertical movement of the trunk 20 is a period in which one of the left and right legs 20L, 20R leaves the ground again and arrives again, and the other leaves the ground again. Match with On the other hand, the left and right swings of the trunk 20 sway in the left direction of the human while the left leg 20L is on the ground, and sway in the right direction of the human while the right leg 20R is on the ground. Therefore, the period of swinging of the left and right of the trunk 20 at the time of human walking is twice the period of the period of vertical movement, that is, the frequency of 1⁄2.

また、人間は、歩行中、左脚20Lまたは右脚20Rを地面に着地させる瞬間が最も下方向の加速度が大きくなる。そして、左脚20Lまたは右脚20Rの着地後、体幹20を上昇させる時に上方向の加速度が発生し、体幹20が到達する最上点で当該上方向の加速度が最小になり、以後は代わりに下方向の加速度が発生する。また、左右方向の加速度については、左脚20Lを着地させると左方向の加速度が発生し、右脚20Rを着地させると右方向の加速度が発生する。   In addition, during walking, when the user lands the left leg 20L or the right leg 20R on the ground, the downward acceleration is greatest. Then, after landing on the left leg 20L or the right leg 20R, an upward acceleration occurs when the trunk 20 is raised, and the upward acceleration is minimized at the highest point reached by the trunk 20, and thereafter, it is replaced Downward acceleration occurs. Further, with regard to acceleration in the left and right direction, when the left leg 20L is landed, acceleration in the left direction is generated, and when the right leg 20R is landed, acceleration in the right direction is generated.

図3A及び図3Bに戻ると、図4A及び図4Bを用いて説明したように、ユーザの歩行に伴う振動Sは、所定の周期の繰り返し運動であるといえる。したがって、加速度センサのセンサ出力Aを、適切なカットオフ周波数のローパスフィルタ(LPF)やハイパスフィルタ(HPF)に通すと、センサ出力Aを振動成分ベクトルSと重力加速度ベクトルGとに分離することができる。歩行に伴う上下方向の加速度は、振動成分ベクトルSにおける重力加速度ベクトルGと平行なベクトルVで表せる。ベクトルVの大きさをvとし、振動成分ベクトルSと重力加速度ベクトルGのなす角をθとすると、vは以下の式で与えられる。
v = |S| cosθ ・・・(1)
Returning to FIGS. 3A and 3B, as described with reference to FIGS. 4A and 4B, it can be said that the vibration S accompanying the user's walking is a repetitive motion of a predetermined cycle. Therefore, when the sensor output A of the acceleration sensor is passed through a low pass filter (LPF) or high pass filter (HPF) of an appropriate cutoff frequency, the sensor output A can be separated into the vibration component vector S and the gravity acceleration vector G. it can. The acceleration in the vertical direction accompanying walking can be represented by a vector V parallel to the gravitational acceleration vector G in the vibration component vector S. Assuming that the magnitude of the vector V is v and the angle between the vibration component vector S and the gravity acceleration vector G is θ, v is given by the following equation.
v = | S | cos θ (1)

ここで振動成分ベクトルSと重力加速度ベクトルGの内積について考える。内積は、ベクトルのx、y、z成分同士を乗算した後に、乗算した各成分の和を求めることで得られる。なお、振動成分ベクトルSと重力加速度ベクトルGの内積は、定義より以下の式で与えられる。
S ・ G = |S| |G| cosθ ・・・(2)
Here, the inner product of the vibration component vector S and the gravity acceleration vector G is considered. The inner product is obtained by multiplying the x, y and z components of the vector and then summing the multiplied components. The inner product of the vibration component vector S and the gravity acceleration vector G is given by the following equation from the definition.
S · G = | S | | G | cosθ (2)

式(2)を式(1)に当てはめると、以下の式(3)が得られる。
v = S ・ G / |G| ・・・(3)
By applying equation (2) to equation (1), the following equation (3) is obtained.
v = S · G / | G | (3)

ここで重力加速度ベクトルGの大きさ|G|は、地球上ではほぼ一定である。すなわち、加速度センサのセンサ出力Aに対して、LPFとHPFを通し、各フィルタの出力の内積を取ることでユーザの歩行運動に伴う上方向の加速度に比例した数値と下方向の加速度に比例した数値とを得ることができる。なお、上記では、ユーザが歩行中であることを想定して説明した。しかし、ユーザが歩行以外の動作を行う場合も、上記のアルゴリズムを踏まえて、加速度センサのセンサ出力Aに対して、LPFとHPFを通すことで、振動成分ベクトルと重力加速度ベクトルがそれぞれ得られる。   Here, the magnitude | G | of the gravitational acceleration vector G is substantially constant on the earth. That is, by passing the LPF and HPF to the sensor output A of the acceleration sensor and taking the inner product of the outputs of the respective filters, the value proportional to the acceleration in the upward direction accompanying the user's walking motion and the acceleration in the downward direction were proportional You can get numbers and numbers. In the above description, it is assumed that the user is walking. However, even when the user performs an operation other than walking, a vibration component vector and a gravity acceleration vector can be obtained by passing the LPF and the HPF to the sensor output A of the acceleration sensor based on the above algorithm.

次に、図5A及び図5Bは、携帯電話端末を携帯するユーザの姿勢が不明な場合に、加速度センサのセンサ出力から、ユーザの座標系における水平方向(左右方向)の加速度情報を取り出す方法の一例を示す図である。ここでも、ユーザが歩行中である場合を想定している。また、加速度センサのセンサ出力Aが、ユーザの歩行に伴う振動成分ベクトルSと重力加速度ベクトルGの合成と考えることは、図3A及び図3Bと同じである。ここで振動成分ベクトルSが、重力加速度ベクトルGに平行なベクトルVと、ベクトルVに直交するベクトルHとの和であると考えると、ベクトルHはユーザの歩行に伴う振動成分ベクトルSの水平方向の成分と考えることができる。   Next, FIGS. 5A and 5B show a method of extracting acceleration information in the horizontal direction (left and right direction) in the coordinate system of the user from the sensor output of the acceleration sensor when the posture of the user carrying the mobile phone terminal is unknown. It is a figure which shows an example. Here also, it is assumed that the user is walking. Also, it is the same as FIGS. 3A and 3B that the sensor output A of the acceleration sensor is considered to be a combination of the vibration component vector S and the gravity acceleration vector G accompanying the user's walking. Here, assuming that the vibration component vector S is the sum of the vector V parallel to the gravity acceleration vector G and the vector H orthogonal to the vector V, the vector H corresponds to the horizontal direction of the vibration component vector S accompanying the user's walking. It can be considered as a component of

ここで、ベクトルHの大きさ|H|を得ることを目的として、振動成分ベクトルSと重力加速度ベクトルGとの外積を考える。内積と同様、外積も四則演算によって得られるため、サブマイコン104のようにメインマイコン103に比べて処理性能の低いマイコンでも計算することができる。図5Bに示すように、振動成分ベクトルSと重力加速度ベクトルGの外積は定義より、ベクトルS及びGと直交する方向で、ベクトルS及びGによって形成される平行四辺形の面積Zと等しい大きさのベクトルである。すなわち、振動成分ベクトルSと重力加速度ベクトルGの外積は、以下の式(4)で与えられる。
Z = |S × G| ・・・(4)
Here, in order to obtain the magnitude | H | of the vector H, the outer product of the vibration component vector S and the gravity acceleration vector G is considered. Similar to the inner product, the outer product is also obtained by arithmetic operations, so that it can be calculated by a microcomputer having a processing performance lower than that of the main microcomputer 103, such as the sub microcomputer 104. As shown in FIG. 5B, the outer product of the vibration component vector S and the gravitational acceleration vector G has a size equal to the area Z of the parallelogram formed by the vectors S and G in the direction orthogonal to the vectors S and G by definition. Is a vector of That is, the outer product of the vibration component vector S and the gravity acceleration vector G is given by the following equation (4).
Z = | S × G | (4)

図5Bに示すように、平行四辺形の面積Zは、|G|×|H|とも記述できる。これを式(4)に当てはめると、以下の式(5)が得られる。
|H| = Z / |G| = |S × G| / |G| ・・・(5)
As shown in FIG. 5B, the area Z of the parallelogram can also be described as | G | × | H |. If this is applied to equation (4), the following equation (5) is obtained.
| H | = Z / | G | = | S × G | / | G | (5)

上記の通り、|G|が地球上ではほぼ一定である。したがって、加速度センサのセンサ出力Aに対して、LPFとHPFを通すことで得られる振動成分ベクトルと重力加速度ベクトルとの外積を取って絶対値を求めれば、歩行に伴う振動の水平成分の大きさに比例した数値を得ることができる。   As mentioned above, | G | is almost constant on the earth. Therefore, the magnitude of the horizontal component of the vibration associated with walking can be obtained by calculating the absolute value of the sensor output A of the acceleration sensor by taking the outer product of the vibration component vector obtained by passing the LPF and HPF and the gravity acceleration vector. You can get a value proportional to

次に、図6Aは、携帯電話端末を携帯するユーザの姿勢が不明な場合に、加速度センサのセンサ出力から、ユーザの座標系における上下、左右、前後の各方向の加速度情報を取り出す方法の一例を示す図である。ここでも、ユーザが歩行中である場合を想定している。この方法では、図5A及び5Bに示す方法により、振動成分ベクトルSが上下方向及び水平方向に分離されているとする。なお、本方法では、ユーザの歩行が定常状態(等速度運動)に入ると、ユーザの体幹の前後方向の加速度はほとんど発生しないことを利用している。ユーザの体幹の前後方向に加速度が発生しないと考えた場合、図5A及び図5Bにおいて得られる水平方向の加速度|H|は左右方向の加速度の大きさを示している。   Next, FIG. 6A is an example of a method of extracting acceleration information of each direction in the user's coordinate system from top, bottom, left, right, and back from the sensor output of the acceleration sensor when the posture of the user carrying the mobile phone terminal is unknown. FIG. Here also, it is assumed that the user is walking. In this method, it is assumed that the vibration component vector S is vertically and horizontally separated by the method shown in FIGS. 5A and 5B. In the present method, it is used that when the user's walking enters a steady state (constant velocity movement), almost no acceleration in the longitudinal direction of the user's trunk occurs. When it is considered that acceleration does not occur in the front-rear direction of the user's trunk, horizontal acceleration | H | obtained in FIGS. 5A and 5B indicates the magnitude of acceleration in the left-right direction.

さらに、図6Bに示すように、ユーザの体幹のいわゆる矢状面、冠状面、横断面を考えた場合、振動成分ベクトルSは、ユーザの体幹の冠状面に存在する。したがって、振動成分ベクトルSと重力加速度ベクトルGとの外積Fは、ユーザの体幹の前方向(正面側)もしくは後ろ方向(背面側)を向く。外積Fの前後方向は、振動成分ベクトルSの左右方向の向きに依存する。ここで、ユーザの体幹の前方向を向くベクトルKが既知であると仮定
すると、ベクトルFとKとの内積が正である場合、ベクトルFは前方向を向くことがわかる。また、ベクトルFとKとの内積が負である場合、ベクトルFは後ろ方向を向くことがわかる。なお、ベクトルFが前方向を向く場合は、振動成分ベクトルSは、ユーザの体幹の右方向(右手側)を向く。また、ベクトルFが後ろ方向を向く場合は、振動成分ベクトルSは、ユーザの体幹の左方向(左手側)を向く。
Furthermore, as shown in FIG. 6B, considering so-called sagittal plane, coronal plane, and cross section of the user's torso, the vibration component vector S exists on the coronal plane of the user's torso. Therefore, the outer product F of the vibration component vector S and the gravity acceleration vector G faces the front direction (front side) or the back direction (back side) of the user's trunk. The front-rear direction of the outer product F depends on the left-right direction of the vibration component vector S. Here, assuming that the vector K pointing in the forward direction of the user's torso is known, it can be seen that the vector F points in the forward direction if the inner product of the vectors F and K is positive. Also, when the inner product of the vectors F and K is negative, it can be seen that the vector F is directed backward. In addition, when the vector F turns to the front, the vibration component vector S turns to the right (right hand side) of the user's trunk. In addition, when the vector F faces in the backward direction, the vibration component vector S faces in the left direction (left hand side) of the user's trunk.

さらに、以下の式(6)により、ユーザの体幹の左右方向の加速度について、右方向と左方向とを区別することが可能となる。
h = sign(F・K) |H| ・・・(6)
ここで、「sign(F・K)」は、ベクトルFとベクトルKとの内積の正負を示す。したがって、式(6)により|H|に内積の符号を付加することで、ベクトルHがユーザの体幹の右方向の加速度ベクトルであるか左方向の加速度ベクトルであるかがわかる。
Furthermore, it is possible to distinguish between the right direction and the left direction for the acceleration in the left and right direction of the user's torso according to the following equation (6).
h = sign (F · K) | H | (6)
Here, “sign (F · K)” indicates the sign of the inner product of the vector F and the vector K. Therefore, by adding the sign of the inner product to | H | from Equation (6), it can be determined whether the vector H is the acceleration vector in the right direction or the acceleration vector in the left direction of the user's torso.

次に、図7は、携帯電話端末を携帯するユーザの姿勢が不明な場合に、加速度センサのセンサ出力から、ユーザのグローバル座標系における上下、左右、前後の各方向の加速度情報を具体的な値と共に取り出す方法の一例を示す図である。ここでも、ユーザが歩行中である場合を想定している。図6A及び図6Bに示す例では、定常状態においては前後方向の加速度は発生しないと想定した。しかし、図7に示す例では、高分解能の加速度センサを用いることで、前後方向の加速度における微細な変動も検出することができる。   Next, in FIG. 7, when the posture of the user carrying the mobile phone terminal is unknown, from the sensor output of the acceleration sensor, the acceleration information of each direction in the top, bottom, left, right, front and back in the global coordinate system of the user is specified specifically. It is a figure which shows an example of the method of taking out with a value. Here also, it is assumed that the user is walking. In the example shown in FIGS. 6A and 6B, it is assumed that acceleration in the front-rear direction does not occur in the steady state. However, in the example shown in FIG. 7, by using the high resolution acceleration sensor, it is also possible to detect minute fluctuations in the longitudinal acceleration.

ここで、図4A及び図4Bに示すように、前後方向の変動は上下方向の変動と同期している。そして、下方向に加速するときは前方向に、上方向に加速するときは後ろ方向に加速している(下前と上後ろと考えてもよい)。さらに、左右方向の変動の周期は上下方向及び前後方向の変動周期の2倍である。そこで、この特性を利用し、図7に示す例では、バンドパスフィルタを用いて加速度センサのセンサ出力を、前後方向の加速度と上下方向の加速度が主となるベクトルSと左右方向の加速度に若干の前後方向の加速度が含まれるベクトルSに分離する。さらに、適当な外積演算により前後方向の加速度と左右方向の加速度を、いずれも正負が不明である状態で抽出する。前後方向の加速度と左右方向の加速度の正負は、抽出した前後方向の加速度ベクトルと左右方向の加速度ベクトルについて、上下方向の加速度ベクトルとの位相差を用いることで決定することができる。 Here, as shown in FIG. 4A and FIG. 4B, the longitudinal fluctuation is synchronized with the vertical fluctuation. And when accelerating downward, it is accelerating forward, when accelerating upward, it is accelerating backward (it may be considered as lower front and upper back). Furthermore, the cycle of fluctuation in the lateral direction is twice as large as the fluctuation cycle in the vertical direction and the longitudinal direction. Therefore, utilizing this characteristic, in the example shown in FIG. 7, the sensor output of the acceleration sensor using the band pass filter is represented by the vector S 1 mainly composed of the longitudinal acceleration and the vertical acceleration and the lateral acceleration. some separating the vector S 2 containing the longitudinal acceleration. Furthermore, the acceleration in the front-rear direction and the acceleration in the left-right direction are extracted by an appropriate outer product calculation in a state in which both positive and negative are unknown. The acceleration in the front-rear direction and the acceleration in the left-right direction can be determined by using the phase difference between the extracted acceleration vector in the front-rear direction and the acceleration vector in the left-right direction with the acceleration vector in the vertical direction.

上記の加速度センサのセンサ出力を利用する方法は、携帯電話端末を携帯するユーザの姿勢が不明な状態で、加速度センサから得られる加速度情報をグローバル座標系における各軸方向の加速度情報に分離する。ところで、センサによって得られる動作情報としては、加速度の他に角速度がある。角速度情報は、角速度センサ(ジャイロ)を用いることで取得できる。しかし、角速度センサのセンサ出力から得られる角速度情報も、上記の加速度情報と同様に、センサ出力そのものからはグローバル座標系におけるどの軸周りの値であるかは不明である。そこで、角速度センサのセンサ出力をユーザのいわゆるピッチ軸、ロール軸、ヨー軸の各軸周りの角速度に変換する。なお、一般に、端末内において加速度センサの検出軸と角速度センサの検出軸は一致するように取り付けられているため、本実施形態でも各検出軸は一致していると想定する。仮に各検出軸が一致していない場合は、あらかじめ適当な校正手段によって2つの検出軸のずれを計測し、計測したずれに応じた座標変換行列をいずれかのセンサの出力値に施せば、各検出軸が一致しているものとして各センサ出力を扱うことができる。   The method of using the sensor output of the above acceleration sensor separates the acceleration information obtained from the acceleration sensor into acceleration information in each axial direction in the global coordinate system in a state where the posture of the user carrying the mobile phone terminal is unknown. By the way, as the operation information obtained by the sensor, there is an angular velocity other than the acceleration. The angular velocity information can be obtained by using an angular velocity sensor (gyro). However, as for the angular velocity information obtained from the sensor output of the angular velocity sensor, it is unclear from the sensor output itself about which axis in the global coordinate system the value is, as in the above-mentioned acceleration information. Therefore, the sensor output of the angular velocity sensor is converted into the angular velocity around the so-called pitch axis, roll axis, and yaw axis of the user. Generally, in the terminal, the detection axis of the acceleration sensor and the detection axis of the angular velocity sensor are attached so as to coincide with each other, so it is assumed in the present embodiment that the detection axes coincide with each other. If the respective detection axes do not coincide with each other, the deviation of the two detection axes is measured beforehand by an appropriate calibration means, and a coordinate transformation matrix corresponding to the measured deviation is applied to the output value of one of the sensors. Each sensor output can be treated as if the detection axes coincide.

携帯電話端末内の角速度センサのセンサ座標系Σ1について、互いに直交するXYZの3軸を設定し、センサ座標系Σ1におけるX軸、Y軸、Z軸の各軸方向の角速度センサのセンサ出力値をそれぞれxr、yr、zrとする。また、携帯電話端末を携帯するユーザの座標系、いわゆるグローバル座標系Σ2について、互いに直交するピッチ軸、ロール軸、ヨー軸の3軸を設定し、グローバル座標系Σ2におけるピッチ軸ロールY軸、ヨー軸の
各軸方向の角速度センサのセンサ出力値をそれぞれp、r、yとする。
The sensor coordinate system 11 of the angular velocity sensor in the mobile phone terminal is set to three mutually orthogonal XYZ axes, and sensor output values of angular velocity sensors in the directions of X, Y and Z axes in the sensor coordinate system 11 Let xr, yr and zr respectively. In addition, with respect to the coordinate system of the user carrying the mobile phone terminal, so-called global coordinate system 22, three axes of pitch axis, roll axis, and yaw axis orthogonal to one another are set, and pitch axis roll Y axis in global coordinate system 22, yaw The sensor output values of the angular velocity sensor in each axial direction of the axes are p, r, and y, respectively.

そして、角速度センサのセンサ出力の値SL(=(xr、yr、zr))を、ユーザのピッチ軸、ロール軸、ヨー軸周りの角速度SG(=(p、r、y))に変換することは、センサ座標系Σ1からグローバル座標系Σ2への座標変換を行うことと等価である。ここで、SLからSGへの変換は、座標系Σ1及びΣ2の座標変換行列Rを用いてY=RXを演算すればよい。ここでRは3×3行列で、以下の行列で表される。
Then, the sensor output value SL (= (xr, yr, zr) T ) of the angular velocity sensor is converted into the angular velocity SG (= (p, r, y) T ) around the pitch, roll and yaw axes of the user. What is done is equivalent to performing coordinate transformation from the sensor coordinate system 11 to the global coordinate system 22. Here, for conversion from SL to SG, Y = RX may be calculated using coordinate conversion matrices R of the coordinate systems 11 and Σ2. Here, R is a 3 × 3 matrix and is represented by the following matrix.

座標変換行列Rの各要素a00〜a22は、上記2座標系の各軸についての相対角度を適当な三角関数を用いた演算を通して得ることができる。なお、この演算は周知のものであるため、ここでは詳細な説明は省略する。ただし、上述の通り、三角関数等の演算をサブマイコンで行うことは望ましくない。そこで、センサ座標系Σ1から見たΣ2のXYZ各軸の向きをそれぞれ単位ベクトルe、e、eで表したとする。するとベクトルe、e、eの各要素は、座標変換行列Rの各要素を用いてe=(a00、a01、a02)、e=(a10、a11、a12)、e=(a20、a21、a22)と表現することができる。すなわち、ベクトルe、e、eが分かりさえすれば、角速度センサのセンサ出力の値から、グローバル座標系におけるピッチ軸、ロール軸、ヨー軸の各角速度に変換することができる。 Each element a00 to a22 of the coordinate conversion matrix R can obtain relative angles about each axis of the two coordinate system through an operation using an appropriate trigonometric function. In addition, since this operation is known, the detailed description is omitted here. However, as described above, it is not desirable to perform operations such as trigonometric functions with the sub-microcomputer. Therefore, the sensor coordinate system Σ2 of viewed .SIGMA.1 XYZ orientation units each vector e x of each axis, e y, and expressed in e z. Then each element of the vector e x, e y, e z , e x = using the elements of the coordinate transformation matrix R (a00, a01, a02) T, e y = (a10, a11, a12) T, e z = (a20, a21, a22) It can be expressed as T. That is, if the vector e x, e y, even found e z, the value of the sensor output of the angular velocity sensor, it is possible to convert the pitch axis in the global coordinate system, a roll shaft, each angular speed of the yaw axis.

図8に、本実施形態における携帯電話端末10のサブマイコン104が有する回路の一部を示す。図9Aに示すように、加速度センサ110のセンサ出力Aは、LPF104cとHPF104dに入力される。上述の通り、LPF104cからは重力加速度ベクトルGが出力され、HPF104dからは振動成分ベクトルSが出力される。   FIG. 8 shows a part of the circuit of the sub-microcomputer 104 of the mobile phone terminal 10 in the present embodiment. As shown in FIG. 9A, the sensor output A of the acceleration sensor 110 is input to the LPF 104c and the HPF 104d. As described above, the gravitational acceleration vector G is output from the LPF 104c, and the vibration component vector S is output from the HPF 104d.

また、図8に示すように、サブマイコン104は、外積演算処理部104e、乗算処理部104f、LPF104g、符号判定部104h、内積演算処理部104iを有する。外積演算処理部104eは、LPF104cから出力されるベクトルGとHPF104dから出力されるベクトルSの外積を求める。乗算処理部104fは、外積S×Gに+1又は−1の係数を乗算する。また、LPF104gは、乗算処理部104fの出力の平均値を求める。外積S×Gは、前後方向のベクトルであるから、乗算処理部104fで係数+1又は−1を乗算すると、前後方向のうちの1方向のベクトルを求めることができる。したがって、LPF104gからは、前後方向のうちの1方向のベクトルが出力される。そして、内積演算処理部104iが、その前後方向のうちの1方向のベクトルと外積演算処理部104eから出力される外積S×Gとの内積を求める。   Further, as shown in FIG. 8, the sub-microcomputer 104 includes an outer product calculation processing unit 104 e, a multiplication processing unit 104 f, an LPF 104 g, a sign determination unit 104 h, and an inner product calculation processing unit 104 i. The outer product calculation processing unit 104e obtains the outer product of the vector G output from the LPF 104c and the vector S output from the HPF 104d. The multiplication processing unit 104 f multiplies the outer product S × G by the coefficient of +1 or −1. Further, the LPF 104 g obtains an average value of the output of the multiplication processing unit 104 f. Since the outer product S × G is a vector in the front-rear direction, when multiplying the coefficient +1 or −1 by the multiplication processing unit 104 f, it is possible to obtain a vector in one direction in the front-rear direction. Therefore, the LPF 104g outputs a vector in one of the front and rear directions. Then, the inner product calculation processing unit 104i obtains the inner product of the vector in one direction in the front-rear direction and the outer product S × G output from the outer product calculation processing unit 104e.

内積演算処理部104iにおいて、内積の符号は、外積S×Gが前方向(すなわち、振動成分ベクトルSが右方向)であれば+1となり、外積S×Gが後ろ方向(すなわち、振動成分ベクトルSが左方向)であれば−1となる。よって、この符号を符号判定部104hで検出し、+1又は−1を乗算処理部104fに送ることで、LPF104gからは前方向を示すベクトルHが得られる。なお、ここでは便宜上、ベクトルHは「前」方向を示すベクトルであるとしているが、乗算処理部104f、LPF104g、符号判定部104h、内積演算処理部104iのループにおける初期値の設定次第では、ここで説明した
「前」方向は「後ろ」方向を示す可能性もある。以下の説明では、LPF104gから出力されるベクトルHの方向は、グローバル座標系Σ2のロール軸(Y軸)における前方向であるとする。
In the inner product calculation processing unit 104i, the sign of the inner product is +1 if the outer product S × G is the forward direction (ie, the vibration component vector S is the right direction), and the outer product S × G is the backward direction (ie, the vibration component vector S) Is left direction), it becomes -1. Therefore, by detecting this code by the code determination unit 104h and sending +1 or -1 to the multiplication processing unit 104f, a vector H indicating the forward direction is obtained from the LPF 104g. Here, for convenience, the vector H is assumed to be a vector indicating the “front” direction, but depending on the setting of initial values in the loop of the multiplication processing unit 104 f, the LPF 104 g, the sign determination unit 104 h, and the inner product calculation processing unit 104 i, The "front" direction described in may also indicate a "back" direction. In the following description, the direction of the vector H output from the LPF 104 g is assumed to be the forward direction on the roll axis (Y axis) of the global coordinate system 22.

ところで、LPF104cから出力されるベクトルGの方向は、グローバル座標系Σ2のヨー軸(Z軸)方向に等しい。内積演算処理部104jは、LPF104cから出力されるベクトルGと角速度センサ111のセンサ出力の値Xとの内積を演算する。当該内積は以下の式(7)で与えられる。
G・X = |G|ez・X = g y ・・・(7)
The direction of the vector G output from the LPF 104 c is equal to the yaw axis (Z axis) direction of the global coordinate system 22. The inner product calculation processing unit 104 j calculates an inner product of the vector G output from the LPF 104 c and the value X of the sensor output of the angular velocity sensor 111. The inner product is given by the following equation (7).
G · X = | G | e z · X = gy (7)

ここでgは重力加速度の大きさであり、地上ではほぼ一定値である。そのため、内積演算処理部104jの出力値は、ヨー軸周りの回転の角速度を定数倍したものと等しい。したがって、内積演算処理部104jにおける式(7)により、ヨー軸周りの角速度が算出される。   Here, g is the magnitude of gravitational acceleration, which is substantially constant on the ground. Therefore, the output value of the inner product calculation processing unit 104 j is equal to a value obtained by multiplying the angular velocity of rotation about the yaw axis by a constant. Therefore, the angular velocity around the yaw axis is calculated by equation (7) in the inner product calculation processing unit 104 j.

次に、前方向ベクトルHはセンサ座標系から見た前方向の単位ベクトルeと適当な実数kを用いて式(8)のように表せる。
H = k1 ey ・・・(8)
|H|は、ベクトルSの方向や大きさに依存するためkは一定値ではない。しかしLPF104gの時定数を十分大きくすることで、LPF104gから出力されるベクトルHの大きさは、平均化されて所定の短時間において一定値になるとみなせる。このベクトルHと角速度センサ111のセンサ出力の値Xの内積を計算すると、以下の式(9)が得られる。本実施形態では、内積演算処理部104mが式(9)の演算を行う。
H・X = k1ey・X= k1 r ・・・(9)
すなわち、短時間的には、式(9)により得られる内積値は、グローバル座標系Σ2におけるロール軸周りの角速度の大きさに比例すると考えられる。ただし、kがほぼ一定値であるとみなすことはできても、実際の角速度の大きさは不明である。そこで、本実施形態では、ロール軸周りの角速度の正負を角速度に関連した値として利用して、ユーザの動作を判定する。詳細については後述する。
Next, the forward vector H can be expressed as Expression (8) using a forward unit vector e y viewed from the sensor coordinate system and an appropriate real number k 1 .
H = k 1 e y (8)
Since | H | depends on the direction and size of the vector S, k 1 is not a constant value. However, by making the time constant of the LPF 104g sufficiently large, the magnitudes of the vectors H outputted from the LPF 104g can be regarded as being averaged and becoming a constant value in a predetermined short time. When the inner product of the vector H and the value X of the sensor output of the angular velocity sensor 111 is calculated, the following equation (9) is obtained. In the present embodiment, the inner product calculation processing unit 104m performs the calculation of equation (9).
H · X = k 1 e y · X = k 1 r (9)
That is, in a short time, it is considered that the inner product value obtained by the equation (9) is proportional to the magnitude of the angular velocity around the roll axis in the global coordinate system 22. However, although it is possible regarded as k 1 is approximately constant value, the magnitude of the actual angular velocity unknown. Therefore, in the present embodiment, the user's operation is determined by using the positive and negative of the angular velocity around the roll axis as a value related to the angular velocity. Details will be described later.

さらに、前方向ベクトルHと重力加速度ベクトルGとの外積Kを考えると、外積Kは、グローバ座標系における右方向もしくは左方向を示すベクトルである。本実施形態では、外積演算処理部104kにより外積Kが算出される。なお、そこで、外積Kと角速度センサ111のセンサ出力の値Xとの内積を取ると、以下の式(10)が得られる。本実施形態では、内積演算処理部104lが式(10)の演算を行う。
K・X = k2ex・X = k2 p ・・・(10)
したがって、式(10)により得られる内積値は、グローバル座標系Σ2におけるピッチ軸周りの角速度に関連した値を取り出すことができる。
Further, considering the outer product K of the forward direction vector H and the gravitational acceleration vector G, the outer product K is a vector indicating the right direction or the left direction in the global coordinate system. In the present embodiment, the outer product K is calculated by the outer product calculation processing unit 104k. Here, when the inner product of the outer product K and the value X of the sensor output of the angular velocity sensor 111 is obtained, the following equation (10) is obtained. In the present embodiment, the inner product calculation processing unit 1041 performs the calculation of equation (10).
K · X = k 2 e x · X = k 2 p ··· (10)
Therefore, the inner product value obtained by the equation (10) can take out a value related to the angular velocity around the pitch axis in the global coordinate system 22.

次に、本実施形態において、サブマイコン104において算出された、ヨー軸周りの角速度、ロール軸周りの角速度に関連した情報、ピッチ軸周りの角速度に関連した情報を用いて、携帯電話端末10を携帯するユーザの種々の動作を判定する処理例について説明する。   Next, in the present embodiment, the cellular phone terminal 10 is calculated using the angular velocity around the yaw axis, the information related to the angular velocity around the roll axis, and the information related to the angular velocity around the pitch axis calculated in the sub-microcomputer 104. An example of processing for determining various operations of the user carrying will be described.

図9Aは、図8に示す回路により得られたヨー軸周りの角速度ωyを用いて、屋内ナビゲーションを行う例においてサブマイコン104で実行される処理のフローチャートを示す。なお、以下の説明ではステップをSと略記する。屋内ナビゲーションで重要なことは、図9Bに示すように、適当な基点を取り、基点を原点Oとして設定したXY座標におけるユーザUの相対位置(x,y)を知ることである。ユーザUの位置が分かれば、屋内のどこにいるかがわかり、適切なナビゲーションサービスを提供することができる。図9A
に示すフローチャートのS101〜S109の処理は、適当なサンプリングタイム(ΔT)毎に繰り返し呼ばれるループである。なお、当該サンプリングタイムは、ユーザの歩行周期に対して短いサイクルで1ループが完了するように適宜設定される。
FIG. 9A shows a flowchart of processing executed by the sub-microcomputer 104 in an example in which indoor navigation is performed using the angular velocity ωy around the yaw axis obtained by the circuit shown in FIG. In the following description, step is abbreviated as S. What is important in indoor navigation is to know the relative position (x, y) of the user U at XY coordinates with an appropriate origin set as the origin O, as shown in FIG. 9B. If the position of the user U is known, it can be known where in the house, and an appropriate navigation service can be provided. 9A.
The processing of S101 to S109 of the flowchart shown in FIG. 5 is a loop that is repeatedly called for each appropriate sampling time (ΔT). In addition, the said sampling time is suitably set so that 1 loop may be completed in a short cycle with respect to a user's walk period.

S101では、サブマイコン104は、ユーザのヨー軸周りの各速度ωyを取得する。次いで処理はS102に進む。S102では、サブマイコン104は、周知の手段により、ユーザUが前を向いている方向を特定できたかどうかを確認する。これは例えば、屋内の特定の扉からユーザUが入退室したことやユーザUが廊下を歩いていることをRFID等の外部装置を用いて検知し、検知結果と地図情報とをマッチング処理等することによって、ユーザUが現在どの方向を向いているか、すなわち図9Bに示す現在の方位θを推定できる。推定に成功した場合(S102:Y)、サブマイコン104は、推定方位を現在の方位θとみなす(S103)。推定に失敗した場合(S102:N)、サブマイコン104は、現在の方位θに対し、上記のサンプリング期間ΔT内における角速度の積分値を加算する(S104)。S103、S104の処理が終了すると、処理はS105に進められる。   In S101, the sub-microcomputer 104 obtains each speed ωy around the yaw axis of the user. Next, the process proceeds to S102. In S102, the sub-microcomputer 104 confirms whether or not the direction in which the user U is facing forward can be identified by a known means. This is performed by, for example, detecting that the user U has entered or left the room from a specific door indoors or that the user U is walking in the corridor using an external device such as an RFID, and matching the detection result with the map information Thus, it is possible to estimate which direction the user U is currently facing, that is, the current orientation θ shown in FIG. 9B. If the estimation is successful (S102: Y), the sub-microcomputer 104 regards the estimated orientation as the current orientation θ (S103). If the estimation fails (S102: N), the sub-microcomputer 104 adds the integral value of the angular velocity in the above sampling period ΔT to the current direction θ (S104). When the processes of S103 and S104 end, the process proceeds to S105.

S105では、サブマイコン104がユーザUの現在の歩数を算出する。S105の処理では、携帯電話端末10が外部装置である歩数計の計算結果を取得して、サブマイコン104がその計算結果を利用する。次いで、処理はS106に進められる。S106では、S102と同様、周知の手段により、ユーザUの現在位置を推定できたかどうかを確認する。ユーザの現在位置の推定に成功した場合(S106:Y)、処理はS107に進められて推定位置を現在位置とみなす。ユーザの現在位置の推定に失敗した場合(S106:N)、処理はS108に進められ、サブマイコン104は、S105において計算結果を取得した歩数計の歩数がカウントアップされたか否かを判定する。サブマイコン104は、歩数計がカウントアップされたと判定した場合(S108:Y)、ユーザUの1歩にかかる移動距離Lを基に、現在位置(x、y)を更新する(S109)。ここで、移動距離Lは、ユーザUの身長等を基に算出してもよいし、S107の処理における推定位置と現在位置との差分を用いて適宜推定してもよい。したがってS104やS109の処理により、ユーザの方位推定(S102)や位置推定(S106)が成功しない場合でも、ユーザのヨー軸周りの角速度を用いて、これらの方位や位置を推定することができる。   In S105, the sub-microcomputer 104 calculates the current number of steps of the user U. In the process of S105, the cellular phone terminal 10 acquires the calculation result of the pedometer which is an external device, and the sub-microcomputer 104 utilizes the calculation result. Then, the process proceeds to S106. In S106, as in S102, it is confirmed whether the current position of the user U can be estimated by known means. If the user's current position has been successfully estimated (S106: Y), the process proceeds to S107 to consider the estimated position as the current position. If the estimation of the current position of the user has failed (S106: N), the process proceeds to S108, and the sub-microcomputer 104 determines whether or not the number of steps of the pedometer for which the calculation result has been obtained in S105 has been counted up. When the sub-microcomputer 104 determines that the pedometer has been counted up (S108: Y), the sub-microcomputer 104 updates the current position (x, y) based on the movement distance L taken by one step of the user U (S109). Here, the movement distance L may be calculated based on the height or the like of the user U, or may be appropriately estimated using the difference between the estimated position and the current position in the process of S107. Therefore, even if the user's azimuth estimation (S102) and position estimation (S106) are not successful, the azimuth and position can be estimated using the angular velocity around the user's yaw axis by the processing of S104 and S109.

次に、図10に、ユーザが台車を押しているか現在歩行中であるか歩行していないかをそれぞれ判定するフローチャートを示す。一般に、人間が台車やベビーカー等の運搬車を押しているときは、両手を運搬車に固定して移動するため、通常の歩行に比べて当該人間のヨー軸周りの回転、すなわち角速度が小さくなる傾向がある。そこで、図10に示す処理により、ユーザが台車を押しているか現在歩行中であるか歩行していないかを判定する。   Next, FIG. 10 shows a flowchart for determining whether the user is pushing the cart, currently walking or not walking. Generally, when a person pushes a cart such as a carriage or a stroller, both hands are fixed to the carriage and moved, so that the person's rotation around the yaw axis, that is, the angular velocity tends to be smaller compared to normal walking. There is. Therefore, it is determined by the processing shown in FIG. 10 whether the user is pushing the cart, currently walking or not walking.

S201では、サブマイコン104は、ユーザのヨー軸周りの各速度ωyを取得する。次いで処理はS202に進められる。S202において、サブマイコン104は、加速度センサ110等を用いてユーザが現在歩行中であるか否かを判定する。この判定処理は、外部の歩数計等の計算結果を用いることで得られ、周知の処理であるため詳細な説明は省略する。サブマイコン104は、ユーザが現在歩行中でないと判定した場合(S202:N)、台車押しの確度の値cartを0にして(S210)、非歩行と判定する(S211)。   In S201, the sub-microcomputer 104 acquires the respective speeds ωy around the yaw axis of the user. Next, the process proceeds to S202. In S202, the sub-microcomputer 104 determines whether the user is currently walking using the acceleration sensor 110 or the like. This determination process is obtained by using a calculation result of an external pedometer or the like, and is a well-known process, so detailed description will be omitted. When the sub-microcomputer 104 determines that the user is not currently walking (S202: N), the sub-microcomputer 104 sets the value cart of the pushing probability of cart to 0 (S210), and determines that the user is not walking (S211).

一方、サブマイコン104は、S202において歩行中であると判定した場合(S202:Y)、ヨー軸周りの角速度ωyの絶対値が所定の閾値よりも大きいか否かを判定する。角速度ωyの絶対値が所定の閾値よりも大きい場合(S203:Y)、サブマイコン104は、台車押しの確度をN1だけ上げる(S204)。S205、S206では、サブ
マイコン104は、台車押しの確度が所定の値N2より大きくならないよう制限する処理を行う。さらに、S207、S208では、サブマイコン104は、台車押しの確度が0でない値を取る場合、台車押しの確度をデクリメントする。そして、サブマイコンは、台車押しの確度が所定の閾値N3より大きいか否かを判定し(S209)、台車押しの確度がN3より大きければ(S209:Y)台車押しと判定し(S213)、台車押しの確度がN3以下であれば(S209:N)歩行中と判定する(S212)。以上の処理により、ユーザのヨー軸周りの角速度ωyに基づいて台車押しの確度の値を所定の範囲内(0〜N2)で推移させることで、ユーザが台車を押しているか現在歩行中であるか歩行していないかを判定することができる。
On the other hand, when the sub-microcomputer 104 determines that the user is walking in S202 (S202: Y), the sub-microcomputer 104 determines whether the absolute value of the angular velocity ωy around the yaw axis is larger than a predetermined threshold. If the absolute value of the angular velocity ωy is larger than the predetermined threshold (S203: Y), the sub-microcomputer 104 increases the probability of pushing the truck by N1 (S204). In S205 and S206, the sub-microcomputer 104 performs processing to limit the truck pushing accuracy not to be larger than a predetermined value N2. Furthermore, in S207 and S208, the sub-microcomputer 104 decrements the truck pressing probability when the truck pressing probability has a value other than zero. Then, the sub-microcomputer determines whether the truck pressing accuracy is greater than a predetermined threshold N3 (S209), and determines that the truck pressing is performed (S209: Y) if the truck pressing accuracy is greater than N3 (S213), If the probability of pushing the dolly is N3 or less (S209: N), it is determined that the user is walking (S212). Whether the user is pushing the dolly or is currently walking by changing the value of the probability of pushing the doll within a predetermined range (0 to N2) based on the angular velocity ωy around the yaw axis of the user by the above processing It can be determined whether you are walking.

次に、図11Aに、ユーザの歩行状態、具体的には歩行時の体の左右のバランスを診断するフローチャートを示す。なお、本フローチャートを実行するにあたり、事前にユーザが歩行中か否かの判定がなされており、サブマイコン104は、ユーザが歩行中であると判定された場合に本フローチャートを実行する。また、本フローチャートは、所定のサンプリング間隔で繰り返し実行される。   Next, FIG. 11A shows a flowchart for diagnosing the walking state of the user, specifically, the balance between the left and right of the body at the time of walking. In the execution of this flowchart, it is determined in advance whether the user is walking or not, and the sub-microcomputer 104 executes the flowchart if it is determined that the user is walking. Further, this flowchart is repeatedly executed at a predetermined sampling interval.

S301では、サブマイコン104は、図8に示すようにユーザのロール軸周りの角速度ωrに関連する情報を算出する。ここで「関連する」とは、具体的には、上述の通り、角速度ωrの値は実際のロール軸周りの角速度ではなく、実際のロール軸周りの角速度を定数倍したものであるという意味である。なお、以下では、便宜上角速度ωrに関連する情報を角速度ωrとして説明する。次いで処理はS302に進められる。   In S301, the sub-microcomputer 104 calculates information related to the angular velocity ωr around the roll axis of the user as shown in FIG. Here, “related” specifically means, as described above, that the value of the angular velocity ωr is not the actual angular velocity around the roll axis but a constant multiple of the actual angular velocity around the roll axis is there. In the following, for convenience, the information related to the angular velocity ωr will be described as the angular velocity ωr. Next, the process proceeds to S302.

S302では、サブマイコン104は、現在の角速度ωrと1サンプリング前の角速度ωr’との積が負であるか否かを判定する。なお、ωr’は後述のS310にて代入される値であるが、ωr’の初期値は適宜設定することができる。S302の処理においてωr×ωr’が負であるということは、図11Bに示すように、ωrの時間変化を示すグラフがゼロクロスしている(ωrの値の符号が変化する)ことを意味する。そこで、図11Bに示すようにωrの半周期分の総和、すなわち中心からの移動量と関連する数値をsumとして、当該グラフがゼロクロスしない(S302:N)間はsumにωrを加算し続ける(S309)。   In S302, the sub-microcomputer 104 determines whether the product of the current angular velocity ωr and the angular velocity ωr 'one sampling before is negative. Although ω r ′ is a value substituted in S 310 described later, an initial value of ω r ′ can be set as appropriate. The fact that ωr × ωr ′ is negative in the process of S302 means that the graph showing the time change of ωr crosses zero (the sign of the value of ωr changes) as shown in FIG. 11B. Therefore, as shown in FIG. 11B, the sum of the half cycle of ωr, that is, the numerical value associated with the movement amount from the center is sum, and while the graph does not cross zero (S302: N), continues to add ωr to sum (S302) S309).

図11Bに示すように、周期によってはsumが負の値として積算される場合があるので、グラフがゼロクロスしたときに(S302:Y)、サブマイコン104は、S303でsumの値を正にした後、半周期前の総和sum’との比を取ってバランスを算出する(S305、S306)。なお、サブマイコン104は、S304でsumとsum’の大きさを判定し、大きい値を小さい値で除算することで、バランスは常に1より大きな値として算出される。したがって、算出された値が1に近づくほど、歩行時における体の左右のバランスがよいといえる。   As shown in FIG. 11B, depending on the cycle, sum may be integrated as a negative value, so when the graph crosses zero (S302: Y), the sub-microcomputer 104 makes the value of sum positive in S303. After that, the balance is calculated by taking the ratio to the total sum 'of half cycle before (S305, S306). The sub-microcomputer 104 determines the magnitudes of sum and sum 'in S304, and divides the large value by the small value to calculate the balance always as a value larger than one. Therefore, it can be said that the balance between the left and right of the body at the time of walking is better as the calculated value approaches 1.

本フローチャートでは、バランスを算出した後、次回バランス算出のために現在の総和sumを前総和sum’に代入し(S307)、現在の総和sumにはS301において得られたωrを代入する(S308)。以上の処理により、ユーザのロール軸周りの角速度に関連する情報の時間変化の周期を利用することで、ユーザの歩行時の体の左右のバランスを診断することができる。なお、上記の処理例では、半周期分の総和を求めているが、総和を求める時間範囲は半周期に限らず適宜決めることができる。また、上記の処理例では、総和の比に基づいて歩行時の体の左右のバランスを算出しているが、図11Bに示すように、グラフの最大値の比(h/h’)や時間の比(t/t’)に基づいてバランスを算出する構成としてもよい。   In this flowchart, after the balance is calculated, the current total sum sum is substituted into the pre-sum total sum 'for the next balance calculation (S307), and ωr obtained in S301 is substituted into the current total sum (S308) . By the above processing, by utilizing the period of time change of information related to the angular velocity around the roll axis of the user, it is possible to diagnose the balance between the left and right of the body at the time of walking of the user. In the above-described processing example, the sum for a half cycle is obtained, but the time range for obtaining the sum is not limited to a half cycle, and can be appropriately determined. Also, in the above processing example, the balance between the left and right of the body at the time of walking is calculated based on the ratio of the sum, but as shown in FIG. 11B, the ratio (h / h ') of the maximum value of the graph and the time The balance may be calculated based on the ratio (t / t ′) of

次に、図12Aに、ユーザの歩行時に転倒しそうになる等の異常状態が発生したか否か
を判定するフローチャートを示す。なお、本フローチャートを実行するにあたり、事前にユーザが歩行中か否かの判定がなされており、サブマイコン104は、ユーザが歩行中であると判定された場合に本フローチャートを実行する。また、本フローチャートは、所定のサンプリング間隔で繰り返し実行される。
Next, FIG. 12A shows a flowchart for determining whether or not an abnormal state such as becoming nearly tipped when the user walks has occurred. In the execution of this flowchart, it is determined in advance whether the user is walking or not, and the sub-microcomputer 104 executes the flowchart if it is determined that the user is walking. Further, this flowchart is repeatedly executed at a predetermined sampling interval.

図12Bは、携帯電話端末10のローカル座標系におけるx軸とユーザのグローバル座標系におけるピッチ軸とを合わせて、ユーザが歩行した際に転倒しそうになったときのx軸周りの角速度の時間変化を示すグラフである。図に示すように、異常状態が発生する、すなわちユーザが転倒しそうになると、それまでの歩行状態における角速度の変化に比べて角速度が特徴的な変化を示すことがわかる。そこで、サブマイコン104は、図12Aに示すフローチャートを実行することで、ユーザの歩行中に異常状態が発生したか否かを判定することができる。なお、図12Bでは、説明の便宜上、携帯電話端末10のローカル座標系におけるx軸とユーザのグローバル座標系におけるピッチ軸とを合わせているが、図8を参照しながら説明したように、これらの軸を合わせなくても本フローチャートの処理を正常に実行することができる。   FIG. 12B aligns the x-axis in the local coordinate system of the mobile phone terminal 10 with the pitch axis in the global coordinate system of the user, and changes with time the angular velocity around the x-axis when the user walks. Is a graph showing As shown in the figure, when an abnormal state occurs, that is, when the user is about to fall, it can be seen that the angular velocity shows a characteristic change as compared to the change of the angular velocity in the walking state until then. Therefore, by executing the flowchart shown in FIG. 12A, the sub-microcomputer 104 can determine whether an abnormal state has occurred while the user is walking. 12B aligns the x-axis in the local coordinate system of the mobile phone terminal 10 with the pitch axis in the global coordinate system of the user for convenience of explanation, but as described with reference to FIG. The process of this flowchart can be normally executed without aligning the axes.

S401では、サブマイコン104は、サブマイコン104は、図8に示すようにユーザのピッチ軸周りの角速度ωpに関連する情報を算出する。ここで「関連する」とは、具体的には、上述の通り、角速度ωpの値は実際のピッチ軸周りの角速度ではなく、実際のピッチ軸周りの角速度を定数倍したものであるという意味である。なお、以下では、便宜上角速度ωpに関連する情報を角速度ωpとして説明する。次いで処理はS402に進められる。   In S401, the sub-microcomputer 104 calculates information related to the angular velocity ωp around the pitch axis of the user, as shown in FIG. Here, “related” specifically means, as described above, that the value of the angular velocity ωp is not the actual angular velocity around the pitch axis but a constant multiple of the actual angular velocity around the pitch axis is there. In the following, for convenience, information related to the angular velocity ωp will be described as the angular velocity ωp. The process then proceeds to S402.

S402では、サブマイコン104は、S401で算出したωpの絶対値ωp’を取る。次いで処理はS403に進められる。S403では、サブマイコン104は、S402で算出したωp’にローパスフィルタ(図示せず)を通した結果ψを算出する。なお、ローパスフィルタの時定数を歩行周期より十分長く設定することで、ψは当該時定数により定まる時間範囲で平均したピッチ軸周りの角速度の振幅値が得られる。次いで処理はS404に進められる。S404では、サブマイコン104は、S402で算出したωp’が、S403で算出した平均角速度の振幅値ψをk倍(kは正の整数)した値より大きいかどうか判断する。ωp’がψのk倍より大きければ(S404:Y)、サブマイコン104は、異常状態が発生したと判定する(S405)。ωp’がψのk倍以下であれば(S404:N)、サブマイコン104は本フローチャートの処理を終了する。以上の処理により、ユーザのピッチ軸周りの角速度の時間変化を追跡し、当該加速度が異常な変化を示したときを検出してユーザの歩行が異常状態にあるとみなすことができる。   In S402, the sub-microcomputer 104 takes the absolute value ωp 'of ωp calculated in S401. Next, the process proceeds to S403. In S403, the sub-microcomputer 104 calculates the result ψ obtained by passing the low-pass filter (not shown) to ωp ′ calculated in S402. By setting the time constant of the low-pass filter to be sufficiently longer than the walking cycle, an amplitude value of angular velocity around the pitch axis averaged over a time range determined by the time constant can be obtained. The process then proceeds to S404. In S404, the sub-microcomputer 104 determines whether ωp ′ calculated in S402 is larger than a value obtained by multiplying the amplitude value ψ of the average angular velocity calculated in S403 by k (k is a positive integer). If ωp ′ is larger than k times ((S404: Y), the sub-microcomputer 104 determines that an abnormal state has occurred (S405). If ωp ′ is equal to or less than k times ψ (S404: N), the sub-microcomputer 104 ends the processing of this flowchart. By the above processing, it is possible to track the time change of the angular velocity around the pitch axis of the user, detect when the acceleration shows an abnormal change, and regard the user's walking in an abnormal state.

次に、図13A及び図13Bに、ユーザが、例えばトランクケース等の大きな荷物を片手で持ち上げて歩いているか否かを判定するフローチャートを示す。なお、図13Aのフローチャートにおける「1」及び「2」は、それぞれ図13Bのフローチャートの「1」及び「2」と連続している。図13Cは、ユーザが荷物を運搬しているときのユーザのグローバル座標系におけるロール軸周りの角速度の時間変化を示すグラフである。図に示すように、荷物運搬時はロール軸周りの角速度のバランスが悪くなる。具体的には、半周期にかかる時間や最大振幅に現れる。図では、一方の半周期にかかる時間が他方の半周期にかかる時間より短く、その最大振幅が大きくなっており(「短く大きい」)、他方の半周期においては最大振幅が一方の半周期における最大振幅が小さくなっている(「長く小さい」)。   Next, FIG. 13A and FIG. 13B show a flowchart for determining whether the user is walking while lifting a large load such as a trunk case with one hand. Note that “1” and “2” in the flowchart of FIG. 13A are continuous with “1” and “2” in the flowchart of FIG. 13B, respectively. FIG. 13C is a graph showing a temporal change in angular velocity around a roll axis in the user's global coordinate system when the user is carrying a package. As shown in the figure, the balance of the angular velocity around the roll axis becomes worse when carrying a load. Specifically, it appears in the time required for a half cycle and the maximum amplitude. In the figure, the time taken for one half cycle is shorter than the time taken for the other half cycle, and its maximum amplitude is large ("short and large"), and the other half cycle has its maximum amplitude at one half cycle. The maximum amplitude is decreasing ("long and small").

そこで、本フローチャートでは、ロール軸周りの角速度のバランスを評価することで、ユーザが荷物を片手で持ち上げて歩いているか否かを判定する。なお、本フローチャートを実行するにあたり、事前にユーザが歩行中か否かの判定がなされており、サブマイコン
104は、ユーザが歩行中であると判定された場合に本フローチャートを実行する。また、本フローチャートは、所定のサンプリング間隔で繰り返し実行される。
Therefore, in this flowchart, by evaluating the balance of the angular velocity around the roll axis, it is determined whether the user lifts the package with one hand and walks. In the execution of this flowchart, it is determined in advance whether the user is walking or not, and the sub-microcomputer 104 executes the flowchart if it is determined that the user is walking. Further, this flowchart is repeatedly executed at a predetermined sampling interval.

S501では、サブマイコン104は、図8に示すようにユーザのロール軸周りの角速度ωrに関連する情報を算出する。ここで「関連する」とは、具体的には、上述の通り、角速度ωrの値は実際のロール軸周りの角速度ではなく、実際のロール軸周りの角速度を定数倍したものであるという意味である。なお、以下では、便宜上角速度ωrに関連する情報を角速度ωrとして説明する。次いで処理はS502に進められる。   In S501, the sub-microcomputer 104 calculates information related to the angular velocity ωr around the roll axis of the user as shown in FIG. Here, “related” specifically means, as described above, that the value of the angular velocity ωr is not the actual angular velocity around the roll axis but a constant multiple of the actual angular velocity around the roll axis is there. In the following, for convenience, the information related to the angular velocity ωr will be described as the angular velocity ωr. Next, the process proceeds to S502.

S502では、図11A及び図11Bに示す場合と同様、ωrの時間変化を示すグラフがゼロクロスしている(ωrの値の符号が変化する)か否かを判定する。ゼロクロスが発生していない場合(S502:N)、カウンタの値cntをインクリメントする(S503)。なお、cntの値はゼロクロスが発生したときにS513で0にされる。S503の処理の後、サブマイコン104は、S504〜S507において、現在の角速度ωrの値と本フローチャートを開始してからの角速度ωrの最大値又は最小値とを比較することで、角速度ωrの最大値と最小値を求める。S508では、サブマイコン104は、現在の角速度ωrの値を1サンプリング前の角速度ωr’の値とする。   In S502, as in the case shown in FIGS. 11A and 11B, it is determined whether or not the graph indicating the time change of ωr crosses zero (the sign of the value of ωr changes). When the zero crossing has not occurred (S502: N), the value cnt of the counter is incremented (S503). The value of cnt is set to 0 in S513 when a zero crossing occurs. After the process of S503, the sub-microcomputer 104 compares the current value of the angular velocity ωr with the maximum value or the minimum value of the angular velocity ωr after the start of the present flowchart in S504 to S507 to obtain the maximum value of the angular velocity ωr. Find the value and the minimum value. In S508, the sub-microcomputer 104 sets the value of the current angular velocity ωr to the value of the angular velocity ωr 'one sampling before.

S502において、ωrの時間変化を示すグラフがゼロクロスしている場合(S502:Y)、処理はS509に進められる。S509〜S511では、ωrの時間変化における半周期前のカウンタの値cnt’と現在のカウンタの値cntの比を周期のバランスの値carry1として計算する。図13Bでは、カウンタの値のうち大きい値を小さい値で除算しており、carry1の値は1より大きい値となるため、carry1の値が1に近づくほどユーザの歩行において体の左右のバランスがよいことがわかる。すなわち、周期のバランスを計算することで、図13Cに示すグラフでいえば、半周期にかかる時間が長短を交互に繰り返しているか否かがわかる。   In S502, when the graph indicating the time change of ωr crosses zero (S502: Y), the process proceeds to S509. In S509 to S511, the ratio of the counter value cnt 'of the counter one half period before the time change of ωr to the value cnt of the current counter is calculated as the period balance value carry1. In FIG. 13B, a large value among the values of the counter is divided by a small value, and the value of carry1 becomes a value larger than 1, so the closer the value of carry1 is to 1, the balance between the left and right of the body in the user's walking I understand that it is good. That is, by calculating the balance of the cycles, it can be understood, in the graph shown in FIG. 13C, whether or not the time taken for the half cycle is alternately repeated.

S512、S513では、半周期前のカウンタの値cnt’を現在のカウンタの値で置き換えた後に現在のカウンタの値cntを初期値である0に戻す。次いで処理はS514に進められる。上述の通り、ωrは半周期ごとに正と負の値を交互に取る。また、S504〜S507で得られる最大値と最小値は、一方がゼロクロスが発生する直前の半周期におけるωrの振幅のピークを示し、他方が当該半周期の1つ前の半周期におけるωrの振幅のピークを示す。そこで、S514〜S516では、これらの最大値と最小値の比を振幅のバランスの値carry2として計算する。S517〜S519では、次回のcarry2の計算のために、当該半周期の1つ前の半周期におけるωrの振幅のピークを示す最大値又は最小値を特定して、その値を0にする。   In S512 and S513, after replacing the value cnt 'of the counter half cycle before with the value of the current counter, the value cnt of the present counter is returned to the initial value 0. The process then proceeds to S514. As mentioned above, ωr takes positive and negative values alternately every half cycle. Further, the maximum value and the minimum value obtained in S504 to S507 indicate one of the peaks of the amplitude of ωr in the half cycle immediately before the occurrence of the zero crossing, and the other shows the amplitude of ωr in the half cycle one cycle before the half cycle. Indicates the peak of Therefore, in S514 to S516, the ratio of the maximum value to the minimum value is calculated as the value balance carry2 of the amplitude. In S517 to S519, the maximum value or the minimum value indicating the peak of the amplitude of ωr in the half cycle immediately before the half cycle is specified, and the value is set to 0 for the next calculation of carry2.

上記の処理によって得られたcarry1とcarry2は、それぞれωrの時間変化のバランスを表している。そして、carry1の場合は閾値Th1、carry2の場合は閾値Th2と比較し、carry1とcarry2の一方もしくは両方が閾値より大きい値を取る場合は、バランスが悪い歩行である、すなわちユーザが荷物運搬中である(ここでの例では、荷物を片手で持ち上げて歩いている)と判定する(S520、S521)。以上の処理により、ユーザのロール軸周りの角速度の各周期の時間幅や各周期における振幅の大きさに基づいて、ユーザの歩行のバランスを評価することで荷物運搬中か否かを判定することができる。   Each of carry1 and carry2 obtained by the above process represents the balance of time change of ωr. Then, in the case of carry1, the threshold Th1 is compared with the threshold Th2 in the case of carry2, and when one or both of carry1 and carry2 takes a value larger than the threshold, the balance is a bad balance, that is, the user is carrying luggage. It is determined that there is a case (in this example, the package is lifted with one hand and walked) (S520, S521). By the above processing, it is determined whether or not luggage is being transported by evaluating the balance of the walking of the user based on the time width of each period of the angular velocity around the roll axis of the user and the magnitude of the amplitude in each period. Can.

なお、carry1とcarry2のいずれか一方を用いて荷物運搬中か否かを判定する場合は、他方に関する演算処理は行わなくてもよい。例えばS520において、carry1を評価する場合、carry2の値を得る処理(S504〜S507、S514〜S519)は省略できる。逆に、S520においてcarry2を評価する場合は、ca
rry1を得る処理(S503、S509〜S513)は省略できる。さらに、上記の処理例では、S520でcarry1やcarry2の値が閾値より大きいと判定したときに、S521でユーザは荷物運搬中であると判定しているが、図10のS203〜S213に示すように確度の概念を用いて荷物運搬中であるか否かを判定する構成とすることもできる。
When it is determined whether or not the package is being transported using either one of the carry1 and the carry2, it is not necessary to carry out the arithmetic processing relating to the other. For example, in the case of evaluating carry1 in S520, the process of obtaining the value of carry2 (S504 to S507, S514 to S519) can be omitted. Conversely, when evaluating carry2 in S520, ca
The process of obtaining rry1 (S503, S509 to S513) can be omitted. Furthermore, in the above processing example, when it is determined in S520 that the values of carry1 and carry2 are larger than the threshold, it is determined in S521 that the user is carrying a package, but as shown in S203 to S213 of FIG. The concept of accuracy can be used to determine whether or not the package is being transported.

(第2の実施形態)
次に、第2の実施形態について図面を参照しながら説明する。なお、本実施形態でも、第1の実施形態の携帯電話端末10と同様の構成を有する携帯端末10’を使用し、以下の説明では、第1の実施形態と同等の構成は同一の符号を用いて詳細な説明を省略する。第2の実施形態では、四脚動物、一例として馬の歩容を判定する。馬等の四脚動物は、移動速度によって歩容、すなわち走り方・歩き方が変わってくる。図14に、馬の代表的な歩容、(1)ウォーク(walk)、(2)トロット(trot)、(3)カンター(canter)、(4)ギャロップ(gallop)を示す。図14では、図中左側に各歩容の馬の脚の位置関係を模式的に示し、各歩容の「1」〜「8」で示す期間における各脚(右前(脚)、左前(脚)、右後(脚)、左後(脚))の接地の有無をそれぞれの模式図の右隣に示す。なお、馬の歩容としては、他にウェイブ、ペース、バウンド等も挙げられるが、図に示す4歩容ほどは一般的でないため、ここでは触れない。
Second Embodiment
Next, a second embodiment will be described with reference to the drawings. Also in the present embodiment, the portable terminal 10 'having the same configuration as the mobile phone terminal 10 of the first embodiment is used, and in the following description, the same configuration as the first embodiment has the same reference numerals. Detailed explanation is omitted by using. In a second embodiment, the gait of a tetrapod, for example a horse, is determined. The gait, that is, the way of running and walking changes depending on the moving speed of the four-legged animal such as a horse. FIG. 14 shows representative gaits of horses, (1) walk, (2) trot, (3) canter, and (4) gallop. In FIG. 14, the left side of the figure schematically shows the positional relationship of the leg of the horse of each gait, and each leg (right front (leg), left front (leg) in a period indicated by “1” to “8” of each gait. The presence or absence of grounding on the right rear (leg) and the left rear (leg) is shown on the right of each schematic diagram. The horse's gait may also include waves, paces, bounces, etc. However, since it is not so common as the 4 gaits shown in the figure, it will not be described here.

ここで図14からわかるように、カンターの「7」〜「8」に示す期間、ギャロップの「4」及び「8」に示す期間は馬体が完全に宙に浮いている。また、図14では、トロットにおいて、「1」や「4」に示す期間では4脚とも接地しているように見えるが、実際のデータを詳細に確認すると、これらの期間では脚の切り替えが素早く行われており、馬体が宙に浮いている時間が存在することがわかっている。   Here, as can be seen from FIG. 14, the horse body floats completely in the periods shown by "4" and "8" of Gallop, during the periods shown by "7" to "8" of the canter. Also, in FIG. 14, in the trot, it appears that all four legs are in contact with the ground during the periods shown as “1” and “4”, but if actual data is confirmed in detail, leg switching is quick in these periods It is practiced and it is known that there is a time when the horse is floating in the air.

つまり、馬体が宙に浮いているということは、馬体に取り付けられた加速度センサには無重力状態が生じているといえる。したがって、馬が移動している場合に、加速度センサが無重力状態を検知したとき、馬はトロット、カンター、ギャロップのいずれかの状態にあるとみなすことができる。そこで、本実施形態では、携帯電話端末10を馬の体に取り付け、加速度センサ110のセンサ出力を用いて、サブマイコン104が馬の歩容を判定する。   That is, the fact that the horse is floating in the air means that the acceleration sensor attached to the horse is in a state of weightlessness. Therefore, when the horse is moving, when the acceleration sensor detects zero gravity, the horse can be considered to be in the trot, canter or gallop state. Therefore, in the present embodiment, the mobile phone terminal 10 is attached to the horse's body, and the sub-microcomputer 104 determines the horse's gait using the sensor output of the acceleration sensor 110.

図15に、本実施形態におけるサブマイコン104の一部の構成を示す。サブマイコン104は、LPF104n、HPF104o、内積演算処理部104p、104qを有する。加速度センサ110のセンサ出力は、LPF104n、HPF104o、内積演算処理部104qにそれぞれ入力される。また、LPF104n、HPF104oの各出力は内積演算処理部104pに入力される。LPF104n、HPF104o、内積演算処理部104pによる一連の処理は、第1の実施形態と同じであるため説明を省略する。LPF104n、HPF104oからは、重力加速度成分ベクトルG’’、振動成分ベクトルS’’がそれぞれ出力される。したがって、内積演算処理部104pからは馬のグローバル座標系における上下方向の振動成分ベクトルの大きさが出力される。一方、内積演算処理部104qは、加速度センサ110のセンサ出力自体について内積演算を施す、すなわちセンサ出力の絶対値の2乗を算出する。便宜上、内積演算処理部104pから得られる出力の値をα、内積演算処理部104qから得られる出力の値をβとする。   FIG. 15 shows the configuration of part of the sub-microcomputer 104 in the present embodiment. The sub-microcomputer 104 includes an LPF 104n, an HPF 104o, and an inner product calculation processing unit 104p, 104q. The sensor output of the acceleration sensor 110 is input to the LPF 104 n, the HPF 104 o, and the inner product calculation processing unit 104 q. The outputs of the LPF 104 n and the HPF 104 o are input to the inner product calculation processing unit 104 p. The series of processes performed by the LPF 104 n, the HPF 104 o, and the inner product calculation processing unit 104 p are the same as those in the first embodiment, and thus the description thereof is omitted. The gravitational acceleration component vector G ′ ′ and the vibration component vector S ′ ′ are respectively output from the LPF 104 n and the HPF 104 o. Therefore, the magnitude of the vibration component vector in the vertical direction in the horse's global coordinate system is output from the inner product calculation processing unit 104p. On the other hand, the inner product calculation processing unit 104 q performs inner product calculation on the sensor output itself of the acceleration sensor 110, that is, calculates the square of the absolute value of the sensor output. For convenience, it is assumed that the value of the output obtained from the inner product operation processing unit 104p is α, and the value of the output obtained from the inner product operation processing unit 104q is β.

図16A〜図16Cに、上記の処理により得られる値α、βを用いて、馬の歩容を判定するフローチャートを示す。なお、本フローチャートは、図15に示す処理により得られた値α、βを用いて所定の間隔ごとに繰り返し実行される。S601において、サブマイコン104は、内積演算処理部104pからの出力値αに基づいて歩行中か否か判定する。当該判定処理は周知であるため説明を省略する。馬が歩行中であると判定された場合(
S601:Y)、処理はS602に進められる。また、馬が歩行中でないと判定された場合(S601:N)、処理はS619に進められる。S619では、サブマイコン104は、トロットの確度n_trot、走行の確度n_run、ギャロップの確度n_gallopを0にした後、馬が歩行中でないと判定 する(S620)。ここで、走行の確度
n_runとは、後述するように、現在の馬の歩容がトロットもしくはカンターのいずれかであると判定するために用いられる値である。
FIGS. 16A to 16C show flowcharts for determining the gait of a horse using the values α and β obtained by the above process. Note that this flowchart is repeatedly executed at predetermined intervals using the values α and β obtained by the processing shown in FIG. In S601, the sub-microcomputer 104 determines whether or not the user is walking based on the output value α from the inner product arithmetic processing unit 104p. The determination process is well known and thus the description thereof is omitted. If it is determined that the horse is walking (
S601: Y), the process proceeds to S602. If it is determined that the horse is not walking (S601: N), the process proceeds to S619. In S619, the sub-microcomputer 104 determines that the horse is not walking after setting the accuracy n_trot of the trot, the accuracy n_run of the traveling, and the accuracy n_gallop of the gallop to 0 (S620). Here, the running accuracy n_run is a value used to determine that the current horse's gait is either a trot or a canter, as described later.

S602〜S606では、サブマイコン104は、馬の歩行周期を算出する。まず、サブマイコン104は、上下方向の加速度の値αが極小値を取っているかどうかを判定する(S602)。図16Bに、S602における処理のフローチャートを示す。S701〜S703では、サブマイコン104は、上下方向の加速度の値αについて過去3つのサンプルの値を保持する。図中、3つのサンプルの値のうち、時間的に古いものから順に「left」、「mid」、「right」とする。S704では、サブマイコン104は、3つのサンプルの値のうち「mid」の値が小さいか否かを判定する。厳密には、S602では現在のαの値が極小値であるか否かではなく、1サンプル前のαの値が極小を取ったか否かを判定しているが、原理的には問題ない。なお、S701〜S704の処理でαの値が極小値を取ったか否かを判定するために、αが滑らかな時間変化を示すようS701〜S704の処理の前に適宜フィルタリングを適用してもよい。   In S602 to S606, the sub-microcomputer 104 calculates the walking cycle of the horse. First, the sub-microcomputer 104 determines whether or not the value α of the acceleration in the vertical direction has a minimum value (S602). FIG. 16B shows a flowchart of the process in S602. In S701 to S703, the sub-microcomputer 104 holds the values of the past three samples for the acceleration value α in the vertical direction. In the figure, among the values of the three samples, "left", "mid" and "right" are referred to in order from the oldest one in time. In S704, the sub-microcomputer 104 determines whether the value of "mid" among the values of the three samples is small. Strictly speaking, in S602, it is judged whether or not the value of α one sample before takes a minimum, not whether or not the current value of α is a local minimum, but there is no problem in principle. Note that, in order to determine whether the value of α has a minimum value in the processing of S701 to S704, filtering may be appropriately applied before the processing of S701 to S704 so that α exhibits a smooth time change. .

S602において、αが極小値を取っていないと判定された場合(S602:N)、サブマイコン104は、歩行周期のカウンタcntをインクリメントする(S603)。また、αが極小値を取ったと判定された場合(S602:Y)、サブマイコン104は、処理をS604に進める。αが極小値を取ったと判定されたときの歩行周期のカウンタcntの値は、αが前回極小値を取ってから今回極小値を取るまでにS602、S603により積算された値である。したがって、cntの値が小さければ、現在の馬の歩容は歩行周期の短いトロットである可能性が高くなる。そこで、cntの値が所定の閾値よりも小さい場合(S604:Y)、トロットの確度n_trotを値N1だけ加算する(S605)。S605の処理を行った後及びcntの値が所定の閾値以上である場合(S604:N)、cntの値を初期値である0に戻す(S606)。   In S602, when it is determined that α does not take the minimum value (S602: N), the sub-microcomputer 104 increments the walking cycle counter cnt (S603). If it is determined that α has a local minimum value (S602: Y), the sub-microcomputer 104 advances the process to S604. The value of the counter cnt of the walking cycle when it is determined that α takes the minimum value is the value integrated in S602 and S603 from when the α takes the previous minimum value until the current minimum value takes it. Thus, if the value of cnt is small, the current horse's gait is likely to be a short walking cycle. Therefore, when the value of cnt is smaller than the predetermined threshold (S604: Y), the accuracy n_trot of the trot is added by the value N1 (S605). After the processing of S605 and when the value of cnt is equal to or greater than the predetermined threshold (S604: N), the value of cnt is returned to 0, which is the initial value (S606).

続いて、S607〜S610では、サブマイコン104は、内積演算処理部104から得られる出力の値βが所定の閾値より小さい場合は(S607:Y)走行の確度n_runを値N2だけ加算し(S608)、βが所定の閾値より大きい場合は(S609:Y)ギャロップの確度n_gallopを値N3だけ加算する(S610)。次いで処理はS611に進められる。   Subsequently, in S607 to S610, when the value β of the output obtained from the inner product arithmetic processing unit 104 is smaller than the predetermined threshold (S607: Y), the sub-microcomputer 104 adds the probability n_run of traveling by the value N2 (S608) If β is larger than the predetermined threshold (S609: Y), the gallop accuracy n_gallop is added by the value N3 (S610). Next, the process proceeds to S611.

S611では、具体的には図16Cに示すように、上記の確度のいずれかをAとし、上限をNとした場合に、S801〜S804により値AがNを超えないようにする処理を行う。S801〜S804の処理により、S605、S608、S610により加算された上記の各確度の値は、S604、S607、S609の判定がNである場合に小さい値となる。すなわち、馬がトロット、カンター、ギャロップのいずれかを止めた後は、時間の経過とともに対応する確度が下がっていく。S611の処理の後、処理はS612に進められる。S612〜S618では、各確度を所定の閾値と比較し、確度が所定の閾値より大きい場合に、現在の馬の歩容がその確度に対応する歩容であると判定する。   In S611, specifically, as shown in FIG. 16C, when one of the above-mentioned certainty is A and the upper limit is N, processing is performed so that the value A does not exceed N in S801 to S804. By the processes of S801 to S804, the values of the respective accuracies added at S605, S608, and S610 become small values when the determinations of S604, S607, and S609 are N. That is, after the horse has stopped any of trot, canter, or gallop, the corresponding probability decreases with the passage of time. After the process of S611, the process proceeds to S612. In S612 to S618, each accuracy is compared with a predetermined threshold, and if the accuracy is greater than the predetermined threshold, it is determined that the current horse's gait corresponds to the accuracy.

図17に、本実施形態における歩容判定の実験結果の一例を示す。図中、400のグラフは、取得した加速度センサ110のセンサ出力の時系列情報を示す。また、401及び402のグラフは、図15に示す処理を行った後の上下振動αと絶対値の2乗βの時間変化をそれぞれ示す。   FIG. 17 shows an example of an experimental result of gait determination in the present embodiment. In the figure, a graph 400 indicates time-series information of the sensor output of the acquired acceleration sensor 110. The graphs 401 and 402 respectively show the time change of the vertical vibration α and the square of the absolute value β after the process shown in FIG.

時刻405において、加速度の大きさがS607で用いられる閾値より小さくなってきている。したがって、S608の処理により走行の確度n_runが上がってきている(図中407)。ここで、403のグラフは、上下方向の振動の極小値の間隔408をプロットしたものである。時刻409以降、歩行周期が短くなってきており(410)、S604、S605の処理によりトロットの確度n_trot(411)が上がってきている。   At time 405, the magnitude of the acceleration is smaller than the threshold used in S607. Therefore, the running accuracy n_run is increasing by the process of S608 (407 in the figure). Here, the graph 403 is a plot of the interval 408 of the local minimum values of the vertical vibration. The walking cycle has become shorter after time 409 (410), and the accuracy of trot n_trot (411) is increased by the processing of S604 and S605.

時刻412において、走行の確度n_run及びトロットの確度r_trotがS614及びS615で用いられる閾値413を超えたことから、歩容をトロットと判定している(414:trot)。また、時刻415において歩行周期が長くなってきたため、S604におけるNの判定及びS611の処理によりトロットの確度n_trotが下がってきているが、まだ閾値413より大きいため、歩容はトロットであると判定され続けている。次いで、時刻416において、加速度の絶対値の値βが大きくなって閾値417に達するようになってきたため、S609及びS610の処理によりギャロップの確度n_gallopが上がってきている。そして、時刻418において、トロットの確度n_trotが閾値413より小さくなったため、S614及びS615の処理により歩容はカンターであると判定される(419)。さらに、時刻420において、ギャロップの確度n_gallopがS612で用いられる閾値を超えたため、歩容はギャロップであると判定される(421)。   At time 412, the gait is determined to be a trot because the traveling accuracy n_run and trot accuracy r_trot exceed the threshold 413 used in S614 and S615 (414: trot). Also, since the walking cycle has become longer at time 415, the accuracy n_trot of the trot has been lowered by the determination of N in S604 and the processing of S611, but since it is still larger than the threshold 413, the gait is determined to be a trot. continuing. Next, at time 416, the absolute value β of the acceleration increases and reaches the threshold 417. Therefore, the gallop accuracy n_gallop is increased by the processing of S609 and S610. Then, since the accuracy n_trot of the trot has become smaller than the threshold 413 at time 418, the gait is determined to be contour by the processing of S614 and S615 (419). Furthermore, at time 420, since the probability of gallop n_gallop exceeds the threshold value used in S612, the gait is determined to be a gallop (421).

(第3の実施形態)
次に、第3の実施形態について図面を参照しながら説明する。なお、本実施形態でも、第1の実施形態の携帯電話端末10と同様の構成を有する携帯端末10’’を使用し、以下の説明では、第1の実施形態と同等の構成は同一の符号を用いて詳細な説明を省略する。第3の実施形態では、一例として馬の手前を判定する。カンターやギャロップでは、馬の左右の脚の動きが非対称であり、前脚のうちどちらをより前に出したかによって、右手前と左手前という区分がある。一般に、馬がトラックを走る場合に、右カーブでは右手前が、左カーブでは左手前がそれぞれ有利と言われているが、人間の右利きと左利きのように、個々の馬によって得意とする手前が異なると言われている。したがって、特に競走馬の世界では歩容に加えて手前という概念も重視されている。そこで、本実施形態では、対象とする運動体(ここでは一例として馬)の現在の利き足を特定する処理を行う。
Third Embodiment
Next, a third embodiment will be described with reference to the drawings. Also in the present embodiment, the portable terminal 10 ′ ′ having the same configuration as the mobile phone terminal 10 of the first embodiment is used, and in the following description, the configuration equivalent to that of the first embodiment has the same reference numerals. The detailed description is omitted using. In the third embodiment, the front of a horse is determined as an example. In canter and gallop, the movement of the left and right legs of the horse is asymmetric, and there is a division between the right front and the left front depending on which of the front legs is put forward. Generally, when a horse runs on a track, the right curve is said to be advantageous in the right curve and the left curve is advantageous in the left curve, but it is the front side that is good with individual horses like human right handedness and left handedness Are said to be different. Therefore, especially in the racehorse world, the concept of being in front of the gait is also emphasized. Therefore, in the present embodiment, processing is performed to specify the current dominant foot of a target moving body (here, a horse as an example).

本実施形態では、図18に示すように、馬の前両脚の間の胸板に携帯端末10’’を装着する。したがって、本実施形態では、右脚が前に出るときは携帯端末10’’が図の矢印の方向に回転し、左脚が前に出るときはその逆の方向に回転する。図19A及び図19Bに、馬体の上下方向の動きと携帯端末10’’の回転の関係を示す。図19Aは、馬が右手前で移動している場合を示し、図19Bは、馬が左手前で移動している場合を示す。なお、馬は図中の(1)から(8)に順次進んでいく。また、図中、実線が右脚を示し、破線が左脚を示す。   In the present embodiment, as shown in FIG. 18, the portable terminal 10 ′ ′ is attached to the chest between the front legs of the horse. Therefore, in the present embodiment, the portable terminal 10 ′ ′ rotates in the direction of the arrow when the right leg comes forward, and rotates in the opposite direction when the left leg comes forward. FIGS. 19A and 19B show the relationship between the vertical movement of the horse and the rotation of the portable terminal 10 ′ ′. FIG. 19A shows the case where the horse is moving in front of the right hand, and FIG. 19B shows the case where the horse is moving in front of the left hand. The horses will advance from (1) to (8) in the figure. Further, in the figure, the solid line indicates the right leg, and the broken line indicates the left leg.

図20に、本実施形態におけるサブマイコン104の一部の構成を示す。本実施形態において、サブマイコン104は、LPF104r、HPF104s、内積演算処理部104t、104uを有する。加速度センサ110のセンサ出力は、LPF104r、HPF104sにそれぞれ入力される。また、LPF104r、HPF104sの各出力は内積演算処理部104uに入力される。LPF104rの出力は内積演算処理部104tにも入力される。LPF104r、HPF104s、内積演算処理部104uによる一連の処理は、第1の実施形態と同じであるため説明を省略する。さらに、角速度センサ111のセンサ出力が、内積演算処理部104tに入力される。   FIG. 20 shows a part of the configuration of the sub-microcomputer 104 in the present embodiment. In the present embodiment, the sub-microcomputer 104 includes an LPF 104r, an HPF 104s, and an inner product arithmetic processing unit 104t and 104u. The sensor output of the acceleration sensor 110 is input to each of the LPF 104 r and the HPF 104 s. The outputs of the LPF 104 r and the HPF 104 s are input to the inner product calculation processing unit 104 u. The output of the LPF 104r is also input to the inner product arithmetic processing unit 104t. A series of processes performed by the LPF 104r, the HPF 104s, and the inner product calculation processing unit 104u are the same as those in the first embodiment, and thus the description thereof is omitted. Further, the sensor output of the angular velocity sensor 111 is input to the inner product calculation processing unit 104t.

内積演算処理部104tからは、図8を参照しながら説明したように、ここでは馬のグ
ローバル座標系における上下方向の軸周りの角速度が出力される。LPF104r、HPF104sからは、重力加速度成分ベクトルG’’’、振動成分ベクトルS’’’がそれぞれ出力される。したがって、内積演算処理部104uからは馬のグローバル座標系における上下方向の振動成分ベクトルの大きさが出力される。便宜上、内積演算処理部104tから得られる出力の値をγ、内積演算処理部104uから得られる出力の値をδとする。
As described with reference to FIG. 8, the inner product calculation processing unit 104 t outputs the angular velocity around the vertical axis in the global coordinate system of the horse here. The gravitational acceleration component vector G ′ ′ ′ and the vibration component vector S ′ ′ ′ are respectively output from the LPF 104 r and the HPF 104 s. Therefore, the magnitudes of the vibration component vectors in the vertical direction in the horse's global coordinate system are output from the inner product calculation processing unit 104 u. For convenience, it is assumed that the value of the output obtained from the inner product operation processing unit 104t is γ, and the value of the output obtained from the inner product operation processing unit 104u is δ.

図21は、内積演算処理部104tから得られる出力の値をγ、内積演算処理部104uから得られる出力の値をδの時間変化を示すグラフである。馬の上下方向の加速度の変化と手前に応じて、上下方向の振動の変化と回転方向の角速度の変化の位相差が180°ずれている。したがって、上下方向の振動成分ベクトルの大きさδの極大極小時に上下方向の軸周りの角速度の大きさγとの積を取り、その値が正か負かを判別することで、上記のずれを検出することができる。   FIG. 21 is a graph showing the time change of the value of the output obtained from the inner product operation processing unit 104t as γ, and the value of the output obtained from the inner product operation processing unit 104u as δ. The phase difference between the change in vertical vibration and the change in angular velocity in the rotational direction is 180 ° out of phase according to the change in acceleration in the vertical direction and the front of the horse. Therefore, taking the product of the magnitude δ of the vibration component vector in the vertical direction at the maximum and minimum with the magnitude γ of the angular velocity around the axis in the vertical direction and determining whether the value is positive or negative, the above deviation is obtained. It can be detected.

図22A及び図22Bに、本実施形態における、手前判定のフローチャートを示す。なお、本フローチャートは、図20に示す処理により得られた値γ、δを用いて所定の間隔ごとに繰り返し実行される。S901では、δが極値を示すか否かを判定する。具体的には、図22BのS1001〜S1005の処理によって、δが極値を示すかを判定する。S1001〜S1005の処理は、図16Bと同様であるため、ここでは説明を省略する。δが極値を示さない場合(S901:N)、サブマイコン104は、γとδの積を演算し、この積をkとして保持する(S912)。δが極値を示す場合(S901:Y)、サブマイコン104は、kの値の正負を判定する(S902)。ここで、サブマイコン104が保持するkの値は、S901〜S917の一連の処理を1サイクルとした場合に、1サイクル前の処理でサブマイコン104が算出したkの値である。これは、上述したようにS902の処理で極値を示すか否かの判定対象となるのは、実際には1サンプル前のkの値であるためである。   22A and 22B show a flowchart of the near side determination in the present embodiment. Note that this flowchart is repeatedly executed at predetermined intervals using values γ and δ obtained by the process shown in FIG. In S901, it is determined whether or not δ indicates an extreme value. Specifically, it is determined by the processing of S1001 to S1005 in FIG. 22B whether δ indicates an extreme value. The processes of S1001 to S1005 are the same as those of FIG. 16B, and thus the description thereof is omitted here. If δ does not indicate an extreme value (S901: N), the sub-microcomputer 104 calculates the product of γ and δ, and holds this product as k (S912). If δ indicates an extreme value (S901: Y), the sub-microcomputer 104 determines whether the value of k is positive or negative (S902). Here, the value of k held by the sub-microcomputer 104 is the value of k calculated by the sub-microcomputer 104 in the process one cycle before when the series of processes of S901 to S917 is one cycle. This is because, as described above, it is actually the value of k one sample before that which is the target of determination of whether or not an extreme value is indicated in the process of S902.

kが正の場合(S902:Y)、手前確度rlが左手前らしさを示しているかどうか確認する(S903)。本実施形態では、手前確度rlの値が正の場合に左手前の確度が高く、手前確度rlの値が負の場合は右手間の確度が高いとする。一例として、手前確度rlの値は、その初期値を0とし、S905〜S911の処理により変動する。S903において、手前確度rlが0以上、すなわち左手前らしいのであれば、手前確度rlに値N4を加算する(S904)。本実施形態では、S905、S906の処理により手前確度rlが値N5より大きくならないよう制限している。   If k is positive (S902: Y), it is checked whether or not the near accuracy rl indicates the likeness to the left (S903). In this embodiment, it is assumed that the accuracy in front of the left hand is high when the value of the front accuracy rl is positive, and the accuracy between the right is high when the value of the front accuracy rl is negative. As an example, the value of the previous certainty rl is set to 0 as its initial value, and fluctuates by the processing of S905 to S911. In S903, if the near accuracy rl is 0 or more, that is, it seems to be the front left, the value N4 is added to the near accuracy rl (S904). In the present embodiment, the preceding accuracy rl is limited so as not to be larger than the value N5 by the processing of S905 and S906.

一方、kが正の値で手前確度rlが負の値、すなわち右手前らしさを表している場合(S902:Y、S903:N)、手前確度rlを2分の1にする(S907)。なお、kが負の値の場合も(S902:N)、図23Aに示すように、加算と減算、手前確度rlを−N5と比較する等の違いはあるものの、S903〜S907と同様の処理をする(S907〜S911)。S906、S907、S911の処理の後、処理はS912に進められる。さらに、S912の処理の後、処理はS913に進められる。   On the other hand, when k is a positive value and the near accuracy rl is a negative value, that is, the right-hand front likelihood (S902: Y, S903: N), the near accuracy rl is halved (S907). Even when k is a negative value (S902: N), as shown in FIG. 23A, processing is the same as S903 to S907 although there is a difference such as addition and subtraction, and comparison accuracy rl to -N5. (S907 to S911). After the processes of S906, S907, and S911, the process proceeds to S912. Furthermore, after the process of S912, the process proceeds to S913.

S913〜S917では、手前確度rlを所定の閾値と比較し、手前確度rlが所定の閾値より大きければ(S913:Y)、左手前であると判定する(S917)。また、手前確度rlにマイナスを付した値−rlが所定の閾値より小さければ(S914:Y)、右手前であると判定する(S916)。さらに、S913、S914において手前確度rlの値が所定の閾値よりも大きくもなく、−rlが所定の閾値よりも小さくもなければ、手前は不確定であると判定する(S915)。   In S913 to S917, the near accuracy rl is compared with a predetermined threshold, and if the near accuracy rl is larger than the predetermined threshold (S913: Y), it is determined that the left hand is in front (S917). In addition, if the value -rl obtained by adding minus to the previous accuracy rl is smaller than the predetermined threshold (S914: Y), it is determined that the right hand is in front (S916). Furthermore, in S913 and S914, if the value of the near certainty rl is not greater than the predetermined threshold and -rl is not less than the predetermined threshold, it is determined that the near is indeterminate (S915).

図23に、本実施形態における手前判定の実験結果を示す。701及び702のグラフ
は、加速度センサのセンサ出力の時間変化を示す。また、703及び704のグラフは、角速度センサのセンサ出力の時間変化を示す。さらに、705、706は、図20に示す処理によって得られた上下方向の軸周りの角速度γと上下方向の振動成分ベクトルの大きさδを示す。なお、図23に示すように、γとδの値の時間変化が705のグラフでは逆位相に、また、706のグラフでは同位相になっている。さらに、707及び708のグラフは、それぞれ手前確度rlの時間変化を示し、707のグラフでは時間経過とともに手前確度rlが小さくなり、708のグラフでは時間経過とともに手前確度rlが大きくなっている。
FIG. 23 shows an experimental result of the front determination in the present embodiment. The graphs 701 and 702 show the time change of the sensor output of the acceleration sensor. Also, the graphs 703 and 704 show the time change of the sensor output of the angular velocity sensor. Furthermore, 705 and 706 indicate the angular velocity γ around the vertical axis and the magnitude δ of the vertical vibration component vector obtained by the process shown in FIG. As shown in FIG. 23, the time change of the values of γ and δ is in the opposite phase in the graph of 705 and in the phase of 706. Furthermore, the graphs 707 and 708 show the time change of the near accuracy rl, respectively. In the graph 707, the near accuracy rl decreases as time passes, and in the 708 graph, the near accuracy rl increases as time passes.

図23に示すように、時刻709又は710において、S913又はS914において手前確度rlが閾値711又は712を越え(S913:Y又はS914:Y)、それぞれ右手前、左手前と判定されている。そして、その後時刻713、714において、705又は706のグラフから分かるようにγとδの位相差が安定しなくなり、このため手前確度が低くなってS913〜S915の処理により手前が不確定と判定されている。   As shown in FIG. 23, at time 709 or 710, the near accuracy rl exceeds the threshold 711 or 712 in S913 or S914 (S913: Y or S914: Y), and it is determined that the right front and the left front, respectively. After that, at times 713 and 714, as can be seen from the graphs 705 and 706, the phase difference between γ and δ is not stable, and therefore the near accuracy decreases, and it is determined that the near is uncertain by the processing of S913 to S915. ing.

ところで、例えば、上記の第1の実施形態のサブマイコン104について、ピッチ軸周りの角速度に関連した情報とロール軸周りの角速度に関連した情報を算出する回路として、図24に示す回路を採用することもできる。図24に示すように、サブマイコン104は、LPF1004a、バンドパスフィルタ(BPF)1004b、内積演算処理部1004c、1004h、1004j、1004p、1004q、外積演算処理部1004d、1004i、乗算部1004e、1004l、1004n、1004o、符号判定部1004g、1004m、移相フィルタ1004kを有する。ここでは、図24に示す回路の主な特徴について説明する。内積演算処理部1004cからはユーザの上下方向の加速度ベクトルの大きさが出力される。また、内積演算処理部1004jからはユーザの前後方向の加速度ベクトルの大きさが出力される、内積演算処理部1004cの出力に対して移相フィルタ1004kにより所定量位相をずらし、乗算部1004lで内積演算処理部1004jの出力と乗算することで、符号判定部1004mにより、ユーザの前後方向のベクトルK及び左右方向のベクトルHの正負を決定することができる。   By the way, for example, the circuit shown in FIG. 24 is adopted as a circuit for calculating information related to the angular velocity around the pitch axis and information related to the angular velocity around the roll axis in the sub-microcomputer 104 of the first embodiment. It can also be done. As shown in FIG. 24, the sub-microcomputer 104 includes an LPF 1004a, a band pass filter (BPF) 1004b, an inner product calculation processing unit 1004c, 1004h, 1004j, 1004p, 1004q, an outer product calculation processing unit 1004d, 1004i, a multiplication unit 1004e, 10041, 1004 n, 1004 o, sign determination units 1004 g, 1004 m, and phase shift filter 1004 k. Here, main features of the circuit shown in FIG. 24 will be described. The magnitude of the acceleration vector in the vertical direction of the user is output from the inner product calculation processing unit 1004 c. Further, the magnitude of the acceleration vector of the user in the back and forth direction is output from the inner product calculation processing unit 1004 j, and the phase shift filter 1004 k shifts the phase by a predetermined amount with respect to the output of the inner product calculation processing unit 1004 c. By multiplying the output of the arithmetic processing unit 1004 j, the sign determination unit 1004 m can determine the positive / negative of the vector K in the front-rear direction of the user and the vector H in the left-right direction.

したがって、乗算部1004nからは左ベクトルLが、乗算部1004oからは前ベクトルFが得られる。なお、図24に示す回路の初期値次第では、乗算部1004nからは右ベクトルが、乗算部1004oからは後ろベクトルがそれぞれ得られる。さらに、これらのベクトルと角速度センサ111のセンサ出力との内積を求めることで、内積演算処理部1004p、1004qからは、回転方向が確定したピッチ軸周りの角速度に関連した情報とロール軸周りの角速度に関連した情報がそれぞれ出力される。   Therefore, the left vector L is obtained from the multiplication unit 1004n, and the front vector F is obtained from the multiplication unit 1004o. Note that depending on the initial value of the circuit shown in FIG. 24, the right vector is obtained from the multiplication unit 1004n, and the subsequent vector is obtained from the multiplication unit 1004o. Further, by obtaining the inner product of these vectors and the sensor output of the angular velocity sensor 111, from the inner product calculation processing units 1004p and 1004q, information related to the angular velocity around the pitch axis whose rotational direction is determined and the angular velocity around the roll axis Information related to each is output.

(第4の実施形態)
次に、第4の実施形態について説明する。牛や馬等の産業動物を飼育する上では、それらの健康管理が重要視される。特に、四脚動物の場合は、各脚の健康状態を把握することが求められる。例えば、一脚の具合が悪い場合、その動物の歩行や走行における歩調や体のバランスが悪くなり、その動物の歩行状態が跛行とみなされることがある。例えば、牛の跛行は、蹄が痛む蹄病が原因であることが多く、乳牛であれば、跛行により生乳の産出量が減少する可能性がある。また、例えば、馬の跛行は、前脚の腱が痛む屈腱炎が原因であることが多く、競走馬であれば、出走できない事態を招く可能性がある。そのため、四脚の産業動物の飼育においては、跛行から脚の異常を早期に発見し、迅速な対策を行うことが求められている。
Fourth Embodiment
Next, a fourth embodiment will be described. When breeding industrial animals such as cows and horses, their health management is regarded as important. In the case of tetrapods in particular, it is required to grasp the health status of each leg. For example, when the condition of one leg is bad, the walking condition or the balance of the body in walking or running of the animal becomes bad, and the walking condition of the animal may be regarded as crawling. For example, the lameness of cattle is often caused by gonorrhea that causes sore, and in the case of a dairy cow, lameness may reduce the yield of raw milk. Also, for example, the coasting of a horse is often caused by a tendonitis in which the tendon of the forelimbs aches, and if it is a racehorse, it may lead to a situation where it can not run. Therefore, in rearing four-legged industrial animals, it is required to detect abnormalities of the legs early from the lame line and to take prompt measures.

近年の研究では、例えば馬の歩容を数値化することを狙いとして、規則性と対称性という2つの評価基準を用いることが提唱されている。例えば、馬の歩行状態がトロットである場合に馬体の上下加速度を利用して規則性と対称性を判定する。トロットとは右前脚と
左後脚、左前脚と右後脚が対となって歩行する状態を指す。この時の前脚についての上下加速度の変化を時系列に表すと、図25のようになる。図中、脚の動きと1つの波の周期とが連動しているため、各周期の波は、支持脚が右、左、右、左と交互に代わっていることを示している。そこで、図26に示すように、隣り合う周期間における波(1歩前と2歩前の波)の相関値を対称性、1周期離れた周期間における波(1歩前と3歩前の波)の相関値を規則性と定義する。
In recent research, it has been proposed to use two evaluation criteria, regularity and symmetry, for the purpose of quantifying the horse's gait, for example. For example, when the walking state of a horse is a trot, regularity and symmetry are determined using the vertical acceleration of the horse's body. The term "trot" refers to a state in which the right front leg and the left rear leg, and the left front leg and the right rear leg make a pair and walk. The change in vertical acceleration of the front leg at this time is represented in time series as shown in FIG. In the figure, since the movement of the leg and the period of one wave are linked, the wave of each period indicates that the support leg alternates between right, left, right, and left. Therefore, as shown in FIG. 26, the correlation value of waves (waves of one and two steps before) between adjacent periods is symmetrical, and waves between periods separated by one period (one and three steps before). Wave) correlation value is defined as regularity.

図26において、規則性および対称性を算出する相関演算は、波の周期が一定でないために単純に一定間隔で上下加速度をサンプリングするだけでは適切に実行できず、次のような算出方法を採用する。上下加速度のサンプリングにおいてiサンプル前の値をxiとして(iは自然数)、以下の式(11)によりA(m)を計算する。
In FIG. 26, the correlation calculation for calculating regularity and symmetry can not be properly executed simply by sampling the vertical acceleration at a constant interval simply because the wave period is not constant, and the following calculation method is adopted Do. In sampling of the vertical acceleration, A (m) is calculated by the following equation (11), assuming that the value before i samples is xi (i is a natural number).

ここでNはサンプリング数である。A(m)は、現在時間におけるサンプルとmサンプルだけ過去に遡った時間におけるサンプルとの相関値を意味する。そのため、横軸にm、縦軸にA(m)を取ったグラフを描くと、図27のように、m=0において山から始まり谷、山、谷・・・と続く形状となる。図27において、m=0の最初の山は、自サンプルとの相関である。また、図27のグラフの1つ目と2つ目の山のピークにおけるmをそれぞれs、rとすると、A(s)、A(r)は、それぞれ図26における1周期前の波との相関、2周期前の波との相関となる。ここでA(m)の値の大きさは、波の振幅によって変化するため、対称性をA(s)/A(0)、規則性をA(r)/A(0)と定義する。ここで、あるサンプルと他のサンプルとの相関値は、自サンプルとの相関における相関値より高くなることはないため、原理上これらの定義された値は1以下の値となる。   Here, N is the number of samplings. A (m) means the correlation value between the sample at the current time and the sample at a time retroactive to the past by m samples. Therefore, when a graph in which m is taken on the horizontal axis and A (m) is taken on the vertical axis, the shape starts from the mountain at m = 0 and continues to the valley, the mountain, the valley. In FIG. 27, the first peak of m = 0 is the correlation with the own sample. Further, assuming that m in the first and second peaks of the graph in FIG. 27 is s and r, respectively, A (s) and A (r) respectively correspond to the wave of one cycle before in FIG. The correlation is the correlation with the wave two cycles earlier. Here, the magnitude of the value of A (m) changes with the amplitude of the wave, so the symmetry is defined as A (s) / A (0) and the regularity as A (r) / A (0). Here, since the correlation value between a certain sample and another sample does not become higher than the correlation value in the correlation with the own sample, in principle these defined values become 1 or less.

ところで、この演算方法にはいくつかの問題点がある。1つ目の問題は、計算量が多いことである。例えばN=100とすると、1回の相関演算を行うにあたりA(0)を算出する計算を100回、A(1)を算出する計算を99回・・・と、合計で5050回の計算を行う。そして、馬の歩容判定においては、一歩ごとに相関演算を繰り返すため、演算に伴う処理負荷が大きい。2つ目の問題は、波の周期に対して十分に短い間隔でサンプリングしないと、規則性および対称性の値の算出において局所的な誤差が大きくなることである。例えば、図27において、N=7であり、データ列がx1、x2・・・x7がそれぞれ1、0、−2、0、2、0、−2であるとする。このとき、A(0)は、(1+0+4+0+4+0+4)/7=13/7、すなわち約1.86である。一方、A(4)は(2+0+4)/(7−4)=6/3=2となりA(0)よりも大きな値となる。   By the way, this calculation method has some problems. The first problem is that the amount of calculation is large. For example, assuming that N = 100, calculation of A (0) is calculated 100 times for performing one correlation operation, calculation of A (1) is calculated 99 times, etc., for a total of 5050 calculations Do. And in the gait determination of a horse, in order to repeat correlation calculation for every one step, the processing load accompanying calculation is large. The second problem is that local errors in calculating the values of regularity and symmetry become large if sampling is not performed at sufficiently short intervals with respect to the wave period. For example, in FIG. 27, it is assumed that N = 7 and the data strings x1, x2,..., X7 are 1, 0, -2, 0, 2, 0, -2, respectively. At this time, A (0) is (1 + 0 + 4 + 0 + 4 + 0 + 4) / 7 = 13/7, that is, about 1.86. On the other hand, A (4) is (2 + 0 + 4) / (7-4) = 6/3 = 2, which is a larger value than A (0).

図28はある馬の歩行データについて、N=80として1歩ごとの規則性および対称性を演算した結果を示すグラフである。1歩あたりの取得サンプル数は約20サンプルである。図28のグラフでは、点線で囲んだ領域(A)が示すように、規則性の相関値が100%を越える部分がある。また、規則性および対称性について、サンプルがグラフ全体に分散しているため、どのサンプルが正常であるかを判定するのが難しい。ところで、この問題は、サンプリング間隔を短くして、例えば1歩の間の取得サンプル数を200サンプルとし、Nの値としてより大きな値、例えば1000を設定することで改善することができる。ただし、このようにサンプリング間隔を短くしてNに大きな値を設定すると、サンプリングに使用される馬の歩行状態を検知するセンサについては、データ採取ループの処理の高速化が求められ、上記の相関演算の計算量はNの値が大きくなるにつれて増加する。例えば、N=1000とした場合は、約50万回の相関演算が実行されるものと推定さ
れる。
FIG. 28 is a graph showing the results of calculating the regularity and symmetry for each step with N = 80 for the walking data of a horse. The number of acquired samples per step is about 20 samples. In the graph of FIG. 28, there is a portion where the correlation value of regularity exceeds 100%, as indicated by the area (A) surrounded by a dotted line. Also, for regularity and symmetry, it is difficult to determine which samples are normal because the samples are distributed throughout the graph. By the way, this problem can be solved by shortening the sampling interval, for example, setting the number of acquired samples in one step to 200 samples and setting a larger value, for example, 1000, as the value of N. However, if the sampling interval is thus shortened and a large value is set to N, for the sensor that detects the walking state of the horse used for sampling, the processing speed of the data collection loop is required, and the above correlation The computational complexity of the operation increases as the value of N increases. For example, in the case of N = 1000, it is estimated that about 500,000 correlation operations are performed.

そこで、本実施形態では、1歩ごとの上下加速度の波形ではなく、1歩ごとの運動エネルギを比較する。例えば、現在からn歩前の運動エネルギをE(n−1)とすると、対称性を示す値は1歩前の運動エネルギ(E(0))と2歩前の運動エネルギ(E(1))の比、規則性を示す値は1歩前と3歩前(E(2))の比として求められる。ここで、各歩の運動エネルギの小さい方を分母にすることで比は1以上の値として求められる。また、運動エネルギは、速度をv、物体の質量をmとしてmv/2で与えられる。本実施形態においては、α歩前の速度をvαとβ歩前の速度をvβとしたときに、α歩前とβ歩前とでの運動エネルギの比E(α)/E(β)は、(mvα /2)/(mvβ /2)=vα /vβ で与えられる。 So, in this embodiment, not the waveform of vertical acceleration per step but kinetic energy per step is compared. For example, assuming that the kinetic energy n steps before the current is E (n-1), the value indicating symmetry is the kinetic energy one step before (E (0)) and the kinetic energy two steps ago (E (1) The ratio of) and the value indicating regularity are obtained as a ratio of one step before and three steps before (E (2)). Here, the ratio is obtained as a value of 1 or more by using the smaller one of the kinetic energy of each step as the denominator. Further, kinetic energy, the velocity v, is given by mv 2/2 the mass of the object as m. In this embodiment, assuming that the velocity before α step is v α and the velocity before β step is v β , the ratio E (α) / E (β) of kinetic energy between α step and β step before ) is given by (mv α 2/2) / (mv β 2/2) = v α 2 / v β 2.

そして、運動エネルギは上下加速度のグラフと時間軸とで囲まれる領域の面積の2乗和であるから、本実施形態においては、1歩ごとの上下加速度の積分値の2乗の比を求めれば、各歩間の運動エネルギの比が求められる。なお、図29のグラフに示すように、1歩ごとの上下加速度は時間軸を中心として正および負の値を取る。したがって、1歩ごとの運動エネルギは、上向きの運動エネルギと下向きの運動エネルギの和であるから、上向きの速度および下向きの速度の2乗和を求めればよい。   And since kinetic energy is the sum of squares of the area of the area surrounded by the graph of vertical acceleration and the time axis, in the present embodiment, the ratio of the square of the integral value of vertical acceleration per step is determined The ratio of kinetic energy between each step is determined. As shown in the graph of FIG. 29, the vertical acceleration at each step takes positive and negative values with respect to the time axis. Therefore, since the kinetic energy for each step is the sum of the upward kinetic energy and the downward kinetic energy, it is sufficient to find the sum of squares of the upward velocity and the downward velocity.

ここで、歩行状態を表す運動エネルギの速度は加速度を積分することにより得られる。図30Aにおいて、領域A、Bの面積はそれぞれ速度を示す。領域Aの面積≒領域Bの面積と近似することができるので、AまたはBを2乗することで歩行における運動エネルギを表すこととしてもよい。ただし、A+Bを歩行状態における一歩における速度として用いて運動エネルギを表現する方が、AまたはBの一方を用いる場合よりも速度の値が平均化される。また、本実施形態では、馬の歩行の規則性と対称性を評価するにあたり、運動エネルギの比が閾値を超えているか否かを判定する。したがって、速度の2乗の値を求めなくとも速度自体の比を求めればよい。例えば、VとVがともに正あるいは負であるという前提で、V /V が2以上か否かを判定することは、V/Vが2の平方根以上か否かを判定することと等価である。そこで、本実施形態では、図30Bに示すように、現在から1歩前、2歩前、3歩前の速度の2乗和をそれぞれS1、S2、S3として、対称性の値をS2/S1(S2>S1の場合)またはS1/S2(S1>S2の場合)、規則性の値をS3/S1(S3>S1の場合)またはS1/S3(S1>S3の場合)と定義する。なお、速度の2乗和であるS1、S2、S3のそれぞれは、現在から1歩前、2歩前、3歩前の運動エネルギに比例する値である。また、速度の2乗和が運動エネルギを示す値の一例に相当する。 Here, the velocity of kinetic energy representing the walking state is obtained by integrating the acceleration. In FIG. 30A, the areas of the regions A and B indicate speeds. Since the area of the region A can be approximated to the area of the region B, kinetic energy in walking may be represented by squaring A or B. However, expressing kinetic energy using A + B as the velocity in one step in the walking state averages the velocity values more than using either A or B. Further, in the present embodiment, in evaluating the regularity and symmetry of the walking of the horse, it is determined whether the ratio of kinetic energy exceeds the threshold value. Therefore, the ratio of the velocity itself may be determined without determining the value of the velocity squared. For example, assuming that V 1 and V 2 are both positive or negative, that V 1 2 / V 2 2 to determine whether 2 or more, whether V 1 / V 2 is the square root of 2 or more Equivalent to determining. Therefore, in the present embodiment, as shown in FIG. 30B, the sum of squares of the speeds one step before, two steps before, and three steps before is S1, S2, and S3, respectively, and the symmetry value is S2 / S1. (S2> S1) or S1 / S2 (S1> S2), the value of regularity is defined as S3 / S1 (S3> S1) or S1 / S3 (S1> S3). In addition, each of S1, S2, and S3 which are the sum of squares of speed is a value proportional to the kinetic energy one step before, two steps before, and three steps before from the present. Also, the sum of squares of the velocity corresponds to an example of a value indicating kinetic energy.

次に、図31を参照しながら、本実施形態における、計測端末300、計測端末300と通信を行う騎手端末400、馬場装置500、馬場内端末600について説明する。計測端末300は、3軸加速度センサ301、表示装置302、通信装置303、サブマイコン304を有する。計測端末300が、計測装置の一例に相当する。   Next, with reference to FIG. 31, the measurement terminal 300, the jockey terminal 400 that communicates with the measurement terminal 300, the Baba apparatus 500, and the in-bare terminal 600 according to this embodiment will be described. The measurement terminal 300 includes a three-axis acceleration sensor 301, a display device 302, a communication device 303, and a sub-microcomputer 304. The measuring terminal 300 corresponds to an example of a measuring device.

3軸加速度センサ301は、上記の実施形態でも用いられるMEMS(Micro Electro Mechanical Systems)センサである。3軸加速度センサ301は、計測端末300が装着される馬の運動に伴う3次元空間の加速度を測定し、加速度データとして出力する。3軸加速度センサ301による測定データは、インタフェイス304aを経由してCPU304bに送られる。表示装置302は、CPU304bから受け取ったデータを表示する。通信装置303は、CPU304bの処理結果として得られるデータを、例えば無線通信によって騎手端末400、馬場装置500、馬場内端末600にそれぞれ送信する。なお、通信装置303の通信方式は、使用環境に応じて有線や短距離無線等、適宜採用することができる。   The three-axis acceleration sensor 301 is a MEMS (Micro Electro Mechanical Systems) sensor which is also used in the above embodiment. The three-axis acceleration sensor 301 measures the acceleration of the three-dimensional space accompanying the motion of the horse on which the measurement terminal 300 is mounted, and outputs it as acceleration data. Data measured by the three-axis acceleration sensor 301 is sent to the CPU 304 b via the interface 304 a. The display device 302 displays the data received from the CPU 304 b. The communication device 303 transmits the data obtained as the processing result of the CPU 304 b to the jockey terminal 400, the horse station device 500, and the horse terminal 600, for example, by wireless communication. Note that the communication method of the communication device 303 can be appropriately adopted such as wired communication or short distance wireless communication according to the use environment.

サブマイコン304は一般的なサブマイコンであり、CPU304bには、不揮発性メモリであるメインメモリ304cおよび揮発性メモリであるフラッシュメモリ304dが接続されている。また、CPU304bは、インタフェイス304aを介して3軸加速度センサ301、表示装置302、通信装置303とデータの送受信を行う。CPU304bは、3軸加速度センサ301から3次元空間の加速度データを受け取り、歩数や歩容等とともに上記の規則性および対称性の値を計算する。CPU304bによる処理結果は、メインメモリ304cに保存された後、リアルタイムあるいは任意のタイミングで通信装置303を経由して外部の騎手端末400、馬場装置500、馬場内装置600等に出力される。   The sub-microcomputer 304 is a general sub-microcomputer, and a main memory 304c which is a non-volatile memory and a flash memory 304d which is a volatile memory are connected to the CPU 304b. Further, the CPU 304 b transmits and receives data to and from the three-axis acceleration sensor 301, the display device 302, and the communication device 303 via the interface 304 a. The CPU 304 b receives acceleration data in a three-dimensional space from the three-axis acceleration sensor 301, and calculates the values of the regularity and symmetry described above, as well as the number of steps and gait. The processing result by the CPU 304b is stored in the main memory 304c, and then output to the external jockey terminal 400, the horse station device 500, the in-door device 600, etc. via the communication device 303 in real time or at any timing.

リアルタイムの出力としては、以下に説明するようにCPU304bによって現在の馬の歩行状態、すなわち規則性又は対称性が異常であるとみなされたときに、計測端末300から当該馬に騎乗中の騎手が携帯する騎手端末400に対して、メッセージ等を送信する場合が挙げられる。この場合、騎手端末400は当該メッセージ等を受信すると、馬の歩行に異常が発生していることを、警告装置401を通して、振動や音や光等で騎手に伝える。同様に、馬の歩行に異常が発生していることを、馬場内に設置された馬場装置500の警告灯501や馬場内端末600の表示装置601を介して、騎乗中の騎手や調教師等に知らせてもよい。   As real-time output, the jockey who is riding on the horse from the measuring terminal 300 when the current walking state of the horse, that is, regularity or symmetry is regarded as abnormal by the CPU 304b as described below There is a case where a message or the like is transmitted to the jockey terminal 400 to be carried. In this case, when the jockey terminal 400 receives the message or the like, it notifies the fact that an abnormality has occurred in the horse's walking through the warning device 401 by vibration, sound, light or the like. Similarly, a jockey or trainer who is riding a horse through the warning light 501 of the Baba apparatus 500 installed in the Baba or the display device 601 of the in-bare terminal 600 that an abnormality has occurred in the walking of the horse. You may let

なお、リアルタイムの通知を行わない場合は、計測端末300から受信した上記のメッセージ等を記憶装置602にログとして保存し、ユーザが馬場内端末600を操作したとき等任意のタイミングで馬の歩行状態に関する情報を提供することもできる。なお、ログは馬場内端末600に限らず、計測端末300、騎手端末400、馬場装置500、馬場内端末600と接続可能な任意のサーバに格納する構成としてもよい。   In addition, when the notification in real time is not performed, the above-described message received from the measuring terminal 300 is stored as a log in the storage device 602, and the walking state of the horse at an arbitrary timing such as when the user operates the in-yard terminal 600. It can also provide information on The log is not limited to the in-yard terminal 600, but may be stored in any server that can be connected to the measurement terminal 300, the jockey terminal 400, the Baba apparatus 500, and the in-baar terminal 600.

本実施形態では、計測端末300のメインメモリ304cに記憶されているアプリケーション等が、CPU304bによって実行される。このようなアプリケーション等の実行により、図32に示すように、計測端末300は、歩容特定部3001、歩容判定部3002、運動エネルギ値算出部3003、運動エネルギ比算出部3004として機能する。ただし、歩容特定部3001、歩容判定部3002、運動エネルギ値算出部3003、運動エネルギ比算出部3004のいずれか1つ以上が、ハードウェア回路であってもよい。   In the present embodiment, the application or the like stored in the main memory 304 c of the measurement terminal 300 is executed by the CPU 304 b. As shown in FIG. 32, the measurement terminal 300 functions as a gait identification unit 3001, a gait determination unit 3002, a kinetic energy value calculation unit 3003, and a kinetic energy ratio calculation unit 3004 by execution of such an application or the like. However, one or more of the gait identification unit 3001, the gait determination unit 3002, the kinetic energy value calculation unit 3003, and the kinetic energy ratio calculation unit 3004 may be a hardware circuit.

歩容特定部3001は、3軸加速度センサ301から取得した加速度データを用いて計測端末300が装着された馬の歩容を特定する。歩容判定部3002は、歩容特定部3001により特定された歩容を用いて馬の右前脚と左後脚、左前脚と右後脚の移動がそれぞれ対になっているか否か、すなわちトロット中であるか否かを判定する。運動エネルギ値算出部3003は、3軸加速度センサ301から取得した加速度データを用いて、取得した加速度データの時間変化における連続する3つの周期について、周期ごとの速度、すなわち運動エネルギを示す値を算出する。運動エネルギ比算出部3004は、運動エネルギ値算出部3003により算出された速度を用いて、連続する3つの周期における隣り合う周期間の速度の比と1周期離れた周期間の速度の比を算出する。なお、これら周期間の速度の比が運動エネルギの比の一例に相当する。各部の処理の詳細については後述する。   The gait identification unit 3001 identifies the gait of the horse on which the measurement terminal 300 is mounted, using the acceleration data acquired from the three-axis acceleration sensor 301. The gait determination unit 3002 uses the gait identified by the gait identification unit 3001 to determine whether the movements of the right front leg and the left rear leg and the left front leg and the right rear leg of the horse are paired, that is, the trot It is determined whether or not it is medium. The kinetic energy value calculation unit 3003 uses the acceleration data acquired from the three-axis acceleration sensor 301 to calculate a value indicating the velocity of each period, that is, kinetic energy, for three consecutive periods in the time change of the acquired acceleration data. Do. The kinetic energy ratio calculation unit 3004 uses the velocity calculated by the kinetic energy value calculation unit 3003 to calculate the ratio of the velocity between adjacent periods in three consecutive periods and the ratio of the velocity between the periods separated by one period Do. In addition, the ratio of the velocity between these periods corresponds to an example of the ratio of kinetic energy. Details of processing of each part will be described later.

次に、図33のフローチャートを参照しながら、本実施形態においてCPU304bが実行する処理について説明する。なお、以下の説明において、上下加速度aは、前回の上下加速度の計算処理において図33に示すフローチャートの処理を実行したときに得られた上下加速度の値を意味する。また、上下加速度aは、現在の上下加速度の計算処理において図33に示すフローチャートの処理を実行したときに得られた上下加速度の値を意味する。 Next, processing executed by the CPU 304 b in the present embodiment will be described with reference to the flowchart in FIG. In the following description, the vertical acceleration a 0 means the value of vertical acceleration obtained when executing the processing of the flowchart shown in FIG. 33 in the calculation process of the previous vertical acceleration. Further, the vertical acceleration a means the value of the vertical acceleration obtained when the processing of the flowchart shown in FIG. 33 is executed in the calculation processing of the current vertical acceleration.

S1101において、CPU304bは、3軸加速度センサ301による測定値に基づいて、計測端末300が装着されている馬の上下加速度aを計算する。次いで、処理はS1102に進められる。S1102では、CPU304bは、前回の計算により得られた上下加速度aと今回のS1101における計算により得られる上下加速度aの積が負の値となるか否かを判定する。S1102の処理により、前回の計算から今回の計算の間に上下加速度の値が0となったか否かがわかる。すなわち、aとaの積が負の値を取る場合、上下加速度が正から負あるいは負から正に変わったことを意味する。また、aとaの積が正の値を取る場合、上下加速度の正負は正あるいは負のままで変わらないことを意味する。S1102において、aとaの積が負の値を取る場合は(S1102:Yes)、処理はS1105に進められる。また、S1102において、aとaの積が負の値を取らない場合は(S1102:No)、処理はS1103に進められる。 In S1101, the CPU 304b calculates the vertical acceleration a of the horse on which the measurement terminal 300 is mounted, based on the measurement value of the three-axis acceleration sensor 301. Then, the process proceeds to S1102. In S1102, CPU304b determines whether the product of the vertical acceleration a obtained by the calculation in the vertical acceleration a 0 and the current S1101 obtained by the previous calculation is a negative value. By the process of S1102, it is known whether the value of the vertical acceleration has become 0 between the previous calculation and the current calculation. That is, when the product of a 0 and a takes a negative value, it means that the vertical acceleration changes from positive to negative or from negative to positive. Also, when the product of a 0 and a takes a positive value, it means that the positive and negative of the vertical acceleration remain positive or negative. In S1102, if the product of a 0 and a takes a negative value (S1102: Yes), the process advances to S1105. Further, in S1102, if the product of a 0 and a does not take a negative value (S1102: No), the process advances to S1103.

S1103において、CPU304bは、上下加速度の積分値SにS1101において計算された上下加速度の値aを加算する。上記の通り、上下加速度の時間変化において、半周期が半歩に対応している。したがって、上下加速度が正から負あるいは負から正に切り替わるまでの上下加速度の累積和を求めることで、上下加速度の半周期における積分値の値が求まる。S1103の処理が完了すると、処理はS1104に進められる。   In S1103, the CPU 304b adds the value a of the vertical acceleration calculated in S1101 to the integral value S of the vertical acceleration. As described above, the half cycle corresponds to the half step in the time change of the vertical acceleration. Therefore, the value of the integral value in the half cycle of the vertical acceleration can be obtained by obtaining the cumulative sum of the vertical acceleration until the vertical acceleration switches from positive to negative or negative to positive. When the process of S1103 is completed, the process proceeds to S1104.

S1105において、CPU304bは、S1101で計算した上下加速度を用いて第2の実施形態と同様の処理を行うことで、計測端末300が装着されている馬の歩行判定、歩容判定、歩数計測の各処理を行う。S1105の処理が実行されることにより、当該馬が現在トロット中であるか否かもわかる。次いで処理は、S1106に進められる。   In S1105, the CPU 304b performs the same processing as that of the second embodiment using the vertical acceleration calculated in S1101 to determine the gait determination, gait determination, and step count measurement of the horse on which the measurement terminal 300 is mounted. Do the processing. By executing the processing of S1105, it is also possible to know whether the horse is currently in the trot. The process then proceeds to S1106.

S1106において、CPU304bは、S1101で計算した上下加速度aが0より大きい値であるか否かを判定する。上下加速度aが0より小さい値である場合は(S1106:No)、処理はS1107に進められる。S1107において、CPU304bは、1歩前の速度の2乗和S1に、上下加速度の累積和Sの2乗を格納する。本実施形態において、上下加速度aが0より小さい値、すなわち負の値に切り替わったことは、馬の1歩における前半の半周期が完了したとみなすことができる。そこで、本実施形態では、S1106、S1107の処理により、馬の1歩における前半の半周期分の速度をS1として算出する。次いで処理はS1108に進められ、上下加速度の累積和Sの値として現在の上下加速度aの値が格納される。さらに処理はS1104に進められ、前回の計算により得られた上下加速度aに、現在の上下加速度aの値が格納される。これにより、馬の1歩における後半の半周期分の速度を計算する準備が整う。 In step S1106, the CPU 304b determines whether the vertical acceleration a calculated in step S1101 is greater than zero. If the vertical acceleration a is smaller than 0 (S1106: No), the process proceeds to S1107. In S1107, the CPU 304b stores the square of the cumulative sum S of the vertical accelerations in the square sum S1 of the speed one step before. In the present embodiment, the fact that the vertical acceleration a is switched to a value smaller than 0, that is, a negative value can be regarded as completion of the first half of the cycle in one step of the horse. Therefore, in the present embodiment, the speed of the first half of the cycle in one step of the horse is calculated as S1 by the processing of S1106 and S1107. Next, the process proceeds to S1108, where the current value of the vertical acceleration a is stored as the value of the cumulative sum S of vertical accelerations. Further process advances to S1104, the vertical acceleration a 0 obtained by the previous calculation, the current value of the vertical acceleration a is stored. This is ready to calculate the speed for the second half of the horse's one-step cycle.

本実施形態において、S1101〜S1104の処理は所定の時間間隔で繰り返し実行される。したがって、S1106、S1107により馬の1歩における前半の半周期分の速度が計算されてS1108、S1104の処理が完了した後、CPU304bはS1101の処理を再び実行する。そして、S1102〜S1104が繰り返し実行されることで、馬の1歩における後半の半周期における上下加速度の累積和Sが計算される。馬の歩行の1周期における後半の半周期が完了すると、S1101で計算される上下加速度aの値は負から正に切り替わる。したがって、処理は、S1102からS1105、S1106、S1109へと進められる。   In the present embodiment, the processing of S1101 to S1104 is repeatedly performed at predetermined time intervals. Therefore, after the speed for the first half of the horse in one step is calculated by S1106 and S1107, and the processing of S1108 and S1104 is completed, the CPU 304b executes the processing of S1101 again. Then, by repeatedly executing S1102 to S1104, the cumulative sum S of the vertical accelerations in the second half period in one step of the horse is calculated. When the second half of the horse's walking cycle is completed, the value of the vertical acceleration a calculated in S1101 switches from negative to positive. Therefore, the process proceeds from S1102 to S1105, S1106, and S1109.

S1109では、S1105における歩容判定の結果に基づいて、馬の現在の歩容がトロットであるか否かを判定する。一般に、馬の歩容において、トロット以外の歩容では、上記の対称性について非対称であることが正常の歩容であると考えられている。そこで、本実施形態においては、S1109において、馬の現在の歩容がトロットであると判定された場合に、CPU304bは、図33に示すS1111以降の処理を実行する。現在の
歩容がトロットでないと判定された場合は(S1109:No)、処理はS1110に進められる。S1110において、CPU304bは、1歩前〜3歩前の速度の2乗和S1、S2、S3の値を0にする。
In S1109, based on the result of the gait determination in S1105, it is determined whether the current gait of the horse is a trot. Generally, in the gait of a horse, in the gait other than trot, it is considered to be normal gait that the above-mentioned symmetry is asymmetric. Therefore, in the present embodiment, when it is determined in S1109 that the current gait of the horse is a trot, the CPU 304b executes the processing of S1111 and subsequent steps shown in FIG. If it is determined that the current gait is not a trot (S1109: No), the process proceeds to S1110. In S1110, the CPU 304b sets the value of the sum of squares S1, S2, and S3 of the speeds one to three steps before to 0.

現在の歩容がトロットであると判定された場合は(S1109:Yes)、処理はS1111に進められる。S1111では、1歩前の速度の2乗和S1に、上下加速度の累積和Sの2乗を加算する。上記の通りS1107において、馬の1歩における前半の半周期分の速度はS1に格納されているため、S1111において、S1に後半の半周期分の速度が加算されることで、S1は馬の1歩における1周期分の速度が格納されている。次いで処理は、S1112に進められる。   If it is determined that the current gait is a trot (S1109: Yes), the process proceeds to S1111. In S1111, the square of the cumulative sum S of the vertical accelerations is added to the square sum S1 of the speed one step before. As described above, since the speed for the first half of the horse's one-half cycle is stored in S1 in S1107, S1 is the horse's speed by adding the speed for the second half of the cycle to S1 in S1111. The speed for one cycle in one step is stored. Next, the process proceeds to S1112.

本実施形態において、馬の歩行状態の規則性と対称性は、1歩前〜3歩前の各速度の2乗和であるS1〜S3の比を用いて計算される。S2、S3の値は、S1110において0が格納されている場合があるため、S2、S3が0であると運動エネルギの比を正しく求めることができない。そこで、本実施形態では、S1112、S1113においてS2、S3が0でないことを確認した上で規則性の値と対称性の値を計算する。   In the present embodiment, the regularity and symmetry of the walking state of the horse are calculated using the ratio of S1 to S3 which is the sum of squares of the respective speeds one to three steps before. As the values of S2 and S3 may be stored as 0 in S1110, if S2 and S3 are 0, the kinetic energy ratio can not be determined correctly. So, in this embodiment, after confirming that S2 and S3 are not 0 in S1112 and S1113, the value of regularity and the value of symmetry are calculated.

S1112では、CPU304bは、現在から2歩前の速度の2乗和S2の値が0であるか否かを判定する。速度の2乗和S2の値が0でない場合は(S1112:No)、CPU304bは処理をS1114に進める。また、速度の2乗和S2の値が0である場合は(S1112:Yes)、CPU304bは処理をS1113に進める。S1114では、CPU304bは、速度の2乗和S1の値がS2の値よりも大きいか否かを判定する。速度の2乗和S1の値がS2の値よりも大きい場合は(S1114:Yes)、CPU304bは処理をS1115に進める。また、速度の2乗和S1の値がS2の値よりも大きくない場合は(S1114:No)、CPU304bは処理をS1116に進める。S1115およびS1116では、CPU304bはS1114の判定結果に従って、速度の2乗和S1、S2のうち値が大きい方を分母にしてS1とS2の比を求め、求めた比に100を乗算した値を対称性として算出する。S1115またはS1116の処理の後、CPU304bは処理をS1113に進める。   In S1112, the CPU 304b determines whether the value of the sum of squares S2 of the speed two steps before the current time is zero. If the value of the square sum S2 of speeds is not 0 (S1112: No), the CPU 304b advances the process to S1114. If the value of the sum of squares of speeds S2 is 0 (S1112: Yes), the CPU 304b advances the process to S1113. In S1114, the CPU 304b determines whether the value of the sum of squares S1 of speeds is larger than the value of S2. If the value of the sum of squares of speeds S1 is larger than the value of S2 (S1114: Yes), the CPU 304b advances the process to S1115. If the value of the sum of squares S1 of the speeds is not larger than the value of S2 (S1114: No), the CPU 304b advances the process to S1116. In S1115 and S1116, the CPU 304b determines the ratio of S1 and S2 using the larger value of the sum of squares S1 and S2 of the velocity as the denominator according to the determination result in S1114, and divides the determined ratio by 100 for symmetry. Calculated as sex. After the processing of S1115 or S1116, the CPU 304b advances the processing to S1113.

S1113では、CPU304bは、現在から3歩前の速度の2乗和S3の値が0であるか否かを判定する。速度の2乗和S3の値が0でない場合は(S1113:No)、CPU304bは処理をS1117に進める。また、速度の2乗和S3の値が0である場合は(S1113:Yes)、CPU304bは処理をS1120に進める。S1117では、CPU304bは、速度の2乗和S1の値がS3の値よりも大きいか否かを判定する。速度の2乗和S1の値がS3の値よりも大きい場合は(S1117:Yes)、CPU304bは処理をS1118に進める。また、速度の2乗和S1の値がS3の値よりも大きくない場合は(S1117:No)、CPU304bは処理をS1119に進める。S1118およびS1119では、CPU304bはS1117の判定結果に従って、速度の2乗和S1、S3のうち値が大きい方を分母にしてS1とS3の比を求め、求めた比に100を乗算した値を規則性として算出する。S1118またはS1119の処理の後、CPU304bは処理をS1120に進める。なお、S1115、S1116、S1118、S1119では、速度の2乗和の比(運動エネルギの比)に100を乗算しているが、100を乗算するのは単に整数演算しやすくするためであり100を乗算しなくてもよい。   In S1113, the CPU 304b determines whether the value of the sum of squares S3 of the speed three steps before the current time is zero. If the value of the sum of squares S3 of speeds is not 0 (S1113: No), the CPU 304b advances the process to S1117. If the value of the sum of squares S3 of the speeds is 0 (S1113: Yes), the CPU 304b advances the process to S1120. In S1117, the CPU 304b determines whether the value of the sum of squares S1 of the velocities is larger than the value of S3. If the value of the sum of squares of speeds S1 is larger than the value of S3 (S1117: Yes), the CPU 304b advances the process to S1118. If the value of the sum of squares S1 of the speeds is not larger than the value of S3 (S1117: No), the CPU 304b advances the process to S1119. In S1118 and S1119, the CPU 304b determines the ratio of S1 and S3 using the larger value of the sum of squares S1 and S3 of the velocity as the denominator according to the determination result of S1117, and multiplies the determined ratio by 100 as a rule Calculated as sex. After the processing of S1118 or S1119, the CPU 304b advances the processing to S1120. In S1115, S1116, S1118, and S1119, although the ratio of the sum of squares of velocity (ratio of kinetic energy) is multiplied by 100, the reason for multiplying 100 is to simply make it easy to perform integer arithmetic, and There is no need to multiply.

CPU304bは、S1120において現在のS2の値をS3に格納し、次いでS1121において現在のS1の値をS2に格納する。これにより、現在から1、2歩前の速度をそれぞれ2、3歩前の速度の2乗和とし、新たにS1101〜S1111の処理によって算出される1歩前の速度の2乗和をS1として格納することができる。S1121の後
、CPU304bは処理をS1108に進める。S1108および続くS1104の処理は上記と同じであるため説明を省略する。以上、S1112〜S1119の処理は、3軸加速度センサ301のサンプリング毎に1回実行すればよく、ループ処理が存在しないため、従来の相関演算と比べて低い処理負荷で相関演算を実行することができる。
The CPU 304b stores the current value of S2 in S3 in S1120, and then stores the current value of S1 in S2 in S1121. As a result, the speed one or two steps before the current is made the sum of squares of the speed two or three steps before, and the sum of the squares of the speed one step before calculated newly by the processing of S1101 to S1111 is S1. It can be stored. After S1121, the CPU 304b advances the process to S1108. The processes of S1108 and subsequent S1104 are the same as described above, and thus the description thereof is omitted. As described above, the processing of S1112 to S1119 may be performed once for each sampling of the 3-axis acceleration sensor 301, and there is no loop processing, so that the correlation calculation can be performed with a low processing load compared to the conventional correlation calculation. it can.

図34に、上記のフローチャートの処理を実行して得られる結果を基に、歩行が正常な馬A、Bと、本実施形態の処理によって異常とみなされる跛行ぎみの馬C、Dの4頭の歩行における規則性および対称性をプロットした図を示す。図に示すように歩行が正常な馬A、Bの場合は、規則性および対称性ともに値100の前後にプロットされることが多い。一方、跛行ぎみの馬C、Dの場合は、特に対称性が悪い領域にプロットされる傾向があることがわかる。なお、図34における馬Bの歩行データは、図28に示す規則性および対称性のグラフにも使用されている。図28のグラフと図34の馬Bのグラフと比べると、本実施形態において得られる図34のグラフの方が、対称性および規則性がともに良好とみなせる値100により近くプロットされている。したがって、本実施形態では、上記の処理により得られる馬の歩行についての規則性および対称性に基づいて、従来よりも正確に馬の歩行が正常であるか否かを判断することができるといえる。   In FIG. 34, based on the results obtained by executing the process of the above-described flowchart, four horses A and B having normal walking and four horses C and D of the herd who are regarded as abnormal by the process of this embodiment The figure which plotted the regularity and symmetry in the gait of is. As shown in the figure, in the case of horses A and B with normal walking, both regularity and symmetry are often plotted before and after the value 100. On the other hand, in the case of the horses C and D, it is understood that there is a tendency to be plotted in a region where the symmetry is particularly bad. The walking data of horse B in FIG. 34 is also used in the graph of regularity and symmetry shown in FIG. As compared with the graph of FIG. 28 and the graph of horse B of FIG. 34, the graph of FIG. 34 obtained in the present embodiment is plotted closer to the value 100 at which both the symmetry and regularity can be regarded as better. Therefore, in the present embodiment, it can be said that it is possible to determine whether the horse's walking is normal more accurately than in the past based on the regularity and symmetry of the horse's walking obtained by the above processing. .

次に、本実施形態において、図31の処理によって求められる規則性および対称性に基づいて、現在の馬の歩行状態が以上であるか否かを検出する処理について、図35を参照しながら説明する。本実施形態において、跛行であると検出した結果を警告するには、図33に示すフローチャートを実行することで求めた規則性および対称性の値に基づいて異常を検出する。CPUの処理負荷が低い方法としては、対称性および規則性の値が正常とみなされる領域の外に高い頻度で存在するかどうかを調べることが可能である。以下に、本実施形態において馬の歩行における規則性および対称性を示すスコアを算出し、スコアに基づいて馬の歩行が跛行であるか否かを判定して跛行である場合に警告を行う処理について説明する。   Next, in the present embodiment, based on the regularity and symmetry determined by the process of FIG. 31, the process of detecting whether or not the current walking state of the horse is above will be described with reference to FIG. Do. In the present embodiment, in order to warn of the result of detection of coasting, an abnormality is detected based on the values of regularity and symmetry obtained by executing the flowchart shown in FIG. As a method of reducing CPU processing load, it is possible to check whether the values of symmetry and regularity frequently exist outside the area considered to be normal. In the following, according to the present embodiment, a score indicating regularity and symmetry in the walking of a horse is calculated, and based on the score, it is determined whether the walking of the horse is lame or not, and a process of giving a warning when lame Will be explained.

本実施形態では、図33に示すフローチャートを実行して規則性および対称性の値を算出した後、任意のタイミングでCPU304bが図35に示すフローチャートの処理を開始することができる。また、CPU304bは、求められる処理能力や歩行判定の精度等に基づいて決定される所定の時間間隔で、本フローチャートの処理を繰り返し実行する。本実施形態においては、規則性または対称性の値が大きくなるほど跛行であるとみなすことができる可能性が高くなる。このため、規則性および対称性の値に対して、正常の歩行であるとみなせる上限値としての閾値があらかじめ定められてメモリ304cに格納されている。   In this embodiment, after the values of regularity and symmetry are calculated by executing the flowchart shown in FIG. 33, the CPU 304b can start the processing of the flowchart shown in FIG. 35 at an arbitrary timing. Further, the CPU 304 b repeatedly executes the processing of this flowchart at predetermined time intervals determined based on the required processing capability, the accuracy of the walking determination, and the like. In the present embodiment, the larger the regularity or symmetry value, the higher the possibility that it can be regarded as coasting. Therefore, for the values of regularity and symmetry, a threshold as an upper limit value that can be regarded as normal walking is determined in advance and stored in the memory 304 c.

また、図35のフローチャートにおいて、歩行が跛行であるか否かを示す指標としてスコア(図中「Scr」)を用いる。本実施形態において、スコアの初期値は0とする。また、本実施形態において、以下の説明で用いるZ1、Z2、Z3の各値はあらかじめ設定されている。図36に、図35の処理が繰り返し実行された場合の各スコアをプロットしたグラフの例を示す。図36においてプロットされるスコアは、図35のフローチャートが終了するたびに得られるスコアの値である。なお、図36に示すようにZ1はスコアの上昇値であり、Z2はZ3よりも大きい閾値であり、スコアがZ3からZ2までの値を取る場合に跛行とみなされる(図中の「跛行断定中」の期間)。   Further, in the flowchart of FIG. 35, a score (“Scr” in the figure) is used as an index indicating whether or not walking is crawling. In the present embodiment, the initial value of the score is 0. Further, in the present embodiment, each value of Z1, Z2, and Z3 used in the following description is set in advance. FIG. 36 shows an example of a graph plotting each score when the process of FIG. 35 is repeatedly executed. The score plotted in FIG. 36 is the value of the score obtained each time the flowchart of FIG. 35 ends. Note that, as shown in FIG. 36, Z1 is a score increase value, Z2 is a threshold larger than Z3, and it is regarded as an insult when the score takes a value from Z3 to Z2 Period)).

S1201において、CPU304bは、算出された規則性および対称性の値が、メモリ304cから取得した上記の閾値よりともに小さいか否かを判定する。規則性および対称性の値がともに閾値より小さい場合は(S1201:Yes)、CPU304bは処理をS1202に進める。また、規則性および対称性の値がともに閾値より小さくない場合は(S1201:No)、CPU304bは処理をS1204に進める。   In S1201, the CPU 304b determines whether the calculated regularity and symmetry values are both smaller than the above-described threshold value acquired from the memory 304c. If the values of regularity and symmetry are both smaller than the threshold (S1201: Yes), the CPU 304b advances the process to S1202. If neither the regularity nor the symmetry value is smaller than the threshold (S1201: No), the CPU 304b advances the process to S1204.

S1202では、CPU304bは、スコアが0より大きいか否かを判定する。スコアが0より大きい場合は(S1202:Yes)、CPU304bは処理をS1203に進める。また、スコアが0より大きくない場合は(S1202:No)、CPU304bは処理をS1207に進める。S1203において、CPU304bはスコアから1を減算する。S1203の処理の後、CPU304bは処理をS1207に進める。   At S1202, the CPU 304b determines whether the score is greater than zero. If the score is greater than 0 (S1202: Yes), the CPU 304b advances the process to S1203. If the score is not greater than 0 (S1202: No), the CPU 304b advances the process to S1207. In S1203, the CPU 304b subtracts 1 from the score. After the process of S1203, the CPU 304b advances the process to S1207.

S1204では、CPU304bはスコアにZ1を加算する。S1204の処理の後、CPU304bは処理をS1205に進める。S1205において、CPU304bは、スコアがZ2より大きいか否かを判定する。スコアがZ2より大きい場合は(S1205:Yes)、CPU304bは処理をS1206に進める。また、スコアがZ2より大きくない場合は(S1205:No)、CPU304bは処理をS1207に進める。S1206において、CPU304bは、スコアにZ2を格納する。S1206の処理の後、CPU304bは処理をS1207に進める。   In S1204, the CPU 304b adds Z1 to the score. After the processing of step S 1204, the CPU 304 b advances the processing to step S 1205. In S1205, the CPU 304b determines whether the score is greater than Z2. If the score is greater than Z2 (S1205: Yes), the CPU 304b advances the process to S1206. If the score is not larger than Z2 (S1205: No), the CPU 304b advances the process to S1207. In S1206, the CPU 304b stores Z2 in the score. After the process of S1206, the CPU 304b advances the process to S1207.

S1207において、CPU304bは、スコアがZ3より大きいか否かを判定する。スコアがZ3より大きい場合は(S1207:Yes)、CPU304bは処理をS1208に進める。また、スコアがZ3より大きくない場合は(S1207:No)、CPU304bは本フローチャートの処理を終了する。S1208では、CPU304bは現在の馬の歩行が跛行として判定されたことを警告する処理を実行する。警告処理としては、例えばCPU304bは、インタフェイス304aを介して表示装置302に警告メッセージを送信する。また、CPU304bは、騎手端末400に対して警告装置401に警告を実行させる命令を送信したり、馬場装置500に対して警告灯501を点灯させる命令を送信したり、馬場内端末600に表示装置601に警告を表示させる命令を送信したりしてもよい。S1208の処理の後、CPU304bは本フローチャートの処理を終了する。   In S1207, the CPU 304b determines whether the score is larger than Z3. If the score is greater than Z3 (S1207: Yes), the CPU 304b advances the process to S1208. If the score is not larger than Z3 (S1207: No), the CPU 304b ends the processing of this flowchart. In S1208, the CPU 304b executes processing to warn that the current horse's walking has been determined to be a coasting. As the warning process, for example, the CPU 304 b transmits a warning message to the display device 302 via the interface 304 a. In addition, the CPU 304b transmits an instruction to cause the warning device 401 to execute a warning to the jockey terminal 400, transmits an instruction to turn on the warning light 501 to the Baba device 500, or displays the display device on the in-bare terminal 600. An instruction to display a warning may be sent to 601. After the process of S1208, the CPU 304b ends the process of this flowchart.

図36のグラフにも示すように、本実施形態では、S1205、S1206の処理が実行されることで、スコアが上昇し続けてもZ2以上に大きくならない。そして、S1202、S1203の処理が実行されて、スコアが下がって閾値Z3より小さくなった段階で跛行の警告が中止される。この際、CPU304bは、表示装置302等に対して警告を中止する指示を送信する。   As also shown in the graph of FIG. 36, in the present embodiment, the processing of S1205 and S1206 is performed, so that the score does not increase beyond Z2 even if it continues to increase. Then, the processing of S1202 and S1203 is executed, and the warning of the coasting is stopped at the stage where the score is lowered and becomes smaller than the threshold value Z3. At this time, the CPU 304 b transmits an instruction to cancel the warning to the display device 302 or the like.

なお、上記の処理では、算出された規則性および対称性の値を判定する際に設定される正常領域は、図37Aに示すように、規則性および対称性の値が所定の大きさになるまで許容される領域である。ただし、図37Bに示すように、例えば正常領域の代わりに異常領域を設定し、規則性および対称性の値が異常領域内にある場合に跛行を警告する構成とすることもできる。この場合は、上記のS1201の処理を、規則性および対称性の値がそれぞれ設定された異常領域の値の範囲内にあるか否かを判定する処理に変更する。さらに、規則性および対称性の値が当該範囲内にある場合は処理がS1204に進められ、規則性および対称性の値が当該範囲内にない場合は処理がS1202に進められるように変更する。   In the above process, as shown in FIG. 37A, in the normal region set when determining the calculated regularity and symmetry values, the regularity and symmetry values become a predetermined size. Is an area that is acceptable. However, as shown in FIG. 37B, for example, an abnormal area may be set instead of the normal area, and the configuration may be configured to warn of coasting when the values of regularity and symmetry are within the abnormal area. In this case, the process of S1201 described above is changed to a process of determining whether or not the values of regularity and symmetry are within the range of the values of the abnormal region set respectively. Furthermore, if the values of regularity and symmetry are within the range, the process proceeds to S1204, and if the values of regularity and symmetry are not within the range, the process proceeds to S1202.

さらに代替の構成例として、図37Aに示すように設定された正常領域を別の範囲に移動することも可能である。この場合は、上記のS1201の処理を、規則性および対称性の値がそれぞれ設定された正常領域の値の範囲内にあるか否かを判定する処理に変更すればよい。このように構成を変更することで、各馬の歩行特性に応じて跛行の判定基準を調整することができる。   Furthermore, as an alternative configuration example, it is also possible to move the normal region set as shown in FIG. 37A to another range. In this case, the process of S1201 may be changed to a process of determining whether the values of regularity and symmetry are within the range of the values of the normal region. By changing the configuration in this manner, it is possible to adjust the judgment criteria of coasting according to the walking characteristics of each horse.

(第5の実施形態)
次に、第5の実施形態について説明する。なお、第4の実施形態と同様の構成要素については、同じ符号を付して詳細な説明は省略する。なお、本実施形態では、フラッシュメモリ304d内に、過去N歩前から現在までに算出された規則性の値と対称性の値を格納するリングバッファ(図示せず)が形成されている。競走馬、特にサラブレッドの脚はもともと奇形であるため歩行が左右非対称であるのは異常ではないという考えもある。この考えに従えば、歩行が正常な、ただし非対称な歩き方をする馬でも、上記の処理によって算出される規則性および対称性の値が正常領域内に集まるとは限らない。また、図37Bのように規則性および対称性の値が異常領域に存在するか否かで歩行判定する構成を採用しても、個々の馬の脚の奇形の状況によって算出される規則性および対称性の値が異なり、汎用的な判定基準とはならない可能性がある。
Fifth Embodiment
Next, a fifth embodiment will be described. In addition, about the component similar to 4th Embodiment, the same code | symbol is attached | subjected and detailed description is abbreviate | omitted. In the present embodiment, a ring buffer (not shown) is formed in the flash memory 304 d to store the values of regularity and the value of symmetry calculated from the previous N steps before to the present. There is also a belief that the asymmetry of walking is not unusual as racehorses, in particular the legs of the thoroughbred, are originally malformed. According to this idea, even in a horse whose walking is normal but asymmetric walking, the values of regularity and symmetry calculated by the above processing do not always fall within the normal region. In addition, even when adopting a configuration in which walking is determined based on whether or not the values of regularity and symmetry exist in the abnormal region as shown in FIG. 37B, the regularity and symmetry calculated according to the condition of malformation of individual horse legs The value of may be different and not a general criterion.

そこで本実施形態では、個々の馬に固有の規則性および対称性の傾向を把握した上で、規則性および対称性の傾向に変化が生じた場合に警告を行う。本実施形態では、歩行判定対象の馬について、過去に算出された規則性および対称性の値を用いて指標値を計算し、例えば現在から100歩前までの規則性および対称性の値の平均値と指標値とを比較する。そして、これらの値の差が閾値内に収まる場合に歩行は正常であるとみなすことができる。   So, in this embodiment, after grasping the tendency of regularity and symmetry unique to each horse, a warning is given when the tendency of regularity and symmetry changes. In the present embodiment, the index value is calculated using the values of regularity and symmetry calculated in the past, for the horse which is the target of the walking judgment, and, for example, the average of the values of regularity and symmetry from the present to 100 steps ago Compare the value with the index value. And when the difference between these values falls within the threshold, walking can be regarded as normal.

図38に、本実施形態において実行されるフローチャートを示す。本フローチャートの処理は、例えば、計測端末300を判定対象の馬に装着して、計測端末300の電源をオンにしたときにCPU304bにより開始される。S1301において、CPU304bは、規則性の値の累積和Tr、対称性の値の累積和Ts、TrおよびTsへの加算回数nをそれぞれ0に設定する。さらに、CPU304bは、フラッシュメモリ304d内の上記のリングバッファのカウンタ(Index)に、まだ初期化を行っていない未初期化状態を示す値、例えば「−1」を設定する。本実施例では、未初期化状態を示す値として負の値を用いているが、未初期化状態を区別できる値であれば他の値を使用することとしてもよい。なお、S1301の処理は、CPU304bが実行する代わりに計測端末300の装着時に手動で行ってもよい。あるいは、計測端末300のバッテリ(図示せず)が、計測端末300を長期間、例えば数週間装着し続けて本実施形態の処理を実行することができるだけの容量を有する場合は、例えばCPU304bのクロック周波数を利用した内部タイマ等を用いて所定のタイミングで実行してもよい。S1301の処理の後、CPU304bは処理をS1100に進める。   FIG. 38 shows a flowchart executed in the present embodiment. The process of this flowchart is started by, for example, the CPU 304 b when the measurement terminal 300 is attached to a horse to be determined and the measurement terminal 300 is powered on. In S1301, the CPU 304b sets the cumulative sum Tr of the regularity values, the cumulative sum Ts of the symmetry values, the number n of additions to the Tr and Ts to 0, respectively. Furthermore, the CPU 304 b sets a value (for example, “−1”) indicating an uninitialized state that has not been initialized yet, to the counter (Index) of the above-mentioned ring buffer in the flash memory 304 d. In the present embodiment, a negative value is used as the value indicating the uninitialized state, but another value may be used as long as it can distinguish the uninitialized state. The process of S1301 may be performed manually when the measurement terminal 300 is attached instead of being executed by the CPU 304b. Alternatively, for example, when the battery (not shown) of the measuring terminal 300 has enough capacity to continue mounting the measuring terminal 300 for a few weeks, for example, for several weeks, the clock of the CPU 304 b, for example. It may be executed at a predetermined timing using an internal timer or the like using a frequency. After the process of S1301, the CPU 304b advances the process to S1100.

S1100では、CPU304bは、図33に示すフローチャートの処理を実行して、現在の歩行の規則性および対称性の値を算出する。規則性および対称性の値が算出されると、CPU304bは処理をS1302に進める。S1302では、S1100の処理においてS1115またはS1116、S1118またはS1119、S1120、S1121により、規則性および対称性の値が算出および更新されたか否かを判定する。規則性および対称性の値が算出および更新された場合は(S1302:Yes)、CPU304bは処理をS1305に進める。また、規則性および対称性の値が算出および更新されていない場合は(S1302:No)、CPU304bは処理をS1303に進める。   In S1100, the CPU 304b executes the processing of the flowchart shown in FIG. 33 to calculate the current gait regularity and symmetry value. When the values of regularity and symmetry are calculated, the CPU 304b advances the process to step S1302. In S1302, it is determined whether the values of regularity and symmetry have been calculated and updated by S1115 or S1116, S1118 or S1119, S1120, S1121 in the process of S1100. If the values of regularity and symmetry have been calculated and updated (S1302: Yes), the CPU 304b advances the process to S1305. If the values of regularity and symmetry have not been calculated and updated (S1302: No), the CPU 304b advances the process to S1303.

S1305では、CPU304bは、Tr、TsにS1100の処理により算出された規則性の値と対称性の値をそれぞれ加算し、nの値に1を加算する。次いで、処理はS1306に進められる。S1306において、CPU304bは、フラッシュメモリ304dのリングバッファのカウンタIndexの値が負であるか否かを判定する。Indexの値が負である場合は(S1306:Yes)、CPU304bは処理をS1307に進める。また、Indexの値が負でない場合は(S1306:No)、CPU304bは処理をS1312に進める。   In S1305, the CPU 304b adds the value of regularity and the value of symmetry calculated in the process of S1100 to Tr and Ts, respectively, and adds 1 to the value of n. Then, the process proceeds to S1306. In S1306, the CPU 304b determines whether the value of the counter Index of the ring buffer of the flash memory 304d is negative. If the value of Index is negative (S1306: Yes), the CPU 304b advances the process to S1307. If the value of Index is not negative (S1306: No), the CPU 304b advances the process to S1312.

S1307では、S1308〜S1310のループ処理のカウンタとして使用される値iに0を格納する。次いで処理はS1308に進められる。本実施形態では、過去N個分の規則性の値と対称性の値とをそれぞれ格納できるリングバッファが設けられており、規則性の値を格納するリングバッファの配列をDr、対称性の値を格納するリングバッファの配列をDsとする。また、配列Dr、Dsの番号は0〜N−1とし、Dr[i]、Ds[i]は、それぞれ番号がiである配列に格納されているデータを意味する。S1308〜S1310のループ処理により番号0〜N−1の各配列Dr、Dsには、S1100で算出された規則性の値と対称性の値がそれぞれ格納される。S1308〜S1310のループ処理が完了すると(S1310:No)、CPU304bは処理をS1311に進める。   In S1307, 0 is stored in the value i used as a counter of the loop processing of S1308 to S1310. The process then proceeds to S1308. In this embodiment, a ring buffer capable of storing the past N regularity values and symmetry values is provided, and the array of ring buffers for storing regularity values is Dr, the symmetry value Let Ds be the array of ring buffers that store Further, the numbers of the arrays Dr and Ds are 0 to N-1, and Dr [i] and Ds [i] mean data stored in the array whose number is i. By the loop processing of S1308 to S1310, the values of the regularity and the value of symmetry calculated at S1100 are stored in the arrays Dr and Ds of numbers 0 to N-1, respectively. When the loop processing of S1308 to S1310 is completed (S1310: No), the CPU 304b advances the processing to S1311.

S1311において、CPU304bはIndexの値に0を格納し、番号0〜N−1の各配列Dr、Dsに格納されているデータの総和Sr、Ssを計算する。S1308〜S1310のループ処理により、番号0〜N−1の各配列Dr、DsにはS1100で算出された規則性の値と対称性の値が格納されるため、Sr、SsにはS1100で算出された規則性の値と対称性の値にNを乗算した値がそれぞれ格納される。これにより、移動平均を演算するIIR(Infinite Impulse Response)フィルタの初期化を行うことがで
きる。S1311の処理の後、CPU304bは処理をS1303に進める。
In S1311, the CPU 304b stores 0 as the value of Index, and calculates the sum Sr, Ss of data stored in each array Dr, Ds of numbers 0 to N-1. Since the regularity value and symmetry value calculated in S1100 are stored in the arrays Dr and Ds of numbers 0 to N-1 by the loop process of S1308 to S1310, S1 and Ss are calculated in S1100. The regularity value and the symmetry value multiplied by N are stored respectively. In this way, it is possible to initialize an Infinite Impulse Response (IIR) filter that calculates a moving average. After the process of S1311, the CPU 304b advances the process to S1303.

S1312では、CPU304bは、S1100で算出された対称性の値から番号がIndexの値である配列Dsに格納されている値を減算した値をSsに加算する。また、CPU304bは、S1100で算出された規則性の値から番号がIndexの値である配列Drに格納されている値を減算した値をSrに加算する。そして、CPU304bは、処理をS1313に進めて、番号がIndexの値である配列DsにS1100で算出された対称性の値を格納し、番号がIndexの値である配列DrにS1100で算出された規則性の値を格納する。次いで、CPU304bは、処理をS1314に進める。   In S1312, the CPU 304b adds a value obtained by subtracting the value stored in the array Ds whose number is the value of Index from the value of symmetry calculated in S1100 to Ss. Also, the CPU 304 b adds a value obtained by subtracting the value stored in the array Dr whose number is the value of Index from the value of the regularity calculated in S1100 to Sr. Then, the CPU 304b advances the process to S1313, stores the value of symmetry calculated in S1100 in the array Ds whose number is the value of Index, and calculates S100 in the array Dr whose number is the value of Index Stores regularity values. Next, the CPU 304 b advances the process to step S1314.

S1314において、CPU304bはIndexの値に1を加算する。そして、CPU304bは、処理をS1315に進めて、Indexの値がN以上であるか否かを判定する。Indexの値がN以上である場合は(S1315:Yes)、CPU304bは処理をS1316に進める。また、Indexの値がN以上でない場合は(S1315:No)、CPU304bは処理をS1317に進める。S1316では、CPU304bはIndexの値を0に戻す。そして、CPU304bは処理をS1317に進める。S1317では、CPU304bは、TrおよびTsへの加算回数nがN以上であるか否かを判定する。nがN以上である場合は(S1317:Yes)、CPU304bは処理をS1318に進める。nがN以上でない場合は(S1317:No)、CPU304bは処理をS1303に進める。   In S1314, the CPU 304b adds 1 to the value of Index. Then, the CPU 304b advances the process to step S1315 and determines whether the value of the index is N or more. If the value of the index is N or more (S1315: Yes), the CPU 304b advances the process to S1316. If the value of Index is not N or more (S1315: No), the CPU 304b advances the process to S1317. In S1316, the CPU 304b returns the value of Index to 0. Then, the CPU 304 b advances the process to step S1317. In S1317, the CPU 304b determines whether the number of additions to Tr and Ts is N or more. If n is equal to or greater than N (S1317: Yes), the CPU 304b advances the process to S1318. If n is not equal to or greater than N (S1317: No), the CPU 304b advances the process to S1303.

本実施形態では、S1307〜S1311の処理により、移動平均の算出処理の初期化を行い、S1100により初回に算出された規則性および対称性の値が過去N回分の値として配列Dr、Dsに格納される。したがって、規則性の累積和Tr、対称性の累積和Tsの加算回数nがS1301において0にされてからN以上となるまで、配列Dr、Dsに格納されているデータの総和Sr、Ssは、S1100において算出される規則性および対称性の値を正しく反映していない。そこで、S1317では、nがN以上となった場合にS1318〜S1320の警告の要否の判定および警告の実行の処理が実行されるようにCPU304bの処理を制御する。   In this embodiment, the moving average calculation process is initialized by the processes of S1307 to S1311, and the values of regularity and symmetry initially calculated at S1100 are stored in the arrays Dr and Ds as values for the past N times. Be done. Therefore, the sums Sr and Ss of data stored in the arrays Dr and Ds are N until the number n of additions of the cumulative sum Tr of regularity and the cumulative sum Ts of symmetry is 0 in S1301 and then N. The values of regularity and symmetry calculated in S1100 are not correctly reflected. Therefore, in S1317, when n becomes N or more, the processing of the CPU 304b is controlled so that the processing of determination of necessity of warning and execution of warning in S1318 to S1320 is executed.

また、本実施形態では、1日ごとに計測端末300を歩行判定の対象である馬に装着および取り外しを繰り返す。したがって、例えば、計測端末300を装着した馬の1日の訓練等が終了したときに、馬から計測端末300を取り外す。馬から計測端末300が取り
外されると、図38に示すように、CPU304bは処理をS1303からS1304に進める。本実施形態では、計測端末300の装着から脱着までに算出された規則性の値と対称性の値の平均値Tr/n、Ts/nを用いて、計測端末300を装着した馬の、前日までの規則性の傾向を示す値Crと前日における対称性の傾向を示す値Csとを算出する。なお、S1303において、CPU304bがタイマ(図示せず)を用いて所定時間が経過したか否かを判定する処理を実行する構成としてもよい。この場合は、Cs、Crの値は、それぞれ前回装着時までの対称性の傾向を示す値と規則性の傾向を示す値となる。
Further, in the present embodiment, the measurement terminal 300 is repeatedly attached to and removed from the horse which is the target of the walking determination every day. Therefore, for example, when training or the like on a day of a horse wearing the measurement terminal 300 is finished, the measurement terminal 300 is removed from the horse. When the measurement terminal 300 is removed from the horse, the CPU 304b advances the process from S1303 to S1304 as shown in FIG. In the present embodiment, using the average value Tr / n and Ts / n of the values of regularity and the values of symmetry calculated from the installation to the removal of the measurement terminal 300, the previous day of the horse equipped with the measurement terminal 300 A value Cr indicating the tendency of regularity up to and a value Cs indicating the tendency of symmetry on the previous day are calculated. In S1303, the CPU 304b may execute a process of determining whether a predetermined time has elapsed using a timer (not shown). In this case, the values of Cs and Cr are a value indicating the tendency of symmetry until the previous wearing and a value indicating the tendency of regularity, respectively.

S1304では、CPU304bは、0.9×Cr+0.1×Tr/nにより算出される値を、前日までの規則性の傾向を示す新たな値としてCrに格納する。同様に、CPU304bは、0.9×Cs+0.1×Ts/nにより算出される値を、前日までの対称性の傾向を示す新たな値としてCsに格納する。S1304の処理により、本日における規則性の値と対称性の値の平均値と、前日までの規則性および対称性の傾向を示す値を適当な重み付けで足し合わせられる。なお、S1304の計算における重み付けは適宜変更できる。また、S1304における算出方法は、いわゆる一般的な一次遅れ系のFIR(Finite Impulse Response)フィルタを用いる場合の計算である。ただし、この算出方法の
代わりに、過去数日分の移動平均を求める等、周知の方法を用いて前日までの規則性および対称性の傾向を示す値を求めることができる。
In S1304, the CPU 304b stores the value calculated by 0.9 × Cr + 0.1 × Tr / n in Cr as a new value indicating the tendency of regularity up to the previous day. Similarly, the CPU 304 b stores the value calculated by 0.9 × Cs + 0.1 × Ts / n in Cs as a new value indicating the tendency of symmetry until the previous day. By the processing of S1304, the average value of the regularity value and the symmetry value as of today, and the value showing the tendency of regularity and symmetry up to the previous day can be added with appropriate weighting. The weighting in the calculation of S1304 can be changed as appropriate. Further, the calculation method in S1304 is calculation in the case of using a so-called general first-order delay FIR (Finite Impulse Response) filter. However, instead of this calculation method, it is possible to obtain a value indicating the tendency of regularity and symmetry until the previous day, using a known method such as obtaining a moving average for the past several days.

さらに、本実施形態では、S1100において算出される規則性および対称性の値について、現在から過去N回にわたる平均値Ss/N、Sr/Nを算出し、S1304において算出される前日までの規則性および対称性の傾向を示す値Cs、Crと比較する。比較方法としては、図39に示すように、規則性の値と対称性の値とをそれぞれ縦軸と横軸として、過去N回の規則性および対称性の値の平均値が示す点と、前日までの規則性および対称性の傾向を示す値が示す点との間の距離を所定の閾値と比較する。   Furthermore, in the present embodiment, average values Ss / N and Sr / N over the past N times are calculated for the values of regularity and symmetry calculated in S1100, and regularity until the previous day calculated in S1304. And contrast values Cs, Cr indicating tendency of symmetry. As a comparison method, as shown in FIG. 39, with the values of regularity and the values of symmetry as the vertical axis and the horizontal axis, respectively, points indicated by the average values of the past N regularities and the values of the symmetry, The distance between the points indicated by the values indicating the tendency of regularity and symmetry until the previous day is compared with a predetermined threshold.

図38のS1318では、CPU304bは、以下の式(12)を用いて過去N回の規則性および対称性の値の平均値が示す点と、前日までの規則性および対称性の傾向を示す値が示す点との間の距離の2乗である値Rを算出する。
R=(Ss/N−Cs)+(Sr/N−Cr)・・・(12)
当該距離は、厳密には値Rの平方根であるが、S1319において閾値と比較する点を踏まえると、平方根を取らずに計算する方がCPU304bの処理負荷を軽減することができるため、S1318ではRの値を算出する。CPU304bは、S1318の処理を終了すると、処理をS1319に進める。
At S1318 in FIG. 38, the CPU 304b uses the following equation (12) to indicate the point indicated by the average value of the past N regularity and symmetry values, and the value indicating the tendency of the regularity and symmetry up to the previous day Calculate the value R which is the square of the distance between the point indicated by.
R = (Ss / N-Cs) 2 + (Sr / N-Cr) 2 (12)
The distance is strictly the square root of the value R. However, considering that the distance is compared with the threshold value in S1319, the processing load of the CPU 304b can be reduced by calculating without taking the square root. Calculate the value of When the process of S1318 ends, the CPU 304b advances the process to S1319.

S1319では、CPU304bは、S1318で算出したRを所定の閾値より大きいか否かを判定する。図39からわかるように、Rの値が大きくなるほど、現在から過去N回までの規則性および対称性が、前日までの規則性および対称性の傾向から乖離する度合いが大きくなる。S1319において、Rが所定の閾値より大きいと判定された場合は(S1319:Yes)、現在から過去N回までの規則性および対称性が異常であるとみなし、CPU304bは処理をS1320に進める。また、Rが所定の閾値より大きくないと判定された場合は(S1319:No)、現在から過去N回までの規則性および対称性は正常であるとみなし、CPU304bは処理をS1303に進める。   In S1319, the CPU 304b determines whether R calculated in S1318 is larger than a predetermined threshold. As can be seen from FIG. 39, as the value of R increases, the degree of regularity and symmetry from the present to the past N times deviates from the tendency of regularity and symmetry until the previous day. If it is determined in S1319 that R is greater than the predetermined threshold (S1319: Yes), the regularity and symmetry from the present to the past N times are regarded as abnormal, and the CPU 304b advances the process to S1320. If it is determined that R is not larger than the predetermined threshold (S1319: No), the regularity and symmetry from the present to the past N times are regarded as normal, and the CPU 304b advances the process to S1303.

S1320では、CPU304bは、現在の馬の歩行が跛行であるとみなして警告を行う。なお、警告処理は第4の実施形態と同様であるため、詳細な説明は省略する。CPU304bは警告処理を行った後、処理をS1303に進める。なお、S1319において、式(12)により算出されるRを所定の閾値を用いて判定する構成の代わりに、R1=(Ss/N−Cs)、R2=(Sr/N−Cr)として、R1、R2をそれぞれの閾値と比較し、R1、R2がともに各閾値より大きいか否かを判定する構成を採用してもよ
い。また、式(12)の各項に適当な定数を乗算することで、規則性および対称性に対して重み付けを行ってもよい。
In S1320, the CPU 304b warns that the present horse's walking is considered to be lameness. The warning process is the same as that of the fourth embodiment, and thus the detailed description is omitted. After performing the warning process, the CPU 304b advances the process to step S1303. In S1319, instead of determining R calculated by equation (12) using a predetermined threshold value, R1 = (Ss / N-Cs) 2 and R2 = (Sr / N-Cr) 2 , R1 and R2 may be compared with the respective threshold values to determine whether both R1 and R2 are greater than the respective threshold values. In addition, regularity and symmetry may be weighted by multiplying each term of equation (12) by an appropriate constant.

(第6の実施形態)
次に、第6の実施形態について説明する。なお、上記の実施形態と同様の構成要素には同一の符号を付し、詳細な説明は省略する。従来、例えば競走馬を対象として、移動中の加速度を計測する場合、競走馬にGPSセンサを搭載した装置を装着し、当該装置から送信されるGPSデータに基づいて加速度を算出していた。一般に、GPSセンサは、一定間隔の時間で現在の位置情報および時刻情報を含むGPSデータを出力する。そして、一定間隔の時間でGPSデータを測定する場合、測定時の馬の状態、例えばギャロップ時における馬体の伸び縮み等が測定タイミングごとに異なる可能性がある。このため、馬の各脚の位置関係が同じ状態となるタイミングでGPSデータを測定し続けることができないため、測定タイミングごとの馬の各脚の位置関係のばらつきが、算出される加速度の増減に反映される。
Sixth Embodiment
Next, a sixth embodiment will be described. In addition, the same code | symbol is attached | subjected to the component similar to said embodiment, and detailed description is abbreviate | omitted. Conventionally, for example, when the acceleration during movement is measured for a racehorse, a device equipped with a GPS sensor is mounted on the racehorse, and the acceleration is calculated based on GPS data transmitted from the device. Generally, the GPS sensor outputs GPS data including current position information and time information at regular intervals of time. And when measuring GPS data at fixed time intervals, the condition of the horse at the time of measurement, for example, expansion and contraction of the horse at the time of gallop, etc. may differ for each measurement timing. For this reason, since it is not possible to continue measuring GPS data at the timing when the positional relationship of each leg of the horse becomes the same, the variation of the positional relationship of each leg of the horse at each measurement timing is an increase or decrease of the calculated acceleration. It is reflected.

GPSセンサによるGPSデータの出力間隔を短くすることで、より多くのGPSデータを収集し、所定の単位時間ごとに算出した加速度の平均を求めることで、加速度の計測精度を高める方法も考えられる。しかし、この方法は、GPSセンサの消費電力を増加させるため、上記の実施形態における計測端末等に搭載することを考えた場合に現実的とはいえない。そこで、本実施形態では、上記の実施形態で使用した計測端末にGPS装置を搭載し、GPS装置の消費電力を抑えつつ加速度を精度よく算出する方法について説明する。   Another possible method is to increase the measurement accuracy of acceleration by collecting more GPS data by shortening the output interval of GPS data by the GPS sensor and calculating the average of the accelerations calculated for each predetermined unit time. However, in order to increase the power consumption of the GPS sensor, this method is not realistic when it is considered to be mounted on the measurement terminal or the like in the above embodiment. Therefore, in the present embodiment, a method will be described in which a GPS device is mounted on the measurement terminal used in the above embodiment, and the acceleration is accurately calculated while suppressing the power consumption of the GPS device.

図40には、本実施形態における、計測端末700、計測端末700と通信を行う騎手端末400、馬場装置500、馬場内端末600を示す。計測端末700は、3軸加速度センサ301、表示装置302、通信装置303、サブマイコン304、GPSセンサ305、タイマ306を有する。計測端末700が、計測装置の一例に相当する。サブマイコン304は、インタフェイス304a、CPU304b、メインメモリ304c、フラッシュメモリ304dを有する。GPSセンサ305は周知のものであり、計測端末700の現在位置に関する位置情報および時刻情報を、インタフェイス304aを介してCPU304bに送信する。CPU304bは、GPSセンサ305から受信した位置情報および時刻情報をフラッシュメモリ304dに記憶する。タイマ306は現在時刻を計時し、インタフェイス304aを介してCPU304bにより現在時刻に関するデータが取得される。   FIG. 40 shows a measurement terminal 700, a jockey terminal 400 that communicates with the measurement terminal 700, a Baba apparatus 500, and a Baba terminal 600 in the present embodiment. The measurement terminal 700 includes a three-axis acceleration sensor 301, a display device 302, a communication device 303, a sub-microcomputer 304, a GPS sensor 305, and a timer 306. The measuring terminal 700 corresponds to an example of a measuring device. The sub-microcomputer 304 has an interface 304a, a CPU 304b, a main memory 304c, and a flash memory 304d. The GPS sensor 305 is known, and transmits position information and time information on the current position of the measurement terminal 700 to the CPU 304 b via the interface 304 a. The CPU 304 b stores the position information and time information received from the GPS sensor 305 in the flash memory 304 d. The timer 306 clocks the current time, and data related to the current time is acquired by the CPU 304 b via the interface 304 a.

本実施形態では、計測端末700のメインメモリ304cに記憶されているアプリケーション等が、CPU304bによって実行される。このようなアプリケーション等の実行により、図41に示すように、計測端末700は、歩容特定部7001、歩容判定部7002、位置情報生成部7003、加速度算出部7004として機能する。ただし、歩容特定部7001、歩容判定部7002、位置情報生成部7003、加速度算出部7004のいずれか1つ以上が、ハードウェア回路であってもよい。   In the present embodiment, an application or the like stored in the main memory 304 c of the measurement terminal 700 is executed by the CPU 304 b. By executing such an application, as shown in FIG. 41, the measurement terminal 700 functions as a gait identifying unit 7001, a gait judging unit 7002, a position information generating unit 7003, and an acceleration calculating unit 7004. However, one or more of the gait identification unit 7001, the gait determination unit 7002, the position information generation unit 7003, and the acceleration calculation unit 7004 may be a hardware circuit.

歩容特定部7001は、3軸加速度センサ301から取得した加速度データを用いて計測端末700が装着された馬の歩容を特定する。歩容判定部7002は、歩容特定部7001により特定された歩容を用いて馬の所定の脚、本実施形態では右前脚が着地したか否かを判定する。位置情報生成部7003は、計測端末700が装着された馬の所定の脚、本実施形態では右前脚が着地したと判定したときの馬の位置を示す位置情報を、GPSセンサ305から取得したGPSデータが示す位置情報と時間情報とを用いて生成する。加速度算出部7004は、生成した位置情報とGPSデータが示す時間情報とを用いて、計測端末700が装着された馬の所定の脚、本実施形態では右前脚が着地したと判定してか
ら再度馬の所定の脚、本実施形態では右前脚が着地したと判定するまでの馬の移動における加速度の平均値を算出する。各部の処理の詳細については後述する。
The gait identification unit 7001 identifies the gait of the horse on which the measurement terminal 700 is mounted, using the acceleration data acquired from the three-axis acceleration sensor 301. The gait determination unit 7002 determines whether or not the predetermined leg of the horse, in this embodiment, the right forefoot has landed, using the gait identified by the gait identification unit 7001. The position information generation unit 7003 acquires, from the GPS sensor 305, position information indicating the position of the predetermined leg of the horse on which the measurement terminal 700 is mounted, which is the position of the horse when it is determined that the right forefoot lands in this embodiment. It generates using position information and time information which data shows. The acceleration calculation unit 7004 uses the generated position information and the time information indicated by the GPS data to determine again that the predetermined leg of the horse on which the measurement terminal 700 is mounted, in this embodiment, the right forefoot has arrived, and then again. An average value of acceleration in movement of the horse until it is determined that the predetermined leg of the horse, in this embodiment, the right forefoot has landed, is calculated. Details of processing of each part will be described later.

次に、図42のフローチャートを参照しながら、本実施形態における加速度を算出する処理について説明する。本フローチャートの処理は、例えば、計測端末700を計測対象の馬に装着して、計測端末700の電源をオンにしたときにCPU304bにより開始される。また、CPU304bは、本フローチャートの処理を所定の時間間隔で繰り返し実行する。   Next, the process of calculating the acceleration in the present embodiment will be described with reference to the flowchart of FIG. The processing of this flowchart is started by, for example, the CPU 304 b when the measurement terminal 700 is attached to a horse to be measured and the power of the measurement terminal 700 is turned on. Also, the CPU 304 b repeatedly executes the processing of this flowchart at predetermined time intervals.

なお、S1401では、CPU304bは、3軸加速度センサ301の出力データを用いて、上記の第2の実施形態と同様の処理を行うことで、計測端末700が装着されている馬の歩行判定、歩容判定、歩数計測の各処理を行う。また、CPU304bはタイマ306から現在時刻のデータを取得する。ここで取得した現在時刻のデータが示す時間をTpとする。これにより、当該馬の各脚のうち、例えば右前脚が着地したタイミングを検出することができる。本実施形態では、計測端末700が装着されている馬の右前脚が着地したタイミングに基づいて加速度の算出を行う。なお、右前脚の代わりに他の脚が着地したタイミングに基づいても以下の加速度の算出を行うことができる。S1401の処理の後、CPU304bは処理をS1402に進める。   In S1401, the CPU 304b performs processing similar to that of the second embodiment by using the output data of the three-axis acceleration sensor 301, thereby determining the walking and walking of the horse on which the measuring terminal 700 is mounted. Perform each process of volume judgment and step count measurement. The CPU 304 b also acquires data of the current time from the timer 306. The time indicated by the data of the current time acquired here is Tp. Thus, it is possible to detect, for example, the timing at which the right forefoot lands on the legs of the horse. In the present embodiment, the acceleration is calculated based on the timing when the right front leg of the horse on which the measurement terminal 700 is mounted lands. The following acceleration can be calculated based on the timing at which another leg lands instead of the right forefoot. After the process of S1401, the CPU 304b advances the process to S1402.

S1402では、CPU304bは、S1401の処理結果が馬の右前脚が着地したことを示すか否かを判定する。S1401の処理結果が馬の右前脚が着地したことを示す場合は(S1402:Yes)、CPU304bは処理をS1403に進める。また、S1401の処理結果が馬の右前脚が着地したことを示さない場合は(S1402:No)、CPU304bは本フローチャートの処理を終了する。   In S1402, the CPU 304b determines whether the processing result in S1401 indicates that the right forefoot of the horse has landed. If the processing result of S1401 indicates that the right forefoot of the horse has landed (S1402: Yes), the CPU 304b advances the processing to S1403. If the processing result of S1401 does not indicate that the right forefoot of the horse has landed (S1402: No), the CPU 304b ends the processing of this flowchart.

S1403では、CPU304bは、S1401の処理結果を算出した時間Tpの前後にGPSセンサ305から取得したGPSデータを、フラッシュメモリ304dから読み出す。本実施形態では、例えば、S1401の処理結果を算出した時間Tpの直前の時間Taに取得したGPSデータが示す緯度をXa、経度をYaとし、S1401の処理結果を算出した時間Tpの直後の時間Tbに取得したGPSデータが示す緯度をXb、経度をYbとする。これにより、計測端末700を装着した馬の右前脚が着地した時間の前後における計測端末700の位置がわかる。S1403の処理の後、CPU304bは処理をS1404に進める。   In S1403, the CPU 304b reads GPS data acquired from the GPS sensor 305 from the flash memory 304d before and after the time Tp for which the processing result in S1401 has been calculated. In this embodiment, for example, the latitude indicated by GPS data acquired at time Ta immediately before time Tp at which the processing result of S1401 is calculated is Xa and longitude is Ya, and the time immediately after time Tp at which the processing result of S1401 is calculated. The latitude indicated by the GPS data acquired in Tb is Xb, and the longitude is Yb. Thereby, the position of measurement terminal 700 before and behind the time when the right forefoot of the horse equipped with measurement terminal 700 landed is known. After the process of S1403, the CPU 304b advances the process to S1404.

S1404では、CPU304bは、以下の式(13)を用いて、計測端末700を装着した馬の右前脚が着地した時間Tpの前後における緯度に基づいて補正した緯度Xpを算出する。
Xp=Xa+(Xb−Xa)×(Tp−Ta)/(Tb−Ta)・・・(13)
ここで、Tp−Taは、GPSデータの緯度Xaおよび経度Yaが取得されてからS1401において処理結果が算出されるまでの経過時間(例えばミリ秒単位)を示す。また、Tb−Taは、GPSデータの緯度Xaおよび経度Yaが取得されてからGPSデータの緯度Xbおよび経度Ybが取得されるまでの経過時間(例えばミリ秒単位)を示す。本実施形態では、式(13)により算出されるXpを時間Tpにおける緯度とみなす。S1404の処理の後、CPU304bは処理をS1405に進める。
In S1404, the CPU 304b uses the following equation (13) to calculate the corrected latitude Xp based on the latitude before and after the time Tp at which the right forefoot of the horse wearing the measurement terminal 700 lands.
Xp = Xa + (Xb-Xa) x (Tp-Ta) / (Tb-Ta) (13)
Here, Tp-Ta indicates an elapsed time (for example, in milliseconds) from when the latitude Xa and the longitude Ya of the GPS data are acquired to when the processing result is calculated in S1401. Further, Tb-Ta indicates an elapsed time (for example, in milliseconds) from when the latitude Xa and the longitude Ya of the GPS data are acquired to when the latitude Xb and the longitude Yb of the GPS data are acquired. In the present embodiment, Xp calculated by equation (13) is regarded as the latitude at time Tp. After the process of S1404, the CPU 304b advances the process to S1405.

S1405では、CPU304bは、以下の式(14)を用いて、計測端末700を装着した馬の右前脚が着地した時間Tpの前後における経度に基づいて補正した経度Ypを算出する。
Yp=Ya+(Yb−Ya)×(Tp−Ta)/(Tb−Ta)・・・(14)
本実施形態では、式(14)により算出されるYpを時間Tpにおける経度とみなす。S
1405の処理の後、CPU304bは処理をS1406に進める。
In S1405, the CPU 304b calculates the corrected longitude Yp based on the longitudes before and after the time Tp when the right forefoot of the horse wearing the measurement terminal 700 lands, using the following equation (14).
Yp = Ya + (Yb-Ya) × (Tp-Ta) / (Tb-Ta) (14)
In the present embodiment, Yp calculated by equation (14) is regarded as the longitude at time Tp. S
After the processing of 1405, the CPU 304b advances the processing to S1406.

S1406では、CPU304bは、以下の式(15)を用いて、S1401の処理結果を算出した時間Tpにおける単位時間(例えば1秒)あたりの移動距離、すなわち速さVpを算出する。
Vp=Tu×{(Xp−Xo)+(Yp−Yo)1/2/(Tp−To)・・・(15)
ここで、Tuは、Vpを算出する際に採用する単位時間と、GPSデータの時間情報およびタイマ306の時間情報が示す単位時間との関係に基づいて決定される定数である。例えば、Vpを1秒あたりの速さとして求め、式(13)および(14)においてTa、Tb、To、Tpがミリ秒単位の時間として計算される場合は、Tu=1000である。Xo、Yoは、それぞれ前回の処理においてS1404、S1405により算出されたXp、Ypを意味する。また、Toは、前回の処理においてS1401の処理結果が算出された時間を意味する。前回および今回の処理において算出された緯度および経度(すなわちXo、Yo、Xp、Yp)とS1401にの処理結果が算出された時間(すなわちTo、Tp)は、それぞれフラッシュメモリ304dに記憶される。S1406の処理の後、CPU304bは処理をS1407に進める。
In S1406, the CPU 304b calculates the moving distance per unit time (for example, 1 second), that is, the speed Vp in the time Tp at which the processing result of S1401 is calculated, using the following Expression (15).
Vp = Tu × {(Xp−Xo) 2 + (Yp−Yo) 2 } 1/2 / (Tp−To) (15)
Here, Tu is a constant determined based on the relationship between the unit time employed when calculating Vp and the time information of the GPS data and the unit time indicated by the time information of the timer 306. For example, if Vp is determined as the speed per second, and Ta, Tb, To, and Tp are calculated as time in milliseconds in Equations (13) and (14), then Tu = 1000. Xo and Yo mean Xp and Yp calculated by S1404 and S1405, respectively, in the previous processing. Moreover, To means the time when the process result of S1401 was calculated in the previous process. The latitude and longitude (i.e., Xo, Yo, Xp, Yp) calculated in the previous and current processes and the time (i.e., To, Tp) at which the processing result in S1401 is calculated are stored in the flash memory 304d. After the process of S1406, the CPU 304b advances the process to S1407.

S1407では、CPU304bは、以下の式(16)を用いて、前回の処理においてS1401の処理結果が算出された時間Toから今回の処理においてS1401の処理結果が算出された時間Tpまでの経過時間における加速度Apを算出する。
Ap=(Vp−Vo)/(Tp−To)・・・(16)
なお、CPU304bは、算出した加速度Apの値をフラッシュメモリ304dに格納する。S1407の処理が終了すると、CPU304bは本フローチャートの処理を終了する。
In S1407, the CPU 304b uses the following equation (16) to determine the elapsed time from the time To at which the processing result of S1401 was calculated in the previous processing to the time Tp at which the processing result in S1401 is calculated in the current processing. The acceleration Ap is calculated.
Ap = (Vp-Vo) / (Tp-To) (16)
The CPU 304 b stores the calculated value of the acceleration Ap in the flash memory 304 d. When the process of S1407 ends, the CPU 304b ends the process of this flowchart.

図43A、図43Bに、上述した従来の方法により一定の時間間隔で取得したGPSデータに基づいて加速度を算出した場合の測定データと、本実施形態における上記のフローチャートの処理を実行して加速度を算出した場合の測定データをそれぞれ示す。図43Aおよび図43Bに示すグラフにおいて、横軸が時間(s)で、縦軸が加速度(m/s)である。なお、図43Aおよび図43Bに示すグラフにおいて、横軸の時間の長さは同じである。 43A and 43B, measurement data when acceleration is calculated based on GPS data acquired at constant time intervals by the above-described conventional method, and processing of the above-described flowchart in this embodiment are executed to execute acceleration. The measured data in the case of calculation are shown respectively. In the graphs shown in FIGS. 43A and 43B, the horizontal axis is time (s), and the vertical axis is acceleration (m / s 2 ). In the graphs shown in FIGS. 43A and 43B, the length of time on the horizontal axis is the same.

図43Aに示すように、従来の計測方法では加速度のデータ自体は算出できるが、上記の通り、各算出時において馬の歩行(走行)状態、特に各脚の位置関係がばらついているため、加速度の増減傾向が把握できない。一方、本実施形態における計測方法によれば、馬の右前脚が着地したタイミングを検出して馬の歩行(走行)状態が略同じとなるときに加速度が算出され続ける。例えば、ギャロップ中に各脚が空中に浮いている場合は上下加速度が略0になり、右前脚が着地した後に馬が右前脚を踏み込む場合は上下加速度が極大値を取る。本実施形態によれば、このように馬の歩行(走行)状態が異なるときの加速度の影響を受けることなく、図43Bに示すように、加速度の増減傾向が目視でも確認できる程度まで精度よく馬の加速度を計測することができる。   As shown in FIG. 43A, although the acceleration data itself can be calculated by the conventional measurement method, as described above, the walking (running) state of the horse at each calculation time, in particular, the positional relationship between the legs varies. Can not grasp the change tendency of On the other hand, according to the measurement method in the present embodiment, the acceleration is continuously calculated when the walking (running) state of the horse becomes substantially the same by detecting the timing at which the right front leg of the horse lands. For example, when each leg floats in the air during gallop, the vertical acceleration is substantially zero, and when the horse steps on the right front after the right front lands, the vertical acceleration takes a maximum value. According to the present embodiment, the horse is accurate to such an extent that the increase / decrease tendency of the acceleration can be visually confirmed as shown in FIG. 43B without being affected by the acceleration when the walking (running) state of the horse is different. Acceleration can be measured.

なお、本実施形態において、加速度の評価目的に合わせて、S1407において算出された加速度のデータに対して適宜フィルタリングや補正を行ってもよい。また、一般に、馬が走行時に右前脚が着地するタイミングは1秒間に約2回発生する。そのため、例えばGPSセンサ305のGPSデータ取得の周期が1秒であるとすると、GPSデータ取得の1周期内に、右前脚の着地が複数回発生する。このような場合でも、本実施形態の処理により、馬の右前脚が着地する各タイミングにおける計測端末の位置を算出することができる。   In the present embodiment, the data of the acceleration calculated in S1407 may be appropriately filtered and corrected according to the purpose of evaluation of the acceleration. Also, in general, when the horse runs, the timing at which the right fore landing lands occurs approximately twice a second. Therefore, assuming that the cycle of GPS data acquisition by the GPS sensor 305 is one second, for example, landing of the right forefoot occurs multiple times within one cycle of GPS data acquisition. Even in such a case, the processing of this embodiment can calculate the position of the measurement terminal at each timing when the right forefoot of the horse lands.

以上が本実施形態に関する説明であるが、上記の情報処理装置の構成や処理は、上記の実施形態に限定されるものではなく、本発明の技術的思想と同一性を失わない範囲内において種々の変更が可能である。以下に、上記の実施形態における変形例を3例説明する。   The above is the description of the present embodiment, but the configuration and processing of the above-described information processing apparatus are not limited to the above embodiment, and various modifications can be made within the scope not losing the same technical concept as the present invention. Changes are possible. Hereinafter, three modified examples of the above embodiment will be described.

(変形例1)
図30Aおよび図30Bにおける上記の説明では、上下加速度のグラフと時間軸とので囲まれる面積を速さとして用いた。そのため、図33に示すフローチャートにおいて、S1107とS1111とにおいて、上下加速度が正であるときと負であるときのそれぞれの場合における当該面積を算出し、それらの合計を速さとして算出した。すなわち、図44を用いて説明すると、S1111の処理が完了した時点で、S1=d +d 、S2=d +d が計算されていることとなる。ここで、上記の実施形態において、3軸加速度センサの取り付け高さは一定であるため、上下方向の速度の平均値は0とみなすことができる。そして、一歩ごとに上下方向の速度の平均値を0とみなすと、d=−dとみなすことができる。したがって、dとdの平均値を以下の式(17)により定義すると、

d3とd4の平均値も同様に定義でき、S1、S2を変形して式(18)、(19)が得られる。


したがって、対称性、規則性は以下の式(20)、(21)によりそれぞれ算出することができる。

(Modification 1)
In the above description in FIGS. 30A and 30B, the area enclosed by the graph of vertical acceleration and the time axis is used as the speed. Therefore, in the flowchart shown in FIG. 33, in S1107 and S1111, the area in each case when the vertical acceleration is positive and negative is calculated, and the sum of them is calculated as the speed. That is, as described using FIG. 44, S1 = d 1 2 + d 2 2 and S 2 = d 3 2 + d 4 2 are calculated when the process of S1111 is completed. Here, in the above embodiment, since the attachment height of the three-axis acceleration sensor is constant, the average value of the speeds in the vertical direction can be regarded as zero. Then, when the average value of the velocity in the vertical direction is regarded as 0 every step, it can be regarded as d 1 = −d 2 . Therefore, when the average value of d 1 and d 2 is defined by the following equation (17),

The average value of d3 and d4 can be similarly defined, and S1 and S2 can be modified to obtain equations (18) and (19).


Therefore, the symmetry and regularity can be calculated by the following equations (20) and (21), respectively.

第4の実施形態でも説明したように、規則性および対称性の値を閾値と比較する上では、式(20)、(21)のように平均値の比を2乗しなくてもよい。したがって、対称性、規則性は以下の式(22)、(23)によりそれぞれ算出することができる。


式(22)、(23)を踏まえると、図33に示すフローチャートにおいて、S1107でS1=S×Sを計算する代わりにS1=−Sを計算し、さらにS1111でS1+=S×Sを計算する代わりにS1+=Sを計算する処理にそれぞれ変更することができる。
As described in the fourth embodiment, when comparing the values of regularity and symmetry with the threshold value, the ratio of the average values may not be squared as in the equations (20) and (21). Therefore, the symmetry and regularity can be calculated by the following equations (22) and (23), respectively.


Based on equations (22) and (23), in the flowchart shown in FIG. 33, instead of calculating S1 = S × S in S1107, S1 = −S is calculated, and further S1 + = S × S is calculated in S1111 Instead, it can be changed to the process of calculating S1 + = S.

(変形例2)
次に変形例2について説明する。例えば、馬はいずれかの脚を負傷している場合、負傷した脚をかばうため、上記で説明した上下加速度の正の成分において、一歩前の上下加速度の正の成分との差が現れるとも考えられている。この考えに従うと、図45において、d1とd3との比較結果を、馬が脚を負傷しているか否かを判定する1つの基準として用いることができる。そして、上記の実施形態において、規則性および対称性の値に加えて、d1とd3との比の値が所定の範囲内にあるか否かを第3の判定基準として用いてもよい。この場合、図45に示すように、d1とd3の比の値を第3の評価軸として設定し、規則性の値と対称性の値とにより3次元の異常領域を定めることができる。
(Modification 2)
Next, Modification 2 will be described. For example, if a horse has injured any leg, the positive component of the vertical acceleration described above may be different from the positive component of the vertical acceleration one step earlier because the horse covers the injured leg. It is done. According to this idea, in FIG. 45, the result of comparing d1 and d3 can be used as one criterion to determine whether the horse has injured the leg. In the above embodiment, in addition to the values of regularity and symmetry, it may be used as a third determination criterion whether the value of the ratio between d1 and d3 is within a predetermined range. In this case, as shown in FIG. 45, the value of the ratio of d1 and d3 can be set as the third evaluation axis, and a three-dimensional abnormal region can be determined by the value of regularity and the value of symmetry.

なお、d1とd3との比の値は、図33のフローチャートにおいてS1111の処理を省略し、S1112〜S1116の処理を実行することで算出することができる。したがって、まず図33のフローチャートの処理を行って規則性および対称性の値を算出し、さらに図33のフローチャートにおいてS1111、S1113〜S1120の処理を省略した処理を実行することでd1とd3の比の値を算出する。そして、図35のフローチャートを実行する際に、S1201において規則性および対称性の値に加え、d1とd3の比の値がともに小さいか否かを判定することで、算出した値が図45に示す異常領域内にあるか否かを判定し、跛行を警告することができる。   The value of the ratio between d1 and d3 can be calculated by omitting the process of S1111 in the flowchart of FIG. 33 and executing the processes of S1112 to S1116. Therefore, the processing of the flowchart of FIG. 33 is first performed to calculate the values of regularity and symmetry, and the processing of S1111, S1113 to S1120 is omitted in the flowchart of FIG. 33 to calculate the ratio of d1 to d3. Calculate the value of Then, when the flowchart of FIG. 35 is executed, it is determined in FIG. 45 whether or not the ratio of d1 and d3 is both small in addition to the values of regularity and symmetry in S1201. It can be determined whether or not it is within the indicated abnormal area, and a warning can be issued.

(変形例3)
次に変形例3について説明する。上記の説明では、計測端末700のGPSセンサ305は、一定の時間間隔でGPSデータを生成する。本変形例では、GPSセンサ305によるGPSデータの生成タイミングを制御できる場合に、計測端末700を装着した馬の移動における加速度を算出する際のCPU304bの処理について説明する。本変形例では、CPU304bが任意のタイミングでGPSセンサ305にGPSデータの生成を指示して生成されたGPSデータを取得することができるものとする。なお、本変形例の計測端末の構成は、計測端末700からタイマ306が削除された点を除いて第6の実施形態と同様であるため、第6の実施形態と同じ構成要素については同一の符号を用い、図示および詳細な説明は省略する。
(Modification 3)
Next, Modification 3 will be described. In the above description, the GPS sensor 305 of the measurement terminal 700 generates GPS data at fixed time intervals. In this modification, the processing of the CPU 304b when calculating the acceleration in the movement of the horse wearing the measurement terminal 700 when the generation timing of the GPS data by the GPS sensor 305 can be controlled will be described. In this modification, it is assumed that the CPU 304b can instruct the GPS sensor 305 to generate GPS data at an arbitrary timing and acquire GPS data generated. The configuration of the measurement terminal of this modification is the same as that of the sixth embodiment except that the timer 306 is deleted from the measurement terminal 700, so the same components as in the sixth embodiment are the same. The reference numerals and symbols are used, and the illustration and the detailed description are omitted.

図46のフローチャートを参照しながら、本変形例におけるCPU304bが実行する処理について説明する。S1501において、CPU304bは、3軸加速度センサの出力データを用いて、上記の第2の実施形態と同様の処理を行うことで、計測端末700が
装着されている馬の歩行判定、歩容判定、歩数計測の各処理を行う。次いで処理はS1502に進められる。S1502の処理は、図42のフローチャートにおけるS1402と同じであるため説明を省略する。
The process executed by the CPU 304 b in the present modification will be described with reference to the flowchart in FIG. In S1501, the CPU 304b performs the same processing as the second embodiment by using the output data of the three-axis acceleration sensor to determine the walking of the horse on which the measuring terminal 700 is mounted, gait determination, Perform each step measurement process. Next, the process proceeds to S1502. The processing of S1502 is the same as S1402 in the flowchart of FIG.

S1503において、CPU304bはGPSセンサ305から現在のGPSデータを取得する。次いで処理はS1504に進められる。S1504において、CPU304bは、前回の処理においてS1503において取得したGPSデータの緯度と今回の処理においてS1503において取得したGPSデータの緯度の差分を算出する。次いで処理はS1505に進められる。S1505において、CPU304bは、前回の処理においてS1503において取得したGPSデータの経度と今回の処理においてS1503において取得したGPSデータの経度の差分を算出する。次いで処理はS1506に進められる。   In S1503, the CPU 304b acquires current GPS data from the GPS sensor 305. Next, the process proceeds to S1504. In S1504, the CPU 304b calculates the difference between the latitude of the GPS data acquired in S1503 in the previous processing and the latitude of the GPS data acquired in S1503 in the current processing. Next, the process proceeds to S1505. In S1505, the CPU 304b calculates the difference between the longitude of the GPS data acquired in S1503 in the previous process and the longitude of the GPS data acquired in S1503 in the current process. The process then proceeds to S1506.

S1506において、CPU304bは前回および今回の処理においてS1503において取得したGPSデータの時刻情報から、前回の処理における右前脚の着地時刻から今回の処理における右前脚の着時時刻までの経過時間を算出する。さらにCPU304bは、算出した経過時間とS1504、S1505において算出した緯度および経度の差分とを用いて速さを算出する。次いで処理はS1507に進められる。S1507では、CPU304bはS1506において算出した経過時間とS1506において算出した速さとを用いて加速度を算出する。S1507の処理が終了すると、CPU304bは本フローチャートの処理を終了する。   In S1506, the CPU 304b calculates the elapsed time from the landing time of the right forefoot in the previous processing to the arrival time of the right forefoot in the current processing from the time information of the GPS data acquired in S1503 in the previous and current processing. Furthermore, the CPU 304 b calculates the speed using the calculated elapsed time and the difference between the latitude and the longitude calculated in S 1504 and S 1505. Next, the process proceeds to S1507. In S1507, the CPU 304b uses the elapsed time calculated in S1506 and the speed calculated in S1506 to calculate an acceleration. When the process of S1507 ends, the CPU 304b ends the process of this flowchart.

本変形例では、S1501、S1502において右脚前が着地した時点におけるGPSデータが取得できる。このため、CPU304bは、図42のフローチャートに示すようにタイマ306から出力される時間情報およびGPSデータに基づく緯度および経度の補正処理や式(13)〜式(16)の計算処理は実行しない。このため、第6の実施形態に比べてCPU304bに対する処理負荷をさらに軽減しつつ、精度よく馬の加速度を算出することができる。   In this modification, GPS data at the time when the front of the right leg lands in S1501 and S1502 can be acquired. For this reason, the CPU 304b does not execute the correction processing of latitude and longitude based on the time information and GPS data output from the timer 306 or the calculation processing of the equations (13) to (16) as shown in the flowchart of FIG. For this reason, it is possible to calculate the horse acceleration more accurately while further reducing the processing load on the CPU 304b compared to the sixth embodiment.

<コンピュータが読み取り可能な記録媒体>
コンピュータその他の機械、装置(以下、コンピュータ等)に上記情報処理装置の設定を行うための管理ツール、OSその他を実現させるプログラムをコンピュータ等が読み取り可能な記録媒体に記録することができる。そして、コンピュータ等に、この記録媒体のプログラムを読み込ませて実行させることにより、その機能を提供させることができる。ここで、コンピュータは、例えば、計測端末等である。
<A computer readable recording medium>
A management tool for setting the information processing apparatus on a computer or other machine or apparatus (hereinafter, a computer or the like), a program for realizing an OS or the like can be recorded on a recording medium readable by the computer or the like. Then, the function can be provided by causing a computer or the like to read and execute the program of the recording medium. Here, the computer is, for example, a measurement terminal or the like.

ここで、コンピュータ等が読み取り可能な記録媒体とは、データやプログラム等の情報を電気的、磁気的、光学的、機械的、または化学的作用によって蓄積し、コンピュータ等から読み取ることができる記録媒体をいう。このような記録媒体のうちコンピュータ等から取り外し可能なものとしては、例えばフレキシブルディスク、光磁気ディスク、CD−ROM、CD−R/W、DVD、ブルーレイディスク、DAT、8mmテープ、フラッシュメモリ等のメモリカード等がある。また、コンピュータ等に固定された記録媒体としてハードディスクやROM等がある。   Here, a recording medium readable by a computer etc. is a recording medium which can store information such as data and programs electrically, magnetically, optically, mechanically or chemically and read from a computer etc. Say Among such recording media, those removable from the computer etc. include, for example, memory such as flexible disk, magneto-optical disk, CD-ROM, CD-R / W, DVD, Blu-ray disk, DAT, 8 mm tape, flash memory etc. There is a card etc. Further, as a recording medium fixed to a computer or the like, there is a hard disk, a ROM or the like.

以上の実施形態に関し、さらに以下の付記を開示する。   Further, the following appendices will be disclosed regarding the above embodiment.

(付記1)
四脚動物に取り付けられた計測装置に、
前記四脚動物に取り付けられた加速度センサから3次元空間の加速度データを取得させ、
前記取得した加速度データを用いて前記四脚動物の歩容を特定させ、
前記特定した前記四脚動物の歩容を用いて前記四脚動物の右前脚と左後脚、左前脚と右後脚の移動がそれぞれ対になっているか否かを判定させ、
前記四脚動物の右前脚と左後脚、左前脚と右後脚の移動がそれぞれ対になっていると判定した場合に、前記取得した加速度データを用いて、前記取得した加速度データの時間変化における連続する3つの周期について、周期ごとの運動エネルギを示す値を算出させ、
前記算出した運動エネルギを示す値を用いて、前記連続する3つの周期における隣り合う周期間の運動エネルギの比と1周期離れた周期間の運動エネルギの比を算出させる、
ことを特徴とする計測プログラム。
(Supplementary Note 1)
To the measuring device attached to the tetrapod animal,
Obtaining acceleration data of a three-dimensional space from an acceleration sensor attached to the four-legged animal;
Causing the gait of the tetrapod to be identified using the acquired acceleration data;
Using the specified gait of the four-legged animal, it is determined whether or not the movement of the right fore leg and left back leg, and the left fore leg and right back leg of the four-legged animal are paired, respectively.
When it is determined that the movement of the right front leg and the left rear leg, and the left front leg and the right rear leg of the four-legged animal are paired, the temporal change of the acquired acceleration data using the acquired acceleration data Calculate the value indicating the kinetic energy for each cycle for three consecutive cycles in
Using the value indicating the calculated kinetic energy, calculate the ratio of kinetic energy between adjacent periods in the three consecutive periods and the ratio of kinetic energy between periods separated by one period.
Measurement program characterized by

(付記2)
前記計測装置にさらに、
前記隣り合う周期間の運動エネルギの比と前記1周期離れた周期間の運動エネルギの比とが所定の閾値より小さい場合に、前記四脚動物の歩行が異常であると判定させる
ことを特徴とする付記1に記載の計測プログラム。
(Supplementary Note 2)
In addition to the measuring device
When the ratio of kinetic energy between adjacent cycles and the ratio of kinetic energy between cycles separated by one cycle are smaller than a predetermined threshold, it is determined that the walking of the four-legged animal is abnormal. The measurement program according to Appendix 1.

(付記3)
前記計測装置にさらに、
過去の前記隣り合う周期間の運動エネルギの比の累積和と前記1周期離れた周期間の運動エネルギの比の累積和を用いた指標値を算出させ
現在の前記隣り合う周期間の運動エネルギの比の累積和と前記1周期離れた周期間の運動エネルギの比の累積和が前記指標値から所定量だけ乖離している場合に、前記四脚動物の歩行が異常であると判定させる
ことを特徴とする付記1に記載の計測プログラム。
(Supplementary Note 3)
In addition to the measuring device
An index value is calculated using the cumulative sum of the ratio of kinetic energy between the adjacent cycles in the past and the cumulative sum of the ratio of kinetic energy between the cycles separated by one cycle to calculate the kinetic energy of the current adjacent cycle If the cumulative sum of the ratio and the cumulative sum of the ratio of the kinetic energy between the cycles separated by one cycle deviate from the index value by a predetermined amount, it is determined that the walking of the tetrapod animal is abnormal. The measurement program according to supplementary note 1, characterized in that

(付記4)
四脚動物に取り付けられた計測装置に、
前記四脚動物に取り付けられた加速度センサから3次元空間の加速度データを取得させ、
前記取得した加速度データを用いて前記四脚動物の歩容を特定させ、
前記特定した前記四脚動物の歩容を用いて前記四脚動物の所定の脚が着地したか否かを判定させ、
前記四脚動物の所定の脚が着地したと判定したときの前記四脚動物の位置を示す位置情報を、前記四脚動物に取り付けられたGPSセンサから取得したGPSデータが示す位置情報と時間情報とを用いて生成させ、
前記生成した位置情報と前記GPSデータが示す時間情報とを用いて、前記四脚動物の所定の脚が着地したと判定してから再度前記四脚動物の所定の脚が着地したと判定するまでの前記四脚動物の移動における加速度の平均値を算出させる
ことを特徴とする計測プログラム。
(Supplementary Note 4)
To the measuring device attached to the tetrapod animal,
Obtaining acceleration data of a three-dimensional space from an acceleration sensor attached to the four-legged animal;
Causing the gait of the tetrapod to be identified using the acquired acceleration data;
It is determined whether or not a predetermined leg of the four-legged animal has landed using the specified gait of the four-legged animal,
Position information and time information indicated by GPS data acquired from a GPS sensor attached to the four-legged animal, position information indicating the position of the four-legged animal when it is determined that the predetermined leg of the four-legged animal has landed To generate using
Until it is determined that the predetermined leg of the four-legged animal has landed using the generated position information and the time information indicated by the GPS data, and then it is determined that the predetermined leg of the four-legged animal has landed again The measurement program characterized by calculating the average value of the acceleration in the movement of the four-legged animal.

(付記5)
四脚動物に取り付けられる計測装置であって、
3次元空間の加速度データを出力する加速度センサと、
前記加速度センサから取得した前記加速度データを用いて前記四脚動物の歩容を特定する歩容特定部と、
前記特定した前記四脚動物の歩容を用いて前記四脚動物の右前脚と左後脚、左前脚と右後脚の移動がそれぞれ対になっているか否かを判定する歩容判定部と、
前記取得した加速度データを用いて、前記取得した加速度データの時間変化における連続する3つの周期について、周期ごとの運動エネルギを示す値を算出する運動エネルギ値算出部と、
前記算出した運動エネルギを示す値を用いて、前記連続する3つの周期における隣り合う周期間の運動エネルギの比と1周期離れた周期間の運動エネルギの比を算出させる運動エネルギ比算出部と、
を有することを特徴とする計測装置。
(Supplementary Note 5)
A measuring device attached to a tetrapod,
An acceleration sensor that outputs acceleration data in a three-dimensional space;
A gait identification unit that identifies the gait of the four-legged animal using the acceleration data acquired from the acceleration sensor;
A gait determination unit that determines whether the movement of the right front leg and the left rear leg and the left front leg and the right rear leg of the four-legged animal is paired using the specified gait of the four-legged animal; ,
A kinetic energy value calculating unit that calculates a value indicating kinetic energy for each cycle for three consecutive cycles in the time change of the acquired acceleration data using the acquired acceleration data;
A kinetic energy ratio calculation unit configured to calculate a ratio of kinetic energy between adjacent periods in the three consecutive periods and a ratio of kinetic energy between periods separated by one period using the value indicating the calculated kinetic energy;
Measuring device characterized by having.

(付記6)
前記隣り合う周期間の運動エネルギの比と前記1周期離れた周期間の運動エネルギの比とが所定の閾値より小さい場合に、前記四脚動物の歩行が異常であると判定する歩行判定部を有することを特徴とする付記5に記載の計測装置。
(Supplementary Note 6)
A walk determination unit that determines that the walk of the four-legged animal is abnormal when the ratio of kinetic energy between adjacent cycles and the ratio of kinetic energy between cycles separated by one cycle are smaller than a predetermined threshold value; The measuring device according to claim 5, characterized by having.

(付記7)
過去の前記隣り合う周期間の運動エネルギの比の累積和と前記1周期離れた周期間の運動エネルギの比の累積和を用いた指標値を算出する指標値算出部と、
現在の前記隣り合う周期間の運動エネルギの比の累積和と前記1周期離れた周期間の運動エネルギの比の累積和が前記指標値から所定量だけ乖離している場合に、前記四脚動物の歩行が異常であると判定する歩行判定部と
を有することを特徴とする付記5に記載の計測装置。
(Appendix 7)
An index value calculation unit that calculates an index value using an accumulated sum of ratios of kinetic energy between adjacent cycles in the past and an accumulated sum of ratios of kinetic energy between cycles separated by one cycle;
When the cumulative sum of the ratio of kinetic energy between the current adjacent periods and the cumulative sum of the ratio of kinetic energy between the periods separated by one period deviate from the index value by a predetermined amount, the four-legged animal The measurement apparatus according to claim 5, further comprising: a walk determination unit that determines that the walk is abnormal.

(付記8)
四脚動物に取り付けられる計測装置であって、
GPSセンサと、
3次元空間の加速度データを出力する加速度センサと、
前記取得した加速度データを用いて前記四脚動物の歩容を特定する歩容特定部と、
前記特定した前記四脚動物の歩容を用いて前記四脚動物の所定の脚が着地したか否かを判定する歩容判定部と、
前記四脚動物の所定の脚が着地したと判定したときの前記四脚動物の位置を示す位置情報を、前記GPSセンサから取得したGPSデータが示す位置情報と時間情報とを用いて生成する位置情報生成部と、
前記生成した位置情報と前記GPSデータが示す時間情報とを用いて、前記四脚動物の所定の脚が着地したと判定してから再度前記四脚動物の所定の脚が着地したと判定するまでの前記四脚動物の移動における加速度の平均値を算出する加速度算出部と
を有することを特徴とする計測装置。
(Supplementary Note 8)
A measuring device attached to a tetrapod,
GPS sensor,
An acceleration sensor that outputs acceleration data in a three-dimensional space;
A gait identification unit that identifies the gait of the four-legged animal using the acquired acceleration data;
A gait determination unit that determines whether or not a predetermined leg of the four-legged animal has landed using the specified gait of the four-legged animal;
A position that generates position information indicating the position of the tetrapod when it is determined that the predetermined leg of the tetrapod has landed, using position information and time information indicated by GPS data acquired from the GPS sensor An information generation unit,
Until it is determined that the predetermined leg of the four-legged animal has landed using the generated position information and the time information indicated by the GPS data, and then it is determined that the predetermined leg of the four-legged animal has landed again And an acceleration calculation unit for calculating an average value of accelerations in the movement of the four-legged animal.

(付記9)
四脚動物に取り付けられた加速度センサから3次元空間の加速度データを取得し、
前記取得した加速度データを用いて前記四脚動物の歩容を特定し、
前記特定した前記四脚動物の歩容を用いて前記四脚動物の右前脚と左後脚、左前脚と右後脚の移動がそれぞれ対になっているか否かを判定し、
前記四脚動物の右前脚と左後脚、左前脚と右後脚の移動がそれぞれ対になっていると判定した場合に、前記取得した加速度データを用いて、前記取得した加速度データの時間変化における連続する3つの周期について、周期ごとの運動エネルギを示す値を算出し、
前記算出した運動エネルギを示す値を用いて、前記連続する3つの周期における隣り合う周期間の運動エネルギの比と1周期離れた周期間の運動エネルギの比を算出する
ことを特徴とする計測方法。
(Appendix 9)
Acquire acceleration data in a three-dimensional space from an acceleration sensor attached to a quadruped animal,
Identifying the gait of the tetrapod using the acquired acceleration data;
Using the specified gait of the four-legged animal, it is determined whether or not the movement of the right front leg and the left rear leg, and the left fore leg and the right rear leg of the four-legged animal are paired, respectively.
When it is determined that the movement of the right front leg and the left rear leg, and the left front leg and the right rear leg of the four-legged animal are paired, the temporal change of the acquired acceleration data using the acquired acceleration data Calculate the value indicating the kinetic energy of each cycle for three consecutive cycles in
A measuring method characterized by calculating a ratio of kinetic energy between adjacent cycles in the three consecutive cycles and a ratio of kinetic energy between cycles separated by one cycle using the value indicating the calculated kinetic energy. .

(付記10)
前記隣り合う周期間の運動エネルギの比と前記1周期離れた周期間の運動エネルギの比とが所定の閾値より小さい場合に、前記四脚動物の歩行が異常であると判定することを特徴とする付記9に記載の計測方法。
(Supplementary Note 10)
If the ratio of kinetic energy between adjacent cycles and the ratio of kinetic energy between cycles separated by one cycle are smaller than a predetermined threshold, it is determined that the walking of the four-legged animal is abnormal. The measurement method as described in Supplementary Note 9.

(付記11)
過去の前記隣り合う周期間の運動エネルギの比の累積和と前記1周期離れた周期間の運動エネルギの比の累積和を用いた指標値を算出し、
現在の前記隣り合う周期間の運動エネルギの比の累積和と前記1周期離れた周期間の運動エネルギの比の累積和が前記指標値から所定量だけ乖離している場合に、前記四脚動物の歩行が異常であると判定する
ことを特徴とする付記9に記載の計測方法。
(Supplementary Note 11)
An index value is calculated using an accumulated sum of ratios of kinetic energy between adjacent cycles in the past and an accumulated sum of ratios of kinetic energy between cycles separated by one cycle,
When the cumulative sum of the ratio of kinetic energy between the current adjacent periods and the cumulative sum of the ratio of kinetic energy between the periods separated by one period deviate from the index value by a predetermined amount, the four-legged animal 24. The measurement method according to appendix 9, wherein the walking is determined to be abnormal.

(付記12)
四脚動物に取り付けられた加速度センサから3次元空間の加速度データを取得し、
前記取得した加速度データを用いて前記四脚動物の歩容を特定し、
前記特定した前記四脚動物の歩容を用いて前記四脚動物の所定の脚が着地したか否かを判定し、
前記四脚動物の所定の脚が着地したと判定したときの前記四脚動物の位置を示す位置情報を、前記四脚動物に取り付けられたGPSセンサから取得したGPSデータが示す位置情報と時間情報とを用いて生成し、
前記生成した位置情報と前記GPSデータが示す時間情報とを用いて、前記四脚動物の所定の脚が着地したと判定してから再度前記四脚動物の所定の脚が着地したと判定するまでの前記四脚動物の移動における加速度の平均値を算出する
ことを特徴とする計測方法。
(Supplementary Note 12)
Acquire acceleration data in a three-dimensional space from an acceleration sensor attached to a quadruped animal,
Identifying the gait of the tetrapod using the acquired acceleration data;
It is determined whether or not a predetermined leg of the tetrapod animal has landed using the specified gait of the tetrapod animal,
Position information and time information indicated by GPS data acquired from a GPS sensor attached to the four-legged animal, position information indicating the position of the four-legged animal when it is determined that the predetermined leg of the four-legged animal has landed And using
Until it is determined that the predetermined leg of the four-legged animal has landed using the generated position information and the time information indicated by the GPS data, and then it is determined that the predetermined leg of the four-legged animal has landed again Calculating an average value of accelerations in the movement of the four-legged animal.

10 携帯電話端末
10’、10’’ 携帯端末
104、304 サブマイコン
104c、104h、104r、1004a LPF
104d、104o、104s HPF
1004b BPF
104e、104k、1004d、1004i 外積演算処理部
104j、104l、104m、104p、104q、104t、104u、1004c、1004j、1004p、1004q 内積演算処理部
1004l、1004n、1004o 乗算部
1004m 符号判定部
108 ROM
109 RAM
110 加速度センサ
111 角速度センサ
201 内積値算出部
202 外積算出部
203 絶対値算出部
204 動作状態特定部
300、700 計測端末
301 3軸加速度センサ
304b CPU
304c メインメモリ
304d フラッシュメモリ
305 GPSセンサ
306 タイマ
3001、7001 歩容特定部
3002、7002 歩容判定部
3003 運動エネルギ値算出部
3004 運動エネルギ比算出部
7003 位置情報生成部
7004 加速度算出部
10 mobile phone terminal 10 ', 10''mobile terminal 104, 304 sub microcomputer 104c, 104h, 104r, 1004a LPF
104 d, 104 o, 104 s HPF
1004b BPF
104e, 104k, 1004d, outer product calculation processing units 104j, 1041, 104m, 104p, 104q, 104t, 104u, 1004c, 1004j, 1004p inner product calculation processing units 10041, 1004n, 1004o multiplication unit 1004m sign determination unit 108 ROM
109 RAM
110 acceleration sensor 111 angular velocity sensor 201 inner product value calculation unit 202 outer product calculation unit 203 absolute value calculation unit 204 operation state identification unit 300, 700 measurement terminal 301 3-axis acceleration sensor 304 b CPU
304c Main memory 304d Flash memory 305 GPS sensor 306 Timer 3001, 7001 Gait identifying unit 3002, 7002 Gait judging unit 3003 Kinetic energy value calculating unit 3004 Kinetic energy ratio calculating unit 7003 Position information generating unit 7004 Acceleration calculating unit

Claims (3)

四脚動物に取り付けられた計測装置に、
前記四脚動物に取り付けられた加速度センサから3次元空間の加速度データを取得させ、
前記取得した加速度データを用いて前記四脚動物の歩容を特定させ、
前記特定した前記四脚動物の歩容を用いて前記四脚動物の所定の脚が着地したか否かを判定させ、
前記四脚動物の所定の脚が着地したと判定したときの前記四脚動物の位置を示す位置情報を、前記四脚動物に取り付けられたGPSセンサから取得したGPSデータが示す位置情報と時間情報とを用いて生成させ、
前記生成した位置情報と前記GPSデータが示す時間情報とを用いて、前記四脚動物の所定の脚が着地したと判定してから再度前記四脚動物の所定の脚が着地したと判定するまでの前記四脚動物の移動における加速度の平均値を算出させる
ことを特徴とする計測プログラム。
To the measuring device attached to the tetrapod animal,
Obtaining acceleration data of a three-dimensional space from an acceleration sensor attached to the four-legged animal;
Causing the gait of the tetrapod to be identified using the acquired acceleration data;
It is determined whether or not a predetermined leg of the four-legged animal has landed using the specified gait of the four-legged animal,
Position information and time information indicated by GPS data acquired from a GPS sensor attached to the four-legged animal, position information indicating the position of the four-legged animal when it is determined that the predetermined leg of the four-legged animal has landed To generate using
Until it is determined that the predetermined leg of the four-legged animal has landed using the generated position information and the time information indicated by the GPS data, and then it is determined that the predetermined leg of the four-legged animal has landed again The measurement program characterized by calculating the average value of the acceleration in the movement of the four-legged animal.
四脚動物に取り付けられる計測装置であって、
GPSセンサと、
3次元空間の加速度データを出力する加速度センサと、
前記取得した加速度データを用いて前記四脚動物の歩容を特定する歩容特定部と、
前記特定した前記四脚動物の歩容を用いて前記四脚動物の所定の脚が着地したか否かを判定する歩容判定部と、
前記四脚動物の所定の脚が着地したと判定したときの前記四脚動物の位置を示す位置情報を、前記GPSセンサから取得したGPSデータが示す位置情報と時間情報とを用いて生成する位置情報生成部と、
前記生成した位置情報と前記GPSデータが示す時間情報とを用いて、前記四脚動物の所定の脚が着地したと判定してから再度前記四脚動物の所定の脚が着地したと判定するまでの前記四脚動物の移動における加速度の平均値を算出する加速度算出部と
を有することを特徴とする計測装置。
A measuring device attached to a tetrapod,
GPS sensor,
An acceleration sensor that outputs acceleration data in a three-dimensional space;
A gait identification unit that identifies the gait of the four-legged animal using the acquired acceleration data;
A gait determination unit that determines whether or not a predetermined leg of the four-legged animal has landed using the specified gait of the four-legged animal;
A position that generates position information indicating the position of the tetrapod when it is determined that the predetermined leg of the tetrapod has landed, using position information and time information indicated by GPS data acquired from the GPS sensor An information generation unit,
Until it is determined that the predetermined leg of the four-legged animal has landed using the generated position information and the time information indicated by the GPS data, and then it is determined that the predetermined leg of the four-legged animal has landed again And an acceleration calculation unit for calculating an average value of accelerations in the movement of the four-legged animal.
四脚動物に取り付けられた加速度センサから3次元空間の加速度データを取得し、
前記取得した加速度データを用いて前記四脚動物の歩容を特定し、
前記特定した前記四脚動物の歩容を用いて前記四脚動物の所定の脚が着地したか否かを判定し、
前記四脚動物の所定の脚が着地したと判定したときの前記四脚動物の位置を示す位置情報を、前記四脚動物に取り付けられたGPSセンサから取得したGPSデータが示す位置情報と時間情報とを用いて生成し、
前記生成した位置情報と前記GPSデータが示す時間情報とを用いて、前記四脚動物の所定の脚が着地したと判定してから再度前記四脚動物の所定の脚が着地したと判定するまでの前記四脚動物の移動における加速度の平均値を算出する
ことを特徴とする計測方法。
Acquire acceleration data in a three-dimensional space from an acceleration sensor attached to a quadruped animal,
Identifying the gait of the tetrapod using the acquired acceleration data;
It is determined whether or not a predetermined leg of the tetrapod animal has landed using the specified gait of the tetrapod animal,
Position information and time information indicated by GPS data acquired from a GPS sensor attached to the four-legged animal, position information indicating the position of the four-legged animal when it is determined that the predetermined leg of the four-legged animal has landed And using
Until it is determined that the predetermined leg of the four-legged animal has landed using the generated position information and the time information indicated by the GPS data, and then it is determined that the predetermined leg of the four-legged animal has landed again Calculating an average value of accelerations in the movement of the four-legged animal.
JP2018044700A 2018-03-12 2018-03-12 Measuring device, measuring method and measuring program Expired - Fee Related JP6519682B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018044700A JP6519682B2 (en) 2018-03-12 2018-03-12 Measuring device, measuring method and measuring program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018044700A JP6519682B2 (en) 2018-03-12 2018-03-12 Measuring device, measuring method and measuring program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014137879A Division JP6375733B2 (en) 2014-07-03 2014-07-03 Measuring device, measuring method and measuring program

Publications (2)

Publication Number Publication Date
JP2018113976A JP2018113976A (en) 2018-07-26
JP6519682B2 true JP6519682B2 (en) 2019-05-29

Family

ID=62984621

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018044700A Expired - Fee Related JP6519682B2 (en) 2018-03-12 2018-03-12 Measuring device, measuring method and measuring program

Country Status (1)

Country Link
JP (1) JP6519682B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7663129B2 (en) * 2021-10-15 2025-04-16 株式会社村田製作所 Speed estimation method, speed estimation device, speed estimation system, and computer program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409924B2 (en) * 2004-07-15 2008-08-12 Lawrence Kates Training, management, and/or entertainment system for canines, felines, or other animals
FI20045336A0 (en) * 2004-09-13 2004-09-13 Valtion Teknillinen A method for verifying / identifying a carrier of a personal device being carried
GB2452538A (en) * 2007-09-07 2009-03-11 Royal Veterinary College Identifying sub-optimal performance in a race animal
JP2011062112A (en) * 2009-09-16 2011-03-31 Casio Computer Co Ltd Apparatus for health care of companion animal
JP5421179B2 (en) * 2010-04-09 2014-02-19 公立大学法人大阪府立大学 Animal activity measuring device

Also Published As

Publication number Publication date
JP2018113976A (en) 2018-07-26

Similar Documents

Publication Publication Date Title
JP6375733B2 (en) Measuring device, measuring method and measuring program
KR102306064B1 (en) Activity recognition using accelerometer data
EP2335563B1 (en) System for processing exercise-related data
US20180117414A1 (en) Electronic device, display method, display system, and recording medium
US20110313304A1 (en) Data Transfer
EP2658443B1 (en) Accelerometer data compression
US7437931B2 (en) Medical application for no-motion sensor
JP2019025229A (en) Activity status analysis device, activity status analysis method and program
WO2015146048A1 (en) Error estimation method, motion analysis method, error estimation device, and program
WO2015146046A1 (en) Correlation coefficient correction method, motion analysis method, correlation coefficient correction device, and program
US11051720B2 (en) Fitness tracking for constrained-arm usage
Noda et al. Monitoring attitude and dynamic acceleration of free-moving aquatic animals using a gyroscope
CN110167436B (en) Blood pressure measurement device, system, and storage medium
CN107702711A (en) A kind of pedestrian course Estimation System based on inexpensive sensor and ground constraint diagram
JP6519682B2 (en) Measuring device, measuring method and measuring program
CN204129913U (en) Tumble alarm device and microprocessor thereof
JP2017169726A (en) Measuring device, measuring method, and measuring program
JP2015190850A (en) Error estimation method, kinematic analysis method, error estimation device, and program
JP2015188605A (en) Error estimation method, motion analysis method, error estimation device, and program
JP6416722B2 (en) Step counting device, step counting method, and program
CN107073323B (en) Exercise information measuring device and exercise assistance method
JP6504085B2 (en) Location information transmitter
CN107782302B (en) Method, device and system for realizing positioning based on lower limb movement
CN105629276B (en) Position calculation method and position calculation device
KR20190058206A (en) Apparatus and method for predicting disease based on behavior information

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190220

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190408

R150 Certificate of patent or registration of utility model

Ref document number: 6519682

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees