Animal tag, method and computer program for determining behavior-related data

11576346 · 2023-02-14

Assignee

Inventors

Cpc classification

International classification

Abstract

An animal tag that contains first and second three-dimensional accelerometers and a processing unit, where the first accelerometer registers a first acceleration vector describing a spatial movement of a first position of the animal tag, and the second accelerometer registers a second acceleration vector describing a spatial movement of a second position of the animal tag, the second position separated from the first position by a distance, and the processing unit receives the first and second acceleration vectors and based thereon determines at least one behavior-related parameter for an animal carrying the animal tag in the form of inclination angle(s) (ψ, Φ, θ) of the animal tag relative to a reference frame external to the animal tag, and/or an elevation of the animal tag relative to a reference level external to the animal tag.

Claims

1. An animal tag (100), comprising: a first three-dimensional accelerometer (110.sub.1) configured to register a first acceleration vector ([a1]) describing a spatial movement of a first position (p1) of the animal tag (100); a processing unit (120); and a second three-dimensional accelerometer (110.sub.2) configured to register a second acceleration vector ([a2]) describing a spatial movement of a second position (p2) of the animal tag (100), said second position (p2) separated from the first position (P1) by a distance (d.sub.xyz), the processing unit (120) configured to receive the first and second acceleration vectors ([a1]; [a2]), and based on both of said first and second acceleration vectors ([a1]; [a2]) calculate at least one behavior-related parameter for an animal (A) carrying the animal tag (100), the at least one behavior-related parameter comprising at least one of: at least one inclination angle (ψ, Φ, θ) of the animal tag (100) relative to a reference frame (XYZ) external to the animal tag (100), and an elevation (z) of the animal tag (100) relative to a reference level (XY) external to the animal tag (100), wherein said calculation of the at least one behavior-related parameter is made from angular and altitude changes in the animal tag (100) exclusively based on accelerometer data from said first and second acceleration vectors ([a1]; [a2]) from the first and second three-dimensional accelerometers (110.sub.1, 100.sub.2), wherein the processing unit (120) is further configured, based on both the first and second acceleration vectors ([a1], [a2]), to determine whether the animal (A) is either standing up or lying down, said determined at least one behavior-related parameter including a posture indicator that reflects whether the animal (A) is either standing up or lying down.

2. The animal tag (100) according to claim 1, wherein the processing unit (120) is further configured to: register at least one of standing times and lying times for the animal (A); and include the at least one of standing times and lying times in the at least one behavior-related parameter.

3. The animal tag (100) according to claim 1, further comprising: a data storage unit (140), and wherein the processing unit (120) is further configured to: assign a time stamp to at least one of the at least one behavior-related parameter, and store the at least one behavior-related parameter together with the time stamp assigned thereto in the data storage unit (140).

4. The animal tag (100) according to claim 1, further comprising: a wireless interface (150) configured to emit a wireless signal (M(z, θ)) containing the at least one behavior-related parameter.

5. The animal tag (100) according to claim 4, wherein the processing unit (120) is configured to cause identification data to be included in the wireless signal (M(z, θ)), said identification data adapted to enable a receiver of the wireless signal (M(z, θ)) to determine an identity of the animal tag (100).

6. The animal tag (100) according to claim 1, wherein the animal tag (100) is configured to be attached to at least one of a neckband (100n) and an ear (100e) on the animal (A).

7. The animal tag (100) according to claim 1, wherein the distance (d.sub.xyz) between the first and second positions (p1; p2) is at least 20 mm.

8. The animal tag (100) according to claim 1, wherein the first and second three-dimensional accelerometers (110.sub.1; 110.sub.2) are arranged at opposite ends of a space diagonal through the animal tag (100).

