JP7092624B2 - Behavior identification device, behavior identification method and program - Google Patents

Behavior identification device, behavior identification method and program Download PDF

Info

Publication number
JP7092624B2
JP7092624B2 JP2018166330A JP2018166330A JP7092624B2 JP 7092624 B2 JP7092624 B2 JP 7092624B2 JP 2018166330 A JP2018166330 A JP 2018166330A JP 2018166330 A JP2018166330 A JP 2018166330A JP 7092624 B2 JP7092624 B2 JP 7092624B2
Authority
JP
Japan
Prior art keywords
value
behavior
acceleration
livestock
barometric pressure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018166330A
Other languages
Japanese (ja)
Other versions
JP2020036566A (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.)
NTT TechnoCross Corp
Original Assignee
NTT TechnoCross Corp
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 NTT TechnoCross Corp filed Critical NTT TechnoCross Corp
Priority to JP2018166330A priority Critical patent/JP7092624B2/en
Publication of JP2020036566A publication Critical patent/JP2020036566A/en
Application granted granted Critical
Publication of JP7092624B2 publication Critical patent/JP7092624B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、行動特定装置、行動特定方法及びプログラムに関する。 The present invention relates to a behavior identification device, a behavior identification method and a program.

乳用牛の搾乳期間は、乳用牛を交配(人工授精)させて子牛を生ませた後(分娩後)であり、この期間は泌乳期と呼ばれている。泌乳期は約305日程度であることが知られている。また、次の出産に備えて、次回の分娩予定日の約60日前で搾乳を止めるのが一般的である。この60日の期間は乾乳期と呼ばれている。乳用牛は、分娩、泌乳期、乾乳期を毎年繰り返している。 The milking period of dairy cows is after mating (artificial insemination) of dairy cows to give birth to calves (postpartum), and this period is called the lactation period. It is known that the lactation period is about 305 days. In addition, it is common to stop milking about 60 days before the next expected delivery date in preparation for the next delivery. This 60-day period is called the dry milk period. Dairy cows repeat calving, lactation, and dryness every year.

乳用牛を飼育する酪農家等は、乳用牛から継続的に搾乳するため、毎年乾乳期に乳用牛を交配(人工授精)させる必要がある。乳用牛の交配(人工授精)にあたっては、乳用牛の発情を発見する必要がある。乳用牛の発情を発見するには、乳用牛の外部的兆候を確認したり、発情時に多く見られる行動を確認したりすることが行われている。また、台帳を用いた繁殖記録による発情時期の管理等も行われている。 Dairy farmers who raise dairy cows need to mate (artificial insemination) dairy cows every year during the dry season because they continuously milk from dairy cows. When mating dairy cows (artificial insemination), it is necessary to discover the estrus of the dairy cows. To detect estrus in dairy cows, it is necessary to check the external signs of dairy cows and to confirm the behaviors that are often seen during estrus. In addition, the breeding record using a ledger is used to manage the estrus period.

阿部 亮著、「農学基礎セミナー 家畜飼育の基礎 」、新版、社団法人 農産漁村文化協会、2008 年 4 月, p.109, p.122-124.Abe Ryo, "Agricultural Science Seminar Basics of Livestock Breeding", New Edition, Agricultural Fisheries Village Cultural Association, April 2008, p.109, p.122-124.

ここで、例えば、飼養頭数が数千頭以上にも及ぶ大規模な酪農場では、1頭1頭の乳用牛の外部的兆候や行動を確認することは酪農家の大きな負担となっていた。これに対して、例えば、飼養している乳用牛の行動を特定することで、発情時に多く見られる行動の確認を容易にすることができれば、酪農家の負担を軽減することができる。 Here, for example, in a large-scale dairy farm where the number of cows raised is several thousand or more, it is a heavy burden on the dairy farmer to confirm the external signs and behavior of each dairy cow. .. On the other hand, for example, if it is possible to easily confirm the behavior that is often seen during estrus by identifying the behavior of the dairy cow that is being raised, the burden on the dairy farmer can be reduced.

また、乳用牛の行動を特定することで、発情の発見のみならず、病気やケガ等による異常行動の発見にも繋がり、乳用牛の健康管理にも資することができる。 In addition, identifying the behavior of dairy cows leads not only to the discovery of estrus but also to the detection of abnormal behavior due to illness, injury, etc., and can contribute to the health management of dairy cows.

本発明の一実施形態は、上記の点に鑑みてなされたもので、家畜の行動を特定することを目的とする。 One embodiment of the present invention has been made in view of the above points, and an object thereof is to specify the behavior of livestock.

上記課題を解決するため、本発明の一実施形態は、家畜の行動を特定する行動特定装置であって、前記家畜に装着された加速度センサが測定した加速度データと、前記家畜に装着された気圧センサが測定した気圧データとを記憶する記憶手段と、所定の時間の間における1以上の前記加速度データから所定の指標値を算出する指標値算出手段と、前記指標値と、予め作成された前記家畜の行動を特定するための特定モデルとに基づいて、前記家畜の行動を特定する第1の特定手段と、前記第1の特定手段により特定された行動が所定の行動である場合、所定の時間の間における1以上の前記気圧データと1以上の前記加速度データとに基づいて、前記家畜の行動を特定する第2の特定手段と、を有することを特徴とする。 In order to solve the above problems, one embodiment of the present invention is a behavior specifying device for specifying the behavior of a livestock, and the acceleration data measured by an acceleration sensor mounted on the livestock and the pressure pressure mounted on the livestock. A storage means for storing pressure data measured by a sensor, an index value calculation means for calculating a predetermined index value from one or more acceleration data during a predetermined time, the index value, and the pre-created said. When the first specific means for specifying the behavior of the livestock and the behavior specified by the first specific means are predetermined behaviors based on the specific model for specifying the behavior of the livestock, the predetermined behavior is specified. It is characterized by having a second specifying means for identifying the behavior of the livestock based on one or more of the pressure data and one or more of the acceleration data over time.

家畜の行動を特定することができる。 The behavior of livestock can be identified.

第一の実施形態に係る行動特定システムの全体構成の一例を示す図である。It is a figure which shows an example of the whole structure of the behavior specifying system which concerns on 1st Embodiment. 牛の行動特定の一例を説明するための図である。It is a figure for demonstrating an example of the behavior identification of a cow. 測定データ記憶部に記憶されている測定データの一例を示す図である。It is a figure which shows an example of the measurement data stored in the measurement data storage part. 行動特定モデルの一例を示す図である。It is a figure which shows an example of a behavior specific model. 第一の実施形態に係る行動特定処理部の機能構成の一例を示す図である。It is a figure which shows an example of the functional structure of the action specifying processing unit which concerns on 1st Embodiment. 第一の実施形態に係る動作強度分析による行動特定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the action specifying process by the motion intensity analysis which concerns on 1st Embodiment. 第一の実施形態に係る補正気圧分析による行動特定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the action specifying process by the corrected atmospheric pressure analysis which concerns on 1st Embodiment. 第一の実施形態に係る補正気圧差分最小値の算出処理の一例を示すフローチャートである。It is a flowchart which shows an example of the calculation process of the corrected atmospheric pressure difference minimum value which concerns on 1st Embodiment. タグ向きとねじれとの関係を説明するための図である。It is a figure for demonstrating the relationship between a tag orientation and a twist. 第二の実施形態に係る行動特定処理部の機能構成の一例を示す図である。It is a figure which shows an example of the functional structure of the action specifying processing part which concerns on the 2nd Embodiment. 第二の実施形態に係る補正気圧差分最小値の算出処理の一例を示すフローチャートである。It is a flowchart which shows an example of the calculation process of the corrected atmospheric pressure difference minimum value which concerns on 2nd Embodiment. 第二の実施形態に係るタグ向きの算出処理の一例を示すフローチャートである。It is a flowchart which shows an example of the calculation process for a tag which concerns on 2nd Embodiment.

以下、本発明の各実施の形態(以降、「実施形態」とも表す。)について、図面を参照しながら説明する。以降の各実施形態では、家畜の一例として牛の行動を特定する行動特定システム1について説明する。なお、家畜は牛に限られない。 Hereinafter, embodiments of the present invention (hereinafter, also referred to as “embodiments”) will be described with reference to the drawings. In each of the following embodiments, the behavior identification system 1 for specifying the behavior of cattle will be described as an example of livestock. Livestock are not limited to cattle.

[第一の実施形態]
まず、本実施形態に係る行動特定システム1の全体構成について、図1を参照しながら説明する。図1は、第一の実施形態に係る行動特定システム1の全体構成の一例を示す図である。
[First Embodiment]
First, the overall configuration of the behavior specifying system 1 according to the present embodiment will be described with reference to FIG. FIG. 1 is a diagram showing an example of the overall configuration of the behavior specifying system 1 according to the first embodiment.

図1に示すように、本実施形態に係る行動特定システム1には、牛の行動を特定する行動特定装置10と、牛に装着された1以上のタグ20と、基準となる気圧を測定する基準気圧センサ30とが含まれる。なお、タグ20は、ベルト等によって牛の首部分に固定して装着されることが好ましい。 As shown in FIG. 1, the behavior identification system 1 according to the present embodiment measures a behavior identification device 10 for identifying a cow's behavior, one or more tags 20 attached to the cow, and a reference atmospheric pressure. A reference barometric pressure sensor 30 is included. The tag 20 is preferably attached by being fixed to the neck portion of the cow with a belt or the like.

タグ20は、牛に装着される機器である。1頭の牛に対して1つのタグ20が装着されている。タグ20には、当該タグ20を装着している牛の加速度(x軸、y軸及びz軸の3軸の加速度)を測定する加速度センサが含まれている。ここで、x軸、y軸及びz軸から構成される座標系はタグ20に固定されており、タグ20は、例えば、牛が起立し、かつ、首が曲がっていない(真っ直ぐの)状態で、当該牛の進行方向に対して右方向をx軸の正の方向、当該進行方向をy軸の正の方向、重力方向をz軸の正の方向となるように装着される。 The tag 20 is a device attached to a cow. One tag 20 is attached to one cow. The tag 20 includes an acceleration sensor that measures the acceleration of the cow wearing the tag 20 (acceleration of three axes of x-axis, y-axis, and z-axis). Here, the coordinate system composed of the x-axis, the y-axis, and the z-axis is fixed to the tag 20, and the tag 20 is, for example, in a state where the cow stands up and the neck is not bent (straight). The cow is mounted so that the right direction is the positive direction of the x-axis, the traveling direction is the positive direction of the y-axis, and the gravity direction is the positive direction of the z-axis with respect to the traveling direction of the cow.

タグ20は、所定の時間毎(例えば2秒毎)に、加速度センサにより測定した加速度センサ値が含まれる測定データを行動特定装置10に送信する。行動特定装置10に送信された測定データは、後述する測定データ記憶部200に蓄積(記憶)される。 The tag 20 transmits measurement data including the acceleration sensor value measured by the acceleration sensor to the action specifying device 10 at predetermined time intervals (for example, every 2 seconds). The measurement data transmitted to the action specifying device 10 is stored (stored) in the measurement data storage unit 200 described later.

基準気圧センサ30は、牛舎内の所定の位置(例えば、牛舎内の地面上)に設置され、基準となる気圧を測定する。基準気圧センサ30は、所定の時間毎(例えば2秒毎)に、測定した気圧を示す基準気圧センサ値を含む基準気圧データを行動特定装置10に送信する。行動特定装置10に送信された基準気圧データは、後述する基準気圧データ記憶部400に蓄積(記憶)される。 The reference atmospheric pressure sensor 30 is installed at a predetermined position in the barn (for example, on the ground in the barn) and measures the reference atmospheric pressure. The reference atmospheric pressure sensor 30 transmits reference atmospheric pressure data including a reference atmospheric pressure sensor value indicating the measured atmospheric pressure to the action specifying device 10 at predetermined time intervals (for example, every 2 seconds). The reference atmospheric pressure data transmitted to the action specifying device 10 is stored (stored) in the reference atmospheric pressure data storage unit 400, which will be described later.

行動特定装置10は、牛の行動を特定する1以上のコンピュータである。行動特定装置10は、行動特定処理部100と、測定データ記憶部200と、行動特定モデル300と、基準気圧データ記憶部400と、行動データ記憶部500とを有する。 The behavior identification device 10 is one or more computers that identify the behavior of a cow. The behavior specifying device 10 includes a behavior specifying processing unit 100, a measurement data storage unit 200, a behavior specifying model 300, a reference barometric pressure data storage unit 400, and a behavior data storage unit 500.

行動特定処理部100は、測定データ記憶部200に記憶されている測定データと、行動特定モデル300とに基づいて、動作強度分析により、牛の行動を特定する。また、行動特定処理部100は、動作強度分析により所定の行動が特定された場合、測定データ記憶部200に記憶されている測定データと、基準気圧データ記憶部400に記憶されている基準気圧データと、行動データ記憶部500に記憶されている行動データとに基づいて、補正気圧分析により、より正確な牛の行動を特定する。行動特定処理部100は、行動特定装置10にインストールされた1以上のプログラムが、CPU(Central Processing Unit)等に実行させる処理により実現される。 The behavior specifying processing unit 100 identifies the behavior of the cow by motion intensity analysis based on the measurement data stored in the measurement data storage unit 200 and the behavior specifying model 300. Further, when a predetermined action is specified by the action intensity analysis, the action specifying processing unit 100 has the measurement data stored in the measurement data storage unit 200 and the reference pressure data stored in the reference pressure data storage unit 400. And, based on the behavior data stored in the behavior data storage unit 500, more accurate behavior of the cow is specified by the corrected pressure pressure analysis. The action specifying processing unit 100 is realized by a process of causing a CPU (Central Processing Unit) or the like to execute one or more programs installed in the action specifying device 10.

測定データ記憶部200は、タグ20から受信した測定データを記憶する。測定データ記憶部200は、例えばHDD(Hard Disk Drive)やSSD(Solid State Drive)等の補助記憶装置等を用いて実現可能である。測定データ記憶部200には、所定の時間毎(例えば2秒毎)に、複数の測定データが記憶されている。 The measurement data storage unit 200 stores the measurement data received from the tag 20. The measurement data storage unit 200 can be realized by using, for example, an auxiliary storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive). The measurement data storage unit 200 stores a plurality of measurement data at predetermined time intervals (for example, every 2 seconds).

行動特定モデル300は、測定データに含まれる加速度センサ値から行動を特定するためのモデルである。行動特定モデル300は、例えば、家畜の種類や特定したい行動の種類に応じて、SVM(Support Vector Machine)等の機械学習の手法により予め作成される。行動特定モデル300は、例えばHDDやSSD等の補助記憶装置等に記憶されている。 The behavior identification model 300 is a model for identifying behavior from the acceleration sensor values included in the measurement data. The behavior identification model 300 is created in advance by a machine learning method such as SVM (Support Vector Machine) according to, for example, the type of livestock and the type of behavior to be specified. The behavior specific model 300 is stored in, for example, an auxiliary storage device such as an HDD or SSD.

