Arrangement comprising an automatic milking system

The integration of a real-time location system in automatic milking systems optimizes animal identification and preparatory actions, enhancing throughput and productivity by initiating necessary actions before the animal enters the milking stall.

WO2026235596A1PCT designated stage Publication Date: 2026-11-12DELAVAL HLDG AB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/SE2026/050304
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-07
Filing Date
2026-05-04
Publication Date
2026-11-12

AI Technical Summary

Technical Problem

Existing automatic milking systems (AMS) face inefficiencies in throughput due to time spent on animal identification and preparatory actions, leading to reduced milk extraction efficiency and animal welfare concerns.

Method used

Implementing a real-time location system (RTLS) to determine the identity and location of animals in the entrance area, allowing preparatory actions to be initiated before the animal enters the milking stall, thereby optimizing the AMS's operation.

Benefits of technology

Enhances throughput by reducing the time spent on animal identification and preparatory actions, enabling approximately 2 additional milkings per 24 hours and improving overall productivity and animal welfare.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure SE2026050304_12112026_PF_FP_ABST
    Figure SE2026050304_12112026_PF_FP_ABST
Patent Text Reader

Abstract

An arrangement (2) comprising an automatic milking system (4), an entrance area (6) to the automatic milking system (4), and a real-time location system (8). The RTLS (8) is configured to: define an entrance zone (28) for detecting animal individuals (12) about to enter the AMS (4), determine an animal identity of a specific animal individual (12') having a determined real-time location in the entrance zone (28) to the AMS (4), and communicate the animal identity of the specific animal individual (12') to the AMS (4). The AMS (4) is configured to: receive the animal identity of the specific animal individual (12') and perform one or more preparatory actions based on the animal identity of the specific animal individual (12').
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Arrangement Comprising an Automatic Milking System

[0002] TECHNICAL FIELD

[0003] The invention relates to an arrangement comprising an automatic milking system, an entrance area to the automatic milking system, and a real-time location system, wherein the real-time location system is configured to determine real-time locations of animal individuals within a farm area including the entrance area to the automatic milking system.

[0004] BACKGROUND

[0005] An automatic milking system, AMS (or milking robot), is configured to retain and milk one animal individual at a time in a milking stall. The AMS comprises an animal identification device, which is typically positioned at a front end in the milking stall. This identification device is usually an RFID reader device that identifies the animal individual standing in the milking stall, thus allowing the AMS to store milking data and adapt its operational parameters to the specific characteristics of the identified animal individual.

[0006] The animal identification device, such as the RFID reader device, captures the identity of the animal individual as it stands in the milking stall of the AMS. This identification process enables the AMS to store the milking data on the specific animal individual and to tailor the milking environment provided by the AMS. The identity of the animal individual may for instance activate an indexing device that provides a positioning of the animal within the milking stall. This facilitates the attachment of the teatcups by a robot arm on the AMS. In addition to size or teat position data on the animal individual, the identification device may also provide milking data specific to the identified animal individual. This includes data on historic milk yield, milking duration, and any health parameters that might influence the milking process. Thus, the AMS can optimise the milking to each animal's unique physiological condition, enhancing overall productivity, and promoting animal welfare.

[0007] Other ways of adapting an AMS to a specific animal individual are known. For instance, WO00 / 11940 discloses an apparatus for determining a length of an animal by monitoring an animal related area or milking stall in the AMS, the apparatus comprising an image capturing device arranged in at least one location of the milking stall. The identified length is used for a rough estimation of udder / teat position to guide a robot arm of the AMS to a suitable starting position and thereby facilitate teatcup attachment. The identified length can also be used foradapting a feed manger position within the AMS, to position the animal individual in the milking stall of the AMS.

[0008] Adaptation of an AMS in real time with the animal standing in the AMS is disclosed in EP3241431, which discloses a milking robot provided with a camera on a robot arm. A processing device is connected to the camera and is repeatedly searching for a leg in an image in front of the camera. The robot arm is moved in a longitudinal direction outside the milking stall of the AMS until the camera recognizes a leg in the image, whereupon the robot arm is moved at a right angle in relation to the longitudinal direction, into the milking stall and performs a teat-related operation. An entry window between the front and rear legs on a relatively short / small sized milking animal, such as a Jersey cow, is limited and needs to be determined to avoid a collision with its legs.

[0009] EP2999327 discloses a milking stall arranged to house one animal at a time. The milking stall comprises a fence arrangement defining an interior space of the milking stall. A control unit controls a robot arm of the milking stall and the positions of its entrance and exit gates. The control unit receives information from a first identification device about the identity of an animal in a first entrance area located in front of a first entrance gate. The control unit receives information from a second identification device about the identity of an animal in a second entrance area located in front of a second entrance gate. The first and second entrance areas are separate areas. The control unit may give an animal access to the milking stall in view of stored data about the individual animals. The control unit also has access to data about a length and a width of the individual animals which are milked in the milking stall to perform an individual lateral positioning and longitudinal positioning of the animal in the milking stall by adjusting the positions of the entrance and exit gates.

[0010] SUMMARY

[0011] An efficient operation of an automatic milking system, AMS, ensures high throughput of animals through the AMS. The higher the throughput, the more animal individuals can be milked in the AMS. A more efficient utilisation of the AMS makes for a higher total milk extraction in the AMS. It is an object of the invention to increase throughput in an AMS.

[0012] According to an aspect of the invention, the object is achieved by an arrangement comprising an automatic milking system, an entrance area to the automatic milking system, and a realtime location system, the real-time location system being configured to:- determine real-time locations of animal individuals within the entrance area to the automatic milking system,

[0013] - define an entrance zone in the entrance area for detecting animal individuals about to enter the automatic milking system, and

[0014] - determine an animal identity of a specific animal individual having a determined real-time location in the entrance zone to the automatic milking system, and

[0015] - communicate the animal identity of the specific animal individual having the determined real-time location in the entrance zone to the automatic milking system, wherein

[0016] the automatic milking system is configured to:

[0017] - receive the animal identity of the specific animal individual having the determined real-time location in the entrance zone from the real-time location system, and

