CALIBRATING A PLURALITY OF SENSORS IN A SYSTEM FOR OBTAINING ANIMAL DATA FROM A GROUP OF ANIMALS

20220283136 · 2022-09-08

    Inventors

    Cpc classification

    International classification

    Abstract

    A method of calibrating a sensors in a system for obtaining animal data from animals is described. The sensors are configured to obtain measurements of an animal related parameter during arbitrary visits by the animal to the sensors. For at least one of the animals, a first measurement associated with a first sensor of the sensors is obtained, and calculating one or more relations between the first measurement and one or more second measurements associated with the respective animal. Each of the second measurements is obtained using a further sensor, so as to obtain at least one representative relation for each combination of the first sensor and each one of the further sensors. The system calculates, based on the at least one representative relation, a correction factor associated with at least one sensor of the plurality of sensors.

    Claims

    1. A method for calibrating a plurality of sensors in a system for obtaining animal data from a group of animals, wherein the plurality of sensors are configured to obtain measurements of an animal related parameter, wherein for obtaining the measurements the system is configured for allowing each animal to arbitrary visit one of the sensors, and wherein the method comprises: obtaining, for at least one animal of the group of animals, a first measurement associated with a first sensor of the plurality of sensors; calculating one or more relations between the first measurement and one or more second measurements associated with the respective animal, wherein each of the second measurements is obtained using one of a further sensors of the plurality of sensors, wherein the one of the further sensors is different from the first sensor, so as to obtain at least one representative relation for each combination of the first sensor and each one of the further sensors; and calculate, based on the at least one representative relation, a correction parameter associated with at least one sensor of the plurality of sensors, for harmonizing an output signal of the at least one sensor with respect to output signals of one or more of the further sensors of the plurality of sensors.

    2. The method according to claim 1, wherein the correction parameter is at least one of the group consisting of: a correction factor, and an offset.

    3. The method according to claim 1, wherein the correction parameter is a correction factor, and wherein the calculating one or more relations comprises calculating one or more fractions between the first measurement and one or more second measurements, so as to obtain at least one representative fraction for each combination of the first sensor and each one of the further sensors.

    4. The method according to claim 1, wherein the second measurements are obtained from a data repository containing measurement data of earlier measurements, wherein, in the measurement data, each measurement is associated with an animal identifier of an animal from the group of animals, and wherein, in the measurement data, each measurement is associated with a sensor identifier of the sensor with which the measurement has been obtained.

    5. The method according to claim 1, wherein the first measurement is obtained by at least one of the group consisting of: obtaining the first measurement from a data repository containing measurement data of earlier measurements; and directly obtaining the first measurement from the first sensor.

    6. The method according to claim 1, wherein the one or more second measurements include at least one of the group consisting of: at least one measurement from each of the sensors different from the first sensor; and a plurality of measurements from one or more of each of the further sensors, and wherein the calculating one or more relations is performed by calculating relations between the first measurement and a statistical representative value of the plurality of measurements for each of the further sensors.

    7. The method according to claim 6, wherein the one or more second measurements include a plurality of measurements from one or more of the further sensors, wherein the calculating one or more relations is performed by calculating relations between the first measurement and a statistical representative value of the plurality of measurements for each of the one or more of the further sensors, and wherein the statistical representative value is at least one of: an average; a median value; a mode; or a percentile of the plurality of measurements of the further sensor.

    8. The method according to claim 1, wherein for obtaining the at least one representative relation for each combination of the first sensor and each one of the further sensors, the method further comprises: storing, after the calculating one or more relations, each of the calculated relations in a data repository; and selecting from the data repository, for each combination, a plurality of stored relations and calculating the representative relation from the selected plurality of stored relations.

    9. The method according to claim 8, wherein the selecting a plurality of stored relations and calculating the representative relation comprises obtaining, with respect to the stored relations or the selected relations, at least one of the group consisting of: an average; a median value; a mode; and a percentile.

    10. The method according to claim 1, wherein the method further comprises modifying one or more of the at least one representative relation within of a set containing representative relations of each combination of the first sensor and each one of the further sensors, wherein the modifying includes correcting the one or more representative relations so as to bring the representative relations in conformity with each other.

    11. The method according to claim 1, wherein the method further comprises: obtaining a reference measurement of the at least one animal related parameter using at least one sensor of the plurality of sensors; and wherein, in addition to the at least one representative relation, the correction parameter is calculated based on the reference measurement.

    12. The method according to claim 11, wherein the reference measurement comprises one or more measurements of the at least one animal related parameter obtained using a reference sensor, wherein the reference sensor is at least one of: an arbitrary sensor of the plurality of sensors; and a calibrated sensor.

    13. The method according to claim 11, further comprising: calculating, for the reference sensor, a correction parameter based on the reference measurement and a calibrated value, wherein the calibrated value is a representative value for the at least one animal related parameter; and calculating, based on the correction parameter of the reference sensor and the at least one relation for each combination of the first sensor and each one of the further sensors, further correction parameters, so as to obtain correction parameters for each sensor of the plurality of sensors.

    14. The method according to claim 1, wherein the first measurement and the one or more second measurements are obtained within a predefined time period, such that within the predefined time period the obtained measurements of the animal related parameter are correlated in accordance with a data trend.

    15. The method according to claim 14, wherein the first measurement is obtained at a first moment of time and the second measurement is obtained at a second moment of time, wherein prior to performing the calculating the one or more relations between the first measurement and one or more second measurements, the method includes: dividing the first measurement by a first calculated estimate and dividing the second measurement by a second calculated estimate, wherein the first calculated estimate and the second calculated estimate are determined based on the data trend.

    16. The method according to claim 15, wherein the data trend is determined based on measurements performed using one or more sensors of the plurality of sensors.

    17. The method according to claim 1, further comprising filtering the one or more second measurements, wherein the filtering is performed using at least one criterion taken from the group consisting of: excluding second measurements from the one or more second measurements for which a measurement result pertains to a statistical outlier; and excluding second measurements from the one or more second measurements dependent on a status of the at least one animal.

    18. The method according to claim 1, wherein the correction parameter includes both a correction factor and an offset, and wherein the correction factor and the offset are obtained, for each of the plurality of sensors, by fitting.

    19. The method according to claim 1, wherein for each one of the one or more of the first measurement and the further measurements, the measurement is obtained within an associated time interval following a preceding measurement, and wherein the one or more of the first measurement and the further measurements are modified to correct for the associated time intervals.

    20. The method according to claim 1, wherein the system for obtaining animal data from a group of animals is a milking system for milking animals of the group of animals, wherein the animals are dairy animals, wherein the sensors of the plurality of sensors comprise at least one element of the group consisting of: a milk meter wherein the measurements comprise measurements of quantities of milk obtained from each of the animals; a conductivity sensor for determining a conductivity of the milk obtained, a color meter for determining a color of the milk obtained, a fat percentage sensor, a protein sensor for determining a specific amount of protein in the milk obtained, a cell count sensor for determining a somatic cell count of the milk, and a lactose sensor for determining a lactose level of the milk.

    21. The method according to claim 20, wherein the correction parameter is a correction factor, wherein the sensors of the plurality of sensors comprise milk meters, wherein the measurements comprise measurements of quantities of milk obtained from each of the animals, and wherein the method further comprises obtaining a reference measurement of the at least one animal related parameter using at least one sensor of the plurality of sensors, and wherein in addition to the at least one representative relation, the correction factor is calculated based on the reference measurement; wherein the milking system comprises N milk meters, and wherein the obtaining the reference measurement comprises: obtaining a total milk yield D from all milk meters in the system during at least one complete milking session; obtaining a sensor milk yield d.sub.i representative of a total milk yield of an i.sup.th milk meter during the at least one complete milking session, wherein 1≤i≤N and i∈custom-character; calculating a system correction factor f.sub.system as: f system = D .Math. i = 1 N d i ; and wherein the calculating the correction factor for a j.sup.th milk meter, wherein 1≤j<N and j∈custom-character and j≠i, comprises calculating f.sub.j as: f j = f system × .Math. i N d i .Math. i N [ d i ( f i f j ) ] .

    22. The method according to claim 1, wherein the system for obtaining animal data from a group of animals is a weighing system, wherein the sensors of the plurality of sensors are weighing units, and wherein the measurements comprise measurements of weights of individual animals from the group of animals.

    23. The method according to claim 22, wherein the method further comprises obtaining a reference measurement of the at least one animal related parameter using at least one sensor of the plurality of sensors, and wherein in addition to the at least one representative relation, the correction parameter is calculated based on the reference measurement, wherein the reference measurement comprises: an average weight of an individual animal obtained by averaging measurements of weights of the respective animal obtained using at least a subset of the sensors, including at least two of the sensors.

    24. The method according to claim 1, wherein the system for obtaining animal data from a group of animals is a feeding system comprising one or more feeding stations, wherein the sensors of the plurality of sensors are weighing units for determining a quantity of feed, and wherein the measurements comprise measurements of quantities of feed consumed by individual animals from the group of animals.

    25. The method according to claim 1, wherein the system for obtaining animal data from a group of animals is a measuring system wherein the sensors of the plurality of sensors are configured for measuring animal related parameters including at least one element of the group consisting of: temperature; color; size; mobility, and behavioral parameters.

    26. A non-transitory computer-readable medium including computer-executable instructions that, when executed by a processor, facilitate carrying out a method in a system for obtaining animal data from a group of animals, for calibrating a plurality of sensors of the system, wherein the sensors are configured to obtain measurements of an animal related parameter, wherein for obtaining the measurements the system is configured for allowing each animal to arbitrary visit one of the sensors, wherein the method comprises: obtaining, for at least one animal of the group of animals, a first measurement associated with a first sensor of the plurality of sensors; calculating one or more relations between the first measurement and one or more second measurements associated with the respective animal, wherein each of the second measurements is obtained using one of a further sensors of the plurality of sensors, wherein the one of the further sensors is different from the first sensor, so as to obtain at least one representative relation for each combination of the first sensor and each one of the further sensors; obtain a reference measurement of the at least one animal related parameter using at least one sensor of the plurality of sensors; and calculate, based on the reference measurement and the at least one representative relation, a correction parameter associated with at least one sensor of the plurality of sensors, for harmonizing an output signal of the at least one sensor with respect to output signals of one or more of the further sensors of the plurality of sensors.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0033] The invention will further be elucidated by description of some specific embodiments thereof, making reference to the attached drawings. The detailed description provides examples of possible implementations of the invention, but is not to be regarded as describing the only embodiments falling under the scope. The scope of the invention is defined in the claims, and the description is to be regarded as illustrative without being restrictive on the invention. In the drawings:

    [0034] FIG. 1 schematically illustrates a milking system in accordance with an embodiment of the present invention, applying a method in accordance with an embodiment;

    [0035] FIG. 2 schematically illustrates a method in accordance with an embodiment of the invention;

    [0036] FIG. 3 schematically illustrates a step of obtaining a reference measurement for use in an embodiment of the invention;

    [0037] FIG. 4 schematically illustrates a step of obtaining a reference measurement for use in an embodiment of the invention;

    [0038] FIG. 5 schematically illustrates a training pen for gilts, including a weighing system wherein a method of the present invention is applied.

    DETAILED DESCRIPTION

    [0039] In the below described embodiments, unless explicitly stated differently, the calculated relations will be referred to as fractions, in accordance with the preferred embodiments. The invention, however, is not limited to fractions only. Furthermore, the correction parameter referred to in this document may be a correction factor or an offset. In the present document, in many occasions reference is made to a ‘correction factor’ whereas the same teaching likewise applies to the calculation of offset values. For example, where offset values are known the correction factors may be accurately determined in the manner described, and where correction factors are known it is possible to determine the offset values. If both are to be determined, it is possible to apply the present invention in combination with a fitting method to determine both the offsets and correction factors.

    [0040] FIG. 1 schematically illustrates a milking system 1 in accordance with an embodiment of the present invention. The milking system 1 is illustrated schematically in order to visualize the transportation of milk and the data communication between the different elements of the system 1. The milking system 1 includes a controller 3 and memory 5. The controller 3 controls various processes of the milking system, amongst which is the data handling of measurement data obtained from the various sensors in the system 1. The milking system 1 comprises a plurality of milking units, including milk meters 8-1, 8-2, 8-3, 8-4 and 8-5 serving as sensors S.sub.1 to S.sub.5 that enable to measure the milk yield for each individual cow 10. Each of the cows 10 of a group of seventy cows may, during a milking session, arbitrarily visit one of the sensors S.sub.1 through S.sub.5 (milk meters 8-1 through 8-5). Each of the cows 10 has been assigned an identifier 11. The identifier 11, denoted as k, is an integer number between 1 and K, wherein K=70 for representing the group of seventy cows.

    [0041] Each of the sensors 8-1 through 8-5 is part of a milking device which obtains milk from the cows 10 that visit the milking device. Milk transportation lines 12-1, 12-2, 12-3, 12-4 and 12-5 convey the quantities of milk obtained from all cows that have visited the respective milking devices. The milk from transportation lines 12-1 to 12-5 is collected in element 13 and conveyed via milk line 14 towards a storage tank 19, which will be unloaded regularly for further handling and processing. Upstream of the storage tank 19, a calibrated and accurate milk flow sensor or calibrated milk meter 15 determines the total quantity of milk D passing through in milk line 14 towards the storage tank 19. The total quantity of milk D measured by milk flow meter 15 includes all the individual milk quantities obtained from the various milking devices wherein the sensors 8-1 through 8-5 are installed, and from all cows 10 milked during that session. The aggregate value D is provided as a data signal to controller 3.

    [0042] Merely as an example, suppose that the cows 10 are milked several times per day, e.g. typically twice a day, for example once at 8 am and once at 8 pm. As may be appreciated, if the cows 10 are milked twice per day, the cows 10 will over a period of a week be milked fourteen times. Ideally, if each cow 10 will individually visit a different sensor 8 during each milking session, then with five milk meter sensors 8 (8-1 through 8-5) each cow on average will visit each sensor 8 approximately three times over a full week. Since there are seventy cows which are milked twice a day for seven days, this will provide a total of approximately a thousand sensor readings. For five sensors 8-1 to 8-5 this will be approximately 200 readings per sensor. The sensor readings may be stored in memory 5 and be used for calculating the correction factors f.sub.1 to f.sub.5 of each sensor 8-1 to 8-5, as will be explained further below. As may be appreciated, the number of readings per sensor 8-1 to 8-5 in this example is largely dependent on the number of cows 10, the number of sensors 8, the number of milkings per day, and the number of days considered (here seven). The above example illustrates that over the course of just seven days, sufficient sensor readings may be obtained for any farm of any size to enable to perform the automatic sensor calibration method of the present invention. Of course, the invention may be applied in very different situations with different measurement frequencies using different numbers of sensors for different numbers of animals. For example, a weighing system for pigs on a breeding farm of approximately 1000 pigs, including 50 weighing stations, wherein the pigs visit an arbitrary weighing station e.g. 6 times per day.

    [0043] The sensor readings for each individual cow 10 during a session are communicated by each of the milk meters 8-1 to 8-5, via each corresponding signal line 16-1 through 16-5, to the controller 3. The controller 3 will multiply each of the received milking yields δ for the specific cow 10 being milked, with a correction factor f.sub.1 through f5, the elements 30-1, 30-2, 30-3, 30-4 and 30-5, which correction factor is associated with the specific sensor 8-1 through 8-5 that provided the reading. To calibrate the system 1, it is necessary to determine the correction factors 30-1 to 30-5 that need to be applied by the controller 3 in order to obtain the correct milk yield volumes from the readings 16-1 to 16-5 from each sensor 8-1 through 8-5. Instead of calibrating each of the sensors 8-1 through 8-5 manually or individually, in accordance with the present invention a different method is applied that enables to perform the calibration automatically.

    [0044] The aggregate value D from calibrated milk meter 15, which is representative of the total quantity of milk D (or sometimes herein referred to as total milk yield D), may be used as a reference measurement to enable said automatic calibration of the other sensors 8-1 to 8-5. However, neither the application of a calibrated milk meter 15, nor the providing of a separate reference measurement, is an essential element of the invention. If a reference measurement is used, the function of providing the reference measurement may be implemented in an alternative manner than by using calibrated milk meter 15 of FIG. 1. For example, in an alternative embodiment, one or more of the sensors 8-1 to 8-5 may be accurately calibrated separately, such that the readings or measurements from these sensors 8 may be used as reference measurements. In fact, if only one of the sensors 8-1 to 8-5 is well calibrated, this obviated the need—for that purpose—for calibrated milk meter 15. As a further alternative, if at least one of the sensors 8-1 to 8-5 is indeed accurately calibrated separately, another possibility is to pre-set the correction factor of this calibrated sensor to 1.000 as a fixed value (or a different correction factor that may have been manually determined during or after calibration), and to mark this set correction factor as a calibrated or pre-set correction factor. The controller may then directly calculate the other correction factors based on the pre-set correction factor, without performing separate reference measurements.

    [0045] Turning to FIG. 2, the method of the present invention is schematically illustrated. To perform calibration, in accordance with an embodiment of the present invention in step 35, the sensor readings for a specific animal 10 with identifier k (element 11) are obtained as indicated by signal input 16. In step 35, also the sensor identifier that provided the sensor reading 16 for this animal is registered. This data may be stored in memory 5 (not indicated in FIG. 2). Then, in step 38, the controller 3 will access historic data from memory 5. From this historic data, the controller 3 may obtain a plurality of sensor readings for the animal 10 with identifier k obtained using different sensors over the period concerned. For example, in the system 1 of FIG. 1, for cow k, if the sensor reading 16 in step 35 was provided by sensor S.sub.1 8-1, then in step 38 the sensor reading from previous milking sessions will be obtained from the memory 5 which were taken with the sensors 8-2 through 8-5 (if available). In step 38, the sensor reading from step 35 will be divided by the sensor readings from the memory 5 obtained in step 38. Averages, a median, a percentile or a mode for each sensor of the sensor readings from the memory 5 obtained in step 38 may be used as a representative value for the sensor 8-2 to 8-5. This will provide a fraction 45 which is representative for each ratio between the correction factors f.sub.1 of sensor S.sub.1 8-1 and each correction factor f.sub.i for sensor S.sub.i 8-i (where i=1 . . . 5 in the system of FIG. 1). These fractions 45 are stored in memory 5. As suggested above, preferably but not essentially the calibration is performed on representative data. Therefore, statistical methods may be applied in order to make sure that the values used for sensor reading 16 and the measurements taken from memory 5 in step 38 are representative for each of these sensors, such as averages, a mode, or a median or a percentile for each of the measurements used in steps 35 and 38. This is not an essential feature and may be dispensed with, or may be implemented differently. Furthermore and also not essential and only in those cases where this may be of relevance, a correction may have to be performed on any sensor readings in order to compare these with each other. For example, for a milk meter, it may be desired to use a time corrected sensor reading (24 h milk yield or similar) before a comparison can be done. The sensor reading in step 35 may then be corrected by dividing it through the interval from the reading before. The sensor readings from the memory may also be divided by the interval between the reading and the one before. The timestamp may be stored in the memory, the interval or the calculated 24 h yield to perform this in a correct way. For example, reading/interval*24 h is may be used.

    [0046] Next in step 40, preferably a reference measurement may be performed. This step will later be explained is FIGS. 3 and 4. The reference measurement 44 will be used to calculate in step 40 a representative correction factor f.sub.n 30-n for sensor S.sub.n. Next in step 42, the fractions 45 calculated in step 38 and the correction factor 30-n calculated in step 40 are used to calculate all the other correction factors f.sub.1 through f.sub.N 30.

    [0047] As explained earlier above, each combination of sensors may be expressed as follows: δ.sub.1/δ.sub.2=f.sub.2/f.sub.1, wherein δ.sub.1 and δ.sub.2 are measurement values obtained with respectively a first and second sensor, and wherein f.sub.1 is the correction factor of the first sensor and f.sub.2 is the correction factor of the second sensor. The fraction δ.sub.1/δ.sub.2 thus enables to calculate f.sub.2, if f.sub.1 can be found in another manner e.g. using a reference measurement or by calibrating one sensor and pre-setting a value. For example, if δ.sub.real is the actual value of the animal related parameter to be determined (e.g. a quantity of milk in system 1), then f.sub.1=δ.sub.real/δ.sub.1, wherein δ.sub.1 is the sensor reading of the first sensor. With this information also f.sub.2 can be calculated via: f.sub.2=δ.sub.1*f.sub.1/δ.sub.2.

    [0048] FIG. 3 schematically illustrates one alternative implementation for performing a reference measurement and calculating a correction factor. In FIG. 3, the correction factor for sensor S.sub.1 is calculated. For example, a known quantity of milk 50 may be provided to milk meter 8-i. After measuring the quantity 16 with the milk meter 8-i, the milk is provided to the milk outlet 12 of the milk meter 8-i. The reading of sensor S.sub.i is denoted as δ.sub.i and is used as a reference measurement 44 in step 40. Because the real quantity of the milk 50 is known (for example using a calibrated milk meter of manually) this provides a calibrated value δ.sub.real 52 that is provided to step 40. In step 40, the correction factor f.sub.i of sensor S.sub.i 8-i may be calculated directly from the input δ.sub.real and δ.sub.i. The correction factor f.sub.i is illustrated as element 30-i of FIG. 3. Optionally, multiple measurements may be used from which a statistical representative value is chosen as the f.sub.i 30-i. This may be done to improve accuracy of the real correction factor.

    [0049] FIG. 4 illustrates an alternative method to perform a reference measurement. This alternative method of FIG. 4 may be applied in the milk system 1 of FIG. 1. The milking system 1 of FIG. 1, however, is just one example of a system wherein the method of FIG. 4 may be applied. The method of FIG. 4 may likewise be applied in a different system, for example a system wherein transportation of other quantities is measured. To mention a typical example thereof, a feeding system wherein quantities of consumed feed are to be measured which are consumed by each individual animal of a group of animals may similarly apply a method as illustrated in FIG. 4 in order to perform a reference measurement automatically to allow automatic calibration. Using the example of FIG. 1, the method of FIG. 4 may be explained as follows.

    [0050] Each of the S.sub.1 through S.sub.n denoted by 8-1 through 8-N provides a plurality of individual quantities of milk obtained from a number of individual cows. The quantities measured by each of the sensors are denoted by δ.sub.ik, wherein i denotes the sensor number ranging from 1 to N, and wherein k denotes the cow number or cow identifier ranging from 1 to K. In the system of FIG. 1, there are five milk meters, so therefore N=5. Also, as mentioned, there are a total of seventy cows, so therefore K=70. During a single milking session, the cows arbitrarily visit one of the sensors S.sub.1 through S.sub.5 of FIG. 1, and therefore the milk quantities δ.sub.ik provided by signal line 16 from each of the sensors 8-1 through 8-N will only include milk quantities from a subset of the animals 10 in the group. Therefore, in FIG. 4, for example for sensor S.sub.1 8-1, the reference to δ.sub.11 . . . δ.sub.1K does not mean that sensor 1 provides the milk quantities δ for all cows in the group. Only the milk quantities of those cows that have visited the first sensor S.sub.1 8-1 are provided by sensor S.sub.1 to the controller 3.

    [0051] In calculations tabs 56-1 through 56-N, the milk quantities δ.sub.ik for each of the sensors 8-1 through 8-N will be summed. This will provide the total sensor milk yields 57 denoted for each sensor S.sub.i by the letter d.sub.i. Thus, for the sensors 8-1 through 8-N, this will provide the total sensor milk yields d.sub.1 through d.sub.N. The data symbol 57-1 through 57-N for d.sub.1 through d.sub.N are provided to further summation step 58 in order to calculate the total measured milk yield D′. The quantity D′ provides the total milk yield for all milk meters based on the measured quantities of the milk meters 8-1 through 8-N themselves, i.e. without being corrected by a correction factor 30-1 through 30-N.

    [0052] In FIG. 1, an accurate and well calibrated milk meter 15 is present directly upstream of the milk storage tank 19. This milk meter 15 provides a calibrated reference for the total milk yield of all sensors together. This calibrated total milk yield provided by sensor 15 is denoted D. The quantity D provided by a sensor 15 and the measured total milk yield D′ provided as in group 44 are provided to step 44, as illustrated in FIG. 4. In step 40, a correction factor of f.sub.system is calculated for the whole milking system 1 based on D and D′. Similar to calculating Lin FIG. 3, in step 40 of FIG. 4, f.sub.system is calculated by dividing D by D′: f.sub.system=D/D′. This system correction factor f.sub.system is provided as output 55 to step 42.

    [0053] In step 42, the system correction value f.sub.system 55, the measured total sensor milk yields d.sub.1 through d.sub.N, and the fractions 45 obtained using the method of FIG. 2 are all used in order to calculate each individual correction factor f.sub.j (wherein j is an integer value between 1 and N, denoting the sensor number of the individual sensor with which the correction factor is associated). In FIG. 4, the correction f.sub.j is denoted by 30-j. Using the above mentioned inputs, these correction factors f.sub.j may be calculated by:

    [00005] f j = f system × .Math. i N d i .Math. i N [ d i ( f i f j ) ]

    [0054] The correction factor f.sub.j may be stored in memory 5 for correcting the measurement values of each individual sensor S.sub.1 through S.sub.N 8-1 through 8-N.

    [0055] FIG. 5 illustrates an alternative system wherein the calibration of the present invention may be applied. In FIG. 5, a gilt training pen 60 is illustrated. The gilt training pen 60 comprises a fence 63 having an entrance 68 and an exit 69. Internally, the pen 60 is separated by a separation fence 62 which divides the pen 60 in two different areas. In the first area, the water system 66 provides water to the gilts 10. In the second area, a plurality of feeding systems 65 provided feed to the gilt 10. The gilts 10 may walk free between the first area and second area via the passages 70 and 71. In each of these passages 70 and 71, and optionally also in the entrance 68 and exit 69 to the pen 60, weighing units 8 may be present which enable to weigh each animal 10 passing through. Furthermore, each of the weighing units 8 also enables to identify the animal 10 passing through, for example by using RFID ear tags on the animals 10. The weight measurements from each of the weighing units 8 are provided to a controller 3, together with an animal identifier and such that the weighing unit 8 that performed the weighing can be identified. Furthermore, measured weights from each of the weighing units 8 is registered together with the identified animal number of animal 10 and the sensor number of the weighing unit 8 in memory 5. Typically, although the weights of the animals 10 varies slightly throughout the day due to consumption of food and excretion, the averages of these measured weights will only gradually change. Over the course of a couple of days, no drastic changes to the weight of each animal 10 is to be expected. Therefore, in the same way as in the milking system described here and before, the data from the weighing units 8, even though slide variations are present, more or less followed a trend. The data for weighing units 8 is therefore predictable.

    [0056] Equivalent to the calibration of the milking system, representative values of the measured weights by each of the sensor units 8 may be obtained by for example averaging the measurements over the course of a couple of days, and calculating the fractions between the data from each sensor 8 with every other sensor in the system. This may be done based on the history data registered in the memory 5. A reference measurement to perform automatic calibration may be provided in various different ways, or may be dispensed with if one of the correction factors is made available in a different manner. For example, if one of the weighing units 8 is accurately calibrated, the correction factor for this weighing unit may be known, and the correction factor for all other weighing may be calculated as explained here and above. Alternatively or additionally, it is also possible to use an average over all weighing units 8 as a reference measurement. Although the latter may be slightly less accurate and slightly more prone to error, this may be convenient because no further reference measurements are then needed. This may be done, for example, if there is no bias in the devices. For the milk meter all correction factors f may be greater than 1, so a mean measurement will not provide a reliable reference measurement. However, if it would be known that on average a milk meter has a correction factor of f=1.10, then this information may be added and indeed an average measurement may be used. As a further alternative, the weights of one or more of the animals 10 may be obtained using a different calibrated scales, and the reference weight may be provided to the controller 3.

    [0057] As explained above, although not illustrated in FIG. 5, the watering system 66 and each of the feeding stations 65 may likewise be part of one or more systems to which the calibration method of the present invention may be applied. Similar to a milking system such as system 1, the feeding system 65 or a watering system 66 can be used to measure quantities associated with individual animals. Although the milking system 1 measures quantities of milk provided by each animal 10 and gathered in a storage tank 19, the feeding system 65 provides quantities of feed to each individual animal 10, which can be measured by individual sensors in each feeding station 65. The same is true for a watering system 66. In addition to the above mentioned example, the method of the present invention may be applied to other farming systems that perform measurements amongst a group of animals 10, associated with individual animals thereof. The present invention is not limited to application in the above mentioned examples only.

    [0058] In the above, amongst others, the calculation of representative values 45 for each ratio between the correction factors f.sub.1 of sensor S.sub.1 8-1 and each correction factor f.sub.i for sensor S.sub.i 8-i (where i=1 . . . 5 in the system of FIG. 1) has been discussed as example. It is to be understood that an optional additional step to this may be to perform a further processing step wherein these values 45 are evaluated and—where desired—corrected in order to make them consistent. In principle, the fractions for each combination of sensors in total may be set in a matrix, which matrix should form a consistent and reciprocal matrix. On it's diagonal, the values are equal to 1 by definition (as it provides the fractions of each sensor with respect to itself). Off the diagonal, the values above and below the diagonal must be consistent in that e.g. f.sub.2/f.sub.1 must be the reciprocal of f.sub.1/f.sub.2. Furthermore, (f.sub.i/f.sub.j)×(f.sub.j/f.sub.k)=(f.sub.i/f.sub.k) must be valid. In those cases where discrepancies are found, the matrix may be made consistent again. This can be done by weighing or penalizing the values dependent on their consistency.

    [0059] One of these manners of making the matrix consistent again applies theorem five of Benitez. Given a reciprocal matrix A, the method finds the consistent matrix Y for which a certain distance (defined by the Frobenius norm of the difference between log(A) and log(Y)) is minimized (see theorem 2 of Benitez). For this matrix Y, the off-diagonal elements are modified such that they are consistent.

    [0060] Another manner is based on statistical principles. The accuracy of the statistically representative fractions are given by the errors on such values. For example, the error on a mean value is given by the standard deviation (std) divided by the square root of the number of measurements used:


    Error on mean(f.sub.1/f.sub.j)=std(f.sub.1/f.sub.j)/sqrt(N).

    [0061] To fine-tune the statistically representative ratios such that they become consistent with each other, one may apply the freedom available for each value to adapt them. Thus, besides the statically representative ratios f.sub.1/f.sub.j (e.g. mean or median) also the standard deviation needs to be calculated. If a fraction from a trial solution deviates more than the ‘error on the mean’ from the original median fraction observed, then this trial solution may be more penalized than a solution which remains relatively close to the median ratios observed. Similarly, penalties may be given to ratios that are not consistent with each other. If the multiplication of the trial ratios of (f.sub.i/f.sub.j) and (f.sub.j/f.sub.k) does not equal (f.sub.i/f.sub.k), then a penalty will be given. More penalty points may be given if the deviation is greater. In the end, the trial solution for which the fractions result in the least penalty points, may be denoted as the best or most consistent solution.

    [0062] In addition, a brute force method, Markov Chain Monte Carlo modelling, or any other fitting/optimizing modules can be used to search for the most consistent solution.

    [0063] The present invention has been described in terms of some specific embodiments thereof. It will be appreciated that the embodiments shown in the drawings and described herein are intended for illustrated purposes only and are not by any manner or means intended to be restrictive on the invention. The context of the invention discussed here is merely restricted by the scope of the appended claims.