Next Article in Journal
ROADS—Rover for Bituminous Pavement Distress Survey: An Unmanned Ground Vehicle (UGV) Prototype for Pavement Distress Evaluation
Next Article in Special Issue
Silicon Oxynitride Thin Film Coating to Lossy Mode Resonance Fiber-Optic Refractometer
Previous Article in Journal
Colored Petri Net Modelling and Evaluation of Drone Inspection Methods for Distribution Networks
Previous Article in Special Issue
Spectral Diffractive Lenses for Measuring a Modified Red Edge Simple Ratio Index and a Water Band Index
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Deep Neural Network Recognition of Rivet Joint Defects in Aircraft Products

by
Oleg Semenovich Amosov
1,*,
Svetlana Gennadievna Amosova
2 and
Ilya Olegovich Iochkov
3
1
Laboratory of Intellectual Control Systems and Modeling, V.A. Trapeznikov Institute of Control Sciences of Russian Academy of Sciences, 117997 Moscow, Russia
2
Laboratory of Cyber-Physical Systems, V.A. Trapeznikov Institute of Control Sciences of Russian Academy of Sciences, 117997 Moscow, Russia
3
Department of Postgraduate Studies, Komsomolsk-on-Amur State University, 681013 Komsomolsk-on-Amur, Russia
*
Author to whom correspondence should be addressed.
Submission received: 7 April 2022 / Revised: 24 April 2022 / Accepted: 27 April 2022 / Published: 29 April 2022
(This article belongs to the Special Issue State-of-the-Art Optical Sensors Technology in Russia 2021-2022)

Abstract

:
The mathematical statement of the problem of recognizing rivet joint defects in aircraft products is given. A computational method for the recognition of rivet joint defects in aircraft equipment based on video images of aircraft joints has been proposed with the use of neural networks YOLO-V5 for detecting and MobileNet V3 Large for classifying rivet joint states. A novel dataset based on a real physical model of rivet joints has been created for machine learning. The accuracy of the result obtained during modeling was 100% in both binary and multiclass classification.

1. Introduction

