R angle structure defect automatic identification method and system based on discrete probe ultrasonic detection

Through the combination of a discrete probe ultrasonic inspection system and a convolutional neural network, efficient identification of R-angle structural defects is achieved, which solves the problem of difficulty in imaging and automatic identification of traditional ultrasonic inspection on complex curved surfaces, and improves identification accuracy and efficiency.

CN118817844APending Publication Date: 2024-10-22DALIAN RUIDI ACOUSTOOPTIC TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410809960.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

It is difficult for traditional ultrasonic testing to effectively receive echo signals on complex curved surfaces with R-angle structures, making it difficult to complete imaging and automatically identify defects.

Method used

An automated ultrasonic inspection system based on discrete probes is used to identify R-angle structural defects through adaptive threshold image processing and convolutional neural networks. The structural inspection map is obtained and fitted to confirm the location and size of the defect characteristics.

Benefits of technology

It improves the accuracy and efficiency of automatic identification of R-angle structural defects and solves the problem of difficulty in imaging and identification of complex curved surface structures with traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118817844A_ABST
    Figure CN118817844A_ABST
Patent Text Reader

Abstract

The invention discloses an R-angle structure defect automatic identification method and system based on discrete probe ultrasonic detection, and the method comprises the steps: obtaining an R-angle structure detection image through a built discrete probe automatic ultrasonic detection system, and carrying out the image processing of a self-adaptive threshold value of the R-angle structure detection image, so as to obtain an R-angle structure defect feature image; fitting inner surface image features in the R-angle structure defect feature map to obtain feature two-dimensional data of an identification area of the reconstructed structure defect features, and determining defect feature positions and defect feature sizes according to the feature two-dimensional data; marking the original image of the R-angle structure detection image based on the defect feature position and the defect feature size to obtain a marked image of the R-angle structure defect; dividing the marked pictures into a picture training set and a picture prediction set according to a preset proportion; inputting the marked pictures in the picture training set into a pre-established convolutional neural network for training to obtain a trained convolutional neural network, and taking the trained convolutional neural network of which the recognition accuracy of the R-angle structure defect meets a preset threshold value as an automatic defect recognition network; therefore, the R-angle structure defect of the to-be-detected target object image can be automatically identified. The problems that when an existing method is used for detecting a complex curved surface structure such as an R angle, due to the fact that the curvature part of the R angle reflects ultrasonic energy, a transducer cannot effectively receive echo signals, and complete imaging display and defect automatic identification on the outline and defects of the R angle are difficult are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automatic control and ultrasonic testing, and in particular to a method and system for automatically identifying R-angle structural defects based on discrete probe ultrasonic testing. Background Art

[0002] The R-angle structure is a curved surface with variable wall thickness. It is a common industrial part structure and is an area in the workpiece that is more prone to defects. The traditional method of detecting R-angle structure defects is to detect the R-angle through ultrasound. However, when this method detects complex curved surface structures such as R-angles, due to the reflection of ultrasonic energy by its curvature, it is difficult for the transducer to effectively receive the echo signal. Therefore, conventional ultrasonic detection methods are difficult to fully image and display its contours and defects and automatically identify defects. Summary of the invention

[0003] The present invention provides a method and system for automatically identifying R-angle structural defects based on discrete probe ultrasonic detection to overcome the above technical problems.

[0004] In order to achieve the above object, the technical solution of the present invention is:

[0005] An automatic identification method for R corner structural defects based on discrete probe ultrasonic testing includes the following steps:

[0006] S1: Obtain the R corner structure inspection image through the created discrete probe automated ultrasonic inspection system;

[0007] The R-angle structure detection image includes an image containing structural defect features and an image not containing structural defect features;

[0008] And the structural defect characteristics include defect characteristic position and defect characteristic size;

[0009] S2: performing image processing of an adaptive threshold on the R corner structure detection image to obtain an image containing structural defect features as an R corner structure defect feature image;

