Abnormality detection device, method, and program

The abnormality detection system uses sensor data to accurately identify difficulty in standing in livestock by distinguishing between different postures, reducing false detections and maintaining high detection accuracy.

JP2024145248AInactive Publication Date: 2024-10-15NTT TECHNOCROSS CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023057521
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Conventional methods for detecting abnormalities in livestock, such as difficulty in standing, suffer from low accuracy and often result in false detections, particularly when cows repeatedly move between lying down and prone positions.

Method used

An abnormality detection system utilizing acceleration and atmospheric pressure sensors to differentiate between upright, lying, and rumbling states in livestock, calculating a score based on standard deviations of acceleration data to accurately detect difficulty in standing.

Benefits of technology

The system effectively reduces false positives and maintains detection accuracy for abnormalities, ensuring timely intervention for livestock health issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024145248000001_ABST
    Figure 2024145248000001_ABST
Patent Text Reader

Abstract

To provide a technique capable of accurately detecting abnormality of domestic animals.SOLUTION: An abnormality detection device comprises: a storage part for storing, acceleration data and air pressure data measured by an acceleration sensor and an air pressure sensor mounted on a domestic animal; a first estimation part for, on the basis of the air pressure data, for every prescribed time width, estimating whether a domestic animal state is a standing state where the domestic animal stands, or a sleep state where the animal sleeps; a second estimation part for, when it is estimated that the animal is the sleep state, estimating whether the sleep state is a lying-down state where the animal stretches out one's legs, and lies down on one's side, or a rolling around state where the animal repeatedly becomes in the lying-down state and a lying-on state where the chests of the animal are standing and legs of the animal are lowered; a score calculating part for, according to an estimation result of estimating whether the state of the animal is the standing state, the lying-down state, or the rolling around state, calculating a first score indicating a violent movement degree of the animal for every time width, on the basis of the acceleration data; and a detection part for detecting that abnormality has occurred on the animal on the basis of the first score.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to an anomaly detection device, an anomaly detection method, and a program. [Background technology]

[0002] It is known that fattening cattle are prone to developing abnormalities such as difficulty standing in the later stages of fattening. If this difficulty is left untreated, the cattle may die from suffocation, etc., so fattening cattle farmers patrol their cattle barns to check whether the cattle are experiencing any abnormalities such as difficulty standing.

[0003] It is also known that breeding cows are prone to developing abnormalities such as difficulty standing up before and after giving birth, and breeding farmers similarly patrol their barns to check whether their cows are experiencing any abnormalities such as difficulty standing up.

[0004] Furthermore, cows may have difficulty standing up due to abnormalities such as bloat. Bloat is a disease that can occur in ruminant livestock such as cows, and can occur, for example, when they overeat fermented feed such as green grass. When bloat occurs, the cow's abdomen becomes distended, making it difficult for the cow to stand up.

[0005] Techniques for identifying the above-described difficulty in standing up as an abnormality have been known for some time (for example, Patent Document 1, etc.). [Prior art documents] [Patent documents]

[0006] [Patent Document 1] Japanese Patent Application Publication No. 2019-97475 Summary of the Invention [Problem to be solved by the invention]

[0007] However, with conventional technology, the accuracy of detecting abnormalities such as difficulty in standing up is not always high, and false positives occur. For example, if a cow alternates between lying down and lying down, this may be falsely detected as difficulty in standing up.

[0008] The present disclosure has been made in consideration of the above points, and provides a technology that can accurately detect abnormalities in livestock. [Means for solving the problem]

[0009] An anomaly detection device according to one aspect of the present disclosure is an anomaly detection device for detecting an anomaly in livestock, the anomaly detection device including: a storage unit for storing acceleration data and atmospheric pressure data measured by an acceleration sensor and an atmospheric pressure sensor provided in equipment attached to the livestock; a first estimation unit for estimating, for each predetermined time interval, whether the livestock is in an upright state representing a state in which the livestock is standing, or a lying state representing a state in which the livestock is lying down, based on one or more of the atmospheric pressure data; and, when the livestock is estimated to be in a lying state, an estimation unit for estimating whether the livestock is lying down, such as when the livestock is lying down with its limbs outstretched. a second estimation unit that estimates whether the livestock is in a lying state, which indicates a state in which the livestock is standing up, or a rumbling state, which indicates a state in which the livestock is repeating the lying state and a prone state, which indicates a state in which the livestock has dropped its knees and raised its chest; a score calculation unit that calculates a first score that indicates the degree of violence of the livestock for each time span based on one or more of the acceleration data, depending on whether the livestock is estimated to be in the standing state, the lying state, or the rumbling state; and a detection unit that detects that an abnormality has occurred in the livestock based on the first score. [Effects of the Invention]

[0010] A technology is provided that can accurately detect abnormalities in livestock. [Brief explanation of the drawings]