[0018] - perform one or more preparatory actions based on the animal identity of the specific animal individual having the determined real-time location in the entrance zone.

[0019] In this way, the AMS is notified by the real-time location system, RTLS, of the identity of the specific animal individual that is about to enter the AMS. The one or more preparatory actions increases throughput by reducing a period that is spent before teat preparation and milking of the specific animal individual, once it is standing, in the AMS starts. As a result, the above-mentioned object is achieved.

[0020] More specifically, by receiving the animal identity of the specific animal individual having the determined real-time location in the entrance zone from the RLTS, in advance of identifying the animal individual on or in the AMS itself, the AMS can perform the one or more preparatory actions for the specific animal individual in advance. Accordingly, the time saved corresponds to the time period between the receiving of the animal identity from the RTLS and the identification of the specific animal individual on or in the AMS, which time period is at least as long as it takes for the animal individual to reach the animal identification device (RFID reader device), which may be positioned on an entrance gate and / or at a frond end portion of the milking stall of the AMS. Even if this time saving is only a few seconds, such as 5 seconds / animal individual, with say 160 milking operations in the AMS per 24 hours, the total time saved is more than 13 minutes per 24 hours, which enables the AMS to perform approximately 2 more milking operations per 24 hours. The time saved can be even greater if identification of the specific animal individual by the AMS is delayed because the animal individual is not correctly positioned in relation to the animal identification device of the AMS.

[0021] An arrangement comprising an animal identification device (RFID reader device) on the entrance gate of the AMS may furthermore be sensitive to cross readings of animal identitiesfrom other animals that may occupy an entrance area around the entrance gate of the AMS. The AMS thereby receives the wrong animal identity from the animal identification device and determines that this cross-read animal individual is about to enter the AMS. Such arrangements are therefore provided with an entrance alley configured for one animal at a time to stand next to the entrance gate of the AMS, wherein the entrance gate RFID reader device is configured with such a limited reading range that faulty cross-readings are avoided. Animal identification devices (RFID reader devices) typically comprise limited reading ranges to determine an identity once the animal individual is standing next to the RFID reader device. A time saving is therefore achieved by receiving the identity of the specific animal individual in the entrance zone from the RLTS in advance.

[0022] However, should occasionally, the identity of an animal individual having the determined realtime location in the entrance zone received from the RTLS not correspond to the animal individual that has actually entered the AMS, the one or more preparatory actions can be adapted to the animal individual that has actually entered the AMS, after it has been identified by an animal identification device on or in the milking stall of the AMS. Since the correspondence between the animal identity of the specific animal individual having the determined real-time location in the entrance zone received from the RTLS and the identity of the animal individual as identified by the animal identification device of the AMS is high, not much time is lost in the AMS over e.g. a 24-hour period. The time gained by all successful corresponding identifications by the RTLS and the AMS outweighs occasional non-corresponding identifications.

[0023] The herein discussed arrangement is installed at a farm where milk producing animals such as cows, sheep, or goats are held in one or more groups. The farm includes the farm area, which is covered by the RTLS to locate animal individuals within the farm area. The farm area may comprise one or more of a holding area, a feeding area, a resting area, the AMS, and the entrance area to the AMS. There may be provided more than one AMS for milking the one or more groups of animals. Each AMS may be arranged for milking one or more groups of animals. The AMS may form part of a milking installation based on the animal individuals of one or more groups of animals voluntarily going to, and entering, the AMS for being milked therein in a milking operation. Each AMS may also form part of an AMS batch milking installation in which the groups of animals are gathered in a holding area and milked at fixed time schedules by several AMSs (milking robots).

[0024] The automatic milking system, AMS, is a milking system in which animals are milked fully automatically without any direct human interaction or supervision. One animal individual at atime enters a milking stall of the AMS, wherein the teatcups are automatically attached to her teats by a robot arm. Feed or concentrates may be supplied from a feed dispenser to a feed manger of the AMS to lure the animal individual into the AMS and / or to position a head of the animal individual relative an animal identification device of the AMS to identify the relevant animal individual. The AMS, such as its robot arm, is configured to assist in further animal related tasks, such as teat preparation including cleaning and teat disinfecting.

[0025] Prior to the attachment of the teatcups to the teats of an animal standing in the AMS, one or more preparatory actions are performed by the AMS. Some of these are unrelated to the relevant animal individual entering the AMS, and accordingly, can be performed irrespective of which animal individual is about to be milked in the AMS. For instance, such preparatory actions may include a flushing of a floor of the milking stall in the AMS, a rinsing / cleaning of the teatcups, a rinsing / cleaning of a camera window on the robot arm, and a transporting of extracted milk from the AMS towards a milk tank, etc.

[0026] However, other preparatory actions relate to the specific animal individual about to be milked in the AMS. For instance, such preparatory actions may include an opening / closing sequence of an entrance gate and exit gate on the AMS, adapting a size of a milking stall or positioning of the animal individual within the AMS, selecting teat preparation program or equipment, selecting a starting position or rough positioning of an end effector on the robot arm, a dispensing of feed or not, establishing milk diversion connections e.g. for milk from an animal individual being medically treated, etc. A time saving is achieved in the AMS if one or more preparatory actions is / are performed before the animal individual is identified in the AMS. The RTLS is hereby utilised for monitoring the entrance area to identify any animal individual most likely to enter the AMS next based on the animal identity on one specific animal individual having the determined real-time location in the entrance zone to the AMS.

[0027] The animal individuals of a group of animals to be milked in the AMS can be tracked with the RTLS to present their respective real-time locations or positions to a farmer via a suitable interface. RTLS is known as such. Briefly, one kind of RTLS for tracking animal individuals, such as cows, involve the use of active RTLS tags that emit periodic signals to receivers or anchors strategically placed within a monitored area, such as within a farm area. The RTLS tags are battery-powered devices carried by the animals, capable of sending the periodic signals, which include a unique identifier of the RTLS tag along with a timestamp. Each RTLS tag emits periodic signals using technologies such as ultra-wideband (UWB) or Bluetooth (BLE). These signals are received by at least three fixed anchors or receivers mounted around the monitored area. The anchors / receivers capture the signals and relaythem to a central processing unit of the RLTS, which calculates the real-time position of each RTLS tag based on data of the received signals. The calculation is for instance based on triangulation or tri- / multilateration techniques, such as time difference of arrival.

