Rolling bearing fault diagnosis method and system based on FPGA to implement improved spectral kurtosis algorithm

By implementing an improved spectral kurtosis algorithm for parallel filtering and multiplexing kurtosis index calculation on FPGA, the real-time and power consumption problems of rolling bearing fault diagnosis methods in the existing technology are solved, and efficient fault judgment and low-power consumption are achieved. System design.

CN118277912BActive Publication Date: 2024-09-06BEIJING UNIV OF CIVIL ENG & ARCHITECTURE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410695831.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-06
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

Existing rolling bearing fault diagnosis methods have major shortcomings in real-time performance, portability and power consumption. Especially in FPGA implementation, the practice of spectral kurtosis algorithm is limited and the calculation is complex.

Method used

By implementing the improved spectral kurtosis algorithm on FPGA, using parallel FIR filters for signal filtering, reusing the kurtosis index module to calculate the kurtosis value, and using Hilbert transform and Fourier transform algorithms to obtain the envelope spectrum, This can determine the type of bearing failure, reduce system power consumption and improve real-time performance.

Benefits of technology

It achieves efficient diagnosis of bearing faults, is suitable for industrial environments, reduces system power consumption, and improves data real-time and computing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118277912B
    Figure CN118277912B
Patent Text Reader

Abstract

The present invention relates to the technical field of fault diagnosis, and discloses a rolling bearing fault diagnosis method and system using FPGA to implement an improved spectrum kurtosis algorithm, including: collecting monitoring data of rolling bearings and performing bandpass filtering; calculating the kurtosis index of the filtered data, determining the optimal center frequency and bandwidth according to the kurtosis index, and obtaining the envelope signal; calculating the frequency of the index and judging the fault based on the characteristic frequency result of the optimal frequency band. The bearing signal that may have a fault can be filtered in parallel, and then the kurtosis index module is reused to calculate the kurtosis value, and the optimal filtering component is selected and sent to the resonance demodulation module to obtain the envelope spectrum of the signal, and the characteristic frequency of the bearing is obtained, and then the fault type of the bearing is judged. It is more suitable for bearing fault diagnosis and has excellent effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of fault diagnosis, and in particular to a rolling bearing fault diagnosis method and system using FPGA to implement an improved spectral kurtosis algorithm. Background Art

[0002] In the field of rolling bearing fault diagnosis, researchers have proposed many classic vibration signal processing theories in recent years. For example, Dwyer[1] proposed the spectral kurtosis (SK) algorithm in 1983, which can indicate the non-Gaussian components in the signal and their positions in the frequency domain. However, the paper did not receive much attention at the time due to its bias towards theory. In 1998, HUANG[2] proposed an adaptive non-stationary signal research method based on empirical mode decomposition (EMD). Since then, signal decomposition has become a hot topic in the field. However, EMD calculation of local extreme points will lead to edge effects, and lacks rigorous mathematical theory. It can only analyze low-noise signals such as ECG, but has weak adaptability to complex signals such as bearings. In 2004, Antoni[3] described the SK theory in detail based on short-time Fourier transform (STFT), indicating that SK can be used as a filter to restore randomly generated signals that are severely damaged by additive stationary noise, and began to be widely studied by scholars. In 2006, Antoni[4] conducted an in-depth study on the application of the SK algorithm in fault diagnosis, introduced the kurtosis evaluation index, calculated the kurtosis value of the signal in the time domain, to indicate the optimal filtering band of the STFT, and called it the Kurtogram algorithm. It was found that the SK method is more suitable for the field of bearing fault diagnosis than the EMD, but the calculation of this method is more complicated and is greatly affected by Gaussian noise. In 2007, Antoni[5] implemented a fast Kurtosis algorithm by constructing a tree filter group to perform bandpass filtering to downsample the signal, but the downsampling operation will lose some important features of the signal. In 2011, Barszcz[6] proposed the Kurtogram algorithm to address the above problems. A fixed window function is set in the frequency domain, and the signal is repeatedly transformed in the time-frequency domain to obtain the kurtosis value of the signal in the frequency domain. According to the kurtosis value, the corresponding parameters of the bandpass filter are indicated, and the original signal is filtered in the time domain. The calculation amount of this method is several times larger than that of Kurtogram. In 2011, Wang[7] proposed an adaptive method based on Protrugram, which can perform window superposition according to the kurtosis value in the frequency domain. The optimal filter frequency band found is more precise, but the amount of calculation increases accordingly.

[0003] The theory of fault diagnosis signal processing algorithms has laid a very important foundation. In the era of automation and intelligence in the industrial age, how to deploy these algorithms in embedded hardware has become an urgent problem to be solved. Among embedded hardware, FPGA is unique due to its powerful parallel computing capabilities. In 2008, Alejandro[8] implemented online automatic diagnosis of asynchronous motor rotor bar breakage by deploying discrete wavelet transform in FPGA. In 2011, Lee[9] implemented the hardware deployment of the EMD algorithm through the FPGA+DSP architecture. Due to the limited performance of FPGA at that time and the complexity of EMD algorithm calculation, most of the mathematical operations were transferred to DSP for processing. It was not until 2016 that Chen

[10] implemented the EMD algorithm with an independent FPGA architecture. The implementation of the SK algorithm in the FPGA field is almost blank. Only in 2019, Cifredo

