A flight test data anomaly detection method, system, device and storage medium
By using the AT-GRU hybrid network model and adaptive threshold determination technology, the shortcomings of traditional telemetry data interpretation methods are addressed, enabling efficient and accurate anomaly detection of telemetry data and reducing the risk of failure.
Patent Information
- Application Number
- CN202611305225.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-20
AI Technical Summary
Traditional manual interpretation methods for telemetry data cannot meet the demands for intelligence, efficiency, and precision in the flight tests of new-generation launch vehicles. The large amount of data and complex parameter coupling increase the difficulty of interpretation, and fixed thresholds are difficult to adapt to dynamic changes in parameters.
The AT-GRU hybrid network model is used for telemetry data preprocessing. The maximum mutual information coefficient is calculated to filter the correlation parameters, a multidimensional training dataset is constructed, and anomalies are determined by adaptive threshold. Thresholds are dynamically generated using the mean and standard deviation of historical prediction deviation sequences.
This improves the automation and accuracy of telemetry data anomaly detection, reducing the risk of missed and false alarms in flight malfunctions.
Smart Images

Figure CN123139079A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of aircraft telemetry data processing and anomaly detection technology, and in particular to a method, system, device and storage medium for anomaly detection of flight test data. Background Technology
[0002] Rocket flight tests are inherently high-risk; any abnormal parameters or flight malfunctions during flight can pose a serious threat to critical ground facilities, test equipment, and the safety of people and property within the flight area. Therefore, the ground command and control center must conduct real-time analysis of key telemetry parameters throughout the rocket's flight, quickly identify abnormal states, promptly assess malfunction risks, and formulate emergency response decisions. Telemetry data anomaly detection, as a core component of flight malfunction diagnosis, involves screening for abnormal parameters and uncovering potential causes of malfunctions from massive amounts of flight test data. It is a crucial technical means to ensure rocket flight reliability and launch success rates.
[0003] For a long time, the engineering field has mainly relied on a manual interpretation model combining threshold comparison, natural language criteria, and expert experience to interpret telemetry data. However, with the continuous iteration of new-generation launch vehicles, rocket system designs have become increasingly complex, the comprehensiveness and refinement of flight test schemes have significantly improved, and telemetry data transmission rates have been continuously upgraded, with peak parameter transmission reaching 8MB per second. The total data volume of a single test is five to ten times that of traditional models. This explosive growth in data volume has led to a sharp increase in the workload of traditional manual interpretation and a significant increase in the difficulty of interpretation.
[0004] Furthermore, traditional interpretation systems lack unified and standardized parameter criteria. Thresholds are mostly set based on expert experience or manually determined using historical data, making it difficult to adapt to the interpretation needs of massive amounts of telemetry data and unable to output reliable flight status assessment results comprehensively, accurately, and quickly. Meanwhile, the large amount of time-series telemetry data generated throughout the rocket's flight exhibits complex dynamic changes, with close coupling relationships between various system parameters, leading to blurred boundaries and difficulty in distinguishing between abnormal modes and normal operating conditions. Traditional manual interpretation methods are no longer sufficient to meet the intelligent, efficient, and precise experimental interpretation requirements of next-generation rockets. There is an urgent need to develop an intelligent and automated telemetry data anomaly detection method to provide reliable technical support for aerospace researchers to quickly assess flight status and make mission decisions. Summary of the Invention
[0005] To address the aforementioned technical problems, this invention provides a method, system, device, and storage medium for detecting anomalies in flight test data.
[0006] Firstly, the present invention provides a method for detecting anomalies in flight test data, the technical solution of which is as follows: Acquire telemetry data from the flight test and preprocess the telemetry data; Calculate the maximum mutual information coefficient between each parameter in the preprocessed telemetry data, select the associated parameters that are related to the parameter to be detected based on the maximum mutual information coefficient, and combine the parameter to be detected and the associated parameters into a multi-dimensional training dataset and test dataset. An AT-GRU hybrid network model is constructed and trained using the training dataset. The AT-GRU hybrid network model includes an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer. The feature extraction layer consists of multiple fully connected neural networks with LeakyReLU activation function. The attention layer fuses features from different dimensions. The test dataset is input into the trained AT-GRU hybrid network model to obtain the predicted value of the parameter to be detected, and the prediction deviation is calculated based on the predicted value and the true value of the parameter to be detected. An adaptive threshold is dynamically generated for the current moment based on the mean and standard deviation of the historical prediction deviation sequence. The prediction deviation is compared with the adaptive threshold. If the prediction deviation exceeds the adaptive threshold, the telemetry data for the current moment is determined to be abnormal.
[0007] The beneficial effects of the flight test data anomaly detection method of the present invention are as follows: The method of this invention filters correlated parameters by calculating the maximum mutual information coefficient among parameters in the preprocessed telemetry data to construct a multidimensional training dataset and a test dataset. It then uses an AT-GRU hybrid network model, which includes an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer, to perform deep feature extraction and prediction on the multidimensional time-series data. Simultaneously, it dynamically generates an adaptive threshold based on the mean and standard deviation of historical prediction deviation sequences for anomaly detection. This solves the problems of high workload, inconsistent interpretation standards, and the inability of fixed thresholds to adapt to dynamic parameter changes in traditional manual interpretation methods. It improves the automation and accuracy of telemetry data anomaly detection and reduces the risk of missed and false alarms in flight faults.
[0008] Based on the above scheme, the flight test data anomaly detection method of the present invention can be further improved as follows.
[0009] In one alternative approach, the step of preprocessing the telemetry data includes: The telemetry data is spliced together using time series data, duplicate data is removed, and the data is resampled to a uniform sampling frequency. Missing values with a missing proportion below a set threshold are filled using imputation, while samples with a missing proportion above the set threshold are discarded. Outliers are cleaned using the moving average method, and the calculation formula for the moving average method is as follows: in, This represents the filtering result at time t. Represents the observed value at time ti. Represents the observed value at time t+i. Represents the observed value at time t. Indicates the radius of the sliding window; The cleaned data is normalized using max-min or z-score normalization methods, and the normalized data is then sliced into time series segments to obtain the preprocessed telemetry data.
[0010] The advantages of using the above-mentioned optional methods are as follows: further time series splicing and resampling of telemetry data, filtering out outliers by moving average method and normalization processing, so that parameters from different sources and with different dimensions are transformed into high-quality data in a unified format, providing a standardized data foundation for subsequent correlation parameter screening and model training.
[0011] In one alternative approach, the step of calculating the maximum mutual information coefficient between each parameter in the preprocessed telemetry data includes: Form ordered pairs from the data of any two parameters. ,exist direction and The ordered pairs in the direction The scatter plot is divided into grids, and the ordered pairs are... The probability distribution under the grid partitioning method is denoted as... When the grid is divided into OK When listing, follow the formula The amount of information is calculated under different grid partitioning methods, where, Indicates the grid division method The amount of information below, Represents the ordered pair exist OK Mutual information values under column grid partitioning Denotes the joint probability density function. and Represents the marginal probability density function; according to the formula Calculate the characteristic matrix According to the formula Calculate the maximum mutual information coefficient, where, Representing variables and variables The maximum mutual information coefficient, This indicates the maximum number of grid divisions. This represents the sample size of the ordered pair.
[0012] The beneficial effects of adopting the above optional method are as follows: further obtaining the maximum mutual information coefficient between each parameter through grid partitioning and mutual information calculation, thereby quantifying the parameter correlation strength and filtering the correlated parameters, so that the multidimensional training dataset covers parameters that are coupled with the parameters to be detected, and improving the model's ability to capture the implicit correlation between parameters.
[0013] In one alternative approach, the step of combining the parameters to be detected with the associated parameters to form a multi-dimensional training dataset and a test dataset includes: Use size The sliding window performs sliding segmentation on the multi-dimensional telemetry data with a step size of 1, dividing it into... Group data unit: in, Indicates the first Dimensional parameters in Monitoring values at any given time Indicates the duration of the sliding window. Indicates the starting position number of the sliding window; adds a label to each group of data cells: in, Indicates that the parameter to be detected is in Monitoring values at any given time; The order of the labeled data units is shuffled using a shuffle method to generate the training dataset and the test dataset.
[0014] The advantages of using the above optional methods are as follows: further segmenting and labeling the multidimensional telemetry data using a sliding window, generating training and test datasets by shuffling the order, makes the sample distribution more balanced, avoids interference from the order of time series data on model training, and helps improve the generalization performance of the model.
[0015] In one alternative approach, the feature extraction layer consists of multiple fully connected neural networks, each of which has a two-layer structure and a loss rate set to a preset loss rate; the GRU layer has a dual hidden layer structure; the GRU layer extracts the temporal features of the time series data; the attention layer fuses the temporal features of different dimensions output by the GRU layer; the output layer consists of two fully connected neural network layers, and the output layer outputs the predicted value of the parameter to be detected.
[0016] The beneficial effects of adopting the above-mentioned optional approach are as follows: further extracting data features through multiple sets of two-layer fully connected neural networks, capturing time series patterns by using a double-hidden-layer GRU, and fusing time features of different dimensions with the help of an attention mechanism, so that the network can fully explore the deep time series information of telemetry data, thereby improving the accuracy of prediction results.
[0017] In one alternative approach, both fully connected neural network layers of the output layer use the LeakyReLU function as the activation function; each fully connected neural network in the feature extraction layer uses the LeakyReLU function as the activation function to perform dimensionality reduction processing on the input telemetry data, generate feature vectors, and then input them into the GRU layer.
[0018] The advantages of adopting the above optional approach are as follows: by further using the LeakyReLU activation function in both the feature extraction layer and the output layer, the phenomenon of neuron death can be alleviated while retaining negative information. The feature extraction layer performs dimensionality reduction processing on the input telemetry data to reduce redundant information interference and make the feature vector expression more compact.
[0019] In one alternative approach, the step of dynamically generating the adaptive threshold for the current moment based on the mean and standard deviation of the historical prediction bias sequence includes: Obtain the historical prediction deviation sequence prior to the current prediction point. This historical prediction deviation sequence consists of prediction deviations from multiple historical moments prior to the current prediction point, where the prediction deviation at each moment is the absolute value of the difference between the predicted value and the actual value. Calculate the mean and standard deviation of the historical prediction deviation sequence according to the formula. Calculate the current time Adaptive threshold; express Adaptive threshold at time intervals This represents the mean of the prediction bias sequence. The standard deviation of the prediction bias sequence is represented by... Indicates the length of the historical deviation window; Wherein, the prediction deviation sequence follows the current prediction point The adaptive threshold is updated point by point through sliding, so that it changes dynamically over time.
[0020] The advantages of adopting the above-mentioned optional method are: further, an adaptive threshold is dynamically generated based on the mean and standard deviation of the historical prediction deviation sequence, so that the threshold can be adjusted in real time according to the actual fluctuation of telemetry data, avoiding the problem that fixed thresholds are difficult to adapt to dynamic changes in parameters, and reducing the risk of missed and false alarms in the anomaly judgment process.
[0021] Secondly, the present invention provides a flight test data anomaly detection system, the technical solution of which is as follows: The processing module is used to acquire telemetry data from the flight test and preprocess the telemetry data. The partitioning module is used to calculate the maximum mutual information coefficient between each parameter in the preprocessed telemetry data, select the associated parameters that are related to the parameter to be detected based on the maximum mutual information coefficient, and combine the parameter to be detected and the associated parameters into a multi-dimensional training dataset and test dataset. The training module is used to construct an AT-GRU hybrid network model. The AT-GRU hybrid network model is trained using the training dataset. The AT-GRU hybrid network model includes an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer. The feature extraction layer is composed of multiple fully connected neural networks and the activation function is the LeakyReLU function. The attention layer fuses features from different dimensions. The prediction module is used to input the test dataset into the trained AT-GRU hybrid network model to obtain the predicted value of the parameter to be detected, and to calculate the prediction deviation based on the predicted value and the true value of the parameter to be detected. The detection module is used to dynamically generate an adaptive threshold for the current moment based on the mean and standard deviation of the historical prediction deviation sequence, compare the prediction deviation with the adaptive threshold, and if the prediction deviation exceeds the adaptive threshold, determine that the telemetry data at the current moment is abnormal.
[0022] The beneficial effects of the flight test data anomaly detection system of the present invention are as follows: The system of this invention filters associated parameters by calculating the maximum mutual information coefficient among parameters in the preprocessed telemetry data to construct a multidimensional training dataset and a test dataset. It uses an AT-GRU hybrid network model containing an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer to perform deep feature extraction and prediction on the multidimensional time series data. At the same time, it dynamically generates an adaptive threshold based on the mean and standard deviation of the historical prediction deviation sequence for anomaly detection. This solves the problems of large workload, inconsistent interpretation standards, and fixed thresholds that are difficult to adapt to the dynamic changes of parameters in traditional manual interpretation methods. It improves the automation and accuracy of telemetry data anomaly detection and reduces the risk of missed and false alarms of flight failures.
[0023] Thirdly, the technical solution of an electronic device according to the present invention is as follows: The system includes a memory, a processor, and a program stored in the memory and running on the processor, wherein the processor executes the program to implement the steps of the flight test data anomaly detection method of the present invention.
[0024] Fourthly, the technical solution of a computer-readable storage medium provided by the present invention is as follows: The computer-readable storage medium stores instructions that, when read, cause the computer-readable storage medium to perform the steps of the flight test data anomaly detection method of the present invention.
[0025] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other objects, features and advantages of the present invention more obvious and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0026] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 This is a flowchart illustrating an embodiment of a flight test data anomaly detection method of the present invention; Figure 2 This is a schematic diagram of the AT-GRU hybrid network model structure; Figure 3 A schematic diagram of the multi-dimensional time series data prediction process; Figure 4 This is a schematic diagram of an embodiment of the flight test data anomaly detection system of the present invention; Figure 5 This is a schematic diagram of an embodiment of an electronic device according to the present invention. Detailed Implementation
[0027] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0028] Figure 1 This diagram illustrates a flowchart of an embodiment of a flight test data anomaly detection method provided by the present invention. This method can be executed by electronic devices such as terminal devices or servers. The terminal device can be any fixed or mobile terminal, such as user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, vehicle-mounted device, or wearable device. The server can be a single server or a server cluster consisting of multiple servers. Any electronic device can implement the flight test data anomaly detection method by having its processor call computer-readable instructions stored in its memory. Figure 1 As shown, it includes the following steps: S1. Acquire telemetry data from the flight test and preprocess the telemetry data.
[0029] Flight testing refers to actual flight tests conducted to verify the design performance of an aircraft, assess flight safety and reliability, or obtain flight environment data. For example, in a flight test of the Type A launch vehicle, the rocket flew along a predetermined trajectory, and the ground telemetry and control system continuously collected and recorded various sensor output data throughout the flight. Telemetry data refers to various parameter monitoring data collected by onboard sensors and transmitted to the ground receiving station via telemetry transmission channels during the flight test. For example, in the flight test of the Type A launch vehicle, the telemetry data acquired by the ground receiving station includes the monitored values of parameters such as the first-stage engine combustion chamber pressure, engine fuel pump outlet pressure, oxidizer pump outlet pressure, fuel pump speed, and oxidizer pump speed at various points throughout the flight.
[0030] S2. Calculate the maximum mutual information coefficient between each parameter in the preprocessed telemetry data, select the associated parameters that are related to the parameter to be detected based on the maximum mutual information coefficient, and combine the parameter to be detected and the associated parameters into a multi-dimensional training dataset and test dataset.
[0031] The preprocessed telemetry data refers to the data obtained after performing time series splicing, duplicate value removal, resampling, missing value completion or sample discarding, outlier cleaning, normalization, and time series slicing on the original telemetry data. For example, the original telemetry data file obtained from the flight test of the A-type launch vehicle is spliced into a time series. The out-of-order data is reordered according to the timestamp, duplicate storage records are removed, all parameters are resampled to a uniform sampling frequency, missing values with a missing ratio not exceeding a set threshold are filled using the imputation method, samples with a missing ratio exceeding the set threshold are discarded, outliers are cleaned using the moving average method, and then the parameter data are transformed to a uniform dimension using the max-min normalization or z-score normalization method. Finally, the data is sliced according to the time series to obtain the preprocessed telemetry data.
[0032] The maximum mutual information coefficient (MIC) is an index used to measure the strength of linear or nonlinear correlation between two variables. Its value ranges from [0,1], with a larger value indicating a stronger correlation. For example, the MIC is calculated between the first-stage engine combustion chamber pressure and the engine fuel pump outlet pressure, the combustion chamber pressure and the oxidizer pump outlet pressure, the combustion chamber pressure and the fuel pump speed, the combustion chamber pressure and the oxidizer pump speed, and any other two parameters in the telemetry data from the A-type launch vehicle flight test. The magnitude of the calculated MIC determines the degree of correlation between each parameter, allowing for the subsequent selection of parameters with a higher correlation to the combustion chamber pressure. The parameter to be detected refers to the target parameter that needs to be interpreted for abnormal states during the anomaly detection process of the flight test telemetry data. For example, in the A-type launch vehicle flight test, the first-stage engine combustion chamber pressure is used as the parameter to be detected to determine whether the combustion chamber pressure exhibits abnormal fluctuations or deviates from the normal operating range at various times throughout the flight. Correlation parameters refer to other telemetry parameters that are determined to have a strong correlation with the parameter to be detected after being measured by the maximum mutual information coefficient. For example, if the maximum mutual information coefficient is used to calculate and it is determined that there is a strong correlation between the four parameters of engine fuel pump outlet pressure, oxidizer pump outlet pressure, fuel pump speed and oxidizer pump speed and the combustion chamber pressure of the first stage engine, then these four parameters are used as correlation parameters of combustion chamber pressure.
[0033] The training dataset refers to the multidimensional time-series dataset used for parameter learning and weight adjustment during the construction of the prediction model. For example, the combustion chamber pressure of a first-stage engine is combined with four associated parameters after time alignment to form a multidimensional time-series dataset, using a dataset of size [size missing]. A sliding window is used to segment multi-dimensional telemetry data. A portion of the segmented data units is used as the training dataset to train the AT-GRU hybrid network model, enabling the model to learn the mapping relationship between combustion chamber pressure and four associated parameters. The test dataset refers to a multi-dimensional time-series dataset used to evaluate the model's predictive performance after training, but not involved in the model training process itself. For example, another portion of the data units segmented by the sliding window is used as the test dataset. This test dataset is not involved in the training of the AT-GRU hybrid network model. After training, the test dataset is input into the trained model to verify the accuracy of the model's predictions of the combustion chamber pressure of the first-stage engine.
[0034] S3. Construct an AT-GRU hybrid network model. Train the AT-GRU hybrid network model using the training dataset. The AT-GRU hybrid network model includes an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer. The feature extraction layer consists of multiple fully connected neural networks with the LeakyReLU activation function. The attention layer fuses features from different dimensions.
[0035] The AT-GRU hybrid network model refers to a hybrid deep learning network structure based on gated recurrent units, used for deep feature extraction and prediction of multi-dimensional time series data. For example, the structure of the AT-GRU hybrid network model includes an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer. The input layer receives multi-dimensional time series data consisting of the combustion chamber pressure of a first-stage engine and its four associated parameters. After processing by each layer, the predicted value of the combustion chamber pressure is output.
[0036] The input layer refers to the entry structure in the AT-GRU hybrid network model used to receive external input data, which is multi-dimensional time-series data. For example, the monitoring values of the combustion chamber pressure of a first-stage engine and four related parameters at multiple historical moments are organized chronologically into multi-dimensional time-series data, which is then input into the AT-GRU hybrid network model through the input layer. The feature extraction layer refers to the network structure in the AT-GRU hybrid network model used for dimensionality reduction and feature abstraction of the input data. It consists of multiple fully connected neural networks, each using the LeakyReLU function as its activation function. For example, after the multi-dimensional time-series data received by the input layer is passed to the feature extraction layer, the multiple fully connected neural networks perform dimensionality reduction on the five dimensions of the time-series data, extracting feature vectors related to changes in combustion chamber pressure, and then outputting these feature vectors to the GRU layer. The GRU layer refers to the gated recurrent unit network structure in the AT-GRU hybrid network model used to extract long-term dependency features from time-series data. For example, the feature vectors output from the feature extraction layer are input into the GRU layer in chronological order. The GRU layer uses a gating mechanism to capture the changing patterns of the feature vectors over time, extracting the temporal features and outputting them to the attention layer. The attention layer refers to the network structure in the AT-GRU hybrid network model used for adaptive weighted fusion of temporal features from different dimensions. For example, the temporal features of the combustion chamber pressure dimension output from the GRU layer and the temporal features of the four associated parameter dimensions are simultaneously input into the attention layer. The attention layer assigns weights according to the importance of different dimensional features in predicting combustion chamber pressure, fuses the weighted features, and outputs the fused features to the output layer. The output layer refers to the network structure in the AT-GRU hybrid network model used to map the fused features to the final prediction result and output it. It consists of two fully connected neural network layers. For example, the fused features output from the attention layer are input into the output layer, then sequentially mapped by the two fully connected neural network layers, outputting the predicted value of the first-stage engine combustion chamber pressure at a future time.
[0037] The LeakyReLU function refers to an improved linear rectified activation function that allows small non-zero gradients to pass through when the input value is negative, thus alleviating the problem that neurons cannot be activated in the negative region by the standard linear rectified function. For example, in the feature extraction layer of the AT-GRU hybrid network model, each fully connected neural network uses the LeakyReLU function as the activation function, and the two fully connected neural network layers in the output layer also use the LeakyReLU function as the activation function. This preserves non-zero gradients for the negative parts of the output of each neuron in the fully connected neural network, enabling the model to continuously update parameters during training.
[0038] S4. Input the test dataset into the trained AT-GRU hybrid network model to obtain the predicted value of the parameter to be detected, and calculate the prediction deviation based on the predicted value and the true value of the parameter to be detected.
[0039] The predicted value refers to the estimated value of the parameter to be detected at a certain moment, output by the trained AT-GRU hybrid network model after the test dataset is input. For example, the monitored values of the first-stage engine combustor pressure and four related parameters at multiple historical moments in the test dataset are input into the trained AT-GRU hybrid network model, and the model calculates and outputs the predicted value of the combustor pressure at the current moment. The true value refers to the monitored value of the parameter to be detected at a certain moment, actually collected during the flight test. For example, the actual monitored value of the first-stage engine combustor pressure at the current moment, collected by the onboard sensor and transmitted to the ground receiving station during the actual flight test, is taken as the true value of the combustor pressure at the current moment.
[0040] The prediction bias refers to the absolute value of the difference between the predicted value and the true value of the parameter to be detected at the same moment. For example, the prediction value of the first-stage engine combustion chamber pressure output by the AT-GRU hybrid network model at the current moment is subtracted from the true value of the combustion chamber pressure collected at the current moment, and the absolute value is taken to obtain the prediction bias at the current moment.
[0041] S5. Dynamically generate an adaptive threshold for the current moment based on the mean and standard deviation of the historical prediction deviation sequence, compare the prediction deviation with the adaptive threshold, and if the prediction deviation exceeds the adaptive threshold, determine that the telemetry data at the current moment is abnormal.
[0042] The historical prediction deviation sequence refers to a data sequence formed by arranging the prediction deviations of multiple consecutive historical moments before the current moment in chronological order. For example, before the current moment, the prediction deviations of the first-stage engine combustion chamber pressure of multiple consecutive historical moments are arranged in chronological order to form a set of historical prediction deviation sequences that change over time, which are used to calculate the mean and standard deviation of the sequence.
[0043] The adaptive threshold at the current moment refers to the anomaly judgment boundary value dynamically calculated based on the statistical distribution characteristics of the historical prediction deviation sequence prior to the current moment. For example, the historical prediction deviation sequence is composed of the prediction deviations of the first-stage engine combustion chamber pressure at multiple historical moments prior to the current moment, and the mean of this sequence is calculated. and standard deviation Using the formula The adaptive threshold at the current time is calculated. This threshold is updated point by point as the current moment slides, and is used to compare with the prediction deviation at the current moment to determine whether the combustion chamber pressure is abnormal. The telemetry data at the current moment refers to the monitoring values of the parameters to be detected and related parameters collected by the onboard sensors and transmitted to the ground receiving station at the current moment during the flight test; for example, at the current moment, the real-time monitoring values of five parameters collected by the onboard sensors—the combustion chamber pressure of the first-stage engine, the engine fuel pump outlet pressure, the oxidizer pump outlet pressure, the fuel pump speed, and the oxidizer pump speed—together constitute the telemetry data at the current moment.
[0044] The technical solution of this embodiment filters related parameters by calculating the maximum mutual information coefficient between parameters in the preprocessed telemetry data to construct a multidimensional training dataset and a test dataset. It uses an AT-GRU hybrid network model containing an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer to perform deep feature extraction and prediction on the multidimensional time series data. At the same time, it dynamically generates an adaptive threshold based on the mean and standard deviation of the historical prediction deviation sequence for anomaly judgment. This solves the problems of large workload, inconsistent judgment standards, and fixed thresholds that are difficult to adapt to the dynamic changes of parameters in traditional manual interpretation methods. It improves the automation and accuracy of telemetry data anomaly detection and reduces the risk of missed and false alarms of flight faults.
[0045] In one alternative approach, the step of preprocessing the telemetry data includes: The telemetry data is spliced together using time series data, duplicate data is removed, and the data is resampled to a uniform sampling frequency.
[0046] The unified sampling frequency refers to resampling parameters with inconsistent sampling frequencies in the original data file to a common frequency value during the telemetry data preprocessing process. For example, in the flight test of the A-type launch vehicle, the sampling frequency of the engine fuel pump outlet pressure is 200Hz, the sampling frequency of the combustion chamber pressure is 100Hz, and the sampling frequency of the fuel pump speed is 50Hz. By resampling, the sampling frequency of all parameters is uniformly adjusted to 100Hz, which is equivalent to collecting 100 data points per second.
[0047] Missing values with a missing proportion below a set threshold are filled using imputation, while samples with a missing proportion above the set threshold are discarded.
[0048] The threshold setting refers to the proportion limit used to determine whether missing values can be filled or whether samples need to be discarded during the telemetry data preprocessing process. For example, the threshold setting for the missing proportion is predetermined to be 20%. During the preprocessing process, missing positions in the first-stage engine combustion chamber pressure parameters after the sampling frequency is unified are filled using the filling method. Other samples with a missing proportion exceeding the threshold are directly discarded and not included in the subsequent dataset construction.
[0049] It should be noted that the threshold for the missing proportion can be dynamically adjusted according to the data quality of different telemetry parameters. The imputation methods include mean imputation, median imputation, mode imputation, or nearest value imputation to adapt to the missing patterns of different types of telemetry data.
[0050] Outliers are cleaned using the moving average method, and the calculation formula for the moving average method is as follows: in, This represents the filtering result at time t. Represents the observed value at time ti. Represents the observed value at time t+i. Represents the observed value at time t. This represents the radius of the sliding window.
[0051] The cleaned data is normalized using max-min or z-score normalization methods, and the normalized data is then sliced into time series segments to obtain the preprocessed telemetry data.
[0052] In the above-mentioned optional methods, the telemetry data is further spliced and resampled in time series, outliers are filtered out by moving average method and normalization is applied to transform parameters from different sources and with different dimensions into high-quality data in a unified format, providing a standardized data foundation for subsequent correlation parameter screening and model training.
[0053] In one alternative approach, the step of calculating the maximum mutual information coefficient between each parameter in the preprocessed telemetry data includes: Form ordered pairs from the data of any two parameters. ,exist direction and The ordered pairs in the direction The scatter plot is divided into grids, and the ordered pairs are... The probability distribution under the grid partitioning method is denoted as... ; When the grid is divided into OK When listing, follow the formula The amount of information is calculated under different grid partitioning methods, where, Indicates the grid division method The amount of information below, Represents the ordered pair exist OK Mutual information values under column grid partitioning Denotes the joint probability density function. and Represents the marginal probability density function; according to the formula Calculate the characteristic matrix According to the formula Calculate the maximum mutual information coefficient, where, Representing variables and variables The maximum mutual information coefficient, This indicates the maximum number of grid divisions. This represents the sample size of the ordered pair.
[0054] It should be noted that when the telemetry data sample size is n, the maximum number of grid divisions is... Values To achieve a balance between computational complexity and correlation detection accuracy.
[0055] In the above optional methods, the maximum mutual information coefficient between each parameter is further obtained through grid partitioning and mutual information calculation. This is used to quantify the correlation strength between parameters and filter the associated parameters, so that the multidimensional training dataset covers parameters that are coupled with the parameters to be detected, thereby improving the model's ability to capture implicit correlations between parameters.
[0056] In one alternative approach, the step of combining the parameters to be detected with the associated parameters to form a multi-dimensional training dataset and a test dataset includes: Use size The sliding window performs sliding segmentation on the multi-dimensional telemetry data with a step size of 1, dividing it into... Group data unit: in, Indicates the first Dimensional parameters in Monitoring values at any given time Indicates the duration of the sliding window. Indicates the starting position number of the sliding window; adds a label to each group of data cells: in, Indicates that the parameter to be detected is in Monitoring values at any given time; The order of the labeled data units is shuffled using a shuffle method to generate the training dataset and the test dataset.
[0057] In the above-mentioned optional methods, a sliding window is further used to segment and label the multidimensional telemetry data. By shuffling the order to generate training and test datasets, the sample distribution is made more balanced, avoiding interference from the order of time series data on model training, which helps to improve the generalization performance of the model.
[0058] In one alternative approach, the feature extraction layer consists of multiple fully connected neural networks, each of which has a two-layer structure and a loss rate set to a preset loss rate; the GRU layer has a dual hidden layer structure; the GRU layer extracts the temporal features of the time series data; the attention layer fuses the temporal features of different dimensions output by the GRU layer; the output layer consists of two fully connected neural network layers, and the output layer outputs the predicted value of the parameter to be detected.
[0059] In the above-mentioned optional methods, data features are further extracted through multiple sets of two-layer fully connected neural networks, time series patterns are captured by using a double-hidden-layer GRU, and time features of different dimensions are fused with the help of an attention mechanism, so that the network can fully explore the deep time series information of telemetry data, thereby improving the accuracy of prediction results.
[0060] In one alternative approach, both fully connected neural network layers of the output layer use the LeakyReLU function as the activation function; each fully connected neural network in the feature extraction layer uses the LeakyReLU function as the activation function to perform dimensionality reduction processing on the input telemetry data, generate feature vectors, and then input them into the GRU layer.
[0061] In the above optional approach, the LeakyReLU activation function is further adopted in both the feature extraction layer and the output layer. This not only preserves negative information but also alleviates the phenomenon of neuron death. The feature extraction layer performs dimensionality reduction processing on the input telemetry data to reduce redundant information interference and make the feature vector expression more compact.
[0062] In one alternative approach, the step of dynamically generating the adaptive threshold for the current moment based on the mean and standard deviation of the historical prediction bias sequence includes: Obtain the historical prediction deviation sequence prior to the current prediction point. This historical prediction deviation sequence consists of prediction deviations from multiple historical moments prior to the current prediction point, where the prediction deviation at each moment is the absolute value of the difference between the predicted value and the actual value. Calculate the mean and standard deviation of the historical prediction deviation sequence according to the formula. Calculate the current time Adaptive threshold; express Adaptive threshold at time intervals This represents the mean of the prediction bias sequence. The standard deviation of the prediction bias sequence is represented by... Indicates the length of the historical deviation window; Wherein, the prediction deviation sequence follows the current prediction point The adaptive threshold is updated point by point through sliding, so that it changes dynamically over time.
[0063] It should be noted that the historical deviation window length Based on the sampling frequency and periodic characteristics of the parameters to be detected, the historical prediction deviation sequence is updated point by point as the current prediction point moves during the prediction point sliding process, ensuring that the adaptive threshold can reflect the statistical characteristics of recent data.
[0064] In the above-mentioned optional methods, an adaptive threshold is further dynamically generated based on the mean and standard deviation of the historical prediction deviation sequence. This allows the threshold to be adjusted in real time according to the actual fluctuation of telemetry data, avoiding the problem that fixed thresholds are difficult to adapt to dynamic parameter changes and reducing the risk of missed and false alarms in the anomaly detection process.
[0065] In this embodiment, the flight test telemetry data is prone to acquiring a large amount of noise, and is non-stationary and nonlinear time series data. In data-driven anomaly detection tasks, the quality of the training data samples directly affects the robustness of the final anomaly detection model. Therefore, it is necessary to perform preprocessing such as data cleaning, normalization, and time slicing on the original data to construct a standardized dataset.
[0066] Preprocessing includes the following operations: Time series concatenation of telemetry data. Telemetry data may exhibit temporal disorder, duplicate storage, and inconsistent sampling frequencies. This data is reordered, duplicate values are removed, and resampling is performed to resample all parameters to a uniform sampling frequency. Missing values are handled in the concatenated data. Missing values below a set threshold are imputed using statistical characteristics of the sequence, including the mean, median, mode, or nearest neighbor. Samples with a missing value ratio above the set threshold are discarded. Outlier cleaning is performed on the data after missing value processing using a moving average method. Outliers are removed from the data before and after each time point. The average of the measured values is used to obtain the filtered result at the current time point. The formula for the moving average method is: in, express The filtering result at time 10:00. express The observed value at time, express The observed value at time, express The observed value at time, This represents the radius of the sliding window. The data after outlier cleaning is normalized using either max-min normalization or z-score normalization. The formula for the max-min normalization function is: in, This represents the normalized data value. Represents the original data value. This represents the minimum value of the data. This represents the maximum value of the data. The formula for calculating the z-score normalization function is: in, This represents the normalized data value. Represents the original data value. This represents the mean of all sample data. This represents the standard deviation of all sample data. Time series slices are then applied to the normalized data to obtain preprocessed telemetry data.
[0067] Correlation analysis was performed, and the maximum mutual information coefficient was selected as the correlation metric for telemetry data. This allowed for the classification and selection of telemetry data, providing prior knowledge for anomaly detection modeling. The specific calculation process for the maximum mutual information coefficient is as follows: Variables and variables Forming ordered pairs ,exist direction and Directional ordered pairs The resulting scatter plot is divided into a grid, and the division method is denoted as... Ordered pairs In grid division method The probability distribution under the following is denoted as When the grid is divided into OK When listing, the information content under the grid partitioning method is calculated according to the following formula: in, Indicates the grid division method The amount of information below, Indicates ordered pairs exist OK Mutual information values under column grid partitioning Denotes the joint probability density function. and The marginal probability density function is represented. The feature matrix is calculated according to the following formula. : The maximum mutual information coefficient is calculated using the following formula: in, Representing variables and variables The maximum mutual information coefficient, This indicates the maximum number of grid divisions. feature matrix Limited to finite-dimensional matrices, Values , This represents the sample size of ordered pairs. The degree of correlation between parameters is determined based on the calculated maximum mutual information coefficient, and the correlated parameters that are correlated with the parameter to be detected are selected.
[0068] A dataset was constructed based on correlated data from flight test telemetry data, creating a multi-dimensional dataset. The parameters to be detected and correlated parameters were combined to form multi-dimensional training and testing datasets. The process of building the multi-dimensional dataset involved: preprocessing the raw data, slicing the raw data into time segments based on time-series analysis, processing the flight segment data sequences into equally spaced standardized data, and completing the data interface function. The multi-dimensional training and testing datasets are given in the following format: in, The first dimension of data The monitored values of the parameter to be detected at different times, the first... Wei Zhi Di The dimensional data consists of the monitored values of the correlated parameters at different times. A size of [size missing] is used. The sliding window performs sliding segmentation on the multi-dimensional telemetry data with a step size of 1, dividing it into... Group Data Unit : in, Indicates the first Dimensional parameters in Monitoring values at any given time Indicates the duration of the sliding window. This indicates the starting position number of the sliding window. Training is a supervised process, and labels are added to each data unit: in, Indicates the parameter to be detected is in The monitored values at each moment are used. A shuffle method is employed to disrupt the order of the labeled data units, preventing over-regularity in the data input order from causing oscillations in the gradient matrix values during backpropagation, which could lead to overfitting or underfitting of the model. The shuffled data units are then divided into training and testing datasets.
[0069] An AT-GRU hybrid network model was constructed and trained using a training dataset. The AT-GRU hybrid network model is a hybrid network structure model based on an improved gated recurrent unit. Figure 2 As shown, the AT-GRU hybrid network model consists of an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer. Multi-dimensional time-series data enters the deep network through the input layer, which uses the training set data as input. The feature extraction layer consists of four fully connected neural networks, each with a two-layer structure, with 64 and 32 neurons respectively. The activation function is LeakyReLU, and the dropout rate is set to 0.2. The feature extraction layer reduces the dimensionality of the input data, generates feature vectors, and then inputs these vectors into the GRU layer for further processing to learn long-term dependencies. The GRU layer uses a dual-hidden-layer structure, with 32 recurrent units in the first layer and 16 in the second. After extracting the temporal features of the time-series data, the GRU layer fuses the features from different dimensions in the attention layer. The output layer consists of two fully connected neural networks using the LeakyReLU activation function. The first layer has 16 neurons, and the second layer is a single-neuron layer, outputting the predicted values of the parameters to be detected.
[0070] like Figure 3 As shown, the verification of a multi-dimensional time series data prediction method based on the AT-GRU hybrid network model is carried out. The task flow is as follows: after starting, initialize each parameter and set the number of gated loop units to 1. The input size is None multiplied by 4 multiplied by size, and the output size is None multiplied by 1. The training set data is obtained by calling the data interface; the input is the training input data. The output is the training output data. Perform model training and save the trained AT-GRU hybrid network model as a .h5 file. Then, perform iterative training, calling the prediction interface to make model predictions, and terminate the process. Iterative training refers to using the training set data to iteratively update the network parameters multiple times until the model converges.
[0071] The test dataset is input into the trained AT-GRU hybrid network model to obtain predicted values for the parameters to be detected. The prediction bias is calculated based on the absolute value of the difference between the predicted and true values. An adaptive threshold is dynamically generated for the current time step based on the mean and standard deviation of the historical prediction bias sequence. The adaptive threshold is calculated as follows: The historical prediction bias sequence prior to the current prediction point is obtained. This sequence consists of prediction biases from multiple historical time steps before the current prediction point, where the prediction bias at each time step is the absolute value of the difference between the predicted and true values. The mean of the historical prediction bias sequence is then calculated. and standard deviation Calculate the current time using the following formula. Adaptive threshold: in, express Adaptive threshold at time intervals This represents the mean of the prediction bias sequence. The standard deviation of the prediction bias sequence is represented by... This indicates the length of the historical bias window. The prediction bias sequence varies with the current prediction point. The data is updated point by point through sliding, allowing the adaptive threshold to change dynamically over time. The prediction deviation is compared with the adaptive threshold; if the prediction deviation exceeds the adaptive threshold, the telemetry data at the current moment is determined to be abnormal.
[0072] Figure 4 A schematic diagram of an embodiment of a flight test data anomaly detection system 200 provided by the present invention is shown. Figure 4 As shown, the flight test data anomaly detection system 200 includes: Processing module 201 is used to acquire telemetry data from flight tests and preprocess the telemetry data; The partitioning module 202 is used to calculate the maximum mutual information coefficient between each parameter in the preprocessed telemetry data, select the associated parameters that are related to the parameter to be detected based on the maximum mutual information coefficient, and combine the parameter to be detected and the associated parameters into a multi-dimensional training dataset and test dataset. Training module 203 is used to construct an AT-GRU hybrid network model. The AT-GRU hybrid network model is trained using the training dataset. The AT-GRU hybrid network model includes an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer. The feature extraction layer is composed of multiple fully connected neural networks and the activation function is the LeakyReLU function. The attention layer fuses features of different dimensions. The prediction module 204 is used to input the test dataset into the trained AT-GRU hybrid network model to obtain the predicted value of the parameter to be detected, and to calculate the prediction deviation based on the predicted value and the true value of the parameter to be detected. The detection module 205 is used to dynamically generate an adaptive threshold for the current moment based on the mean and standard deviation of the historical prediction deviation sequence, compare the prediction deviation with the adaptive threshold, and if the prediction deviation exceeds the adaptive threshold, determine that the telemetry data at the current moment is abnormal.
[0073] In one alternative embodiment, the processing module 201 is specifically used for: The telemetry data is spliced together using time series data, duplicate data is removed, and the data is resampled to a uniform sampling frequency. Missing values with a missing proportion below a set threshold are filled using imputation, while samples with a missing proportion above the set threshold are discarded. Outliers are cleaned using the moving average method, and the calculation formula for the moving average method is as follows: in, This represents the filtering result at time t. Represents the observed value at time ti. Represents the observed value at time t+i. Represents the observed value at time t. Indicates the radius of the sliding window; The cleaned data is normalized using max-min or z-score normalization methods, and the normalized data is then sliced into time series segments to obtain the preprocessed telemetry data.
[0074] In one alternative embodiment, the partitioning module 202 is specifically used for: Form ordered pairs from the data of any two parameters. ,exist direction and The ordered pairs in the direction The scatter plot is divided into grids, and the ordered pairs are... The probability distribution under the grid partitioning method is denoted as... When the grid is divided into OK When listing, follow the formula The amount of information is calculated under different grid partitioning methods, where, Indicates the grid division method The amount of information below, Represents the ordered pair exist OK Mutual information values under column grid partitioning Denotes the joint probability density function. and Represents the marginal probability density function; according to the formula Calculate the characteristic matrix According to the formula Calculate the maximum mutual information coefficient, where, Representing variables and variables The maximum mutual information coefficient, This indicates the maximum number of grid divisions. This represents the sample size of the ordered pair.
[0075] In one alternative embodiment, the partitioning module 202 is specifically used for: Use size The sliding window performs sliding segmentation on the multi-dimensional telemetry data with a step size of 1, dividing it into... Group data unit: in, Indicates the first Dimensional parameters in Monitoring values at any given time Indicates the duration of the sliding window. Indicates the starting position number of the sliding window; adds a label to each group of data cells: in, Indicates that the parameter to be detected is in Monitoring values at any given time; The order of the labeled data units is shuffled using a shuffle method to generate the training dataset and the test dataset.
[0076] In one alternative approach, the feature extraction layer consists of multiple fully connected neural networks, each of which has a two-layer structure and a loss rate set to a preset loss rate; the GRU layer has a dual hidden layer structure; the GRU layer extracts the temporal features of the time series data; the attention layer fuses the temporal features of different dimensions output by the GRU layer; the output layer consists of two fully connected neural network layers, and the output layer outputs the predicted value of the parameter to be detected.
[0077] In one alternative approach, both fully connected neural network layers of the output layer use the LeakyReLU function as the activation function; each fully connected neural network in the feature extraction layer uses the LeakyReLU function as the activation function to perform dimensionality reduction processing on the input telemetry data, generate feature vectors, and then input them into the GRU layer.
[0078] In an alternative embodiment, the detection module 205 is specifically used for: Obtain the historical prediction deviation sequence before the current prediction point. The historical prediction deviation sequence consists of the prediction deviations at multiple historical moments before the current prediction point. The prediction deviation at each moment is the absolute value of the difference between the predicted value and the true value. Calculate the mean and standard deviation of the historical prediction deviation sequence; According to the formula Calculate the current time Adaptive threshold; express Adaptive threshold at time intervals This represents the mean of the prediction bias sequence. The standard deviation of the prediction bias sequence is represented by... Indicates the length of the historical deviation window; Wherein, the prediction deviation sequence follows the current prediction point The adaptive threshold is updated point by point through sliding, so that it changes dynamically over time.
[0079] It should be noted that the beneficial effects of the flight test data anomaly detection system 200 provided in the above embodiments are the same as those of the flight test data anomaly detection method described above, and will not be repeated here. Furthermore, the system provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the system can be divided into different functional modules according to the actual situation to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiments, and will not be repeated here.
[0080] The flight test data anomaly detection system 200 of the present invention can be a computer program (including program code) running on a computer device. For example, the flight test data anomaly detection system 200 of the present invention is an application software that can be used to execute the corresponding steps in the flight test data anomaly detection method of the present invention.
[0081] In some embodiments, the flight test data anomaly detection system 200 of the present invention can be implemented in a combination of hardware and software. As an example, the flight test data anomaly detection system 200 of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the flight test data anomaly detection method of the present invention. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0082] The modules described in the embodiments of this invention can be implemented in software or hardware. The names of the modules are not, in some cases, limiting the scope of the module itself.
[0083] An electronic device according to an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any of the above-mentioned flight test data anomaly detection methods. That is, an electronic device according to an embodiment of the present invention may include, but is not limited to: a processor and a memory; the memory is used to store the computer program; the processor is used to execute the flight test data anomaly detection method shown in any embodiment of the present invention by calling the computer program.
[0084] In one alternative embodiment, an electronic device is provided, such as Figure 5 As shown, Figure 5 The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present invention.
[0085] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0086] Bus 4002 may include a path for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The bus 4002 is represented by only one thick line, but this does not mean that there is only one bus or one type of bus.
[0087] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0088] The memory 4003 stores application code (computer program) for executing the present invention, and its execution is controlled by the processor 4001. The processor 4001 executes the application code stored in the memory 4003 to implement the content shown in the foregoing method embodiments.
[0089] Among them, electronic devices can also be terminal devices. A terminal device can be any terminal device that can install applications and access web pages through applications, including at least one of smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, smart TVs, and smart in-vehicle devices.
[0090] It should be noted that, Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present invention.
[0091] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the above-described methods for detecting abnormal flight test data.
[0092] Alternatively, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, a floppy disk, and an optical data storage device, etc.
[0093] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the aforementioned flight test data anomaly detection method.
[0094] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0095] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0096] The computer-readable storage medium provided in this invention can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0097] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.
[0098] The above description is merely a preferred embodiment of the present invention and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this invention.
[0099] It should be noted that the terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and represent a limitation on a specific order or sequence. Where appropriate, the order of use for similar objects can be interchanged so that the embodiments of this application described herein can be implemented in an order other than that shown or described.
[0100] Those skilled in the art will recognize that this invention can be implemented as a system, method, or computer program product. Therefore, this invention can be specifically implemented in the following forms: it can be entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, this invention can also be implemented as a computer program product contained in one or more computer-readable media, which includes computer-readable program code.
[0101] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A method for detecting anomalies in flight test data, characterized in that, include: Acquire telemetry data from the flight test and preprocess the telemetry data; Calculate the maximum mutual information coefficient between each parameter in the preprocessed telemetry data, select the associated parameters that are related to the parameter to be detected based on the maximum mutual information coefficient, and combine the parameter to be detected and the associated parameters into a multi-dimensional training dataset and test dataset. An AT-GRU hybrid network model is constructed and trained using the training dataset. The AT-GRU hybrid network model includes an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer. The feature extraction layer consists of multiple fully connected neural networks with LeakyReLU activation function. The attention layer fuses features from different dimensions. The test dataset is input into the trained AT-GRU hybrid network model to obtain the predicted value of the parameter to be detected, and the prediction deviation is calculated based on the predicted value and the true value of the parameter to be detected. An adaptive threshold is dynamically generated for the current moment based on the mean and standard deviation of the historical prediction deviation sequence. The prediction deviation is compared with the adaptive threshold. If the prediction deviation exceeds the adaptive threshold, the telemetry data for the current moment is determined to be abnormal.
2. The flight test data anomaly detection method according to claim 1, characterized in that, The steps for preprocessing the telemetry data include: The telemetry data is spliced together using time series data, duplicate data is removed, and the data is resampled to a uniform sampling frequency. Missing values with a missing proportion below a set threshold are filled using imputation, while samples with a missing proportion above the set threshold are discarded. Outliers are cleaned using the moving average method, and the calculation formula for the moving average method is as follows: in, This represents the filtering result at time t. Represents the observed value at time ti. Represents the observed value at time t+i. Represents the observed value at time t. Indicates the radius of the sliding window; The cleaned data is normalized using max-min or z-score normalization methods, and the normalized data is then sliced into time series segments to obtain the preprocessed telemetry data.
3. The flight test data anomaly detection method according to claim 2, characterized in that, The steps for calculating the maximum mutual information coefficient between each parameter in the preprocessed telemetry data include: Form ordered pairs from any two parameters. ,exist direction and The ordered pairs in the direction The scatter plot is divided into grids, and the ordered pairs are... The probability distribution under the grid partitioning method is denoted as... When the grid is divided into OK When listing, follow the formula The amount of information is calculated under different grid partitioning methods, where, Indicates the grid division method The amount of information below, Indicates the ordered pair exist OK Mutual information values under column grid partitioning Denotes the joint probability density function. and Represents the marginal probability density function; according to the formula Calculate the characteristic matrix According to the formula Calculate the maximum mutual information coefficient, where, Representing variables and variables The maximum mutual information coefficient, This represents the maximum number of grid divisions. This represents the sample size of the ordered pair.
4. The flight test data anomaly detection method according to claim 3, characterized in that, The step of combining the parameters to be detected with the associated parameters to form a multi-dimensional training dataset and a test dataset includes: Use size The sliding window performs sliding segmentation on the multi-dimensional telemetry data with a step size of 1, dividing it into... Group data unit: in, Indicates the first Dimensional parameters in Monitoring values at any given time Indicates the duration of the sliding window. Indicates the starting position number of the sliding window; adds a label to each group of data cells: in, Indicates that the parameter to be detected is in Monitoring values at any given time; The order of the labeled data units is shuffled using a shuffle method to generate the training dataset and the test dataset.
5. The flight test data anomaly detection method according to claim 1, characterized in that, The feature extraction layer consists of multiple fully connected neural networks, each with a two-layer structure and a preset loss rate. The GRU layer has a dual hidden layer structure. The GRU layer extracts the temporal features of the time series data. The attention layer fuses the temporal features of different dimensions output by the GRU layer. The output layer consists of two fully connected neural network layers and outputs the predicted value of the parameter to be detected.
6. The flight test data anomaly detection method according to claim 5, characterized in that, Both fully connected neural network layers in the output layer use the LeakyReLU function as the activation function; each fully connected neural network in the feature extraction layer uses the LeakyReLU function as the activation function to perform dimensionality reduction on the input telemetry data, generate feature vectors, and then input them into the GRU layer.
7. The flight test data anomaly detection method according to claim 1, characterized in that, The steps for dynamically generating the adaptive threshold for the current moment based on the mean and standard deviation of the historical prediction deviation sequence include: Obtain the historical prediction deviation sequence before the current prediction point. The historical prediction deviation sequence consists of the prediction deviations at multiple historical moments before the current prediction point. The prediction deviation at each moment is the absolute value of the difference between the predicted value and the true value. Calculate the mean and standard deviation of the historical prediction deviation sequence; According to the formula Calculate the current time Adaptive threshold; express Adaptive threshold at time intervals This represents the mean of the prediction bias sequence. The standard deviation of the prediction bias sequence is represented by... Indicates the length of the historical deviation window; Wherein, the prediction deviation sequence follows the current prediction point The adaptive threshold is updated point by point through sliding, so that it changes dynamically over time.
8. A flight test data anomaly detection system, characterized in that, include: The processing module is used to acquire telemetry data from the flight test and preprocess the telemetry data. The partitioning module is used to calculate the maximum mutual information coefficient between each parameter in the preprocessed telemetry data, select the associated parameters that are related to the parameter to be detected based on the maximum mutual information coefficient, and combine the parameter to be detected and the associated parameters into a multi-dimensional training dataset and test dataset. The training module is used to construct an AT-GRU hybrid network model. The AT-GRU hybrid network model is trained using the training dataset. The AT-GRU hybrid network model includes an input layer, a feature extraction layer, a GRU layer, an attention layer, and an output layer. The feature extraction layer is composed of multiple fully connected neural networks and the activation function is the LeakyReLU function. The attention layer fuses features from different dimensions. The prediction module is used to input the test dataset into the trained AT-GRU hybrid network model to obtain the predicted value of the parameter to be detected, and to calculate the prediction deviation based on the predicted value and the true value of the parameter to be detected. The detection module is used to dynamically generate an adaptive threshold for the current moment based on the mean and standard deviation of the historical prediction deviation sequence, compare the prediction deviation with the adaptive threshold, and if the prediction deviation exceeds the adaptive threshold, determine that the telemetry data at the current moment is abnormal.
9. An electronic device, characterized in that, The electronic device includes a processor coupled to a memory storing at least one computer program, which is loaded and executed by the processor to enable the electronic device to implement the flight test data anomaly detection method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which, when executed by a processor, implements the flight test data anomaly detection method as described in any one of claims 1 to 7.