[0011] [Figure 1] 1 is a diagram illustrating an example of the overall configuration of an anomaly detection system according to an embodiment of the present invention. [Figure 2] FIG. 4 is a diagram showing an example of measurement data stored in a measurement data storage unit. [Figure 3] FIG. 1 is a diagram showing an example of a cow lying down and lying down. [Figure 4] FIG. 10 is a diagram for explaining characteristics of acceleration sensor values ​​in a rumbling state. [Figure 5] FIG. 2 is a diagram illustrating an example of a functional configuration of an abnormality detection processing unit according to the present embodiment. [Figure 6] 10 is a flowchart illustrating an example of an abnormality detection process according to the present embodiment. [Figure 7] 10 is a flowchart illustrating an example of a posture estimation process according to the present embodiment. [Figure 8] 10 is a flowchart illustrating an example of a rumbling state estimation process according to the present embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0012] An embodiment of the present invention will be described below. In the following embodiment, a cow is assumed as an example of livestock, and an abnormality detection system 1 that can accurately detect a state in which a cow has difficulty standing up as an abnormality will be described. Here, the state in which a cow or other livestock has difficulty standing up refers to, for example, a state in which the cow is struggling with its legs pointed upward. If the cow continues to have difficulty standing up, gas may accumulate in the first stomach of the cow, causing it to suffocate and die.

[0013] However, cows are an example of livestock, and livestock to which the following embodiments can be applied are not limited to cows.

[0014] <Overall configuration example of anomaly detection system 1> An example of the overall configuration of an abnormality detection system 1 according to this embodiment is shown in Fig. 1. As shown in Fig. 1, the abnormality detection system 1 according to this embodiment includes an abnormality detection device 10 that detects a cow's difficulty in standing up as an abnormality, one or more tags 20 attached to one or more cows, and a reference air pressure sensor 30 that measures reference air pressure. Note that the tags 20 are preferably attached and fastened around the neck of the cow with a belt or the like.

[0015] The tag 20 is a device attached to a cow. One tag 20 is attached to each cow. The tag 20 includes an acceleration sensor that measures the acceleration (acceleration on three axes: x-axis, y-axis, and z-axis) of the cow wearing the tag 20, and a barometric pressure sensor that measures air pressure. Here, a coordinate system consisting of the x-axis, y-axis, and z-axis is fixed to the tag 20. The tag 20 is attached, for example, when the cow is standing with its neck not bent (straight), so that the right direction of the cow's direction of movement is the positive direction of the x-axis, the same direction of movement is the positive direction of the y-axis, and the direction of gravity is the positive direction of the z-axis. However, the directions of the axes (x-axis, y-axis, and z-axis) relative to the cow are not limited to these, and the tag 20 can be attached to the cow so that each axis is oriented in any direction while maintaining the relative positional relationship of the axes in the coordinate system.

[0016] The tag 20 is s The measurement data including the acceleration sensor value measured by the acceleration sensor and the atmospheric pressure sensor value measured by the atmospheric pressure sensor is transmitted to the anomaly detection device 10 every time. The measurement data transmitted to the anomaly detection device 10 is accumulated (stored) in the measurement data storage unit 200, which will be described later. Here, Δ s is the sensing period of the acceleration sensor and the atmospheric pressure sensor, for example, Δ s =2 [seconds], etc.

[0017] The reference atmospheric pressure sensor 30 is installed at a predetermined position in the cowshed (for example, on the ground in the cowshed) and measures the reference atmospheric pressure. s' The reference atmospheric pressure data including the reference atmospheric pressure sensor value indicating the measured atmospheric pressure is transmitted to the anomaly detection device 10 every time. The reference atmospheric pressure data transmitted to the anomaly detection device 10 is accumulated (stored) in the reference atmospheric pressure data storage unit 300, which will be described later. Here, Δ s' is the sensing period of the reference atmospheric pressure sensor 30, for example, Δ s' =Δ s Hereafter, Δ s' =Δ s However, the explanation will be given assuming that Δ s' ≠Δ smay be.

[0018] The abnormality detection device 10 is a computer or computer system such as a general-purpose server that detects abnormalities such as difficulty in standing up in cattle (for example, difficulty in standing up that occurs in the later stages of fattening, difficulty in standing up that occurs before and after birth, difficulty in standing up due to bloat, etc.). The abnormality detection device 10 has an abnormality detection processing unit 100, a measurement data storage unit 200, and a reference atmospheric pressure data storage unit 300.

[0019] The abnormality detection processing unit 100 detects abnormalities in cows using the measurement data stored in the measurement data storage unit 200 and the reference atmospheric pressure data stored in the reference atmospheric pressure data storage unit 300. The abnormality detection processing unit 100 is realized, for example, by processing in which one or more programs installed in the abnormality detection device 10 are executed by a processor such as a CPU (Central Processing Unit).

[0020] The measurement data storage unit 200 stores the measurement data received from the tag 20. The measurement data storage unit 200 can be realized using a storage device such as a hard disk drive (HDD), a solid state drive (SSD), or a flash memory. s For each tag 20, a plurality of pieces of measurement data are stored (in other words, time-series data of the measurement data are stored). The measurement data received from the tag 20 may be stored (accumulated) in the measurement data storage unit 200 by, for example, the anomaly detection processing unit 100.

[0021] The reference atmospheric pressure data storage unit 300 stores the reference atmospheric pressure data received from the reference atmospheric pressure sensor 30. The reference atmospheric pressure data storage unit 300 can be realized using a storage device such as an HDD, SSD, or flash memory. The reference atmospheric pressure data storage unit 300 stores the reference atmospheric pressure data received from the reference atmospheric pressure sensor 30. s'A plurality of reference atmospheric pressure data are stored for each sensor (in other words, time-series data of the reference atmospheric pressure data are stored). The reference atmospheric pressure data received from the reference atmospheric pressure sensor 30 may be stored (accumulated) in the reference atmospheric pressure data storage unit 300 by, for example, the anomaly detection processing unit 100.

