CA1222801A - Defect detecting method and system - Google Patents

Defect detecting method and system

Info

Publication number
CA1222801A
CA1222801A CA000473015A CA473015A CA1222801A CA 1222801 A CA1222801 A CA 1222801A CA 000473015 A CA000473015 A CA 000473015A CA 473015 A CA473015 A CA 473015A CA 1222801 A CA1222801 A CA 1222801A
Authority
CA
Canada
Prior art keywords
signals
pixels
image
defect
comparison
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
CA000473015A
Other languages
French (fr)
Inventor
Takashi Miyazawa
Sosuke Tateishi
Hiroyuki Fukuchi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kirin Brewery Co Ltd
Original Assignee
Kirin Brewery Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kirin Brewery Co Ltd filed Critical Kirin Brewery Co Ltd
Application granted granted Critical
Publication of CA1222801A publication Critical patent/CA1222801A/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/90Investigating the presence of flaws or contamination in a container or its contents
    • G01N21/9054Inspection of sealing surface and container finish

Abstract

ABSTRACT OF THE DISCLOSURE
In detection of a defect in a part of an object having a surface which is substantially a surface of revolution, the surface of the inspected part is illuminated by light rays which are emitted through an annular portion coaxially disposed with the surface of the inspected part, and light rays reflected at the surface of the inspected part are received to form an image of the inspected part. The image is con-stituted of pixels corresponding to the respective portions of the surface of the inspected part. Signals having a value indicative of the brightness of the pixels are stored in relation to the respective posi-tions of the pixels in the image. The stored signals are referred repeatedly to provide, as a set of signals, a predetermined number of the signals of the pixels positioned along an imaginary line extending radially through a central point in the image corre-sponding to the axis of the surface of the inspected part and positioned and distributed within a radial range extending along the imaginary line. Judgement whether or not there is a defect is made in accord-ance with comparison of tha signals of each set with a preset value, and with comparison between signals of two sets which are positioned along two of the imaginary lines which are proximate to each other.

Description

~2;~2l~

DEFECT DETECTING METHOD AND SYSTEM

BACKGROUND OF THE INVENTION
The presenk invention relates to a method of and a system for detecting a defect particularly suitable where the surface of that part of the object or body which is under examination is sub-stantially a surface of revolution. An example of such a part under examination is a mouth portion of a beverage bottle such as a bottle for beer, other alcoholic liquors, soft drinks or foods.
If a bottle for alcoholic li~juors, soft drinks or foods has a defect such as scratches, cracks or breakages at its mouth, then it is impossible or difficult to completely seal the mouth and problems in food hygiene occur. Thus, it is necessary to detect a defect and to reject the bottles having a defect. It is also necessary to detect a defect at other parts, such as the bottom of a bottle for maintainin~ food hygiene~ There are similar needs in connection with cans.
A variety of methods of detecting defects in bottles have been proposed in the art; however, they are sometimes not satisfactory because of their complexity in mechanical construction, low inspection accuracy or reliability, low inspection rate and the like.
The applicant proposed in Japanese Patent Appli~
cation No.118607/1981 (Laid-open No.21146/1983) an inspection method in which the image of a bottle bottom or the like is divided into sectors by radial~
ly extending lines, and the sums o~ the values indicative of the brightness of the pixels in the sectors are compared with each other and presence or absence of a defect is determined in accordance with the result of ccmparison. This mathod eliminates the need for rotating either the bottle or the image , .~

... ~ '
2;Z ~

sensor, and brings about improvement in the inspec-tion accuracy. But there are certain circumstances where the configuration or positiorl of a defect .is such that the effect of the defect is distributed between two adjacent sectors, in which case detec-tion of the defect is difficult and may fail.
SUMMARY OF T~E INVENTION
An object of the invention is to improve accu-racy in inspection of a bottle or the like.
According to one aspect of the invention, there is provided a method of detecting a defect in a part of an object, said part having a surface which is substantially a surface of revolution, said method comprising the steps of:
illuminating said surface of said part by light rays which are emitted through an annular portion coaxially disposed with said surface of said part;
receiving light rays reflected at said surface of said part to form an image of said part, said image being constituted of pixels corresponding to the respective portions of said surface of said part' storing signals having a value indicative of the brightness of said pixels in relation to the respec-tive positions of said pixels in said image;
referring to the stored signals to read out, as a set of signals, a predetermined number of the signals of the pixels positioned along an imaginary line extending radially through a central point in said image corresponding to the axis of said surface of said part and positioned and distributed within a radial range extending along said imaginary line;
repeating the reading-out of the sets of signals, and judging whether or not there is a defect in accordance with comparison of the signals of each set with a preset value, and with comparison between signals of two ;ets which are positioned along two of said .imaginary l.ines which are proximate to each other.
According to another aspect of the invention, there is provided a system for detecting a defect in a part of an object, sai.d part having a surface which is substantially a surface of revolution, said system comprising:
an illuminating device having an annular pox-tion for emitting light rays, said annular portion being coaxially disposed with said surface of said part when said object is being examined;
image forming means for receiving light rays reflected at said surface of said part to form an image of said part, said image being constituted of pixels corresponding to the respective positions of said surface of said part;
storage means for storing signals having a value indicakive of the brightness of said pixels in relation to the respecti~e positions of said pixels in said image;
means referring to the stored signals to re-peatedly read out, as a set of signals, a predeter mined number of the signals of the pixels positioned along an imaginary line extending radially through a central point in said image corresponding to the : axis of said surface of said part and positioned and distributed within a radial range extending along said imaginary line; and judging means for judging whether or not there is a defect in accordance with comparison of the signals of each set with a preset value, and with comparison between signals of two sets which are positioned along two of said imaginary lines whlch are proximate to each other.
~RIEF DESCRIPTION OF THE DRAWINGS
In the accompanying drawings: -Fig~ 1 shows general arrangement of an embodiment ~222~

