A bearing fault diagnosis method based on causal prior knowledge distillation framework

By using a method based on the causal prior knowledge distillation framework and combining real and simulated fault samples to optimize the training process of the deep learning model, the problem of data distribution and insufficient utilization of causal knowledge in traditional models in bearing fault diagnosis is solved, and the diagnostic accuracy is improved. and interpretability, meeting the needs of industrial applications.

CN118504407BActive Publication Date: 2024-10-01HEFEI UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410684373.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-10-01
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

Due to data distribution problems and insufficient utilization of dynamic causal prior knowledge in bearing fault diagnosis, traditional deep learning models have low diagnostic accuracy and cannot meet the requirements of industrial applications.

Method used

Using a method based on the causal prior knowledge distillation framework, real fault samples and simulated fault samples are collected through the experimental bench, the mutual information between bearing speed and fault characteristics is calculated, the network parameters of the student model are adjusted, the training process is optimized, and multiple Heterogeneous feature data from different sources can reduce the interference of confounding factors and enhance the understanding of feature semantics.

Benefits of technology

It improves the accuracy of bearing fault diagnosis, enhances the interpretability and robustness of the model, and meets the diagnostic requirements of industrial applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504407B_ABST
    Figure CN118504407B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of bearing fault diagnosis, and specifically to a bearing fault diagnosis method based on a causal prior knowledge distillation framework. In the diagnostic framework proposed in the present invention, the mechanical system dynamics of the faulty bearing is modeled to generate fault signal simulation data rich in dynamic domain knowledge. Secondly, the student model calculates the mutual information of heterogeneous feature data from multiple sources and performs causal intervention based on the results. This helps feature fusion, effectively reduces the interference of confounding factors, and enhances the understanding of feature semantics. Finally, the student model adjusts the network parameters by refining the simulated faulty bearing dynamics knowledge learned from the teacher model, thereby learning the causal semantic representation of the real faulty bearing. In particular, the experimental design takes into account many aspects of causal priors, including the dynamic response mechanism of the faulty bearing, causal graph theory, frequency domain analysis, sensor differences, mechanical system differences, and many other aspects.
Need to check novelty before this filing date? Find Prior Art

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 based on a causal priori knowledge distillation framework. Background Art

[0002] As a key component of rotating machinery, rolling bearings will experience fatigue peeling, wear, corrosion and fracture during long-term use, which seriously affect the performance, stability and service life of the entire rotating machinery. Therefore, using corresponding fault diagnosis technology to timely diagnose and find problems and take remedial measures can effectively avoid the occurrence of dangerous situations, which is crucial to ensure the safe operation of industrial equipment.

[0003] Traditional deep learning models face the following challenges when diagnosing bearing faults. On the one hand, due to the delicate structure of bearings, the operating state is difficult to predict, and the vibration characteristics are complex and changeable, resulting in the inability of the acquired diagnostic data to meet the independent and identically distributed requirements. This increases the dependence of traditional deep learning models on large amounts of evenly distributed training data, which in turn makes it easy to fall into empirical misunderstandings and produce incorrect diagnostic judgments. On the other hand, although researchers have conducted in-depth studies on the generation mechanism of bearing fault data and accumulated a wealth of dynamic causal prior knowledge, this knowledge has not been fully integrated into the intelligent diagnosis framework, resulting in the inability of the current intelligent diagnosis framework to fully utilize the diagnostic causal prior knowledge of domain experts, resulting in low accuracy of the diagnosis results of faulty bearings, which cannot meet the requirements of industrial applications and therefore needs to be solved urgently. Summary of the invention

[0004] In order to avoid and overcome the technical problems existing in the prior art, the present invention provides a bearing fault diagnosis method based on a causal prior knowledge distillation framework. The present invention can effectively improve the accuracy of bearing diagnosis to meet the requirements of industrial applications.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A bearing fault diagnosis method based on a causal prior knowledge distillation framework includes the following diagnostic steps:

[0007] S1. Collect real fault samples of faulty bearings through the test bench, and generate simulated fault samples through the comprehensive four-degree-of-freedom nonlinear vibration model of the faulty bearing;

[0008] S2, calculating the mutual information between the bearing speed and other bearing fault characteristics based on the real fault samples and then calculating the influence weight;

[0009] S3, respectively processing the simulated fault samples and the real fault samples to generate a simulated time-frequency graph data set and a real time-frequency graph data set, and marking each fault feature data with its corresponding mark;

[0010] S4, based on the causal prior knowledge distillation framework, the teacher model is trained using the simulated time-frequency graph dataset, and the student model is trained using the real time-frequency graph dataset;

[0011] S5. Output the diagnosis results of the teacher model on the simulation time-frequency graph dataset, and adjust the network parameters of the student model according to the causal prior transfer relationship between the teacher model and the student model in the causal prior knowledge distillation framework to optimize the training.

[0012] S6. Output the diagnosis result of the student model for the real time-frequency diagram data set, and perform decision-level fusion of the final diagnosis result according to the influence weight in step S2. The fault type corresponding to the maximum value of each weighted rate is the fault type of the fault sample to be predicted.

[0013] As a further technical solution of the present invention: during the rotation of the faulty bearing, the bearing speed will have a corresponding impact on other fault characteristics of the faulty bearing; at the same time, the vibration generated by the system where the faulty bearing is located will also have an impact on other fault characteristics of the faulty bearing. The comprehensive performance of these two effects is represented by the impact weight; the process of calculating the impact weight is as follows:

[0014] S21. After obtaining the simulated fault samples, the bearing speed is taken as the cause variable X. The cause sample set of the cause variable X is: X i represents the i-th simulated fault sample, and N represents the total number of simulated fault samples;

[0015] Other fault characteristics of the faulty bearing are result variables Y, and the jth result variable Y j The sub-result sample set is Y j,i Represents the j-th outcome variable Y j The ith simulated fault sample in the sub-result sample set; all result variables Y are combined to form the total result sample set J represents the total number of outcome variables;

[0016] S22, obtain the cause sample set that falls into X i is the center of the circle and the radius is a fixed radius ρ i,xy The number of simulated fault samples obtained is n. x,i ;

[0017] S23, obtain the total result sample set that falls into Y j is the center of the circle and the radius is a fixed radius ρi,xy The number of simulated fault samples obtained is n. y,i ;

[0018] S24, counting the number of simulated fault samples obtained to obtain the sample distribution density within the corresponding range; performing data fusion through the sample distribution density within the range to obtain the corresponding impact weight;

[0019] The calculation formula of influence weight is as follows:

[0020]

[0021] Where W j represents the influence weight of the fault type derived from the jth fault feature under the influence of the bearing speed; e represents the natural constant; β represents the control parameter; N represents the total number of fault samples; ψ(·) represents the double gamma function; k i Indicates that at a fixed radius ρ i,xy The tuple (X i ,Y i )

[0022] As a further technical solution of the present invention: the specific steps of obtaining the simulated fault sample are as follows:

[0023] S11. The fault types of the faulty bearing include outer ring crack fault when the outer ring is cracked, inner ring crack fault when the inner ring is cracked, and roller crack fault when the roller is cracked;

[0024] S12, calculating the outer ring fault displacement excitation when the bearing has an outer ring crack fault, the inner ring fault displacement excitation when the bearing has an inner ring crack fault, and the roller fault displacement excitation when the bearing has a roller crack fault;

[0025] S13, calculating the contact deformation of each roller when passing through the crack under the corresponding fault type through fault displacement excitation;

[0026] S14, calculating the contact force between the roller and the inner ring and the outer ring during the rolling process according to the contact deformation under the corresponding fault type;

[0027] S15. Based on the calculated contact force under the corresponding fault type, the displacement, rotation speed and acceleration of the outer ring, as well as the displacement, rotation speed and acceleration of the inner ring are set, and these data are input into the comprehensive four-degree-of-freedom nonlinear vibration model for simulation testing to obtain the characteristic frequency of vibration of the faulty bearing under the corresponding fault type; the characteristic frequency and fault characteristic combination that characterize the fault type constitute a simulation fault sample that indicates the fault type; since all parameters are observable during the simulation test, the backdoor criterion is followed.