[11] implemented the spectral kurtosis algorithm in the FPGA+CPU mode and used it for power grid monitoring. However, the FPGA development used the earliest VHDL language, which is complex and abstract. Summary of the invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problem solved by the present invention is that the existing rolling bearing fault diagnosis method has great defects in real-time performance, portability and power consumption.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a rolling bearing fault diagnosis method using an improved spectral kurtosis algorithm implemented by FPGA, comprising:

[0007] Collect monitoring data of rolling bearings and perform bandpass filtering;

[0008] Calculate the kurtosis index of the filtered data, determine the best center frequency and bandwidth based on the kurtosis index, and then obtain the envelope signal;

[0009] Based on the characteristic frequency result of the best frequency band, the frequency of the index is calculated and the fault is judged.

[0010] As a preferred solution of the rolling bearing fault diagnosis method using FPGA to implement the improved spectral kurtosis algorithm described in the present invention, the monitoring data includes collecting vibration signals through acceleration sensors, and for bearing fault signals in industrial environments , defined as a fault signal With additive noise sum:

[0011]

[0012] In the early stage of rotating machinery failure, clearance, looseness, peeling and cracks cause structural resonance. A reasonable explanation is:

[0013] ,

[0014] in, represents the impulse response produced by a single shock; and is a sequence of random variables, represents the random amplitude of the shock, represents the randomness of the noise signal, Represents the random noise of mechanical equipment.

[0015] As a preferred solution of the rolling bearing fault diagnosis method using FPGA to implement the improved spectral kurtosis algorithm described in the present invention, the monitoring data is input into a bandpass filter group for filtering;

[0016] The bandpass filter group includes a sliding window filter with a bandwidth of 1000 Hz, a center frequency of 500 Hz, and a step length of 500 Hz; the signal is parallel filtered by subdividing the sliding window filter into a parallel bandpass filter group; assuming that the window filtering time of each window of the sliding window filter is T, the total time consumed by the sliding window filter is nT, and the calculation time of the filter group after optimization is only T;

[0017] The bandpass filter bank is expressed as:

[0018] ,

[0019] in, represents each group of bandpass filtered signals, represents the filter coefficient, i represents the current index value, and n represents the number of filters in the filter group. represents the frequency response of the filter, Represents the coefficients of the i-th group of filters.

[0020] As a preferred solution of the rolling bearing fault diagnosis method using FPGA to implement the improved spectral kurtosis algorithm described in the present invention, wherein: the kurtosis index is a time domain index for measuring the impact of the signal;

[0021] Through the kurtosis index multiplexing module, the kurtosis index of each group of signals band-pass filtered by the filter bank is calculated in parallel, and the results are stored in a FIFO storing the kurtosis index;

[0022] In the calculation of the kurtosis index, the input signal First, make a FIFO cache. When the 2048-point signal is fully input and summed, pull up the FIFO enable and send the data to the subtractor IP core for subtraction in sequence. Then define a new register. Every time the subtractor has a value output, send it to the multiplier IP for pipeline square processing. The square value The numerator and denominator are sent to the next level calculation circuit respectively;

[0023] The calculation of the numerator is to add a multiplier IP to square it, and then Sum and then use shift to find the average. For the denominator, change the operation steps, first sum, shift, and finally square.

[0024] Finally, the numerator and denominator are sent to the divider IP. When the output enable is pulled high, the kurtosis indicator Kurtosis is valid and a calculation result is obtained.

[0025] It is expressed as:

[0026] ,

[0027] Where n represents the number of input signals, i represents the index of the input signal, represents the i-th input signal, Indicates the average value of the input signal.

[0028] As a preferred solution of the rolling bearing fault diagnosis method using FPGA to implement the improved spectral kurtosis algorithm described in the present invention, wherein: the filter data of each filter channel in the bandpass filter group is cached in a corresponding FIFO through a signal buffer group;

[0029] After the cache is completed, the data is traversed and compared, and the signal FIFO data corresponding to the maximum kurtosis value is determined through the delay index;

[0030] The selection and calculation of the kurtosis index is expressed as: Among them, K cur [...] indicates that the kurtosis index of each group of signals is currently calculated;

[0031] Pull up the read enable of the max(K) signal FIFO, enter the envelope demodulation module to obtain the characteristic frequency of the signal, and determine the bearing fault type based on the frequency value.

[0032] As a preferred solution of the rolling bearing fault diagnosis method using FPGA to implement the improved spectral kurtosis algorithm described in the present invention, wherein: the envelope signal includes: using FIR filter to implement the Hilbert transform of FPGA, calling the IP core of the FIR filter, the IP core correlation coefficient is generated by MATLAB, using the FadTool toolbox of MATLAB to generate a coe file, adding the coe file to the IP core, and realizing the Hilbert transform of the signal x(t). After the signal is Hilbert transformed, the negative frequency component of the signal is positively shifted by 90°, and the positive frequency component is negatively shifted by 90°;

[0033] Connect the two signals to the multiplier IP core to obtain the square sum z(t) of the two signals, and then connect z(t) to the cordic IP core for square root operation to obtain the modulus of the analytical signal, thereby obtaining the envelope signal;

[0034] By directly calling the FFT IP core, the envelope signal is connected to the FFT IP core, and finally the envelope spectrum is obtained.

[0035] As a preferred solution of the rolling bearing fault diagnosis method using FPGA to implement the improved spectral kurtosis algorithm described in the present invention, wherein: the bearing fault types include outer ring fault, inner ring fault and rolling element fault;

[0036] The theoretical characteristic frequency is calculated through the rotation speed and the geometric dimensions of the bearing, and the corresponding spectrum line is found from the envelope spectrum;

[0037] Outer race fault frequency: ,

[0038] Inner race fault frequency: ,

[0039] Rolling element failure frequency: ,

[0040] Shaft rotation frequency: ,

[0041] Where n represents the number of revolutions, Z represents the number of rollers, d represents the roller diameter, D represents the median diameter, and a represents the contact angle;

[0042] The characteristic frequency of the envelope spectrum is calculated: the X-axis coordinate is the frequency index of the FFT IP core, and the frequency calculation formula of the index is: ,

[0043] in, Indicates the corresponding frequency index, N indicates the number of sampling points, Indicates the sampling rate of the bearing signal;

[0044] Matching the characteristic frequency with the fault matching table, and outputting the fault type according to the matching result;

[0045] The fault matching table includes a record of the physical dimensions of the bearing and the characteristic frequency range corresponding to the fault. If the characteristic frequency is within the range of the fault type, the fault type is output.

[0046] A rolling bearing fault diagnosis system using an FPGA to implement an improved spectral kurtosis algorithm according to any of the methods described in the present invention, wherein:

[0047] The bandpass filter bank module filters the signal in parallel by subdividing the sliding window filter into parallel bandpass filter banks;

[0048] The kurtosis index multiplexing module performs parallel kurtosis index calculation on each group of signals bandpass filtered by the filter bank, and stores the results in a FIFO storing kurtosis index;

[0049] The envelope demodulation module uses Hilbert transform and Fourier transform algorithms to calculate the envelope spectrum;

[0050] The fault judgment module calculates the frequency of the index and judges the fault according to the envelope spectrum.

[0051] A computer device comprises: a memory and a processor; the memory stores a computer program, wherein: the processor implements the steps of any one of the methods of the present invention when executing the computer program.

[0052] A computer-readable storage medium stores a computer program, wherein: when the computer program is executed by a processor, the steps of any one of the methods of the present invention are implemented.

[0053] Beneficial effects of the present invention: The rolling bearing fault diagnosis method of the improved spectral kurtosis algorithm implemented by the FPGA provided by the present invention can perform parallel filtering on the bearing signal that may currently have a fault through a group of parallel FIR filters, and then reuse the kurtosis index module to calculate the kurtosis value, select the best filtering component, and send it to the resonance demodulation module to obtain the envelope spectrum of the signal, and obtain the characteristic frequency of the bearing, and then determine the fault type of the bearing. It is more suitable for bearing fault diagnosis and has excellent results. Only FPGA independent architecture is used for development, and the programming language used is Verilog. The data real-time performance is more efficient, and the system power consumption is saved to the greatest extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0055] Figure 1 The overall flow chart of the rolling bearing fault diagnosis method using an improved spectral kurtosis algorithm implemented by FPGA provided in the first embodiment of the present invention;

[0056] Figure 2 An improved spectral kurtosis algorithm FPGA system block diagram of a rolling bearing fault diagnosis method using an improved spectral kurtosis algorithm implemented by FPGA provided in the first embodiment of the present invention;

[0057] Figure 3 A kurtosis index RTL level flow chart of a rolling bearing fault diagnosis method using an improved spectral kurtosis algorithm implemented by FPGA provided in the first embodiment of the present invention;

[0058] Figure 4 A block diagram of an envelope demodulation module of a rolling bearing fault diagnosis method using an improved spectral kurtosis algorithm implemented by FPGA provided in the first embodiment of the present invention;

[0059] Figure 5 FPGA-implemented envelope extraction of a rolling bearing fault diagnosis method using an improved spectral kurtosis algorithm implemented by FPGA provided in the first embodiment of the present invention;

[0060] Figure 6 The envelope diagram of the MATLAB 3000-4000 Hz filtered signal in the rolling bearing fault diagnosis method using the improved spectral kurtosis algorithm implemented by FPGA provided in the second embodiment of the present invention;

[0061] Figure 7 An envelope diagram of a 3000-4000 Hz filtered signal of an FPGA in a rolling bearing fault diagnosis method using an improved spectral kurtosis algorithm implemented by an FPGA according to a second embodiment of the present invention;

[0062] Figure 8 The envelope spectrum of the unfiltered signal with MATLAB noise added in the rolling bearing fault diagnosis method using the improved spectral kurtosis algorithm implemented by FPGA provided in the second embodiment of the present invention;

[0063] Fig. 9 The envelope spectrum of the MATLAB 3000-4000 Hz filtered signal in the rolling bearing fault diagnosis method using the improved spectral kurtosis algorithm implemented by FPGA provided in the second embodiment of the present invention;

[0064] Fig.10 The envelope spectrum of the FPGA 3000-4000 Hz filtered signal in the rolling bearing fault diagnosis method using the improved spectral kurtosis algorithm implemented by the FPGA provided in the second embodiment of the present invention;

[0065] Fig.11 The envelope spectrum of the unfiltered signal with MATLAB noise added in the rolling bearing fault diagnosis method using the improved spectral kurtosis algorithm implemented by FPGA provided in the second embodiment of the present invention;

[0066] Fig.12 The envelope spectrum of the MATLAB 3000-4000 Hz filtered signal in the rolling bearing fault diagnosis method using the improved spectral kurtosis algorithm implemented by FPGA provided in the second embodiment of the present invention;

[0067] Fig.13 The envelope spectrum of the FPGA 3000-4000 Hz filtered signal in the rolling bearing fault diagnosis method using the improved spectral kurtosis algorithm implemented by the FPGA provided in the second embodiment of the present invention;

[0068] Fig.14 The envelope spectrum of the MATLAB 1000-2000 Hz filtered signal in the rolling bearing fault diagnosis method using the improved spectral kurtosis algorithm implemented by FPGA provided in the second embodiment of the present invention;

[0069] Fig.15 The envelope spectrum of the FPGA 1000-2000 Hz filtered signal in the rolling bearing fault diagnosis method using the improved spectral kurtosis algorithm implemented by FPGA provided in the second embodiment of the present invention. DETAILED DESCRIPTION

[0070] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention. Example 1

[0071] Reference Figure 1 - Figure 5 , which is an embodiment of the present invention, provides a rolling bearing fault diagnosis method using an improved spectral kurtosis algorithm implemented by FPGA, comprising:

[0072] S1: Collect monitoring data of rolling bearings and perform bandpass filtering.

[0073] Furthermore, the monitoring data includes collecting vibration signals through acceleration sensors; bearing fault signals in industrial environments , defined as a fault signal With additive noise sum:

[0074] In the early stage of rotating machinery failure, clearance, looseness, peeling and cracks cause structural resonance. A reasonable explanation is: ,

[0075] in, represents the impulse response produced by a single shock; and is a sequence of random variables, represents the random amplitude of the shock, represents the randomness of the noise signal, Represents the random noise of mechanical equipment.

[0076] It is important to know that any collected signal contains noise. Whether it is a bearing or other signal, it is impossible to collect a pure signal. For example, resonance or looseness of other components will be collected when the machine is running. Considering these noises can make the prediction results more accurate.

[0077] It should be noted that the original spectral kurtosis theory divides the signal into frequency domains, sets a fixed frequency bandwidth to decompose the signal and calculate the spectral kurtosis, selects the best bandpass frequency, and returns the parameter to the bandpass filter in the time domain for the best bandpass filtering. After filtering, the envelope is demodulated to obtain the characteristic frequency points of the signal. Compared with the kurtosis index, the spectral kurtosis algorithm can detect the non-stationary components in the signal, indicate the frequency of transients, has stronger robustness, and can complete bearing fault diagnosis in a stronger noise environment.

[0078] The kurtosis of the original spectral kurtosis theory can be expressed as:

[0079] ,

[0080] in, represents the mean, represents the standard deviation, represents mathematical expectation.

[0081] In order to locate transient or hidden non-stationarity, the spectral kurtosis (SK) of the signal is extended. The SK based on the short-time Fourier transform (STFT) is defined as the normalized fourth-order spectrum, which is a frequency domain calculation method that can represent the impact changes of the signal in time and frequency:

[0082] ,

[0083] in, Indicates signal of Envelope, is the time averaging operator, Window representing the analysis frequency band.

[0084] In the FPGA implementation process, a filter bank implementation scheme for refining bandwidth and center frequency in the time domain is proposed to replace the method of finding the optimal bandwidth and center frequency in the frequency domain, which can reduce a lot of complex calculations. The theoretical steps for hardware implementation of the improved spectral kurtosis algorithm are to use a fixed center frequency and bandwidth A set of filters is established in this way. The collected time-domain bearing signals are first band-pass filtered and then the envelope signal is obtained. The kurtosis index of each time-domain signal is then calculated. The optimal center frequency and bandwidth are determined based on the kurtosis index. This method is named DSK. At the same time, based on the superior parallel computing capability of FPGA, the computing speed is greatly improved while improving the system accuracy.

[0085] The mathematical theory of the DSK algorithm converts the original frequency domain calculation into a parallel filter group in the time domain. The monitoring data is input into the bandpass filter group for filtering;

[0086] The bandpass filter group includes a sliding window filter with a bandwidth of 1000 Hz, a center frequency of 500 Hz, and a step length of 500 Hz. However, the sliding window step will consume a lot of computing time depending on the length of the signal. Considering the parallel computing capability of FPGA, the signal can be filtered in parallel by subdividing the sliding window filter into a parallel bandpass filter group. The sliding window filter of each window takes T time for each window filtering, and the total time consumed by the sliding window filter is nT. After optimization, the calculation time of the filter group is only T, which can be more effective in real-time fault diagnosis. However, the design of this method requires comprehensive consideration of the FPGA's logic resource pool and data throughput, which is a way to obtain computing efficiency at the expense of hardware resources. Since Xilinx encapsulates the FIR IP core, users can complete the filtering by importing the relevant filter coefficients, which saves a lot of on-chip LUT and DSP resources compared to the Verilog implementation. For rolling bearing equipment with a signal sampling rate of 12KHz, according to the Nyquist second criterion, in order to cover the full frequency band, the parallel FIR bandpass filter groups are designed as 1-1000Hz, 500-1500Hz, 1000-2000Hz, 1500-2500 Hz, 2000-3000 Hz, 2500-3500 Hz, 3000-4000 Hz, 3500-4500 Hz, 4000-5000Hz, 4500-5500 Hz, 5000-5999 Hz, a total of eleven groups, to perform parallel bandpass filtering on the input 16-bit signal.

[0087] The calculation time of the optimized filter bank is only t. The filter bank can be expressed as:

[0088] ,

[0089] in, For each group of bandpass filtered signals, is the filter coefficient, i is the current index value, n is the number of filters in the filter bank, is the frequency response of the filter.

[0090] S2: Calculate the kurtosis index of the filtered data, determine the best center frequency and bandwidth based on the kurtosis index, and then obtain the envelope signal.

[0091] The kurtosis index is a time domain index for measuring the impact of a signal. Through the kurtosis index multiplexing module, the kurtosis index of each group of signals band-pass filtered by the filter bank is calculated in parallel, and the result is stored in a FIFO for storing the kurtosis index;

[0092] In the calculation of the kurtosis index, the input signal First, make a FIFO cache. When the 2048-point signal is fully input and summed, pull up the FIFO enable and send the data to the subtractor IP core for subtraction in sequence. Then define a new register. Every time the subtractor has a value output, send it to the multiplier IP for pipeline square processing. The square value The calculation of the numerator is to add a multiplier IP to perform a quadratic square, and then Sum, and finally use shift to complete the average; for the denominator, change the operation steps, first sum, shift, and finally square. Finally, send the numerator and denominator to the divider IP. When the output enable is pulled high, the kurtosis indicator Kurtosis is effective, and a calculation result is obtained; see the specific RTL implementation Figure 3 Kurtosis_MUX is a multiplexing module for the kurtosis index. It performs parallel kurtosis index calculations on each group of signals that have been bandpass filtered by the filter bank, and stores the results in a FIFO that stores the kurtosis index. The design process of the kurtosis index is shown above. Figure 3 The design focus is to control the output delay (latency) of IP cores such as adders and multipliers. It is recommended to follow the recommended delay of Xilinx IP cores to ensure the accuracy of each data as much as possible.

[0093] It is expressed as:

[0094] ,

[0095] Where n represents the number of input signals, i represents the index of the input signal, represents the i-th input signal, Indicates the average value of the input signal.

[0096] It should be said that since the filtering is performed in real time on 11 channels, a signal buffer group is designed to cache the corresponding FIFO for the filtered data of each channel. This part is configured with 11 FIFO IP cores with a 16-bit width and a depth of 2048 to complete the construction. At the same time, each group of filtered signals must enter the kurtosis index multiplexing module (kurtosis_MUX) to calculate the kurtosis value, which is also calculated in parallel on 11 channels. Therefore, the data still needs a FIFO for cache, which is constructed by a 128-bit, 8-depth FIFO. Since the 11 kurtosis values ​​are also output at the same time, and the data input of the FIFO is a single operation, the delayed data is opened in sequence from small to large according to the bandwidth and cached in the FIFO. After the cache is completed, the data is traversed and compared, and the signal FIFO data corresponding to the maximum kurtosis value is determined by the delay index, and then the read enable of this signal FIFO is raised, and the envelope demodulation module (Envelope_spectrum) is entered to obtain the characteristic frequency of the signal, and the type of bearing fault is determined according to the frequency value. The selection and calculation of the kurtosis index is expressed as: , where K cur [...] indicates that the kurtosis index for each group of signals is currently calculated.

[0097] Furthermore, envelope spectrum analysis is mainly implemented by Hilbert transform and Fourier transform algorithms. The overall block diagram is shown in Figure 4 . FPGA implements Hilbert transform, adopts FIR filter to realize, calls IP core of FIR filter, IP core correlation coefficient is generated by MATLAB, uses FadTool toolbox that comes with MATLAB to generate coe file, adds coe file to IP core, realizes Hilbert transform of signal x(t), after Hilbert transform, negative frequency component of signal makes positive 90° phase shift, positive frequency component makes negative 90° phase shift. Connect two-way signal to multiplier IP core, obtain square sum z(t) of two-way signal, connect z(t) to cordic IP core to perform square root operation, obtain modulus of analytical signal, and thus obtain envelope signal. Take envelope flow chart as shown below. Figure 5 shown.

[0098] Fast Fourier Transform (FFT) is a fast algorithm that can greatly reduce the amount of calculation compared to the DFT algorithm. It is currently a commonly used spectrum analysis method in digital signal processing. FPGA implements FFT transformation by directly calling the FFT IP core, connecting the envelope signal to the FFT IP core, and finally obtaining the envelope spectrum.

[0099] S3: Based on the characteristic frequency result of the best frequency band, calculate the frequency of the index and judge the fault.

[0100] Furthermore, the bearing fault types include outer ring fault, inner ring fault and rolling element fault; the theoretical characteristic frequency is calculated through the rotation speed and the geometric dimensions of the bearing, and the corresponding spectrum line is found from the envelope spectrum.

[0101] It should be noted that common failures of rolling bearings include outer ring failure, inner ring failure, rolling element failure and combined failure. When a bearing fails, a large number of periodic vibration shocks will be generated, which is specifically manifested as a change in the frequency amplitude of the original signal. If a bearing fails in the outer ring, the movement of the rolling element to the fault point will cause an impact on the outer ring, which is manifested as a periodic pulse response in the time domain. At this time, the outer ring is stationary while the inner ring is constantly rotating, thereby breaking the original signal's natural frequency and the bearing's natural frequency. : In the above formula, n is the vibration order; is the material density; I is the moment of inertia of the ring cross section; A is the cross-sectional area of ​​the ring; D is the pitch diameter of the bearing raceway; E is the elastic modulus; and g is the acceleration due to gravity.