The rivet joint defectiveness is one of the most sensitive issues for aircraft-building enterprises. This is explained by the growing production volumes and by carrying out many technological operations manually. These defects are detected not only in the workshops of aggregate assembly production but also in the final assembly workshop and, that is worse, at the flight test station, immediately before flight tests. Moreover, the detection of defects should be carried out during the operation of aircraft (AC) as well.
An AC production is made according to the technological documentation (TD) developed on the basis of the requirements of drafts, technical specifications (TS), and directive technologies. The task of the technical control service of the aircraft-building enterprise is to detect defects in the components of its own production at the early stages, in the workshops of aggregate and assembling production, or in the final assembling workshop, until the transfer of the assembled aircraft to the flight test station (Figure 1). All tests of assembling units and aircraft items are often carried out by quality control department specialists manually, by the methods of non-destructive testing. Modern aircraft, both civil and military, have a large number of rivet joints, containing from 10 to 30 thousand rivets. Manual inspection of these rivets is not only laborious but also requires a lot of time and costs. These are difficult tasks for a person, especially when working with small defects when these inconsistencies are barely or not visible to the naked eye.
Therefore, the problem of detecting, monitoring, and diagnosing rivet joint defects requires a current solution.
The rivet joint defects in aircraft items can be of two types: (1) visible, external joint defects; (2) invisible, internal defects. In this article, the object of research is the first type of defect.
In the first case, the defects can be detected with the help of computer vision. There are some GOST standards and production instructions for quality control of holes, sockets, and joints that define such methods and means of monitoring rivet joints as measuring tools, visual inspection, patterns, indicator devices, and probing. Globally, the entire process of rivet joints and holes quality control is based on visual detection of defects using a minimum set of measuring tools: a probe, a ruler, a pattern, and an indicator device. However, there is no ready-made dataset in the public domain for solving the problem of image detecting and recognizing rivet joint defects.
The datasets that are available in the public domain are mainly for the task of detecting and recognizing defects on metal surfaces, such as scratches, dents, recesses, and spots. For example, in 2013, a database of surface defects called NEU-DET was published and created to demonstrate the effectiveness of an approach based on the local binary patterns (LBP) method. The method allows to estimate threshold changes in the neighboring pixels and classify defects of the steel surface according to variations of signs of intra-class changes, illumination, and changes in the shades of gray [1]. The NEU-DET set consists of 1800 images with a definition of 200 × 200 pixels for six different defects of scratches, spots, cracks, and pits on a hot-rolled steel strip. However, the proposed processing method is difficult to apply in real conditions since it requires a complex adjustment limitation for recognizing defects that are sensitive to certain environmental factors, such as lighting and background. When environmental factors change, these thresholds must be carefully adjusted again; otherwise, the algorithm is not applicable in a new environment due to the lack of adaptability and reliability.
In 2020, a new GC10-DET dataset for detecting metal surface defects was proposed to replace NEU-DET [2]. In this paper, two datasets, NEU-DET and GC10-DET, are compared by means of several modern methods: single shot multibox detector (SSD), regions with convolutional neural networks (Faster-RCNN), and you only look once (YOLO-V2), YOLO-V3; traditional methods, such as LBP and histogram of oriented gradients (HOG). The classifiers are used: the k-nearest neighbors algorithm (NNC) and the support vector machine (SVM) methods. As a result of the study, the authors note that there are still serious problems with the GC10-DET dataset with the categories of defects, the number of images, and the scale of data, but the proposed end-to-end defect detection network (EDDN), based on SSD, is resistant to binary detection of defects on metal surfaces.
Recognition of the quality of welds on a metal surface is also a popular direction. There are also many papers concerning this issue and datasets prepared for research works. In [3], a visual system is proposed for measuring the quality of welding and detecting defects. The visual system consists of an image sensor, a laser projector, a focusing lens, and an optical filter. The control system not only measures the size of the weld but also detects weld defects. In addition to the ability to measure the size of the weld and detect defects, the laser quality control system of welds also allows you to reconstruct the three-dimensional surface of the weld.
The effectiveness of computer vision for detecting defects in the welding process is described in [4]. In order to detect faults more thoroughly, it is proposed to estimate 3D scanning models and fluctuations in power consumption during welding, which have template patterns for V-shaped incisions and grease contamination.
Therefore, creating a high-quality dataset for detecting rivet joint defects is a serious and difficult task. Let us consider the works aimed at detecting and recognizing defective rivets on the aircraft skin.
In [5], it is proposed to use a neural network (NN) of direct propagation and a fuzzy system based on perceived shock signals as a riveting control device and detection of riveting gaps at the stages of producing assembly units of aircraft equipment. The fuzzy mechanism plays the role of a signal processor, which is used to improve the important characteristics of shock signals so that the NN can perform an immediate diagnosis of the quality of riveting based on the processed signals.
In [6,7,8], the algorithms for detecting surface defects during aircraft operation are described: cracks and corrosion on the surface of the aircraft skin—direct propagation NN and wavelet filtering on monoscopic and stereoscopic images [6]; dents, protrusions, or scratches on the external surface of the aircraft-3D scanner, segmentation, identification [7]; cracks and scratches of the aircraft body—direct propagation NN, Contourlet Transform (CT) and Discrete Cosine Transform (DCT) [8].
In order to check aging aircraft, the method of non-destructive testing with Magneto-Optical Imaging (MOI) is used, it is used to detect surface and subsurface cracks and corrosion of the aircraft skin [9]. The main advantage of magneto-optical imaging technology is a quick check over a large area. The interpretation of images obtained by the magnetic-optical method is simple but still depends on the human factor and fatigue, which leads to a spread in the level of confidence in the probability of detection (POD). In this paper, the automated control is proposed to detect rivets and defects, classify defects and decide on acceptance or rejection based on magneto-optical scanning, conversion to a black-and-white image, and the use of morphological image processing to find the center and radius of the rivet object on the surface. If the diameter of the found object is close to the size of the rivet and the image contains several non-zero pixels in the center of the rivet, it means that this is a “good” rivet, while the abnormal rivet has an additional “drop” that is located outside the detected circle. Therefore, to determine the “width” of the additional area outside the rivet in the image, two asymmetry functions are used that determines the distance from the edge to the center of the rivet. In [10], the authors refined the detection of the area outside the rivet circle using the Hough Transform.
Hidden rivets are difficult to be distinguished on a metal surface in video images due to glare and reflection. Therefore, the authors of [11] developed a three-dimensional sensor to solve the problem of determining the rivet contour. The 3D sensor consists of two rigidly directed video cameras and a projector in the center, creating a dense three-dimensional image, which allows you to determine the size and exact diameter of the rivet. The Fringe Projection Profilometry (FPP) algorithm is used for segmentation, and the points of the rivet edges are further refined by the High Dynamic Range (HDR) algorithm. This work is aimed at detecting the edge of the rivet on the metal surface, but there is no solution for determining the defects of the rivet, although the results of the work are impressive.
In the development of research in the field of 3D scenes, an automated quality check of countersunk rivets in the aircraft structure is proposed in [12]. A mobile 3D scanning system has been developed for automation, and a deep convolutional neural network Rivet Region Classification Network (RRCNet), has been created for the detection and classification of rivets. This article is aimed at solving the problem of detecting hidden rivets on the surface of the aircraft skin since they are poorly distinguished on the surface; therefore, due to 3D scanning, a side view of the rivet is obtained. Although this paper emphasizes the need for 3D scanning to collect information about the shape of the aircraft skin and control the rivets, the process of detecting and recognizing the rivet is carried out on 2D projection maps with images of a point cloud. The proposed method is good for comprehensive coverage of the entire viewing angle, which eliminates the omission or false detection of hidden rivets.
Similar work was started by us in 2019 [13,14]. Our presentations at the conferences [13,14] are only a conceptual, preliminary analysis set out on a few pages. This manuscript provides theoretical, mathematical, physical, and practical research that significantly goes beyond the presentations at the conferences [13,14]. The novelty in the obtained results of deep neural network recognition and multiclass classification of defects using a new dataset on rivet connections based on real defects is presented.