[0028] As a further technical solution of the present invention: taking the center point of the bearing as the origin, defining the X-axis and Y-axis perpendicular to each other along the radial direction of the bearing to establish the bearing plane coordinate system O-XY; during the use of the bearing with the axial direction arranged horizontally, in general, the force on the upper half is smaller than that on the lower half, so the lower half of the bearing is preset as the failure area;

[0029] Assume the roller diameter of the faulty bearing is D b , the width of the rectangular crack on the inner ring, outer ring or roller is L, the length direction of the crack is parallel to the axial direction of the faulty bearing, and the cracks on the inner ring and outer ring are both located on the rolling path of the roller; the amount of the roller sinking into the crack is calculated as follows:

[0030]

[0031] In the formula, △max represents the amount of roller sinking into the crack;

[0032] Outer race fault displacement excitation:

[0033] During the operation of the faulty bearing, the outer ring is fixed; when cracks appear on the outer ring, the position of the cracks is relatively fixed and will not move synchronously with the inner ring or roller; the relative angle when the roller sinks into the crack on the outer ring is It indicates the angle in the counterclockwise direction between the line between the center of the roller and the center of the faulty bearing and the positive direction of the X-axis when the roller sinks into the crack on the outer ring;

[0034] The arc of the crack on the outer ring corresponding to the center of the outer ring in the circumferential direction of the faulty bearing Size:

[0035]

[0036] Where D out Indicates the outer ring diameter of the faulty bearing;

[0037] In the case of an outer ring crack fault, the angle between the line between the center of the jth roller and the center of the faulty bearing and the positive direction of the X-axis in the counterclockwise direction is recorded as the initial angle θ of the jth roller. j , take the modulo 2π of the initial angle, and express the modulo result as Right now:

[0038]

[0039]

[0040] In the formula, mod represents the 2π modulus operation; N b Represents the total number of rollers in the faulty bearing; ω crepresents the rotation speed of the cage in the faulty bearing; θ0 represents the counterclockwise angle between the line connecting the roller center of the first selected roller in the faulty bearing and the center of the faulty bearing and the positive direction of the X-axis; D m represents the pitch diameter in the faulty bearing; t represents the time;

[0041] Outer ring fault displacement excitation h caused by outer ring crack fault out It can be expressed as:

[0042]

[0043] Inner race fault displacement excitation:

[0044] As the inner ring rotates, the relative angle at which the roller enters the crack on the inner ring It is expressed as:

[0045]

[0046] In the formula, It indicates the counterclockwise angle between the line connecting the center of the roller and the center of the faulty bearing and the positive direction of the X-axis when the roller sinks into the crack on the inner ring; ω indicates the inner ring speed, that is, the bearing speed; β0 indicates the starting angle between the line connecting the center of the inner ring crack and the center of the faulty bearing and the positive direction of the X-axis in the counterclockwise direction when the faulty bearing is not moving;

[0047] The arc distance in the counterclockwise direction between the line between the crack center of the inner ring and the center of the faulty bearing and the positive direction of the X-axis Size:

[0048]

[0049] Where D in Indicates the inner ring diameter of the faulty bearing;

[0050] In the case of inner ring crack fault, the angle between the line between the center of the jth roller and the center of the faulty bearing and the positive direction of the X-axis in the counterclockwise direction is recorded as the initial angle θ of the jth roller. j , take the modulo 2π of the initial angle, and express the modulo result as Right now:

[0051]

[0052] Inner race fault displacement excitation h caused by inner race crack fault in It can be expressed as:

[0053]

[0054] Roller fault displacement excitation:

[0055] When the roller is rolling and the crack on the roller contacts the inner ring or outer ring, the relative angle between the line between the crack center of the roller crack and the center of the faulty bearing and the positive direction of the X-axis in the counterclockwise direction It is expressed as:

[0056]

[0057] Where, ωb represents the roller rotation speed;

[0058] The arc distance in the counterclockwise direction between the line between the roller center and the faulty bearing center and the positive direction of the X-axis Size:

[0059]

[0060] Assuming that when the roller rotates around the inner ring once, the crack on the roller contacts the inner ring and the outer ring once respectively, then the roller fault displacement excitation h caused by the crack on the roller is ball It is expressed as:

[0061]

[0062] As a further technical solution of the present invention: the calculation formula of contact deformation is as follows:

[0063] δ j =(x i -x o )cosθ j +(y i -y o )sinθ j -0.5c r [1-cos(|1.5π-θ j |]-h;

[0064] h=h out ,h in ,h ball ;

[0065] In the formula, δ j represents the contact deformation generated when the jth roller passes through the crack during the rotation of the faulty bearing; x i Indicates the displacement of the inner ring in the positive direction of the X axis during the rotation of the faulty bearing; x o Indicates the displacement of the outer ring in the positive direction of the X axis during the rotation of the faulty bearing; i Indicates the displacement of the inner ring in the positive direction of the Y axis during the rotation of the faulty bearing; y o Indicates the displacement of the outer ring in the positive direction of the Y axis during the rotation of the faulty bearing; c rrepresents the radial clearance of the faulty bearing; h represents the fault displacement excitation, which is taken as h out 、h in or ball , select the corresponding value according to different fault types.

[0066] As a further technical solution of the present invention: the contact force calculation formula is as follows:

[0067]

[0068] In the formula, F ix It indicates the contact force of the roller on the inner ring along the positive direction of the X axis when the faulty bearing is rotating; F ox It indicates the contact force of the roller on the outer ring along the positive direction of the X axis during the rotation of the faulty bearing; F iy It indicates the contact force of the roller on the inner ring along the positive direction of the Y axis during the rotation of the faulty bearing; F oy It indicates the contact force of the roller on the outer ring along the positive direction of the Y axis during the rotation of the faulty bearing; k b represents the equivalent contact stiffness of the faulty bearing; H(δ j ) represents the switching function.

[0069] As a further technical solution of the present invention: the comprehensive four-degree-of-freedom nonlinear vibration model is specifically expressed as follows:

[0070]

[0071] In the formula, m i Indicates the quality of the inner ring of the faulty bearing; m o Indicates the quality of the outer ring of the faulty bearing; Indicates the vibration acceleration of the inner ring of the faulty bearing in the positive direction of the X-axis during rotation; Indicates the vibration acceleration of the outer ring of the faulty bearing in the positive direction of the X-axis during rotation;

[0072] Indicates the vibration speed of the inner ring of the faulty bearing in the positive direction of the X-axis during rotation; Indicates the vibration speed of the outer ring of the faulty bearing in the positive direction of the X-axis during rotation;

[0073] x i Indicates the vibration displacement of the inner ring of the faulty bearing in the positive direction of the X axis during rotation; x o Indicates the vibration displacement of the outer ring of the faulty bearing in the positive direction of the X-axis during rotation;

[0074] Indicates the vibration acceleration of the inner ring of the faulty bearing in the positive direction of the Y axis during rotation; Indicates the vibration acceleration of the outer ring of the faulty bearing in the positive direction of the Y axis during rotation;

[0075] Indicates the vibration speed of the inner ring of the faulty bearing in the positive direction of the Y axis during rotation; Indicates the vibration speed of the outer ring of the faulty bearing in the positive direction of the Y axis during rotation;

[0076] y i Indicates the vibration displacement of the inner ring of the faulty bearing in the positive direction of the Y axis during rotation; y o Indicates the vibration displacement of the outer ring of the faulty bearing in the positive direction of the Y axis during rotation;

[0077] c ix Indicates the support damping of the inner ring in the positive direction of the X axis, c ox Indicates the support damping of the outer ring in the positive direction of the X axis; c iy Indicates the support damping of the inner ring in the positive direction of the Y axis, c oy Indicates the support damping of the outer ring in the positive direction of the Y axis;

[0078] k ix Indicates the contact stiffness of the inner ring in the positive direction of the X axis, k ox Indicates the contact stiffness of the outer ring in the positive direction of the X axis; k iy Indicates the contact stiffness of the inner ring in the positive direction of the Y axis, k oy Indicates the contact stiffness of the outer ring in the positive direction of the Y axis;

[0079] e d Indicates the eccentricity, that is, the offset between the center of the inner ring and the center of the outer ring along the radial direction of the faulty bearing;

[0080] W x It indicates the external force of the shaft load acting on the inner ring along the positive direction of the X axis; W y It represents the external force of the shaft load acting on the inner ring along the positive direction of the Y axis; g represents the acceleration of gravity.

[0081] As a further technical solution of the present invention: the calculation process of the equivalent contact stiffness of the faulty bearing is as follows:

[0082] A1. Calculate the inner ring curvature radius, roller curvature radius and outer ring curvature radius. The calculation formula is as follows:

[0083]

[0084] Wherein, subscript 1 represents the plane passing through the normal line of the contact point between the roller and the raceway and perpendicular to the axis of the faulty bearing, and this plane is recorded as the first principal plane; subscript 2 represents the plane passing through the center of the faulty bearing and coinciding with the axis of the faulty bearing, and this plane is recorded as the second principal plane; ρ b1 represents the radius of curvature of the roller in the first principal plane; ρ b2 represents the radius of curvature of the roller in the second principal plane; ρ i1 represents the radius of curvature of the inner circle in the first principal plane; ρ i2 represents the radius of curvature of the inner circle in the second principal plane; ρ o1 represents the radius of curvature of the outer ring in the first principal plane; ρ o2 represents the radius of curvature of the outer ring in the second principal plane;

[0085] A2. Based on the inner ring curvature radius, roller curvature radius and outer ring curvature radius, calculate the sum of the inner ring principal curvature and the sum of the outer ring principal curvature. The calculation formula is as follows:

[0086]

[0087] Where, (Σρ) i represents the sum of the principal curvatures of the inner circle, (Σρ) o represents the sum of the principal curvatures of the outer ring;

[0088] A3. According to the sum of the inner circle principal curvature and the sum of the outer circle principal curvature, calculate the inner circle principal curvature difference function and the outer circle principal curvature difference function. The calculation formula is as follows:

[0089]

[0090] Where F(ρ) i represents the inner circle principal curvature difference function; F(ρ) o represents the outer ring principal curvature difference function;

[0091] A4. Calculate the contact stiffness of the inner ring and the outer ring. The calculation formula is as follows:

[0092]

[0093] In the formula, k bi Indicates the contact stiffness of the inner ring; k bo represents the contact stiffness of the outer ring; E represents the elastic modulus of the material used to make the faulty bearing; μ represents the Poisson's ratio of the material used to make the faulty bearing;

[0094] A5. Calculate the equivalent contact stiffness of the faulty bearing using the following formula:

[0095]

[0096] In the formula, kb Represents the equivalent contact stiffness of the faulty bearing.

[0097] As a further technical solution of the present invention: the derivation process of the causal prior transfer relationship between the teacher model and the student model in the causal prior knowledge distillation framework is as follows:

[0098] Step 1: In the process of using the simulated fault samples to train the teacher model, the probability of each fault type in the current simulated fault sample predicted by the teacher model is stored in the simulation output vector T in sequence;

[0099] In the process of using real fault samples to train the student model, the probability of each fault type in the current real fault sample predicted by the student model is stored in the real output vector S in sequence;

[0100] The simulated output vectors T corresponding to all simulated fault samples and the real output vectors S corresponding to all real fault samples are randomly combined to form multiple groups of non-repeating tuples (S, T), and all tuples (S, T) are stored in a tuple database;

[0101] Step 2: Define a latent variable C that satisfies distribution q. Distribution q is used to determine whether the simulated output vector T and the true output vector S belong to the joint distribution P(S,T) or the marginal distribution P(S)P(T). The distribution type is determined as follows:

[0102] p(S,T)=q(T,S|C=1);

[0103] p(S)p(T)=q(T,S|C=0);

[0104] Where, q(T,S|C=1) indicates that when C=1, the simulated output vector T and the true output vector S belong to the joint distribution P(S,T); q(T,S|C=0) indicates that when C=0, the simulated output vector T and the true output vector S belong to the marginal distribution P(S)P(T);

[0105] Step 3: In the tuple database, the ratio of the number of tuples belonging to the joint distribution to the number of tuples belonging to the product distribution is 1:N; then the prior probability of the latent variable C is expressed as follows:

[0106]

[0107] Where q(C=1) represents the prior probability of the latent variable C when C=1; q(C=0) represents the prior probability of the latent variable C when C=0;

[0108] Then the posterior probability of the latent variable C=1 is expressed as follows:

[0109]

[0110] Where q(C=1|T,S) represents the posterior probability of the latent variable C when C=1 based on the simulated output vector T and the true output vector S;

[0111] Step 4: Calculate the mutual information of each tuple in the tuple database. The mutual information is used to characterize the degree of correlation between the output of the teacher model and the output of the student model. The lower limit of the mutual information of the fault data in the tuple database can be expressed as:

[0112]

[0113] Where I(T; S) represents the mutual information between the simulated output vector T and the real output vector S;

[0114] represents the expectation of q(C=1|T,S); log represents the logarithmic function;

[0115] Step 5: Construct a binary classification fitting model h for discriminating the tuple distribution type, and establish the log-likelihood function of the binary classification fitting model h. The log-likelihood function is expressed as follows:

[0116]

[0117] Where, L critic (h) represents the log-likelihood function of the binary classification fitting model h; h(T,S) represents the distribution type of the tuple (S,T) calculated by the binary classification fitting model h; represents the expectation of q(T,S|C=0);

[0118] Step 6: Maximize the log-likelihood function, and define the maximized log-likelihood function as the optimal binary classification fitter, which is the expected lower bound of the mutual information; connect the teacher model and the student model through the optimal binary classification fitter, so that the student model can reach the set optimization standard under the teacher model; the optimal binary classification fitter is specifically expressed as follows:

[0119]

[0120] In the formula, f S* represents the optimal binary classification fitter; f S represents the student model; argmaxmax represents the optimization operation.

[0121] Compared with the prior art, the present invention has the following beneficial effects:

[0122] In the diagnostic framework proposed in the present invention, the mechanical system dynamics of the faulty bearing is modeled to generate fault signal simulation data rich in dynamic domain knowledge. Secondly, the student model calculates the mutual information of heterogeneous feature data from multiple sources and performs causal intervention based on the results. This helps feature fusion, effectively reduces the interference of confounding factors, and enhances the understanding of feature semantics. Finally, the student model adjusts the network parameters by refining the knowledge of simulated faulty bearing dynamics learned from the teacher model, thereby learning the causal semantic representation of the real faulty bearing. In particular, the experimental design takes into account many aspects of causal priors, including the dynamic response mechanism of the faulty bearing, causal graph theory, frequency domain analysis, sensor differences, mechanical system differences, and many other aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0123] Figure 1 This is the main flow chart of the present invention.

[0124] Figure 2 This is a diagram of the comprehensive four-degree-of-freedom nonlinear vibration model in the present invention.

[0125] Figure 3 This is the feature decoupling based on the confounding and causal paths in the present invention.

[0126] Figure 4 This is a characteristic frequency diagram of the present invention when the bearing is fault-free.

[0127] Figure 5 This is a characteristic frequency diagram of the present invention when the outer ring of the bearing fails.

[0128] Figure 6 This is a characteristic frequency diagram of the present invention when the inner ring of the bearing fails.

[0129] Figure 7 This is a characteristic frequency diagram of the present invention when the bearing roller fails. DETAILED DESCRIPTION

[0130] 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.

[0131] See also Figure 1 The present invention mainly includes the following contents:

[0132] 1. Design of overall diagnostic framework.

[0133] In order to make full use of the diagnostic causal prior knowledge of domain experts, improve the model's ability to understand the characteristics and mechanisms of faulty bearings, and reduce the model's search space, this paper adds rich causal priors to the framework to reduce the confusion effect and improve the model's interpretability and diagnostic accuracy. The teacher-student model is selected as the causal prior knowledge distillation framework, and the obtained fault samples are used to train the teacher-student model.

