Deep learning in production of piece goods

In mass production of piece goods, machine parameters are preferably kept constant; as a result, the quality data generated contain little information about errors or faults and are therefore not readily usable for Deep Learning approaches. The participating Fraunhofer institutes ICT and IOSB have developed an Artificial Intelligence (AI) that precisely targets this problem and transfers methods of one-shot learning to the field of piece goods production.

As a result, the improvement of quality control through AI can be achieved more easily for companies, even during ongoing operations, without having to create lengthy error pattern collections.

© Fraunhofer IOSB/ICT
Figure 2: Examples of image tiles for training the deep-learning network
© Fraunhofer IOSB/ICT
Figure 3: Examples of similarity comparison results. Left: Two good parts – small distance measure; right: good part vs defective part – large distance measure. "Activation" denotes the response of the neuronal network.

Styrofoam plates of different types and grades were produced in an automatic moulding machine, and the surface features were recorded using a simple, practical illumination geometry. For defect detection, a neural network was used which is not trained for defect classification as is usually done, but which outputs a measure for the similarity of images, i.e., for the property "similar/dissimilar to a good part". Such a network – known in AI science as "Siamese network" – is geared for comparisons and is thus not trained with single images, but with image pairs. This can be done with image tiles or downscaled complete images. If synthetic data is added during learning by reflection, translation, shearing, etc., care must of course be taken that the alterations do not match any expected fault signature. Any combination of OK and NOK images in black and white or colour can be used, and training is done on quality grades rather than on individual errors. As a result, over time the network becomes more and more reliable at detecting part or features it has rarely or never seen.

This approach offers the advantage that image data from current production can be used for learning without requiring resources to wait for, collect, and catalogue defects. The sliding similarity score can be used not only to detect rejects, but also, for example, to automatically divide parts into higher and lower grades.

 

In this project it was shown that even with small amounts of data, meaningful Deep Learning for quality assessment is possible. Equal numbers of good and bad parts of each defect type are not needed, as is often assumed. Even further automation and more convenient application would be achieved by a feedback loop that automatically pre-labels data, and by a network that can automatically adapt to the amount of information processed, or adaptive control of the ongoing learning process.

Project info

This project is funded

by the Fraunhofer CCIT Technology Hub Machine Learning.