2. The Statement of the Task of Detecting and Classifying the Defects

The tested product is considered, the condition of which can be classified as serviceable or defective. We introduce a finite set B = { β 1 , , β μ , , β η } , containing the η state classes of the controlled item. Its elements are a class of states that characterize the serviceable state of the product and several classes of functional states that characterize the defective state.
It is necessary to detect the images of objects according to the incoming video stream by highlighting key features and assigning them to one of the classes. In order to implement image recognition, it is necessary to develop a computational method based on both traditional and machine learning methods, including modern deep neural networks, and conduct a full-scale experiment with a video stream coming from surveillance cameras of the aircraft equipment.
Assume that we have:
(1) a multitude of images ω Ω , each of which is represented as a 2D set of the images I j , j = 1 , M ¯ and is characterized by the features x i , i = 1 . m ¯ , the set of which for the image ω is represented by the vector description x = Φ ( ω ) = ( x 1 ( ω ) , x 2 ( ω ) , , x m ( ω ) ) T ;
(2) a multitude of product condition classes B = { β 1 , , β μ , , β η } , η —the number of classes.
A priori information is represented with the training set D = { ( I j , β j ) } , j = 1 , L ¯ , given by the table, in which each line j contains a 2D image I j and the class label β μ , μ = 1 , η ¯ . It should be noted that the training set characterizes the unknown display * F : Ω B .
It is necessary to solve the problem of image recognition according to available frames I t of the continuous video stream V = ( I 1 , . . , I t , . . , I τ ) and a priory information given by the training set D = { ( I j , β j ) } , j = 1 , L ¯ for the deep machine learning with a teacher: to detect the images ω as the features estimation x ˜ with the help of the display F 1 : I t x ˜ and to classify them by using the display F 2 : x ˜ β μ , μ = 1 , η ¯ in accordance with the given criterion J ( x ˜ ) minimizing the error probability [15,16].
Thus, it is necessary to find the display F 3 : I t β μ , μ = 1 , η ¯ , by which F 3 is the set of functions and algorithms f i , i = 1 , N f ¯ .
It should be noted that the simplest task of binary classification is the classification when assigning the presented image to one of two classes {“absence of a defect”, “presence of a defect”}, β μ B = { 0 ;   1 } . However, in the tasks of recognizing product defects, the desired solution is precisely a multiclass classification with an understanding of the nature of the defects. This is necessary for the application of the methods for their elimination and subsequent prevention during the process of production.

3. Computational Method Based on the Deep Neural Networks of Machine Learning

The detection of rivet defects can be carried out using various methods, such as the Circle Hough Transform (CHT), morphological image processing, and 2-D dimensional convolution [9,10,11,12].
Recently, one of the most noticeable trends has been to use deep neural networks in solving image recognition problems [15,16,17]. They are assigned the main role in the proposed method.
In order to detect and classify objects and defects, it is offered to use the computational method of image recognition F 3 : I t β μ , t = 1 , τ ¯ , μ = 1 , η ¯ with its implementation based on deep neural networks.
The computational method consists of the following stages:
(1) The rivet joint is localized on the frame I t of the continuous video stream V = ( I 1 , . . , I t , . . , I τ ) . This sub-task is offered to be solved by the pre-trained architecture of the deep NN YOLO for object detection [18]. The result of the work is the Region of Interest (ROI) containing the image of the object. This improves the performance and simplifies the algorithms for the subsequent defects recognition.
(2) For multiclass classification of the rivets, state informative features are distinguished using deep machine learning, for example, using a deep convolutional neural network trained on the datasets D M L of defective and normal rivets prepared by us.
(3) Assignment of the feature vector to one of the classes. The classification criterion is defined as J ( x ˜ ) = max p ( x ˜ ) . If J ( x ˜ ) ε , where ε —the given limitation, then β μ = arg max μ 1 . . η ( p ( x ˜ ) ) , otherwise the classification is considered to be incorrect.

4. Automated Workplace of the Control Operator. Creating a Dataset