of a defect detecting system according to the inven-tion;
Fig. 2 shows, in vertical cross section, an example of illuminating device usable in the arrangeW
ment of Fig. l;
Figs. 3A and 3B schematically illustrate examples of optical images obtained by the CCD camera 4 shown in Fig. l;
Figs. 4A and ~B schematically illustrate how the liyht xays are reflected at various parts of the bottle mouth;
Fig. 5 is a block diagram showing an example of the data processor;
Figs. 6A and 6B show pixels arranged in a matrix and radially extending lines;
Fig. 7 shows an example of signals of sets and the corresponding signals in two values;
Fig. ~ is a block diagram showing a first judging circuit;
2~ Fig. 9 shows an example of binary signals divid-ed into sections, some of which are marked with X;
Fig. 10 is a block diagram showing a second judging circuit; and Figs. llA and llB show examples of sets of signals and ~he results of discrimination.
DETAILED DESCRIPTION OF ~IE EMBODIMENTS
Fig. 1 shows an embodiment of a de~ect detect~
ing system according to the present invention. The illustrated system is for detecting a defect in a bottle mouth portion. Bottles l to be inspected are conveyed in turn by a conveyor or the like, not shown, and brought to an inspection position (the position as illustrated), when the mouth la is illuminated by an illuminating device 2 having an annular light emitting portion 2a. The arrangement is such that when the boitle 1 is at the inspection position, the surface of the mouth la which is substantially a ~%~

surface of revolution whose axis coincides with the axis of the bottle 1 is coaxially disposed with the annular light emitting portion 2a. 'rhe illuminat ing device 2 is situated over the bottle 1 and has an opening 3 which allows the reflected light rays from the mouth la to pass therethrough. Positioned above the illuminating devi.ce 2 is a two-dimensional photoelectric converting device, such as a CCD
(charge coupled device) camera 4 to receive light rays which have passed through the opening 3 and through a lens aa, by which an optical imaye of the mouth la is formed on the light receiving surface of the CCD camera 4. The CCD camera 4 comprises a matrix of 200 x 200 photoelectric converting elements, b~ which pixel signals corresponding to the bright~
ness of the respective portions of the mouth la of the bottle 1 are formed.
The light emitting portion 2a of the illuminat-ing de~ice 2 emits light rays so that, when the bottle 1 is at the inspection position, the mouth la is illuminated ~y light ra~s incident from above off to the radially outward, and uniformly throughout the circumference. When the mouth la is illuminated in this way, the optical image of the surface of the mouth la produced in the CCD camera 4 is of annular configuration if there is no defect in the mouth la.
The exact shape, contrast and the like of the optical image differ depending on the height of the light emitting portion 2a of the illuminating device, the incident angle of the illuminating light, and the character of the illuminating light (i.e., whether or not the directivity is acute). The manner of illumination should therefore be optimized for the particular configuration of the inspected mouth por-tion.
Fig. 2 shows, in vertical cross section, anexample of the illuminating device 2, which comprises ~Z2~

an inner cylinder 2b, an outer cylinder 2c, an annular top cover 2d connecting the inner and the outer cylinders 2b and 2c, an inner shield 2e connected to the lower end of the inner cylinder 2b, an outer shield 2f connected to the lower end of the outer cylinder 2c, and a plurality of, e.g., six, tungsten halogen lamps 2g fitted in respective sockets 2h arranged, at equal intervals, circumferentiall~ along the annular top cover 2d and held to the annular top cover 2d. The inner surface of the outer cylinder 2c and the outer surface af the inner cylinder 2b (which face the lamps 2g) are diffusing surfaces which have a high reflection coefficient and yet have a certain degree of roughness. The inner cylinder 2b is vertical-ly movable relative to the outer cylinder 2c, and thewidth of the opening 2a between the inner and the outer shields 2e and 2f can be adjusted through such vertical movement. The opening 2a constitutes the light emitting portion which emits the illuminating light and the directivity of the illuminating light can be varied by variation of the width of the opening 2a. The entire illuminating device 2 is also movable up and down by means, not shown, and the incident angle of the illuminating light emitting through the opening 2a and falling upon the mouth la can be varied by such up-and-down movement of the device 2.
Figs. 3A and 3B schematically illustrate e~amples of optical images obtained by the CCD camera 4 when the mouth portion la is illuminated by the illuminat-ing device 2. In Figs. 3A and 3B, the bright portionsof the image are shaded while the dark portions of the image are left unshaded. The chain lines lc and ld respectively indicate the inner and the outer circumferential surfaces of the mouth la. The image of Fig. 3A is that of a mouth with no defect. The image of Fig. 3B is that of a mouth with a defect.
When there is nc) defect the image has two bright ringsO