[0010] S3: fitting the inner surface image features in the R-angle structural defect feature map to reconstruct the identification area of ​​the structural defect feature;

[0011] and obtaining characteristic two-dimensional data of the identification area of ​​the reconstructed structural defect feature, and confirming the defect feature position and defect feature size according to the characteristic two-dimensional data;

[0012] S4: marking the original image of the R corner structure detection image based on the defect feature position and the defect feature size to obtain a marked image of the R corner structure defect;

[0013] and dividing the marked images into an image training set and an image prediction set according to a preset ratio;

[0014] S5: inputting the labeled images in the image training set into a pre-built convolutional neural network for training, and obtaining a trained convolutional neural network;

[0015] S6: inputting the labeled images of the image prediction set into the trained convolutional neural network for recognition test. If the recognition accuracy of the R-corner structural defect meets the preset threshold, the trained convolutional neural network is used as the defect automatic recognition network.

[0016] Otherwise, adaptively adjust the parameter weights of the trained convolutional neural network and repeat step S5;

[0017] S7: Using the R corner structure detection image re-acquired in step S1 as the image of the target object to be measured, and automatically identifying the R corner structure defects of the image of the target object to be measured based on the defect automatic identification network.

[0018] Furthermore, the discrete probe automated ultrasonic detection system created in S1 includes a manipulator automatic feeding module, a rotational motion module, an ultrasonic detection module, and an ultrasonic signal processing module;

[0019] The robot automatic loading module is used to pick up the R-angle structure rotating body workpiece to be inspected and place it on the rotating motion module;

[0020] The rotary motion module is used to drive the R-angle structure rotary workpiece to rotate counterclockwise or clockwise on a horizontal plane;

[0021] The ultrasonic detection module is provided with a discrete ultrasonic probe, and the discrete ultrasonic probe includes a first ultrasonic probe A and a second ultrasonic probe B;

[0022] When the R-angle structure rotating body workpiece is placed on the rotational motion module, the first ultrasonic probe A and the second ultrasonic probe B are symmetrically arranged on both sides of the R-angle structure rotating body workpiece in a water coupling manner;

[0023] The ultrasonic detection module is used to perform ultrasonic signal detection on the R-angle structure rotating body workpiece when the rotary motion module drives the R-angle structure rotating body workpiece to rotate counterclockwise or clockwise, and transmit the detected ultrasonic signal to the ultrasonic signal processing module;

[0024] The detection period of the ultrasonic signal detection is the time used to drive the R-angle structure rotating body workpiece to rotate once per degree;

[0025] The ultrasonic signal processing module is used to obtain the R angle structure detection image corresponding to each detection cycle based on the output of the ultrasonic detection module and the trapezoidal matrix focusing imaging algorithm.

[0026] Furthermore, the S2 specifically includes the following steps:

[0027] S21: performing grayscale processing on the R angle structure detection image to obtain a grayscale image;

[0028] S22: defining an image feature area of ​​the R corner structure, and obtaining an R corner structure defect feature map according to the grayscale image based on an image processing method of an adaptive threshold;

[0029] The image feature regions include a side image feature region, a bottom image feature region and an inner surface feature region of the R-angle structure;

[0030] The method for obtaining the R angle structural defect characteristic map is:

[0031] Obtain the number of pixels in each image feature area of ​​the R corner structure respectively;

[0032] And the R-corner grayscale image in which the number of pixels in each image feature area meets the corresponding preset pixel threshold is used as the R-corner structural defect feature map.

[0033] Furthermore, the S3 specifically includes the following steps:

[0034] S31: gridding the R-angle structural defect feature map to obtain a feature grid map;

[0035] S32: Obtain the pixel peak value of each column where the inner surface feature area is located in the feature grid map, and mark its position;

[0036] S33: performing polynomial fitting on each pixel peak in the characteristic grid map to obtain a fitting data curve to reconstruct an identification area of ​​a structural defect feature;