基準気圧データ記憶部400は、基準気圧センサ30から受信した基準気圧データを記憶する。基準気圧データ記憶部400は、例えばHDDやSSD等の補助記憶装置等を用いて実現可能である。基準気圧データ記憶部400には、所定の時間毎(例えば2秒毎)に、複数の基準気圧データが記憶されている。 The reference atmospheric pressure data storage unit 400 stores the reference atmospheric pressure data received from the reference atmospheric pressure sensor 30. The reference atmospheric pressure data storage unit 400 can be realized by using, for example, an auxiliary storage device such as an HDD or SSD. The reference atmospheric pressure data storage unit 400 stores a plurality of reference atmospheric pressure data at predetermined time intervals (for example, every 2 seconds).

行動データ記憶部500は、行動特定処理部100により特定された行動を示す行動データを記憶する。行動データ記憶部500は、例えばHDDやSSD等の補助記憶装置等を用いて実現可能である。行動データ記憶部500には、所定の時間毎(例えば10分毎)に、行動特定処理部100により特定された行動を示す行動データが記憶されている。 The behavior data storage unit 500 stores behavior data indicating the behavior specified by the behavior identification processing unit 100. The action data storage unit 500 can be realized by using, for example, an auxiliary storage device such as an HDD or SSD. The behavior data storage unit 500 stores behavior data indicating the behavior specified by the behavior identification processing unit 100 at predetermined time intervals (for example, every 10 minutes).

なお、図1に示す行動特定システム1の構成は一例であって、他の構成であっても良い。例えば、行動特定装置10は、複数台のコンピュータで構成されていても良い。また、例えば、行動特定処理部100が有する機能の全部又は一部を、行動特定装置10とネットワークを介して接続される装置(クラウドサーバ等)が有していても良い。更に、例えば、タグ20の代わりに、加速度センサと、気圧センサとがそれぞれ別体で牛に装着されていても良い。 The configuration of the behavior specifying system 1 shown in FIG. 1 is an example, and may be another configuration. For example, the behavior identification device 10 may be composed of a plurality of computers. Further, for example, a device (cloud server or the like) connected to the action specifying device 10 via a network may have all or a part of the functions of the action specifying processing unit 100. Further, for example, instead of the tag 20, an acceleration sensor and a barometric pressure sensor may be attached to the cow separately.

<牛の行動の特定>
ここで、本実施形態に係る行動特定システム1により特定される牛の行動と、特定方法の概要とについて、図2を参照しながら説明する。図2は、牛の行動特定の一例を説明するための図である。
<Identification of cow behavior>
Here, the behavior of the cow specified by the behavior specifying system 1 according to the present embodiment and the outline of the specifying method will be described with reference to FIG. 2. FIG. 2 is a diagram for explaining an example of specifying the behavior of a cow.

まず、本実施形態に係る行動特定システム1が特定する牛の行動には、動作が小さい順に、「起立」、「横臥」、「反芻」及び「活動」の4つがあるものとする。したがって、本実施形態では、「起立」、「横臥」、「反芻」及び「活動」の4つの行動のうち、いずれの行動を牛が行っているかを特定するものとする。なお、「起立」及び「横臥」の動作の大きさは逆であっても良い。すなわち、動作が小さい順に、「横臥」、「起立」、「反芻」及び「活動」としても良い。 First, it is assumed that there are four behaviors of the cow specified by the behavior specifying system 1 according to the present embodiment, in ascending order of movement, "standing", "lying", "ruminant", and "activity". Therefore, in the present embodiment, it is specified which of the four behaviors of "standing", "lying", "ruminant" and "activity" is performed by the cow. The magnitudes of the "standing" and "lying" movements may be reversed. That is, they may be "lying", "standing", "ruminant", and "activity" in ascending order of movement.

「起立」とは、牛が立っている状態を示す行動のことである。「横臥」とは、牛が横たわっている状態を示す行動のことである。なお、「起立」及び「横臥」は、いずれも牛が動作を行っていない状態(言い換えれば、牛が立って静止している状態又は牛が横たわった静止している状態)である。 "Standing up" is an action that indicates the state in which a cow is standing. "Lying" is an action that indicates the state in which a cow is lying down. In addition, both "standing" and "lying" are states in which the cow is not moving (in other words, the state in which the cow is standing and standing still or the state in which the cow is lying and standing still).

「反芻」とは、牛が反芻(一度飲み込んだ食物を口に戻して咀嚼し直す動作)を行っている状態を示す行動のことである。「活動」とは、牛が所定の動作を行っている状態を示す行動のことであり、例えば、牛が歩いている状態や牛が食物を食べている状態、牛が水を飲んでいる状態等を示す行動のことである。 "Ruminant" is an action that indicates a state in which a cow is ruminating (the action of returning food once swallowed to the mouth and chewing it again). "Activity" is an action that indicates a state in which a cow is performing a predetermined action. For example, a state in which a cow is walking, a state in which a cow is eating food, or a state in which a cow is drinking water. It is an action that indicates such things.

「起立」、「横臥」、「反芻」及び「活動」のいずれの行動を牛が行っているかは、動作強度分析により特定される。動作強度分析では、測定データに含まれる加速度センサ値と、行動特定モデル300とに基づいて、牛の行動が、「起立」、「横臥」、「反芻」及び「活動」のいずれであるかを特定する。より具体的には、動作強度分析では、所定の時間(例えば10分)の間における加速度センサ値から所定の指標値(当該所定の時間の間における加速度センサ値のL2ノルムの振れ幅の最大値及び加速度センサ値のL2ノルムの標準偏差)を算出する。なお、L2ノルムの振れ幅の最大値とは、当該所定の時間の間における加速度センサ値のL2ノルムの平均値と、当該所定の時間の間における各加速度センサ値のL2ノルムの値との差の絶対値が最大となる値である。 Which of the behaviors of "standing", "lying", "ruminant" and "activity" is performed by the cow is specified by the motion intensity analysis. In the motion intensity analysis, whether the behavior of the cow is "standing", "lying", "ruminant" or "activity" based on the acceleration sensor value included in the measurement data and the behavior identification model 300. Identify. More specifically, in the motion intensity analysis, the maximum value of the fluctuation width of the L2 norm of the accelerometer value during the predetermined time (for example, 10 minutes) to the predetermined index value (accelerometer value during the predetermined time). And the standard deviation of the L2 norm of the accelerometer value). The maximum value of the swing width of the L2 norm is the difference between the average value of the L2 norm of the acceleration sensor value during the predetermined time and the value of the L2 norm of each acceleration sensor value during the predetermined time. Is the value that maximizes the absolute value of.

そして、「起立」、「横臥」、「反芻」及び「活動」の4つの領域に分類される行動特定モデル300において、算出した指標値を示す点がこれら4つの領域のいずれに含まれるかにより行動を特定する。 Then, in the behavior specific model 300 classified into the four areas of "standing", "lying", "ruminant", and "activity", the point indicating the calculated index value is included in any of these four areas. Identify the behavior.

また、動作強度分析により「起立」、「横臥」又は「反芻」と特定された場合には、補正気圧分析により、より正確な行動が特定される。これは、動作強度分析では、行動特定モデル300を用いて特定した行動中における牛の姿勢を正確に特定できない場合があるためである。 In addition, when the motion intensity analysis identifies "standing", "lying" or "ruminant", the corrected barometric pressure analysis identifies more accurate behavior. This is because the motion intensity analysis may not be able to accurately identify the posture of the cow during the behavior identified by using the behavior identification model 300.

補正気圧分析では、所定の時間(例えば20分)の間における各測定データに含まれる加速度センサ値及び気圧センサ値と、各基準気圧データに含まれる基準気圧センサ値とを用いて第1の補正気圧差分最小値及び第2の補正気圧差分最小値を算出した上で、この補正気圧差分最小値と、所定の閾値とに基づいて、牛の行動を特定する。補正気圧差分最小値とは、基準気圧センサ値と気圧センサ値との差を加速度センサ値で補正した補正気圧差分値の所定の時間の間における最小値(例えば10分間における最小値)である。 In the corrected barometric pressure analysis, the first correction is performed using the acceleration sensor value and the barometric pressure sensor value included in each measurement data for a predetermined time (for example, 20 minutes) and the reference barometric pressure sensor value included in each reference barometric pressure data. After calculating the atmospheric pressure difference minimum value and the second corrected atmospheric pressure difference minimum value, the behavior of the cow is specified based on the corrected atmospheric pressure difference minimum value and a predetermined threshold value. The corrected barometric pressure difference minimum value is the minimum value (for example, the minimum value in 10 minutes) of the corrected barometric pressure difference value obtained by correcting the difference between the reference barometric pressure sensor value and the barometric pressure sensor value with the acceleration sensor value.

より具体的には、例えば、10分前の行動(すなわち、1つ前の行動)が「横臥」であった場合、10分前から現在までの間における第1の補正気圧差分最小値が、20分前から10分前までの間における第2の補正気圧差分最小値から所定の閾値以上減少した否かを判定する。そして、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値以上減少した場合、「起立」と特定する。一方で、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値以上減少していない場合、1つ前と同じ行動(すなわち、「横臥」)であると特定する。 More specifically, for example, when the action 10 minutes ago (that is, the previous action) is "lying", the first corrected barometric pressure difference minimum value between 10 minutes ago and the present is It is determined whether or not the value is reduced by a predetermined threshold value or more from the second minimum corrected atmospheric pressure difference between 20 minutes before and 10 minutes before. Then, when the first corrected atmospheric pressure difference minimum value decreases by a predetermined threshold value or more from the second corrected atmospheric pressure difference minimum value, it is specified as "standing". On the other hand, when the first corrected atmospheric pressure difference minimum value does not decrease by a predetermined threshold value or more from the second corrected atmospheric pressure difference minimum value, it is specified that the behavior is the same as the previous one (that is, "lying").

また、例えば、10分前の行動(すなわち、1つ前の行動)が「横臥」以外であった場合(すなわち、「起立」又は「反芻」であった場合)、第1の補正気圧差分最小値が、第2の補正気圧差分最小値から所定の閾値以上増加した否かを判定する。そして、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値以上増加した場合、「横臥」と特定する。一方で、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値以上増加していない場合、1つ前と同じ行動(すなわち、「起立」又は「反芻」)であると特定する。 Also, for example, when the action 10 minutes ago (that is, the previous action) is other than "lying" (that is, when it is "standing" or "ruminant"), the first corrected barometric pressure difference is minimized. It is determined whether or not the value has increased by a predetermined threshold value or more from the second minimum corrected atmospheric pressure difference. Then, when the first corrected atmospheric pressure difference minimum value increases by a predetermined threshold value or more from the second corrected atmospheric pressure difference minimum value, it is specified as “lying”. On the other hand, when the first corrected atmospheric pressure difference minimum value does not increase by a predetermined threshold value or more from the second corrected atmospheric pressure difference minimum value, the behavior is the same as the previous one (that is, "standing" or "ruminant"). To specify.

以上のように、本実施形態に係る行動特定システム1は、牛に装着されたタグ20から受信した加速度センサ値から、「起立」、「横臥」、「反芻」及び「活動」の4つの行動を特定する。また、本実施形態に係る行動特定システム1は、牛の行動が「起立」、「横臥」又は「反芻」であると特定された場合に、加速度センサ値と、気圧センサ値と、基準気圧センサ値とから、より正確な行動を特定する。 As described above, the behavior specifying system 1 according to the present embodiment has four behaviors of "standing", "lying", "ruminant" and "activity" from the acceleration sensor value received from the tag 20 attached to the cow. To identify. In addition, the behavior identification system 1 according to the present embodiment has an acceleration sensor value, a barometric pressure sensor value, and a reference barometric pressure sensor when the behavior of the cow is identified as "standing", "lying down", or "rebelling". Identify more accurate behavior from the value.

これにより、動作強度分析により、牛の行動が「起立」、「横臥」、「反芻」又は「活動」のいずれであるかを特定することができる。また、動作強度分析により「起立」、「横臥」又は「反芻」と特定された場合には、補正気圧分析により、牛の行動が「起立」、「横臥」又は「1つ前の行動」のいずれであるかをより高い精度で特定することができる。 Thereby, it is possible to identify whether the behavior of the cow is "standing", "lying", "ruminant" or "activity" by the motion intensity analysis. In addition, when the motion intensity analysis identifies "standing", "lying" or "ruminant", the corrected barometric pressure analysis shows that the cow's behavior is "standing", "lying" or "previous behavior". Which one can be specified with higher accuracy.

そして、これら特定した牛の行動を、例えば、行動特定装置10の表示装置(ディスプレイ)等に表示することで、牛の行動確認を容易に行うことができるようになる。このため、例えば、牛の発情時に多く見られる行動や、病気やケガ等による異常行動等を早期に発見することができ、牛の発情時期の管理や健康管理等を容易に行うことができるようになる。 Then, by displaying the behavior of these identified cows on, for example, a display device (display) of the behavior specifying device 10, it becomes possible to easily confirm the behavior of the cow. For this reason, for example, it is possible to detect behaviors that are often seen during estrus of cattle and abnormal behaviors due to illness or injury at an early stage, and it is possible to easily manage the estrus period and health management of cattle. become.

<測定データ記憶部200に記憶されている測定データ>
次に、本実施形態に係る測定データ記憶部200に記憶されている測定データについて、図3を参照しながら説明する。図3は、測定データ記憶部200に記憶されている測定データの一例を示す図である。なお、行動特定装置10は、タグ20から測定データを受信した場合、行動特定処理部100により、受信した測定データを測定データ記憶部200に記憶(蓄積)させれば良い。
<Measurement data stored in the measurement data storage unit 200>
Next, the measurement data stored in the measurement data storage unit 200 according to the present embodiment will be described with reference to FIG. FIG. 3 is a diagram showing an example of measurement data stored in the measurement data storage unit 200. When the action specifying device 10 receives the measurement data from the tag 20, the action specifying processing unit 100 may store (store) the received measurement data in the measurement data storage unit 200.

図3に示すように、測定データ記憶部200には、タグを識別するタグID毎に、1以上の測定データが記憶されている。なお、1頭の牛に対して1つのタグ20が装着されていることから、タグIDは、牛を識別する情報(牛の個体識別情報等)であっても良い。 As shown in FIG. 3, the measurement data storage unit 200 stores one or more measurement data for each tag ID that identifies the tag. Since one tag 20 is attached to one cow, the tag ID may be information for identifying the cow (cattle individual identification information, etc.).

各測定データには、日時と、加速度センサ値と、気圧センサ値とが含まれる。日時は、例えば、タグ20が測定データを送信した日時である。なお、日時は、行動特定装置10が測定データを受信した日時であっても良い。 Each measurement data includes a date and time, an acceleration sensor value, and a barometric pressure sensor value. The date and time is, for example, the date and time when the tag 20 transmits the measurement data. The date and time may be the date and time when the action specifying device 10 receives the measurement data.

