Design method, device and equipment of CNN model for bearing fault diagnosis

By designing the input signal length and convolution kernel size of the CNN model based on the characteristic frequency and mechanism of bearing faults, the problem of low design efficiency and inapplicable parameters of the existing CNN model is solved, and more efficient and accurate bearing fault diagnosis is achieved.

CN118673294AActive Publication Date: 2024-09-20NAT UNIV OF DEFENSE TECH

Patent Information

Application Number
CN202410795612.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-20
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

The existing CNN model for bearing fault diagnosis has low design efficiency and unsuitable parameters for fault diagnosis. It lacks mechanism interpretability and requires a more efficient and accurate design method.

Method used

Calculate the theoretical fault characteristic frequency value based on the bearing's geometric parameters and working condition parameters, determine the length and size of the input signal, design the convolution kernel width and height, adjust the number of channels and parameters, and form a CNN model specifically used for bearing fault diagnosis.

Benefits of technology

The design efficiency and accuracy of the CNN model are significantly improved, uncertainty is reduced, faster convergence speed and higher fault diagnosis accuracy are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673294A
    Figure CN118673294A
Patent Text Reader

Abstract

The invention relates to a design method, device and equipment of a CNN model for bearing fault diagnosis. The method comprises the following steps: firstly, designing the length of an input signal of the CNN model based on a fault characteristic frequency and a resolution requirement thereof; determining the width and size of the input signal based on the rotation frequency of the rotating shaft; then, the width of a convolution kernel is calculated based on the exponential decay characteristic of the fault peak; and finally, based on the number of fault categories, determining the number of channels of the CNN model and the size parameter of each channel. According to the CNN model design method provided by the invention, the CNN model can be directly designed based on the fault features, the design efficiency of the CNN model is remarkably improved, and the interpretability of a network structure and parameters is improved. In addition, when the CNN model designed by the method is used for bearing fault diagnosis, the precision is higher, the uncertainty is smaller, and the convergence speed is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of deep convolutional neural network (CNN) model design, and in particular to a design method, device and equipment for a CNN model for bearing fault diagnosis. Background Art

[0002] As a representative of deep learning algorithms, deep convolutional neural networks (CNNs) have been widely used in fault diagnosis and early warning of rotating equipment.

[0003] The document with publication number CN117171544A discloses a multi-channel fusion convolutional neural network, and uses it for motor vibration fault diagnosis. The document with publication number CN117708574A discloses a physics-embedded CNN by embedding the envelope order spectrum of the rolling bearing acceleration into the convolutional neural network and uses it for variable speed bearing fault diagnosis. The document with publication number CN117932262A discloses a ZPW-2000A track circuit fault diagnosis method based on CNN-LSTM-Attention, which extracts local features through the CNN layer, extracts abstract features through the LSTM encoding layer, and introduces the attention mechanism through the Attention layer, and finally achieves accurate track circuit fault classification through the fault diagnosis layer.

[0004] Although the above methods have achieved good results in bearing fault diagnosis, the network structure and parameters are all from the field of image recognition / speech recognition, or obtained through repeated parameter adjustment. For example, the length of the input signal is often defined as 1024, 2048, 4096, etc., while the size of the convolution kernel is usually defined as 3×3, 5×5, 7×7, etc. This brings two obvious problems. First, the design efficiency of the network is reduced by manually adjusting parameters repeatedly or optimizing algorithms to find the optimal parameters. Second, the network parameters suitable for image recognition / speech recognition may not be suitable for fault diagnosis, at least not optimal, and do not have mechanistic explainability. Summary of the invention

[0005] Based on this, it is necessary to provide a design method, device and equipment for a CNN model for bearing fault diagnosis in response to the above technical problems.

[0006] A design method of a CNN model for bearing fault diagnosis, the method comprising:

[0007] According to the geometric parameters and operating parameters of the tested bearing, the theoretical fault characteristic frequency value is calculated.

[0008] Determine the length of the input signal based on the theoretical fault characteristic frequency value and the sampling frequency.

[0009] The width and height of the input signal are determined according to the sampling frequency, the rotation frequency of the shaft, and the length of the input signal.

[0010] According to the exponential decay characteristics of the fault spike corresponding to each bearing fault category and the periodicity of the fault feature frequency distribution, the width and height of the convolution kernel in the corresponding channel are determined.

[0011] According to the number of bearing fault categories, the number of channels of the CNN model and the size parameters of each channel are determined to obtain the CNN model for bearing fault diagnosis.

[0012] The fault diagnosis samples of the bearing to be tested are input into the corresponding channels of the CNN model, and then the output results of all channels are fused through the fusion layer. The fusion results are processed in the output layer to obtain the bearing fault diagnosis results.

[0013] In one of the embodiments, the theoretical fault characteristic frequency value is calculated according to the geometric parameters and operating parameters of the measured bearing; the theoretical fault characteristic frequency value includes: outer ring fault characteristic frequency, inner ring fault characteristic frequency, ball fault characteristic frequency, and cage fault characteristic frequency.

[0014] In one embodiment, determining the length of the input signal according to the theoretical fault characteristic frequency value and the sampling frequency includes:

