Intelligent fault diagnosis method for double-arc harmonic reducer based on transmission error

Through an intelligent fault diagnosis method based on transmission error, using variational mode decomposition and Gram angle sum field transformation, combined with the VMD-GASF-CapsNet model, the shortcomings of transmission error fault diagnosis of double arc harmonic reducer are solved and achieved Higher accuracy fault diagnosis reduces noise interference and improves operational reliability.

CN118734154APending Publication Date: 2024-10-01TAIYUAN UNIVERSITY OF TECHNOLOGY +1

Patent Information

Application Number
CN202410716567.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing technology is relatively deficient in diagnosis methods for transmission error faults of double arc harmonic reducers, and the vibration data is easily interfered by background noise and mechanical resonance, and the signal fidelity is low.

Method used

Using an intelligent fault diagnosis method based on transmission error, by collecting the input shaft and output shaft encoder signals, calculating the transmission error signal, and performing variational mode decomposition, Gram angle and field transformation, the VMD-GASF-CapsNet model is constructed to achieve Troubleshooting.

Benefits of technology

It improves the accuracy and reliability of fault diagnosis, reduces the interference of background noise and mechanical resonance, provides diagnostic results with higher signal fidelity, and enhances the operational reliability of the double arc harmonic reducer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734154A_ABST
    Figure CN118734154A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of double-arc harmonic reducer fault diagnosis, and particularly relates to a double-arc harmonic reducer intelligent fault diagnosis method based on transmission errors. Comprising the following steps that S100, an input shaft encoder signal Ain (t) and an output shaft encoder signal Aout (t) of the double-arc harmonic reducer are collected; s200, calculating a transmission error signal TE (t) according to the collected input shaft encoder signal Ain (t) and the output shaft encoder signal Aout (t); s300, variational mode decomposition is carried out on the transmission error signal TE (t), a mode component F (t) containing fault information is extracted, standardized scaling is carried out on the mode component F (t) containing the fault information, and a standardized signal TEf (t) containing the fault information is obtained; s400, carrying out Grubm angle and field transformation on the standardized signal TEf (t) containing the fault information to obtain a GASF diagram; and S500, constructing a VMD-GASF-CapsNet model, inputting the GASF diagram into the model to train the model, and realizing intelligent fault diagnosis of the double-arc harmonic reducer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of double-arc harmonic reducer fault diagnosis, and in particular relates to an intelligent fault diagnosis method for a double-arc harmonic reducer based on transmission error. Background Art

[0002] Harmonic reducer transmission has the advantages of large transmission ratio, strong load-bearing capacity, high transmission accuracy, high transmission efficiency, smooth movement, simple structure, and the ability to transmit movement to confined spaces. It has been widely used in industrial robots, aviation, aerospace, bionic machinery, etc. However, harmonic reducers are more complicated in structure and principle than other reducers, and often have a high failure rate.

[0003] Harmonic reducer fault diagnosis currently mainly uses vibration data, but it is weak against background noise and mechanical resonance, which are two interferences that often exist in practice. Compared with vibration data, the transmission error calculated by encoder data measurement has a simple transmission path, is less subject to interference, and has relatively higher signal fidelity; and unlike vibration sensors, encoder signals mainly reflect the torsional vibration behavior of rotating machinery, so transmission error signals are more sensitive to harmonic reducer faults. However, research on transmission error fault diagnosis of double arc harmonic reducers is very limited. Summary of the invention

[0004] The present invention aims to solve the problem that the current method for diagnosing transmission error faults of double-arc harmonic reducers is relatively inadequate.

[0005] The present invention provides the following technical solution: an intelligent fault diagnosis method for a double arc harmonic reducer based on transmission error, comprising the following steps:

[0006] S100: Collect the input shaft encoder signal A of the double arc harmonic reducer in (t) and output shaft encoder signal A out (t);

[0007] S200: According to the collected input shaft encoder signal A in (t) and output shaft encoder signal A out (t) calculating the transmission error signal TE(t);

[0008] S300: Perform variational modal decomposition on the transmission error signal TE(t), extract the modal component F(t) containing the fault information, and perform normalization and scaling on the modal component F(t) containing the fault information to obtain a normalized signal TE containing the fault information. f (t);

[0009] S400: Standardized signal TE containing fault information f(t) Perform Gram angle and field transformation to obtain GASF diagram;

