Examination of milking animals

Abstract: A method of examining a milking animal presenting for milking including examining the animal with an optical (as herein defined) sensing device (C1,C2) responsive to at least one characteristic significant in the acceptability of an animal for milking, assessing the response of the sensing device to determine the acceptability of the animal and controlling the continuance of the presentation of the animal in dependence on said determination.

Description: This invention relates to the examination of a milk animal for cleanliness, When milk is taken from a milk animal using a milking machine, that is by teat cups operated by vacuum pulsation and connected to a milk receiver, it is important to ensure that unwanted material from off the teats or udder does not enter the milk taken into the receiver. Conventionally an operator looks at the teats and udder of the animal to check for dirt and cleans them if dirt is seen. It is also usual to check the teats and udder for injury. While washing the teats and udder before every milking appears to be an appropriate procedure there is evidence that a selective approach would be better, avoiding excessive washing and the possible spread of pathogens. Such an approach requires an effective examination technique which can be operated automatically. According to WO-A-9 219 098 there is provided a method of examining a milking animal presenting for milking including examining the animal with an optical sensing device responsive to light within the range of infra red, visible and ultraviolet light and responsive to at least one characteristic significant in the acceptability of an animal for milking, assessing the response of the sensing device to determine the acceptability of the animal and controlling the continuation of the presentation of the animal in dependence on said determination characterised in that the optical sensing device is receptive to fluorescence or absorption of light by a material associated with an animal condition unacceptable when an animal presents for milking. It is an object of the invention to provides techniques which check for dirt, injury and other unwanted conditions. References herein to optics, light and image and the like are not limited to visible light, the term light including the range of infra red, visible, ultra violet and similarly effective wavelengths. The invention is related to a method comprising the steps of claim 1. Preferably the fluorescence or absorption are characteristic of chlorophyll, earth and/or injury. For example the sensor may be sensitive to the absorption wavelength of chlorophyll and be directed to the area of the teats and udder of the animal. Alternatively it may be sensitive to the fluorescence of chlorophyll. In a preferred method radiation is supplied which is capable of causing this fluorescence or absorption; preferably being supplied to the teats and udder. The assessment may include the step of deciding whether the indicated presence of a material associated with an unacceptable condition is sufficient to cause the ending of the presentation. In a preferred form of the invention there is provided a method of examining a milking animal presenting for milking as described above including providing a reference record of spectral characteristics of a clean teat, capturing the spectral characteristics of each teat of an animal presenting for milking, comparing the recorded and captured characteristics and applying the result of said comparison to control the continuation of the presentation of the animal. The spectral characteristics may be taken directly from a teat or indirectly from an image of a teat. The spectral reference record may be a generalised record or a record for the specific animal presenting for milking. The sensor may be receptive to the absorption by chlorophyll or other material of specific radiation wavelengths, preferably in the range of wavelengths including the infra red, visible and ultraviolet wavelengths. The sensor may be receptive to the increased absorption by the teat and any material thereon of specific radiation wavelengths, preferably in the ranges of wavelengths including 670 to 690, 530 to 575 nanometres and a normalised wavelength in the near infra red. If following the comparison the decision is that the presenting animal is not to be milked without further action the animal may be cleaned as required or directed elsewhere for cleaning, examination or other action. According to the invention there is provided an apparatus for the examination of a milking animal presenting for milking according to claim 9. The apparatus may include means responsive to said indication to control the continuation of the presentation of the animal. The indication may be a visual, audible or like indication for an operative. Preferably the fluorescence or absorption are characteristic of chlorophyll, earth and/or injury. Preferably a radiation source is provided on the apparatus which is capable of causing the fluorescence. Preferably this is supplied to the teats and udder. Embodiments of the invention will now be described with reference to the accompanying drawings in which: Figure 1 shows apparatus for a milking animal examination method according to the invention, and Figures 2 and 3 show graphs useful in understanding the invention. Figure 1 shows a milking animal, in this example a cow, MA, standing in a stall having a floor F and guide members G1 and G2. The stall may have a step ST so that the animal adopts an attitude convenient to the animal which also improves the visibility of the udder and teats. Conventional means to control the access and egress of the animal are represented by hinged movable bars B1, B2, suitable controls (not shown) being provided for these. No exact form of stall is given as the details of suitable forms are well-known in the art and will only be referred to when relevant to the present invention. The equipment for an examination method according to the invention includes camera or like imaging devices C1 and C2. These are connected to a control unit CU. A light source or sources exemplified by unit LS is also connected to the control unit CU. The source or sources may provide structured light, e.g. a grid or dots. The control unit has a connection for a power source PS, such as the alternating current mains. (Suitable protection against electric shock in case of fault or damage must be provided in any suitable manner.) The control unit has an indicator IN to indicate the result of the examination shown by way of example in a simple form as pass (a tick) or fail (a cross), although clearly any suitable indication including more than one aspect of the examination and a degree of attainment of a required pass level is possible. A signal/control connection INS is provided for connection to associated control equipment, such as an automatic milking system, to control the access of the animal and the egress to an, or possibly alternative, exit(s). Such systems are now well-known in the art, for example UK PS 2226941, which is incorporated herein by reference. The light source LS and imaging devices C1 and C2 are arranged to respectively illuminate the teats and udder of an animal in the stall and receive images of these. The light may be adapted to assist in revealing shape, texture or other aspects of the illuminated region. Conveniently the imaging devices are forward of, to each side of and below the level of the teats and udder to give a clear view. Images from the devices C1 and C2 are collected and compared in control unit CU by suitable signal processing means readily devised by those skilled in the art. The devices C1 and C2 may take still or moving images and are conveniently of the video type. In operation of the apparatus for one method of the invention a specific animal is placed in the stall. A reference image of the illuminated teats and udder is formed by the imaging devices and collected and stored in the control unit or elsewhere as appropriate to the specific animal. The reference image shows the teats and udder in a state suitably clean and ready for milking. To this end the reference image needs to record details such as colour and pattern so that dirt, injury or other unwanted condition can be detected if present at a subsequent examination. The reference image identified with the animal is stored for recovery when required. At a subsequent presentation of an animal the animal is identified and the appropriate reference image recovered. A further image is then formed of the presenting animal and compared with the reference image. Either the animal should be in approximately the same position so that the images are similar in general form to permit ready comparison or appropriate image handling techniques applied to take account of a different position. The result of the comparison is indicated at IN in any convenient manner, as mentioned above. In dependence on the result of the comparison the animal can proceed to be milked, have the dirty teats cleaned and then proceed to be milked or directed to an area where further checks can be made, for example by an attendant. The image can be of various forms. If signal processing capacity is sufficient full-colour real-time images can be used and compared. However to reduce signal processing demands simplified images can be used. In particular a generalised reference image may be used. In many animals the teats and sometimes the udder have a colour pattern. This colour pattern image can be reduced to numerical information about the image, for example a ratio of the areas of the colour pattern without information on the actual shapes of the pattern. If dirt or other changes occur the ratio of the reference image will not be repeated at a further image and the presence of dirt etc. will be found on comparison of the ratios and provide the required indication. It will be noted that two imaging devices at different angles to the animal are shown. Additional imaging devices may be used or the animal can be in a different position to improve image capture. This permits the reference and further images to be "three-dimensional" in nature. This term is not intended to relate only to a fully three-dimensional image but to one in which the different angles of view permit the greater part of the teats and udder to be examined without one teat obscuring another teat. Also the finding of a required object, such as a teat, against the background, such as the stall or building, can be aided by such techniques. Another form of image analysis can be the use of a "template" which is recorded and compared by a suitable technique, for example overlay, with a subsequent image template. The exact degree of match depends on the accuracy required. The template can be "flexible", that is adjustable in response to known variability in the form of teats and the udder. As before discrepancies indicate the possible presence of contaminants or teat damage. Clearly automatic techniques of image analysis can be applied and a robotic device is appropriate. Reference has been made above to full-colour images. References herein to light and colour are not to be limited to visible light, including the range of infra red, visible and ultra violet wavelengths. Selected wavelengths in this range can be used. These need not be a complete spectrum but selected wavelengths only may be used. Dirt and the like, as above, will alter the spectrum or spectral characteristics. A further technique in accordance with the invention uses a light source, or an additional light source, such as those outlined above which will cause specific expected unwanted material on the udder or teats to fluoresce or absorb light so that the further image will include a fluorescent effect or increased absorption of light. Specifically at wavelengths in the region of 670 nanometres there is substantial absorption by chlorophyll and chlorophyll is generally present in dirt associated with milking animals, such as manure. Miniature devices now available, such as single chip cameras, permit the examination to be carried out by equipment which examines the whole surface of an individual teat by encircling it, for example by being spun around the teat, or by entering among the teats. The examination may be carried out before an animal enters a milking stall or when it is in the stall. The examination apparatus may be carried by a robot which may be a robot for a milking apparatus. A laser stripe technique such as those known in the imaging art may be used to assist in determining the location of a teat to be examined. The cycle of operation for examination and cleaning of the teats should generally be short. Based on the expected behaviour of an animal presenting for milking the entry of an animal into a stall, whether the milking stall or a preliminary stall, may start the milk ejection reflex which thus sets a time of some 120 seconds for the completion of examination and cleaning. This gives no more than 25 seconds for each teat, assuming one device moving to each teat in turn. A saving in time at the cost of increased complexity might be achieved with two devices. However such time constraints may not always apply, particularly if a contact-free examination, such as the remote-sensing image comparison described above, is employed. To examine the teat a technique of determining the response to illumination is used. Specifically reflectance measurements from a teat are made through a monochromator in the range 300 to 1100 nanometres, although other ranges may be used. The time for one scan over the range is some 80 milliseconds and to improve the signal to noise ratio 50 scans are made and averaged in some 4 seconds. The illumination is based on a tungsten halogen lamp, with light transmission through a bifurcated glass fibre light guide some 0.5 metre in length to and from the sensor which will generally need to be close to the teat. The light guide path from the teat is applied to the monochromator and spectrum analyser (Monolight Instruments type OSA6100). From measurements of reflectance from teats known to be clean and others known to be contaminated and by comparison with a standard reflecting surface (Spectralon SRS-99-020, Oriel Scientific Ltd.), the effect of contamination and distance from a teat can be assessed. Figure 2 shows the reflectance (R) and second derivative of reflectance (d 2 R) for a white teat (WT) and a black teat (BT). The white teat has a number of prominent spectral features while the black teat is relatively featureless, as indicated also by the second derivative being almost flat throughout the range of examination. Figure 3 shows the reflectance of earth (E) and manure (M). Manure has a distinct characteristic with strong absorbance at about 670 nanometres, the chlorophyll absorption band. The characteristic for earth (E) is without significant features and the second derivative is almost flat, similar to the one for the black teat. However there is somewhat higher reflectance for earth in the near infra red. The distance between the end of the light guide and the teat can affect the measured reflectance, not merely reducing the size of the signal, so some control of distance during measurements may needed. The reflectance of clean teats and contaminated teats, at least for earth and manure contamination, thus have specific distinct characteristics which permit the detection of contamination in certain situations. In particular by using certain wavelengths and comparing the reflectance at each wavelength the required examination can be made. It has been found that the bands 670 to 690 and 530 to 575 nanometres and a normalised wavelength in the near infra red together permit the identification of contamination by manure or earth on white or black teats. By using filters appropriate to these wavelengths a compact sensing arrangement is possible. Clearly the invention is not limited to these bands or wavelengths. The examination techniques set out above can be applied directly to the teat or other area of interest or can be applied to an image if this is of sufficient resolution and sensitivity to permit examination at a remote position. Furthermore if the position of a teat or other area of interest can be determined, for example by a laser stripe pattern matching, examination is possible without having a detailed image of the teat or other area. The methods and apparatus described above provide techniques for checking milking animals for dirt, injury and other unwanted conditions and indicating whether or not an animal presenting for milking is to be milked.