[0015] According to the theoretical fault characteristic frequency value and the sampling frequency, the calculation criteria for determining the length of the input signal are designed in the time domain and the frequency domain respectively, and the length of the input signal in the time domain and the length of the input signal in the frequency domain are determined; wherein the calculation criterion for the length of the input signal in the time domain is:

[0016]

[0017] Where L1 is the length of the input signal in the time domain, f BPFO , f BPFI , f BSF and f FTF They are the characteristic frequency of outer ring fault, inner ring fault, ball fault, and cage fault, respectively. λ is the adjustment factor, λ≥1, f s is the sampling frequency.

[0018] The calculation rule for the length of the input signal in the frequency domain is:

[0019]

[0020] Where L2 is the length of the input signal in the frequency domain, f FCF ∈{f BPFO , f BPFI , f BSF,f FTF}, i and j are the orders of the fault characteristic frequencies, where f FCF i≠f FCF ·j.

[0021] The length of the input signal is determined according to the length of the input signal in the time domain and the length of the input signal in the frequency domain; the length of the input signal is:

[0022] L s =max(L1,L2)

[0023] Among them, L s is the length of the input signal.

[0024] In one embodiment, determining the width and height of the input signal according to the sampling frequency, the rotation frequency of the shaft, and the length of the input signal includes:

[0025] According to the sampling frequency and the rotation frequency of the shaft, the width of the input signal is determined as:

[0026]

[0027] Among them, W s is the width of the input signal, f r is the rotation frequency of the shaft, f s is the sampling frequency, is the ceiling operator.

[0028] According to the length and width of the input signal, the height of the input signal is determined as:

[0029]

[0030] Among them, H s is the height of the input signal, L s is the length of the input signal.

[0031] In one embodiment, according to the exponential decay characteristics of the fault spike corresponding to each bearing fault category and the periodicity of the fault feature frequency distribution, the width and height of the convolution kernel in the corresponding channel are determined, including:

[0032] Collect the acceleration signals of the faulty bearing under different fault types.

[0033] The acceleration signal is preprocessed to obtain the acceleration signal of the bearing in a single fault cycle.

[0034] Calculate the outer envelope of the acceleration signal and fit it with an exponential function.

[0035] According to the different defined attenuation factors, the corresponding attenuation time and signal observation window are determined.

[0036] Calculate the number of sample points collected in the time window when the outer envelope decays from the peak value to the preset value, and use the collected sample points as the width of the convolution kernel; the preset value is ζA0, where A0 is the peak value of the outer envelope and ζ is the amplitude attenuation factor.

[0037] The height of the convolution kernel is determined according to the ratio of the theoretical fault characteristic frequency value to the rotation frequency of the shaft.

[0038] In one embodiment, determining the height of the convolution kernel according to the ratio of the theoretical fault characteristic frequency value to the rotation frequency of the shaft includes:

[0039] The ratio of the fault characteristic frequency to the rotation frequency of the shaft is calculated, and a set of positive integers p and q are found according to the ratio; the positive integer q is used as the height of the convolution kernel; wherein the difference between the quotient of the positive integer p divided by q and the ratio is not greater than a preset threshold.

[0040] In one embodiment, the width of the convolution kernel is:

[0041]

[0042] Among them, W k (ζ) is the width of the convolution kernel, t ζ is the time window in which the outer envelope decays from the peak value to the preset value, B ζ is the attenuation coefficient, f s is the sampling frequency, is the ceiling operator.

[0043] In one embodiment, according to the number of bearing fault categories, the number of channels of the CNN model and the size parameters of each channel are determined to obtain a CNN model for bearing fault diagnosis, including:

[0044] The number of channels of the CNN model is designed to be the number of bearing fault categories, and each channel corresponds to a bearing fault category; each channel consists of two convolution modules; the convolution module includes a convolution layer and a pooling layer.

[0045] According to each bearing fault category, the parameters of the convolution layer of the corresponding channel are designed, and the fusion layer and output layer after multiple channels are designed to obtain the CNN model for bearing fault diagnosis.

[0046] A design device for a CNN model for bearing fault diagnosis, the device comprising:

[0047] The theoretical fault characteristic frequency value calculation module is used to calculate the theoretical fault characteristic frequency value according to the geometric parameters and working condition parameters of the measured bearing.

[0048] The input signal parameter design module is used to determine the length of the input signal according to the theoretical fault characteristic frequency value and the sampling frequency; and to determine the width and height of the input signal according to the sampling frequency, the rotation frequency of the shaft and the length of the input signal.

[0049] The convolution kernel size design module is used to determine the width and height of the convolution kernel in the corresponding channel according to the exponential decay characteristics of the fault spike corresponding to each bearing fault category and the periodicity of the fault feature frequency distribution.

[0050] The network channel design module is used to determine the number of channels of the CNN model and the size parameters of each channel according to the number of bearing fault categories, so as to obtain the CNN model for bearing fault diagnosis.

[0051] The bearing fault diagnosis module is used to input the fault diagnosis samples of the bearing to be tested into the corresponding channel of the CNN model, and then fuse the output results of all channels through the fusion layer, and process the obtained fusion results in the output layer to obtain the bearing fault diagnosis results.