[0010] S500: Build a VMD-GASF-CapsNet model and input the GASF graph into the model to train the model and realize intelligent fault diagnosis of double-arc harmonic reducer.

[0011] Furthermore, in step S200, the transmission error signal TE(t) is calculated as follows:

[0012]

[0013] Among them, TE(t) is the transmission error signal; A in (t) is the input shaft encoder signal; A out (t) is the output shaft encoder signal; p is the reduction ratio of the double arc harmonic reducer.

[0014] Further, in step S300, the variational modal decomposition decomposes the transmission error signal TE(t) into a series of eigenmodal components by constructing and solving a constrained variational problem;

[0015] The steps of variational mode decomposition are:

[0016] S301: Construct a variational problem, denoted as:

[0017]

[0018] Among them, u k is a series of decomposed eigenmode components, u k ={u1,u2,...,u k}; {ω k} is the center frequency of each eigenmode component, {ω k}={ω1,ω2,...,ω k}; δ(g) is the Dirac Delta function; the symbol * represents the convolution operation; k is the number of extracted intrinsic mode components; is to find partial derivatives; j is the imaginary unit; π is the circumference of a circle; e is a natural constant; t is the time variable; s is the bandwidth of each mode function;

[0019] S302: Introduce the quadratic penalty parameter α and the Lagrangian operator λ(t), transform the constructed constrained variational problem into an unconstrained variational problem, and obtain the augmented Lagrangian function, which is recorded as:

[0020]

[0021] Wherein, L is the augmented Lagrangian function; λ(t) is the Lagrangian multiplier; α is the penalty factor; <·> is the inner product operation; f(t) is the transmission error signal TE(t) to be decomposed; In order to seek partial guidance;

[0022] S303: Iteratively update u using the multiplier alternating direction algorithm k ,ω k ,λ, and solve the saddle point of the unconstrained variational problem as the final solution.

[0023] Further, in step S300, the modal component F(t) containing fault information is extracted through the wave generator rotation frequency of the double arc harmonic reducer and the fault characteristic frequency of each component, wherein the fault characteristic frequency of the component includes the local fault characteristic frequency of the rigid wheel and the local fault characteristic frequency of the flexible wheel, and the wave generator rotation frequency is calculated by the following formula:

[0024]

[0025] Among them, f wg is the frequency conversion of the wave generator; n wg Input the rotation speed for the wave generator;

[0026] The characteristic frequency of the local fault of the rigid wheel and the characteristic frequency of the flexwheel fault are the meshing frequency of the rigid wheel and the meshing frequency of the flexwheel respectively. The meshing frequency of the flexwheel is calculated by the following formula:

[0027] f fs =2f wg z2 / z1

[0028] Among them, f fs is the meshing frequency of the flexspline; z2 is the number of teeth on the rigid wheel; z1 is the number of teeth on the flexspline;

[0029] The meshing frequency of the rigid wheel is calculated by the following formula:

[0030] f cs =2f wg

[0031] Among them, f cs is the meshing frequency of the rigid wheel;

[0032] When a local fault of the flexible wheel occurs in the double arc harmonic reducer, the frequency of the impact amplitude is the flexible wheel meshing frequency f fs ; When a partial fault occurs in the double arc harmonic reducer, the frequency of the impact amplitude is the meshing frequency of the rigid wheel f cs ; The modal component F(t) containing fault information is extracted according to the frequency and amplitude changes of the impact amplitude when different faults occur in the double-arc harmonic reducer.

[0033] Further, in step S300, the normalized scaling is obtained by the following formula:

[0034]

[0035] Among them, TE f (t) is the standardized signal containing fault information; F i (t) is the modal component containing fault information at the i-th time stamp; max(F(t)) is F i (t); min(F(t)) is the maximum value of F i The minimum value of (t).

[0036] Furthermore, in step S400, the standardized signal TE containing the fault information is f (t) Performing Gram angle and field transformation includes the following steps:

[0037] S401: Transform the normalized signal TE containing fault information into polar coordinates f (t) converted to vector;

[0038] S402: using the inner product unique to the Gram angle field to perform an inner product on the transformed vector;

[0039] S403: Implement Gram angle and field transformation to obtain GASF diagram.

[0040] Furthermore, the specific process of step S401 is to convert the standardized signal TE containing the fault information into f (t) is converted into a vector using polar coordinate transformation according to the timestamp. The conversion formula is as follows:

[0041]

[0042] Among them, t i is the timestamp; N is the constant factor of the regularized polar coordinate generation space; φ is the phase angle; r is the polar coordinate radius; x i Set TE for each timestamp f The value of (t).

[0043] Furthermore, the specific process of step S402 is to perform the inner product unique to the Gram angle field on the transformed vector. The inner product formula is as follows:

[0044] <x i ,x m >=cos(φ i +φ m )

[0045] Among them, x i and x m are the TE at the i-th and m-th timestamps respectively f (t) value; <·> represents the inner product; φ i and φm x i and x m The corresponding phase angle.

[0046] Furthermore, the specific process of step S403 is to bring the inner product result into the Gram matrix as an element of the Gram matrix, implement the Gram angle and field transformation, and obtain the GASF diagram. The Gram matrix formula is as follows:

[0047]

[0048] Where G is the Gram matrix; <·> represents the inner product;

[0049] The Gram angle and field formulas are as follows:

[0050]

[0051] <x i ,x m >The amplitude change corresponding to the modal component F(t) containing fault information occurs, <x i ,x m >The changes in the Gram angle and field are reflected in the result, that is, the GASF diagram, forming an image with alternating light and dark.

[0052] Further, in step S500, a VMD-GASF-CapsNet model is first constructed, and the GASF graph is input into the model to train the model, so as to realize intelligent fault diagnosis of the double arc harmonic reducer; the model includes a convolution layer, a pooling layer, a primary capsule layer, a digital capsule layer and an output layer;

[0053] The convolution layer uses two-dimensional convolution to extract features from the input GASF graph. The pooling layer uses the maximum pooling operation. Both the primary capsule layer and the digital capsule layer use vectors instead of traditional scalar neurons for calculations. The primary capsule layer and the digital capsule layer are updated using a dynamic routing mechanism. The output layer solves the output of the digital capsule layer with a binary norm to obtain the probability values ​​of different faults, thereby realizing intelligent fault diagnosis of the double-arc harmonic reducer. The specific steps are as follows:

[0054] S501: Perform convolution operation on the input GASF graph in the convolution layer to extract the feature vector y l ;

[0055] S502: Extract the feature vector y l The pooling operation is performed in the pooling layer to reduce the spatial size of the data volume and obtain the feature vector u i ;

[0056] S503: The feature vector u i Bring it into the primary capsule layer to get the intermediate prediction vector u <j|i>, and the intermediate prediction vector is passed through u <j|i> The weighted summation is used to obtain the output feature vector s j ;

[0057] S504: Use the squashing function to output the feature vector s j Perform nonlinear mapping to calculate the output feature vector h of the digital capsule layer j , and update the parameters using a dynamic routing mechanism.

[0058] S505: Output h to the digital capsule layer j , find its modulus, that is, the two-norm can get the probability p of each category in the output layer pred , determine the fault type of the double-arc harmonic reducer and realize the intelligent fault diagnosis of the double-arc harmonic reducer.

[0059] Compared with the prior art, the advantages of the present invention are:

[0060] The present invention provides an intelligent fault diagnosis method for a double-arc harmonic reducer based on transmission error. The method can directly use the encoder signal, that is, the transmission error signal, to diagnose the fault of the double-arc harmonic reducer. The transmission error signal directly reflects the torsional vibration behavior of the double-arc harmonic reducer. The transmission path is shorter, the method is more sensitive to faults, and the method is free from interference from background noise and mechanical resonance. The method has higher signal fidelity and can provide a more accurate diagnostic result. The method can be effectively applied to the fault diagnosis of the double-arc harmonic reducer and improve the operating reliability of the double-arc harmonic reducer. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 is a flow chart of the present invention;

[0062] Figure 2 It is a flow chart of data acquisition and signal processing;

[0063] Figure 3 This is the network structure of the VMD-GASF-CapsNet model. DETAILED DESCRIPTION

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

[0065] like Figure 1 , Figure 2 As shown: A dual arc harmonic reducer intelligent fault diagnosis method based on transmission error, comprising the following steps:

[0066] S100: Collect the input shaft encoder signal A of the double arc harmonic reducer in (t) and output shaft encoder signal A out (t);

[0067] S200: According to the collected input shaft encoder signal A in (t) and output shaft encoder signal A out (t) calculating the transmission error signal TE(t);

