Method and apparatus for optical inspection of transparent bodies - Patents.com

JP7576911B2Active Publication Date: 2024-11-01SCHOTT PHARMA SCHWEIZ AG
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2019506401
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2016-08-01
Filing Date
2017-07-31
Publication Date
2024-11-01
Estimated Expiration
2037-07-31

Smart Images

  • Figure 0007576911000001
    Figure 0007576911000001
  • Figure 0007576911000002
    Figure 0007576911000002
  • Figure 0007576911000003
    Figure 0007576911000003
Patent Text Reader

Abstract

The present invention relates to a method and an apparatus for optically inspecting a body, preferably a transparent body made of plastic, glass or glass ceramic, by detecting and measuring the body without contact using an optical imaging device, in which during inspection, a number of individual images are produced of the body at various positions relative to the imaging device, and these individual images are then analyzed.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The invention relates to a method and a device for optical inspection of a body, preferably a transparent body made of plastic, glass or glass ceramic, whereby the inspection is carried out by contactless detection and measurement of the body using an optical imaging device. [Background technology]

[0002] The contactless detection of information about a wide variety of bodies is of major importance in many scientific and technical fields. The corresponding applications are extremely diverse and range from geometric detection to surface inspection of technical products. Here, contactless optical inspection of finished technical products plays an important role, especially for quality assurance.

[0003] In this case, for example, geometric deviations from an ideal target shape, such as warping or dents, as well as local defects on the surface or within the material volume, such as holes, scratches, streaks, tears, creases, etc. Furthermore, resting or attached foreign objects or materials, such as dust, lint, drops, shavings, debris or other contaminants, may also be identified.

[0004] If the body reflects, absorbs or scatters a large portion of the radiation or waveform used, information about the surface shape can be obtained by these means. If radiation is incident on the object and is reflected, absorbed or scattered by internal structures, additionally information about the complete three-dimensional internal structure and, in addition, information about the surface shape can be obtained. That is, three-dimensional information about the object can be formed. By these means, undesirable defects in the volume, such as cavities, bubbles, fractures or included extraneous material, can also be identified.

[0005] Form fidelity and defect-freeness play a major role for the control and quality assurance of production processes. In particular, non-destructive, non-contact 3D inspection methods can prove highly useful in this case. Further quality decisions can be derived based on the available 3D measurement data.

[0006] The method is particularly useful when inspecting plastic or glass bodies. By means of corresponding three-dimensional inspection methods, for example, the outer contour of a glass body can be detected and compared with an ideal target shape. By means of these measures, surface defects, such as scratches, local shape deviations, or deposits, such as particles or glass fluff, can also be identified. By means of three-dimensional measurements, objects inside the glass body can also be detected. Such measurements are particularly important for the identification of glass defects, such as foreign material, inclusions and air bubbles. In this case, it is also important whether the object is located above or below the surface, i.e., for example, only resting or inside the glass itself.

[0007] DE 102004047928 B4 describes a method for three-dimensional measurement of object surfaces, in which an optical image sensor captures an image stack which comprises a number of images. The individual images of the image stack are spaced apart from one another in the Z direction. In order to achieve a large Z resolution, processing is carried out with a very small depth of focus. In this case, sharply imaged pixels are searched for among the individual images of the image stack. Due to the small depth of focus of the individual images, the object surface can be measured by evaluating the sharpness information in one measurement process.

[0008] From the document DE 102012016342 A1, for example, a method for inspecting glass containers is known, which comprises an illumination device arranged inside the glass container.

[0009] From the document DE 102011100146 A1 a further method is known which discloses the three-dimensional measurement of glass objects.

[0010] The known devices and methods have the disadvantage that a disturbance in the optical system, i.e., for example, in the area of ​​the imaging device, is interpreted as an error in the glass object. These methods are not designed to distinguish whether the cause of the error is in the area of ​​the optical system or in the interior or on the surface of the body to be inspected. In particular, this means that, for example, it is not possible to distinguish whether a lint is deposited on the body or on the lens of the imaging device.

[0011] It is therefore not possible to distinguish between a fault or malfunction of the device performing the corresponding optical inspection and an error related to the body to be inspected: a shadow in the glass could for example be a stain on the glass, which is an error here having a cause related to the body to be inspected.

[0012] If such a distinction is not made sufficiently, the analysis of the errors in the glass object will necessarily be significantly increased compared to the analysis of the disturbances in the system. Even if it is desired to increase the accuracy of the system for forming the image, this can only be achieved by reducing the disturbances in the entire system.

[0013] It is not possible to increase the accuracy of the method to the order of magnitude of variations in the glass surface, because even a perfect inspection system would consistently interpret such disturbances as errors, making it nearly impossible to improve inspection accuracy without a concomitant increase in the defect rate due to disturbances from the equipment itself.

[0014] Further disadvantages arise from the difficulty of continuous analysis of defects, e.g. the number of defects, or from the fact that analysis of certain errors, e.g. fractures that are only visible at very limited angles, is only possible with a low probability. Summary of the Invention [Problem to be solved by the invention]

[0015] The problem on which the invention is based is therefore to provide a method and a device for optical inspection of transparent bodies, which avoids the above-mentioned drawbacks.

[0016] In particular, an increase in the accuracy of the measurement and therefore of the inspection is achieved here, and the method also makes it possible to distinguish between errors related to the body to be inspected and faults caused by the system. [Means for solving the problem]