[0052] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0053] The above-mentioned design method, device and equipment of the CNN model for bearing fault diagnosis, the method first designs the length of the CNN model input signal based on the fault characteristic frequency and its resolution requirements; secondly, determines the width and size of the input signal based on the rotation frequency of the shaft; then, calculates the width of the convolution kernel based on the exponential decay characteristics of the fault spike; finally, determines the number of channels of the CNN model and the size parameters of each channel based on the number of fault categories. The CNN model design method proposed in the present invention can directly design the CNN model based on the fault characteristics, which will significantly improve the design efficiency of the CNN model and improve the interpretability of the network structure and parameters. In addition, when the CNN model designed by this method is used for bearing fault diagnosis, it has higher accuracy, smaller uncertainty and faster convergence speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic flow chart of a design method of a CNN model for bearing fault diagnosis in one embodiment;

[0055] Figure 2 A flow chart of designing the convolution kernel width in another embodiment;

[0056] Figure 3 A flow chart of convolution kernel height design in another embodiment;

[0057] Figure 4The structure of a CNN model in another embodiment;

[0058] Figure 5 : is a CNN performance analysis comparison chart in another embodiment, wherein (a) is the percentage of improvement of CNN performance by different improvement measures, and (b) is a performance comparison chart of the CNN model designed by the present method and the ordinary CNN model;

[0059] Figure 6 is a structural block diagram of a design device for a CNN model for bearing fault diagnosis in one embodiment;

[0060] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0062] In one embodiment, Figure 1 As shown, a design method of a CNN model for bearing fault diagnosis is provided, and the method comprises the following steps:

[0063] Step 100: Calculate the theoretical fault characteristic frequency value according to the geometric parameters and operating parameters of the measured bearing.

[0064] Specifically, in theory, the fault signal of rotating equipment has its inherent characteristics in the time-frequency domain. For example, when different components fail, corresponding different fault characteristic frequencies will appear in the acceleration spectrum.

[0065] Through the time-frequency domain analysis of the fault signal, the corresponding relationship between the structure and parameters of the CNN model and the fault characteristic frequency is established and used in the CNN structure and parameter design.

[0066] Step 102: Determine the length of the input signal according to the theoretical fault characteristic frequency value and the sampling frequency.

[0067] Specifically, the length of the input signal directly determines the amount of information contained in each sample, while the size of the input signal determines the distribution of the information. In order to design a reasonable sample length, this application proposes design criteria from the time domain and frequency domain respectively to calculate the length limit of the sample. Finally, the length of the sample is determined by the maximum value calculated by the two criteria.

[0068] The length of the input signal of the CNN model is determined by the frequency resolution requirements of the bearing fault characteristic frequency and the fault characteristic frequencies of different orders and types.

[0069] Step 104: Determine the width and height of the input signal according to the sampling frequency, the rotation frequency of the shaft, and the length of the input signal.

[0070] Specifically, in order to design the size of the sample, the present application proposes a sample width design method based on the rotation axis frequency, which can determine the optimal sample input size in combination with the sample length.

[0071] The width of the input signal to the CNN model is determined by the rotation frequency of the shaft.

[0072] Step 106: Determine the width and height of the convolution kernel in the corresponding channel according to the exponential decay characteristics of the fault spike corresponding to each bearing fault category and the periodicity of the fault feature frequency distribution.

[0073] Specifically, the size of the convolution kernel defines the receptive field of the convolution kernel, which directly affects the efficiency and effect of feature extraction. The fault signal of the bearing has its inherent characteristics in the time-frequency domain. In order to improve the efficiency of the convolution kernel in extracting features, a convolution kernel width design method based on the fault spike attenuation characteristics is proposed. The outer envelope of the fault bearing acceleration is fitted by an exponential function, and then different attenuation factors are defined to obtain the corresponding convolution kernel width. The height of the convolution kernel is determined by analyzing the distribution period of the fault feature spike in the sample.

[0074] In the time domain, the fault spike decays exponentially. Therefore, these fault mechanism characteristics should be considered when designing the network structure and parameters to improve the design efficiency of the CNN model and improve the interpretability of the network structure and parameters in terms of mechanism.

[0075] Step 108: According to the number of bearing fault categories, determine the number of channels of the CNN model and the size parameters of each channel to obtain a CNN model for bearing fault diagnosis.

[0076] Specifically, the number of channels of the network will also have an important impact on the performance of the network. In order to further improve the performance of the network, a multi-channel network structure design method is proposed, in which the number of channels is determined by the number of fault classification categories, and the convolution kernel parameters of each channel are calculated by the fault characteristic frequency of the fault type it handles. The results of the multiple channels are finally fused through the fusion layer, and the output layer finally realizes fault diagnosis.

[0077] The number of channels of the CNN model is determined by the number of fault categories of fault diagnosis, and each channel corresponds to a fault category of fault diagnosis.

[0078] The structure and main dimensional parameters of the CNN model are directly derived and designed from the fault mechanism, and a direct connection between each parameter and the fault characteristic frequency is established. The entire CNN network has good physical interpretability.