[0102] By analyzing the characteristics of the vibration signals of the above three types of rolling bearing failures, the following conclusions can be drawn: the vibration signal generated by the outer ring failure presents periodic vibration impact signal characteristics in the time domain. In contrast, the vibration signal caused by the inner ring failure is different from the outer ring vibration impact signal in the time domain, but it also has obvious characteristics. When the rolling element fails, its vibration signal is often interfered by noise and presents an irregular vibration impact form. From the above analysis, it can be seen that the vibration signal generated by the rolling bearing when it fails usually presents the form of impact pulses. When a part of the bearing is damaged or other faults occur, the moving rolling element will generate impact vibration when it contacts the faulty part. This vibration impact signal is different from the vibration impact signal of the normal bearing operation. Its characteristics include short duration, wide frequency range, and non-regular periodicity. Under actual working conditions, as a part of complex mechanical equipment, the bearing has various noises in the surrounding environment in addition to its own vibration, which leads to the collected bearing vibration impact signal often accompanied by strong noise interference.

[0103] According to the structure of rolling bearing, the characteristic frequency points of failure of each part of the bearing can be calculated.

[0104] Outer race fault frequency:

[0105] '

[0106] Inner race fault frequency: ,

[0107] Rolling element failure frequency: ,

[0108] Shaft rotation frequency:

[0109] ,

[0110] Among them, n represents the number of revolutions, Z represents the number of rollers, d represents the roller diameter, D represents the median diameter, and a represents the contact angle.

[0111] The characteristic frequency of the envelope spectrum is calculated: the X-axis coordinate is the frequency index of the FFT IP core, and the frequency calculation formula of the index is:

[0112] ,

[0113] in, Indicates the corresponding frequency index, N indicates the number of sampling points, Indicates the sampling rate of the bearing signal.

[0114] The characteristic frequency is matched with a fault matching table, and the fault type is output according to the matching result; the fault matching table includes a record of the physical dimensions of the bearing and the characteristic frequency range corresponding to the fault, and if the characteristic frequency is within the range of the fault type, the fault type is output.

[0115] On the other hand, this embodiment also provides a rolling bearing fault diagnosis system using an FPGA to implement an improved spectral kurtosis algorithm, which includes:

[0116] The bandpass filter bank module filters the signal in parallel by subdividing the sliding window filter into parallel bandpass filter banks.

[0117] The kurtosis index multiplexing module performs parallel kurtosis index calculation on each group of signals band-pass filtered by the filter bank, and stores the result in a FIFO for storing kurtosis index.

[0118] The envelope demodulation module calculates the envelope spectrum using Hilbert transform and Fourier transform algorithms; the fault judgment module calculates the frequency of the index and judges the fault based on the envelope spectrum.

[0119] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.

[0120] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0121] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0122] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0123] Example 2

[0124] Reference Figure 6 - Fig.15 , which is an embodiment of the present invention, provides a rolling bearing fault diagnosis method using an improved spectral kurtosis algorithm implemented by FPGA. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0125] For the hardware verification of the DSK algorithm, we used the Case Western Reserve University's public authoritative data set, selected 12K drive-end bearing outer ring fault, inner ring fault and rolling element fault data, converted them into signed decimal coe files through MATLAB, and imported them into the FPGA's RAM as input stimulus, based on which we analyzed and verified the accuracy of the FPGA signal processing algorithm.

[0126] (I) Outer ring fault: Use the Case Western Reserve University dataset 132.mat, the fault type is outer ring fault, select points 1-2048, use the awgn() function in MATLAB to add Gaussian white noise with SNR=0 to the Case Western Reserve bearing signal, and perform secondary industrial environment noise addition on the actual collected data to verify the effect of this algorithm.

[0127] Since the FPGA signal processing system performs operations on fixed-point numbers, the original noisy signal needs to be amplified by a factor of 2^7, and then the signal is rounded and converted into a COE file and imported into the on-chip RAM as an input signal. Therefore, the FPGA signal input type needs to be defined as a signed decimal integer (Signed Decimal).

[0128] Since the signal sampling rate is 12KHz, in order to cover the full frequency band, the parallel FIR bandpass filter groups are designed as 1-1000Hz, 500-1500Hz, 1000-2000Hz, 1500-2500 Hz, 2000-3000 Hz, 2500-3500 Hz, 3000-4000 Hz, 3500-4500 Hz, 4000-5000 Hz, 4500-5500 Hz, 5000-5999 Hz, eleven groups in total.

[0129] The kurtosis index is calculated for each group of filtered signals. The calculation results of MATLAB and FPGA are shown in Table 1.

[0130] Table 1 Calculation results of kurtosis index of outer ring fault by MATLAB and FPGA

[0131] Filter frequency band Hz MATLAB Kurtosis Index FPGA Kurtosis Index Systematic Error Error ratio 1-1000 3.0869 3.3825 0.2956 9.58% 500-1500 3.0403 3.1876 0.1473 4.84% 1000-2000 2.7367 2.2155 0.5212 19.04% 1500-2500 2.7048 2.2482 0.4566 16.88% 2000-3000 3.6370 3.1067 0.5303 14.58% 2500-3500 5.7685 5.5175 0.2510 4.35% 3000-4000 5.8435 5.8292 0.0143 0.24% 3500-4500 4.6754 4.1093 0.5661 12.11% 4000-5000 2.9971 3.1039 0.1068 3.56% 4500-5500 2.9806 3.9900 1.0094 33.87% 5000-5999 3.0983 3.4556 0.3573 11.53%