~2~a~

This is because the vertical cross section of the mouth la is rounded as in Fig. ~A, so that subskan-tial part of the light reflected at the rounded inner edge le and the light reflected at the rounded outer edge lf are directed to the camera 4, and hence they are most intensive among the light rays as received by the camera 4.
If there is a defect, e.g., a breakage 1~ in the rounded outer edge portion, as shown in Fig. 4B, the image will have a dark spot lx as shown in FigO
3B (unshaded spot in the figure). This is because some of the light rays scattered at the defect lx are directed away from the camera 4. If there is a defect, e.g., a breakage ly in the portion midway between the inner and the outer edge portions, as shown in Fig. 4B, the image will have a bright spot ly as shown in Fig. 3B (shaded spot in the figure)O
This is because some of the light rays scattered at the defect ly are directed to the camera 4.
With some types of bottles, the inner and the outer ~dges portions are more frequently dmaged than other portions. In such a case, use of the arrangement as shown in Fig. 3A is advantageous in that the light rays reflected at the rounded edge portions are made to reach the camera 4 ~i~ there is no defect) and the dark spot in the bright rings tends to have a higher contrast than the bright spot in the dark rings.
It should also be noted that although the boundaries between the dark and bright portions are shown to be clear in Figs. 3A and 3B, the degree of the brightness often changes gradually or continuous-ly .
Electrical signals repre5enting the brightness of the pixels of the optical image of Fig. 3A or Fig.
3B are processed by a data processor 5, which makes judgement as to whether or not there is a defect in ~2~

the bottle mouth. The bottl~ which has been judged to have a defect is rejected by a rejecting device 6.
E'ig. 5 shows in de.tail an example of the data processor 5. The pixels of the optical image obtained by the camera 4 are scanned and pixel signals respectively representing the brightness of the pixels are sequentially taken out and amplified by an amplifier 7, and then diyitized by an A/D (analog-to-digital) converter 8. The digital signals from the A/D conver~er 8 are stored in a data memory 9 at predetermined addresses (memory locations) respectively related to the positions of the pixels in the image.
The scanning of the pixels may for example be in the form of raster-scanning.
An address circuit 11 designates the address of the data memory 9, i.e., it provides the data memory 9 with address information so that the pixel data are read out of the da~a memory 9 in the order which will be understood from the following description. The pixel data read out are supplied to judging cirauits 13 and 14.
The pixels of the image are arranged to form a matrix as partly shown (a quarter of the image is shown) in Figs. 6A and 6B. It is assumed that the pixel signals indicative of the brightness are quantized by the A/D converter 8 into 64-level values, i.e., into digital signals of 6 bits. It is also assumed that the value 63 indicates the brightest level while the value 0 indicates the darkest level. The value of each pixel is stored in the memory 9 at the address related to the position of the pixel within the image.
The signals of the respective pixels stored in the memory 9 are processed to determine whether there is a defect. The principle and the manner for the judgement are described below.
First, a center detecting circuit 12 detects the .

~z~z~

center O (Fig. 6) of the image corresponding to the axis of the bo-ttle 1 (and hence the axis of the mouth la). The detection o~ the center O is made in the following manner. First, the pixels that are position-ed along a horizontal (as viewed in Fig. 6) linewhich should preferably be as close as possible to the center O (or pass the presumed position o the center O) are examined and the leftmost pixel and the rightmost pixel among the pixels that are recognized to be "bright" are identifieclO Then the pixels that are positioned along a vertical (as viewed in Fig. 6) line which passes the mid-point between the leftmost and the rightmost pixels identified by the above-described process are examined, and the uppermost pixel and the lowermost pixel among the pixels which are recognized to be "bright" are identified. Final-ly, the mid-point between the thus-identified upper-most and lowermost pixels is recognized as the center O. The judgement for each pixel to be "bright" may be made depending on whether the corresponding pixel signal exceeds a certain predetermined value, or alternatively depending on whether the difference between the signals of proximate pixels (pixels adjacent to each other or pixels separated by a few other pixels) exceeds a certain prede-termined value, or according to the combination of the above-described criteria. Moreover, a single or a small number of isolated pixels that are found bright may be disregarded, while finding of "brightness" for more than a predetermined number of consecutive pixels may be made a condition fox the recognition of bright-ness to be valid.
The address circuit 11 sequentially designates the address of the memory 9 in such a manner that a predetermined number (e.g., 13) of signals of the pixels that are positior.ed along one of radially extending lines (some of which are indicated by OA, ~2~

OB, OC, ..~..) and passing through the center O and that are positioned and distributed within a pre-determined radial range (range between the chain lines Rl and R2) are read out as a set of signals.
In the example illustrated, the radially extending lin~s are 6.5 apart, and reading the set of signals is repeated 720 times. As a result, 720 sets of signals fox lines 0.5 apart are obtained.
The reading of the sets of signals may alter-natively ~e done in succession for lines separatedby 0.5 or any other angle.
Since the pixels are arranged in a matrix, the radially extending lines other than the horizontal and the vertical lines cross the pixels obliquely.
A criterion is therefore necessary for determining which pixels are positioned "along" each radially extending line.
~ n the embodiment under consideration, the following criterion is adopted. For this purposa, all the pixels are regardèd to have no gaps between them, and those pixels which contain a cross point between the radial line in question and a circle centered at the center O and passing through the center of a corresponding pixel along a hori~ontal line (reference line) are regarded to be positioned along the radial line. If a pixel contains two such cross points, that pixel serves twofold, i.e., the corresponding pixel signal is read out twice to serve as two separate signals.
In the following description, the sets of signals corresponding to the lines OA, Os, OC, are respectively called set A, set B, set C, The signals of each set are given respective numbers in accordance with the numbers of the corresponding pixels as counted from the innermost pixel.
The sets of signals successively read out are supplied to the first and the second judging circuits ~22~