[0017] Surprisingly, these problems are solved by a method and a device for optical inspection of a transparent body according to the respective independent claims.

[0018] Preferred embodiments and developments of the invention follow from the respective dependent claims.

[0019] Thus, the invention relates to a method for optical inspection of a body, preferably a transparent body, comprising at least one optical imaging device and a calculation unit, in particular comprising the use of an optical imaging device and a calculation unit. Additionally, a further illumination device can also be provided, which can be used in the method for illuminating the body to be inspected.

[0020] For the inspection, the body is positioned in the detection field of the imaging device during the inspection together with the area to be inspected, which may include the entire body or only one element, for example the bottom or the side.

[0021] During the inspection, the body is rotated about a rotation axis, during which the imaging device captures a plurality of at least partially overlapping individual images of the body, the rotation preferably being continuous, although discontinuous rotation is also possible.

[0022] The capture of the individual images of the body is performed in each case at a rotational position of the body that is defined relative to the optical imaging device. The instantaneous time of capture of the individual images is thus represented by a predefined rotational position that defines the orientation of the body relative to the imaging device. The individual images are transmitted as digital images to a computing unit for evaluation. For this purpose, the computing unit is preferably equipped with an image analysis function that can perform an analysis of the digital images, for example on the basis of error information stored in an error indicator database. Additionally, the instantaneous time and / or the rotational position of capture of an image can also be transmitted to the computing unit in order to obtain additional information for the image analysis.

[0023] In detail, the method comprises: a) generating a first individual image of the body and transmitting it to a computing unit as a digital image to be used as a reference image; b) rotating the body through a predetermined rotation angle until a next predetermined rotation position is reached; c) generating a subsequent separate image of the body at said rotational position and transmitting said second separate image as a digital separate image to the computing unit; d) comparing the reference image with another image by computation to form a difference image from the subtraction of each image; e) processing the difference image by calculation of an unfolding, preferably a cylindrical unfolding; f) analyzing the unfolded difference image by a computation unit; g) repeating steps b) through f), each using a different image as a reference image, until the body has been rotated at least once completely. Includes.

[0024] Thus, according to the invention, when a predetermined rotational position is reached according to a predetermined rotation angle, a further individual image is created and compared with the preceding image as a reference image, so that the second individual image is respectively used as a new reference image in a new process.

[0025] The method is therefore based on a mutual comparison of two respective individual images or corresponding digital images of the body captured in successive rotational positions, whereby ideally the method is carried out until the body has rotated at least once completely relative to the position of the imaging device, so that the entire area of ​​the body to be examined is present for imaging at least once in the imaging field of the imaging device, whereby the sum of the rotation angles amounts to at least 360°, so that the body is imaged in the circumferential direction from different observation positions.

[0026] The creation of each image is preferably already performed digitally in order to simplify the subsequent evaluation, otherwise the digitization of each image can take place prior to its transmission to the computing unit.

[0027] The calculation unit allows for storage of each image. Due to the high processing speed, this can be particularly expediently done directly in RAM. Of course, storage on other storage media is also possible.

[0028] In alternative embodiments, the body may be held stationary and the imaging device rotated about the body, To this end, multiple imaging devices may be provided and positioned at various positions relative to the body.

[0029] In this case the lighting devices can for example be arranged circumferentially or can likewise be rotated together, although such an arrangement is generally more complicated, so that the above-mentioned embodiments in which the body rotates and the imaging device and / or the lighting device are stationary are preferred.

[0030] Here, the comparison of a first image of the body with a subsequent second image in two successive different rotational positions can be carried out particularly conveniently by calculation of the subtraction of the two images produced. In this regard, it should be understood that only non-identical information is taken from the two images for further evaluation. In this connection, the image obtained by subtraction is also called a difference image.

[0031] The difference image thus created can be unfolded in a known manner. The unfolding here is performed in accordance with the object's geometrical shape. If the body is at least partially rotationally symmetrical, the image can be unfolded cylindrically. That is, the image is preferably unfolded cylindrically. The unfolded image or the difference image can be analyzed for defects by image analysis functions.

[0032] The method allows various defects to be recognized and identified. During the inspection, it is also possible to distinguish whether the cause of the error is in the area or surroundings of the optical system or in or on the surface of the body to be inspected. This makes it possible, for example, to distinguish whether particles, such as dust or lint, are on the body or on elements of the optical system, for example on the lens, or in the air space between the body and the imager at the moment of the image capture. If the cause of the error is in the body to be inspected, it is also possible to distinguish whether this error is on the surface facing the imager or on the surface opposite it, or within the volume of the body.

[0033] Thus, according to the method of the invention, for example, particles in the area of ​​the optical system, for example dust on a lens, are always present in the same image position in successive individual images of the body that are at least partially overlapping. By calculating the elimination of the same image elements in two successive images, such particles no longer need to be displayed in the difference image. The difference image is thus an image that can be analyzed by current computer-aided methods, with systematic errors removed.

[0034] Thus, in a preferred embodiment, for the purpose of analyzing the difference image, objects that are present in the same position in successive images can be eliminated from the difference image.

[0035] This allows for improved inspection accuracy, since the overall system disturbances can be reduced or even completely eliminated, thus minimizing the system-induced defect rate during inspection and significantly improving the efficiency of the optical inspection method.