加速度センサ値は、タグ20に含まれる加速度センサにより測定された加速度の値である。加速度センサ値には、x軸方向の加速度成分を示すx成分と、y軸方向の加速度成分を示すy成分と、z軸方向の加速度成分を示すz成分とが含まれる。例えば、日時「t」の測定データには、加速度センサ値のx成分「x」と、y成分「y」と、z成分「z」とが含まれる。同様に、例えば、日時「t」の測定データには、加速度センサ値のx成分「x」と、y成分「y」と、z成分「z」とが含まれる。なお、以降では、加速度センサ値のx成分を「x成分加速度センサ値」、加速度センサ値のy成分を「y成分加速度センサ値」、加速度センサ値のz成分を「z成分加速度センサ値」とも表す。 The acceleration sensor value is a value of acceleration measured by the acceleration sensor included in the tag 20. The acceleration sensor value includes an x component indicating an acceleration component in the x-axis direction, a y component indicating an acceleration component in the y-axis direction, and a z component indicating an acceleration component in the z-axis direction. For example, the measurement data of the date and time “t 1 ” includes the x component “x 1 ” of the acceleration sensor value, the y component “y 1 ”, and the z component “z 1 ”. Similarly, for example, the measurement data of the date and time “t 2 ” includes the x component “x 2 ” of the acceleration sensor value, the y component “y 2 ”, and the z component “z 2 ”. In the following, the x component of the acceleration sensor value will be referred to as the "x component acceleration sensor value", the y component of the acceleration sensor value will be referred to as the "y component acceleration sensor value", and the z component of the acceleration sensor value will be referred to as the "z component acceleration sensor value". show.

また、気圧センサ値は、タグ20に含まれる気圧センサにより測定された気圧の値である。日時「t」の測定データには、気圧センサ値「p」が含まれる。同様に、例えば、日時「t」の測定データには、気圧センサ値「p」が含まれる。 The barometric pressure sensor value is a barometric pressure value measured by the barometric pressure sensor included in the tag 20. The barometric pressure sensor value "p 1 " is included in the measurement data of the date and time "t 1 ". Similarly, for example, the measurement data at the date and time “t 2 ” includes the barometric pressure sensor value “p 2 ”.

なお、例えば、各タグ20が2秒毎に測定データを行動特定装置10に送信する場合、Δt=ti+1-t(iは1以上の整数)とすれば、Δt=2[秒]である。 For example, when each tag 20 transmits measurement data to the action specifying device 10 every 2 seconds, if Δt = ti + 1 − ti ( i is an integer of 1 or more), then Δt = 2 [seconds]. be.

このように、測定データ記憶部200に記憶されている測定データには、タグID毎に、日時と、加速度センサ値と、気圧センサ値とが含まれる。 As described above, the measurement data stored in the measurement data storage unit 200 includes the date and time, the acceleration sensor value, and the barometric pressure sensor value for each tag ID.

<行動特定モデル300>
次に、測定データに含まれる加速度センサ値から行動を特定するための行動特定モデル300について、図4を参照しながら説明する。図4は、行動特定モデル300の一例を示す図である。
<Behavior specific model 300>
Next, the behavior identification model 300 for identifying the behavior from the acceleration sensor values included in the measurement data will be described with reference to FIG. FIG. 4 is a diagram showing an example of the behavior specific model 300.

図4に示すように、行動特定モデル300は、所定の時間(例えば10分)の間における加速度センサ値のL2ノルムの振れ幅の最大値を横軸、当該L2ノルムの標準偏差を縦軸とした場合に、これら振れ幅の最大値及び標準偏差の値と、行動との関係を示す関係グラフとして表される。 As shown in FIG. 4, in the behavior specific model 300, the maximum value of the fluctuation width of the L2 norm of the acceleration sensor value during a predetermined time (for example, 10 minutes) is the horizontal axis, and the standard deviation of the L2 norm is the vertical axis. When this is done, it is represented as a relationship graph showing the relationship between the maximum value and the standard deviation value of these fluctuation widths and the behavior.

例えば、或る10分間における加速度センサ値のL2ノルムの振れ幅の最大値と標準偏差とが領域D1に含まれる場合、当該10分間における牛の行動は「起立」と特定される。また、例えば、或る10分間における加速度センサ値のL2ノルムの振れ幅の最大値と標準偏差とが領域D2に含まれる場合、当該10分間における牛の行動は「横臥」と特定される。 For example, if the region D1 includes the maximum swing width of the L2 norm of the accelerometer value in a certain 10 minutes and the standard deviation, the behavior of the cow in the 10 minutes is specified as "standing up". Further, for example, when the maximum value and the standard deviation of the swing width of the L2 norm of the acceleration sensor value in a certain 10 minutes are included in the region D2, the behavior of the cow in the 10 minutes is specified as “lying”.

同様に、例えば、或る10分間における加速度センサ値のL2ノルムの振れ幅の最大値と標準偏差とが領域D3に含まれる場合、当該10分間における牛の行動は「反芻」と特定される。なお、「反芻」と特定される領域D3は、更に、牛が立っている状態で反芻動作を行う場合(この場合を「起立中反芻」と表す。)と、牛が横たわっている状態で反芻動作(この場合を「横臥中反芻」と表す。)を行う場合とに分けられても良い。 Similarly, for example, if the region D3 includes the maximum value and the standard deviation of the swing width of the L2 norm of the accelerometer value in a certain 10 minutes, the behavior of the cow in the 10 minutes is specified as "ruminant". In the region D3 specified as "ruminant", further, when the ruminant operation is performed while the cow is standing (this case is referred to as "standing ruminant"), the ruminant is performed while the cow is lying down. It may be divided into the case of performing an operation (this case is referred to as "lying rumination").

また、同様に、例えば、或る10分間における加速度センサ値のL2ノルムの振れ幅の最大値と標準偏差とが領域D4に含まれる場合、当該10分間における牛の行動は「活動」と特定される。 Similarly, for example, when the maximum value and the standard deviation of the swing width of the L2 norm of the acceleration sensor value in a certain 10 minutes are included in the region D4, the behavior of the cow in the 10 minutes is specified as "activity". To.

なお、図4に示す例では、行動特定モデル300の各領域D1~D4が互いに重なっていない場合を示しているが、各領域D1~D4のうちの2以上の領域が互いに重なっている部分が存在しても良い。 In the example shown in FIG. 4, the cases where the regions D1 to D4 of the behavior specific model 300 do not overlap each other are shown, but the portion where two or more regions of the regions D1 to D4 overlap each other is shown. May exist.

このように、行動特定モデル300は、所定の時間(例えば10分)の間における加速度センサ値のL2ノルムの最大値及び標準偏差と、牛の行動との関係を表す領域が定義されたモデルである。このような行動特定モデル300は、SVM等の機械学習の手法により予め作成される。なお、SVMは一例であって、例えば、ニューラルネットワーク等の種々の機械学習の手法により作成されても良い。また、例えば、牛が同一の動作を行った場合であっても、加速度センサの種類等によって、具体的な加速度センサ値は異なる。ただし、各行動をそれぞれ示す領域D1~D4の位置関係は、略一定に定まっている。なお、以降では、L2ノルムの振れ幅の最大値を、「L2ノルムの最大値」とも表す。 In this way, the behavior specific model 300 is a model in which a region representing the relationship between the maximum value and standard deviation of the L2 norm of the acceleration sensor value during a predetermined time (for example, 10 minutes) and the behavior of the cow is defined. be. Such a behavior specific model 300 is created in advance by a machine learning method such as SVM. The SVM is an example, and may be created by various machine learning methods such as a neural network. Further, for example, even when the cow performs the same operation, the specific acceleration sensor value differs depending on the type of the acceleration sensor and the like. However, the positional relationship between the regions D1 to D4 indicating each action is substantially constant. Hereinafter, the maximum value of the swing width of the L2 norm is also referred to as “the maximum value of the L2 norm”.

<行動特定処理部100の機能構成>
次に、本実施形態に係る行動特定処理部100の機能構成について、図5を参照しながら説明する。図5は、第一の実施形態に係る行動特定処理部100の機能構成の一例を示す図である。
<Functional configuration of behavior identification processing unit 100>
Next, the functional configuration of the behavior specifying processing unit 100 according to the present embodiment will be described with reference to FIG. FIG. 5 is a diagram showing an example of the functional configuration of the behavior specifying processing unit 100 according to the first embodiment.

図5に示すように、本実施形態に係る行動特定処理部100には、取得部101と、前処理部102と、指標値算出部103と、補正差分最小値算出部104と、行動特定部105とが含まれる。 As shown in FIG. 5, the action specifying processing unit 100 according to the present embodiment includes an acquisition unit 101, a preprocessing unit 102, an index value calculation unit 103, a correction difference minimum value calculation unit 104, and an action specification unit. 105 and are included.

取得部101は、測定データ記憶部200から測定データを取得する。このとき、取得部101は、例えば、タグID毎に、所定の時間(例えば10分)の間の測定データを測定データ記憶部200から取得する。 The acquisition unit 101 acquires measurement data from the measurement data storage unit 200. At this time, the acquisition unit 101 acquires measurement data for a predetermined time (for example, 10 minutes) from the measurement data storage unit 200 for each tag ID, for example.

また、取得部101は、基準気圧データ記憶部400から基準気圧データを取得する。このとき、取得部101は、当該所定の時間の間の基準気圧データを取得する。 Further, the acquisition unit 101 acquires reference atmospheric pressure data from the reference atmospheric pressure data storage unit 400. At this time, the acquisition unit 101 acquires the reference atmospheric pressure data during the predetermined time.

更に、取得部101は、行動データ記憶部500に記憶されている行動データのうち、最新の行動データ(すなわち、1つ前に特定された行動を示す行動データ)を取得する。 Further, the acquisition unit 101 acquires the latest behavior data (that is, the behavior data indicating the behavior specified immediately before) among the behavior data stored in the behavior data storage unit 500.

前処理部102は、取得部101により取得された測定データに対して前処理を行う。前処理とは、例えば、測定データの欠損補完(リサンプリング)処理やノイズ除去処理、所定の間隔毎の代表値(例えば、当該所定の間隔毎の平均値)の算出処理等である。 The pre-processing unit 102 performs pre-processing on the measurement data acquired by the acquisition unit 101. The pre-processing includes, for example, defect complementation (resampling) processing of measurement data, noise removal processing, calculation processing of representative values for each predetermined interval (for example, average value for each predetermined interval), and the like.

指標値算出部103は、前処理部102による前処理後の測定データに含まれる加速度センサ値から指標値を算出する。例えば、指標値算出部103は、指標値として、前処理後の測定データに含まれる加速度センサ値のL2ノルムの最大値と標準偏差とを算出する。 The index value calculation unit 103 calculates the index value from the acceleration sensor value included in the measurement data after the preprocessing by the preprocessing unit 102. For example, the index value calculation unit 103 calculates the maximum value and standard deviation of the L2 norm of the acceleration sensor value included in the measurement data after the preprocessing as the index value.

補正差分最小値算出部104は、測定データに含まれる気圧センサ値及び加速度センサ値と、基準気圧データに含まれる基準気圧センサ値とから補正気圧差分最小値を算出する。例えば、補正差分最小値算出部104は、20分間における測定データに含まれる気圧センサ値及び加速度センサ値と、当該20分間における基準気圧データに含まれる基準気圧データとから、当該20分間のうちの後半10分間における第1の補正気圧差分最小値と、前半10分間における第2の補正気圧差分最小値とを算出する。なお、前半及び後半とは、日時を昇順(古い順)に並べた場合における前半及び後半である。 The correction difference minimum value calculation unit 104 calculates the correction pressure difference minimum value from the barometric pressure sensor value and the acceleration sensor value included in the measurement data and the reference barometric pressure sensor value included in the reference barometric pressure data. For example, the correction difference minimum value calculation unit 104 is based on the barometric pressure sensor value and the acceleration sensor value included in the measurement data in 20 minutes and the reference barometric pressure data included in the reference barometric pressure data in the 20 minutes. The first corrected atmospheric pressure difference minimum value in the latter half 10 minutes and the second corrected atmospheric pressure difference minimum value in the first half 10 minutes are calculated. The first half and the second half are the first half and the second half when the dates and times are arranged in ascending order (oldest order).

補正気圧差分最小値とは、所定の時間(例えば10分)の間における補正気圧差分値の最小値のことである。また、補正気圧差分値とは、当該所定の時間(例えば10分間)における各測定データに含まれる気圧センサ値の1分間隔毎の平均値と、当該10分間における各基準気圧データに含まれる各基準気圧センサ値の1分間隔毎の平均値との各々の差である気圧差分を、当該各測定データに含まれる所定の成分(例えばy成分)の加速度センサ値の1分間隔毎の平均値で補正したものである。 The corrected atmospheric pressure difference minimum value is the minimum value of the corrected atmospheric pressure difference value during a predetermined time (for example, 10 minutes). The corrected barometric pressure difference value is the average value of the barometric pressure sensor values included in each measurement data at the predetermined time (for example, 10 minutes) at 1-minute intervals, and each of the reference barometric pressure data included in the 10-minute period. The barometric pressure difference, which is the difference between the reference barometric pressure sensor value and the average value at 1-minute intervals, is the average value of the acceleration sensor values of a predetermined component (for example, y component) included in each measurement data at 1-minute intervals. It is corrected by.

行動特定部105は、指標値算出部103により算出されたL2ノルムの最大値及び標準偏差と、行動特定モデル300とから4つの行動(「起立」、「横臥」、「反芻」及び「活動」)を特定(動作強度分析により行動を特定)する。 The action identification unit 105 has four actions (“standing”, “lying”, “rebellion”, and “activity” from the maximum value and standard deviation of the L2 norm calculated by the index value calculation unit 103 and the behavior identification model 300. ) Is specified (behavior is specified by motion intensity analysis).

そして、行動特定部105は、特定した行動を示す行動データを行動データ記憶部500に記憶させる。また、行動特定部105は、特定した行動を示す情報を、例えば、ディスプレイ等の表示装置に表示しても良いし、行動特定装置10に接続される他の装置(例えば、PCやスマートフォン、タブレット端末等)に出力しても良い。 Then, the action specifying unit 105 stores the action data indicating the specified action in the action data storage unit 500. Further, the action specifying unit 105 may display information indicating the specified action on a display device such as a display, or another device connected to the action specifying device 10 (for example, a PC, a smartphone, or a tablet). It may be output to a terminal, etc.).

なお、行動特定部105は、当該L2ノルムの最大値及び標準偏差と、行動特定モデル300と同等のデータを生成するプログラム等の処理結果とから上記4つの行動を特定しても良い。 The action specifying unit 105 may specify the above four actions from the maximum value and standard deviation of the L2 norm and the processing result of a program or the like that generates data equivalent to the action specifying model 300.