In order to control the quality of rivet joints, it is proposed to use an automated workplace for the control operator in the aggregate assembly production workshop of an aircraft-building enterprise (Figure 2).
The sketch design of the automated workplace for the control operator of the aggregate and assembly production workshop consists of a manipulator arm that moves along the surface specified in the design documentation; video cameras record the quality of holes, sockets, rivet connections; the recognition system based on the computational method compares them with the existing database of defects (Figure 3). When a defect is detected, this place on the surface is fixed, and information is transmitted to the control system operator (the type of defect, recommendations for elimination).
The fuel tank panel is located in the slipway, and the manipulator arm moves along a preplanned path in accordance with the design documentation. There are video cameras at different angles, laser rangefinders, and LEDs on the manipulator arm. Laser rangefinders are necessary for monitoring the shooting distance. The accuracy of defect detection is affected by many external factors: the direction of lighting, blinking, reflection, darkening, and the angle. Therefore, the LEDs create directional lighting to eliminate external factors on the examined surface. Video cameras also serve as primary sources of information. The video stream of controlled rivets received from them enters the information pre-processing unit, then the system detection and classification unit, and then the processed and analyzed information is sent to the operator’s monitor with recommendations for eliminating defects in order for the operator to make the right decision.
In order to implement the computational method, model it, and check its accuracy, it is necessary to form a set of defect classes. For this purpose, duralumin plates were prepared (Figure 4), consisting of two halves riveted together with various types of rivets, both with countersunk and barrel-shaped (flat-rounded) heads.
The dataset for detecting rivets includes 375 images of duralumin plate fragments with barrel-shaped and countersunk rivets (Figure 5). Images of plate fragments contain images of normal and defective rivets, and full images of rivets and their individual parts.
A total of 345 images were used to train the object detector based on the YOLO-V5 deep NN [19], and 15 images were used for testing and validation. These images were annotated in Pitch YOLO-V5 format.
The following pre-processing was applied to each image: auto-orientation of pixel data (with EXIF-orientation stripping). The following augmentation was applied to create three versions of each source image: (1) 50% probability of horizontal flip; (2) randomly crop between 0 and 20 percent of the image. The following transformations were applied to the bounding boxes of each image: salt and pepper noise was applied to five percent of pixels.
The marking of images was carried out using the Computer Vision Annotation Tool (CVAT, [20]) service and was performed manually, using the designation of objects in each image. A metafile with coordinates was formed in the following format: Label_ID X_CENTER Y_CENTER WIDTH HEIGHT. For each <image_name>.jpg image, an <image_name>.txt file with markup was created.
After that, photos of non-defective and defective rivets of various types were taken to prepare the classifier dataset. The collected rivet joints dataset contains two classes of non-defective and four classes of defective rivets (Figure 6), namely: notches and cuts on the barrel-shaped (flat-rounded) rivet heads (1); notches and cuts on the countersunk rivet heads (2); the irregular shape of the embedded head of the rivet (3); cuts and risks on the surface of the part (4); normal barrel-shaped rivets (5); normal countersunk rivets (6).
The dataset for the rivet classifier consists of 200 images for each class. A total of six classes (1200 images) were prepared to test the classification (768 images for training, 192 images for validation, and 240 images for test). The described datasets for detecting and classifying rivets can be found on GitHub [21].

5. The Realization of the Computational Method

Let us consider the main stage features of the computational method.

5.1. Localization and Detection of a Rivet Joint in an Image Using YOLO-V5

