A phased weibull prior guided flow matching mechanical degradation trajectory prediction method

By using a phased Weibull prior-guided flow matching method, the problems of discontinuity and uncertainty in the prediction of mechanical equipment degradation trajectories are solved, and a complete characterization and accurate prediction of the future degradation state of mechanical equipment is achieved.

CN123158115APending Publication Date: 2026-11-24BEIHANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611367095.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing methods for predicting the degradation trajectory of mechanical equipment are insufficient to fully describe how the degradation state evolves continuously over time after the censoring time, and existing methods suffer from discontinuity and uncertainty in long-term predictions.

Method used

A phased Weibull prior-guided flow matching method is adopted. By constructing a temporally structured Weibull degradation prior, the non-negativity and rate change of mechanical degradation increment are characterized. The difference between conditional velocity and reference velocity is used to correct the trajectory transmission direction, thereby realizing the prediction of degradation trajectory after the censoring time.

Benefits of technology

It can fully characterize the future degradation state evolution and prediction uncertainty of mechanical equipment under right censoring conditions, providing more complete degradation information for mechanical equipment condition assessment and predictive maintenance, and improving the accuracy and stability of prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158115A_ABST
    Figure CN123158115A_ABST
Patent Text Reader

Abstract

This invention proposes a phased Weibull prior-guided method for predicting the trajectory of mechanical degradation through flow matching. Addressing the challenge of fully observing future degradation states under right-censoring conditions, this method constructs a time-structured Weibull degradation prior to characterize the nonnegativity, sequential cumulativeity, and rate changes of mechanical degradation increments at different degradation stages. Simultaneously, it integrates historical time-series features, Weibull parameter features, and explicit degradation state features, and dynamically corrects the trajectory transmission direction using the difference between conditional velocity and reference velocity, achieving probabilistic prediction of the complete degradation trajectory after the censoring time. This method can characterize the phased evolution and predictive uncertainty of the future degradation state of mechanical equipment, providing more complete degradation information for mechanical equipment condition assessment and predictive maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of mechanical equipment condition monitoring and predictive maintenance, and in particular to a phased Weibull prior-guided flow-matching method for predicting mechanical degradation trajectories. Background Technology

[0002] As the operation and maintenance mode of modern intelligent equipment gradually shifts from functional recovery after a failure to risk identification and maintenance resource optimization before a failure occurs, the prediction of the degradation status of mechanical equipment has become an important research topic in the field of predictive and health management. Existing methods for predicting the lifespan of mechanical equipment typically use the remaining service life as the prediction target, that is, estimating the remaining operating time before reaching a preset failure threshold based on the current operating state of the equipment. However, a single lifespan estimate can only reflect the expected failure time of the equipment and cannot fully describe the evolution process of the degradation status within the future prediction range. For predictive maintenance, the changing trend of future degradation levels, the evolution rate of different degradation stages, and the uncertainty of prediction results all affect maintenance decisions.

[0003] In existing technologies for modeling and predicting the lifespan of mechanical equipment, most methods primarily employ a framework of deep feature learning, physical knowledge fusion, and stochastic degradation process modeling. For right-censored data generated when equipment has not reached complete failure in engineering practice, existing technologies also utilize data reconstruction, semi-supervised learning, domain adaptation, and censoring constraint modeling methods, leveraging the incomplete lifespan information contained in the unfailed equipment to assist model training. While these methods can improve lifespan prediction performance under incomplete degradation data conditions to some extent, their outputs still mainly focus on a single remaining lifespan value, failing to adequately describe how the degradation state continuously evolves over time after the censoring point.

[0004] Another approach treats mechanical degradation trajectory prediction as a multi-step prediction problem from historical time series to future time series, enhancing long-sequence prediction capabilities through block modeling, periodic feature extraction, and variable correlation modeling. In recent years, diffusion models and flow-matching models have been used for probabilistic time series prediction, generating multiple future trajectories to describe the uncertainty of the prediction results. Diffusion models typically use independent Gaussian noise as the source distribution and generate the prediction sequence through multiple reverse denoising steps. This not only increases the computational cost of sampling with each denoising step but also results in a significant distributional difference between the Gaussian noise and the mechanical degradation trajectory, which has continuous cumulative characteristics. When historical information is insufficient or the prediction interval is long, the generated trajectory is prone to discontinuity from the current degradation state at the prediction starting point.

[0005] Flow matching methods offer a novel approach to the probabilistic generation of mechanical degradation trajectories by constructing continuous probabilistic paths between source and target distributions and learning the velocity field that controls sample evolution. Compared to diffusion models, flow matching methods can design source distributions and transmission paths based on specific tasks, thus providing conditions for introducing degradation priors and state constraints. Therefore, developing a degradation trajectory prediction method that can construct phased source priors conforming to the cumulative law of mechanical degradation from right-censored historical observations and dynamically guide the trajectory transmission direction using multi-level degradation conditions has become a technically significant problem in the field of mechanical equipment condition monitoring and predictive maintenance. Summary of the Invention

