Bearing fault diagnosis method fusing neighborhood relation to keep aligned with manifold embedding distribution
By maintaining the alignment with the manifold embedding distribution through the method of integrating neighborhood relationships, the problem of high separability and insufficient domain adaptability in bearing fault diagnosis is solved, high accuracy fault diagnosis under variable operating conditions is achieved, and computing resource requirements and training costs are reduced.
Patent Information
- Application Number
- CN202411818909.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-12-11
AI Technical Summary
In bearing fault diagnosis, the prior art faces the problem of high separability and insufficient domain adaptability, especially in variable operating conditions, it is difficult to effectively extract fault characteristics and improve diagnostic accuracy.
The method of maintaining the alignment with the manifold embedding distribution through signal processing and time-frequency statistical feature extraction, domain adaptive feature selection, and adaptive dynamic distribution alignment based on manifold subspace learning is used to improve the cross-domain adaptability and diagnostic accuracy of bearing fault diagnosis models.
It has achieved improvement in bearing fault diagnosis performance under variable operating conditions, with the cross-domain fault diagnosis accuracy of more than 98%, and has reduced computing resource requirements and training costs.
Smart Images

Figure CN119719953A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of bearing fault diagnosis, and in particular to a bearing fault diagnosis method that integrates neighborhood relations and maintains alignment with manifold embedding distribution. Background Art
[0002] In recent years, with the rapid development of artificial intelligence technologies such as data mining, deep learning and transfer learning, more and more researchers at home and abroad have conducted research on artificial intelligence-based bearing fault diagnosis and achieved fruitful results.
[0003] In order to solve the problem that traditional machine learning methods are unable to adaptively extract fault feature information of bearings under complex and variable working conditions, Zhao Xiaoqiang and others designed a dual-path parallel multi-scale residual neural network with an attention mechanism based on the residual neural network, which improved the network's ability to adaptively extract fault features and achieved higher fault diagnosis accuracy.
[0004] In view of the difficulty in obtaining real fault data under actual working conditions and the large differences between the target domain and the source domain signals, the cross-working condition migration recognition of deep models faces challenges such as difficulty in feature extraction and classification and weak model generalization. Wen Jiangtao and others introduced the unsupervised idea and proposed an improved method based on self-supervised learning combined with adversarial migration. This method creates auxiliary tasks based on the characteristics of the signal itself, learns a large amount of unlabeled data, and establishes the intrinsic connection between the source domain and the target domain fault categories; then, the source domain knowledge is migrated to the target domain through adversarial domain adaptation and joint maximum mean difference, and the difference between the two domains is optimized by combining auxiliary tasks, and finally accurate fault classification in the target domain is achieved.
[0005] Pan Xiaobo et al. proposed a cross-domain bearing fault diagnosis method based on feature transfer learning. By performing feature transfer selection on a high-dimensional deep feature set, a feature subset that is more beneficial to cross-domain fault diagnosis is obtained. The distribution difference between source domain and target domain samples is then reduced through balanced distribution adaptation, thereby improving the cross-domain fault diagnosis performance of the fault diagnosis model.
[0006] In order to solve the problems of poor generalization ability and low diagnostic accuracy of traditional deep learning models under variable working conditions, Pan Xuejiao et al. proposed a rolling bearing fault diagnosis method based on SK-ResNet and transfer learning. This method integrates the selective kernel network (SKNet) into the residual network (ResNet) to improve the feature extraction capability, and then uses the difference alignment loss (DDM) improved by multi-kernel maximum mean difference (MK-MMD) and correlation alignment (CORAL) to narrow the difference in feature distribution of rolling bearing fault data under variable working conditions, thereby improving the rolling bearing fault diagnosis accuracy and model generalization ability under variable working conditions.
[0007] Hu et al. proposed a new balanced adaptive regularization method by comprehensively considering the relationship between conditional probability distribution and marginal probability distribution, which more effectively reduced the distribution difference while improving the adaptability of the model, thereby improving the accuracy of cross-domain fault diagnosis.
[0008] Although abundant research results in recent years have effectively improved the fault diagnosis performance of bearings under variable operating conditions, the above-mentioned methods and similar fault diagnosis methods still face important challenges when applied to bearing fault diagnosis in actual industrial scenarios: (1) Deep learning-based models often require a large number of training samples with complete fault categories to achieve ideal variable operating condition fault diagnosis performance, but it is difficult to obtain sufficient equipment fault samples with complete categories in actual industrial scenarios; (2) The differences in sample distribution caused by variable equipment operating conditions make it difficult for fault diagnosis models trained with limited samples to achieve ideal fault diagnosis accuracy; (3) The training cost of deep learning-based fault diagnosis models is high and they are easily restricted by scenarios with limited computing resources.
[0009] The main contents and steps of the article "Rolling Bearing Fault Diagnosis Based on SK-ResNet and Transfer Learning" in the journal "Combined Machine Tools and Automated Processing Technology" in October 2024 are as follows:
[0010] Aiming at the problems of poor generalization ability and low diagnostic accuracy of traditional deep learning models under variable working conditions, a rolling bearing fault diagnosis method based on SK-ResNet and transfer learning was proposed.
[0011] Firstly, the collected time domain signal is subjected to fast Fourier transform (FFT) to obtain the frequency domain signal, and then weighted fusion is performed to obtain a new time-frequency domain data set;
[0012] Secondly: Integrate the Selective Kernel Network (SKNet) into the Residual Network (ResNet) to improve feature extraction capabilities;
[0013] Then: the difference alignment loss (DDM) improved by multi-kernel maximum mean difference (MK-MMD) and correlation alignment (CORAL) is used to reduce the difference in feature distribution of rolling bearing fault data under variable working conditions, and it is applied to multiple modules of the model to further reduce the distribution distance between features.
[0014] Finally: Use the trained model to perform rolling bearing fault diagnosis on the target domain test data, obtain classification results, and output the fault diagnosis accuracy.
[0015] The technical solution mainly has the following problems:
[0016] (1) Only Fourier transform is used to process the original vibration signal of the bearing to obtain the frequency domain signal, and then the time domain signal and the frequency domain signal are weighted and fused to form a new time-frequency domain signal with time domain characteristics and frequency domain characteristics. This processing method of extracting time domain and frequency domain signals alone is difficult to extract fault information from the bearing vibration signal with nonlinearity and strong non-stationarity, which in turn affects the effect of fault feature extraction.
[0017] (2) The difference alignment loss (DDM) based on multi-kernel maximum mean difference (MK-MMD) and correlation alignment (CORAL) is used to reduce the difference in feature distribution of rolling bearing fault data under variable working conditions. This method does not effectively analyze the extracted features themselves, but only constrains the feature data from the perspective of minimizing the two differences, ignoring the consideration of feature classification performance, which easily leads to poor diagnostic effect of the fault diagnosis model. Summary of the invention
[0018] The purpose of the present invention is to overcome the defects and shortcomings of the prior art, and to provide a bearing fault diagnosis method that integrates neighborhood relationships to maintain alignment with manifold embedding distribution, so as to solve the problems faced in realizing bearing fault diagnosis under variable operating conditions, such as insufficient adaptive extraction capabilities of bearing fault features with high separability and domain adaptation; the distribution differences between data caused by variable operating conditions still seriously affect the fault diagnosis accuracy; in the fault diagnosis model combined with transfer learning, it is easy to ignore the improvement of feature classification performance while considering the distribution difference measurement between the source domain and the target domain.
[0019] To achieve the above object, the present invention provides the following technical solutions:
[0020] A bearing fault diagnosis method that integrates neighborhood relations and maintains alignment with manifold embedding distribution includes the following four steps:
[0021] (1) Signal processing and time-frequency statistical feature extraction
[0022] Obtain bearing vibration signals with known working conditions and bearing vibration signals with unknown working conditions, extract a variety of time-frequency domain statistical feature data as labeled source domain feature sets based on bearing vibration signals with known working conditions, and extract a variety of time-frequency domain statistical feature data as unlabeled target domain feature sets based on bearing vibration signals with unknown working conditions; use empirical mode decomposition (EMD) to process bearing vibration signals with known working conditions and bearing vibration signals with unknown working conditions, extract intrinsic mode components, calculate time-frequency domain statistical features, and construct the original feature set;
[0023] (2) Domain Adaptation Feature Selection
[0024] Based on the original feature set obtained in step (1), the naive Bayes classification algorithm is used to process each feature data in the source domain to obtain the classification accuracy CA of the feature. The classification accuracy CA is also used as the classification accuracy CA of the corresponding class statistical feature data in the target domain feature set. The classification accuracy CA represents the discrimination ability of each statistical feature data in the source domain feature set and the target domain feature set.
[0025] Then, based on the feature data in the source domain and the target domain under normal conditions, the maximum mean difference and KL divergence of the marginal probability of the features between different domains are calculated to characterize the cross-domain stability of the features.
[0026] Finally, based on the fault classification accuracy, the maximum mean difference of edge probability and KL divergence, the domain adaptation feature selection index RCD is constructed;
[0027] (3) Domain adaptation based on neighborhood relationships to keep the alignment with the manifold embedding distribution
[0028] For the domain adaptation feature selection index obtained in step (2), features are selected from the source domain and the target domain to construct a subset and perform domain adaptation processing; Grassmann manifold subspace learning is performed on the source domain and target domain feature subsets, and in the learned manifold subspace, the category label information and the neighborhood relationship between samples are considered in the adaptive dynamic distribution alignment process, so as to reduce the distribution difference between the source domain and the target domain while improving the separability of the feature data;
[0029] (4) Training and testing of cross-domain bearing fault diagnosis model
[0030] After the adaptive dynamic distribution alignment in step (3), the source domain and target domain feature sets are used for training and testing the cross-domain fault diagnosis model respectively; based on the labeled source domain feature data, the fault pattern recognition classifier is trained under the principle of structural risk minimization to obtain the cross-domain fault diagnosis model of the bearing; then, the unlabeled target domain feature data is input into the trained classifier to predict the category label and obtain the cross-domain fault diagnosis result.
[0031] Compared with the prior art, the present invention has the following beneficial effects:
[0032] (1) The model trained by the fault diagnosis framework of the bearing fault diagnosis method proposed in the present invention, which integrates the neighborhood relationship and maintains the alignment with the manifold embedding distribution, can achieve ideal variable operating condition fault diagnosis performance. Based on the actual bearing fault data set, the maximum accuracy of all cross-domain fault diagnosis tasks is not less than 98%, and can reach 100% at most; based on the own bearing fault data, the cross-domain fault diagnosis accuracy can reach up to 95.17%, which is significantly better than other fault diagnosis models constructed based on the classic feature transfer learning method. Therefore, it has the potential to be applied to the identification of bearing fault states of rotating mechanical equipment in industrial scenarios.
[0033] (2) Compared with the fault diagnosis model based on deep learning, the fault diagnosis method proposed in the present invention does not require high computing resources, has low training costs, and is more suitable for actual industrial scene equipment with limited computing resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a flowchart of the present invention. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] A bearing fault diagnosis method that integrates neighborhood relations and maintains alignment with manifold embedding distribution includes the following four steps:
[0037] (1) Signal processing and time-frequency statistical feature extraction
[0038] Obtain bearing vibration signals with known working conditions and bearing vibration signals with unknown working conditions, extract a variety of time-frequency domain statistical feature data as labeled source domain feature sets based on bearing vibration signals with known working conditions, and extract a variety of time-frequency domain statistical feature data as unlabeled target domain feature sets based on bearing vibration signals with unknown working conditions; use empirical mode decomposition (EMD) to process bearing vibration signals with known working conditions and bearing vibration signals with unknown working conditions, extract intrinsic mode components, calculate time-frequency domain statistical features, and construct the original feature set;
[0039] (2) Domain Adaptation Feature Selection
[0040] Based on the original feature set obtained in step (1), the naive Bayes classification algorithm is used to process each feature data in the source domain to obtain the classification accuracy CA of the feature. The classification accuracy CA is also used as the classification accuracy CA of the corresponding class statistical feature data in the target domain feature set. The classification accuracy CA represents the discrimination ability of each statistical feature data in the source domain feature set and the target domain feature set.
[0041] Then, based on the feature data in the source domain and the target domain under normal conditions, the maximum mean difference and KL divergence of the marginal probability of the features between different domains are calculated to characterize the cross-domain stability of the features.
[0042] Finally, based on the fault classification accuracy, the maximum mean difference of edge probability and KL divergence, the domain adaptation feature selection index RCD is constructed;
[0043] (3) Domain adaptation based on neighborhood relationships to keep the alignment with the manifold embedding distribution
[0044] For the domain adaptation feature selection index obtained in step (2), features are selected from the source domain and the target domain to construct a subset and perform domain adaptation processing; Grassmann manifold subspace learning is performed on the source domain and target domain feature subsets, and in the learned manifold subspace, the category label information and the neighborhood relationship between samples are considered in the adaptive dynamic distribution alignment process, so as to reduce the distribution difference between the source domain and the target domain while improving the separability of the feature data;
[0045] (4) Training and testing of cross-domain bearing fault diagnosis model
[0046] After the adaptive dynamic distribution alignment in step (3), the source domain and target domain feature sets are used for training and testing the cross-domain fault diagnosis model respectively; based on the labeled source domain feature data, the fault pattern recognition classifier is trained under the principle of structural risk minimization to obtain the cross-domain fault diagnosis model of the bearing; then, the unlabeled target domain feature data is input into the trained classifier to predict the category label and obtain the cross-domain fault diagnosis result.
[0047] Furthermore, in step (1), EMD, as a classic time-frequency analysis method, can decompose the signal according to its own time scale characteristics, and decompose the complex original signal into the sum of several complete, almost orthogonal intrinsic mode function components and residual components. Each IMF component corresponds to a vibration mode of a specific signal of a discrete frequency. The decomposed IMF components must meet the following two conditions:
[0048] 1) In the entire IMF data segment, the number of extreme points and the number of zero-crossing points must be equal or the difference cannot exceed one;
[0049] 2) At any time, the average value of the upper envelope formed by the local maximum point and the lower envelope formed by the local minimum point is zero, that is, the upper and lower envelopes are locally symmetrical with respect to the time axis.
[0050] The decomposition steps of the EMD algorithm are as follows:
[0051] Step S11. Find the maximum and minimum points of the original signal x(t), and draw the upper envelope x according to the obtained extreme points. α (t) and the lower envelope x β (t), and find the average value of the upper and lower envelopes to obtain the mean envelope M1(t):
[0052]
[0053] Step S12: Subtract M1(t) from the original signal x(t) to obtain the intermediate signal H1(t)
[0054] H1(t)=x(t)-M1(t) (2)
[0055] Step S13. Determine whether the intermediate signal satisfies the two constraints of IMF. If so, it is output as IMF1. If not, take the intermediate signal H1(t) as the new input signal and repeat steps S11 and S12 until the output intermediate signal H1(t) satisfies the two conditions of IMF. When H1(t) satisfies the two conditions, H1(t) is output as the first IMF component, which is recorded as c1(t).
[0056] Step S14. After c1(t) is obtained through step S13, the original signal x(t) is subtracted from c1(t) as the new original signal x1(t), and steps S11-S13 are repeated until the residual x1(t) is obtained. n (t) is a monotonic function or a constant; thus, the original signal x(t) is decomposed into n IMF components c by the EMD algorithm. i (t) and a residual r(t), we can get the following expression:
[0057]
[0058] Among them, each IMF component c i (t) represent the frequency components in the original signal, and are arranged in order from high frequency to low frequency, reflecting the local characteristics of the original signal; the residual component r(t) represents the average trend of the signal; based on EMD decomposition, the intrinsic mode function component c containing each resonance frequency band is obtained. i (t), envelope detection can be achieved by Hilbert transform;
[0059]
[0060] Where: dτ is the differential of τ, c i (τ) is the value of the i-th IMF component of the signal x(t) at time τ;
[0061] Envelope signal HE[c i (t)] filters out the frequency components of high-frequency attenuated vibrations and retains the low-frequency components containing fault characteristic information. Therefore, the envelope signal can be spectrally analyzed to extract characteristic information reflecting the rolling bearing fault from the IMF component and its envelope spectrum.
[0062] Time-frequency domain statistical feature extraction:
[0063] Each vibration signal sample is decomposed by EMD to obtain different IMF components. For example, the first 4-order IMF components obtained by EMD processing of the vibration signal are used for statistical feature extraction, and the 4 Hilbert Envelope Spectra (HES) and 1 Hilbert Marginal Spectrum (HMS) corresponding to the 4-order IMF components are calculated. Based on the above 4 IMF components, 4 HES and 1 HMS, 18 statistical parameters as shown in Table 1 are calculated, and a total of 162 statistical features are obtained, which constitute the original time-frequency statistical feature set for subsequent processing.
[0064] Table 1-18 statistical parameters
[0065] Serial number name Serial number name 1 Very bad 10 Form Factor 2 Mean 11 Skewness 3 Standard Deviation 12 Power Spectral Entropy 4 Kurtosis 13 Singular Spectral Entropy 5 energy 14 Approximate Entropy 6 Energy Entropy 15 Sample Entropy 7 Kurtosis 16 Fuzzy Entropy 8 Crest Factor 17 Permutation Entropy 9 Pulse Factor 18 Envelope Entropy
[0066] Furthermore, in step (2) of domain adaptation feature selection, although the time-frequency analysis method can extract fault feature information from non-stationary and nonlinear fault vibration signals, it is also easy to introduce a large amount of redundant and interfering information. In this regard, in order to improve the effect of distribution adaptation between feature data in different domains and the accuracy of fault pattern recognition, this application proposes a new domain adaptation feature evaluation method based on naive Bayes classification accuracy and inter-domain differences, and selects features with good feature discrimination ability and domain invariance for domain adaptation processing.
[0067] This new domain adaptation feature evaluation method DFERD based on naive Bayes classification accuracy and inter-domain differences mainly includes two aspects: discriminative performance evaluation based on feature classification accuracy and inter-domain difference evaluation based on multiple distance indicators.
[0068] (1) Evaluation of discriminant performance based on feature classification accuracy
[0069] The Naive Bayes (NB) classification algorithm is a classification method based on the Bayesian theorem. Based on the training samples, the Bayesian formula is used to obtain the category prediction results of the data to be tested. Its main idea is to connect the prior and posterior probabilities of events and use the prior information of events to predict the posterior probability. This paper uses the Naive Bayes classification algorithm to classify the feature data in the source domain, and uses the classification accuracy to characterize the discriminant performance of each feature.
[0070] In the DFERD method, the naive Bayes classification algorithm is first used to process the feature data in the source domain to obtain the classification accuracy (CA) of the feature. Given a source domain feature set containing D feature samples, Among them, the dth feature The expression is as follows:
[0071]
[0072] In the formula, is the nth feature sample of the kth fault category, K is the number of fault categories in the source domain feature data, and N is the total number of feature samples; the naive Bayes classification algorithm is used to obtain the CA of D features in the source domain to form a feature importance score sequence S IS as follows:
[0073] S IS ={CA(1),CA(2),…,CA(D)} (6)
[0074] When the CA value of a feature is larger, the discriminative performance of the feature is better, and the feature is more suitable for fault classification.
[0075] (2) Inter-domain Difference Evaluation Based on Multiple Distance Indicators
[0076] In order to effectively quantify the distribution differences of evaluation features between different domains, this paper uses the maximum mean difference and Kullback-leibler (KL) divergence to measure the distribution differences between data. Based on the feature data of the bearing in the normal state in the source domain and the target domain, the MMD of the marginal probability distribution between the two is calculated. Therefore, the MMD value sequence of D kinds of feature data between the source domain and the target domain can be obtained:
[0077] S MMD ={M(1),M(2),…,M(D)} (7)
[0078] KL divergence is often used in probability theory and information theory to describe the distribution difference between probability distributions. Given the marginal probability distribution of the source domain and the target domain as P S and P T , then P S and P T The KL divergence between is defined as:
[0079]
[0080] In the formula, p(x i ) is the target distribution; q(x i ) is the matching distribution; x i is a discrete random variable; L is the length of the probability distribution. The feature data of the bearing in the normal state in the source domain and the target domain are also used to calculate the KL divergence of the marginal probability distribution between the two. Therefore, the KL divergence value sequence of D kinds of feature data between the source domain and the target domain can be obtained:
[0081] S KLD ={D KL (1),D KL (2),…,D KL(D)} (9)
[0082] (3) Construction of domain adaptation feature selection indicators
[0083] Based on the discriminative performance evaluation of feature classification accuracy and the inter-domain difference evaluation based on multiple distance indicators, a new domain adaptation feature selection indicator is constructed, the Ratio of Classification Accuracy and Differences between Domains (RCD), which is expressed as follows:
[0084]
[0085] Where CA(d) represents the classification accuracy of the d-th feature, M(d) represents the MMD value between the source domain and the target domain of the d-th feature data, and D KL (d) represents the KL divergence between the marginal probability distributions of the d-th feature data in the source domain and the target domain.
[0086] For D features, based on formula (10), the corresponding RCD sequence can be obtained as follows:
[0087] S R ={R(1),R(2),…,R(D)} (11)
[0088] It can be seen that: when the RCD value of the feature is larger, it indicates that the feature takes into account both the discriminative performance and the cross-domain invariant performance, which is more beneficial to domain adaptation processing and fault pattern recognition and classification. Therefore, the RCD sequence of each statistical feature is calculated, and the features with the highest ranking are selected in descending order to construct a new domain adaptation feature set for subsequent domain adaptation processing and cross-domain fault diagnosis model training.
[0089] Furthermore, in step (3), in order to solve the problems that traditional feature-based transfer learning methods are prone to feature distortion in the original feature space, insufficient consideration of data distribution differences between different domains, and insufficient consideration of source domain sample category information and neighborhood relations, this paper proposes a new transfer learning method based on domain adaptation based on neighborhood relation preservation and manifold embedding distribution alignment. This method integrates manifold subspace learning, adaptive dynamic distribution alignment, and neighborhood relation preservation between class data, and mainly includes three steps:
[0090] Step S31 Grassmann manifold feature learning;
[0091] Step S32 adaptive dynamic distribution alignment;
[0092] Step S33: Cross-domain classifier learning under the principle of structural risk minimization.
[0093] Suppose that a fault diagnosis knowledge is extracted from labeled source domain samples D S ={X S ,Y S} and unlabeled target domain normal state samples Transfer learning to unlabeled target domain samples D T ={X T} domain adaptation task;
[0094] Where D S and D T The data were collected under specific working conditions and different working conditions. represents a data set containing m samples, is the kth sample k=1,2,…m; X S The corresponding category label set is is the kth sample label; represents a sample set containing n samples, is the jth sample (j=1,2,…n); D S and D T The marginal probability distribution and conditional probability distribution of are different, that is, P(X S )≠P(X T ) and Q(Y S |X S )≠Q(Y T |X T ).
[0095] Grassmann manifold feature learning in step S31
[0096] Manifold learning is a classic data dimensionality reduction method that aims to explore the structural features of low-dimensional data embedded in a high-dimensional observation space. Unlike traditional dimensionality reduction analysis methods, manifold learning assumes that the existing data is uniformly sampled in a high-dimensional Euclidean space and has a potential low-dimensional manifold structure. Manifold learning discovers the underlying regularities of data in a high-dimensional observation space by reconstructing the manifold structure in high-dimensional sample data. Unsupervised manifold learning methods are widely used in mechanical fault diagnosis, and results show that manifold learning can effectively capture the inherent manifold features associated with mechanical fault information.
[0097] In the original Euclidean space, if we directly S ={X S ,Y S} and target domain D T ={X T} Perform data migration, X SIt will cause data distortion. The literature Wang, J., Feng, W., Chen, Y., Yu, H., & Yu, PS (2018). Visual domain adaptation with manifold embedded distribution alignment. In ACM Multimedia (pp. 402-410) proposed: Feature distortion refers to the deformation or distortion of the representation of data in the feature space. It is usually difficult to overcome the problem of feature distortion by aligning the distribution in the original feature space. s and D t The features in are mapped into the Grassmann manifold space respectively. The shortest path between two points φ0 and φ1 in the manifold space should be composed of geodesic flow {Φ(p):0≤p≤1}.
[0098] The manifold characteristic u can be expressed as u = g(x) = Φ(p) T x represents; where g(x) represents the manifold transformation result of the original feature data x, g represents the manifold feature learning function, Φ(p) T x represents the product of the transpose of the geodesic flow and the original feature data x.
[0099] Calculate the original Euclidean space eigenvector x i and x j The projection v on Φ(p) i , v j , use v i and v j The inner product of defines the geodesic flow kernel function G:
[0100]
[0101] Based on formula (12), where dt is the differential with respect to t, the original feature data can be projected into the subspace of the Grassmann manifold space.
[0102] In step S32, adaptive dynamic distribution alignment
[0103] (1) Marginal Probability Distribution Alignment
[0104] Given two feature datasets Z S and Z T , which represent the source domain and target domain features on G(d), respectively, and can align the two marginal probability distributions P(Z S ) and P(Z T ). P(Z S ) and P(Z T ) is defined as:
[0105]
[0106] Where H is the reproducing kernel Hilbert space (RKHS), n S and n T Z S and Z T , tr(·) represents the trace of the matrix, and the matrix K is defined as follows:
[0107]
[0108] Among them, K S,S ,K S,T and K T,T Z S , cross-domain, Z T The kernel matrix in . The matrix L0 is defined as follows:
[0109]
[0110] K can be decomposed into an empirical kernel map, using the matrix Features can be mapped to a low-dimensional space. The kernel matrix K can be calculated as follows:
[0111]
[0112] Where W is the transformation matrix, W T is the transpose of the W matrix. S ) and P(Z T ) can be further expressed as:
[0113] MMD 2 (P S ,P T )=tr(W T KL0KW) (17)
[0114] The optimization goal of edge distribution adaptation is to obtain an optimal transformation matrix so that after transformation P(Z S ) and P(Z T ) reaches the minimum MMD between them.
[0115] (2) Conditional Probability Distribution Alignment
[0116] In order to improve the effect of domain adaptation processing, it is also necessary to consider minimizing the conditional probability distribution Q S (Y S |Z S ) and Q T (Y T |Z T). Since the target domain has no label information, the conditional probability distribution Q cannot be directly obtained T (Y T |Z T ). To this end, the base classifier trained with labeled source domain data can be used to predict the target domain data category and obtain the category pseudo label. S (Y S |Z S ) and Q T (Y T |Z T ) is more complicated to calculate directly, so Q S (Z S |Y S =c) and Q T (Z T |Y T =c) to solve, c∈[1,2,,C], representing each class in the label set (C is the number of feature data categories). S (Z S |Y S =c) and Q T (Z T |Y T =c) is defined as:
[0117]
[0118] Where: Φ(z i ) indicates zi Perform nonlinear mapping, which can make the conditional probability distribution Q S (Y S |Z S ) and Q T (Y T |Z T ) have the smallest distribution difference.
[0119] and are the source and target data samples belonging to category c, respectively. Represents the target data z i 's pseudo-labels. and are the number of source and target data samples belonging to class c respectively. The MMD matrix L c It can be calculated by the following expression:
[0120]
[0121] By minimizing formula (18), in the new representation and The conditional probability distribution between the two is narrowed.
[0122] (3) Adaptive dynamic distribution alignment
[0123] In order to dynamically adapt the conditional probability distribution and edge probability distribution between different domain data, the adaptive factor α is introduced, and the adaptive dynamic distribution difference expression is constructed by combining the conditional probability distribution and the conditional probability distribution difference expression as follows:
[0124]
[0125] Where α∈[0,1] is the adaptive factor; when α→1, it means that the data similarity between the source domain and the target domain is high, so the edge probability distribution alignment weight is larger; when α→0, it means that the data distribution difference between the source domain and the target domain is large, at this time, the conditional probability distribution alignment is given a larger weight. In order to dynamically solve the adaptive factor, the A-distance metric method is used to solve the optimal adaptive factor α.
[0126] (4) Neighborhood Relationship Maintenance
[0127] In order to consider the influence of the class information and neighborhood relationship of feature data in the process of adaptive dynamic distribution alignment, a new local neighborhood discriminant matrix L is designed based on the principle of local Fisher discriminant analysis. N , integrated into the adaptive dynamic distribution alignment goal, L N The expression is as follows:
[0128]
[0129] Among them, S w and They are the intra-class scatter matrix and the inter-class scatter matrix, respectively, and their expressions are as follows:
[0130]
[0131] in,
[0132]
[0133] In formula (24) and (25), n, l, n l and C are the number of feature samples, feature sample categories, the number of samples in the lth category and the total number of sample categories respectively. and p ij Construct a weight matrix. ij for and p ij The adjustment parameter ranges from 0 to 1. i and z j The closer the distance, the ijThe larger the value, the greater the inter-class divergence and the greater the boundary distance between samples of different classes. i and z j The farther the distance, the greater the ij The smaller the value, the smaller the intra-class divergence is, making the samples of the same class more cohesive. Finally, the separability between samples of different classes is improved. Based on equations (17), (18), (20) and (21), the adaptive dynamic distribution difference expression with neighborhood relationship preservation is constructed:
[0134]
[0135] Where α is the optimal adaptive factor obtained by using the A-distance measurement method, and λ is an adjustment parameter, which ranges from 0 to 1.
[0136] Step S33: cross-domain classifier learning under the principle of structural risk minimization;
[0137] After Grassmann manifold feature learning and adaptive dynamic distribution alignment, based on the principle of structural risk minimization, Z S , And mean square error to learn the domain invariant classifier f, which is expressed as follows:
[0138]
[0139] Where H K is the reproducing kernel Hilbert space, η and λ f are regularization parameters. Based on the fact that the regularization functional in high or even infinite dimensions can be represented by the finite-dimensional space spanned by data samples, the classifier f can be expanded as follows:
[0140]
[0141] in Therefore, formula (27) can be further expressed as:
[0142]
[0143] In the formula, ||·|| F is the Frobenious norm, is the kernel matrix, is a diagonal domain indicator matrix of , if i∈Z S , then A ii =1, otherwise A ii = 0. The expression of matrix L is as follows:
[0144] L=(1-α)L c +αL0+μL N (30)
[0145] yes ZS and ZT The class label matrix of . The solution to the optimization problem of formula (29) can be transformed into the following expression:
[0146] W * =((A+λL)K+ηI) -1 AY T (31)
[0147] In order to verify the effectiveness and advantages of the proposed method, cross-domain fault diagnosis tasks under different working conditions were set based on the bearing fault dataset of Case Western Reserve University, and comparative experiments were carried out. The results show that: (1) The cross-domain fault diagnosis performance of the BFD-NRMMEDA model constructed based on the proposed method is significantly better than other models. Based on the fault data of Case Western Reserve University, the maximum accuracy of all cross-domain fault diagnosis tasks is not less than 98%, and can reach 100% at most; based on the own bearing fault data, the cross-domain fault diagnosis accuracy can reach up to 95.17%, which is significantly better than the fault diagnosis model based on classic feature transfer learning; (2) The domain adaptation method based on transfer learning, combined with the domain adaptation feature selection method DFERD proposed in this paper, can significantly improve the accuracy of cross-domain fault diagnosis.
[0148] Although this specification is described according to implementation modes, not every implementation mode includes only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
[0149] Therefore, the above description is only a preferred embodiment of the present application and is not intended to limit the scope of implementation of the present application; that is, all equivalent changes made according to the scope of the claims of the present application are within the protection scope of the claims of the present application.
Claims
1. A bearing fault diagnosis method that integrates neighborhood relations and maintains alignment with manifold embedding distribution, characterized in that: It includes the following four steps: (1) Signal processing and time-frequency statistical feature extraction Obtain bearing vibration signals with known working conditions and bearing vibration signals with unknown working conditions, extract a variety of time-frequency domain statistical feature data as labeled source domain feature sets based on bearing vibration signals with known working conditions, and extract a variety of time-frequency domain statistical feature data as unlabeled target domain feature sets based on bearing vibration signals with unknown working conditions; use empirical mode decomposition (EMD) to process bearing vibration signals with known working conditions and bearing vibration signals with unknown working conditions, extract intrinsic mode components, calculate time-frequency domain statistical features, and construct the original feature set; (2) Domain Adaptation Feature Selection Based on the original feature set obtained in step (1), the naive Bayes classification algorithm is used to process each feature data in the source domain to obtain the classification accuracy CA of the feature. The classification accuracy CA is also used as the classification accuracy CA of the corresponding class statistical feature data in the target domain feature set. The classification accuracy CA represents the discrimination ability of each statistical feature data in the source domain feature set and the target domain feature set. Then, based on the feature data in the source domain and the target domain under normal conditions, the maximum mean difference and KL divergence of the marginal probability of the features between different domains are calculated to characterize the cross-domain stability of the features. Finally, based on the fault classification accuracy, the maximum mean difference of edge probability and KL divergence, the domain adaptation feature selection index RCD is constructed; (3) Domain adaptation based on neighborhood relationships to keep the alignment with the manifold embedding distribution For the domain adaptation feature selection index obtained in step (2), features are selected from the source domain and the target domain to construct a subset and perform domain adaptation processing; The Grassmann manifold subspace is learned for the feature subsets of the source domain and the target domain. In the learned manifold subspace, the class label information and the neighborhood relationship between samples are considered in the adaptive dynamic distribution alignment process, so as to reduce the distribution difference between the source domain and the target domain while improving the separability of the feature data. (4) Training and testing of cross-domain bearing fault diagnosis model After the adaptive dynamic distribution alignment in step (3), the source domain and target domain feature sets are used for training and testing the cross-domain fault diagnosis model respectively; based on the labeled source domain feature data, the fault pattern recognition classifier is trained under the principle of structural risk minimization to obtain the cross-domain fault diagnosis model of the bearing; then, the unlabeled target domain feature data is input into the trained classifier to predict the category label and obtain the cross-domain fault diagnosis result.
2. The bearing fault diagnosis method according to claim 1 that maintains alignment with the manifold embedding distribution by integrating the neighborhood relationship is characterized by: In step (1), EMD, as a time-frequency analysis method, can decompose the signal according to its own time scale characteristics, and decompose the complex original signal into a sum of several complete and almost orthogonal intrinsic mode function components and residual components. Each IMF component corresponds to a vibration mode of a specific signal of a discrete frequency. After the intrinsic mode function components containing each resonant frequency band are decomposed based on the EMD algorithm, envelope detection is realized through Hilbert transform; the envelope signal filters the frequency components of high-frequency attenuated vibration and retains the low-frequency components containing fault characteristic information. The envelope signal is subjected to spectral analysis, and the characteristic information reflecting the rolling bearing fault is extracted from the IMF component and its envelope spectrum to form the original time-frequency statistical feature set for subsequent processing.
3. The bearing fault diagnosis method according to claim 1 that maintains alignment with the manifold embedding distribution by integrating the neighborhood relationship is characterized by: In step (2), the naive Bayes classification algorithm is used to process the feature data in the source domain to obtain the classification accuracy CA of the feature. Given a source domain feature set containing D feature samples, Among them, the dth feature The expression is as follows: In the formula, is the nth feature sample of the kth fault category, K is the number of fault categories in the source domain feature data, and N is the total number of feature samples; the naive Bayes classification algorithm is used to obtain the CA of D features in the source domain to form a feature importance score sequence S IS as follows: S IS ={CA(1),CA(2),…,CA(P)} When the CA value of a feature is larger, the discriminative performance of the feature is better, and the feature is more suitable for fault classification.
4. The bearing fault diagnosis method according to claim 3 that maintains alignment with the manifold embedding distribution by integrating the neighborhood relationship is characterized in that: The inter-domain difference evaluation based on multiple distance indicators in step (2) is as follows: The maximum mean difference and (KL) divergence are used to measure the distribution difference between data. Based on the feature data of the bearing in the normal state in the source domain and the target domain, the MMD of the marginal probability distribution between the two is calculated, and the MMD value sequence of D kinds of feature data between the source domain and the target domain can be obtained: S MMD ={M(1),M(2),…,M(D)} KL divergence is often used in probability theory and information theory to describe the distribution difference between probability distributions. Given the marginal probability distribution of the source domain and the target domain as P S and P T , then P S and P T The KL divergence between is defined as: In the formula, p(xi) is the target distribution; q(xi) is the matching distribution; xi is a discrete random variable; L is the length of the probability distribution; the characteristic data of the bearing in the normal state in the source domain and the target domain are also used to calculate the KL divergence of the marginal probability distribution between the two. Therefore, the KL divergence value sequence of D kinds of characteristic data between the source domain and the target domain can be obtained: S KLD ={D KL (1),D KL (2),…,D KL (D)}。 5. The bearing fault diagnosis method of claim 4 that maintains alignment with the manifold embedding distribution by integrating the neighborhood relationship, characterized in that: Based on the above discriminative performance evaluation of feature classification accuracy and inter-domain difference evaluation based on multi-distance indicators, a new domain adaptation feature selection indicator is constructed, the ratio of feature classification accuracy to inter-domain difference (RCD), which is expressed as follows: For D features, the corresponding RCD sequence can be obtained as follows: S R ={R(1),R(2),…,R(D)}。 6. The bearing fault diagnosis method according to claim 1 that maintains alignment with the manifold embedding distribution by integrating neighborhood relations is characterized in that: When performing adaptive dynamic distribution alignment and maintaining the neighborhood relationship between class data in step (3), it mainly includes three steps: Step S31: Grassmann manifold feature learning; Step S32 adaptive dynamic distribution alignment; Step S33: Cross-domain classifier learning under the principle of structural risk minimization.
7. The bearing fault diagnosis method of claim 6 that maintains alignment with the manifold embedding distribution by integrating neighborhood relations, characterized in that: Suppose that a fault diagnosis knowledge is extracted from labeled source domain samples D S ={X S ,Y S } and unlabeled target domain normal state samples Transfer learning to unlabeled target domain samples D T ={X T } domain adaptation task; Where D S and D T The data were collected under specific working conditions and different working conditions. represents a data set containing m samples, is the kth sample k=1,2,…m; X S The corresponding category label set is is the kth sample label; represents a sample set containing n samples, is the jth sample (j=1,2,…n); D S and D T The marginal probability distribution and conditional probability distribution of are different, that is, P(X S )≠P(X T ) and Q(Y S |X S )≠Q(Y T |X T ); Manifold learning can effectively capture the inherent manifold features related to mechanical fault information; In the original Euclidean space, if we directly S ={X S ,Y S } and target domain D T ={X T } Perform data migration, X S This will cause the data to be distorted; D s and D t The features in are mapped to the Grassmann manifold space respectively; The shortest path between two points φ0 and φ1 in the manifold space should be composed of geodesic flow {Φ(p):0≤p≤1}; The manifold characteristic u can be expressed as u = g(x) = Φ(p) T x indicates; Calculate the original Euclidean space eigenvector x i and x j The projection v on Φ(p) i , v j , use v i and v j The inner product of defines the geodesic flow kernel function G: Based on the above formula, the original feature data can be projected into the subspace of the Grassmann manifold space.
8. The bearing fault diagnosis method of claim 7 that maintains alignment with the manifold embedding distribution by integrating neighborhood relations, characterized in that: Step S32 includes edge probability distribution alignment and conditional probability distribution alignment. In order to dynamically adapt the conditional probability distribution and edge probability distribution between different domain data, an adaptive factor is introduced, and the conditional probability distribution and the conditional probability distribution difference are combined to construct an adaptive dynamic distribution difference.
9. The bearing fault diagnosis method of claim 8 that maintains alignment with the manifold embedding distribution by integrating neighborhood relations, characterized in that: After Grassmann manifold feature learning and adaptive dynamic distribution alignment, a domain-invariant classifier is learned based on the principle of structural risk minimization by utilizing the feature dataset of the source domain, the adaptive dynamic distribution difference with neighborhood relationship preservation, and the mean squared error.
Citation Information
Patent Citations
Bearing fault diagnosis method based on multiple working conditions of equipment
CN113567130A
Bearing fault diagnosis method and device based on joint distribution adaptation and storage medium
CN116010883A
Cross-domain fault diagnosis method and system for rolling bearing with unknown inter-domain data label relation
CN117312984A
Bearing variable working condition fault diagnosis method based on deep transfer learning
CN117629635A
Motor bearing fault diagnosis method based on feature space local manifold embedding
CN118364371A
Cited By
Cooling tower cross-domain fault diagnosis method based on multi-source confrontation field self-adaption
CN120744677A
Cooling tower cross-domain fault diagnosis method based on multi-source adversarial domain adaptation
CN120744677B