Avionics system fault identification network training method and fault identification method
By constructing an abnormal data detection network and a system fault identification network, and using the 1DCNN-BiLSTM hybrid model and similarity measurement module, the problem of sample imbalance and poor generalization ability in the fault identification task of the avionics system navigation system is solved, and the problem of More accurate fault type identification when there is less fault sample data.
Patent Information
- Application Number
- CN202411069308.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-09-10
AI Technical Summary
The positioning accuracy of the avionics system navigation system decreases due to signal interference and system failures during flight. Moreover, due to high reliability requirements, it is difficult to obtain a large number of well-labeled fault samples, causing the fault identification task to face the problem of sample imbalance and poor generalization ability. question.
An avionics system fault identification network training method is adopted to construct an abnormal data detection network and system fault identification network by obtaining original monitoring data for sliding window processing. The 1DCNN-BiLSTM hybrid model and similarity measurement module are used to construct a ternary input sample The team performs feature extraction and fault type identification, and combines the loss function with network training to achieve accurate identification of fault types.
In the case of less fault sample data, the fault type can be more accurately identified, the accuracy and robustness of fault identification can be improved, the amount of calculation can be reduced, over-fitting can be avoided, and the generalization ability of the model can be enhanced.
Smart Images

Figure CN118626993A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of avionics system fault identification, and in particular to an avionics system fault identification network training method and a fault identification method. Background Art
[0002] The aviation integrated electronic system is a typical representative of the application of the electronic information industry in the aviation field. It is a complex that interconnects multiple airborne electronic subsystems. It takes into account the coordinated use of single-function decentralized systems, such as communication radios, radars, and navigation equipment, to form a multifunctional integrated system, thereby realizing functions such as information measurement, processing, and monitoring, and completing tasks such as flight control, navigation, and performance management. As the core component of the integrated electronic system, the navigation system is responsible for providing accurate positioning and navigation information for various carriers. During the flight of an aircraft, the stability and accuracy of the navigation system are directly related to the navigation safety of the aircraft. However, the security threats it faces are also increasing. Factors such as signal interference and system failures may interfere with or damage the navigation system, resulting in a decrease in positioning accuracy or even complete failure, which may lead to degradation or even damage to system performance, or even serious economic losses and social impacts.
[0003] Due to the high reliability requirements of aircraft themselves, it is difficult to obtain a large number of well-labeled fault samples during flight. At the same time, new fault behaviors will inevitably appear due to the cross-coupling of complex systems and interference from the service environment. The above reasons lead to problems such as sample imbalance and limited fault samples in the monitoring data of integrated electronic systems, which poses great challenges to the development and generalization of fault identification task models.
[0004] At present, the methods for fault identification based on navigation system monitoring data mainly include expert knowledge-based, model-based and data-driven methods. Among them, the expert knowledge-based method needs to use expert knowledge to summarize the possible abnormal types of the system and compile its experience into computer-runnable code. However, due to the limitations of expert knowledge, it cannot cover all possible abnormalities, and there are problems such as high missed detection rate and poor generalization ability. The model-based algorithm is based on a full analysis of the system principles and uses modern simulation software to establish a system simulation model. Under the condition that the input of the simulation system is the same as the input of the real system, the difference between the output of the simulation system and the output of the real system is observed to determine whether an abnormality occurs. However, for the navigation system, it may be impossible to fully express the system mathematically, so it is impossible to establish a high-precision simulation model. Summary of the invention
[0005] The technical problem to be solved by the present application is to provide an avionics system fault identification network training method and a fault identification method, which have the characteristics of being able to more accurately identify the fault type when there is less fault sample data.
[0006] In a first aspect, an embodiment provides an avionics system fault identification network training method, comprising: Acquiring original monitoring data, wherein the original monitoring data includes navigation system monitoring data; The original monitoring data is subjected to a first sliding window processing to obtain a plurality of samples to be detected, and the plurality of samples to be detected are input into an abnormal data detection network to obtain abnormal data; the abnormal data detection network is an abnormal data detection neural network obtained by training based on an autoencoder model combined with a first loss function; Based on the acquired abnormal data, the time period where the abnormal data is located is matched to the original monitoring data, the abnormal data of each continuous time period in the original monitoring data is cut and extracted as a processing sample, and each processing sample is subjected to a second sliding window processing to obtain an abnormal sample set, and the abnormal sample set is used as a training data set; Construct multiple input sample triplets based on the training data set, each input sample triplet includes an anchor sample, a positive sample, and a negative sample, the positive sample has the same fault type as the anchor sample, and the negative sample has a different fault type from the anchor sample; Constructing a system fault identification basic network, inputting a plurality of the sample triples into the system fault identification basic network, and performing network training in combination with a second loss function to obtain a system fault identification network, including: taking the sample triples as input, performing feature extraction through a feature extraction subnetwork, and then inputting the sample triples into a similarity measurement module for fault type identification; The feature extraction subnetwork includes three identical 1DCNN-BiLSTM hybrid models that share weights, wherein the three sample data in the sample triplet are input into the three 1DCNN-BiLSTM hybrid models for processing in a one-to-one correspondence; For any 1DCNN-BiLSTM hybrid model, the input sample data is processed, including: performing two-level convolution processing on the sample data and then extracting time series features through the BiLSTM layer, and then reducing the dimension of the time series feature extraction results through full connection processing to complete the mapping of data samples to metric space; The two-stage convolution processing of the sample data includes: Each level of convolution processing includes a convolution layer, a batch normalization layer, a ReLU layer and a pooling layer in sequence; wherein the convolution kernel size of the convolution layer in the first level of convolution processing is larger than the convolution kernel size of the convolution layer in the second level of convolution processing.
[0007] In one embodiment, the width of the first sliding window is smaller than the width of the second sliding window, and based on the acquired abnormal data, the time period in which the abnormal data is located corresponds to the original monitoring data, and the abnormal data of each continuous time period in the original monitoring data is cut and extracted as a processing sample, including: For any continuous time period, if the continuous time period includes only one abnormal data, the abnormal data in the time period is discarded; if the continuous time period includes more than two abnormal data, the abnormal data in the continuous time period are cut and extracted as a processing sample.
[0008] In one embodiment, for any sample triple, the construction method includes: A sample is randomly selected in the training data set as an anchor sample, the fault type of the anchor sample is obtained, a sample is selected from samples of the same category of fault type in the training data set as a positive sample, and a sample is selected from samples of different categories of fault types in the training data set as a negative sample, and the anchor sample, positive sample and negative sample are formed into an input sample triplet; wherein each sample in the triplet includes sample data and a sample category label.
[0009] In one embodiment, the method of performing network training in combination with the second loss function to obtain a system fault identification network includes: Combined with the similarity of sample discriminative feature embedding representation under similarity metric, a ternary loss function is constructed; Combine the intra-class aggregation of the same fault type in the fault type recognition results to construct a central loss function; Based on the ternary loss function and the center loss function, a second loss function is constructed.
[0010] In a second aspect, an embodiment provides an avionics system fault identification method, including: Obtain navigation system monitoring data; Performing a third sliding window process on the navigation system monitoring data to obtain processed input samples; Inputting the input sample into a system fault identification network obtained by the avionics system fault identification network training method described in any one of the above embodiments to perform fault identification includes: The input sample is used as input, and after being subjected to feature extraction by a feature extraction sub-network, is input into a similarity measurement module for fault type identification; The feature extraction subnetwork includes three identical 1DCNN-BiLSTM hybrid models that share weights, wherein the three sample data in the sample triplet are input into the three 1DCNN-BiLSTM hybrid models for processing in a one-to-one correspondence; For any 1DCNN-BiLSTM hybrid model, the input sample data is processed, including: performing two-level convolution processing on the sample data and then extracting time series features through the BiLSTM layer, and then reducing the dimension of the time series feature extraction results through full connection processing to complete the mapping of data samples to metric space; The two-stage convolution processing of the sample data includes: Each level of convolution processing includes a convolution layer, a batch normalization layer, a ReLU layer and a pooling layer in sequence; wherein the convolution kernel size of the convolution layer in the first level of convolution processing is larger than the convolution kernel size of the convolution layer in the second level of convolution processing.
[0011] The beneficial effects of the present invention are: During the training process of the system fault identification network, based on the abnormal data detection network, the redundant aviation integrated electronic system monitoring data can be firstly located for abnormality, the specific abnormal stage can be located on the time axis, and the data can be "secondarily screened" to provide concise input for the next stage of fault identification, which reduces the amount of calculation and improves the accuracy of fault identification. According to the fault type, the three-sample relationship of the anchor sample, positive sample and negative sample constitutes an input sample triple. This construction process ensures the ability of the neural network model to judge similarity. By minimizing the distance between the anchor sample and the positive sample, it also maximizes the distance between the anchor sample and the negative sample, so that the neural network model can better distinguish samples of different categories in the embedding space. At the same time, the construction method of the input triple also provides key support for the effective training of the ternary network, so that the neural network model can learn robust feature representation. The improved 1DCNN-BiLSTM hybrid model proposed in this application can effectively suppress the disappearance of gradients while realizing nonlinear activation and feature downsampling. The convolution kernel size of the convolution layer in the first convolution process is larger than that of the convolution kernel size of the convolution layer in the second convolution process, which increases the number of layers and depth of the convolution network and reduces the number of parameters of the neural network model to avoid overfitting. This allows the fault type to be identified more accurately when there is less fault sample data. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 This is a flow chart of a method for training a network for fault identification of an avionics system according to an embodiment of the present application; Figure 2 It is a flowchart of a training method for an abnormal data detection network according to an embodiment of the present application; Figure 3 This is a schematic diagram of a system fault identification network training process according to an embodiment of the present application; Figure 4 This is a schematic diagram of the 1DCNN-BiLSTM hybrid model structure of an embodiment of the present application; Figure 5 It is a schematic diagram of the flow of a method for constructing a second loss function according to an embodiment of the present application; Figure 6 It is a flowchart of an avionics system fault identification method according to an embodiment of the present application. DETAILED DESCRIPTION
[0013] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0014] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0015] The serial numbers assigned to the components in this article, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning.
[0016] To facilitate the description of the inventive concept of the present application, the avionics system fault identification technology is briefly described below.
[0017] The main branches of data-driven methods currently include those based on signal processing, statistical learning, and machine learning. Among them, signal processing-based methods are highly dependent on device signals, easily interfered by external environmental signal noise, and may not be able to respond to the mutual influence of multiple faults between devices. The statistical learning method has a strict assumption on the distribution of data. If the distribution of actual data does not match the assumption, it may lead to a decline in model performance. At the same time, when processing extremely large data sets, it may face challenges in computing and storage resources. Fault identification methods based on machine learning also face challenges such as dependence on large amounts of data and insufficient extension.
[0018] Due to the high reliability of the aircraft's equipment, it is difficult to obtain a large number of well-labeled fault samples during the flight, and new fault types that are not covered in the expert knowledge base will inevitably appear during the flight. The above reasons will lead to an imbalance between normal data and abnormal data samples in the monitoring data of the integrated electronic system, and the existing abnormal data cannot contain all possible abnormal situations. The traditional supervised fault identification algorithm is limited.
[0019] In view of this, the present application provides a method for training an avionics system fault identification network and a method for fault identification. In the process of system fault identification network training, based on the abnormal data detection network, the redundant avionics integrated electronic system monitoring data can be firstly located for abnormality, the specific abnormal stage can be located on the time axis, and the data can be "secondarily screened" to provide concise input for the next stage of fault identification, thereby reducing the amount of calculation and improving the accuracy of fault identification. According to the fault type, the three-sample relationship of the anchor sample, the positive sample and the negative sample constitutes an input sample triple. This construction process ensures the ability of the neural network model to judge similarity. By minimizing the distance between the anchor sample and the positive sample, it also maximizes the distance between the anchor sample and the negative sample, so that the neural network model can better distinguish samples of different categories in the embedding space. At the same time, the construction method of the input triple also provides key support for the effective training of the ternary network, so that the neural network model can learn robust feature representation. The improved 1DCNN-BiLSTM hybrid model proposed in this application can effectively suppress the disappearance of the gradient, while realizing nonlinear activation and feature downsampling. The convolution kernel size of the convolution layer in the first convolution process is larger than that of the convolution kernel size of the convolution layer in the second convolution process, which increases the number of layers and depth of the convolution network and reduces the number of parameters of the neural network model to avoid overfitting. This allows the fault type to be identified more accurately when there is less fault sample data.
[0020] The following first describes the avionics system fault network training method.
[0021] Please refer to Figure 1 In one embodiment of the present application, a method for training an avionics system fault identification network is provided, comprising: Step S10, obtaining original monitoring data, wherein the original monitoring data includes navigation system monitoring data.
[0022] In one embodiment, the original data is first cleaned to solve the problems of missing values, singular values and inconsistent data formats in the original monitoring data, and parameters are screened based on relevant expert knowledge to retain useful information in the data.
[0023] Step S20, the original monitoring data is subjected to a first sliding window process to obtain a plurality of samples to be detected, and the plurality of samples to be detected are input into an abnormal data detection network to obtain abnormal data. The abnormal data detection network is an abnormal data detection neural network trained based on an autoencoder model combined with a first loss function.
[0024] In one embodiment, please refer to Figure 2 ,The training method of the abnormal data detection network includes: Step S201, generating a one-dimensional time series data sample based on the navigation system monitoring data.
[0025] Step S202: input normal samples without abnormalities in the one-dimensional time series data samples into the autoencoder model, and perform a series of encoding and decoding processes to achieve learning of the normal samples and obtain reconstructed data.
[0026] In one embodiment, the dimensions of the original normal samples are [60001*6], [200001*6], [90001*6] and [60001*6], that is, each group of samples has 6 monitoring parameters, and the data lengths are 60001, 200001, 90001 and 60001, respectively. The above four groups of samples are divided by sliding windows and then spliced to obtain 8192 training samples in total, that is, the final training set sample dimension is [8192*6*50], and the test set sample dimension is [3118*6*50]. Among them, 50 is the sliding window width of the first sliding window processing.
[0027] Step S203: Based on the obtained reconstructed data, a set of mean square errors is calculated, the mean and standard deviation of the set of mean square errors are calculated, and based on the mean and standard deviation, an upper threshold of abnormal errors is obtained.
[0028] In one embodiment, according to 3 The criterion determines the upper threshold of abnormal error. As the upper threshold of abnormal error; where u represents the mean of the mean square error, Represents the standard deviation of the mean square error.
[0029] In this way, an abnormal data detection network that can detect abnormal data is obtained. Based on the above abnormal data detection network, the redundant aviation integrated electronic system monitoring data can be firstly located for abnormality, the specific abnormal stage can be located on the time axis, and the data can be "secondarily screened" to provide concise input for the next stage of fault identification, which reduces the amount of calculation and improves the accuracy of fault identification.
[0030] Step S30, based on the acquired abnormal data, the time period where the abnormal data is located is corresponded to the original monitoring data, the abnormal data of each continuous time period in the original monitoring data is cut and extracted as a processing sample, and each processing sample is subjected to a second sliding window processing to obtain an abnormal sample set, and the abnormal sample set is used as a training data set.
[0031] The data to be detected is input into the abnormal data detection network in time sequence, and a reconstructed sample can be output. The mean square error between the reconstructed sample and the input data to be detected is calculated. If it does not exceed the upper threshold, it is normal data, and if it exceeds the upper threshold, it is abnormal data. In one embodiment, for normal data, the label can be output as 1, and for abnormal data, the label can be output as 0.
[0032] By matching the time period where the abnormal data is located to the original monitoring data, the location of the abnormal data in the original monitoring data can be known.
[0033] The applicant discovered during the study that after the abnormal data were mapped to the original monitoring data, the positions of some abnormal data and other abnormal data in the original monitoring data were not continuous, and these abnormal data often contained abnormal data judgment errors.
[0034] In view of this, in one embodiment of the present application, for any continuous time period, if the continuous time period includes only one abnormal data, the abnormal data of the time period is discarded, and if the continuous time period includes more than two abnormal data, the abnormal data of the continuous time period is cut and extracted as a processing sample. In this way, the interference of being misjudged as abnormal data is reduced. And the width of the second sliding window is set to be greater than the width of the first sliding window to improve the accuracy of abnormal data fault type feature learning and fault identification.
[0035] For each abnormal sample in the abnormal sample set, a fault type label of each abnormal sample can be given according to expert knowledge. In one embodiment, according to the fault type, "insufficient airborne transmission power" corresponds to label "1", "insufficient airborne receiving link gain" corresponds to label "2", "lost local oscillator" corresponds to label "3", and "locked" corresponds to label "4".
[0036] Step S40, construct multiple input sample triplets based on the training data set, each input sample triplet includes an anchor sample, a positive sample and a negative sample, wherein the positive sample has the same fault type as the anchor sample, and the negative sample has a different fault type from the anchor sample.
[0037] In one embodiment, for any sample triple, the construction method includes: randomly selecting a sample in the training data set as an anchor sample, obtaining the fault type of the anchor sample, selecting a sample from samples of the same fault type in the training data set as a positive sample, selecting a sample from samples of different fault types in the training data set as a negative sample, and forming an input sample triple with the anchor sample, the positive sample and the negative sample. Each sample in the triple includes sample data and a sample category label.
[0038] In one embodiment, for any sample triplet, it can be expressed as: ; in, represents a sample triple; represents the sample data of anchor sample A, Indicates the fault type of anchor sample A; represents the sample data of the positive sample P, Represents the fault type of the positive sample P; Represents the sample data of negative sample N, Indicates the fault type of the negative sample N.
[0039] Step S50, constructing a system fault identification basic network, inputting a plurality of sample triplets into the system fault identification basic network, and performing network training in combination with a second loss function to obtain a system fault identification network.
[0040] Please refer to Figure 3 , multiple sample triplets are input into the system fault identification basic network, and the network training is combined with the second loss function to obtain the system fault identification network, including: taking the sample triplets as input, extracting features through the feature extraction subnetwork, and then inputting them into the similarity measurement module for fault type identification.
[0041] Among them, please refer to Figure 3 ,The feature extraction sub-network includes three identical 1DCNN-BiLSTM hybrid models that share weights, where the three sample data in the sample triplet are input one by one into the three 1DCNN-BiLSTM hybrid models for processing.
[0042] In this application, according to the fault type, the three-sample relationship of the anchor sample, positive sample and negative sample is used to form an input sample triple. This construction process ensures the ability of the neural network model to judge similarity. By minimizing the distance between the anchor sample and the positive sample, it also maximizes the distance between the anchor sample and the negative sample, so that the neural network model can better distinguish samples of different categories in the embedding space. At the same time, the construction method of the input triple also provides key support for the effective training of the ternary network, so that the neural network model can learn robust feature representation.
[0043] In this application, for any 1DCNN-BiLSTM hybrid model, the input sample data is processed, including: performing two-level convolution processing on the sample data and then extracting time series features through the BiLSTM layer, and then reducing the dimension of the time series feature extraction results through full connection processing to complete the mapping of data samples to metric space.
[0044] Please refer to Figure 4 Unlike the ordinary 1DCNN-BiLSTM, an improved 1DCNN-BiLSTM is proposed in one embodiment of the present application, including a two-level convolution module to perform two-level convolution processing on the input sample data. Among them, each convolution module is sequentially connected to the convolution layer, batch normalization layer (BN), ReLU layer and pooling layer. For the convolution processing of each level of convolution module, the input sample data is first convolved, and then the convolution processing mechanism is normalized, and then the normalized result is ReLU nonlinear activation processing, and finally pooling processing is performed. Such a structure and processing flow can effectively suppress the disappearance of gradients, while realizing nonlinear activation and feature downsampling.
[0045] Based on the improved 1DCNN-BiLSTM hybrid model subnetwork of the above embodiment, 1DCNN can effectively extract local features on sequence data, while BiLSTM can make full use of the previous and next information of the time series and capture long-distance dependencies, so that the model can more comprehensively understand the contextual information in the data. The combination of 1DCNN and BiLSTM can simultaneously obtain local and global features, thereby improving the feature extraction capability of the model.
[0046] In addition, the convolution kernel size of the convolution layer in the first convolution process is larger than the convolution kernel size of the convolution layer in the second convolution process. Based on the convolution layer with a large convolution kernel size in the first convolution process, try to capture some global information to filter the noise signal in the input sample. Based on the convolution layer with a small convolution kernel size in the second convolution process, some local features are obtained. This design strategy deepens the number of layers and depth of the convolution network, while also reducing the number of parameters of the neural network model to avoid overfitting.
[0047] In their research, the applicant found that in the context of small-sample fault diagnosis, the limited data poses challenges to model training, often leading to overfitting and insufficient generalization.
[0048] In view of this, in one embodiment of the present application, please refer to Figure 3 and Figure 5 , combined with the second loss function, network training is performed to obtain a system fault identification network, including: Step S4001, constructing a ternary loss function by combining the similarity of the sample discriminative feature embedding representation under the similarity metric.
[0049] In one embodiment, step S4001 may include: ; in, represents the triplet loss function, The Euclidean distance between the feature vector of the anchor sample data and the feature vector of the positive sample data, please refer to Figure 3 D1 in to obtain the distance L1. The Euclidean distance between the feature vector of the anchor sample data and the feature vector of the negative sample data, please refer to Figure 3 D2 in , to obtain the distance L2. m represents the preset dissimilar distance threshold.
[0050] After obtaining the two distances, they are processed by the fully connected layer to further realize the fault type identification. Among them, type 0 means no fault.
[0051] Step S4002, constructing a central loss function by combining intra-class aggregation of the same fault type in the fault type identification result.
[0052] In one embodiment, step S4002 may include: ; in, represents the center loss function, represents the embedding model, represents the i-th sample data, 1≤i≤N, N represents the total amount of sample data, Indicates category The corresponding category center, category Represents sample data The corresponding fault category, Represents the Euclidean distance calculation.
[0053] Step S4003, constructing a second loss function based on the ternary loss function and the center loss function.
[0054] In one embodiment, step S4003 may include: ; in, represents the second loss function, Indicates the preset weight coefficient.
[0055] For m in step S4001 and m in step S4003 , you can first set the parameter range based on experience, and then determine the optimal combination value through grid search. Grid search is a parameter tuning method that first specifies the candidate value range of the parameter, then enumerates all possible parameter combinations, and calculates the performance index of each model. Finally, the parameter combination with the best performance index is output and used as the final model parameter.
[0056] The above triplet loss emphasizes the learning of similarity relationships, ensuring that samples of the same fault category are closer in the embedding space, thereby improving the feature distinguishability of the model. At the same time, the center loss emphasizes the aggregation of samples of the same fault category, and promotes the embedding vector to be more aggregated by minimizing the distance between the sample and its category center. The joint use of these two loss functions simultaneously optimizes the separability between classes and the compactness within the class, improves the convergence speed and stability of the model, and enhances the robustness to noise and outliers, which helps prevent overfitting, improves the generalization performance of the model for small samples, and optimizes feature expression. This comprehensive training strategy enables the neural model to better adapt to small sample fault diagnosis tasks and improve the robustness and accuracy of classification.
[0057] The obtained second loss function is back-propagated and weighted to obtain a trained system fault identification network. In one embodiment, the number of training iterations is 200, the batch size is 64, the inactivation ratio is 0.1, and the hyperparameters are is 0.3.
[0058] In summary, the system fault identification network obtained based on the above training can more accurately identify the fault type when there is less fault sample data.
[0059] In one embodiment of the present application, a method for identifying an avionics system fault is provided. Figure 6 ,include: Step S100, obtaining navigation system monitoring data.
[0060] Step S200: performing a third sliding window process on the navigation system monitoring data to obtain processed input samples.
[0061] In one embodiment, the width of the third sliding window is the same as the width of the second sliding window.
[0062] Step S300: inputting the input sample into the system fault identification network obtained by the avionics system fault identification network training method in any one of the above embodiments to perform fault identification.
[0063] Step S300 includes: taking the input sample as input, performing feature extraction via the feature extraction sub-network, and then inputting the input sample into the similarity measurement module for fault type identification.
[0064] The feature extraction subnetwork includes three identical 1DCNN-BiLSTM hybrid models that share weights. The three sample data in the sample triplet are input into the three 1DCNN-BiLSTM hybrid models for processing one by one.
[0065] For any 1DCNN-BiLSTM hybrid model, the input sample data is processed, including: performing two-level convolution processing on the sample data and then extracting time series features through the BiLSTM layer, and then reducing the dimension of the time series feature extraction results through full connection processing to complete the mapping of data samples to metric space.
[0066] The sample data is subjected to two-level convolution processing, including: each level of convolution processing includes a convolution layer, a batch normalization layer, a ReLU layer and a pooling layer in sequence; wherein the convolution kernel size of the convolution layer in the first level of convolution processing is larger than the convolution kernel size of the convolution layer in the second level of convolution processing.
[0067] In this way, the type of avionics system fault can be identified more accurately when there is less fault sample data.
[0068] In one embodiment of the present application, a computer-readable storage medium is provided, on which a program is stored. The stored program includes a method that can be loaded by a processor and process any of the above embodiments.
[0069] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0070] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.
Claims
1. A method for training an avionics system fault identification network, characterized in that: include: Acquiring original monitoring data, wherein the original monitoring data includes navigation system monitoring data; Performing a first sliding window process on the original monitoring data to obtain a plurality of samples to be detected, and inputting the plurality of samples to be detected into an abnormal data detection network to obtain abnormal data; The abnormal data detection network is an abnormal data detection neural network obtained by training based on the autoencoder model combined with the first loss function; Based on the acquired abnormal data, the time period where the abnormal data is located is matched to the original monitoring data, the abnormal data of each continuous time period in the original monitoring data is cut and extracted as a processing sample, and each processing sample is subjected to a second sliding window processing to obtain an abnormal sample set, and the abnormal sample set is used as a training data set; Construct multiple input sample triplets based on the training data set, each input sample triplet includes an anchor sample, a positive sample, and a negative sample, the positive sample has the same fault type as the anchor sample, and the negative sample has a different fault type from the anchor sample; Constructing a system fault identification basic network, inputting a plurality of the sample triples into the system fault identification basic network, and performing network training in combination with a second loss function to obtain a system fault identification network, including: taking the sample triples as input, performing feature extraction through a feature extraction subnetwork, and then inputting the sample triples into a similarity measurement module for fault type identification; The feature extraction subnetwork includes three identical 1DCNN-BiLSTM hybrid models that share weights, wherein the three sample data in the sample triplet are input into the three 1DCNN-BiLSTM hybrid models for processing in a one-to-one correspondence; For any 1DCNN-BiLSTM hybrid model, the input sample data is processed, including: performing two-level convolution processing on the sample data and then extracting time series features through the BiLSTM layer, and then reducing the dimension of the time series feature extraction results through full connection processing to complete the mapping of data samples to metric space; The two-stage convolution processing of the sample data includes: Each level of convolution processing includes a convolution layer, a batch normalization layer, a ReLU layer and a pooling layer in sequence; wherein the convolution kernel size of the convolution layer in the first level of convolution processing is larger than the convolution kernel size of the convolution layer in the second level of convolution processing.
2. The avionics system fault identification network training method according to claim 1, characterized in that: The training method of the abnormal data detection network includes: Generate one-dimensional time series data samples based on navigation system monitoring data; Inputting normal samples without abnormalities in the one-dimensional time series data samples into the autoencoder model, performing a series of encoding and decoding processes to achieve learning of the normal samples and obtain reconstructed data; Based on the obtained reconstructed data, a set of mean square errors is calculated, a mean and a standard deviation of the set of mean square errors are calculated, and based on the mean and the standard deviation, an upper threshold of the abnormal error is obtained.
3. The avionics system fault identification network training method according to claim 2, characterized in that: The upper limit threshold of abnormal error obtained based on the mean and standard deviation includes: According to 3 The criterion determines the upper threshold of abnormal error. As the upper threshold of abnormal error; where u represents the mean of the mean square error, represents the standard deviation of the mean square error.
4. The avionics system fault identification network training method according to claim 1, characterized in that: The width of the first sliding window is smaller than the width of the second sliding window. Based on the acquired abnormal data, the time period where the abnormal data is located is corresponded to the original monitoring data, and the abnormal data of each continuous time period in the original monitoring data is cut and extracted as a processing sample, including: For any continuous time period, if the continuous time period includes only one abnormal data, the abnormal data in the time period is discarded; if the continuous time period includes more than two abnormal data, the abnormal data in the continuous time period are cut and extracted as a processing sample.
5. The avionics system fault identification network training method according to claim 1, characterized in that: For any sample triple, the construction method includes: A sample is randomly selected in the training data set as an anchor sample, the fault type of the anchor sample is obtained, a sample is selected from samples of the same category of fault type in the training data set as a positive sample, and a sample is selected from samples of different categories of fault types in the training data set as a negative sample, and the anchor sample, positive sample and negative sample are formed into an input sample triplet; wherein each sample in the triplet includes sample data and a sample category label.
6. The avionics system fault identification network training method according to claim 1 or 5, characterized in that: For any sample triple, including: ; in, represents a sample triple; represents the sample data of anchor sample A, Indicates the fault type of anchor sample A; represents the sample data of the positive sample P, Represents the fault type of the positive sample P; Represents the sample data of negative sample N, Indicates the fault type of the negative sample N.
7. The avionics system fault identification network training method according to claim 1, characterized in that: The method of performing network training in combination with the second loss function to obtain a system fault identification network includes: Combined with the similarity of sample discriminative feature embedding representation under similarity metric, a ternary loss function is constructed; Combine the intra-class aggregation of the same fault type in the fault type recognition results to construct a central loss function; Based on the ternary loss function and the center loss function, a second loss function is constructed.
8. The avionics system fault identification network training method according to claim 1, characterized in that: The similarity of the sample discriminative feature embedding representation under the combined similarity metric is used to construct a triple loss function, including: ; in, represents the triplet loss function, Represents the Euclidean distance between the feature vector of the anchor sample data and the feature vector of the positive sample data, represents the Euclidean distance between the feature vector of the anchor sample data and the feature vector of the negative sample data, and m represents the preset dissimilarity distance threshold; The intra-class aggregation of the same fault type in the fault type recognition result is combined to construct a central loss function, including: ; in, represents the center loss function, represents the embedding model, represents the i-th sample data, 1≤i≤N, N represents the total amount of sample data, Indicates category The corresponding category center, category Represents sample data The corresponding fault category, Indicates Euclidean distance calculation; The constructing of the second loss function based on the ternary loss function and the center loss function includes: ; in, represents the second loss function, Indicates the preset weight coefficient.
9. A method for identifying avionics system faults, characterized in that: include: Obtain navigation system monitoring data; Performing a third sliding window process on the navigation system monitoring data to obtain processed input samples; Inputting the input sample into the system fault identification network obtained by the avionics system fault identification network training method according to any one of claims 1 to 8 to perform fault identification, comprising: The input sample is used as input, and after being subjected to feature extraction by a feature extraction sub-network, is input into a similarity measurement module for fault type identification; The feature extraction subnetwork includes three identical 1DCNN-BiLSTM hybrid models that share weights, wherein the three sample data in the sample triplet are input into the three 1DCNN-BiLSTM hybrid models for processing in a one-to-one correspondence; For any 1DCNN-BiLSTM hybrid model, the input sample data is processed, including: performing two-level convolution processing on the sample data and then extracting time series features through the BiLSTM layer, and then reducing the dimension of the time series feature extraction results through full connection processing to complete the mapping of data samples to metric space; The two-stage convolution processing of the sample data includes: Each level of convolution processing includes a convolution layer, a batch normalization layer, a ReLU layer and a pooling layer in sequence; wherein the convolution kernel size of the convolution layer in the first level of convolution processing is larger than the convolution kernel size of the convolution layer in the second level of convolution processing.
10. The method for identifying avionics system faults according to claim 9, characterized in that: The width of the third sliding window is the same as the width of the second sliding window.
Citation Information
Cited By
Cloud platform monitoring method and device, computer equipment, readable storage medium and program product
CN119902949A
Motor bearing fault detection system and method based on robust deep learning
CN121210963A