[0022] 1 is just an example, and other configurations may be used. For example, the anomaly detection processing unit 100, the measurement data storage unit 200, and the reference atmospheric pressure data storage unit 300 of the anomaly detection device 10 may be distributed across multiple servers (including cloud servers).

[0023] <Measurement data stored in measurement data storage unit 200> An example of the measurement data stored in the measurement data storage unit 200 is shown in Fig. 2. As shown in Fig. 2, the measurement data storage unit 200 stores one or more pieces of measurement data for each tag ID, which is information that identifies a tag. Note that, since one tag 20 is attached to one cow, the tag ID may be information that identifies the cow (for example, individual identification information of the cow, etc.).

[0024] Each piece of measurement data includes a date and time, an acceleration sensor value, and an air pressure sensor value. The date and time is, for example, the date and time when the tag 20 transmitted the measurement data. Note that the date and time may also be, for example, the date and time when the anomaly detection device 10 received the measurement data.

[0025] The acceleration sensor value is an acceleration value measured by an acceleration sensor included in tag 20. The acceleration sensor value includes an x-component indicating the acceleration component in the x-axis direction, a y-component indicating the acceleration component in the y-axis direction, and a z-component indicating the acceleration component in the z-axis direction. For example, measurement data at date and time "t1" includes the x-component of the acceleration sensor value "x1," the y-component of the acceleration sensor value "y1," and the z-component of the acceleration sensor value "z1." Similarly, measurement data at date and time "t2" includes the x-component of the acceleration sensor value "x2," the y-component of the acceleration sensor value "y2," and the z-component of the acceleration sensor value "z2." Note that, hereinafter, the x-component of the acceleration sensor value will also be referred to as the "x-component acceleration sensor value," the y-component of the acceleration sensor value "y-component acceleration sensor value," and the z-component of the acceleration sensor value "z-component acceleration sensor value."

[0026] The air pressure sensor value is the value of air pressure measured by the air pressure sensor included in the tag 20. For example, the measurement data at date and time "t1" includes the air pressure sensor value "p1." Similarly, for example, the measurement data at date and time "t2" includes the air pressure sensor value "p2."

[0027] In this way, the measurement data stored in the measurement data storage unit 200 includes, for each tag ID, the date and time, the acceleration sensor value, and the atmospheric pressure sensor value. s =t i+1 -t i (i is an integer greater than or equal to 1).

[0028] Generally, measurement data may contain defects or noise, but in the following, it is assumed that measurement data storage unit 200 stores measurement data that has undergone defect completion (resampling), noise removal, etc. Similarly, it is assumed that reference atmospheric pressure data storage unit 300 stores reference atmospheric pressure data that has undergone defect completion (resampling), noise removal, etc.

[0029] <Cow posture classification> Below, we will explain the classification of cow postures. Cow postures can be roughly divided into "standing posture," which indicates that the cow is standing, and "lying posture," which indicates that the cow is lying down.

[0030] Standing state This refers to the state in which the cow is standing, and when standing, it will not experience difficulty standing.

[0031] Sleeping state This refers to the state in which a cow is lying down, and can generally be broadly divided into the lying down state and the prone state. Examples of the lying down state and the prone state are shown in Figure 3. Both the lying down state and the prone state refer to the state in which a cow is sleeping (sleeping posture), but the lying down state is when the cow is lying on its side with its legs stretched out (Figure 3(a)), and the prone state is when the cow is in a position where its knees are lowered and its chest is raised (Figure 3(b)).

[0032] If a cow remains lying down for a long time and its legs begin to point toward the ceiling, it may become difficult for it to stand up. Therefore, if the cow remains lying down for a certain period of time, there is a risk that the cow may become unable to stand up. On the other hand, if the cow remains lying down, there is no risk that the cow may become unable to stand up.

[0033] The present inventors have found that conventional technology for detecting difficulty in standing up as an abnormality (for example, the conventional technology described in JP 2019-97475 A, etc.) can erroneously detect a state in which it is difficult to stand up when the cow repeatedly moves between lying down and prone. Therefore, below, we propose an abnormality detection method that can suppress erroneous detection even when the cow repeatedly moves between lying down and prone (i.e., repeatedly transitioning from lying down to lying down and vice versa).

[0034] Hereinafter, the state in which a cow alternates between lying down and lying down will be referred to as the "rolling state." Hereinafter, the cow's posture will be broadly classified into an "standing state" and a "lying state," and the "lying state" will be further classified into a "lying state" and a "rolling state." While the "lying state" can include a "lying state," there is no risk of the cow having difficulty standing up in the prone state. Therefore, only two "lying states" will be considered: the "lying state," which poses a risk of the cow having difficulty standing up, and the "rolling state," which may be falsely detected in conventional technology. Note that in this embodiment, posture includes not only static postures (standing, lying, prone) but also dynamic postures (rolling).

[0035] <Anomaly detection method> In this anomaly detection method, similar to conventional techniques that detect difficulty standing up as an abnormality (such as those described in JP 2019-97475 A), the standard deviation of the L2 norm is calculated for each time interval Δ1 (<Δ) using acceleration sensor values ​​contained in measurement data up to the present time, and an index value called a score is calculated from this standard deviation. If the sum of these scores exceeds a certain threshold, it is considered abnormal; otherwise, it is considered normal. Furthermore, at this time, if the cow's posture is "standing," the score is reset to 0; if it is "lying," the score is incremented; and if it is "rolling," neither the score is reset nor incremented.