[0006] To address the limitations of existing technologies, this invention proposes a phased Weibull prior-guided flow-matching method for predicting mechanical degradation trajectories. This method addresses the difficulty of fully observing future degradation states under right-censoring conditions. It constructs a time-structured Weibull degradation prior to characterize the nonnegativity, sequential cumulativeity, and rate changes of mechanical degradation increments at different degradation stages. Simultaneously, it integrates historical time-series features, Weibull parameter features, and explicit degradation state features, and dynamically corrects the trajectory transmission direction using the difference between conditional velocity and reference velocity, achieving probabilistic prediction of the complete degradation trajectory after the censoring time. This method can characterize the phased evolution and predictive uncertainty of the future degradation state of mechanical equipment, providing more complete degradation information for mechanical equipment condition assessment and predictive maintenance.

[0007] This invention provides a staged Weibull prior-guided method for predicting flow-matching mechanical degradation trajectories, such as... Figure 1 As shown, the specific steps include: S1. Obtain historical degradation state sequences and construct training samples. Vibration signals from the mechanical equipment during operation are collected using a condition monitoring system. The root mean square (RMS) value is extracted from the vibration signals at each monitoring time as a degradation index, forming a degradation state sequence. A sliding window is used to construct historical observation sequences and true future sequences from the complete degradation state sequence. (1) In the formula, R This represents a complete sequence of degradation states of mechanical equipment throughout its entire lifespan, arranged according to the order of monitoring times. Indicates the first t The degradation status at each monitoring point. T Indicates the length of the complete degenerate sequence. L Indicates the length of historical observation. H Indicates the predicted length of the future. and They represent the first iThe historical sequence and true future trajectory of each training sample. For the target mechanical device with right censoring, only the historical degradation state sequence before the censoring time is obtained and input into the trained trajectory prediction model.

[0008] S2. Construct a temporally structured Weibull degenerate prior.

[0009] S2-1, Divide the future forecasting stages. Considering that mechanical equipment has a time-varying degradation rate, divide the length into stages. H The future forecast range is divided into M A series of consecutive stages: (2) In the formula, W Indicates the length of each prediction stage. Indicates the first m The set of predicted locations corresponding to each prediction stage. When H Cannot be W When divisible, the final stage includes the remaining predicted positions.

[0010] S2-2, Calculate the non-negative degradation increment for each stage. Let the initial state of the future sequence be the last observed state of the historical sequence, then the... h The degradation increments at each predicted location and their distributions are represented as follows: (3) In the formula, Indicates the first term within the future prediction interval h The non-negative degradation increment of each predicted position relative to the previous predicted position. This indicates the true future degradation trajectory in the 1st... h The degradation state of each predicted location, This indicates the true future degradation trajectory in the 1st... h -1 predicted location degradation state, Indicates the use of describing the first m A random variable with a statistically distributed non-negative degradation increment within a prediction phase. , Represents historical observation sequence X The degradation state at the last observation location in the middle, As a preset positive number, and They represent the first m The Weibull shape and scale parameters for each prediction stage. The probability density function of the Weibull distribution is: (4) S2-3, Determine the Weibull parameter labels. For the first... m In each prediction phase, the sample mean and sample standard deviation are calculated based on the actual future degradation increment: (5) In the formula, Indicates the first m The sample mean of the actual degradation increment within each prediction stage is used to characterize the average degradation increment level of that prediction stage. Indicates the first m The sample standard deviation of the actual degradation increment within each prediction stage is used to characterize the dispersion of the degradation increment in that prediction stage. N This represents the incremental amount of degradation. Indicates the first m The number of degradation increments included in each prediction stage. Shape and scale parameters are determined based on the moment relation of the Weibull distribution: (6) In the formula, Let gamma function be represented. By solving equation (6), the Weibull parameter labels for each prediction stage are obtained.

[0011] S2-4. Predicting Weibull parameters. A parameter prediction network consisting of bidirectional gated recurrent units and multilayer perceptrons is used to predict the Weibull parameters for each stage based on the historical degradation state sequence. (7) In the formula, Indicates parameters Weibull parameter prediction network, and They represent the first m Predicted shape parameters and predicted scale parameters for each prediction stage. This represents the log-domain mean squared error loss used to train the Weibull parameter prediction network. and They respectively represent according to the first i The first training sample's true future degradation trajectory was calculated to obtain the... m Weibull shape parameter labels and scale parameter labels for each prediction stage and These represent the Weibull parameter prediction network based on the first... i The prediction of the historical observation sequence of the training sample is obtained from the first training sample. m The Weibull shape and scale parameters are determined for each prediction stage. The parameter prediction network is trained using logarithmic mean squared error. (8) S2-5. Generate the Weibull prior trajectory. Based on the predicted Weibull parameters, sample the non-negative degradation increments stage by stage, and accumulate them sequentially starting from the last observed state of the historical sequence.