[0028] However, RTLS is not limited to the above-mentioned kind but may be based on alternative technological solutions, such as RTLS based on computer vision comprising a camera monitoring of the farm area and the animal individuals, wherein for instance artificial intelligence is utilised to identify and follow the animal individuals and determine their locations in real-time within the farm area. Irrespective of the technology used, the RTLS is at least able to determine the animal identity and the location of each animal individual in realtime within the entrance area to the AMS.

[0029] The entrance area to the AMS is a physical area, in which one or more animal individuals can stand or move about before entering the AMS. The entrance area to the AMS may form part of another area at the farm, such as a resting area. Thus, the entrance area to the AMS need not be a delimited entrance area but may form part of a larger area at the farm.

[0030] Alternatively, the entrance area to the AMS is an at least partially delimited and dedicated entrance area to the AMS, such as a holding area to an AMS batch milking installation or a holding area to which an animal individual is admitted only if she has milking permission.

[0031] The entrance zone is a virtual zone defined in the RTLS, which is forming a portion of the entrance area in which the RTLS tracks animal individuals. The entrance zone is defined in coordinates on a map of the entrance area in the RTLS. The entrance zone hereby covers an entrance gate to the AMS. The entrance zone is a static predefined zone or a dynamic zone having a variable size depending on at least one parameter, such as an actual number of animal individuals standing in the entrance area to the AMS.

[0032] Each animal individual at a farm has its animal identity, which is typically represented by a unique RFID tag attached to the respective animal individual. The RFID tags are used in an animal identification system based on radio-frequency identification, RFID. Briefly, such animal identification systems use passive RFID tags that rely on external radio signals to activate and transmit identifiers of the RFID tags. Passive RFID tags are small, battery-free tags attached to the animals, such as embedded in ear tags. Each passive RFID tag contains a microchip and an antenna. When an RFID reader device emits a radio signal, the tag's antenna captures the energy from this signal, which powers the microchip. The passive RFID tag then transmits its unique identifier back to the reader. This read event is an interaction that happens quickly, allowing for identification of animal individuals as they passwithin a reading range of the RFID reader device. However, since the RFID tags are passive devices, the reading range of the RFID reader device is limited and accordingly, the RFID tag of an animal individual to be read must be positioned near the RFID reader device.

[0033] The AMS also comprises an animal identification device (RFID reader device) for verifying the identity of each animal individual that presents itself in the AMS for milking.

[0034] The animal individual is either milked in the AMS, if she has milking permission, or released from the AMS, if the animal individual lacks milking permission. If the animal individual is to be milked, the preparatory actions for teat preparation and milking of the specific animal individual are performed by the AMS.

[0035] Alternatively, if the specific animal individual is not to be milked, the one or more preparatory actions includes keeping the entrance gate to the AMS closed or keeping both the entrance and exit gates open, and not dispensing any feed, while possibly activating an expelling device on the AMS to make her leave the milking stall as soon as possible. Thus, if the animal individual, which is about to enter the AMS, lacks milking permission, the preparatory actions relate to either preventing an entry to the AMS or enabling a quick entry and exit, while possibly urging the animal individual to exit the AMS as soon as possible.

[0036] The AMS and the RLTS are configured for communication with each other via any suitable communication arrangement, such as via wire or wireless communication.

[0037] According to an embodiment, the entrance zone comprises a defined size and extension from an entrance gate of the AMS, wherein the real-time location system is configured to determine, based on the defined size and extension on the entrance zone including the realtime location data of one or more animal individuals within the entrance zone, that one specific animal individual having the determined real-time location in the entrance zone is about to enter the automatic milking system.

[0038] Thus, the RTLS establishes which animal individual is about to enter the AMS and accordingly, which specific animal individual is to be communicated to the AMS. In order to determine the one animal individual most likely to enter the AMS, the RTLS may define such a small sized entrance zone close to the entrance gate of the AMS, in which entrance zone only one animal individual fits. The RTLS may also define a larger entrance zone close the entrance gate of the AMS, wherein an animal individual being located closest to the entrance gate is determined to enter the AMS, and / or the RTLS may track the movement of severalanimal individuals within the entrance zone and draw conclusions from their trajectories that one animal individual is about to enter the AMS. The size and extension on the entrance zone of the embodiment may also extend inside the entrance gate of the AMS.

[0039] According to a further embodiment, the entrance zone has a variable size depending on an actual number of animal individuals standing in the entrance area to the automatic milking system, wherein a lower number of animal individuals entails a larger entrance zone than a higher number of animal individuals.

[0040] Thus, if only one or a few animal individuals occupy the entrance area to the AMS, the entrance zone is beneficially of larger size to enable an earlier detection of the animal individual that is about to enter the AMS. An earlier detection increases the throughput by reducing the time that is spent before teat preparation and milking of the specific animal individual commences. If the entrance area, on the other hand, is crowded with animal individuals, the entrance zone is beneficially of smaller size to facilitate detection of the one animal individual that is about to enter the AMS. Hence, the RTLS tracks a suitable number of animal individuals forming candidates for the animal identity of the one specific animal individual in the entrance zone that is to be communicated to the AMS.

[0041] According to an embodiment, the one or more preparatory actions is / are initiated prior to, and / or during, the specific animal individual having the determined real-time location in the entrance zone is entering the automatic milking system.

[0042] The preparatory actions are hereby initiated before the specific animal individual enters the AMS, if the AMS is unoccupied. On the other hand, if another animal individual is occupying the AMS, the preparatory actions are initiated when (during) the specific animal individual is entering the AMS. Time is still saved by performing the preparatory actions, which otherwise would not be initiated until the specific animal individual has fully entered the AMS and has been identified or verified in the AMS by the RFID reader device in the front-end portion of the milking stall.

