(19)
(11) EP 0 377 478 B1

(12) EUROPEAN PATENT SPECIFICATION

(45) Mention of the grant of the patent:
03.05.1995 Bulletin 1995/18

(21) Application number: 90200013.2

(22) Date of filing: 03.01.1990
(51) International Patent Classification (IPC)6: B07C 5/342

(54)

Apparatus for inspecting bulk goods

Gerät zur Schüttgutprüfung

Appareil pour inspecter des matières en vrac


(84) Designated Contracting States:
DE ES FR GB IT NL

(30) Priority: 06.01.1989 NL 8900037

(43) Date of publication of application:
11.07.1990 Bulletin 1990/28

(73) Proprietor: HEUFT SYSTEMTECHNIK GMBH
D-56659 Burgbrohl (DE)

(72) Inventors:
  • De Vreede, René
    NL-7421 CB Deventer (BE)
  • Rijkers, Robin
    NL-7423 CL Deventer (BE)

(74) Representative: Gritschneder, Martin, Dipl.-Phys. et al
Patentanwälte Abitz & Partner Postfach 86 01 09
81628 München
81628 München (DE)


(56) References cited: : 
EP-A- 0 104 369
FR-A- 2 430 272
US-A- 2 645 343
EP-A- 0 194 148
GB-A- 1 283 902
US-A- 4 235 342
   
       
    Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


    Description


    [0001] The invention relates to an apparatus for inspecting bulk goods, such as vegetables, tobacco, granulates and the like, having an average colour within certain tolerance limits, said apparatus comprising:
       drivable conveyor means;
       dispensing means for pouring the bulk goods on the conveyor means in such a way, that said goods form thereon a single layer;
       a light source for illuminating the bulk goods transported by said conveyor means, said light source being positioned above the conveyor means;
       a video camera for forming first video signals corresponding to the picture of the bulk goods illuminated by said light source from the side of the video camera and
       a signal processing unit having
       a memory, in which previously said colour and the associated tolerance limits are stored;
       means for forming from the first video signals second video signals representative of the colour of the bulk goods observed by the video camera and
       comparing means for comparing the contents of the memory with the second video signals and generating a reporting signal in case of a detected difference.

    [0002] Such an apparatus is e.g. known from EP-A-104 369 and US-A-4 235 342.

    [0003] In the prior art with the inspection of coloured objects a problem may occur as a result of the colour transition between the conveyor means and an object observed by the video camera. In large number of colour CCD-cameras the colour value of each individual pixel is not exactly known. Over the CCD-chip a colour filter is provided transmitting per pixel one of the basic colours red, green or blue, such that for every pixel a colour is determined. The other colours are interpolated from the colours of adjacent pixels. At a transition from the conveyor means to the object as a result hereof in the camera spurious and disturbing colour variations may occur around the object, that later have to be filtered out electronically in the signal processing unit. It cannot be avoided that such a filtering has negative consequences for the detection accuracy of colour deviations of the product.

    [0004] FR-A-2 430 272 discloses an apparatus for inspecting bulk goods wherein the colour and the aspect of the conveyor is choosen as similar to correct bulk goods as possible.

    [0005] The invention as claimed in claim 1 solves the problem of how to improve the detection reliability and the detection accuracy.

    [0006] The diffusor means may be designed as the conveyor means themselves, that e.g. can be provided with a diffusing lower or upper surface or be opal, whilst also use may be made of a diffusor plate between the conveyor means and the second light source.

    [0007] The colour means in question may be engineered in different ways. E.g. use may be made of a light source emitting itself light of the desired colour, whilst also use may be made of a colour filter, that is only transparent for the desired colours. This filter may form part of the conveyor means themselves, e.g. be designed as a coloured transparent foil.
       By preference
       the memory is designed as a table (LOOK UP TABLE: LUT) having discrete contents;
       the second video signals are transferred into digital format by means of an analog/digital convertor; and
       the digitized second video signals are supplied to the table as an address therefore.

    [0008] The colour signals may correspond with the three basic colours red, green and blue, each having a chrominance component and a luminance component.

    [0009] With such a detection on basis of colour observation a very high degree of detection accuracy is realized. The transfer into digital format can take place in this case such that the analog/digital convertor transfers the luminance component of each of the colour signals into digital format of at most eight bits.

    [0010] The camera can be of the matrix type or the linear type. In case of a matrix camera one can use e.g. mutually partially overlapping pictures, if desired, with intermittent illumination in which case the light source is adapted thereto. Of course, also use may be made of a continuous illumination.

    [0011] The camera can also be of the linear-array type, in which case the light sensitive elements extend in a direction having a component transverse relative to the conveyor means.

    [0012] In a further embodiment the apparatus can comprise selective means for amplifying or attenuating parts of the video signals. This can be engineered e.g. as offset-means for bringing the video signals in a desired band.

    [0013] In case of a video signal on basis of the three basic colours, the three components from the basis of a six-dimensional space. The reflections of the product and the picture of the conveyor means, particularly a conveyor belt observed by the video camera give picture elements, generally indicated as pixels. These pixels form clusters in the six-dimensional space. These clusters can mutually contain each other in total or in part. Also reflections from the undesired elements to be detected form clusters in this more dimensional space. The signal processing apparatus can distinguish between these clusters.

    [0014] When using the look up table or LUT the contents of the address determines whether the pixel in question is a picture of a product element, of the background (e.g. the conveyor means) or an undesired element to be detected. The address is supplied to a processing element that on basis of the frequency of occurrence and/or the values of pixels in the vicinity takes a decision relative to the classification of the pixel in question. These data are supplied to a control unit that on basis of the pixel in the picture takes a decision on basis of which the mentioned report signal can or can not energize an ejection station.

    [0015] The invention will now be explained with reference to the accompanying drawing. In the drawing:

    Fig. 1 is a schematic perspective view of a first embodiment;

    Fig. 2 is a perspective view partially broken-away and schematically shown of a second embodiment;

    Fig. 3 is a strongly simplified block schematic view of an embodiment of the signal processing unit; and

    Fig. 4 is a block schematic view of a digitizing unit.



    [0016] Fig. 1 shows an apparatus 1 for cleansing of bulk good present in a bulk container 2. To this bulk container 2 a funnel 3 is connected for supplying through a dispensing device 4 engineered as a turnstile-lock a thin layer 6 of the bulk goods. The turnstile-lock 4 is driven by a motor 7 in order to achieve the desired dispensing.

    [0017] The conveyor belt 5 is driven at a speed such that in combination with the speed determined by the adjustment of motor 7 the desired thickness of the layer of bulk goods is obtained.

    [0018] On some distance down stream relative to the turnstile-lock 4 an inspection device 8 is arranged comprising in this embodiment to tubular flash lamps 9, 10 and a video camera 11. This video camera 11 can supply its output signals to a signal processing unit 12 that can supply control signals to a pneumatic control unit 13 that can energize a pneumatic cylinder 14 on basis thereof. This pneumatic cylinder 14 serves the purpose of causing a swinging movement of a strip 16 around a shaft 15 parallel to the width of the conveyor belt 15, said strip 16 extending over the whole length of transport belt 5. In the situation shown in fig. 1 the strip 16 is in its upper position in which it does not disturb the free path of the bulk goods 6 thrown away by conveyor belt 5 in such a way that this bulk goods can be caught in a bulk container 18 over a screen 17.

    [0019] In the embodiment according to fig. 1 the apparatus 1 also comprises two tubular flash lamps 81, 82 controlled in synchronism with tube lamps 9 and 10 by the signal processing unit 12 for emitting a light flash. In this embodiment according to fig. 1 the conveyor belt 5 is transparent and between the conveyor belt 5 and flash lamps 81, 82 a diffusor plate 83 is arranged for diffusing the light emitted by lamps 81, 82 and besides being coloured in correspondence with the colour of the transported bulk goods 6. Thus the video camera sees a background having the same colour as the colour of correct bulk goods. For as good as possible a detection reliability and detection accuracy preferably the intensities of the respective light sources 9, 10 and 81, 82, 83, 5 are mutually adapted, as a result of which the respective gray values of the background and the products or the bulk goods to be inspected differ only little.

    [0020] In a situation not shown in fig. 1 as a result of energizing the pneumatic cylinder 14 the strip 16 is positioned in its down position as a result of which the free path of the bulk goods thrown away by conveyor belt 5 is temporarily interrupted, so that a certain amount of that bulk goods is deflected and caught in a second storage container 19 in which all rejected bulk goods are gathered for dumping.

    [0021] Fig. 2 shows a different embodiment 20, in which no use is made of only one strip 16, but rather eight aligned plates 21 - 28. All plates are up and down swingable under control by pneumatic cylinders of which those added to plates 23 - 28 are indicated with reference numerals 29 - 34. In the situation shown in fig. 2 the pneumatic cylinders 29 and 30 are activated, as a result of which the plates 23 and 24 are brought into the free path of the bulk goods 6 due to which the corresponding part thereof is deflected in downward direction. The free path is indicated with 35 and the deflected path is indicated with 36.

    [0022] Also in this embodiment a screen indicated with 37 is present in order to avoid undesired straying of the loose bulk goods.

    [0023] The displacement of the plates 21 - 28 is controlled by video cameras 38 - 45 that observe in the manner indicated schematically with interrupted lines 46 a zone of the layer 6 bulk material for generating their output signals and supplying them to a not-shown signal processing unit that in accordance with the construction of the apparatus according to fig. 1 uses the output signals of the video camera 38 for the control of plate 21, those of camera 39 for plate 22, etcetera.

    [0024] Fig. 3 shows schematically the construction of an embodiment of a part of the inspection apparatus according to the invention.

    [0025] The video signals supplied by a video camera, in this example video camera 11 comprise the colour components red (R), green (G), blue (B). These colour components supplied by camera 11 or a preprocessor making RGB from composite video are each supplied to a respective digitizer 61, 62, 63. These digitizers are mutually identical. In fig. 4 the block schematic construction of unit 61 is shown and explained with reference thereto.

    [0026] Each digitizer 61, 62, 63 supplies in this embodiment six-bits information that is related to the strength of the related input signal. The three times six bits are simultaneously supplied to a look up table or LUT 64 having a width of eighteen bits. These eighteen bits determine unambiguously an address location in the LUT 64. The contents of the LUT 64 is determined in a learning phase to be herein described in more detail and comprises one- to eight-bits information or the colour combination which is determinative whether or not a certain signal composition indicates a product, the transport conveyor, or defects. This one to eight bits information is then supplied to an post-processor 65 that determines the relation of each pixel relative to its neighbours. This unit may e.g. be the unit APA-512-MX that is supplied by the Australian firm Vision Systems. This unit is capable of generating a large number of data regarding the magnitudes and shapes of surfaces of neighbouring pixels having corresponding bit values. The unit 65 can also be a so-called SNAP (Systolic Neighbourhood Array Processor) in combination with a so-called feature-max, such as e.g. sold by the firm Datacube, United States of America. The SNAP is capable of classifying a pixel in combination with its eight most close neighbours. This classification can be stored in the feature-max. A central control unit 66 eventually controls the reading-out of the post-processor 65 and, on basis of previously determined criteria takes a decision relative to the energizing, if necessary, of an ejector (see figures 1 and 2). This central control unit also controls the initializing of each part and the control of the whole signal processing.

    [0027] Monitoring of the process can take place by means of a monitor 73 receiving signals from the output of LUT 64 through a DA-converter 74.

    [0028] Fig. 4 shows as an example the block schematic form of digitizer 61. The video information at the input 67 hereof is supplied to a sync-stripper 68 that removes the video control signals from the input video signal. Then the signal is amplified by a controllable amplifier 69 and provided with a controllable offset in an offset unit 70. The signal supplied thereby is digitized by a six-bits analog/digital-converter 71. The output signal thereof is supplied to a LUT 72 for further processing, e.g. inversion. As indicated in fig. 4 control takes place from the central control unit 66.

    [0029] During the "learning phase" for a large number of different objects of the products the eighteen-bits colour information of product and background is determined. This information results in a histogram in the three-dimensional colour space. From this histogram it is deduced which combination of the eighteen bits can be classified unambiguously as product, which as background, which as reflections, and which as transition phenomena. These last can be picture edges or shadows. This classification offers the opportunity to substantially fill-in the LUT 64. This filling-in determines whether or not a certain combination is desired. The exact filling-in is dependent upon the nature and the construction of the post-processor 65 and can have a width of one to eight bits. In practice for a certain case possibly only three values may be relevant, namely good, faulty and not to be decided. The manner in which from the above-mentioned histogram the allowability criterium can be derived is per se known from mathematics. The algorithms to be used in order to make this derivation can vary in principle from product to product. An important criterium herein is the calculation time. Dependent upon the product colour(s) and the defect colour(s) simple or more advanced algorithms may be used.

    [0030] Finally it should be noted that it has not been shown that the central control unit 66 controls the energizing of an ejector on basis of the information signals supplied thereto.


    Claims

    1. Apparatus for inspecting bulk goods, such as vegetables, tobacco, granulates and the like, having an average colour within certain tolerance limits, said apparatus comprising:
       drivable conveyor means (5);
       dispensing means (2, 3, 4) for pouring the bulk goods on the conveyor means (5) in such a way, that said goods form thereon a single layer (6);
       a light source (9, 10) for illuminating the bulk goods transported by said conveyor means (5), said light source (9, 10) being positioned above the conveyor means (5);
       a video camera (11) for forming first video signals corresponding to the picture of the bulk goods illuminated by said light source (9, 10) from the side of the video camera (11); and
    a signal processing unit (12) having
       a memory (64), in which previously said colour and the associated tolerance limits are stored;
       means (61,62,63) for forming from the first video signals second video signals representative of the colour of the bulk goods observed by the video camera (11) and
       comparing means for comparing the contents of the memory with the second video signals and generating a reporting signal in case of a detected difference;
       characterized in that
       the conveyor means (5) are translucent;
       a second light source (81, 82) is positioned under the conveyor means (5);
       diffusor means (83) are provided for diffusing the light emitted by the second light source (81, 82) and passing said conveyor means (5); and
       colour means are provided in such a way that the backround which is seen by the video camera (11) is formed by diffuse light having substantially the same colour as correct bulk goods.
     
    2. The apparatus of claim 1, characterized in that
       the memory (64) is designed as a table (LOOK UP TABLE: LUT) having discrete contents;
       the second video signals are transferred into digital format by means of an analog/digital convertor (61, 62, 63); and
       the digitized second video signals are supplied to the table (64) as an address therefore.
     
    3. The apparatus according to anyone of the preceding claims, characterized by
       means for forming colour signals, e.g. corresponding with the three basic colours red, green and blue, each having a chrominance component and a luminance component: and
       said second light source (81, 82) emitting light containing the relevant colour(s).
     
    4. The apparatus according to claims 2 and 3 characterized in that the analog/digital convertor (61, 62, 63) transfers the luminance component of each of the colour signals into digital format of at most eight bits.
     
    5. The apparatus according to anyone of the preceding claims, characterized in that the camera (11) of the matrix type.
     
    6. The apparatus according to anyone of the preceding claims, characterized in that the camera is of the linear type.
     
    7. The apparatus according to anyone of the preceding claims, characterized in that the second light source (81, 82) is of the continuous type.
     
    8. The apparatus according to anyone of the preceding claims, characterized in that the second light source (81, 82) is of the intermitting type and emits e.g. light flashes.
     
    9. The apparatus according to claim 3, characterized by selective means for amplifying or attenuating parts of the video signals.
     
    10. The apparatus according to claim 9, characterized by offset-means for bringing the video signals within a desired band.
     


    Ansprüche

    1. Vorrichtung zum Inspizieren von Schüttgut wie Gemüse, Tabak, Granulaten und dergleichen mit einer Durchschnittsfarbe innerhalb bestimmter Toleranzwerte, mit
       antreibbaren Fördereinrichtungen (5);
       Ausgabeeinrichtungen (2,3,4) zum Schütten des Schüttgutes auf die Fördereinrichtungen (5) derart, daß das Gut darauf eine einzige Lage (6) bildet;
       einer Lichtquelle (9, 10) zum Beleuchten des auf den Fördereinrichtungen (5) transportierten Schüttgutes, wobei die Lichtquelle (9, 10) über den Fördereinrichtungen (5) angeordnet ist;
       einer Videokamera (11) zur Bildung erster Videosignale, die dem Abbild des Schüttgutes entsprechen, das durch die Lichtquelle (9,10) von der Seite der Videokamera (11) beleuchtet wurde; und
       einer Signalverarbeitungseinheit (12) mit
       einem Speicher (64), in dem zuvor die Farbe und die zugeordneten Toleranzgrenzwerte gespeichert werden;
       Einrichtungen (61, 62, 63) zur Bildung von zweiten Videosignalen aus den ersten Videosignalen, wobei die zweiten Videosignale die Farbe des durch die Videokamera (11) beobachteten Schüttgutes wiedergeben, und
       einer Vergleichseinrichtung zum Vergleichen des Inhalts des Speichers mit den zweiten Videosignalen und zum Erzeugen eines Meldesignals im Falle eines festgestellten Unterschiedes;
       dadurch gekennzeichnet,
       daß die Fördereinrichtungen (5) durchscheinend sind;
       daß eine zweite Lichtquelle (81, 82) unterhalb der Fördereinrichtungen (5) angeordnet ist;
       daß Diffusoreinrichtungen (83) vorgesehen sind, um das von der zweiten Lichtquelle (81, 82) ausgesandte Licht zu streuen und durch die Fördereinrichtungen (5) zu schicken; und
       daß Farbeinrichtungen in der Weise vorgesehen sind, daß der von der Videokamera (11) gesehene Hintergrund durch diffuses Licht gebildet wird, das im wesentlichen dieselbe Farbe wie fehlerfreies Schüttgut hat.
     
    2. Vorrichtung nach Anspruch 1, dadurch gekennzeichnet,
       daß der Speicher (64) als eine Tabelle (Nachschlagetabelle: LUT) mit diskreten Werten ausgebildet ist;
       daß die zweiten Videosignale mittels eines Analog/Digital-Wandlers (61, 62, 63) in digitales Format übertragen werden; und
       daß die digitalisierten zweiten Videosignale der Tabelle (64) als eine Adresse dafür zugeführt werden.
     
    3. Vorrichtung nach einem der vorausgehenden Ansprüche, gekennzeichnet durch
       Einrichtungen zur Bildung von Farbsignalen, z.B. entsprechend den drei Grundfarben Rot, Grün und Blau, wobei jedes eine Chrominanzkomponente und eine Luminanzkomponente hat; und dadurch
       daß die zweite Lichtquelle (81, 82) Licht aussendet, das die relevante Farbe oder die relevanten Farben enthält.
     
    4. Vorrichtung nach Anspruch 2 und 3, dadurch gekennzeichnet; daß der Analog/Digital-Wandler (61, 62, 63) die Luminanzkomponente jedes der Farbsignale in digitales Format von höchstens 8 Bits überträgt.
     
    5. Vorrichtung nach einem der vorausgehenden Ansprüche, dadurch gekennzeichnet, daß die Kamera (11) von der Matrix-Bauart ist.
     
    6. Vorrichtung nach einem der vorausgehenden Ansprüche, dadurch gekennzeichnet, daß die Kamera von der linearen Bauart ist.
     
    7. Vorrichtung nach einem der vorausgehenden Ansprüche, dadurch gekennzeichnet, daß die zweite Lichtquelle (81, 82) von der kontinuierlichen Bauart ist.
     
    8. Vorrichtung nach einem der vorausgehenden Ansprüche, dadurch gekennzeichnet, daß die zweite Lichtquelle (81, 82) von der intermittierenden Bauart ist und z.B. Lichtblitze aussendet.
     
    9. Vorrichtung nach Anspruch 3, gekennzeichnet durch selektive Einrichtungen zum Verstärken oder Abschwächen von Teilen der Videosignale.
     
    10. Vorrichtung nach Anspruch 9, gekennzeichnet durch Versetzeinrichtungen, um die Videosignale innerhalb eines gewünschten Bandes zu bringen.
     


    Revendications

    1. Appareil pour inspecter des matières en vrac telles que des végétaux, du tabac, des granulés et similaires, ayant une couleur moyenne à l'intérieur de certaines limites de tolérance, ledit appareil comprenant :
       un convoyeur mobile (5);
       un moyen de distribution (2, 3, 4) pour verser les matières en vrac sur le convoyeur (5) de façon que lesdites matières forment sur celui-ci une couche unique (6);
       une source de lumière (9, 10) pour éclairer les matières en vrac transportées par ledit convoyeur (5), ladite source de lumière (9, 10) étant placée au-dessus du convoyeur (5);
       une caméra vidéo (11) pour générer des premiers signaux vidéo correspondant à l'image des matières en vrac éclairées par ladite source de lumière (9, 10) à partir du côté de la caméra vidéo (11); et
       une unité de traitement de signal possédant
       une mémoire (64) dans laquelle ladite couleur et les limites de tolérance associées ont été au préalable stockées;
       un moyen (61, 62, 63) pour former à partir des premiers signaux vidéo des seconds signaux vidéo représentatifs de la couleur des matières en vrac observées par la caméra vidéo (11) et
       un moyen de comparaison pour comparer le contenu de la mémoire aux seconds signaux vidéo et générer un signal de rapport dans le cas de la détection d'une différence;
       caractérisé en ce que
       le convoyeur (5) est transparent;
       une seconde source de lumière (81, 82) est placée sous le convoyeur (5);
       un moyen de diffusion (83) diffuse la lumière émise par la seconde source de lumière (81, 82) et traversant ledit convoyeur (5) : et
       un moyen de coloration a pour rôle de faire en sorte que le fond qui est vu par la caméra vidéo (11) est formé par de la lumière diffuse ayant sensiblement la même couleur que les matières en vrac correctes.
     
    2. Appareil selon la revendication 1, caractérisé en ce que
       la mémoire (64) a la configuration d'une table (TABLE DE CONSULTATION : TDC) ayant des contenus discrets;
       les seconds signaux vidéo sont convertis en un format numérique au moyen d'un convertisseur analogique/numérique (61, 62, 63); et
       les seconds signaux vidéo numérisés sont délivrés à la table (64) comme adresse de celle-ci.
     
    3. Appareil selon l'une quelconque des revendications précédentes, caractérisé par
       un moyen pour former des signaux de couleur, correspondant par exemple aux trois couleurs de base rouge vert et bleu, ayant chacun une composante de chrominance et une composante de luminance; et en ce que
       ladite seconde source de lumière (81, 82) émet une lumière contenant la (les) couleur (s) convenable (s).
     
    4. Appareil selon les revendications 2 et 3, caractérisé en ce que
       le convertisseur analogique/numérique (61, 62, 63) convertit la composante de luminance de chacun des signaux de couleur en un format numérique de huit bits au plus.
     
    5. Appareil selon l'une quelconque des revendications précédentes, caractérisé en ce que
       la caméra (11) est du type matriciel.
     
    6. Appareil selon l'une quelconque des revendications précédentes, caractérisé en ce que
       la caméra est du type linéaire.
     
    7. Appareil selon l'une quelconque des revendications précédentes, caractérisé en ce que
       la seconde source de lumière (81, 82) est du type continu.
     
    8. Appareil selon l'une quelconque des revendications précédentes, caractérisé en ce que
       la seconde source de lumière (81, 82) est du type intermittent et émet par exemple des flashs lumineux.
     
    9. Appareil selon la revendication 3, caractérisé par
       un moyen de sélection pour amplifier ou atténuer des parties des signaux vidéo.
     
    10. Appareil selon la revendication 9, caractérisé par
       un moyen de décalage pour transposer les signaux vidéo dans une bande désirée.
     




    Drawing