[0036] The method of the invention makes it possible to reliably identify errors that cannot be identified by conventional inspection methods or that can only be identified with a high degree of uncertainty, such as fractures that can only be observed from very specific angles, and in particular to distinguish system-related errors from errors present in the region of the body.

[0037] For the evaluation, the rotational speed of the body relative to the imaging device is preferably used, from which information can be derived about the exact location of the error in the area of ​​the body.

[0038] That is, for example, an error on the outer surface of a body in two successive images can have a lateral displacement in the generated image, i.e. the error is not displayed in the same position in the image. From the lateral displacement and the time between the two images, the error velocity due to the rotation of the body can be calculated, which approximately corresponds to the trajectory velocity of the error at the corresponding position of the body. From this, the distance to the axis of symmetry of the body and thus the trajectory curve of the error position can be determined. Based on the trajectory curve of the error position or the radial distance to the axis of symmetry of the body, it can be determined in relation to the stored geometric data and the body whether the error position is determined, for example, on the outer surface or in a volume or on the inner surface of the body.

[0039] Thus, advantageously, the individual images of the body that are successively imaged overlap. In order to identify the above-mentioned errors as well as possible, it is advantageous to form a large overlap, so that the lateral displacement of the errors in successive images is considerably small.

[0040] In this way the size of the error can be better identified, since in this case for example the length of the error can be calculated from the lateral displacement in successive difference images.

[0041] Here, in a preferred embodiment, the body is at least partially rotationally symmetrical, whereby the rotation of the body can take place around an axis of symmetry, so that the distance to the illumination device and / or the imaging device remains the same during the rotation. Advantageously, in a rotationally symmetrical or at least partially rotationally symmetrical body, the axis of rotation lies on the axis of symmetry, i.e. is aligned with the axis of symmetry.

[0042] In this way, the rotational speed of the body surface can be determined in a very simple manner and taken into account in the evaluation, which simplifies the image acquisition and the evaluation of the images, where the movement speed of the error can be evaluated based on the lateral displacement relative to the rotational speed of the body.

[0043] The body can be made of transparent materials, including plastic, glass, in particular borosilicate glass or glass ceramics, The method is also applicable to opaque materials, in which case it can also advantageously operate in reflection.

[0044] Suitable bodies can be formed as solid materials, for example rods or rod parts, or as hollow, for example tubes or tube parts. The method is particularly suitable for the inspection of packaging materials, containers and vessels, which have very high requirements with regard to impurities. At the same time, the packaging material itself should also have high quality.

[0045] This also concerns, for example, pharmaceutical packaging, such as syringes, cartridges, vials or ampoules, as well as containers, for example for perfume products. Pharmaceutical packaging made of glass, in particular borosilicate glass, can be very well inspected by the method of the invention. Similarly, other bodies made of plastic or glass ceramics, such as containers, tubes or rods, can also be inspected by the method.

[0046] The body with a hollow space is preferably evacuated during the examination so that additional possible error sources do not affect and complicate the examination, which may be, for example, air bubbles occurring in the substance introduced into the volume.

[0047] The optical imaging device is configured as an imaging optical system. The imaging device is configured to capture a two-dimensional image of a surface in the object space. The imaging works similarly to optical imaging using lenses. Here, the underlying operating method can be transferred to other wavelength regions of the electromagnetic spectrum or other waveforms, for example sound waves.

[0048] In this respect, a transparent body in the present invention may also refer to a body that is transparent or has a high transmittance with respect to the wavelength of the imaging device.

[0049] An imaging device typically includes an image sensor and an imaging element. The image sensor is capable of detecting a surface in the object space in two dimensions and converting the incident radiation into an electrical signal. The surface that is sharply imaged is also called the focal plane.

[0050] In most cases, the digital image is divided into individual picture elements (pixels). In certain embodiments, for example when information about the position dependency in coordinates is omitted, the image sensor can be formed as a line camera in one dimension. Here, an image sensor operating in two dimensions is advantageous.

[0051] The image sensor may, for example, comprise a matrix camera based on CCD or CMOS chip technology, which also allows the detection of wavelength ranges or other radiation that are not sensitive to the chip itself used, via a converter connected upstream (for example a scintillator plate, a phosphor layer, an upconversion material, etc.). Furthermore, the image sensor may comprise an infrared camera, a bolometer, an InGaAs camera or an HgCdTe camera.

[0052] Imaging is performed by an element referred to below as the objective lens. If the electromagnetic radiation is in the wavelength range from ultraviolet to infrared radiation, the objective lens is typically formed by a lens or a combination of lenses. The equivalent imaging function can also be achieved by other elements, for example zone plates or Fresnel lenses. In special cases, two-dimensional images can also be created by scanner technology.

[0053] For the evaluation, the image data is transmitted to an electronic calculation unit, in which the information transmitted from the imaging device can be stored, and the image information can additionally contain position-dependent depth information, which can be determined on the basis of the distance from the body to the imaging device and the sharpness.

[0054] In this case, the digitization of the signals generated by the image sensor can be carried out according to the prior art either within the image capture device itself or within the evaluation unit, so that the required image analysis algorithms can be implemented in the form of fixed or arbitrarily programmable software.