When choosing YOLO-V5, we were guided by studies conducted in [22]. The results of the study are presented in Table 1.
Table 1 shows the results of applying the YOLO algorithms to a sample image, demonstrating the accuracy and completeness of these algorithms. YOLOv3 has high accuracy, but its recall is low, which shows that the model needs to be improved. We see that the models in YOLOv4 and YOLOv5 have a balanced accuracy and recall resulting in a high F1 score [22].
Let us reflect on the differences between the YOLOv3, YOLOv4, and YOLOv5 architectures. The YOLOv3 architecture uses the backbone Darknet53. The YOLOv4 architecture uses CSPdarknet53, i.e., CSNet in Darknet, and the YOLOv5 architecture uses the Focus structure with CSPDarknet53. The advantage of using the Focus layer is to reduce the required CUDA memory, reduce the number of layers and improve speed and accuracy [19].
As an algorithm for detecting rivets, it is proposed to use the YOLO-V5 deep neural network architecture. To train YOLO-V5, we use a dataset prepared by us with images of fragments of plates with rivet connections (Figure 5). The detection result is the marking of the image on the area of the found rivets, i.e., we obtain an array containing their coordinates and the probabilities of finding the object.
Table 2 shows the values of the rivet detection metrics with the best weights at the end of the YOLO-V5 NN training. Here you should pay attention to the values of the precision and recall metrics and two variants of the mAP metric (mean Average Precision for object detection).
The average training time for the YOLO-V5 deep NN is about 16 min on the i5 7400 Geforce 1080Ti PC configuration, Ubuntu Linux operating system. The time to check the quality of detection (validation) is about 99 s.
To check the accuracy of the work and the prediction of the proposed model, we use the reliability indicator—the Confidence metric, which reflects the “confidence” of the model that an object has been detected or not. The validation was carried out on an additional dataset, which is 20% in relation to the prepared dataset for object detection. The result of the model’s work on the validation set is shown in Figure 7.
Figure 7 shows that there are no gaps and recognition errors. As a result of the work of the YOLO-V5 deep NN, we obtain images with the designations of the detected objects and confidence values. In order to reflect the accuracy and completeness, the confusion matrix is calculated (Figure 8).
The confusion matrix shows that when rivets are detected on a fragment of the plate, an error of 2% appears due to the confusion of the rivet with the metal surface (with the background of the plate). In this case, the test was carried out on 15 images, including 105 rivets of various types of the complete type and their individual parts.
As can be seen from the matrix in Figure 8, most of the rivets are detected correctly.
The F1-score metric, which combines information on the accuracy and completeness of the rivets detection model and is calculated by the formula:
F 1 = 2 Precision × Recall Precision + Recall .
As a result, the detection of rivets on the surface of panels using YOLO-V5 is 98%. However, for the classification of defects into classes, the use of this deep NN is not advisable since it gives a high level of errors. Therefore, to classify defects, it is proposed to use another convolutional deep neural network trained on higher resolution images, which makes it possible to determine the object class more reliably.

5.2. The Peculiarities of Using CNN for Detecting Rivet Joint Defects

In the considered papers [5,6,7,8,9], feedforward neural networks are used to detect defects in rivets, rivet holes, and surfaces. Since we have analyzed these papers, it is possible to point out the problems of using such NN:
-
a large amount of images of subassemblies of various designs is required for training;
-
there is no possibility to change the scale of the input images, their angle, and other affine-geometric transformations;
-
the images must be of high quality to display all small defects, and this leads to an increase in the dimension and processing time;
-
the use of several neural networks for different input data leads to an increase in computational complexity.
Therefore, deep convolutional neural networks (DNN) were chosen to solve the problem of detecting defects since they provide work with huge data arrays, partial resistance to changes in scale, displacements, rotations, angle changes, and other distortions.
The general structure of the defect recognition system for multiclass identification based on deep machine learning using NN is shown in Figure 9: The general structure of the DNN.
The ideology of the convolutional neural network architecture is based on some features of the human visual cortex. Namely, it is based on a similar apparatus of simple and complex cells, i.e., filters (nuclei) that highlight straight lines, arcs, borders, contrast, and activation functions that enhance the effect of filters on the image.
The idea of convolutional neural networks is to alternate convolution layers and subsampling layers (or pooling Layers, subsampling layers).
When training the NN with an output SoftMax layer, a loss function in the form of cross-entropy is used for multiclass classification:
C E ( w ) = n = 1 N C E n ( w ) = n = 1 N μ = 1 η t n , μ log ( S M μ ( x ˜ n , w ) ) ,
where t n , μ —the target value for the class μ , the class label corresponding to the n example (it is equal to zero for all the classes except the class μ , for which this value is equal to 1); p μ = S M μ ( x ˜ n , w ) —the probability of this class is equal to the value of the SoftMax function from the outputs of the neural network; η —the number of classes; N—the size of the training set (the number of examples); x ˜ n m-vector of the features formed by the network at the SoftMax layer input, n = 1 , N ¯ ; w —the vector of configurable weight coefficients of the neural network.
SoftMax activation function:
S M i ( x ˜ ) = e x ˜ i j = 1 n e x ˜ j , 0 < S M i < 1 , i = 1 n S M i ( x ˜ ) = 1 .
To estimate the classifier, a generally accepted metric is also used—general accuracy M A c (Accuracy). The value of the metric M A c is calculated as:
M A c = T P + T N T P + T N + F P + F N ,
where TP—True Positive rate, TN—True Negative rate, FP—False Positive rate, FN—False Negative rate [23].
As a neural network classifier, we have proposed a simple deep NN architecture built by various combinations of convolution layers. The network begins with an input sequence layer, followed by three blocks in a row, consisting of a convolutional layer with a RELU activation function and a subsampling layer with various empirically selected parameters. In order to predict class labels, the network ends with a fully connected layer, a SoftMax layer, and a classification output layer. The NN architecture was trained and tested on i5 7400 Geforce 1080Ti PC configuration, Ubuntu Linux operating system, using the created dataset for classification.
The given example of the convolutional NN shows that if we use not complex convolutional neural networks, then with two class recognition, their using gives 100% defect detection, and with multiclass recognition, the accuracy is 97% for six classes. Errors occur when a defect is assigned to a neighboring, close defect class and not to a serviceable state. Therefore, it is proposed to use a new generation of highly accurate and efficient neural network models for multiclass classification.
Of the latest achievements in the field of deep learning, it is worth noting the MobileNet NN architecture, which has low requirements for computing resources and has not been previously used for the problem of recognizing defects in rivet joints.
The MobileNet V3 Large deep NN [24] was retrained by us using our own marked dataset and modified for the task being solved.
To solve the problem of classifying defects in rivet joints, we modified the basic architecture of MobileNet V3 Large as follows (Figure 10, Table 3):
-
in the output layer (Dense) of the last block, the output vector was changed to a size of 1 × 6 to bring it to the problem of assignment to one of the six classes;
-
the modified NN has been retrained to classify defects in riveted joints.
We also made a comparison with the architecture of CNN MobileNet V3 Small. The results are shown in Table 4. From them, it can be concluded that the used CNN MobileNet V3 Small is not so effective in classifying defects. However, it is worth noting that the training time of CNN MobileNet V3 Small is several times less than CNN MobileNet V3 Large.
In order to test the software package for detecting and classifying defects in rivet joints, images of duralumin plates with riveted joints were presented (Figure 11). The operation of the detector and the classifier is displayed on the presented image as a highlighted rectangle around the rivet area with the class number indicated. The accuracy of the six-class classification on the test dataset was 100%, but the detection of rivets on the surface of panels using YOLO-V5 is 98%; therefore, the accuracy of defect classification does not exceed 98%.