[0079] Step 110: Input the fault diagnosis sample of the bearing to be tested into the corresponding channel of the CNN model, then fuse the output results of all channels through the fusion layer, and process the obtained fusion result in the output layer to obtain the bearing fault diagnosis result.

[0080] Specifically, when the designed CNN model for bearing fault diagnosis is used for bearing fault diagnosis, the network has higher accuracy, smaller uncertainty, and faster convergence speed.

[0081] In the above-mentioned design method of the CNN model for bearing fault diagnosis, the method first designs the length of the CNN model input signal based on the fault characteristic frequency and its resolution requirements; secondly, the width and size of the input signal are determined based on the rotation frequency of the shaft; then, the width of the convolution kernel is calculated based on the exponential decay characteristics of the fault spike; finally, based on the number of fault categories, the number of channels of the CNN model and the size parameters of each channel are determined. The CNN model design method proposed in the present invention can directly design the CNN model based on the fault characteristics, which will significantly improve the design efficiency of the CNN model and improve the interpretability of the network structure and parameters. In addition, when the CNN model designed by this method is used for bearing fault diagnosis, it has higher accuracy, smaller uncertainty, and faster convergence speed.

[0082] In one embodiment, the theoretical fault characteristic frequency values ​​in step 100 include: outer race fault characteristic frequency, inner race fault characteristic frequency, ball fault characteristic frequency, and cage fault characteristic frequency.

[0083] Specifically, when different parts of the bearing fail, the corresponding fault characteristic frequency and its higher harmonics will appear in the acceleration spectrum. For example, when the outer race of the bearing fails, the corresponding fault characteristic frequency is the outer race fault characteristic frequency (Ball Passing Frequency of Outer race, abbreviated as: BPFO); when the inner race of the bearing fails, the corresponding fault characteristic frequency is the inner race fault characteristic frequency (Ball Passing Frequency of Inner race, abbreviated as: BPFI); when the bearing cage fails, the corresponding fault characteristic frequency is the cage fault characteristic frequency (Fundamental Train Frequency, abbreviated as: FTF); when the bearing ball fails, the corresponding fault characteristic frequency is the ball fault characteristic frequency (Ball Spin Frequency, abbreviated as: BSF). The calculation formulas for the above fault characteristic frequencies are as follows:

[0084]

[0085] Among them, fr is the rotation frequency of the shaft, d is the ball diameter of the bearing, D is the median diameter of the bearing, α is the initial contact angle of the bearing, and n is the number of balls in the bearing. Therefore, as long as the geometric parameters and operating parameters of the tested bearing are given, the four theoretical fault characteristic frequency values ​​can be calculated.

[0086] In one embodiment, step 102 includes: designing a calculation criterion for determining the length of the input signal in the time domain and the frequency domain according to the theoretical fault characteristic frequency value and the sampling frequency, and determining the length of the input signal in the time domain and the length of the input signal in the frequency domain; wherein the calculation criterion for determining the length of the input signal in the time domain is

[0087]

[0088] Where L1 is the length of the input signal in the time domain, f BPFO , f BPFI , f BSF and f FTF are the characteristic frequencies of outer ring fault, inner ring fault, ball fault and cage fault, respectively. λ is the adjustment factor, λ≥1, f s is the sampling frequency of acceleration. The specific calculation formulas for the outer ring fault characteristic frequency, inner ring fault characteristic frequency, ball fault characteristic frequency and cage fault characteristic frequency are given in equations (1) to (4).

[0089] The calculation rule for the length of the input signal in the frequency domain is:

[0090]

[0091] Where L2 is the length of the input signal in the frequency domain, f FCF ∈{f BPFO , f BPFI , f BSF ,f FTF}, i and j are the orders of the fault characteristic frequencies, where f FCF i≠f FCF ·j.

[0092] The length of the input signal is determined according to the length of the input signal in the time domain and the length of the input signal in the frequency domain; the length of the input signal is:

[0093] L s =max(L1,L2) (7)

[0094] Among them, L s is the length of the input signal.

[0095] Specifically, the length of the input signal directly determines the amount of information contained in each sample. If the length is too short, the sample contains too little information, which is not conducive to fault diagnosis. On the contrary, if the sample is too long, there will be information redundancy, which increases the time for network training and reasoning. Therefore, designing a suitable sample length is of great value for fault diagnosis.

[0096] In order to design a reasonable sample length, the present invention proposes two design criteria: ① In the time domain, the length of the sample should be greater than or equal to the number of sample points collected in a single fault cycle under any fault type. ② In the frequency domain, after the sample is subjected to spectrum transformation, the frequency resolution should be high enough to distinguish the characteristic frequencies of different faults under a given order.

[0097] Criterion ① is shown in formula (5); Criterion ② is shown in formula (6).

[0098] Based on the above two criteria, the length of the output signal can be finally determined as the maximum value between L1 and L2, that is, the input length of the sample should satisfy the above two design criteria at the same time, as shown in formula (7).

[0099] In one embodiment, step 104 includes: determining the width of the input signal according to the sampling frequency and the rotation frequency of the shaft:

[0100]

