Control unit, method and computer program for a milking system
11553685 · 2023-01-17
Assignee
Inventors
Cpc classification
A01J5/007
HUMAN NECESSITIES
A01J5/0136
HUMAN NECESSITIES
International classification
A01J5/007
HUMAN NECESSITIES
Abstract
An automatic milking system controlled by receiving a parameter representing a measured flow of milk extracted from at least one teat of an udder of an animal being milked in a milking operation via at least one teatcup of the milking system, wherein the milking system is controlled to stop the milking operation based on a first criterion indicating that the flow has reached a decline phase, and a second criterion indicating that the flow decreases faster than a threshold slope, the milking operation being stopped in response to fulfillment of the second criterion on or after a point in time when the first criterion has been fulfilled. As a result, a particular amount of milk is left in the udder of the animal, irrespective of an overall milking time for the animal.
Claims
1. An electronic control unit (150) for an automated milking system, the control unit (150) comprising: a processing circuitry, a data storage in communication with said processing circuitry, and interfaces configured to communicate with a flow meter, which registers a parameter representative of a measurement of flow f(t) of milk drawn from one or more teats of an udder (105) of an animal milked via one or more teatcups operated by the control unit in a milking operation, and also configured to communicate with and control the automated milking system, said data storage having a program code stored thereon that in operation causes the processing circuitry to: receive, during the milking operation, a series of values from the flow meter, each value representative of the measured flow of the milk being drawn from the animal at a point in time during the milking operation; determine, as a first criterion, whether said series of values received by the control unit from the flow meter during the milking operation indicates the milking operation has entered a decline phase, said decline phase defined as an interval of time where the measured flow of the milk during the milking operation as indicated by said series of values is decreasing with time; determine from said series of values, as a second criterion, whether a rate of decrease of the measured flow of the milk exceeds a decline threshold; determine from said series of values, as a third criterion, whether the measured flow of the milk is below a flow threshold; and generate and transmit a control signal (Ctrl) to the automated milking system that stops the automated milking system from extracting milk from the animal upon satisfaction of either of: i) both the first criterion, where said processing circuitry has determined that said series of values received by the control unit from the flow meter during the milking operation indicates the milking operation has entered the decline phase, and the second criterion, where said processing circuitry has determined that the rate of decrease of the measured flow of the milk exceeds the decline threshold, or ii) both the first criterion, where said processing circuitry has determined that said series of values received by the control unit from the flow meter during the milking operation indicates the milking operation has entered the decline phase, and the third criterion, where said processing circuitry has determined from said series of values that the measured flow of the milk is below the flow threshold.
2. The control unit (150) according to claim 1, wherein the parameter registered by the flow meter represents a common flow of milk drawn from all the teats of the udder (105) of the animal during the milking operation.
3. The control unit (150) according to claim 1, wherein the stopping of the extraction of milk involves at least one of: detaching at least one of the one or more teatcups from a respective teat of the udder (105) of the animal, shutting off a pulsator vacuum (PV) to at least one of the one or more teatcups, and shutting off a milking vacuum (MV) to at least one of the one or more teatcups.
4. The control unit (150) according to claim 1, wherein the processing circuitry sets the decline threshold of the second criterion dynamically based on an average level of the measured flow of the milk determined for a plateau phase of the milking operation preceding the decline phase, such that: when the average level of the measured flow of the milk during the plateau phase is comparatively high, the second criterion specifies a relatively larger decline threshold, and when the average level of the measured flow of the milk during the plateau phase is comparatively low, the second criterion specifies a relatively smaller decline threshold.
5. The control unit (150) according to claim 1, wherein the processing circuitry determines that the second criterion is satisfied based on the rate of decrease of the measured flow of the milk exceeding the decline threshold regardless of an actual flow rate before or after said decline phase.
6. The control unit (150) according to claim 1, wherein the processing circuitry sets the flow threshold of the third criterion dynamically based on an average level of the measured flow of the milk determined for a plateau phase of the milking operation preceding the decline phase, such that: when the average level of the flow during the plateau phase is comparatively high, the third criterion specifies a relatively high flow threshold, and when the average level of the flow during the plateau phase is comparatively low, the third criterion specifies a relatively low flow threshold.
7. The control unit (150) according to claim 1, wherein the program code is further configured so that the processing circuitry generates and transmits the control signal for stopping the automated milking at such time so as to leave an amount of milk (M res)) in the udder (105) of the animal after the extraction of milk from the animal has stopped.
8. The control unit (150) according to claim 1, wherein the program code is further configured so that the processing circuitry generates and transmits the control signal for stopping the automated milking on further basis of at least one of: historic milk-yield data for the animal, stored in the data storage of the control unit; historic milk-flow-profile data for the animal, stored in the data storage of the control unit; a current lactation phase of the animal, stored in the data storage of the control unit; an age of the animal, stored in the data storage of the control unit; and a health status of the animal, stored in the data storage of the control unit.
9. The control unit (150) according to claim 1, wherein the processing circuitry is configured to determine that the measured flow of the milk has reached the decline phase further based on a historic milk-flow-profile data (D.sub.mfp) for the animal being milked, stored in the data storage of the control unit.
10. An automatic milking method, comprising: receiving, at a control unit, a series of values from a flow meter, each value representative of a flow, measured by the flow meter, of milk being extracted from at least one teat of an udder (105) of an animal that is milked via one or more teatcups of an automated milking system during a milking operation; at the control unit, determining, as a first criterion, whether said series of values received by the control unit from the flow meter during the milking operation indicates the milking operation has entered a decline phase, said decline phase defined as an interval of time where the measured flow of the milk during the milking operation as indicated by said series of values is decreasing with time; when the first criterion is determined as satisfied when said series of values received by the control unit from the flow meter during the milking operation indicates the milking operation has entered the decline phase, determining, from said series of values at the control unit: as a second criterion, whether a rate of decrease of the measured flow of the milk exceeds a decline threshold, and as a third criterion, whether the measured flow of the milk is below a flow threshold; and controlling, by means of the control unit, the extraction of milk from the animal by way of the milking operation to be stopped upon satisfaction of either of: i) both the first criterion, where said control unit has determined that said series of values received by the control unit from the flow meter during the milking operation indicates the milking operation has entered the decline phase, and the second criterion, where said control unit has determined from said series of values that the rate of decrease of the measured flow exceeds the decline threshold, or ii) both the first criterion, where said control unit has determined that said series of values received by the control unit from the flow meter during the milking operation indicates the milking operation has entered the decline phase, and the third criterion, where said control unit has determined from said series of values that the measured flow of the milk is below the flow threshold.
11. The method according to claim 10, wherein each value received from the flow meter represents a common flow of milk drawn from all the teats of the udder (105) of the animal.
12. The method according to claim 10, wherein, in controlling the extraction of milk to be stopped, the control unit causes the automated milking system to carry out at least one of: detaching at least one of the one or more teatcups from a respective teat of the udder (105) of the animal, shutting off a pulsator vacuum (PV) to at least one of the one or more teatcups, and shutting off a milking vacuum (MV) to at least one of the one or more teatcups.
13. The method according to claim 10, further comprising: setting the decline threshold of the second criterion dynamically based on an average level (F.sub.plt) of the measured milk flow determined for a plateau phase of the milking operation preceding the decline phase, such that: when the average level of the measured milk flow during the plateau phase is comparatively high, the second criterion specifies a relatively larger decline threshold, and when the average level of the measured milk flow during the plateau phase is comparatively low, the second criterion specifies a relatively smaller decline threshold.
14. The method according to claim 10, wherein the second criterion is determined to be satisfied based on the rate of decrease of the measured flow of the milk exceeding the decline threshold regardless of an actual flow rate before or after said decline phase.
15. The method according to claim 10, further comprising: setting the flow threshold of the third criterion dynamically based on an average level of the measured flow of the milk determined for a plateau phase of the milking operation preceding the decline phase, such that: when the average level of the flow during the plateau phase is comparatively high, the third criterion specifies a relatively high flow threshold level, and when the average level of the flow during the plateau phase is comparatively low, the third criterion specifies a relatively low flow threshold level.
16. The method according to claim 10, wherein the extraction of milk from the animal by way of the milking operation is controlled to be stopped at such time so as to leave an amount of milk (M.sub.res)) in the udder (105) of the animal after the extraction of milk from the animal has stopped.
17. The method according to claim 10, wherein the controlling of the extraction of milk to be stopped is carried out on the further basis of at least one of: historic milk-yield data for the animal; historic milk-flow-profile data for the animal; a current lactation phase of the animal; an age of the animal; and a health status of the animal.
18. A non-transitory data carrier (153) having recorded thereon a computer program (157) comprising software that, upon execution by a processing unit (150), causes the processing unit (150) to execute the method according to claim 10.
19. The method according to claim 10, wherein the measured flow is determined by the control unit to have reached the decline phase further based on a historic milk-flow-profile data (D.sub.mfp) for the animal being milked, stored in a data storage of the control unit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The invention is now to be explained more closely by means of preferred embodiments, which are disclosed as examples, and with reference to the attached drawings.
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6)
(7) The milking claw 115 is connected to the four teatcups 111, 112, 113 and 114 via respective milk and vacuum hoses. The teatcups 111, 112, 113 and 114, in turn, are attached to a respective teat of the udder 105. The pulsator vacuum PV is applied to all the four teatcups 111, 112, 113 and 114. Milk is extracted from the udder 105, collected in the milking claw 115 and forwarded through a milk conduit 120. A flow meter 125 registers a parameter representing a measured milk flow f(t) in the milk conduit 120. The measured milk flow f(t) may be registered either continuously or repeatedly at discrete time instances.
(8) In any case, the parameter that represents the measured milk flow f(t) is forwarded to a control unit 150, which, in turn, is adapted to influence how a milking system is operated via a control signal Ctrl.
(9) The term “milking system” here has a general meaning and may include e.g. a single milking cluster 110, a milking machine or a milking robot.
(10) The control unit 150 contains processing circuitry and interfaces in order to enable the control unit 150 to receive data and signals, perform various analyses of said data and signals, and generate output, for example in form of the control signal Ctrl. More precisely, the control unit 150 is configured to receive the parameter representing the measured flow f(t) of milk being extracted from the udder 105 and based on this parameter control the extraction of milk to be stopped by means of the control signal Ctrl.
(11) The extraction of milk may for example be stopped by detaching the teatcups 111, 112, 113 and 114 from a respective teat of the udder 105. A withdrawal cylinder or a milking robot may perform such a detachment in response to the control signal Ctrl. Alternatively, or in addition thereto, the pulsator vacuum PV and/or the milking vacuum MV may be shut off to the teatcups 111, 112, 113 and 114.
(12) Referring now to the diagram in
(13) The horizontal axis of the diagram in
(14) According to one embodiment of the invention, determining that the milk-flow profile transitions from the rise phase Ph.sub.r to the plateau phase Ph.sub.plt is made based on a series of registered flow values. More precisely, the control unit 150 is preferably configured to study a temporal variation of the milk flow f(t) described by these flow values. For example, if an average time derivative of the milk flow f(t) changes from a relatively high positive value to lie in an interval of relatively low time derivative, positive or negative, the control unit 150 may construe this as the end of the rise phase Ph.sub.r and the beginning of the plateau phase Ph.sub.plt. Analogously, if the average time derivative of the milk flow f(t) changes from lying in the interval of relatively low time derivative, positive or negative, to a relatively high negative value, the control unit 150 may construe this as the end of the plateau phase Ph.sub.plt and the beginning of the decline phase Ph.sub.decl.
(15) It has been found that it is beneficial both for the long-term milk yield and for the animal health if approximately the same amount of milk is left in the udder 105 after each milking. Therefore, according to one embodiment of the invention, the processing circuitry in the control unit 150 is configured to generate the control signal Ctrl at such a point in time t.sub.TO that a particular estimated amount of milk M.sub.res is left in the udder 105 after that the extraction of milk has stopped. This is accomplished via first and second criteria.
(16) The first criterion indicates that the milk flow f(t) has reached the decline phase Ph.sub.decl, and the second criterion indicates that the milk flow f(t) decreases faster than a threshold slope. In
(17) Determining if the decline phase Ph.sub.decl has been reached can be made via signal processing that is based on a series of flow values registered during a current milking, via historic milk-flow-profile data D.sub.mfp for the animal being milked, or both. If historic milk-flow-profile data D.sub.mfp are to be used, a database 160 is communicatively linked to the control unit 150, so that milk-flow values f(t) can be both recorded and read repeatedly during the milking process.
(18) Referring now to
(19) According to one embodiment of the invention, the processing circuitry in the control unit 150 is configured to set the second criterion dynamically based on the average level F.sub.plt of the milk flow f(t) during a plateau phase Ph.sub.plt that precedes the decline phase Ph.sub.decl. This will be explained with reference to
(20) Similarly, also aiming at leaving the particular estimated amount of M.sub.res in the udder 105, according to one embodiment of the invention, the processing circuitry in the control unit 150 is configured to set the third criterion dynamically based on the average level F.sub.plt of the flow f(t) during the plateau phase Ph.sub.plt preceding the decline phase Ph.sub.decl. This means that, if the average level F.sub.plt1 of the milk flow f(t) during the plateau phase Ph.sub.plt is comparatively high, the third criterion specifies a relatively high threshold level F.sub.th1, for example as illustrated in
(21)
(22) Here, a particular flow meter 126, 127, 128 and 129 is arranged on a respective milk hose 121, 122, 123 and 124 from each of the teatcups 111, 112, 113 and 114, and the control unit 150 is configured to receive parameters representing measured milk flows f.sub.1(t), f.sub.2(t), f.sub.3(t) and f.sub.4(t) from each of the teatcups 111, 112, 113 and 114 respectively. The control unit 150 is further configured to control Ctrl the extraction of milk to be stopped based on said parameters, so that the take-off time t.sub.TO when the milking shall be stopped is determined based on: a first criterion indicating that at least one of the milk flows f.sub.1(t), f.sub.2(t), f.sub.3(t) and/or f.sub.4(t) has reached a decline phase Ph.sub.decl; and a second criterion indicating that at least one of the milk flows f.sub.1(t), f.sub.2(t), f.sub.3(t) and/or f.sub.4(t) decreases faster than a threshold slope s.sub.crit1 or s.sub.crit2 respectively. Analogous to the above, the take-off time t.sub.TO is determined in response to fulfillment of the second criterion on or after a point in time t.sub.1 when the first criterion has been fulfilled.
(23) Preferably, in the quarter-milking embodiment of the invention illustrated in
(24) In addition to the above-described first, second and third criteria, it is preferable if the processing circuitry in the control unit 150 is configured to determine the take-off time t.sub.TO on the further basis of historic milk-yield data for the animal, historic milk-flow-profile data for the animal, a current lactation phase of the animal, an age of the animal, and/or a health status of the animal. This information may be stored in the database 160, and be retrieved in response to registering an identity of an animal to be milked. As a result, the total milking time t.sub.M can be individually adapted with even better precision.
(25) It is generally advantageous if the above-described control unit 150 is configured to effect the above-mentioned procedure in an automatic manner by executing a computer program 157. Therefore, the control unit 150 may include a memory unit, i.e. non-volatile data carrier 153, storing the computer program 157, which, in turn, contains software for making processing circuitry in the form of at least one processor in the control unit 150 execute the above-described actions when the computer program 157 is run on the at least one processor.
(26) Although the invention is primarily intended to control a system for extracting milk from cows, the proposed solution is equally well applicable for any other kind of livestock animals, such as goats, sheep, pigs, donkeys, yaks or buffaloes. Naturally, if the animal being milked has a number of teats different from four, e.g. two, the above-described quarter-milking scenario is adapted the relevant number of teats.
(27) In order to sum up, and with reference to the flow diagram in
(28) In a first step 410, at least one parameter is received, which at least one parameter represents a measured milk flow. Then, in a step 420, it is checked if a first criterion is fulfilled, which indicates that the at least one milk flow has reached a decline phase. If so, a step 430 follows; and otherwise, the procedure loops back to step 410 for continued reception of the milk-flow related parameter(s).
(29) In step 430 it is checked if a second criterion is fulfilled, which indicates that the at least one milk flow decreases faster than a threshold slope. If so, a step 440 follows; and otherwise, the procedure loops back and stays in step 430.
(30) In step 440, the milking machine is controlled to stop the extraction of milk. Thereafter, the procedure ends.
(31)
(32) In a step 530 thereafter, it is checked if the second criterion is fulfilled, i.e. if the at least one milk flow decreases faster than a threshold slope. If so, a step 550 follows; and otherwise, the procedure continues to a step 540.
(33) In step 540 it is checked if the at least one milk flow has decreased below a threshold level. If so, step 550 follows; and otherwise, the procedure loops back to step 530.
(34) In step 550, the milking machine is controlled to stop the extraction of milk. Thereafter, the procedure ends.
(35) All of the process steps, as well as any sub-sequence of steps, described with reference to
(36) The term “comprises/comprising” when used in this specification is taken to specify the presence of stated features, integers, steps or components. However, the term does not preclude the presence or addition of one or more additional features, integers, steps or components or groups thereof.
(37) The invention is not restricted to the described embodiments in the figures, but may be varied freely within the scope of the claims.