6. Conclusions

The mathematical statement of the problem of recognizing and classifying rivet joint defects in aircraft products is given.
A computational method for the recognition of rivet joint defects in aircraft equipment based on video images of aircraft joints has been proposed with the use of the YOLO-V5 NN for detecting and MobileNet V3 Large NN for classifying rivet joint states.
A novel dataset based on a real physical model of rivet joints has been created for machine learning.
The accuracy of the result obtained during modeling was 100% in the case of binary classification and 100% with the six-class recognition of the rivet joint defects with their 98% detection on the surface of the boards.
The use of computer vision together with artificial intelligence technologies will also allow for the detection of abnormal situations in the production process in proper time, recognizing objects and situations in a continuous video stream, and tracking violations occurring during the production and on the territory of the organization.

Author Contributions

Conceptualization, O.S.A. and S.G.A.; methodology, O.S.A.; software, S.G.A.; validation, O.S.A. and S.G.A.; formal analysis, O.S.A. and S.G.A.; investigation, O.S.A., S.G.A. and I.O.I.; resources, I.O.I.; data curation, I.O.I.; writing—original draft preparation, S.G.A.; writing—review and editing, I.O.I.; visualization, S.G.A.; supervision, O.S.A. and S.G.A.; project administration, O.S.A.; funding acquisition, O.S.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

Author’s datasets. Available online: https://github.com/Iochkov (accessed on 6 April 2022).

Acknowledgments