[0134] The causal prior mainly includes two parts: one is to obtain high-quality clean data through dynamic simulation to integrate into the teacher model. The other is to use mutual information to eliminate the interference of confounding factors to integrate into the student model. Specifically, the causal prior of the present invention is mainly reflected in the following six aspects:

[0135] A priori 1. Explainable failure mechanism: Dynamic modeling can accurately describe the response of the faulty bearing, allowing the model to generate signals with semantic features that indicate the fault. By modeling the faulty bearing, we can gain a deeper understanding of its working principle and possible failure mode, thereby better understanding the generation mechanism of the fault signal.

[0136] Priori 2. Observable variable parameters: The simulation signal generated by dynamic modeling does not have unobservable confounding variables and meets the backdoor criterion. This means that the signal generation process can be clearly understood, avoiding the influence of confounding factors on the model, thereby improving the robustness and interpretability of the model. Clear variable parameters enable the model to more accurately capture the essential characteristics of the fault signal, thereby achieving more accurate fault diagnosis.

[0137] Priori 3. Maximum possible failure area: Based on the load distribution characteristics of the faulty bearing, the diagnosis process focuses on the lower half of the bearing. This is because the lower half is subject to the highest stress and is therefore more prone to potential failures. Focusing on areas where failures may occur helps improve the accuracy and efficiency of diagnosis, allowing the model to focus more on monitoring and analysis of key areas.

[0138] Prior 4. Eigenfrequencies that are easily confused by speed: Although eigenfrequencies are an effective method for fault diagnosis, varying bearing speeds may cause diagnostic failures. Understanding how eigenfrequencies are affected by varying bearing speeds can help adjust the diagnostic model to make it more robust and adaptable. By considering the influence of bearing speed, more reliable and robust fault diagnosis methods can be developed, improving the applicability of the model under different operating conditions.

[0139] Priori 5. Differentiated sensor properties: Different types of sensors may have different sensitivity to rotation speed, which may affect the accuracy of fault diagnosis. Understanding the characteristics of sensors is crucial for selecting appropriate data sources and developing diagnostic models for different sensors. By considering the differences in sensors, model design can be optimized, and the applicability and generalization ability of the model can be improved, thereby achieving more accurate and reliable fault diagnosis.

[0140] Priori 6. Mechanical system interference fault signal: The structure and working state of the mechanical system will affect the generation and propagation of fault signals. By fully understanding the impact of the mechanical system on the fault signal, the fault signal can be better identified and analyzed, thereby improving the fault diagnosis ability of the model. Considering the interference factors of the mechanical system helps to optimize the design of the model and enhance the model's perception and understanding of fault signals in complex working environments.

[0141] The teacher model and the student model introduce causal priors to construct the dynamic prior knowledge and diagnostic prior knowledge of their respective models. The present invention will explore how to build a bridge between the teacher model and the student model so as to use the dynamic knowledge in the teacher model to guide the student model to learn more accurate fault representation.

[0142] 2. A priori causality of mechanical dynamics in the teacher model.

[0143] From a microscopic perspective, the failure of a bearing running into the peeling area (crack area) mainly involves two events. The first event is called the step response, which is caused by the roller entering the peeling area and the contact force between the roller and the raceway is gradually unloaded, and its frequency response presents a low-frequency component. Secondly, the impact response is the second event, which is generated when the roller collides with the trailing edge of the peeling area. Due to the collision, the direction of movement of the roller gradually changes, and acceleration is generated in the form of pulses, causing the bearing to produce high-frequency resonance.

[0144] In order to achieve a more dynamic and driven teacher model, the main focus of the design phase is to generate a large amount of accurate and reliable diagnostic data, which can effectively guide the student model to more comprehensively understand the semantic representation of fault signals. In the present invention, the bearing is in a working mode in which the inner ring rotates with the load shaft and the outer ring is fixed on the bearing seat. However, in actual work, due to many factors, such as the self-rotation of the rollers, the tightness of the bearing assembly and the external working conditions, the bearing will exhibit a complex motion pattern. Therefore, in the simulation process, the geometry of the bearing is set to an ideal state, and the influence of factors such as machining tolerance and surface roughness is ignored. In order to simplify the theoretical research and dynamic modeling process, the following assumptions are also made: (1) The friction, slip and contact damping between the roller and the raceway are ignored; (2) The contact process between the roller and the raceway satisfies the Hertz theory; (3) The speed of the load shaft is assumed to be medium, thereby ignoring the centrifugal force of the internal parts of the bearing.

[0145] In various complex motion modes, bearings may have a variety of faults, among which the most common fault is crack fault in the bearing. Crack faults include outer ring crack faults when cracks appear in the outer ring, inner ring crack faults when cracks appear in the inner ring, and roller crack faults when cracks appear in the roller.

[0146] The present invention constructs Figure 2 The comprehensive four-degree-of-freedom nonlinear vibration model of the faulty bearing shown. The model has four degrees of freedom, including the horizontal and vertical displacements of the inner ring, and the horizontal and vertical displacements of the outer ring. With the center of the bearing as the origin, the X-axis and Y-axis perpendicular to each other are defined along the radial direction of the bearing to establish the bearing plane coordinate system O-XY. On the XY plane, the comprehensive four-degree-of-freedom nonlinear vibration model of the bearing is expressed as four dynamic equations related to the inner ring and the outer ring, as follows:

[0147]

[0148] The cracks on the inner ring, outer ring or roller are rectangular in shape and have a width of L. The length direction of the crack is parallel to the axial direction of the faulty bearing. The cracks on the inner ring and outer ring are both located on the rolling path of the roller, that is, on the raceway. The roller will pass through the corresponding cracks during rolling and get stuck in them, and then generate corresponding fault displacement excitation under the interference of the cracks. When the roller passes through the cracks on the outer ring, it will generate outer ring fault displacement excitation. When the roller passes through the cracks on the inner ring, it will generate inner ring fault displacement excitation. When the roller's own cracks pass through the inner ring or outer ring during rolling, roller fault displacement excitation will be generated.

[0149] Assume the roller diameter of the faulty bearing is D b ,ω cage represents the rotation speed of the cage in the faulty bearing, and the amount of roller sinking into the crack is △max. Based on the amount of sinking and the corresponding formula in the previous article, the outer ring fault displacement excitation h is calculated respectively. out 、Inner ring fault displacement excitation h in , and roller fault displacement excitation h ball Then, the contact deformation of each roller when passing through the crack under the corresponding fault type is calculated through fault displacement excitation. According to the contact deformation under the corresponding fault type, the contact force between the roller and the inner and outer rings during the rolling process is calculated.

[0150] Combined with the calculated contact force under the corresponding fault type, the displacement, speed and acceleration of the outer ring, as well as the displacement, speed and acceleration of the inner ring are set, and these data are input into the comprehensive four-degree-of-freedom nonlinear vibration model for fault testing to obtain the characteristic frequency of vibration of the faulty bearing under the corresponding fault type; the characteristic frequency and fault characteristic combination that characterize the fault type constitute a simulation fault sample indicating the fault type.

[0151] From the dynamics formula, it can be seen that the data set used to train the teacher model is completely based on physical prior knowledge and can effectively reduce potential confounding variables. Since all parameters are transparent and controllable during the simulation process using Matlab programming, the backdoor principle is strictly followed, that is, the prior one and prior two are followed, and the dynamic response of each faulty bearing under various operating conditions can be accurately represented.

[0152] In addition, considering the maximum possible failure area in the prior three, the location where the crack appears in the simulation model is set Figure 2 The lower part of the model.

[0153] 3. Mutual information representation prior in the student model.

[0154] like Figure 3 As shown, the main goal of the diagnostic system is to identify the cause-effect relationships associated with bearing failures in a dataset containing confounding factors. Figure 3 A represents the data collected in the industrial scenario, B represents the diagnosis result under specific operating conditions, and C represents confounding factors, such as the variable speed of the bearing.

