Reciprocating compressor early fault early warning method, storage medium and electronic equipment

Through the adaptive L1 trend filtering and support vector data description model, the normal state vibration signal data of the reciprocating compressor is used to achieve early fault warning that does not require prior knowledge and historical fault data, solving the limitations of existing technology and data. Applicability issues improve the accuracy and applicability of fault warnings.

CN118797323APending Publication Date: 2024-10-18PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310395765.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-13
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The existing technology requires prior knowledge and external expert experience in reciprocating compressor fault warning, and is limited by the amount of data and equipment complexity. It cannot be applied to large-scale data environments, and historical fault data is required to set thresholds, which has limitations. .

Method used

Using adaptive L1 trend filtering and support vector data description model, by collecting normal state vibration signal data, calculating power spectral density and wavelet packet energy entropy, adaptive L1 trend filtering, training support vector data description model, and using kernel function bandwidth to determine The center and radius of the hypersphere can detect fault points in real time and achieve early fault warning.

Benefits of technology

It does not require fault data to determine alarm lines, has wider applicability, can accurately identify fault characteristics, reduces abnormal data interference, improves the accuracy of early warning, and is suitable for large-scale data environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118797323A_ABST
    Figure CN118797323A_ABST
Patent Text Reader

Abstract

The invention provides a reciprocating compressor early fault early warning method, a storage medium and electronic equipment, can determine an alarm line without fault data, is wider in practicability, and belongs to the technical field of equipment fault early warning. A reciprocating compressor early fault early warning method comprises the following steps that a reciprocating compressor vibration signal data set in a historical normal state is collected, and the power spectral density and the wavelet packet energy entropy of the reciprocating compressor vibration signal data set are calculated; carrying out adaptive L1 trend filtering on the calculated power spectrum density and wavelet packet energy entropy; calculating a target training sample kernel function bandwidth sigma of the support vector data description model; obtaining a trained support vector data description model; inputting real-time vibration data of the reciprocating compressor, and repeating the step S1 and the step S2 to obtain a new characteristic value subjected to L1 trend filtering; obtaining a generalized distance di from the center of the hyper-sphere; and detecting an early fault point. The method is wider in applicability, and the accuracy of early warning is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of early warning of equipment failure, and in particular relates to an early warning method for reciprocating compressor failure, a storage medium and an electronic device. Background Art

[0002] Reciprocating compressors are key equipment with the widest range of pressures used in industrial production. If early warning of reciprocating compressor failures can be given, it will help reduce the accident rate. Therefore, the development of fault warning and detection technology for reciprocating compressors has attracted widespread attention from scholars. Ma Bo proposed an adaptive wavelet basis construction method based on lifting wavelet packet transform and a threshold selection criterion method based on maximum likelihood estimation, which solved the problem of difficult selection of wavelet basis functions and thresholds in the process of wavelet transform denoising. It was applied to the early fault feature extraction of valve faults and achieved good results. However, the denoising technology of wavelet transform assumes that the statistical distribution is known and does not consider any statistical distribution information of the signal that needs to be extracted. Therefore, it needs to be obtained through the analysis of the fault mechanism, that is, it requires prior knowledge and external expert experience. This method is not applicable in today's large data volume, and its use has certain limitations. Dang Lu et al. used principal component analysis (PCA) to analyze multiple characteristic parameters such as effective value, peak value, waveform index, pulse index, K factor, peak factor, kurtosis, skewness, etc., and used PCA to process the above characteristic parameters to obtain the threshold value under normal working conditions. After setting a reasonable threshold value, the data collected under unknown working conditions were processed in real time, and an alarm was issued when the threshold value was exceeded, thereby achieving early warning of reciprocating compressor failure. This method is affected by the complex internal structure and large size of the reciprocating compressor, and is greatly affected by vibration and noise. In addition, this method requires historical normal data and fault data to calculate the threshold value, and there are certain limitations in engineering applications. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a reciprocating compressor early fault warning method, storage medium and electronic equipment, which can determine the alarm line without fault data and have wider practicality.

[0004] The technical solution adopted by the present invention to solve the technical problem is: a reciprocating compressor early fault warning method, comprising the following steps:

[0005] S1. Collect a historical normal state reciprocating compressor vibration signal data set and calculate its power spectrum density and wavelet packet energy entropy;

[0006] S2, performing adaptive L1 trend filtering on the calculated power spectrum density and wavelet packet energy entropy to serve as the eigenvalues ​​of the early warning model;

[0007] S3, using the collected historical normal state reciprocating compressor vibration signal data set as a target training sample and inputting it into a support vector data description model, and calculating the target training sample kernel function bandwidth σ of the support vector data description model;

[0008] S4, inputting the eigenvalue calculated in step S2 into the support vector data description model whose target training sample kernel function bandwidth σ is calculated in step S3 for training, and obtaining the center a and radius r of the hypersphere containing the normal sample, that is, obtaining a trained support vector data description model;

[0009] S5, input the real-time vibration data of the reciprocating compressor, repeat steps S1 and S2, and obtain a new characteristic value after L1 trend filtering;

[0010] S6, input the new feature value into the support vector data description model trained in step S4, and obtain the generalized distance d from the center of the hypersphere i ;

[0011] S7, detect early fault points and judge d i and the size of r, such as d i >r, it is a suspected early fault point. If the number of consecutive alarms exceeds 5 data files, that is, d i ~d i+4 >r, it is determined to be an early failure point.

[0012] Furthermore, the collected historical normal state reciprocating compressor vibration signal data set is input as a target training sample into the support vector data description model, and the target training sample kernel function bandwidth σ of the support vector data description model is calculated, including:

[0013] A set of reciprocating compressor vibration life cycle data is used as reference training samples, which are input into the support vector data description model to calculate the optimal kernel function bandwidth σ2 of the reference training samples;

[0014] Input the target training sample and the reference training sample into a support vector data description model, and calculate a spatial distance matrix H1 of the target training sample and a spatial distance matrix H2 of the reference training sample;

[0015] Calculate the distribution of data in H1 and H2, record the estimated value corresponding to the maximum probability density in H1 as e1, and record the estimated value corresponding to the maximum probability density in H2 as e2, use e1 to represent H1, and e2 to represent H2;

[0016] According to the formula Calculate the kernel function bandwidth σ of the target data set.

[0017] Furthermore, the optimal kernel function bandwidth σ2 of the reference training samples is calculated using the cross-validation method.

[0018] Furthermore, the optimal kernel function bandwidth σ2 of the reference training samples is calculated by finding the maximum value of the square root mean ratio of the variance.

[0019] Furthermore, the cumulative distribution function method is used to calculate the distribution of data in H1 and H2.

[0020] Furthermore, the probability density function method is used to calculate the distribution of data in H1 and H2.

[0021] Furthermore, the kernel density estimation method is used to calculate the distribution of data in H1 and H2.

[0022] Furthermore, the historical normal state reciprocating compressor vibration signal data set collected is at least 40 days of samples under normal operating conditions of the reciprocating compressor.

[0023] The present invention also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the above-mentioned reciprocating compressor early fault warning method.

[0024] The present invention also provides an electronic device, including a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are connected via a bus, the memory stores machine-readable instructions, and the processor executes the above-mentioned reciprocating compressor early fault warning method by calling the machine-readable instructions.

[0025] The beneficial effects of the present invention are:

[0026] The present invention proposes an early fault warning method for reciprocating compressors based on adaptive L1 trend filtering (L1TF) and support vector data description (SVDD). The method only requires the original vibration data of the normal state monitoring of the reciprocating compressor, but does not require prior knowledge such as the fault mechanism and fault characteristic signal, as well as external expert experience, and has wider applicability.

[0027] The present invention solves the problem of determining the bandwidth of the Gaussian kernel function of support vector data description when the numerical value of the training sample of the reciprocating compressor is too small. A method for determining the bandwidth of the (support vector data description) SVDD kernel function is used. The hypersphere trained by the method has good performance, can quickly and concisely determine the kernel function bandwidth, and will not fail to converge.

[0028] The present invention is to more sensitively identify fault characteristics, using power spectrum density and wavelet packet energy entropy as characteristic values, which can more accurately distinguish the normal and fault states of the reciprocating compressor, and has great correlation;

[0029] In order to reduce the interference of abnormal data and make the trend change more obvious, the present invention utilizes a method for online extraction of early fault information of rotating machinery based on L1 trend filtering. The data preprocessing method improves the accuracy of early warning. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 is a flow chart of the method model of the present invention;

[0031] Figure 2 is a diagram showing experimental verification results of the method of the present invention using engineering data of a reciprocating compressor;

[0032] Figure 3 This is a comparison chart of the experimental verification results of the reciprocating compressor engineering data using this method and the RMS results DETAILED DESCRIPTION

[0033] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0034] like Figure 1 As shown, a reciprocating compressor early fault warning method of the present invention comprises the following steps:

[0035] S1. Collect the historical normal state reciprocating compressor vibration signal data set, and calculate its power spectral density (PSD) and wavelet packet energy entropy;

[0036] S2, performing adaptive L1 trend filtering (L1TF) on the calculated power spectrum density and wavelet packet energy entropy to serve as the eigenvalues ​​of the early warning model;

[0037] S3, using the collected historical normal state reciprocating compressor vibration signal data set as the target training sample input into the support vector data description (SVDD) model, and calculating the target training sample kernel function bandwidth σ of the support vector data description (SVDD) model;

[0038] S4, inputting the eigenvalue calculated in step S2 into the support vector data description (SVDD) model whose target training sample kernel function bandwidth σ is calculated in step S3 for training, and obtaining the center a and radius r of the hypersphere containing the normal sample, that is, obtaining a trained support vector data description (SVDD) model;

[0039] S5, input the real-time vibration data of the reciprocating compressor, repeat steps S1 and S2, and obtain new eigenvalues ​​after L1 trend filtering (L1TF);

[0040] S6, inputting the new feature value into the support vector data description (SVDD) model trained in step S4 to obtain the generalized distance d from the center of the hypersphere i ;

[0041] S7, detect early fault points and judge d i and the size of r, such as d i >r, it is a suspected early fault point. If the number of consecutive alarms exceeds 5 data files, that is, d i ~d i+4 >r, it is determined to be an early failure point.

[0042] The power spectral density (PSD) refers to the spectral energy distribution per unit time. The autopower spectral density function of a random signal x(t) is the autocorrelation function R of the random signal. x The Fourier transform of (τ) is denoted by S x (f), the formula is:

[0043]

[0044] Its inverse transform is:

[0045]

[0046] Due to S x (f) and R x (τ) is the relationship between the Fourier transform pair, the two are uniquely corresponding, S x (f) contains R x (τ). Because R x (τ) is a real even function, so S x (f) is also a real even function.

[0047] The wavelet packet energy entropy is a parameter that combines the wavelet packet energy and information entropy. The application effect of wavelet packet theory is better for non-stationary signals. Wavelet packet transform can decompose the high-frequency part of the signal more carefully, and this decomposition is neither redundant nor omission-free. The vibration signal of the reciprocating compressor is decomposed into eight frequency bands by performing three-layer wavelet packet decomposition. The bandwidth of the nth layer sub-band is f max / 2 n , n = 1, 2, 3 ..., where f max It is the highest frequency. Entropy represents the complexity and disorder of a system, also known as information entropy, which describes the certainty or uncertainty of a system through the amount of information in the system.

[0048] After performing j-layer wavelet packet decomposition on the signal, the wavelet packet decomposition sequence S is obtained. jk (k=0~2 j-1), the wavelet packet decomposition of the signal is regarded as a division of the signal, and the measure of this division is defined as:

[0049]

[0050] Where: S F(j,k) For S jk (k=0~2 j -1); n is the length of the original signal.

[0051] According to the basic theory of information entropy, the wavelet packet energy entropy is defined as:

[0052]

[0053] Where: H jk is the energy entropy of the kth wavelet packet of the jth layer of the signal.

[0054] The L1 trend filter (L1TF) is based on the characteristic that when performing L1 trend filtering on time series data of finite length, the fitted curve will become a line segment as the regularization parameter λ increases. The L1 trend filter is performed on the time series data, and the regularization parameter λ is gradually increased from a small value to the derivative value of each point in the combined sliding window remains unchanged. This λ value is adaptively used as the regularization parameter value. The L1 trend filter estimates the basic trend from the standard time series. This trend estimation is achieved through the minimum weighted objective function. The weighted objective function formula is:

[0055]

[0056] Where: y i (i=1,…,n) is the standard time series, x i (i=1, ..., n) is the basic trend, and λ is the regularization parameter.

[0057] The time series trend obtained by calculating the early fault sensitive characteristic value using the improved L1 trend filter is defined as the trend factor. Compared with the original early fault sensitive characteristic value, the trend factor can reduce the impact of occasional abnormal points, reduce data fluctuations, and increase the degradation trend of data.

[0058] The support vector data description (SVDD) model is usually used together with a kernel function, which maps training samples to a high-dimensional space, thereby turning a low-dimensional linearly inseparable problem into a linearly separable one. The Gaussian kernel function is currently the most widely used kernel function in support vector data description (SVDD), and the value of the kernel function bandwidth σ, a key parameter that affects the performance of support vector data description (SVDD), has always been a hot issue in the actual application of support vector data description (SVDD). The present invention uses a method for determining the kernel function bandwidth σ of target data support vector data description (SVDD) according to the difference between the spatial distance matrix of the target training sample and the spatial distance matrix of the reference training sample.

[0059] The interface of support vector data description (SVDD) is highly dependent on the kernel function, in which the Gaussian kernel bandwidth σ is the only adjustable parameter. σ determines the complexity of the support vector data description (SVDD) interface. When σ is too small, the number of support vectors increases, and the interface is closer to the training sample, which improves the description accuracy, but causes the model to be too sensitive and overfitting problems; when σ is too large, the interface is far away from the training sample, resulting in a decrease in accuracy, which is called an underfitting problem. The method determines the kernel function bandwidth of the target data set by comparing the differences between the spatial distance matrix of the target data of the reciprocating compressor and the spatial distance matrix of the reference data. The detailed steps are as follows:

[0060] S31, taking a set of reciprocating compressor vibration life cycle data as reference training samples, inputting them into a support vector data description (SVDD) model, and calculating the optimal kernel function bandwidth σ2 of the reference training samples;

[0061] S32, inputting the target training sample and the reference training sample into a support vector data description (SVDD) model, and calculating a spatial distance matrix H1 of the target training sample and a spatial distance matrix H2 of the reference training sample;

[0062] S33, calculate the distribution of data in H1 and H2, record the estimated value corresponding to the maximum probability density in H1 as e1, record the estimated value corresponding to the maximum probability density in H2 as e2, use e1 to represent H1, and record e2 to represent H2;

[0063] S34, according to the formula Calculate the kernel function bandwidth σ of the target data set.

[0064] Among them, the best kernel function bandwidth σ2 of the reference training sample can be calculated by finding the maximum value of the square root mean ratio of variance (VSRMR), minimizing the ratio of support vectors to samples to select the optimal σ2, or by continuously reducing the classification error rate of the model to find the optimal σ2. In order to make the classification error rate calculated by this method more scientific, the present invention adopts a cross-validation method to verify the classification error rate calculated by the k-fold cross-validation method. The acquired historical normal operating state vibration data set is randomly divided into 5 equal parts, and 4 equal parts of data are used each time to train the support vector data description (SVDD) hypersphere, and the remaining 1 equal part of data is used to verify the classification error rate of the support vector data description (SVDD) model, which is the cross-validation method proposed by the present method; the distribution of data in H1 and H2 can be calculated by cumulative distribution function method, probability density function method or kernel density estimation method, etc., and the kernel density estimation method is preferred in the present invention. The kernel density estimation method can estimate the probability density of the overall sample through a limited sample, which is more in line with the actual situation of engineering application.

