Automatic selection of animals to be treated during a treatment period
The disclosure relates to a sorting system for automatically selecting animals to be treated during a treatment period. A first aspect is a sorting system automatically selecting animals to be treated during a treatment period. The sorting system includes an automatic sort gate and a control arrangement receiving, via a user interface, user input indicative of sorting criteria applicable to animal properties and a maximum number of the animals allowed to be present simultaneously in the sorting area. The control arrangement is further configured to monitor a number of animals that enter and exit the sorting area. The control arrangement is finally configured to adjust one or more parameter values of the one or more sorting criteria, based on the monitored number of animals that enter and exit the sorting area. The disclosure also relates to a corresponding method and to a computer program for performing the method.
1 . A sorting system ( 200 ) for automatically selecting animals ( 10 ) to be treated during a desired treatment period comprising:
an automatic sort gate ( 20 ) arranged to selectively sort animals ( 10 ) arriving from a milking area ( 30 ) into a sorting area ( 40 ) for performing a treatment,
a control arrangement ( 100 ) configured to:
i. receive, via a user interface ( 60 ), user input indicative of one or more sorting criteria applicable to one or more animal properties to determine whether an animal should be allowed to enter the sorting area to receive the treatment, receive user input on the desired treatment period, and receive user input on a maximum number of the animals allowed to be present simultaneously in the sorting area ( 40 ) during the desired treatment period,
ii. monitor, continually during the desired treatment period, a number of animals ( 10 ) that enter and exit the sorting area ( 40 ),
iii. adjust one or more parameter values of the one or more sorting criteria, based on the monitored number of animals that enter and exit the sorting area ( 40 ) during the desired treatment period, and the received user input on the maximum number of animals allowed to be present simultaneously in the sorting area during the desired treatment period, and
iv. control the automatic sort gate ( 20 ) using the sorting criteria comprising the adjusted one or more parameter values.
2 . The sorting system ( 200 ) according to claim 1 , wherein the one or more animal properties comprise registered animal properties and/or monitored animal properties.
3 . The sorting system ( 200 ) according to claim 1 , wherein the one or more adjusted parameter values comprises at least one threshold value, and wherein the control arrangement ( 100 ) is configured to compare the one or more animal properties to the at least one threshold value to determine whether a certain one of the animals should be selected to enter the sorting area ( 40 ).
4 . The sorting system ( 200 ) according to claim 1 , wherein the control arrangement ( 100 ) is configured to, based on the continually monitored number of animals ( 10 ) that enter and exit the sorting area ( 40 ): continually determine a number of animals present in the sorting area ( 40 ) and/or calculate a flow parameter which reflect the number of animals that pass through the sorting area ( 40 ) per time unit, and
to adjust the parameter values based on the determined number of animals present in the sorting area ( 40 ) and/or the calculated flow parameter.
5 . The sorting system ( 200 ) according to claim 4 , wherein the control arrangement ( 100 ) is configured to adjust the parameter value by setting a higher said threshold value upon calculating a first flow parameter value than upon calculating a second flow parameter value, wherein the first flow parameter value is lower than the second flow parameter value.
6 . The sorting system ( 200 ) according to claim 4 , wherein the control arrangement ( 100 ) is configured to adjust the parameter value by setting a higher said threshold value upon determining a first number of animals in the sorting area than upon determining a second number of animals in the sorting area, wherein the first number of animals in the sorting area is higher than the second number of animals in the sorting area.
7 . The sorting system ( 200 ) according to claim 1 , wherein the control arrangement ( 100 ) is configured to assign individual priorities to respective said animals ( 10 ) and wherein the one or more sorting criteria is applicable to the assigned individual priorities.
8 . The sorting system ( 200 ) according to claim 7 , wherein the one or more parameter values define a maximum number of the animals having a said priority lower than a certain threshold value that are allowed to enter or reside in the sorting area ( 40 ) at the same time or during a certain period of time.
9 . The sorting system ( 200 ) according to claim 1 , wherein the control arrangement ( 100 ) is configured to retrieve position data defining individual positions of the animals ( 10 ) from a Real Time Location System, RTLS, and adjust the one or more parameter values based on the position data.
10 . The sorting system ( 200 ) according to claim 9 , wherein the control arrangement ( 100 ) is configured to monitor a number of the animals that enter and exit the sorting area based on the position data.
11 . The sorting system ( 200 ) according to claim 10 , wherein the control arrangement ( 100 ) is configured to assign individual priorities to respective said animals ( 10 ), and the control arrangement is configured to adjust the one or more parameter values based on positions of prioritized animals ( 10 ) that have been assigned a said priority above a certain threshold value.
12 . The sorting system ( 200 ) according to claim 11 , wherein the control arrangement ( 100 ) is configured to provide an instruction to a user to perform an action upon detecting a potential sorting conflict.
13 . The sorting system ( 200 ) according to claim 12 , wherein the sorting conflict comprises at least one of:
the number of animals ( 10 ) in the sorting area ( 40 ) is expected to reach the maximum number of animals ( 10 ) in the sorting area ( 40 ),
animals with a said priority above a threshold value are expected to arrive at the sort gate within a certain time period,
the calculated flow parameter indicates that an average flow of animals through the sorting area ( 40 ) has decreased more than a certain amount, and
the determined number of animals in the sorting area exceeds the maximum number of animals.
14 . The sorting system ( 200 ) according to claim 10 , wherein the control arrangement ( 100 ) is configured to estimate, based on the position data, arrival times of the prioritized animals ( 10 ) at the sort gate ( 20 ), and to adjust the one or more parameter values based on the estimated arrival times at the sort gate ( 20 ) of the prioritized animals ( 10 ).
15 . The sorting system ( 200 ) according to claim 1 , wherein the control arrangement ( 100 ) is configured to, based on the continually monitored number of animals ( 10 ) that enter and exit the sorting area ( 40 ), calculate a flow parameter which reflect the number of animals that pass through the sorting area ( 40 ) per time unit, and
to adjust the parameter values based the calculated flow parameter.
16 . A computer implemented method, for operating an automatic sort gate ( 20 ) arranged to selectively sort animals arriving from a milking area ( 30 ) into a sorting area ( 40 ) for performing a treatment of the animals, the computer implemented method comprising:
receiving (S 1 ), via a user interface, user input indicative of one or more sorting criteria applicable to one or more animal properties to determine whether an animal should be allowed to enter the sorting area to receive the treatment during a desired treatment period, the user input including a maximum number of the animals allowed to be present simultaneously in the sorting area ( 40 ) during the desired treatment period,
monitoring (S 3 ) automatically a number of animals ( 10 ) that enter and exit the sorting area during the desired treatment period,
adjusting (S 5 ) one or more parameter values of the one or more sorting criteria, based on the monitoring (S 3 ) of the number of animals that enter and exit the sorting area ( 40 ) during the desired treatment period, and on the received user input on the maximum number of animals ( 10 ) allowed to be present simultaneously in the sorting area during the desired treatment period, and
controlling (S 6 ) the sort gate ( 20 ) using the sorting criteria comprising the adjusted one or more parameter values.
17 . The computer implemented method according to claim 16 , wherein the animal properties comprise registered animal properties and monitored animal properties.
18 . The computer implemented method according to claim 16 , wherein the one or more adjusted parameter values comprises at least one threshold value, and wherein the controlling (S 6 ) comprises comparing the one or more animal properties to the at least one threshold value to determine whether a certain one of the animals should be allowed to enter the sorting area ( 40 ).
19 . The computer implemented method according to claim 16 , further comprising: determining (S 4 a ) continually a number of animals present in the sorting area based on the automatic monitoring and/or calculating (S 4 b ), based on the automatic monitoring, a flow parameter which reflect the number of animals that pass through the sorting area ( 40 ) per time unit, and adjusting (S 5 a ) the parameter values based on the determined number of animals in the sorting area ( 40 ) and/or the calculated flow parameter.
20 . The computer implemented method according to claim 19 , wherein the adjusting (S 5 ) comprises setting a higher said threshold value upon calculating (S 4 b ) a first flow parameter value than upon calculating (S 4 b ) a second flow parameter value, wherein the first flow parameter value is lower than the second flow parameter value.
21 . The computer implemented method according to claim 18 , wherein the adjusting (S 5 ) comprises setting a higher said threshold value upon determining (S 4 a ) a first number of animals in the sorting area than upon determining (S 4 a ) a second number of animals in the sorting area, wherein the first number of animals in the sorting area is higher than the second number of animals in the sorting area.
22 . The computer implemented method according to claim 16 , further comprising assigning (S 0 ) individual priorities to respective said animals ( 10 ), and wherein the one or more sorting criteria is applicable to the assigned individual priorities.
23 . The computer implemented method according to claim 22 , wherein the one or more parameter values define a maximum number of the animals having a priority lower than a certain threshold value that are allowed to enter or reside in the sorting area ( 40 ) at the same time or during a certain period of time.
24 . The computer implemented method according to claim 16 , comprising retrieving (S 2 ) position data defining individual positions of the animals ( 10 ) from a Real Time Location System, RTLS, and adjusting (S 5 b ) the one or more parameter values based on the position data.
25 . The computer implemented method according to claim 14 , wherein the monitoring (S 3 ) is performed based on the position data.
26 . The computer implemented method according to claim 24 , further comprising assigning (S 0 ) individual priorities to respective said animals ( 10 ), and wherein the one or more sorting criteria is applicable to the assigned individual priorities, and adjusting (S 5 b ) the one or more parameter values based on positions of prioritized animals ( 10 ) that have been assigned a priority above a certain threshold value.
27 . The computer implemented method according to claim 26 , comprising estimating, based on the position data, arrival times of the prioritized animals ( 10 ) at the sort gate ( 20 ),
and adjusting (S 5 b ) the one or more parameter values based on the estimated arrival times at the sort gate ( 20 ) of the prioritized animals ( 10 ).
28 . The computer implemented method according to claim 16 , further comprising:
upon detecting (S 7 ) a potential sorting conflict, providing (S 8 ) an instruction to a user to perform an action.
29 . The computer implemented method according to claim 28 wherein the sorting conflict comprises at least one of:
the number of animals ( 10 ) in the sorting area ( 40 ) is expected to reach the maximum number of animals ( 10 ) in the sorting area ( 40 ),
animals with a said priority above a threshold value are expected to arrive at the sort gate within a certain time period,
the calculated flow parameter indicates that an average flow of animals through the sorting area ( 40 ) has decreased more than a certain amount, and
the determined number of animals in the sorting area exceeds the maximum number of animals.
30 . A control arrangement ( 100 ) configured to perform the computer implemented method according to claim 15 .
31 . The computer implemented method according to claim 16 , further comprising: calculating (S 4 b ), based on the automatic monitoring, a flow parameter that reflects the number of animals that pass through the sorting area ( 40 ) per time unit, and adjusting (S 5 a ) the parameter values based on the calculated flow parameter.