Equipment fault diagnosis method and device, computer equipment and storage medium

The improved Walrus optimization algorithm automatically adjusts the VMD algorithm parameters and combines the dimensionality reduction and fusion of multiple entropy features to solve the subjectivity problem of VMD algorithm parameter selection and improve the accuracy and robustness of machine fault diagnosis.

CN118730283AInactive Publication Date: 2024-10-01GUILIN UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410998150.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In existing machine fault diagnosis methods, the parameter selection of the VMD algorithm is subjective, resulting in low fault diagnosis accuracy. Excessive penalty factors will lead to false components or frequency crossovers, and too many decompositions will lead to distortion or modal aliasing.

Method used

The improved Walrus optimization algorithm is used to automatically adjust the parameters of the VMD algorithm, and the optimal parameter combination is determined through the initial VMD algorithm to form an adaptive VMD algorithm, which decomposes the vibration signal, calculates a variety of entropy value features, and performs dimensionality reduction, fusion, and classification. Determine the fault type.

Benefits of technology

It improves the performance and robustness of signal decomposition, reduces manual intervention, and improves the accuracy of fault diagnosis and the ability to identify machine faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118730283A_ABST
    Figure CN118730283A_ABST
Patent Text Reader

Abstract

The invention provides an equipment fault diagnosis method and device, computer equipment and a storage medium, and belongs to the technical field of equipment fault diagnosis, and the method comprises the steps: collecting a vibration signal of to-be-diagnosed equipment during operation; optimizing the initial VMD algorithm through an improved sea image optimization algorithm, determining an optimal parameter combination of the initial VMD algorithm, and substituting the optimal parameter combination into the initial VMD algorithm to obtain a self-adaptive VMD algorithm; and inputting the vibration signal into a self-adaptive VMD algorithm to judge the fault type of the to-be-diagnosed equipment. The method can improve the accuracy of fault diagnosis of the equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of equipment fault diagnosis, and in particular relates to an equipment fault diagnosis method, device, computer equipment and storage medium. Background Art

[0002] Machine fault diagnosis technology has attracted extensive research because it can prevent the failure of machinery and equipment used in production workshops for a long time, or in some cases, catastrophic failure.

[0003] In the prior art, the variational mode decomposition (VMD) method is usually used for fault diagnosis, which can decompose the collected device signal into multiple modes, each mode represents a component of the signal, thereby extracting characteristic information in different frequency ranges, and can achieve reliable fault diagnosis and analysis. However, the penalty factor and the number of decompositions of VMD are usually manually selected, and the manual selection is usually based on experience and is subjective. If the penalty factor is too large, it will lead to false components, and if it is too small, it will lead to frequency crossing; if the number of decompositions is too large, it will lead to distortion, and if it is too small, it will lead to modal aliasing. Therefore, the accuracy of machine fault diagnosis in the above method is not high.

[0004] Therefore, how to improve the accuracy of machine fault diagnosis becomes a problem to be solved. Summary of the invention

[0005] In order to solve the problem of low accuracy in machine fault diagnosis, the present invention provides a method for diagnosing a fault of an equipment.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] A method for diagnosing a fault of a device, comprising:

[0008] Collect vibration signals of the equipment to be diagnosed during operation;

[0009] The walrus position is updated by an improved walrus optimization algorithm to obtain different VMD parameter combinations. Under different VMD parameter combinations, the vibration signal is decomposed by an initial VMD algorithm to determine the optimal parameter combination of the initial VMD algorithm, and the optimal parameter combination is substituted into the initial VMD algorithm to obtain an adaptive VMD algorithm; the VMD parameter combination is a combination of a penalty factor and a decomposition number;

[0010] Inputting the vibration signal into the adaptive VMD algorithm, and using the adaptive VMD algorithm to decompose the vibration signal to obtain IMF components;

[0011] Calculating multiple entropy values ​​of the IMF components obtained by the adaptive VMD algorithm to obtain an entropy value eigenvector matrix, performing dimensionality reduction fusion on the entropy value eigenvector matrix to obtain a fused eigenvector matrix;

[0012] The fused feature vector matrix is ​​classified to obtain a classification result, and the fault type of the device to be diagnosed is determined according to the classification result.

[0013] Preferably, it also includes:

[0014] In the initialization stage of the original walrus optimization algorithm, the diversity of the population is increased through Cubic chaos mapping;

[0015] Calculate the walrus position and determine whether the walrus position is in a local optimal state during the iterative optimization process;

[0016] If the walrus position does not satisfy the local optimal state, the walrus position is updated using the original walrus optimization algorithm; if the walrus position satisfies the local optimal state, the walrus position is updated using the golden sine algorithm to obtain the improved walrus optimization algorithm.

[0017] Preferably, the walrus position is updated by an improved walrus optimization algorithm to obtain different VMD parameter combinations. Under different VMD parameter combinations, the vibration signal is decomposed by an initial VMD algorithm to determine the optimal parameter combination of the initial VMD, including:

[0018] Initializing the walrus population vector position to obtain an initial VMD parameter combination, and using the initial VMD algorithm to decompose the vibration signal to obtain corresponding IMF components according to the initial VMD parameter combination;

[0019] Calculate the envelope entropy value of the IMF component obtained by the initial VMD algorithm and record the corresponding individual position, update the individual position by the improved walrus optimization algorithm, and recalculate the envelope entropy value of the IMF component obtained by the initial VMD algorithm;

[0020] When the maximum number of iterations is reached, the individual position with the minimum envelope entropy value is output as the optimal parameter combination.

[0021] Preferably, multiple entropy values ​​of the IMF components obtained by the adaptive VMD algorithm are calculated to obtain an entropy value feature vector matrix, including:

[0022] Calculating multiple entropy values ​​of the IMF components obtained by the adaptive VMD algorithm as features respectively;

[0023] Normalizing each entropy value to eliminate the order of magnitude differences between the entropy values, and obtaining the entropy value feature vector matrix;

[0024] Among them, the calculation expression of normalization processing is:

[0025]

[0026] y represents the normalized data, u represents the entropy data, and u max and u min Indicates the maximum and minimum values ​​of entropy data, y max and min Set the upper and lower limits of the normalized value range respectively.

[0027] Preferably, the entropy value feature vector matrix is ​​subjected to dimensionality reduction fusion using a PCA algorithm to obtain a fused feature vector matrix, including:

[0028] Calculating the average value of each feature for the entropy value feature vector matrix;

[0029] Subtract the corresponding mean value from all samples to obtain the centralized eigenvector matrix S cen ;

[0030] Calculate the eigenvector matrix S cen The covariance matrix S cov , using singular value decomposition to find the eigenvalues ​​of the covariance matrix and their corresponding eigenvectors;

[0031] The covariance matrix S cov The eigenvalues ​​of are sorted from large to small, and the eigenvectors corresponding to the first p eigenvalues ​​are selected to obtain the optimal generalized characteristic matrix S e ;

[0032] The original entropy value eigenvector matrix is ​​converted into the new space constructed by the p eigenvectors, and after principal component analysis, a fused eigenvector matrix S with p dimensions is obtained. new .

[0033] Preferably, the fused feature vector matrix is ​​classified by a KELM model to obtain a classification result, including:

[0034] Dividing the fused feature vector matrix into a training set and a test set according to a preset ratio;

[0035] Training the pre-built KELM model using the training set to obtain a trained KELM model;

[0036] The test set is classified by using the trained KELM model to obtain the classification result.

[0037] Preferably, the multiple entropy values ​​include information entropy, envelope entropy, approximate entropy, sample entropy, fuzzy entropy, energy entropy and permutation entropy.

[0038] The present invention also provides a fault diagnosis device for equipment, comprising:

[0039] A collection module, used to collect vibration signals of the equipment to be diagnosed during operation;

[0040] The first processing module is used to update the walrus position through the improved walrus optimization algorithm to obtain different VMD parameter combinations, decompose the vibration signal through the initial VMD algorithm under different VMD parameter combinations, determine the optimal parameter combination of the initial VMD algorithm, substitute the optimal parameter combination into the initial VMD algorithm, and obtain an adaptive VMD algorithm; the VMD parameter combination is a combination of a penalty factor and a decomposition number;

[0041] A second processing module is used to input the vibration signal into the adaptive VMD algorithm, and use the adaptive VMD algorithm to decompose the vibration signal to obtain IMF components;

[0042] A calculation module, used for calculating multiple entropy values ​​of the IMF components obtained by the adaptive VMD algorithm to obtain an entropy value feature vector matrix, and performing dimensionality reduction fusion on the entropy value feature vector matrix to obtain a fused feature vector matrix;

[0043] The judgment module is used to classify the fused feature vector matrix to obtain a classification result, and judge the fault type of the device to be diagnosed according to the classification result.

[0044] The present invention also provides a computer device, comprising a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement any one of the steps in the fault diagnosis method of the device.

[0045] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is loaded by a processor, it can execute any one of the steps in the fault diagnosis method of the device.

[0046] The fault diagnosis method of the device provided by the present invention has the following beneficial effects:

[0047] On the one hand, optimizing the VMD algorithm through the improved walrus optimization algorithm (IWaOA) can help automatically adjust the parameters of VMD to adapt to the characteristics of vibration signals. It can automatically select the best parameter combination without human intervention, avoiding the subjectivity and uncertainty of artificial selection of penalty factors and the number of decompositions, thereby improving the performance and robustness of signal decomposition, achieving effective decomposition of vibration signals, and improving the accuracy of fault diagnosis; on the other hand, it can also fuse multiple entropy features at the same time to achieve information complementarity and enhancement, which is conducive to better distinguishing vibration signals of different fault categories, thereby better improving the accuracy of machine fault diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiment of the present invention and its design scheme, the following briefly introduces the drawings required for this embodiment. The drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0049] Figure 1 A schematic flow chart of a fault diagnosis method provided by an embodiment of the present invention;

[0050] Figure 2 A schematic flow chart of an improved walrus optimization algorithm provided by an embodiment of the present invention;

[0051] Figure 3 A schematic diagram of a flow chart of optimizing a VMD algorithm by an improved walrus optimization algorithm provided in an embodiment of the present invention;

[0052] Figure 4 A schematic flow chart of obtaining a fused feature vector matrix using a PCA algorithm provided in an embodiment of the present invention;

[0053] Figure 5 A schematic diagram of the structure of a fault diagnosis device for a device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to enable those skilled in the art to better understand the technical solution of the present invention and implement it, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the scope of protection of the present invention.

[0055] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the technical solutions of the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0056] In addition, the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. In the description of the present invention, it should be noted that, unless otherwise clearly specified or limited, the terms "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. In the description of the present invention, unless otherwise specified, "plurality" means two or more, which will not be described in detail here.

[0057] Before introducing the solutions of the present invention, the terms involved in the embodiments are explained first.

[0058] VMD: is a signal processing technique used for time-frequency analysis of non-stationary signals. It is an adaptive, fully data-intensive, frequency-domain constrained signal decomposition method. VMD is an effective modal decomposition method that can decompose complex signals into multiple intrinsic mode functions (IMFs) that have the characteristics of center frequency and limited bandwidth.

[0059] Principal Component Analysis (PCA): is a statistical method that transforms a set of possibly correlated variables into a set of linearly uncorrelated variables through orthogonal transformation. This set of variables is called principal components. The purpose of PCA is to extract the most important features from the data, and to achieve data dimensionality reduction by retaining the main information part of the data after dimensionality reduction and ignoring the part with less information.

[0060] Walrus Optimization Algorithm (WaOA): is an efficient optimization algorithm inspired by the predation behavior of walruses. The WaOA algorithm has the advantages of few parameters, easy implementation and strong global search capability. However, the basic WaOA algorithm may have problems with local optimality and slow convergence during the search process.

[0061] Example 1

[0062] Figure 1 A schematic flowchart of a fault diagnosis method provided by an embodiment of the present invention.

[0063] For example, Figure 1 As shown, the method comprises the following steps:

[0064] S100, collecting vibration signals of the device to be diagnosed during operation.

[0065] Optionally, a vibration sensor can be used to collect vibration signals of the equipment in real time during operation. The vibration signal can be a vibration waveform in the time domain or a vibration spectrum in the frequency domain. The collected data should include vibration signals under different working conditions such as normal operation of the equipment, load changes, acceleration, deceleration, etc.

[0066] S200, the walrus position is updated by the improved walrus optimization algorithm to obtain different VMD parameter combinations, under different VMD parameter combinations, the vibration signal is decomposed by the initial VMD algorithm, the optimal parameter combination of the initial VMD algorithm is determined, and the optimal parameter combination is substituted into the initial VMD algorithm to obtain an adaptive VMD algorithm.

[0067] Among them, the VMD parameter combination is a combination of the penalty factor and the number of decompositions.

[0068] It should be understood that the process of S200 is a process of optimizing the VMD algorithm by using the improved walrus optimization algorithm. In this process, the optimal parameter combination of the initial VMD algorithm can be determined through the performance of the VMD algorithm under different VMD parameter combinations.

[0069] Optionally, the initial VMD algorithm can be optimized at preset time intervals, and the preset time interval can be set voluntarily, such as 30 minutes, and the embodiment of the present invention does not specifically limit this. Optimizing the VMD algorithm through real-time vibration signals at preset time intervals can improve the accuracy and adaptability of the algorithm.

[0070] It should be understood that the initial VMD algorithm is the VMD algorithm before each optimization, and the adaptive VMD algorithm is the VMD algorithm after each optimization.

[0071] Next, the process of improving the walrus optimization algorithm is introduced.

[0072] Figure 2 A schematic flow chart of an improved walrus optimization algorithm provided by an embodiment of the present invention, referring to Figure 2 As shown, the improved walrus optimization algorithm can be obtained as follows:

[0073] S201: Initialize the population.

[0074] Specifically, first, the Cubic chaotic map is used in the initialization stage of the original WaOA algorithm to increase the diversity of the population, which helps to search the solution space more comprehensively. The formula is as follows:

[0075] x c+1 =gx c (1-x c 2 )

[0076] Among them, x c represents the i-th walrus, x c+1 It represents the c+1th walrus, and g takes the chaos parameter as 2.595.

[0077] S202: Calculate the walrus position.

[0078] S203: Determine whether the walrus position is in a local optimal state. If so, execute S204; otherwise, execute S205.

[0079] Specifically, in the iterative optimization process, it is constantly judged whether the walrus position is in a local optimal state. The judgment formula is as follows:

[0080]

[0081] In the formula, represents the position of the cth walrus generated based on the Vth stage, represents the latest position of the cth walrus generated based on the Vth stage, where [V∈N + |1≤V≤3], ξ is the threshold for judging whether it is in the local optimal solution state, which can be taken as 0.6.

[0082] S204: Update the position of the walrus using the golden sine algorithm.

[0083] Specifically, if the local optimal state is met, the golden sine algorithm is used to update the walrus position, and the update formula is as follows:

[0084]

[0085] η1=α(1-ψ)+βψ

[0086]

[0087] Among them, r 11 and r 12 are random numbers in [0,2π] and [0,π] respectively; Dc represents the optimal position of the cth walrus in this iteration; η1 and η2 are the golden section coefficients, α and β are the initial values ​​of the golden section ratio search, which are -π and π respectively, and ψ is the golden section ratio, which is

[0088] S205: Update the position of the walrus using the original walrus optimization algorithm.

[0089] Specifically, if the walrus position does not satisfy the local optimal state, the walrus position is directly updated through the original walrus optimization algorithm.

[0090] The above process from S201 to S205 is a process of improving the original walrus optimization algorithm. Through the above process, the improved walrus optimization algorithm (IWaOA) of the present invention can be obtained.

[0091] In the above embodiment, improving the original WaOA by using Cubic chaotic mapping and golden sine algorithm can effectively escape from the local optimal solution, thereby better determining the parameter combination of the penalty factor and the number of decompositions of VMD, so as to achieve the purpose of better decomposing the vibration signal.

[0092] Figure 3 A schematic diagram of a flow chart of optimizing a VMD algorithm by an improved walrus optimization algorithm provided in an embodiment of the present invention.

[0093] like Figure 3 As shown in the figure, after obtaining the improved walrus optimization algorithm (IWaOA), the initial VMD algorithm can be optimized through the following process to obtain the optimal parameter combination of penalty factor and decomposition number:

[0094] S211, initialize the walrus population vector position.

[0095] The initialization process is to randomly generate a set of walrus population vector positions (a set of individuals), each of which represents a possible VMD parameter combination.

[0096] S212, according to the location of the walrus population, using the initial VMD algorithm to decompose the vibration signal to obtain the corresponding IMF components.

[0097] Exemplarily, the walrus population vector position is initialized in S211 to obtain an initial VMD parameter combination, and then based on the initial VMD parameter combination, the initial VMD algorithm is used to decompose the vibration signal to obtain the corresponding IMF component.

[0098] S213, calculating the envelope entropy value of the IMF and recording the corresponding individual position.

[0099] For example, entropy can be expressed as the disorder or uncertainty of information. In signal processing, entropy can be used to quantify the complexity of the envelope. The calculation of envelope entropy can be performed by the following steps: discretizing the envelope signal; calculating the probability distribution of each discrete value; and calculating the entropy value using the Shannon entropy formula or other entropy formulas.

[0100] The position of an individual usually refers to the specific coordinates of the individual in the solution space, which correspond to the parameters of the optimization problem.

[0101] S214, continuously update individual positions to obtain the corresponding minimum fitness value.

[0102] Exemplarily, the individual positions (VMD parameter combinations) are continuously updated through the improved walrus optimization algorithm, the envelope entropy values ​​of the IFM components under the VMD parameter combinations are recalculated, and the minimum envelope entropy value is obtained as the minimum fitness value.

[0103] It should be understood that the envelope entropy can reflect the sparse characteristics of the signal. When there is more noise and less feature information in the IMF component, the envelope entropy value is larger, otherwise it is smaller. Therefore, the minimum envelope entropy value is selected as the fitness value.

[0104] S215, updating the global and local minimum fitness values.

[0105] The global minimum fitness value refers to the fitness value of the optimal solution found in all iterations, and the local minimum fitness value may refer to the fitness value of the optimal solution found in the current iteration.

[0106] S216, determine whether the maximum number of iterations has been reached, if so, execute S217; if not, execute S213 to S216.

[0107] Exemplarily, if the maximum number of iterations is reached or other termination conditions are met (for example, the fitness value is lower than a certain threshold), the iteration is stopped and the optimal parameters (the individual position with the minimum envelope entropy value) are output, that is, the optimal combination of the penalty factor and the number of decompositions. If the maximum number of iterations is not reached or other termination conditions are not met, the envelope entropy value of the IMF is continued to be calculated and the individual position is recorded, and the individual position is updated until the maximum number of iterations is reached or other termination conditions are met.

[0108] S217, output optimal parameters.

[0109] In this way, IWaOA can help find more optimal VMD parameters, thereby improving the performance of VMD in signal decomposition.

[0110] It should be understood that after obtaining the optimal parameter combination of the penalty factor and the number of decompositions, the optimal parameter combination is substituted into the VMD algorithm to form an adaptive VMD algorithm. This adaptive VMD algorithm can automatically adjust parameters for different signals to improve the accuracy and efficiency of decomposition.

[0111] S300, inputting the vibration signal into an adaptive VMD algorithm, and using the adaptive VMD algorithm to decompose the vibration signal to obtain IMF components.

[0112] Specifically, the vibration signal data is input into the adaptive VMD algorithm, and the vibration signal is decomposed by the adaptive VMD algorithm. After being processed by the adaptive VMD algorithm, the vibration signal is decomposed into a series of IMF components. Each IMF is a narrowband signal, which represents a specific frequency component in the signal. Multiple IMFs are arranged in order from high to low or from low to high according to the center frequency, and each IMF represents the local characteristics of the signal at different time scales.

[0113] S400, calculating multiple entropy values ​​of the IMF components obtained by the adaptive VMD algorithm to obtain an entropy value feature vector matrix, performing dimensionality reduction fusion on the entropy value feature vector matrix to obtain a fused feature vector matrix.

[0114] Optionally, the multiple entropy values ​​may include seven entropy values, namely information entropy, envelope entropy, approximate entropy, sample entropy, fuzzy entropy, energy entropy and permutation entropy.

[0115] Specifically, seven entropy values ​​of the IMF components are calculated as features, each entropy value is normalized to eliminate the order of magnitude differences between the entropy values, and the entropy value feature vector matrix is ​​obtained.

[0116] Among them, the calculation expression of normalization processing is:

[0117]

[0118] y represents the normalized data, u represents the entropy data, and u max and u min Indicates the maximum and minimum values ​​of entropy data, y max and min Set the upper and lower limits of the normalized value range respectively.

[0119] Figure 4 A schematic flowchart of obtaining a fused feature vector matrix using a PCA algorithm is provided in an embodiment of the present invention.

[0120] Specifically, Figure 4 As shown, the execution steps are as follows:

[0121] S401: Calculate the average value of each feature of the entropy value feature vector matrix S. The calculation expression is:

[0122]

[0123] Among them, μ i represents the average value of the i-th dimension feature on m samples, s ij Represents the eigenvalue of the i-th dimension of the j-th sample.

[0124] S402: Subtract the corresponding mean value from all samples to obtain the centralized eigenvector matrix Scen , the calculation expression is:

[0125]

[0126] Among them, n represents the feature dimension.

[0127] S403: Calculate the eigenvector matrix S cen The covariance matrix S cov , use singular value decomposition to find the eigenvalues ​​of the covariance matrix and its corresponding eigenvectors.

[0128] Among them, the eigenvector matrix S is calculated cen The covariance matrix S cov The formula is:

[0129]

[0130] Among them, the formula for solving the eigenvector corresponding to the eigenvalue of the covariance matrix is:

[0131] S cov =D∑L T

[0132] Among them, D is an m×n square matrix whose internal vectors are orthogonal, ∑ is an m×n real diagonal matrix whose diagonal elements are singular values, and L is an n×n matrix whose internal vectors are orthogonal.

[0133] S404: Sort the eigenvalues ​​from large to small, select the eigenvectors corresponding to the first p eigenvalues, and obtain the optimal generalized eigenmatrix S e .

[0134] Among them, the range of p is (0, the number of input features], and p∈N + .

[0135] S405: Convert the original entropy value eigenvector matrix to a new space constructed by p eigenvectors, and obtain a fused eigenvector matrix S with p dimensions after principal component analysis. new .

[0136] Among them, the fusion feature vector matrix S is calculated new The expression is:

[0137] S new =S e S

[0138] It should be understood that the PCA algorithm is: to transform the original features that may be linearly related into new features that are linearly independent through orthogonal transformation. These new features are called principal components. These principal components are sorted according to how much variance they explain in the original data. The first principal component explains the largest variance, the second principal component is second, and so on.

[0139] In the above embodiment, by calculating seven different entropy values ​​as feature vectors, the stability and anti-interference ability of the feature can be improved. Each entropy value extracts the information of the signal from a different angle, realizes the complementarity and enhancement of information, and can also increase the nonlinear relationship between features, thereby improving the richness of the feature space, which is conducive to better distinguishing vibration signals of different fault categories.

[0140] The data after dimensionality reduction and fusion by PCA can better reveal the internal structure of the data and improve the performance of tasks such as classification and clustering. PCA can also play an important role in dealing with multi-classification problems, by reducing the dimension of the data and eliminating redundant information, making it easier for the classifier to distinguish the differences between different categories.

[0141] S500, classifying the fused feature vector matrix to obtain a classification result, and determining the fault type of the device to be diagnosed according to the classification result.

[0142] Optionally, classification can be performed by a classifier, and the classifier model can be a kernel-based extreme learning machine (KELM) model, a support vector machine, a random forest, a neural network, a k-nearest neighbor, etc. Among them, the KELM model is a machine learning algorithm that combines the kernel method and the extreme learning machine (ELM). ELM is a fast single hidden layer feedforward neural network (SLFN) algorithm, and KELM improves the nonlinear modeling ability of ELM by introducing kernel techniques.

[0143] Exemplarily, the process of classifying the fused feature vector matrix by the KELM model to obtain a classification result may include the following steps:

[0144] A1: Divide the fused feature vector matrix into a training set and a test set according to a preset ratio.

[0145] A2: Train the pre-built KELM model using the training set to obtain a trained KELM model.

[0146] A3: Classify the test set using the trained KELM model to obtain the classification results.

[0147] In the above embodiment, by using the kernel technique, KELM can map data to a high-dimensional space, thereby better handling nonlinear relationships. KELM can be trained with a large amount of sample data and can automatically learn and adapt to data. Its training process is relatively simple and does not require iterative adjustment of weights and thresholds, so it can generalize well to unknown data.

[0148] It should be understood that when using the classifier model to classify the fused feature vector matrix to determine the fault type of the machine equipment to be diagnosed, the following steps are generally followed:

[0149] Feature extraction: First, extract features from the vibration signal or other monitoring data of the equipment to be diagnosed. These features may include time domain features (such as mean, standard deviation, and kurtosis), frequency domain features (such as spectral energy and frequency components), or transform-based features (such as wavelet transform coefficients, Fourier transform coefficients, etc.).

[0150] Feature fusion: Combine the extracted features into a feature vector. If the data comes from multiple sensors or multiple types of signals, it may be necessary to fuse these features to form a new, higher-dimensional feature vector.

[0151] Eigenvector matrix construction: Combine the eigenvectors of all samples to be classified into an eigenvector matrix. Each row of the matrix represents a sample, and each column represents a feature.

[0152] Training classifier model: Use labeled data sets to train classifier models. Labeled data sets mean that the feature vector of each sample is associated with a fault type label. Commonly used classifier models include support vector machines (SVM), random forests, neural networks, and k-nearest neighbors (k-NN).

[0153] Model validation: Evaluate the performance of the classifier model through cross-validation or other validation methods to ensure that the model has good generalization ability.

[0154] Fault type determination: Input the feature vector of the device to be diagnosed into the trained classifier model, and the model will output a prediction result, that is, the fault type. This prediction result is based on the relationship between the features and fault types learned by the model during the training process.

[0155] Result analysis: Analyze the classification results. If the fault type predicted by the classifier model is consistent with the actual situation, it means that the model can correctly identify the fault. If not, you may need to reconsider the feature selection, model training, or data preprocessing steps.

[0156] Figure 5 A schematic diagram of the structure of a fault diagnosis device for a device provided in an embodiment of the present invention.

[0157] For example, Figure 5 As shown, the fault diagnosis device of the equipment includes:

[0158] The acquisition module 51 is used to acquire the vibration signal of the device to be diagnosed during operation.

[0159] The first processing module 52 is used to update the walrus position through the improved walrus optimization algorithm to obtain different VMD parameter combinations. Under different VMD parameter combinations, the vibration signal is decomposed by the initial VMD algorithm to determine the optimal parameter combination of the initial VMD algorithm, and the optimal parameter combination is substituted into the initial VMD algorithm to obtain an adaptive VMD algorithm; the VMD parameter combination is a combination of a penalty factor and a decomposition number.

[0160] The second processing module 53 is used to collect the vibration signal of the device to be diagnosed when it is running, input the vibration signal into the adaptive VMD algorithm, and use the adaptive VMD algorithm to decompose the vibration signal to obtain the IMF component.

[0161] The calculation module 54 is used to calculate multiple entropy values ​​of the IMF components to obtain an entropy value eigenvector matrix, and perform dimensionality reduction fusion on the entropy value eigenvector matrix to obtain a fused eigenvector matrix.

[0162] The judgment module 55 is used to classify the fused feature vector matrix to obtain a classification result, and judge the fault type of the device to be diagnosed according to the classification result.

[0163] Each module in the above fault diagnosis device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0164] The present invention also provides a computer device, including a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps in the embodiment of the fault diagnosis method of the device. The specific implementation method can be found in the method embodiment, which will not be repeated here.

[0165] Furthermore, the present invention also provides a non-temporary computer-readable storage medium containing instructions, and a computer program is stored on the storage medium. For example, a memory containing instructions, the above instructions can be executed by a processor of a computer device to complete the above method. For example, a non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. When the computer program is executed by the processor, the steps in the embodiment of the fault diagnosis method of the device can be implemented. The specific implementation method can be found in the method embodiment, which will not be repeated here.

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

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

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

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

[0170] It should be pointed out that the specific implementation methods described above can enable those skilled in the art to understand the invention more comprehensively, but do not limit the invention in any way. Therefore, although the invention has been described in detail in this specification and embodiments, those skilled in the art should understand that the invention can still be modified or replaced by equivalents; and all technical solutions and improvements that do not deviate from the spirit and scope of the invention are included in the protection scope of the patent for the invention. Any figure mark in the claims should not be regarded as limiting the claims involved. Any simple change or equivalent replacement of the technical solution that can be obviously obtained by any technician familiar with the field within the technical scope disclosed in the present invention belongs to the protection scope of the present invention.

Claims

1. A method for diagnosing a fault of an equipment, characterized in that: include: Collect vibration signals of the equipment to be diagnosed during operation; The walrus position is updated by an improved walrus optimization algorithm to obtain different VMD parameter combinations. Under different VMD parameter combinations, the vibration signal is decomposed by an initial VMD algorithm to determine the optimal parameter combination of the initial VMD algorithm, and the optimal parameter combination is substituted into the initial VMD algorithm to obtain an adaptive VMD algorithm; the VMD parameter combination is a combination of a penalty factor and a decomposition number; Inputting the vibration signal into the adaptive VMD algorithm, and using the adaptive VMD algorithm to decompose the vibration signal to obtain corresponding IMF components; Calculating multiple entropy values ​​of the IMF components obtained by the adaptive VMD algorithm to obtain an entropy value eigenvector matrix, performing dimensionality reduction fusion on the entropy value eigenvector matrix to obtain a fused eigenvector matrix; The fused feature vector matrix is ​​classified to obtain a classification result, and the fault type of the device to be diagnosed is determined according to the classification result.

2. The fault diagnosis method of the device according to claim 1, characterized in that: Also includes: In the initialization stage of the original walrus optimization algorithm, the diversity of the population is increased through Cubic chaos mapping; Calculate the walrus position and determine whether the walrus position is in a local optimal state during the iterative optimization process; If the walrus position does not satisfy the local optimal state, the walrus position is updated using the original walrus optimization algorithm; if the walrus position satisfies the local optimal state, the walrus position is updated using the golden sine algorithm to obtain the improved walrus optimization algorithm.