13 and 1~.
The first judging circuit 13 may for example be formed as shown in Fig. 8. A discriminator 31 receives a set oE signals and produces, for each signal, a signal in two levels having a value "1" or "0" depending on whether the signal from the memory is greater than a certain threshold value, which may for example be 29. Fig. 7 shows an example of signals (in 6~ levels) of sets A - G and the cor-responding signals (in two levels) produced by thediscriminator 31.
The gate counters 32a - 32c receive the signals in two levels o~ each set and count the number of the signals that have a value "1" and that are within a predetermined section predetermined for the respec-tive gate counters. The respective sections comprise the second to the fifth pixel signals, the sixth to the eighth pixel signals, and the nineth to the eleventh pixel signals. Thus, the sections are made to cover the radial ranges of the inner bright ring, the dark ring and the outer bright ring of Fig. 3A.
In the embodiment, the sections which are adjacent to each other do not overlap each other. The sections may alternatively be ones which overlap each other or ones which are separated by one or more pixels.
Discriminators 33a - 33c are provided in asso-ciation with respective gate counters 32a - 32c and each discriminator judges whether or not the count value is within a predetermined range. The predeter mined ranges for the discriminators 33a - 33c are 2 through 3~, 0, and 2 through 3, respectively. If the count value is outside of the range, the discriminator produces "1". Fig. 9 shows an example of the dis-crimination. More particularly, it shows (how) the two-level signals of the first to the third sections and the sections having the count value outside the range are marked with "X".

2~

Counters 34a - 34c are provided in associatlon with the discriminators 33a - 33c. Each counter counts the number of output havlng a value "1". This counting is continued while the processing of data for the 720 lines is completed.
Discriminators 35a - 35c are provided in association with the counters 34a - 34c. Each dis~
criminator receives the count value of the counter and judges whether or not the count value exceeds a predetermined value, and produces an output of a value "1" when the count exceeds.
An OR gate 36 obtains the logical sum of the outputs of the discriminators 35a - 35c. The output of the OR gate 36 constitutes the output of the first judging circuit 13.
A second judging circuit 14 is formed as shown in Fig. 10. A register 41 stores a set of signals read out of the memory 9. Each time a new set of signals are read out, the old set is replaced by the new one.
A subtractor 42 determines the differences be-tween the values of the signals currently-being read out of the memory and the values of the signals stored in the register 41 and hence read out in the preceding rea~ing operation. ~hus, differences in value between signals of pixels which are substantial-ly equi-distant from the center O and which are along different radial lines 6.5 apart are determined.
It should be noted that the difference angle may be other than 6.5, but should be a small value to ensure that the comparison is made between radial lines proximate to each other.
A discriminator 43 receives the differences and produces an output "1" if each of the differences exceeds a predetermined value, e.g., 19.
Fig. llA shows signals of set A and set B and the corresponding outputs of the discriminator 43 and Fig.

~LZ2X~

llB shows si.gnals of set C and set D and the corre-sponding outputs o~ the discriminator 43.
A counter 44 counts the number of the outputs having a value "1".
A di.scriminator 45 produces an output o~ "1"
if the count value at the counter 44 exceeds a certain predetermined value, e.g., 1.
In the example of Fig. llA, there i5 only one output of the discriminator 43 having a value "1", so that the output of the discriminator 45 is "0".
In the example of Fig. llB, there are outputs having a value "1"~ so that the output of the discriminator 45 is "1".
When the output of the discriminator 45 is "1", it means that there are more than a predetermined number of "large" dif~erences between the signals of the pixels that are along different radial lines and that are at substantially equal distance from the center O.
A counter 46 counts the number of outputs of the discriminator 45 having a value "1". This count-.. ing is continued until the comparison between two radial lines is repeated 720 times, i.e., from com-parison between set A and set B and up to comparison between the 720-th set and set ~ (first set).
A discriminator 47 judges whether or not the count value exceeds a predetermined value, and produces an output of "1" if the count value exceedsO
The output of the discriminator 47 constitutes the output of the second judging circuit 14.
A logic circuit 15 receives the outputs of the first and the second judging circuits 13 and 14. In the embodiment, the logic circuit 15 comprises an OR
gate, and produces an output of "1" if at least one of the judging circuits 13, 14 produces an output of "1". The output of the logic circuit 15 constitutes the output of the data processor 5.