また、行動特定部105は、更に、上記で「起立」、「横臥」又は「反芻」が特定された場合に、取得部101により取得された行動データが示す行動(すなわち、1つ前に特定された行動)に応じて、補正差分最小値算出部104により算出された第1の補正気圧差分最小値と第2の補正気圧差分最小値とから、より正確な行動を特定(補正気圧分析により行動を特定)する。 Further, when the "standing", "lying" or "rebellion" is specified above, the action specifying unit 105 further specifies the action indicated by the action data acquired by the acquisition unit 101 (that is, the action specified immediately before). More accurate behavior is specified from the first corrected atmospheric pressure difference minimum value and the second corrected atmospheric pressure difference minimum value calculated by the corrected differential minimum value calculation unit 104 according to the corrected behavior (corrected pressure analysis). Identify the action).

すなわち、行動特定部105は、1つ前の行動が「横臥」であり、かつ、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値以上減少した場合、「起立」と特定する。一方で、行動特定部105は、1つ前の行動が「横臥」であり、かつ、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値以上減少してない場合、1つ前の行動と同じであると特定する。 That is, when the previous action is "lying" and the first corrected atmospheric pressure difference minimum value decreases by a predetermined threshold value or more from the second corrected atmospheric pressure difference minimum value, the action specifying unit 105 "stands up". To specify. On the other hand, in the action specifying unit 105, when the previous action is "lying" and the first corrected pressure difference minimum value is not reduced by a predetermined threshold value or more from the second corrected pressure difference minimum value. Identify the same as the previous action.

また、行動特定部105は、1つ前の行動が「横臥」以外であり、かつ、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値以上増加した場合、「横臥」と特定する。一方で、行動特定部105は、1つ前の行動が「横臥」以外であり、かつ、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値以上増加してない場合、1つ前の行動と同じであると特定する。 Further, in the action specifying unit 105, when the previous action is other than "lying" and the first corrected atmospheric pressure difference minimum value increases by a predetermined threshold value or more from the second corrected atmospheric pressure difference minimum value, " Specify as "lying". On the other hand, in the action specifying unit 105, the previous action is other than "lying", and the first corrected pressure difference minimum value does not increase by a predetermined threshold value or more from the second corrected pressure difference minimum value. If so, specify that it is the same as the previous action.

所定の閾値は、例えば、ユーザにより予め設定される値である。このような閾値は、例えば、牛の行動特定に関する経験則により決定される。 The predetermined threshold value is, for example, a value preset by the user. Such a threshold is determined, for example, by an empirical rule regarding the behavior identification of cattle.

<行動特定処理>
次に、本実施形態に係る行動特定処理について説明する。
<Behavior identification process>
Next, the behavior specifying process according to the present embodiment will be described.

≪動作強度分析による行動特定処理≫
まず、動作強度分析による行動特定処理について、図6を参照しながら説明する。図6は、第一の実施形態に係る動作強度分析による行動特定処理の一例を示すフローチャートである。なお、図6に示す行動特定処理は、例えば、10分間毎に繰り返し実行される。ただし、図6に示す行動特定処理は、例えば、予め設定された日時に実行されても良いし、予め決められた所定の時間毎に実行されても良い。
≪Behavior identification processing by motion intensity analysis≫
First, the behavior identification process by motion intensity analysis will be described with reference to FIG. FIG. 6 is a flowchart showing an example of the action specifying process by the motion intensity analysis according to the first embodiment. The action specifying process shown in FIG. 6 is repeatedly executed, for example, every 10 minutes. However, the action specifying process shown in FIG. 6 may be executed, for example, at a preset date and time, or may be executed at predetermined predetermined time intervals.

まず、取得部101は、タグID毎に、過去の所定の時間の間(例えば過去10分間)の測定データを測定データ記憶部200から取得する(ステップS11)。このように、取得部101は、牛(タグID)毎に、所定の時間単位(例えば10分単位)の測定データを測定データ記憶部200から取得する。なお、このような所定の時間は、10分に限られず、例えば行動特定装置10のユーザが任意の時間に設定することができる。 First, the acquisition unit 101 acquires measurement data for the past predetermined time (for example, the past 10 minutes) from the measurement data storage unit 200 for each tag ID (step S11). In this way, the acquisition unit 101 acquires measurement data in a predetermined time unit (for example, in units of 10 minutes) from the measurement data storage unit 200 for each cow (tag ID). It should be noted that such a predetermined time is not limited to 10 minutes, and can be set to any time by, for example, the user of the action specifying device 10.

以降では、タグID「Tag1」の過去10分間の測定データs,s,・・・,sが取得部101により取得されたものとして説明を続ける。 Hereinafter, the description will be continued assuming that the measurement data s 1 , s 2 , ..., S M for the past 10 minutes of the tag ID "Tag 1" have been acquired by the acquisition unit 101.

次に、前処理部102は、取得部101により取得された測定データs,s,・・・,sに対して前処理を行う(ステップS12)。すなわち、前処理部102は、測定データの欠損補完(リサンプリング)処理やノイズ除去処理等を行う。なお、欠損補完処理とは、測定データの精度を上げるため、データが取得できなかった場合の欠損を補完する処理である。また、ノイズ除去処理は、牛の瞬間的な動作(例えば、瞬間的に身体を震わせる動作や瞬間的に大きく身体をびくつかせる動作等)を示すデータを除去する処理である。 Next, the preprocessing unit 102 performs preprocessing on the measurement data s 1 , s 2 , ..., S M acquired by the acquisition unit 101 (step S12). That is, the preprocessing unit 102 performs defect complementation (resampling) processing, noise removal processing, and the like for measurement data. The defect completion process is a process for complementing a defect when the data cannot be acquired in order to improve the accuracy of the measurement data. Further, the noise removal process is a process of removing data indicating a momentary motion of a cow (for example, a motion of momentarily shaking the body, a motion of momentarily causing the body to be greatly shaken, etc.).

これにより、前処理後の測定データをリナンバリングして、測定データs,s,・・・,sが得られる。ここで、2秒間隔でリサンプリングが行われた場合、N=300である。 As a result, the measurement data after the pretreatment are renumbered, and the measurement data s 1 , s 2 , ..., S N are obtained. Here, when resampling is performed at 2-second intervals, N = 300.

次に、指標値算出部103は、前処理部102による前処理後の各測定データs,s,・・・,sに含まれる加速度センサ値から指標値(L2ノルムの最大値及び標準偏差)を算出する(ステップS13)。すなわち、前処理後の測定データs,s,・・・,sに含まれる加速度センサ値のL2ノルムをそれぞれa,a,・・・aとした場合、指標値算出部103は、これらa,a,・・・aの標準偏差σ及び最大値mを算出する。ここで、当該最大値mは、L2ノルムa,a,・・・aの平均値と、各L2ノルムa(i=1,・・・,N)との差の最大値のことである。 Next, the index value calculation unit 103 determines the index value (maximum value of L2 norm and the maximum value of the L2 norm) from the acceleration sensor values included in the measurement data s 1 , s 2 , ..., S N after the preprocessing by the preprocessing unit 102. The standard deviation) is calculated (step S13). That is, when the L2 norms of the accelerometer values included in the measurement data s 1 , s 2 , ..., S N after the preprocessing are a 1 , a 2 , ... a N , respectively, the index value calculation unit. 103 calculates the standard deviation σ and the maximum value m of these a 1 , a 2 , ... a N. Here, the maximum value m is the maximum value of the difference between the average value of the L2 norms a 1 , a 2 , ... a N and each L2 norm a i (i = 1, ..., N). That is.

次に、行動特定部105は、指標値算出部103により算出された標準偏差σ及び最大値mと、行動特定モデル300とから4つの行動(「起立」、「横臥」、「反芻」及び「活動」)を特定する(ステップS14)。すなわち、行動特定部105は、指標値算出部103により算出された標準偏差σ及び最大値mが、行動特定モデル300上の領域D1~D4のいずれの領域に含まれるかを特定することで、行動を特定する。 Next, the action identification unit 105 has four actions (“standing”, “lying”, “ruminant” and “reverse” from the standard deviation σ and the maximum value m calculated by the index value calculation unit 103 and the behavior identification model 300. "Activity") is specified (step S14). That is, the action specifying unit 105 identifies in which of the areas D1 to D4 on the behavior specifying model 300 the standard deviation σ and the maximum value m calculated by the index value calculating unit 103 are included. Identify the behavior.

次に、行動特定部105は、上記のステップS14で特定した行動が「起立」、「横臥」又は「反芻」であるか否かを判定する(ステップS15)。 Next, the action specifying unit 105 determines whether or not the action specified in step S14 is "standing", "lying", or "ruminant" (step S15).

ステップS15において、特定した行動が「起立」、「横臥」又は「反芻」であると判定された場合、行動特定処理部100は、補正気圧分析により、より正確な行動を特定する(ステップS16)。本ステップの処理(補正気圧分析による行動特定処理)の詳細については後述する。 When it is determined in step S15 that the specified action is "standing", "lying" or "ruminant", the action specifying processing unit 100 identifies a more accurate action by the corrected atmospheric pressure analysis (step S16). .. The details of the process of this step (behavior identification process by corrected atmospheric pressure analysis) will be described later.

一方で、ステップS15において、特定した行動が「起立」、「横臥」又は「反芻」でないと判定された場合(すなわち、特定した行動が「活動」である場合)、又はステップS16に続いて、行動特定部105は、特定した行動を示す行動データを行動データ記憶部500に記憶させる(ステップS17)。このとき、行動特定部105は、例えば、特定した行動と現在日時と関連付けた行動データを作成した上で、作成した行動データを行動データ記憶部500に記憶させる。 On the other hand, when it is determined in step S15 that the specified action is not "standing", "lying" or "rebellion" (that is, when the specified action is "activity"), or following step S16, The behavior specifying unit 105 stores the behavior data indicating the specified behavior in the behavior data storage unit 500 (step S17). At this time, the behavior specifying unit 105 creates, for example, behavior data associated with the specified behavior and the current date and time, and then stores the created behavior data in the behavior data storage unit 500.

すなわち、ステップS15において、特定した行動が「起立」、「横臥」又は「反芻」でないと判定された場合、行動特定部105は、行動「活動」と、現在日時とを関連付けた行動データを行動データ記憶部500に記憶させる。同様に、ステップS16に続いて、行動特定部105は、ステップS16で特定された行動と、現在日時とを関連付けた行動データを行動データ記憶部500に記憶させる。 That is, when it is determined in step S15 that the specified action is not "standing", "lying" or "lying", the action specifying unit 105 acts on the action data in which the action "activity" is associated with the current date and time. It is stored in the data storage unit 500. Similarly, following step S16, the action specifying unit 105 stores the action data associated with the action specified in step S16 with the current date and time in the action data storage unit 500.

≪補正気圧分析による行動特定処理≫
次に、上記のステップS16の処理(補正気圧分析による行動特定処理)の詳細について、図7を参照しながら説明する。図7は、第一の実施形態に係る補正気圧分析による行動特定処理の一例を示すフローチャートである。
≪Behavior identification processing by corrected barometric pressure analysis≫
Next, the details of the process of step S16 (behavior specification process by corrected atmospheric pressure analysis) will be described with reference to FIG. 7. FIG. 7 is a flowchart showing an example of the action specifying process by the corrected atmospheric pressure analysis according to the first embodiment.

ここで、上述したように、「反芻」は、「起立中反芻」と「横臥中反芻」とに分けられる。そこで、図7では、「起立」には「起立中反芻」が含まれ、「横臥」には「横臥中反芻」が含まれるものとして説明する。 Here, as described above, "ruminant" is divided into "standing ruminant" and "lying ruminant". Therefore, in FIG. 7, "standing" includes "standing ruminant", and "lying" includes "lying ruminant".

まず、補正差分最小値算出部104は、第1の補正気圧差分最小値と、第2の補正気圧差分最小値とを算出する(ステップS21)。ここで、第1の補正気圧差分最小値は、例えば、過去20分前から過去10分前までの間における補正気圧差分最小値であり、第2の補正気圧差分最小値は、例えば、過去10分前間(すなわち、過去10分前から現在時刻までの間)における補正気圧差分最小値である。本ステップの処理(補正気圧差分最小値の算出処理)の詳細については後述する。 First, the correction difference minimum value calculation unit 104 calculates the first correction pressure difference minimum value and the second correction pressure difference minimum value (step S21). Here, the first corrected atmospheric pressure difference minimum value is, for example, the corrected atmospheric pressure difference minimum value between the past 20 minutes ago and the past 10 minutes ago, and the second corrected atmospheric pressure difference minimum value is, for example, the past 10 minutes. It is the minimum corrected atmospheric pressure difference between minutes before (that is, between the past 10 minutes before and the present time). The details of the process of this step (calculation process of the minimum corrected atmospheric pressure difference) will be described later.

次に、取得部101は、行動データ記憶部500に記憶されている行動データのうち、最新の行動データ(すなわち、1つ前に特定された行動を示す行動データ)を取得する(ステップS22)。 Next, the acquisition unit 101 acquires the latest behavior data (that is, the behavior data indicating the behavior specified immediately before) among the behavior data stored in the behavior data storage unit 500 (step S22). ..

次に、行動特定部105は、上記のステップS22で取得した行動データが示す行動が「横臥」であるか否かを判定する(ステップS23)。すなわち、行動特定部105は、1つ前に特定された行動が「横臥」であるか否かを判定する。 Next, the action specifying unit 105 determines whether or not the action indicated by the action data acquired in step S22 is “lying” (step S23). That is, the action specifying unit 105 determines whether or not the previously specified action is “lying”.

ステップS23において、1つ前の行動が「横臥」であると判定された場合、行動特定部105は、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値TH(>0)以上減少したか否かを判定する(ステップS24)。言い換えれば、行動特定部105は、第2の補正気圧差分最小値に対する第1の補正気圧差分最小値の変化量が、所定の閾値TH´(<0)以下であるか否かを判定する。なお、閾値TH´は、閾値THの正負を逆にしたものである。 When it is determined in step S23 that the previous action is "lying", the action specifying unit 105 determines that the first corrected atmospheric pressure difference minimum value is a predetermined threshold value TH 1 from the second corrected atmospheric pressure difference minimum value. It is determined whether or not the decrease is (> 0) or more (step S24). In other words, the action specifying unit 105 determines whether or not the amount of change in the first corrected pressure difference minimum value with respect to the second corrected pressure difference minimum value is equal to or less than a predetermined threshold value TH 1 ′ (<0). .. The threshold value TH 1 ′ is obtained by reversing the positive and negative values of the threshold value TH 1 .

