원시데이터 수집 시스템
선정목록으로

A novel gear RUL prediction method by diffusion model generation health index and attention guided multi-hierarchy LSTM

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Xinping Chen — College of Artificial Intelligence and Big Data, Chongqing College of Electronic Engineering, Chongqing, 401331, China
DOI
10.1038/s41598-024-52151-y
저널
Scientific Reports
발행년도
2024
발행기관
Nature Portfolio
피인용수
10
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-024-52151-y
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4391050711

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Gears, as indispensable components of machinery, demand accurate prediction of their Remaining Useful Life (RUL). To enhance the utilization of ordered information within time series data and elevate RUL prediction precision, this study introduces the attention-guided multi-hierarchy LSTM (AGMLSTM). This innovative approach leverages attention mechanisms to capture the intricate interplay between high and low hierarchical features of the input data, marking the first application of such a technique in gear RUL prediction. Additionally, a refined health indicator (HI) is introduced, constructed through a diffusion model, to precisely reflect the gears' health condition. The proposed RUL prediction method unfolds as follows: firstly, HIs are computed from gear vibration data. Subsequently, leveraging the known HIs, AGMLSTM predicts future HIs, and the RUL of the gear is determined upon surpassing the failure threshold. Quantitative analysis of experimental results conclusively demonstrates the superiority of the proposed RUL prediction method over existing approaches for gear RUL estimation.

본문 66,846자