If the output of the logic circuit 15 is "1" i-t means that the bottle mouth being inspected has been found to have a defect. The rejecting device 6 is therefore actuated to reject the bottle.
The concept behind the above-described judgement or the reason why the judgement is reliable will be explained.
The judgement made at the first judging circuit 13 is as to whether or not the number of the two-level signals that belong to the specific section and that have a value "1", i.e., indicating "bright" is within a predetermined range. When the inspected portion of a surface of revolution is illuminated by light rays emitted from a coaxially disposed light emitting por-tion, the resultant image is annular, so that the signals of the pixels that are at approximately equal distance from the center should have about the same value and the sections of Fig. 9 are made to cover the bright and the dark rings in Fig. 3A. The expected number or the range of numbers of signals having a value "1" within each section can be determined experimentally.
If the bottle mouth being inspected has no defect, the number of the signals having a value 1l1ll should be within the range deter-mined.
The reason why the number of signals "1" is outside the predetermined range is not necessarily presence of a defect but can also be noise, error in detection of the center, and difference in si~e or shape of the particular bottle being inspected. It is therefore not proper to recognize presence of a defect upon a single judgement of the number of "1" being outside the range. But if such judgement is repeated several - ~zz~a~
14a 20375~519 times it is probable that there is a defect. It is for this reason that recognition of a defect is made only when the above-described judgement is repeated a certain number o~ times or more.

~L2~21!~0~1L

Judgment made by the second judging circuit 14 involves comparison between pixels which are situat-ed along two different radial lines 6.5 apart (i.e., close to each other) and which are at subs-tantially equal distan~e from the center. 'rhis is based on the fact that the image is annular and the signals of the pixels which are at the same distance from the center will have the same value. This is why recognition of a defect can be made on judgment o the difference in values of the signals of such pixelsO
But here again, recognition of a defect is made on condition that such judgment is repeated a certain number of times. This is to avoid a faulty recogni-tion of a defect due to noise or the like.
Various modifications can be made to the Eirst judging circuit 13. First, in the above-described embodiment, the value of each two-level signal is determined depending on whether or not-the-signal of each pixel exceeds a threshold value. But, the value of each two-level signal may alternatively be deter-mined in accordance with the difference between the signals of pixels which are along the same radial line and which are close to each other. The value of each two-level signal may still alternatively be determined in accordance with the difference as well as the value of the signal of each pixel.
Moreover, instead of judging whether or not the sum of the binary signals in each section is within a pre-determined range, the sum of the signals in 64 levels of the pixels in each section may be calculated and judgment may be made as to whether the sum is with-in a predetlermined range.
Various modifications may be made to the second judging circuit 14. First, in the above-described embodiment, differences between the signal in 64 levels of the pixels are determined, and the differences are then converted into binary signals. But the signals ~zz~

of the :individual pixels may first be converted into two-level signals in the same way as in the discriminator 31 o~ Fig. 8, and, depending on whether or not the binary signals of pixels of equi-distance coincide with each other, a signal "0" or a signal "1"
may be produced and used in place of the two-level signal indicating that the difference is large.
Moreover, the arrangment may be such that unless the two-level signal indicatiny the large difference or the non-coinci-dence is repeated a certain predetermined number of times (e.g., twice), such two-level signal (appearing only less than such predetermined number of times) may be disregarded.
The defect detecting apparatus hereinabove described is capable of detecting a defect such as a breakage, a crack, a scratch, a sticking foreign matter or the like in a bottle mouth.
It is also applicable to inspection of a flange portion of a can (an empty can before charging) as to presence of a sticking foreign matter, breakage, a flash or any other defect. It is also applic-able for inspection of a bottom portion of a bottle, a bottom portion of a can, or any other portion whose surface is normally a surface of revolution.
As has been described according to the invention, signals of the pixels along each radial line are compared with r~spective predetermined values, and the signals of the equi-distant pixels along different but close radial lines are compared with each other, and presence or absence of a defect is made in accordance with the results of the comparisons. The effect of the shape of the defect is therefore minimized and accuracy in detection is improved.

Claims (6)

THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE
PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. A method OF detecting a defect in a part of an object, said part having a surface which is substantially a surface of revolution, said method comprising the steps of:
illuminating said surface of said part by light rays which are emitted through an annular portion coaxially disposed with said surface of said part;
receiving light rays reflected at said surface of said part to form an image of said part, said image being consti-tuted of pixels corresponding to the respective portions of said surface of said part;
storing signals having a value indicative of the brightness of said pixels in relation to the respective positions of said pixels in said image;
referring to the stored signals to read out, as a set of signals, a predetermined number of the signals of the pixels positioned along an imaginary line extending radially through a central point in said image corresponding to the axis of said surface of said part and positioned and distributed within a radial range extending along said imaginary line;
repeating the reading-out of the sets of signals;
and judging whether or not there is a defect in accordance with comparison of the signals of each set with a preset value, and with comparison between signals of two sets which are positioned along two of said imaginary lines which are proximate to each other.
2. A method as set forth in claim 1, wherein the compari-son of the signals of each set with a preset value comprises:
determining a sum of the signals within a section covering a predetermined radial range of pixels, said radial range extending along each of said imaginary line, and comparing the sum with a value predetermined for said section.
3. A method as set forth in claim 1, wherein the compari-son between the signals of two sets comprises:
comparison between the signals of the pixels positioned along two of said imaginary lines and at substantially the same distance from said central point.
4. A system for detecting a defect in a part of an object, said part having a surface which is substantially a surface of revolution, said system comprising:
an illuminating device having an annular portion for emitting light rays, said annular portion being coaxially disposed with said surface of said part when said object is being examined;
image forming means for receiving light rays reflected at said surface of said part to form an image of said part, said image being constituted of pixels corresponding to the respective positions of said surface of said part;
storage means for storing signals having a value indicative of the brightness of said pixels in relation to the respective positions of said pixels in said image;
means referring to the stored signals to repeatedly read out, as a set of signals, a predetermined number of the signals of the pixels positioned along an imaginary line extending radially through a central point in said image corresponding to the axis of said surface of said part and positioned and distributed within a radial range extending along said imaginary line; and judging means for judging whether or not there is a defect in accordance with comparison of the signals of each set with a preset value, and with comparison between signals of two sets which are positioned along two of said imaginary lines which are proximate to each other.
5. A system as set forth in claim 4, wherein said judging means comprises:
summation means for determining the sum of the signals within a section covering a predetermined radial range of pixels, said radial range extending along each of said imaginary line;
and comparison means for comparing the sum with a value predetermined for said section.
6. A system as set forth in claim 4, wherein said judging means comprises:
comparison means for comparing the signals of the pixels positioned along two of said imaginary lines and at substantially the same distance from said central point.
CA000473015A 1984-01-31 1985-01-29 Defect detecting method and system Expired CA1222801A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP59015870A JPS60159637A (en) 1984-01-31 1984-01-31 Method and device for defect detection
JP15870/1984 1984-01-31

Publications (1)

Publication Number Publication Date
CA1222801A true CA1222801A (en) 1987-06-09

Family

ID=11900828

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000473015A Expired CA1222801A (en) 1984-01-31 1985-01-29 Defect detecting method and system

Country Status (7)

Country Link
US (1) US4606635A (en)
EP (1) EP0150846B1 (en)
JP (1) JPS60159637A (en)
AU (1) AU565157B2 (en)
CA (1) CA1222801A (en)
DE (1) DE3570133D1 (en)
DK (1) DK161263C (en)