[0065] Support Vector Data Description (SVDD) is a classic single-class classifier. Its core idea is to map the training data into a high-dimensional space and find a hypersphere with the smallest volume in the high-dimensional space so that as much training data as possible is included in the hypersphere, and data that does not belong to this class is outside the hypersphere. Its mathematical model is constructed as follows:

[0066] Given a target training sample x i ={x1,x2,…,x l}, where l is the number of samples, and defines a hypersphere that contains almost all samples of the target class. Considering that there may be a few outliers in the target samples, in order to improve the robustness of the algorithm to outliers in the training samples, a relaxation factor ξ is introduced i , allowing some sample points to be distributed outside the hypersphere, the support vector data description (SVDD) optimization problem is described as:

[0067]

[0068] Among them, a is the center of the hypersphere, r is the radius of the hypersphere, and C is the penalty coefficient (C>0), which is used to weigh the number of abnormal training samples (number of samples outside the sphere) and the size of the hypersphere. In order to solve the above optimization problem, the following Lagrangian equation is constructed:

[0069]

[0070] Where: α i ,γ i (α i ,γ i ≥0) is the Lagrange multiplication operator, let r,a,ξ iThe partial derivative is 0, obtaining:

[0071]

[0072] When the sample point is inside the hypersphere, α i = 0; when the sample point is on the boundary of the hypersphere, then 0 < α i < C; when the sample point is outside the hypersphere, then α i = C. The samples on and outside the hypersphere interface are called support vectors (SV’S).

[0073] Substituting Equation (7) into Equation (8) gives the optimization function:

[0074]

[0075] where K(·) is the Gaussian kernel function, and its expression is as follows:

[0076]

[0077] In the high-dimensional space, the radius r of the hypersphere can be calculated from the distance from the support vector (x sv ) on the hypersphere interface to the center of the hypersphere:

[0078]

[0079] For a single test sample z, its distance from the center of the sphere a can be expressed as:

[0080]

[0081] During the anomaly detection process, the extracted normal training samples are input into the support vector data description (SVDD) model for training to obtain a hypersphere containing normal samples; in the actual application process, the generalized distance d between the real-time detection sample and the center of the hypersphere can be obtained from Equation (12). When d ≤ r, the sample is a normal sample, and when d < r, the sample belongs to an abnormal sample.

[0082] The specific mathematical model is constructed as follows:

[0083] Combining k(x i , x i ) = 1 and the objective functions in Equations (8) and (9), they can be written in matrix form as shown in Equation (13). All the information obtained by the support vector data description (SVDD) model during the training process is contained in the kernel matrix, and the values in the kernel matrix will affect the solution of Equation (9), thus affecting the establishment of the hypersphere. Therefore, designing a kernel matrix with good characteristics can obtain a hypersphere with good performance.

[0084] L = α TKα-1 (13)

[0085] Where: α=[α1,α2,…,α l ] T .

[0086]

[0087] As shown in formula (15), H is a matrix with a diagonal of 0, which represents the spatial distance of the training samples. The kernel matrix K can be calculated by H and σ. Existing research results show that the dispersion of the kernel matrix K is a key parameter affecting the performance of the hypersphere. As shown in formula (10), in order to avoid the problem of poor dispersion caused by the value in the kernel matrix K being infinitely close to 1 due to σ being too large, the optimal value range of σ should be close to the value range of the trend factor in the input support vector data description (SVDD). Therefore, when the value in H is particularly small, the optimal value of σ is also particularly small. As shown in formula (15), the dispersion of the kernel matrix K is jointly determined by H and σ. The present invention matches the appropriate σ value by studying the characteristics of H, and the spatial distance matrix of the reciprocating compressor target data set and the spatial distance matrix of the reciprocating compressor reference data set are recorded as H1 and H2 respectively.

[0088]

[0089] As shown in formula (10), in order to avoid the value in the kernel matrix K being infinitely close to 1 due to σ being too large, resulting in poor dispersion, the optimal value range of σ should be close to the value range of the trend factor in the input support vector data description (SVDD). Therefore, when the value in H is particularly small, the optimal value of σ is also particularly small.