[0155] During the feature decoupling process, confounding factors may be intertwined with the target features through complex confounding paths (e.g., A←C→B), making it difficult to clearly distinguish the features under different operating conditions. In contrast, effectively eliminating confounding factors can produce more obvious discriminability of fault features under different operating conditions. Therefore, it is crucial to accurately identify the causal mechanism of data generation under each operating condition (e.g., A→B).

[0156] A typical example is Computational Order Tracking (COT). It uses fixed angle increments instead of time increments to collect vibration signals. This effectively cuts off the influence of the fault characteristic frequency on the variable speed. The bearing fault characteristic frequency is shown in the following formula:

[0157]

[0158] Therefore, the characteristic frequency of the bearing fault can be calculated as the product of the speed and a certain value, which can be expressed as:

[0159]

[0160] Where o represents the order, f represents the observed vibration frequency, and f r Indicates the reference speed, i.e. the speed of the inner ring. n indicates the bearing speed.

[0161] Similar to order tracking, the present invention considers speed to be one of the main causes of frequency aliasing. Therefore, in the mutual information calculation, the bearing speed is selected as the cause variable X; and other variables, such as displacement, pressure, vibration acceleration, etc., which are affected by the bearing speed to varying degrees, are selected as the result variable Y, complying with the prior four.

[0162] Considering that different types of sensors in practical applications have different sensitivities to speed due to different design principles and measured physical quantities, more robust feature variables can be selected at different speeds, complying with the prior V. Specifically, the following formula is used to evaluate the information transfer between heterogeneous data sources:

[0163]

[0164] In the above formula, Calculating the deviation of the joint probability density from the independent distribution of the cause variable X and the result variable Y is actually measuring the correlation or dependence between the cause variable X and the result variable Y. If the joint probability density has a large deviation from the independent distribution of the cause variable X and the result variable Y, it means that there is a certain degree of correlation between the cause variable X and the result variable Y, that is, knowing the value of the cause variable X can provide additional information about the result variable Y, and vice versa.

[0165] Therefore, the joint probability density P of the result variable Y according to the cause variable X is XY The mutual information M(X,Y) is estimated from the random point samples of the distribution. Specifically, the properties of the probability density are inferred by observing the data structure in the neighborhood of the simulated fault sample points.

[0166] First, set the fixed radius to ρ i,xy , so that the joint density can be estimated more accurately in the local area, because it will focus on the distribution of samples in the local area rather than the distribution of the entire data set. Assume that the sample sets of the two output vectors are and And i is a positive integer. Then, for i∈[1,N], let n x,i Indicates that at a fixed radius ρ i,xy X i The number of simulated fault samples, let n y,i Indicates that at a fixed radius ρ i,xy Y within i The number of simulated fault samples. i Indicates that at a fixed radius ρi,xy The combination within (X i ,Y i ), that is, n x,i Equal to satisfy ||X j -X i ||≤ρ i,xy conditional The number of sample points in the y,i Equal to satisfy ||Y j -Y i ||≤ρ i,xy conditional The number of sample points in the neighborhood. In the neighborhood of a given sample point, the number of sample points contained in the neighborhood can be calculated. By counting the number of sample points in the neighborhood, density estimates in different regions can be obtained. If there are more sample points in a certain area, it can be inferred that the probability density of the area is higher, and vice versa.

[0167] Finally, within the neighborhood of a given sample point, the above formula can be used to calculate: x,i , n y,i , k i , by using the gamma function ψ to smooth the logarithmic term of the probability distribution, the calculation is made more stable. Therefore, the specific calculation of mutual information can be expressed as the following formula:

[0168]

[0169] When processing data from different sensors of a faulty bearing, different types of sensors provide different types of data. For example, the displacement information provided by a displacement sensor is different from the vibration information provided by a vibration sensor. By calculating mutual information to independently estimate sensor data in each local area, the data relationships and features between different sensors can be better captured, thereby improving the accuracy of the fault diagnosis model.

[0170] The test bench includes a workbench for support, on which a drive motor is installed, and the axial direction of the drive motor is arranged horizontally, and the motor shaft of the drive motor is the load shaft. The faulty bearing is installed in a bearing seat fixed on the workbench, and the faulty bearing is driven to rotate by the drive motor. The bearing is driven to rotate according to the set working conditions, and then the corresponding real fault sample is obtained. One-way vibration acceleration sensors are arranged on both sides of the faulty bearing, which is the conditional variable Z, characterizing the vibration acceleration of the test bench. A speed sensor, a pressure sensor, a displacement sensor, and a three-way acceleration sensor are also arranged at the faulty bearing.

[0171] The speed sensor is used to detect the speed of the faulty bearing. The detected bearing speed is the cause variable X, which exists as a confounding factor. The pressure sensor is used to detect the bearing pressure generated by the faulty bearing on the bearing seat along the X-axis and Y-axis directions during the rotation of the faulty bearing. The bearing pressure is the result variable Y1. The displacement sensor is used to detect the bearing displacement generated by the bearing seat along the X-axis and Y-axis directions during the rotation of the faulty bearing. The bearing displacement is the result variable Y2. The three-axis acceleration sensor is used to detect the bearing acceleration of the faulty bearing in the X-axis, Y-axis, and Z-axis directions during the rotation of the faulty bearing, that is, the acceleration of the motor shaft of the drive motor in the X-axis, Y-axis, and Z-axis directions, which is the result variable Y3.

[0172] For example, the mutual information between the bearing speed and the bearing acceleration is: I(bearing speed; bearing acceleration) = 0.25639856. The mutual information between the bearing speed and the bearing pressure is: I(bearing speed; bearing pressure) = 0.2798283187. The mutual information between the bearing speed and the bearing displacement is: I(bearing speed; bearing displacement) = 0.0111225269646.

[0173] It can be seen from the calculation formula of mutual information that the larger the value of mutual information, the larger the mutual information between the cause variable X and the result variable Y, which means that the bearing speed has a more significant impact on other fault feature data. According to the prior six, in order to fully understand the relationship between the data, the present invention proposes a feature level fusion method considering the conditional variable Z (Z represents the overall system vibration), strictly abides by the prior six, and is specifically expressed as:

[0174] I(X;Y|Z)=I(X,Z;Y)-I(Z;Y);

[0175] Among them, I(X;Y|Z) is the total mutual information between the cause variable X and the overall system vibration Z about the result variable Y, and I(Z;Y) is the marginal mutual information of the overall system vibration Z about the result variable Y. Through conditional mutual information, the study deepens the causal relationship data between the studies, pays special attention to the confounding effects of environmental conditions, and lays the foundation for a more comprehensive causal understanding.

[0176] Through experiments, it can be obtained that, for example, I (bearing speed; bearing acceleration | vibration acceleration of the test bench) = 0.19529608. I (bearing speed; bearing pressure | vibration acceleration of the test bench) = 0.312890976. I (bearing speed; bearing displacement | vibration acceleration of the test bench) = 0.0035019.

[0177] By calculating the mutual information between the data, the influence weight between the cause variable X and the result variable Y after the feature-level data fusion is obtained:

[0178]

[0179] Among them, the parameter β controls the sensitivity to changes in the mutual information score. A larger β makes the weight less sensitive to changes in the mutual information. In addition, J represents the number of different types of sensors in the current mechanical system, that is, different fault characteristics. Each type of sensor tests the data of one fault type.

[0180] The transfer of causal priors in the prior knowledge distillation framework can be described as follows:

[0181] Given a deep neural network f in the teacher model T and the deep neural network f in the student model S , let D T is the input of the teacher model, D S is the input of the student model.

[0182] The teacher model is trained using simulated fault samples. The output of the teacher model is a vector Each element in this vector is the probability corresponding to each fault type predicted by the teacher model, and m represents the total number of fault feature categories.

[0183] The student model is trained using real fault samples. The output of the student model is a vector Each element in this vector is the probability corresponding to each fault type predicted by the student model, and m represents the total number of fault feature categories.

[0184] Therefore, the training task of the prior knowledge distillation framework is to learn: for simulated fault samples and real fault samples with the same working conditions, when i = j, and The distance between them should be as small as possible. That is, under the same working conditions, when the fault type predicted by the teacher model is the same as the fault type predicted by the student model, the probability of the fault type in the teacher model and the probability in the student model should be as close as possible, so that the student model can fully learn the representation of the teacher model.