[0037] S34: taking each data point in the fitting data curve as a starting point, performing feature processing on each column in the identification area of ​​the reconstructed structural defect feature to obtain a two-dimensional data group;

[0038] S35: defining a defect discrimination threshold h, and marking data in the two-dimensional data group that is greater than the defect discrimination threshold h as defect data;

[0039] Mark the data in the two-dimensional data group that is less than or equal to the defect discrimination threshold h as non-defective data;

[0040] S36: Processing the defect data into images to obtain defect feature images;

[0041] and obtaining the defect feature position in the defect feature image based on the defect recognition algorithm;

[0042] The edge information of the defect feature image is extracted based on the size measurement algorithm to obtain the defect feature size.

[0043] Furthermore, the feature processing in S34 is specifically as follows:

[0044] S341: Setting a gate in each column of the identification area of ​​the reconstructed structural defect feature;

[0045] The gate position is set and obtained at a preset position from the starting point, and the gate parameters include a gate width p and a gate threshold q;

[0046] S342: Determine the magnitude of the pixel value of each pixel point in the gate and the gate threshold q;

[0047] If the pixel value of each pixel point in the gate is greater than the gate threshold q, the pixel point is marked as a feature point, and the pixel value of the pixel point is used as the feature value;

[0048] If the pixel value of each pixel point in the gate is ≤ the gate threshold q, the pixel value of the pixel point is marked as 0;

[0049] S343: Obtain a two-dimensional data set according to the feature value and feature position of each feature point.

[0050] An automatic identification system for R corner structural defects based on discrete probe ultrasonic detection, comprising a discrete probe automated ultrasonic detection system, a defect identification module and a result display module;

[0051] The discrete probe automated ultrasonic testing system is used to obtain an R angle structure testing diagram;

[0052] The defect recognition module is used to store a pre-built convolutional neural network, and to train the pre-built convolutional neural network by inputting the labeled images in the image training set into the pre-built convolutional neural network to obtain a trained convolutional neural network;

[0053] The trained convolutional neural network whose recognition accuracy of R-angle structural defects meets the preset threshold is used as the defect automatic recognition network;

[0054] The result display module is used to display the defect feature position and defect feature size obtained by S3, or to display the automatic recognition result of the R corner structure defect of the defect automatic recognition network.

[0055] Beneficial effect: The present invention discloses an automatic identification method and system for R-corner structural defects based on discrete probe ultrasonic detection. When the existing method detects a complex curved surface structure such as an R-corner, due to the reflection of ultrasonic energy by its curvature part, it is difficult for the transducer to effectively receive the echo signal, resulting in difficulty in completely imaging and displaying its contour and defects and automatically identifying defects. The present invention obtains an R-corner structure detection image through a discrete probe automated ultrasonic detection system created to effectively realize image monitoring of the R-corner structure rotating body, and performs image processing of the R-corner structure detection image with an adaptive threshold to remove invalid data to realize screening of the R-corner structure detection image, thereby improving the defect feature recognition of the R-corner structure defect feature image; and fits the inner surface image features in the R-corner structure defect feature image to obtain feature two-dimensional data of the identification area, and reconstructs a representation image of the structural defect features based on the feature two-dimensional data, further confirms the defect feature position and defect feature size, thereby greatly improving the accuracy and efficiency of automatic identification of R-corner structure defects. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0057] Figure 1 It is a flow chart of the automatic identification method of R corner structural defects based on discrete probe ultrasonic detection of the present invention;

[0058] Figure 2 Schematic diagram of the automatic identification system of R corner structural defects based on discrete probe ultrasonic detection in this embodiment;

[0059] Figure 3 Schematic diagram of the detection result of the R corner structure detection diagram in this embodiment;

[0060] Figure 4 Schematic diagram of the R corner structure detection image after grayscale processing in this embodiment;

[0061] Figure 5 Schematic diagram of the identification area of ​​the reconstructed structural defect feature after polynomial fitting in this embodiment;