Families Citing this family (72)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60249204A (en) * 1984-05-24 1985-12-09 肇産業株式会社 Lighting apparatus
JPS61193009A (en) * 1985-02-22 1986-08-27 Toyo Glass Kk Inspecting device for top surface of opening of container
JPS61232195A (en) * 1985-03-29 1986-10-16 サッポロビール株式会社 Cap inspection device for bottle mouth
JP2569303B2 (en) * 1985-07-05 1997-01-08 日本電装株式会社 Image processing apparatus for performing cumulative addition of image data
JPS6212845A (en) * 1985-07-10 1987-01-21 Kirin Brewery Co Ltd Detecting device for defect on screwed port part of bottle
JPS6269154A (en) * 1985-09-21 1987-03-30 Hajime Sangyo Kk Defect inspection instrument for mouth of bottle
US4688939A (en) * 1985-12-27 1987-08-25 At&T Technologies, Inc. Method and apparatus for inspecting articles
US4731649A (en) * 1986-09-11 1988-03-15 Vistech Corp. Oblique illumination for video rim inspection
JPS6396095A (en) * 1986-10-13 1988-04-26 株式会社キリンテクノシステム Inspection device for screw mouth section of bottle
JPS6372552U (en) * 1986-10-30 1988-05-14
JP2514944B2 (en) * 1987-01-26 1996-07-10 サントリー株式会社 Optical inspection method and apparatus for bottles
US4786801A (en) * 1987-07-21 1988-11-22 Emhart Industries Inc. Finish Leak Detector having vertically movable light source
FR2621121B1 (en) * 1987-09-29 1990-06-22 Mutec Ingenierie Sarl METHOD AND DEVICE FOR CONTROLLING THE PRESSURE IN AN ENCLOSURE OR CAPACITY
US4882498A (en) * 1987-10-09 1989-11-21 Pressco, Inc. Pulsed-array video inspection lighting system
US5072127A (en) * 1987-10-09 1991-12-10 Pressco, Inc. Engineered video inspecting lighting array
US4972093A (en) * 1987-10-09 1990-11-20 Pressco Inc. Inspection lighting system
DE3809221A1 (en) * 1988-03-18 1989-09-28 Roth Electric Gmbh METHOD FOR DETECTING DEFECTS IN PRESSING PARTS OR OTHER WORKPIECES, AND DEVICE FOR IMPLEMENTING THE METHOD
US4914289A (en) * 1988-10-26 1990-04-03 Inex-Vistech Technologies Incorporated Article inspection system for analyzing end and adjacent sides
US4974261A (en) * 1988-11-15 1990-11-27 Matsushita Electric Works, Ltd. Optical surface inspection method
JPH0776759B2 (en) * 1989-01-19 1995-08-16 ザ・コカ‐コーラ・カンパニー Collection container selection method
CH679698A5 (en) * 1989-10-06 1992-03-31 Elpatronic Ag
DE3938471A1 (en) * 1989-11-20 1991-05-23 Freudenberg Carl Fa Optical surface monitoring of rotating symmetrical body - using electronic camera and comparison of brightness of adjacent image elements on circular paths
US5045688A (en) * 1989-12-04 1991-09-03 Coors Brewing Company Method and apparatus for inspection of bottle thread having a unitary image plane
US5065443A (en) * 1989-12-04 1991-11-12 Allen-Bradley Company, Inc. Image processor with illumination variation compensation
US5220400A (en) * 1990-06-01 1993-06-15 Texas Instruments Incorporated Container inspection system
JPH06103276B2 (en) * 1990-10-09 1994-12-14 肇産業株式会社 Surface inspection device
JPH0736001B2 (en) * 1990-10-31 1995-04-19 東洋ガラス株式会社 Bottle defect inspection method
WO1992008464A1 (en) * 1990-11-15 1992-05-29 Tanabe Seiyaku Co. Ltd. Substituted urea and related cell adhesion modulation compounds
IL99823A0 (en) * 1990-11-16 1992-08-18 Orbot Instr Ltd Optical inspection method and apparatus
FR2669429B1 (en) * 1990-11-20 1994-04-15 Saint Gobain Cinematique Control OPTICAL FLIGHT CONTROL.
JPH0743326B2 (en) * 1991-01-29 1995-05-15 東洋ガラス株式会社 Defect inspection method and apparatus for object end
US5172005A (en) * 1991-02-20 1992-12-15 Pressco Technology, Inc. Engineered lighting system for tdi inspection comprising means for controlling lighting elements in accordance with specimen displacement
JPH07102978B2 (en) * 1991-03-13 1995-11-08 石塚硝子株式会社 Inspection method for glass bottles
JPH05126750A (en) * 1991-11-01 1993-05-21 Fuji Electric Co Ltd Apparatus for inspecting inner surface of circular
US5369713A (en) * 1992-07-09 1994-11-29 Schwartz; Nira Inspection method using area of interest (AOI) analysis
JP3044961B2 (en) * 1993-02-12 2000-05-22 富士電機株式会社 Circular container inner surface inspection device
GB9219550D0 (en) * 1992-09-16 1992-10-28 British Nuclear Fuels Plc The inspection of cylindrical
JP3212389B2 (en) * 1992-10-26 2001-09-25 株式会社キリンテクノシステム Inspection method for foreign substances on solids
US5353357A (en) * 1992-12-04 1994-10-04 Philip Morris Incorporated Methods and apparatus for inspecting the appearance of substantially circular objects
US5588068A (en) * 1992-12-04 1996-12-24 Philip Morris Incorporated Methods and apparatus for inspecting the appearance of substantially circular objects
IL107603A (en) 1992-12-21 1997-01-10 Johnson & Johnson Vision Prod Ophthalmic lens inspection method and apparatus
IL107602A0 (en) 1992-12-21 1994-02-27 Johnson & Johnson Vision Prod Method of inspecting ophthalmic lenses
EP0669527A1 (en) * 1994-01-21 1995-08-30 Elpatronic Ag Method for extracting reusable bottles from their usage circuit
DE4408948C2 (en) * 1994-03-16 1998-02-26 Till Gea Gmbh & Co Method and device for checking containers
US5576827A (en) * 1994-04-15 1996-11-19 Micromeritics Instrument Corporation Apparatus and method for determining the size distribution of particles by light scattering
JPH07286970A (en) * 1994-04-19 1995-10-31 Kunio Hiuga Opening top panel defect inspection method for bottle neck
JPH07311162A (en) * 1994-05-20 1995-11-28 Eisai Co Ltd Method for detecting chipping or cracking of flange section of syringe
US6122048A (en) * 1994-08-26 2000-09-19 Pressco Technology Inc. Integral field lens illumination for video inspection
US5592286A (en) * 1995-03-08 1997-01-07 Alltrista Corporation Container flange inspection system using an annular lens
US5699152A (en) * 1995-04-03 1997-12-16 Alltrista Corporation Electro-optical inspection system and method
US6448549B1 (en) 1995-08-04 2002-09-10 Image Processing Systems, Inc. Bottle thread inspection system and method of operating the same
US5805279A (en) * 1996-01-11 1998-09-08 Alltrista Corporation Method and apparatus for illuminating and imaging a can end coated with sealing material
US5923419A (en) * 1997-06-16 1999-07-13 Insight Control Systems International System and method for optical inspection of recessed surfaces
US6061125A (en) * 1998-01-27 2000-05-09 Insight Control Systems International Dual illumination apparatus for container inspection
US6621569B2 (en) 2000-05-26 2003-09-16 Applied Vision Company Llc Illuminator for machine vision
JP2001344592A (en) * 2000-05-31 2001-12-14 Toyo Jidoki Co Ltd Method for checking cap mounting state
DE60239245D1 (en) * 2001-06-20 2011-04-07 Crown Cork Japan Method of testing a closure and device mounted on a bottle
DE20208943U1 (en) * 2002-06-10 2002-09-12 Hermann Heye I Ins Fa Device for checking a container mouth for the presence of a slope
FR2846424B1 (en) * 2002-10-25 2006-02-03 Bsn Glasspack METHOD AND LIGHTING DEVICE FOR DETECTING DEFECT AND / OR LACK OF MATTER ON THE RING OF A TRANSPARENT OR TRANSLUCENT CONTAINER
US20040263620A1 (en) * 2003-06-30 2004-12-30 Diehr Richard D. Container inspection machine
FR2877724B1 (en) * 2004-11-09 2007-03-16 Tiama Sa METHOD AND LIGHTING DEVICE FOR DETERMINING THE PRESENCE OF DEFECTS ON THE SURFACE OF THE RING OF A CONTAINER
DE102005013614A1 (en) * 2005-03-24 2006-10-05 OBE OHNMACHT & BAUMGäRTNER GMBH & CO. KG Optical measuring device e.g. for shapes of objects and surfaces, has camera, objective, diffuser, and two light sources with diffuser is nontransparent and light sources are placed inside diffuser for illuminating inside of it
US7808644B2 (en) * 2005-03-24 2010-10-05 Obe Ohnmacht & Baumgartner Gmbh & Co. Kg Device for optically measuring the shapes of objects and surfaces
US7626158B2 (en) * 2006-10-23 2009-12-01 Emhart Glass S.A. Machine for inspecting glass containers
DE102007043609B4 (en) 2007-09-13 2014-05-28 Ioss Intelligente Optische Sensoren & Systeme Gmbh Integrated lighting device for an optical code reader
JP2009121888A (en) * 2007-11-13 2009-06-04 Kirin Distillery Co Ltd Pet preform inspection device
CN101990046B (en) * 2009-07-31 2014-03-26 鸿富锦精密工业(深圳)有限公司 Digital image detection system and method
EP2381246A1 (en) * 2010-04-26 2011-10-26 Becton Dickinson France Device, kit and method for inspection of an article
JP6070940B2 (en) * 2013-03-07 2017-02-01 東洋製罐株式会社 Inspection method and apparatus for container filled with viscous material
FR3027391A1 (en) * 2014-10-17 2016-04-22 Msc & Sgcc METHODS, DEVICE AND INSPECTION LINE FOR VISUALIZING THE PLANEITY OF A CONTAINER RING SURFACE
JP6576661B2 (en) * 2015-03-26 2019-09-18 株式会社エム・アイ・エル Image processing device
DE102018133567A1 (en) * 2018-12-21 2020-06-25 Böllhoff Verbindungstechnik GmbH Process for computer-aided optical status assessment of an object

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2501975A1 (en) * 1975-01-18 1976-07-22 Kronseder Hermann DEVICE FOR CHECKING RESERVOIR COVERS FOR DAMAGE
US4448526A (en) * 1980-06-27 1984-05-15 Kirin Beer Kabushiki Kaisha Defect detecting method and device
US4378494A (en) * 1980-11-07 1983-03-29 Owens-Illinois, Inc. Apparatus and method for detecting defects in glass bottles using event proximity
JPS57132044A (en) * 1981-02-10 1982-08-16 Hitachi Metals Ltd Discriminating method of surface defect
JPS5821146A (en) * 1981-07-30 1983-02-07 Kirin Brewery Co Ltd Method and device for inspection of defect
DE3314465A1 (en) * 1983-04-21 1984-10-25 Robert Bosch Gmbh, 7000 Stuttgart Optical surface testing method