9. A method to be implemented in an animal tag (100) to determine at least one behavior-related parameter concerning an animal (A) carrying the animal tag (100), the method comprising: registering a first acceleration vector ([a1]) via a first three-dimensional accelerometer (110.sub.1), the first acceleration vector ([a1]) describing a spatial movement of a first position (p1) of the animal tag (100); registering a second acceleration vector ([a2]) via a second three-dimensional accelerometer (110.sub.2), the second acceleration vector ([a2]) describing a spatial movement of a second position (p2) of the animal tag (100), the second position (p2) being separated from the first position by a distance (d.sub.xyz); calculating, from both the first and second acceleration vectors ([a1]; [a2]), at least one behavior-related parameter in the form of at least one of: at least one inclination angle (ψ, Φ, θ) of the animal tag (100) relative to a reference frame (XYZ) external to the animal tag (100), and an elevation (z) of the animal tag (100) relative to a reference level (XY) external to the animal tag (100), wherein said calculation of the at least one behavior-related parameter is made from angular and altitude changes in the animal tag (100) exclusively based on accelerometer data from said first and second acceleration vectors ([a1]; [a2]) from the first and second three-dimensional accelerometers (110.sub.1, 100.sub.2); and determining, based on both the first and second acceleration vectors ([a1], [a2]), whether the animal (A) is either standing up or lying down, including determining a posture indicator in the at least one behavior-related parameter, said posture indicator reflecting whether the animal (A) is either standing up or lying down.

10. The method according to claim 9, further comprising: registering at least one of standing times and lying times for the animal (A); and including the at least one of standing times and lying times in the at least one behavior-related parameter.

11. The method according to claim 9, further comprising: assigning a time stamp to the at least one behavior-related parameter; and storing the at least one behavior-related parameter together with the time stamp assigned thereto in a data storage unit (140) in the animal tag (100).

12. The method according to claim 9, further comprising: emitting a wireless signal (M(z, θ)) containing the at least one behavior-related parameter via a wireless interface (150).

13. The method according to claim 12, further comprising: including identification data in the wireless signal (M(z, θ)) adapted to enable a receiver of the wireless signal (M(z, θ)) to determine an identity of the animal tag (100).

14. The method according to claim 9, wherein the distance (d.sub.xyz) between the first and second positions (p1; p2) is at least 20 mm.

15. The method according to claim 9, wherein the first and second three-dimensional accelerometers (110.sub.1; 110.sub.2) are arranged at opposite ends of a space diagonal through the animal tag (100).

16. A computer program (135) recorded on a non-volatile data carrier (130), the computer program (135) comprising software readable by a processing unit (120) and that causes the processing unit to execute the method according to claim 10 when the computer program (135) is run by the processing unit (120).

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The invention is now to be explained more closely by means of preferred embodiments, which are disclosed as examples, and with reference to the attached drawings.

(2) FIG. 1 shows a cube schematically illustrating how two accelerometers are physically separated from one another by a distance;

(3) FIG. 2 represents a bounding cylinder in a plane projection of the cube in FIG. 1;

(4) FIG. 3 shows a block diagram over an animal tag according to one embodiment of the invention;

(5) FIG. 4 shows a first example of how the proposed tag can be attached to a neckband on an animal;

(6) FIG. 5 shows a second example of how the proposed tag can be arranged in the ear of an animal;

(7) FIG. 6 illustrates a set of inclination angles with respect to the proposed animal tag; and

(8) FIG. 7 illustrates, by means of a flow diagram, the general method of determining behavior-related data according to the invention.

DETAILED DESCRIPTION

(9) FIG. 1 shows a cube schematically illustrating how two accelerometers 110.sub.1 and 110.sub.2 respectively are physically separated from one another by a distance d.sub.xyz. The first accelerometer 110.sub.1 is located at a first position [x1, y1, z1] and the second accelerometer 110.sub.2 is located at a second position [x2, y2, z2], and the distance d.sub.xyz between the accelerometers is represented by a vector from the first position [x1, y1, z1] to the second position [x2, y2, z2]. For precision reasons it is preferred that the first and second accelerometers 110.sub.1 and 110.sub.2 are separated as much as possible from one another in the animal tag, e.g. being located at opposite ends of a space diagonal as shown in FIG. 1. In other words, the first and second three-dimensional accelerometers 110.sub.1 and 110.sub.2 respectively are preferably arranged as far as possible from one another given the physical limitations of the animal tag 100.

(10) In FIG. 2, we see a bounding cylinder representing a projection of the cube in FIG. 1 in the XZ-plane.

(11) The basic working principle behind an algorithm for computing inclination angles based on acceleration measurements is that each of the two corner accelerometers 110.sub.1 and 110.sub.2 in FIG. 1 experiences an acceleration consisting of a translational component āand rotational component a.sub.d. The total acceleration of each accelerometer can therefore be expressed as follows:

(12) 110.sub.1: a.sub.x1=ā.sub.x+a.sub.dx a.sub.y1=ā.sub.y+a.sub.dy a.sub.z1=ā.sub.z+a.sub.dz

