Digital twin driven small sample rotating machinery residual life prediction method and system
By using a digital twin-driven approach, combined with convolutional autoencoders and Weibull distributions, the problem of accurately predicting the remaining life of rotating machinery under small sample data was solved, enabling dynamic description and real-time prediction of the degradation process of rotating machinery.
Patent Information
- Application Number
- CN202310619377.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-05-29
AI Technical Summary
Existing technologies struggle to accurately predict the remaining life of rotating machinery in real time with limited sample data. Traditional methods require a large amount of degradation data and cannot describe the dynamic degradation process, leading to reduced prediction accuracy.
A digital twin-driven approach is adopted to construct a model of the degenerative behavior of rotating machinery by fusing convolutional autoencoders and Weibull distributions. A one-dimensional Kalman filter algorithm is used for signal preprocessing, a health factor is established, and a gradient descent method is combined to predict the lifespan in real time.
It enables accurate real-time prediction of the remaining life of rotating machinery under small sample conditions, and can dynamically describe the degradation process, thus improving the accuracy and real-time performance of the prediction.
Smart Images

Figure CN116561927B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of rotating machinery life prediction technology, specifically relating to a digital twin-driven method and system for predicting the remaining life of small-sample rotating machinery. Background Technology
[0002] There are two main methods for predicting the remaining service life of rotating machinery: mechanistic model-based prediction methods and data-driven prediction methods. The former analyzes the degradation process of rotating machinery using failure mechanisms and probabilistic statistics, constructing degradation mechanism models through theoretical analysis and experimental verification to predict remaining service life. Data-driven remaining service life prediction, on the other hand, builds an end-to-end model between sensor signals and the remaining service life of rotating machinery based on various prediction algorithms. With the support of big data, it can predict the remaining service life of rotating machinery without requiring expert experience or domain knowledge.
[0003] Influenced by factors such as application scenarios, operating conditions, and working hours, the remaining life of rotating machinery is usually dynamically evolving. The methods mentioned above can only predict the static average life of rotating machinery at a specific moment during the design phase or operation, and cannot describe the dynamic degradation process of rotating machinery, making it difficult to achieve real-time online prediction of remaining life. In addition, using traditional mechanistic models or data-driven models requires a large amount of degradation data for model construction. When the data used for model construction is insufficient, the model prediction accuracy will decrease. However, due to limitations in data acquisition capabilities and the need for safe production, it is often difficult to collect a large amount of complete degradation data for building predictive models in practice. Summary of the Invention
[0004] The technical problem to be solved by this invention is to address the shortcomings of the prior art by providing a digital twin-driven method and system for predicting the remaining life of rotating machinery with small sample data. By fusing convolutional autoencoders and Weibull distributions to construct a data-driven model of the degradation behavior of rotating machinery, this invention solves the technical problem that it is difficult to accurately predict the remaining life of rotating machinery with small sample data, and achieves accurate real-time prediction of the remaining life of rotating machinery under small sample conditions.
[0005] The present invention adopts the following technical solution:
[0006] A digital twin-driven method for predicting the remaining life of small-sample rotating machinery includes the following steps:
[0007] S1. Preprocessing of signals from rotating machinery;
[0008] S2. Establish a training convolutional autoencoder and evaluate the unhealthiness of the signal obtained in step S1.
[0009] S3. Establish an exponential mapping function to map the degree of unhealthiness obtained in step S2 into a health factor that can directly reflect the health status of the equipment.
[0010] S4. Based on the Weibull reliability function and the health factor obtained in step S3, the remaining service life of rotating machinery is predicted in real time using the gradient descent method.
[0011] Specifically, step S1 is as follows:
[0012] S101. For a measured device signal z(t), use a one-dimensional Kalman filter algorithm to establish the state equation of the device signal and estimate the optimal estimate obtained by superimposing the measured value with error and the observed value with error.
[0013] S102. Divide the filtered signal x(t) obtained in step S101 into several signal segments of length N. The signal in the first 30% of the time is identified as the early degradation signal of the rotating machinery and used for training the subsequent algorithm model. The rest are test data.
[0014] Furthermore, in step S101, z(t) is used as the observed value z. k Given the initial estimated value at time k=0, the initial values of the state transition matrix A, process excitation noise covariance Q, measurement noise covariance R, and transformation matrix H, the signal x(t) after Kalman filtering and noise reduction of z(t) is obtained by iterative calculation.
[0015] Furthermore, in step S102, the segmentation length N of the device signal is:
[0016]
[0017] Where k is a scaling factor given by the user, and f rotate f is the rotational frequency of the rotating machinery. collect This represents the signal acquisition frequency.
[0018] Specifically, step S2 is as follows:
[0019] S201. Construct a convolutional autoencoder neural network model;
[0020] S202, The early degradation signal obtained after preprocessing in step S1 is x. early (t), the reconstructed signal is obtained after encoding and decoding from the input convolutional autoencoder. The reconstruction error is calculated using the squared difference loss function;
[0021] S203. Input the test signal into the trained convolutional autoencoder for signal reconstruction, calculate the reconstruction error between the test signal and the reconstructed signal, and use the reconstruction error as the degree of device unhealthiness corresponding to the test signal.
[0022] Specifically, step S3 is as follows:
[0023] S301. Construct an exponential mapping function based on the definitions of unhealthiness and health factor HI, and determine the hyperparameters of the exponential mapping function.
[0024] S302, The M test signal segments x = {x} obtained after preprocessing are... 1N ,x 2N ,...,x MN After sorting in chronological order, the convolutional autoencoder and exponential mapping function are input sequentially to obtain the set of health factors HI of the rotating machinery: HI = {HI} 1N HI 2N ,...,HI MN}
[0025] Furthermore, in step S301, the exponential mapping function data is specifically as follows:
[0026]
[0027] Where k and b are the shape coefficient and bias constant of the exponential mapping function, respectively. This represents the reconstruction error.
[0028] Specifically, step S4 is as follows:
[0029] S401. Initialize the Weibull reliability function;
[0030] S402. Calculate the remaining service life of rotating machinery based on the Weibull reliability function;
[0031] S403. Based on the HI set obtained from the real-time measurement data in step S3, the gradient descent method is used to update the parameters of the Weibull reliability function. Steps S402 and S403 are repeated to achieve real-time iterative prediction of the remaining service life of rotating machinery under small sample conditions.
[0032] Specifically, in step S402, the remaining service life RUL of the rotating machinery at time t. t for:
[0033] RUL t =T f -T t =η[(-ln R) f ) 1 / β -(-ln R t ) 1 / β ]
[0034] Among them, T f T represents the operating time of theoretical failure of rotating machinery.t Let R be the theoretical working time of the rotating machinery, η be the scale parameter, and R be the operating time. f For failure threshold reliability, R t For reliability, β is the shape parameter.
[0035] Secondly, embodiments of the present invention provide a digital twin-driven system for predicting the remaining life of small-sample rotating machinery, comprising:
[0036] The preprocessing module preprocesses signals from rotating machinery.
[0037] The evaluation module establishes a trained convolutional autoencoder to evaluate the unhealthiness of the signal obtained from the preprocessing module.
[0038] The mapping module establishes an exponential mapping function to map the degree of unhealthiness obtained by the evaluation module into health factors that can directly reflect the health status of the equipment.
[0039] The prediction module, based on the Weibull reliability function and the health factor obtained from the mapping module, combines the gradient descent method to perform real-time iterative prediction of the remaining service life of rotating machinery.
[0040] Compared with the prior art, the present invention has at least the following beneficial effects:
[0041] A digital twin-driven method for predicting the remaining service life of rotating machinery in small-sample scenarios is proposed. Considering the characteristics of rotating machinery, such as long degradation cycles, high data density, and high acquisition costs, it is difficult to collect a large amount of full-lifecycle degradation signals in practice to construct and train a mechanistic prediction model or a data-driven prediction model to accurately predict the remaining service life of rotating machinery in small-sample scenarios. Therefore, a method combining the Weibull reliability function and a convolutional autoencoder is established for predicting the remaining service life of rotating machinery. During the training phase, only early degradation signals of the rotating machinery are used to train the convolutional autoencoder (CAE). The real-time degradation degree of the equipment is evaluated and a health index (HI) is constructed by calculating the reconstruction error of the CAE to the real-time signals of the rotating machinery. The Weibull reliability function is introduced as a degradation model to describe the degradation process of the rotating machinery. The parameters of the Weibull reliability function are updated in real time according to the health index, and the remaining service life is predicted based on the Weibull reliability function. The remaining service life prediction method for rotating machinery constructed in this invention can effectively solve the dynamic description of the degradation process of rotating machinery and the real-time prediction of its remaining service life under small sample conditions, providing a new approach for the application of digital twin technology in the field of monitoring and maintenance of rotating machinery equipment.
[0042] Furthermore, preprocessing the original measurement signals of rotating machinery based on a one-dimensional Kalman filter algorithm and signal segment extraction can remove noise and abnormal signals from the original measurement signals and convert the original signals into signal segments with the same data format, which facilitates unified calculation and processing in subsequent steps of the algorithm.
[0043] Furthermore, the one-dimensional Kalman filter algorithm uses the estimated value of the rotating machinery signal from the previous moment and the measured value of the signal at the current moment to obtain the optimal estimate of the rotating machinery signal at the current moment, removing a large amount of noise from the rotating machinery measurement signal and avoiding errors caused by noise in subsequent reconstruction and health factor construction steps. At the same time, the one-dimensional Kalman filter algorithm has the characteristics of low computational cost, which can quickly filter and reduce noise in the original equipment signal, improving the real-time performance of rotating machinery remaining life prediction.
[0044] Furthermore, traditional signal segment extraction methods artificially set a length. If the length is too small, the signal segment cannot reflect the process of one revolution of the rotating machinery; if the length is too large, a single signal segment corresponds to multiple revolutions of the rotating machinery within a given time period, resulting in signal redundancy and increasing the complexity and computational load of the prediction algorithm. This patent considers the rotation frequency of the rotating machinery and the sensor signal measurement frequency to calculate the signal length corresponding to one revolution of the rotating machinery. Combined with a scaling factor, it ensures the rationality of the signal segment length setting, so that the signal segment contains data for at least one complete rotation cycle without containing excessive redundant data.
[0045] Furthermore, convolutional neural networks can effectively extract signal features from the degradation signals of rotating machinery, learn the data patterns of the degradation signals, and utilize the characteristic that the reconstruction error of the signals of rotating machinery at different degradation stages is different when only early degradation signals are available. This allows for the quantitative estimation of the degree of equipment unhealthiness corresponding to the degradation signals at each stage of rotating machinery.
[0046] Furthermore, due to the differences in operating conditions and equipment types of rotating machinery, the distribution range of unhealthyness of different test signals obtained by the convolutional autoencoder varies. The unhealthyness of the test signal is mapped to a health factor in the interval [0,1] using an exponential mapping function, which facilitates subsequent parameter updates and lifetime prediction for the Weibull reliability function.
[0047] Furthermore, the exponential mapping function has the characteristics of continuous differentiability, monotonically decreasing, and saturation. Moreover, the corresponding shape coefficient and bias constant can be flexibly set according to the working conditions and equipment type of rotating machinery, thereby improving the interpretability and computational efficiency of health factor mapping.
[0048] Furthermore, using the Weibull reliability function as a degradation behavior model for rotating machinery can, on the one hand, intuitively reflect the degradation trend of rotating machinery and improve the interpretability of the remaining life prediction; on the other hand, updating the Weibull reliability function parameters based on real-time measurement signals before predicting the remaining life ensures the accuracy and real-time performance of the remaining life prediction process for rotating machinery.
[0049] Furthermore, the failure threshold reliability can be flexibly set according to the needs of rotating machinery life prediction and the actual application scenarios of rotating machinery, so as to predict the remaining service life of rotating machinery more accurately and efficiently.
[0050] It is understandable that the beneficial effects of the second aspect mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.
[0051] In summary, this invention uses early degradation signals of rotating machinery to train a convolutional autoencoder, evaluates the degree of unhealthiness corresponding to the degradation signals, and maps them to a health factor using an exponential mapping function. By introducing a Weibull reliability function to describe the degradation trend of rotating machinery, and updating the parameters and predicting the remaining life of the Weibull reliability function based on real-time data, the remaining life prediction of rotating machinery can be performed more accurately and in real-time.
[0052] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0053] Figure 1 This is an overall framework diagram of the present invention;
[0054] Figure 2 This is the overall process for predicting remaining lifetime in this invention;
[0055] Figure 3 A comparison diagram of the original bearing vibration signal and the vibration signal after Kalman filtering;
[0056] Figure 4 A comparison diagram of bearing vibration signal and signal reconstructed by convolutional autoencoder;
[0057] Figure 5 The diagram shows the reconstruction error curve of the vibration signals of the bearing samples in the training set.
[0058] Figure 6 The training set of bearing samples includes health factor HI and Weibull reliability function curves.
[0059] Figure 7 The figure shows the real-time iterative prediction results of the remaining life of bearing sample 1_3 in the test set;
[0060] Figure 8The figure shows the predicted remaining life of bearing sample 1_3 in the test set. Detailed Implementation
[0061] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0062] In the description of this invention, it should be understood that the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0063] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0064] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Additionally, the character " / " in this invention generally indicates that the preceding and following objects have an "or" relationship.
[0065] It should be understood that although terms such as first, second, third, etc., may be used in the embodiments of the present invention to describe the preset range, these preset ranges should not be limited to these terms. These terms are only used to distinguish the preset ranges from one another. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.
[0066] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."
[0067] The accompanying drawings illustrate various structural schematic diagrams according to embodiments disclosed in this invention. These drawings are not to scale, and some details have been enlarged for clarity, and some details may have been omitted. The shapes of the various regions and layers shown in the drawings, as well as their relative sizes and positional relationships, are merely exemplary and may deviate from reality due to manufacturing tolerances or technical limitations. Furthermore, those skilled in the art can design regions / layers with different shapes, sizes, and relative positions as needed.
[0068] This invention provides a digital twin-driven method for predicting the remaining service life of rotating machinery with small sample data. Addressing the difficulty in accurately predicting the remaining service life of rotating machinery with small sample data, this method constructs a data-driven model of rotating machinery degradation behavior by fusing a convolutional autoencoder (CAE) and a Weibull distribution. First, the CAE is trained using early degradation signals of the rotating machinery, allowing it to learn early degradation signal patterns. Then, the CAE reconstructs the test signal and calculates the reconstruction error, mapping the reconstruction error to the [0,1] interval as a health factor. A Weibull reliability function is fitted based on the health factor to predict the remaining service life of the rotating machinery. During continuous operation of the rotating machinery, the above steps are repeated based on real-time data to achieve real-time updates of the remaining service life. The rotating machinery remaining service life prediction algorithm constructed in this invention can predict the remaining service life of bearings without requiring end-of-life degradation signals, and can adaptively update the model as the amount of data increases to improve prediction accuracy in real time. It is feasible for predicting the service life of rotating machinery with small sample data in practical industrial scenarios.
[0069] Please see Figure 2 This invention discloses a method for predicting the remaining life of small-sample rotating machinery driven by digital twins, comprising the following steps:
[0070] S1. Perform signal preprocessing for rotating machinery.
[0071] The raw equipment signals from rotating machinery are typically high-frequency, low-density continuous time-domain signals, requiring noise reduction and filtering before they can be used for subsequent model training and prediction. First, a one-dimensional Kalman filter algorithm is used to filter and reduce noise in the raw signal. Then, the time window length is determined by comparing the rotational speed of the rotating machinery with the signal acquisition frequency, and a fixed-time window is used to divide the equipment signal into equal-length signal segments.
[0072] S101. For a measured equipment signal z(t), a one-dimensional Kalman filter algorithm is used to establish the state equation of the equipment signal, and the optimal estimate obtained by superimposing the measured value with error and the observed value with error is estimated, thereby realizing the filtering and noise reduction of the equipment signal.
[0073] The one-dimensional Kalman filter prediction formula used is as follows:
[0074]
[0075]
[0076] in, Equation is the posterior state estimate of the signal at time k-1, which is the filtering result of the Kalman filter algorithm, also known as the optimal estimate; A is the state transition matrix; It is the prior estimated state value at time k; P is the prior estimate of the covariance at time k; k-1 Q is the posterior estimate covariance at time k-1; Q is the process excitation noise covariance, used to characterize the error between the state transition matrix and the actual process.
[0077] The one-dimensional Kalman filter update formula used is as follows:
[0078]
[0079]
[0080]
[0081] Among them, K k Equation k is the filter gain matrix at time k; H is the transformation matrix from state variables to observations; R is the measurement noise covariance; z k It is the signal measurement value at time k.
[0082] Let z(t) be the observed value z k Given the initial estimate at time k=0, and the initial values of the state transition matrix A, process excitation noise covariance Q, measurement noise covariance R, and transformation matrix H, the above five formulas can be used to iteratively calculate the signal x(t) after Kalman filtering and noise reduction of z(t).
[0083] S102. Perform signal interception and division for rotating machinery equipment;
[0084] If the rotational frequency of the rotating machinery is f rotate The signal acquisition frequency is f collect Then the segmentation length N of the device signal is:
[0085]
[0086] Where k is a scaling factor given by the user, used to adjust the division length N according to the actual characteristics of the device signal.
[0087] After obtaining the segmentation length N, the filtered signal x(t) obtained in step S101 is divided into several signal segments of length N. The signal in the first 30% of the time is identified as the early degradation signal of the rotating machinery and used for training the subsequent algorithm model. The rest are test data.
[0088] S2. Assess the unhealthiness of the input signal by establishing a trained convolutional autoencoder.
[0089] The health of rotating machinery gradually deteriorates as the degradation process intensifies. This is reflected in the equipment signals, which exhibit different data patterns at different degradation stages. Therefore, the degree of equipment unhealthiness corresponding to the test signal can be reflected by measuring the difference between the test signal and the early degradation signal. To achieve this, a convolutional autoencoder (CA) neural network model is first constructed. Then, the CA is trained using early degradation signals to learn the patterns of these early degradation signals, enabling high-precision reconstruction. Finally, the test signal is input into the trained CA for signal reconstruction, and the reconstruction error between the test signal and the reconstructed signal is calculated. Since the CA only learns the data patterns of the early degradation signals, it cannot accurately reconstruct test signals from other degradation stages. Furthermore, the higher the degree of degradation, the greater the difference from the early degradation signal, i.e., the larger the reconstruction error. Therefore, the reconstruction error can be directly used as the degree of equipment unhealthiness corresponding to the test signal.
[0090] S201. Construct a convolutional autoencoder model;
[0091] An autoencoder consists of two parts: an encoder and a decoder. The encoder reduces the dimensionality of the input signal to a feature space, while the decoder encodes and reconstructs the output signal from the feature space. A convolutional autoencoder uses a convolutional neural network as both the encoder and decoder. For a convolutional autoencoder with k convolutional kernels, the formulas for its encoding and decoding stages are as follows:
[0092] h k =σ(x*W k +b k (7)
[0093]
[0094] Among them, h k It is the feature encoding corresponding to the k-th convolutional kernel; W k It is the k-th convolutional kernel; b k U is the bias constant corresponding to the k-th convolutional kernel; σ() is the activation function; U k It is the k-th deconvolution kernel; c k It is the bias constant corresponding to the k-th deconvolution kernel.
[0095] S202, Training a convolutional autoencoder based on early degradation signals
[0096] The early degradation signal obtained after preprocessing in step S1 is x. early (t), the reconstructed signal is obtained after encoding and decoding from the input convolutional autoencoder. Calculate the reconstruction error using the squared difference loss function:
[0097]
[0098] The reconstruction error of the early degraded signal is backpropagated in the convolutional autoencoder to update the parameters and reduce the reconstruction error. When the reconstruction error is small after multiple parameter updates, it can be considered that the convolutional autoencoder has learned the mapping relationship between the input signal and the feature signal, and can achieve data pattern feature extraction of the input signal without the need for additional information.
[0099] S203, Calculation of reconstruction error of test signal.
[0100] The test signal obtained after preprocessing in step S1 is x(t). The reconstructed test signal is obtained by inputting the convolutional autoencoder and then encoding and decoding it. Calculate the reconstruction error using the squared difference loss function:
[0101]
[0102] At this point, the health status of the device corresponding to the test signal is...
[0103] S3. Establish an exponential mapping function to map the degree of unhealthiness into health factors that can directly reflect the health status of the equipment.
[0104] Based on the definition and calculation process of equipment unhealthiness, the value range of unhealthiness is [0, +∞). The lower the degree of equipment degradation, the closer its unhealthiness is to 0. Rotating machinery has multiple degradation failure modes, and the CAE unhealthiness range corresponding to different failure conditions is different. To unify different failure conditions, a mapping function is used to map the unhealthiness in the [0, +∞) interval to a health factor HI in the [0, 1] interval. HI can quantitatively describe the health status of rotating machinery; HI = 1 indicates that the equipment has not yet begun to degrade, and HI = 0 indicates that the equipment has completely degraded and failed.
[0105] S301. Construct an exponential mapping function based on the definitions of unhealthiness and health factor HI, and determine the hyperparameters of the exponential mapping function.
[0106] Based on the definitions of unhealthy conditions, healthy factors, and the degradation patterns of rotating machinery, the mapping function should meet the following requirements:
[0107] (1) The domain is [0,+∞) and the range is [0,1).
[0108] (2) It is monotonically decreasing and smoothly differentiable on the domain, which is convenient for calculation.
[0109] (3) It has saturation, that is, the function value approaches 1 when the independent variable approaches 0, and the function value approaches 0 when the independent variable approaches +∞.
[0110] The sigmoid function is improved to obtain an exponential mapping function that satisfies the above requirements:
[0111]
[0112] Where k and b are the shape coefficient and bias constant of the exponential mapping function, respectively.
[0113] The bias constant b is used to adjust the initial health factor HI of the equipment, and the shape coefficient k is used to control the deceleration rate of the health factor HI as the degree of unhealthiness increases. Both parameters need to be manually assigned based on the changing patterns of the initial health state and the degree of unhealthiness of the rotating machinery.
[0114] S302, Calculation of Health Factors for Rotating Machinery
[0115] The preprocessed M test signal segments x = {x 1N ,x 2N ,...,x MN After sorting in chronological order, the convolutional autoencoder and exponential mapping function are input sequentially to obtain the set of health factors HI of the rotating machinery: HI = {HI} 1N HI 2N ,...,HI MN}
[0116] S4. Real-time iterative prediction of the remaining service life of rotating machinery based on the Weibull reliability function and gradient descent method.
[0117] The main steps for real-time iterative prediction of the remaining service life of rotating machinery using the Weibull reliability function are as follows: Initialize the Weibull reliability function; calculate the remaining service life of the rotating machinery based on the Weibull reliability function; update the parameters of the Weibull reliability function using the gradient descent method based on the HI set obtained from the real-time measurement data in step S3; repeat the above two steps. The specific process is as follows:
[0118] S401. Initialize the Weibull reliability function.
[0119] The Weibull distribution is a commonly used distribution in reliability theory. The expression for the two-parameter Weibull reliability function is:
[0120]
[0121] Where R(t) is the Weibull reliability, which characterizes the reliability of mechanical equipment, and β and η are the shape parameter and scale parameter of the Weibull reliability function, respectively.
[0122] In the initial stage, the initial values of shape and scale parameters can be given manually according to the specific working conditions and historical degradation patterns of the rotating machinery, or the shape and scale parameters can be initialized randomly.
[0123] S402, Given a failure threshold reliability R f Substituting into equation (12) in S401, we get R. f The corresponding theoretical failure working time T of rotating machinery f ;
[0124] T f =η(-ln R) f ) 1 / β (13)
[0125] Calculate the health factor HI of the rotating machinery at time t according to step S3. t The distribution range of both Weibull reliability and health factor is [0,1], and both the health factor HI and reliability can be used to characterize the health status of rotating machinery. Therefore, HI can be used to characterize the health status of rotating machinery. t As reliability R t HI t Substituting into equation (12) of S401, we get HI. t The corresponding theoretical working time T of rotating machinery t for:
[0126] T t =η(-ln R) t ) 1 / β (14)
[0127] Combining equations (13) and (14), the remaining service life RUL of the rotating machinery at time t is obtained. t for:
[0128] RUL t =T f -T t =η[(-ln R) f ) 1 / β -(-ln R t ) 1 / β (15)
[0129] S403. Following S3, calculate the set of health factors HI = {HI} from the start of the deterioration of the rotating machinery to time t. 1N HI 2N ,...,HI MN Substituting the health factor and its corresponding time into equation (12), and selecting the squared difference loss function, the fitting error of the Weibull reliability function at time t is calculated as follows:
[0130]
[0131] Find the partial derivatives of the fitting error with respect to the shape and scale parameters, respectively:
[0132]
[0133]
[0134] Given a learning rate 'a', the shape and scale parameters can be updated based on the learning rate and partial derivatives:
[0135]
[0136]
[0137] Each new HI is calculated according to S3 t Repeat steps S402 and S403 to achieve real-time iterative prediction of the remaining service life of rotating machinery under small sample conditions.
[0138] In another embodiment of the present invention, a digital twin-driven small-sample rotating machinery remaining life prediction system is provided. This system can be used to implement the above-mentioned digital twin-driven small-sample rotating machinery remaining life prediction method. Specifically, the digital twin-driven small-sample rotating machinery remaining life prediction system includes a preprocessing module, an evaluation module, a mapping module, and a prediction module.
[0139] The preprocessing module preprocesses the signals from rotating machinery equipment.
[0140] The evaluation module establishes a trained convolutional autoencoder to evaluate the unhealthiness of the signal obtained from the preprocessing module.
[0141] The mapping module establishes an exponential mapping function to map the degree of unhealthiness obtained by the evaluation module into health factors that can directly reflect the health status of the equipment.
[0142] The prediction module, based on the Weibull reliability function and the health factor obtained from the mapping module, combines the gradient descent method to perform real-time iterative prediction of the remaining service life of rotating machinery.
[0143] In another embodiment of the present invention, a terminal device is provided, comprising a processor and a memory. The memory stores a computer program, which includes program instructions. The processor executes the program instructions stored in the computer storage medium. The processor may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing and control core of the terminal, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to achieve a corresponding method flow or corresponding function. The processor described in this embodiment of the present invention can be used for the operation of a digital twin-driven small-sample rotating machinery remaining life prediction method, including:
[0144] Signal preprocessing for rotating machinery equipment; establishing a training convolutional autoencoder to assess the unhealthiness of the signal; establishing an exponential mapping function to map the unhealthiness level to a health factor that directly reflects the health status of the equipment; and using the Weibull reliability function and health factor, combined with the gradient descent method, to perform real-time iterative prediction of the remaining service life of the rotating machinery.
[0145] In another embodiment of the present invention, a storage medium is also provided, specifically a computer-readable storage medium (memory). This computer-readable storage medium is a memory device in a terminal device used to store programs and data. It is understood that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and extended storage media supported by the terminal device. The computer-readable storage medium provides storage space that stores the terminal's operating system. Furthermore, this storage space also stores one or more instructions suitable for loading and execution by a processor. These instructions can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device.
[0146] One or more instructions stored in a computer-readable storage medium can be loaded and executed by a processor to implement the corresponding steps of the digital twin-driven small-sample rotating machinery remaining life prediction method in the above embodiments; one or more instructions in the computer-readable storage medium are loaded and executed by the processor to perform the following steps:
[0147] Signal preprocessing for rotating machinery equipment; establishing a training convolutional autoencoder to assess the unhealthiness of the signal; establishing an exponential mapping function to map the unhealthiness level to a health factor that directly reflects the health status of the equipment; and using the Weibull reliability function and health factor, combined with the gradient descent method, to perform real-time iterative prediction of the remaining service life of the rotating machinery.
[0148] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0149] Example
[0150] The following section uses specific bearing vibration signals to further illustrate the digital twin-driven method for predicting the remaining life of small-sample rotating machinery disclosed in this invention.
[0151] The digital twin-driven method for predicting the remaining life of small-sample rotating machinery disclosed in this invention includes the following steps:
[0152] S1. Perform signal preprocessing for rotating machinery:
[0153] Vibration signals from the entire lifecycle of the bearing were collected, and the Kalman filter algorithm was used to filter the vibration signals to obtain noise-reduced signals. The signal from one bearing is shown below. Figure 3 As shown. The bearing rotates at 1800 r / min, the vibration sensor sampling frequency is 25600 Hz, and a scaling factor of 1.5 is selected, determining the segment length of the bearing vibration signal to be 1280. Observation. Figure 1After noise reduction, the bearing vibration signal shows that its amplitude is small and unchanged before 200 seconds. After 200 seconds, the amplitude increases slowly and then increases sharply around 280 seconds, indicating that the bearing has completely failed at this point. Based on this, it can be considered that the bearing is in the early degradation stage for the first 40% of the time, i.e., the first 100 seconds. The bearing signal segment during this period is selected as the training dataset. The remaining bearing life cycle degradation signals collected using the same method and parameters are processed to obtain the training dataset composed of early degradation signals.
[0154] S2. Assess the unhealthiness of the input signal by establishing a trained convolutional autoencoder:
[0155] In the convolutional autoencoder model, the kernel size of the convolutional layers and transposed convolutional layers is set to 5, and the stride is set to 2; the pooling size and stride of the pooling layers and unpooling layers are both set to 4. The batch size during training is 64, the number of training epochs is 50, and the learning rate is set to 0.001. The convolutional autoencoder is trained using the early degradation data training dataset in S1. Early degradation signals and late degradation signals are input into the convolutional autoencoder for reconstruction. The comparison between the original signal and the reconstructed signal is shown below. Figure 4 As shown in the comparison figure, for early degradation signals, the convolutional autoencoder learns the data pattern of the early degradation data very well and can reconstruct the original signal with high accuracy, but it cannot restore and reconstruct the signal at the end of the degradation.
[0156] The reconstruction error of the bearing's full-life-cycle vibration signal was calculated using a trained convolutional autoencoder. The reconstruction error calculation results are as follows: Figure 5 As shown in the figure, the reconstruction error of the bearing signal is close to 0 and relatively stable in the early stage of degradation, but the reconstruction error increases sharply when the failure is approaching. Figure 5 The reconstruction errors of the three bearing signals were all greater than 1 when the failure occurred, and the reconstruction error of bearing sample 1_1 exceeded 5.
[0157] S3. Establish an exponential mapping function to map the degree of unhealthiness into health factors that can directly reflect the health status of the equipment:
[0158] according to Figure 3The reconstruction error corresponding to the vibration signal of the bearing throughout its entire life cycle is shown. It can be seen that the reconstruction error of the bearing at the initial moment is close to 0, that is, no degradation has occurred, and the health factor at this time can be considered to be 0. When the bearing is in the rapid degradation period or failure period, its reconstruction error is close to or much greater than 1, and it can be determined that the HI of the bearing is less than 0.8, that is, HI(1)<0.8. According to the above observation, when b=-4, -5, -6, HI(0)=0.982, 0.993, 0.997. Considering the effect of the bias constant, the bias constant is set to -5; according to HI(1)<0.8, k>3.61 is obtained, so the shape parameter is set to 4. Taking k=4, b=-6 as the parameters of the exponential mapping function, and substituting them into S2, the health factor curves corresponding to the vibration signals of the three bearing samples can be obtained according to the reconstruction error calculated by the convolutional autoencoder. Figure 6 As shown.
[0159] S4. Real-time iterative prediction of the remaining service life of rotating machinery based on the Weibull reliability function and gradient descent method:
[0160] The Weibull failure reliability threshold is set to 0.05. A bearing is considered to have failed if its health factor HI is less than 0.05. The shape parameter β and size parameter η of the Weibull reliability function are initialized to 2 and 15000, respectively. Taking bearing sample 1_3 as an example, the test data includes the first 18010 seconds of signal throughout the bearing's entire lifespan. The first 2700 seconds of signal are selected as CAE training data. Thereafter, the Weibull reliability function is updated every 1000 seconds to predict the remaining lifespan of the bearing. The iterative prediction results are as follows: Figure 7 As shown. Figure 7 This indicates that as the working time increases and the parameters are iteratively updated, the error between the bearing remaining life prediction result of the Weibull reliability function and the actual remaining life gradually decreases, indicating that the Weibull reliability function has learned the mapping relationship between the bearing vibration signal and the remaining life.
[0161] Figure 8 The graph shows the remaining life prediction results of the Weibull reliability function for bearing sample 1_3 in the test set at 18000 seconds. Figure 8 This indicates that the predicted remaining life is 6876 seconds, while the actual remaining life is 5730 seconds, resulting in a prediction percentage error of 20%. The remaining life of the remaining bearing samples was predicted using the same method and steps. The prediction results obtained using this method, along with comparisons to results from other commonly used traditional algorithms, are shown in Table 1.
[0162] Table 1
[0163]
[0164]
[0165] The comparison demonstrates that this method can achieve high-precision prediction of the remaining service life of rotating machinery using only early degradation data.
[0166] In summary, this invention presents a digital twin-driven method and system for predicting the remaining life of rotating machinery in small samples. It trains a convolutional autoencoder using only early degradation signals and constructs a health factor using the convolutional autoencoder and an exponential mapping function. A Weibull reliability function is introduced as a degradation behavior model to describe the degradation trend of the rotating machinery. Based on the health factor, the parameters of the Weibull reliability function are updated, and the remaining life of the rotating machinery is calculated, achieving accurate and real-time prediction of the remaining life of rotating machinery in small sample scenarios.
[0167] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0168] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0169] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0170] In the embodiments provided by this invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0171] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0172] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0173] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.
[0174] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0175] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0176] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0177] The above content is only for illustrating the technical concept of the present invention and should not be construed as limiting the scope of protection of the present invention. Any modifications made to the technical solution based on the technical concept proposed in this invention shall fall within the scope of protection of the claims of this invention.
Claims
1. A method for predicting the remaining life of small-sample rotating machinery driven by digital twins, characterized in that, Includes the following steps: S1. Signal preprocessing for rotating machinery equipment, specifically: S101. For a measured device signal z(t), use a one-dimensional Kalman filter algorithm to establish the state equation of the device signal and estimate the optimal estimate obtained by superimposing the measured value with error and the observed value with error. S102. Divide the filtered signal x(t) obtained in step S101 into several signal segments of length N. The signal in the first 30% of the time is identified as the early degradation signal of the rotating machinery and used for training the subsequent algorithm model. The rest are test data. S2. Establish and train a convolutional autoencoder to evaluate the unhealthiness of the signal obtained in step S1, specifically as follows: S201. Construct a convolutional autoencoder neural network model; S202, The early degradation signal obtained after preprocessing in step S1 is: The input convolutional autoencoder is used to encode and decode the signal to obtain the reconstructed signal. The reconstruction error is calculated using the squared difference loss function; S203. Input the test signal into the trained convolutional autoencoder for signal reconstruction, calculate the reconstruction error between the test signal and the reconstructed signal, and use the reconstruction error as the degree of device unhealthiness corresponding to the test signal. S3. Establish an exponential mapping function to map the degree of unhealthiness obtained in step S2 into a health factor that can directly reflect the health status of the equipment, specifically: S301. Construct an exponential mapping function based on the definitions of unhealthiness level and health factor HI, and determine the hyperparameters of the exponential mapping function. The specific data of the exponential mapping function are as follows: Where k and b are the shape coefficient and bias constant of the exponential mapping function, respectively. This represents the reconstruction error; S302, process the M test signal segments obtained after preprocessing. After sorting by time, the health factors HI of the rotating machinery are obtained by sequentially inputting them into a convolutional autoencoder and an exponential mapping function. ; S4. Based on the Weibull reliability function and the health factor obtained in step S3, the remaining service life of the rotating machinery is predicted in real time using the gradient descent method, specifically as follows: S401. Initialize the Weibull reliability function; S402. Calculate the remaining service life of rotating machinery based on the Weibull reliability function, where the remaining service life of the rotating machinery at time t is... for: in, For theoretical failure operating time of rotating machinery, For the theoretical working time of rotating machinery, For scale parameters, For failure threshold reliability, For reliability, For shape parameters; S403. Based on the HI set obtained from the real-time measurement data in step S3, the gradient descent method is used to update the parameters of the Weibull reliability function. Steps S402 and S403 are repeated to achieve real-time iterative prediction of the remaining service life of rotating machinery under small sample conditions.
2. The method for predicting the remaining life of small-sample rotating machinery driven by digital twins according to claim 1, characterized in that, In step S101, z(t) is used as the observed value. Given the initial estimate at time k=0, the initial values of the state transition matrix A, process excitation noise covariance Q, measurement noise covariance R, and transformation matrix H, the signal x(t) after Kalman filtering and noise reduction of z(t) is obtained by iterative calculation.
3. The method for predicting the remaining life of small-sample rotating machinery driven by digital twins according to claim 1, characterized in that, In step S102, the segmentation length N of the device signal is: Where k is a scaling factor given by the user. The rotational frequency of rotating machinery, This represents the signal acquisition frequency.
4. A digital twin-driven system for predicting the remaining life of small-sample rotating machinery, characterized in that, include: The preprocessing module performs signal preprocessing on rotating machinery equipment, specifically as follows: For a measured equipment signal z(t), a one-dimensional Kalman filter algorithm is used to establish the state equation of the equipment signal and estimate the optimal estimate obtained by superimposing the measured value with error and the observed value with error. The filtered signal x(t) is divided into several signal segments of length N. The signal in the first 30% of the time is identified as the early degradation signal of the rotating machinery and used for training the subsequent algorithm model. The rest are test data. The evaluation module establishes a trained convolutional autoencoder to assess the unhealthiness of the signal obtained from the preprocessing module. Specifically: Construct a convolutional autoencoder neural network model; the early degradation signal obtained after preprocessing is... The input convolutional autoencoder is used to encode and decode the signal to obtain the reconstructed signal. The reconstruction error is calculated using the squared difference loss function; the test signal is input into the trained convolutional autoencoder for signal reconstruction, the reconstruction error between the test signal and the reconstructed signal is calculated, and the reconstruction error is used as the degree of device unhealthiness corresponding to the test signal; The mapping module establishes an exponential mapping function to map the degree of unhealthiness obtained from the evaluation module into health factors that directly reflect the health status of the equipment. Specifically: Based on the definitions of unhealthiness level and health factor HI, an exponential mapping function is constructed and its hyperparameters are determined. The specific data of the exponential mapping function are as follows: Where k and b are the shape coefficient and bias constant of the exponential mapping function, respectively. This represents the reconstruction error; The M test signal segments obtained after preprocessing After sorting by time, the health factors HI of the rotating machinery are obtained by sequentially inputting them into a convolutional autoencoder and an exponential mapping function. ; The prediction module, based on the Weibull reliability function and the health factor obtained from the mapping module, uses gradient descent to perform real-time iterative prediction of the remaining service life of rotating machinery. Specifically: Initialize the Weibull reliability function; The remaining service life of the rotating machinery at time t is calculated based on the Weibull reliability function. for: in, For theoretical failure operating time of rotating machinery, For the theoretical working time of rotating machinery, For scale parameters, For failure threshold reliability, For reliability, For shape parameters; Based on the HI set obtained from real-time measurement data, the Weibull reliability function is updated using the gradient descent method. By repeating the above steps, real-time iterative prediction of the remaining service life of rotating machinery under small sample conditions can be achieved.
Citation Information
Patent Citations
Method and system for predicting residual life of rotary machine part, medium and equipment
CN112418277A
System and Method for Calculating Remaining Useful Time of Objects
US20150262060A1