본문 펼치기
## OPEN # A novel gear RUL prediction method by diffusion model generation health index and attention guided multi‑hierarchy LSTM Xinping Chen Gears, as indispensable components of machinery, demand accurate prediction of their Remaining Useful Life (RUL). To enhance the utilization of ordered information within time series data and elevate RUL prediction precision, this study introduces the attention-guided multi-hierarchy LSTM (AGMLSTM). This innovative approach leverages attention mechanisms to capture the intricate interplay between high and low hierarchical features of the input data, marking the first application of such a technique in gear RUL prediction. Additionally, a refined health indicator (HI) is introduced, constructed through a diffusion model, to precisely reflect the gears’ health condition. The proposed RUL prediction method unfolds as follows: firstly, HIs are computed from gear vibration data. Subsequently, leveraging the known HIs, AGMLSTM predicts future HIs, and the RUL of the gear is determined upon surpassing the failure threshold. Quantitative analysis of experimental results conclusively demonstrates the superiority of the proposed RUL prediction method over existing approaches for gear RUL estimation. Recently, with the rapid development of Industry 4.0, engineering equipment has become increasingly complex and intelligent. In practice, the reliability and stability of equipment operation is an important prerequisite for completing the preset tasks, therefore extremely rigorous requirements are put forward. Given that the gear is the critical and costly drivetrain component in wind turbines and aero-engines, whose failure makes downtime, operations, and maintenance (OM) costs, and, to some extent, ­casualties <sup>1,2</sup> . Thus researchers pay more attention to the approaches to remaining useful life (RUL) ­prediction <sup>3–5</sup> . RUL refers to the expected continuous normal working time of the gear from the present to the occurrence of potential ­failures <sup>5</sup> . The RUL prediction, as an important role in prognostics and health management (PHM), enables the predicted OM decision assistance, which helps ensure equipment stability and avoid damage. After continuous exploration and verification, the prediction of RUL has yielded significant theoretical research results in the academic world and holds vast potential for application in the industrial sector. RUL prediction approaches are broadly categorized into three classes: method-based <sup>6,7</sup>, data-driven <sup>3,4</sup>, and ­hybrid <sup>8,9</sup> . These methods exhibit distinct characteristics, but with the rapid advancement of technologies like artificial ­intelligence <sup>5</sup>, sensor ­technology <sup>10</sup>, and signal processing ­technology <sup>11</sup>, the data-driven approach has emerged as the mainstream method for RUL prediction, particularly in complex engineering equipment. Besides data-driven method is more convenient than the model-based method and hybrid method which require a certain expert knowledge of failure mechanism. These characteristics enable data-driven methods suitable for RUL prediction and become a research hot. Deep learning (DL), being the most popular method in the data-driven approach, has shown remarkable success in machine ­PHM <sup>12</sup> . Recently, numerous RUL prediction methods based on DL have been proposed by scholars. Ren et al. <sup>3</sup> introduced a simple DL method for machine RUL prediction, incorporating features in the time domain and frequency domain into a fully connection NN. Meanwhile, Yang et al. <sup>4</sup> developed a novel DL method with the first convolution neural network (CNN) as the detector of the initial failure point of rotating machinery, and the second CNN as the RUL predictor. Cheng et al. <sup>5</sup> first designed the CNN to construct the College of Artificial Intelligence and Big Data, Chongqing College of Electronic Engineering, Chongqing 401331, China. email: 202321001@cqcet.edu.cn health indicator from the raw data pre-processed by the Hilbert-Huang Transform (HTT), then estimated the machine RUL by SVR regression. Long short-term memory (LSTM) <sup>13</sup> as the famous recurrent neural network (RNN) variant not only has its recursive properties but also has unique gating mechanisms, which makes it very suitable for processing sequential data compared with other neural networks (NNs). Therefore, LSTM as a RUL predictor is becoming more and more popular in PHM field. Yang et al. <sup>14</sup> executed mounts of experiments to find the advantage of the operation information data in the improvement of RUL prediction by using the LSTM models. Wu et al. <sup>15</sup> proposed a deep LSTM model to estimate bearing RUL via multiple sensor signals. Yuan et al. <sup>16</sup> investigated the prognostic performance of several RNNs for RUL estimation of aero-engines, including normal RNN, gated recurrent unit (GRU), and LSTM. Wang et al. <sup>17</sup> presented a novel RUL prediction approach. Firstly, the bearing degradation curve was classified into multiple stages, and then the RUL was obtained by multi-step prediction according to the stage. For the joint tasks of fault assessment and RUL estimation, Miao et al. <sup>18</sup> designed and established a dual-learning LSTM model. Chen al. <sup>19</sup> adopted an attention mechanism to weigh the data of different time steps in the cellular to improve the predictive ability of the improved LSTM. Qin al. <sup>20</sup> proposed a novel attention mechanism to screen the important information before and after inputting the hidden layer of GRU and further improve the roll bearing’s RUL prediction accuracy. The above methods improve the LSTM from multiple angles, e.g. combined with CNN feature extraction, artificial feature construction, attention mechanism selection, and other techniques, to obtain better prediction performance. On the other side, researchers find that there is another feature named ordered information hidden in the sequence information which is helpful for RUL estimation, and LSTM based on ordered information (On-LSTM) is firstly proposed to deal with the feature and applied on gear RUL prediction in ­literature <sup>21,22</sup> . Based on the angle, ­literatures <sup>23,24</sup> further explored the usage of ordered information on RUL pre-diction tasks by using attention-guided and mining the mixed zone of hierarchies. The studies about gear RUL prediction have been developed and applied. However, there still exist two main gaps in the methods of gear RUL prediction. 1. One is that the prediction method can not mine ordered information of HIs fully and reasonably, which can decrease the feature extraction ability of models and impact the RUL prediction accuracy. 2. Another is that there is rare work on the construction of HI with clear degradation trends and stable failure theories. Facing the challenge, the article proposed a novel attention-guided multi-hierarchy LSTM (AGMLSTM) model. AGMLSTM not only can mine the feature of mixed hierarchy but also has the ability which is guided by the attention mechanism reasonably. Thus AGMLSTM is more suitable for gear RUL prediction. Besides, a suitable health index (HI) is beneficial for RUL prediction accuracy. In the paper, a novel HI which is smooth and has a clear trend constructed by the diffusion model is presented. Finally, based on the known HIs, the AGMLSTM is used to predict the future HIs step by step until it exceeds the preset failure value, and the RUL of gear is finally obtained. The outperformance of the presented RUL approach is illustrated by the quantitative evaluation of various indexes during the experiments. Particularly noteworthy is the remarkable achievement of 92% RUL prediction accuracy in the challenging task of predicting gear RUL within one hour, signifying the practical significance of our approach in online RUL prediction. The main contributions in the article are as follows: 1. The adoption of the diffusion model represents a pioneering approach to constructing the HIs for gears, effectively mitigating fluctuations. Gear HI curves exhibit declining trends, and their failure thresholds are similar. 2. AGMLSTM is proposed for gear RUL prediction. This method demonstrates enhanced capability in extracting ordered information, improving feature extraction, and boosting RUL estimation. 3. Building on the diffusion model and AGMLSTM, the study proposes a novel prediction method, validated through comprehensive assessments of full-life vibration data for gears." The remainder of the article is arranged as follows. “Theoretical basis” not only introduces the concept of diffusion model but also introduces LSTM. The details of the proposed methods are described in “The proposed methodology”. The experiments with results analysis are given in “Experimental analysis”. Last, in “Conclusion”, the conclusion is summarized. Theoretical basis Diffusion model Diffusion ­model <sup>25</sup> is a novel advanced deep generative model. It gradually transforms data into noise and then learns the de-noising process to generate new samples in both forward and backward directions. Thus The learned de-noising module of diffusion model is adopted to construct gear HIs. Figure 1 illustrates the intuition behind the Diffusion model. In this study, the de-noising diffusion probabilistic model is employed, which operates through the utilization of two Markov chains. Diffusion Model adopts a progressive nosing and de-noising approach. In the forward process, Gaussian noise is gradually added to the original data layer by layer until it transforms into a simple prior Gaussian distribution. In the reverse process, the noise is gradually eliminated by the deep neural network. The fixed approximate posterior q(x1:N |x0) in the forward stage is calculated in Eqs. (1) and (2), Figure 1. The details of diffusion model. N n=1 q(x1:N |x0) = - q(xn|xn−1) (1) q(xn|xn−1) �xn; ~~�~~ 1 − βnxn−1, βnI� q(xn|xn−1) ∼ N�xn; ~~�~~ 1 − βnxn−1, βnI� (2) where βn ∈ (0, 1), _N_ and _I_ are the added Gaussian noise, sample number, and identity matrix. While at the reverse process, a learnable Gaussian transition which is beginning at p(xn), with another Markov chain constructs the joint distribution pθ (xn−1|xn), as calculated in Eqs. (3) and (4), N n=1 pθ (x0:N ) = P(xN ) - p(xn−1|xn) (3) p(xn−1|xn) pθ (xn−1|xn) ∼ N(xn−1, µθ (xn, n), δθ (xn, n)I) (4) where mean µθ and variance δθ are obtained from a deep NN. The objective of the reverse Markov chain, i.e., computing pθ (xn−1|xn), is to remove the Gaussian noise introduced during the forward process. The de-nosing object is pθ (xn−1|xn) for the reverse Markov chain. Supposed that ­x0 is sampled from the noise p(xn), repeating the process from pθ (xn−1|xn) until n = 1. For accurate sampling, make the trained reverse Markov chain pθ (xn−1|xn) close to the posterior distribution q(xn−1|xn, x0) of the forward process given x0 . And Kullback–Leibler (KL) divergence is chosen as the similarity evaluation metric, whose equations are defined as bellows, DKL �q(xn1−1|xn, x0)||pθ (xn − 1|xn) (5) = Eq - 2 <sup><u>�</u></sup> <u>1</u> θ <sup>|| ˜µn(xn, x0) −</sup> <sup>µθ</sup> <sup>(xn, n)||2</sup> - + C µ˜ n In the equation, _C_ is a constant that is independent of θ and µ˜ n represents the average value of q(xn−1|xn, x0) . And the simplified objection is calculated in Eq. (6) by adding the noise NN εθ with parameters θ, ~~√~~ �(n)||ε − εθ - - ~~<u>√</u>~~ <u>αnx0 +</u> ~~√~~ Ex0∼q(x0),ε∼N(0,I) = �(n)||ε − εθ 1 − <u>αnε, n</u> (6) - - ~~<u>√</u>~~ <u>αnx0 +</u> �|| <sup>2�</sup> where �(n) is the function of positive weight. 1 − <u>αnε, n�||</u> <sup>2�</sup> Long short term memory LSTM <sup>13</sup> is proposed for releasing the limitation by the nonlinear procession of the data based on the gate mechanism as sown in Fig. 2. The mathematical expression of LSTM is as follows: i t = σ( w ix x t + w ih h t−1 + b i) (7) f t = σ - w fx x t + w fh h t−1 + b f - (8) - w fx x t + w fh h t−1 + b f o t = σ( w ox x t + w oh h t−1 + b o) (9) <u>c</u> t = tanh ( w cx x t + w ch h t−1 + b c) (10) c t = f t ⊙ c t−1 + i t ⊙ <u>c</u> t (11) h t = o t ⊙ tanh ( c t ) (12) Figure 2. The diagram of LSTM neuron structure. In Eqs. (7–12), the input weight matrixes w ix( w fx, w ox, w cx ) and the recurrent weight matrixes w ih( w fh, w oh, w ch ) are defined by the nonlinear transformation of x t and h t−1 based on forget (input, output) gate, which decides the forget (input, output) degree of data in the hidden layer; b i( b f, b - and b c ) are the bias of the hidden layer. <u>c</u> t and c t are the internal state and memory state of the cell;⊙ denotes the pointwise multiplication. σ(tanh ) is the sigmoid (tanh) activation function. The proposed methodology Attention‑guided multi‑hierarchy LSTM ON-LSTM is first proposed in the NLP field to address the hierarchical structure problem, i.e. "characters, words, and phrases" has a different hierarchy and should be learned in different ways. However, for the vibration signal of mechanical equipment, the hierarchy of order information is difficult to give physical meaning. During the training process, ON-LSTM achieves automatic hierarchy by only providing feedback through the error between predicted and actual results, lacking effective guidance and clear physical interpretation in the hierarchical process. Moreover, the ordered information extracted by ON-LSTM exhibits mixed regions, and the features missed in mixed regions may impact the feature extraction capability. Therefore, this study proposes a new attention-guided multi-hierarchy Long Short-Term Memory (AGMLSTM) neural network that further partitions the mixed hierarchies using the attention mechanism, thereby forming an attention-guided multihierarchy information structure. The similarity between the elements of input vectors and recurrent vectors with attention labels determines the segmentation point between input hierarchies and historical hierarchies, which is the index of the most similar element with attention labels. This means that attention is to guide the hierarchical segmentation and give physical meaning to the hierarchy of ordered information of vibration data. Simultaneously, the multi-hierarchy partitioning enables neural networks to fully utilize ordered information. Information that is easily retained over a long period is assigned a high attention hierarchy, while information that is easily replaceable is assigned a low attention hierarchy. The mixed information, representing the intermediate attention hierarchy, is further divided into the sub-hierarchies of low intermediate attention, intermediate attention, and high intermediate attention, which respectively represent short-term information, mid-term information, and long-term information. It should be noted that the intermediate hierarchies (low intermediate, intermediate, and high intermediate) will be zero when the high and low attention hierarchy information has no interaction. In this case, the information in the zone will not participate in the neural network’s update process. Let x t = - xt,1 xt,2 . . . xt,n �T and h t−1 = - ht−1,1 ht−1,2 . . . ht - 1,m �T denote the input HIs at time step t and the recurrent data at time step t − 1, respectively. Compared to other networks, the main difference of AGMLSTM lies in the hierarchical information partitioning during the cell unit update process, as illustrated in Fig. 3. The proposed AGMLSTM utilizes attention-guided multi-hierarchy partitioning influenced by attention labels. By calculating the similarity between input data, recurrent data, and the attention label, the maximum attention coefficient element is identified as the hierarchy segmentation point, so that the model identifies the hierarchy from the largest element to the element that is most similar to the label. Thus, the designed hierarchical structure can be combined with RNN through the attention hierarchies of information. By employing the designed update rules, information with a lower attention hierarchy is more prone to forgetting, while information with a higher attention hierarchy is preserved for a longer duration. Due to the construction of multi-hierarchy information, let’s assume that the main and auxiliary hierarchical positions of the input information x t are denoted as dt <sup>1</sup>,i <sup>and d</sup> t <sup>2</sup>,i <sup>, respectively, while the main and auxiliary hier-</sup> Let x t = positions of the input information x t are denoted as dt <sup>1</sup>,i <sup>and d</sup> t <sup>2</sup>,i <sup>, respectively, while the main and auxiliary hier-</sup> archical positions of the historical information h t−1 are denoted as dt <sup>1</sup>,f <sup>and d</sup> t <sup>2</sup>,f <sup>. These positions are generated</sup> t <sup>1</sup>,i <sup>and d</sup> t <sup>2</sup>, t <sup>1</sup>,f <sup>and d</sup> t <sup>2</sup>, archical positions of the historical information h t−1 are denoted as dt <sup>1</sup>,f <sup>and d</sup> t <sup>2</sup>,f <sup>. These positions are generated</sup> using the following construction functions: F1, F2, F3, and F4, guided by the query vector qm . The auxiliary hierarchical positions are used to refine the interval of hierarchical mixing. dt <sup>1</sup>,i <sup>= F1(</sup> <sup>x</sup> <sup>t</sup> <sup>,</sup> <sup>h</sup> <sup>t−1, qm)</sup> (13) dt <sup>2</sup>,i <sup>= F2(</sup> <sup>x</sup> <sup>t</sup> <sup>,</sup> <sup>h</sup> <sup>t−1, qm)</sup> (14) dt <sup>1</sup>,f <sup>= F3(</sup> <sup>x</sup> <sup>t</sup> <sup>,</sup> <sup>h</sup> <sup>t−1, qm)</sup> (15) dt <sup>2</sup>,f <sup>= F4(</sup> <sup>x</sup> <sup>t</sup> <sup>,</sup> <sup>h</sup> <sup>t−1, qm)</sup> (16) t <sup>2</sup>,f <sup>= F4(</sup> <sup>x</sup> <sup>t</sup> <sup>,</sup> <sup>h</sup> <sup>t−1, qm)</sup> The memory cell state vector is updated according to certain rules based on the attention hierarchy of input information and recurrent information. 1) If dt <sup>1</sup>,f <sup>≤</sup> <sup>d</sup> t <sup>1</sup>,i <sup>, the main hierarchy of the input information</sup> <sup>x</sup> <sup>t is higher than the main hierarchy of the histori-</sup> cal information h t−1, resulting in an intermediate attention hierarchy. AGMLSTM is capable of further refining the intermediate attention hierarchy and dividing it into sub-hierarchies: low intermediate attention hierarchy, intermediate attention hierarchy, and high intermediate attention hierarchy, shown in Fig. 4. Therefore, when the hierarchical relationship simultaneously satisfies dt <sup>2</sup>,f <sup>≤</sup> <sup>d</sup> t <sup>2</sup>,i <sup>, the auxiliary hierarchy of the input information</sup> 1) If dt <sup>1</sup>,f <sup>≤</sup> <sup>d</sup> t <sup>1</sup>, the hierarchical relationship simultaneously satisfies dt <sup>2</sup>,f <sup>≤</sup> <sup>d</sup> t <sup>2</sup>,i <sup>, the auxiliary hierarchy of the input information</sup> x t is also higher than the auxiliary hierarchy of the historical information h t−1 . There is an interactive space between dt <sup>2</sup>,f <sup>and d</sup> t <sup>2</sup>,i <sup>. The cell unit update rules are as follows: within the cell unit interval</sup> �0, dt <sup>1</sup>,f -, the candidate memory cell state vector <u>c</u> t is directly input into the corresponding memory cell, while within the cell unit interval �memory cell. As for the overlapping region dt <sup>1</sup>,i <sup>, dmax</sup> -, the memory cell state vector c t−1 from the previous time step is directly input into the corresponding dt <sup>1</sup>,f <sup>, d1</sup>, further refinement updates are performed based on the t <sup>2</sup>,f <sup>≤</sup> <sup>d</sup> t <sup>2</sup>,i dt <sup>2</sup>,f <sup>and d</sup> t <sup>2</sup>, 0, dt <sup>1</sup>,f between dt <sup>2</sup>,f t <sup>2</sup>,i <sup>. The cell unit update rules are as follows: within the cell unit interval</sup> t <sup>1</sup>,i <sup>, dmax</sup> memory cell. As for the overlapping region �, the memory cell state vector c t−1 from the previous time step is directly input into the corresponding dt <sup>1</sup>,f <sup>, d1</sup>, further refinement updates are performed based on the �dt <sup>1</sup>, memory cell. As for the overlapping region t <sup>1</sup>,f <sup>, d</sup> t <sup>1</sup>,i t,i -, further refinement updates are performed based on the �dt <sup>1</sup>, auxiliary hierarchical positions of the input and historical information. For the overlapping region �dt <sup>1</sup>,f <sup>, d</sup> t <sup>2</sup>,f -, the update of c t is: auxiliary hierarchical positions of the input and historical information. For the overlapping region t <sup>1</sup>,f <sup>, d</sup> t <sup>2</sup>,f t,f z1 1-z1 C _t_ -1 C _t_ h _t_ _ <sup>_</sup> __ __ __ i <sup>1</sup> tanh i <sup>1</sup> _t_ f _t_ σ _t_ f <sup>1</sup> _t_ i <sup>2</sup> _t_ f <sup>2</sup> _t_ _t_ i <sup>2</sup> _t_ f <sup>2</sup> _t_ cumsum 1-cumsum cumsum 1-cumsum _ qm attention softmax h - _t_ -1 x _t_ attention softmax attention softmax attention softmax σ tanh σ z2 i _t_ C _t_ o _t_ 1-z2 Figure 3. The cellular of AGMLSTM. High attention Intermediate attention High intermediate Low attention Low intermediate attention Intermediate attention High intermediate hierarchicy hierarchy hierarchy attention hierarchy hierarchy hierarchicy Low intermediate attention Intermediate attention High intermediate hierarchy hierarchy attention hierarchy hierarchy hierarchy _d_ <sup>_2_</sup> _t,f_ <sup>_2_</sup> _t,i_ _d_ <sup>_1_</sup> _d_ <sup>_1_</sup> _t,f_ _d_ <sup>_2_</sup> _t,f_ _d_ <sup>_2_</sup> _t,i_ _d_ <sup>_1_</sup> _t,i_ _t,f_ <sup>_2_</sup> _t,f_ _d_ <sup>_2_</sup> Easy to replace Easier to replace Mix Easier to save Easy to Save Mix Easier to replace Mix Easier to save Mix zones Figure 4. The hierarchy division of AGMLSTM when dt <sup>1</sup>, <sup>d</sup> t <sup>2</sup>,f <sup><u>≤</u></sup> <sup>d</sup> t <sup>2</sup>, t <sup>1</sup>,f <sup><u>≤</u></sup> <sup>d</sup> t <sup>2</sup>, t <sup>2</sup>,i <sup><u>≤</u></sup> <sup>d</sup> t <sup>1</sup>,i <sup>.</sup> t <sup>1</sup>,i <sup>.</sup> c t = s 1 ⊙ ( f t ⊙ c t−1 + i t ⊙ <u>c</u> t ) + (1 − s 1) ⊙ <u>c</u> t (17) where 1− s 1 is the scale of short-term information in the cellular memory at the case. �dt <sup>2</sup>, For the overlapping region � dt <sup>2</sup>,f <sup>, d</sup> t <sup>2</sup>,i t,i -, the update rule of c t is defined as follows: �dt <sup>2</sup>, c t =( f t ⊙ c t−1 + i t ⊙ <u>c</u> t ) (18) For the overlapping region � dt <sup>2</sup>,i <sup>, d</sup> t <sup>1</sup>,i t,i �, c t is updated by, c t = s 2 ⊙ ( f t ⊙ c t−1 + i t ⊙˜ c t ) + (1 − s 2) ⊙ c t−1 (19) where 1− s 2 represents the long-term data ratio. Therefore, under this hierarchy distribution c t is presented bellows,              c t−1 �dt <sup>1</sup>, t <sup>1</sup>,i <sup>, dmax</sup>              s 2 ⊙ ( f t ⊙ c t−1 + i t ⊙ <u>c</u> t ) + (1 − s 2) ⊙ c t−1 �dt <sup>2</sup>, t <sup>2</sup>,i <sup>, d</sup> t <sup>1</sup>,i t,i �dt <sup>1</sup>,f ( f t ⊙ c t−1 + i t ⊙ <u>c</u> t ) �dt <sup>2</sup>,f t <sup>2</sup>,f <sup>, d</sup> t <sup>2</sup>,i c t =  ( f t ⊙ c t−1 + i t ⊙ <u>c</u> t ) �dt <sup>2</sup>,f <sup>, d</sup> t <sup>2</sup>,i -  (20)   t,i s 1 ⊙ ( f t ⊙ c t−1 + i t ⊙˜ c t ) + (1 − s 1) ⊙ <u>c</u> t t <sup>1</sup>,f <sup>, d</sup> t <sup>2</sup>,f t,f <u>c</u> t 0, dt <sup>1</sup>,f When the hierarchical relationship simultaneously satisfies dt <sup>2</sup>, When the hierarchical relationship simultaneously satisfies dt <sup>2</sup>,f <sup>≥</sup> <sup>d</sup> t <sup>2</sup>,i <sup>, and the auxiliary hierarchical level of</sup> the input information x t is lower than the auxiliary hierarchical level of the historical information h t−1, there is no interactive space between dt <sup>2</sup>,f <sup>and d</sup> t <sup>2</sup>,i <sup>,, shown in Fig. 5. In this case, the update mechanisms within the index</sup> ranges the update of �dt <sup>1</sup>,i <sup>, dmax</sup> c t is as follows:� and �0,dt <sup>1</sup>,f - remain consistent with the first case. However, within the index range �dt <sup>1</sup>,f <sup>, d</sup> t <sup>2</sup>,i -, t <sup>2</sup>,f <sup>≥</sup> <sup>d</sup> t <sup>2</sup>, t <sup>2</sup>,f <sup>and d</sup> t <sup>2</sup>, t <sup>2</sup>,i <sup>,, shown in Fig. 5. In this case, the update mechanisms within the index</sup> - remain consistent with the first case. However, within the index range �dt <sup>1</sup>, ranges t <sup>1</sup>,i <sup>, dmax</sup> �dt <sup>1</sup>, - and 0,dt <sup>1</sup>,f t <sup>1</sup>,f <sup>, d</sup> t <sup>2</sup>,i t,i c t = s1 ⊙ ( f t ⊙ c t−1 + i t ⊙ <u>c</u> t ) + (1 − s1 ) ⊙ <u>c</u> t (21) where 1− s1 is the short-term information ratio. For elements in the range � t <sup>2</sup>,i <sup>, d</sup> t <sup>2</sup>,f t,f -, the cell memory state c t is �dt <sup>2</sup>,f c t = s 2 ⊙ ( f t ⊙ c t−1 + i t ⊙ <u>c</u> t ) + (1 − s 2) ⊙ c t−1 (22) �dt <sup>2</sup>, zero, while in the range t <sup>2</sup>,f <sup>, d</sup> t <sup>1</sup>,i t,i - c t is calculated as below, Intermediate attention High intermediate High attention Low attention Low intermediate attention Intermediate attention High intermediate hierarchicy hierarchy hierarchy attention hierarchy hierarchy hierarchicy Low intermediate attention Intermediate attention High intermediate hierarchy hierarchy attention hierarchy hierarchy hierarchy _d_ <sup>_2_</sup> _d_ <sup>_1_</sup> _t,f_ _d_ <sup>_2_</sup> _t,i_ _d_ <sup>_2_</sup> _t,f_ _d_ <sup>_1_</sup> _t,i_ _t,f_ _d_ <sup>_2_</sup> _t,i_ _d_ <sup>_2_</sup> _t,f_ _t,i_ _d_ <sup>_2_</sup> _t,f_ _d_ <sup>_1_</sup> Easy to replace Easier to replace Mix Easier to save Easy to Save Mix Easier to replace Mix Easier to save Mix zones Figure 5. The hierarchy division of AGMLSTM when dt <sup>1</sup>, <sup>d</sup> t <sup>2</sup>,i <sup><u>≤</u></sup> <sup>d</sup> t <sup>2</sup>,f t <sup>1</sup>,f <sup><u>≤</u></sup> <sup>d</sup> t <sup>2</sup>, t <sup>2</sup>,f <sup><u>≤</u></sup> <sup>d</sup> t <sup>1</sup>,i <sup>.</sup> t <sup>1</sup>,i <sup>.</sup> where 1− s 2 denotes the long-term information ratio. In summary, c t at the hierarchy is updated by the below rules,              c t−1 �dt <sup>1</sup>, t <sup>1</sup>,i <sup>, dmax</sup>              s 2 ⊙ ( f t ⊙ c t−1 + i t ⊙ <u>c</u> t ) + (1 − s 2) ⊙ c t−1 �dt <sup>2</sup>, t <sup>2</sup>,f <sup>, d</sup> t <sup>1</sup>,i t,i 0�dt <sup>2</sup>, t <sup>2</sup>,i <sup>, d</sup> t <sup>2</sup>,f  0 dt <sup>2</sup>,i <sup>, d</sup> t <sup>2</sup>,f  (23) c t =  - -    t,f s 1 ⊙ ( f t ⊙ c t−1 + i t ⊙ <u>c</u> t ) + (1 − s 1) ⊙ <u>c</u> t t <sup>1</sup>,f <sup>, d</sup> t <sup>2</sup>,i t,i �dt <sup>1</sup>, <u>c</u> t 0,dt <sup>1</sup>,f 2) If dt <sup>1</sup>,f <sup>≤</sup> <sup>d</sup> t <sup>1</sup>, 2) If dt <sup>1</sup>,f <sup>≤</sup> <sup>d</sup> t <sup>1</sup>,i <sup>, the main hierarchical level of the input information</sup> <sup>x</sup> <sup>t is higher than the main hierarchical</sup> level of the historical information h t−1, indicating that the attention focus on the input data than the recurrent data, there are no overlapping cell unit regions. Therefore, c t within the intermediate attention level, there is no need for the mixing of short-term and mid-term memory f t ⊙ c t−1 + it <u>⊙</u> <u>c</u> t to update. Within the cell unit interval dt,i, dt,f, the current time step’s cell activation vector is set to zero. <u>c</u> t is the direct input within the cell interval unit interval �dt,i, d0,t,fd�t, the current time step’s cell activation vector is set to zero.,i, and for c t−1 is the interval dt,f, dmax . At the situation, <u>c</u> t c is the direct input within the cell t is updated by Eq. (24) with its �dt,i, d0,t,f �dt,f, dmax unit interval 0,dt,i, and for c t−1 is the interval dt,f, dmax . At the situation, c t is updated by Eq. (24) with its hierarchical partition shown in Fig. � - 6. - 0,dt,i, and for c t−1 is the interval hierarchical partition shown in Fig. � - 6.   <u>c</u> t, < dt,i 0, �dt,i, dt,f c t−1, ≥ dt,f   c t′ = 0, �dt,i, dt,f - (24) c t−1, ≥ dt,f The construction functions F1, F2, F3 and F4 are derived as follows. We first normalize the input data x t and historical data h t−1 using softmax function, introducing four _m_ -dimensional vectors f ~~1~~ t <sup>,</sup> <sup>i</sup> <sup>~~1~~</sup> t <sup>,</sup> <sup>f</sup> ~~2~~ t <sup>and</sup> <sup>i</sup> <sup>~~2~~</sup> t <sup>.</sup> ~~1~~ t <sup>,</sup> <sup>i</sup> <sup>~~1~~</sup> t ~~2~~ t <sup>and</sup> <sup>i</sup> <sup>~~2~~</sup> t <sup>.</sup> <sup>~~1~~</sup> t <sup>,</sup> <sup>f</sup> <sup>~~2~~</sup> t <sup>.</sup> ~~1~~ t <sup>=softmax</sup> ~~1~~ f t <sup>=softmax</sup> w f1 x t + w f1 h t−1 + b f1 (25) - w f1 x t + w f1 h t−1 + b f1 - w i1 x t + w i1 h t−1 + b i1 i <sup>~~1~~</sup> t <sup>=softmax</sup> - w i1 x t + w i1 h t−1 + b i1 - (26) i <sup>~~1~~</sup> t <sup>=softmax</sup> ~~2~~ t <sup>=softmax</sup> ~~2~~ f t <sup>=softmax</sup> w f2 x t + w f2 h t−1 + b f2 (27) - w f2 x t + w f2 h t−1 + b f2 - w i2 x t + w i2 h t−1 + b i2 i <sup>~~2~~</sup> t <sup>=softmax</sup> - w i2 x t + w i2 h t−1 + b i2 - (28) i <sup>~~2~~</sup> t <sup>=softmax</sup> where w f and w i represent the weight matrices of the softmax layers for historical data and input data, respectively, while b f and b i represent the thresholds of the softmax layers for historical data and input data. Next, the attention coefficients αt <sup>1</sup>,i <sup>, α</sup> t <sup>2</sup>,i <sup>, �1</sup> t,i <sup>and �2</sup> t,i <sup>for the input data, and recurrent data are calculated using</sup> Eqs. (29–32), respectively: Next, the attention coefficients αt <sup>1</sup>, t <sup>2</sup>,i <sup>, �1</sup> t, t <sup>1</sup>,i <sup>, α</sup> t <sup>2</sup>, <sup>1</sup> t,i <sup>and �2</sup> t, i <sup>~~1~~</sup> t, <u>�</u> <u>��</u> exp s <u>�</u> s i <sup>~~1~~</sup> t, <u>�</u> i <sup>~~1~~</sup> t,i <sup>, qt,m</sup> αt <sup>1</sup>,i <sup>=</sup> m (29) t <sup>1</sup>,i <sup>=</sup> m j�=1 exp <u>��</u> s <u>�</u> <sup>~~1~~</sup> t,j <sup>, qt,m</sup> j�=1 High attention Low attention hierarchicy hierarchy hierarchicy _d_ <sup>_1_</sup> _t,f_ _d_ <sup>_1_</sup> _t,i_ _t,f_ _d_ <sup>_1_</sup> Easy to replace Easy to Save Mix zones Figure 6. The hierarchy division of AGMLSTM when dt <sup>1</sup>, t <sup>1</sup>,i <sup>.</sup> t <sup>1</sup>,f <sup><u>≤</u></sup> <sup>d</sup> t <sup>1</sup>, f t <u>�</u> ~~1~~ exp s <u>�</u> s f <u>�</u> ~~1~~ t,i <sup>, qt,m</sup> - <sup>1</sup> m ~~1~~ (30) t,i <sup>=</sup> exp s f t,j <sup>, qt,m</sup> m j�=1 <u>��</u> <u>��</u> exp t,j <sup>, qt,m</sup> j�=1 s <u>�</u> i <sup>~~2~~</sup> t, <u>�</u> exp s i <sup>~~2~~</sup> t,i <u>�</u> i <sup>~~2~~</sup> t,i <sup>, qt,m</sup> αt <sup>2</sup>,i <sup>=</sup> m (31) t <sup>2</sup>,i <sup>=</sup> m j�=1 exp s <u>�</u> <u>��</u> <u>��</u> i <sup>~~2~~</sup> t,j <sup>, qt,m</sup> j�=1 s <u>�</u> f t <u>�</u> ~~2~~ exp s <u>�</u> s f <u>�</u> ~~2~~ t,i <sup>, qt,m</sup> - <sup>2</sup> m ~~2~~ (32) t,i <sup>=</sup> exp s f t,j <sup>, qt,m</sup> m j�=1 <u>��</u> <u>��</u> exp t,j <sup>, qt,m</sup> j�=1 s <u>�</u> During the training process, the query vector qt,m at this time step t is set as xt+1,n, while during the inference process, it is set as xt,n. -, s <u>t,i</u> - = <sup><u>i</u></sup> <sup>~~1~~</sup> <sup>T</sup> ~~√~~ f <u>�</u> f <u>�</u> i <sup>~~1~~</sup> t,i <sup>, qt,m</sup> <u>�</u> , s i <sup>~~2~~</sup> t,i <sup>, qt,m</sup> - <u>�</u> ~~2~~ t,f <sup>, qt,m</sup> - are defined as follows: The four scoring functions s ~~1~~ t,f <sup>, qt,m</sup> <u>� and s</u> i <sup>~~1~~</sup> t <u>�</u> <u>t,i</u> <sup><u>qt,m</u></sup> s�i <sup>~~1~~</sup> t,i <sup>, qt,m</sup> - ~~√~~ <u>m</u> (33) <sup>~~1~~</sup> t,i <sup>, qt,m</sup> <u>t,i</u> <sup><u>qt,m</u></sup> <sup><u>i</u></sup> <sup>~~1~~</sup> <sup>T</sup> ~~√~~ <u>m</u> s f - = <sup>f</sup> ~~1~~ t,i <sup>, qt,m</sup> ~~1~~ T <u>t,i</u> <sup>qt,m</sup> ~~√~~ <u>m</u> ~~1~~ <u>t,i</u> <sup>qt,m</sup> s f t,i <sup>, qt,m</sup> (34) - - = <sup>f</sup> ~~√~~ <u>m</u> i <sup>~~2~~</sup> t <u>�</u> <u>t,i</u> - = <sup><u>i</u></sup> <sup>~~2~~</sup> <sup>T</sup> ~~√~~ <u>t,i</u> <sup><u>qt,m</u></sup> s�i <sup>~~2~~</sup> t,i <sup>, qt,m</sup> - ~~√~~ <u>m</u> (35) <sup>~~2~~</sup> t,i <sup>, qt,m</sup> <u>t,i</u> <sup><u>qt,m</u></sup> <sup><u>i</u></sup> <sup>~~2~~</sup> <sup>T</sup> ~~√~~ <u>m</u> s f ~~2~~ t,i <sup>, qt,m</sup> - = <sup>f</sup> ~~2~~ T <u>t,i</u> <sup>qt,m</sup> ~~√~~ <u>m</u> ~~2~~ <u>t,i</u> <sup>qt,m</sup> s f t,i <sup>, qt,m</sup> (36) - - = <sup>f</sup> ~~√~~ <u>m</u> The maximum positions of the attention coefficients dt <sup>1</sup>,i <sup>d</sup> t <sup>2</sup>,i <sup>are set as the main and auxiliary hierarchical</sup> positions of the input information x t ; and the maximum positions of the attention coefficients dt <sup>1</sup>,f <sup>and d</sup> t <sup>2</sup>,f <sup>are set</sup> t <sup>1</sup>,i <sup>d</sup> t <sup>2</sup>,i t <sup>1</sup>,f <sup>and d</sup> t <sup>2</sup>, The maximum positions of the attention coefficients dt <sup>1</sup>,i positions of the input information x t ; and the maximum positions of the attention coefficients dt <sup>1</sup>,f <sup>and d</sup> t <sup>2</sup>,f <sup>are set</sup> as the main and auxiliary hierarchical positions of the historical information h t−1, respectively: dt <sup>1</sup>,i <sup>= index[max(α</sup> t <sup>1</sup>,i <sup>)]</sup> (37) dt <sup>1</sup>,i <sup>= index[max(α</sup> t <sup>1</sup>,i dt <sup>1</sup>,f <sup>= index[max(�</sup> t <sup>1</sup>,i dt <sup>2</sup>,i <sup>= index[max(α</sup> t <sup>2</sup>,i dt <sup>2</sup>,f <sup>= index[max(�</sup> t <sup>2</sup>,i t <sup>1</sup>,i <sup>)]</sup> dt <sup>1</sup>,f <sup>= index[max(�</sup> t <sup>1</sup>,i <sup>)]</sup> (38) t <sup>1</sup>,i <sup>)]</sup> dt <sup>2</sup>,i <sup>= index[max(α</sup> t <sup>2</sup>,i <sup>)]</sup> (39) t <sup>2</sup>,i <sup>)]</sup> dt <sup>2</sup>,f <sup>= index[max(�</sup> t <sup>2</sup>,i <sup>)]</sup> (40) t <sup>2</sup>,i <sup>)]</sup> where index() denotes as the element position extraction function. To achieve the automatic hierarchical update as described above, the cumulative sum function cumsum() is used to compute the cumulative sums of the attention coefficients, resulting in the main and auxiliary input gates ~~1~~ i t <sup>and</sup> <sup>i</sup> ~~2~~ t <sup>, as well as the main and auxiliary forget gates</sup> <sup>f</sup> t ~~1~~ t <sup>and</sup> <sup>f</sup> ~~2~~ t <sup>, which can be written as follows:</sup> 1 i t <sup>= 1 −</sup> <sup>cumsum</sup> 1 i α <sup>1</sup> t (41) t <sup>= 1 −</sup> <sup>cumsum</sup> α <sup>1</sup> t t ~~1~~ t <sup>= cumsum</sup> ~~1~~ f - <sup>1</sup> t (42) - <sup>1</sup> t 2 i t <sup>= 1 −</sup> <sup>cumsum</sup> 2 i α <sup>2</sup> t (43) t <sup>= 1 −</sup> <sup>cumsum</sup> α <sup>2</sup> t t ~~2~~ t <sup>= cumsum</sup> ~~2~~ f - <sup>2</sup> t (44) - <sup>2</sup> t Then, the attention hierarchy structure is partitioned using the following equations: 1 t <sup>◦</sup> <sup>f</sup> ~~1~~ t w <sup>0</sup> 1 ~~1~~ t (45) t <sup>0</sup> <sup>=</sup> <sup>i</sup> ~~1~~ t t <sup>−</sup> <sup>w</sup> <sup>0</sup> w <sup>1</sup> ~~1~~ t (46) t <sup>−</sup> <sup>w</sup> <sup>0</sup> t <sup>1</sup> <sup>=</sup> <sup>f</sup> t t t <sup>2</sup> <sup>=</sup> <sup>w</sup> t <sup>0</sup> f w <sup>2</sup> f t (47) t <sup>=</sup> <sup>w</sup> t <sup>0</sup> <sup>◦</sup> - t <sup>−</sup> <sup>w</sup> <sup>3</sup> t <sup>0</sup> <sup>◦</sup> ~~2~~ t t <sup>−</sup> <sup>w</sup> <sup>3</sup> t ~~2~~ t <sup>◦</sup> <sup>i</sup> t <sup>3</sup> <sup>=</sup> <sup>w</sup> t <sup>0</sup> f <u>�</u> ~~2~~ w <sup>3</sup> f t (48) t <sup>=</sup> <sup>w</sup> t <sup>0</sup> <sup>◦</sup> <u>�</u> t <sup>◦</sup> <sup>i</sup> t <sup>0</sup> <sup>◦</sup> ~~2~~ t t <sup>4</sup> <sup>=</sup> <sup>w</sup> t <sup>0</sup> i ~~2~~ w <sup>4</sup> i t (49) t <sup>=</sup> <sup>w</sup> t <sup>0</sup> <sup>◦</sup> - t <sup>−</sup> <sup>w</sup> <sup>3</sup> t <sup>0</sup> <sup>◦</sup> ~~2~~ i t t <sup>−</sup> <sup>w</sup> <sup>3</sup> t w <sup>5</sup> ~~1~~ t (50) t <sup>−</sup> <sup>w</sup> <sup>1</sup> t In the equation, w t <sup>1,</sup> <sup>w</sup> t <sup>2,</sup> <sup>w</sup> t <sup>3,</sup> <sup>w</sup> t <sup>4 and</sup> <sup>w</sup> t <sup>5 represent the high attention hierarchy, high intermediate attention</sup> hierarchy, intermediate attention hierarchy, low intermediate attention hierarchy, and low attention hierarchy, respectively. In the equation, w t <sup>1</sup> t <sup>1,</sup> <sup>w</sup> t <sup>2</sup> t <sup>2,</sup> <sup>w</sup> t <sup>3</sup> t <sup>3,</sup> <sup>w</sup> t <sup>4</sup> t <sup>4 and</sup> <sup>w</sup> t <sup>5</sup> t <sup>5</sup> <sup>=</sup> <sup>i</sup> t ~~1~~ t t <sup>−</sup> <sup>w</sup> <sup>1</sup> Finally, with the above equations, the propagation equation of AGMLSTM can be written as follows:    - W f x t + U f h t−1 + b f f t = σ i t = σ( W i x t + U i h t−1 + b i) o t = σ( W - x t + U - h t−1 + b o) <u>c</u> t = tanh ( W c x t + U c h t−1 + b c) (51) c ˆt = f t ⊙ c t−1 + i t ⊙˜ c t c t = w t <sup>1</sup> t <sup>4</sup> <sup>⊙</sup> �z2 ⊙ˆ c t + (1 − z2) ⊙ c t−1 - + w t <sup>5</sup> + w t <sup>3</sup> t <sup>3</sup> <sup>⊙ˆ</sup> <sup>c</sup> <sup>t</sup> <sup>+</sup> <sup>w</sup> t <sup>4</sup> t <sup>1</sup> <sup>⊙</sup> <sup>c</sup> <sup>t−1 +</sup> <sup>w</sup> t <sup>2</sup> �z1 ⊙ˆ c t + (1 − z1) ⊙ <u>c</u> t t <sup>2</sup> <sup>⊙</sup> + w t <sup>3</sup> <sup>⊙ˆ</sup> <sup>c</sup> <sup>t</sup> <sup>+</sup> <sup>w</sup> t <sup>4</sup> <sup>⊙</sup> �z1 ⊙ˆ c t + (1 − z1) ⊙ <u>c</u> t - + w t <sup>5</sup> <sup>⊙</sup> <sup><u>c</u></sup> <sup>t</sup> h t = o t ⊙ tanh ( c t ) where other parameters are the same as LSTM. RUL prediction approach A health indicator (HI) that can accurately show the degradation process of gears is crucial to the performance of the prediction model. Therefore, the HI of the vibration signal obtained by the trained diffusion model is used in the article for gear RUL prediction, whose superiority has been demonstrated. Considering that most DL approaches for gear RUL prediction are pattern recognition methods, which are influenced by the quantity and quality of data, an RUL prediction approach under limited ­samples <sup>20</sup> is used in the article, whose flowchart is shown in Fig. 7 and the details are presented as follows: pling approach whose sampling time is 1. The HI data z = - z1 z2 . . . zn−1T and sample interval is zn - is calculated based on the full-lifecycle vibration data by the sam-�t. V =2. Then the first part z <sup>′</sup> . = - z1 z2 . . . zm−1 zm - of z is chosen and linearly normalized to obtain 3. Training pair, containing the model input � v1 v2 . . . vm−1 vm . 3. Training pair, containing the model input � v1 v2 . . . vm−1 vm - G 1 G 2 . . . G l−1 G l �T and output G l+1, is reconstructed by:     ... G l+1 v1 v2 - · · vm−l v2 v3 - · · vm−l+1 ... ... ... ...  = G 1 G 2 G = ... ... ... ... ... (52)   ... ... ... ... vl+1 vl+2 - · · vm where the value of _l_ is equal to the neural numbers of the input layer and G i is denoted by: G i = - vi vi+1 - · · vm−l+i−1 - (53) - vi vi+1 - · · vm−l+i−1 4. The training loss L of the proposed model is denoted as the mean square error (MSE) between the last row G l+1 and the predicted G <sup>ˆ</sup> l+1 based on the first _l_ rows of the matrix G . y t = G <sup>ˆ</sup> l+1 = f ( G1, G 2 · · ·, G l) (54) (55) min [L( w, b, s )] = <sup><u>1</u></sup> 2 - G ˆ l+1 − G l+1�2 - G ˆ l+1 − G l+1 2 �2 The Vibration data of the gear The tuned Diffusion model AGMLSTM Whether the Predicted HI exceeds the fault threshold Y HI construction RUL estimation N Comparison with the The RUL is calculated actual HI after de- normalization The effectiveness of the approach is proved Figure 7. The flowchart of the proposed RUL prediction approach. where _f_ denotes the model transaction function; w, b, and s separately denote the learning matrix. 5. After the trained proposed method is obtained, the last _l_ is set as the model input to estimate the HI in the next point. Then the step-by-step prediction is executed by: - G 2, G 3 · · ·, G l+1�� G l+2 = f G l+3 = f ... - G 2, G 3 · · ·, G l+1 (56) - G 3, G 4 · · ·, G l+1, f - G l−k−1, G n−l · · ·, G n−2 �� G n = f - G n−l, G n−l+1 · · ·, G n−2, f <u>6. At last, once the failure threshold is lower than the inversely normalized predicted HIs, the estimated RUL</u> Rul is finally obtained by Eq. (57): Rul=n1 × �t (57) where n1 is the number of predicted HI points before exceeding the threshold. And the actual RUL shows the effectiveness of the proposed method. Model optimization The configuration exploration of the predictive model is executed based on grid search. The hyper-parameters, namely, candidates of learning rate α and neuron number in each layer, are constructed as each grid note, which is searched for optimal predictive performance parameters. The weight matrix w, the bias matrix b, and the proportion matrix s of the model are trained during the training stage based on the loss function Eq. (55) and updated on Eq. (58) by Adam optimizer. Rul=n1 × �t (57) Model optimization The configuration exploration of the predictive model is executed based on grid search. The hyper-parameters, namely, candidates of learning rate α and neuron number in each layer, are constructed as each grid note, which is searched for optimal predictive performance parameters.   <u>∂Lt</u> ∂ w t ∂Lt ∂ b t ∂Lt ∂ s t       w t+1 b t+1 s t+1   = w t b t s t   - α (58) Experimental analysis Several fatigue full-life experiments are executed by a gear contact fatigue test rig to investigate the lifespan of gears from normal conditions to failure (tooth broken and pitting). The material of the gear for the tooth fracture case was 40Cr, while the gear material for the pitting case was 20CrMnTi. The gear module was set to 5, and the experimental gear case had an oil flow rate of 4 L/h with a cooling temperature of 70 °C. The gears that experienced tooth-broken failures (Dataset 1 and Dataset 2) had tooth counts of 31, 25, 25, and 31, respectively. On the other hand, the gears that suffered from pitting failures (Dataset 3 and Dataset 4) had tooth counts of 26, 24, 24, and 26, as shown in Table 1. As depicted in Fig. 8, the experimental setup comprises a torque controller, a cooling and lubrication controller, an experimental operation platform, and a gear operation platform. The sampling frequency for the experimental setup is fixed at 50,000 Hz. To minimize data volume, this study sets the recording interval, and the sampling length are 60 s and 10 s. And Part of the healthy state data at the beginning of the run is deleted. Data sets 1 and 3 are used to train the Diffusion model for calculating gear HIs. Then, the trained Diffusion model is used to encode the health indicator points of data sets 2 and 4. To test the prediction ability of the predictive model, this study conducts experiments using the health indicator points from all data sets. Through grid search, optimal hyper-parameters for the AGMLSTM are obtained. For data sets 1, 3, and 4, the number of neurons in the input, hidden, and output layers of AGMLSTM are set to 100, 35, and 1. For data set 2, they are set to 60, 20, and 1. The learning rates for the models on data sets 1, 2, 3, and 4 are set to 0.02, 0.03, 0.05, and 0.05. Appropriate health indicators can effectively reflect the health condition of mechanical equipment and improve the RUL prediction ­capability <sup>26–30</sup> . Due to the limitations of single features such as root mean square, kurtosis, and frequency centroid, they may not adequately capture the degradation trend of mechanical equipment in most data sets. Therefore, this study develops a health indicator based on diffusion model that can be used in most cases. Since the signals collected during the steady-state phase contain less degradation information, <u>Dataset</u> <u>Data 1</u> <u>Data 2</u> <u>Data 3</u> <u>Data 4</u> <u>Load (KN)</u> <u>1.4</u> <u>1.4</u> <u>1.2</u> <u>1.2</u> <u>Speed (rpm)</u> <u>500</u> <u>500</u> <u>1000</u> <u>1000</u> <u>Test time (min)</u> <u>814</u> <u>820</u> <u>696</u> <u>951</u> <u>Number of samples</u> <u>814</u> <u>820</u> <u>696</u> <u>951</u> <u>Failure mode</u> <u>Broken</u> <u>Broken</u> <u>Pitting</u> <u>Pitting</u> Table 1. Description of data. Figure 8. Gear contact fatigue testing machine. Figure 9. HI of four datasets. only a portion of the samples from the lifecycle data set is used to calculate the health indicator points using diffusion model and then applied to remaining useful life prediction. Figure 9 displays the obtained health indicator points for all four gear data sets. The constructed health indicator point curves can effectively reflect the degradation trend of gear health, which is highly beneficial for RUL prediction. All gear health indicator curves exhibit a declining trend, and their failure thresholds are similar. This aids in setting a unified failure threshold for different experimental setups, thereby enhancing the robustness of gear RUL prediction. The study undertook comparative experiments employing distinct optimization algorithms to underscore the superior performance of the chosen optimizer. Specifically, ­SGDM <sup>31</sup>, ­RMSprop <sup>32</sup>, and Adam were deliberately selected for comparison within a consistent structural framework, and subsequent optimization was applied across all models. The evaluation process involved ten parallel experiments for each model, focusing on a onehour prediction task. Model performance was rigorously assessed using key performance indicators, namely the mean absolute error (MAE), the normalized root mean square error (NRMSE), the mean absolute percentage error (MAPE), and ­Score <sup>23</sup>, as presented in Fig. 10. It can be concluded that the model adopted by Adam has the lowest values of MAE, NRMSE, and MAPE, and the highest Score value. This means that with the Adam optimizer, the proposed method has better RUL prediction performance. Thus, Adam is more suitable for the proposed method when it deals with gear RUL prediction. The evaluation indicators of different HIs for different gear datasets are respectively calculated and the mean value of evaluation indicators are listed in Table 2. First the two widely used statistical features such as RMSE and Kurtosis in ­PHM <sup>20</sup> are chosen as HIs. Then HI based on popularity learning is constructed, i.e. PCA. Finally, 10 8 6 4 2 0 Adam SGDM RMSprop (a) 0.16 0.14 0.12 0.10 0.08 0.06 0.04 0.02 0.00 Adam SGDM RMSprop (c) 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0.0 Adam SGDM RMSprop (b) 0.6 0.5 0.4 0.3 0.2 0.1 0.0 Adam SGDM RMSprop (d) Figure 10. Comparison of predictive ability under different optimizers. <u>Mon</u> <u>Corr</u> <u>Rob</u> <u>CI</u> <u>RMSE</u> <u>0.519</u> <u>0.706</u> <u>0.826</u> <u>0.636</u> <u>Kurtosis</u> <u>0.414</u> <u>0.618</u> <u>0.737</u> <u>0.540</u> <u>PCA</u> <u>0.754</u> <u>0.863</u> <u>0.674</u> <u>0.771</u> <u>DBN</u> <u>0.916</u> <u>0.802</u> <u>0.653</u> <u>0.829</u> <u>VAE</u> <u>0.829</u> <u>0.853</u> <u>0.830</u> <u>0.837</u> <u>Diffusion model</u> <u>0.955</u> <u>0.921</u> <u>0.890</u> <u>0.932</u> Table 2. The evaluation indicators of different HIs for datasets. HIs are constructed by other Unsupervised networks deep belief network (DBN) <sup>33</sup>, and variational autoencoder (VAE) <sup>24</sup> . In Table 2, a comprehensive analysis of the evaluation indicators for HIs reveals that those generated by the diffusion model consistently outperform other HIs across gear datasets. Notably, the values of monotonicity and the comprehensive indicator for the diffusion model-reconstructed HI stand out, reaching impressive scores of 0.955 and 0.921, respectively. This signifies that the HI constructed through the diffusion model adeptly captures and reflects the degradation trend in gear datasets. The comparison across different HIs reveals that those generated by DBN, VAE, and the diffusion model surpass those based on PCA, RMSE, and Kurtosis. This suggests that HIs constructed by neural networks exhibit greater flexibility when dealing with HIs under fixed patterns, although they may not be ideal for reflecting the degradation trend in gear datasets. Besides, the diffusion model stands out by delivering strong performance evaluation results. This highlights its superior generalization ability, indicating that the HIs produced by the diffusion model are well-suited for assessing health status in gear datasets. Consequently, the HIs constructed by the diffusion model effectively and reliably capture the degradation trend in gear systems. Using the small-sample life prediction method, the proposed AGMLSTM is compared with classical models (LSTM, GRU) and published deep learning models, i.e. Gated dual attention unit (GDAU) <sup>20</sup>, On-LSTM <sup>21</sup>, Coctail LSTM (CLSTM) <sup>24</sup>, for RUL prediction on the four gear data sets. To compare the prediction accuracy and robustness of each method, grid search is used to obtain the optimal hyper-parameters for each model, and then all tuned networks are tested 10 times on each gear data set. The prediction task is set as predicting 60 HI points (1-h RUL) for the comparative experiment, comparing the prediction capabilities of the benchmark models. Based on the experimental prediction results, MAE, NRMSE, MAPE and Score are used to quantitatively evaluate the prediction accuracy, as shown in Fig. 11. As illustrated in Fig. 11, the superiority of the proposed AGMLSTM model over other counterparts is evident, showcasing exceptional performance in predicting RUL. This observation underscores the significant impact of incorporating comprehensive ordered information, especially when employing attention mechanisms at the hidden layer level. The strategic utilization of attention mechanisms facilitates the network models in effectively navigating data heterogeneity, leading to a remarkable enhancement in RUL estimation accuracy. Based on the actual gear tests, the outperformance of the prosed RUL prediction method is proven by MAE, NRMSE, MAPE, and Score, with improvement of 33%, 40%, 17%, and 8% respectively compared with the state-of-art. Consequently, the proposed models emerge as highly apt for the precise prediction of gear remaining useful life, attributing their success to the adept utilization of ordered information and attention-guided learning mechanisms. AGMLSTM and CLSTM refine the mixed hierarchy through fine-grained processing based on the introduced main and auxiliary gating mechanisms. The distinction lies in the fact that AGMLSTM employs an attention mechanism for hierarchical localization. Consequently, while AGMLSTM and CLSTM achieve better RUL prediction accuracy compared to ON-LSTM and GDAU, they come with an increased parameter count. With the 20 15 10 5 0 GDAU On-LSTM CLSTM AGMLSTM (a) 0.35 0.30 0.25 0.20 0.15 0.10 0.05 0.00 GDAU On-LSTM CLSTM AGMLSTM (c) 1.2 1.0 0.8 0.6 0.4 0.2 0.0 GDAU On-LSTM CLSTM AGMLSTM (b) 0.6 0.5 0.4 0.3 0.2 0.1 0.0 GDAU On-LSTM CLSTM AGMLSTM (d) Figure 11. The gear RUL estimation performance of different methods. <u>On-LSTM</u> <u>GDAU</u> <u>CLSTM</u> <u>AGMLSTM</u> <u>Train time in each epoch(s)</u> <u>0.12</u> <u>0.15</u> <u>0.17</u> <u>0.18</u> Table 3. The complexity analysis of models. same number of hidden layer neurons Ln, AGMLSTM increases the parameter count compared to 8 × Ln ONLSTM and 16 × Ln GDAU, and is approximately equivalent to CLSTM. To provide a more intuitive representation of the network’s computational complexity, we calculated the time required for each iteration during the training process on the same computer device, as shown in Table 3. From Table 3, it is evident that AGMLSTM and CLSTM incur a higher time cost than On-LSTM. This is attributed to the different hierarchical learning mechanisms these models employ for input processing, with additional gating units introducing more network parameters. The GDAU, which incorporates dual attention gates, exhibits a similar phenomenon. Additionally, it is crucial to note that the training phase is offline, and during the online prediction phase, the trained AGMLSTM incurs a prediction time of only 7.8 × ­10 <sup>–5</sup> s. Hence, the prediction time overhead of AGMLSTM is deemed acceptable considering its superior long-term RUL prediction accuracy. Based on the above analysis, the rational and comprehensive use of ordered information is crucial for enhancing the accuracy of gear RUL prediction, especially in cases where known samples contain less gear degradation information. Therefore, the proposed method AGMLSTM, guided by an attention mechanism for multi-hierarchy partitioning, effectively extracts more gear state degradation information, resulting in superior overall RUL prediction performance compared to other methods. Illustrating the robustness of our proposed small-sample intelligent prediction method, we employ data set 3 as a paradigmatic case study, harnessing the AGMLSTM model for an insightful exploration of RUL prediction across diverse forecast horizons. The delineation of the training set, consisting of known data from the initial segment, and the validation set, featuring unknown data from the subsequent portion, lays the groundwork for a comprehensive evaluation. Intriguingly, the AGMLSTM model’s prowess is vividly showcased through an in-depth analysis of its predictive capabilities on data set 1, where the focus is squarely on anticipating 90, 70, and 50 HIs. As delineated in Figs. 12, 13 and 14, a compelling narrative unfolds, elucidating a direct correlation between the increasing number of known HIs and the model’s augmentation in prediction proficiency. The figures distinctly reveal a convergence of estimated health indicator points towards their true counterparts, affirming the method’s precision and efficacy. Crucially, the overarching alignment between prediction values and actual values across a spectrum of forecast instances underscores the AGMLSTM model’s unparalleled effectiveness in gear RUL prediction. This nuanced ability to predict with heightened precision as our understanding of health indicators expands substantiates the model’s robustness and underscores its potential for real-world applications. Figure 12. Prediction illustration for 30 predicted points of data 3. Figure 13. Prediction illustration for 60 predicted points of data 3. Figure 14. Prediction illustration for 90 predicted points of data 3. 22 20 18 16 14 12 10 8 6 4 30 40 50 60 70 80 90 Number of predicted HIs Figure 15. MAEs of RUL prediction results under different known HI points. In Fig. 15, the prowess of AGMLSTM in predicting RUL at varying known health indicator points is rigorously assessed using the MAE. A compelling trend unfolds, revealing a noteworthy inverse correlation: the MAE values exhibit a consistent decline as the number of health indicator points rises. This observation underscores the model’s heightened proficiency with an expanding set of health indicators. Examining specific instances, for a prediction involving 30 health indicator points, the RUL prediction boasts a mere 5% percentage error. Intriguingly, with an escalation to 60 health indicator points, the percentage error marginally increases to 8%. The augmentation of known HIs entails the incorporation of expanding HIs encompassing fault information into the model training process. This influx of HIs allows the model to assimilate a broader spectrum of fault trends, leading to a progressive enhancement in its predictive capabilities. These outcomes signify AGMLSTM’s commendable performance in protracted RUL prediction, showcasing its capacity for sustained accuracy. To further underscore the model’s prowess in long-term RUL estimation, a bold attempt is made to predict 90 health indicator points, as illustrated in Fig. 14 Despite a 25% error in the computed result, this endeavor unequivocally establishes AGMLSTM’s formidable predictive aptitude for enduring gear RUL scenarios. Conclusion Revolutionizing gear RUL prediction, our groundbreaking approach introduces a novel methodology by constructing HIs through a diffusion model, coupled with the innovative AGMLSTM predictor. Leveraging the temporal and frequency characteristics of vibration measurements, the diffusion model lays the foundation for a distinctive gear HI. This HI, in turn, serves as the linchpin for AGMLSTM, a pioneering predictor designed to comprehensively and judiciously mine ordered information for precise gear RUL forecasts. The strategic incorporation of rich ordered information significantly amplifies the feature extraction capabilities of our predictor, leading to a substantial enhancement in RUL prediction accuracy. Validation through rigorous real-world gear tests unequivocally demonstrates the superior performance of our proposed RUL prediction method. Employing widely accepted evaluation metrics, our approach realizes 8 on MAE, 0.3 on NRMSE, 0.1 on MAPE, and 0.52 on Score, showcasing an impressive improvement of 33%, 40%, 17%, and 8% respectively, compared to state-of-theart methods. In essence, our proposed approach emerges as the pinnacle of gear RUL prediction methodologies, providing not only heightened accuracy but also unparalleled effectiveness in real-world scenarios. The proposed methodology in this study primarily addresses the RUL under conditions of single-tooth breakage or pitting failure. However, in practical engineering applications, failures frequently involve the coupling of multiple faults. Therefore, the development of a methodology for predicting the RUL in cases of complex gearbox failure is of significant importance. This aspect will be a key focus of our future research endeavors. Data availability The datasets used and/or analyzed during the current study available from the corresponding author on reasonable request. Received: 26 July 2023; Accepted: 15 January 2024 References 1. Cheng, F., Qu, L. & Qiao, W. Fault prognosis and remaining useful life prediction of wind turbine gearboxes using current signal analysis. _IEEE Trans. Sustain. Energy_ 9, 157–167 (2017). 2. Zhang, H., Chen, X., Chen, W. & Shen, Z. Collaborative sparse classification for aero-engine’s gear hub crack diagnosis. _Mech. Syst._ _Signal Process_ 141, 106426 (2020). 3. Ren, L., Cui, J., Sun, Y. & Cheng, X. Multi-bearing remaining useful life collaborative prediction: A deep learning approach. _J._ _Manuf. Syst._ 43, 248–256 (2017). 4. Yang, B., Liu, R. & Zio, E. Remaining useful life prediction based on a double-convolutional neural network architecture. _IEEE_ _Trans. Ind. Electron._ 66, 9521–9530 (2019). 5. Cheng, C. _et al._ A deep learning-based remaining useful life prediction approach for bearings. _IEEE ASME Trans. Mech._ 25, 1243–1254 (2020). 6. Wei, J., Dong, G. & Chen, Z. Remaining useful life prediction and state of health diagnosis for lithium-ion batteries using particle filter and support vector regression. _IEEE Trans. Ind. Electron._ 65, 5634–5643 (2017). 7. Cui, L., Wang, X., Wang, H. & Ma, J. Research on remaining useful life prediction of rolling element bearings based on time-varying Kalman filter. _IEEE Trans. Instrum. Meas._ 69, 2858–2867 (2019). 8. Ahmad, W., Khan, S. A. & Kim, J.-M. A hybrid prognostics technique for rolling element bearings using adaptive predictive models. _IEEE Trans. Ind. Electron._ 65, 1577–1584 (2017). 9. Song, Y., Liu, D., Yang, C. & Peng, Y. Data-driven hybrid remaining useful life estimation approach for spacecraft lithium-ion battery. _Microelectron. Reliab._ 75, 142–153 (2017). 10. Huang, Y., Tang, B., Deng, L. & Zhao, C. Fuzzy analytic hierarchy process-based balanced topology control of wireless sensor networks for machine vibration monitoring. _IEEE Sens. J._ 20, 8256–8264 (2020). 11. Qin, Y. A new family of model-based impulsive wavelets and their sparse representation for rolling bearing fault diagnosis. _IEEE_ _Trans. Ind. Electron._ 65, 2716–2726 (2017). 12. Zhao, R. _et al._ Deep learning and its applications to machine health monitoring. _Mech. Syst. Signal Process_ 115, 213–237 (2019). 13. Graves, A. & Graves, A. Long short-term memory. In _Supervised Sequence Labelling with Recurrent Neural Networks_ . 37–45 (2012). 14. Huang, C.-G., Huang, H.-Z. & Li, Y.-F. A bidirectional LSTM prognostics method under multiple operational conditions. _IEEE_ _Trans. Ind. Electron._ 66, 8792–8802 (2019). 15. Wu, J. _et al._ Data-driven remaining useful life prediction via multiple sensor signals and deep long short-term memory neural network. _ISA Trans._ 97, 241–250 (2020). 16. Yuan, M., Wu, Y. & Lin, L. _2016 IEEE International Conference on Aircraft Utility Systems (AUS)._ 135–140 (IEEE, 2016). 17. Wang, C., Lu, N., Cheng, Y. & Jiang, B. A data-driven aero-engine degradation prognostic strategy. _IEEE Trans. Cybern._ 51, 1531–1541 (2019). 18. Miao, H., Li, B., Sun, C. & Liu, J. Joint learning of degradation assessment and RUL prediction for aeroengines via dual-task deep LSTM networks. _IEEE Trans. Indus. Inform._ 15, 5023–5032 (2019). 19. Chen, Z. _et al._ Machine remaining useful life prediction via an attention-based deep learning approach. _IEEE Trans. Ind. Electron._ 68, 2521–2531 (2020). 20. Qin, Y., Chen, D., Xiang, S. & Zhu, C. Gated dual attention unit neural networks for remaining useful life prediction of rolling bearings. _IEEE Trans. Indus. Inform._ 17, 6438–6447 (2020). 21. Shen, Y., Tan, S., Sordoni, A. & Courville, A. Ordered neurons: Integrating tree structures into recurrent neural networks. arXiv [preprint arXiv:​1810.​09536 (2018).](http://arxiv.org/abs/1810.09536) 22. Yan, H., Qin, Y., Xiang, S., Wang, Y. & Chen, H. Long-term gear life prediction based on ordered neurons LSTM neural networks. _Measurement_ 165, 108205 (2020). 23. Xiang, S., Qin, Y., Zhu, C., Wang, Y. & Chen, H. LSTM networks based on attention ordered neurons for gear remaining life prediction. _ISA Trans._ 106, 343–354 (2020). 24. Xiang, S., Zhou, J., Luo, J., Liu, F. & Qin, Y. Cocktail LSTM and its application into machine remaining useful life prediction. _IEEE_ _ASME Trans. Mech._ 2, 23 (2023). 25. Croitoru, F.-A., Hondru, V., Ionescu, R. T. & Shah, M. Diffusion models in vision: A survey. _IEEE Trans. Pattern Anal. Mach. Intell._ 99, 1–20 (2023). 26. Guo, L., Li, N., Jia, F., Lei, Y. & Lin, J. A recurrent neural network based health indicator for remaining useful life prediction of bearings. _Neurocomputing_ 240, 98–109 (2017). 27. Pan, Y., Wu, T., Jing, Y., Han, Z. & Lei, Y. Remaining useful life prediction of lubrication oil by integrating multi-source knowledge and multi-indicator data. _Mech. Syst. Signal Process_ 191, 110174 (2023). 28. Li, X. _et al._ Feature fusion model based health indicator construction and self-constraint state-space estimator for remaining useful life prediction of bearings in wind turbines. _Reliab. Eng. Syst. Saf._ 233, 109124 (2023). 29. Peng, Z., Huang, X., Tang, D. & Quan, Q. Health indicator construction based on multisensors for intelligent remaining useful life prediction: A reinforcement learning approach. _IEEE Trans. Instrum. Meas._ 72, 1–13 (2023). 30. Lei, Y. _et al._ Machinery health prognostics: A systematic review from data acquisition to RUL prediction. _Mech. Syst. Signal Process_ 104, 799–834 (2018). 31. Postalcıoğlu, S. Performance analysis of different optimizers for deep learning-based image recognition. _Int. J. Pattern Recognit._ _Artif. Intell._ 34 (2), 2051003 (2020). 32. Elshamy, R., Abu-Elnasr, O., Elhoseny, M. & Elmougy, S. Improving the efficiency of RMSProp optimizer by utilizing Nestrove in deep learning. _Sci. Rep._ 13 (1), 8814 (2023). 33. Hu, C.-H. _et al._ A prognostic model based on DBN and diffusion process for degrading bearing. _IEEE Trans. Indus. Electron._ 67 (10), 8767–8777 (2019). Acknowledgements This paper was supported by Chongqing Technical Innovation and Application Development Special General Project (cstc2019jscx-msxmX0168, cstc2019jscx-msxmX0312, cstc2019jscx-msxmX0008, cstc2020jscxmsxmX0119), and partially supported by school level research projects (120777), supported by the experimental conditions of Chongqing University of Posts and Telecommunications and Chongqing University. Author contributions X.C. wrote the main manuscript text. Competing interests The author declares no competing interests. Additional information Correspondence and requests for materials should be addressed to X.C. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from [the copyright holder. To view a copy of this licence, visit http://​creat​iveco​mmons.​org/​licen​ses/​by/4.​0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2024

