A fault prediction method and system based on the launching process of submarine-launched UAV
Through the graph embedding graph network, combining time series and sensor graph attention network, and Gaussian process regression, accurate fault prediction of the submarine UAV launch process is achieved, which solves the problem of inability to accurately predict faults in the existing technology and improves safety and reliability.
Patent Information
- Application Number
- CN202410782660.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-18
AI Technical Summary
Existing technology cannot accurately predict failures during the launch of submarine-launched drones, leading to potential safety risks.
A fault prediction method based on graph embedding graph network is adopted, and multi-variable time series signals and sensor relationships are learned through time series graph attention network module T-GAT and sensor graph attention network module S-GAT, and Gaussian process regression is combined for fault prediction. Achieve accurate fault prediction for the launch process of submarine-launched UAVs.
It improves the safety and reliability of the submarine-launched UAV launch process, reduces the computational complexity, enhances the modeling ability and prediction accuracy of sensor network data, and ensures the stability and training effect of the model.
Smart Images

Figure CN118349960B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned aerial vehicle (UAV) fault prediction, and in particular to a fault prediction method and system based on a launching process of a submarine-launched UAV. Background Art
[0002] As an emerging technology, submarine-launched drones are aircraft with important civilian value. The safety and reliability of their launch process are crucial to ensuring the normal operation of the aircraft. In the civilian field, this technology is widely used, especially in the fields of ocean surveying, underwater detection, water quality testing, etc., and supports deep-sea environmental testing and resource surveys. Submarine-launched drones can also facilitate activities such as underwater archaeology, underwater exploration, and underwater filming, and provide new areas for scientific research and entertainment. In addition, this technology is also used in underwater search and rescue, environmental testing, and water safety assurance to improve the efficiency and safety of underwater operations.
[0003] The launch process of submarine-launched drones involves complex mechanical, electronic and control systems, and a failure may lead to serious accidents. Through fault prediction technology, potential fault factors can be discovered in advance, and repairs and adjustments can be made in time, thereby improving the safety of the launch process. Submarine-launched drones are carried by carriers with the drone folded in them, which are then launched on the surface after surfacing from the water. The safety and reliability of this process are crucial to ensuring the successful completion of the mission. Therefore, accurately predicting possible problems during the launch process is crucial to maintaining the reliability and stability of submarine-launched drones.
[0004] Therefore, there is a need for a safe, reliable, cost-effective and highly accurate fault prediction method and system based on the launch process of submarine-launched UAVs. Summary of the invention
[0005] The main purpose of the present invention is to provide a fault prediction method and system based on the launch process of a submarine-launched UAV, so as to solve the problem in the prior art that the launch process of a submarine-launched UAV cannot be accurately predicted.
[0006] To achieve the above object, the present invention provides a fault prediction method based on the launching process of a submarine-launched UAV, which specifically comprises the following steps:
[0007] S1, detects real-time data through sensors in the submarine-launched UAV carrier, generates a data set, and pre-processes the data set.
[0008] S2, inputs the preprocessed data into the time series graph attention network module T-GAT to learn the relationship between multivariate time series signals and extract signal features.
[0009] S3, inputs the preprocessed data into the sensor graph attention network module S-GAT, learns the relationship between sensors and aggregates the features extracted by T-GAT, and fuses the extracted features with the signal features extracted in step S2.
[0010] S4, the fused features are used as the input of the prediction network and Gaussian process regression, the corresponding prediction results are obtained through the prediction network and Gaussian process regression respectively, the prediction results are weighted averaged and fused to obtain the fault prediction results of the submarine-launched UAV launch process.
[0011] Furthermore, step S1 specifically includes the following steps:
[0012] S1.1, sensors detect real-time data and form data sets , the dataset consists of the node set and edge sets Composition, among which is the number of nodes, Representative nodes, Representative The first nodes.
[0013] S1.2, in order to quantitatively describe the connection relationship between nodes in the graph structure, the adjacency matrix is introduced ,like ,but ;like ,but .
[0014] Furthermore, step S2 specifically includes the following steps:
[0015] S2.1, when the preprocessed data is input into the time series graph attention network module T-GAT, each timestamp is regarded as a node, the value of the timestamp is used as the feature of the node, the relationship between the timestamps is regarded as an edge, and the time feature data of each sensor channel in the original data is scaled to the interval [1,1]:
[0016] (1);
[0017] in, represents the scaled feature time series, represents the original feature time series, represents the longest feature time series before scaling, Represents the shortest feature time series before scaling.
[0018] S2.2, shield part of the time series after scaling in step S2.1, and use the shielded time series as the target time series :
[0019] (2);
[0020] (3);
[0021] in, is the masked feature time series, is the slice function, is the scaled feature time series, is the masked feature time series Length, is the length of the target time series T.
[0022] S2.3, the masked feature time series Divided into odd and even sequences:
[0023] (4);
[0024] (5);
[0025] in, represents an odd-numbered sequence, Represents an even sequence.
[0026] Furthermore, step S2 further includes the following steps:
[0027] S2.4, the odd sequence and the even sequence are input into the fully connected neural network MLP of the graph attention network module GAT to extract the sensor node features :
[0028] (6);
[0029] in, , , Even-numbered feature time series The fusion features of each node data in For odd-numbered feature time series The fusion features of each node data in Even-numbered feature time series Middle Node data, For odd-numbered feature time series Middle Node data, is a fully connected neural network function for feature extraction, Represents a cascade operation, is the feature dimension of each node data.
[0030] S2.5, calculate the fusion features of each node :
[0031] (7);
[0032] in, is a nonlinear function, is the parameter matrix, It is a node in T-GAT To Node The normalized attention coefficient of Is a node The original features, that is, the sensor node features extracted by step S2.4 .
[0033] S2.6, The calculation formula is:
[0034] (8);
[0035] in, for The parameter matrix at for The parameter matrix at is the attention weight vector in T-GAT, where is the feature dimension, Represents an exponential function with the natural constant e as the base.
[0036] Furthermore, step S3 specifically includes the following steps:
[0037] S3.1, build dependency matrix :
[0038] (9);
[0039] in, For the The sensor channel detects the failure mode.
[0040] S3.2, calculate the detection weight of each sensor channel:
[0041] (10);
[0042] in, It is The detection weight of each sensor channel, For the The sensor channel detects the failure mode.
[0043] S3.3, select the test with the largest detection weight as the first test, that is, give priority to the test that can detect more faults; divide the matrix into two sub-matrices according to the selected test, the first sub-matrix The second submatrix consists of the rows of the dependency matrix corresponding to all the elements that are 1 in the selected test. The test sequence constructed by the dependency matrix consists of rows corresponding to all elements in the selected test that are 0 is ,in Represents the rows where all elements in the chosen test are 1.
[0044] S3.4, after the test selection for fault detection, the isolation weight of each test is calculated again :
[0045] (11);
[0046] in, is the number of element 0 of the corresponding column for each test, is the number of element 1 of the corresponding column for each test.
[0047] S3.5, the test with the largest isolation weight is used as the first test for isolation, and then the dependency matrix is divided into two sub-matrices according to the selected test; the first sub-matrix The second submatrix consists of the rows of the dependency matrix corresponding to all the elements that are 1 in the selected test. The test sequence is formed by the rows in the dependency matrix corresponding to all elements that are 0 in the selected test. ,in Represents the rows where all elements in the chosen test are 1.
[0048] Furthermore, step S3 also includes the following steps:
[0049] S3.6, based on the selected results of detection and isolation, the final test sequence is obtained .
[0050] S3.7, using irrational entropy as a complexity measure for feature extraction, the expression of irrational entropy is:
[0051] (12);
[0052] in, is the test vector in the dependency matrix, is the first elements, is the set of positions where all elements in the vector are 0, is the set of positions where all elements in the vector are 1, E is the irrational entropy, yes The probability that the element value is 0, yes The probability that the element value is 1.
[0053] The entropy is expressed by adding the first element values of the vectors based on the irrational entropy:
[0054] (13).
[0055] S3.8, p. The characteristic parameters of a node are defined as ,in, Representative The radius of the node, Representative The dimension of the nodes, represents the number of sensor nodes; the similarity between sensors is expressed as :
[0056] (14).
[0057] S3.9, make the node To Node The edges are retained and the rest are pruned. The mathematical formula is:
[0058] (15);
[0059] in, is the dependency matrix an element of is a function that selects the maximum value of k; in addition, Represents a slave node To Node The edges are not connected.
[0060] S3.10, the graph attention network module GAT is used to aggregate the signal features and sensor similarities. Each node Features after aggregation for:
[0061] (16);
[0062] in, , indicating a node The index set of neighbors of represents the activation function, where is the parameter matrix.
[0063] S3.11, introduces skip connection, that is, the features fused in step S3.10 The features fused with step S2.5 , and then fusion, where The calculation formula is:
[0064] (17);
[0065] in, Indicates The characteristic parameters of each node channel, Indicates the node in S-GAT To Node The normalized attention coefficient of Represents the attention weight vector in S-GAT.
[0066] Furthermore, step S4 specifically includes the following steps:
[0067] S4.1, As input, through the prediction network, we get the prediction sequence ,in Indicates the number of sequence elements:
[0068] (18);
[0069] in, represents the element in the prediction sequence, represents element-wise multiplication, It includes two FBL layers and one FBT layer. FBL stands for fully connected batch normalized rectified linear unit, and FBT stands for fully connected batch normalized Tanh, where Tanh is an activation function.
[0070] S4.2, define prediction loss :
[0071] (19);
[0072] in, represents the sample size, represents the target sequence, represents the prediction sequence of the i-th sample, and the objective function is expressed as the prediction loss.
[0073] S4.3, select the top k sensor node channels with the largest prediction loss to replace all channels, thereby obtaining the improved anomaly score as follows:
[0074] (20);
[0075] (twenty one);
[0076] in, is a hyperparameter; represents the set of the first k sensor node channels with the largest prediction loss, and the intermediate variable and Respectively represent The target sequence and predicted sequence of each node channel.
[0077] S4.4, when When , the test sample is judged as abnormal. It is defined according to the quantile principle on the validation set:
[0078] (twenty two);
[0079] in, represents the upper quantile limit, Represents the quantile distance of anomaly scores in the validation set.
[0080] Furthermore, step S4 further includes the following steps:
[0081] S4.5, the features fused in step S3.10 As the input of Gaussian process regression GPR, the probability distribution function Expressed as:
[0082] (twenty three);
[0083] in, represents the Gaussian regression function.
[0084] and is defined as a zero-mean function and a squared exponential covariance function :
[0085] (twenty four);
[0086] in, is the amplitude covariance; is the characteristic length scale.
[0087] S4.6, For regression problems, the goal of GPR is to learn a regression model , where the noise ,in is the variance of the noise, is the normal distribution function, the observed value [ y 1 , y 2 ,⋯, y n ] The prior distribution of It is expressed as:
[0088] (25);
[0089] in, is the identity matrix.
[0090] S4.7, for the model testing phase, assuming that the given test set Matches the training set The distribution of training output and the test output The joint prior Gaussian distribution of is obtained:
[0091] (26).
[0092] S4.8, Conditional Distribution Following the Gaussian distribution, the test output using Gaussian noise is predicted according to the conditional distribution of formulas (27), (28) and (29):
[0093] (27);
[0094] (28);
[0095] (29);
[0096] Among them, the mean As output The predicted value, covariance matrix Describe the corresponding uncertainty.
[0097] S4.9, the prediction results obtained by Gaussian process regression are weighted averaged with the prediction results obtained by the prediction network to obtain the prediction results of the GPR model and the prediction network, which are recorded as and , the final prediction result is obtained by using the weighted average method :
[0098] (30);
[0099] in, is the weight of the GPR prediction result, is the weight of the neural network prediction result, satisfying .
[0100] The present invention also provides a fault prediction system based on the launch process of a submarine-launched UAV, utilizing a fault prediction method based on the launch process of a submarine-launched UAV, including: a carrier, an edge computing device, and a display. The carrier is equipped with a variety of sensors and adapters, the adapter collects sensor data and transmits it to the edge computing device, the edge computing device is integrated with a fault prediction method based on the launch process of a submarine-launched UAV, and the display displays the prediction results calculated by the edge computing device.
[0101] Furthermore, the carrier is equipped with: an ignition system, an ejection device and a folded UAV. The ignition system drives the ejection device to start the ejection process of the UAV; after receiving the signal from the ignition system, the ejection device ejects the folded UAV out of the carrier, unfolds the UAV and starts flying.
[0102] Two pressure sensors are installed on the inner wall of the vehicle to detect changes in water pressure.
[0103] The ignition system is equipped with two pressure sensors to detect the pressure generated by the combustion of fuel.
[0104] The ejection device is equipped with a pressure sensor to detect the pressure data when the drone takes off. The ejection device is also equipped with an acceleration sensor to detect the vibration of the ejection device.
[0105] The present invention has the following beneficial effects:
[0106] 1. The present invention uses an improved graph embedding graph network unsupervised anomaly detection method GG-Nets for fault prediction. GG-Nets is composed of a time series graph attention network module T-GAT, a sensor graph attention network module S-GAT, a Gaussian process regression and a prediction network. T-GAT is used to learn the relationship between multivariate time series signals and extract signal features, while S-GAT is used to learn the relationship between sensors and aggregate the features extracted by T-GAT. This design enables the model to fully extract and integrate multivariate time series information.
[0107] 2. Reduce computational complexity using dual-input design: In T-GAT, the original multivariate time series is divided into odd-even sequences, which reduces the number of nodes, reduces model parameters, and speeds up inference while maintaining accuracy.
[0108] 3. By converting the dependency matrix into a key-value pair form and using it as the input of S-GAT, the relationship and characteristics between sensors can be better captured, and the modeling capability and prediction accuracy of sensor network data can be improved. The hash function can map similar inputs to similar outputs, maintaining the consistency of the relationship and characteristics between nodes. The hash function can also map high-dimensional input data to a low-dimensional representation, reducing the input dimension of the sensor GAT and reducing the computational complexity.
[0109] 4. A skip connection is implemented between T-GAT and S-GAT to avoid the gradient vanishing problem during training and retain the original information in each GAT, improving the stability of the model and the training effect.
[0110] 5. The aggregated node features are used as the input of the Gaussian process regression model, and the node labels are used as the output. By fitting the training data, the Gaussian process model is obtained and used to predict the test data. Finally, the Gaussian process regression prediction results are fused with the output of the prediction network model to improve the prediction accuracy and reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0111] In order to more clearly illustrate the specific implementation of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the specific implementation or the prior art description. Obviously, the drawings described below are some implementations of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0112] Figure 1 A flow chart of a fault prediction method based on a submarine-launched UAV launching process of the present invention is shown.
[0113] Figure 2 The present invention shows a structural diagram of a fault prediction system based on a submarine-launched UAV launch process. DETAILED DESCRIPTION
[0114] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example
[0115] like Figure 1 A fault prediction method based on the launching process of a submarine-launched UAV is shown, which specifically includes the following steps:
[0116] S1, detects real-time data through sensors in the submarine-launched UAV carrier, generates a data set, and preprocesses the data set. Preprocessing includes data cleaning.
[0117] S2, inputs the preprocessed data into the time series graph attention network module T-GAT to learn the relationship between multivariate time series signals and extract signal features.
[0118] S3, inputs the preprocessed data into the sensor graph attention network module S-GAT, learns the relationship between sensors and aggregates the features extracted by T-GAT, and fuses the extracted features with the signal features extracted in step S2.
[0119] S4, the fused features are used as the input of the prediction network and Gaussian process regression, the corresponding prediction results are obtained through the prediction network and Gaussian process regression respectively, the prediction results are weighted averaged and fused to obtain the fault prediction results of the submarine-launched UAV launch process.
[0120] The present invention utilizes an improved graph embedding graph network unsupervised anomaly detection method GG-Nets for fault prediction. GG-Nets is composed of a time series graph attention network module T-GAT, a sensor graph attention network module S-GAT, a Gaussian process regression and a prediction network.
[0121] The present invention realizes data collection through sensors. The collected data includes: power data, environmental data, wing data and watertight data. The collected data is divided into training set and test set. The pre-processed data is input into the time series graph attention network module T-GAT. In T-GAT, each timestamp is regarded as a node, the value of the timestamp is used as the feature of the node, and the relationship between the timestamps is regarded as an edge. The data is divided into odd-numbered sequences and even-numbered sequences, and input into the fully connected layer (i.e., FC layer) of the multi-layer perceptron MLP to extract features. The extracted features are fused and normalized to obtain fused signal features. At the same time, the preprocessed data will also be input into the sensor graph attention network module S-GAT, in which sensor devices are regarded as nodes and the relationship between sensors is regarded as edges. The data sequence is presented in the form of a dependency matrix, and a test sequence is formed by detection selection and isolation selection, and converted into a key-value pair form by a hash function, in which the entropy value is used as the key and the failure mode is used as the value. The sensor similarity calculation is performed, and the feature signal is aggregated through the graph attention network module. Next, the signal features extracted by T-GAT and S-GAT are fused, and input into the Gaussian process regression model and the prediction neural network model to obtain the prediction results respectively. Finally, these prediction results are fused to obtain the final prediction result.
[0122] Specifically, step S1 includes the following steps:
[0123] S1.1, sensors detect real-time data and form data sets , the dataset consists of the node set and edge sets Composition, among which is the number of nodes, Representative nodes, Representative The first nodes.
[0124] S1.2, in order to quantitatively describe the connection relationship between nodes in the graph structure, the adjacency matrix is introduced ,like ,but ;like ,but .
[0125] Dataset is a directed weighted data set, that is ,and Representation Node and nodes The connection relationship between them.
[0126] In the Time Series Graph Attention Network (T-GAT) module, each timestamp is considered as a node, the timestamp value is used as the node feature, and the relationship between timestamps is considered as an edge. In the Sensor Graph Attention Network (S-GAT), nodes usually represent sensors or devices, while edges represent the relationship between sensors. The dependency matrix describes the dependency relationship between nodes in the graph, that is, the weight or existence of the edge.
[0127] Specifically, step S2 includes the following steps:
[0128] S2.1, when the preprocessed data is input into the time series graph attention network module T-GAT, each timestamp is regarded as a node, the value of the timestamp is used as the feature of the node, the relationship between the timestamps is regarded as an edge, and the time feature data of each sensor channel in the original data is scaled to the interval [1,1]:
[0129] (1);
[0130] in, represents the scaled feature time series, represents the original feature time series, represents the longest feature time series before scaling, Represents the shortest feature time series before scaling.
[0131] S2.2, shield part of the time series after scaling in step S2.1, and use the shielded time series as the target time series :
[0132] (2);
[0133] (3);
[0134] in, is the masked feature time series, is the slice function, is the scaled feature time series, is the masked feature time series Length, is the length of the target time series T.
[0135] Representative from Select the data that does not need to be masked, starting from the 0th number, the data length is , as the remaining feature time series after masking. is from Start with a length of That is to say, the masked data is used as the test set, and the unmasked data is used as the training set.
[0136] S2.3, the masked feature time series Divided into odd and even sequences:
[0137] (4);
[0138] (5);
[0139] in, represents an odd-numbered sequence, Represents an even sequence.
[0140] Specifically, step S2 also includes the following steps:
[0141] S2.4, in order to capture the interaction between timestamps and extract the features of its neighboring nodes from the features of the node, the odd sequence and the even sequence are respectively input into the fully connected neural network MLP of the graph attention network module GAT to extract the sensor node features. :
[0142] (6);
[0143] in, , , Even-numbered feature time series The fusion features of each node data in For odd-numbered feature time series The fusion features of each node data in Even-numbered feature time series Middle Node data, For odd-numbered feature time series Middle Node data, is a fully connected neural network function for feature extraction, Represents a cascade operation, is the feature dimension of each node data.
[0144] S2.5, calculate the fusion features of each node :
[0145] (7);
[0146] in, is a nonlinear function, is the parameter matrix, It is a node in T-GAT To Node The normalized attention coefficient of Is a node The original features, that is, the sensor node features extracted by step S2.4 .
[0147] S2.6, skip connections are applied in T-GAT to preserve the information of the original time series signal and prevent the gradient from disappearing. The calculation formula is:
[0148] (8);
[0149] in, for The parameter matrix at for The parameter matrix at is the attention weight vector in T-GAT, where is the feature dimension, Represents an exponential function with the natural constant e as the base.
[0150] Specifically, step S3 includes the following steps:
[0151] S3.1, input the data preprocessed in step S1 into S-GAT. In order to convert the dependency matrix into a key-value pair, a hash function can be used to map the relationship between the node and its neighbor nodes into a key-value pair. Specifically, the feature vectors of each node and its neighbor nodes are combined into a key-value pair, and then mapped into a unique key-value pair through a hash function so as to serve as the input of the graph attention network module. , columns represent tests and rows represent failure modes. Constructing the dependency matrix :
[0152] (9);
[0153] in, For the The sensor channel detects the In each row of the matrix, each test response forms a vector, called a test vector or feature vector.
[0154] S3.2, in the dependency matrix, the tests can be optimized to reduce the diagnostic procedures. The detection weight of each sensor channel is calculated by calculating the sum of each column:
[0155] (10);
[0156] in, It is The detection weight of each sensor channel, For the The sensor channel detects the failure mode.
[0157] S3.3, select the test with the largest detection weight as the first test, that is, give priority to the test that can detect more faults; divide the matrix into two sub-matrices according to the selected test, the first sub-matrix The second submatrix consists of the rows of the dependency matrix corresponding to all the elements that are 1 in the selected test. The test sequence constructed by the dependency matrix consists of rows corresponding to all elements in the selected test that are 0 is ,in Represents the rows where all elements in the chosen test are 1.
[0158] Specifically: select the test with the largest detection weight as the first test, that is, give priority to the test that can detect more faults. Then, divide the matrix into two sub-matrices according to the selected test. The first sub-matrix The second submatrix consists of the rows in the dependency matrix that correspond to all the elements in the selected test that are 1. consists of the rows in the dependency matrix corresponding to all elements in the selected test that are 0. If the number of rows of is zero, the matrix division is terminated. Otherwise, The same calculation is performed to determine the second test. The above operation is repeated to determine the subsequent tests until the termination condition is reached. Finally, we get the test sequence .
[0159] S3.4, after the test selection for fault detection, the isolation weight of each test is calculated again :
[0160] (11);
[0161] in, is the number of element 0 of the corresponding column for each test, is the number of element 1 of the corresponding column for each test.
[0162] S3.5, the test with the largest isolation weight is used as the first test for isolation, and then the dependency matrix is divided into two sub-matrices according to the selected test; the first sub-matrix The second submatrix consists of the rows of the dependency matrix corresponding to all the elements that are 1 in the selected test. The test sequence is formed by the rows in the dependency matrix corresponding to all elements that are 0 in the selected test. ,in Represents the rows where all elements in the chosen test are 1.
[0163] Specifically, the test with the largest isolation weight is used as the first test for isolation, which means that this test has a greater degree of discrimination for different failure modes because it can better distinguish different failure modes. Then, the dependency matrix is divided into two sub-matrices according to the selected test. The first sub-matrix The second submatrix consists of the rows in the dependency matrix that correspond to all the elements in the selected test that are 1. It consists of rows in the dependency matrix corresponding to all elements in the selected test that are 0. For each submatrix, the isolation weight of each test can be calculated, and then the sum of the isolation weights in the submatrices of each test is calculated. The test with the largest isolation weight is selected as the second test. According to the result of matrix partitioning, the above operation is repeated for each submatrix. If all submatrices have only one row, the matrix partitioning is terminated. Finally, we get the test sequence .
[0164] Specifically, step S3 also includes the following steps:
[0165] S3.6, based on the selected results of detection and isolation, the final test sequence is obtained .
[0166] Specifically: Based on the selected results of detection and separation, the final test sequence can be obtained . Then, the columns in the matrix corresponding to the test sequence can be extracted to form a new matrix, called a fault dictionary. In order to improve the diagnostic efficiency and reduce the matching process, the characteristics of the dependency matrix, that is, the sum of the elements in each row, can be used to speed up the matching process. The sum of the elements of the test vector is matched with the sum of the rows of the matrix. If the sum is equal, the elements of the test vector are finally confirmed with the elements in each row of the matrix. At the same time, each test vector in the matrix can be converted into a single and unique value to improve the diagnostic efficiency.
[0167] S3.7, using irrational entropy as a complexity measure for feature extraction. The expression of irrational entropy can help describe the complexity and uncertainty of the system, thereby facilitating feature extraction and diagnosis. The expression of irrational entropy is:
[0168] (12);
[0169] in, is the test vector in the dependency matrix, is the first elements, is the set of positions where all elements in the vector are 0, is the set of positions where all elements in the vector are 1, E is the irrational entropy, yes The probability that the element value is 0, yes The probability that the element value is 1.
[0170] Considering two different vectors, but their element 0 and element 1 have the same entropy value interchangeably, the entropy is expressed by adding the first element values of the vectors based on the irrational entropy:
[0171] (13).
[0172] Through the de-rationalization process, the test vectors are converted into unique values because the sine values of different integers are different in the entropy calculation. Therefore, the dependency matrix can be represented as many key-value pairs, where the key is the entropy and the value is the failure mode.
[0173] S3.8, entropy value is an element of the sensor characteristic parameter vector, and together with other characteristic parameters, it constitutes a complete characteristic vector. The characteristic parameters of a node (i.e. sensor node) are defined as ,in, Representative The radius of the node, Representative The dimension of the nodes, represents the number of sensor nodes; the similarity between sensors is expressed as :
[0174] (14).
[0175] S3.9, make the node To Node The edges are retained and the rest are pruned. The mathematical formula is:
[0176] (15);
[0177] in, is the dependency matrix an element of is a function that selects the maximum value of k; in addition, Represents a slave node To Node The edges are not connected.
[0178] S3.10, the graph attention network module GAT is used to aggregate the signal features and sensor similarities. Each node Features after aggregation for:
[0179] (16);
[0180] in, , indicating a node The index set of neighbors of represents the activation function, where is the parameter matrix.
[0181] S3.11, introduces skip connection, that is, the features fused in step S3.10 The features fused with step S2.5 , and then fusion, where The calculation formula is:
[0182] (17);
[0183] in, Indicates The characteristic parameters of each node channel, Indicates the node in S-GAT To Node The normalized attention coefficient of Represents the attention weight vector in S-GAT.
[0184] Specifically, step S4 includes the following steps:
[0185] S4.1, As input, through the prediction network (i.e., the neural network model represented by steps S4.1-S4.4), the prediction sequence is obtained ,in Indicates the number of sequence elements:
[0186] (18);
[0187] in, represents the element in the prediction sequence, represents element-wise multiplication, It includes two FBL layers and one FBT layer. FBL stands for Fully Connected Batch Normalized Rectified Linear Unit (FC-BN-LeakyReLU), and FBT stands for Fully Connected Batch Normalized Tanh (FC-BN-Tanh), where Tanh is an activation function.
[0188] S4.2, define prediction loss :
[0189] (19);
[0190] in, represents the sample size, represents the target sequence, represents the prediction sequence of the i-th sample, and the objective function is expressed as the prediction loss.
[0191] S4.3, select the top k sensor node channels with the largest prediction loss to replace all channels, thereby obtaining the improved anomaly score as follows:
[0192] (20);
[0193] (twenty one);
[0194] in, is a hyperparameter indicating how many channels are selected; represents the set of the first k sensor node channels with the largest prediction loss, and the intermediate variable and Respectively represent The target sequence and predicted sequence of each node channel.
[0195] S4.4, when When , the test sample is judged as abnormal. It is defined according to the quantile principle on the validation set:
[0196] (twenty two);
[0197] in, represents the upper quantile limit, Represents the quantile distance of anomaly scores in the validation set.
[0198] Specifically, step S4 also includes the following steps:
[0199] S4.5, the features fused in step S3.10 As the input of Gaussian process regression GPR, GPR is a random process based on Bayesian theory. r =[ r 1 , r 2 ,..., r n ] , which is in the function The probability distribution on follows a Gaussian distribution. In other words, the average function and covariance function (also called kernel function) The GPR model can be uniquely determined. Probability distribution function Expressed as:
[0200] (twenty three);
[0201] in, represents the Gaussian regression function.
[0202] generally, and is defined as a zero-mean function and a squared exponential covariance function :
[0203] (twenty four);
[0204] in, is the amplitude covariance; is the characteristic length scale.
[0205] S4.6, For regression problems, the goal of GPR is to learn a regression model , where the noise , is the normal distribution function, where is the variance of the noise, the observed value [ y 1 , y 2 ,⋯, y n ] The prior distribution of It is expressed as:
[0206] (25);
[0207] in, is the identity matrix.
[0208] S4.7, for the model testing phase, assuming that the given test set Matches the training set The distribution of training output and the test output The joint prior Gaussian distribution of is obtained:
[0209] (26).
[0210] S4.8, Conditional Distribution Following the Gaussian distribution, the test output using Gaussian noise is predicted according to the conditional distribution of formulas (27), (28) and (29):
[0211] (27);
[0212] (28);
[0213] (29);
[0214] Among them, the mean As output The predicted value, covariance matrix Describe the corresponding uncertainty.
[0215] S4.9, the prediction results obtained by Gaussian process regression are weighted averaged with the prediction results obtained by the prediction network to obtain the prediction results of the GPR model and the prediction network, which are recorded as and , the final prediction result is obtained by using the weighted average method :
[0216] (30);
[0217] in, is the weight of the GPR prediction result, is the weight of the neural network prediction result, satisfying .
[0218] Embodiment 2
[0219] like Figure 2A fault prediction system based on the launch process of a submarine-launched UAV is shown, including: a carrier, an edge computing device and a display. The carrier is equipped with a variety of sensors and adapters. The adapter collects sensor data and transmits it to the edge computing device. The edge computing device integrates a fault prediction method based on the launch process of a submarine-launched UAV. The display shows the prediction results calculated by the edge computing device, and the prediction results are fed back to the display so that the staff can perform subsequent operations. The improved graph embedding graph network unsupervised anomaly detection method GG-Nets is applied to the edge computing device for model training. After training, the model can effectively identify anomalies in the data and improve the online detection performance of the device. After training, the model detects data in real time on the edge computing device, quickly responds to and handles anomalies, and reduces dependence on the central server.
[0220] Specifically, the carrier is equipped with: an ignition system, an ejection device and a folded UAV. The ignition system drives the ejection device to start the ejection process of the UAV; the ejection device receives the signal from the ignition system, ejects the folded UAV out of the carrier through a launching mechanism, unfolds it and starts the flight; when the ejection device is started through the ignition system, the folded UAV will be ejected, unfolded and start to perform the flight mission.
[0221] Two pressure sensors are installed on the inner wall of the carrier to detect water pressure changes and detect watertightness problems in a timely manner. At the same time, a water surface wave detection device is installed on the inner wall of the carrier to evaluate the water surface wave conditions in real time to determine whether the water surface is suitable for the takeoff of the submarine-launched UAV. The four adapters in the carrier are used to connect and support various sensors and equipment to realize data collection, communication, control and other functions to ensure the coordinated operation and effective detection of the entire system. Through the detection and data collection of these sensors, the launch and takeoff process of the submarine-launched UAV can be effectively monitored and guaranteed, improving the reliability and safety of the system.
[0222] The ignition system is equipped with two pressure sensors to detect the pressure generated by the burning fuel to ensure that sufficient power is provided for the drone to take off.
[0223] The ejection device is equipped with a pressure sensor to detect the pressure data when the drone takes off. The ejection device is also equipped with an acceleration sensor to detect the vibration of the ejection device.
[0224] The folded drone is equipped with two attitude sensors, two pressure sensors and two acceleration sensors, which jointly detect the expansion of the drone's wings to ensure that the drone can be ejected and take off normally.
[0225] Specifically, edge computing devices are devices used to process and compute data near the data source, usually located at the edge of the network, close to the data generation source or end user. Its main function is to process, analyze and make decisions in real time at the place where the data is generated, so as to reduce data transmission delay and improve system response speed and efficiency. The advantages of edge computing devices include the following: first, it can achieve low-latency data processing and response; second, processing at the place where the data is generated helps to protect data privacy and security; in addition, by processing data at the edge, network bandwidth requirements can be reduced, data transmission costs and network burdens can be reduced; in addition, edge computing devices can process and compute data locally, and can operate normally even without network connection, improving the stability and reliability of the system; finally, edge computing devices can assist cloud computing, share some computing tasks, reduce pressure on the cloud, and improve the performance and efficiency of the entire system.
[0226] Specifically, the inference test results (i.e., prediction results) are fed back to the display so that the staff can perform subsequent operations, including but not limited to viewing detailed analysis reports, further data processing, taking corresponding actions or adjusting decisions. Such a feedback mechanism can help staff obtain and understand the inference test results in a timely manner, speed up the decision-making process, and improve work efficiency and accuracy. At the same time, as a terminal device for information display, the display is intuitive and easy to read, and can directly present the inference test results, so that the staff can quickly understand the situation and respond accordingly, so as to better deal with various situations and problems.
[0227] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.
Claims
1. A fault prediction method based on the launching process of a submarine-launched UAV, characterized in that: The specific steps include: S1, detects real-time data through sensors in the submarine-launched UAV carrier, generates a data set, and pre-processes the data set; S2, inputs the preprocessed data into the time series graph attention network module T-GAT to learn the relationship between multivariate time series signals and extract signal features; S3, input the preprocessed data into the sensor graph attention network module S-GAT, learn the relationship between sensors and aggregate the features extracted by T-GAT, and fuse the extracted features with the signal features extracted in step S2; S4, taking the fused features as the input of the prediction network and Gaussian process regression, obtaining the corresponding prediction results through the prediction network and Gaussian process regression respectively, and performing weighted average fusion on the prediction results to obtain the fault prediction results of the launching process of the submarine-launched UAV; Step S2 specifically includes the following steps: S2.1, when the preprocessed data is input into the time series graph attention network module T-GAT, each timestamp is regarded as a node, the value of the timestamp is used as the feature of the node, the relationship between the timestamps is regarded as an edge, and the time feature data of each sensor channel in the original data is scaled to the interval [1,1]: (1); in, represents the scaled feature time series, represents the original feature time series, represents the longest feature time series before scaling, Represents the shortest feature time series before scaling; S2.2, shield part of the time series after scaling in step S2.1, and use the shielded time series as the target time series : (2); (3); in, is the masked feature time series, is the slice function, is the scaled feature time series, is the masked feature time series Length, is the length of the target time series T; S2.3, the masked feature time series Divided into odd and even sequences: (4); (5); in, represents an odd-numbered sequence, Represents an even sequence; Step S2 also includes the following steps: S2.4, the odd sequence and the even sequence are input into the fully connected neural network MLP of the graph attention network module GAT to extract the sensor node features : (6); in, , , Even-numbered feature time series The fusion features of each node data in For odd-numbered feature time series The fusion features of each node data in Even-numbered feature time series Middle Node data, For odd-numbered feature time series Middle Node data, is a fully connected neural network function for feature extraction, Represents a cascade operation, is the characteristic dimension of each node data; S2.5, calculate the fusion features of each node : (7); in, is a nonlinear function, is the parameter matrix, It is a node in T-GAT To Node The normalized attention coefficient of Is a node The original features, that is, the sensor node features extracted by step S2.4 ; S2.6, The calculation formula is: (8); in, for The parameter matrix at for The parameter matrix at is the attention weight vector in T-GAT, where is the feature dimension, It represents the exponential function with the natural constant e as the base; Step S3 specifically includes the following steps: S3.1, build dependency matrix : (9); in, For the The sensor channel detects the failure modes; S3.2, calculate the detection weight of each sensor channel: (10); in, It is The detection weight of each sensor channel, For the The sensor channel detects the failure modes; S3.3, select the test with the largest detection weight as the first test, that is, give priority to the test that can detect more faults; divide the matrix into two sub-matrices according to the selected test, the first sub-matrix The second submatrix consists of the rows of the dependency matrix corresponding to all the elements that are 1 in the selected test. The test sequence constructed by the dependency matrix consists of rows corresponding to all elements in the selected test that are 0 is ,in represents the rows where all elements in the selected test are 1; S3.4, after the test selection for fault detection, the isolation weight of each test is calculated again : (11); in, is the number of element 0 of the corresponding column for each test, is the number of element 1 of the corresponding column for each test; S3.5, the test with the largest isolation weight is used as the first test for isolation, and then the dependency matrix is divided into two sub-matrices according to the selected test; the first sub-matrix The second submatrix consists of the rows of the dependency matrix corresponding to all the elements that are 1 in the selected test. The test sequence is formed by the rows in the dependency matrix corresponding to all elements that are 0 in the selected test. ,in represents the rows where all elements in the selected test are 1; Step S3 also includes the following steps: S3.6, based on the selected results of detection and isolation, the final test sequence is obtained ; S3.7, using irrational entropy as a complexity measure for feature extraction, the expression of irrational entropy is: (12); in, is the test vector in the dependency matrix, is the first elements, is the set of positions where all elements in the vector are 0, is the set of positions where all elements in the vector are 1, E is the irrational entropy, yes The probability that the element value is 0, yes The probability that the element value is 1; The entropy is expressed by adding the first element values of the vectors based on the irrational entropy: (13); S3.8, p. The characteristic parameters of a node are defined as ,in, Representative The radius of the node, Representative The dimension of the nodes, represents the number of sensor nodes; the similarity between sensors is expressed as : (14); S3.9, make the node To Node The edges are retained and the rest are pruned. The mathematical formula is: (15); in, is the dependency matrix an element of is a function that selects the maximum value of k; in addition, Represents a slave node To Node The edges of are not connected; S3.10, the graph attention network module GAT is used to aggregate the signal features and sensor similarities. Each node Features after aggregation for: (16); in, , indicating a node The index set of neighbors of represents the activation function, where is the parameter matrix; S3.11, introduces skip connection, that is, the features fused in step S3.10 The features fused with step S2.5 , and then fusion, where The calculation formula is: (17); in, Indicates The characteristic parameters of each node channel, Indicates the node in S-GAT To Node The normalized attention coefficient of Represents the attention weight vector in S-GAT; Step S4 specifically includes the following steps: S4.1, As input, through the prediction network, we get the prediction sequence ,in Indicates the number of sequence elements: (18); in, represents the element in the prediction sequence, represents element-wise multiplication, It includes two FBL layers and one FBT layer. FBL stands for fully connected batch normalized rectified linear unit, and FBT stands for fully connected batch normalized Tanh, where Tanh is an activation function. S4.2, define prediction loss : (19); in, represents the sample size, represents the target sequence, represents the prediction sequence of the i-th sample, and the objective function is expressed as the prediction loss; S4.3, select the top k sensor node channels with the largest prediction loss to replace all channels, thereby obtaining the improved anomaly score as follows: (20); (21); in, is a hyperparameter; represents the set of the first k sensor node channels with the largest prediction loss, and the intermediate variable and Respectively represent The target sequence and predicted sequence of each node channel; S4.4, when When , the test sample is judged as abnormal. It is defined according to the quantile principle on the validation set: (22); in, represents the upper quantile limit, represents the quantile distance of the anomaly score in the validation set; Step S4 also includes the following steps: S4.5, the features fused in step S3.10 As the input of Gaussian process regression GPR, the probability distribution function Expressed as: (23); in, represents the Gaussian regression function; and is defined as a zero-mean function and a squared exponential covariance function : (24); in, is the amplitude covariance; is the characteristic length scale; S4.6, For regression problems, the goal of GPR is to learn a regression model , where the noise ,in is the variance of the noise, is the normal distribution function, the observed value The prior distribution of It is expressed as: (25); in, is the identity matrix; S4.7, for the model testing phase, assuming that the given test set Matches the training set The distribution of training output and the test output The joint prior Gaussian distribution of is obtained: (26); S4.8, Conditional Distribution Following the Gaussian distribution, the test output using Gaussian noise is predicted according to the conditional distribution of formulas (27), (28) and (29): (27); (28); (29); Among them, the mean As output The predicted value, covariance matrix Describe the corresponding uncertainty; S4.9, the prediction results obtained by Gaussian process regression are weighted averaged with the prediction results obtained by the prediction network to obtain the prediction results of the GPR model and the prediction network, which are recorded as and , the final prediction result is obtained by using the weighted average method : (30); in, is the weight of the GPR prediction result, is the weight of the neural network prediction result, satisfying .
2. A fault prediction method based on the launching process of a submarine-launched UAV according to claim 1, characterized in that: Step S1 specifically includes the following steps: S1.1, sensors detect real-time data and form data sets , the dataset consists of the node set and edge sets Composition, among which is the number of nodes, Representative nodes, Representative The first nodes; S1.2, in order to quantitatively describe the connection relationship between nodes in the graph structure, the adjacency matrix is introduced ,like ,but ;like ,but .
3. A fault prediction system based on the launch process of a submarine-launched UAV, using the method described in any one of claims 1-2, characterized in that: include: A carrier, an edge computing device and a display. The carrier is equipped with a variety of sensors and adapters. The adapter collects sensor data and transmits it to the edge computing device. The edge computing device is integrated with the fault prediction method based on the launch process of the submarine-launched UAV. The display shows the prediction results calculated by the edge computing device.
4. A fault prediction system based on the launching process of a submarine-launched UAV according to claim 3, characterized in that: The carrier is equipped with: an ignition system, an ejection device and a folded UAV. The ignition system drives the ejection device to start the ejection process of the UAV. After receiving a signal from the ignition system, the ejection device ejects the folded UAV out of the carrier, unfolds the UAV and starts flying. Two pressure sensors are installed on the inner wall of the vehicle to detect changes in water pressure; The ignition system is equipped with two pressure sensors to detect the pressure generated by the combustion of fuel; The ejection device is equipped with a pressure sensor to detect the pressure data when the drone takes off. The ejection device is also equipped with an acceleration sensor to detect the vibration of the ejection device.
Citation Information
Patent Citations
Multi-potential subspace information fusion earthquake short-term and temporary prediction method based on LSTM (Long Short Term Memory)
CN113610147A
Network fault prediction method and device based on self-supervised unwrapping hypergraph attention
CN115174421A
Transform anomaly detection method based on spatio-temporal characteristics
CN115618196A
Dam monitoring time sequence data anomaly detection method based on graph attention network
CN115618296A
Data-driven electric vehicle battery remaining life prediction method
CN117805658A