[0012] (9) In the formula, Represents the Weibull prior trajectory No. h The degenerate state at each position, Indicates the first j The prediction stage to which each predicted location belongs. This represents the first random sample obtained based on the predicted Weibull distribution. j The prior degradation increment corresponding to each predicted location and They represent the first j The predicted Weibull shape parameters and predicted Weibull scale parameters correspond to the prediction stage to which each prediction location belongs. This forms a temporal structured Weibull prior trajectory that can characterize the cumulative degradation and the changes in stage rate.

[0013] S3. Construct joint degradation conditions. To enable the trajectory prediction model to simultaneously utilize historical degradation trends, future stage distributions, and explicit state information near the censoring time, a historical time-series encoder is employed. Historical observation sequence X Encode; Calculate X The explicit state vector is obtained by concatenating the mean and variance statistics. s State encoder is used right s Encode; and use The predicted Weibull parameter set, after logarithmic transformation and vectorization, is encoded. The joint degradation condition is obtained as follows: (10) In the formula, , and This represents the characteristic output by the corresponding encoder; Indicates vectorization operation; Indicates a splicing operation; c This indicates the conditions for joint degradation.

[0014] S4. The difference between the constructed conditional velocity field and the reference velocity field. Using the Weibull prior trajectory generated in step S2. As the source trajectory, with the actual future degradation trajectory As the target trajectory, a linear probability path is established between the two. First, starting from the interval... Internal random sampling stream time Calculate the corresponding intermediate trajectory and target velocity: (11) In the formula, Indicates the flow time The corresponding intermediate trajectory, This represents the target velocity transmitted from the prior trajectory to the true future trajectory. To enable the same velocity field network to simultaneously learn the conditional velocity under complete joint degradation conditions and the reference velocity under weakened conditions, during training, the joint degradation conditions are replaced with learnable reference conditions according to a preset conditional dropout probability. (12) In the formula, r This represents a random number obtained by randomly sampling from a uniform distribution in the interval [0,1]. Indicates the probability of discarding. Indicates reference speed. This represents the conditions for the actual input velocity field network. The intermediate trajectory, flow time, and actual input conditions are input into the velocity field network, and the network is trained by minimizing the error between the predicted velocity and the target velocity. (13) In the formula, This represents the mathematical expectation operation. Indicates that the trainable parameters are velocity field network, This represents the flow matching loss. For the same intermediate trajectory and flow time, the joint degradation condition and reference condition are input into the trained velocity field network to obtain the conditional velocity and reference velocity, and the guided velocity is constructed based on the difference between the two: (14) In the formula, , , and These represent the trained velocity field network, conditional velocity, reference velocity, and guided velocity, respectively. This represents the reference velocity guiding factor. The difference between the conditional velocity and the reference velocity represents the additional velocity correction provided by the joint degradation conditions relative to the Weibull prior.

[0015] S5. Generate future degradation sequences For the mechanical equipment to be predicted, the historical degradation state sequence before the censoring time is input into the Weibull parameter prediction network to obtain the predicted Weibull parameters for each future stage, and the initial Weibull prior trajectory is generated according to equation (9); the joint degradation condition is calculated according to equation (10); then, using the Weibull prior trajectory as the initial state, the guiding velocity is calculated according to equation (14) at each integration time, and the guiding velocity field is transferred from... Points to : (15) In the formula, Indicates the flow time The initial degenerate trajectory state at time, express The state of the terminated degenerate trajectory obtained by time integration. This represents the state of the degenerate trajectory during the integration process. This represents the final future degradation sequence generated by the model. Therefore, while preserving the long-term cumulative trend and stage rate changes described by the phased Weibull prior, the local evolution direction is corrected using joint degradation conditions and velocity field differences, thus enabling the prediction of the future degradation trajectory of mechanical equipment under right censoring conditions.

[0016] The advantages and beneficial effects of this invention are as follows: Compared with the prior art, this invention exhibits the following significant advantages: 1. Phased Weibull Degradation Prior Construction: This invention divides the prediction interval into multiple continuous phases, predicts the Weibull parameters of each phase based on the historical degradation state, and sequentially accumulates non-negative degradation increments starting from the last observed state to construct a prior trajectory that can reflect the cumulative degradation and the phase rate change.

[0017] 2. Joint Degradation Conditions and Reference Velocity Guidance: This invention integrates historical time series features, Weibull parameter features, and explicit degradation state features to construct joint degradation conditions; it uses the difference between conditional velocity and reference velocity to correct the trajectory transmission direction, thereby improving the continuity of the prediction boundary and the consistency of long-term trends.

[0018] 3. Applicable to trajectory prediction for various types of mechanical equipment: This invention was validated using two sets of gear data and one set of bearing life-cycle data. Results show that the method can recover future degenerate trajectories from right-censored observations and maintains stable prediction performance across different equipment and prediction intervals. Attached Figure Description