[0043] BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Various aspects of the invention, including its features and advantages, will be readily understood from an embodiment disclosed in the following detailed description and the accompanying drawings, in which:Figs. 1a and 1b schematically illustrate an arrangement according to an embodiment, and Fig. 2 schematically illustrates a portion of the arrangement.

[0045] DETAILED DESCRIPTION

[0046] Aspects and features of the invention will now be described more fully. Like numbers refer to like features throughout. Well-known functions or constructions will not be described in detail for brevity and clarity.

[0047] Figs. 1a and 1b schematically illustrate an arrangement 2 according to an embodiment of the invention. The arrangement 2 comprises an automatic milking system or AMS 4, an entrance area 6 to the AMS 4, and a real-time location system or RTLS 8. In Figs. 1a, the entrance area 6 is indicated with broken lines. Fig. 1a is showing an overview of the arrangement 2 and Fig. 1b is showing the AMS 4 and the RTLS 8 in more detail. The arrangement 2 is provided in a farm area 10, which forms part of a dairy farm at which at least one group of animal individuals 12 is held.

[0048] Fig. 1a shows a schematic layout of the farm area 10 including a resting area 14, a feeding area 16 and the AMS 4 arranged between the resting and feeding areas 14, 16. The animal individual 12 passes the AMS 4 to move from the resting area 14 to the feeding area 16. If an animal individual 12 has milking permission, it is milked in the AMS 4, and if not, she passes through the AMS 4 without being milked therein. One or more one-way gates 18 allow animal individuals 12 to move from the feeding area 16 back to the resting area 14.

[0049] The farm area 10 may be laid out in many alternative ways and may have additional areas. However, the entrance area 6 to the AMS 4 is always included in the farm area 10. The entrance area 6 may be delimited by fencing portions, or it may form part of a larger area, such as part of the resting area 14 as shown in Fig. 1a. In alternative layouts of the farm area 10, the entrance area 6 is a dedicated entrance area, such as a waiting or holding area, in which a group of animal individuals 12 is waiting to enter one AMS 4 or more AMSs (milking robots) in for instance an AMS batch milking installation.

[0050] Radio-frequency identification, RFID, is commonly utilised to identify the animal individuals 12 in the farm area 10 in connection with milking, separating and feeding. Each animal individual 12 carries an RFID tag 20, and the RFID reader devices 22 are positioned in various different locations where the animal individuals 12 are to be identified, such as in the AMS 4 and at a feed station 24.Furthermore, according to the invention, each animal individual 12 is identifiable by the RTLS 8, wherein each of the animal individuals 12 is carrying an active tag, which the RTLS 8 is configured to locate in real-time within the farm area 10 including the entrance area 6 to the AMS 4. Real time location systems operating according to other principles may be used utilising for instance computer vision comprising camera monitoring to track the positions and movements of the animal individuals 12 in real-time within the entrance area 6. In this detailed embodiment, the RTLS 8 is based on active tags carried by the animal individuals 12 and at least three anchors or receivers 26 (schematically indicated in Fig. 1b) mounted in fixed positions within the farm area 10. The RTLS 8 determines both the identity and location of the animal individuals in real-time by for instance triangulation or tri- / m ulti-lateration techniques, such as time difference of arrival of a periodic signal emitted from the active tag.

[0051] The RTLS 8 is configured to:

[0052] - determine the real-time locations of the animal individuals 12 within the entrance area 6 to the AMS 4, and

[0053] - define an entrance zone 28 for detecting animal individuals 12 about to enter the AMS 4.

[0054] The entrance zone 28 is a virtual zone defined by coordinates in a map of the farm area 10 in the RTLS 8 and is hereby defined as a portion of the entrance area 6. In Figs. 1a and 1b, the entrance zone 28 is indicated with dash-dotted lines.

[0055] The RTLS 8 is further configured to:

[0056] - determine an animal identity of a specific animal individual 12’ having a determined realtime location in the entrance zone 28 to the AMS 4, and

[0057] - communicate the animal identity of the specific animal individual 12’ to the AMS 4.

[0058] Based on the position data for the animal individuals 12 in the farm area 10, the RTLS 8 determines which animal individual or individuals 12 is / are positioned within the entrance zone 28. The animal identity of that animal individual 12 or one of those animal individuals 12 is determined to be the animal identity of the specific animal individual 12’. In other words, the RTLS 8 provides the identity of the specific animal individual 12’ that is about to enter the AMS 4. That is, the RTLS 8 communicates with a control unit 30 of the AMS 4, which may be via a wire connection or a wireless connection.The AMS 4 is thereby configured to:

[0059] - receive the animal identity of the specific animal individual 12’ having the determined realtime location in the entrance zone 28 from the RTLS 8, and

[0060] - perform one or more preparatory actions based on the animal identity of the specific animal individual 12’ having the determined real-time location in the entrance zone 28.

[0061] Thus, the AMS 4 is informed that the specific animal individual 12’ is about to enter the AMS 4, and the one or more preparatory actions is / are performed before the specific animal individual 12’ is identified by an RFID reader device 22 in the AMS 4. This reduces the time before milking of the specific animal individual 12’ in the AMS 4 can start.

[0062] The AMS 4 comprises a milking stall 32 sized to house one animal individual 12 at a time, wherein several teatcups 34 are attached to the teats of the animal individual 12 by a robot arm 36. The robot arm 36 is also configured to provide further animal related tasks, such as teat preparation / cleaning. The milking stall 32 comprises an entrance gate 38 and an exit gate 40, wherein the robot arm 36 and the gates 38, 40 are controlled by a control unit 30 of the AMS 4.

[0063] The AMS 4 further comprises an RFID reader device 22 arranged at a front-end portion 37 of the milking stall. This RFID reader device 22 is configured to confirm or verify the identity of the specific animal individual 12’ communicated by the RTLS 8. The RFID reader device 22 is a dedicated RFID reader device 22 of the AMS 4, and is hereby communicating directly with the control unit 30 of the AMS 4. Alternatively, the RFID reader device 22 forms part of an RFID system 42 arranged in the farm area 10. In such case, the RFID system 42 is configured to communicate the RFID tag 20 readings in the milking stall 32 to the control unit 30 of the AMS 4.

