Animal tag, method and computer program for determining behavior-related data
11576346 · 2023-02-14
Assignee
Inventors
Cpc classification
A01K11/004
HUMAN NECESSITIES
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)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION
(9)
(10) In
(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
(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)
(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
(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
(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)
(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)
(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)
(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−t)+
tα.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−t)+
tω.sub.x(t)
θ(t)=θ(t−t)+
tω.sub.y(t)
θ(t)=θ(t−t)+
tω.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
(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
(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
(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)
(41)
(42) In
(43) Returning now to
(44) In order to sum up, and with reference to the flow diagram in
(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
(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.