We are grateful to the Zhiganov S.V. for his assistance in conducting numerical experiments.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Song, K.; Yan, Y. A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defects. Appl. Surf. Sci. 2013, 285, 858–864. [Google Scholar] [CrossRef]
  2. Lv, X.; Duan, F.; Jiang, J.-J.; Fu, X.; Gan, L. Deep Metallic Surface Defect Detection: The New Benchmark and Detection Network. Sensors 2020, 20, 1562. [Google Scholar] [CrossRef] [Green Version]
  3. Chu, H.-H.; Wang, Z.-Y. A vision-based system for post-welding quality measurement and defect detection. Int. J. Adv. Manuf. Technol. 2016, 86, 3007–3014. [Google Scholar] [CrossRef]
  4. French, R.; Benakis, M.; Marin-Reyes, H. Intelligent Sensing for Robotic Re-Manufacturing in Aerospace-An Industry 4.0 Design Based Prototype. In Proceedings of the 2017 IEEE International Symposium on Robotics and Intelligent Sensors (IRIS), Ottawa, Canada, 5–7 October 2017; pp. 272–277, ISBN 978-1-5386-1342-9. [Google Scholar] [CrossRef] [Green Version]
  5. Hwang, R.-C.; Chen, Y.-J.; Chang, C.-Y.; Weng, P.-H.; Wang, H.-L. An Intelligent Quality Inspection System for the Riveting Process. Int. J. Eng. Innov. Res. 2014, 3, 1–17. [Google Scholar]
  6. Siegel, M.; Gunatilake, P. Remote inspection technologies for aircraft skin inspection. In Proceedings of the 1997 IEEE Workshop on Emergent Technologies and Virtual Systems for Instrumentation and Measurement, Niagara Falls, ON, Canada, 15–17 May 1997; pp. 1–10. [Google Scholar]
  7. Jovančević, I.; Pham, H.-H.; Orteu, J.-J.; Gilblas, R.; Harvent, J.; Maurice, X.; Brèthes, L. 3D Point Cloud Analysis for Detection and Characterization of Defects on Airplane Exterior Surface. J. Nondestruct. Eval. 2017, 36, 74. [Google Scholar] [CrossRef] [Green Version]
  8. Mumtaz, R.; Mumtaz, M.; Mansoor, A.B.; Masood, H. Computer aided visual inspection of aircraft surfaces. J. Image Process. 2012, 6, 38–53. [Google Scholar]
  9. Fan, Y.; Deng, Y.; Zeng, Z.; Udpa, L.; Shih, W.; Fitzpatrick, G. Aging aircraft rivet site inspection using magneto-optic imaging: Automation and real-time image processing. In Proceedings of the 9th Joint FAA/DoD/NASA Aging Aircraft Conference, Torrance, CA, USA, 6–9 March 2006. [Google Scholar]
  10. Fan, Y.; Park, U.; Udpa, L.; Ramuhalli, P.; Shih, W.; Stockman, G.C. Automated Rivet Inspection for Aging Aircraft with Mag-Neto-Optic Imager. In Proceedings of the 10th International Workshop on Electromagnetic Nondestructive Evaluation, East Lansing, MI, USA, 2 June 2004; Volume 25, pp. 185–194. [Google Scholar]
  11. Wang, Y.; Zhao, H.; Li, X.; Jiang, H. High-Accuracy 3-D Sensor for Rivet Inspection Using Fringe Projection Profilometry with Texture Constraint. Sensors 2020, 20, 7270. [Google Scholar] [CrossRef] [PubMed]
  12. Xie, Q.; Lu, D.; Huang, A.; Yang, J.; Li, D.; Zhang, Y.; Wang, J. RRCNet: Rivet Region Classification Network for Rivet Flush Measurement Based on 3-D Point Cloud. IEEE Trans. Instrum. Meas. 2021, 70, 1–12. [Google Scholar] [CrossRef]
  13. Amosov, O.S.; Amosova, S.G.; Pashchenko, F.F.; Iochkov, I.O. Computational method basing on deep neural networks to detect and classify defects, appearing in rivet assemblies of aircraft. In Proceedings of the 2019 12th International Conference Management of Large-Scale System Development (MLSD), Moscow, Russia, 1–3 October 2019. [Google Scholar] [CrossRef]
  14. Amosov, O.S.; Amosova, S.G.; Iochkov, I.O. Detection and Recognition of Manufacturing Defects of Rivet Joints by their Video Images Using Deep Neural Networks. In Proceedings of the 2019 International Multi-Conference on Industrial Engineering and Modern Technologies, Vladivostok, Russia, 1–4 October 2019. [Google Scholar] [CrossRef]
  15. Amosov, O.S.; Amosova, S.G.; Ivanov, Y.S.; Zhiganov, S.V. Using the deep neural networks for normal and abnormal situation recognition in the automatic access monitoring and control system of vehicles. Neural Comput. Appl. 2020, 33, 3069–3083. [Google Scholar] [CrossRef]
  16. Amosov, O.S.; Amosova, S.G.; Ivanov, Y.S.; Zhiganov, S.V.; Pashchenko, F.F. Computational Method of Recognizing Situa-tions and Objects in Continuous Video Stream Frames Using Deep Neural Networks for Access Monitoring and Control System. J. Comput. Syst. Sci. Int. 2020, 5, 71–87. [Google Scholar]
  17. Amosov, O.S.; Amosova, S.G.; Ivanov, Y.S.; Zhiganov, S.V. Using the ensemble of deep neural networks for normal and abnormal situations detection and recognition in the continuous video stream of the security system, Procedia Computer Science. In Proceedings of the 13th International Symposium “Intelligent Systems”, INTELS 2018, St. Petersburg, Russia, 22–24 October 2018; pp. 532–539. [Google Scholar]
  18. Redmon, J.; Divvala, S.K.; Girshick, R.B.; Farhadi, A. You Only Look Once: Unified, Real-Time Object Detection. arXiv 2015, arXiv:1506.02640. [Google Scholar]
  19. YOLOv5 in PyTorch. Available online: https://github.com/ultralytics/yolov5 (accessed on 17 March 2022).
  20. Computer Vision Annotation Tool (CVAT). Available online: https://cvat.org/auth/login/ (accessed on 17 March 2022).
  21. Author’s Datasets. Available online: https://github.com/Iochkov (accessed on 8 April 2022).
  22. Nepal, U.; Eslamiat, H. Comparing YOLOv3, YOLOv4 and YOLOv5 for Autonomous Landing Spot Detection in Faulty UAVs. Sensors 2022, 22, 464. [Google Scholar] [CrossRef] [PubMed]
  23. Binary Classification Performances Measure Cheat Sheet. Available online: http://www.damienfrancois.be/blog/files/modelperfcheatsheet.pdf (accessed on 17 March 2022).
  24. Howard, A.; Sandler, M.; Chu, G.; Chen, L.-C.; Chen, B.; Tan, M.; Wang, W.; Zhu, Y.; Pang, R.; Vasudevan, V.; et al. Searching for MobileNetV3. In Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Korea, 27 October–2 November 2019; pp. 1314–1324. [Google Scholar]