[0064] A feed manger 44 for receiving concentrates from a feed dispenser 46 is arranged in a frontend portion 37 of the AMS 4. A position of the feed manger 44 is controlled by the control unit 30 of the AMS 4. The feed manger 44 is positioned at different longitudinal positions in relation to the milking stall 32 for positioning the animal individual 12 inside the milking stall 32 in a suitable position for teat preparation and teatcup attachment. The milking stall 32 has a longitudinal extension 35 extending between a front-end portion 37 and a rear-end portion 39 of the milking stall 32.

[0065] Preparatory actions based on the specific animal individual 12’ having the determined realtime location in the entrance zone 28 includes one or more of:- adapting a size of the milking stall 32 of the AMS 4 to the specific animal individual 12’ by adjusting a position of one or both of the entrance and exit gates 38, 40 more or less into the milking stall 32,

[0066] - positioning of the specific animal individual 12’ within the milking stall 32 by moving the feed manger 44 to a position along the longitudinal extension 35 of the milking stall 32,

[0067] - selecting pre-treatment program and equipment, such as a light, medium or heavy cleaning program using a teat cleaning implement for the specific animal individual 12’,

[0068] - position an end effector of the robot arm 36 in a longitudinal starting position based on the specific animal individual 12’ therein to facilitate entry between the legs and detection of the teats on the specific animal individual 12’, and / or

[0069] - establishing a milk diversion connection for the milk from the specific animal individual 12’ if the milk is for instance not intended for human consumption, such that its milk is not conducted to a common milk tank.

[0070] In the embodiment of Figs. 1a and 1b, the entrance zone 28 comprises a defined size and extension from the entrance gate 38 of the AMS 4. The real-time location system 8 is configured to determine, based on the size and extension on the entrance zone 28 including the real-time location data of one or more animal individuals 12 within the entrance zone 28, that one specific animal individual 12’ having the determined real-time location in the entrance zone 28 is about to enter the automatic milking system 4. This is determined by real-time location data indicating that one specific animal individual 12’ is closest to the entrance gate 38 out of two animal individuals 12’, 12 within the entrance zone 28. Thus, the RTLS 8 determines the specific animal individual 12’ based on its proximity to the entrance gate 38 of the AMS 4.

[0071] According to some embodiments, the real-time location system 8 is also configured to determine that one specific animal individual 12’ having the determined real-time location in the entrance zone 28 is about to enter the automatic milking system 4 based on one specific animal individual 12’ within the entrance zone 28, which is moving in a direction towards the entrance gate 38 of the automatic milking system 4. In this way, if more than one animal individual is detected inside the entrance zone 28, the RTLS 8 determines which animal individual is the specific animal individual 12’ based on their trajectories within the entrance zone 28.

[0072] As shown in Fig. 1b, the entrance zone 28 has a variable size depending on an actual number of animal individuals 12 standing in the entrance area 6 to the AMS 4, wherein alower number of animal individuals 12 entails a larger entrance zone 28 than a higher number of animal individuals 12. Mentioned purely as an example, the size of the entrance zone 28 may be chosen and varied such that a range of 1 - 5 animal individuals 12 may be detected within the entrance zone 28. In such an entrance zone 28 of variable size, the coordinates in the RTLS 8 which define the entrance zone 28 are adjusted. Three entrance zones 28 of different sizes are indicated with dash-dotted lines in Fig. 1b.

[0073] The one or more preparatory actions is / are initiated prior to, and / or during, the specific animal individual 12’ in the entrance zone 28 is entering the AMS 4. The one or more preparatory actions is / are initiated before the specific animal individual 12’ is entering the AMS 4, if the AMS 4 is empty, i.e. no animal is currently being milked in the AMS 4. On the other hand, if it is occupied, i.e. another animal is currently standing in the AMS 4, the one or more preparatory actions is / are initiated when (during) the specific animal individual 12’ is entering the AMS 4. This can also happen if the RTLS 8 is not authorized to communicate the animal identity of the specific animal individual 12’ until the specific animal individual 12’ is also verified to be in the process of entering the AMS 4. This may be the case if the entrance zone 28 extends into the milking stall 32 of the AMS 4, such as in to the rear-end portion 39 of the AMS 4.

[0074] According to the embodiment, if the automatic milking system 4 is unoccupied by any animal individual 12, the one or more preparatory actions is / are initiated before the specific animal individual 12’ is entering the automatic milking system 4. In this manner, time can be saved by performing the one or more preparatory actions in the unoccupied AMS 4.

[0075] Furthermore, according to the embodiment, if the automatic milking system 4 is currently occupied by an animal individual 12, the one or more preparatory actions is initiated when the specific animal individual 12’ is entering the automatic milking system 4.

[0076] The preparatory actions relate to selecting an animal related operation and / or selecting an animal related implement for the specific animal individual 12’. Time can be saved by selecting the animal related operation and / or the animal related implement in anticipation of the specific animal individual 12’. To mention some examples:

[0077] - There may be provided different teat preparation or milking programs or devices / implements in the AMS 4, such as a teat cleaning device comprising a teat cleaning cup, and / or teat cleaning brushes for cleaning one or more teats, and / or a teat spraying device. Some animal individuals 12 may be cleaned using the teat cleaning cup, others usingthe teat cleaning brushes, and others using the teat spraying device. Some animal individuals 12 may require a heavy cleaning program, while others may require a light cleaning or no teat cleaning at all.

[0078] - There may be provided an expelling device in the AMS 4 for expelling animal individuals that do not have milking permission. Selection and activation of the expelling device, such as a mechanical whip or similar device may be done if the specific animal individual 12’ lacks milking permission.

[0079] - There may be provided more than one set of teatcups 34 in the AMS 4, wherein an appropriate set of teatcups 34 may be selected for the specific animal individual 12’.

[0080] - An animal related operation may relate to a dispensing of feed (concentrates) from a feed dispenser 46 or refraining from dispensing from the feed dispenser 46. Namely, specific animal individuals 12’ may not receive concentrates from the feed dispenser 46 or they may receive an amount of concentrate adapted to the specific animal individual 12’. The feed dispenser 46 would not dispense concentrates if the specific animal individual 12’ entering the AMS 4 does not have milking permission.

[0081] - Similarly, an animal related operation may relate to the feed manger 44 being positioned in a longitudinal position within the milking stall 32 of the AMS 4, to position the specific animal individual in a suitable position for the robot arm, or the feed manger can be removed to a position outside the milking stall 32 depending on whether the specific animal individual 12’ is to receive concentrate in the AMS 4 or not.

[0082] - An animal related operation may relate to a teat cleaning program, utilising the same teat cleaning device and selecting a light, medium, or heavy cleaning program.

[0083] - An animal related operation may relate to a milking program, utilising the same teatcups and selecting a milking program depending on the specific animal individual.

[0084] The animal related operation may be a deactivation of a feed dispenser 46 in the automatic milking system 4, and activation of an expelling device if the specific animal individual 12’ does not have milking permission.

[0085] Furthermore, one beneficial preparatory action is related to a selection of a longitudinal 35 starting position of an end effector 48 on the robot arm 36 for the specific animal individual 12’. The end effector 48 comprises a teat finding camera 50. The selected longitudinal 35 starting position or rough positioning of the end effector 48 is based on animal data stored for the specific animal individual 12’. In this manner, the end effector 48 of the robot arm 36 is pre-positioned in a suitable longitudinal starting position for entry between the front and rear legs, and a suitable starting position for quick detection of the teats by the teat finding camera is achieved. This provides a quicker teat cleaning and attachment of teatcups 34 tothe specific animal individual 12’ once it is standing in the AMS 4. Thus, the end effector 48 is placed in the most promising longitudinal 35 position where the udder / teats are within the field of view of the teat finding camera 50 on the end effector 48. This speeds up the search for an entry window between the legs of the specific animal individual 12’ as well as the teat detection for teat preparation and teatcup attachment in the AMS 4. The animal data of the specific animal individual 12’ is one or more of an animal length, an animal size, an animal breed, udder position coordinate, and / or teat position coordinates of the specific animal individual 12’.

[0086] The end effector 48 of the robot arm 36 may comprise both a teat-preparation implement and a set of teatcups 34. Such an end effector 48 is relatively bulky (large) and is suitably prepositioned in said starting position along the longitudinal extension 35 for it to be moved by the robot arm 36 in between the front and rear legs of the animal individual 12 standing in the AMS 4. On smaller sized animals or breeds, such as Jersey cows, this preparatory action may speed up the search for both the entry window and the teats for teat-preparation and teatcup attachment in the AMS 4.

[0087] Furthermore, one of the preparatory actions relates to adapting a size of the milking stall in the automatic milking system 4 by activating an indexing device and moving the indexing device to a specific position based on the specific animal individual 12’. The indexing device is positioned in different relative positions to affect the size of the milking stall 32 in the AMS 4, i.e. the area available for an animal individual 12 standing in the milking stall 32. The indexing device may comprise the feed manger 44, which is moveable to different positions along the longitudinal extension 35 of the milking stall 32. The indexing device may also comprise the entrance gate 38 and / or the exit gate 40, which are movable to different positions to resize the milking stall 32 in a lateral direction perpendicularly to the longitudinal extension 35. Another alternative may be indexing devices mounted at one or both lateral sides of the milking stall 32 that resize the milking stall 32 in a lateral direction, perpendicularly to the longitudinal extension 35.

[0088] Another preparatory action relates to an opening of the exit gate 40 of the automatic milking system 4, or maintaining the exit gate open 40, if the specific animal individual 12’ having the determined real-time location in the entrance zone 28 is lacking milking permission or is intended for milking in another automatic milking system having a unique milk diverting device and / or a unique milk analysis device. The specific animal individuals 12’ may be milked in another automatic milking system for one or more of the following reasons: the extracted milk should be diverted because the specific animal individual is treated withantibiotics or the specific animal individual is producing colostrum, a milk sample is to be analysed by the unique milk analysis device for somatic cell count or progesterone, the specific animal individual is under observation and the unique milk analysis determines whether she should be subjected to treatment, etc. In this way, expedient passing of the specific animal individual 12’ through the AMS 4 is promoted. This, in turn, allows for any subsequent animal individual 12 to enter the AMS 4 more quickly.

[0089] According to some embodiments, the one or more preparatory actions relate / s to delaying an opening of an entrance gate 38 of the automatic milking system 4 until a previous animal individual 12 has left the automatic milking system 4. In this manner, if the specific animal individual 12’ is eager to enter the AMS 4 to reach the previous animal individual 12 in the AMS 4, e.g. if the animal individual 12 is in heat, it is ensured that this cannot happen. Thus, the risk of damaging the AMS 4 or hurting the animals therein due to the specific animal individual 12’ attempting to mount the previous animal individual 12 is avoided.

[0090] There are known systems, which are configured to detect animal individuals 12 that are in heat. For instance, activity sensors carried by the animal individuals 12 may indicate that an animal individual 12 is in heat. Such activity sensors may be included in RTLS tags carried by the animal individuals 12. The animal individual status is thereby communicated to the AMS 4 for it to delay an opening of the entrance gate 38 as discussed above.

[0091] In addition, the automatic milking system 4 comprises an RFID reader device 22 configured for reading RFID tags 20 carried by the animal individuals 12 arranged at a front-end portion 37 of the automatic milking system 4. The automatic milking system 4 is configured to:

[0092] - determine an RFID tag-based identity of the specific animal individual 12’ utilising the RFID reader device 22,

[0093] - compare the RFID tag-based identity of the specific animal individual 12’ with the animal identity of the specific animal individual 12’ received from the real-time location system 8, and if there is a discrepancy between the RFID tag-based identity of the specific animal individual 12’ and the animal identity of the specific animal individual 12’ received from the real-time location system 8,