[0090] In order to explore the characteristics of the data in H, this study uses the kernel density estimation method to calculate the distribution of data in H1 and H2, as shown in formula (16): is a probability density function, which characterizes the density of data at x. The Gaussian kernel function and bandwidth in the kernel density estimation are denoted as G and h. In the present invention, the estimated values ​​corresponding to the maximum probability density in H1 and H2 are denoted as f1 and f2, respectively. In subsequent calculations, f1 and f2 will represent H1 and H2.

[0091]

[0092] Where: x i (i=1~n) is an element in the upper triangular or lower triangular matrix in H.

[0093] The calculation of σ for the target training sample of the reciprocating compressor is shown in formula (16), where σ2 is the optimal kernel function bandwidth of the reference data set. At this time, it can be considered that the divergence of the kernel matrix K2 is good, and it is expected that the kernel matrix K1 calculated for the target data set of the reciprocating compressor also has good divergence. Therefore, assuming that K1 = K2, it is substituted into formula (16) to obtain formula (17).

[0094]

[0095] The present invention proposes an early fault warning method for reciprocating compressors based on adaptive L1 trend filtering (L1TF) and support vector data description (SVDD). This method only requires the original vibration data of the reciprocating compressor normal state monitoring, and does not require prior knowledge such as fault mechanism, fault characteristic signal, and external expert experience.

[0096] In order to solve the problem of determining the bandwidth of the Gaussian kernel function of support vector data description when the numerical value of training samples of reciprocating compressors is too small, the present invention utilizes a method for determining the bandwidth of the support vector data description (SVDD) kernel function. The hypersphere trained by this method has good performance and can determine the kernel function bandwidth quickly and concisely without non-convergence.

[0097] The present invention is to more sensitively identify fault characteristics, and utilizes power spectrum density and wavelet packet energy entropy as characteristic values, which can more accurately distinguish the normal and fault states of the reciprocating compressor and has great correlation.

[0098] In order to reduce the interference of abnormal data and make trend changes more obvious, the present invention utilizes a method for online extraction of early fault information of rotating machinery based on L1 trend filtering. The data preprocessing method improves the accuracy of early warning, that is, it can accurately warn of faults (it cannot warn of specific fault types).

[0099] The present invention also provides a computer-readable storage medium, wherein a computer program is stored in the storage medium, and the computer program is used to execute the above-mentioned early fault warning method for a reciprocating compressor. The storage medium can be a read-only memory, a disk or an optical disk, etc.

[0100] The present invention also provides an electronic device, such as a smart phone, tablet computer, laptop computer, desktop computer, etc. that can execute programs, including a communication interface, a processor, a memory and a bus, wherein the communication interface, processor and memory are connected via a bus, and machine-readable instructions are stored in the memory. The processor executes the above-mentioned method for early fault warning of a reciprocating compressor by calling the machine-readable instructions.

[0101] Example:

[0102] Taking the vibration signal of the secondary machine of the ultra-high pressure polyethylene compressor as an example, the data sampling frequency is 25.6kHz, the number of sampling points is 20480, and the sampling interval of each data file is 10min. The 1-300 groups of data files under normal conditions are used as training data, and the power spectrum density and wavelet packet energy entropy of the training data are calculated. The abnormal points are removed by L1TF, the kernel function bandwidth is calculated, and the center a and radius r of the hypersphere are calculated by SVDD. The power spectrum density and wavelet packet energy entropy of the test data are calculated. Because the L1TF filter composite moving window is 5, the filtering starts from the 5th data file of the test data, and the trend factor is input into the trained SVDD model. The generalized distance d from the center a of the hypersphere is calculated, and whether an early fault occurs is determined based on the size of a and d. Repeat the third and fourth steps for files 1-768, and draw the distance curve of the 1-768th data files, and record the points where the distance exceeds the radius, as shown in Table 1.

[0103] Table 1. Fault sample data file number calculated by early warning model

[0104]

