Technical field
[0001] This invention relates to a device for the optical inspection of parisons. Lines for the production of plastic containers, specifically bottles, commonly comprise a moulding machine, configured to form parisons from PET (polyethylene terephthalate) and a blow-moulding machine configured to blow the parisons in moulds to make the containers. Some preforms may be flawed, for example by irregular thickness, holes, blisters or extraneous bodies; these flaws must be detected by a quality check intended to promptly remove the defective parisons from the production line.
Background art
[0002] Known from patent document
EP2976204B1 is a system for optically checking parisons configured to check the parisons while they are being transported by a conveyor towards a collection vessel; the system comprises a camera and a light source, disposed in such a way that the light source illuminates the parisons from behind and the camera captures an image of each parison from the front.
[0003] Others inspection systems are disclosed in the following patent documents:
US2017/129157A1,
DE102006047150A1,
US2018/311883A1. One limitation of prior art optical inspection systems is that they limit the quality check to image features that are visible to the camera (such as blistering, for example) but are unable to detect internal defects of the material such as irregular residual stresses in the polymer chains of the PET.
[0004] In addition, prior art systems detect the defective parisons on the basis of similarity with images of other defective parisons stored in a database. These systems therefore have to be initialized with a database containing all the possible defects that need to be detected; it is, however, rare to find a complete and exhaustive database of this kind because defects vary widely and defective parisons constitute only a small percentage of the parisons made.
[0005] Generally speaking, therefore, prior art systems have limited reliability in identifying defective parisons.
Disclosure of the invention
[0006] The aim of this disclosure is to provide a device and a method for optical inspection of parisons to overcome the above mentioned disadvantages of the prior art. Another aim of this disclosure is to provide a method for processing an image of a parison to overcome the above mentioned disadvantages of the prior art.
[0007] These aims are fully achieved, according to this disclosure, by the device for optical inspection of parisons, by the method for optical inspection of parisons and by the method for processing an image of a parison as characterized in the appended claims.
[0008] More specifically, this disclosure relates to a device for optical inspection of parisons (or preforms) or other objects made of plastic material (such as caps or capsules, for example) or metallic (such as lids); in this regard, it is understood that the rest of this description, made with reference to parisons, is also applicable to other objects made of plastic or metallic material. The term "parison" is used to denote an intermediate product in the process for the production of plastic containers such as, for example, beverage bottles. More specifically, parisons are formed by moulding the plastic material (typically injection or compression moulding) and, at a later stage, are expanded by blow-moulding to produce the finished containers. Parisons are made of plastic material, preferably PET (polyethylene terephthalate).
[0009] The device for optical inspection of parisons according to this disclosure comprises an illuminator. The illuminator includes a light source configured to emit a beam of light directed at a parison located at an inspection position.
[0010] In one embodiment, the device includes an inspection pocket configured to receive the parison at the inspection position. In another embodiment, the inspection pocket configured to receive the parison at the inspection position is part of a line which, among other things, includes the device. The device comprises a detector. The detector includes a camera. The camera (that is, the detector) is configured to capture an image of the parison located at the inspection position.
[0011] In an embodiment, the light source is configured to emit the light beam continuously. In an embodiment, the light source is stroboscopic and is configured to emit the light beam at predetermined emission intervals (each emission interval corresponds to the time taken to feed a parison to the inspection position).
[0012] In an embodiment, the camera is configured to capture the image at predetermined capture intervals (each capture interval corresponds to the time taken to feed a parison to the inspection position); if the light source is stroboscopic, the emission intervals correspond to (that is, are equal to) the capture intervals.
[0013] At the inspection position, the parison is operatively interposed between the illuminator and the detector. That way, the illuminator lights the parison from a first side (for example, from the front), while the detector captures an image of the parison from a second side, opposite to the first (for example, from the back); the detector thus captures a backlit image of the parison.
[0014] Preferably, the illuminator (or the device) includes an emission-polarizing filter (or first polarizing filter). The emission-polarizing filter is configured to intercept the light beam emitted by the light source. The emission-polarizing filter is configured to generate a corresponding polarized light beam from the light beam emitted by the light source.
[0015] Preferably, the detector (or the inspection device) includes a receiving polarizing filter (or second polarizing filter).
[0016] Preferably, at the inspection position, the parison is operatively interposed between the emission-polarizing filter and the receiving polarizing filter.
[0017] The receiving polarizing filter is configured to receive the polarized light beam. More specifically, the receiving polarizing filter is configured to receive the beam of light polarized by the emission-polarizing filter and refracted by the parison and to generate a second polarized light beam. The camera thus receives the second polarized light beam.
[0018] Since the material the parison is made of (preferably PET) is characterized by birefringence, when the polymer chains inside it are oriented and it is subjected to stress, the polarized light (from the first polarizing filter) which strikes it is refracted according to refractive indices which differ according to the stress. More specifically, the light rays which strike the parison are broken down into two rays which oscillate in perpendicular planes and the second polarizer allows only some of the components to pass, bringing them into the same plane and creating interferences; zones which are subjected to the same stress will therefore have the same interferences and thus the same colour, whilst zones subjected to different stresses will have different colours. The camera thus captures an image showing a colour pattern representing an internal distribution of the stress in the parison.
[0019] It is provided that the first and the second polarizing filter are arranged on parallel planes. It is provided that the first polarizing filter (or emission filter) is a linear polarizing filter. In particular, the first polarizing filter (or emission filter) is configured to polarize the light in a first polarizing direction. It is provided that the axis if the parison, at the inspection position, is oriented parallel to the first polarizing direction (of the emission filter). It is here meant, as "axis of the parison", the central symmetry axis of the parison, about which the lateral wall of the parison extends.
[0020] It is provided that the polarizing filter (or receiving filter) is a linear polarizing filter; the second polarizing filter (or receiving filter) is configured to polarize the light in a second polarizing direction. Preferably, both the first and second polarizing filers are linear polarizing filters. In an embodiment, the first polarizing direction and the second polarizing direction are parallel to each other (and in this case, the resulting light is white). In an embodiment, the first polarizing direction and the second polarizing direction are different to each other. In particular, the first and second polarizing directions may define an angle comprised between 5° and 50°; for instance, the first and second polarizing directions may be perpendicular to each other (and in this case, the resulting light is black). In a further example, the first and second polarizing directions may define an angle of 45°. In a further example, the first and second polarizing directions may define an angle of 30°. In a further example, the first and second polarizing directions may define an angle of 15°.
[0021] In other embodiments, the first and/or the second polarizing filters are circular polarizing filters.
[0022] In other embodiments, the first and second polarizing filters are not provided and the camera thus captures a monochrome, backlit image of the parison (with light and dark zones).
[0023] It is provided that the parisons are fed singularly, namely one after the other, at the inspection position. For instance, it is provided that the inspection device is part of an apparatus (which may be itself object of the present disclosure), including a conveyor configured to transport in succession the parisons to be inspected along an inspection path (wherein, within the inspection path, the inspection position is defined). The conveyor may include a suction belt defining a plurality of apertures and configured to contact an upper edge of the parisons, to create a negative pressure (that is, a vacuum), the internal cavity of the parisons. Them the suction belt is configured to support the parisons through said negative pressure. The suction belt is configured to move the parison along the inspection path, and to position them, one after the other, in the inspection position. The illuminator and the emission polarizing filter may be arranged on a first side of the inspection path (namely, of the suction belt); the camera and the receiving polarizing filter may be arranged on a second side of the inspection path (namely, of the suction belt), opposite to the first side; therefore, the parison, supported by the suction belt, is interposed between the emission polarizing filter and the receiving polarizing filter.
[0024] In an embodiment, the device comprises a processing unit. The processing unit is connected to the detector.
[0025] The processing unit includes a memory that contains reference data. The processing unit includes a processor, programmed to process the image captured by the detector based on the reference data, in order to derive a diagnostic indication regarding the defectiveness of the parison.
[0026] In an embodiment, the processor may include one or more criteria for the identification of defective parisons, based on one or more threshold values stored in the memory. For example, the processor may be configured to identify a defective parison in the case where the brightness of the image captured by the camera is above a predetermined threshold value (in effect, an image with high brightness indicates a parison with very thin walls) and/or in the case where the image presents a sharp colour transition, above a certain threshold).
[0027] In a preferred embodiment, the processing unit is configured to process the image captured by the detector (based on the reference data), in order to derive values of a plurality of image features from the captured image; this process encodes the image code (by transforming or compressing the image according to a predetermined algorithm, or one derived by the processing system in a self-learning step). Thus, the processing unit is configured to assign a value to each feature of the plurality of image features. In an embodiment, encoding the image includes reducing the size of the image (for example, the plurality of image features may include 500 features).
[0028] These image features represent the image. Thus, the processing unit is configured to extract from the image a plurality of values assigned to a corresponding plurality of image features and to reduce the image to these representative (or significant) values of the image.
[0029] In an embodiment, the processing unit is configured to process the values of the plurality of image features (based on the reference data) in order to derive a diagnostic indication regarding the defectiveness of the parison. In an embodiment, the processing unit is configured to classify the image based on the values of the plurality of image features; for example, for each image feature, the memory may include one or more typical values of a good (that is, defect-free) parison and one or more typical values of a defective parison, and the processing unit may be configured to identify a parison as defective if the at least one value of an image feature is reasonably close (above a certain threshold) to the respective typical value of the defective parison, and/or if a certain combination (for example, a multiplication) of image features is reasonably close (above a certain threshold) to a reference value for that combination, typical of a defective parison.
[0030] For example, the image features may include the presence or absence of certain colours or combinations of colours, and/or the presence or absence of a certain symmetry and/or the light intensity at certain points; the processing unit may be configured to identify a parison as defective if the image presents a certain colour or combination of colours, or has (or does not have) a certain symmetry or the light intensity at certain points is greater or less than a threshold value.
[0031] In an embodiment, the processing unit is configured to generate an image reconstructed from the values of the plurality of image features (and based on the reference data). In an embodiment, the processing unit is configured to derive the diagnostic indication regarding the defectiveness of the parison as a function of comparing the image captured by the detector with the image that is reconstructed (on the basis of the reference data).
[0032] More specifically, the processing unit is configured to compare the image captured by the detector with the reconstructed image and to derive a similitude parameter representing a similarity between the image captured by the detector and the reconstructed image. The processing unit is configured to compare the similitude parameter with a predetermined threshold value (which may itself be part of the reference data) and to derive the diagnostic indication as a function of comparing the predetermined threshold value with the similitude parameter. For example, the processing unit may be configured to identify a parison as good if the similitude parameter is above a certain similarity threshold. Thus, the processing unit is configured to identify a parison as good if the reconstructed image is sufficiently similar to the starting image captured by the camera.
[0033] In effect, the processing unit is trained to process the image (that is to say, to encode it, derive the values of the plurality of image features and generate the reconstructed image therefrom) on the basis of parisons which are good - that is, defect-free. The processing unit may be trained by a self-learning system, as described below, or it may be a commercially available, pre-trained unit. If the parison is good, the processing unit is able to process its image correctly and to generate a reconstructed image that is similar to the original image; if the parison is defective, on the other hand, the processing unit, which is trained on good parisons, is unable to reconstruct the image correctly and, as a result, generates a reconstructed image that is significantly different from the original.
[0034] Therefore, it is provided that the processing unit is trained with samples of objects of a single typology (for instance, of defect-free typology); then, the processing unit will be able to distinguishing among at least two typologies of objects (for instance, with-defect typology and defect-free typology).
[0035] In an embodiment, the device comprises a self-learning system.
[0036] The self-learning system is, in one embodiment, integrated in the processing unit. The self-learning system is, in one embodiment, connected to the processing unit. The self-learning system is, in one embodiment, connected to the memory.
[0037] The self-learning system is configured to receive as input a plurality of images captured by the detector for a corresponding plurality of parisons. The self-learning system is configured to encode each image of the plurality of images captured by the detector for a corresponding plurality of parisons (based on the reference data) to derive from each image of the plurality of images corresponding values of a plurality of image features. Preferably, the self-learning system is configured to encode the images on the basis of a predetermined criterion (which may itself be part of the reference data).
[0038] The self-learning system is configured to generate for each image of the plurality of images a corresponding image reconstructed from the corresponding values of the plurality of image features (and based on the reference data).
[0039] The self-learning system is configured to compare each image of the plurality of images with the corresponding reconstructed image in order to derive, for each image, a similitude parameter representing a similarity between the image captured by the detector and the corresponding reconstructed image.
[0040] The self-learning system is configured to update the reference data as a function of the similitude parameter in such a way that the similitude parameter is lower than a predetermined threshold value (if the similitude parameter is directly proportional to the similarity between the images; otherwise, if the similitude parameter is inversely proportional to the difference between the images, in such a way that it is greater than a predetermined threshold value). In an embodiment, the predetermined threshold value is itself part of the reference data. Preferably, the self-learning system is configured to update the reference data (iteratively) as a function of the similitude parameter for each image of the plurality of images.
[0041] In a preferred embodiment, the self-learning system is configured to update the plurality of image features (preferably in combination with the reference data) as a function of the similitude parameter and of a predetermined threshold value. More specifically, the reference data and/or the plurality of image features are updated in such a way that, for each image of the plurality of images, the similitude parameter is greater than a predetermined threshold value (if the similitude parameter is directly proportional to the similarity between the images).
[0042] On the other hand, if the similitude parameter is directly proportional to a difference between the images (that is, inversely proportional to their similarity), the self-learning system is configured to update the reference data and/or the image features in such a way that the similitude parameter is less than a predetermined threshold value.
[0043] In a preferred embodiment, the predetermined criterion includes (or is defined by) a maximum number (or a predetermined number) of features for the plurality of image features. The predetermined criterion ensures that the system does not simply perform a function of identifying the image captured, independently of the defectiveness of the parison.
[0044] Thus, in a preferred embodiment, the self-learning system is configured to determine both the image features and the reference data as a function of the images captured by the detector.
[0045] This system performs particularly well if the images captured represent good parisons; that way, the system learns how to encode and reconstruct the images of good parisons (that is, the reference data to use for encoding, the image features to be extracted - because they represent good parisons - and the reference data to be used for reconstruction). Then, when the processing system has to encode and reconstruct a defective parison, it will not succeed and will generate a reconstructed image that differs significantly from the starting one.
[0046] In another embodiment, the predetermined criterion includes (or is defined by) the plurality of image features (that is, the features for which values are extracted).
[0047] In an embodiment, the self-learning system includes classifiers. The classifiers are configured to classify the captured images based on parameters such as, for example, colour, colour gradient, standard deviation of colour in a neighbourhood of a pixel, mean colour in a neighbourhood of a pixel, or others. Specifically, the classifiers may be programmed to build a histogram representative of a distribution of the colours in the image, and to classify the image based on a symmetry and/or uniformity of the colours in said histogram. In an embodiment, it is provided that the parameters may be pre-set in the classifiers (namely, explicitly defined). It is provided, for example, that the classifiers are of "one-class" type. The classifiers may be configured to select, among a plurality of pre-set parameters, one or more parameters to be used during inspection (this selection may be performed by the classifiers during the learning step).
[0048] In an embodiment, the classifiers are decision-making branches. In particular, it is provided that the "one-class" classifiers are decision-making branches of "random forest" type. It is observed that these classifiers may be trained (solely) with images of objects without any defects (since the classifier belongs to the "one-class" typology).
[0049] In a preferred embodiment, the self-learning system includes neural networks. In particular, the self-learning system may include convolutional neural networks.
[0050] By "convolutional neural networks" is meant neural networks configured to encode the image through a series of convolution steps alternated with a series of pooling steps to derive the values of the plurality of image features. In the convolution steps, convolution filters (whose values are part of the reference data) are applied to the image (that is, to the matrix of pixels representing each colour of the image) in order to derive a transformed image; in the pooling steps, a dimension of the transformed image is reduced, for example by a maximum or minimum or mean mathematical operation between adjacent pixels. The convolution and pooling steps are thus used to obtain the values of the plurality of image features.
[0051] In an embodiment, the neural networks are pre-trained to extract (that is, derive) the values of the plurality of image features; in an embodiment, the neural networks may include known neural networks (or parts thereof) configured to identify subjects in an image (for example, based on a dataset "ImageNet").
[0052] In an embodiment, the convolutional neural networks are configured to classify the image based on the values of the plurality of image features, compared with reference values (which form part of the reference data). In one embodiment, the image is classified as representing a good parison or a defective parison; in another embodiment, the image is classified as representing a good parison or a parison having a specific defect. In an embodiment, the neural networks include "anomaly-detection" classifiers or "fully-connected" networks to classify the image based on the values of the plurality of image features. For example, to extract (that is, derive the values of the image features), a part of a known network based on a dataset like "ImageNet" - the network including convolution and pooling (hence a pre-trained network) - is used, and to classify the image, a "fully-connected" network is used which is trained by the self-learning system (preferably with examples of good parisons and examples of defective parisons) and which is capable of distinguishing a good parison from a defective parison on the basis of the values of the image features.
[0053] In an embodiment, the learning system includes neural networks of the type known as "Generative Adversarial Networks" (GANs); Generative Adversarial Networks include a generator and a discriminator; the generator uses the values of the plurality of image features (obtained with the convolution step from a real image captured by the detector) to generate a corresponding reconstructed image and passes it on to the discriminator; the discriminator tries to distinguish whether the image it receives is real - that is, captured by the detector - or reconstructed, and sends feedback to the generator; based on the feedback from the discriminator, the generator learns to generate reconstructed images that are as similar as possible to the real images (such that the discriminator will consider them real). During training, the GAN preferably receives images of good parisons; thus, when the reference data (and the image features) determined by the self-learning system are used by the processing system to inspect the parisons, the discriminator recognizes as reconstructed images only those relating to defective parisons.
[0054] In a preferred embodiment, the self-learning system includes an "autoencoder" convolutional neural network. In an embodiment, the reference data include a first reference data set and a second reference data set. The first reference data set relates to a series of convolution steps (for example, it includes a plurality of convolution filters); the second reference data set relates to a series of upsampling steps. In particular, the second reference data set may be related to a series of deconvolution steps (for example, it includes a plurality of deconvolution filters). Autoencoder neural networks are configured to extract (that is, derive) values of the plurality of reference features from the image, based on the first reference data set relating to the series of convolution steps and to reconstruct the image (that is, generate the reconstructed image) using the values of the plurality of image features, based on the second reference data set relating to the series of deconvolution steps.
[0055] In the embodiment including an autoencoder network, the learning system is configured to receive as input a plurality of images of good parisons to derive therefrom corresponding values of the image features, based on the first reference data set; the learning system is configured to generate a plurality of reconstructed images using the values of the image features and based on the second reference data set relating to the deconvolution steps; lastly, the self-learning system is configured to compare the plurality of reconstructed images with the corresponding plurality of original images and to update the reference data (specifically, the first reference data set or the second reference data set or both the first and the second reference data sets combined) so as to minimize a difference between the original images captured by the detector and the corresponding reconstructed images. More specifically, in an embodiment, the self-learning system is configured to derive, for each image, a similitude parameter (for example, calculated with one of the following functions, or with a combination of two or more of the following functions: norm 11, norm I2, "SSIM" Structural Similarity Index, "PSNR" peak signal-to-noise ratio, "HaarPSI" Haar wavelet-based perceptual similarity index) and to minimize the similitude parameter (that is, bring it below a certain threshold) if the similitude parameter is directly proportional to a difference between the images, or vice versa, to maximize it (that is, bring it above a certain threshold) if the similitude parameter is directly proportional to a similarity between the images. In the embodiment including an autoencoder network, the learning system is configured to update, in combination with the first and second reference data sets, the filters of the network (and, consequently, the plurality of image features), so as to identify the image features that best represent images of defect-free parisons and to jointly identify the convolution steps for deriving them and the deconvolution steps to generate the reconstructed image using those image features. Preferably, the self-learning system comprising an autoencoder network is constrained to at least one predetermined criterion (that is, a constraint) when encoding the image; for example, the criterion may regard a maximum number of image features which may be identified for that plurality of image features. Thus, in practice, the encoding operation constitutes a compression of the image.
[0056] Thus, in an embodiment, the self-learning system is configured to learn the reference data and the image features which the processing system then uses to inspect the parisons. In the embodiment including an autoencoder network, the self-learning system is trained with a plurality of parisons that are good (defect-free); thus, the self-learning system determines the reference data and the image features used to reconstruct the images of the good parisons correctly (that is, with a high level of similarity between the images captured by the detector and the corresponding reconstructed images); when it applies those reference data and image features to a defective parison, the reconstructed image is significantly different from the corresponding captured image and the processing system, when it compares them, identifies the parison as defective.
[0057] It is observed that the comparison between the captured image and the reconstructed image is performed both during network learning (or training) and during inspection; the similitude parameter which is used for the training may be different from the similitude parameter which will be used during inspection. In particular, the "PSNR", "HaarPSI" functions are preferably used during inspection, but not during training. For instance, it is provided to use, for the training, the "SSIM" function or the norm I1 function or the norm I2 function, and, for the inspection, the "PSNR" function or the "HaarPSI" function.
[0058] Preferably, the self-learning system (or the processing system) includes a first neural (sub-)network responsible for encoding the images in order to derive the values of the image features and a second neural (sub-)network responsible for decoding the values of the image features in order to reconstruct the image; the first and second neural (sub-)networks are trained jointly. The first and second neural (sub-)networks may be parts of a single neural network.
[0059] This disclosure also provides a line for making containers from thermoplastic material.
[0060] In an embodiment, the line comprises a moulding machine configured to make parisons. In an embodiment, the moulding machine is an injection moulding machine. In an embodiment, the moulding machine is a compression moulding machine (which may be a rotary machine).
[0061] In an embodiment, the line comprises a thermal conditioning unit to heat and/or cool the parisons. For convenience of description, the thermal conditioning unit is hereinafter referred to as a "heating oven" without thereby limiting the scope of the disclosure. The heating oven is configured to receive the parisons feeding out of the moulding machine and is equipped with heating means for heating the parisons.
[0062] In an embodiment, the line comprises a blow-moulding machine configured to receive the parisons and to blow-mould them in moulds to make the containers. Preferably, the blow-moulding machine is configured to receive the parisons heated in the heating oven. The oven might be integrated in the blow-moulding machine.
[0063] In an embodiment, the blow-moulding machine and the parison moulding machine might be located in different lines (even installed in separate factories) working in conjunction to make containers of thermoplastic material: in effect, the moulding machine makes parisons which are fed into the line that includes the blow-moulding machine. The oven is preferably integrated in the line that includes the blow-moulding machine, upstream of the blow-moulding machine to heat the parisons before blow-moulding them.
[0064] In an embodiment, the line comprises a storage unit (which may be automatic) to receive the parisons and store them; the storage unit is configured to receive the parisons from the moulding machine and to feed them to the blow-moulding machine - or to the oven.
[0065] In an embodiment, the line comprises a device for optical inspection of parisons according to one or more aspects of this disclosure. The optical inspection device is located in the line downstream of the moulding machine. The optical inspection device is located in the line upstream of the blow-moulding machine. In an embodiment, the optical inspection device is located downstream of the moulding machine and upstream of the oven. In an embodiment, the optical inspection device is located downstream of the oven and upstream of the blow-moulding machine. The fact that the device is located upstream of the blow-moulding machine allows identifying a defective parison before it explodes during blow-moulding on account of its anomalous stress profile. In an embodiment, the optical inspection device might be positioned in the storage unit or on a conveyor connecting the storage unit to other parts of the line.
[0066] In an embodiment, the optical inspection device is located on the line in such a way as to inspect the parisons at a temperature of between 30 and 70 degrees Celsius (preferably between 50 and 60 degrees Celsius). The parisons may be at this temperature when they exit the moulding machine, for example.
[0067] In an embodiment, the optical inspection device is located on the line in such a way as to inspect the parisons at an ambient temperature (for example, between 5 and 30 degrees Celsius). The parisons may be at ambient temperature if they re stored or cooled after moulding. Preferably, the optical inspection device is located on the line in such a way as to inspect the parisons at a temperature below 60 degrees Celsius (preferably below 50 degrees Celsius); in effect, at higher temperatures, the parisons might be subject to deformation which could alter their stress profiles.
[0068] In an embodiment, the optical inspection device is integrated in the oven. If the optical inspection device is integrated in the oven (preferably upstream of the heaters - that is, at the entrance to the oven) it is possible to take advantage of the positioning of the parisons inside the oven, singulated and ordered.
[0069] In other embodiments, the optical inspection device according to this disclosure is located off line, integrated in a high-speed review machine or in a low-speed sampling machine.
[0070] This disclosure also relates to a method for optical inspection of parisons. The optical inspection method comprises a step of emitting, with an illuminator, a beam of light directed at a parison located at an inspection position. The optical inspection method comprises a step of capturing, with a detector, an image of the parison located at the inspection position. At the inspection position, the parison is operatively interposed between the illuminator and the detector. The image captured is thus a backlit image.
[0071] In an embodiment, the optical inspection method comprises a step of generating a polarized light beam by intercepting the beam of light emitted by the illuminator on an emission-polarizing filter interposed between the illuminator and the parison.
[0072] In an embodiment, the optical inspection method comprises a step of receiving the polarized light beam on a receiving polarizing filter. At the inspection position, the parison is operatively interposed between the emission-polarizing filter and the receiving polarizing filter.
[0073] In an embodiment, the parison is made of a material which includes polymer chains (preferably PET). In an embodiment, the image captured by the detector includes a colour pattern representing a stress which the polymer chains of the PET are subjected to.
[0074] In an embodiment, the optical inspection method comprises a step of processing the image (using a processing system). In an embodiment, in the step of processing, the image captured by the detector is processed on the basis of reference data contained in a memory. In an embodiment, the step of processing includes deriving the diagnostic indication regarding the defectiveness of the parison.
[0075] In an embodiment, the step of processing includes a sub-step of encoding the image captured by the detector, based on reference data, in order to derive values of a plurality of image features from the image.
[0076] In an embodiment, the step of processing includes processing the plurality of image features to derive the diagnostic indication regarding the defectiveness of the parison. More specifically, in an embodiment, the step of processing includes a sub-step of generating an image reconstructed from the values of the plurality of image features and based on the reference data. In an embodiment, the step of processing includes a sub-step of deriving the diagnostic indication regarding the defectiveness of the parison as a function of comparing the image captured by the detector with the reconstructed image.
[0077] In an embodiment, the method comprises a step of self-learning (performed by a self-learning system connected to the processing system). In an embodiment, the step of self-learning comprises a sub-step of capturing a plurality of images for a corresponding plurality of parisons. In an embodiment, the step of self-learning comprises a sub-step of encoding each image of the plurality of images based on the reference data, including deriving, from each image of the plurality of images, corresponding values of a plurality of image features according to a predetermined criterion (which may include a constraint on the maximum number of image features of the plurality of image features). In an embodiment, the step of self-learning comprises a sub-step of generating for each image of the plurality of images, a corresponding image reconstructed from the corresponding values of the plurality of image features and based on the reference data. In an embodiment, the step of self-learning comprises a sub-step of comparing each image of the plurality of images with the corresponding reconstructed image and deriving a corresponding similitude parameter representing a similarity between the image captured by the detector and the corresponding reconstructed image. In an embodiment, the step of self-learning comprises a sub-step of updating the reference data and/or the plurality of image features as a function of the similitude parameter and of a predetermined threshold value. More specifically, the reference data and the plurality of image features are updated in such a way that the similitude parameter is less than (or greater than) the predetermined threshold value.
[0078] In an embodiment, the images of the plurality of images captured by the camera during the step of self-learning represent a corresponding plurality of defect-free parisons. The fact that the self-learning system does not need to receive images of defective parisons as input is very advantageous because the defective parisons are difficult to find.
[0079] Preferably, the emission-polarizing filter and the receiving polarizing filter are oriented relative to each other according to a predetermined orientation (for example, parallel or perpendicular) which is the same in the step of self-learning and in the step of processing.
[0080] In an embodiment, the method comprises a step of feeding the parisons of the plurality of parisons to the inspection position one at a time (in succession). In an embodiment, the parisons are fed according to a predetermined orientation relative to the emission-polarizing filter and relative to the receiving polarizing filter. That orientation is the same in the step of self-learning and in the step of processing. The image of each parison of the plurality of parisons is captured when the parison is at the inspection position.
[0081] In an embodiment, the processor is configured to process the images oriented at random (for example, rotating them to bring them to a predetermined orientation); thus, in an embodiment, the device is invariant to the orientation of the parisons.
[0082] In an embodiment, the processing system is configured to process the image of the parison in real time (as soon as the image is captured). In one embodiment, when the device provides the diagnostic indication identifying the parison as defective, the line is configured either to stop to allow an operator to remove the defective parison or to itself remove the defective parison.
[0083] In another embodiment, the processing system is configured to capture the image of the parison to process it in post processing mode. In this case, the system is configured to correlate each image with the respective parison so as to be able to identify the parison whose image produced the diagnostic, defective parison indication.
[0084] This disclosure also relates to a method for processing an image of a parison; it is observed that the method for processing an image of a parison,
per se, is not the object of the claimed invention; however, the method for optical inspection of parisons according to the invention includes processing images, whereby the content of the disclosure regarding the method for processing an image of a parison is pertinent to the invention. In an embodiment, the image processing method includes a step of encoding the image, including deriving values of a plurality of image features. In an embodiment, the image processing method includes a step of generating a reconstructed image as a function of the plurality of image features. In an embodiment, the image processing method includes a step of deriving the diagnostic indication regarding the defectiveness of the parison as a function of comparing the image captured by the camera with the reconstructed image.
[0085] In an embodiment, the image processing method includes a step of self-learning (according to one or more aspects described in this disclosure).
[0086] This disclosure also relates to a computer program (software) comprising operating instructions configured to carry out the steps of the processing method according to one or more aspects described in this disclosure (when performed by a processor, specifically the processing unit of the device according to one or more aspects described in this disclosure).
Brief description of drawings
[0087] These and other features will become more apparent from the following detailed description of a preferred embodiment, illustrated by way of nonlimiting example in the accompanying drawings, in which:
Figure 1 illustrates an optical inspection device according to this disclosure;
Figure 2 represents a process an image is subjected to by the optical inspection device of Figure 1;
Figure 3 represents a self-learning process carried out on an image by the optical inspection device of Figure 1;
Figures 4A, 4B and 4C show, for a defect-free parison, an image captured by a camera, a reconstructed image and a comparison between the captured image and the reconstructed image, respectively;
Figures 5A, 5B and 5C show, for a defective parison, an image captured by a camera, a reconstructed image and a comparison between the captured image and the reconstructed image, respectively;
- Figure 6 illustrates a line for making containers of thermoplastic material, comprising the device of Figure 1.
Detailed description of preferred embodiments of the invention
[0088] With reference to the accompanying drawings, the numeral 1 denotes an optical inspection device configured to inspect a parison 2.
[0089] The parison 2 includes a body 200 that is substantially cylindrical in shape. The parison 2 (or the body 200) defines an axis of symmetry A. The body 200 is thus cylindrically symmetric about the axis of symmetry A. The parison 2 includes a closed bottom 201. The parison 2 includes a neck 202 defining an opening. The parison 2 includes a ring 203.
[0090] The device 1 is configured to receive a parison 2 at an inspection position 10. In an embodiment, the inspection position is defined by an inspection pocket. In an embodiment, the inspection pocket includes a supporting element 11 configured to hold the parison 2 (preferably by supporting the ring 203).
[0091] The device 1 includes an illuminator 3. The illuminator 3 includes a light source 31. The light source 31 is configured to emit a beam of light directed at a parison 2 (that is, at an inspection position 10). The illuminator 3 includes an emission-polarizing filter 32. In an embodiment, the emission-polarizing filter 32 is connected to the light source 31. The emission-polarizing filter 32 is configured to intercept the light beam emitted by the light source 31 and to polarize it. Thus, the parison 2 receives a polarized light beam from the emission-polarizing filter 32 and refracts it.
[0092] The device 1 includes a detector 4. The detector 4 includes a camera 41. The detector includes a receiving polarizing filter 42. In an embodiment, the receiving polarizing filter 42 is connected to the camera 41. The receiving polarizing filter 42 is configured to receive the light beam refracted by the parison 2 and to polarize it. Thus, the camera 41 receives the beam of light polarized by the emission-polarizing filter 32, refracted by the parison and further polarized by the receiving polarizing filter 42. The camera 41 is configured to capture (or acquire) an image 20 of the parison 2.
[0093] The illuminator 3 laterally illuminates the parison 2 on a first side 200A of the body 200. The detector 4 captures a lateral image of the parison 2 on a second side 200B of the body 200, opposite to the first side 200A.
[0094] The device 1 includes a memory 5. The memory 5 contains reference data. More specifically, the memory 5 contains at least a first reference data set 51 and a second reference data set 52; in an embodiment, the first reference data set 51 and the second reference data set 52 are distinct from each other.
[0095] The device 1 includes a processor 6. The processor 6 is connected to the memory 5. The processor 6 is programmed to process the image 20 captured by the camera 41 based on the reference data sets 51, 52, in order to derive the diagnostic indication 23 regarding the defectiveness of the parison 2. More specifically, the processor 6 is programmed to perform a step 61 of encoding the image 20 as a function of the first reference data set 51 in order to derive values of a plurality of image features 21. The processor 6 is also configured to perform a step 62 of decoding the image features 21, thus generating a reconstructed image 22, based on the second reference data set 52.
[0096] The processor 6 is then configured to perform a step 63 of comparing the reconstructed image 20 with the captured image 22 to derive a diagnostic indication 23 regarding the defectiveness of the parison 2.
[0097] In an embodiment, the diagnostic indication includes an error map 25 given by a difference between the captured image 20 and the reconstructed image 22 (or vice versa). In an embodiment illustrated in the drawings, the error map 25 presents uniform shading if the parison is good or patched shading if the parison is defective.
[0098] In an embodiment, the diagnostic indication 23 includes a similitude parameter 24 whose value is correlated with a degree of similarity between the captured image 20 and the reconstructed image 22. In an embodiment, the processor 6 is programmed to derive the similitude parameter 24 on the basis of the error map 25. In an embodiment, the diagnostic indication 23 includes a binary parameter value indicating whether the parison is good or defective (calculated, for example, by comparing the similitude parameter 24 with a predetermined threshold value).
[0099] In an embodiment, the device 1 (or preferably the processing system) comprises a self-learning system 7. The self-learning system 7 is preferably integrated in the processor 6. The self-learning system 7 is connected to the memory 5.
[0100] The self-learning system 7 is configured to receive a plurality of captured images 20 for a corresponding plurality of parisons 2. The self-learning system 7 is preferably configured to perform the following steps for each image 20 it receives: 61 encoding the image 20 on the basis of the first reference data set 51, in order to derive a plurality of image features 21; 62 decoding the image features 21, on the basis of the second reference data set 51, to generate a reconstructed image 22; 63 comparing the reconstructed image 22 with the captured image 20 to derive a similitude parameter 24 representing a similarity between the captured image 20 and the reconstructed image 22. 70 evaluating the similitude parameter 24 with respect to a predetermined threshold value 72 for that similitude parameter; updating (iteratively) the first reference data set 51, the second reference data set 52 and the image features 21 until the similitude parameter 24 is above (or below) the threshold parameter 72.
[0101] Thus, the self-learning system 7 solves a problem of optimizing the encoding operations 61 and decoding operations 62, where the variables are defined by the first reference data set 51 and by the second reference data set 52 (and, if necessary, by the set of image features 21), in order to minimize the similitude parameter 24, that is, bring it below a certain threshold, (or maximize it, that is, bring it above a certain threshold). Preferably, therefore, the first reference data set 51 and the second reference data set 52 are updated in combination.
[0102] Since the self-learning system 7 optimizes the encoding and decoding operations 61 and 62 with images 20 of good parisons 2, the reference data sets 51, 52 (and, if necessary, the set of image features 21) determined as a result of optimization are such that, for good parisons 2, the difference between the captured image 20 and the reconstructed image 22 is minimal. on the other hand, since these operations are not optimized for defective parisons 2, the reconstructed image 22 for a defective parison is significantly different from the captured image 20 and the processor 6 (acknowledging that difference) generates a diagnostic indication 23 signifying that the parison is defective.
[0103] Preferably, the steps 61 of encoding, 62 decoding, 63 comparing, 70 evaluating and updating the reference data sets 51, 52 (and, if necessary, the image features 21) are performed iteratively by the self-learning system 7 for each image 20 in succession (that is, all the iterations necessary for minimizing or maximizing the similitude parameter 24 are first performed for a first parison 2, then for a second parison 2 and so on). In an embodiment, the self-learning system might also perform a first iteration in which it performs the steps 61 of encoding, 62 decoding, 63 comparing and 70 evaluating for all the images 20; then, starting from the similitude parameters 24 obtained for all the parisons 2, it updates the reference data sets 51, 52 (and, if necessary, the image features 21) and continues with a second iteration in which it again performs the steps 61 of encoding, 62 decoding, 63 comparing and 70 evaluating for all the images 20, and so on.
[0104] This disclosure also relates to a line 100 for making containers of thermoplastic material - for example, bottles.
[0105] The line 100 comprises a moulding machine 101 configured to make (that is, to mould) parisons 2. In an embodiment, the moulding machine 101 is a rotary machine. The line 100 also comprises a heating oven 102 configured to receive the moulded parisons 2 and to heat them. The line 100 comprises a blow-moulding machine 103 configured to blow-mould the parisons 2 so as to make the containers. In an embodiment, the blow-moulding machine 103 is a rotary machine.
[0106] Preferably, the line 100 includes a first transfer carousel 106 configured to transfer the parisons 2 from the moulding machine 101 to the heating oven 102. Preferably, the line 100 includes a second transfer carousel 107 configured to transfer the parisons 2 from the heating oven 102 to the blow-moulding machine 103. In an embodiment, the line 100 includes a storage unit 104 for storing the moulded parisons 2 before they are blow-moulded. In an embodiment, the line 100 includes a parison orienting device 105 configured to orient the parisons 2 leaving and/or entering the storage unit 104. In an embodiment, the line 100 includes a conveyor 108 configured to convey the parisons 2 into and/or out of the storage unit 104. The conveyor 108 feeds the parisons 2 from the storage unit 104 to the heating oven 102.
1. A device (1) for optical inspection of parisons (2), comprising:
- an illuminator (3) including a light source (31) configured to emit a beam of light directed towards a parison (2) located at an inspection position (10);
- a detector (4) including a camera (41) configured to capture an image (20) of the parison (2) located at the inspection position (10), wherein the parison (2), at the inspection position (10), is operatively interposed between the illuminator (3) and the detector (4),
wherein the illuminator (3) includes an emission-polarizing filter (32) configured to intercept the beam of light emitted by the light source (31) and to generate a polarized light beam, and in that the detector (4) includes a receiving polarizing filter (42) configured to receive the polarized light beam, so that the parison (2), at the inspection position (10), is operatively interposed between the emission-polarizing filter (32) and the receiving polarizing filter (42);
- a self-learning system;
- a processing unit including:
a memory (5) including reference data sets (51, 52);
a processor (6) programmed to process the image (20) captured by the detector (4) based on the reference data sets (51, 52), in order to derive a diagnostic indication (23) regarding a defectiveness of the parison (2);, so that the diagnostic indication distinguishes between a with-defect typology of objects and a defect-free typology of objects, the processing unit being trained, by the self-learning system, through samples of objects of the defect-free typology,
wherein the processing unit is configured to:
- process the image (20) captured by the detector (4) based on the reference data sets (51, 52), in order to derive from the image (20) values of a plurality of image features (21);
- process the values of the plurality of image features (21) to derive the diagnostic indication (23) regarding the defectiveness of the parison (2);
- generate an image (22) reconstructed from the values of the plurality of image features (21) and based on the reference data sets (51, 52);
- deriving the diagnostic indication (23) regarding the defectiveness of the parison (2) as a function of comparing the image (20) captured by the detector (4) with the reconstructed image (22).
2. The device (1) according to claim 1, wherein the self-learning system (7) configured to:
- receive as input a plurality of images (20) captured by the detector (4) for a corresponding plurality of parisons (2);
- process each image (20) of the plurality of images (20) captured by the detector (4) based on the reference data sets (51, 52), in order to derive for each image (20) corresponding values for the plurality of image features (21) based on a predetermined criterion;
- generate for each image (20) of the plurality of images (20) a corresponding reconstructed image (22), based on the reference data sets (51, 52), using the corresponding derived values for the plurality of image features (21);
- compare each image (20) of the plurality of images (20) captured by the detector (4) with the corresponding reconstructed image (22) in order to derive, for each image (20) of the plurality of images (20), a corresponding similitude parameter (24) representing a similarity between the image (20) captured by the detector (4) and the corresponding reconstructed image (22);
- for each image (20) of the plurality of images (20), update the reference data sets (51, 52) as a function of the similitude parameter (24) and of a predetermined threshold value (72) for the similitude parameter (24).
3. The device (1) according to claim 2, wherein the self-learning system (7) is configured to update the plurality of image features (21) as a function of the similitude parameter (24) and of the predetermined threshold value (72).
4. The device (1) according to claim 2 or 3, wherein the predetermined criterion includes a maximum number of image features (21) for the plurality of image features (21).
5. The device (1) according to any one of claims 2 to 4, wherein the self-learning system (7) includes convolutional neural networks configured to encode images through a series of convolution steps alternated with a series of pooling steps to derive the values of the plurality of image features.
6. The device (1) according to any one of the previous claims, wherein the emission-polarizing filter (32) is a linear filter, configured to polarize the light in a first polarizing direction.
7. The device (1) according to any one of the previous claims, wherein the receiving-polarizing filter (42) is a linear filter, configured to polarize the light in a second polarizing direction.
8. The device (1) according to any one of the previous claims, wherein the parisons (2) are made of PET and wherein the image captured by the detector includes a colour pattern representing a stress which the polymer chains of the PET are subjected to.
9. A line (100) for making containers of thermoplastic material, comprising
- a moulding machine (101) configured to make parisons (2);
- a blow-moulding machine (103) configured to receive the parisons (2) and to blow-mould them in moulds to make the containers;
- a device (1) for optical inspection of parisons (2) according to any one of claims 1 to 7,
wherein either of the following conditions is verified:
i) the optical inspection device (1) is operatively located downstream of the moulding machine (101);
ii) the optical inspection device (1) is operatively located upstream of the blow-moulding machine (103).
10. A method for optical inspection of parisons, comprising the following steps:
- emitting a beam of light directed towards a parison (2) located at an inspection position (10), by means of an illuminator (3) including a light source (31);
- capturing, with a detector (4) including a camera (41), an image (20) of the parison (2) located at the inspection position (10), wherein the parison (2), at the inspection position (10), is operatively interposed between the illuminator (3) and the detector (4);
- generating a polarized light beam by intercepting the beam of light emitted by the illuminator (3) on an emission-polarizing filter (32) interposed between the light source (31) and the parison (2);
- receiving the beam of polarized light on a receiving polarizing filter (42), interposed between the parison (2) and the camera (41), wherein, at the inspection position (10), the parison (2) is operatively interposed between the emission-polarizing filter (32) and the receiving polarizing filter (41);
- . processing the image (20), wherein the step of processing includes the following sub-steps:
- (61) processing the image (20) captured by the detector (4) based on the reference data sets (51, 52), in order to derive from the image (20) values of a plurality of image features (21);
- (62) generating an image (22) reconstructed from the values of the plurality of image features (21) and based on the reference data sets (51, 52);
- (63) deriving a diagnostic indication (23) regarding a defectiveness of the parison (2) as a function of comparing the image (20) captured by the detector (4) with the reconstructed image (22);
- training the processing unit through a self-learning system, so that the diagnostic indication distinguishes between a with-defect typology of objects and a defect-free typology of objects, the processing unit being trained, by the self-learning system, through samples of objects of the defect-free typology.
11. The method according to claim 10, wherein the step of self-learning comprising the following sub-steps:
- capturing a plurality of images (20) for a corresponding plurality of parisons (2);
- processing each image (20) of the plurality of images (20) based on the reference data sets (51, 52), in order to derive from each image (20) of the plurality of images (20) corresponding values of a plurality of image features (21) as a function of a predetermined criterion;
- generating for each image (20) of the plurality of images (20) a corresponding reconstructed image (22) using the corresponding values of the plurality of image features (21) and based on the reference data sets (51, 52);
- comparing each image (20) of the plurality of images (20) with the corresponding reconstructed image (22) and deriving a corresponding similitude parameter (24) representing a similarity between the image (20) captured by the detector (4) and the corresponding reconstructed image (22);
- updating the reference data sets (51, 52) and the plurality of image features (21) as a function of the similitude parameter (24) and of a predetermined threshold value (72).
12. The method according to claim 11, wherein the images (20) of the plurality of images (20) captured by the camera (41) during the step of self-learning are representative of a corresponding plurality of defect-free parisons (2).
13. The method according to claim 11 or 12, comprising a step of feeding the parisons (2) of the plurality of parisons (2) to the inspection position (10) one at a time, and according to a predetermined orientation relative to the emission-polarizing filter (32) and relative to the receiving polarizing filter (42).
14. The method according to any one the previous claims from 10 to 13, wherein the emission-polarizing filer (32) is a linear polarizing filter, configured to polarize the light in a first polarizing direction.
1. Vorrichtung (1) zur optischen Inspektion von Vorformlingen (2), umfassend:
- einen Illuminator (3), einschließend eine Lichtquelle (31), die ausgelegt ist, um einen Lichtstrahl zu emittieren, der auf einen Vorformling (2) gerichtet ist, der sich an einer Inspektionsposition (10) befindet;
- einen Detektor (4), einschließend eine Kamera (41), die ausgelegt ist, um ein Bild (20) des Vorformlings (2) zu erfassen, der sich an der Inspektionsposition (10) befindet, wobei der Vorformling (2) an der Inspektionsposition (10) betriebswirksam zwischen dem Illuminator (3) und dem Detektor (4) angeordnet ist,
wobei der Illuminator (3) einen Emissionspolarisationsfilter (32) einschließt, der ausgelegt ist, um den von der Lichtquelle (31) emittierten Lichtstrahl abzufangen und einen polarisierten Lichtstrahl zu erzeugen, und dadurch, dass der Detektor (4) einen Empfangspolarisationsfilter (42) einschließt, der ausgelegt ist, um den polarisierten Lichtstrahl zu empfangen, so dass der Vorformling (2) an der Inspektionsposition (10) betriebswirksam zwischen dem Emissionspolarisationsfilter (32) und dem Empfangspolarisationsfilter (42) angeordnet ist;
- ein selbstlernendes System;
- eine Verarbeitungseinheit, einschließend:
einen Speicher (5), einschließend Referenzdatensätze (51, 52);
einen Prozessor (6), der programmiert ist, um das vom Detektor (4) erfasste Bild (20) auf der Grundlage der Referenzdatensätze (51, 52) zu verarbeiten, um einen diagnostischen Hinweis (23) in Bezug auf eine Fehlerhaftigkeit des Vorformlings (2) abzuleiten, so dass der diagnostische Hinweis zwischen einer fehlerhaften Typologie von Objekten und einer fehlerfreien Typologie von Objekten unterscheidet, wobei die Verarbeitungseinheit durch das selbstlernende System durch Proben von Objekten der fehlerfreien Typologie trainiert wird,
wobei die Verarbeitungseinheit ausgelegt ist, zum:
- Verarbeiten des vom Detektor (4) erfassten Bildes (20) auf der Grundlage der Referenzdatensätze (51, 52), um aus dem Bild (20) Werte einer Vielzahl von Bildmerkmalen (21) abzuleiten;
- Verarbeiten der Werte der Vielzahl von Bildmerkmalen (21), um den diagnostischen Hinweis (23) in Bezug auf die Fehlerhaftigkeit des Vorformlings (2) abzuleiten;
- Erzeugen eines Bildes (22), das aus den Werten der Vielzahl von Bildmerkmalen (21) rekonstruiert wurde und auf den Referenzdatensätzen (51, 52) basiert;
- Ableiten des diagnostischen Hinweises (23) in Bezug auf die Fehlerhaftigkeit des Vorformlings (2) als Funktion des Vergleichs des durch den Detektor (4) erfassten Bildes (20) mit dem rekonstruierten Bild (22).
2. Vorrichtung (1) nach Anspruch 1, wobei das selbstlernende System (7) ausgelegt ist, zum:
- Empfangen als Eingabe einer Vielzahl von Bildern (20), die vom Detektor (4) für eine entsprechende Vielzahl von Vorformlingen (2) erfasst wurden;
- Verarbeiten eines jeden Bildes (20) der Vielzahl von Bildern (20), die vom Detektor (4) erfasst wurden, auf der Grundlage der Referenzdatensätze (51, 52), um für ein jedes Bild (20) entsprechende Werte für die Vielzahl von Bildmerkmalen (21) auf der Grundlage eines vorbestimmten Kriteriums abzuleiten;
- Erzeugen für ein jedes Bild (20) der Vielzahl von Bildern (20) eines entsprechenden rekonstruierten Bildes (22) auf der Grundlage der Referenzdatensätze (51, 52) unter Verwendung der entsprechenden abgeleiteten Werte für die Vielzahl von Bildmerkmalen (21);
- Vergleichen eines jeden Bildes (20) der Vielzahl von Bildern (20), die vom Detektor (4) erfasst wurden, mit dem entsprechenden rekonstruierten Bild (22), um für ein jedes Bild (20) der Vielzahl von Bildern (20) einen entsprechenden Ähnlichkeitsparameter (24) abzuleiten, der eine Ähnlichkeit zwischen dem vom Detektor (4) erfassten Bild (20) und dem entsprechenden rekonstruierten Bild (22) darstellt;
- Aktualisieren für ein jedes Bild (20) der Vielzahl von Bildern (20) der Referenzdatensätze (51, 52) als Funktion des Ähnlichkeitsparameters (24) und eines vorbestimmten Schwellenwerts (72) für den Ähnlichkeitsparameter (24).
3. Vorrichtung (1) nach Anspruch 2, wobei das selbstlernende System (7) ausgelegt ist, um die Vielzahl von Bildmerkmalen (21) als Funktion des Ähnlichkeitsparameters (24) und des vorbestimmten Schwellenwerts (72) zu aktualisieren.
4. Vorrichtung (1) nach Anspruch 2 oder 3, wobei das vorbestimmte Kriterium eine maximale Anzahl von Bildmerkmalen (21) für die Vielzahl von Bildmerkmalen (21) einschließt.
5. Vorrichtung (1) nach einem der Ansprüche 2 bis 4, wobei das selbstlernende System (7) neuronale Faltungsnetzwerke einschließt, die ausgelegt sind, um Bilder durch eine Reihe von Faltungsschritten zu codieren, die mit einer Reihe von Pooling-Schritten abwechseln, um die Werte der Vielzahl von Bildmerkmalen abzuleiten.
6. Vorrichtung (1) nach einem der vorhergehenden Ansprüche, wobei der Emissionspolarisationsfilter (32) ein linearer Filter ist, der ausgelegt ist, um das Licht in einer ersten Polarisationsrichtung zu polarisieren.
7. Vorrichtung (1) nach einem der vorhergehenden Ansprüche, wobei das Empfangspolarisationsfilter (42) ein lineares Filter ist, das ausgelegt ist, um das Licht in einer zweiten Polarisationsrichtung zu polarisieren.
8. Vorrichtung (1) nach einem der vorhergehenden Ansprüche, wobei die Vorformlinge (2) aus PET besteht und wobei das durch den Detektor erfasste Bild ein Farbmuster einschließt, das eine Belastung darstellt, der die Polymerketten des PET unterworfen sind.
9. Linie (100) zur Herstellung von Behältern aus thermoplastischem Material, umfassend:
- eine Formmaschine (101), die ausgelegt ist, um Vorformlinge (2) herzustellen;
- eine Blasformmaschine (103), die ausgelegt ist, um die Vorformlinge (2) zu empfangen und sie in Formen zu blasen, um die Behälter herzustellen;
- eine Vorrichtung (1) zur optischen Inspektion von Vorformlingen (2) nach einem der Ansprüche 1 bis 7,
wobei eine der folgenden Bedingungen überprüft wird:
i) die optische Inspektionsvorrichtung (1) betriebswirksam stromabwärts der Formmaschine (101) angeordnet ist;
ii) die optische Inspektionsvorrichtung (1) betriebswirksam stromaufwärts der Blasformmaschine (103) angeordnet ist.
10. Verfahren zur optischen Inspektion von Vorformlingen, umfassend die folgenden Schritte:
- Emittieren eines Lichtstrahls, der auf einen Vorformling (2) gerichtet ist, der sich an einer Inspektionsposition (10) befindet, mittels eines Illuminators (3), der eine Lichtquelle (31) einschließt;
- Erfassen eines Bildes (20) des Vorformlings (2), der sich an der Inspektionsposition (10) befindet, mit einem Detektor (4), der eine Kamera (41) einschließt, wobei der Vorformling (2) an der Inspektionsposition (10) betriebswirksam zwischen dem Illuminator (3) und dem Detektor (4) angeordnet ist;
- Erzeugen eines polarisierten Lichtstrahls durch Abfangen des vom Illuminator (3) emittierten Lichtstrahls auf einem Emissionspolarisationsfilter (32), der zwischen der Lichtquelle (31) und dem Vorformling (2) angeordnet ist;
- Empfangen des Strahls polarisierten Lichts auf einem Empfangspolarisationsfilter (42), der zwischen dem Vorformling (2) und der Kamera (41) angeordnet ist, wobei der Vorformling (2) an der Inspektionsposition (10) betriebswirksam zwischen dem Emissionspolarisationsfilter (32) und dem Empfangspolarisationsfilter (41) angeordnet ist;
- Verarbeiten des Bildes (20), wobei der Schritt zum Verarbeiten die folgenden Teilschritte einschließt:
- (61) Verarbeiten des vom Detektor (4) erfassten Bildes (20) auf der Grundlage der Referenzdatensätze (51, 52), um aus dem Bild (20) Werte einer Vielzahl von Bildmerkmalen (21) abzuleiten;
- (62) Erzeugen eines Bildes (22), das aus den Werten der Vielzahl von Bildmerkmalen (21) rekonstruiert wurde und auf den Referenzdatensätzen (51, 52) basiert;
- (63) Ableiten eines diagnostischen Hinweises (23) in Bezug auf eine Fehlerhaftigkeit des Vorformlings (2) als Funktion des Vergleichs des durch den Detektor (4) erfassten Bildes (20) mit dem rekonstruierten Bild (22);
- Trainieren der Verarbeitungseinheit durch ein selbstlernendes System, so dass der diagnostische Hinweis zwischen einer fehlerhaften Typologie von Objekten und einer fehlerfreien Typologie von Objekten unterscheidet, wobei die Verarbeitungseinheit durch das selbstlernende System durch Muster von Objekten der fehlerfreien Typologie trainiert wird.
11. Verfahren nach Anspruch 10, wobei der Schritt zum Selbstlernen die folgenden Teilschritte umfasst:
- Erfassen einer Vielzahl von Bildern (20) für eine entsprechende Vielzahl von Vorformlingen (2);
- Verarbeiten eines jeden Bildes (20) der Vielzahl von Bildern (20) auf der Grundlage der Referenzdatensätze (51, 52), um aus einem jeden Bild (20) der Vielzahl von Bildern (20) entsprechende Werte einer Vielzahl von Bildmerkmalen (21) als Funktion eines vorbestimmten Kriteriums abzuleiten;
- Erzeugen für ein jedes Bild (20) der Vielzahl von Bildern (20) eines entsprechenden rekonstruierten Bildes (22) unter Verwendung der entsprechenden Werte der Vielzahl von Bildmerkmalen (21) und auf Grundlage der Referenzdatensätze (51, 52);
- Vergleichen eines jeden Bildes (20) der Vielzahl von Bildern (20) mit dem entsprechenden rekonstruierten Bild (22) und Ableiten eines entsprechenden Ähnlichkeitsparameters (24), der eine Ähnlichkeit zwischen dem durch den Detektor (4) erfassten Bild (20) und dem entsprechenden rekonstruierten Bild (22) darstellt;
- Aktualisieren der Referenzdatensätze (51, 52) und der Vielzahl von Bildmerkmalen (21) als Funktion des Ähnlichkeitsparameters (24) und eines vorbestimmten Schwellenwerts (72).
12. Verfahren nach Anspruch 11, wobei die Bilder (20) der Vielzahl von Bildern (20), die durch die Kamera (41) während des Schritts zum Selbstlernen erfasst wurden, repräsentativ für eine entsprechende Vielzahl von fehlerfreien Vorformlingen (2) sind.
13. Verfahren nach Anspruch 11 oder 12, umfassend einen Schritt zum Zuführen der Vorformlinge (2) der Vielzahl von Vorformlingen (2) zu der Inspektionsposition (10) einzeln und gemäß einer vorbestimmten Orientierung relativ zu dem Emissionspolarisationsfilter (32) und relativ zu dem Empfangspolarisationsfilter (42).
14. Verfahren nach einem der vorhergehenden Ansprüche 10 bis 13, wobei der Emissionspolarisationsfilter (32) ein linearer Polarisationsfilter ist, der ausgelegt ist, um das Licht in einer ersten Polarisationsrichtung zu polarisieren.
1. Dispositif (1) d'inspection optique de paraisons (2), comprenant :
- un illuminateur (3), incluant une source lumineuse (31) configurée pour émettre un faisceau lumineux dirigé vers une paraison (2) située en correspondance d'une position d'inspection (10) ;
- un détecteur (4), incluant une caméra (41) configurée pour capturer une image (20) de la paraison (2) située en correspondance de la position d'inspection (10), dans lequel la paraison (2), en correspondance de la position d'inspection (10), est interposée de manière fonctionnelle entre l'illuminateur (3) et le détecteur (4),
dans lequel l'illuminateur (3) inclut un filtre polarisateur d'émission (32) configuré pour intercepter le faisceau lumineux émis par la source lumineuse (31) et pour générer un faisceau lumineux polarisé, et en ce que le détecteur (4) inclut un filtre polarisateur de réception (42) configuré pour recevoir le faisceau lumineux polarisé, de sorte que la paraison (2), en correspondance de la position d'inspection (10), est interposée de manière fonctionnelle entre le filtre polarisateur d'émission (32) et le filtre polarisateur de réception (42) ;
- un système d'auto-apprentissage ;
- une unité de traitement, incluant :
une mémoire (5), incluant des ensembles de données de référence (51, 52) ;
un processeur (6) programmé pour traiter l'image (20) capturée par le détecteur (4) sur la base des ensembles de données de référence (51, 52), afin de déduire une indication de diagnostic (23) concernant une défectuosité de la paraison (2), de sorte que l'indication de diagnostic distingue entre une typologie d'objets avec défaut(s) et une typologie d'objets sans défaut, l'unité de traitement étant entraînée, par le système d'auto-apprentissage, à travers des échantillons d'objets de la typologie sans défaut,
dans lequel l'unité de traitement est configurée pour :
- traiter l'image (20) capturée par le détecteur (4) sur la base des ensembles de données de référence (51, 52), afin de déduire de l'image (20) des valeurs d'une pluralité de caractéristiques d'image (21) ;
- traiter les valeurs de la pluralité de caractéristiques d'image (21) pour obtenir l'indication de diagnostic (23) concernant la défectuosité de la paraison (2) ;
- générer une image (22) reconstruite à partir des valeurs de la pluralité de caractéristiques d'image (21) et sur la base des ensembles de données de référence (51, 52) ;
- déduire l'indication de diagnostic (23) concernant la défectuosité de la paraison (2) en fonction de la comparaison de l'image (20) capturée par le détecteur (4) avec l'image reconstruite (22).
2. Dispositif (1) selon la revendication 1, dans lequel le système d'auto-apprentissage (7) est configuré pour :
- recevoir en entrée une pluralité d'images (20) capturées par le détecteur (4) pour une pluralité correspondante de paraisons (2) ;
- traiter chaque image (20) de la pluralité d'images (20) capturées par le détecteur (4) sur la base des ensembles de données de référence (51, 52), afin de déduire pour chaque image (20) des valeurs correspondantes pour la pluralité de caractéristiques d'image (21) sur la base d'un critère prédéterminé ;
- générer pour chaque image (20) de la pluralité d'images (20) une image reconstruite (22) correspondante, sur la base des ensembles de données de référence (51, 52), en utilisant les valeurs déduites correspondantes pour la pluralité de caractéristiques d'image (21) ;
- comparer chaque image (20) de la pluralité d'images (20) capturées par le détecteur (4) avec l'image reconstruite (22) correspondante afin de déduire, pour chaque image (20) de la pluralité d'images (20), un paramètre de similitude (24) correspondant représentant une similitude entre l'image (20) capturée par le détecteur (4) et l'image reconstruite (22) correspondante ;
- pour chaque image (20) de la pluralité d'images (20), mettre à jour les ensembles de données de référence (51, 52) en fonction du paramètre de similitude (24) et d'une valeur de seuil prédéterminée (72) pour le paramètre de similitude (24).
3. Dispositif (1) selon la revendication 2, dans lequel le système d'auto-apprentissage (7) est configuré pour mettre à jour la pluralité de caractéristiques d'image (21) en fonction du paramètre de similitude (24) et de la valeur de seuil prédéterminée (72).
4. Dispositif (1) selon la revendication 2 ou 3, dans lequel le critère prédéterminé inclut un nombre maximal de caractéristiques d'image (21) pour la pluralité de caractéristiques d'image (21).
5. Dispositif (1) selon l'une quelconque des revendications 2 à 4, dans lequel le système d'auto-apprentissage (7) inclut des réseaux de neurones convolutifs configurés pour coder des images à travers une série d'étapes de convolution alternées avec une série d'étapes de mise en commun pour déduire les valeurs de la pluralité de caractéristiques d'image.
6. Dispositif (1) selon l'une quelconque des revendications précédentes, dans lequel le filtre polarisateur d'émission (32) est un filtre linéaire, configuré pour polariser la lumière dans une première direction de polarisation.
7. Dispositif (1) selon l'une quelconque des revendications précédentes, dans lequel le filtre polarisateur de réception (42) est un filtre linéaire, configuré pour polariser la lumière dans une deuxième direction de polarisation.
8. Dispositif (1) selon l'une quelconque des revendications précédentes, dans lequel les paraisons (2) sont en PET et dans lequel l'image capturée par le détecteur inclut un motif de couleur représentant une contrainte à laquelle sont soumises les chaînes de polymères du PET.
9. Ligne (100) de fabrication de récipients en matière thermoplastique, comprenant :
- une machine de moulage (101) configurée pour fabriquer des paraisons (2) ;
- une machine de moulage par soufflage (103) configurée pour recevoir les paraisons (2) et les mouler par soufflage dans des moules pour fabriquer les récipients ;
- un dispositif (1) d'inspection optique de paraisons (2) selon l'une quelconque des revendications 1 à 7,
dans laquelle l'une ou l'autre des conditions suivantes est vérifiée :
i) le dispositif d'inspection optique (1) est situé en aval de la machine de moulage (101) ;
ii) le dispositif d'inspection optique (1) est situé en amont de la machine de moulage par soufflage (103).
10. Procédé d'inspection optique de paraisons, comprenant les étapes suivantes :
- émettre un faisceau lumineux dirigé vers une paraison (2) située en correspondance d'une position d'inspection (10), au moyen d'un illuminateur (3) incluant une source lumineuse (31) ;
- capturer, avec un détecteur (4) incluant une caméra (41), une image (20) de la paraison (2) située en correspondance de la position d'inspection (10), dans lequel la paraison (2), en correspondance de la position d'inspection (10), est interposée de manière fonctionnelle entre l'illuminateur (3) et le détecteur (4) ;
- générer un faisceau lumineux polarisé en interceptant le faisceau lumineux émis par l'illuminateur (3) sur un filtre polarisateur d'émission (32) interposé entre la source lumineuse (31) et la paraison (2) ;
- recevoir le faisceau lumineux polarisé sur un filtre polarisateur de réception (42) interposé entre la paraison (2) et la caméra (41), dans lequel, en correspondance de la position d'inspection (10), la paraison (2) est interposée de manière fonctionnelle entre le filtre polarisateur d'émission (32) et le filtre polarisateur de réception (41) ;
- traiter l'image (20), dans lequel l'étape de traitement inclut les sous-étapes suivantes :
- (61) traiter l'image (20) capturée par le détecteur (4) sur la base des ensembles de données de référence (51, 52), afin de déduire de l'image (20) les valeurs d'une pluralité de caractéristiques d'image (21) ;
- (62) générer une image (22) reconstruite à partir des valeurs de la pluralité de caractéristiques d'image (21) et basée sur les ensembles de données de référence (51, 52) ;
- (63) déduire une indication de diagnostic (23) concernant une défectuosité de la paraison (2) en fonction de la comparaison de l'image (20) capturée par le détecteur (4) avec l'image reconstruite (22) ;
- entraîner l'unité de traitement au moyen d'un système d'auto-apprentissage, de sorte que l'indication de diagnostic fasse la distinction entre une typologie d'objets avec défaut(s) et une typologie d'objets sans défaut, l'unité de traitement étant entraînée, par le système d'auto-apprentissage, au moyen d'échantillons d'objets de la typologie sans défaut.
11. Procédé selon la revendication 10, dans lequel l'étape d'auto-apprentissage comprend les sous-étapes suivantes :
- capturer une pluralité d'images (20) pour une pluralité correspondante de paraisons (2) ;
- traiter chaque image (20) de la pluralité d'images (20) sur la base des ensembles de données de référence (51, 52), afin de déduire de chaque image (20) de la pluralité d'images (20) des valeurs correspondantes d'une pluralité de caractéristiques d'image (21) en fonction d'un critère prédéterminé ;
- générer pour chaque image (20) de la pluralité d'images (20) une image reconstruite (22) correspondante en utilisant les valeurs correspondantes de la pluralité de caractéristiques d'image (21) et en se basant sur les ensembles de données de référence (51, 52) ;
- comparer chaque image (20) de la pluralité d'images (20) avec l'image reconstruite (22) correspondante et déduire un paramètre de similitude (24) correspondant représentant une similitude entre l'image (20) capturée par le détecteur (4) et l'image reconstruite (22) correspondante ;
- mettre à jour les ensembles de données de référence (51, 52) et la pluralité de caractéristiques d'image (21) en fonction du paramètre de similitude (24) et d'une valeur de seuil prédéterminée (72).
12. Procédé selon la revendication 11, dans lequel les images (20) de la pluralité d'images (20) capturées par la caméra (41) au cours de l'étape d'auto-apprentissage sont représentatives d'une pluralité correspondante de paraisons sans défaut (2).
13. Procédé selon la revendication 11 ou 12, comprenant une étape d'alimentation des paraisons (2) de la pluralité de paraisons (2) vers la position d'inspection (10), une à la fois, et selon une orientation prédéterminée par rapport au filtre polarisateur d'émission (32) et par rapport au filtre polarisateur de réception (42).
14. Procédé selon l'une quelconque des revendications précédentes 10 à 13, dans lequel le filtre polarisateur d'émission (32) est un filtre polarisateur linéaire, configuré pour polariser la lumière dans une première direction de polarisation.