[0101] Among them, W s is the width of the input signal, f r is the rotation frequency of the shaft, f s is the sampling frequency, is the ceiling operator.

[0102] According to the length and width of the input signal, the height of the input signal is determined as:

[0103]

[0104] Among them, H s is the height of the input signal, L s is the length of the input signal.

[0105] Specifically, from formulas (1) to (4), it can be seen that different fault characteristic frequencies have a common component, namely, the rotation frequency f of the shaft r , which means that the signal collected within one rotation period of the shaft is the minimum period common to different fault types. Therefore, the width of the input signal is defined as the number of sample points collected within one rotation period of the shaft, and its calculation formula is shown in formula (8).

[0106] After determining the width W of the input signal sAfter that, combined with the length L of the input signal s , the height H of the input signal can be further determined s , and its calculation formula is shown in formula (9).

[0107] At this point, the size of the input signal can be determined as (W s , H s ).

[0108] In one embodiment, step 106 includes: collecting acceleration signals of the faulty bearing under different fault types; preprocessing the acceleration signal to obtain the acceleration signal of the bearing in a single fault cycle; calculating the outer envelope of the acceleration signal, and fitting the outer envelope with an exponential function; determining the corresponding attenuation time and signal observation window according to different defined attenuation factors; calculating the number of sample points collected within the time window when the outer envelope decays from the peak value to the preset value, and using the number of collected sample points as the width of the convolution kernel; the preset value is ζA0, where A0 is the peak value of the envelope and ζ is the amplitude attenuation factor; determining the height of the convolution kernel according to the ratio of the theoretical fault characteristic frequency value to the rotation frequency of the shaft.

[0109] In one embodiment, the width of the convolution kernel is:

[0110]

[0111] Among them, W k (ζ) is the width of the convolution kernel, t ζ is the time window in which the outer envelope decays from the peak value to the preset value, B ζ is the attenuation coefficient, f s is the sampling frequency, is the ceiling operator.

[0112] Specifically, the convolution kernel of the CNN model essentially extracts features of signals from different scales, and the size of the convolution kernel defines the receptive field range of the extracted features. Therefore, designing a reasonable convolution kernel size is crucial to improving the efficiency and effect of feature extraction.

[0113] like Figure 2 As shown, the convolution kernel design method proposed in this application includes 6 sub-steps. The contents of each sub-step will be introduced below:

[0114] (1) Collect the acceleration of the faulty bearing

[0115] Firstly, the acceleration signal of the bearing under different fault types is collected by an acceleration sensor. The acceleration sensor can be arranged in the bearing seat or mounted on the outer ring of the bearing by punching.

[0116] (2) Obtaining the signal of a single fault cycle

[0117] In order to analyze the acceleration response characteristics of the faulty bearing, the continuously collected acceleration is cut to obtain the acceleration of the bearing in a single fault cycle. The specific operation is to define the maximum value of the acceleration within a certain range (greater than one fault cycle, but less than two fault cycles) as the peak value of the outer envelope, and use the peak value as the starting point of each fault cycle. Then, based on the fault characteristic frequency and the sampling frequency of the acceleration, the number of fault cycle sampling points N under different fault types can be calculated. FCF , as shown in formula (11).

[0118]

[0119] Starting from the fault peak, the following N FCF -1 point is the sample point collected in one fault cycle, that is, the signal collected in a single fault cycle.

[0120] (3) Calculate the outer envelope of acceleration

[0121] Since the original acceleration often contains a lot of noise and the signal amplitude fluctuates greatly, it is not convenient to directly model it. Therefore, the present invention obtains the outer envelope of the acceleration, wherein only the positive part of the acceleration is considered when obtaining the outer envelope. Subsequent steps will also be solved based on the outer envelope of the signal.

[0122] (4) Use exponential function to fit the outer envelope

[0123] Since the acceleration response of the faulty bearing shows an exponential decay trend, after obtaining the outer envelope of the acceleration, the present invention uses the model of formula (12) to model the outer envelope of the acceleration.

[0124]

[0125] Among them, A0 is the peak value of the acceleration envelope, B ζ is the attenuation coefficient, ζ is the amplitude attenuation factor (0<ζ<1), t is the time, and A(t) is the envelope amplitude at time t.

[0126] (5) Define different attenuation factors

[0127] The time required for the fault peak to decay from the peak value A0 to different proportions is different, and the number of sample points collected in time windows of different sizes is also different. The larger the ζ is, the smaller the peak attenuation ratio is, and the narrower the corresponding signal window is; on the contrary, the smaller the ζ is, the larger the peak attenuation ratio is, and the wider the corresponding signal window is. Therefore, different sizes of signal observation windows can be obtained by defining different attenuation factors ζ, as shown in formula (13).

[0128]

[0129] (6) Calculate the convolution kernel width under different attenuation factors

[0130] Different attenuation factors correspond to different attenuation times and signal observation windows, representing the response characteristics of observing acceleration at different scales, which just corresponds to the receptive field of the convolution kernel. Therefore, the present invention proposes a convolution kernel width design method based on the attenuation factor, by calculating the number of sample points collected in the time window when the acceleration outer envelope decays from the peak value A0 to ζA0, and defining this value as the convolution kernel width. The specific calculation formula is shown in formula (10).