[0055] Here, the body is positioned so that the area to be inspected is located as far as possible within the focal plane of the imaging device, i.e. within the detection area, so as to enable sharp detection of defects.

[0056] By selecting the focal depth of the imaging device, in preferred embodiments of the device of the invention it can be deliberately set to either sharply image the entire body or to image only a part of the body, for example the front or wall of the body facing the imaging device.

[0057] In a first embodiment, the depth of focus of the imaging device focused on the body is at least 1 cm, preferably at least 3 cm, particularly preferably at least 10 cm. By selecting a relatively large depth of focus, it is generally possible to simultaneously and sharply image and analyze defects on both the front side of the body facing the imaging device and the rear side of the body facing away from the imaging device. However, the computational evaluation of the resulting image requires a relatively high computing power of the evaluation unit, since overall a large number of defects are present on the image and defects on the front side and defects on the rear side have to be distinguished. The distinction between defects on the front side and defects on the rear side can be made based on the direction of movement when rotating the body.

[0058] In addition, for hollow bodies with a set wall thickness of the body, the depth of focus of the imaging device focused on the body can be selected in another embodiment, preferably such that the ratio of the depth of focus to the wall thickness of the body is less than 5, preferably less than 2, particularly preferably less than 1.5. If the depth of focus is set in this way, only the front wall of the hollow body can be sharply imaged, the rear wall being optically removed. This significantly reduces the computational effort required for the evaluation and also makes it unnecessary to distinguish between errors of the front surface and errors of the rear surface. Furthermore, there is no superposition of errors of the front surface and errors of the rear surface, which may occur at a certain rotation angle with a very large depth of focus. Thus, the front surface of the body can be observed separately.

[0059] Alternatively, in another embodiment of the observation device, the imaging device focused on the body has a focal depth of less than 1 cm, preferably less than 0.5 cm, particularly preferably less than 2 mm.

[0060] Thus, both the selection of a small depth of focus and the selection of a large depth of focus based on the body to be analyzed have their respective advantages and one may be given priority depending on the available computing power of the evaluation unit and the desired analysis range.

[0061] In addition, for thick-walled elements, multiple series of images can be acquired in the circumferential direction, either at different distances from the body to the imaging device, or with the focal plane at different positions along the optical axis, thereby allowing sharp imaging of different depth regions of the body.

[0062] In a preferred embodiment, the body is rotated during the inspection. For this purpose, a suitable rotation device, e.g. a turntable, is provided, so that the body can be rotated continuously during the inspection. This allows the imaging device and / or the illumination device to be kept consistently stationary. This generally means a simpler construction.

[0063] However, rotation by rotating an imaging device or virtual rotation by arranging a plurality of imaging devices at predetermined angular intervals can also be realized.

[0064] In this case, the rotation speed is chosen to allow for a sharp body image in the focal plane and is associated with the trigger parameters of the imaging device. The body rotation speed therefore corresponds to the imaging rate of the imaging device. Another criterion is the trigger time, i.e. the time that elapses between two successive images. This time is often set based on the optical system.

[0065] The imaging rate, i.e. the number of images taken per time unit, is therefore selected depending on the rotation speed of the body so that, on the one hand, the body appears as sharp as possible in the focal plane and, on the other hand, the examination times do not last too long. In this respect, imaging devices with an imaging rate of about 10 images per second or more have generally proven to be advantageous, in order to allow sufficiently high rotation speeds.

[0066] To obtain a complete imaging of the body with difference images having sufficient overlap, it is advantageous to take a certain number of successive images during one complete rotation of the body. Thus, if at least 36 images are taken when a body with a diameter of 5 mm or more is rotated 360°, this means that the first rotational position differs from the next rotational position by 10°. Thus, the rotational angle of the body relative to the imaging device changes by 10° per imaging, with the first individual image being taken at a position of 0° and the second individual image being taken at a position of 10°. More precise information can be obtained if the rotational angle of the body from the first imaging to the next imaging does not change by more than 5°, preferably by not more than 2°, particularly preferably by not more than 1°. This is advantageous in particular for large bodies with a diameter of about 20 mm or more.

[0067] Depending on the rotation speed, the continuous rotation of the body during the capture of the image may result in motion blur, the so-called "motion blur" effect. For the creation of the difference image, these effects can be removed by calculation using suitable algorithms to improve the evaluation. Here, it is advantageous if the motion blur of the image is removed by calculation during the error analysis.

[0068] Furthermore, an illumination device may be provided, comprising a suitable light source, said illumination device being capable of emitting electromagnetic radiation in the visible wavelength range and / or in the near infrared range and / or in the near ultraviolet range, in accordance with the present invention, the detectable wavelength of the image sensor being matched to the wavelength of the light source.

[0069] In this case, the light source can be arranged so that an inspection can be performed with epi-illumination or transillumination. A plurality of light sources can be used for this purpose. That is, for example, the light source can be arranged so that the body is located between the light source and the imaging device in order to image the body with transillumination. In this case, a further light source can also be arranged, for example, in the area of ​​the imaging device in order to image the body with epi-illumination. Each light source can be configured so that it can be individually switched on or off during the inspection.

[0070] In this way, the light source can be switched on and then switched off for each individual image, for example by the computing unit. Alternating operation is also possible, in which the acquisition of a first sequence of images in the circumferential direction is performed in a first illumination setting, for example for imaging with epi-illumination, and the acquisition of a second sequence of images in the circumferential direction is performed in a second illumination setting, for example for imaging with trans-illumination.

[0071] Preferably, for analysing the difference images, the lateral displacement of the object relative to the rotational speed of the body in successive images is assessed.

[0072] In a particularly preferred embodiment of the method, the rotation angle of the body between two successive rotation positions does not exceed 20°, does not exceed 10°, preferably does not exceed 5°, preferably does not exceed 2°, particularly preferably does not exceed 1°.

[0073] A method for performing optical inspection according to one of the present claims is characterized in that the rotation of the body is continuous during the imaging.

[0074] Preferably, the light source contained in the illumination device emits monochromatic radiation, so that errors that appear dark in the captured image, such as particles, can be distinguished with sufficient contrast. For this purpose, the illumination can be made diffuse. The light source may also emit or radiate white light.

[0075] In one development of the invention, it is also possible to expose the body to different radiation and carry out an examination at different wavelengths, so that, for example, in addition to grey value or colour images, also infrared images can be taken.

[0076] For each captured image, information regarding the capture time can be stored in the calculation unit at the same time, whereby for each instant at which the image sensor captures an image, information regarding the rotational position and the distance of the imager from the body is stored by calculation.

[0077] Defects, such as surface damage, e.g. scratches or cracks, as well as errors present in the volume, e.g. air bubbles contained in glass or glass-ceramic bodies, cause light / dark deviations in the captured image, which in the digital image or in the generated difference image differ from adjacent pixels or pixel regions and which can be analyzed by calculation using suitable algorithms.

[0078] In this way, the body surface can be inspected for defects as well as deviations from a set target contour, i.e. information about the spatial extent of defects, such as scratches or tears, can also be determined, i.e. for example the position, length, width and / or depth.

[0079] It is also possible to identify defects below the surface of the body, such as Schlieren included in the material volume, trapped air bubbles or included foreign particles. The evaluation allows the calculation of information about the location of defects on the surface or in the interior of the body and their spatial extent.

[0080] The invention therefore also comprises in another aspect an observation device for optical inspection of a body, preferably a transparent body, which observation device comprises an optical imaging device and a calculation unit for performing the optical inspection as described above. Furthermore, at least one illumination device for illuminating the body can be provided. It is also advantageous to provide an imaging means for positioning and supporting the body to be inspected, which imaging means can be configured as a rotation device. This can be, for example, a turntable on which the body can be placed and which undergoes a rotational movement.

[0081] In a preferred embodiment, the observation apparatus for performing the optical inspection described above includes: a) generating a first individual image of the body and transmitting it to a computing unit as a digital image to be used as a reference image; b) rotating the body through a predetermined rotation angle until a next predetermined rotation position is reached; c) generating a subsequent separate image of the body at said rotational position and transmitting said second separate image as a digital separate image to the computing unit; d) comparing the reference image with another image by computation to form a difference image from the subtraction of each image; e) processing the difference image by computing an unfolding; f) analyzing the unfolded difference image by a computation unit; g) repeating steps b) through f), each using a different image as a reference image, until the body has been rotated at least once completely. The apparatus is configured to execute the following steps:

[0082] The present invention will now be described in detail with reference to the accompanying drawings. [Brief description of the drawings]

[0083] [Figure 1] FIG. 2 is a perspective view showing a schematic view of a part of an observation device for performing optical inspection. [Diagram 2] FIG. 2 is a perspective view showing a glass pharmaceutical packaging material. [Diagram 3] FIG. 2 is a plan view illustrating the imaging of an error by a rotating imaging device; [Figure 4] 1 is a schematic flow diagram of a method for inspecting glass pharmaceutical packaging material with various errors. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0084] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments are described in detail below, with substantially identical elements being designated by the same reference numerals in each embodiment for the sake of clarity, however, for a better understanding of the present invention, the preferred embodiments shown are not necessarily drawn to scale.

[0085] FIG. 1 shows a schematic cross-section of an observation device, generally designated 1, for optical inspection and observation of bodies.

[0086] The invention provides an observation method and an observation device for quality monitoring of transparent bodies, preferably with a rotationally symmetrical construction, and is particularly suitable for the inspection of transparent plastic, glass or glass ceramic bodies, which may be solid or hollow.

[0087] Preferably, the body may be a vessel, a so-called container, or a package for medicines, for example a glass syringe or a glass ampoule. During the observation, the body to be examined is rotated about a rotation axis and the entire surface of the body is detected by the imaging device by a number of successive individual images of the system forming the image for different angular increments of the body.

[0088] Here, the number of individual images per angle step, or the total number of individual images per complete rotation of the body about the axis of rotation, is selected such that successive individual images overlap and overlap information is obtained.

[0089] In this case, the overlap information is used to form additional information for the evaluation, in particular to enable background interference information, such as noise, reflections or impurities, to be digitally suppressed. Rotation-related errors can be differentiated from non-rotation-related errors.

[0090] By these measures it is possible to distinguish between impurities in the observation device and errors in the glass body. Also, depending on the direction of rotation it is possible to distinguish whether the errors are on the front or rear side of the body, thus avoiding double evaluation. Furthermore, from the analysis of the rotation speed of the body further information on the errors can be obtained in order to analyze their spread or type of error.

[0091] The observation device 1 makes it possible to optically detect the body to be inspected by means of a system which forms an image, thereby enabling possible errors or defects in the body to be inspected.

[0092] In the example shown in Fig. 1, the body to be inspected is part of a glass tube 20. The body is made rotationally symmetrical with respect to an axis of symmetry 13, which is simultaneously used as the axis of rotation during rotation. The rotation takes place in the direction of rotation designated "Z", but can of course also take place in the opposite direction.

[0093] The observation device 1 includes an imaging device, preferably a rotation device for rotating the body, in this example a turntable 12 for supporting and positioning the body 20, on which the body 20 to be observed is placed so that the axis of symmetry of the body 20 and the axis of rotation of the imaging device coincide with each other.

[0094] Furthermore, the device comprises at least one optical imaging device 14, which in this example is arranged so that it can image a part of the outer surface of the body during rotation. The imaging device 14 is arranged here in such a way that the area to be inspected of the body 20 is located within the detection field of the imaging device 14. In this example, this area is a partial area of ​​the outer surface of the body 20. Of course, the imaging device 14 can also be arranged at another position, for example to inspect the bottom or the transition area from the bottom to the side wall. It is also possible to use several differently arranged imaging devices 14 in parallel to image each one of the predefined areas of the body, in which case a subsequent analysis can be carried out on the images produced by each imaging device.

[0095] The imaging device 14 includes an image sensor having a matrix camera or a multi-line camera. The optical system of the imaging device 14 includes other optical devices, such as lenses, which are not shown for clarity.

[0096] A rotationally symmetric body offers the great advantage that the distance of the imaging device 14 from the body surface can be kept constant during rotation about the axis of symmetry 13, so that when the imaging device is in a corresponding stationary position relative to the outer surface of the body 20, it can be imaged with equal sharpness over the entire image.

[0097] Furthermore, preferably, an illumination device 11 is provided which, in this example, emits monochromatic light towards the body to illuminate the body during the inspection. The light source of the illumination device 11 is here arranged at the same position as the imaging device 14 when viewed from the body 20. In this way, an epi-illumination image can be captured.

[0098] Of course, other arrangements of the illumination device are also possible. In a hollow body that is open towards the top, the illumination section is for example arranged in the hollow chamber of the body, projecting into the body from above through an opening. It is also possible for the illumination section to be arranged on the side of the body opposite the imager 14, thereby emitting radiation in the direction of the imager. In the latter case, a transillumination analysis is possible.

[0099] During the capture of the individual images, the body 20 rotates continuously about the axis of rotation 13. The body is here arranged at a distance relative to the imaging device such that the focal plane of the imaging device at least touches or intersects the outer surface of the body.

[0100] In the example shown in FIG. 1, the body is hollow having a side wall.

[0101] In order that the errors in the volume of the body and the errors on the inner surface of the body can be imaged sufficiently clearly by the imaging device, an imaging device with a large focal depth can be used in this example, which is ideally selected in this case such that as much of the entire volume area of ​​the body as possible can be sharply imaged in the imaging area, depending on the thickness of the sidewalls of the volume to be examined of the body or of the hollow body.

[0102] However, in alternative embodiments, imaging devices with a small focal depth can be used, for example to save computation time or in cases where only partial regions of the body, for example only the outside, are analysed.

[0103] 2 illustrates a perspective view of a transparent pharmaceutical packaging material, in this example a container, specifically a vial 30 made of borosilicate glass. The vial 30 has an error 31, in this example present on the outer surface of the vial 30. The error here is a particle that has landed on the surface. Similarly, there may be defects within the volume of the glass body, such as a foreign object contained within the glass or an air bubble contained within the volume.

[0104] 3 shows, in schematic plan view, three different configurations of the body 30 and the imaging device 14 relative to one another for capturing three successive images, the configurations being distinguished by a rotation of the body 30 in a direction designated "Z", which results in a different body orientation relative to the imaging device.

[0105] The imaging device 14 is positioned such that the mantle region to be inspected of the body 30 is located within the detection field 32 of the stationary imaging device 14. For clarity, the illumination device is not shown.

[0106] During rotation, the imaging device captures images of the body 30, where the rotational position, i.e., orientation, of the body 30 relative to the imaging device 14 changes. In the illustrated example, three different rotational positions are represented by the symbols "A", "B", and "C".

[0107] In the rotational position indicated by "A", the error 31 is located in the detection area 32 of the imaging device 14 on the right side as viewed along the optical axis in the imaging direction, and thus in the right image area. In this rotational position, a first image is created by the imaging device 14. After the body 30 is rotated by about 30°, the error 31 on the mantle surface also rotates and is located in a rotational position approximately in the center of the image area indicated by "B". After a further rotation of about 30°, the error 31 is located, for example, in the left image area.

[0108] According to the invention, one image is taken at each of the three rotational positions "A", "B" and "C". In this way, two difference images can be created by comparing two images taken in succession, one at rotational position "A" and one at rotational position "B" and one at rotational position "C". The error 31 is associated with the body 30, so that the position of the error on each created image will be different due to the rotation of the body 30.

[0109] Since only the information that is different in each successive image is used to create the difference image, the error 31 is imaged identically in the two corresponding difference images and can be determined by appropriate analysis methods.

[0110] In the illustrated example, a total of three images need to be created for an angular region of approximately 60° (approximately 30° between rotational positions "A" and "B" and approximately 30° between rotational positions "B" and "C"), thereby providing a substantially easy-to-read display.

[0111] It has been found that a significantly shorter image sequence with a small rotation angle between two successive rotation positions leads to very good inspection results with high evaluation accuracy, since geometric information on the error, for example the exact length of the fracture, can be determined precisely. A sufficient overlap can generally be obtained at a rotation angle not exceeding 30°, not exceeding 20°, not exceeding 10°, preferably not exceeding 5°, preferably not exceeding 2°, particularly preferably not exceeding 1°.

[0112] 4 further illustrates a schematic diagram of an exemplary inspection flow based on three consecutive images of a pharmaceutical packaging material made of glass 20, formed with an internal volume, with various errors, some of which are associated with the body 20 to be inspected and some of which are associated with the optics or the surroundings.

[0113] Here, three separate images 40', 40'', 40''' are taken, by way of example, at three successive rotational positions with the glass body 20, as explained with reference to the example shown in Fig. 3. For good visibility, the angle between each rotational position is approximately 30°, although in practice there are typically significantly smaller angles between rotational positions.

[0114] In this example, the focal depth of the imaging device is adjusted in a targeted manner so that the entire body in the detection area is sharply imaged, in this example the focal depth is 3 cm in order to enable a sharp display of the entire part of the detection area of ​​the imaging device that is located in the detection area between the symmetry axis of the body and the imaging device.

[0115] The rotation speed of the glass body 20 is selected here in such a way that the error appears on several individual images, i.e. on several successive images, i.e. the successive individual images have an overlap. It has proven advantageous for the overlap to be at least 50%, preferably at least 60%, particularly preferably at least 70%. In the illustrated example, an exemplary error is displayed on three different, successively captured individual images 40', 40'', 40'''.

[0116] In this case example, the three images of the glass body 40', 40'', 40''' have defects 45a, 45b, 45c, 45d having different causes and therefore belonging to different classes. Here, the defect 45a relates to an error on the surface or inside the glass body 20. It can also be an external particle deposited or contained within the volume.

[0117] Defects 45b represent imperfections that appear on each individual image 40', 40'', 40''' due to shadows and / or reflections through the glass body (dashed lines). Such errors may be caused, for example, by the wall thickness of the glass body 20 and / or reflections related to the lighting.

[0118] Error 45c indicates an ambient error, which could be, for example, a lint in the air.

[0119] Additionally, error 45d represents a defect due to the optics, i.e., a defect present in or on imager 14. This may be, for example, a lint that has settled on the lens of imager 14.

[0120] The method of the present invention is configured to calculate the image of two consecutive individual images by subtraction, where only non-identical information is obtained from the two images for further evaluation. Thus, the digital images obtained from two consecutively taken individual images are compared with each other and the information that is identically present in the two images is eliminated to obtain a difference image.

[0121] Thus, in the illustrated example, a first subtraction 41' is performed from the images of the individual images 40', 40'' to produce a difference image 42'. Another subtraction 41'' is then performed to obtain another difference image 42''. This operating method is performed for all individual images, which allows inspection of the glass body 20 in the circumferential direction.

[0122] Creating difference images 42', 42'' reduces and eliminates system induced errors, ie, errors associated with imager 14 or errors due to imaging or lighting.

[0123] For this purpose, the rotational speed of the body and the time of the capture of each individual image are used. Then, by calculation, the speed of the body surface relative to the imager 14 is determined, which is approximately matched to the trajectory speed of a point of the trajectory curve corresponding to this surface, and from this the lateral displacement in two successive images in which an error occurs on or in the body to be examined is determined.

[0124] Such a distance-time analysis makes it possible to identify objects on the image whose movement is dependent on the rotational speed of the body, the presence of which is justified within the body to be examined, whereas objects whose movement is not correlated with the rotational speed of the body have other reasons.

[0125] For further analysis, objects with such velocity-proportional motion are passed through appropriate filter algorithms, whereas objects with different velocities or objects that are stationary on the individual images are eliminated from the image for further analysis.

