Abstract
With the rapid growth in the number of motor vehicles worldwide, the general public is beginning to attach importance to the quality inspection of wheels before they leave the factory. The current wheel defect detection systems are often cumbersome to operate and have low practical performance. Therefore, this research will use dynamic image segmentation, image texture feature extraction and Back Propagation neural network classification based on wheel image defect feature analysis algorithm to achieve automatic intelligent detection of automotive wheel defects. In this study, an intelligent detection system for automotive wheel defects is also designed, and finally the performance of the detection system is tested experimentally to illustrate its practicality. The experimental results show that the proposed intelligent detection system for automotive wheel defects based on image texture features identifies defects in wheel castings with a correct rate of 96% and a false positive rate of only 2%. This illustrates that the detection system proposed in this study has a high recognition rate and can provide a useful reference for the automotive industry inspection.
Introduction
With the rapid development of economy and society and the gradual improvement of people’s living standard, people’s demand for automobiles is also increasing. After the Second World War, aluminium alloy wheels began to be used in ordinary cars [1]. And as an important safety component of the car, the performance and service life of the wheel hub largely determine the safety and reliability of the whole car, and at the same time, it is also concerned by many scholars [2, 3]. Due to the rapid development of digital image processing and intelligent pattern recognition technology, X-ray based automatic damage detection and identification of castings can greatly improve the production efficiency and automation of cast products. At the same time, the method is also widely used in the quality inspection and damage identification technology of automotive wheels [4]. At present, some foreign companies have completed the development of several sets of automatic online wheel inspection systems, however, the programming operation of these software at the early stage of inspection is tedious and complicated, and the accuracy of wheel damage identification cannot meet the requirements, the automatic detection and identification function of the software is basically on hold, and the price of the software is quite expensive. In China, there is currently no complete set of automatic wheel damage detection and identification system applied to engineering projects. A reliable, practical and economical online automatic wheel detection technology is urgently needed at home and abroad [5]. Therefore, this research will be based on image texture features of the automotive wheel damage detection method. Firstly, the image target region is obtained through pre-processing and image segmentation techniques, then the image texture features are extracted, and then the damage is classified through fuzzy neural networks. Finally, the detection results are judged according to relevant criteria. The automotive wheel damage detection method based on image texture features is recognised in terms of its practicality.
There have been several studies abroad on wheel detection. Schaefer and Purschke [6] has proposed the MODAN filter method. The MODAN filter is a median filter and requires adjustment of the filter template. It is used to remove damage structures from the inspection image. As a result, the algorithm has been successfully applied to casting damage detection systems. Kehoe and Parker [7] proposed an intelligent casting damage detection method that can automatically identify the type of casting damage. The damage image is first segmented using an adaptive threshold segmentation algorithm, and then the region is further accurately segmented by mathematical morphology of expansion corrosion. Then some feature parameters are extracted from the segmented damage images. Finally, the damage to the casting is classified by a damage recognition algorithm. The advantage of this method is that it enables automatic detection of casting damage with high accuracy, but it is difficult to build a database of all damage. Mery and Filbert [8] proposed to simulate damage by marking different grey values on real X-ray images. The algorithm acquires damage images at the location of the casting damage multiple times and then performs damage matching in each radiographic image. The algorithm therefore requires a large number of calculations prior to detection.
After researching the relevant studies mentioned above, it can be seen that most wheel detection systems nowadays use manual detection. This results in problems such as low recognition accuracy, complex algorithms and long detection times. Therefore, it is of great significance to design an intelligent recognition system with good performance for the automotive industry.
Damage detection method of automobile hub based on image texture feature
Imaging detection system of automobile hub based on X-ray
There have been several types of casting imaging inspection systems for X-rays that have been widely used, such as image intensifier ray real-time imaging inspection systems, line array ray imaging inspection systems, etc. However, the characteristics of the X-rays and the wheel castings themselves lead to problems such as lower contrast, more texture, and other problems in the generated X-rays wheel images, which eventually cause defects to be difficult to identify. Therefore, this research has adopted the frame integration method for noise reduction of X-ray wheel images to achieve better imaging results. The specific optimised inspection system is composed of an X-ray source, a digital flat panel detector and its control equipment, and an automotive wheel workpiece, as shown in Fig. 1.
Image detection system of automobile hub based on X-ray.
The X-ray machine emits rays through the automobile wheel hub workpiece and projects them on the scintillator film of the flat panel detector. The acquisition and digitization of the projection image of the automobile wheel hub are completed and transmitted to the industrial computer.
In the X-ray based automobile hub imaging and detection system, there are some problems in the X-ray image of automobile hub, such as high noise, blurred image edge, low spatial contrast between target area and background area. In addition, the structure of hub aluminum castings is complex and there are many types of damage. These adverse factors directly affect the accuracy of hub damage detection and identification [9]. In order to accurately detect the specific location of hub damage and further classify the damage, the hub ray image must be preprocessed to provide a good basis for image processing and pattern recognition. The usual method of image preprocessing is image noise reduction.
The random noise of X-ray image of automobile wheel hub has a wide spectrum. If the traditional filter is used for filtering and noise reduction, the spectrum of some useful information in the whole automobile wheel hub image will be lost. Therefore, according to the randomness of the signal noise of the X-ray image of the automobile hub, the noise reduction effect can be effectively achieved by using the noise reduction method based high speed frame integral, that is, the superposition and average of multi-frame images, and the loss of some components in the spectrum can be avoided [10, 11].
Suppose a random noise in the image of automobile wheel hub collected in Subsection 2.1 is additive noise, and the output image of automobile wheel hub after denoising is
The wheel hub of the vehicle to be tested maintains its original position, and
where
Then the average signal-to-noise ratio of multi-frame automobile hub images is:
The signal-to-noise ratio
where, Eq. (4) considers the characteristics that the noise is uncorrelated and the mean value is zero. Therefore, it can be seen from Eqs (3) and (4) that the noise reduction method based on frame integral after multi-frame average improves the signal-to-noise ratio by
Theoretically, the more the frames superimposed by multiple frames are, the better the noise reduction effect of automobile wheel hub image is [12]. However, in specific experiments, it is found that when the number of superimposed frames reaches a certain value, increasing the number of superimposed frames has little impact on the image quality, mainly because increasing the number of frames also increases the uncertainty of sampling time and image position [13]. While increasing the number of superimposed frames, the time of image acquisition of automobile wheel hub will be correspondingly prolonged. However, from the perspective of production efficiency, the manufacturer hopes that the shorter the time of image acquisition is, the better it is, on the premise of ensuring the image quality of automobile wheel hub, which can effectively improve the detection efficiency of products. Therefore, it is very important to select an appropriate number of superimposed frames [14].
It is necessary to judge whether the number of superimposed frames used in the multi-frame superimposed noise reduction algorithm not only obtains good denoising effect, but also obtains the image of automobile hub in the shortest time. In this paper, the variance value of the image superimposed by each frame number is compared for judgment [15]. Let the gray value of the
The equation of variance
For the denoised automobile hub image
According to the properties of reciprocal rough entropy, the reciprocal rough entropy takes the maximum value when the uncertainty in image
The target and background in the image
Equation (7) is a single threshold reciprocal rough entropy algorithm, which can be extended to the case of multiple thresholds. The threshold
At this time, the reciprocal rough entropy of the automobile hub image
The best segmentation threshold is at the lowest reciprocal rough entropy.
In the thresholding segmentation algorithm based on rough entropy, firstly, the image
After granulating the image
(1) The uniformity histogram of image
(2) The threshold
(3) The approximation matrix in the upper and lower approximation sets of the target and background is calculated according to the threshold
(4) Repeat step 3 until the threshold
(5) According to Eq. (7), the gray value when the minimum rough entropy is selected as the best segmentation threshold.
(6) According to the optimal threshold
where
Consistency discrimination of image target area
In Section 2.3, the gray distribution of target texture features in the segmented automobile hub image
Incomplete tree wavelet decomposition
Firstly,
where
Secondly, it is to obtain the maximum value
The method of decomposing the sub-band containing
After one wavelet decomposition of image
In the incomplete tree wavelet decomposition structure of the image, a total of
The texture feature
Since fuzzy reasoning can be completed through the learning of neural network, the fuzzy neural network adopted in this paper consists of three parts:
Fuzzy quantization function; Neural network structure; Deblurring part.
Details are shown in Fig. 2.
Structure diagram of fuzzy neural network.
The first layer of the network is the input layer, and each neuron of the input layer corresponds to an input variable, which is the texture feature of the automobile hub image. The neuron of this layer directly transmits the input texture feature of the automobile hub image to the neuron of the second layer, and its weight is 1. The second layer of the network is the fuzzy quantization layer, which is used to fuzz the input texture feature value of automobile hub image according to the membership function on the defined fuzzy subset, and convert the input texture feature of automobile hub image into the corresponding membership, so as to realize the fuzzification processing. The third layer is the hidden layer, which is used to realize the mapping from the fuzzy value of input variable to the fuzzy value of output variable. The fourth layer is the output layer, and its nodes correspond to the damage mode. The above four-layer fuzzy neural network can effectively realize the mapping from fuzzy input to fuzzy output, and through the learning algorithm of neural network, the mapping can approach the fuzzy nonlinear function relationship [22].
The general BP neural network algorithm is adopted, including two steps: forward propagation and back propagation. BP algorithm belongs to
(1) Initialize the weight
(2) Input the learning set
(3) The transfer function is a Sigmoid function. If the output of the
where
Calculate network output error:
(4) If the number of iterations is the maximum, the learning is over, otherwise, the error back propagation is carried out, and enter step (5).
(5) Calculate the error of each unit of the network layer by layer in reverse:
(6) Calculate the correction amount of each weight and cell threshold:
Then turn to step (2).
Training the above fuzzy neural network model with 100 training samples and BP neural network algorithm until satisfactory training results are obtained [23]. After the training, given the texture feature test samples of automobile hub to be identified, the network model can give the output of automobile hub damage detection. According to the output value of automobile hub damage detection and its definition (Table 1), the decision result of fuzzy neural network of automobile hub damage detection can be obtained.
Definition of pattern classes for output
In order to test the effect of the method in this paper, the X-ray image data of damaged wheel hub is detected on the computer of Windows XP system. Figure 3 is taken as an example to test the denoising effect of this method, and the results are shown in Fig. 4.
Image of automobile hub before denoising.
After denoising by the proposed method.
Comparing Figs 3 and 4, it can be seen that after denoising the automobile hub images of crack damage and pore damage, the image quality of automobile hub can be optimized, the definition can be improved, and the texture details of automobile hub image are highlighted, indicating that the proposed method has a good denoising effect.
Two images of pore damage, two images of contraction cavities damage, two images of shrinkage damage, two images of crack damage and two images of inclusion damage are set. Under this condition, it can analyze the feature extraction effect of the method in this paper on these 10 images of automobile wheel hub, and make statistical and comparative analysis of the test data, as shown in Table 2.
Statistics of hub feature extraction results
By analyzing the data in Table 2, it can be seen that the method in this paper has a good effect on the feature extraction of these 10 automobile wheel hub images. Only the feature of the actual perimeter area ratio of the automobile wheel hub images for air hole 1, air hole 2 and shrinkage hole 1 and the feature of the aspect ratio of shrinkage porosity 1 have a deviation from the actual value, but the deviation value is 0.0001, so the extraction accuracy is very high.
Combined with the 10 automobile wheel hub images described in Table 2, one image of each damage type is randomly extracted as the detection target of the method in this paper. This method detects the damage after extracting the image texture features and the detection results are shown in Fig. 5.
Damage detection results of automobile hub by this method.
Comparison curve of recognition time for two automotive wheel damage detection systems.
As shown in Fig. 5, the detection results of damage quantity and damage level in the damage image of automobile hub by the method in this paper are consistent with the actual situation. This method can accurately detect a variety of damage of automobile hub.
Finally, a comparison experiment was conducted to compare the recognition time of the current more mature VisioBank-based automotive wheel damage recognition system with the image texture feature-based automotive wheel damage detection system proposed in this study, and the resulting comparison results are shown in Fig. 6.
Observing Fig. 6, it can be concluded that the recognition time of the automotive wheel damage detection system based on image texture features proposed in this study in the comparison experiment is 18.8% faster than the VisioBank-based automotive wheel damage recognition system, and the detection time is superior in all damage areas.
The production of automobile hub needs a very complex process, which generally includes design, melting, degassing, deterioration, refining, die casting, cleaning and other steps. As long as one of the processes or one of the processes is wrong, it will cause casting damage. Air hole, contraction cavity, shrinkage porosity, inclusion and crack are the most common five kinds of damage. Their causes and appearance shapes are different, and the gray characteristics on X-ray images are also very different. All these differences constitute the basis of automobile hub damage detection. They are introduced in detail below.
Porosity is the damage caused by the gas dissolved in the liquid metal of the casting hub when it is cooled and not discharged in time. The water in the casting mold, the volatile matter contained in the binder, the oil stain on the raw materials and tools will be chemically generated at high temperature, but will generate atomic hydrogen, which will be absorbed by the aluminum alloy in the molten state at high temperature; As the solubility of the gas in the casting body decreases sharply with the formation of the gas in the casting body, the solubility of the gas in the casting body decreases sharply. Pores generally appear in the place with large wall thickness of the wheel hub, which has the characteristics of small size, nearly circular shape, scattered and independent existence. When the aluminum liquid begins to solidify, the dissolved gas in the position with small wall thickness continues to separate out from the aluminum alloy melt. In the position with large wall thickness, because the outer surface of the casting has solidified, the dissolved gas in the internal alloy liquid cannot escape out of the casting in time to form pores. The volume of these gases that cannot escape is generally small, and even the parts with large volume are often divided by liquid aluminum to form dispersed pores; The two-dimensional shape of the pores is similar to that of the spherical shape, which is a significant response in the X-ray direction.
Shrinkage cavity and shrinkage porosity are the same type of damage. Both are caused by the volume shrinkage of the alloy during the cooling and solidification of the casting. The large and concentrated holes are called shrinkage holes, and the small and dispersed holes are called shrinkage porosity. The solidification process of casting includes liquid shrinkage, solidification shrinkage and solid shrinkage of alloy; When the sum of liquid shrinkage and solidification shrinkage is greater than solid shrinkage, it is possible to leave holes in the casting, and these holes often appear in the last solidification part of the casting. Shrinkage cavity and porosity usually occur at the uneven wall thickness of the casting, because these places are generally also the last solidification part. The gray scale inside the shrinkage cavity is uniform, the damage area is large, and the edge is flat; The internal gray level of shrinkage porosity is uneven, the damage area is small, and the edge is uneven. Shrinkage porosity is sometimes called small dispersed shrinkage cavity.
Inclusions, also known as foreign matters, are particles different from the composition of the base metal in the casting. They are the general name of various metal and non-metallic inclusions, including high-density foreign matters and low-density foreign matters. In the process of metal melting, pouring and solidification, chemical reactions between liquid metal components or between liquid metal and furnace gas will produce inclusions; When the temperature of molten metal decreases and the solubility decreases, inclusions will be precipitated, and foreign impurities will produce inclusions.
The crack is formed when it is lower than or higher than the solidus temperature of the alloy, and the result of liquid solidification shrinkage. In other words, the cold crack is caused by the casting force acting on the casting exceeding the allowable range of strength or plasticity of the casting itself when the casting is cooled to low temperature. Therefore, increasing certain casting stress and reducing certain strength and plasticity will promote the occurrence of crack damage. The hot crack is produced by hammering the section of the broken sample of the aluminum alloy on the solidus. The characteristics of the crack ray image are in the shape of thin lines and long strips, and generally the two ends are pointed.
Conclusion
The aim of this image texture feature based automotive wheel damage detection is an innovative automotive wheel damage detection system currently developed to address the lack of accuracy of current automotive wheel defect automatic detection and identification systems. The research is based on X-ray image pre-processing and image segmentation, followed by defect detection, classification and rating of five common wheel defect types, and the design of an automotive wheel damage detection system combined with neural network algorithms. The experimental results illustrate that the automotive wheel damage detection method based on image texture features proposed in this study achieves a high correct rate of 96% in identifying defects in wheel castings and a false positive rate of only 2%. It shows that the optimised detection method can obtain extremely accurate detection rate detection and can be effectively applied in the automotive industry. However, as automotive wheel damage detection and identification is a comprehensive discipline with a large workload and short time frame, the following aspects still need to be studied in depth in future research work.
(1) An interest-based target region tracking algorithm is designed. The wheel damage detection method proposed in this paper can greatly improve the accuracy of wheel damage detection. However, due to the large error of the domestic mechanical system, the problem of partial deviation of wheel detection often occurs during automatic wheel detection, resulting in the inability to accurately extract the target region of interest during damage detection. Therefore, it is necessary to design the target tracking algorithm for the region of interest in the future.
(2) The fuzzy neural network recognition algorithm needs to be improved. Although the method in this paper can detect common wheel damage very well, it requires a large number of training samples, resulting in a long execution time. Therefore, further research will focus on how to further improve the method and increase the computational speed.
Footnotes
Acknowledgments
This thesis is supported by the enterprise practical training project for young teachers of Higher Vocational Colleges (No.: 2022QYSJ070).