[0068] S300: Perform variational modal decomposition on the transmission error signal TE(t), extract the modal component F(t) containing the fault information, and perform normalization and scaling on the modal component F(t) containing the fault information to obtain a normalized signal TE containing the fault information. f (t);

[0069] S400: Standardized signal TE containing fault information f (t) Perform Gram angle and field transformation to obtain GASF diagram;

[0070] S500: Build a VMD-GASF-CapsNet model and input the GASF graph into the model to train the model and realize intelligent fault diagnosis of double-arc harmonic reducer.

[0071] The input shaft encoder and output shaft encoder on the double arc harmonic reducer are both absolute encoders, and the encoder line count is 36000.

[0072] In step S200, the transmission error signal TE(t) is calculated as follows:

[0073]

[0074] Among them, TE(t) is the transmission error signal; A in (t) is the input shaft encoder signal; A out (t) is the output shaft encoder signal; p is the reduction ratio of the double arc harmonic reducer.

[0075] In step S300, the variational modal decomposition decomposes the transmission error signal TE(t) into a series of intrinsic modal components by constructing and solving a constrained variational problem;

[0076] The steps of variational mode decomposition are:

[0077] S301: Construct a variational problem, denoted as:

[0078]

[0079] Among them, u kis a series of decomposed eigenmode components, u k ={u1,u2,...,u k}; {ω k} is the center frequency of each eigenmode component, {ω k}={ω1,ω2,...,ω k}; δ(g) is the DiracDelta function; the symbol * represents the convolution operation; k is the number of extracted intrinsic mode components; To find partial derivatives; j is the imaginary unit; π is the circumference of a circle; e is a natural constant; t represents the time variable; s represents the bandwidth of each mode function;

[0080] S302: Introduce the quadratic penalty parameter α and the Lagrangian operator λ(t), transform the constructed constrained variational problem into an unconstrained variational problem, and obtain the augmented Lagrangian function, which is recorded as:

[0081]

[0082] Wherein, L is the augmented Lagrangian function; λ(t) is the Lagrangian multiplier; α is the penalty factor; <·> is the inner product operation; f(t) is the transmission error signal TE(t) to be decomposed; In order to seek partial guidance;

[0083] S303: Iteratively update u using the multiplier alternating direction algorithm k ,ω k ,λ, and solve the saddle point of the unconstrained variational problem as the final solution.

[0084] Further, in step S300, the modal component F(t) containing fault information is extracted through the wave generator rotation frequency of the double arc harmonic reducer and the fault characteristic frequency of each component, wherein the fault characteristic frequency of the component includes the local fault characteristic frequency of the rigid wheel and the local fault characteristic frequency of the flexible wheel, and the wave generator rotation frequency is calculated by the following formula:

[0085]

[0086] Among them, f wg is the frequency conversion of the wave generator; n wg Input the rotation speed for the wave generator;

[0087] The characteristic frequency of the local fault of the rigid wheel and the characteristic frequency of the flexwheel fault are the meshing frequency of the rigid wheel and the meshing frequency of the flexwheel respectively. The meshing frequency of the flexwheel is calculated by the following formula:

[0088] f fs =2f wg z2 / z1

[0089] Among them, f fsis the meshing frequency of the flexspline; z2 is the number of teeth on the rigid wheel; z1 is the number of teeth on the flexspline;

[0090] The meshing frequency of the rigid wheel is calculated by the following formula:

[0091] f cs =2f wg

[0092] Among them, f cs is the gear meshing frequency.

[0093] When a local fault occurs in the flexible wheel of the double arc harmonic reducer, the faulty flexible wheel and the normal rigid wheel mesh, and a frequency of f will be generated in the transmission error signal. fs When a partial fault occurs in the rigid wheel of the double arc harmonic reducer, the faulty rigid wheel and the normal flexible wheel mesh, and an impact amplitude f with a frequency of will be generated in the transmission error signal. cs , the fault characteristic frequencies of the two are different. At the same time, according to the transmission principle of the double arc harmonic reducer, that is, it relies on the controllable elastic deformation generated by the flexible gear to transmit motion and force, when the wave generator rotates, under the drive of the wave generator, the flexible wheel undergoes elastic deformation, and its shape changes from a circle to an ellipse. The deformed long axis of the flexible wheel meshes with the rigid wheel, while the short axis is completely disengaged from the rigid wheel. During the continuous rotation of the wave generator, the flexible wheel will be forced to continuously deform, so that the flexible wheel and the rigid wheel will continuously engage, engage, engage, and disengage. Due to the process of engagement and engagement, when a local fault occurs, a gradual amplitude change will occur near the impact amplitude. There are differences in the amplitude change process of the flexible wheel local fault and the rigid wheel local fault. Therefore, the modal component F(t) containing fault information can be extracted according to the frequency and amplitude change of the impact amplitude.