[0019] Figure 1 This is a flowchart of the phased Weibull prior-guided flow matching mechanical degradation trajectory prediction method of the present invention.

[0020] Figure 2 This is a schematic diagram of the test bench structure for a two-stage parallel shaft gear transmission system in a specific embodiment of the present invention.

[0021] Figure 3 This is a schematic diagram of the degradation trajectory of the tested gearbox throughout its entire life cycle in a specific embodiment of the present invention.

[0022] Figure 4 This is a schematic diagram of the Weibull degenerate prior of a temporal structure in a specific embodiment of the present invention.

[0023] Figure 5 This is a comparison chart of the mechanical degradation trajectory prediction results of different prediction methods in a specific embodiment of the present invention.

[0024] Figure 6 This is a comparison chart of ablation experiment results for different module combinations in a specific embodiment of the present invention. Detailed Implementation

[0025] Exemplary embodiments, features, and aspects of the present invention will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0026] The invention was verified by applying it to a full-life test of a two-stage parallel transmission gearbox.

[0027] Take a test bench for a certain mechanical transmission system as an example. Figure 2 The test bench includes a drive motor 1, a speed and torque measurement module 2, a vibration acceleration sensor 3, a test gearbox 4, a planetary gearbox 5, and a load motor 6. The drive motor 1 is connected to the speed and torque measurement module 2 via a coupling, and the speed and torque measurement module 2 is connected to the input end of the test gearbox 4. The vibration acceleration sensor 3 is mounted on the surface of the test gearbox 4 housing to collect vibration signals during gearbox operation. The output end of the test gearbox 4 is connected to the planetary gearbox 5, which is then connected to the load motor 6, thus forming a complete mechanical transmission and loading test system. To collect dynamic response signals during gearbox operation, the vibration acceleration sensor 3 is mounted on the side of the planetary gearbox 4 housing, and the vibration signal sampling frequency is set to 25.6 kHz. In one specific embodiment, the drive motor 1 speed is maintained at 1200 r / min and the load torque is maintained at 25 Nm during the test. Vibration signals are collected every 5 minutes, with each collection lasting 1 second. The full life cycle degradation test lasts approximately 174 hours, obtaining vibration signal samples at 2094 monitoring times. To visually characterize the degradation state changes of the tested gearbox, the root mean square (RMS) value of the collected vibration signal is calculated at each monitoring time, and this RMS value is used as a degradation index of the mechanical equipment. The RMS values ​​are arranged in chronological order of the monitoring times to form a complete degradation state sequence of the tested gearbox, and its degradation trajectory is shown below. Figure 3 As shown. The constructed structural temporal Weibull degenerate prior network architecture is as follows. Figure 4 As shown.

[0028] Figure 4 This illustrates the training process of the staged Weibull parameter prediction network in this embodiment. For the real future degradation trajectory corresponding to the training sample, the future prediction interval is first divided into stages according to a preset stage length. MThe system performs continuous prediction stages and calculates the non-negative degradation increment between adjacent degradation states within each stage. Based on the statistical characteristics of the degradation increments at each stage, a Weibull distribution is fitted to obtain the Weibull distribution parameters corresponding to each prediction stage, thus forming the true Weibull parameter set. On the other hand, the corresponding historical degradation state sequence is input into the Weibull parameter prediction network, and future degradation parameters are obtained through temporal feature extraction and parameter mapping. M The predicted Weibull parameters for each prediction stage form a set of predicted Weibull parameters. During training, the Weibull parameters determined based on the actual future degradation trajectory are used as supervision labels. The mean square error between the predicted and actual Weibull parameters is calculated in the logarithmic domain, and the Weibull parameter prediction network is trained by minimizing this error. After training, for a right-censored machine, only the historical degradation state sequence before the censoring time needs to be input to obtain the predicted Weibull parameters for each prediction stage after the censoring time.

[0029] In this embodiment, the method of the present invention is applied to the full-life degradation data of the above-mentioned two-stage parallel shaft gearbox according to steps S1 to S5. The specific implementation process is as follows.

[0030] S1. Constructing a sample for predicting gearbox degradation trajectories. The root mean square value of vibration signals collected every 5 minutes during the experiment was calculated and arranged chronologically according to the monitoring time, resulting in a complete degradation state sequence containing 2094 monitoring times. R Historical observation sequences are constructed using a sliding window according to equation (1). X and the corresponding real future degradation trajectory Y In this embodiment, the 1583rd monitoring moment is set as the simulated censoring moment of the target gearbox, and this moment is used as the starting point for predicting the future degradation trajectory. Historical observation length. L Set to 512, future predicted length H The value is set to 384. Therefore, at this predicted location, the model uses 512 degradation states from monitoring times 1072 to 1583 as the historical observation sequence. X The 384 degradation states corresponding to monitoring times 1584–1967 were used as the true future trajectories. Y This is used to verify the prediction results.

[0031] S2. Construct phased Weibull degenerate priors for the aforementioned 384 future predicted locations. Prediction phase length. W Setting it to 64, according to equation (2), the future prediction interval of length 384 can be divided into... M=6 consecutive prediction stages, each stage corresponding to the future prediction positions 1-64, 65-128, 129-192, 193-256, 257-320 and 321-384 respectively. For the real future trajectory in the training sample, the non-negative degradation increment between each adjacent prediction position is calculated according to Equation (3), and the sample mean and sample standard deviation of the degradation increment within each of the 6 prediction stages are calculated respectively; then, the Weibull shape parameter and scale parameter corresponding to each stage are determined according to Equation (6) as the supervision label of the Weibull parameter prediction network. The historical observation sequence corresponding to the real future trajectory is input into the Weibull parameter prediction network composed of two layers of bidirectional gated recurrent units and multilayer sensing mechanism, and the Weibull shape parameter and scale parameter corresponding to the 6 stages are predicted according to Equation (7), and the parameter prediction network is trained using the logarithmic domain mean square error shown in Equation (8). After training, the historical observation sequence consisting of monitoring times 1072 to 1583 is input into the parameter prediction network to obtain the Weibull parameter prediction results for the six prediction stages after the censoring time. Then, non-negative degradation increments are randomly sampled stage by stage according to Equation (9), and the degradation state at the 1583rd monitoring time is used as the accumulation starting point. The degradation increments at each prediction position are accumulated sequentially to generate a time-series structured Weibull prior trajectory with a length of 384. z 0.

[0032] S3. Construct the joint degradation conditions corresponding to the current gearbox prediction sample. First, the historical observation sequence of length 512 is... X First, the historical time-series encoder is input to extract long-term degradation trend features prior to the censoring time. Second, the six sets of Weibull shape parameters and scale parameters predicted in step S2 are logarithmically transformed and vectorized, and then input into the Weibull parameter encoder to extract degradation distribution features for different prediction stages in the future. Simultaneously, the historical observation sequence is calculated. X The mean and variance of the vector are calculated and concatenated to form an explicit degradation state vector. Then, the current degradation state features near the censoring time are extracted using a state encoder. Following equation (10), the aforementioned historical time series features, Weibull parameter features, and explicit degradation state features are concatenated to obtain the joint degradation condition corresponding to the predicted sample. c .

[0033] S4. Train and construct the guiding velocity field for the gearbox degradation trajectory. During model training, the Weibull prior trajectory generated in step S2 is used. z 0 is used as the source trajectory, and the actual future degradation trajectory of the corresponding training samples is used as the reference. z 1= Y As the target trajectory, according to equation (11), the streaming time is randomly sampled from the interval [0,1]. and in z 0 and z Construct a linear intermediate trajectory between 1 and 2 Simultaneously, the target velocity pointing from the Weibull prior trajectory to the true future trajectory is calculated. To enable the same velocity field network to simultaneously obtain both the conditional velocity under full conditions and the reference velocity under weakened conditions, this embodiment uses the conditional discard probability in equation (12). p drop Setting it to 0.5 means that the joint degradation condition will be applied with a probability of 0.5 during training. c Replace with learnable reference conditions c ref The velocity field network is trained using the flow matching loss shown in equation (13). After training, for the same intermediate trajectory and flow time, the joint degradation condition is input respectively. c and reference conditions c ref Obtain conditional speed v c and reference speed v r And construct the guiding velocity according to equation (14). v g In this embodiment, the velocity guiding coefficient w It is set to 2.0, thereby using the difference between the conditional velocity and the reference velocity to correct the transmission direction of the Weibull prior trajectory.

[0034] S5. Generate the future degradation trajectory of the gearbox after the censored time. In the actual prediction process, only the degradation state information of the 1583rd monitoring time and before is retained, and the real degradation data after the censored time is not used. First, the historical observation sequence composed of the 1072nd to 1583rd monitoring times is input into the trained Weibull parameter prediction network to obtain the Weibull parameters for the next 6 prediction stages, and a Weibull prior trajectory of length 384 is generated according to Equation (9). z 0; then calculate the combined degradation condition according to equation (10). c Using this Weibull prior trajectory as the flow time... The initial state of integration is determined by equation (14) during the integration process, and the guiding velocity corresponding to each flow time is calculated according to equation (15). The guiding velocity field is then transferred from the initial state of integration to the initial state of integration. Points to When the points reach At that time, a future degradation state sequence of length 384 was obtained, which corresponds to the predicted degradation trajectory from monitoring time 1584 to 1967. Finally, this predicted trajectory was compared with the actual degradation state obtained from monitoring time 1584 to 1967 in the experiment to evaluate the predictive ability of the method of the present invention for the future degradation process of the gearbox under right-censored conditions.