Also Published As

Publication number Publication date
DK161263B (en) 1991-06-17
DE3570133D1 (en) 1989-06-15
JPS60159637A (en) 1985-08-21
DK41085A (en) 1985-08-01
AU565157B2 (en) 1987-09-03
EP0150846A3 (en) 1986-05-28
EP0150846A2 (en) 1985-08-07
DK41085D0 (en) 1985-01-30
AU3812585A (en) 1985-08-08
JPH0345784B2 (en) 1991-07-12
US4606635A (en) 1986-08-19
EP0150846B1 (en) 1989-05-10
DK161263C (en) 1991-12-09

Similar Documents

Publication Publication Date Title
CA1222801A (en) Defect detecting method and system
US4454542A (en) Defect detecting method and apparatus
AU647558B2 (en) Method of and apparatus for inspecting transparent object for defect
EP0388600B1 (en) Inspection of container finish
CA1175139A (en) Defect detecting method and device
US4959537A (en) Method and apparatus for inspecting transparent containers
US4914289A (en) Article inspection system for analyzing end and adjacent sides
EP0209077B1 (en) Apparatus for detecting defects on a bottle mouth with a screw thread
US4410278A (en) Method and apparatus for appearance inspection
US7099002B2 (en) Defect detector and method of detecting defect
US6484865B1 (en) Coin discriminating apparatus
US20050023492A1 (en) Dust and scratch detection for an image scanner
KR960010679B1 (en) Apparatus for detecting defects on bottle mouth with screw thread
JP3130974B2 (en) Coin identification device
JPH0769276B2 (en) Container inner surface inspection device
JP2000111491A (en) Appearance inspection apparatus
JPH08279062A (en) Coin recognition device
JP4253742B2 (en) Saddle bottom inspection method
US7474787B2 (en) Apparatus and method of detecting specified pattern
JPS6355656B2 (en)
JPH08212414A (en) Coin recognition device

Legal Events

Date Code Title Description
MKEX Expiry