[0094] Specifically, after obtaining the modal components through variational modal decomposition, by comparing the periodicity of each modal component, the modal component with a gradual amplitude change nearby and the periodic distribution of the impact amplitude close to the flexspline meshing frequency or the rigid wheel meshing frequency is found, and it is taken as the modal component F(t) containing fault information.

[0095] Further, in step S300, the normalized scaling is obtained by the following formula:

[0096]

[0097] Among them, TE f (t) is the standardized signal containing fault information; F i (t) is the modal component containing fault information at the i-th timestamp; max(F(t)) is F i (t); min(F(t)) is the maximum value of F i The minimum value of (t).

[0098] In step S400, the standardized signal TE containing the fault information is f (t) Performing Gram angle and field transformation includes the following steps:

[0099] S401: Transform the normalized signal TE containing fault information into polar coordinates f (t) converted to vector;

[0100] The specific process is to convert the standardized signal TE containing fault information into f (t) is converted into a vector using polar coordinate transformation according to the timestamp. The conversion formula is as follows:

[0101]

[0102] Among them, t i is the timestamp; N is the constant factor of the regularized polar coordinate generation space; φ is the phase angle; r is the polar coordinate radius; x i Set TE for each timestamp f The value of (t);

[0103] S402: using the inner product unique to the Gram angle field to perform an inner product on the transformed vector;

[0104] The specific process is to make an inner product unique to the Gram angular field for the transformed vector. This inner product is the inner product form with a penalty term defined by the Gram angular field. For data points that are close in time scale, this inner product can effectively suppress signal interference. The inner product formula is as follows:

[0105] <x i ,x m >=cos(φ i +φ m )

[0106] Among them, x i and x m are the TE at the i-th and m-th timestamps respectively f (t) value; <·> represents the inner product; φ i and φ m x i and x m The corresponding phase angle;

[0107] From the inner product formula and polar coordinate conversion formula, we can know that the inner product result is <x i ,x m > only with x i It is only related to the TE at each timestamp. f (t) value, and TE f (t) is obtained by normalizing and scaling F(t). Normalizing and scaling does not change the distribution of F(t), so the inner product result is <xi ,x m >Finally it is determined by F(t). From the F(t) extraction process, we know that F(t) has an impact amplitude that appears at a certain frequency, and a gradual amplitude change occurs near the impact amplitude, so the inner product result <x i ,x m >Similar amplitude changes will also occur;

[0108] This inner product can effectively suppress signal interference. Since the data points are close in time scale, when differential mode interference occurs, there is Δφ i =-Δφ m , substituting into the inner product formula, we get:

[0109] <x i ,x m >=cos[(φ i +Δφ i )+(φ m +Δφ m )]=cos(φ i +φ m )

[0110] Among them, Δφ i is φ i The increment of Δφ m is φ m The increment of

[0111] S403: Implement Gram angle and field transformation to obtain GASF diagram;

[0112] The specific process is to bring the inner product result into the Gram matrix as an element of the Gram matrix, realize the Gram angle and field transformation, and obtain the GASF diagram. The Gram matrix formula is as follows:

[0113]

[0114] Where G is the Gram matrix; <·> represents the inner product;

[0115] The Gram angle and field formulas are as follows:

[0116]

[0117] Depend on <x i ,x m >, that is, the inner product process unique to the Gram angle field is performed on the transformed vector, and it can be known that <x i ,x m >There will be an amplitude change corresponding to the modal component F(t) containing fault information, while the Gram angle and the elements of the field are <x i ,x m >, so <xi ,x m >The changes in will eventually be reflected in the Gram angle and field results, that is, the GASF diagram, forming an image with alternating light and dark changes.