[0035] To verify the effectiveness of the mechanical degradation trajectory prediction method described in this invention, Figure 3 The complete degradation trajectory shown is based on experimental data. The 1583rd monitoring time was set as the censoring time, and this censoring time was used as the starting point for predicting future degradation trajectories. In this embodiment, the length of the historical observation sequence... L Set to 512, future predicted sequence length H The value is set to 384. A Weibull parameter prediction network consisting of two layers of bidirectional gated recurrent units and a multilayer sensing mechanism is used to predict the Weibull distribution parameters for each future stage, and the prediction stage length is set to 384. W Set to 64; during model training. p drop Set to 0.5, during the trajectory generation process w Set to 2.0.

[0036] To demonstrate the degradation trajectory prediction performance of this invention, two-way gated cyclic unit models, Transformer models, TimeGrad models, TSFlow models, and CGFM models were used as comparison methods, and degradation trajectory prediction was performed under the same historical observation length, future prediction length, and censoring time. Table 1 shows the prediction results of different prediction methods on the gearbox degradation trajectory dataset. The smaller the root mean square error (RMSE) and mean absolute error (MAE), the smaller the deviation between the predicted trajectory and the actual future degradation trajectory. The method of this invention achieves the lowest RMSE and MAE under all three combinations of historical observation length and future prediction length, indicating that it has high degradation trajectory prediction accuracy in different prediction intervals. When the historical observation length is 512 and the future prediction length is 384, the RMSE of the method of this invention is 0.0064 and the MAE is 0.0049, which are reduced by 57.3% and 62.9% respectively compared with the comparison method with the best corresponding index, indicating that the combination of staged Weibull prior, joint degradation conditions, and reference velocity steering flow matching can effectively suppress error accumulation in long prediction intervals.

[0037] Table 1. Prediction results of different methods on the gearbox degradation trajectory dataset.

[0038] The prediction results of each method are as follows Figure 5 As shown, where, Figure 5 Figure (a) to Figure 5 Figure (e) shows the prediction results for the bidirectional gated recurrent unit model, the Transformer model, the TimeGrad model, the TSFlow model, and the CGFM model, respectively. Figure 5 Figure (f) shows the prediction results of the method described in this invention. Figure 5It can be seen that the actual future degradation trajectory of the tested gearbox generally shows an upward trend, accompanied by relatively obvious local fluctuations. Although the bidirectional gated cyclic unit model, Transformer model, TSFlow model, and CGFM model can predict the overall trend of degradation to a certain extent, there are varying degrees of amplitude deviation between their predicted trajectories and the actual future degradation trajectories. The prediction results of the TimeGrad model can reflect some future degradation changes, but there are still deviations in some prediction intervals. In contrast, this invention characterizes the degradation increment distribution in different prediction stages through a phased Weibull degradation prior, and uses joint degradation conditions and reference velocity field differences to correct the trajectory transmission direction, so that the generated trajectory maintains a change trend and degradation amplitude that are closer to the actual future degradation trajectory in the mid-to-late prediction interval.

[0039] To further verify the role of each component of this invention in the prediction results, five ablation models were set up: Model M1 retains only the flow matching prediction framework; Model M2 removes the Weibull degradation prior; Model M3 removes the joint degradation condition representation; Model M4 uses a single global Weibull distribution instead of the staged Weibull distribution; and Model M5 removes the reference velocity guidance mechanism. The degradation trajectory prediction results of each ablation model and the complete model of this invention are as follows: Figure 6 As shown, where, Figure 6 Figure (a) to Figure 6 Figure (e) in the middle corresponds to models M1 to M5 respectively. Figure 6 Figure (f) in the middle corresponds to the complete model of the present invention.

[0040] Table 2 presents the ablation test results for different module combinations on the gearbox degradation trajectory dataset. Model M1 retains only the flow matching framework, Model M2 removes the staged Weibull prior, Model M3 removes the joint degradation condition, Model M4 uses a single global Weibull prior instead of the staged Weibull prior, and Model M5 removes the reference velocity guidance mechanism. The root mean square error and mean absolute error of the complete model of this invention are lower than those of the ablation models. Compared with the ablation model with the lowest prediction error, the root mean square error of the complete model of this invention is reduced by 46.2%, and the mean absolute error is reduced by 51.5%. This shows that the staged Weibull prior can characterize the degradation increment distribution at different prediction stages, the joint degradation condition can supplement historical trend and current degradation state information, and the reference velocity guidance mechanism can correct the trajectory transmission direction. The three work together to improve the prediction accuracy of mechanical degradation trajectories.

[0041] Table 2 Ablation test results of different module combinations on the gearbox degradation trajectory dataset method Root mean square error Mean Absolute Error M1 0.0204 0.0191 M2 0.0147 0.0128 M3 0.0263 0.0196 M4 0.0126 0.0101 M5 0.0119 0.0101 The proposed method 0.0064 0.0049 Depend on Figure 6It is evident that the predicted trajectories generated by models M1 and M2 tend to flatten after the prediction starting point, making it difficult to characterize the continuous degradation trend exhibited by the actual degradation trajectory. The predicted trajectory generated by model M5 shows a phased decline inconsistent with the actual degradation process. Although models M3 and M4 can recover some of the upward trend, they still have deviations in terms of local fluctuation positions and peak amplitudes. In contrast, the complete model of this invention can more accurately characterize the degradation trend, local fluctuations, and degradation level at the prediction end within the prediction interval, indicating that the phased Weibull degradation prior, joint degradation condition representation, and reference velocity guidance mechanism work together to improve the accuracy of mechanical degradation trajectory prediction.