섹션 본문 76문단 · 35,215자

(제목 없음)

1Gears, as indispensable components of machinery, demand accurate prediction of their RemainingUseful Life (RUL).To enhance the utilization of ordered information within time series data and elevate RUL prediction precision, this study introduces the attention-guided multi-hierarchy LSTM (AGMLSTM).This innovative approach leverages attention mechanisms to capture the intricate interplay between high and low hierarchical features of the input data, marking the first application of such a technique in gear RUL prediction.Additionally, a refined health indicator (HI) is introduced, constructed through a diffusion model, to precisely reflect the gears' health condition.The proposed RUL prediction method unfolds as follows: firstly, HIs are computed from gear vibration data.Subsequently, leveraging the known HIs, AGMLSTM predicts future HIs, and the RUL of the gear is determined upon surpassing the failure threshold.Quantitative analysis of experimental results conclusively demonstrates the superiority of the proposed RUL prediction method over existing approaches for gear RUL estimation.Recently, with the rapid development of Industry 4.0, engineering equipment has become increasingly complex and intelligent.In practice, the reliability and stability of equipment operation is an important prerequisite for completing the preset tasks, therefore extremely rigorous requirements are put forward.Given that the gear is the critical and costly drivetrain component in wind turbines and aero-engines, whose failure makes downtime, operations, and maintenance (OM) costs, and, to some extent, casualties 1,2 .Thus researchers pay more attention to the approaches to remaining useful life (RUL) prediction[3][4][5].RUL refers to the expected continuous normal working time of the gear from the present to the occurrence of potential failures 5 .The RUL prediction, as an important role in prognostics and health management (PHM), enables the predicted OM decision assistance, which helps ensure equipment stability and avoid damage.After continuous exploration and verification, the prediction of RUL has yielded significant theoretical research results in the academic world and holds vast potential for application in the industrial sector.RUL prediction approaches are broadly categorized into three classes: method-based 6,7 , data-driven3,4, and hybrid 8,9 .These methods exhibit distinct characteristics, but with the rapid advancement of technologies like artificial intelligence 5 , sensor technology 10 , and signal processing technology 11 , the data-driven approach has emerged as the mainstream method for RUL prediction, particularly in complex engineering equipment.Besides data-driven method is more convenient than the model-based method and hybrid method which require a certain expert knowledge of failure mechanism.These characteristics enable data-driven methods suitable for RUL prediction and become a research hot.Deep learning (DL), being the most popular method in the data-driven approach, has shown remarkable success in machine PHM12.Recently, numerous RUL prediction methods based on DL have been proposed by scholars.Ren et al. 3 introduced a simple DL method for machine RUL prediction, incorporating features in the time domain and frequency domain into a fully connection NN.Meanwhile, Yang et al. 4 developed a novel DL method with the first convolution neural network (CNN) as the detector of the initial failure point of rotating machinery, and the second CNN as the RUL predictor.Cheng et al. 5 first designed the CNN to construct the