[0118] Figure 3 The network structure of the VMD-GASF-CapsNet model constructed by the present invention is demonstrated. First, the encoder data of the dual-arc harmonic reducer (input shaft encoder and output shaft encoder) are collected, and a standardized signal containing fault information is obtained through signal processing. The signal is then converted into a GASF graph through GASF transformation. The GASF graph is input into the model for training, thereby realizing intelligent fault diagnosis of the dual-arc harmonic reducer.

[0119] The model includes convolution layer, pooling layer, primary capsule layer, digital capsule layer and output layer. The convolution layer uses two-dimensional convolution to extract features from the input GASF graph, the pooling layer uses the maximum pooling operation, the primary capsule layer and the digital capsule layer use vectors instead of traditional scalar neurons for calculation, the primary capsule layer and the digital capsule layer use a dynamic routing mechanism for updating, and the output layer solves the output of the digital capsule layer by the binary norm to obtain the probability values ​​of different faults.

[0120] The specific steps are as follows:

[0121] S501: Perform a convolution operation on the input GASF graph, use s convolution kernels of the same size to perform a convolution operation on the input, then add a bias term to obtain the output, and finally use the ReLU activation function to perform feature mapping to obtain the feature y l , the calculation formula is as follows:

[0122]

[0123] in, is the output feature after the g-th convolution, is the previous layer feature, is the g-th convolution kernel, M g is the set of input features, b v is the bias term, f ReLU (g) is the activation function.

[0124] S502: The pooling layer is often connected after the convolution layer, which can reduce the spatial size of the data body, and is used to reduce model training parameters and increase training speed. The pooling method is the maximum pooling operation. The features are passed through the pooling layer to obtain the feature vector u input to the primary capsule layer. v , the maximum pooling process is expressed as follows:

[0125]

[0126] in, is the vth element of the lth feature matrix output by the pooling layer; is the vth pooling unit of the lth feature matrix of the pooling layer input; w is the width of the pooling unit.

[0127] S503: Feature vector u v Input to the primary capsule layer and transform it with the weight transformation matrix W v,g Multiply them together to get the intermediate prediction vector u connected to the g-th digital capsule <g|v> , the calculation expression is as follows:

[0128] u <g|v> =W v,g ·u v

[0129] Among them, u v is the vth capsule input of the primary capsule layer, W v,g is the weight transformation matrix.

[0130] Then all the prediction vectors u connected to the g-th digital capsule are <g|v> The output feature vector s is obtained by weighted summation g , the calculation formula is as follows:

[0131]

[0132] Among them, c v,g is the coupling coefficient, which determines the connection probability between the primary capsule and the digital capsule. For the vth primary capsule u v For all digital capsules, the coupling coefficient c v,j is greater than 0, and the sum is 1, the coupling coefficient c v,j Calculated by the softmax function:

[0133]

[0134] where b v,g is the prior probability between the vth primary capsule and the gth digital capsule. Its initial value is 0 and is updated through subsequent iterations. k is the number of capsules in the digital capsule layer.

[0135] S504: Use the squashing function to output the feature vector s g Nonlinear mapping is performed. This function can compress the modulus of the vector to [0,1] without changing its direction. The modulus of the vector represents the probability of the existence of the feature. After calculation, the output feature vector h of the digital capsule layer can be obtained. g :

[0136]

[0137] At the same time, dynamic routing updates b v,g , calculate the intermediate prediction vector u through the dot product <g|v> and the output feature vector h g Similarity, optimize and update b v,g :If the intermediate prediction vector u <g|v> With the output feature h g The higher the similarity of b, the v,g The larger the value of is, the corresponding coupling coefficient c v,g The larger the similarity, the lower the b v,g The smaller the value, the smaller the coupling coefficient c v,g After continuous optimization and updating, the optimal coupling coefficient c is obtained. v,g , the specific iteration formula is as follows:

[0138] b v,g =b v,g +h g ·u <g|v>

[0139]

[0140] S505: Output h to the digital capsule layer g , find its modulus, that is, the two-norm can get the probability p of each category in the output layer pred , determine the fault type of the double-arc harmonic reducer and realize the intelligent fault diagnosis of the double-arc harmonic reducer.

