Milking installation and computer-implemented method for performing batchwise milking of groups of animals
The described milking installation and method improve milking efficiency by using batchwise milking with unique identifiers and controlled robot allocation, addressing inefficiencies caused by animal behavior and herd dynamics.
Patent Information
- Application Number
- PCT/SE2026/050303
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-06
- Filing Date
- 2026-05-04
- Publication Date
- 2026-11-12
AI Technical Summary
Existing milking installations face inefficiencies due to animal behavior and herd dynamics, leading to reduced milking capacity and throughput.
A milking installation and method that performs batchwise milking of groups of animals, using unique animal identifiers to manage milking robots efficiently, ensuring all animals are adequately milked with a subset allocated for repeated processes, and controlled by a controller to optimize robot usage.
Enhances milking throughput by ensuring all animals are milked timely and efficiently, optimizing robot utilization, and reducing stress-related hormones through controlled milking processes.
Smart Images

Figure SE2026050303_12112026_PF_FP_ABST
Abstract
Description
[0001] Milking Installation and Computer-Implemented Method for Performing Batchwise Milking of Groups of Animals
[0002] TECHNICAL FIELD
[0003] The present invention relates generally to arrangements for efficient batch milking of livestock animals. Especially, the invention relates to a milking installation configured to perform batchwise milking of one group of animals per batch according to the preamble of claim 1 and a corresponding computer-implemented method. The invention also relates to a computer program and a nonvolatile data carrier storing such a computer program.
[0004] BACKGROUND
[0005] Cows and other dairy animals may be milked in milking parlors housing several milking stalls, which are associated with milking equipment. Typically, the dairy animals are admitted into the milking parlor in batches and occupy respective stalls during the milking. The stalls are usually stationary although there are also rotarymilking installations in which the stalls are located on a platform that is rotated continuously so that animals may enter respective stalls at an entrance location and be milked whilst being conveyed around on the platform to an exit location where the milked cows can leave the rotating platform.
[0006] As an alternative to the above, fully automatic robotic milking systems exist, wherein dairy animals can, at their own volition, enter a milking stall where they can be supplied with some feed stuff and can be milked without any direct human supervision of the milking process. These robotic milking systems can indeed be very efficient.
[0007] However, it has been found that animal behavior, e.g. due to the herd hierarchy and pecking order, and the time taken for the animals to reach or to be brought to the vicinity of the milking stallmay sometimes interfere with the efficient operation of the milking installation and reduce its overall capacity in terms of the number of milkings achieved per day. Therefore, a milking installation where milking is performed on a fully voluntary basis may not be optimal.
[0008] EP 576 085 shows a construction for automatically milking animals, such as cows. The construction comprises a milking robot including milking means. The construction also includes at least one automatically operating milking implement equipped with switching means. By means of the switching means, the automatically operating milking implement can be switched over to manual operation.
[0009] WO 2016 / 195577 describes a milking arrangement that comprises at least a first and a second milking system for milking animals, each having an exit lane through which an animal can leave the respective milking system. The exit lanes comprise a smart gate arrangement configured to guide all incompletely milked animals exiting from the first and second milking systems to a dedicated one of the first and second milking systems to be milked again therein.
[0010] WO 2023 / 113687 discloses a milking installation configured to milk a group of animals. The milking installation comprises an entrance area, a number of milking positions configured to milk one animal at a time, a selection gate, at least one milking stall and an exit path. The entrance area is configured to receive therein the group of animals. An entry of each milking position of the number of milking positions is arranged with direct access from the entrance area. The selection gate is accessible from an exit of each milking position. The selection gate is configured to direct one or more individual animals from the group of animals either to the at least one milking stall or to the exit path.
[0011] Thus, various solutions are known, which aim at using a milking installation in an efficient and flexible manner. However, there isyet room for further enhancement of the utilization of a given set of milking robots by for example employing the milking robots for so-called batch milking.
[0012] SUMMARY
[0013] The object of the present invention is to offer a solution that mitigates the above problem and enables an improved throughput of milking animals per unit time for a given set of milking robots. According to one aspect of the invention, the object is achieved by a milking installation configured to perform batchwise milking of one group of animals per batch. It is assumed that each animal in said one group of animals carries a respective tag that comprises a unique identifier. Further, the milking installation includes a crowd enclosure, a plurality of milking robots and an exit. The crowd enclosure is adapted to only hold said one group of animals temporarily before and in connection with said batch milking. Each milking robot in the plurality of milking robots is arranged to perform a respective milking process for one animal at the time of the animals in said one group of animals. Each milking robot in said plurality of milking robots is here accessible on a voluntary basis from the crowd enclosure. Further, each milking robot in said plurality of milking robots is associated with a first identification arrangement that is configured to automatically read out a first unique identifier from the respective tag that is carried by each animal in said one group of animals. The exit is adapted to allow the animals in said one group of animals to leave the milking installation. A subset of the plurality of milking robots is allocated for carrying out a repeated milking process for any selected animal in said one group of animals for which any selected animal the milking process was unsuccessful. Moreover, a sort gate is arranged at a passage to the exit, which sort gate is associated with a second identification arrangement that is configured to automatically read out a second unique identifier from the respective tag that is carried by each animal in said one group of animals. In response to a first control signal, the sort gate is configu-red to direct an animal in said one group of animals either to said subset of the plurality of milking robots or out from the milking installation. A controller is configured to: obtain the first unique identifiers; obtain milking-success data from each milking robot in said plurality of milking robots, which milking-success data indicates if the respective milking process was unsuccessful; obtain the second unique identifier; and in response thereto, generate the first control signal such that each animal in said one group of animals for which the milking process was unsuccessful is directed to said subset of the plurality of milking robots for carrying out the repeated milking process and each animal in said one group of animals for which the milking process was not unsuccessful is directed out from the milking installation.
[0014] The above milking installation is advantageous because it allows a very high overall usage degree of the milking robots while ensuring that all individuals in a group of animals may be adequately milked in a timely manner.
[0015] According to one embodiment of this aspect of the invention, for each milking process that is performed by each milking robot in said plurality of milking robots, the milking-success data indicates that the respective milking process was unsuccessful if not all teatcups were attached to the animal’s udder or if not all teatcups remained attached to the animal’s udder throughout the milking process. Thus, any unsuccessful milking processes are unambiguously and clearly identified, such that each animal with respect of which the milking process needs to be repeated may be automatically selected from the group of animals in a straightforward manner.
[0016] According to another embodiment of this aspect of the invention, the milking installation includes a holding pen that is configured to hold said any selected animal after that said any selected animal has been directed to said subset of the plurality of milking robots and before initiating the repeated milking process. Hence, a number of animals suitable for being milked in said subset ofmilking robots, say in the order of 5 to 10, may held separated from the rest of the animals in the group in a convenient way. The holding pen is separate from the crowd enclosure.
[0017] According to yet another embodiment of this aspect of the invention, the milking installation includes a gate arrangement that, in response to a second control signal, is configured to selectively either allow: one animal from the crowd enclosure to reach said subset of the plurality of milking robots; or one of said any selected animal from the holding pen to reach said subset of the plurality of milking robots. Furthermore, the controller is configured to generate the second control signal such that: during an initial phase of a batch milking procedure, at least one animal from the crowd enclosure is allowed to reach said subset of the plurality of milking robots; and during a following phase of the batch milking procedure subsequent to the initial phase, each of said any selected animals is allowed to reach said subset of the plurality of milking robots. Thereby, the animals may be specifically controlled in such a way that the milking robots are optimally used at each point in time.
[0018] According to another embodiment of this aspect of the invention, the sort gate is associated with a counter that is configured to generate a count measure representing a number of animals from said one group of animals that have passed through the sort gate into the holding pen since a latest resetting of the counter. Here, the controller is configured to: obtain the count measure; and in response thereto control the gate arrangement such that if and only if the count measure has reached a predetermined value said any selected animals in the holding pen are allowed to reach said subset of the plurality of milking robots. Consequently, it may be ensured that no repeated milking process is initiated prematurely. Preferably, if and only if the count measure has reached the predetermined value, the controller is further configured to: generate the first control signal such that the sort gate prevents any ani-mals from said one group of animals to pass into the holding pen; obtain the respective first unique identifier from said any selected animals that are milked in said subset of the plurality of milking robots; decrease the count measure by one for each obtained first unique identifier; and when the count measure equals zero, cause a resetting of the counter that is associated with the sort gate. As a result, an accurate record of the number of animals in the holding pen may be maintained.
[0019] According to still another embodiment of this aspect of the invention, the milking-success data also indicates a respective point in time when the unsuccessful milking process for said any selected animal was completed, and the controller is configured to wait until a predetermined period of time after said respective point in time has expired before generating the second control signal such that said one of said any selected animal from the holding pen is allowed to reach said subset of the plurality of milking robots. This is beneficial because it allows for a reduction of any stress-related hormones and ensures the release of oxytocin in connection with the repeated milking process.
[0020] According to yet another embodiment of this aspect of the invention, the milking installation includes an egress aisle connecting a respective exit from each of the said milking robots in said plurality of milking robots with the sort gate. Each of said respective exit gates is here controllable in response to a respective fourth control signal, and in response to the milking-success data. The controller is configured to generate the respective fourth control signal such that after that the respective milking process has been completed for a particular animal in said one group of animals said particular animal is allowed to leave the milking robot of said plurality of milking robots in which milking robot said particular animal has been milked. Consequently, it is ensured that no animal may leave a milking robot before the milking process in respect of that animal has been completed, regardless of whether or not the milking process was successful.According to another aspect of the invention, the object is achieved by a computer-implemented method executed in a processing unit of the controller in the above-described milking installation, which method involves controlling a performance of a respective milking process for one animal at the time in a respective one of said plurality of milking robots, and after that the respective milking process has been successfully completed for each of said animals allowing the animals to leave the milking installation via the exit. A subset of said plurality of milking robots is allocated for carrying out a repeated milking process for any selected animal in said one group of animals for which any selected animal the milking process was unsuccessful, and a sort gate is arranged at a passage to the exit, which sort gate is associated with a second identification arrangement that is configured to automatically read out a second unique identifier from the respective tag that is carried by each animal in said one group of animals. In response to a first control signal, the sort gate is configured to direct an animal in said one group of animals either to said subset of the plurality of milking robots or out from the milking installation. Moreover, method involves obtaining the first unique identifiers, obtaining milking-success data from each milking robot in said plurality of milking robots, which milking-success data indicates if the respective milking process was unsuccessful, and obtaining the second unique identifier. In response thereto, the method involves generating the first control signal such that each animal in said one group of animals for which the milking process was unsuccessful is directed to said subset of the plurality of milking robots for carrying out the repeated milking process, and each animal in said one group of animals for which the milking process was not unsuccessful is directed out from the milking installation. The advantages of this method, as well as the preferred embodiments thereof, are apparent from the discussion above with reference to the proposed control unit.
[0021] Further advantages, beneficial features and applications of the present invention will be apparent from the following descriptionand the dependent claims.
[0022] BRIEF DESCRIPTION OF THE DRAWINGS
[0023] 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.
[0024] Figure 1 schematically illustrates a milking installation according to one embodiment of the invention; and Figure 2 illustrates, by means of a flow diagram, a method of controlling the performance of a batchwise milking of one group of animals per batch according to the invention.
[0025] DETAILED DESCRIPTION
[0026] In Figure 1 , we see a schematic illustration of a milking installation 100 according to one embodiment of the invention. The milking installation 100 is configured to perform batchwise milking of one group of animals per batch, wherein each animal in said one group of animals carries a respective tag containing a unique identifier. Said unique identifier is called a first unique identifier ID
[0001] when a first identification arrangement is configured to automatically read out the unique identifier and a second unique identifier I D[2] when a second identification arrangement 112 is configured to read the unique identifier.
[0027] The milking installation 100 contains a crowd enclosure 110, a plurality of milking robots 120, 121 , 122, 123, 124, 125, 126, 127, 128 and 129 respectively, an exit 115, a sort gate 113 and a controller 160. Further, according to the invention, a subset of the plurality of milking robots is allocated for carrying out a repeated milking process for any selected animal in said one group of animals for which any selected animal the milking process was unsuccessful. In Figure 1 , said subset is represented by the milkingrobot 120. The subset in question may contain more than one milking robot from the plurality of milking robots 120, 121, 122, 123, 124, 125, 126, 127, 128 and 129. However, the number of milking robots of the subset of milking robots are lower than the number of milking robots of the plurality of milking robots.
[0028] The crowd enclosure 110 is adapted to only hold said one group of animals temporarily before and in connection with said batch milking. For example, the milking installation 100 may have a gate 1 11 through which gate 111 said one group of animals may enter the crowd enclosure 110 en masse shortly before a batch milking is scheduled.
[0029] Each of the milking robots 120, 121, 122, 123, 124, 125, 126, 127, 128 and 129 respectively in the plurality of milking robots is arranged to perform a respective milking process for one animal at the time of the animals in said one group of animals. Moreover, each of the milking robots 120, 121, 122, 123, 124, 125, 126, 127, 128 and 129 respectively in the plurality of milking robots is accessible on a voluntary basis from the crowd enclosure 110. Typically, the number of milking robots is lower than the number of animals in the group of animals that are being temporarily held in the crowd enclosure 110. This means that some of the animals need to wait in the crowd enclosure 110 until the respective milking processes of at least one first round of animals have been completed before they may obtain access to one of the milking robots 120, 121, 122, 123, 124, 125, 126, 127, 128 or 129. Each of the milking robots 120, 121, 122, 123, 124, 125, 126, 127, 128 and 129 in the plurality of milking robots is associated with the first identification arrangement that is configured to automatically read out the first unique identifier ID
[0001] from the respective tag that is carried by each animal in said one group of animals.
[0030] The exit 115 is adapted to allow the animals in said one group of animals to leave the milking installation 100. However, to reach the exit 115, each animal must first pass the sort gate 113.Namely, the sort gate 113 is arranged at a passage 114 to the exit 115. The sort gate 113 is associated with the second identification arrangement 112 that is configured to automatically read out the second unique identifier I D[2] from the respective tag that is carried by each animal in said one group of animals. In response to a first control signal C1, the sort gate 113 is configured to direct an animal in said one group of animals either to the subset 120 of the plurality of milking robots, or out from the milking installation 100 through the exit.
[0031] The controller 160 configured to:
[0032] obtain the first unique identifiers ID
[0001] from the respective first identification arrangements associated with each of the milking robots 120, 121, 122, 123, 124, 125, 126, 127, 128 and 129;
[0033] obtain respective milking-success data DMS from each of the milking robots 120, 121, 122, 123, 124, 125, 126, 127, 128 and 129, which respective milking-success data DMS indicates if the milking process in respect each milked animal was unsuccessful; and
[0034] obtain the second unique identifiers ID[2] from the second identification arrangement that is associated with the sort gate 113.
[0035] In response to the obtained first unique identifiers ID[1], the milking-success data DMS and the second unique identifiers I D[2], the controller 160 is further configured to generate the first control signal C1, such that each animal in said one group of animals for which the milking process was unsuccessful is directed to said subset 120 of the plurality of milking robots for carrying out the repeated milking process, and each animal in said one group of animals for which the milking process was not unsuccessful is directed out from the milking installation 100 via the exit 115. According to one embodiment of the invention, for each milking process that is performed by each of the milking robots 120, 121 ,122, 123, 124, 125, 126, 127, 128 and 129 respectively, the mil-king-success data DMS indicates that the respective milking process was unsuccessful if (a) not all teatcups were attached to the animal’s udder or if (b) not all teatcups remained attached to the animal’s udder throughout the milking process. Naturally, in practice, the milking process may be deemed unsuccessful also for other reasons. Here, however, the above-stated conditions (a) and (b) are considered to be the most important reasons for categorizing the milking process as unsuccessful.
[0036] According to one embodiment of the invention, the milking installation 100 includes a holding pen 150 that is configured to hold the selected animals in respect of which the milking process was unsuccessful after that these animals have been directed to the subset 120 of the plurality of milking robots and before initiating the repeated milking process by a milking robot 120 in this subset. The holding pen 150 is advantageous for practical reasons, inter alia because it provides a degree of spatial and temporal margin between the initial milking processes in the milking robots 120, 121, 122, 123, 124, 125, 126, 127, 128 and 129 respectively and any repeated milking processes for those animals in respect of which this is needed.
[0037] According to one embodiment of the invention, the milking installation 100 also includes a gate arrangement 141 between the crowd enclosure 110 and the holding pen 150. In response to a second control signal C2, the gate arrangement 141 is configured to selectively either: allow one animal from the crowd enclosure 1 10 to reach the subset 120 of the plurality of milking robots, or allow one of said any selected animal from the holding pen 150 to reach the subset 120 of the plurality of milking robots. Additionally, the controller 160 is configured to generate the second control signal C2 such that: during an initial phase of a batch milking procedure, at least one animal from the crowd enclosure 110 is allowed to reach the subset of the plurality of milking robots, i.e. in Figure 1, the milking robot 120, and during a following phaseof the batch milking procedure that is subsequent to the initial phase, each of said any selected animals is in the holding pen 150 is allowed to reach the subset 120 of the plurality of milking robots.
[0038] Preferably, the sort gate 113 is associated with a counter that is configured to generate a count measure M[#] representing a number of animals from the group of animals that have passed through the sort gate 113 into the holding pen 150 since a latest resetting of the counter. The controller 160 is here configured to obtain the count measure M[#], and in response thereto control the gate arrangement 141 such that if and only if the count measure M[#] has reached a predetermined value, one or more animals of said any selected animals in the holding pen 150 are allowed to reach said subset 120 of the plurality of milking robots. In other words, no animal will be re-milked before the predetermined number of animals have entered the holding pen 150.
[0039] According to one embodiment of the invention, if and only if the count measure M[#] has reached the predetermined value, the controller 160 is further specifically configured to:
[0040] - generate the first control signal C1 such that the sort gate 113 prevents any animals from said one group of animals to pass into the holding pen 150;
[0041] - obtain the respective first unique identifier ID
[0001] from said any selected animals that are milked in the subset 120 of the plurality of milking robots,
[0042] - decrease the count measure M[#] by one for each obtained first unique identifier ID[1], and when the count measure M[#] equals zero,
[0043] - cause a resetting of the counter that is associated with the sort gate 113.
[0044] As a result, the controller 160 is able to maintain a current record of the number of animals that are located in the holding pen 150at any point in time. This, of course, is beneficial in order to keep track of how the milking of the animals in said group progresses. According to one embodiment of the invention, the milking-success data DMS further indicates a respective point in time when the unsuccessful milking process for each selected animal respectively was completed. Here, the controller 160 is configured to wait until a predetermined period of time after said respective point in time has expired before generating the second control signal C2 such that the selected animal in question is allowed to reach the subset 120 of the plurality of milking robots from the holding pen 150.
[0045] Preferably, the milking installation 100 includes an egress aisle 130 that connects a respective exit gate 143, 1 u, 2u, 3u, 4u, 5u, 6u, 7u, 8u and 9u from each of the milking robots 120, 121, 122, 123, 124, 125, 126, 127, 128 and 129 respectively with the sort gate 113. Each of respective exit gates 143, 1 u, 2u, 3u, 4u, 5u, 6u, 7u, 8u, 9u is further preferably controllable in response to a respective fourth control signal C4 from the controller 160. In response to the milking-success data DMS, the controller 160 is configured to generate the respective fourth control signal C4 such that after that the respective milking process has been completed for a particular animal in one of the milking robots 120, 121 , 122, 123, 124, 125, 126, 127, 128 or 129, the particular animal is allowed to leave said one of the milking robots. Consequently, it is excluded that the animals may leave the milking robots prematurely, for example while the milking process is still in progress. It is generally advantageous if the controller 160 is configured to effect the above procedure in an automatic manner by executing a computer program. Therefore, the controller 160 may include at least one processing unit 163 and a memory unit 165, i.e. a nonvolatile data carrier, storing a computer program 167, which, in turn, contains software for making the at least one processing unit 163 execute the actions mentioned in this disclosure when the computer program 167 is run on the at least processing unit 163.In order to sum up, and with reference to the flow diagram in Figure 2, we will now describe a computer-implemented method according to the invention, which method is performed in the at least processing unit 163 of the controller 160 in the milking installation 100.
[0046] In a first step 205, a first unique identifier is obtained, which first unique identifier is comprised in a tag carried by an animal in a group of animals. Here, it is assumed that the first unique identifier is obtained from a first identification arrangement associated with a milking robot in the milking installation 100.
[0047] In a subsequent step 210, a milking process is performed in respect of the animal whose first unique identifier was obtained in step 205, and in a step 215 thereafter, it is checked if the milking process has been completed. If the milking process has been completed, a step 220 follows; and otherwise, the procedure loops back to step 210.
[0048] In step 220, it is checked if the milking process was unsuccessful. For example, the milking process may be considered to be unsuccessful if not all teatcups were attached to the animal’s udder or if not all teatcups remained attached to the animal’s udder throughout the milking process. If the milking process was unsuccessful, a step 240 follows; and otherwise, the procedure continues to a step 225.
[0049] In step 225 it is implied that the milking process was successful, although, of course, depending on the definition of what constitutes an unsuccessful milking process, this need not necessarily be the case. Nevertheless, in step 225 it is checked if an animal is located at a sort gate. If so, a step 230 follows; and otherwise, the procedure loops back and stays in step 225.
[0050] In step 230, a second unique identifier is obtained from a second identification arrangement associated with the sort gate. Provided that the second unique identifier designates an animal in respectof which the milking process was not unsuccessful, the animal is directed out from the milking installation 100 in a following step 235, whereafter the procedure ends.
[0051] In step 240, it is checked if an animal is located at the sort gate. If so, a step 245 follows; and otherwise, the procedure loops back and stays in step 240. In step 245, the second unique identifier is obtained from the second identification arrangement that is associated with the sort gate. Provided that the second unique identifier designates an animal in respect of which the milking process was unsuccessful, the animal is directed to the subset of milking robots for a repeated milking process in a following step 250, whereafter the procedure ends
[0052] The process steps described above with reference to Figure 2 may be controlled by means of a programmed processor. Moreover, although the embodiments of the invention described above with reference to the drawings comprise processor and processes performed in at least one processor, the invention thus also extends to computer programs, particularly computer programs on or in a carrier, adapted for putting the invention into practice. The program may be in the form of source code, object code, a code intermediate source and object code such as in partially compiled form, or in any other form suitable for use in the implementation of the process according to the invention. The program may either be a part of an operating system, or be a separate application. The carrier may be any entity or device capable of carrying the program. For example, the carrier may comprise a storage medium, such as a Flash memory, a ROM (Read Only Memory), for example a DVD (Digital Video / Versatile Disk), a CD (Compact Disc) or a semiconductor ROM, an EPROM (Erasable Programmable Read-Only Memory), an EEPROM (Electrically Erasable Programmable Read-Only Memory), or a magnetic recording medium, for example a floppy disc or hard disc. Further, the carrier may be a transmissible carrier such as an electrical or optical signal which may be conveyed via electrical or opticalcable or by radio or by other means. When the program is embodied in a signal, which may be conveyed, directly by a cable or other device or means, the carrier may be constituted by such cable or device or means. Alternatively, the carrier may be an integrated circuit in which the program is embedded, the integrated circuit being adapted for performing, or for use in the performance of, the relevant processes.
[0053] Variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims.
[0054] The term “comprises / comprising” when used in this specification is taken to specify the presence of stated features, integers, steps or components. The term does not preclude the presence or addition of one or more additional elements, features, integers, steps or components or groups thereof. The indefinite article "a" or "an" does not exclude a plurality. In the claims, the word “or” is not to be interpreted as an exclusive or (sometimes referred to as “XOR”). On the contrary, expressions such as “A or B” covers all the cases “A and not B”, “B and not A” and “A and B”, unless otherwise indicated. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. Any reference signs in the claims should not be construed as limiting the scope.
[0055] It is also to be noted that any reference in this specification to a second, third, fourth etc. of an instance or a feature does not require the presence of a first or lower ordered specimen of the instance or feature in question. The ordinal numbers merely represent a convenient means of reference to distinguish the specific instances or features from one another.
[0056] It should further be noted that features from the various embodiments described herein may freely be combined, unless it is explicitly stated that such a combination would be unsuitable.The invention is not restricted to the described embodiments in the figures, but may be varied freely within the scope of the claims. Any subject-matter falling outside the scope of the claims is provided for information purposes, only.
Claims
Claims1. A milking installation (100) configured to perform batchwise milking of one group of animals per batch, wherein each animal in said one group of animals carries a respective tag comprising a unique identifier, the milking installation (100) comprising:a crowd enclosure (110) adapted to only hold said one group of animals temporarily before and in connection with said batch milking,a plurality of milking robots (120, 121, 122, 123, 124, 125, 126, 127, 128, 129) arranged to perform a respective milking process for one animal at the time of the animals said one group of animals, wherein each milking robot in said plurality of milking robots is accessible on a voluntary basis from the crowd enclosure (110), and wherein each milking robot in said plurality of milking robots is associated with a first identification arrangement that is configured to automatically read out a first unique identifier (ID[1 ]) from the respective tag that is carried by each animal in said one group of animals, andan exit (115) adapted to allow the animals in said one group of animals to leave the milking installation (100), characterized in thata subset (120) of the plurality of milking robots is allocated for carrying out a repeated milking process for any selected animal in said one group of animals for which any selected animal the milking process was unsuccessful,a sort gate (113) is arranged at a passage (114) to the exit (115), which sort gate (113) is associated with a second identification arrangement (112) that is configured to automatically read out a second unique identifier (I D[2]) from the respective tag that is carried by each animal in said one group of animals, and which sort gate (113) is configured to, in response to a first control signal (C1), direct an animal in said one group of animals either to said subset (120) of the plurality of milking robots or out from the milking installation (100), anda controller (160) configured to: obtain the first unique iden-tifiers (ID[1]); obtain milking-success data (DMS) from each milking robot in said plurality of milking robots, which milkingsuccess data (DMS) indicates if the respective milking process was unsuccessful; obtain the second unique identifier (ID[2]); and in response thereto, generate the first control signal (C1) such that each animal in said one group of animals for which the milking process was unsuccessful is directed to said subset (120) of the plurality of milking robots for carrying out the repeated milking process and each animal in said one group of animals for which the milking process was not unsuccessful is directed out from the milking installation (100).
2. The milking installation (100) according to claim 1 , wherein, for each milking process performed by each milking robot in said plurality of milking robots, the milking-success data (DMS) indicates that the respective milking process was unsuccessful if not all teatcups were attached to the animal’s udder or if not all teatcups remained attached to the animal’s udder throughout the milking process.
3. The milking installation (100) according to any one of claims 1 or 2, comprising:a holding pen (150) configured to hold said any selected animal after that said any selected animal has been directed to said subset (120) of the plurality of milking robots and before initiating the repeated milking process.
4. The milking installation (100) according to claim 3, comprising a gate arrangement (141) that, in response to a second control signal (C2), is configured to selectively either allow:one animal from the crowd enclosure (110) to reach said subset (120) of the plurality of milking robots, orone of said any selected animal from the holding pen (150) to reach said subset (120) of the plurality of milking robots, and the controller (160) is configured to generate the second control signal (C2) such that:during an initial phase of a batch milking procedure, at least one animal from the crowd enclosure (110) is allowed to reach said subset (120) of the plurality of milking robots, andduring a following phase of the batch milking procedure subsequent to the initial phase, each of said any selected animals is allowed to reach said subset (120) of the plurality of milking robots.
5. The milking installation (100) according to claim 4, wherein the sort gate (113) is associated with a counter that is configured to generate a count measure (M[#]) representing a number of animals from said one group of animals that have passed through the sort gate (113) into the holding pen (150) since a latest resetting of the counter, and the controller (160) is configured to:obtain the count measure (M[#]), and in response thereto control the gate arrangement (141) such that if and only if the count measure (M[#]) has reached a predetermined value said any selected animal in the holding pen (150) is allowed to reach said subset (120) of the plurality of milking robots.
6. The milking installation (100) according to claim 5, wherein if and only if the count measure (M[#]) has reached the predetermined value, the controller (160) is further configured to:generate the first control signal (C1) such that the sort gate (113) prevents any animals from said one group of animals to pass into the holding pen (150),obtain the respective first unique identifier (ID[1 ]) from said any selected animals that are milked in said subset (120) of the plurality of milking robots,decrease the count measure (M[#]) by one for each obtained first unique identifier (ID[1 ]), and when the count measure (M[#]) equals zero,cause a resetting of the counter that is associated with the sort gate (113).
7. The milking installation (100) according to any one of claims4 to 6, wherein:the milking-success data (DMS) further indicates a respective point in time when the unsuccessful milking process for said any selected animal was completed, andthe controller (160) is configured to wait until a predetermined period of time after said respective point in time has expired before generating the second control signal (C2) such that said one of said any selected animal from the holding pen (150) is allowed to reach said subset (120) of the plurality of milking robots.
8. The milking installation (100) according to any one of the preceding claims, wherein:the milking installation (100) comprises an egress aisle (130) connecting a respective exit gate (143, 1 u, 2u, 3u, 4u, 5u, 6u, 7u, 8u, 9u) from each of the said milking robots in said plurality of milking robots with the sort gate (113), wherein each of said respective exit gates (143, 1 u, 2u, 3u, 4u, 5u, 6u, 7u, 8u, 9u) is controllable in response to a respective fourth control signal (C4), andthe controller (160) is configured to, in response to the mil-king-success data (DMS), generate the respective fourth control signal (C4) such that after that the respective milking process has been completed for a particular animal in said one group of animals said particular animal is allowed to leave the milking robot of said plurality of milking robots in which milking robot said particular animal has been milked.
9. A computer-implemented method executed in a processing unit (163) of a controller (160) of the milking installation (100) according to any one of the preceding claims, the method comprising:controlling a performance of a respective milking process for one animal at the time in a respective one of said plurality of milking robots (120, 121, 122, 123, 124, 125, 126, 127, 128, 129), and after that the respective milking process has been success-fully completed for each of said animalsallowing the animals to leave the milking installation (100) via the exit (115),characterized by a subset (120) of said plurality of milking robots being allocated for carrying out a repeated milking process for any selected animal in said one group of animals for which any selected animal the milking process was unsuccessful,a sort gate (113) being arranged at a passage (114) to the exit (115), which sort gate (113) is associated with a second identification arrangement (112) that is configured to automatically read out a second unique identifier (I D[2]) from the respective tag that is carried by each animal in said one group of animals, and which sort gate (113) is configured to, in response to a first control signal (C1), direct an animal in said one group of animals either to said subset (120) of the plurality of milking robots or out from the milking installation (100), and the method further comprising:obtaining:the first unique identifiers (ID[1 ]),milking-success data (DMS) from each milking robot in said plurality of milking robots, which milking-success data (DMS) indicates if the respective milking process was unsuccessful, andthe second unique identifier (ID[2]); and in response thereto,generating the first control signal (C1 ) such that each animal in said one group of animals for which the milking process was unsuccessful is directed to said subset (120) of the plurality of milking robots for carrying out the repeated milking process and each animal in said one group of animals for which the milking process was not unsuccessful is directed out from the milking installation (100).
10. A computer program (167) loadable into a non-volatile data carrier (165) communicatively connected to a processing unit (163), the computer program (167) comprising software for executing the method according to claim 9 when the computer pro-gram (167) is run on the processing unit (163).
11. A non-volatile data carrier (165) containing the computer program (167) of the claim 10.