[0105] As attached Figure 2 As shown in Table 1, the alarm is triggered once at the 124, 359, 409, 427, 491, and 498 data groups, and twice continuously at the 503 data group. None of the consecutive alarms exceeds 5 times. The alarm is triggered continuously after the 521 data group, and there is almost no fluctuation. Therefore, the early fault alarm point proposed by the present invention is the 521 data group. Figure 3 The early warning result is compared with the effective value (RMS). The RMS of the test data is calculated and a trend line is drawn. In the figure, the time when the RMS undergoes an obvious mutation is the 703th data moment. Therefore, the use of RMS for early warning of faults is delayed by (703-521)×10=1820min compared with the method proposed in the present invention, which verifies the effectiveness of the proposed reciprocating compressor early fault warning method.

Claims

1. A reciprocating compressor early fault warning method, characterized in that: The following steps are involved: S1. Collect a historical normal state reciprocating compressor vibration signal data set and calculate its power spectrum density and wavelet packet energy entropy; S2, performing adaptive L1 trend filtering on the calculated power spectrum density and wavelet packet energy entropy to serve as the eigenvalues ​​of the early warning model; S3, using the collected historical normal state reciprocating compressor vibration signal data set as a target training sample input into the support vector data description model, and calculating the target training sample kernel function bandwidth σ of the support vector data description model; S4, inputting the eigenvalue calculated in step S2 into the support vector data description model whose target training sample kernel function bandwidth σ is calculated in step S3 for training, and obtaining the center a and radius r of the hypersphere containing the normal sample, that is, obtaining a trained support vector data description model; S5, input the real-time vibration data of the reciprocating compressor, repeat steps S1 and S2, and obtain a new characteristic value after L1 trend filtering; S6, input the new feature value into the support vector data description model trained in step S4, and obtain the generalized distance d from the center of the hypersphere i ; S7, detect early fault points and judge d i and the size of r, such as d i >r, it is a suspected early fault point. If the number of consecutive alarms exceeds 5 data files, that is, d i ~d i+4 >r, it is determined to be an early failure point.

2. The reciprocating compressor early fault warning method according to claim 1, characterized in that: The collected historical normal state reciprocating compressor vibration signal data set is input as a target training sample into the support vector data description model, and the target training sample kernel function bandwidth σ of the support vector data description model is calculated, which includes: A set of reciprocating compressor vibration life cycle data is used as reference training samples, which are input into the support vector data description model to calculate the optimal kernel function bandwidth σ2 of the reference training samples; Input the target training sample and the reference training sample into a support vector data description model, and calculate a spatial distance matrix H1 of the target training sample and a spatial distance matrix H2 of the reference training sample; Calculate the distribution of data in H1 and H2, record the estimated value corresponding to the maximum probability density in H1 as e1, and record the estimated value corresponding to the maximum probability density in H2 as e2, use e1 to represent H1, and e2 to represent H2; According to the formula Calculate the kernel function bandwidth σ of the target data set.

3. The reciprocating compressor early fault warning method according to claim 2, characterized in that: The optimal kernel function bandwidth σ2 of the reference training samples is calculated using the cross-validation method.

4. The reciprocating compressor early failure warning method according to claim 2, characterized in that: The optimal kernel function bandwidth σ2 of the reference training sample is calculated by finding the maximum value of the square root mean ratio of the variance.

5. The reciprocating compressor early fault warning method according to claim 2, characterized in that: The cumulative distribution function method is used to calculate the distribution of data in H1 and H2.

6. The reciprocating compressor early fault warning method according to claim 2, characterized in that: The probability density function method is used to calculate the distribution of data in H1 and H2.

7. The reciprocating compressor early fault warning method according to claim 2, characterized in that: The kernel density estimation method is used to calculate the distribution of data in H1 and H2.

8. The reciprocating compressor early failure warning method according to claim 1, characterized in that: The historical normal state reciprocating compressor vibration signal data set collected is at least 40 days of samples under normal operating conditions of the reciprocating compressor.

9. A computer-readable storage medium, wherein a computer program is stored in the storage medium, characterized in that: The computer program is used to execute the reciprocating compressor early failure warning method according to any one of claims 1 to 8.

10. An electronic device, characterized in that: The method comprises a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are connected via a bus, the memory stores machine-readable instructions, and the processor executes the reciprocating compressor early fault warning method as claimed in any one of claims 1 to 8 by calling the machine-readable instructions.