[0036] Here, whether the cow's posture is "standing" or "lying" can be estimated by air pressure analysis using air pressure sensor values ​​and reference air pressure sensor values, similar to conventional technology (such as the conventional technology described in JP 2019-97475 A). On the other hand, even if the cow's posture is estimated to be "lying," air pressure analysis cannot estimate whether the cow is in a "rumbling" state. In contrast, the present inventors have discovered that when the cow is in a rumbling state, characteristic trends are observed in the x- and z-components of the acceleration sensor values. As an example, the characteristics of the x-component acceleration sensor value when the cow is in a rumbling state will be described below with reference to Figure 4. Similar characteristics are also observed in the z-component acceleration sensor value.

[0037] As shown in Figure 4, when a cow is in a rumbling state, the fluctuation range of the x-component acceleration sensor value is large (Feature 1). Also, when a cow is in a rumbling state, there are many periods of time when the cow's movements are weak (Feature 2). These features match the empirical facts obtained by observing cows in a rumbling state. That is, when a cow is in a rumbling state, the angle of the neck where tag 20 is attached changes (i.e., the gravitational acceleration component acting on the x-axis changes), and Feature 1 matches the empirical fact that the range of the x-axis changes. Also, Feature 2 matches the empirical fact that transitions (posture changes) between lying and prone states do not occur frequently. For this reason, Features 1 and 2 above can be said to represent the characteristics of a rumbling state.

[0038] Therefore, if the cow's posture is estimated to be "lying down" through barometric pressure analysis, it is possible to estimate whether the cow is in a rumbling state by determining whether the above features 1 and 2 appear in the acceleration sensor values.

[0039] In the state where standing is difficult, the cow is struggling with its legs pointing upward, so the gravitational acceleration components on each axis do not change much, and the above feature 1 does not appear. In addition, the cow continues to move strongly as it struggles, so the above feature 2 does not appear either.

[0040] <Example of functional configuration of the abnormality detection processing unit 100> An example of the functional configuration of the anomaly detection processing unit 100 according to this embodiment is shown in Fig. 5. As shown in Fig. 5, the anomaly detection processing unit 100 according to this embodiment includes a posture estimation unit 101, a score calculation unit 102, and an anomaly detection unit 103.

[0041] The posture estimation unit 101 estimates whether the posture of the cow being the target of abnormality detection is standing or lying down by atmospheric pressure analysis based on the atmospheric pressure sensor values ​​included in the measurement data of the cow from Δ ago to the present and the reference atmospheric pressure sensor values ​​included in the reference atmospheric pressure data from Δ ago to the present. Furthermore, if the posture estimation unit 101 estimates that the cow is lying down, it estimates whether the cow is lying down or rumbling down based on the acceleration sensor values ​​included in the measurement data. Here, Δ is a time width representing the execution interval of the abnormality detection process described below, and is, for example, Δ = 600 [seconds] = 10 [minutes].

[0042] The score calculation unit 102 calculates a score S for determining whether or not the cow is in a state of difficulty standing up, according to the posture estimated by the posture estimation unit 101.

[0043] The abnormality detection unit 103 detects that the cow is in a state where it is difficult to stand up as an abnormality, using the score S calculated by the score calculation unit 102. For example, when the score S exceeds a predetermined threshold, the abnormality detection unit 103 detects that an abnormality has occurred in the cow.

[0044] <Abnormality detection processing> The abnormality detection process according to this embodiment will be described below with reference to Fig. 6. The following steps S101 to S107 are repeatedly executed for each time interval Δ. For simplicity, the following will describe the case where abnormality detection is performed for one cow. When abnormality detection is performed for multiple cows, the abnormality detection process of the following steps S101 to S107 can be executed for each cow.

[0045] The posture estimation unit 101 of the abnormality detection processing unit 100 estimates the current posture of the cow that is the target of abnormality detection (step S101). Details of the processing of this step (posture estimation processing) will be described later.

[0046] The abnormality detection processing unit 100 determines whether the posture estimated in the above step S101 is "standing state," "lying state," or "rolling state" (step S102).

[0047] If it is determined in step S102 above that the state is "rumbling state", the abnormality detection processing unit 100 does nothing (that is, it neither resets nor adds to the score S).

[0048] If it is determined in the above step S102 that the state is "standing up," the score calculation unit 102 of the abnormality detection processing unit 100 resets the score S to 0 (step S103).

[0049] If it is determined in the above step S102 that the state is "lying state", or following step S103, the score calculation unit 102 of the abnormality detection processing unit 100 calculates the score s (step S104). For example, the score calculation unit 102 calculates the score s according to the following steps 1 to 4.

[0050] Step 1: The score calculation unit 102 acquires acceleration sensor values ​​(x-component acceleration sensor value, y-component acceleration sensor value, and z-component acceleration sensor value) that are measurement data of tag IDs that identify tags 20 attached to cattle that are targets of abnormality detection from among the measurement data stored in the measurement data storage unit 200 and that are included in the measurement data from Δ ago to the present. For simplicity, hereinafter, an index (time index) that indicates the date and time from Δ ago to the present is set as t=1, . . . , T, and the set of acceleration sensor values ​​acquired in step 1 is referred to as {(x t ,y t ,z t )|t=1, ,T}. For example, Δ=600 [seconds], Δ s If = 2 seconds, then T = 300.