[0141] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An intelligent fault diagnosis method for a double arc harmonic reducer based on transmission error, characterized in that: The following steps are involved: S100: Collect the input shaft encoder signal A of the double arc harmonic reducer in (t) and output shaft encoder signal A out (t); S2 00: According to the collected input shaft encoder signal A in (t) and output shaft encoder signal A out (t) calculating the transmission error signal TE(t); S300: Perform variational modal decomposition on the transmission error signal TE(t), extract the modal component F(t) containing the fault information, and perform normalization and scaling on the modal component F(t) containing the fault information to obtain a normalized signal TE containing the fault information. f (t); S400: Standardized signal TE containing fault information f (t) Perform Gram angle and field transformation to obtain GASF diagram; S5 00: Build the VMD-GASF-CapsNet model and input the GASF graph into the model to train the model to realize the intelligent fault diagnosis of the double arc harmonic reducer.

2. The intelligent fault diagnosis method of a double arc harmonic reducer based on transmission error according to claim 1 is characterized in that: In step S200, the transmission error signal TE(t) is calculated as follows: Among them, TE(t) is the transmission error signal; A in (t) is the input shaft encoder signal; A out (t) is the output shaft encoder signal; p is the reduction ratio of the double arc harmonic reducer.

3. The intelligent fault diagnosis method of a double arc harmonic reducer based on transmission error according to claim 2 is characterized in that: In step S300, the variational modal decomposition decomposes the transmission error signal TE(t) into a series of intrinsic modal components by constructing and solving a constrained variational problem; The steps of variational mode decomposition are: S301: Construct a variational problem, denoted as: Among them, u k is a series of decomposed eigenmode components, u k ={u1,u2,...,u k }; {ω k } is the center frequency of each eigenmode component, {ω k }={ω1,ω2,...,ω k }; δ(g) is the Dirac Delta function; the symbol * represents the convolution operation; k is the number of extracted intrinsic mode components; is to find partial derivatives; j is the imaginary unit; π is the circumference of a circle; e is a natural constant; t is the time variable; s is the bandwidth of each mode function; S302: Introduce the quadratic penalty parameter α and the Lagrangian operator λ(t), transform the constructed constrained variational problem into an unconstrained variational problem, and obtain the augmented Lagrangian function, which is recorded as: Wherein, L is the augmented Lagrangian function; λ(t) is the Lagrangian multiplier; α is the penalty factor; <·> is the inner product operation; f(t) is the transmission error signal TE(t) to be decomposed; In order to seek partial guidance; S303: Iteratively update u using the multiplier alternating direction algorithm k ,ω k ,λ, and solve the saddle point of the unconstrained variational problem as the final solution.

4. The intelligent fault diagnosis method of a double arc harmonic reducer based on transmission error according to claim 3 is characterized in that: In step S300, the modal component F(t) containing fault information is extracted through the wave generator rotation frequency of the double arc harmonic reducer and the fault characteristic frequency of each component, wherein the fault characteristic frequency of the component includes the local fault characteristic frequency of the rigid wheel and the local fault characteristic frequency of the flexible wheel, and the wave generator rotation frequency is calculated by the following formula: Among them, f wg is the frequency conversion of the wave generator; n wg Input the rotation speed for the wave generator; The characteristic frequency of the local fault of the rigid wheel and the characteristic frequency of the flexwheel fault are the meshing frequency of the rigid wheel and the meshing frequency of the flexwheel respectively. The meshing frequency of the flexwheel is calculated by the following formula: in fs =2f wg z2 / z1 Among them, f fs is the meshing frequency of the flexspline; z2 is the number of teeth on the rigid wheel; z1 is the number of teeth on the flexspline; The meshing frequency of the rigid wheel is calculated by the following formula: in cs =2f wg Among them, f cs is the meshing frequency of the rigid wheel; When a local fault of the flexible wheel occurs in the double arc harmonic reducer, the frequency of the impact amplitude is the flexible wheel meshing frequency f fs ; When a partial fault occurs in the double arc harmonic reducer, the frequency of the impact amplitude is the meshing frequency of the rigid wheel f cs ; The modal component F(t) containing fault information is extracted according to the frequency and amplitude changes of the impact amplitude when different faults occur in the double-arc harmonic reducer.

5. The intelligent fault diagnosis method of a double arc harmonic reducer based on transmission error according to claim 4 is characterized in that: In step S300, the normalized scaling is obtained by the following formula: Among them, TE f (t) is the standardized signal containing fault information; F i (t) is the modal component containing fault information at the i-th time stamp; max(F(t)) is F i (t); min(F(t)) is the maximum value of F i The minimum value of (t).