ステップS24において、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値TH以上減少したと判定された場合、行動特定部105は、該当の10分間(すなわち、過去10分前から現在時刻までの間)における牛の行動を「起立」と特定する(ステップS25)。この場合、第2の補正気圧差分最小値に対する第1の補正気圧差分最小値の変化量が所定の閾値TH´以下であり、牛に装着されたタグ20の高度が所定の閾値TH以上、上昇している。したがって、牛が「横臥」状態から「起立」状態になったと考えられるためである。 In step S24, when it is determined that the first corrected atmospheric pressure difference minimum value is decreased by a predetermined threshold value TH 1 or more from the second corrected atmospheric pressure difference minimum value, the action specifying unit 105 is in the corresponding 10 minutes (that is, the past). The behavior of the cow during (from 10 minutes before to the current time) is specified as "standing" (step S25). In this case, the amount of change in the first corrected atmospheric pressure difference minimum value with respect to the second corrected atmospheric pressure difference minimum value is equal to or less than the predetermined threshold value TH 1 ′, and the altitude of the tag 20 attached to the cow is equal to or higher than the predetermined threshold value TH 1 . ,It is rising. Therefore, it is considered that the cow has changed from the "lying" state to the "standing" state.

一方で、ステップS24において、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値TH以上減少したと判定されなかった場合、行動特定部105は、当該10分間における牛の行動を1つ前の行動と同じ(すなわち、「横臥」)と特定する(ステップS26)。この場合、第2の補正気圧差分最小値に対する第1の補正気圧差分最小値の変化量が所定の閾値TH´以下であり、牛に装着されたタグ20の高度が所定の閾値TH以上は上昇していない。したがって、牛は引き続き「横臥」状態のままであると考えられるためである。 On the other hand, when it is not determined in step S24 that the first corrected atmospheric pressure difference minimum value is reduced by a predetermined threshold value TH 1 or more from the second corrected pressure pressure difference minimum value, the action specifying unit 105 takes the 10 minutes. Identify the behavior of the cow as the same as the previous behavior (ie, "lying") (step S26). In this case, the amount of change in the first corrected atmospheric pressure difference minimum value with respect to the second corrected atmospheric pressure difference minimum value is equal to or less than the predetermined threshold value TH 1 ′, and the altitude of the tag 20 attached to the cow is equal to or higher than the predetermined threshold value TH 1 . Has not risen. Therefore, the cow is considered to remain in the "lying" state.

ステップS23において、1つ前の行動が「横臥」以外(すなわち、「起立」)であると判定された場合、行動特定部105は、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値TH(<0)以上増加したか否かを判定する(ステップS27)。言い換えれば、行動特定部105は、第2の補正気圧差分最小値に対する第1の補正気圧差分最小値の変化量が、所定の閾値TH´(>0)以上であるか否かを判定する。なお、閾値TH´は、閾値THの正負を逆にしたものである。 In step S23, when it is determined that the previous action is other than "lying" (that is, "standing"), the action specifying unit 105 has the first corrected pressure difference minimum value as the second corrected pressure difference. It is determined whether or not the predetermined threshold value TH 2 (<0) or more is increased from the minimum value (step S27). In other words, the action specifying unit 105 determines whether or not the amount of change in the first corrected pressure difference minimum value with respect to the second corrected pressure difference minimum value is equal to or greater than a predetermined threshold value TH 2 '(> 0). .. The threshold value TH 2 ′ is obtained by reversing the positive and negative values of the threshold value TH 2 .

ステップS27において、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値TH以上増加したと判定された場合、行動特定部105は、当該10分間における牛の行動を「横臥」と特定する(ステップS28)。この場合、第2の気圧差分最小値に対する第1の補正気圧差分最小値の変化量が所定の閾値TH´以上であり、牛に装着されたタグ20の高度が所定の閾値TH´以上、下降している。したがって、牛が「起立」状態から「横臥」状態になったと考えられるためである。 In step S27, when it is determined that the first corrected atmospheric pressure difference minimum value has increased by a predetermined threshold value TH 2 or more from the second corrected atmospheric pressure difference minimum value, the behavior specifying unit 105 determines the behavior of the cow in the 10 minutes. It is specified as "lying" (step S28). In this case, the amount of change in the first corrected atmospheric pressure difference minimum value with respect to the second atmospheric pressure difference minimum value is the predetermined threshold value TH 2 ′ or more, and the altitude of the tag 20 attached to the cow is the predetermined threshold value TH 2 ′ or more. , Is descending. Therefore, it is considered that the cow has changed from the "standing" state to the "lying" state.

一方で、ステップS27において、第1の補正気圧差分最小値が第2の補正気圧差分最小値から所定の閾値TH以上増加したと判定されなかった場合、行動特定部105は、当該10分間における牛の行動を1つ前の行動と同じ(すなわち、「起立」)と特定する(ステップS29)。この場合、第2の気圧差分最小値に対する第1の補正気圧差分最小値の変化量が所定の閾値TH´以上であり、牛に装着されたタグ20の高度が所定の閾値TH´以上は下降していない。したがって、牛は引き続き「起立」の状態のままであると考えられるためである。 On the other hand, if it is not determined in step S27 that the first corrected atmospheric pressure difference minimum value has increased by a predetermined threshold value TH 2 or more from the second corrected pressure pressure difference minimum value, the action specifying unit 105 takes the 10 minutes. The behavior of the cow is identified as the same as the previous behavior (that is, "standing up") (step S29). In this case, the amount of change in the first corrected atmospheric pressure difference minimum value with respect to the second atmospheric pressure difference minimum value is the predetermined threshold value TH 2 ′ or more, and the altitude of the tag 20 attached to the cow is the predetermined threshold value TH 2 ′ or more. Is not descending. Therefore, the cow is considered to remain in the "standing" state.

≪補正気圧差分最小値の算出処理≫
次に、上記のステップS21の処理(補正気圧差分最小値の算出処理)の詳細について、図8を参照しながら説明する。図8は、第一の実施形態に係る補正気圧差分最小値の算出処理の一例を示すフローチャートである。
<< Calculation processing of the minimum corrected atmospheric pressure difference >>
Next, the details of the process of step S21 (calculation process of the minimum corrected atmospheric pressure difference value) will be described with reference to FIG. FIG. 8 is a flowchart showing an example of the calculation process of the minimum corrected atmospheric pressure difference according to the first embodiment.

まず、取得部101は、該当のタグID(すなわち、タグID「Tag1」)の過去20分間の測定データに含まれる気圧センサ値及びy成分加速度センサ値を測定データ記憶部200から取得すると共に、過去20分間の基準気圧データに含まれる基準気圧センサ値を基準気圧データ記憶部400から取得する(ステップS31)。 First, the acquisition unit 101 acquires the pressure sensor value and the y component acceleration sensor value included in the measurement data of the corresponding tag ID (that is, the tag ID “Tag1”) for the past 20 minutes from the measurement data storage unit 200, and at the same time. The reference pressure sensor value included in the reference pressure data for the past 20 minutes is acquired from the reference pressure data storage unit 400 (step S31).

なお、取得部101は、過去10分前までの気圧センサ値及びy成分加速度センサ値を測定データ記憶部200から取得しなくても良い。この場合、過去10分前までの気圧センサ値及びy成分加速度センサ値として、図6のステップS11で取得された測定データに含まれる気圧センサ値及びy成分加速度センサ値が用いられれば良い。 The acquisition unit 101 does not have to acquire the barometric pressure sensor value and the y component acceleration sensor value up to the past 10 minutes from the measurement data storage unit 200. In this case, the barometric pressure sensor value and the y-component acceleration sensor value included in the measurement data acquired in step S11 of FIG. 6 may be used as the barometric pressure sensor value and the y-component acceleration sensor value up to the past 10 minutes.

また、上記のステップS31で過去20分間の測定データを取得することは一例であって、これに限られない。例えば、所定の時間幅をΔTとして、図6のステップS11で過去ΔT前までの測定データが取得された場合、上記のステップS31では、過去2ΔT前までの気圧センサ値、y成分加速度センサ値及び基準気圧センサ値が取得されれば良い。 Further, acquiring the measurement data for the past 20 minutes in step S31 is an example, and the present invention is not limited to this. For example, when the measurement data up to the past ΔT is acquired in step S11 of FIG. 6 with a predetermined time width as ΔT, in the above step S31, the barometric pressure sensor value, the y component acceleration sensor value and the y component acceleration sensor value up to the past 2ΔT are obtained. It suffices if the reference barometric pressure sensor value is acquired.

また、上記のステップS31でy成分加速度センサ値を取得するのは、牛が起立し、かつ、首が曲がっていない状態で、y軸の正の方向が牛の進行方向となるようにタグ20が装着されているためである。当該進行方向が他の軸(例えば、x軸又はz軸)の正の方向となるようにタグ20が装着されている場合には、当該他の軸の成分の加速度センサ値が取得されれば良い。 Further, the y component acceleration sensor value is acquired in step S31 above so that the positive direction of the y-axis is the traveling direction of the cow when the cow is standing and the neck is not bent. This is because is installed. When the tag 20 is attached so that the traveling direction is in the positive direction of the other axis (for example, x-axis or z-axis), if the acceleration sensor value of the component of the other axis is acquired. good.

以降では、上記のステップS31で過去20分間の気圧センサ値p,・・・,pM´及びy成分加速度センサ値y,・・・,yM´と、当該過去20分間の基準気圧センサ値q,・・・,qとが取得部101により取得されたものとして説明を続ける。 In the following, in step S31 above, the barometric pressure sensor values p 1 , ..., P M'and the y component acceleration sensor values y 1 , ..., y M'for the past 20 minutes and the reference barometric pressure for the past 20 minutes. The description continues assuming that the sensor values q 1 , ..., Q L are acquired by the acquisition unit 101.

次に、前処理部102は、取得部101により取得された気圧センサ値p,・・・,pM´と、y成分加速度センサ値y,・・・,yM´と、基準気圧センサ値q,・・・,qとに対して前処理を行う(ステップS32)。すなわち、前処理部102は、以下の(前処理1)及び(前処理2)の2つの前処理を行う。ただし、(前処理2)を行わずに、(前処理1)のみを行っても良い。 Next, the pretreatment unit 102 has the barometric pressure sensor values p 1 , ..., P M'acquired by the acquisition unit 101, the y component acceleration sensor values y 1 , ..., y M' , and the reference pressure. Preprocessing is performed on the sensor values q 1 , ..., Q L (step S32). That is, the pretreatment unit 102 performs the following two pretreatments (pretreatment 1) and (pretreatment 2). However, it is possible to perform only (pretreatment 1) without performing (pretreatment 2).

(前処理1)気圧センサ値p,・・・,pM´と、y成分加速度センサ値y,・・・,yM´と、基準気圧センサ値q,・・・,qとをリサンプリングする。これにより、リサンプリング後の気圧センサ値、y成分加速度センサ値及び基準気圧センサ値をリナンバリングして、気圧センサ値p,・・・,pN´と、y成分加速度センサ値y,・・・,yN´と、基準気圧センサ値q,・・・,qN´とが得られる、ここで、2秒間隔でリサンプリングが行われた場合、N´=600である。 (Pretreatment 1) Atmospheric pressure sensor values p 1 , ..., p M' , y component acceleration sensor values y 1 , ..., y M' , and reference barometric pressure sensor values q 1 , ..., q L. And resample. As a result, the barometric pressure sensor value, the y component acceleration sensor value, and the reference barometric pressure sensor value after resampling are renumbered, and the barometric pressure sensor values p 1 , ..., P N'and the y component acceleration sensor value y 1 , ..., Y N'and the reference barometric pressure sensor values q 1 , ..., Q N'are obtained. Here, when resampling is performed at 2-second intervals, N'= 600.

(前処理2)所定の間隔(例えば1分間隔)毎に、気圧センサ値p,・・・,pN´の平均値と、y成分加速度センサ値y,・・・,yN´の平均値と、基準気圧センサ値q,・・・,qN´の平均値とを算出する。これにより、当該所定の間隔毎の気圧センサ値の平均値μp1,・・・,μpRと、当該所定の間隔毎のy成分加速度センサ値の平均値μy1,・・・,μyRと、当該所定の間隔毎の基準気圧センサ値の平均値μq1,・・・,μqRとが得られる。ここで、1分間隔で平均値の算出が行われた場合、R=20である。 (Pretreatment 2) At regular intervals (for example, 1 minute intervals), the average value of the barometric pressure sensor values p 1 , ..., P N'and the y component acceleration sensor values y 1 , ..., y N ' And the mean value of the reference barometric pressure sensor values q 1 , ..., Q N'are calculated. As a result, the average value μ p1 , ..., μ pR of the barometric pressure sensor values at each predetermined interval and the average value μ y1 , ..., μ yR of the y component acceleration sensor values at each predetermined interval are obtained. , The average value μ q1 , ···, μ qR of the reference barometric pressure sensor values at the predetermined intervals can be obtained. Here, when the average value is calculated at 1-minute intervals, R = 20.

以降では、1分間隔で平均値の算出が行われたものとして、1分間における気圧センサ値の平均値を「平均気圧センサ値」、1分間におけるy成分加速度センサ値の平均値を「平均y成分加速度センサ値」、1分間における基準気圧センサ値の平均値を「平均基準気圧センサ値」とも表す。 Hereinafter, assuming that the average value is calculated at 1-minute intervals, the average value of the barometric pressure sensor value in 1 minute is the "average barometric pressure sensor value", and the average value of the y component acceleration sensor value in 1 minute is the "average y". The "component acceleration sensor value" and the average value of the reference atmospheric pressure sensor values in one minute are also referred to as "average reference atmospheric pressure sensor values".

次に、補正差分最小値算出部104は、平均気圧センサ値μp1,・・・,μpRと、平均基準気圧センサ値μq1,・・・,μqRとから気圧差分値を算出する(ステップS33)。気圧差分値をu(i=1,・・・,R)として、気圧差分値uは、例えば、u=μpi-μqiにより算出される。ただし、u=μqi-μpiと算出されても良い。 Next, the correction difference minimum value calculation unit 104 calculates the barometric pressure difference value from the average barometric pressure sensor values μ p1 , ..., μ pR and the average reference barometric pressure sensor values μ q1 , ..., μ qR ( Step S33). Assuming that the atmospheric pressure difference value is ui (i = 1, ..., R), the atmospheric pressure difference value ui is calculated by, for example, ui = μ pi − μ qi . However, it may be calculated as ui = μ qi − μ pi .

次に、補正差分最小値算出部104は、気圧差分値u,・・・,uと、平均y成分加速度センサ値μy1,・・・,μyRとから補正気圧差分値を算出する(ステップS34)。補正気圧差分値をv(i=1,・・・,R)として、補正気圧差分値vは、v=u+μyi×Cにより算出される。ここで、Cは予め設定される定数(パラメータ)である。このように、気圧差分値uを平均y成分加速度センサ値μyiにより補正することで、補正気圧差分値vが算出される。 Next, the correction difference minimum value calculation unit 104 calculates the correction pressure difference value from the pressure difference values u 1 , ..., U R and the average y component acceleration sensor values μ y 1 , ..., μ y R. (Step S34). The corrected atmospheric pressure difference value is set to vi ( i = 1, ..., R), and the corrected atmospheric pressure difference value vi is calculated by vi = u i + μ y i × C. Here, C is a preset constant (parameter). In this way, the corrected barometric pressure difference value v i is calculated by correcting the barometric pressure difference value u i by the average y component acceleration sensor value μ y i.