[0132] It can be concluded from Table 1 that the best frequency bands calculated by MATLAB and FPGA are both 3000-4000Hz, and the calculation error of the kurtosis index does not affect the final envelope demodulation result. At the same time, the error analysis of the kurtosis index (rounded off) shows that the comprehensive error is 11.87%, but in the 4500-5500Hz frequency band in the table, the kurtosis index error calculated by MATLAB and FPGA is the largest, which may be due to the forced carry of FPGA during data truncation; at the same time, the error of the kurtosis index is most affected by the signal length. The focus of this FPGA algorithm design is on the circuit implementation process of signal theory, so the signal length is set to 2048 points for debugging. In the future, the signal length can be increased for processing based on the comprehensive evaluation of the hardware model resource pool and system load capacity.

[0133] In the previous step, FPGA has calculated that the optimal frequency band is 3000-4000Hz. The filtered signal is input into the envelope demodulation (i.e. resonance demodulation) module to first obtain the time domain signal envelope, and then perform FFT on the envelope to obtain the envelope spectrum to obtain the characteristic frequency of the bearing. The envelope signal of the 3000-4000Hz filtered signal calculated by MATLAB is shown in Figure 6 , the envelope signal of the 3000-4000Hz filtered signal calculated by FPGA is shown in Figure 7 .

[0134] After the envelope signal analysis is correct, MATLAB is used to perform characteristic frequency analysis on the original noise-added signal. Figure 8 and Fig. 9 By comparison, it can be seen that this algorithm can more effectively filter out high-frequency components and retain the signal characteristics of rolling bearings. The characteristic frequency calculated by MATLAB is 105.5Hz, and the theoretical result of Western Reserve data is 104.5Hz, with an error of about 1Hz.

[0135] FPGA calculation results are shown in Fig.10 , the X-axis coordinate is the frequency index of the FFT IP core, and the frequency calculation formula of the index is:

[0136] ,

[0137] in, Represents the corresponding frequency index, N is the number of sampling points, is the sampling rate of the bearing signal. After removing the DC component of the first point in the FFT result, it can be concluded that the characteristic frequency calculated by FPGA is 105.46Hz, the error with MATLAB is only 0.04Hz, and the error with the Western Reserve theory is about 1Hz, so it can be determined that the bearing fault type is an outer ring fault.

[0138] (ii) Inner ring fault: The experimental process is similar. The data selected is 107.mat. The original signal is noised and then amplified and rounded by 2^7. The optimal bandwidth is 3000-4000Hz. Fig.11 It is the characteristic frequency result calculated by MATLAB for the original signal. Fig.12 This is the characteristic frequency result of the best frequency band selected by the algorithm. The FPGA calculation results are shown in Fig.13 After removing the DC component of the first point of the FFT result, the calculation result according to formula (5-1) is 158.2Hz. The error is consistent with MATLAB and the error with the theoretical result is 0.3Hz. It can be accurately judged that the fault type of the bearing is an inner ring fault.

[0139] (III) Rolling element failure

[0140] Among the bearing fault types, rolling element faults are the most difficult to detect because they generate a lot of noise during bearing operation and the fault point excitation is irregular. Therefore, no secondary noise addition is performed. The following is an analysis of the system's ability to identify rolling element faults. Using the Case Western Reserve University data set 3007.mat, the original signal is amplified and rounded by 2^8. The optimal frequency band calculated by MATLAB is shown in the figure below. Fig.14 , the characteristic frequency is 140.6Hz, and the theoretical result of the Western Reserve data is 137.47 Hz, with an error of about 3Hz. The FPGA calculation results are as follows Fig.15, removing the DC component of the first point of the FFT result, the calculated characteristic frequency is 134.76Hz, with an error of about 3Hz, which can effectively determine that the bearing fault type is a rolling element fault.

[0141] This system uses Xilinx Artix-7 FPGA chip, model xc7a35tfgg484-2, which has excellent recognition capabilities for outer and inner ring faults of rolling bearings. The error in the recognition capability of rolling element faults is relatively large, but still within the controllable range, and can be used for fault diagnosis in industrial sites. In this verification, the algorithm effect can meet expectations and accurately identify the three common fault types of rolling bearings. Since FPGA is a programmable logic circuit, it is generally programmed according to the requirements of the industrial site. If the bearing working conditions are different, the frequency band can be subdivided and the number of filters can be increased. The logical resource pool occupancy is shown in Table 2. From the perspective of resources, this system can deploy more filters with finer frequency bands, and the Artix-7 chip is inexpensive, which minimizes the equipment cost.

[0142] Table 2 Resource ratio table

[0143] Resource Estimation Available Utilization % LUT 2088 20800 10.04 LUTRAM 37 9600 0.39 FF 4240 41600 10.19 IO 85 250 34.00 BUFG 1 32 3.13