[0042] The embodiments described above are only used to illustrate the technical solutions of the present invention and are not intended to limit the scope of protection of the present invention. Any equivalent substitutions, modifications, or improvements made by those skilled in the art to the technical solutions of the present invention without departing from the concept of the present invention should fall within the scope of protection defined by the claims of the present invention.

Claims

1. A phased Weibull prior-guided method for predicting flow-matching mechanical degradation trajectories, characterized in that, Includes the following steps: S1. Obtain historical degradation state sequences and construct training samples; use a condition monitoring system to collect vibration signals during the operation of mechanical equipment, extract the root mean square value from the vibration signals at each monitoring time as a degradation index, and form a degradation state sequence. S2. Construct a time-series structured Weibull degenerate prior; including: dividing the future prediction stages, calculating the non-negative degenerate increment of each stage, determining the Weibull parameter labels, predicting the Weibull parameters, and generating the Weibull prior trajectory; S3. Construct joint degradation conditions; In order to enable the trajectory prediction model to simultaneously utilize historical degradation trends, future stage distributions, and explicit state information near the censoring time, a historical time-series encoder is used to encode the historical observation sequence; the mean and variance statistics are concatenated to obtain the explicit state vector, and a state encoder is used to encode the predicted Weibull parameter set after logarithmic transformation and vectorization. S4. Construct the difference between the conditional velocity field and the reference velocity field; using the Weibull prior trajectory as the source trajectory and the real future degenerate trajectory as the target trajectory, establish a linear probability path between the two; S5. Generate future degradation sequences For the mechanical equipment to be predicted, the historical degradation state sequence before the censoring time is input into the Weibull parameter prediction network to obtain the predicted Weibull parameters for each future stage, and an initial Weibull prior trajectory is generated to calculate the joint degradation condition; then, using the Weibull prior trajectory as the initial state, the guiding velocity is calculated at each integration time.

2. The method for predicting mechanically degenerate trajectories by flow matching guided by a phased Weibull prior, as described in claim 1, is characterized in that: In step S1, specifically: a sliding window is used to construct a historical observation sequence and a true future sequence from the complete degraded state sequence. (1) In the formula, R This represents a complete sequence of degradation states of mechanical equipment throughout its entire lifespan, arranged according to the order of monitoring times. Indicates the first t The degradation status at each monitoring point. T Indicates the length of the complete degenerate sequence. L Indicates the length of historical observation. H Indicates the predicted length of the future. and They represent the first i The training samples' historical sequences and true future trajectories are used; for the target mechanical equipment that has been censored on the right, only the historical degradation state sequence before the censoring time is obtained and input into the trained trajectory prediction model.

3. The method for predicting mechanically degenerate trajectories by flow matching guided by a phased Weibull prior, as described in claim 1, is characterized in that: In step S2, the division of the future prediction stage specifically involves: considering that the mechanical equipment has a time-varying degradation rate, the length is... H The future forecast range is divided into M A series of consecutive stages: (2) In the formula, W Indicates the length of each prediction stage. Indicates the first m The set of predicted locations corresponding to each prediction stage; when H Cannot be W When divisible, the final stage includes the remaining predicted positions.

4. The method for predicting mechanically degenerate trajectories by flow matching guided by a phased Weibull prior, as described in claim 1, is characterized in that: In step S2, the calculation of the non-negative degradation increment for each stage is specifically as follows: Let the initial state of the future sequence be the last observed state of the historical sequence, then the... h The degradation increments at each predicted location and their distributions are represented as follows: (3) In the formula, Indicates the first term within the future prediction interval h The non-negative degradation increment of each predicted position relative to the previous predicted position. This indicates the true future degradation trajectory in the 1st... h The degradation state of each predicted location, This indicates the true future degradation trajectory in the 1st... h -1 predicted location degradation state, Indicates the use of describing the first m Random variables with statistically distributed non-negative degradation increments within each prediction phase; , Represents historical observation sequence X The degradation state at the last observation location in the middle, As a preset positive number, and They represent the first m The Weibull shape and scale parameters for each prediction stage; the probability density function of the Weibull distribution is: (4)。 5. The method for predicting mechanically degenerate trajectories based on phased Weibull priors according to claim 1, characterized in that: In step S2, determining the Weibull parameter label specifically involves: for the first... m In each prediction phase, the sample mean and sample standard deviation are calculated based on the actual future degradation increment: (5) In the formula, Indicates the first m The sample mean of the actual degradation increment within each prediction stage is used to characterize the average degradation increment level of that prediction stage. Indicates the first m The sample standard deviation of the actual degradation increment within each prediction stage is used to characterize the dispersion of the degradation increment in that prediction stage. N This represents the incremental amount of degradation. Indicates the first m The number of degradation increments included in each prediction stage; shape and scale parameters are determined based on the moment relationship of the Weibull distribution: (6) In the formula, The gamma function is represented by equation (6); the Weibull parameter labels for each prediction stage are obtained by solving equation (6).