(13) 110.sub.2: a.sub.x2=ā.sub.x+a.sub.dx a.sub.y2=ā.sub.y+a.sub.dy a.sub.z2=ā.sub.z+a.sub.dz

(14) Per definition, a center point C of the cube does not experience any acceleration contribution from rotation. This means that the center point C only experiences acceleration from translation. The center point C translation can be calculated by determining an average ā.sub.xyz of the first and second accelerometers 110.sub.1 and 110.sub.2 according to the below:

(15) a _ x , y , z = ( a x 1 + a x 2 2 , a y 1 + a y 2 2 , a z 1 + a z 2 2 ) .

(16) Further, the angular acceleration about the X, Y and Z-axes can be found by creating respective enclosing cylinders around the XY, YZ and XZ projections of the bounding cube. In FIG. 2, we see one such example in the form of the enclosing cylinder in the XZ-projection plane.

(17) The diameter of each of said bounding cylinders is given by the Pythagorean Theorem as:
d.sub.xy,yz,xz=(√{square root over (L.sub.x.sup.2+L.sub.y.sup.2)},√{square root over (L.sub.y.sup.2+L.sub.z.sup.2)},√{square root over (L.sub.x.sup.2+L.sub.z.sup.2)})

(18) The tangential acceleration can then be found by decomposing the acceleration vector along the circumference of the enclosing cylinder, as illustrated by the a.sub.zt1 and a.sub.zt2 vectors in FIG. 2. A respective acceleration axis is here assigned to each enclosing cylinder.

(19) In particular, the X-axis can be used for the XY-plane, the Y-axis for the YZ-plane and the Z-axis for the XZ-plane. However, since two acceleration vectors are available for each projection, other combinations are, of course, also possible. The tangential angle for each axis is determined from the shape of the plane projection, and is calculated by using the below expression:

(20) θ xy , yz , xz = ( arcsin ( L x d xy ) , arcsin ( L x d yz ) , arcsin ( L z d xz ) )

(21) The tangential acceleration for the XY, YZ and XZ-plane can then be calculated using the below equations:
XY: a.sub.xyt1=a.sub.x1 cos(θ.sub.xy)a.sub.xyt2=a.sub.x1 cos(θ.sub.xy)
YZ: a.sub.yzt1=a.sub.y1 cos(θ.sub.yz)a.sub.yzt2=a.sub.y2 cos(θ.sub.yz)
XZ: a.sub.xzt1=a.sub.z1 cos(θ.sub.xz)a.sub.xyt2=a.sub.z2 cos(θ.sub.xz)

(22) The linear acceleration resulting from the rotation then becomes the difference between the two tangential accelerations, as expressed below:

(23) a d xy = a xyt 1 - a xyt 2 2 a d y z = a yzt 1 - a yzt 2 2 a d xz = a xzt 1 - a xzt 2 2

(24) The angular acceleration is the linear acceleration normalized to unit radius. In this case, the length of the radius is equal to half the diameter of each bounding cylinder. The angular acceleration about the X, Y and Z-axis is therefore given by:

(25) α z x y = ( 2 a d xy d x y , 2 a d y z d y z , 2 a d xz d xz )

(26) By integrating the angular acceleration with respect to time, and assuming zero initial velocity, an angular velocity ω equivalent to what a gyroscope provides can be obtained according to the below:
ω.sub.zxy(t)=ω.sub.zxy(t−custom charactert)+custom character.sub.zxy(t)

(27) The angular velocity ω can be integrated once more to provide a set of angles of orientation ψ(t), θ(t) and ϕ(t) respectively, which may also be referred to as roll ψ(t), pitch θ(t) and yaw ϕ(t):
ψ(t)=ψi(t−custom charactert)+custom character.sub.x(t)
θ(t)=θ(t−custom charactert)+custom character.sub.y(t)
θ(t)=θ(t−custom charactert)+custom character.sub.z(t)

(28) To summarize, the above equations require two integration steps to compute an angle of rotation. However, since a gyroscope by default outputs angular velocity, the conventional gyro-based technology requires only one integration step.

(29) Turning now to FIG. 3, we see a block diagram over an animal tag 100 according to one embodiment of the invention. The animal tag 100 contains an accelerometer unit 110 and a processing unit 120.

(30) The accelerometer unit 110, in turn, includes first and second three-dimensional accelerometers 110.sub.1 and 110.sub.2 respectively.