[0131] In one of the embodiments, the height of the convolution kernel is determined based on the ratio of the theoretical fault characteristic frequency value to the rotation frequency of the shaft, including: calculating the ratio of the fault characteristic frequency to the rotation frequency of the shaft, and finding a set of positive integers p and q based on the ratio; using the positive integer q as the height of the convolution kernel; wherein the difference between the quotient of the positive integer p divided by q and the ratio is not greater than a preset threshold.

[0132] Specifically, when the convolution kernel performs convolution operation with the input signal, it is generally performed in order from left to right and from top to bottom. For fault diagnosis, the convolution kernel extracts fault features within its receptive field, and for faulty bearings, the most important feature is the fault spike. In order to improve the accuracy of fault diagnosis, in theory, it should be ensured that at least one fault spike is included in each convolution operation. Therefore, in order to design a reasonable convolution kernel height, the present invention proposes an analysis method based on the distribution law of fault peaks. Figure 3 As shown, the sample points collected in each fault cycle can be calculated by formula (14), and the width of the input signal has been determined in step 3, and the specific value can be obtained by formula (15). In order to ensure that there is at least one fault peak in the receptive field of each convolution operation, theoretically, it should be satisfied that an integer number of fault cycles are exactly distributed in the integer rows of the input samples. This relationship can be expressed by a mathematical expression as formula (16), where p and q are both positive integers. Further deduction shows that the ratio of the positive integers p and q is exactly equal to the ratio of each fault characteristic frequency to the rotation frequency of the shaft. Therefore, the present application proposes a method for designing the height of the convolution kernel based on this ratio. Specifically, for different fault types, first calculate the ratio of the fault characteristic frequency to the shaft frequency, and then find two positive integers p and q so that As close to k as possible f ,Finally, the height of the convolution kernel can be designed to be q.

[0133]

[0134] p×N FCF =q×N r(16)

[0135]

[0136] Where p and q are both positive integers, k f It is the ratio of the fault characteristic frequency to the rotation frequency of the shaft.

[0137] In one embodiment, step 108 includes: designing the number of channels of the CNN model to be the number of bearing fault categories, each channel corresponding to a bearing fault category; each channel is composed of two convolution modules; wherein the convolution module includes a convolution layer and a pooling layer; designing the parameters of the convolution layer corresponding to the channel according to each bearing fault category, designing the fusion layer and output layer after multiple channels, and obtaining a CNN model for bearing fault diagnosis.

[0138] Specifically, in addition to parameter design, the network structure, especially the number of channels, will also affect the performance of the network. Therefore, the present invention proposes a multi-channel design method, the structure of which is as follows: Figure 4 As shown. Specifically, the number of channels n of the network is determined by the number of fault categories. For example, if there are 3 different types of faults in the samples to be classified, then n=3, and the number of channels for the remaining fault numbers is designed in the same way. Each channel consists of two convolution modules; the convolution module includes a convolution layer and a pooling layer; the parameters of the convolution layer are calculated by the type of fault processed by the channel, for example: channel 1 processes the outer circle fault, and the size of the convolution kernel is calculated by the characteristic frequency of the outer circle fault; channel 2 processes the inner circle fault, and its convolution kernel size is calculated by the characteristic frequency of the inner circle fault. The outputs of multiple channels are combined through the fusion layer, and finally the result is given by the output layer. The output layer can generally select softmax. For the sample size design under multiple channels, first calculate the length and size of the optimal input signal under each channel, and then take the maximum value of all channels as the input size of the entire network.

[0139] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0140] In a verification example, the performance of the CNN model designed by this method is compared with that of the common CNN model. Figure 5 As shown in the figure, (a) is the percentage of improvement of CNN performance by different improvement measures, and (b) is the performance comparison chart of the CNN model designed in this method and the ordinary CNN model. Figure 5 It can be found that the input signal size design, convolution kernel size design, and multi-channel design proposed by this method can effectively improve the fault diagnosis accuracy of the CNN model. The CNN designed based on this method has better performance than the conventional CNN in terms of accuracy, robustness, speed, and stability.

[0141] In one embodiment, Figure 6 As shown, a design device for a CNN model for bearing fault diagnosis is provided, comprising: a theoretical fault characteristic frequency value calculation module, an input signal parameter design module, a convolution kernel size design module, a network channel design module and a bearing fault diagnosis module, wherein:

[0142] The theoretical fault characteristic frequency value calculation module is used to calculate the theoretical fault characteristic frequency value according to the geometric parameters and working condition parameters of the measured bearing.

[0143] The input signal parameter design module is used to determine the length of the input signal according to the theoretical fault characteristic frequency value and the sampling frequency; and to determine the width and height of the input signal according to the sampling frequency, the rotation frequency of the shaft and the length of the input signal.

[0144] The convolution kernel size design module is used to determine the width and height of the convolution kernel in the corresponding channel according to the exponential decay characteristics of the fault spike corresponding to each bearing fault category and the periodicity of the fault feature frequency distribution.