[0094] - adapt the one or more preparatory actions based on the animal identity of the specific animal individual 12’ to one or more corresponding actions based on the RFID tag-based identity of the specific animal individual 12’.In this way, the AMS 4 provides corrective actions in case the animal identity of the specific animal individual 12’ communicated by the RTLS 8 would not correspond to the animal individual 12 that has entered the AMS 4.

[0095] Examples of such situations may be:

[0096] - An animal individual 12 of higher rank than the specific animal individual 12’ may have cut in front of the specific animal individual 12’ and entered the AMS 4.

[0097] - An animal individual 12 that entered the AMS 4 has lost its RTLS tag and accordingly, cannot be located by the RTLS 8. The animal identity of the specific animal individual 12’ communicated to the AMS 4 is instead that of a different animal individual in the entrance zone 28.

[0098] The RFID reader device 22 of the AMS 4 may be an RFID reader device 22 communicating directly with the control unit 30 of the AMS 4. Alternatively, the RFID reader device 22 forms part of an RFID system 42 arranged in the farm area 10, which RFID system 42 communicates with the AMS 4.

[0099] Fig. 2 schematically illustrates a portion of the arrangement 2 discussed above with reference to Figs. 1a and 1b. Fig. 2 shows control units 30, 70 of the AMS 4 and the RTLS 8, respectively. The AMS 4 comprises a control unit 30, such as a processor, a Central Processing Unit (CPU), a controller, a microcomputer, a programmable logic unit, a microprocessor, or any other device. The control unit 30 comprises a calculation unit 54 and a memory unit 64. The calculation unit 62 is connected to the memory unit 64, which provides the calculation unit 62 with stored programme code, data tables, and / or other stored data which the calculation unit 62 needs to enable it to do calculations and to perform control functions of the AMS 4. The memory unit 64 may comprise a physical device utilised to store data or programs or sequences of instructions, on a temporary or permanent basis. The memory unit 64 may comprise a memory card, a flash memory, a USB memory, a hard disc, or another similar volatile or non-volatile storage unit for storing data.

[0100] The control unit 30 of the AMS 4 is operatively connected to the robot arm 36, the teat finding camera 50, the entrance gate 38, the exit gate 40, the feed manger 44, a milk meter and / or other monitoring / sensing devices, and / or other controllable devices. The control unit 30 of the AMS 4 is directly or indirectly connected to the RFID reader device 22 at the front-end portion 37 of the AMS 4. An indirect connection of the RFID reader device 22 at the front-end portion 37 of the AMS 4 may be via an RFID system 42 provided in the farm area 10.The control unit 30 of the AMS 4 is connected to the RTLS 8, such as to a calculation unit 72 of the RTLS 8. Accordingly, the control unit 30 of the AMS 4 is configured to receive the animal identity of the specific animal individual 12’ having the determined real-time location in the entrance zone 28 from the RTLS 8.

[0101] The control unit 30 of the AMS 4 has a set of control routines or steps executed to provide an efficient functionality of the AMS 4. Routines also monitor inputs from monitoring / sensing devices and execute the control routines to control the operation of the AMS 4. Control routines, such as the preparatory actions are executed in response to different events in the AMS 4, such as the preparatory actions being performed in response to the AMS receiving the animal identity of the specific animal individual 12’ having the determined real-time location in the entrance zone 28 from the from the RTLS 8.

[0102] The RTLS 8 comprises a control unit 70. The control unit 70 of the RTLS 8 comprises a calculation unit 72 which may take the form of a processor, a Central Processing Unit (CPU), a controller, a microcomputer, a microprocessor, or any similar device capable of electronically executing operations in a defined manner. The control unit 70 comprises a memory unit 74. The calculation unit 72 is connected to the memory unit 74, which provides the calculation unit 72 with, for example, stored programme code, data tables, and / or other stored data which the calculation unit 72 needs to enable it to do calculations and to perform control functions of the RTLS 8. The memory unit 74 may comprise a memory card, a flash memory, a USB memory, a hard disc, or another similar volatile or non-volatile storage unit for storing data.

[0103] The control unit 70 of the RTLS 8 is connected to at least three anchors / readers 26 mentioned above.

[0104] The control unit 70 of the RTLS 8 is connected to the control unit 30 of the AMS 4, such as to the calculation unit 62 of the AMS 4. Accordingly, the control unit 70 of the RTLS 8 is configured to communicate the animal identity of the specific animal individual 12’ having the determined real-time location in the entrance zone 28 to the control unit 30 of the AMS 4.

[0105] The control unit 70 of the RTLS 8 has a set of control routines or steps executed to provide functionality of the RTLS 8. Routines are executed, such as by the calculation unit 72, and are operable to determine real-time locations of the animal individuals 12 within the farm area 10 including the entrance area 6.A farm management system 80 may be provided as part of the arrangement 2. The farm management system 80 may be provided as software run on a personal computer or in a cloud environment. The farm management system 80 communicate with the AMS 4, the RTLS 8, and the RFID system 42. The farm management system 80 comprises an input device such as a computer keyboard. The farm management system 80 also comprises an output device such as a computer screen. The farm management system 80 comprises data tables and / or databases, including data such as:

[0106] - animal status such as oestrus status (heat), animal health status and actions related to the animal status, such as milk diversion, particular pre-treatment and post- treatment actions, - animal individual feeding instructions,

[0107] - animal data of the animal individuals, such as one or more of an animal length, an animal size, an animal breed, udder position coordinates, and / or teat position coordinates, etc.

[0108] It is to be understood that the foregoing is illustrative of various examples and that the invention is defined by the appended claims. A person skilled in the art will realize that the embodiments may be modified, and that different embodiments may be combined, without departing from the scope of the invention, as defined by the appended claims.

Claims