[0185] When i≠j, that is, there is a difference between the prediction results of the teacher model and the prediction results of the student model, the difference between the teacher model and the student model should be as close as possible so that the i-th fault type and the j-th fault type can be correctly classified.

[0186] To simplify the expression, Defined as the simulation output vector T, Defined as the true output vector S. In the process of training the teacher model using simulated fault samples, the probabilities of each fault type of the current simulated fault sample predicted by the teacher model are stored in the simulated output vector T in sequence; in the process of training the student model using real fault samples, the probabilities of each fault type of the current real fault sample predicted by the student model are stored in the real output vector S in sequence; the simulated output vectors T corresponding to all simulated fault samples and the real output vectors S corresponding to all real fault samples are randomly combined to form multiple groups of non-repeating tuples (S, T), and all tuples (S, T) are stored in the tuple database. Therefore, the goal of the proposed prior knowledge distillation framework is to identify an optimal student model that can maximize the mutual information between S and T. Specifically, the product P(S)P(T) of the marginal distribution P(S) and the marginal distribution P(T), as well as the joint distribution P(S, T) will be considered. In this way, the mutual information between the student model and the teacher model can be maximized by maximizing the KL divergence between these distributions.

[0187] A distribution q is defined using latent variables C. Distribution q is used to determine whether the simulated output vector T and the true output vector S belong to the joint distribution P(S,T) or the marginal distribution P(S)P(T).

[0188] Therefore, P(S,T) and P(S)P(T) are expressed as follows:

[0189] p(S,T)=q(T,S|C=1);

[0190] p(S)p(T)=q(T,S|C=0);

[0191] According to statistics, in the tuple database, the ratio of the number of tuples belonging to the joint distribution to the number of tuples belonging to the product distribution is 1:N; then the prior probability of the latent variable C is expressed as follows:

[0192]

[0193] Then the posterior probability of the latent variable C=1 is expressed as follows:

[0194]

[0195] Furthermore, taking the logarithm of both ends of the above equation, we have:

[0196]

[0197] logq(C=1|T,S)=p(S,T);

[0198] Therefore, the mutual information of the tuple (S, T) can be expressed as:

[0199]

[0200] In the above formula, since q(C=1|T,S) is not available, it is estimated by the binary classification fitting model h used to discriminate the distribution type of the tuple (S,T). According to the data distribution of q(T,S|C=1) and q(T,S|C=0), the log-likelihood of the binary classification fitting model h can be expressed as:

[0201]

[0202] During the model fitting process, we denote the optimal fitter as h*:

[0203]

[0204] Therefore, the optimal fitter obtained is an expected lower bound of the estimator of mutual information. Considering that the learning task is to learn a student model that maximizes the mutual information between the representation and the teacher model representation, the optimization problem is as follows:

[0205]

[0206] Therefore, the ultimate learning goal of the entire prior knowledge distillation framework is to obtain an optimal fitter, and under the action of this optimal fitter, obtain a student model that best represents the teacher model, that is:

[0207]

[0208] In the process of finding the optimal fitter, any family function h(T,S) that satisfies h can be selected to represent: h(T,S)→[0,1]. In the present invention, h is:

[0209]

[0210] Where M is the cardinality of the data set and τ is the temperature at which the concentration level is adjusted. Since the dimensions of the real output vector S and the simulated output vector T may be different, and Transform them linearly to the same dimension.

[0211] 4. Label the data.

[0212] Obtain the fault samples to be predicted without indicating the fault type, and mark the corresponding fault feature data in the fault samples to be predicted. Each fault feature data is its own corresponding label, and when the student model is used for prediction, the label will flow to the corresponding result.

[0213] 5. Predict probability.

[0214] The fault sample to be predicted is input into the student model of the trained teacher-student model. The student model predicts the probability of each fault type corresponding to the fault sample to be predicted, and the mark on the fault feature data is transferred to the corresponding probabilities. At this time, the probability has been marked with the mark of the corresponding fault feature data.

[0215] 6. Predict the type of failure.

[0216] The influence weight of the fault feature corresponding to the mark on the current probability is obtained. For example, three probabilities are calculated through the student model: the probability of outer ring crack failure, the probability of inner ring crack failure, and the probability of roller crack failure.

[0217] The probability of outer ring crack failure has the mark of outer ring displacement and the mark of inner ring displacement. At this time, the probability of outer ring crack failure needs to be multiplied by the influence weight of outer ring displacement and the influence weight of inner ring displacement at the same time to obtain the weighted probability of outer ring crack failure. The probability of inner ring crack failure only has the mark of inner ring displacement. At this time, the probability of inner ring crack failure needs to be multiplied by the influence weight of inner ring displacement to obtain the weighted probability of inner ring crack failure. The probability of roller crack failure has the mark of roller rotation speed, the mark of inner ring displacement, and the mark of inner ring rotation acceleration. At this time, the probability of inner ring crack failure needs to be multiplied by the influence weight of roller rotation speed, the influence weight of inner ring displacement, and the influence weight of inner ring rotation acceleration at the same time to obtain the weighted probability of roller crack failure. The fault type corresponding to the maximum value of each weighted probability is the fault type of the fault sample to be predicted. The data of the existing faulty bearings are obtained as a reference. The specific data is shown in Table 1.

[0218] Table 1 Fault bearing reference data

[0219]

[0220] The data in Table 1 are input into the comprehensive four-degree-of-freedom nonlinear vibration model to calculate the characteristic frequencies of the present invention in various states.

[0221] like Figure 4 This is the characteristic frequency diagram of the present invention when the bearing is fault-free. Figure 4 The calculated double rotation frequency is 32 Hz, which is 4.02% wrong compared with the double rotation frequency of 33.34 Hz ​​in Table 1.

[0222] like Figure 5 This is the characteristic frequency diagram of the present invention when the outer ring of the bearing fails. Figure 5 The calculated characteristic frequency of the outer race fault is 59.82 Hz, which is 0.15% different from the characteristic frequency of the outer race fault of 59.73 Hz in Table 1.

[0223] like Figure 6 This is the characteristic frequency diagram of the present invention when the inner ring of the bearing fails. Figure 6 The calculated characteristic frequency of the inner race fault is 90.182 Hz, which is 0.050% different from the characteristic frequency of the inner race fault in Table 1, which is 90.27 Hz.

[0224] like Figure 7 This is the characteristic frequency diagram of the present invention when the bearing roller fails. Figure 7 The calculated characteristic frequency of the roller failure is 39.2728 Hz, which is 0.084% error compared with the characteristic frequency of the roller failure in Table 1, 39.24 Hz.

[0225] It can be seen that the simulated fault samples calculated by the present invention are more accurate and can provide high-quality input samples for model training, thereby improving the training precision and prediction accuracy of the model.