3. The fault diagnosis method of the device according to claim 1 or 2, characterized in that: The improved walrus optimization algorithm is used to update the walrus position to obtain different VMD parameter combinations. Under different VMD parameter combinations, the vibration signal is decomposed by the initial VMD algorithm to determine the optimal parameter combination of the initial VMD, including: Initializing the walrus population vector position to obtain an initial VMD parameter combination, and using the initial VMD algorithm to decompose the vibration signal to obtain corresponding IMF components according to the initial VMD parameter combination; Calculate the envelope entropy value of the IMF component obtained by the initial VMD algorithm and record the corresponding individual position, update the individual position by the improved walrus optimization algorithm, and recalculate the envelope entropy value of the IMF component obtained by the initial VMD algorithm; When the maximum number of iterations is reached, the individual position with the minimum envelope entropy value is output as the optimal parameter combination.

4. The fault diagnosis method of the device according to claim 1 or 2, characterized in that: Calculate multiple entropy values ​​of the IMF components obtained by the adaptive VMD algorithm to obtain an entropy value feature vector matrix, including: Calculating multiple entropy values ​​of the IMF components obtained by the adaptive VMD algorithm as features respectively; Normalizing each entropy value to eliminate the order of magnitude differences between the entropy values, and obtaining the entropy value feature vector matrix; Among them, the calculation expression of normalization processing is: y represents the normalized data, u represents the entropy data, and u max and u min Indicates the maximum and minimum values ​​of entropy data, y max and min Set the upper and lower limits of the normalized value range respectively.

5. The fault diagnosis method of the device according to claim 1 or 2, characterized in that: The PCA algorithm is used to reduce the dimension of the entropy value feature vector matrix to obtain a fused feature vector matrix, including: Calculate the average value of each feature according to the entropy value feature vector matrix; Subtract the corresponding mean value from all samples to obtain the centralized eigenvector matrix Scen; Calculate the covariance matrix Scov of the eigenvector matrix Scen, and use singular value decomposition to find the eigenvalues ​​of the covariance matrix and their corresponding eigenvectors; Sort the eigenvalues ​​of the covariance matrix Scov from large to small, select the eigenvectors corresponding to the first p eigenvalues, and obtain the optimal generalized eigenmatrix Se; The original entropy value eigenvector matrix is ​​converted into the new space constructed by the p eigenvectors, and a fused eigenvector matrix Snew with p dimensions is obtained after principal component analysis.

6. The method for diagnosing a fault of an apparatus according to claim 1 or 2, characterized in that: The fused feature vector matrix is ​​classified by the KELM model to obtain classification results, including: Dividing the fused feature vector matrix into a training set and a test set according to a preset ratio; Training the pre-built KELM model using the training set to obtain a trained KELM model; The test set is classified by using the trained KELM model to obtain the classification result.

7. The fault diagnosis method of the device according to claim 1 or 2, characterized in that: The various entropy values ​​include information entropy, envelope entropy, approximate entropy, sample entropy, fuzzy entropy, energy entropy and permutation entropy.

8. A fault diagnosis device for equipment, characterized in that: include: A collection module, used to collect vibration signals of the equipment to be diagnosed during operation; The first processing module is used to update the walrus position through the improved walrus optimization algorithm to obtain different VMD parameter combinations, decompose the vibration signal through the initial VMD algorithm under different VMD parameter combinations, determine the optimal parameter combination of the initial VMD algorithm, substitute the optimal parameter combination into the initial VMD algorithm, and obtain an adaptive VMD algorithm; the VMD parameter combination is a combination of a penalty factor and a decomposition number; A second processing module is used to input the vibration signal into the adaptive VMD algorithm, and use the adaptive VMD algorithm to decompose the vibration signal to obtain an IMF component; A calculation module, used for calculating multiple entropy values ​​of the IMF components obtained by the adaptive VMD algorithm to obtain an entropy value feature vector matrix, and performing dimensionality reduction fusion on the entropy value feature vector matrix to obtain a fused feature vector matrix; The judgment module is used to classify the fused feature vector matrix to obtain a classification result, and judge the fault type of the device to be diagnosed according to the classification result.

9. A computer device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the fault diagnosis method of the device according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is loaded by a processor, it is capable of executing the steps of the fault diagnosis method of the device as claimed in any one of claims 1 to 7.

Citation Information

Cited By

  • Flame discharge signal optimization processing method for 10kV overhead line

    CN119886199A