[0126] In the illustrated example, only the errors 45a and 45c are shown on the difference image 42'. In this case, the error 45a is displayed twice, because the error 45a appears in two different positions in the corresponding individual images 40' and 40'', due to the rotation of the glass body 20. The error 45a is also displayed twice in the difference image 42'', because the glass body 20 is rotated between the individual images 40'', and 40'''. In contrast, the error 45c is not displayed, since it does not exist in any of the individual images 40'', and 40''''. In contrast, the errors 45b and 45d appear in the same positions on the corresponding individual images 40', 40'', and 40''', respectively. Therefore, in terms of calculation, the errors 45b and 45d are not carried over to the difference images 42' and 42''.

[0127] The difference images 42', 42'' are then computationally unwrapped into a cylindrical shape and an object analysis is carried out accordingly in the computing unit by means of suitable algorithms. In the unwrapped rotated image, errors are then analyzed.

[0128] This measure makes it possible to eliminate so-called pseudo errors, i.e. errors that originate inside or on the surface of the body to be inspected, which are pixels or pixel regions in the digital image that have no lateral displacement according to the distance-time analysis and therefore have an increasing or decreasing lateral displacement or no lateral displacement with respect to their position from one individual image to the next.

[0129] This leaves only those errors directly related to the body for the error analysis, which makes it possible to achieve a fast and reliable inspection of the body and provides information as to whether the inspected body is defective or not.

Claims

1. 1. A method for performing optical inspection of a body comprising the use of an optical imaging device and a computing unit, comprising: - positioning the body during inspection such that an area of ​​the body to be inspected is located within a detection field of the imaging device; - rotating the body about an axis of rotation during the inspection; - capturing a plurality of at least partially overlapping individual images of the body by the imaging device during said rotation; characterizing the moment of capturing each individual image by a predetermined rotational position, said predetermined rotational position defining an orientation of said body relative to said imaging device; 1. A method for performing optical inspection, comprising: a) generating a first individual image of the body and transmitting it to the computing unit as a digital image to be used as a reference image; b) rotating said body through a predetermined rotation angle until a next predetermined rotation position is reached; c) creating a subsequent separate image of the body at said rotational position and transmitting said second separate image as a digital separate image to said computing unit; d) comparing said reference image and said further image by computation to form a difference image from the subtraction of each image; e) processing said difference image by computing an unfolding; f) analyzing the unfolded difference image by the computing unit; g) repeating steps b) to f), each using the further image as the reference image, until the body has rotated at least one complete revolution; Including, the body being selected from a rod, a tube, or a pharmaceutical package; The body is transparent. A method for performing optical inspection.

2. the body is at least partially rotationally symmetric, the axis of rotation being aligned with an axis of symmetry of the body; The method for performing optical inspection according to claim 1 .

3. The body comprises plastic, glass, or glass ceramic.

3. A method for performing optical inspection according to claim 1 or 2.

4. The body may comprise a container or packaging material, pharmaceutical packaging material including a syringe, cartridge, vial or ampoule; 4. A method for performing optical inspection according to claim 1.

5. The body comprises a glass container.

5. A method for performing optical inspection according to any one of claims 1 to 4.

6. Analyzing the difference images corresponds to determining a lateral displacement of an object in successive images.

6. A method for performing optical inspection according to any one of claims 1 to 5.

7. erasing objects present at the same position in successive images to obtain said difference image; 7. A method for performing optical inspection according to any one of claims 1 to 6.

8. the motion unsharpness of the image is removed by computation during the error analysis; 8. A method for performing optical inspection according to any one of the preceding claims.

9. the rotation angle of said body between two successive rotation positions does not exceed 20°; 9. A method for performing optical inspection according to any one of the preceding claims.

10. The rotation of the body is performed continuously during the imaging.

10. A method for performing optical inspection according to any one of the preceding claims.

11. The imaging device includes a matrix camera or a multi-line camera. A method for performing optical inspection according to any one of the preceding claims.

12. At least one illumination device is provided for illuminating the body during the inspection.

12. A method for performing optical inspection according to any one of the preceding claims.

13. The illumination device includes a light source emitting electromagnetic radiation in the visible wavelength range and / or near infrared and / or near ultraviolet, 13. The method for performing optical inspection according to claim 12.

14. said light source emitting monochromatic radiation; 14. The method for optical inspection of claim 13.

15. The light source emits white light.

14. The method for optical inspection of claim 13.

16. The illumination is formed to be diffuse.

16. A method for performing optical inspection according to any one of claims 12 to 15.

17. the body comprises borosilicate glass; 4. The method for performing optical inspection according to claim 3.

18. The body includes a container made of borosilicate glass.

6. A method for performing optical inspection according to claim 5.

19. the rotation angle of the body between two successive rotation positions does not exceed 10°; 10. The method for performing optical inspection according to claim 9.

20. the rotation angle of said body between two successive rotation positions does not exceed 5°; 20. The method for optical inspection of claim 19.

21. An observation device for optically inspecting a body, comprising: At least one optical imaging device; A computation unit; at least one lighting device for illuminating said body; A rotation device for rotating the body about a rotation axis; The observation device includes: h) creating a first individual image of the body and transmitting it to the computing unit as a digital image used as a reference image; i) rotating said body through a predetermined rotation angle until a next predetermined rotation position is reached; j) creating a subsequent separate image of the body at said rotational position and transmitting said second separate image as a digital separate image to said computing unit; k) comparing said reference image and said further image by computation to form a difference image from the subtraction of each image; l) processing said difference image by computing an unfolding; m) analyzing the unfolded difference image by the computation unit; n) repeating steps i) to m), each time using the further image as the reference image, until the body has been rotated at least one complete revolution; is configured to run The body is transparent. Observation equipment for optical inspection.

22. The depth of focus of the imaging device focused on the body is at least 1 cm.

22. An observation device for performing optical inspection according to claim 21.

23. The depth of focus of the imaging device focused on the body is less than 1 cm.

22. An observation device for performing optical inspection according to claim 21.

24. a focal depth of the imaging device focused on the body is selected depending on a wall thickness of the body; a ratio of the depth of focus to the wall thickness of the body is less than 5; 22. An observation device for performing optical inspection according to claim 21.

Citation Information

Patent Citations

  • Defect checking method for blank of photomask

    JP1986294818A

  • Defect inspector for bottle mouth thread part

    JP1988222246A

  • Method and device for observing droplet

    JP2005201895A

  • Visual inspection method and device

    JP2009128261A

  • Inspection device and method for optical member

    JP1997015159A