6. The method for predicting mechanically degenerate trajectories by flow matching guided by a phased Weibull prior, as described in claim 1, is characterized in that: In step S2, the prediction of Weibull parameters specifically involves using a parameter prediction network composed of bidirectional gated recurrent units and multilayer perceptrons to predict the Weibull parameters for each stage based on the historical degradation state sequence. (7) In the formula, Indicates parameters Weibull parameter prediction network, and They represent the first m Predicted shape parameters and predicted scale parameters for each prediction stage; This represents the log-domain mean squared error loss used to train the Weibull parameter prediction network. and They respectively represent according to the first i The first training sample's true future degradation trajectory was calculated to obtain the... m Weibull shape parameter labels and scale parameter labels for each prediction stage and These represent the Weibull parameter prediction network based on the first... i The prediction of the historical observation sequence of the training sample is obtained from the first training sample. m The Weibull shape and scale parameters for each prediction stage; the parameter prediction network is trained using logarithmic mean square error. (8)。 7. The method for predicting mechanically degenerate trajectories by flow matching guided by a phased Weibull prior, as described in claim 1, is characterized in that: In step S2, generating the Weibull prior trajectory specifically involves: sampling non-negative degradation increments stage by stage based on the predicted Weibull parameters, and accumulating them sequentially starting from the last observed state of the historical sequence; (9) In the formula, Represents the Weibull prior trajectory No. h The degenerate state at each position, Indicates the first j The prediction stage to which each predicted location belongs. This represents the first random sample obtained based on the predicted Weibull distribution. j The prior degradation increment corresponding to each predicted location and They represent the first j The predicted Weibull shape parameters and predicted Weibull scale parameters corresponding to the prediction stage to which each prediction location belongs.

8. A staged Weibull prior-guided method for predicting flow-matching mechanical degradation trajectories according to claim 1 or 2, characterized in that: In step S3, the joint degradation conditions are obtained as follows: (10) In the formula, , and This represents the characteristics of the corresponding encoder output; Indicates vectorization operation; Indicates a splicing operation; c This indicates the conditions for joint degradation.

9. The method for predicting mechanically degenerate trajectories by flow matching guided by a phased Weibull prior, as described in claim 1, is characterized in that: In step S4, specifically: first from the interval Internal random sampling stream time Calculate the corresponding intermediate trajectory and target velocity: (11) In the formula, Indicates the flow time The corresponding intermediate trajectory, This represents the target velocity of the transmission from the prior trajectory to the actual future trajectory; To enable the same velocity field network to simultaneously learn conditional velocities under complete joint degradation conditions and reference velocities under weakened conditions, the joint degradation conditions are replaced with learnable reference conditions during training according to a preset conditional dropout probability. (12) In the formula, r This represents a random number obtained by randomly sampling from a uniform distribution in the interval [0,1]. Indicates the probability of discarding. Indicates reference speed. The conditions for the actual input velocity field network are represented; the intermediate trajectory, flow time, and actual input conditions are input into the velocity field network, and the velocity field network is trained by minimizing the error between the predicted velocity and the target velocity. (13) In the formula, This represents the mathematical expectation operation. Indicates that the trainable parameters are velocity field network, The flow matching loss is represented by the following: For the same intermediate trajectory and flow time, the joint degradation condition and the reference condition are input into the trained velocity field network to obtain the conditional velocity and the reference velocity, and the guided velocity is constructed based on the difference between the two. (14) In the formula, , , and These represent the trained velocity field network, conditional velocity, reference velocity, and guided velocity, respectively. The reference velocity guide coefficient is represented; the difference between the conditional velocity and the reference velocity represents the additional velocity correction provided by the joint degradation conditions relative to the Weibull prior.

10. The method for predicting mechanically degenerate trajectories by flow matching guided by a phased Weibull prior, as described in claim 1, is characterized in that: In step S5, specifically: (15) In the formula, Indicates the flow time The initial degenerate trajectory state at time, express The state of the terminated degenerate trajectory obtained by time integration. This represents the state of the degenerate trajectory during the integration process. This represents the future degradation sequence ultimately generated by the model. Thus, while preserving the long-term cumulative trend and stage rate changes described by the phased Weibull prior, the local evolution direction is corrected by using joint degradation conditions and velocity field differences, thereby achieving the prediction of the future degradation trajectory of mechanical equipment under right censoring conditions.