次に、補正差分最小値算出部104は、補正気圧差分値v(i=1,・・・,R)から第1の補正差分最小値と第2の補正差分最小値とを算出する(ステップS35)。すなわち、補正差分最小値算出部104は、補正気圧差分値v(i=1,・・・,R)のうち、現在から過去10分前までの時間幅に含まれる補正気圧差分値vの最小値を第1の補正気圧差分最小値とし、過去10分前から過去20分前までの時間幅に含まれる補正気圧差分値vの最小値を第2の補正気圧差分最小値とする。 Next, the correction difference minimum value calculation unit 104 calculates the first correction difference minimum value and the second correction difference minimum value from the correction pressure difference value vi ( i = 1, ..., R) ( Step S35). That is, the correction difference minimum value calculation unit 104 uses the correction pressure difference value vi ( i = 1, ..., R) included in the time width from the present to the past 10 minutes ago. The minimum value of is the first corrected atmospheric pressure difference minimum value, and the minimum value of the corrected atmospheric pressure difference value vi included in the time width from the past 10 minutes ago to the past 20 minutes ago is the second corrected atmospheric pressure difference minimum value. ..

なお、補正差分最小値算出部104は、例えば、上記の最小値の代わりに、平均値又は最大値を用いることもできる。すなわち、例えば、現在から過去10分前までの時間幅に含まれる補正気圧差分値vの平均値を「第1の補正気圧差分平均値」、過去10分前から過去20分前までの時間幅に含まれる補正気圧差分値vの平均値を「第2の補正気圧差分平均値」として、第1の補正気圧差分最小値及び第2の補正気圧差分最小値の代わりに用いても良い。同様に、例えば、現在から過去10分前までの時間幅に含まれる補正気圧差分値vの最大値を「第1の補正気圧差分最大値」、過去10分前から過去20分前までの時間幅に含まれる補正気圧差分値vの最大値を「第2の補正気圧差分最大値」として、第1の補正気圧差分最小値及び第2の補正気圧差分最小値の代わりに用いても良い。 The correction difference minimum value calculation unit 104 may use, for example, an average value or a maximum value instead of the above-mentioned minimum value. That is, for example, the average value of the corrected atmospheric pressure difference value vi included in the time width from the present to the past 10 minutes ago is the "first corrected atmospheric pressure difference average value", and the time from the past 10 minutes ago to the past 20 minutes ago. The average value of the corrected atmospheric pressure difference value vi included in the width may be used as the “second corrected atmospheric pressure difference average value” in place of the first corrected atmospheric pressure difference minimum value and the second corrected atmospheric pressure difference minimum value. .. Similarly, for example, the maximum value of the corrected atmospheric pressure difference value vi included in the time width from the present to the past 10 minutes ago is set to the "first corrected atmospheric pressure difference maximum value", from the past 10 minutes ago to the past 20 minutes ago. Even if the maximum value of the corrected atmospheric pressure difference value vi included in the time width is used as the "second corrected atmospheric pressure difference maximum value" in place of the first corrected atmospheric pressure difference minimum value and the second corrected atmospheric pressure difference minimum value. good.

<第一の実施形態のまとめ>
以上のように、本実施形態に係る行動特定システム1は、牛が装着するタグ20から受信した測定データから当該牛の行動を特定することができる。このとき、本実施形態に係る行動特定システム1では、測定データに含まれる加速度センサ値から算出された指標値と、機械学習の手法により予め作成された行動特定モデル300とを用いることで、牛の行動を特定することができる(動作強度分析による行動特定)。特に、指標値として、L2ノルムの最大値と標準偏差とを用いることで、牛に特有の行動である「反芻」を高い精度で特定することができる。言い換えれば、牛に特有の行動である「反芻」を、「起立」や「横臥」等の行動と高い精度で区別することができるようになる。
<Summary of the first embodiment>
As described above, the behavior specifying system 1 according to the present embodiment can specify the behavior of the cow from the measurement data received from the tag 20 worn by the cow. At this time, in the behavior identification system 1 according to the present embodiment, by using the index value calculated from the acceleration sensor value included in the measurement data and the behavior identification model 300 created in advance by the machine learning method, the cow Behavior can be identified (behavior identification by motion intensity analysis). In particular, by using the maximum value of the L2 norm and the standard deviation as index values, it is possible to identify "ruminant", which is a behavior peculiar to cattle, with high accuracy. In other words, it becomes possible to distinguish "ruminant", which is a behavior peculiar to cows, from behaviors such as "standing" and "lying" with high accuracy.

また、本実施形態に係る行動特定システム1は、動作強度分析による行動特定で牛の行動が「起立」、「横臥」又は「反芻」と特定された場合には、所定の成分(例えばy成分)の加速度センサ値と、気圧センサ値と、基準気圧センサ値とから、より正確な行動を特定することができる(気圧分析による行動特定)。これにより、「起立」(「起立中反芻」も含む)又は「横臥」(「横臥中反芻」も含む)を高い精度で特定することができる。特に、y成分の加速度センサ値により気圧差分値が補正されることによって、例えば、起立中に首を下げるような動作を行った場合であっても、誤って「横臥」と特定されてしまう事態を防止し、高い精度で「起立」を特定することができるようになる。 Further, in the behavior identification system 1 according to the present embodiment, when the behavior of the cow is specified as "standing", "lying" or "rebellion" by the behavior identification by the motion intensity analysis, a predetermined component (for example, y component) is used. ) Acceleration sensor value, pressure sensor value, and reference pressure sensor value, more accurate behavior can be specified (behavior identification by pressure pressure analysis). This makes it possible to identify "standing" (including "standing ruminant") or "lying" (including "lying ruminant") with high accuracy. In particular, when the barometric pressure difference value is corrected by the acceleration sensor value of the y component, for example, even when the neck is lowered while standing up, it is erroneously specified as "lying". It will be possible to identify "standing" with high accuracy.

そして、このように特定された牛の行動を、例えば行動特定装置10の表示装置(ディスプレイ等)に表示して、酪農家等に提供することで、牛の発情時に多く見られる行動の確認を容易に行うことができるようになると共に、病気やケガ等による異常行動を早期に発見することができるようにもなり、牛の発情時期の管理や健康管理等を容易に行うことができるようになる。 Then, by displaying the behavior of the cow identified in this way on, for example, a display device (display or the like) of the behavior identification device 10 and providing it to a dairy farmer or the like, confirmation of the behavior often seen at the time of estrus of the cow can be confirmed. In addition to being able to easily perform it, it will also be possible to detect abnormal behavior due to illness or injury at an early stage, so that it will be possible to easily manage the estrus period and health management of cattle. Become.

[第二の実施形態]
次に、第二の実施形態について説明する。第一の実施形態では、牛が起立し、かつ、首が曲がっていない状態で、当該牛の進行方向に対して右方向をx軸の正の方向、当該進行方向をy軸の正の方向、重力方向をz軸の正の方向となるようにタグ20が装着される場合について説明した。しかしながら、例えば、タグ20を前後逆に装着してしまったり、ベルトのねじれ(以降、単に「ねじれ」とも表す。)等によりタグ20が上下逆になってしまったりする場合がある。この場合、y成分加速度センサ値の符号が反転するため、補正気圧分析において、y成分加速度センサ値により気圧差分値を適切に補正できないことがある。
[Second embodiment]
Next, the second embodiment will be described. In the first embodiment, with the cow standing upright and the neck not bent, the right direction with respect to the traveling direction of the cow is the positive direction of the x-axis, and the traveling direction is the positive direction of the y-axis. , The case where the tag 20 is attached so that the direction of gravity is the positive direction of the z-axis has been described. However, for example, the tag 20 may be attached upside down, or the tag 20 may be turned upside down due to a twist of the belt (hereinafter, also simply referred to as “twist”). In this case, since the sign of the y-component acceleration sensor value is inverted, the atmospheric pressure difference value may not be appropriately corrected by the y-component acceleration sensor value in the corrected atmospheric pressure analysis.

そこで、第二の実施形態では、タグ20の前後を示すタグ向きやねじれ等を考慮して、補正気圧分析による行動特定を行う場合について説明する。 Therefore, in the second embodiment, a case where the behavior is specified by the corrected atmospheric pressure analysis will be described in consideration of the tag orientation, the twist, and the like indicating the front and back of the tag 20.

なお、第二の実施形態では、主に、第一の実施形態との相違点について説明し、第一の実施形態と同様の構成要素については、その説明を省略する。 In the second embodiment, the differences from the first embodiment will be mainly described, and the description of the same components as those in the first embodiment will be omitted.

<タグ向きとねじれとの関係>
ここで、タグ20のタグ向きと、当該タグ20を牛に装着するためのベルトのねじれとの関係について、図9を参照しながら説明する。図9は、タグ向きとねじれとの関係を説明するための図である。なお、以降では、牛が起立し、かつ、首が曲がっていない状態で、当該牛の進行方向に対して右方向がx軸の正の方向、当該進行方向がy軸の正の方向、重力方向がz軸の正の方向となるように装着されたタグ20のタグ向きを「+1」(正の方向)とする。一方で、タグ向きが「+1」であるタグ20に対して前後が逆に装着されたタグ20のタグ向きを「-1」(負の方向)とする。
<Relationship between tag orientation and twist>
Here, the relationship between the tag orientation of the tag 20 and the twist of the belt for attaching the tag 20 to the cow will be described with reference to FIG. FIG. 9 is a diagram for explaining the relationship between the tag orientation and the twist. After that, with the cow standing and the neck not bent, the right direction is the positive direction of the x-axis, the traveling direction is the positive direction of the y-axis, and gravity with respect to the traveling direction of the cow. The tag direction of the tag 20 attached so that the direction is the positive direction of the z-axis is set to "+1" (positive direction). On the other hand, the tag orientation of the tag 20 mounted upside down with respect to the tag 20 whose tag orientation is "+1" is set to "-1" (negative direction).

図9(a)は、タグ向きが「+1」で、ねじれが発生していない場合である。この場合、牛の進行方向に対して右方向がx軸の正の方向、当該進行方向がy軸の正の方向、重力方向がz軸の正の方向となる。 FIG. 9A shows a case where the tag orientation is “+1” and no twist occurs. In this case, the right direction with respect to the traveling direction of the cow is the positive direction of the x-axis, the traveling direction is the positive direction of the y-axis, and the gravity direction is the positive direction of the z-axis.

図9(b)は、タグ向きが「-1」で、ねじれが発生していない場合である。この場合、牛の進行方向に対して左方向がx軸の正の方向、当該進行方向に対して逆方向がy軸の正の方向、重力方向がz軸の正の方向となる。 FIG. 9B shows a case where the tag orientation is “-1” and no twist occurs. In this case, the left direction with respect to the traveling direction of the cow is the positive direction of the x-axis, the opposite direction to the traveling direction is the positive direction of the y-axis, and the gravity direction is the positive direction of the z-axis.

図9(c)は、タグ向きが「+1」で、ねじれが発生している場合である。この場合、牛の進行方向に対して右方向がx軸の正の方向、当該進行方向に対して逆方向がy軸の正の方向、重力方向に対して逆方向がz軸の正の方向となる。 FIG. 9C shows a case where the tag orientation is “+1” and twisting occurs. In this case, the right direction with respect to the traveling direction of the cow is the positive direction of the x-axis, the opposite direction to the traveling direction is the positive direction of the y-axis, and the opposite direction to the gravity direction is the positive direction of the z-axis. Will be.

図9(d)は、タグ向きが「-1」で、ねじれが発生している場合である。この場合、牛の進行方向に対して左方向がx軸の正の方向、当該進行方向がy軸の正の方向、重力方向に対して逆方向がz軸の正の方向となる。 FIG. 9D shows a case where the tag orientation is “-1” and twisting occurs. In this case, the left direction with respect to the traveling direction of the cow is the positive direction of the x-axis, the traveling direction is the positive direction of the y-axis, and the opposite direction to the gravity direction is the positive direction of the z-axis.

<行動特定処理部100の機能構成>
次に、本実施形態に係る行動特定処理部100の機能構成について、図10を参照しながら説明する。図10は、第二の実施形態に係る行動特定処理部100の機能構成の一例を示す図である。
<Functional configuration of behavior identification processing unit 100>
Next, the functional configuration of the behavior specifying processing unit 100 according to the present embodiment will be described with reference to FIG. FIG. 10 is a diagram showing an example of the functional configuration of the behavior specifying processing unit 100 according to the second embodiment.

図10に示すように、本実施形態に係る行動特定処理部100には、更に、タグ向き算出部106が含まれる。 As shown in FIG. 10, the behavior specifying processing unit 100 according to the present embodiment further includes a tag orientation calculation unit 106.

タグ向き算出部106は、牛に装着されているタグ20のタグ向きが「+1」又は「-1」のいずれであるかを算出する。 The tag orientation calculation unit 106 calculates whether the tag orientation of the tag 20 attached to the cow is "+1" or "-1".

また、本実施形態に係る補正差分最小値算出部104は、タグ向き算出部106により算出されたタグ向きと、タグ20のねじれの発生有無とを考慮して、補正気圧差分最小値を算出する。 Further, the correction difference minimum value calculation unit 104 according to the present embodiment calculates the correction pressure difference minimum value in consideration of the tag orientation calculated by the tag orientation calculation unit 106 and the presence / absence of twisting of the tag 20. ..

<行動特定処理>
次に、本実施形態に係る行動特定処理について説明する。本実施形態に係る行動特定処理では、補正気圧差分最小値の算出処理が第一の実施形態と異なるため、以降では、補正気圧差分最小値の算出処理について説明する。
<Behavior identification process>
Next, the behavior specifying process according to the present embodiment will be described. In the behavior specifying process according to the present embodiment, the calculation process of the corrected atmospheric pressure difference minimum value is different from that of the first embodiment. Therefore, the calculation process of the corrected atmospheric pressure difference minimum value will be described below.

≪補正気圧差分最小値の算出処理≫
本実施形態に係る補正気圧差分最小値の算出処理(図7のステップS21の詳細)について、図11を参照しながら説明する。図11は、第二の実施形態に係る補正気圧差分最小値の算出処理の一例を示すフローチャートである。
<< Calculation processing of the minimum corrected atmospheric pressure difference >>
The calculation process of the minimum corrected atmospheric pressure difference value (details of step S21 in FIG. 7) according to the present embodiment will be described with reference to FIG. FIG. 11 is a flowchart showing an example of the calculation process of the corrected atmospheric pressure difference minimum value according to the second embodiment.