[0226] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A bearing fault diagnosis method based on a causal prior knowledge distillation framework, characterized in that: The diagnostic steps include: S1. Collect real fault samples of faulty bearings through the test bench, and generate simulated fault samples through the comprehensive four-degree-of-freedom nonlinear vibration model of the faulty bearing; S2, calculating the mutual information between the bearing speed and other bearing fault characteristics based on the real fault samples and then calculating the influence weight; S3, respectively processing the simulated fault samples and the real fault samples to generate a simulated time-frequency graph data set and a real time-frequency graph data set, and marking each fault feature data with its corresponding mark; S4, based on the causal prior knowledge distillation framework, the teacher model is trained using the simulated time-frequency graph dataset, and the student model is trained using the real time-frequency graph dataset; S5, output the diagnosis result of the teacher model on the simulation time-frequency graph data set, and adjust the network parameters of the student model according to the causal prior transfer relationship between the teacher model and the student model in the causal prior knowledge distillation framework to optimize the training; S6. Output the diagnosis result of the student model for the real time-frequency graph data set, and perform decision-level fusion of the final diagnosis result according to the influence weight in step S2. The fault type corresponding to the maximum value of each weighted rate is the fault type of the fault sample to be predicted. The specific steps to obtain simulated fault samples are as follows: S11. The fault types of the faulty bearing include outer ring crack fault when the outer ring is cracked, inner ring crack fault when the inner ring is cracked, and roller crack fault when the roller is cracked; S12, calculating the outer ring fault displacement excitation when the bearing has an outer ring crack fault, the inner ring fault displacement excitation when the bearing has an inner ring crack fault, and the roller fault displacement excitation when the bearing has a roller crack fault; S13, calculating the contact deformation of each roller when passing through the crack under the corresponding fault type through fault displacement excitation; S14, calculating the contact force between the roller and the inner ring and the outer ring during the rolling process according to the contact deformation under the corresponding fault type; S15. In combination with the calculated contact force under the corresponding fault type, the displacement, rotation speed and acceleration of the outer ring, as well as the displacement, rotation speed and acceleration of the inner ring are set, and these data are input into the comprehensive four-degree-of-freedom nonlinear vibration model for simulation testing to obtain the characteristic frequency of vibration of the faulty bearing under the corresponding fault type; the characteristic frequency and fault characteristics characterizing the fault type are combined to form a simulation fault sample indicating the fault type; since all parameters are observable during the simulation test, the backdoor criterion is followed; When the faulty bearing rotates, the bearing speed will have a corresponding impact on other fault characteristics of the faulty bearing; at the same time, the vibration generated by the system where the faulty bearing is located will also affect other fault characteristics of the faulty bearing. The comprehensive performance of these two effects is expressed by the impact weight; the process of calculating the impact weight is as follows: S21. After obtaining the simulated fault samples, the bearing speed is taken as the cause variable X. The cause sample set of the cause variable X is: X i represents the i-th simulated fault sample, and N represents the total number of simulated fault samples; Other fault characteristics of the faulty bearing are result variables Y, and the jth result variable Y j The sub-result sample set is Y j,i Represents the j-th outcome variable Y j The ith simulated fault sample in the sub-result sample set; all result variables Y are combined to form the total result sample set J represents the total number of outcome variables; S22, obtain the cause sample set that falls into X i is the center of the circle and the radius is a fixed radius ρ i,xy The number of simulated fault samples obtained is n. x,i ; S23, obtain the total result sample set that falls into Y j is the center of the circle and the radius is a fixed radius ρ i,xy The number of simulated fault samples obtained is n. y,i ; S24, counting the number of simulated fault samples obtained to obtain the sample distribution density within the corresponding range; performing data fusion through the sample distribution density within the range to obtain the corresponding impact weight; The calculation formula of influence weight is as follows: Where W j represents the influence weight of the fault type derived from the jth fault feature under the influence of the bearing speed; e represents the natural constant; β represents the control parameter; ψ(·) represents the double gamma function; k i Indicates that at a fixed radius ρ i,xy The tuple (X i ,Y i ); I(X;Y) represents the mutual information between the cause variable X and the result variable Y.

2. A bearing fault diagnosis method based on a causal prior knowledge distillation framework according to claim 1, characterized in that: Taking the center point of the bearing as the origin, the X-axis and Y-axis perpendicular to each other are delineated along the radial direction of the bearing to establish the bearing plane coordinate system O-XY; during the use of the axially horizontally arranged bearing, the force on the upper part is less than that on the lower part, so the lower part of the bearing is preset as the failure area; Assume the roller diameter of the faulty bearing is D b , the width of the rectangular crack on the inner ring, outer ring or roller is L, the length direction of the crack is parallel to the axial direction of the faulty bearing, and the cracks on the inner ring and outer ring are both located on the rolling path of the roller; the amount of the roller sinking into the crack is calculated as follows: In the formula, △max represents the amount of roller sinking into the crack; Outer race fault displacement excitation: During the operation of the faulty bearing, the outer ring is fixed; when cracks appear on the outer ring, the position of the cracks is relatively fixed and will not move synchronously with the inner ring or roller; the relative angle when the roller sinks into the crack on the outer ring is It indicates the angle in the counterclockwise direction between the line between the center of the roller and the center of the faulty bearing and the positive direction of the X-axis when the roller sinks into the crack on the outer ring; The arc of the crack on the outer ring corresponding to the center of the outer ring in the circumferential direction of the faulty bearing Size: Where D out Indicates the outer ring diameter of the faulty bearing; In the case of an outer ring crack fault, the angle between the line between the center of the jth roller and the center of the faulty bearing and the positive direction of the X-axis in the counterclockwise direction is recorded as the initial angle θ of the jth roller. j , take the modulo 2π of the initial angle, and express the modulo result as Right now: Where mod represents the 2π modulus operation; N b Represents the total number of rollers in the faulty bearing; ω c represents the rotation speed of the cage in the faulty bearing; θ0 represents the counterclockwise angle between the line connecting the roller center of the first selected roller in the faulty bearing and the center of the faulty bearing and the positive direction of the X-axis; D m represents the pitch diameter in the faulty bearing; t represents the time; Outer ring fault displacement excitation h caused by outer ring crack fault out It can be expressed as: Inner race fault displacement excitation: As the inner ring rotates, the relative angle at which the roller enters the crack on the inner ring It is expressed as: In the formula, It indicates the counterclockwise angle between the line connecting the center of the roller and the center of the faulty bearing and the positive direction of the X-axis when the roller sinks into the crack on the inner ring; ω indicates the inner ring speed, that is, the bearing speed; β0 indicates the starting angle between the line connecting the center of the inner ring crack and the center of the faulty bearing and the positive direction of the X-axis in the counterclockwise direction when the faulty bearing is not moving; The arc distance in the counterclockwise direction between the line between the crack center of the inner ring and the center of the faulty bearing and the positive direction of the X-axis Size: Where D in Indicates the inner ring diameter of the faulty bearing; In the case of inner ring crack fault, the angle between the line between the center of the jth roller and the center of the faulty bearing and the positive direction of the X-axis in the counterclockwise direction is recorded as the initial angle θ of the jth roller. j , take the modulo 2π of the initial angle, and express the modulo result as Right now: Inner race fault displacement excitation h caused by inner race crack fault in It can be expressed as: Roller fault displacement excitation: When the roller is rolling and the crack on the roller contacts the inner ring or outer ring, the relative angle between the line between the crack center of the roller crack and the center of the faulty bearing and the positive direction of the X-axis in the counterclockwise direction It is expressed as: In the formula, ω b Indicates the roller rotation speed; The arc distance in the counterclockwise direction between the line between the roller center and the faulty bearing center and the positive direction of the X-axis Size: Assuming that when the roller rotates around the inner ring once, the crack on the roller contacts the inner ring and the outer ring once respectively, then the roller fault displacement excitation h caused by the crack on the roller is ball It is expressed as:

3. A bearing fault diagnosis method based on a causal prior knowledge distillation framework according to claim 2, characterized in that: The calculation formula of contact deformation is as follows: d j =(x i -x o )cosθ j +(y i -y o )sinθ j -0.5c r [1-cos(|1.5π-θ j |)]-h; h=h out ,h in ,h ball ; In the formula, δ j represents the contact deformation generated when the jth roller passes through the crack during the rotation of the faulty bearing; x i Indicates the displacement of the inner ring in the positive direction of the X axis during the rotation of the faulty bearing; x o Indicates the displacement of the outer ring in the positive direction of the X axis during the rotation of the faulty bearing; i Indicates the displacement of the inner ring in the positive direction of the Y axis during the rotation of the faulty bearing; y o Indicates the displacement of the outer ring in the positive direction of the Y axis during the rotation of the faulty bearing; c r represents the radial clearance of the faulty bearing; h represents the fault displacement excitation, which is taken as h out 、h in or ball , select the corresponding value according to different fault types.

4. A bearing fault diagnosis method based on a causal prior knowledge distillation framework according to claim 3, characterized in that: The contact force calculation formula is as follows: In the formula, F ix It indicates the contact force of the roller on the inner ring along the positive direction of the X axis when the faulty bearing is rotating; F ox It indicates the contact force of the roller on the outer ring along the positive direction of the X axis during the rotation of the faulty bearing; F iy It indicates the contact force of the roller on the inner ring along the positive direction of the Y axis during the rotation of the faulty bearing; F oy It indicates the contact force of the roller on the outer ring along the positive direction of the Y axis during the rotation of the faulty bearing; k b represents the equivalent contact stiffness of the faulty bearing; H(δ j ) represents the switching function.