CLAIMS1. An arrangement (2) comprising an automatic milking system (4), an entrance area (6) to the automatic milking system (4), and a real-time location system (8), whereinthe real-time location system (8) is configured to:- determine real-time locations of animal individuals (12) within the entrance area (6) to the automatic milking system (4),characterised in thatthe real-time location system (8) is configured to:- define an entrance zone (28) in the entrance area (6) for detecting animal individuals (12) about to enter the automatic milking system (4),- determine an animal identity of a specific animal individual (12’) having a determined real-time location in the entrance zone (28) to the automatic milking system (4), and- communicate the animal identity of the specific animal individual (12’) having the determined real-time location in the entrance zone (28) to the automatic milking system (4), whereinthe automatic milking system (4) is configured to:- receive the animal identity of the specific animal individual (12’) having the determined real-time location in the entrance zone (28) from the real-time location system (8), and- perform one or more preparatory actions based on the animal identity of the specific animal individual (12’) having the determined real-time location in the entrance zone (28).

2. The arrangement (2) according to claim 1, wherein the entrance zone (28) comprises a defined size and extension from an entrance gate (38) of the automatic milking system (4), wherein the real-time location system (8) is configured to determine, based on the defined size and extension on the entrance zone (28) including the real-time location data of one or more animal individuals (12, 12’) within the entrance zone (28), that one specific animal individual (12’) having the determined real-time location in the entrance zone (28) is about to enter the automatic milking system (4).

3. The arrangement (2) according to claim 2, wherein the real-time location system (8) is configured to determine that one specific animal individual (12’) having the determined realtime location in the entrance zone (28) is about to enter the automatic milking system (4) based on one specific animal individual (12’) being located closest to the entrance gate (38)of the automatic milking system (4) out of at least two animal individuals (12) within the entrance zone (28).

4. The arrangement (2) according to claim 2 or 3, wherein the real-time location system (8) is configured to determine that one specific animal individual (12’) having the determined realtime location in the entrance zone (28) is about to enter the automatic milking system (4) based on one specific animal individual (12’), which is moving in a direction towards the entrance gate (38) out of at least two animal individuals (12) within the entrance zone (28).

5. The arrangement (2) according to any one of the preceding claims, wherein the entrance zone (28) has a variable size depending on an actual number of animal individuals (12) standing in the entrance area (6) to the automatic milking system (4), wherein a lower number of animal individuals (12) provides a larger sized entrance zone (28) than a higher number of animal individuals (12).

6. The arrangement (2) according to any one of the preceding claims, wherein the one or more preparatory actions is / are initiated before and / or during the specific animal individual (12’) having the determined real-time location in the entrance zone (28) is entering the automatic milking system (4).

7. The arrangement (2) according to claim 6, wherein if the automatic milking system (4) is unoccupied by an animal individual (12), the one or more preparatory actions is / are initiated before the specific animal individual (12’) having the determined real-time location in the entrance zone (28) is entering the automatic milking system (4).

8. The arrangement (2) according to claim 6, wherein if the automatic milking system (4) is occupied by an animal individual (12), the one or more preparatory actions is / are initiated during the specific animal individual (12’) having the determined real-time location in the entrance zone (28) is entering the automatic milking system (4).

9. The arrangement (2) according to any one of the preceding claims, wherein the one or more preparatory actions relate / s to selecting an animal related operation and / or selecting an animal related implement for the specific animal individual (12’) having the determined realtime location in the entrance zone (28).

10. The arrangement (2) according to claim 9, wherein the animal related operation comprises a deactivation of a feed dispenser (46) arranged in the automatic milking system(4), or an activation of a feed dispenser (46) arranged in the automatic milking system (4), whereinthe specific animal individual (12’) having the determined real-time location in the entrance zone (28) is denied feed or given an individual amount of feed, and / or wherein the animal related operation comprises a selection of a teat preparation program for the specific animal individual (12’) having the determined real-time location in the entrance zone (28), and / or whereinselecting the animal related implement comprises selecting one or more of a teat preparation tool, such as a teat cleaning tool and / or a teat pre-spraying tool, at least one teatcup (34), and an expelling device.

11. The arrangement (2) according to any one of the preceding claims, wherein the one or more preparatory actions relate / s to selecting a longitudinal (35) starting position of an end effector (48) on a robot arm (36) of the automatic milking system (4) for the specific animal individual (12’) having the determined real-time location in the entrance zone (28), wherein the end effector (48) comprises a teat finding camera (50), and wherein the longitudinal (35) starting position of the end effector (48) is based on animal data stored for the specific animal individual (12’) having the determined real-time location in the entrance zone (28).

12. The arrangement (2) according to any one of the preceding claims, wherein the one or more preparatory actions relate / s to adapting a size of a milking stall of the automatic milking system (4) by activating one or more indexing devices (38, 40, 44) and moving the one or more indexing devices (38, 40, 44) to a specific position on the basis of the specific animal individual (12’) having the determined real-time location in the entrance zone (28).

13. The arrangement (2) according to any one of the preceding claims, wherein the one or more preparatory actions relate / s to opening an exit gate (40) of the automatic milking system (4), or maintaining the exit gate (40) open, if the specific animal individual (12’) having the determined real-time location in the entrance zone (28) is lacking milking permission or is intended for milking in another automatic milking system having a unique milk diverting device and / or a unique milk analysis device.

14. The arrangement (2) according to any one of the preceding claims, wherein the one or more preparatory actions relate / s to delaying an opening of an entrance gate (38) of the automatic milking system (4) until a previous animal individual has left the automatic milking system (4).

15. The arrangement (2) according to any one of the preceding claims, wherein the automatic milking system (4) comprises an RFID reader device (22) configured for reading RFID tags (20) carried by the animal individuals (12) arranged at a front-end portion (37) of the automatic milking system (4), and whereinthe automatic milking system (4) is configured to:- determine an RFID tag-based identity of the specific animal individual (12’) utilising the RFID reader device (22),- compare the RFID tag-based identity of the specific animal individual (12’) with the animal identity of the specific animal individual (12’) received from the real-time location system (8), andif there is a discrepancy between the RFID tag-based identity of the specific animal individual (12’) and the animal identity of the specific animal individual (12’) received from the real-time location system (8),- adapt the one or more preparatory actions based on the animal identity of the specific animal individual (12’) to one or more corresponding actions based on the RFID tag-based identity of the specific animal individual (12’).