[0144] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. FPGA realizes the rolling bearing fault diagnosis method of improved spectral kurtosis algorithm, which is characterized by: include: Collect monitoring data of rolling bearings and perform bandpass filtering; The monitoring data is input into a bandpass filter group for filtering; The bandpass filter group includes a sliding window filter with a bandwidth of 1000 Hz, a center frequency of 500 Hz, and a step length of 500 Hz; the signal is parallel filtered by subdividing the sliding window filter into a parallel bandpass filter group; assuming that the window filtering time of each window of the sliding window filter is T, the total time consumed by the sliding window filter is nT, and the calculation time of the filter group after optimization is only T; Calculate the kurtosis index of the filtered data, determine the best center frequency and bandwidth based on the kurtosis index, and then obtain the envelope signal; Based on the characteristic frequency result of the best frequency band, the frequency of the index is calculated and the fault is judged; The monitoring data includes collecting vibration signals through acceleration sensors; for bearing fault signals Y(t) in industrial environments, it is defined as the sum of fault signals X(t) and additive noise N(t): Y(t)=X(t)+N(t) In the early stage of rotating machinery failure, clearance, looseness, spalling and cracks cause structural resonance. The reasonable explanation of X(t) is: Where h(t) represents the impulse response generated by a single shock; X k and τ k is a sequence of random variables, X k represents the random amplitude of the shock, τ k represents the randomness of the noise signal, and N(t) represents the random noise of the mechanical equipment; The bandpass filter bank is expressed as: Among them, X fir (t) represents the signal after each group of bandpass filtering, x(t) represents the filter coefficient, i represents the current index value, n represents the number of filters in the filter group, H(t) represents the frequency response of the filter, and x i (t) represents the coefficients of the i-th group of filters; The kurtosis index is a time domain index that measures the impact of a signal; Through the kurtosis index multiplexing module, the kurtosis index of each group of signals band-pass filtered by the filter bank is calculated in parallel, and the results are stored in a FIFO storing the kurtosis index; In the calculation of the kurtosis index, the input signal X i First, make a FIFO cache. When the 2048-point signal is fully input and summed, pull up the FIFO enable and send the data to the subtractor IP core for subtraction in sequence. Then define a new register. Every time the subtractor has a value output, send it to the multiplier IP for pipeline square processing. The square value The numerator and denominator are sent to the next level calculation circuit respectively; The calculation of the numerator is to add a multiplier IP to square it, and then Sum and then use shift to find the average. For the denominator, change the operation steps, first sum, shift, and finally square. Finally, the numerator and denominator are sent to the divider IP. When the output enable is pulled high, the kurtosis indicator Kurtosis is valid and a calculation result is obtained. It is expressed as: Where n represents the number of input signals, i represents the index of the input signal, and X i represents the i-th input signal, Represents the average value of the input signal; By means of a signal buffer group, corresponding FIFO buffering is performed on the filter data of each filter channel group in the bandpass filter group; After the cache is completed, the data is traversed and compared, and the signal FIFO data corresponding to the maximum kurtosis value is determined through the delay index; The selection and calculation of the kurtosis index is expressed as: max(K)={K cur [X fir (t)]} Among them, K cur [...] indicates that the kurtosis index of each group of signals is currently calculated; Raise the readout enable of the max(K) signal FIFO, enter the envelope demodulation module to obtain the characteristic frequency of the signal, and determine the bearing fault type based on the frequency value; The envelope signal includes: using an FIR filter to implement the Hilbert transform of FPGA, calling the IP core of the FIR filter, the IP core correlation coefficient is generated by MATLAB, using the FadTool toolbox of MATLAB to generate a coe file, adding the coe file to the IP core, and realizing the Hilbert transform of the signal x(t). After the signal is Hilbert transformed, the negative frequency component of the signal is positively shifted by 90°, and the positive frequency component is negatively shifted by 90°. Connect the two signals to the multiplier IP core to obtain the square sum z(t) of the two signals, and then connect z(t) to the cordic IP core for square root operation to obtain the modulus of the analytical signal, thereby obtaining the envelope signal; By directly calling the FFT IP core, the envelope signal is connected to the FFT IP core, and finally the envelope spectrum is obtained.

2. The rolling bearing fault diagnosis method using an improved spectral kurtosis algorithm implemented by FPGA according to claim 1, characterized in that: The bearing fault types include outer ring fault, inner ring fault and rolling element fault; The theoretical characteristic frequency is calculated through the rotation speed and the geometric dimensions of the bearing, and the corresponding spectrum line is found from the envelope spectrum; Outer race fault frequency: Inner race fault frequency: Rolling element failure frequency: Shaft rotation frequency: Where n represents the number of revolutions, Z represents the number of rollers, d represents the roller diameter, D represents the median diameter, and α represents the contact angle; The characteristic frequency of the envelope spectrum is calculated: the X-axis coordinate is the frequency index of the FFTIP core, and the frequency calculation formula of the index is: Among them, Index represents the corresponding frequency index, N represents the number of sampling points, and f s Indicates the sampling rate of the bearing signal; Matching the characteristic frequency with the fault matching table, and outputting the fault type according to the matching result; The fault matching table includes a record of the physical dimensions of the bearing and the characteristic frequency range corresponding to the fault. If the characteristic frequency is within the range of the fault type, the fault type is output.

3. A rolling bearing fault diagnosis system using an FPGA to implement an improved spectral kurtosis algorithm according to any one of the methods of claims 1-2, characterized in that: The bandpass filter bank module filters the signal in parallel by subdividing the sliding window filter into a parallel bandpass filter bank; The kurtosis index multiplexing module performs parallel kurtosis index calculation on each group of signals bandpass filtered by the filter bank, and stores the results in a FIFO storing kurtosis index; The envelope demodulation module uses Hilbert transform and Fourier transform algorithms to calculate the envelope spectrum; The fault judgment module calculates the frequency of the index and judges the fault according to the envelope spectrum.