[0062] Figure 6 Schematic diagram of defect feature image in this embodiment;

[0063] Figure 7 This is a schematic diagram of the marking picture of the R corner structural defect in this embodiment. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] This embodiment provides a method for automatically identifying R corner structural defects based on discrete probe ultrasonic testing, such as Figure 1 to Figure 2 As shown, the following steps are included:

[0066] S1: Obtain an R-angle structure detection image through the created discrete probe automated ultrasonic detection system; the R-angle structure detection image includes an image containing structural defect features and an image excluding structural defect features; and the structural defect features include defect feature positions and defect feature sizes;

[0067] Specifically, the discrete probe automated ultrasonic detection system created includes a manipulator automatic feeding module, a rotary motion module, an ultrasonic detection module, and an ultrasonic signal processing module;

[0068] The manipulator automatic loading module is used to pick up the R-angle structure rotating body workpiece to be inspected and place it on the rotating motion module; the rotating motion module is used to drive the R-angle structure rotating body workpiece to rotate counterclockwise or clockwise;

[0069] The ultrasonic detection module is provided with a discrete ultrasonic probe, which includes a first ultrasonic probe A and a second ultrasonic probe B; and when the R-angle structure rotating body workpiece is placed on the rotary motion module, the first ultrasonic probe A and the second ultrasonic probe B are symmetrically arranged on both sides of the R-angle structure rotating body workpiece in a water-coupled manner, so as to perform ultrasonic signal detection on the R-angle structure rotating body workpiece when the rotary motion module drives the R-angle structure rotating body workpiece to rotate counterclockwise or clockwise, and transmit the detected ultrasonic signal to the ultrasonic signal processing module; and the detection period for performing ultrasonic signal detection is the time used to drive the R-angle structure rotating body workpiece to rotate one degree;

[0070] The ultrasonic signal processing module is used to obtain the R angle structure detection image corresponding to each detection period based on the output of the ultrasonic detection module and the trapezoidal matrix focusing imaging algorithm, wherein the trapezoidal matrix focusing imaging algorithm is an existing well-known technology and will not be described in detail here;

[0071] In this embodiment, the automated ultrasonic testing system based on discrete probes uses a manipulator to grab the test piece for defect detection. The test piece is the R angle structure of the rotating body. According to the size of the rotating body workpiece, a plastic testing base for adapting to the R angle structure of the rotating body is pre-designed and manufactured. Two discrete ultrasonic phased array probes are embedded in the plastic testing base to detect the R angle structure of the rotating body. Figure 3 As shown in the figure, the detection process is as follows: the manipulator grabs the rotating workpiece to the specified position, and the rotating workpiece rotates counterclockwise. For every degree of rotation, the R angle structure of the rotating workpiece is tested by a trapezoidal matrix focusing imaging. A total of 360 tests are performed, and 360 images can be obtained for each degree of test result in one test.

[0072] S2: performing image processing with an adaptive threshold on the R corner structure detection image to obtain an image containing structural defect features and use it as the R corner structure defect feature image, specifically comprising the following steps:

[0073] S21: performing grayscale processing on the R corner structure detection image to obtain a grayscale image, wherein the R corner structure detection image is specifically a color image;

[0074] S22: defining an image feature area of ​​the R corner structure, and obtaining an R corner structure defect feature map according to the grayscale image based on an image processing method of an adaptive threshold;

[0075] The image feature region includes a side image feature region, a bottom image feature region and an inner surface feature region of the R corner structure; wherein the image feature region is specifically a feature region sliding window manually set by expert experience, and the image region falling within the corresponding feature region sliding window is defined as the side image feature region, the bottom image feature region or the inner surface feature region of the R corner structure;

[0076] Specifically, Figure 4 As shown, a color channel (R, G, B) image of an R corner structure detection image is obtained, and the color channel (R, G, B) image is a two-dimensional plane image; and the color channel (R, G, B) image is compressed in blocks along the extension direction of the color channel (R, G, B) to convert the color channel (R, G, B) into a grayscale image and perform noise reduction processing;

[0077] The image processing method of the adaptive threshold is as follows: for any point I of the R corner structure detection image, i (R, G, B), i = 1, 2, ... The expression for grayscale processing is:

[0078] J i (m) = a 1 ×R+a 2 ×G+a 3 ×B

[0079] Where: J i (m) represents any point I in the R corner structure detection map i (R, G, B), i = 1, 2, ... pixel after grayscale processing; a 1 ,a 2 ,a 3 They correspond to the weights of the (R, G, B) channels in the R corner structure detection map, and their weights can be adjusted by the contrast of the image;

[0080] The method for obtaining the R angle structural defect characteristic map is:

[0081] The number of pixels in each image feature area of ​​the R corner structure is obtained respectively; and the R corner grayscale image whose number of pixels in each image feature area meets its corresponding preset pixel threshold is used as the R corner structure defect feature map.

[0082] In this embodiment, the probe and the test piece are not in contact and water coupling is used in between. Therefore, in the detection of rotating workpieces, the shaking of the water layer will affect the detection results, that is, in the 360 ​​images in one detection, the positions of the side, bottom and inner surface signals of the R angle structure are uncertain. The water coupling method is an existing well-known technical means, not the invention point of this application, and will not be repeated here. Due to the processing deviation in the processing and manufacturing process of the rotating workpiece, the cross-section of the rotating workpiece is not circular but elliptical. Therefore, when detecting the rotating workpiece, the position of the probe from the workpiece is different at different rotation angles, resulting in the uncertainty of the positions of the side, bottom and inner surface signals of the R angle structure in the 360 ​​images in one detection. Therefore, it is necessary to perform image processing of the R angle structure detection image with adaptive threshold to obtain a picture containing structural defect features and use it as the R angle structure defect feature map.

[0083] S3: Fitting the inner surface image features in the R-angle structural defect feature map to reconstruct the identification area of ​​the structural defect feature; and obtaining the characteristic two-dimensional data of the identification area of ​​the reconstructed structural defect feature, and confirming the defect feature position and defect feature size according to the characteristic two-dimensional data, such as Figure 5 As shown, the specific steps include:

[0084] S31: gridding the R-angle structural defect feature map to obtain a feature grid map;

[0085] Specifically, the R corner structure defect feature map is gridded according to a preset number of pixels to generate a plurality of gridded images to obtain a feature grid map; wherein the information of the feature grid map includes contour features of the gridded image obtained by performing expansion, corrosion and binarization processing on the gridded image;

[0086] S32: Obtain the pixel peak value of each column where the inner surface feature area is located in the feature grid map, and mark its position;

[0087] S33: performing polynomial fitting on each pixel peak in the characteristic grid map to obtain a fitting data curve to reconstruct an identification area of ​​a structural defect feature;

[0088] Wherein, the expression for polynomial fitting is:

[0089] Y=ax 5 +bx 4 +cx 3 +dx 2 +ex+f

[0090] Where x represents the actual data point (i.e., pixel value point) in the feature grid map; Y represents the data point after polynomial fitting; a, b, c, d, e, and f all represent the weight coefficients of polynomial fitting;

[0091] S34: taking each data point in the fitting data curve as a starting point, performing feature processing on each column in the identification area of ​​the reconstructed structural defect feature to obtain a two-dimensional data group;

[0092] The feature processing is specifically as follows:

[0093] S341: Setting a gate in each column of the identification area of ​​the reconstructed structural defect feature;

[0094] The gate position is set and obtained at a preset position from the starting point, and the gate parameters include a gate width p and a gate threshold q;

[0095] S342: Determine the magnitude of the pixel value of each pixel point in the gate and the gate threshold q;

[0096] If the pixel value of each pixel point in the gate is greater than the gate threshold q, the pixel point is marked as a feature point (i.e., marked as 1), and the pixel value of the pixel point is used as the feature value;

[0097] If the pixel value of each pixel point in the gate is ≤ the gate threshold q, the pixel value of the pixel point is marked as 0;

[0098] S343: Acquire a two-dimensional data set according to the feature value and feature position of each feature point;

[0099] S35: defining a defect discrimination threshold h, and marking the data in the two-dimensional data group that is greater than the defect discrimination threshold h as defect data; marking the data in the two-dimensional data group that is less than or equal to the defect discrimination threshold h as non-defect data;

[0100] S36: Process the defect data into images to obtain defect feature images (such as Figure 6 As shown, the two-dimensional data groups generated by 360 photos acquired according to the cycle time are stacked together in a preset order to form a picture containing defect information, and the defect information is the spindle-shaped image feature reproduced in the image);

[0101] And based on the defect recognition algorithm, the defect feature position in the defect feature image is obtained; wherein the defect recognition algorithm is a prior art means, that is, by combining the process of defect appearance and disappearance, the defect signal on the image representing the defect information will present a spindle-shaped image, and the defect morphology is modeled for defect detection in the newly detected image. If a defect image that conforms to the model is confirmed to appear in the newly detected image, it is considered that the R angle position of the workpiece is defective, and no further details will be given here;

[0102] The edge information of the defect feature image is extracted based on the size measurement algorithm to obtain the defect feature size; wherein the size measurement algorithm is a prior art means, that is, by obtaining the spindle-shaped defect image feature in the picture confirming the existence of the structural defect, and extracting the edge information of the spindle-shaped defect image feature, the position information and defect size of the defect are obtained, which will not be elaborated here.

[0103] S4: Figure 7 As shown, the original image of the R corner structure detection image is marked based on the defect feature position and the defect feature size to obtain a marked image of the R corner structure defect;

[0104] and dividing the marked images into an image training set and an image prediction set according to a preset ratio;

[0105] S5: inputting the labeled images in the image training set into a pre-built convolutional neural network for training, and obtaining a trained convolutional neural network;

[0106] S6: inputting the labeled images of the image prediction set into the trained convolutional neural network for recognition test, and if the recognition accuracy of the R-corner structural defect meets the preset threshold, the trained convolutional neural network is used as the defect automatic recognition network; wherein the evaluation index of the recognition accuracy of the R-corner structural defect at least includes the mean square error value, the mean square error average or the network model recall rate, etc.;

[0107] Otherwise, adaptively adjust the parameter weights of the trained convolutional neural network based on the back propagation method, and repeat step S5;

[0108] S7: Using the R corner structure detection image re-acquired in step S1 as the image of the target object to be measured, and automatically identifying the R corner structure defects of the image of the target object to be measured based on the defect automatic identification network.

[0109] An automatic identification system for R corner structural defects based on discrete probe ultrasonic detection, comprising a discrete probe automated ultrasonic detection system, a defect identification module and a result display module;

[0110] The discrete probe automated ultrasonic testing system is used to obtain an R angle structure testing diagram;

[0111] The defect recognition module is used to store a pre-built convolutional neural network, and to obtain a trained convolutional neural network by inputting the labeled images in the image training set into the pre-built convolutional neural network for training; and the trained convolutional neural network whose recognition accuracy of R-angle structural defects meets a preset threshold is used as a defect automatic recognition network;

[0112] The result display module is used to display the defect feature position and defect feature size obtained by S3, or to display the automatic recognition result of the R corner structure defect of the defect automatic recognition network.

[0113] In this embodiment, an R-corner structure detection image is obtained by creating a discrete probe automated ultrasonic detection system, and an R-corner structure detection image is processed by adaptive threshold image processing to obtain an R-corner structure defect feature image; and the inner surface image features in the R-corner structure defect feature image are fitted to obtain feature two-dimensional data of the identification area of ​​the reconstructed structure defect feature, and the defect feature position and defect feature size are confirmed according to the feature two-dimensional data, and a pre-built convolutional neural network is stored through a defect recognition module, and the labeled images in the image training set are input into the pre-built convolutional neural network for training to obtain the trained convolutional neural network; and the recognition accuracy of the trained convolutional neural network is obtained through the image test set, and the trained convolutional neural network is obtained. The trained convolutional neural network whose recognition accuracy of R-corner structural defects meets the preset threshold is used as the defect automatic recognition network. The automatic recognition of R-corner structural defects is realized for the image of the target object to be tested based on the defect automatic recognition network. At the same time, the defect feature position and defect feature size obtained by S3 are displayed through the result display module, or the automatic recognition result of R-corner structural defects by the defect automatic recognition network is displayed. This solves the problem that when the existing method detects a complex curved surface structure such as an R corner, due to the reflection of ultrasonic energy by its curvature part, the transducer is difficult to effectively receive the echo signal, resulting in difficulty in complete imaging display and automatic defect recognition of its contour and defects, thereby greatly improving the accuracy and efficiency of automatic recognition of R-corner structural defects.

[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An automatic identification method of R corner structural defects based on discrete probe ultrasonic testing, It is characterized in that The following steps are involved: S1: Obtain the R corner structure inspection image through the created discrete probe automated ultrasonic inspection system; The R-angle structure detection image includes an image containing structural defect features and an image not containing structural defect features; And the structural defect characteristics include defect characteristic position and defect characteristic size; S2: performing image processing of an adaptive threshold on the R corner structure detection image to obtain an image containing structural defect features as an R corner structure defect feature image; S3: fitting the inner surface image features in the R-angle structural defect feature map to reconstruct the identification area of ​​the structural defect feature; and obtaining characteristic two-dimensional data of the identification area of ​​the reconstructed structural defect feature, and confirming the defect feature position and defect feature size according to the characteristic two-dimensional data; S4: marking the original image of the R corner structure detection image based on the defect feature position and the defect feature size to obtain a marked image of the R corner structure defect; and dividing the marked images into an image training set and an image prediction set according to a preset ratio; S5: inputting the labeled images in the image training set into a pre-built convolutional neural network for training, and obtaining a trained convolutional neural network; S6: inputting the labeled images of the image prediction set into the trained convolutional neural network for recognition test. If the recognition accuracy of the R-corner structural defect meets the preset threshold, the trained convolutional neural network is used as the defect automatic recognition network. Otherwise, adaptively adjust the parameter weights of the trained convolutional neural network and repeat step S5; S7: Using the R corner structure detection image re-acquired in step S1 as the image of the target object to be measured, and automatically identifying the R corner structure defects of the image of the target object to be measured based on the defect automatic identification network.

2. According to claim 1, a method for automatically identifying R corner structural defects based on discrete probe ultrasonic testing, It is characterized in that The discrete probe automated ultrasonic detection system created in S1 includes a manipulator automatic feeding module, a rotational motion module, an ultrasonic detection module, and an ultrasonic signal processing module; The robot automatic loading module is used to pick up the R-angle structure rotating body workpiece to be inspected and place it on the rotating motion module; The rotary motion module is used to drive the R-angle structure rotary workpiece to rotate counterclockwise or clockwise on a horizontal plane; The ultrasonic detection module is provided with a discrete ultrasonic probe, and the discrete ultrasonic probe includes a first ultrasonic probe A and a second ultrasonic probe B; When the R-angle structure rotating body workpiece is placed on the rotational motion module, the first ultrasonic probe A and the second ultrasonic probe B are symmetrically arranged on both sides of the R-angle structure rotating body workpiece in a water coupling manner; The ultrasonic detection module is used to perform ultrasonic signal detection on the R-angle structure rotating body workpiece when the rotary motion module drives the R-angle structure rotating body workpiece to rotate counterclockwise or clockwise, and transmit the detected ultrasonic signal to the ultrasonic signal processing module; The detection period of the ultrasonic signal detection is the time used to drive the R-angle structure rotating body workpiece to rotate once per degree; The ultrasonic signal processing module is used to obtain the R angle structure detection image corresponding to each detection cycle based on the output of the ultrasonic detection module and the trapezoidal matrix focusing imaging algorithm.

3. According to claim 2, a method for automatically identifying R corner structural defects based on discrete probe ultrasonic testing, It is characterized in that The S2 specifically includes the following steps: S21: performing grayscale processing on the R angle structure detection image to obtain a grayscale image; S22: defining an image feature area of ​​the R corner structure, and obtaining an R corner structure defect feature map according to the grayscale image based on an image processing method of an adaptive threshold; The image feature regions include a side image feature region, a bottom image feature region and an inner surface feature region of the R-angle structure; The method for obtaining the R angle structural defect characteristic map is: Obtain the number of pixels in each image feature area of ​​the R corner structure respectively; And the R-corner grayscale image in which the number of pixels in each image feature area meets the corresponding preset pixel threshold is used as the R-corner structural defect feature map.

4. According to claim 3, a method for automatically identifying R corner structural defects based on discrete probe ultrasonic testing, It is characterized in that The S3 specifically includes the following steps: S31: gridding the R-angle structural defect feature map to obtain a feature grid map; S32: Obtain the pixel peak value of each column where the inner surface feature area is located in the feature grid map, and mark its position; S33: performing polynomial fitting on each pixel peak in the characteristic grid map to obtain a fitting data curve to reconstruct an identification area of ​​a structural defect feature; S34: taking each data point in the fitting data curve as a starting point, performing feature processing on each column in the identification area of ​​the reconstructed structural defect feature to obtain a two-dimensional data group; S35: defining a defect discrimination threshold h, and marking data in the two-dimensional data group that is greater than the defect discrimination threshold h as defect data; Mark the data in the two-dimensional data group that is less than or equal to the defect discrimination threshold h as non-defective data; S36: Processing the defect data into images to obtain defect feature images; and obtaining the defect feature position in the defect feature image based on the defect recognition algorithm; The edge information of the defect feature image is extracted based on the size measurement algorithm to obtain the defect feature size.

5. According to claim 4, a method for automatically identifying R corner structural defects based on discrete probe ultrasonic testing, It is characterized in that The feature processing in S34 is specifically as follows: S341: Setting a gate in each column of the identification region of the reconstructed structural defect feature; The gate position is set and obtained at a preset position from the starting point, and the gate parameters include a gate width p and a gate threshold q; S342: Determine the magnitude of the pixel value of each pixel point in the gate and the gate threshold q; If the pixel value of each pixel point in the gate is greater than the gate threshold q, the pixel point is marked as a feature point, and the pixel value of the pixel point is used as the feature value; If the pixel value of each pixel point in the gate is ≤ the gate threshold q, the pixel value of the pixel point is marked as 0; S343: Obtain a two-dimensional data set according to the feature value and feature position of each feature point.

6. A system for automatically identifying R-angle structural defects based on discrete probe ultrasonic testing according to any one of claims 1 to 5, It is characterized in that It includes a discrete probe automated ultrasonic testing system, a defect identification module, and a result display module; The discrete probe automated ultrasonic testing system is used to obtain an R angle structure testing diagram; The defect recognition module is used to store a pre-built convolutional neural network, and to train the pre-built convolutional neural network by inputting the labeled images in the image training set into the pre-built convolutional neural network to obtain a trained convolutional neural network; The trained convolutional neural network whose recognition accuracy of R-angle structural defects meets the preset threshold is used as the defect automatic recognition network; The result display module is used to display the defect feature position and defect feature size obtained by S3, or to display the automatic recognition result of the R corner structure defect of the defect automatic recognition network.

Citation Information

Cited By

  • Automatic defect identification system for ultrasonic detection

    CN120294148A