[0051] In step S301 (FIG. 8) of the rumbling state estimation process described later, the set of acceleration sensor values ​​{(x t ,y t ,z t )|t=1, ,T} is obtained, so if this set is stored in the memory area, the above step 1 does not need to be performed.

[0052] Step 2: The score calculation unit 102 calculates each acceleration sensor value (x t ,y t ,z t ) for each t=1, . . . , T. t =(|x t | 2 +|y t | 2 +|z t | 2 ) 1 / 2 Calculate.

[0053] Step 3: The score calculation unit 102 calculates the standard deviation of the L2 norm for each time span Δ1 (where Δ1<Δ). Here, Δ1 is the time span for which the standard deviation is calculated, and is the time span for which Δ1=Δ / N where N is a predetermined integer. For example, when Δ=600 seconds, N=10, and Δ1=60 seconds, etc. Hereinafter, the standard deviation of the L2 norm calculated in step 2 is referred to as σ d Let the set of standard deviations of the L2 norm be {σ d |d=1, ,D}. Note that Δ=600 [seconds], Δ s = 2 seconds, Δ1 = 60 seconds, then D = 10.

[0054] Step 4: Then, the score calculation unit 102 calculates the set of standard deviations of the L2 norms {σ dUsing \(\{d = 1,\cdots,D\}\), count the number of times the standard deviation of the L2 norm has fallen below a predetermined lower limit after exceeding a predetermined upper limit and the number of times the standard deviation of the L2 norm has exceeded the upper limit after falling below the lower limit from \(\Delta\) before the past to the present, and calculate the total as the score \(s\). Note that these upper and lower limits are preset parameters and are determined based on, for example, rules of thumb.

[0055] For example, with the upper limit as \(sup\) and the lower limit as \(inf\), arranging the standard deviations of the L2 norm in chronological order gives \(\sigma_1,\cdots,\sigma\) D Let's assume it is so. At this time, for example, for a certain \(d\), \(sup\lt\sigma\) d and after that, for a certain \(d' (> d)\), \(\sigma\) d' \(\lt inf\), this is counted as 1 time. Similarly, for example, for a certain \(d\), \(\sigma\) d \(\lt inf\) and after that, for a certain \(d' (> d)\), \(sup\lt\sigma\) d' This is counted as 1 time.

[0056] Note that since the above score \(s\) is the sum of the number of times the standard deviation of the L2 norm of the acceleration sensor value has fallen below the lower limit after exceeding the upper limit and the number of times it has exceeded the upper limit after falling below the lower limit during the time width \(\Delta\), the value becomes high when the cow is continuously moving strongly. This is because generally, in a state of difficulty standing up, the cow kicks, so there is a tendency to continuously move strongly (in other words, a tendency to thrash continuously in a lying state). In this sense, it can be said that the score \(s\) is an index value representing the degree of thrashing of the cow during the most recent past \(\Delta\).

[0057] Following step S104, the score calculation unit 102 of the abnormality detection processing unit 100 adds the score \(s\) calculated in step S104 above to the score \(S\) (step S105).

[0058] The anomaly detection unit 103 of the anomaly detection processing unit 100 determines whether the score S exceeds a predetermined threshold th1 (step S106). Note that the threshold th1 is a preset parameter, and its value can be set to any value as appropriate. For example, it can be set to about 15 to 35, and it is particularly preferable to set it to about 25.

[0059] If it is determined in step S106 above that the score S exceeds the threshold value th1, the abnormality detection unit 103 of the abnormality detection processing unit 100 detects that an abnormality has occurred in the cow that is the target of abnormality detection (i.e., the cow is in a state of difficulty standing up) (step S107). The abnormality detection unit 103 may notify this abnormality detection result to, for example, a terminal (e.g., a smartphone used by the farmer) connected to the abnormality detection device 10 via a communication network. At this time, the abnormality detection result includes information such as the date and time when the abnormality occurred, information identifying the cow in which the abnormality occurred (e.g., a tag ID, etc.), and information indicating the type of abnormality (e.g., a code indicating difficulty standing up, etc.). This makes it possible for the terminal to, for example, issue an alert indicating that an abnormality has occurred in the cow.

[0060] If it is not determined in step S107 that the score S exceeds the threshold value th1, the abnormality detection processing unit 100 does nothing.

[0061] <Posture estimation processing> Details of the posture estimation process in step S101 in FIG. 6 will be described below with reference to FIG.

[0062] The posture estimation unit 101 acquires, from the measurement data stored in the measurement data storage unit 200, measurement data with tag IDs that identify tags 20 attached to the cows that are the target of abnormality detection, and also acquires atmospheric pressure sensor values ​​included in the measurement data from Δ ago to the present, and reference atmospheric pressure sensor values ​​included in the reference atmospheric pressure data from Δ ago to the present (step S201). For simplicity, hereinafter, an index (time index) representing the date and time from Δ ago to the present is set as t=1, . . . , T, and the set of atmospheric pressure sensor values ​​acquired in this step is referred to as {p t |t=1,···,T}, and the set of reference pressure sensor values ​​is {q t |t=1,···,T}.