まず、取得部101は、該当のタグID(すなわち、タグID「Tag1」)の過去20分間の測定データに含まれる気圧センサ値、y成分加速度センサ値及びz成分加速度センサ値を測定データ記憶部200から取得すると共に、過去20分間の基準気圧データに含まれる基準気圧センサ値を基準気圧データ記憶部400から取得する(ステップS41)。 First, the acquisition unit 101 measures the pressure sensor value, the y component acceleration sensor value, and the z component acceleration sensor value included in the measurement data of the corresponding tag ID (that is, the tag ID “Tag1”) for the past 20 minutes. In addition to acquiring from 200, the reference pressure sensor value included in the reference pressure data for the past 20 minutes is acquired from the reference pressure data storage unit 400 (step S41).

なお、取得部101は、過去10分前までの気圧センサ値、y成分加速度センサ値及びz成分加速度センサ値を測定データ記憶部200から取得しなくても良い。この場合、過去10分前までの気圧センサ値、y成分加速度センサ値及びz成分加速度センサ値として、図6のステップS11で取得された測定データに含まれる気圧センサ値、y成分加速度センサ値及びz成分加速度センサ値が用いられれば良い。 The acquisition unit 101 does not have to acquire the barometric pressure sensor value, the y component acceleration sensor value, and the z component acceleration sensor value up to the past 10 minutes from the measurement data storage unit 200. In this case, as the pressure sensor value, the y component acceleration sensor value, and the z component acceleration sensor value up to the past 10 minutes, the pressure sensor value, the y component acceleration sensor value, and the y component acceleration sensor value included in the measurement data acquired in step S11 of FIG. The z-component acceleration sensor value may be used.

また、上記のステップS41で過去20分間の測定データを取得することは一例であって、これに限られない。例えば、所定の時間幅をΔTとして、図6のステップS11で過去ΔT前までの測定データが取得された場合、上記のステップS41では、過去2ΔT前までの気圧センサ値、y成分加速度センサ値、z成分加速度センサ値及び基準気圧センサ値が取得されれば良い。 Further, acquiring the measurement data for the past 20 minutes in step S41 is an example, and the present invention is not limited to this. For example, when the measurement data up to the past ΔT is acquired in step S11 of FIG. 6 with a predetermined time width as ΔT, in the above step S41, the pressure sensor value and the y component acceleration sensor value up to the past 2ΔT are obtained. It suffices if the z component acceleration sensor value and the reference pressure sensor value are acquired.

以降では、上記のステップS41で過去20分間の気圧センサ値p,・・・,pM´、y成分加速度センサ値y,・・・,yM´及びz成分加速度センサ値z,・・・,zM´と、当該過去20分間の基準気圧センサ値q,・・・,qとが取得部101により取得されたものとして説明を続ける。 In the following, in step S41 above, the barometric pressure sensor values p 1 , ..., P M ', y component acceleration sensor values y 1 , ..., y M'and z component acceleration sensor values z 1 , for the past 20 minutes. ..., Z M'and the reference barometric pressure sensor values q 1 , ..., Q L for the past 20 minutes will be described as being acquired by the acquisition unit 101.

次に、前処理部102は、取得部101により取得された気圧センサ値p,・・・,pM´と、y成分加速度センサ値y,・・・,yM´と、z成分加速度センサ値z,・・・,zM´と、基準気圧センサ値q,・・・,qとに対して前処理を行う(ステップS42)。すなわち、前処理部102は、以下の(前処理1)及び(前処理2)の2つの前処理を行う。ただし、(前処理2)を行わずに、(前処理1)のみを行っても良い。 Next, the preprocessing unit 102 has the barometric pressure sensor values p 1 , ..., P M'acquired by the acquisition unit 101, the y component acceleration sensor values y 1 , ..., y M' , and the z component. Preprocessing is performed on the acceleration sensor values z 1 , ..., Z M'and the reference barometric pressure sensor values q 1 , ..., Q L (step S42). That is, the pretreatment unit 102 performs the following two pretreatments (pretreatment 1) and (pretreatment 2). However, it is possible to perform only (pretreatment 1) without performing (pretreatment 2).

(前処理1)気圧センサ値p,・・・,pM´と、y成分加速度センサ値y,・・・,yM´と、z成分加速度センサ値z,・・・,zM´と、基準気圧センサ値q,・・・,qとをリサンプリングする。これにより、リサンプリング後の気圧センサ値、y成分加速度センサ値、z成分加速度センサ値及び基準気圧センサ値をリナンバリングして、気圧センサ値p,・・・,pN´と、y成分加速度センサ値y,・・・,yN´と、z成分加速度センサ値z,・・・,zN´と、基準気圧センサ値q,・・・,qN´とが得られる、ここで、2秒間隔でリサンプリングが行われた場合、N´=600である。 (Pretreatment 1) Barometric pressure sensor value p 1 , ..., p M' , y component acceleration sensor value y 1 , ..., y M' , z component acceleration sensor value z 1 , ..., z Resample M'and the reference barometric pressure sensor values q 1 , ..., Q L. As a result, the pressure sensor value after resampling, the y component acceleration sensor value, the z component acceleration sensor value, and the reference pressure sensor value are renumbered, and the pressure sensor values p 1 , ..., P N'and the y component. Acceleration sensor values y 1 , ..., y N' , z component acceleration sensor values z 1 , ..., z N'and reference pressure sensor values q 1 , ..., q N'are obtained. Here, when resampling is performed at 2-second intervals, N'= 600.

(前処理2)所定の間隔(例えば1分間隔)毎に、気圧センサ値p,・・・,pN´の平均値と、y成分加速度センサ値y,・・・,yN´の平均値と、z成分加速度センサ値z,・・・,zN´の平均値と、基準気圧センサ値q,・・・,qN´の平均値とを算出する。これにより、当該所定の間隔毎の気圧センサ値の平均値μp1,・・・,μpRと、当該所定の間隔毎のy成分加速度センサ値の平均値μy1,・・・,μyRと、当該所定の間隔毎のy成分加速度センサ値の平均値μz1,・・・,μzRと、当該所定の間隔毎の基準気圧センサ値の平均値μq1,・・・,μqRとが得られる。ここで、1分間隔で平均値の算出が行われた場合、R=20である。 (Pretreatment 2) At intervals (for example, 1 minute interval), the average value of the barometric pressure sensor values p 1 , ..., P N'and the y component acceleration sensor values y 1 , ..., y N ' , The average value of the z component acceleration sensor values z 1 , ..., Z N ', and the average value of the reference pressure sensor values q 1 , ..., Q N'are calculated. As a result, the average value of the pressure sensor values at each predetermined interval μ p1 , ..., μ pR and the average value of the y component acceleration sensor values at each predetermined interval μ y1 , ..., Μ yR . , The mean value μ z1 , ···, μ zR of the y component acceleration sensor value at each predetermined interval, and the mean value μ q1 , ···, μ qR of the reference pressure sensor value at each predetermined interval. can get. Here, when the average value is calculated at 1-minute intervals, R = 20.

以降では、1分間隔で平均値の算出が行われたものとして、1分間における気圧センサ値の平均値を「平均気圧センサ値」、1分間におけるy成分加速度センサ値の平均値を「平均y成分加速度センサ値」、1分間におけるz成分加速度センサ値の平均値を「平均z成分加速度センサ値」、1分間における基準気圧センサ値の平均値を「平均基準気圧センサ値」とも表す。 Hereinafter, assuming that the average value is calculated at 1-minute intervals, the average value of the pressure sensor values in 1 minute is the "average pressure sensor value", and the average value of the y component acceleration sensor values in 1 minute is the "average y". "Component acceleration sensor value", the average value of the z component acceleration sensor value in 1 minute is also referred to as "average z component acceleration sensor value", and the average value of the reference pressure sensor value in 1 minute is also referred to as "average reference pressure sensor value".

次に、補正差分最小値算出部104は、平均気圧センサ値μp1,・・・,μpRと、平均基準気圧センサ値μq1,・・・,μqRとから気圧差分値を算出する(ステップS43)。気圧差分値をu(i=1,・・・,R)として、気圧差分値uは、例えば、u=μpi-μqiにより算出される。ただし、u=μqi-μpiと算出されても良い。 Next, the correction difference minimum value calculation unit 104 calculates the barometric pressure difference value from the average barometric pressure sensor values μ p1 , ..., μ pR and the average reference barometric pressure sensor values μ q1 , ..., μ qR ( Step S43). Assuming that the atmospheric pressure difference value is ui (i = 1, ..., R), the atmospheric pressure difference value ui is calculated by, for example, ui = μ pi − μ qi . However, it may be calculated as ui = μ qi − μ pi .

次に、タグ向き算出部106は、当該タグ20(すなわち、タグID「Tag1」のタグ20)のタグ向き(「+1」又は「-1」)を算出する(ステップS44)。本ステップの処理(タグ向きの算出処理)の詳細については後述する。 Next, the tag orientation calculation unit 106 calculates the tag orientation (“+1” or “-1”) of the tag 20 (that is, the tag 20 of the tag ID “Tag1”) (step S44). The details of the process of this step (calculation process for tag orientation) will be described later.

次に、補正差分最小値算出部104は、気圧差分値u,・・・,uと、平均y成分加速度センサ値μy1,・・・,μyRと、平均z成分加速度センサ値μz1,・・・,μzRと、上記のステップS44で算出されたタグ向きとから補正気圧差分値を算出する(ステップS45)。補正気圧差分値をv(i=1,・・・,R)、タグ向きをeとして、補正気圧差分値vは、v=u+e×sign(μzi)×μyi×Cにより算出される。ここで、Cは予め設定される定数(パラメータ)、signは符号関数である。ただし、sign(0)は正を返すものとする。 Next, the correction difference minimum value calculation unit 104 has a barometric pressure difference value u 1 , ..., U R , an average y component acceleration sensor value μ y 1 , ..., μ y R, and an average z component acceleration sensor value μ. The corrected atmospheric pressure difference value is calculated from z1 , ..., μ zR and the tag orientation calculated in step S44 above (step S45). The corrected atmospheric pressure difference value is vi ( i = 1, ..., R), the tag orientation is e, and the corrected atmospheric pressure difference value vi is vi = ui + e × sign (μ zi ) × μ yi × C. Is calculated by. Here, C is a preset constant (parameter), and sign is a sign function. However, sign (0) is assumed to return a positive number.

このように、気圧差分値uを、タグ向きと平均z成分加速度センサ値μziの符号とを考慮した平均y成分加速度センサ値μyiにより補正することで、補正気圧差分値vが算出される。これにより、タグ20の装着方法により前後が異なる場合やベルトにねじれが発生した場合等であっても、y成分加速度センサ値により適切に気圧差分値を補正することができる。ここで、タグ向きeによってタグ20の前後が異なることによる影響が補正され、sign(μzi)によってねじれが発生したことによる影響が補正される。 In this way, the corrected barometric pressure difference value v i is calculated by correcting the barometric pressure difference value u i with the average y component acceleration sensor value μ y i considering the tag orientation and the sign of the average z component acceleration sensor value μ z i. Will be done. As a result, the atmospheric pressure difference value can be appropriately corrected by the y component acceleration sensor value even when the front and rear are different depending on the mounting method of the tag 20 or when the belt is twisted. Here, the influence of the front and back of the tag 20 being different depending on the tag orientation e is corrected, and the influence of the twisting caused by sign (μ zi ) is corrected.

次に、補正差分最小値算出部104は、補正気圧差分値v(i=1,・・・,R)から第1の補正差分最小値と第2の補正差分最小値とを算出する(ステップS46)。すなわち、補正差分最小値算出部104は、補正気圧差分値v(i=1,・・・,R)のうち、現在から過去10分前までの時間幅に含まれる補正気圧差分値vの最小値を第1の補正気圧差分最小値とし、過去10分前から過去20分前までの時間幅に含まれる補正気圧差分値vの最小値を第2の補正気圧差分最小値とする。 Next, the correction difference minimum value calculation unit 104 calculates the first correction difference minimum value and the second correction difference minimum value from the correction pressure difference value vi ( i = 1, ..., R) ( Step S46). That is, the correction difference minimum value calculation unit 104 uses the correction pressure difference value vi ( i = 1, ..., R) included in the time width from the present to the past 10 minutes ago. The minimum value of is the first corrected atmospheric pressure difference minimum value, and the minimum value of the corrected atmospheric pressure difference value vi included in the time width from the past 10 minutes ago to the past 20 minutes ago is the second corrected atmospheric pressure difference minimum value. ..

なお、第一の実施形態と同様に、補正差分最小値算出部104は、例えば、上記の最小値の代わりに、平均値又は最大値を用いることもできる。 As in the first embodiment, the correction difference minimum value calculation unit 104 may use, for example, an average value or a maximum value instead of the above-mentioned minimum value.

≪タグ向きの算出処理≫
次に、上記のステップS44の処理(タグ向きの算出処理)の詳細について、図12を参照しながら説明する。図12は、第二の実施形態に係るタグ向きの算出処理の一例を示すフローチャートである。
≪Calculation process for tag orientation≫
Next, the details of the process (calculation process for tag orientation) in step S44 will be described with reference to FIG. FIG. 12 is a flowchart showing an example of the tag orientation calculation process according to the second embodiment.

まず、取得部101は、該当のタグID(すなわち、タグID「Tag1」)の過去24時間のy成分加速度センサ値とz成分加速度センサ値とを測定データ記憶部200から取得する(ステップS51)。なお、過去24時間は一例であって、任意の時間の間のy成分加速度センサ値とz成分加速度センサ値とが取得されても良い。 First, the acquisition unit 101 acquires the y-component acceleration sensor value and the z-component acceleration sensor value of the corresponding tag ID (that is, the tag ID “Tag1”) for the past 24 hours from the measurement data storage unit 200 (step S51). .. The past 24 hours is an example, and the y-component acceleration sensor value and the z-component acceleration sensor value during an arbitrary time may be acquired.

次に、タグ向き算出部106は、10分毎に、以下の指標値を計算する(ステップS51)。 Next, the tag orientation calculation unit 106 calculates the following index values every 10 minutes (step S51).

・yz値=平均y成分加速度センサ値×sign(平均z成分加速度センサ値)
・y成分標準偏差
ここで、平均y成分加速度センサ値は、10分間におけるy成分加速度センサ値の平均値である。同様に、平均z成分加速度センサ値は、10分間におけるz成分加速度センサ値の平均値である。また、z成分標準偏差は、10分間におけるy成分加速度センサ値の標準偏差である。
-Yz value = average y component acceleration sensor value x sign (average z component acceleration sensor value)
-Y component standard deviation Here, the average y component acceleration sensor value is the average value of the y component acceleration sensor values in 10 minutes. Similarly, the average z-component acceleration sensor value is the average value of the z-component acceleration sensor values in 10 minutes. The z-component standard deviation is the standard deviation of the y-component acceleration sensor value in 10 minutes.

これにより、10分毎に、互いに対応するyz値とy成分標準偏差とが得られる。なお、上記の10分毎に上記の指標値を計算することは一例であって、任意の時間幅毎に上記の指標値を計算しても良い。 As a result, the yz value and the y component standard deviation corresponding to each other are obtained every 10 minutes. It should be noted that the calculation of the index value every 10 minutes is an example, and the index value may be calculated every arbitrary time width.