5. A bearing fault diagnosis method based on a causal prior knowledge distillation framework according to claim 4, characterized in that: The comprehensive four-degree-of-freedom nonlinear vibration model is specifically expressed as follows: In the formula, m i Indicates the quality of the inner ring of the faulty bearing; m o Indicates the quality of the outer ring of the faulty bearing; Indicates the vibration acceleration of the inner ring of the faulty bearing in the positive direction of the X-axis during rotation; Indicates the vibration acceleration of the outer ring of the faulty bearing in the positive direction of the X-axis during rotation; Indicates the vibration speed of the inner ring of the faulty bearing in the positive direction of the X-axis during rotation; Indicates the vibration speed of the outer ring of the faulty bearing in the positive direction of the X-axis during rotation; x i Indicates the vibration displacement of the inner ring of the faulty bearing in the positive direction of the X axis during rotation; x o Indicates the vibration displacement of the outer ring of the faulty bearing in the positive direction of the X-axis during rotation; Indicates the vibration acceleration of the inner ring of the faulty bearing in the positive direction of the Y axis during rotation; Indicates the vibration acceleration of the outer ring of the faulty bearing in the positive direction of the Y axis during rotation; Indicates the vibration speed of the inner ring of the faulty bearing in the positive direction of the Y axis during rotation; Indicates the vibration speed of the outer ring of the faulty bearing in the positive direction of the Y axis during rotation; y i Indicates the vibration displacement of the inner ring of the faulty bearing in the positive direction of the Y axis during rotation; y o Indicates the vibration displacement of the outer ring of the faulty bearing in the positive direction of the Y axis during rotation; c ix Indicates the support damping of the inner ring in the positive direction of the X axis, c ox Indicates the support damping of the outer ring in the positive direction of the X axis; c iy Indicates the support damping of the inner ring in the positive direction of the Y axis, c oy Indicates the support damping of the outer ring in the positive direction of the Y axis; k ix Indicates the contact stiffness of the inner ring in the positive direction of the X axis, k ox Indicates the contact stiffness of the outer ring in the positive direction of the X axis; k iy Indicates the contact stiffness of the inner ring in the positive direction of the Y axis, k oy Indicates the contact stiffness of the outer ring in the positive direction of the Y axis; e d Indicates the eccentricity, that is, the offset between the center of the inner ring and the center of the outer ring along the radial direction of the faulty bearing; W x It represents the external force of the shaft load acting on the inner ring along the positive direction of the X axis; W y It represents the external force of the shaft load acting on the inner ring along the positive direction of the Y axis; g represents the acceleration of gravity.

6. A bearing fault diagnosis method based on a causal prior knowledge distillation framework according to claim 5, characterized in that: The calculation process of the equivalent contact stiffness of the faulty bearing is as follows: A1. Calculate the inner ring curvature radius, roller curvature radius and outer ring curvature radius. The calculation formula is as follows: Wherein, subscript 1 represents the plane passing through the normal line of the contact point between the roller and the raceway and perpendicular to the axis of the faulty bearing, and this plane is recorded as the first principal plane; subscript 2 represents the plane passing through the center of the faulty bearing and coinciding with the axis of the faulty bearing, and this plane is recorded as the second principal plane; ρ b1 represents the radius of curvature of the roller in the first principal plane; ρ b2 represents the radius of curvature of the roller in the second principal plane; ρ i1 represents the radius of curvature of the inner circle in the first principal plane; ρ i2 represents the radius of curvature of the inner circle in the second principal plane; ρ o1 represents the radius of curvature of the outer ring in the first principal plane; ρ o2 represents the radius of curvature of the outer ring in the second principal plane; A2. Based on the inner ring curvature radius, roller curvature radius and outer ring curvature radius, calculate the sum of the inner ring principal curvature and the sum of the outer ring principal curvature. The calculation formula is as follows: Where, (Σρ) i represents the sum of the principal curvatures of the inner circle, (Σρ) o represents the sum of the principal curvatures of the outer ring; A3. According to the sum of the inner circle principal curvature and the sum of the outer circle principal curvature, calculate the inner circle principal curvature difference function and the outer circle principal curvature difference function. The calculation formula is as follows: Where F(ρ) i represents the inner circle principal curvature difference function; F(ρ) o represents the outer ring principal curvature difference function; A4. Calculate the contact stiffness of the inner ring and the outer ring. The calculation formula is as follows: In the formula, k bi Indicates the contact stiffness of the inner ring; k bo represents the contact stiffness of the outer ring; E represents the elastic modulus of the material used to make the faulty bearing; μ represents the Poisson's ratio of the material used to make the faulty bearing; A5. Calculate the equivalent contact stiffness of the faulty bearing using the following formula: In the formula, k b Represents the equivalent contact stiffness of the faulty bearing.

7. A bearing fault diagnosis method based on a causal prior knowledge distillation framework according to claim 6, characterized in that: The derivation process of the causal prior transfer relationship between the teacher model and the student model in the causal prior knowledge distillation framework is as follows: Step 1: In the process of using the simulated fault samples to train the teacher model, the probability of each fault type in the current simulated fault sample predicted by the teacher model is stored in the simulation output vector T in sequence; In the process of using real fault samples to train the student model, the probability of each fault type in the current real fault sample predicted by the student model is stored in the real output vector S in sequence; The simulated output vectors T corresponding to all simulated fault samples and the real output vectors S corresponding to all real fault samples are randomly combined to form multiple groups of non-repeating tuples (S, T), and all tuples (S, T) are stored in a tuple database; Step 2: Define a latent variable C that satisfies distribution q. Distribution q is used to determine whether the simulated output vector T and the true output vector S belong to the joint distribution P(S,T) or the marginal distribution P(S)P(T). The distribution type is determined as follows: p(S,T)=q(T,S|C=1); p(S)p(T)=q(T,S|C=0); Where, q(T,S|C=1) indicates that when C=1, the simulated output vector T and the true output vector S belong to the joint distribution P(S,T); q(T,S|C=0) indicates that when C=0, the simulated output vector T and the true output vector S belong to the marginal distribution P(S)P(T); Step 3: In the tuple database, the ratio of the number of tuples belonging to the joint distribution to the number of tuples belonging to the product distribution is 1:N; then the prior probability of the latent variable C is expressed as follows: Where q(C=1) represents the prior probability of the latent variable C when C=1; q(C=0) represents the prior probability of the latent variable C when C=0; Then the posterior probability of the latent variable C=1 is expressed as follows: Where q(C=1|T,S) represents the posterior probability of the latent variable C when C=1 based on the simulated output vector T and the true output vector S; Step 4: Calculate the mutual information of each tuple in the tuple database. The mutual information is used to characterize the degree of correlation between the output of the teacher model and the output of the student model. The lower limit of the mutual information of the fault data in the tuple database can be expressed as: Where I(T; S) represents the mutual information between the simulated output vector T and the real output vector S; represents the expectation of q(C=1|T,S); log represents the logarithmic function; Step 5: Construct a binary classification fitting model h for discriminating the tuple distribution type, and establish the log-likelihood function of the binary classification fitting model h. The log-likelihood function is expressed as follows: Where, L critic (h) represents the log-likelihood function of the binary classification fitting model h; h(T,S) represents the distribution type of the tuple (S,T) calculated by the binary classification fitting model h; represents the expectation of q(T,S|C=0); Step 6: Maximize the log-likelihood function, and define the maximized log-likelihood function as the optimal binary classification fitter, which is the expected lower bound of the mutual information; connect the teacher model and the student model through the optimal binary classification fitter, so that the student model can reach the set optimization standard under the teacher model; the optimal binary classification fitter is specifically expressed as follows: In the formula, f S* represents the optimal binary classification fitter; f S represents the student model; argmaxmax represents the optimization operation.