[0063] The attitude estimation unit 101 calculates a differential atmospheric pressure sensor value using the atmospheric pressure sensor value and the reference atmospheric pressure sensor value acquired in step S201 (step S202). The differential atmospheric pressure sensor value is obtained by subtracting the reference atmospheric pressure sensor value from the atmospheric pressure sensor value at the same date and time. That is, the attitude estimation unit 101 calculates r t :=p t -q t The differential pressure sensor value r t Calculate.

[0064] The posture estimation unit 101 calculates the differential barometric pressure sensor value r calculated in step S202 above. t (t=1, , T) to estimate whether the current posture of the cow, which is the object of abnormality detection, is in the "standing state" or the "lying state" (step S203). That is, the posture estimation unit 101 uses, for example, the differential atmospheric pressure sensor value r t After calculating an index value such as the average value of (t=1, ,T), if this index value is greater than a predetermined threshold th2 (<0), the posture of the cow is estimated to be "lying down," otherwise the posture of the cow is estimated to be "standing up." Note that threshold th2 is a preset parameter, and its value can be set to any value as appropriate.

[0065] The posture estimation unit 101 determines whether the posture estimated in step S203 above is a "standing state" or a "lying state" (step S204).

[0066] If it is determined in step S203 above that the cow is in the "standing state", the posture estimation unit 101 outputs "standing state" as the estimation result of the current posture of the cow (step S205).

[0067] On the other hand, if the cow is determined to be in a "sleeping state" in step S203, the posture estimation unit 101 estimates whether the cow's current posture is in a "rumbling state" or a "not rumbling state" (step S206). Details of the processing in this step (rumbling state estimation processing) will be described later.

[0068] The posture estimation unit 101 determines whether or not the posture is estimated to be in the "rolling state" in step S206 (step S207).

[0069] If the cow is not estimated to be in a "rolling state" in step S207 above (i.e., if the cow is estimated to be not in a "rolling state"), the posture estimation unit 101 outputs "lying state" as the estimation result of the cow's current posture (step S208).

[0070] On the other hand, if it is estimated in step S207 that the cow is in a "rumbling state", the posture estimation unit 101 outputs "rumbling state" as the estimation result of the current posture of the cow (step S209).

[0071] <<Rumbling state estimation processing>> Hereinafter, the rumbling state estimation process in step S206 of FIG. 7 will be described in detail with reference to FIG.

[0072] The posture estimation unit 101 acquires acceleration sensor values ​​(x-component acceleration sensor value, y-component acceleration sensor value, and z-component acceleration sensor value) that are measurement data of the tag ID that identifies the tag 20 attached to the cow that is the target of abnormality detection from the measurement data stored in the measurement data storage unit 200 and that are included in the measurement data from Δ ago to the present (step S301). For simplicity, the index (time index) that represents the date and time from Δ ago to the present is set to t=1, . . . , T, and the set of acceleration sensor values ​​acquired in this step is referred to as {(x t ,y t ,z t )|t=1,···,T}.

[0073] The posture estimation unit 101 calculates the acceleration sensor values ​​(x t ,y t ,z t ) to the x-component acceleration sensor value x t and z-component acceleration sensor value z t (Step S302). As a result, a set of x-component and z-component acceleration sensor values ​​{(x t ,z t )|t=1,···,T} is obtained.

[0074] The posture estimation unit 101 calculates the x-component acceleration sensor value x for each time interval Δ1. t (hereinafter also referred to as the x-component standard deviation) and the z-component acceleration sensor value z t The standard deviation of the x-component (hereinafter also referred to as the z-component standard deviation) is calculated (step S303). x,d , the z-component standard deviation is σ z,d Let the set of x-component standard deviations be {σ x,d |d=1,···,D}, and the set of z-component standard deviations is {σ z,d |d=1,···,D}.

[0075] The posture estimation unit 101 estimates that the characteristics 1 and 2 of the rolling state are obtained by the x-component acceleration sensor value x t(t=1, . . . , T) (step S304). Here, if both of the following conditions 1-1 and 1-2 are satisfied, the posture estimation unit 101 determines whether the characteristics 1 and 2 of the rolling state appear in the x-component acceleration sensor value x t (t=1, , T), and if not, the characteristics 1 and 2 of the rumbling state are determined to be the x-component acceleration sensor value x t It is determined that feature 1 does not appear in (t=1, ,T). Note that the condition for determining whether feature 1 appears corresponds to condition 1-1, and the condition for determining whether feature 2 appears corresponds to condition 1-2.

[0076] Condition 1-1:x t When (t=1, ,T) are sorted in descending order, the largest one is a x1 The value that corresponds to the %th item (or the closest value) is X1, and x2 The value that corresponds to the %th value (or the value closest to it) is X2. That is, x t (t=1, ,T) x1 The value that corresponds to the %th item (or the value closest to it) is X1, and the lower a x2 The value corresponding to the %th (or the value closest to it) is X2. In this case, X1-X2≧b x where a x1 , a x2 , b x is a preset parameter, and its value can be set to any value as appropriate. For example, x1 =5, a x2 =5, b x It is preferable to set it to about 1500.

[0077] Condition 1-2: σ x,d (d=1, ,D) where σ x,d ≦c x1 The number of items that satisfy the condition is c x2 where c x1 , c x2 is a preset parameter, and its value can be set to any value as appropriate. For example, x1 =100, c x2It is preferable to set it to about 7.