(31) The first three-dimensional accelerometer 110.sub.1 is configured to register a first acceleration vector [a1] describing a spatial movement of a first position p1 of the animal tag 100.

(32) The processing unit 120 is configured to receive the first acceleration vector [a1], and based thereon determine at least one behavior-related parameter for an animal A that carries the animal tag 100. According to the invention, however, the at least one behavior-related parameter is not determined on the first acceleration vector [a1] alone.

(33) Namely, the second three-dimensional accelerometer 110.sub.2 is configured to register a second acceleration vector [a2] describing a spatial movement of a second position p2 of the animal tag 100, which second position p2 is separated from the first position P1 by a distance d.sub.xyz as described above with reference to FIG. 1. For acceptable accuracy, the distance d.sub.xyz is at least 20 mm, and more preferably the distance d.sub.xyz is at least 40 mm. If possible, considering other design criteria, it is advantageous if the first and second positions p1 and p2 can be maximally separated from one another within the boundaries set by the physical outline of the animal tag 100. Namely, as a general rule of principle, the larger the distance d.sub.xyz, the higher the accuracy—for a given quality of the accelerometers 110.sub.1 and 110.sub.2 and a specific capacity of the processing unit 120. To limit the error propagation, it is further advantageous if every inclination angle that is calculated to be below a threshold value is rounded off to zero.

(34) The processing unit 120 is further configured to receive the second acceleration vector [a2], and based on the first and second acceleration vectors [a1] and [a2], the processing unit 120 is configured to determine the at least one behavior-related parameter. The at least one behavior-related parameter is here determined in the form of: at least one inclination angle ψ, θ and ϕ of the animal tag 100 relative to a reference frame XYZ external to the animal tag 100, and/or an elevation z of the animal tag 100 relative to a reference level XY external to the animal tag 100. This will be described in further detail below referring to FIG. 6.

(35) According to one embodiment of the invention, the processing unit 120 is further configured to determine whether the animal A is standing up or lying down based on the first and second acceleration vectors [a1] and [a2] respectively. Moreover, the processing unit 120 is configured to include a posture indicator in the at least one behavior-related parameter. The posture indicator may be a binary symbol reflecting whether the animal A is standing up or lying down, for example via a “1” and “0” respectively.

(36) Preferably, the processing unit 120 is also configured to register the standing times and/or lying times for the animal A, and include the standing times and/or lying times in the at least one behavior-related parameter. Hence, the at least one behavior-related parameter may be expressed as: {t1 to t2<standing up>; t2 to t3<lying down>; t4 to t5<standing up>}.

(37) In addition, or as an alternative, the animal tag 100 may contain a data storage unit 140 and the processing unit 120 may be configured to assign a respective time stamp to at least one of the at least one behavior-related parameter. The processing unit 120 is further configured to store the at least one behavior-related parameter together with the respective time stamps assigned thereto in the data storage unit 140. Consequently, the following data string can be stored in the data storage unit 140: {t1: <standing up>; t2: <standing up>; t3: <standing up>; t4: <standing up>; t5: <standing up>; t6: <standing up>; t7: <lying down>; t8: <lying down>; t9: <lying down>; t10: <lying down>; t11: <lying down>; t12: <standing up>; t13: <standing up>}; t14: <standing up>}

(38) To allow convenient readout of the at least one behavior-related parameter registered by the animal tag A, a wireless interface 150 may be included. The wireless interface 150 is configured to emit a wireless signal M(z, θ) containing at least one of the at least one behavior-related parameter, i.e. for example the above data string.

(39) Preferably, the wireless signal M(z, θ) contains identification data adapted to enable receivers of the wireless signal M(z, θ) to determine an identity of the animal tag 100. Therefore, to this aim, according to one embodiment of the invention, the processing unit 120 is configured to cause such identification data to be included in the wireless signal M(z, θ). Hence, the wireless signal M(z, θ) may have the following general structure: ID[A]: {t1 to t2<standing up>; t2 to t3<lying down>; t4 to t5<standing up>}.

(40) FIGS. 4 and 5 show first and second examples of how the proposed animal tag 100 can be attached on an animal A. In the first example shown in FIG. 4, the animal tag 100 is arranged in a neckband 100n worn by the animal A. Such an arrangement of the animal tag 100 is advantageous because it facilitates attaching and exchanging the tag. In the second example shown in FIG. 5, the animal tag 100 is instead attached directly to the animal's A ear via a piercing shaft. This is beneficial, since it ensures a fix and distinct location of the tag on the animal A.