21.One is that the prediction method can not mine ordered information of HIs fully and reasonably, which can decrease the feature extraction ability of models and impact the RUL prediction accuracy.2. Another is that there is rare work on the construction of HI with clear degradation trends and stable failure theories.

3Facing the challenge, the article proposed a novel attention-guided multi-hierarchy LSTM (AGMLSTM) model.AGMLSTM not only can mine the feature of mixed hierarchy but also has the ability which is guided by the attention mechanism reasonably.Thus AGMLSTM is more suitable for gear RUL prediction.Besides, a suitable health index (HI) is beneficial for RUL prediction accuracy.In the paper, a novel HI which is smooth and has a clear trend constructed by the diffusion model is presented.Finally, based on the known HIs, the AGMLSTM is used to predict the future HIs step by step until it exceeds the preset failure value, and the RUL of gear is finally obtained.The outperformance of the presented RUL approach is illustrated by the quantitative evaluation of various indexes during the experiments.Particularly noteworthy is the remarkable achievement of 92% RUL prediction accuracy in the challenging task of predicting gear RUL within one hour, signifying the practical significance of our approach in online RUL prediction.

4The main contributions in the article are as follows:

51.The adoption of the diffusion model represents a pioneering approach to constructing the HIs for gears, effectively mitigating fluctuations.Gear HI curves exhibit declining trends, and their failure thresholds are similar.2. AGMLSTM is proposed for gear RUL prediction.This method demonstrates enhanced capability in extracting ordered information, improving feature extraction, and boosting RUL estimation.3. Building on the diffusion model and AGMLSTM, the study proposes a novel prediction method, validated through comprehensive assessments of full-life vibration data for gears."

6The remainder of the article is arranged as follows."Theoretical basis" not only introduces the concept of diffusion model but also introduces LSTM.The details of the proposed methods are described in "The proposed methodology".The experiments with results analysis are given in "Experimental analysis".Last, in "Conclusion", the conclusion is summarized.

Theoretical basis Diffusion model

7Diffusion model 25 is a novel advanced deep generative model.It gradually transforms data into noise and then learns the de-noising process to generate new samples in both forward and backward directions.Thus The learned de-noising module of diffusion model is adopted to construct gear HIs. Figure 1 illustrates the intuition behind the Diffusion model.

8In this study, the de-noising diffusion probabilistic model is employed, which operates through the utilization of two Markov chains.Diffusion Model adopts a progressive nosing and de-noising approach.In the forward process, Gaussian noise is gradually added to the original data layer by layer until it transforms into a simple prior Gaussian distribution.In the reverse process, the noise is gradually eliminated by the deep neural network.The fixed approximate posterior q(x 1:N |x 0 ) in the forward stage is calculated in Eqs. ( 1) and (2), where β n ∈ (0, 1) , N and I are the added Gaussian noise, sample number, and identity matrix.While at the reverse process, a learnable Gaussian transition which is beginning at p(x n ) , with another Markov chain constructs the joint distribution p θ (x n−1 |x n ) , as calculated in Eqs. ( 3) and ( 4), where mean µ θ and variance δ θ are obtained from a deep NN.

9The objective of the reverse Markov chain, i.e., computing p θ (x n−1 |x n ) , is to remove the Gaussian noise intro- duced during the forward process.The de-nosing object is p θ (x n−1 |x n ) for the reverse Markov chain.Supposed that x 0 is sampled from the noise p(x n ) , repeating the process from p θ (x n−1 |x n ) until n = 1.

10For accurate sampling, make the trained reverse Markov chain p θ (x n−1 |x n ) close to the posterior distribution q(x n−1 |x n , x 0 ) of the forward process given x 0 .And Kullback-Leibler (KL) divergence is chosen as the similarity evaluation metric, whose equations are defined as bellows, In the equation, C is a constant that is independent of θ and μn represents the average value of q(x n−1 |x n , x 0 ) .And the simplified objection is calculated in Eq. ( 6) by adding the noise NN ε θ with parameters θ, where (n) is the function of positive weight.

Long short term memory

11LSTM 13 is proposed for releasing the limitation by the nonlinear procession of the data based on the gate mechanism as sown in Fig. 2. The mathematical expression of LSTM is as follows:

12(1) In Eqs.(7-12), the input weight matrixes w ix (w fx , w ox , w cx ) and the recurrent weight matrixes w ih (w fh , w oh , w ch ) are defined by the nonlinear transformation of x t and h t−1 based on forget (input, output) gate, which decides the forget (input, output) degree of data in the hidden layer; b i (b f , b o and b c ) are the bias of the hidden layer.ct and c t are the internal state and memory state of the cell;⊙ denotes the pointwise multiplication.σ(tanh ) is the sigmoid (tanh) activation function.

Attention-guided multi-hierarchy LSTM

13ON-LSTM is first proposed in the NLP field to address the hierarchical structure problem, i.e. "characters, words, and phrases" has a different hierarchy and should be learned in different ways.However, for the vibration signal of mechanical equipment, the hierarchy of order information is difficult to give physical meaning.During the training process, ON-LSTM achieves automatic hierarchy by only providing feedback through the error between predicted and actual results, lacking effective guidance and clear physical interpretation in the hierarchical process.Moreover, the ordered information extracted by ON-LSTM exhibits mixed regions, and the features missed in mixed regions may impact the feature extraction capability.Therefore, this study proposes a new attention-guided multi-hierarchy Long Short-Term Memory (AGMLSTM) neural network that further partitions the mixed hierarchies using the attention mechanism, thereby forming an attention-guided multihierarchy information structure.The similarity between the elements of input vectors and recurrent vectors with attention labels determines the segmentation point between input hierarchies and historical hierarchies, which is the index of the most similar element with attention labels.This means that attention is to guide the hierarchical segmentation and give physical meaning to the hierarchy of ordered information of vibration data.Simultaneously, the multi-hierarchy partitioning enables neural networks to fully utilize ordered information.Information that is easily retained over a long period is assigned a high attention hierarchy, while information that is easily replaceable is assigned a low attention hierarchy.and high intermediate) will be zero when the high and low attention hierarchy information has no interaction.In this case, the information in the zone will not participate in the neural network's update process.

14Let x t = x t,1 x t,2 . . .x t,n T and h t−1 = h t−1,1 h t−1,2 . . .h t -1,m T denote the input HIs at time step t and the recurrent data at time step t − 1 , respectively.Compared to other networks, the main difference of AGML- STM lies in the hierarchical information partitioning during the cell unit update process, as illustrated in Fig. 3.The proposed AGMLSTM utilizes attention-guided multi-hierarchy partitioning influenced by attention labels.By calculating the similarity between input data, recurrent data, and the attention label, the maximum attention coefficient element is identified as the hierarchy segmentation point, so that the model identifies the hierarchy from the largest element to the element that is most similar to the label.Thus, the designed hierarchical structure can be combined with RNN through the attention hierarchies of information.By employing the designed update rules, information with a lower attention hierarchy is more prone to forgetting, while information with a higher attention hierarchy is preserved for a longer duration.

15Due to the construction of multi-hierarchy information, let's assume that the main and auxiliary hierarchical positions of the input information x t are denoted as d 1 t,i and d 2 t,i , respectively, while the main and auxiliary hierarchical positions of the historical information h t−1 are denoted as d 1 t,f and d 2 t,f .These positions are generated using the following construction functions: F 1 , F 2 , F 3 , and F 4 , guided by the query vector q m .The auxiliary hierarchical positions are used to refine the interval of hierarchical mixing.

16The memory cell state vector is updated according to certain rules based on the attention hierarchy of input information and recurrent information.

17, the main hierarchy of the input information x t is higher than the main hierarchy of the histori- cal information h t−1 , resulting in an intermediate attention hierarchy.AGMLSTM is capable of further refining the intermediate attention hierarchy and dividing it into sub-hierarchies: low intermediate attention hierarchy, intermediate attention hierarchy, and high intermediate attention hierarchy, shown in Fig. 4. Therefore, when the hierarchical relationship simultaneously satisfies d 2 t,f ≤ d 2 t,i , the auxiliary hierarchy of the input information x t is also higher than the auxiliary hierarchy of the historical information h t−1 .There is an interactive space between d 2 t,f and d 2 t,i .The cell unit update rules are as follows: within the cell unit interval 0, d 1 t,f , the candidate memory cell state vector c t is directly input into the corresponding memory cell, while within the cell unit interval d 1 t,i , d max , the memory cell state vector c t−1 from the previous time step is directly input into the corresponding memory cell.As for the overlapping region d 1 t,f , d 1 t,i , further refinement updates are performed based on the auxiliary hierarchical positions of the input and historical information.For the overlapping region where 1−s 1 is the scale of short-term information in the cellular memory at the case.

18For the overlapping region d 2 t,f , d 2 t,i , the update rule of c t is defined as follows:

19For the overlapping region d 2 t,i , d 1 t,i ,c t is updated by, where 1−s 2 represents the long-term data ratio.Therefore, under this hierarchy distribution c t is presented bellows, When the hierarchical relationship simultaneously satisfies d 2 t,f ≥ d 2 t,i , and the auxiliary hierarchical level of the input information x t is lower than the auxiliary hierarchical level of the historical information h t−1 , there is no interactive space between d 2 t,f and d 2 t,i ,, shown in Fig. 5.In this case, the update mechanisms within the index ranges d 1 t,i , d max and 0,d 1 t,f remain consistent with the first case.However, within the index range d 1 t,f , d 2 t,i , the update of c t is as follows: where 1−s 1 is the short-term information ratio.For elements in the range www.nature.com/scientificreports/where 1−s 2 denotes the long-term information ratio.In summary, c t at the hierarchy is updated by the below rules,

20, the main hierarchical level of the input information x t is higher than the main hierarchical level of the historical information h t−1 , indicating that the attention focus on the input data than the recurrent data, there are no overlapping cell unit regions.Therefore, c t within the intermediate attention level, there is no need for the mixing of short-term and mid-term memory f t ⊙ c t−1 + i t ⊙ c t to update.Within the cell unit interval d t,i , d t,f , the current time step's cell activation vector is set to zero.c t is the direct input within the cell unit interval 0,d t,i , and for c t−1 is the interval d t,f , d max .At the situation, c t is updated by Eq. ( 24) with its hierarchical partition shown in Fig. 6.

21The construction functions F 1 , F 2 , F 3 and F 4 are derived as follows.We first normalize the input data x t and historical data h t−1 using softmax function, introducing four m-dimensional vectors f

22where w f and w i represent the weight matrices of the softmax layers for historical data and input data, respectively, while b f and b i represent the thresholds of the softmax layers for historical data and input data.

23Next, the attention coefficients α 1 t,i , α 2 t,i , 1 t,i and 2 t,i for the input data, and recurrent data are calculated using Eqs.(29-32), respectively: During the training process, the query vector q t,m at this time step t is set as x t+1,n , while during the inference process, it is set as x t,n .

24The four scoring functions s i

25m and s f 2 t,f , q t,m are defined as follows:

26The maximum positions of the attention coefficients d 1 t,i d 2 t,i are set as the main and auxiliary hierarchical positions of the input information x t ; and the maximum positions of the attention coefficients d 1 t,f and d 2 t,f are set as the main and auxiliary hierarchical positions of the historical information h t−1 , respectively:

27where index() denotes as the element position extraction function.

28To achieve the automatic hierarchical update as described above, the cumulative sum function cumsum() is used to compute the cumulative sums of the attention coefficients, resulting in the main and auxiliary input gates Then, the attention hierarchy structure is partitioned using the following equations:

29(30) Finally, with the above equations, the propagation equation of AGMLSTM can be written as follows:

30where other parameters are the same as LSTM.

RUL prediction approach

31A health indicator (HI) that can accurately show the degradation process of gears is crucial to the performance of the prediction model.Therefore, the HI of the vibration signal obtained by the trained diffusion model is used in the article for gear RUL prediction, whose superiority has been demonstrated.Considering that most DL approaches for gear RUL prediction are pattern recognition methods, which are influenced by the quantity and quality of data, an RUL prediction approach under limited samples 20 is used in the article, whose flowchart is shown in Fig. 7 and the details are presented as follows:

321.The HI data z = z 1 z 2 . . .z n−1 z n is calculated based on the full-lifecycle vibration data by the sam- pling approach whose sampling time is T and sample interval is t.

332. Then the first part z ′ z 1 z 2 . . .z m−1 z m of z is chosen and linearly normalized to obtain

34T and output G l+1 , is reconstructed by: where the value of l is equal to the neural numbers of the input layer and G i is denoted by: 4. The training loss L of the proposed model is denoted as the mean square error (MSE) between the last row G l+1 and the predicted Ĝl+1 based on the first l rows of the matrix G.

35(45) where f denotes the model transaction function; w, b, and s separately denote the learning matrix.5.After the trained proposed method is obtained, the last l is set as the model input to estimate the HI in the next point.Then the step-by-step prediction is executed by: 6.At last, once the failure threshold is lower than the inversely normalized predicted HIs, the estimated RUL Rul is finally obtained by Eq. (57):

36where n 1 is the number of predicted HI points before exceeding the threshold.And the actual RUL shows the effectiveness of the proposed method.

Model optimization

37The configuration exploration of the predictive model is executed based on grid search.The hyper-parameters, namely, candidates of learning rate α and neuron number in each layer, are constructed as each grid note, which is searched for optimal predictive performance parameters.

38The weight matrix w , the bias matrix b , and the proportion matrix s of the model are trained during the training stage based on the loss function Eq. (55) and updated on Eq. (58) by Adam optimizer.

39(56)

Experimental analysis

40Several fatigue full-life experiments are executed by a gear contact fatigue test rig to investigate the lifespan of gears from normal conditions to failure (tooth broken and pitting).The material of the gear for the tooth fracture case was 40Cr, while the gear material for the pitting case was 20CrMnTi.The gear module was set to 5, and the experimental gear case had an oil flow rate of 4 L/h with a cooling temperature of 70 °C.The gears that experienced tooth-broken failures (Dataset 1 and Dataset 2) had tooth counts of 31, 25, 25, and 31, respectively.On the other hand, the gears that suffered from pitting failures (Dataset 3 and Dataset 4) had tooth counts of 26, 24, 24, and 26, as shown in Table 1.

41As depicted in Fig. 8, the experimental setup comprises a torque controller, a cooling and lubrication controller, an experimental operation platform, and a gear operation platform.The sampling frequency for the experimental setup is fixed at 50,000 Hz.To minimize data volume, this study sets the recording interval, and the sampling length are 60 s and 10 s.And Part of the healthy state data at the beginning of the run is deleted.Data sets 1 and 3 are used to train the Diffusion model for calculating gear HIs.Then, the trained Diffusion model is used to encode the health indicator points of data sets 2 and 4. To test the prediction ability of the predictive model, this study conducts experiments using the health indicator points from all data sets.Through grid search, optimal hyper-parameters for the AGMLSTM are obtained.For data sets 1, 3, and 4, the number of neurons in the input, hidden, and output layers of AGMLSTM are set to 100, 35, and 1.For data set 2, they are set to 60, 20, and 1.The learning rates for the models on data sets 1, 2, 3, and 4 are set to 0.02, 0.03, 0.05, and 0.05.

42Appropriate health indicators can effectively reflect the health condition of mechanical equipment and improve the RUL prediction capability [26][27][28][29][30] .Due to the limitations of single features such as root mean square, kurtosis, and frequency centroid, they may not adequately capture the degradation trend of mechanical equipment in most data sets.Therefore, this study develops a health indicator based on diffusion model that can be used in most cases.Since the signals collected during the steady-state phase contain less degradation information, www.nature.com/scientificreports/only a portion of the samples from the lifecycle data set is used to calculate the health indicator points using diffusion model and then applied to remaining useful life prediction.Figure 9 displays the obtained health indicator points for all four gear data sets.The constructed health indicator point curves can effectively reflect the degradation trend of gear health, which is highly beneficial for RUL prediction.All gear health indicator curves exhibit a declining trend, and their failure thresholds are similar.This aids in setting a unified failure threshold for different experimental setups, thereby enhancing the robustness of gear RUL prediction.

43The study undertook comparative experiments employing distinct optimization algorithms to underscore the superior performance of the chosen optimizer.Specifically, SGDM 31 , RMSprop 32 , and Adam were deliberately selected for comparison within a consistent structural framework, and subsequent optimization was applied across all models.The evaluation process involved ten parallel experiments for each model, focusing on a onehour prediction task.Model performance was rigorously assessed using key performance indicators, namely the mean absolute error (MAE), the normalized root mean square error (NRMSE), the mean absolute percentage error (MAPE), and Score 23 , as presented in Fig. 10.

44It can be concluded that the model adopted by Adam has the lowest values of MAE, NRMSE, and MAPE, and the highest Score value.This means that with the Adam optimizer, the proposed method has better RUL prediction performance.Thus, Adam is more suitable for the proposed method when it deals with gear RUL prediction.

45The evaluation indicators of different HIs for different gear datasets are respectively calculated and the mean value of evaluation indicators are listed in Table 2. First the two widely used statistical features such as RMSE and Kurtosis in PHM 20 are chosen as HIs.Then HI based on popularity learning is constructed, i.e.PCA.Finally, 33 , and variational autoencoder (VAE) 24 .

46In Table 2, a comprehensive analysis of the evaluation indicators for HIs reveals that those generated by the diffusion model consistently outperform other HIs across gear datasets.Notably, the values of monotonicity and the comprehensive indicator for the diffusion model-reconstructed HI stand out, reaching impressive scores of 0.955 and 0.921, respectively.This signifies that the HI constructed through the diffusion model adeptly captures and reflects the degradation trend in gear datasets.The comparison across different HIs reveals that those generated by DBN, VAE, and the diffusion model surpass those based on PCA, RMSE, and Kurtosis.This suggests that HIs constructed by neural networks exhibit greater flexibility when dealing with HIs under fixed patterns, although they may not be ideal for reflecting the degradation trend in gear datasets.Besides, the diffusion model stands out by delivering strong performance evaluation results.This highlights its superior generalization ability, indicating that the HIs produced by the diffusion model are well-suited for assessing health status in gear datasets.Consequently, the HIs constructed by the diffusion model effectively and reliably capture the degradation trend in gear systems.