[0145] The network channel design module is used to determine the number of channels of the CNN model and the size parameters of each channel according to the number of bearing fault categories, so as to obtain the CNN model for bearing fault diagnosis.

[0146] The bearing fault diagnosis module is used to input the fault diagnosis samples of the bearing to be tested into the corresponding channel of the CNN model, and then fuse the output results of all channels through the fusion layer, and process the obtained fusion results in the output layer to obtain the bearing fault diagnosis results.

[0147] In one embodiment, the theoretical fault characteristic frequency values ​​in the theoretical fault characteristic frequency value calculation module include: outer ring fault characteristic frequency, inner ring fault characteristic frequency, ball fault characteristic frequency, and cage fault characteristic frequency.

[0148] In one embodiment, the input signal parameter design module is further used to design a calculation criterion for determining the length of the input signal in the time domain and the frequency domain according to the theoretical fault characteristic frequency value and the sampling frequency, and determine the length of the input signal in the time domain and the length of the input signal in the frequency domain; wherein the length of the input signal in the time domain is as shown in formula (5). The length of the input signal in the frequency domain is as shown in formula (6); the maximum value of the length of the input signal in the time domain and the length of the input signal in the frequency domain is taken as the length of the input signal.

[0149] In one embodiment, step 104 includes: determining the width of the input signal as shown in formula (8) based on the sampling frequency and the rotation frequency of the shaft; and determining the height of the input signal as shown in formula (9) based on the length and width of the input signal.

[0150] In one of the embodiments, the convolution kernel size design module is also used to collect acceleration signals of a faulty bearing under different fault types; preprocess the acceleration signal to obtain the acceleration signal of the bearing in a single fault cycle; calculate the outer envelope of the acceleration signal, and fit the outer envelope with an exponential function; determine the corresponding attenuation time and signal observation window according to different defined attenuation factors; calculate the number of sample points collected within the time window when the outer envelope decays from the peak value to the preset value, and use the number of collected sample points as the width of the convolution kernel; the preset value is ζA0, where A0 is the peak value of the outer envelope and ζ is the amplitude attenuation factor; determine the height of the convolution kernel according to the ratio of the theoretical fault characteristic frequency value to the rotation frequency of the shaft.

[0151] In one of the embodiments, the convolution kernel size design module is also used to calculate the ratio of the fault characteristic frequency to the rotation frequency of the shaft, and to find a set of positive integers p and q based on the ratio; the positive integer q is used as the height of the convolution kernel; wherein the difference between the quotient of the positive integer p divided by q and the ratio is not greater than a preset threshold.

[0152] In one embodiment, the width of the convolution kernel in the convolution kernel size design module is as shown in formula (10).

[0153] In one of the embodiments, the network channel design module is also used to design the number of channels of the CNN model to be the number of bearing fault categories, and each channel corresponds to a bearing fault category; each channel is composed of two convolution modules; wherein the convolution module includes a convolution layer and a pooling layer; the parameters of the convolution layer corresponding to the channel are designed according to each bearing fault category, and the fusion layer and output layer after multiple channels are designed to obtain a CNN model for bearing fault diagnosis.

[0154] The specific definition of the design device of the CNN model for bearing fault diagnosis can be found in the definition of the design method of the CNN model for bearing fault diagnosis mentioned above, which will not be repeated here. Each module in the above-mentioned design device of the CNN model for bearing fault diagnosis can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0155] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a design method of a CNN model for bearing fault diagnosis is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0156] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0157] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the above method embodiment when executing the computer program.

[0158] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0159] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A design method for a CNN model for bearing fault diagnosis, characterized in that: The method comprises: Calculate the theoretical fault characteristic frequency value according to the geometric parameters and working condition parameters of the tested bearing; Determining the length of the input signal according to the theoretical fault characteristic frequency value and the sampling frequency; Determine the width and height of the input signal according to the sampling frequency, the rotation frequency of the rotating shaft and the length of the input signal; According to the exponential decay characteristics of the fault spike corresponding to each bearing fault category and the periodicity of the fault feature frequency distribution, the width and height of the convolution kernel in the corresponding channel are determined; According to the number of bearing fault categories, the number of channels of the CNN model and the size parameters of each channel are determined to obtain a CNN model for bearing fault diagnosis; The fault diagnosis samples of the bearing to be tested are input into the corresponding channels of the CNN model, and then the output results of all channels are fused through the fusion layer. The fusion results are processed in the output layer to obtain the bearing fault diagnosis results.

2. The method according to claim 1, characterized in that Calculate the theoretical fault characteristic frequency value according to the geometric parameters and working condition parameters of the tested bearing; The theoretical fault characteristic frequency values ​​include: outer ring fault characteristic frequency, inner ring fault characteristic frequency, ball fault characteristic frequency, and cage fault characteristic frequency.

