The following relates to a computer-implemented method for optical quality control of intermediate or end products of production installations, a computer-implemented tool for optical quality control of intermediate or end products of production installations, and a production installation controller.
Production processes of production installations, regardless of the field or domain wherein they proceed in a corresponding production installation, are never defect-free and have to be validated by often optical quality control. This applies in particular to automated production processes. During optical quality control, this involves recording an image of the product or of part of the product and using the image as a basis for calculating whether all the features satisfy the requirements. In this case, establishing the quality control is associated with engineering outlay, which is a hindrance particularly in the case of autonomous automated production installations in the industrial sphere, which ought to adapt to new products with minimal outlay.
One typical example of such a production process is assembling a product in the industrial sphere (industrial domain) by a robot system or automation system, wherein a universally usable automatic movement machine is used for executing handling, service and/or manufacturing tasks for assembly and where, e.g., after a joining process, it is necessary to check whether a component to be mounted was inserted at the correct location and has fully latched in place.
For this purpose, it is known to provide the commissioning engineer of the production installation, in particular of the robot system, with tools for defining the quality rules as simply as possible. For example, that specific optical features, such as e.g., circles, lines, patterns, in the optically captured image must be at specific positions or have specific dimensions. The commissioning engineer then checks these rules using a few sample images and adapts parameters until the desired reliability is attained.
An aspect relates to a computer-implemented method and tool for optical quality control of intermediate or end products of production installations and also a production installation controller with which the outlay for establishing the quality control under constantly changing conditions and relationships at the production installations for the quality control can be reduced to a correspondingly adaptively matched use of the production installations.
The concept underlying embodiments of the invention as claimed is that for an optical quality control of intermediate or end products of a production installation, wherein a product image of the production installation (Pa) captured by an image capture device for given intrinsic and extrinsic parameters is used and digital twin data of a digital twin of the production installation (PA) are used, wherein the digital twin is synchronized with the production installation at the time of operation thereof, (i) a synthetic simulation image based on the digital twin data is rendered, wherein the rendered synthetic simulation image is based on the same intrinsic and extrinsic parameters as during product image capture, (ii) the product image is transferred from a real domain into an artificial domain by a trained domain adaptation and in the process a synthetic product image is generated from the product image with domain transfer parameters obtained by the training, (iii) the synthetic product image is compared with the synthetic simulation image by a comparison operator, and (iv) a comparison result which qualitatively assesses the product is output.
In comparison with traditional rule-based methods, embodiments of the invention pursue a fundamentally different approach that offers better scaling possibilities.
In this case, one essential aspect of embodiments of the invention, for the quality control, is the use of a domain transformation from a real image domain into an artificial image domain. This results in a simpler image comparison for recognizing image differences.
One development of embodiments of the invention consists in the domain adaptation being implemented as a “machine learning” model according to the principle of a “generative adversarial network <GAN>”, wherein data are generated by the use of two competing artificial neural networks referred to as generator and discriminator, of which the generator generates artificial data which the discriminator checks on the basis of authentic data, e.g., captured with the aid of images, and wherein the two networks are logically and mathematically combined with one another in such a way that the artificial data generated by the generator seem more and more genuine and at the end the discriminator is no longer able to differentiate the genuine data from the authentic data.
Furthermore, it is advantageous if, the trained domain adaptation with the domain transfer parameters is implemented in a two-stage training with the following steps “S1” and “S2”:
Furthermore, embodiments of the invention are distinguished by the fact that
The basic scenario underlying embodiments of the invention shall be outlined below.
The starting point for the scenario to be outlined here is the prerequisite that a detailed digital twin of the production installation is present at the time of operation. The digital twin includes:
This precondition is generally satisfied for autonomously acting production installations or systems, but it can also be satisfied or retrofitted for traditional production installations or systems.
Taking this as a departure point or on this basis, in accordance with the approach of embodiments of the invention, a genuine image of a part or product to be inspected, e.g., intermediate or end product, of the production installation is recorded and this image is transferred into an image space of a simulation with the aid of a domain adaptation. Furthermore, the transferred image is compared with a synthetically rendered image which has been generated with the aid of the digital twin. The “synthetic-looking” images now present in the same image space can now be examined for differences with the aid of a comparison operator. In this case, the output of a comparison result can be e.g., a quality result “OK” or not “OK”.
The quality result can then be automatically taken into account in the further course of the process; by way of example, defectively produced products (e.g., intermediate or end products) can be automatically sorted out or else a user of the production installation can be called for assistance.
The approach of embodiments of the invention has two main stages:
The training can be characterized as follows:
Some of the embodiments will be described in detail, with reference to the following figures, wherein like designations denote like members, wherein:
FIG. A shows a production installation PA with optical quality control for intermediate or end products of the production installation, which is usable in various technical fields (in technical domains) for product production by adequate methods and techniques, e.g., in factories, production lines and large apparatuses; and
FIG. B shows a production installation PA with optical quality control for intermediate or end products of the production installation, which is usable in various technical fields (in technical domains) for product production by adequate methods and techniques, e.g., in factories, production lines and large apparatuses.
In a first embodiment variant of the invention for optical quality control of intermediate or end products in accordance with an option “A”, the production installation PA contains a production installation controller PAS, a database DB, an image capture device BEE configured e.g., in the form and shape of a camera, and an output unit AEH. While the database DB and the image capture device BEE are connected to the production installation controller PAS for accesses thereof, the output unit AEH either in a first embodiment in accordance with option “I”, like the database DB and the image capture device BEE, is connected to the production installation controller PAS for accesses thereof or in a second embodiment in accordance with option “II” is contained in the production installation controller PAS.
As an alternative to the first embodiment variant of the invention in accordance with option “A”, in a second embodiment variant of the invention for optical quality control of intermediate or end products in accordance with an option “B”, the production installation PA, the production installation controller PAS, the database DB and the image capture device BEE are not combined “under one roof”, the roof of the production installation PA, rather they all function as separate units, wherein the production installation controller PAS is connected to the production installation PA, the database DB and the image capture device BEE for accesses, while the output unit AEH either in the first embodiment in accordance with option “I” is contained in the production installation PA for accesses of the production installation controller PAS or in the second embodiment in accordance with option “II” is contained in the production installation controller PAS.
Between these two “extreme” embodiment variants of the invention, other variants are also conceivable (not explicitly illustrated in FIGS. A and B where either only the database DB, the image capture device BEE or the production installation controller PAS is contained in the production installation PA or the production installation PA contains in each case two of the units mentioned.
In both illustrated embodiment variants in accordance with options “A” and “B”, the production installation controller PAS is a control unit STE for a robot system or automation system with a universally usable automatic movement machine for executing handling, service and/or manufacturing tasks.
With regard to the illustrated embodiment variant in accordance with option “B”, it is alternatively also possible for the production installation controller PAS to be a customary personal computer or controller.
The explanations below concerning the description of FIGS. A and B apply to both illustrated embodiment variants of the invention for optical quality control of intermediate or end products in accordance with options “A” and “B”.
For this purpose
The computer-implemented tool CIW contains a non-volatile, readable memory SP, wherein processor-readable control program instructions of a program module PGM for optical quality control are stored, and a processor PZ connected to the memory SP, the processor executing the control program instructions of the program module PGM for optical quality control of the intermediate or end products of production installation PA.
For this purpose, the computer-implemented tool CIW uses
During the loading of the computer-implemented tool CIW into the production installation controller PAS, these data are requested from the processor PZ as input data by access and then either collected or supplied.
The program module PGM of the computer-implemented tool CIW is constituted in such a way, and the processor PZ of the computer-implemented tool CIW that executes the control program instructions of the program module PGM for optical quality control is configured in such a way, that the following steps for optical quality control are carried out:
The domain adaptation is e.g., implemented as a “machine learning” model according to the principle of a “generative adversarial network <GAN>”, wherein data are generated by the use of two competing artificial neural networks referred to as generator and discriminator, of which the generator generates artificial data which the discriminator checks on the basis of authentic data, e.g., captured with the aid of images, and wherein the two networks are logically and mathematically combined with one another in such a way that the artificial data generated by the generator seem more and more genuine and at the end the discriminator is no longer able to differentiate the genuine data from the authentic data.
The domain adaptation DA contains domain transfer parameters DTP obtained by the training trn. The trained trn domain adaptation DA with the domain transfer parameters DTP is implemented in a two-stage training trn with the following steps “S1” and “S2”
After the training, a synthetic product image PBsyn is generated from the product image PB with the trained domain adaptation DA in accordance with the domain transfer parameters DTP. As a result, an image pair formed from the synthetic simulation image SBsyn and the synthetic product image PBsyn arises in an artificial image space for comparison purposes.
Although the present invention has been disclosed in the form of embodiments and variations thereon, it will be understood that numerous additional modifications and variations could be made thereto without departing from the scope of the invention.
For the sake of clarity, it is to be understood that the use of “a” or “an” throughout this application does not exclude a plurality, and “comprising” does not exclude other steps or elements.
Number | Date | Country | Kind |
---|---|---|---|
23181781.8 | Jun 2023 | EP | regional |
This application claims priority to EP application Ser. No. 23/181,781.8, having a filing date of Jun. 27, 2023, the entire contents of which are hereby incorporated by reference.