[0078] In step S304, the characteristics 1 and 2 of the rumbling state are calculated based on the x-component acceleration sensor value x t If it is not determined that the features 1 and 2 of the rolling state appear in the z-component acceleration sensor value z t (t=1, , T) (step S305). Here, if both of the following conditions 2-1 and 2-2 are satisfied, the posture estimation unit 101 determines whether the characteristics 1 and 2 of the rolling state appear in the z-component acceleration sensor value z t (t=1, ,T), and if not, the characteristics 1 and 2 of the rumbling state are determined to be the z-component acceleration sensor value z t (t=1, ,T). The condition for determining whether feature 1 appears corresponds to condition 2-1, and the condition for determining whether feature 2 appears corresponds to condition 2-2.

[0079] Condition 2-1:z t When (t=1, ,T) are sorted in descending order, the largest one is a z1 The value that corresponds to the %th item (or the closest value) is Z1, and z2 The value that corresponds to the %th value (or the value closest to it) is Z2. t (t=1, ,T) z1 The value that corresponds to the %th item (or the value closest to it) is Z1, and the lower a z2 The value corresponding to the %th (or the value closest to it) is Z2. In this case, Z1-Z2≧b z where a z1 , a z2 , b z is a preset parameter, and its value can be set to any value as appropriate. For example, z1 =5, a z2 =5, b z It is preferable to set it to about 1500.

[0080] Condition 2-2: σ z,d(d=1, ,D) where σ z,d ≦c z1 The number of items that satisfy the condition is c z2 where c z1 , c z2 is a preset parameter, and its value can be set to any value as appropriate. For example, z1 =100, c z2 It is preferable to set it to about 7.

[0081] In step S305, the characteristics 1 and 2 of the rolling state are detected as the z-component acceleration sensor value z t If it is not determined that the state appears in (t=1, . . . , T), the posture estimation unit 101 outputs "not in a rolling state" as the estimation result (step S306).

[0082] On the other hand, in step S304, the characteristics 1 and 2 of the rumbling state are detected as the x-component acceleration sensor value x t (t=1, , T), or if it is determined that the characteristics 1 and 2 of the rumbling state appear in the z-component acceleration sensor value z t If it is determined that the state appears at (t=1, . . . , T), the posture estimation unit 101 outputs the "rumbling state" as the estimation result (step S307).

[0083] In the above-described rumbling state estimation process, the process of step S305 is executed when the result of the process of step S304 is NO. However, for example, the process of step S304 may be executed when the result of the process of step S305 is NO.

[0084] <Verification> The anomaly detection system 1 according to the above embodiment was verified in comparison with the conventional technology from two perspectives: "whether there is an increase in missed detections" and "whether there is a decrease in false detections."

[0085] - Regarding "Will there be an increase in false negatives?" Using measurement data from 161 cases where people had difficulty standing up in the past, we verified whether there was an increase in missed detections compared to conventional technology. The threshold value th1 was set to th1 = 20. As a result of this verification, we were able to detect the same number of abnormalities as conventional technology, and confirmed that there was no increase in missed detections.

[0086] Regarding "whether false positives will be reduced" Using measurement data from 240 cases in which conventional technology had previously falsely detected difficulty standing, we verified whether the number of false positives could be reduced. As a result of this verification, we confirmed that the number of false positives was reduced to 118, a reduction of 122.

[0087] <Modification> In the above embodiment, the parameters used in the abnormality detection process, the posture estimation process, and the rumbling state estimation process are common to all abnormality detection targets, but for example, all or some of the parameters may be different for each cow or each cowshed. For example, the parameter a used in the rumbling state estimation process x1 , a x2 , b x , c x1 , c x2 , a z1 , a z2 , b z , c z1 , c z2 may be different for each cow or each cowshed. In this case, for example, if it is different for each cow, the tag ID of the tag 20 attached to the cow is set as "Tag", and each parameter is set as a x1 (Tag) , a x2 (Tag) , b x (Tag) , c x1 (Tag) , c x2 (Tag) , a z1 (Tag) , a z2 (Tag) , b z (Tag) , c z1 (Tag) , c z2 (Tag)Similarly, if each barn is different, the information identifying the barn is called "ID" and each parameter is a x1 (ID) , a x2 (ID) , b x (ID) , c x1 (ID) , c x2 (ID) , a z1 (ID) , a z2 (ID) , b z (ID) , c z1 (ID) , c z2 (ID) This is expected to enable more accurate anomaly detection, taking into account, for example, individual differences between cows and the environment of the cowshed. Note that examples of individual differences between cows include differences in personality, such as whether they are aggressive or not. Furthermore, examples of the environment of the cowshed include the unevenness of the ground inside the cowshed and the degree of mud.

[0088] <Summary> As described above, the abnormality detection system 1 according to this embodiment detects the state in which livestock alternate between lying down and lying down (a rumbling state) from the acceleration sensor value, and suppresses the calculation of the score s, which is an index value that represents the degree of violence of the livestock, when the livestock is in a rumbling state. This makes it possible to prevent a situation in which a rumbling state of livestock is mistakenly detected as having difficulty standing up, and as a result, it becomes possible to detect abnormalities in livestock with high accuracy.

[0089] The present invention is not limited to the above-described specifically disclosed embodiments, and various modifications, changes, and combinations with known technologies are possible without departing from the scope of the claims. [Explanation of symbols]