(41) FIG. 6 illustrates a set of inclination angles ψ, θ and ϕ with respect to the animal tag A. Here, a first inclination angle ψ represents a roll of the tag; a second inclination angle θ represents a pitch of the tag and a third inclination angle ϕ represents a yaw of the tag.

(42) In FIG. 6, an elevation z of the animal tag 100 is indicated relative to a reference level external to the animal tag 100. Since, in this example, the elevation z represents an altitude parameter, an XY-plane parallel to the sea level constitutes the reference level. The processing unit 120 is configured to determine the elevation z by double-integrating the acceleration registered by at least one of the accelerometers 110.sub.1 and 110.sub.2 with respect to time while keeping track of the inclination angles ψ, θ and ϕ, so that said double-integration is made consistently in a dimension being orthogonal to the XY-plane.

(43) Returning now to FIG. 3, we note that it is generally advantageous if the processing unit 120 is configured to effect the above-mentioned procedure in an automatic manner by executing a computer program 135. Therefore, the processing unit 120 may include a memory unit, i.e. non-volatile data carrier 130, storing the computer program 135, which, in turn, contains software for making processing circuitry in the form of at least one processor in the processing unit 120 execute the above-described actions when the computer program 135 is run on the at least one processor.

(44) In order to sum up, and with reference to the flow diagram in FIG. 7, we will now describe the general method according to the invention for determining behavior-related data concerning an animal to which the proposed tag is attached.

(45) In a first step 710, a first acceleration vector [a1] is received from a first three-dimensional accelerometer 110.sub.1. In parallel with step 710, in a step 720, a second acceleration vector [a2] is received from a second three-dimensional accelerometer 110.sub.2. The first three-dimensional accelerometer 110.sub.1 describes the acceleration of a first position p1 of the animal tag and the second three-dimensional accelerometer 110.sub.2 describes the acceleration of a second position p2 of the animal tag. The second position p2 is separated from the first position by a distance d.sub.xyz.

(46) In a step 730 following steps 710 and 720, at least one behavior-related parameter is determined, which concerns an animal A that carries the animal tag 100. The at least one behavior-related parameter is expressed as at least one inclination angle ψ, θ and ϕ relative to a reference frame XYZ external to the animal tag, and/or an elevation z of the animal tag relative to a reference level XY external to the animal tag.

(47) Subsequently, the at least one behavior-related parameter is output in a step 740. Thereafter, the procedure loops back to steps 710 and 720.

(48) All of the process steps, as well as any sub-sequence of steps, described with reference to FIG. 7 may be controlled by means of a programmed processor. Moreover, although the embodiments of the invention described above with reference to the drawings comprise processor and processes performed in at least one processor, the invention thus also extends to computer programs, particularly computer programs on or in a carrier, adapted for putting the invention into practice. The program may be in the form of source code, object code, a code intermediate source and object code such as in partially compiled form, or in any other form suitable for use in the implementation of the process according to the invention. The program may either be a part of an operating system, or be a separate application. The carrier may be any entity or device capable of carrying the program. For example, the carrier may comprise a storage medium, such as a Flash memory, a ROM (Read Only Memory), for example a DVD (Digital Video/Versatile Disk), a CD (Compact Disc) or a semiconductor ROM, an EPROM (Erasable Programmable Read-Only Memory), an EEPROM (Electrically Erasable Programmable Read-Only Memory), or a magnetic recording medium, for example a floppy disc or hard disc. Further, the carrier may be a transmissible carrier such as an electrical or optical signal, which may be conveyed via electrical or optical cable or by, radio or by other means. When the program is embodied in a signal, which may be conveyed, directly by a cable or other device or means, the carrier may be constituted by such cable or device or means. Alternatively, the carrier may be an integrated circuit in which the program is embedded, the integrated circuit being adapted for performing, or for use in the performance of, the relevant processes.

(49) Although the invention is primarily intended to determining behavior-related data in respect of milk-producing animals, e.g. cows, the proposed solution is equally well applicable for any other kind of livestock or wild animals.

(50) The term “comprises/comprising” when used in this specification is taken to specify the presence of stated features, integers, steps or components. However, the term does not preclude the presence or addition of one or more additional features, integers, steps or components or groups thereof.

(51) The invention is not restricted to the described embodiments in the figures, but may be varied freely within the scope of the claims.