Claims: A method of examining a milking animal (MA) presenting for milking including examining the animal (MA) with an optical sensing device (C1, C2) responsive to light within the range of infra red, visible and ultraviolet light and responsive to at least one characteristic significant in the acceptability of an animal for milking, assessing the response of the sensing device to determine the acceptability of the animal and controlling the continuance of the presentation of the animal in dependence on that determination, characterised in that the optical sensing device is receptive to fluorescence or absorption of light by manure, the method including (a) providing a sensor sensitive to the absorption wavelength of chlorophyll and/or (b) supplying a radiation capable of causing fluorescence of chlorophyll and applying the radiation at least to the area of the teats of the animal, and in either case (a) or (b) directing the sensor to the area of the teats of the animal. A method as claimed in Claim 1 characterised in that it includes the step of deciding whether the determination indicates an unacceptable condition sufficient to cause the ending of the presentation. A method as claimed in Claim 1 or Claim 2 characterised in that the characteristic is variation of reflectance with wavelength. A method as claimed in any one of Claims 1 to 3 characterised in that the characteristic is a derivative of the variation of reflectance with wavelength. A method as claimed Claim 4 characterised in that the characteristic is the second derivative of the variation of reflectance with wavelength. A method as claimed in any one of Claims 1 to 5 characterised in that it provides a sensor effective in at least the ranges of wavelengths 670 to 690, 530 to 575 nanometers and a normalised wavelength in the near infra-red. Apparatus for the examination of a milking animal (MA) presenting for milking including an optical sensing device (C1, C2) responsive to light within the range of infra red, visible and ultraviolet light and responsive to at least one characteristic significant in the acceptability of an animal for milking and effective in operation to provide an output in dependence on such response, means to support at least the device in the vicinity of the animal and in sensing range thereof and means responsive to said output to assess the response of the sensing device, characterised in that the device includes a light sensor receptive to fluorescence or absorption of light by manure, and further characterised (a) in that the sensor is sensitive to the absorption wavelength of chlorophyll and/or (b) by means for supplying radiation capable of causing fluorescence of chlorophyll.

Inventors: BULL CHRISTINE ROBERTA, MOTTRAM TOBY TREVOR FURY, SPENCER DIANE SUSAN, STREET MICHAEL JOHN, TILLETT ROBIN DEIRDRE, BULL, CHRISTINE ROBERTA, MOTTRAM, TOBY TREVOR FURY, SPENCER, DIANE SUSAN, STREET, MICHAEL JOHN, TILLETT, ROBIN DEIRDRE
Applicants: BTG INT LTD, BTG INTERNATIONAL LIMITED
Application year: 1993
Main classification: A01J7
IPC codes: A01K1, A01J5