Digital twin escalator life prediction method based on spatial reconstruction attention model
Through the digital twin escalator life prediction method based on the spatial reconstruction attention model, sensor data is used for feature selection and analysis, which solves the problem of insufficient sensor data, achieves accurate prediction of escalator life, and reduces the risk of accidents.
Patent Information
- Application Number
- CN202210564442.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-23
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-05-23
AI Technical Summary
Existing technology makes it difficult to effectively utilize limited sensor data for escalator health monitoring and life prediction, resulting in missing data, small data volume, or data errors, making it difficult to achieve real-time monitoring and maintenance, and increasing the risk of accidents.
A digital twin escalator life prediction method based on the spatial reconstruction attention model is adopted. By establishing a digital twin five-dimensional model, real-time vibration data is collected, time domain features are extracted, features with monotonicity values greater than the threshold are selected, features are generated, and spatial repetition is used. The structural attention model is used to analyze and predict the remaining service life of the escalator.
Effective use of single sensor data reduces dependence on sensor data, improves prediction accuracy, simplifies the structure, enhances practicability, enables accurate life prediction in the case of insufficient data, and reduces the risk of accidents.
Smart Images

Figure CN114997292B
Abstract
Description
Technical Field
[0001] The present invention relates to an escalator life prediction method in the field of time series analysis, and specifically relates to a digital twin escalator life prediction method based on a spatial reconstruction attention model. Background Art
[0002] With the continuous development of the Industrial 4.0 era, information technology is gradually promoting industrial transformation, which requires us to establish a highly flexible personalized and digital production model as soon as possible. Digital twins, as a mapping from physical space to information space, are the key technology for realizing intelligent manufacturing. The continuous advancement of urbanization has made escalators widely used in production and life, which is closely related to people's daily travel safety. Due to the long operation time and frequent use of escalator public facilities, the frequency of their failures is getting higher and higher, resulting in accidents that endanger people. Therefore, it is necessary to monitor and maintain the health of escalators, but it is difficult to collect fault signals in actual use and it is difficult to test escalators in real time in real life, which leads to data missing, small data volume or data errors. This makes the monitoring and health management process difficult to implement. Therefore, constructing a method that can effectively utilize limited sensor data can reduce dependence on sensors and avoid the occurrence of some accidents. Therefore, the study of a digital twin escalator life prediction method based on spatial reconstruction attention model is of great significance. Summary of the invention
[0003] In order to solve the technical problems and needs existing in the background technology, the present invention proposes a digital twin escalator life prediction method based on a spatial reconstruction attention model.
[0004] The technical solution of the present invention is as follows:
[0005] The present invention comprises the following steps:
[0006] S1: Establish a five-dimensional digital twin model of the escalator. The dimensions of the five-dimensional digital twin model include the actual escalator, digital twin escalator, escalator vibration data, escalator sensors, and data analysis platform;
[0007] S2: Collecting the real-time vibration data of the actual escalator through the escalator sensor and transmitting the real-time vibration data to the data analysis platform;
[0008] S3: Extract features from the real-time vibration data in the data analysis platform from the time domain perspective, select the extracted features based on whether the monotonicity exceeds a threshold, and then generate features based on the selected features to obtain the generated features;
[0009] S4: Use the spatial reconstruction attention model to analyze the generated features and obtain the remaining service life of the digital twin escalator.
[0010] In S1, the twin escalator model is constructed according to the parameters of the actual escalator to simulate the movement of the actual escalator.
[0011] In S2, real-time vibration data of the actual escalator is collected by one of the escalator sensors.
[0012] The S3 is specifically:
[0013] S31: Extract the time domain features of real-time vibration data in the data analysis platform,
[0014] S32: Calculate the corresponding monotonicity value according to the extracted time domain features of the real-time vibration data, and select the time domain features whose monotonicity value is greater than a threshold;
[0015] The calculation formula of the monotonicity value of the time domain feature is as follows:
[0016]
[0017] Among them, f i is the i-th time domain feature of real-time vibration data, n is the number of points of real-time vibration data, diff(f i ) is to find the difference of the i-th time domain feature of the real-time vibration data, Num() is to find the number of operations, Monotonicity(f i ) is the i-th time domain feature f of real-time vibration data i The monotonicity value of .
[0018] S33: generating features of the selected time domain features through principal component discrimination to obtain generated features.
[0019] The spatial reconstruction attention model in S4 is specifically:
[0020] The generated features are input into the spatial reconstruction layer in the spatial reconstruction attention model. The spatial reconstruction layer is connected to the position encoding layer. The position encoding layer is connected to the multi-head connection layer after the multi-head attention mechanism layer. The output of the position encoding layer is cascaded with the output of the multi-head connection layer and then input into the standardization layer. The standardization layer is connected to the normalization layer. The output of the normalization layer is used as the remaining service life of the current twin escalator.
[0021] After the generated features are reconstructed in phase space in the space reconstruction layer, the phase space features are output.
[0022] The beneficial effects of the present invention are:
[0023] The present invention only needs to obtain single sensor data of the escalator, and then perform feature selection processing on the single column vibration sensor data and input it into the spatial reconstruction attention model to predict the remaining service life.
[0024] Compared with the existing technology, the present invention can effectively solve the current situation that it is difficult to monitor and manage the health of electromechanical products due to missing data, small data volume and data errors in actual data collection. It effectively utilizes sensor data for analysis, has a simple structure, high innovation, high prediction accuracy, and strong practicality. It greatly reduces the dependence of digital twin construction on sensor data, which is conducive to the construction of digital twins. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 Schematic diagram of the process of this method.
[0026] Figure 2 Schematic diagram of the structure of the spatial reconstruction attention model.
[0027] Figure 3 This is a five-dimensional model of the escalator. DETAILED DESCRIPTION
[0028] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0029] like Figure 1 As shown, the present invention comprises the following steps:
[0030] S1: Establish a five-dimensional digital twin model of the escalator. The dimensions of the five-dimensional digital twin model include the actual escalator, the digital twin escalator, the escalator vibration data, the escalator sensor and the data analysis platform, such as Figure 3 As shown;
[0031] S2: The real-time vibration data of the actual escalator is collected through the escalator sensor and transmitted to the data analysis platform. The data analysis platform stores and sends the real-time vibration data to the computer. The training samples of the spatial reconstruction attention model are the historical vibration data stored in the data analysis platform;
[0032] In S2, real-time vibration data of the actual escalator is collected through one of the escalator sensors.
[0033] In a specific implementation, the vibration data of the escalator main drive chain is used as the real-time vibration data of the actual escalator. The vibration data measured by other escalator components can also be used as the real-time vibration data of the actual escalator. In addition, the vibration data of two or more components can be fused and used as the real-time vibration data of the escalator.
[0034] S3: Extract features from the real-time vibration data in the data analysis platform from the time domain perspective, select the extracted features based on whether the monotonicity exceeds a threshold, and then generate features based on the selected features to obtain the generated features;
[0035] S3 is specifically:
[0036] S31: extracting time domain features of the real-time vibration data in the data analysis platform, where the time domain features of the vibration data are specifically variance, kurtosis, skewness, root mean square, peak-to-peak value, standard deviation, etc. There are at least two time domain features.
[0037] S32: Calculate the corresponding monotonicity value according to the time domain features of the extracted vibration data, and select the time domain features whose monotonicity value is greater than the threshold; the time domain feature with the largest monotonicity value can best reflect the degradation trend.
[0038] The calculation formula of the monotonicity value of the time domain feature is as follows:
[0039]
[0040] Among them, f i is the i-th time domain feature of real-time vibration data, n is the number of points of real-time vibration data, diff(f i ) is to find the difference of the i-th time domain feature of the real-time vibration data, Num() is a number operation, which calculates the number of conditions in the brackets. Monotonicity(f i ) is the i-th time domain feature f of real-time vibration data i The monotonicity value of .
[0041] S33: generating features of the selected time domain features through principal component discrimination to obtain generated features.
[0042] like Figure 2 As shown, the spatial reconstruction attention model in S4 is specifically:
[0043] The generated features are input into the spatial reconstruction layer in the spatial reconstruction attention model. The spatial reconstruction layer is connected to the position encoding layer. The position encoding layer is connected to the multi-head connection layer after the multi-head attention mechanism layer. The output of the position encoding layer is cascaded with the output of the multi-head connection layer and then input into the standardization layer. The standardization layer is connected to the normalization layer. The output of the normalization layer is used as the remaining service life of the current actual escalator.
[0044] In the space reconstruction layer, the generated features are reconstructed in phase space and the phase space features are output.
[0045] In the specific implementation, a spatial reconstruction attention model is constructed based on the Transformer model, in which the spatial reconstruction (PSR) layer serves as the embedding layer in the Transformer to reconstruct the feature signal. The PSR layer uses the Takkens theorem to expand the reconstructed single-dimensional feature data to a phase space that is topologically equivalent to its original power system. The PSR layer also needs to select the delay time and dimension of the phase space.
[0046] 1. Select the delay time through the mutual information function. First, obtain the initial and extended time system, M: (m1, m2, ..., m t ) and N:(n1,n2,...,n t ), the information entropy of the two time systems is:
[0047]
[0048]
[0049] P is the probability of an event occurring, and the mutual information of system N can be obtained through the time system M:
[0050] I(N,M)=H(M)-H(M|N)
[0051]
[0052] The first minimum value is the minimum delay to be selected;
[0053] 2. According to the selected time delay τ, the phase space system is reconstructed on the dimension m determined initially, and the reconstructed phase space is obtained as follows:
[0054]
[0055] For each dimension, calculate the distance between the i-th vector and other vectors, where each x(i) in the phase space has a nearest neighbor x N (i), calculate their distance:
[0056] R d (i)=||x(i)-x N (i)||
[0057] The distance will also change as the dimension changes:
[0058]
[0059] Define a as:
[0060]
[0061] Substituting the previous into the equation:
[0062]
[0063] Calculate E1(m), where E1(m)=E1 * (m+1) / E1 * (m), The dimension in which E1(m) is stable is the phase space dimension to be selected.
[0064] 3. The one-dimensional feature signal is reconstructed into the phase space using the selected delay and dimension, and then the PSR layer performs position encoding on the output phase space features, where the encoding process is:
[0065]
[0066]
[0067] Next, the encoded feature sequence data is processed using the self-attention mechanism to allocate attention, where the query vector Q, key vector K and value vector V in the attention mechanism are skip-connected in a manner similar to the residual network.
[0068] The generation method of Q, K, and V is as follows:
[0069]
[0070] become
[0071]
[0072] The attention value is obtained as:
[0073]
[0074] in, is the square root of the dimension of the key vector.
[0075] Then, multiple identical calculations are concatenated through a multi-head connection layer:
[0076] MultiHead(Q',K',V')=Concat(head1,head2,...,head h )W O
[0077] After the multi-head attention layer, the sequence passes through the Add&Norm layer, which also uses a skip-layer connection structure similar to the residual network:
[0078] LayerNorm(X+MultiHeadAttention(X))
[0079] LayerNorm(X+FeedForward(X))
[0080] The feature sequence after the Add&Norm layer passes through the normalization layer, which remaps the multi-dimensionality into one dimension to analyze the remaining useful life.
[0081] S4: Use the spatial reconstruction attention model to analyze the generated features and obtain the remaining service life of the current digital twin escalator; the spatial reconstruction layer expands the dimension of the selected features, and the attention layer assigns different attentions to the features after dimension expansion.
[0082] In summary, the present invention proposes a digital twin escalator life prediction method based on a spatial reconstruction attention model. This method performs feature selection processing on a single column of sensor data, proposes a spatial reconstruction attention model based on the Transformer method, and inputs the feature-selected data into the spatial reconstruction attention model to predict the remaining service life. Compared with the existing technology, the present invention reduces the dependence on sensor data. The proposed method is simple to operate, has a clear and simple structure, and is highly practical.
Claims
1. A digital twin escalator life prediction method based on spatial reconstruction attention model, characterized in that: The following steps are involved: S1: Establish a five-dimensional digital twin model of the escalator. The dimensions of the five-dimensional digital twin model include the actual escalator, digital twin escalator, escalator vibration data, escalator sensors, and data analysis platform; S2: Collecting the real-time vibration data of the actual escalator through the escalator sensor and transmitting the real-time vibration data to the data analysis platform; S3: Extract features from the real-time vibration data in the data analysis platform from the time domain perspective, select the extracted features based on whether the monotonicity exceeds a threshold, and then generate features based on the selected features to obtain the generated features; S4: Use the spatial reconstruction attention model to analyze the generated features and obtain the remaining service life of the digital twin escalator; The S3 is specifically: S31: Extract the time domain features of real-time vibration data in the data analysis platform, S32: Calculate the corresponding monotonicity value according to the extracted time domain features of the real-time vibration data, and select the time domain features whose monotonicity value is greater than a threshold; The calculation formula of the monotonicity value of the time domain feature is as follows: Among them, f i is the i-th time domain feature of real-time vibration data, n is the number of points of real-time vibration data, diff(f i ) is to find the difference of the i-th time domain feature of the real-time vibration data, Num() is to find the number of operations, Monotonicity(f i ) is the i-th time domain feature f of real-time vibration data i The monotonicity value of S33: generating features of the selected time domain features through principal component discrimination to obtain generated features.
2. According to claim 1, a digital twin escalator life prediction method based on spatial reconstruction attention model is characterized in that: In S1, the twin escalator model is constructed according to the parameters of the actual escalator to simulate the movement of the actual escalator.
3. According to claim 1, a digital twin escalator life prediction method based on spatial reconstruction attention model is characterized in that: In S2, real-time vibration data of the actual escalator is collected by one of the escalator sensors.
4. According to claim 1, a digital twin escalator life prediction method based on spatial reconstruction attention model is characterized in that: The spatial reconstruction attention model in S4 is specifically: The generated features are input into the spatial reconstruction layer in the spatial reconstruction attention model. The spatial reconstruction layer is connected to the position encoding layer. The position encoding layer is connected to the multi-head connection layer after the multi-head attention mechanism layer. The output of the position encoding layer is cascaded with the output of the multi-head connection layer and then input into the standardization layer. The standardization layer is connected to the normalization layer. The output of the normalization layer is used as the remaining service life of the current twin escalator.
5. According to claim 4, a digital twin escalator life prediction method based on spatial reconstruction attention model is characterized in that: After the generated features are reconstructed in phase space in the space reconstruction layer, the phase space features are output.
