A rolling bearing fault efficient diagnosis method and system
By converting one-dimensional vibration signals into grayscale images and using coordinate Ghostbottleneck and adaptive weight modules to build a fault diagnosis network model, the problem of long fault diagnosis time and poor anti-noise ability of rolling bearings is solved, and efficient and fast operation in noisy environments is achieved. Accurate diagnosis.
Patent Information
- Application Number
- CN202410208930.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing rolling bearing fault diagnosis methods take a long time to diagnose and have poor noise immunity. They cannot diagnose faults efficiently, quickly and accurately, especially in noisy environments and load changes.
Convert the one-dimensional vibration signal into a grayscale image, and build a fault diagnosis network model based on the coordinate Ghostbottleneck and adaptive weight modules. Feature extraction is optimized through the coordinate attention and adaptive weight modules, reducing the amount of model calculations, enhancing representation capabilities, and dynamic utilization Convolving generated features to improve diagnostic efficiency.
It achieves efficient, fast and accurate fault diagnosis in noisy environments and load changes. Compared with traditional methods, it has better diagnostic results and less diagnostic time, and overcomes the problems of poor noise immunity and long time.
Smart Images

Figure CN117951604B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fault diagnosis, and more particularly to an efficient rolling bearing fault diagnosis method and system. Background Art
[0002] In modern industrial systems, mechanical rotating bodies have developed towards high speed, large scale and integration, and have played a vital role in aviation, industrial production and high-speed railways. As an important part of mechanical equipment, rolling bearings play the role of supporting rotating bodies, reducing friction and driving transmission. If a bearing fails, it will cause the mechanical rotating body and even the entire mechanical equipment to stop unexpectedly, resulting in serious casualties and economic losses.
[0003] At present, the mainstream rolling bearing fault diagnosis can be divided into two types: fault diagnosis method based on fault mechanism and data-driven fault diagnosis method. The fault mechanism-based diagnosis method studies the fault mechanism and establishes a dynamic model to analyze the vibration characteristics of the damaged bearing. This type of fault diagnosis method usually requires rich prior knowledge and accurate system models, which is difficult to implement for complex systems. The data-driven method does not rely on the fault generation mechanism and can perform fault diagnosis in the absence of prior knowledge. Therefore, some classic machine learning methods have been proposed. Before the traditional data-driven method performs bearing fault diagnosis, it is necessary to perform fault extraction, feature selection and other operations on the collected signals, which increases the requirements for domain knowledge. In addition, due to the shallow structure of the diagnostic model, this method cannot extract more abundant features, which limits the fault diagnosis performance. In recent years, mechanical equipment detection and fault diagnosis have entered the "big data analysis era". Deep learning has attracted widespread attention from researchers due to its powerful feature extraction ability. Convolutional neural network (CNN) is one of the most important models in deep learning. With its powerful feature extraction ability, it greatly improves the efficiency of fault diagnosis. However, CNN generates a large number of redundant features when performing convolution operations, which seriously wastes the computing resources of the equipment and consumes a lot of time, and has poor noise resistance. It is unable to perform rolling bearing fault diagnosis efficiently and quickly, and the accuracy of the diagnosis results needs to be improved.
[0004] Therefore, how to reduce the diagnosis time and perform rolling bearing fault diagnosis efficiently, quickly and accurately is a problem that technical personnel in this field need to solve urgently. Summary of the invention
[0005] In view of this, the present invention provides a rolling bearing fault efficient diagnosis method and system that solves at least some of the above-mentioned technical problems, has better diagnostic effect and less diagnostic time, and can efficiently, quickly and accurately diagnose rolling bearing faults.
[0006] To achieve the above object, the technical solution adopted by the present invention is:
[0007] In a first aspect, an embodiment of the present invention provides an efficient rolling bearing fault diagnosis method, the method comprising:
[0008] Obtain rolling bearing operation data, convert the one-dimensional vibration signal into a grayscale image, and divide it into a test set and a training set according to a preset ratio;
[0009] Based on the coordinate Ghost bottleneck and adaptive weight module as the network backbone, a fault diagnosis network model is constructed;
[0010] Using the divided training set to train the fault diagnosis network model, and saving the model when the preset index is reached;
[0011] The test set is input into the trained fault diagnosis network model, and the rolling bearing fault diagnosis result is output.
[0012] Optionally, the one-dimensional vibration signal is converted into a grayscale image, and the calculation formula is:
[0013]
[0014] Wherein, P(j,k) represents the pixel value of each image after transformation; j=1…N, k=1…N; round() represents a rounding function, which normalizes all pixels to between 0 and 255; N represents the sub-signal column length, and L represents the signal strength.
[0015] Optionally, the fault diagnosis network model is constructed based on the coordinate Ghostbottleneck and the adaptive weight module as the network backbone, including:
[0016] Construct the coordinate Ghostbottleneck; add coordinate attention to Ghostbottleneck to model the relationship between channels, and use precise location information to capture long-range dependencies and optimize the performance of image classification;
[0017] Construct an adaptive weight module to exploit the information contained in similar feature maps;
[0018] Use two coordinate Ghostbottleneck and two adaptive weight modules as the network backbone;
[0019] The input image size is set to 32×32, and after transformation, the size is adjusted to 224×224;
[0020] The transformed image enters the Ghost bottleneck after the first 3×3 convolution to generate the Ghost feature map, and then enters the adaptive weight module. After two repetitions, the model fully integrates the features of the input image.
[0021] After the last 3×3 convolution layer and average pooling, the Dropout operation is used, and the Dropout parameter value is set to 0.5.
[0022] Optionally, the step of constructing an adaptive weight module includes:
[0023] The module is divided into pixel attention branch, channel attention branch and adaptive weight branch; among them:
[0024] The pixel attention branch contains a 1×1 convolution kernel pixel attention block;
[0025] In the channel attention branch, a 1×1 convolution kernel and a channel attention block are used, and a 1×1 convolution is used for feature reorganization for weight fusion with the adaptive weight branch;
[0026] Two cross structures are added to the two attention branches to make up for the features ignored by different attention branches by reusing features:
[0027] The adaptive weight branch uses weighted summation to assign weights to the pixel attention branch and the channel attention branch.
[0028] Optionally, when the fault diagnosis network model is trained using the training set, the training epoch is set to 30, the initial learning rate is set to 0.001, and each batch is set to 64.
[0029] Optionally, when the fault diagnosis network model is trained using the training set, the Softmax classification function is used to perform back propagation to update the weights, and the Adam optimizer is used for optimization.
[0030] In a second aspect, an embodiment of the present invention further provides a rolling bearing fault efficient diagnosis system, which applies the above-mentioned rolling bearing fault efficient diagnosis method to perform efficient intelligent diagnosis of rolling bearing faults, and the system includes:
[0031] A data conversion module is used to obtain rolling bearing operation data, convert the one-dimensional vibration signal into a grayscale image, and divide it into a test set and a training set according to a preset ratio;
[0032] A fault diagnosis network model building module is used to build a fault diagnosis network model based on the coordinate Ghostbottleneck and the adaptive weight module as the network backbone;
[0033] A model training module, used to train the fault diagnosis network model using the divided training set, and save the model when the preset index is reached;
[0034] The fault diagnosis module is used to input the test set into the trained fault diagnosis network model and output the rolling bearing fault diagnosis result.
[0035] Compared with the prior art, the present invention has at least the following beneficial effects:
[0036] The present invention provides an efficient rolling bearing fault diagnosis method and system, which can be used for fault diagnosis in noisy environments, load changes and mixed fault conditions. In the present invention, the vibration signal is first converted into a two-dimensional image, and the noise is converted into features such as image brightness, thereby reducing the influence of noise on the original signal; based on the coordinate Ghostbottleneck and the adaptive weight module as the network backbone, a fault diagnosis network model is constructed to perform sufficient feature extraction. In order to reduce the number of model parameters and enhance the model characterization capability, the present invention introduces coordinate attention into the Ghost bottleneck, which greatly reduces the model calculation amount. Through the adaptive weight module, the features generated by the convolution are dynamically used to more efficiently characterize the input information. The present invention overcomes the shortcomings of the convolutional neural network, which has poor noise resistance and long time consumption. Compared with the advanced neural networks GhostNet, AlexNet, ResNet34, MobileNetV3, and GoogLeNet, CGA-Net has better diagnostic effect and less diagnostic time, and can efficiently, quickly and accurately perform rolling bearing fault diagnosis.
[0037] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.
[0038] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0040] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
[0041] Figure 1 A schematic diagram of the principle of an efficient rolling bearing fault diagnosis method provided by an embodiment of the present invention.
[0042] Figure 2 A schematic diagram of the principle of converting a one-dimensional signal into a grayscale image provided by an embodiment of the present invention.
[0043] Figure 3 A schematic diagram of the result of converting a one-dimensional signal into a grayscale image provided by an embodiment of the present invention.
[0044] Figure 4 A schematic diagram of a Ghost module provided in an embodiment of the present invention.
[0045] Figure 5 A schematic diagram of the coordinate Ghost bottleneck structure provided by an embodiment of the present invention.
[0046] Figure 6 A schematic diagram of the structure of an adaptive weight module provided in an embodiment of the present invention.
[0047] Figure 7 A schematic diagram of the feature multiplexing principle provided by an embodiment of the present invention.
[0048] Figure 8 A schematic diagram of the fault diagnosis network model structure provided by an embodiment of the present invention.
[0049] Fig. 9 A schematic diagram of a training strategy provided by an embodiment of the present invention.
[0050] Fig.10 Schematic diagram of different model training losses provided in embodiments of the present invention.
[0051] Fig.11 A schematic diagram of the variable operating condition accuracy of different models provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0052] 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. In addition, various serial numbers are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0053] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.
[0054] See also Figure 1 As shown, the present invention provides an efficient rolling bearing fault diagnosis method, which mainly includes:
[0055] ①. Obtain rolling bearing operation data and convert the one-dimensional vibration signal into a grayscale image to reduce noise interference; and divide it into a test set and a training set according to a preset ratio;
[0056] ②. Based on the coordinate Ghostbottleneck and adaptive weight module as the network backbone, a fault diagnosis network model (CGA-Net network) is constructed;
[0057] ③. Use the divided training set to train the fault diagnosis network model, extract the bearing data features, use the adaptive weight module to dynamically learn the signal features, and improve the network characterization ability; save the model when the preset indicators are reached;
[0058] ④. Input the divided test set into the trained fault diagnosis network model and output the rolling bearing fault diagnosis results.
[0059] The following describes in detail the relevant theories and specific implementation methods of the method of the present invention:
[0060] In a specific embodiment, a one-dimensional vibration signal is obtained through an experimental device and a sensor, and then converted into a 32×32 grayscale image, and the image data set is divided into a training set and a test set according to the ratio. In this embodiment, the one-dimensional data is converted into a grayscale image (two-dimensional data), and the following operations are taken:
[0061] Assuming that the final image is of size N×N, N sub-signal sequences of length N are selected on the one-dimensional vibration signal by using the sliding window value method;
[0062] The randomly selected sub-signals are combined to obtain an N×N signal train. The strength of each signal is denoted as L(i).
[0063] The combined signal is converted into a grayscale image as follows:
[0064]
[0065] Among them, round() represents the rounding function, which normalizes all pixels to between 0 and 255, which is exactly the pixel value range of the grayscale image. P represents the pixel value of each image after conversion. The conversion principle of one-dimensional signal to grayscale image can be found in Figure 2 As shown, the conversion results are shown in Figure 3 shown.
[0066] In a specific embodiment, based on the coordinates Ghostbottleneck and the adaptive weight module as the network backbone, a CGA-Net network (fault diagnosis network model) is constructed, and the following operations are performed:
[0067] The design coordinates Ghost bottleneck. Among them, Ghostbottleneck is composed of Ghost modules. The traditional convolution kernel Ghost module structure is as follows Figure 4 As shown in Figure 2, the Ghos module first generates a small number of intrinsic feature maps through ordinary convolution, then generates feature maps similar to each other by performing cheap linear operations on the intrinsic feature maps, and calls them Ghost feature maps. Finally, the intrinsic feature map and the Ghost feature map are fused as the new output.
[0068] Ordinary convolution for input data Where c is the number of channels of the input data, h and w are the height and width of the input data. The output obtained after the ordinary convolution operation is as follows:
[0069] Y=X*f+b
[0070] Among them, * is the convolution operation, f is the convolution filter in this layer, b is the bias in the convolution, is the output feature map with n channels. It can be obtained that the FLOPs in the convolution process can be calculated as:
[0071] FLOPs = n·h'·w'·c·k·k
[0072] Where k is the size of the convolution filter, n is the number of filters, and h and w are the height and width of the output feature map, respectively.
[0073] The Ghost module first generates m feature maps through convolution, where m < n. Then, the Ghost module performs a series of cheap linear operations on each intrinsic feature map, so that each intrinsic feature map generates s ghost feature maps, thereby expanding the feature map to n maps, where n = m·s. The average kernel size of each linear operation is d, and the number of linear operations is m. Therefore, the FLOPs required by the Ghost module can be calculated as:
[0074]
[0075] The speedup ratio of the Ghost module relative to ordinary convolution is:
[0076]
[0077] The model parameter compression ratio is:
[0078]
[0079] In this embodiment, the coordinates of the Ghostbottleneck structure refer to Figure 5 As shown in the figure; coordinate attention is added to the Ghost bottleneck to model the relationship between channels, and precise position information is used to capture long-range dependencies to improve the performance of image classification.
[0080] An adaptive weight module is designed to avoid spending a lot of computing resources while making full use of the information contained in similar feature maps. The structure diagram of the adaptive weight module is shown in the figure. Figure 6 As shown, the adaptive weight module is designed and the following operations are taken:
[0081] The adaptive weight module network is divided into pixel attention branch, channel attention branch and adaptive weight branch.
[0082] The pixel attention branch contains a 1×1 convolution kernel pixel attention block (PA).
[0083] In the channel attention branch, a 1×1 convolution kernel and a channel attention block (CA) are used, followed by a 1×1 convolution for feature reorganization for weight fusion with the adaptive weight branch.
[0084] Add two cross structures in the two attention branches to make up for the features ignored by different attentions by reusing features. For the principle of feature reuse, see Figure 7 shown.
[0085] The adaptive weight branch is divided into the third branch of the module. This branch uses weighted sum to assign weights to the pixel attention branch and the channel attention branch, and automatically discards some unimportant attention features to achieve a dynamic balance between the two branches.
[0086] Two coordinate Ghostbottleneck and two adaptive weight modules are used as the network backbone. The fault diagnosis network model structure is as follows Figure 8 shown.
[0087] The size of the input image is set to 32×32, and after transformation, the size is adjusted to 224×224.
[0088] The converted image enters the Ghost bottleneck after the first 3×3 convolution to generate the Ghost feature map, and then enters the adaptive weight layer. After two repetitions, the model fully integrates the features of the input signal. In order to avoid overfitting, after the last 3×3 convolution layer and average pooling, the Dropout operation is used, and the Dropout parameter value is set to 0.5.
[0089] Train the network model. For the training strategy process, see Fig. 9 As shown, take the following actions:
[0090] Data acquisition,The one-dimensional vibration signal is obtained through the experimental equipment and,sensors, which is then converted into a 32×32 grayscale image, and the,image dataset is divided into a training set and a test set according to,the ratio.
[0091] The training epochs are set to 30, the initial learning rate is set to 0.001, and each batch is set to 64.
[0092] Calculate the loss function, use the Softmax classification function to back-propagate and update the weights, and use the Adam optimizer for optimization.
[0093] Finally, when the epoch reaches the specified number, the training ends and the model is saved.
[0094] The test data set is input into the trained model and the fault classification results are finally output.
[0095] The method of the present invention is experimentally verified using a rolling bearing data set from a university:
[0096] In a rolling bearing dataset of a certain university, the data includes four types of faults, namely normal, ball fault (BF), inner race fault (IF) and outer race fault (OF). In addition, each fault is subdivided into 0.007, 0.014, 0.021 and 0.028 inches according to the size of the fault. Faults of different locations and sizes are divided into 12 labels (one normal label and 11 fault labels). At the same time, experimental data collected under 4 loads are used, represented by A, B, C and D respectively. The detailed data are shown in Tables 1 and 2.
[0097] Table 1 Description of data sets under the same load
[0098] Classlabel Faultlocation Fault size (in) Number of samples 00 Normal / 150 01 BF 0.007 150 02 IF 0.007 150 03 OF 0.007 150 04 BF 0.014 150 05 IF 0.014 150 06 OF 0.014 150 07 BF 0.021 150 08 IF 0.021 150 09 OF 0.021 150 10 BF 0.028 150 11 IF 0.028 150
[0099] Table 2 Description of four load data
[0100] Dataset Load(hp) Sample size of the dataset Trainingset / Testset A 0hp 1800 1260 / 540 B 1hp 1800 1260 / 540 C 2hp 1800 1260 / 540 D 3hp 1800 1260 / 540
[0101] In order to verify the superiority of the present invention, the classic lightweight neural network model MobileNetV3 and various deep learning models, including GhostNet, AlexNet, ResNet34, and GoogLeNet, were selected for comparison. The accuracy under the original signal is shown in Table 3:
[0102] Table 3 Accuracy of six methods under original signal
[0103]
[0104]
[0105] Among them, see the schematic diagram of different model training loss functions Fig.10 shown.
[0106] In the performance test of the noisy environment, Gaussian white noise with different signal-to-noise ratios (SNR) is added to the original signal. At the same time, the original signal is set as the training set, and the samples with added noise are used as the test set to verify the noise resistance of the proposed method to noises of different intensities. SNR is defined as follows:
[0107]
[0108] The accuracy comparison under different signal-to-noise ratios is shown in Table 4:
[0109] Table 4 Accuracy of six methods with added noise
[0110] Algorithms 3dB 6dB 9dB 12dB Average Average time CGA-Net 97.06% 98.65% 99.18% 99.8% 98.67% 119.76s GhostNet 90.47% 93.36% 96.01% 96.26% 94.03% 305.22s AlexNet 73.48% 77.38% 84.57% 85.55% 80.25% 135.5s ResNet34 96.05% 96.33% 98.59% 99.45% 97.61% 888.17s MobileNetV3 92.7% 94.53% 97.27% 98.63% 95.78% 324.09s GoogLeNet 77.61% 81.9% 85.59% 89.1% 83.55% 314.68s
[0111] In the performance test under variable working condition test, one of the four data sets A, B, C, and D is selected as the training set, and the other three are used as the test set to verify the adaptability of the present invention under different working conditions. Fig.11 As shown, the results prove that the present invention has better adaptability.
[0112] Through the description of the above implementation, those skilled in the art can know that the present invention proposes an efficient rolling bearing fault diagnosis method based on the Ghost module and the attention mechanism, which can be used for fault diagnosis in noisy environments, load changes and mixed fault conditions. CGA-Net first converts the vibration signal into a two-dimensional image, converts the noise into features such as image brightness, reduces the impact of noise on the original signal, and uses a two-dimensional CNN to fully extract its features. Then, in order to reduce the number of model parameters and enhance the model characterization capability, the coordinate attention is introduced into the Ghostbottleneck, which greatly reduces the amount of model calculation. Finally, an adaptive weight module is designed to more efficiently characterize the input information by dynamically utilizing the features generated by convolution. The present invention effectively reduces the model size and obtains a strong feature learning ability, solves the problem of long diagnosis time and poor noise resistance of traditional methods; and can efficiently, quickly and accurately diagnose rolling bearing faults.
[0113] Furthermore, the present invention also provides a rolling bearing fault efficient diagnosis system, which is applied to a rolling bearing fault efficient diagnosis method in the above embodiment to perform rolling bearing fault efficient diagnosis, and the system comprises:
[0114] A data conversion module is used to obtain rolling bearing operation data, convert the one-dimensional vibration signal into a grayscale image, and divide it into a test set and a training set according to a preset ratio;
[0115] A fault diagnosis network model building module is used to build a fault diagnosis network model based on the coordinate Ghostbottleneck and the adaptive weight module as the network backbone;
[0116] A model training module, used to train the fault diagnosis network model using the divided training set, and save the model when the preset index is reached;
[0117] The fault diagnosis module is used to input the test set into the trained fault diagnosis network model and output the rolling bearing fault diagnosis result.
[0118] The implementation principle and technical effects of the system provided in the embodiment of the present invention are the same as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the system embodiment, reference can be made to the corresponding contents in the aforementioned method embodiment, which will not be repeated here.
[0119] In addition, an embodiment of the present invention also provides a storage medium on which one or more programs readable by a computing device are stored. The one or more programs include instructions. When the instructions are executed by the computing device, the computing device executes an efficient rolling bearing fault diagnosis method in the above embodiment.
[0120] In the embodiment of the present invention, the storage medium may be, for example, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples of storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, and any suitable combination thereof.
[0121] Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, systems or computer program products, etc. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects.
[0122] It should be noticed that the word "comprising" does not exclude the presence of steps or components not listed in a claim.The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer.
[0123] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0124] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An efficient rolling bearing fault diagnosis method, characterized in that: The method includes: Obtain rolling bearing operation data, convert the one-dimensional vibration signal into a grayscale image, and divide it into a test set and a training set according to a preset ratio; Based on the coordinate Ghostbottleneck and adaptive weight module as the network backbone, a fault diagnosis network model is constructed; Using the divided training set to train the fault diagnosis network model, and saving the model when the preset index is reached; Inputting the test set into the trained fault diagnosis network model, and outputting the rolling bearing fault diagnosis result; The fault diagnosis network model is constructed based on the coordinate Ghostbottleneck and the adaptive weight module as the network backbone, including: Construct the coordinate Ghostbottleneck; add coordinate attention to Ghostbottleneck to model the relationship between channels, and use precise location information to capture long-range dependencies and optimize the performance of image classification; Construct an adaptive weight module to exploit the information contained in similar feature maps; Use two coordinate Ghostbottleneck and two adaptive weight modules as the network backbone; The input image size is set to 32×32, and after transformation, the size is adjusted to 224×224; The converted image enters the Ghostbottleneck after the first 3×3 convolution to generate the Ghost feature map, and then enters the adaptive weight module; after two repetitions, the model fully integrates the features of the input image; After the last 3×3 convolution layer and average pooling, the Dropout operation is used, and the Dropout parameter value is set to 0.5; The step of constructing an adaptive weight module comprises: The module is divided into pixel attention branch, channel attention branch and adaptive weight branch; among them: The pixel attention branch contains a 1×1 convolution kernel pixel attention block; In the channel attention branch, a 1×1 convolution kernel and a channel attention block are used, and a 1×1 convolution is used for feature reorganization for weight fusion with the adaptive weight branch; Two cross structures are added to the two attention branches to make up for the features ignored by different attention branches by reusing features: The adaptive weight branch uses weighted summation to assign weights to the pixel attention branch and the channel attention branch; Based on the coordinate Ghostbottleneck and the adaptive weight module as the network backbone, a fault diagnosis network model is constructed, and the operations performed include: The design coordinates Ghostbottleneck, where Ghostbottleneck consists of Ghost modules. The Ghost module first generates an intrinsic feature map through ordinary convolution, then generates feature maps similar to each other by performing linear operations on the intrinsic feature map, called Ghost feature maps, and finally fuses the intrinsic feature map with the Ghost feature map as a new output; Ordinary convolution for input data Where c is the number of channels of the input data, h and w are the height and width of the input data, and the output after the ordinary convolution operation is as follows: Y=X*f+b Among them, * is the convolution operation, f is the convolution filter in this layer, b is the bias in the convolution, is the output feature map with n channels; the FLOPs in this convolution process are calculated as: FLOPs = n·h'·w'·c·k·k Where k is the size of the convolution filter; The Ghost module first generates m feature maps through convolution, where m < n. Then, the Ghost module performs a series of linear operations on each intrinsic feature map, so that each intrinsic feature map generates s Ghost feature maps, thereby expanding the feature map to n maps, where n = m s. The average kernel size of each linear operation is d, and the number of linear operations is m. Therefore, the FLOPs required by the Ghost module can be calculated as: The speedup ratio of the Ghost module relative to ordinary convolution is: In the formula, ratio s Represents the speedup ratio of the Ghost module relative to ordinary convolution; The model parameter compression ratio is: In the formula, ratio c Indicates the model parameter compression ratio.
2. The rolling bearing fault efficient diagnosis method according to claim 1, characterized in that: The one-dimensional vibration signal is converted into a grayscale image, and the calculation formula is: Wherein, P(j,k) represents the pixel value of each image after transformation; j=1…N, k=1…N; round() represents a rounding function, which normalizes all pixels to between 0 and 255; N represents the sub-signal column length, and L represents the signal strength.
3. The rolling bearing fault efficient diagnosis method according to claim 1, characterized in that: When the fault diagnosis network model is trained using the training set, the training epoch is set to 30, the initial learning rate is set to 0.001, and each batch is set to 64.
4. The rolling bearing fault efficient diagnosis method according to claim 1, characterized in that: When the fault diagnosis network model is trained using the training set, the Softmax classification function is used to perform back propagation to update the weights, and the Adam optimizer is used for optimization.
5. An efficient rolling bearing fault diagnosis system, characterized in that: The system includes: A data conversion module is used to obtain rolling bearing operation data, convert the one-dimensional vibration signal into a grayscale image, and divide it into a test set and a training set according to a preset ratio; A fault diagnosis network model building module is used to build a fault diagnosis network model based on the coordinate Ghostbottleneck and the adaptive weight module as the network backbone; A model training module, used to train the fault diagnosis network model using the divided training set, and save the model when the preset index is reached; A fault diagnosis module, used for inputting the test set into a trained fault diagnosis network model and outputting a rolling bearing fault diagnosis result; The fault diagnosis network model is constructed based on the coordinate Ghostbottleneck and the adaptive weight module as the network backbone, including: Construct the coordinate Ghostbottleneck; add coordinate attention to Ghostbottleneck to model the relationship between channels, and use precise location information to capture long-range dependencies and optimize the performance of image classification; Construct an adaptive weight module to exploit the information contained in similar feature maps; Use two coordinate Ghostbottleneck and two adaptive weight modules as the network backbone; The input image size is set to 32×32, and after transformation, the size is adjusted to 224×224; The converted image enters the Ghostbottleneck after the first 3×3 convolution to generate the Ghost feature map, and then enters the adaptive weight module; after two repetitions, the model fully integrates the features of the input image; After the last 3×3 convolution layer and average pooling, the Dropout operation is used, and the Dropout parameter value is set to 0.5; The step of constructing an adaptive weight module comprises: The module is divided into pixel attention branch, channel attention branch and adaptive weight branch; among them: The pixel attention branch contains a 1×1 convolution kernel pixel attention block; In the channel attention branch, a 1×1 convolution kernel and a channel attention block are used, and a 1×1 convolution is used for feature reorganization for weight fusion with the adaptive weight branch; Two cross structures are added to the two attention branches to make up for the features ignored by different attention branches by reusing features: The adaptive weight branch uses weighted summation to assign weights to the pixel attention branch and the channel attention branch; Based on the coordinate Ghostbottleneck and the adaptive weight module as the network backbone, a fault diagnosis network model is constructed, and the operations performed include: The design coordinates Ghostbottleneck, where Ghostbottleneck consists of Ghost modules. The Ghost module first generates an intrinsic feature map through ordinary convolution, then generates feature maps similar to each other by performing linear operations on the intrinsic feature map, called Ghost feature maps, and finally fuses the intrinsic feature map with the Ghost feature map as a new output; Ordinary convolution for input data Where c is the number of channels of the input data, h and w are the height and width of the input data, and the output after the ordinary convolution operation is as follows: Y=X*f+b Among them, * is the convolution operation, f is the convolution filter in this layer, b is the bias in the convolution, is the output feature map with n channels; the FLOPs in this convolution process are calculated as: FLOPs = n·h'·w'·c·k·k Where k is the size of the convolution filter; The Ghost module first generates m feature maps through convolution, where m < n. Then, the Ghost module performs a series of linear operations on each intrinsic feature map, so that each intrinsic feature map generates s Ghost feature maps, thereby expanding the feature map to n maps, where n = m s. The average kernel size of each linear operation is d, and the number of linear operations is m. Therefore, the FLOPs required by the Ghost module can be calculated as: The speedup ratio of the Ghost module relative to ordinary convolution is: In the formula, ratio s Represents the speedup ratio of the Ghost module relative to ordinary convolution; The model parameter compression ratio is: In the formula, ratio c Indicates the model parameter compression ratio.