次に、タグ向き算出部106は、上記のステップS52で計算したyz値のうち、対応するy成分標準偏差が所定の閾値Sを超えているyz値の中央値yを算出する(ステップS53)。ここで、閾値Sは任意の値に設定することができるが、例えば、S=150等とすれば良い。 Next, the tag orientation calculation unit 106 calculates the median y a of the yz values whose corresponding y component standard deviation exceeds the predetermined threshold value SA among the yz values calculated in step S52 above (step). S53). Here, the threshold value SA can be set to an arbitrary value, and for example, SA = 150 or the like may be set.

次に、タグ向き算出部106は、上記のステップS52で計算したyz値のうち、対応するy成分標準偏差が所定の閾値Sを下回っているyz値の中央値yを算出する(ステップS54)。ここで、閾値Sは任意の値に設定することができるが、例えば、S=40等とすれば良い。 Next, the tag orientation calculation unit 106 calculates the median y b of the yz values whose corresponding y component standard deviation is below the predetermined threshold value SB among the yz values calculated in step S52 above (step ) . S54). Here, the threshold value SB can be set to an arbitrary value, and for example, SB = 40 or the like may be set.

最後に、タグ向き算出部106は、e=sign(y-y)によりタグ向きeを算出する(ステップS55)。 Finally, the tag orientation calculation unit 106 calculates the tag orientation e by e = sign ( ya − y b ) (step S55).

なお、上記のステップS54は実行されなくても良い。この場合、上記のステップS555では、e=sign(y)によりタグ向きを算出すれば良い。 The above step S54 may not be executed. In this case, in step S555 described above, the tag orientation may be calculated by e = sign (ya).

<第二の実施形態のまとめ>
以上のように、本実施形態に係る行動特定システム1は、タグ20のタグ向きが異なる場合やねじれが発生した場合であっても、第一の実施形態と同様に、補正気圧分析により牛の「起立」又は「横臥」を高い精度で特定することができるようになる。
<Summary of the second embodiment>
As described above, in the behavior identification system 1 according to the present embodiment, even when the tag orientation of the tag 20 is different or a twist occurs, the cattle can be analyzed by the corrected atmospheric pressure analysis as in the first embodiment. It becomes possible to identify "standing" or "lying" with high accuracy.

本発明は、具体的に開示された上記の実施形態に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。 The present invention is not limited to the above-described embodiment disclosed specifically, and various modifications and modifications can be made without departing from the scope of claims.

1 行動特定システム
10 行動特定装置
20 タグ
30 基準気圧センサ
100 行動特定処理部
101 取得部
102 前処理部
103 指標値算出部
104 補正差分最小値算出部
105 行動特定部
200 測定データ記憶部
300 行動特定モデル
400 基準気圧データ記憶部
500 行動データ記憶部
1 Behavior identification system 10 Behavior identification device 20 Tags 30 Reference pressure sensor 100 Behavior identification processing unit 101 Acquisition unit 102 Preprocessing unit 103 Index value calculation unit 104 Correction difference minimum value calculation unit 105 Behavior identification unit 200 Measurement data storage unit 300 Behavior identification Model 400 Reference pressure data storage unit 500 Behavior data storage unit

Claims (7)

家畜の行動を特定する行動特定装置であって、
前記家畜に装着された加速度センサが測定した加速度データと、前記家畜に装着された気圧センサが測定した気圧データとを記憶する記憶手段と、
所定の時間の間における1以上の前記加速度データから所定の指標値を算出する指標値算出手段と、
前記指標値と、予め作成された前記家畜の行動を特定するための特定モデルとに基づいて、前記家畜の行動を特定する第1の特定手段と、
前記第1の特定手段により特定された行動が所定の行動である場合、所定の時間の間における1以上の前記気圧データと1以上の前記加速度データとに基づいて、前記家畜の行動を特定する第2の特定手段と、
を有し、
前記加速度データには、複数の成分の加速度値が含まれ、
前記第2の特定手段は、
1以上の前記気圧データに含まれる気圧値の各々を、1以上の前記加速度データに含まれる加速度値のうちの所定の成分の加速度値の各々で補正した補正値を用いて、前記家畜の行動を特定する、ことを特徴とする行動特定装置。
It is a behavior identification device that identifies the behavior of livestock.
A storage means for storing the acceleration data measured by the acceleration sensor mounted on the livestock and the barometric pressure data measured by the barometric pressure sensor mounted on the livestock.
An index value calculating means for calculating a predetermined index value from one or more of the acceleration data during a predetermined time, and
A first specific means for specifying the behavior of the livestock based on the index value and a specific model for specifying the behavior of the livestock prepared in advance.
When the behavior specified by the first specific means is a predetermined behavior, the behavior of the livestock is specified based on one or more of the barometric pressure data and one or more of the acceleration data during a predetermined time. The second specific means and
Have,
The acceleration data includes acceleration values of a plurality of components.
The second specific means is
The behavior of the livestock using the correction value obtained by correcting each of the barometric pressure values included in the one or more barometric pressure data with each of the acceleration values of a predetermined component among the acceleration values included in the one or more acceleration data. A behavior identification device characterized by identifying .
前記第2の特定手段は、
1以上の前記補正値のうち、第1の期間における前記補正値の最小値を示す第1の最小値と、第2の期間における前記補正値の最小値を示す第2の最小値とを算出し、前記第1の最小値と前記第2の最小値との変化量と、所定の閾値とを比較することで、該比較結果に応じて前記家畜の行動を特定する、ことを特徴とする請求項に記載の行動特定装置。
The second specific means is
Of the one or more correction values, a first minimum value indicating the minimum value of the correction value in the first period and a second minimum value indicating the minimum value of the correction value in the second period are calculated. Then, by comparing the amount of change between the first minimum value and the second minimum value with a predetermined threshold value, the behavior of the livestock is specified according to the comparison result. The behavior specifying device according to claim 1 .
前記加速度センサが前記家畜に装着されている向きを示す値を算出する向き算出手段を有し、
前記第2の特定手段は、
1以上の前記気圧データに含まれる気圧値の各々を、1以上の前記加速度データに含まれる加速度値のうちの所定の第1の成分の加速度値の各々と、所定の第2の成分の加速度値の符号と、前記向きを示す値とで補正した補正値を用いて、前記家畜の行動を特定する、ことを特徴とする請求項又はに記載の行動特定装置。
It has a direction calculating means for calculating a value indicating the direction in which the accelerometer is attached to the livestock.
The second specific means is
Each of the barometric pressure values included in one or more of the barometric pressure data, each of the acceleration values of the predetermined first component among the acceleration values included in the one or more of the acceleration data, and the acceleration of the predetermined second component. The behavior specifying device according to claim 1 or 2 , wherein the behavior of the livestock is specified by using the correction value corrected by the code of the value and the value indicating the direction.
前記第2の特定手段は、
1以上の前記気圧データに含まれる気圧値の所定の第3の期間における平均値の各々を、1以上の前記加速度データに含まれる加速度値のうちの所定の第1の成分の加速度値の前記第3の期間における平均値の各々と、所定の第2の成分の加速度値の前記第3の期間における平均値の符号と、前記向きを示す値とで補正した補正値を用いて、前記家畜の行動を特定する、ことを特徴とする請求項に記載の行動特定装置。
The second specific means is
Each of the average values of the barometric pressure values contained in one or more of the barometric pressure data in the predetermined third period is the acceleration value of the predetermined first component of the acceleration values included in the one or more acceleration data. The livestock using each of the average values in the third period, the sign of the average value of the acceleration value of the predetermined second component in the third period, and the correction value corrected by the value indicating the direction. The behavior specifying device according to claim 3 , wherein the behavior is specified.
前記第1の成分の加速度値は、前記家畜の進行方向を示す成分又は前記進行方向に対して逆の方向を示す成分の加速度値であり、
前記第2の成分の加速度値は、重力方向を示す成分又は前記重力方向に対して逆の方向を示す成分の加速度値である、ことを特徴とする請求項又はに記載の行動特定装置。
The acceleration value of the first component is an acceleration value of a component indicating the traveling direction of the livestock or a component indicating the direction opposite to the traveling direction.
The behavior specifying device according to claim 3 or 4 , wherein the acceleration value of the second component is an acceleration value of a component indicating the direction of gravity or a component indicating the direction opposite to the direction of gravity. ..
家畜の行動を特定する行動特定装置が、
前記家畜に装着された加速度センサが測定した加速度データと、前記家畜に装着された気圧センサが測定した気圧データとを記憶手段に記憶させる記憶手順と、
所定の時間の間における1以上の前記加速度データから所定の指標値を算出する指標値算出手順と、
前記指標値と、予め作成された前記家畜の行動を特定するための特定モデルとに基づいて、前記家畜の行動を特定する第1の特定手順と、
前記第1の特定手順により特定された行動が所定の行動である場合、所定の時間の間における1以上の前記気圧データと1以上の前記加速度データとに基づいて、前記家畜の行動を特定する第2の特定手順と、
を実行し、
前記加速度データには、複数の成分の加速度値が含まれ、
前記第2の特定手順は、
1以上の前記気圧データに含まれる気圧値の各々を、1以上の前記加速度データに含まれる加速度値のうちの所定の成分の加速度値の各々で補正した補正値を用いて、前記家畜の行動を特定する、ことを特徴とする行動特定方法。
A behavioral identification device that identifies the behavior of livestock,
A storage procedure for storing the acceleration data measured by the acceleration sensor mounted on the livestock and the barometric pressure data measured by the barometric pressure sensor mounted on the livestock in a storage means.
An index value calculation procedure for calculating a predetermined index value from one or more of the acceleration data during a predetermined time, and
A first specific procedure for specifying the behavior of the livestock based on the index value and a specific model for specifying the behavior of the livestock prepared in advance, and
When the behavior specified by the first specific procedure is a predetermined behavior, the behavior of the livestock is specified based on one or more of the barometric pressure data and one or more of the acceleration data during a predetermined time. The second specific procedure and
And run
The acceleration data includes acceleration values of a plurality of components.
The second specific procedure is
The behavior of the livestock using the correction value obtained by correcting each of the barometric pressure values included in the one or more barometric pressure data with each of the acceleration values of a predetermined component among the acceleration values contained in the one or more acceleration data. A behavioral identification method characterized by identifying .
コンピュータを、請求項1乃至の何れか一項に記載の行動特定装置における各手段として機能させるためのプログラム。 A program for making a computer function as each means in the behavior specifying device according to any one of claims 1 to 5 .
JP2018166330A 2018-09-05 2018-09-05 Behavior identification device, behavior identification method and program Active JP7092624B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018166330A JP7092624B2 (en) 2018-09-05 2018-09-05 Behavior identification device, behavior identification method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018166330A JP7092624B2 (en) 2018-09-05 2018-09-05 Behavior identification device, behavior identification method and program

Publications (2)

Publication Number Publication Date
JP2020036566A JP2020036566A (en) 2020-03-12
JP7092624B2 true JP7092624B2 (en) 2022-06-28

Family

ID=69736990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018166330A Active JP7092624B2 (en) 2018-09-05 2018-09-05 Behavior identification device, behavior identification method and program

Country Status (1)

Country Link
JP (1) JP7092624B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022053394A (en) * 2020-09-24 2022-04-05 デザミス株式会社 Domestic animal childbirth detection system and childbirth detection method
WO2022075298A1 (en) * 2020-10-05 2022-04-14 Nttテクノクロス株式会社 Detection device, detection method, and program
JP7211595B2 (en) * 2020-11-02 2023-01-24 国立大学法人北海道国立大学機構 Abnormal behavior detection device, abnormal behavior detection program, and abnormal behavior detection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017051146A (en) 2015-09-10 2017-03-16 国立大学法人岩手大学 Ruminant behavior analysis method and ruminant behavior analysis apparatus
JP2017060407A (en) 2015-09-21 2017-03-30 株式会社グリーン&ライフ・イノベーション System and method for health care of ruminant
JP2018007613A (en) 2016-07-13 2018-01-18 浩二 清家 Cattle activity state management system
JP2018099178A (en) 2016-12-19 2018-06-28 シャープ株式会社 Determination device, biological information detector, determination system, determination program and determination method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3345476A1 (en) * 2017-01-04 2018-07-11 IoAgrit Oy System and method for controlling feeding of ruminating livestock animals

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017051146A (en) 2015-09-10 2017-03-16 国立大学法人岩手大学 Ruminant behavior analysis method and ruminant behavior analysis apparatus
JP2017060407A (en) 2015-09-21 2017-03-30 株式会社グリーン&ライフ・イノベーション System and method for health care of ruminant
JP2018007613A (en) 2016-07-13 2018-01-18 浩二 清家 Cattle activity state management system
JP2018099178A (en) 2016-12-19 2018-06-28 シャープ株式会社 Determination device, biological information detector, determination system, determination program and determination method

Also Published As

Publication number Publication date
JP2020036566A (en) 2020-03-12

Similar Documents

Publication Publication Date Title
González et al. Behavioral classification of data from collars containing motion sensors in grazing cattle
CN109640640B (en) System for monitoring pasture intake
JP7092624B2 (en) Behavior identification device, behavior identification method and program
Cornou et al. Classification of sows’ activity types from acceleration patterns using univariate and multivariate models
US20230276773A1 (en) Systems and methods for automatic and noninvasive livestock health analysis
JP6635968B2 (en) Behavior identification device, behavior identification method, and program
JP2021136868A (en) Estimation system for estimating health condition of animal, estimation method, and learning model generation method
EP3603388A1 (en) Behavior specifying device, behavior specifying method and program
JP7204093B2 (en) Detection device, detection method and program
JP7410200B2 (en) Specific device, specific method, and program
JP7089098B2 (en) Behavior identification device, behavior identification method, and program
JP7037924B2 (en) Specific equipment, specific method, and program
JP6635995B2 (en) Behavior identification device, behavior identification method, and program
WO2023106993A1 (en) Parturition surveillance and alerting
Azarpajouh et al. Precision livestock farming: automatic lameness detection in intensive livestock systems
Michie et al. Wireless MEMS sensors for precision farming
CN117918023A (en) Method for determining biometric data associated with an animal based on image data
JP6636204B2 (en) Behavior identification device, behavior identification method, and program
JP7088782B2 (en) Specific equipment, specific method and program
Singhal et al. Cattle Collar: An End-to-End Multi-Model Framework for Cattle Monitoring
JP7376255B2 (en) Specified equipment, specified method and program
WO2023191043A1 (en) Animal behavior recording device, animal behavior recording method, and program
JP7376254B2 (en) Specified equipment, specified method and program
WO2023191045A1 (en) Information processing device, information processing method, and program
JP2023142611A (en) Animal action amount estimation system, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201029

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211026

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20211223

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220616

R150 Certificate of patent or registration of utility model

Ref document number: 7092624

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150