6. The intelligent fault diagnosis method of a double arc harmonic reducer based on transmission error according to claim 1 is characterized in that: In step S400, the standardized signal TE containing the fault information is f (t) Performing Gram angle and field transformation includes the following steps: S401: Transform the normalized signal TE containing fault information into polar coordinates f (t) converted to vector; S402: using the inner product unique to the Gram angle field to perform an inner product on the transformed vector; S403: Implement Gram angle and field transformation to obtain GASF diagram.

7. The intelligent fault diagnosis method of a double arc harmonic reducer based on transmission error according to claim 6 is characterized in that: The specific process of step S401 is to convert the standardized signal TE containing fault information into f (t) is converted into a vector using polar coordinate transformation according to the timestamp. The conversion formula is as follows: Among them, t i is the timestamp; N is the constant factor of the regularized polar coordinate generation space; φ is the phase angle; r is the polar coordinate radius; x i Set TE for each timestamp f The value of (t).

8. The intelligent fault diagnosis method of a double arc harmonic reducer based on transmission error according to claim 7 is characterized in that: The specific process of step S402 is to perform the inner product unique to the Gram angle field on the transformed vector. The inner product formula is as follows: <x i ,x m >=cos(φ i +φ m ) Among them, x i and x m are the TE at the i-th and m-th timestamps respectively f (t) value; <·> represents the inner product; φ i and φ m x i and x m The corresponding phase angle.

9. The intelligent fault diagnosis method of a double arc harmonic reducer based on transmission error according to claim 8 is characterized in that: The specific process of step S403 is to bring the inner product result into the Gram matrix as an element of the Gram matrix, realize the Gram angle and field transformation, and obtain the GASF diagram. The Gram matrix formula is as follows: Where G is the Gram matrix; <·> represents the inner product; The Gram angle and field formulas are as follows: <x i ,x m >The amplitude change corresponding to the modal component F(t) containing fault information occurs, <x i ,x m >The changes in the Gram angle and field are reflected in the result, that is, the GASF diagram, forming an image with alternating light and dark.

10. The intelligent fault diagnosis method of a double arc harmonic reducer based on transmission error according to claim 1 is characterized in that: In step S500, a VMD-GASF-CapsNet model is first constructed, and the GASF graph is input into the model to train the model, so as to realize intelligent fault diagnosis of the double arc harmonic reducer; the model includes a convolution layer, a pooling layer, a primary capsule layer, a digital capsule layer and an output layer; The convolution layer uses two-dimensional convolution to extract features from the input GASF graph. The pooling layer uses the maximum pooling operation. Both the primary capsule layer and the digital capsule layer use vectors instead of traditional scalar neurons for calculations. The primary capsule layer and the digital capsule layer are updated using a dynamic routing mechanism. The output layer solves the output of the digital capsule layer with a binary norm to obtain the probability values ​​of different faults, thereby realizing intelligent fault diagnosis of the double-arc harmonic reducer. The specific steps are as follows: S501: Perform convolution operation on the input GASF graph in the convolution layer to extract the feature vector y l ; S502: extracting the feature vector y l The pooling operation is performed in the pooling layer to reduce the spatial size of the data body and obtain the feature vector u i ; S503: The feature vector u i Bring it into the primary capsule layer to get the intermediate prediction vector u <j|i> , and the intermediate prediction vector is passed through u <j|i> The weighted summation is used to obtain the output feature vector s j ; S504: Use the squashing function to output the feature vector s j Perform nonlinear mapping to calculate the output feature vector h of the digital capsule layer j , and update the parameters using a dynamic routing mechanism. S505: Output h to the digital capsule layer j , find its modulus, that is, the two-norm can get the probability p of each category in the output layer pred , determine the fault type of the double-arc harmonic reducer and realize the intelligent fault diagnosis of the double-arc harmonic reducer.

Citation Information

Patent Citations

  • Fault diagnosis model training method and system and diagnosis method and system thereof

    CN113780412A

  • Transmission system gearbox fault diagnosis method based on encoder transmission error signal

    CN117232823A

Cited By

  • Precision speed reducer intelligent fault diagnosis method based on multi-dimensional encoder signals

    CN119554409A

  • Double-arc harmonic reducer transmission error modeling method considering fault factors

    CN119989569A

  • RV reducer transmission error sensitive part tracing method and system

    CN121958933A

  • Hat-type harmonic reducer flexible gear fault detection method based on input end encoder signal order spectrum difference

    CN122567223A