3. The method according to claim 1, characterized in that Determining the length of the input signal according to the theoretical fault characteristic frequency value and the sampling frequency includes: According to the theoretical fault characteristic frequency value and the sampling frequency, calculation criteria for determining the length of the input signal are designed in the time domain and the frequency domain respectively, and the length of the input signal in the time domain and the length of the input signal in the frequency domain are determined; wherein the calculation criterion for the length of the input signal in the time domain is: Where L1 is the length of the input signal in the time domain, f BPFO , f BPFI , f BSF and f ETF They are the characteristic frequency of outer ring fault, inner ring fault, ball fault, and cage fault, respectively. λ is the adjustment factor, λ≤1, f s is the sampling frequency; The calculation rule of the length of the input signal in the frequency domain is: Where L2 is the length of the input signal in the frequency domain, f ECF ∈{f BPFO , f BPFI , f BSF , f ETF }, i and j are the orders of the fault characteristic frequency, among which, f ECF i≠f ECF ·j; The length of the input signal is determined according to the length of the input signal in the time domain and the length of the input signal in the frequency domain; the length of the input signal is: L s =max(L1,L2) Among them, L s is the length of the input signal.

4. The method according to claim 1, characterized in that: Determining the width and height of the input signal according to the sampling frequency, the rotation frequency of the shaft, and the length of the input signal includes: According to the sampling frequency and the rotation frequency of the shaft, the width of the input signal is determined as: Among them, W s is the width of the input signal, f r is the rotation frequency of the shaft, f s is the sampling frequency, is the ceiling operator; According to the length and width of the input signal, the height of the input signal is determined as: Among them, H s is the height of the input signal, L s is the length of the input signal.

5. The method according to claim 1, characterized in that: According to the exponential decay characteristics of the fault spike corresponding to each bearing fault category and the periodicity of the fault feature frequency distribution, the width and height of the convolution kernel in the corresponding channel are determined, including: Collect acceleration signals of faulty bearings under different fault types; Preprocessing the acceleration signal to obtain an acceleration signal of the bearing within a single fault cycle; Calculating the outer envelope of the acceleration signal and fitting the outer envelope with an exponential function; According to the different defined attenuation factors, the corresponding attenuation time and signal observation window are determined; Calculate the number of sample points collected within the time window when the outer envelope decays from the peak value to the preset value, and use the number of sample points collected as the width of the convolution kernel; the preset value is ζA0, where A0 is the peak value of the outer envelope and ζ is the amplitude attenuation factor; The height of the convolution kernel is determined according to the ratio of the theoretical fault characteristic frequency value to the rotation frequency of the shaft.

6. The method according to claim 5, characterized in that According to the ratio of the theoretical fault characteristic frequency value to the rotation frequency of the shaft, the height of the convolution kernel is determined, including: Calculate the ratio of the fault characteristic frequency to the rotation frequency of the shaft, and find a set of positive integers p and q according to the ratio; use the positive integer q as the height of the convolution kernel; wherein the difference between the quotient of the positive integer p divided by q and the ratio is not greater than a preset threshold.

7. The method according to claim 5, characterized in that The width of the convolution kernel is: Among them, W k (ζ) is the width of the convolution kernel, t ζ is the time window in which the outer envelope decays from the peak value to the preset value, B ζ is the attenuation coefficient, f s is the sampling frequency, is the ceiling operator.

8. The method according to claim 1, characterized in that According to the number of bearing fault categories, the number of channels of the CNN model and the size parameters of each channel are determined, and the CNN model for bearing fault diagnosis is obtained, including: The number of channels of the CNN model is designed to be the number of bearing fault categories, and each channel corresponds to a bearing fault category; each channel is composed of two convolution modules; wherein the convolution module includes a convolution layer and a pooling layer; According to each bearing fault category, the parameters of the convolution layer of the corresponding channel are designed, and the fusion layer and output layer after multiple channels are designed to obtain the CNN model for bearing fault diagnosis.

9. A design device for a CNN model for bearing fault diagnosis, characterized in that: The device comprises: Theoretical fault characteristic frequency value calculation module, used to calculate the theoretical fault characteristic frequency value according to the geometric parameters and working condition parameters of the tested bearing; An input signal parameter design module, used to determine the length of the input signal according to the theoretical fault characteristic frequency value and the sampling frequency; and to determine the width and height of the input signal according to the sampling frequency, the rotation frequency of the shaft and the length of the input signal; The convolution kernel size design module is used to determine the width and height of the convolution kernel in the corresponding channel according to the exponential decay characteristics of the fault spike corresponding to each bearing fault category and the periodicity of the fault feature frequency distribution; A network channel design module is used to determine the number of channels of the CNN model and the size parameters of each channel according to the number of bearing fault categories, so as to obtain a CNN model for bearing fault diagnosis; The bearing fault diagnosis module is used to input the fault diagnosis samples of the bearing to be tested into the corresponding channels of the CNN model, and then fuse the output results of all channels through the fusion layer, and process the obtained fusion results in the output layer to obtain the bearing fault diagnosis results.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • ELCNN-based rotating machine fault diagnosis method and system

    CN117473369A

  • Method and system for fault diagnosis of rolling bearing

    GB202302142D0

  • Deep hybrid convolutional neural network for fault diagnosis of wind turbine gearboxes

    US11220999B1

Cited By

  • Control method for water pump provided with bearing connection device

    CN120444258A

  • Control method of water pump with bearing connection device

    CN120444258B