[0090] 1. Anomaly detection system 10. Anomaly detection device 20 Tags 100 Abnormality detection processing unit 101 Posture estimation section 102 Score calculation section 103 Abnormality detection unit 200 Measurement data storage unit 300 Reference atmospheric pressure data storage unit

Claims

1. An abnormality detection device for detecting abnormalities in livestock, A storage unit that stores acceleration data and atmospheric pressure data measured by an acceleration sensor and an atmospheric pressure sensor, respectively, provided in the device attached to the livestock; a first estimation unit that estimates whether the livestock is in an upright state, which represents a state in which the livestock is standing, or in a lying state, which represents a state in which the livestock is lying down, for each predetermined time interval based on one or more of the air pressure data; a second estimation unit that, when it is estimated that the livestock is sleeping, estimates whether the livestock is in a recumbent state, which represents a state in which the livestock is lying on its side with its limbs stretched out, or a rumbling state, which represents a state in which the livestock is repeating the recumbent state and a prone state, which represents a state in which the livestock is dropping its knees and raising its chest; a score calculation unit that calculates a first score representing a degree of violence of the livestock for each time span based on one or more of the acceleration data depending on whether the livestock is estimated to be in the standing state, the lying state, or the rumbling state; a detection unit that detects that an abnormality has occurred in the livestock based on the first score; An anomaly detection device having the above configuration.

2. The score calculation unit is When the livestock is estimated to be in the standing state, the first score for the current time range is calculated as 0; if it is estimated that the livestock is lying down, a second score representing the degree of violence of the livestock in the current time width is calculated based on one or more of the acceleration data, and the first score in the current time width is calculated by adding the second score to the first score in the immediately preceding time width; The anomaly detection device according to claim 1 , wherein when it is estimated that the livestock is in the rumbling state, the first score for the immediately previous time width is calculated as the first score for the current time width.

3. the acceleration sensor is a three-axis acceleration sensor in which the right direction with respect to the moving direction of the livestock when the livestock is standing is the positive direction of the x-axis, the moving direction is the positive direction of the y-axis, and the direction of gravity is the direction of the z-axis, The second estimation unit is 3. The anomaly detection device according to claim 1 or 2, wherein, based on one or more x-component acceleration values ​​and one or more z-component acceleration values ​​contained in each of the one or more acceleration data, if a predetermined characteristic representing the rumbling state appears in one or more of the x-component acceleration values ​​or one or more of the z-component acceleration values, it is presumed that the livestock is in the rumbling state, and if the livestock is not presumed to be in the rumbling state, it is presumed that the livestock is in the lying state.

4. Anomaly detection devices that detect abnormalities in livestock, a storage step of storing acceleration data and atmospheric pressure data measured by an acceleration sensor and an atmospheric pressure sensor, respectively, in a storage unit, the acceleration data and atmospheric pressure data being measured by an acceleration sensor and an atmospheric pressure sensor in a device attached to the livestock; a first estimation step of estimating whether the livestock is in an upright state, which represents a state in which the livestock is standing, or in a lying state, which represents a state in which the livestock is lying down, for each predetermined time interval based on one or more of the air pressure data; a second estimation step of estimating whether the livestock is in a lying state, which represents a state in which the livestock is lying on its side with its four limbs stretched out, or a rumbling state, which represents a state in which the livestock is repeating the lying state and a prone state, which represents a state in which the livestock is dropping its knees and raising its chest, when the livestock is estimated to be in a sleeping state; a score calculation step of calculating a first score representing a degree of violence of the livestock for each of the time spans based on one or more of the acceleration data depending on whether the livestock is estimated to be in the standing state, the lying state, or the rumbling state; A detection step of detecting an occurrence of an abnormality in the livestock based on the first score; An anomaly detection method that performs.

5. Anomaly detection devices that detect abnormalities in livestock a storage step of storing acceleration data and atmospheric pressure data measured by an acceleration sensor and an atmospheric pressure sensor, respectively, in a storage unit, the acceleration data and atmospheric pressure data being measured by an acceleration sensor and an atmospheric pressure sensor in a device attached to the livestock; a first estimation step of estimating whether the livestock is in an upright state, which represents a state in which the livestock is standing, or in a lying state, which represents a state in which the livestock is lying down, for each predetermined time interval based on one or more of the air pressure data; a second estimation step of estimating whether the livestock is in a lying state, which represents a state in which the livestock is lying on its side with its four limbs stretched out, or a rumbling state, which represents a state in which the livestock is repeating the lying state and a prone state, which represents a state in which the livestock is dropping its knees and raising its chest, when the livestock is estimated to be in a sleeping state; a score calculation step of calculating a first score representing a degree of violence of the livestock for each of the time spans based on one or more of the acceleration data depending on whether the livestock is estimated to be in the standing state, the lying state, or the rumbling state; A detection step of detecting an occurrence of an abnormality in the livestock based on the first score; A program that executes the following.

Citation Information

Patent Citations

  • Monitoring system and monitoring method of tethered cattle

    JP2017163947A

  • Information processing system, information processing device, and program

    JP2019024482A

  • Health state management system and management method for cattle and health state management program

    JP2019122368A

  • Specification device, specification method, and program

    JP2020198828A

  • Specification device, specification method, and program

    JP2020198829A