Figure 1. Distribution of inconsistencies identified during quality control at the stages of aircraft items production.
Figure 1. Distribution of inconsistencies identified during quality control at the stages of aircraft items production.
Sensors 22 03417 g001
Figure 2. The system for recognizing rivet joint defects.
Figure 2. The system for recognizing rivet joint defects.
Sensors 22 03417 g002
Figure 3. The sketch design of the automated workplace for the control operator of the aggregate and assembly production workshop.
Figure 3. The sketch design of the automated workplace for the control operator of the aggregate and assembly production workshop.
Sensors 22 03417 g003
Figure 4. An example of plates with rivets.
Figure 4. An example of plates with rivets.
Sensors 22 03417 g004
Figure 5. Sample images for training the object detector and for testing the classifier.
Figure 5. Sample images for training the object detector and for testing the classifier.
Sensors 22 03417 g005
Figure 6. The structure of rivet joints dataset.
Figure 6. The structure of rivet joints dataset.
Sensors 22 03417 g006
Figure 7. The result of rivets detection with confidence values on the validation set.
Figure 7. The result of rivets detection with confidence values on the validation set.
Sensors 22 03417 g007
Figure 8. Confusion matrix.
Figure 8. Confusion matrix.
Sensors 22 03417 g008
Figure 9. General structure CNN.
Figure 9. General structure CNN.
Sensors 22 03417 g009
Figure 10. Confusion matrix in testing MobileNet V3 Large.
Figure 10. Confusion matrix in testing MobileNet V3 Large.
Sensors 22 03417 g010
Figure 11. Test result.
Figure 11. Test result.
Sensors 22 03417 g011
Table 1. Results of comparing YOLOv3, YOLOv4 and YOLOv5.
Table 1. Results of comparing YOLOv3, YOLOv4 and YOLOv5.
MeasureYOLOv3YOLOv4YOLOv5
Precision0.730.690.707
Recall0.410.570.611
F1-score0.530.630.655
mAP0.460.6070.633
PC Speed63.75958.82
Jetson Speed7.56.85
Table 2. Metrics of the learning process.
Table 2. Metrics of the learning process.
ParametersPrecisionRecallF1-Score[email protected][email protected]:0.95
Yolov5 (78 epochs, 288 labels, val. labels 99)0.980.990.9850.9930.689
Yolov5 (79 epochs, 296 labels)0.9810.9890.9930.721
Yolov5 (80 epochs, 244 labels)0.980.990.9850.9930.686
Yolov5 (100 epochs, 345 labels)0.980.980.9780.9930.708
Note: labels—the number of rivets on the images of plate fragments that participated in the training of the epoch; val. labels—the number of rivets on the images that participated in the validation.
Table 3. Classification Report MobileNet V3 Large.
Table 3. Classification Report MobileNet V3 Large.
ClassPrecisionRecallF1-ScoreSupport
11.001.001.0033
21.001.001.0050
31.001.001.0041
41.001.001.0051
51.001.001.0030
61.001.001.0035
Table 4. Classification Report MobileNet V3 Small.
Table 4. Classification Report MobileNet V3 Small.
ClassPrecisionRecallF1-ScoreSupport
11.001.001.0033
21.001.001.0050
31.001.001.0041
41.000.980.9951
51.001.001.0030
60.971.000.9935
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Amosov, O.S.; Amosova, S.G.; Iochkov, I.O. Deep Neural Network Recognition of Rivet Joint Defects in Aircraft Products. Sensors 2022, 22, 3417. https://0-doi-org.brum.beds.ac.uk/10.3390/s22093417

AMA Style

Amosov OS, Amosova SG, Iochkov IO. Deep Neural Network Recognition of Rivet Joint Defects in Aircraft Products. Sensors. 2022; 22(9):3417. https://0-doi-org.brum.beds.ac.uk/10.3390/s22093417

Chicago/Turabian Style

Amosov, Oleg Semenovich, Svetlana Gennadievna Amosova, and Ilya Olegovich Iochkov. 2022. "Deep Neural Network Recognition of Rivet Joint Defects in Aircraft Products" Sensors 22, no. 9: 3417. https://0-doi-org.brum.beds.ac.uk/10.3390/s22093417

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop