Bearing ring magnetic powder inspection system based on image method

Through image processing technology and convolutional neural network analysis, bearing ring defects are automatically detected, which solves the problem of low detection efficiency in the existing technology and achieves more efficient and accurate magnetic particle inspection of bearing rings.

CN118817822AInactive Publication Date: 2024-10-22WUXI INSTITUTE OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410804005.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing magnetic particle flaw detection equipment for bearing rings has low detection efficiency, poor objectivity, and unstable accuracy. It relies on manual observation, resulting in low detection efficiency.

Method used

A magnetic particle flaw detection system for bearing rings based on image processing is adopted, including a magnetic particle spraying module, a magnetic field generation module, an image processing module and a user interface module. Through image acquisition, preprocessing and convolutional neural network model analysis, defect detection reports are generated to achieve automation. detection.

Benefits of technology

It improves the efficiency of bearing ring detection, shortens the detection time, enhances the accuracy and objectivity of detection, and solves the problem of low detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118817822A_ABST
    Figure CN118817822A_ABST
Patent Text Reader

Abstract

The invention discloses a bearing ring magnetic powder inspection system based on an image method. The bearing ring magnetic powder inspection system based on the image method comprises the following steps: a magnetic powder spraying module is used for spraying magnetic powder on the surface of a bearing ring to be detected; the magnetic field generation module is used for creating a magnetic field around the to-be-measured bearing ring; the image processing module is used for capturing and decoding an image of a magnetic powder gathering area of the bearing ring to be detected, and preprocessing original data of the decoded bearing image to obtain a first data set; the image analysis module is used for carrying out image segmentation processing on the first data set, inputting a convolutional neural network model to mine the difference between the to-be-detected bearing ring and the defective bearing ring, and outputting a defect detection report of the bearing ring; and the user interface module is used for displaying a defect detection report of the bearing ring. According to the bearing ring magnetic powder inspection system based on the image method, the problem of low efficiency in the bearing ring detection process in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of magnetic particle flaw detection of bearing rings, and in particular to a magnetic particle flaw detection system for bearing rings based on an image method. Background Art

[0002] With the continuous development and application of industrial technology, bearing technology is also evolving. Bearing rings are important components in the bearing system, responsible for supporting and positioning the rolling elements in the bearing, and bearing the loads and vibrations from the operation of the bearing. Therefore, the quality and integrity of the bearing rings are critical to the performance and life of the bearing. There may be various defects in the bearing rings, which may cause reduced performance, increased noise, or even mechanical failure during the operation of the bearing. Therefore, timely detection and repair of defects in the bearing rings is essential to ensure the reliable operation of the bearing system.

[0003] In the quality inspection of bearings, magnetic particle inspection technology is widely used due to its advantages of simple process, convenient operation and high sensitivity. Magnetic particle inspection uses the principle that magnetic powder gathers along surface defects under the action of a magnetic field, and detects and evaluates the size, shape and position of surface defects by observing the deposition of magnetic powder at the defects. However, magnetic particle inspection equipment for bearing rings has always remained at the stage where the inspection results are manually observed and identified, with problems such as poor objectivity, unstable accuracy and low inspection efficiency. Summary of the invention

[0004] The embodiment of the present application solves the problem of low detection efficiency in the prior art by providing magnetic particle flaw detection for bearing rings, thereby shortening the time of the bearing ring detection process.

[0005] The present application provides a method for magnetic particle flaw detection of a bearing ring, comprising the following steps:

[0006] The magnetic powder spraying module is used to spray magnetic powder on the surface of the bearing ring to be tested;

[0007] The magnetic field generating module is used to create a magnetic field around the bearing ring to be tested, so that the magnetic powder is gathered near the defects on the surface of the bearing ring;

[0008] The image processing module is used to capture and decode the image of the magnetic powder accumulation area of ​​the bearing ring to be tested, and pre-process the decoded original data of the bearing image to obtain a first data set;

[0009] The image analysis module is used to perform image segmentation processing on the first data set, and input the convolutional neural network model to extract the bearing ring image features, generate the bearing ring feature difference objective function according to the bearing ring image features, and output the bearing ring defect detection report;

[0010] The user interface module is used to provide real-time images and defect detection reports of bearing rings.

[0011] Further, the image processing module comprises the following steps:

[0012] Capturing an image of the bearing ring to be tested by an image acquisition device;

[0013] The acquired image is uploaded to the image processing library for decoding to obtain the original data of the bearing image;

[0014] The acquired raw data of the bearing image are preprocessed to obtain a first data set.

[0015] Furthermore, the preprocessing of the acquired raw data of the bearing image includes:

[0016] The neighborhood around each pixel in the image is denoised by the Gaussian function defined by the Gaussian filter;

[0017] Performing linear transformation on the original data of the bearing image after denoising, expanding the range of pixel values ​​in the original data of the bearing image to enhance the contrast of the image;

[0018] The RGB components in the original data of the bearing image are normalized and converted into the brightness components of the HSV color space to achieve the conversion of the image color space.

[0019] Furthermore, performing image segmentation processing on the first data set includes:

[0020] The brightness component located in the defect area on the bearing ring surface is selected as the starting seed point of the algorithm;

[0021] Select gray value similarity as the similarity criterion for segmentation processing;

[0022] The segmented first data set is subjected to optimization result processing, wherein the optimization result processing includes boundary smoothing and hole filling processing.

[0023] Furthermore, the convolutional neural network model mainly includes a feature extraction layer, a graph generation layer, a feature graph fusion layer, and a target constraint layer.

[0024] Furthermore, the feature extraction layer is used to:

[0025] Perform convolution operations on the first data set to obtain bearing ring features;

[0026] The image data of the bearing ring with defects marked is used as the training set data;

[0027] The bearing ring features include gray value features, edge features, and texture features.

[0028] Furthermore, the graph generation layer is used to:

[0029] A fully connected layer is added, and a bearing grayscale histogram is generated according to the bearing ring features as the input of the feature map fusion layer. The fully connected layer is used to map the bearing ring features extracted by the feature extraction layer into the space of the bearing grayscale histogram.

[0030] Furthermore, the feature map fusion layer is used to:

[0031] The gray levels in the input bearing gray histogram are regarded as data points, and the data points are processed using a pooling function;

[0032] Calculate the probability of the grayscale histogram generated by the first data set as the data point feature;

[0033] Training the model, and using the trained model to perform clustering processing on the first data set;

[0034] Analyze the clustering results and compare them with the training set data;

[0035] The bearing ring feature difference objective function is generated based on the comparison results.

[0036] Furthermore, the target constraint layer is used to:

[0037] Defect prediction is performed based on the obtained bearing ring characteristic difference objective function value;

[0038] Generate a defect detection report for the bearing ring and generate a bounding box at the defect location of the defective bearing ring detection result.

[0039] Furthermore, the bearing ring characteristic difference objective function is calculated as follows:

[0040]

[0041] Where: M is the objective function of the difference in bearing ring characteristics, n is the total number of the first data set, q is the total number of data in the training set, and Y i is the clustering result of the i-th bearing data in the first data set.

[0042] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0043] 1. The bearing ring magnetic particle flaw detection system based on the image method solves the problem of low detection efficiency in the existing technology and shortens the time of the bearing ring detection process. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1A flow chart of a method for magnetic particle flaw detection of bearing rings provided in an embodiment of the present application; DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0046] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0047] The bearing ring magnetic particle flaw detection system based on the image method is characterized by:

[0048] The magnetic powder spraying module is used to spray magnetic powder on the surface of the bearing ring to be tested;

[0049] The magnetic field generating module is used to create a magnetic field around the bearing ring to be tested, so that the magnetic powder is gathered near the defects on the surface of the bearing ring;

[0050] The image processing module is used to capture and decode the image of the magnetic powder accumulation area of ​​the bearing ring to be tested, and pre-process the decoded original data of the bearing image to obtain a first data set;

[0051] The image analysis module is used to perform image segmentation processing on the first data set, and input the convolutional neural network model to extract the bearing ring image features, generate the bearing ring feature difference objective function according to the bearing ring image features, and output the bearing ring defect detection report;

[0052] The user interface module is used to provide real-time images and defect detection reports of bearing rings.

[0053] The magnetic powder spraying module is used to spray magnetic powder on the surface of the bearing ring to be tested, comprising the following steps:

[0054] Place sufficient uncontaminated magnetic powder in a sealed magnetic powder container;

[0055] Clean the dirt and coating on the surface of the bearing ring to be inspected to ensure that the magnetic powder is fully attached to the surface;

[0056] The magnetic powder is sprayed out of the container by the magnetic powder spray gun using air pressure to cover the surface of the bearing ring to be tested.

[0057] The magnetic field generating module is used to create a magnetic field around the bearing ring to be tested so that magnetic powder is gathered near the defects on the surface of the bearing ring, and includes the following steps:

[0058] Install the magnetic field generator around the bearing ring so that the position and direction of the magnetic field generator can effectively cover the entire surface of the bearing ring to be tested;

[0059] The power control unit is used to control the magnetic field generator to adjust the strength and direction of the magnetic field;

[0060] Adjust the magnetic field parameters according to the characteristics of the bearing ring and the detection requirements. After the adjustment is completed, start the magnetic field generation module. The magnetic field parameters include current size, frequency and direction;

[0061] When the accumulation of magnetic powder is clearly visible, turn off the magnetic field generating module.

[0062] The image processing module is used to capture and decode the image of the magnetic powder gathering area of ​​the bearing ring to be tested, and pre-process the decoded bearing image raw data to obtain a first data set, including the following steps:

[0063] Capturing an image of the bearing ring to be tested by an image acquisition device;

[0064] The acquired image is uploaded to the image processing library for decoding to obtain the original data of the bearing image;

[0065] Preprocessing the acquired raw data of the bearing image includes:

[0066] The neighborhood around each pixel in the image is denoised by the Gaussian function defined by the Gaussian filter;

[0067] The Gaussian function defined by the Gaussian filter is as follows:

[0068]

[0069] Where: g(x) is the Gaussian function, σ is the standard deviation of the Gaussian function, π is the circumference of a circle, and x is the domain variable of the Gaussian function.

[0070] Perform linear transformation on the original data of the denoised bearing image to expand the range of pixel values ​​in the image data to enhance the image contrast;

[0071] The RGB components in the original data of the bearing image are normalized and converted into the brightness components of the HSV color space to achieve the conversion of the image color space.

[0072] It should be noted that, under the attraction of the defect magnetic field, the larger the width and depth of the bearing crack, the more magnetic powder accumulates at the crack position, and the higher the brightness of the captured image. Therefore, the RGB value of the image RGB color space is converted to the brightness value of the HSV color space.

[0073] The image analysis module is used to perform image segmentation processing on the first data set, and input the convolutional neural network model to extract the bearing ring image features, mine the differences between the bearing ring to be tested and the defective bearing ring, and output the defect detection report of the bearing ring, including the following steps:

[0074] Performing image segmentation processing on the first data set specifically includes:

[0075] The brightness component located in the defect area on the bearing ring surface is selected as the starting seed point of the algorithm;

[0076] Select gray value similarity as the similarity criterion for segmentation processing;

[0077] The segmented first data set is subjected to optimization result processing, wherein the optimization result processing includes boundary smoothing and hole filling processing.

[0078] The convolutional neural network model mainly includes a feature extraction layer, a graph generation layer, a feature graph fusion layer, and a target constraint layer.

[0079] The function of the feature extraction layer is to perform convolution operations on the first data set respectively to obtain bearing ring features, and to annotate the image data of the defective bearing ring as training set data; the bearing ring features include extracted gray value features, edge features, and texture features.

[0080] A portion of data is randomly selected from the first data set and input into the convolutional neural network. The mapping process is expressed as:

[0081] X = CNN (Xm × b)

[0082] Where: X represents the feature mapping matrix of the first data set extracted by the convolutional neural network, X m×b is a randomly selected part, and the selected part constitutes a two-dimensional array with m rows and b columns.

[0083] The forward propagation formula of the convolutional neural network model is:

[0084]

[0085] Where: Z represents the output result of the convolutional neural network model, H is the gray value feature, B is the edge feature, E is the texture feature, X is the feature mapping matrix of the first data set, and W is the convolution kernel array of the convolutional layer of the convolutional neural network.

[0086] The calculation formula of the gray value feature is expressed as:

[0087]

[0088] Where: H is the gray value feature, L is the total number of gray levels, N is the total number of pixels in the first data set, and N i is the number of pixels with gray level i.

[0089] The calculation formula of the edge feature is expressed as:

[0090] B=∑XΘW∑b i

[0091] Where: B is the edge feature, W is the convolution kernel array of the convolutional neural network convolution layer, X is the feature mapping matrix of the first data set, b i is the weight parameter of the convolution kernel filter.

[0092] The calculation formula of the texture feature is expressed as:

[0093] E=∑XΘW∑Ei

[0094] Where: E is the texture feature, W is the convolution kernel array of the convolutional neural network convolution layer, E i is the bias term of the texture feature extractor of the i-th bearing data in the first data set, and X is the feature mapping matrix of the first data set.

[0095] The function of the graph generation layer is to add a fully connected layer and generate a bearing grayscale histogram based on the bearing ring features as the input of the feature graph fusion layer. The fully connected layer is used to map the bearing ring features extracted by the feature extraction layer to the space of the bearing grayscale histogram.

[0096] The bearing ring features are input into a fully connected layer, and the output of the fully connected layer is as follows:

[0097]

[0098] Where: Rz is the mapping matrix of the bearing ring feature in the fully connected layer, Rm is the weight matrix of the fully connected layer, v is the bias vector of the fully connected layer, K is the output dimension of the fully connected layer, and c is the dimension of the feature map of the first data set, which is 2 here.

[0099] The probability distribution of the mapping matrix of the bearing ring feature in the fully connected layer is calculated using the Swish activation function, and the formula of the Swish activation function is as follows:

[0100] Swish(x)=exp(β,sigmoid(x))

[0101] Where: β is the parameter of the slope of the activation function.

[0102] The calculation formula of the grayscale histogram of the first data set is as follows:

[0103]

[0104] Wherein: HI is the bearing grayscale histogram, the bearing grayscale histogram is a vector of length L, representing the probability distribution of L grayscale levels, and Swish(i) represents the probability distribution of the grayscale histogram of the i-th bearing data in the first data set.

[0105] The function of the feature map fusion layer is to analyze and learn the grayscale histogram of the bearing, to mine the feature differences between the first data set to be tested and the training set data in the training set, and to generate a bearing ring feature difference objective function;

[0106] Each gray level in the input bearing grayscale histogram is regarded as a data point, and the data point feature is the probability of the grayscale histogram generated by the first data set.

[0107] The average pooling function is used to process the data points, namely:

[0108]

[0109] Where: is the average pooling function, L is the total number of gray levels in the grayscale histogram, HI p,L The probability of the grayscale histogram generated for the first data set, X i is the feature mapping matrix of the i-th bearing data in the first data set.

[0110] Use the training set data to train the model, use the trained model to perform K-means clustering on the first data set, and analyze the clustering results;

[0111] Compare the bearing grayscale histogram in each clustering result with the grayscale histogram of the training set data;

[0112] The boundaries of the clustering results are checked for areas where the distribution of the training set data is inconsistent, and the objective function of the difference in bearing ring characteristics is obtained.

[0113] The bearing ring characteristic difference objective function is as follows:

[0114]

[0115] Where: MSE is the objective function of the difference in bearing ring characteristics, n is the total number of the first data set, q is the total number of training set data, Y i is the clustering result of the i-th bearing data in the first data set.

[0116] The target constraint layer is used to predict defects based on the obtained bearing ring characteristic difference target function and generate a defect detection report for the bearing ring.

[0117] If the difference objective function value of the bearing ring exceeds the standard threshold, it can be determined that the current bearing ring has defects. The target constraint layer will generate a bounding box on the output defect detection report of the bearing ring to indicate the location of the defect in the bearing.

[0118] The user interface module is used to provide real-time bearing grayscale histogram and bearing ring defect detection report output by the convolutional neural network model.

[0119] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0120] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0121] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.

[0122] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0123] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0124] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. Bearing ring magnetic particle inspection system based on image method, characterized by: include: The magnetic powder spraying module is used to spray magnetic powder on the surface of the bearing ring to be tested; The magnetic field generating module is used to create a magnetic field around the bearing ring to be tested, so that the magnetic powder is gathered near the defects on the surface of the bearing ring; The image processing module is used to capture and decode the image of the magnetic powder accumulation area of ​​the bearing ring to be tested, and pre-process the decoded original data of the bearing image to obtain a first data set; The image analysis module is used to perform image segmentation processing on the first data set, and input the convolutional neural network model to extract the bearing ring image features, generate the bearing ring feature difference objective function according to the bearing ring image features, and output the bearing ring defect detection report; The user interface module is used to provide real-time images and defect detection reports of bearing rings.

2. The bearing ring magnetic particle flaw detection system based on the image method as claimed in claim 1, characterized in that: The image processing module comprises the following steps: Capturing an image of the bearing ring to be tested by an image acquisition device; The acquired image is uploaded to the image processing library for decoding to obtain the original data of the bearing image; The acquired raw data of the bearing image are preprocessed to obtain a first data set.

3. The bearing ring magnetic particle flaw detection system based on the image method as claimed in claim 2, characterized in that: The preprocessing of the acquired raw data of the bearing image includes: The neighborhood around each pixel in the image is denoised by the Gaussian function defined by the Gaussian filter; Performing linear transformation on the original data of the bearing image after denoising, expanding the range of pixel values ​​in the original data of the bearing image to enhance the contrast of the image; The RGB components in the original data of the bearing image are normalized and converted into the brightness components of the HSV color space to achieve the conversion of the image color space.

4. The bearing ring magnetic particle flaw detection system based on the image method as claimed in claim 1, characterized in that: Performing image segmentation processing on the first data set includes: The brightness component located in the defect area on the bearing ring surface is selected as the starting seed point of the algorithm; Select gray value similarity as the similarity criterion for segmentation processing; The segmented first data set is subjected to optimization result processing, wherein the optimization result processing includes boundary smoothing and hole filling processing.

5. The bearing ring magnetic particle flaw detection system based on the image method as claimed in claim 1, characterized in that: The convolutional neural network model mainly includes a feature extraction layer, a graph generation layer, a feature graph fusion layer, and a target constraint layer.

6. The bearing ring magnetic particle flaw detection system based on the image method as claimed in claim 5, characterized in that: The feature extraction layer is used to: Perform convolution operations on the first data set to obtain bearing ring features; The image data of the bearing ring with defects marked is used as the training set data; The bearing ring features include gray value features, edge features, and texture features.

7. The bearing ring magnetic particle flaw detection system based on the image method as claimed in claim 5, characterized in that: The graph generation layer is used to: A fully connected layer is added, and a bearing grayscale histogram is generated according to the bearing ring features as the input of the feature map fusion layer. The fully connected layer is used to map the bearing ring features extracted by the feature extraction layer into the space of the bearing grayscale histogram.

8. The bearing ring magnetic particle flaw detection system based on the image method as claimed in claim 5, characterized in that: The feature map fusion layer is used to: The gray levels in the input bearing gray histogram are regarded as data points, and the data points are processed using a pooling function; Calculate the probability of the grayscale histogram generated by the first data set as the data point feature; Training the model, and using the trained model to perform clustering processing on the first data set; Analyze the clustering results and compare them with the training set data; The bearing ring feature difference objective function is generated based on the comparison results.

9. The bearing ring magnetic particle flaw detection system based on the image method as claimed in claim 5, characterized in that: The target constraint layer is used to: Defect prediction is performed based on the obtained bearing ring characteristic difference objective function value; Generate a defect detection report for the bearing ring and generate a bounding box at the defect location of the defective bearing ring detection result.

10. The bearing ring magnetic particle flaw detection system based on the image method as claimed in claim 8, characterized in that: The bearing ring characteristic difference objective function is calculated as follows: Where: M is the objective function of the difference in bearing ring characteristics, n is the total number of the first data set, q is the total number of data in the training set, and Y i is the clustering result of the i-th bearing data in the first data set.