47Using the small-sample life prediction method, the proposed AGMLSTM is compared with classical models (LSTM, GRU) and published deep learning models, i.e.Gated dual attention unit (GDAU) 20 , On-LSTM 21 , Coctail LSTM (CLSTM) 24 , for RUL prediction on the four gear data sets.To compare the prediction accuracy and robustness of each method, grid search is used to obtain the optimal hyper-parameters for each model, and then all tuned networks are tested 10 times on each gear data set.The prediction task is set as predicting 60 HI points (1-h RUL) for the comparative experiment, comparing the prediction capabilities of the benchmark models.Based on the experimental prediction results, MAE, NRMSE, MAPE and Score are used to quantitatively evaluate the prediction accuracy, as shown in Fig. 11.

48As illustrated in Fig. 11, the superiority of the proposed AGMLSTM model over other counterparts is evident, showcasing exceptional performance in predicting RUL.This observation underscores the significant impact of incorporating comprehensive ordered information, especially when employing attention mechanisms at the hidden layer level.The strategic utilization of attention mechanisms facilitates the network models in effectively navigating data heterogeneity, leading to a remarkable enhancement in RUL estimation accuracy.Based on the actual gear tests, the outperformance of the prosed RUL prediction method is proven by MAE, NRMSE, MAPE, and Score, with improvement of 33%, 40%, 17%, and 8% respectively compared with the state-of-art.Consequently, the proposed models emerge as highly apt for the precise prediction of gear remaining useful life, attributing their success to the adept utilization of ordered information and attention-guided learning mechanisms.

49AGMLSTM and CLSTM refine the mixed hierarchy through fine-grained processing based on the introduced main and auxiliary gating mechanisms.The distinction lies in the fact that AGMLSTM employs an attention mechanism for hierarchical localization.Consequently, while AGMLSTM and CLSTM achieve better RUL prediction accuracy compared to ON-LSTM and GDAU, they come with an increased parameter count.With the same number of hidden layer neurons L n , AGMLSTM increases the parameter count compared to 8 × L n ON- LSTM and 16 × L n GDAU, and is approximately equivalent to CLSTM.To provide a more intuitive representation of the network's computational complexity, we calculated the time required for each iteration during the training process on the same computer device, as shown in Table 3.

50From Table 3, it is evident that AGMLSTM and CLSTM incur a higher time cost than On-LSTM.This is attributed to the different hierarchical learning mechanisms these models employ for input processing, with additional gating units introducing more network parameters.The GDAU, which incorporates dual attention gates, exhibits a similar phenomenon.Additionally, it is crucial to note that the training phase is offline, and during the online prediction phase, the trained AGMLSTM incurs a prediction time of only 7.8 × 10 -5 s.Hence, the prediction time overhead of AGMLSTM is deemed acceptable considering its superior long-term RUL prediction accuracy.

51Based on the above analysis, the rational and comprehensive use of ordered information is crucial for enhancing the accuracy of gear RUL prediction, especially in cases where known samples contain less gear degradation information.Therefore, the proposed method AGMLSTM, guided by an attention mechanism for multi-hierarchy partitioning, effectively extracts more gear state degradation information, resulting in superior overall RUL prediction performance compared to other methods.

52Illustrating the robustness of our proposed small-sample intelligent prediction method, we employ data set 3 as a paradigmatic case study, harnessing the AGMLSTM model for an insightful exploration of RUL prediction across diverse forecast horizons.The delineation of the training set, consisting of known data from the initial segment, and the validation set, featuring unknown data from the subsequent portion, lays the groundwork for a comprehensive evaluation.Intriguingly, the AGMLSTM model's prowess is vividly showcased through an in-depth analysis of its predictive capabilities on data set 1, where the focus is squarely on anticipating 90, 70, and 50 HIs.As delineated in Figs. 12, 13 and 14, a compelling narrative unfolds, elucidating a direct correlation between the increasing number of known HIs and the model's augmentation in prediction proficiency.The figures distinctly reveal a convergence of estimated health indicator points towards their true counterparts, affirming the method's precision and efficacy.Crucially, the overarching alignment between prediction values and actual values across a spectrum of forecast instances underscores the AGMLSTM model's unparalleled effectiveness in gear RUL prediction.This nuanced ability to predict with heightened precision as our understanding of health indicators expands substantiates the model's robustness and underscores its potential for real-world applications.In Fig. 15, the prowess of AGMLSTM in predicting RUL at varying known health indicator points is rigorously assessed using the MAE.A compelling trend unfolds, revealing a noteworthy inverse correlation: the MAE values exhibit a consistent decline as the number of health indicator points rises.This observation underscores the model's heightened proficiency with an expanding set of health indicators.Examining specific instances, for a prediction involving 30 health indicator points, the RUL prediction boasts a mere 5% percentage error.Intriguingly, with an escalation to 60 health indicator points, the percentage error marginally increases to 8%.The augmentation of known HIs entails the incorporation of expanding HIs encompassing fault information into the model training process.This influx of HIs allows the model to assimilate a broader spectrum of fault trends, leading to a progressive enhancement in its predictive capabilities.These outcomes signify AGMLSTM's commendable performance in protracted RUL prediction, showcasing its capacity for sustained accuracy.To further underscore the model's prowess in long-term RUL estimation, a bold attempt is made to predict 90 health indicator points, as illustrated in Fig. 14 Despite a 25% error in the computed result, this endeavor unequivocally establishes AGMLSTM's formidable predictive aptitude for enduring gear RUL scenarios.

Conclusion

53Revolutionizing gear RUL prediction, our groundbreaking approach introduces a novel methodology by constructing HIs through a diffusion model, coupled with the innovative AGMLSTM predictor.Leveraging the temporal and frequency characteristics of vibration measurements, the diffusion model lays the foundation for a distinctive gear HI.This HI, in turn, serves as the linchpin for AGMLSTM, a pioneering predictor designed to comprehensively and judiciously mine ordered information for precise gear RUL forecasts.The strategic incorporation of rich ordered information significantly amplifies the feature extraction capabilities of our predictor, leading to a substantial enhancement in RUL prediction accuracy.Validation through rigorous real-world gear tests unequivocally demonstrates the superior performance of our proposed RUL prediction method.Employing widely accepted evaluation metrics, our approach realizes 8 on MAE, 0.3 on NRMSE, 0.1 on MAPE, and 0.52 on Score, showcasing an impressive improvement of 33%, 40%, 17%, and 8% respectively, compared to state-of-theart methods.In essence, our proposed approach emerges as the pinnacle of gear RUL prediction methodologies, providing not only heightened accuracy but also unparalleled effectiveness in real-world scenarios.The proposed methodology in this study primarily addresses the RUL under conditions of single-tooth breakage or pitting failure.However, in practical engineering applications, failures frequently involve the coupling of multiple faults.Therefore, the development of a methodology for predicting the RUL in cases of complex gearbox failure is of significant importance.This aspect will be a key focus of our future research endeavors.

Figure 1 .

54Figure 1.The details of diffusion model.

Figure 2 .

55Figure 2. The diagram of LSTM neuron structure.

Figure 3 .

56Figure 3.The cellular of AGMLSTM.

i 1 t and i 2 t 1 t and f 2 t

57, as well as the main and forget gates f , which can be written as follows:

2 Vol

58https://doi.org/10.1038/s41598-024-52151-y

Figure 7 .

59Figure 7.The flowchart of the proposed RUL prediction approach.

Figure 8 .

60Figure 8. Gear contact fatigue testing machine.

Figure 9 .

61Figure 9. HI of four datasets.

Figure 10 .

62Figure 10.Comparison of predictive ability under different optimizers.

Figure 11 .

63Figure 11.The gear RUL estimation performance of different methods.

Figure 12 .

64Figure 12.Prediction illustration for 30 predicted points of data 3.

Figure 13 .

65Figure 13.Prediction illustration for 60 predicted points of data 3.

Figure 14 .

66Figure 14.Prediction illustration for 90 predicted points of data 3.

Figure 15 .

67Figure 15.MAEs of RUL prediction results under different known HI points.

68The mixed information, representing the intermediate attention hierarchy, is further divided into the sub-hierarchies of low intermediate attention, intermediate attention, and high intermediate attention, which respectively represent short-term information, mid-term information, and long-term information.It should be noted that the intermediate hierarchies (low intermediate, intermediate,

691

70Figure5.The hierarchy division of AGMLSTM whend 1 t,f ≤ d 2 t,i ≤ d 2 t,f ≤ d 1 t,i.Vol.:(0123456789)Scientific Reports | (2024) 14:1795 | https://doi.org/10.1038/s41598-024-52151-y

712umsum2

72t Vol.:(0123456789) Scientific Reports | (2024) 14:1795 | https://doi.org/10.1038/s41598-024-52151-ywww.nature.com/scientificreports/

Table 1 .

73Description of data.

Table 2 .

74The evaluation indicators of different HIs for datasets.HIs are constructed by other Unsupervised networks deep belief network (DBN)

75Vol.:(0123456789) Scientific Reports | (2024) 14:1795 | https://doi.org/10.1038/s41598-024-52151-ywww.nature.com/scientificreports/

Table 3 .

76The complexity analysis of models.

참고문헌 29건

  1. Long Short-Term Memory Studies in computational intelligence · Springer Nature · 2012 10.1007/978-3-642-24797-2_4
  2. A recurrent neural network based health indicator for remaining useful life prediction of bearings Neurocomputing · Elsevier BV · 2017 10.1016/j.neucom.2017.02.045
  3. Multi-bearing remaining useful life collaborative prediction: A deep learning approach Journal of Manufacturing Systems · Elsevier BV · 2017 10.1016/j.jmsy.2017.02.013
  4. Fault Prognosis and Remaining Useful Life Prediction of Wind Turbine Gearboxes Using Current Signal Analysis IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2017 10.1109/tste.2017.2719626
  5. Data-driven hybrid remaining useful life estimation approach for spacecraft lithium-ion battery Microelectronics Reliability · Elsevier BV · 2017 10.1016/j.microrel.2017.06.045
  6. A Hybrid Prognostics Technique for Rolling Element Bearings Using Adaptive Predictive Models IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2733487
  7. A New Family of Model-Based Impulsive Wavelets and Their Sparse Representation for Rolling Bearing Fault Diagnosis IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2736510
  8. Machinery health prognostics: A systematic review from data acquisition to RUL prediction Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.11.016
  9. Remaining Useful Life Prediction and State of Health Diagnosis for Lithium-Ion Batteries Using Particle Filter and Support Vector Regression IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2782224
  10. Deep learning and its applications to machine health monitoring Mechanical Systems and Signal Processing · Elsevier BV · 2018 10.1016/j.ymssp.2018.05.050
  11. A Deep Learning-Based Remaining Useful Life Prediction Approach for Bearings IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tmech.2020.2971503
  12. A Bidirectional LSTM Prognostics Method Under Multiple Operational Conditions IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tie.2019.2891463
  13. Joint Learning of Degradation Assessment and RUL Prediction for Aeroengines via Dual-Task Deep LSTM Networks IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2900295
  14. Performance Analysis of Different Optimizers for Deep Learning-Based Image Recognition International Journal of Pattern Recognition and Artificial Intelligence · World Scientific · 2019 10.1142/s0218001420510039
  15. Remaining Useful Life Prediction Based on a Double-Convolutional Neural Network Architecture IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tie.2019.2924605
  16. Research on Remaining Useful Life Prediction of Rolling Element Bearings Based on Time-Varying Kalman Filter IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2019 10.1109/tim.2019.2924509
  17. Data-driven remaining useful life prediction via multiple sensor signals and deep long short-term memory neural network ISA Transactions · Elsevier BV · 2019 10.1016/j.isatra.2019.07.004
  18. A Data-Driven Aero-Engine Degradation Prognostic Strategy IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tcyb.2019.2938244
  19. A Prognostic Model Based on DBN and Diffusion Process for Degrading Bearing IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tie.2019.2947839
  20. Collaborative sparse classification for aero-engine’s gear hub crack diagnosis Mechanical Systems and Signal Processing · Elsevier BV · 2019 10.1016/j.ymssp.2019.106426
  21. Fuzzy Analytic Hierarchy Process-Based Balanced Topology Control of Wireless Sensor Networks for Machine Vibration Monitoring IEEE Sensors Journal · IEEE Sensors Council · 2020 10.1109/jsen.2020.2966049
  22. Machine Remaining Useful Life Prediction via an Attention-Based Deep Learning Approach IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tie.2020.2972443
  23. Gated Dual Attention Unit Neural Networks for Remaining Useful Life Prediction of Rolling Bearings IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tii.2020.2999442
  24. LSTM networks based on attention ordered neurons for gear remaining life prediction ISA Transactions · Elsevier BV · 2020 10.1016/j.isatra.2020.06.023
  25. Long-term gear life prediction based on ordered neurons LSTM neural networks Measurement · Elsevier BV · 2020 10.1016/j.measurement.2020.108205
  26. Feature fusion model based health indicator construction and self-constraint state-space estimator for remaining useful life prediction of bearings in wind turbines Reliability Engineering & System Safety · Elsevier BV · 2023 10.1016/j.ress.2023.109124
  27. Remaining useful life prediction of lubrication oil by integrating multi-source knowledge and multi-indicator data Mechanical Systems and Signal Processing · Elsevier BV · 2023 10.1016/j.ymssp.2023.110174
  28. Diffusion Models in Vision: A Survey IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2023 10.1109/tpami.2023.3261988
  29. Improving the efficiency of RMSProp optimizer by utilizing Nestrove in deep learning Scientific Reports · Nature Portfolio · 2023 10.1038/s41598-023-35663-x