Fire control system error tracing method, device and equipment and storage medium
Through the GraphWaveNet network combined with WaveNet and graph convolution network, multi-task cross-training method is used to capture the error transmission relationship of the fire control system, solving the problems of low error traceability and overfitting in the existing technology, and achieving a more efficient error source position.
Patent Information
- Application Number
- CN202410956335.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-22
AI Technical Summary
The existing fire control system error traceability method relies on expert knowledge and manual feature construction, making it difficult to capture error source characteristics in complex multi-dimensional time series. The deep learning method ignores the prior information of the error transmission process, resulting in low error source positioning accuracy and Overfitting.
Using a target error traceability network based on GraphWaveNet, combined with WaveNet and graph convolution network, through multi-task cross-training, the error source data characteristics are extracted and the error transmission relationship between various links of the fire control system is captured, and the graph convolution structure and full connection are used. Layer distinction and positioning sources of error.
The accuracy and accuracy of error source positioning in the fire control system is improved, the overfitting problem of deep learning models is alleviated, and the resolution ability of similar error sources is enhanced, and the error source positioning effect is achieved is better than that of traditional deep learning methods.
Smart Images

Figure CN119003981A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of error tracing, and in particular to a fire control system error tracing method, device, equipment and storage medium based on multi-task cross-training GraphWaveNet. Background Art
[0002] At present, common error tracing methods for fire control systems include expert system-based methods, physical model-based methods, and data-driven methods. The album system-based method analyzes the measurement data by building a knowledge base and reasoning mechanism to identify and explain the error source, but this method relies on expert knowledge and experience, is highly subjective, and is difficult to standardize. The physical model method establishes a precise physical model to solve the model parameters to identify and quantify the error source, but as the factors considered by the model increase, the construction and solution of the model become more difficult.
[0003] As the digital management level of weapon systems continues to improve, sensor technology is developing and being applied more and more widely. Data-driven error tracing methods are gradually emerging in the field of error tracing. Traditional data-driven methods (support vector machines, Bayesian networks, wavelet neural networks, etc.) and deep learning methods (convolutional neural networks, long short-term memory recurrent neural networks, etc.) have achieved good results in the field of error tracing. Since the data collected by the fire control system sensors are long-term time series and there are complex nonlinear coupling phenomena in error transmission, it is difficult for traditional data-driven methods to extract and capture such information, and the error tracing effect is generally not as good as that of deep learning methods.
[0004] The traditional error tracing method in the field of fire control system error tracing is to manually construct features and establish the mapping relationship between manual features and error sources through traditional machine learning methods. The traditional data-driven method in the field of fire control system manually constructs features that are overly dependent on the user's professional knowledge. Manual features will cause some information loss, making it difficult to capture features related to error sources in complex multidimensional time series, and the error source positioning accuracy is low.
[0005] At present, the deep learning method for tracing the error of the fire control system ignores the prior information of the error transmission process of the fire control system, and has insufficient discrimination for similar error sources. This causes the learned model to be overfitted to a certain extent. The deep learning error tracing method in the field of public fire control systems establishes an error tracing model by directly learning the mapping relationship between the collected sensor data and the error source, ignoring the prior information of the error transmission process of the fire control system, and has insufficient discrimination for similar error sources. Summary of the invention
[0006] In view of the above problems, the present invention provides a fire control system error tracing method, device, equipment and storage medium for overcoming the above problems or at least partially solving the above problems.
[0007] The present invention provides the following scheme:
[0008] A method for tracing a fire control system error, comprising:
[0009] The sensor data of each position of the first fire control system and the second fire control system are simultaneously collected to obtain a first multi-dimensional time series and a second multi-dimensional time series; the first fire control system and the second fire control system observe, track, solve and follow-up control the same target; the first fire control system is a fire control system that works normally, and the second fire control system is a fire control system with an error source;
[0010] After data preprocessing, the first multidimensional time series and the second multidimensional time series are respectively input into the trained target error tracing network, so that the target error tracing network can locate the error link of the second fire control system;
[0011] Wherein, the target error tracing network includes a shared network structure area and a non-shared network structure area;
[0012] The shared network structure area includes a WaveNet network and a graph convolutional network, and the shared network structure area is used to extract the error source data features according to the first multidimensional time series and the second multidimensional time series and use the graph convolutional network to capture the error transmission relationship between various links of the fire control system; the non-shared network structure area includes a first fully connected layer and a second fully connected layer;
[0013] The error source data feature is used to generate a label pair, the label pair comprising a first label for representing a system state of the first fire control system and a second label for representing a system state of the second fire control system;
[0014] The first fully connected layer is used to distinguish whether the first label is the same as the second label, so as to improve the network's ability to distinguish different error sources during the network training stage;
[0015] The second fully connected layer is used to identify the error link corresponding to the second label, so as to realize the network's ability to classify and locate the error source;
[0016] The target error tracing network is obtained by training in a cross-training manner.
[0017] Preferably: the graph convolutional network is represented by the following formula:
[0018] Z=P f XW1+P b XW2+A apt XW3
[0019]
[0020] Where X is the feature extracted by WaveNet network, A is the prior adjacency matrix of error source transmission of fire control system, and A apt is the error transfer adjacency matrix to be learned, W1, W2, W3 are the parameters to be learned, and Z is the feature extracted by the graph convolutional neural network.
[0021] Preferably: the WaveNet network is used to process the input multi-dimensional time series through a layer of causal convolution into a stacked multi-layer residual block, extract features at different levels through dilated convolutions with different convolution kernels, aggregate different levels together to form new features, extract and transform features through two ReLU and 1×1 convolutions, and obtain the error source data features.
[0022] Preferably, the target error tracing network uses cross entropy as the network training loss function, and the loss function is expressed by the following formula:
[0023]
[0024] In the formula, N is the number of samples, K is the number of predicted categories, and P i,k is the probability that the i-th sample is predicted to be the k-th label, and y is the actual label of the sample.
[0025] Preferably: the error source database for training the target error tracing network includes a multidimensional time series of measured samples obtained from sensors at different positions of a fire control system without an error source and a fire control system with an error source under the same conditions, as well as a multidimensional time series of simulated samples generated by a Monte Carlo simulation method.
[0026] Preferably: the cross-training method includes:
[0027] Obtain samples of task one label pairs from the error source database; use the sample pairs of task one label pairs to train the network composed of the common network structure area and the first fully connected layer, so that the network has the ability to distinguish different error sources;
[0028] The parameters of the common network structure area are fixed, samples of the task two label pairs are obtained from the error source database, and the samples of the task two label pairs are used to train the network composed of the common network structure area and the second fully connected layer, so that the network has the ability to distinguish and locate error sources;
[0029] Both labels in the task one label pair and the task two label pair come from a fire control system that observes, tracks, calculates, and performs follow-up control on the same target;
[0030] Among them, the data corresponding to the two labels in the task one label pair come from the data collected by the normal fire control system and / or the data collected by the abnormal fire control system; one of the data in the task two label pair comes from the data collected by the normal fire control system, and the other data in the task two label pair comes from the data collected by the normal fire control system and / or the data collected by the abnormal fire control system.
[0031] Preferably: determine whether there are errors in the three links of the tracker, fire control solution and servo control system in the fire control system, and determine the state of the fire control system as follows: 0-normal, 1-only the tracker error source, 2-only the fire control solution error source, 3-only the servo control system error source, 4-there are tracker and fire control solution error sources, 5-there are tracker and servo control system error sources, 6-there are fire control solution and servo control system error sources, 7-there are error sources in all three links.
[0032] A fire control system error tracing device, characterized in that it is used to execute the above-mentioned fire control system error tracing method, and the device comprises:
[0033] a data acquisition unit, used for simultaneously acquiring sensor data of each position of the first fire control system and the second fire control system to obtain a first multi-dimensional time series and a second multi-dimensional time series; the first fire control system and the second fire control system observe, track, solve and follow-up control the same target; the first fire control system is a fire control system in normal operation, and the second fire control system is a fire control system with an error source;
[0034] an error link locating unit, configured to perform data preprocessing on the first multidimensional time series and the second multidimensional time series respectively, and then input the data into a trained target error tracing network, so that the target error tracing network can locate the error link of the second fire control system;
[0035] Wherein, the target error tracing network includes a shared network structure area and a non-shared network structure area;
[0036] The shared network structure area includes a WaveNet network and a graph convolutional network, and the shared network structure area is used to extract the error source data features according to the first multidimensional time series and the second multidimensional time series and use the graph convolutional network to capture the error transmission relationship between various links of the fire control system; the non-shared network structure area includes a first fully connected layer and a second fully connected layer;
[0037] The error source data feature is used to generate a label pair, the label pair comprising a first label for representing a system state of the first fire control system and a second label for representing a system state of the second fire control system;
[0038] The first fully connected layer is used to distinguish whether the first label is the same as the second label, so as to improve the network's ability to distinguish different error sources during the network training stage;
[0039] The second fully connected layer is used to identify the error link corresponding to the second label, so as to realize the network's ability to classify and locate the error source;
[0040] The target error tracing network is obtained by training in a cross-training manner.
[0041] A fire control system error tracing device, the device comprising a processor and a memory:
[0042] The memory is used to store program code and transmit the program code to the processor;
[0043] The processor is used to execute the above-mentioned fire control system error tracing method according to the instructions in the program code.
[0044] A computer-readable storage medium is used to store program codes, and the program codes are used to execute the above-mentioned fire control system error tracing method.
[0045] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0046] The embodiment of the present application provides a method, device, equipment and storage medium for tracing the error of a fire control system. The target error tracing network provided by the method introduces a graph convolution structure and combines the prior information of the error transfer process of the fire control system to capture the complex error transfer relationship between various links of the fire control system. In the training process of the target error tracing network, a multi-task cross-training method is introduced to improve the model's ability to distinguish similar error sources and alleviate the overfitting of the deep learning model. The model provided by the present application can achieve better error source positioning accuracy than the traditional deep learning method when the data of each link of the fire control system is observable and the data of some links is lost.
[0047] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1is a flow chart of a method for tracing the source of an error in a fire control system provided by an embodiment of the present invention;
[0050] Figure 2 It is a framework diagram of a fire control system error tracing system provided by an embodiment of the present invention;
[0051] Figure 3 is a schematic diagram of the distribution of error sources of a fire control system provided by an embodiment of the present invention;
[0052] Figure 4 is a schematic diagram of a GraphWaveNet neural network provided by an embodiment of the present invention;
[0053] Figure 5 is a fire control system error source transfer diagram provided by an embodiment of the present invention;
[0054] Figure 6 is a schematic diagram of a fire control system error tracing device provided by an embodiment of the present invention;
[0055] Figure 7 It is a schematic diagram of a fire control system error tracing device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.
[0057] See also Figure 1 , is a method for tracing the source of a fire control system error provided by an embodiment of the present invention, such as Figure 1 As shown, the method may include:
[0058] S101: simultaneously collecting sensor data at various positions of a first fire control system and a second fire control system to obtain a first multidimensional time series and a second multidimensional time series; the first fire control system and the second fire control system observe, track, solve and follow-up control the same target; the first fire control system is a fire control system that works normally, and the second fire control system is a fire control system with an error source;
[0059] S102: After data preprocessing, the first multidimensional time series and the second multidimensional time series are input into a trained target error tracing network, so that the target error tracing network can locate the error link of the second fire control system;
[0060] Wherein, the target error tracing network includes a shared network structure area and a non-shared network structure area;
[0061] The shared network structure area includes a WaveNet network and a graph convolutional network, and the shared network structure area is used to extract the error source data features according to the first multidimensional time series and the second multidimensional time series and use the graph convolutional network to capture the error transmission relationship between various links of the fire control system; the non-shared network structure area includes a first fully connected layer and a second fully connected layer;
[0062] The error source data feature is used to generate a label pair, the label pair comprising a first label for representing a system state of the first fire control system and a second label for representing a system state of the second fire control system;
[0063] The first fully connected layer is used to distinguish whether the first label is the same as the second label, so as to improve the network's ability to distinguish different error sources during the network training stage;
[0064] The second fully connected layer is used to identify the error link corresponding to the second label, so as to realize the network's ability to classify and locate the error source;
[0065] The target error tracing network is obtained by training in a cross-training manner.
[0066] The fire control system error tracing method provided in the embodiment of the present application introduces a graph convolution structure into the target error tracing network, combines the prior information of the fire control system error transmission process, and captures the complex error transmission relationship between various links of the fire control system. The multi-task cross-training method is introduced to improve the model's ability to distinguish similar error sources, alleviate the overfitting of the deep learning model, and further improve the accuracy and precision of the fire control system error tracing.
[0067] In order to capture the complex error transmission relationship between various links of the fire control system, the embodiment of the present application introduces a graph convolutional neural network, and the graph convolutional network is represented by the following formula:
[0068] Z=P f XW1+P b XW2+A apt XW3
[0069]
[0070] Where X is the feature extracted by WaveNet network, A is the prior adjacency matrix of error source transmission of fire control system, and A apt is the error transfer adjacency matrix to be learned, W1, W2, W3 are the parameters to be learned, and Z is the feature extracted by the graph convolutional neural network.
[0071] The common network structure area provided in the embodiment of the present application is mainly used to extract error source data features. In specific implementation, the WaveNet network is used to pass a layer of causal convolution on the input multi-dimensional time series into a stacked multi-layer residual block, extract features at different levels through hole convolutions with different convolution kernels, aggregate different levels together to form new features, extract and transform the features through two ReLU and 1×1 convolutions, and obtain the error source data features.
[0072] The target error tracing network uses cross entropy as the network training loss function, and the loss function is expressed by the following formula:
[0073]
[0074] In the formula, N is the number of samples, K is the number of predicted categories, and P i,k is the probability that the i-th sample is predicted to be the k-th label, and y is the actual label of the sample.
[0075] In order to solve the problems of narrow input data range of accumulated data in actual scenarios, directly using such data for modeling, and small scope of model application, etc., the embodiment of the present application can provide the error source database for training the target error tracing network, including multi-dimensional time series of measured samples obtained by sensors at different positions of fire control systems without error sources and fire control systems with error sources under the same conditions, and multi-dimensional time series of simulated samples generated by Monte Carlo simulation method.
[0076] The cross-training method includes:
[0077] Obtain samples of task one label pairs from the error source database; use the sample pairs of task one label pairs to train the network composed of the common network structure area and the first fully connected layer, so that the network has the ability to distinguish different error sources;
[0078] The parameters of the common network structure area are fixed, samples of the task two label pairs are obtained from the error source database, and the samples of the task two label pairs are used to train the network composed of the common network structure area and the second fully connected layer, so that the network has the ability to distinguish and locate error sources;
[0079] Both labels in the task one label pair and the task two label pair come from a fire control system that observes, tracks, calculates, and performs follow-up control on the same target;
[0080] Among them, the data corresponding to the two labels in the task one label pair come from the data collected by the normal fire control system and / or the data collected by the abnormal fire control system; one of the data in the task two label pair comes from the data collected by the normal fire control system, and the other data in the task two label pair comes from the data collected by the normal fire control system and / or the data collected by the abnormal fire control system.
[0081] Determine whether there are errors in the three links of the fire control system, namely the tracker, fire control solution, and servo control system. The fire control system status is divided into: 0-normal, 1-only the tracker error source, 2-only the fire control solution error source, 3-only the servo control system error source, 4-both the tracker and the fire control solution error sources, 5-both the tracker and the servo control system error sources, 6-both the fire control solution and the servo control system error sources, 7-error sources exist in all three links at the same time.
[0082] In actual application, since the first fire control system is a normally working fire control system, it can be determined that the first label is 0, and the second fire control system is a system to be traced with an unknown error source;
[0083] Subtracting the acquired data at corresponding positions of the first multidimensional time series and the second multidimensional time series to obtain a difference multidimensional time series;
[0084] By learning the difference multidimensional time series features, the network can identify whether the difference multidimensional time series data comes from a similar fire control system. If it comes from a similar fire control system, since the first label is 0, the second label is also 0, which means that the second fire control system belongs to a normal fire control system.
[0085] If it is not from a similar system, the network can obtain the value of the second label according to the feature mapping of the difference multidimensional time series, and determine the link type corresponding to the error source of the second fire control system. For example, if the identified second label value is 1, it means that there is only a tracker error in the second fire control system.
[0086] The fire control system error tracing method provided in the embodiment of the present application uses Monte Carlo simulation and real collected data to construct a fire control system error source database. The database is composed of multi-dimensional time series obtained from sensors at different positions of fire control systems with no error sources and fire control systems with fire control system error sources under the same conditions.
[0087] Construct a fire control system error tracing data set and train an error tracing network. Compare the multidimensional time series obtained from the observation, tracking, filtering, fire control solution, and follow-up control of a normal fire control system and a fire control system with an error source, and locate the error source to a certain extent. Differences are made between the multidimensional time series of the corresponding positions of the two systems to obtain a fire control system error source data set, and the data set is used to train a fire control system error tracing network.
[0088] Deploy the fire control system error tracing network, connect the debugged and undebugged fire control systems, locate the error source of the undebugged system through the error tracing system, and guide the operators to quickly complete the fire control system error source location and debugging.
[0089] The following is a further detailed description of the fire control system error tracing method provided in the embodiment of the present application. Figure 2 shown.
[0090] Step 1: Construct a fire control system error tracing database. The main inputs of the fire control system include the azimuth, elevation and slant distance measured by the tracker, the carrier attitude, meteorological conditions (temperature correction, air density correction, wind speed, wind direction), and ballistic conditions (grenade initial velocity correction). The input data range of the data accumulated in the actual scenario is narrow, and the model is only applicable to a small range if such data is directly used for modeling. Therefore, the Monte Carlo simulation method is used to generate a batch of data to expand the database.
[0091] For a normal fire control system, for any measurable variable x input into the fire control system, the quantity assumes that its true value is x μ , then x satisfies:
[0092]
[0093] For a fire control system with an error source, for any measurable variable x input into the fire control system, the quantity assumes that its true value is x μ , the error is Δx, then x satisfies:
[0094]
[0095] The error sources of the fire control system are distributed as follows: Figure 3 As shown in the figure, there are errors in the three links of tracker, fire control solution and servo control system. Considering that there may be errors in multiple links, the fire control system status can be divided into: 0--normal, 1--only tracker error source, 2--only fire control solution error source, 3--only servo control system error source, 4--tracker and fire control solution error sources, 5--tracker and servo control system error sources, 6--fire control solution and servo control system error sources, 7--and the situation where error sources exist in all three links at the same time.
[0096] The data format in the error source database is set to sample data pairs from different error sources under the same input parameters. The features in the data are (F A ,F B ), labeled (E A ,E B ). For example, fire control system A is a normal system and its label is E A is 0, feature FA That is, the multidimensional time series obtained by sampling sensors in each link of the fire control system A. The steps of constructing the above data pair using the Monte Carlo simulation method are as follows:
[0097] a. Select the target track parameters, generate the target track, select the true values of the gun carriage attitude, the meteorological conditions during the test, and the ballistic conditions and their corresponding mean square error.
[0098] b. According to the label (E A ,E B ) generates two fire control systems with different error sources, E A , E B Randomly select from 0 to 7. When there is an error source in a link, one or more underlying error sources under the link are randomly selected as the actual error source. When there is no error source in a link, its internal input data is sampled according to formula (1). When there is an error source in a link, its internal input data is sampled according to formula (2).
[0099] c. After sampling is completed, the data is input into the corresponding fire control system, and the time series of each variable is extracted from the fire control system tracker, fire control computer, and follow-up control system to form F A and F B In the actual data set, the azimuth, elevation, slant distance, filter output of the tracker, meteorological conditions and ballistic conditions received by the fire control system, firing parameters solved by the fire control computer, firing parameters output by the follow-up control system, and control error data of the follow-up control system were extracted.
[0100] The sample pairs obtained by the Monte Carlo sampling method and the sample pairs obtained by combining the real scene data are stored in the fire control system error tracing database.
[0101] Step 2: Construct the error tracing data set. The collected data F A and F B There is obvious noise and some real data are missing, so the data needs to be preprocessed. The 3σ principle is used to truncate extreme data, and linear interpolation method is used to interpolate missing data.
[0102] Step 3: Train the error tracing network.
[0103] like Figure 4 As shown, the schematic diagram of the error tracing network is shown. The network is divided into a shared network structure area and a non-shared network structure area. The shared network structure area is mainly used to extract the error source data characteristics.
[0104] The shared network structure area is composed of a typical WaveNet network plus a graph convolutional network. The input data of the WaveNet network is multi-dimensional time series data. The data enters the stacked multi-layer residual block through a layer of causal convolution. The features of different levels are extracted through the hole convolution of different convolution kernels, and the different levels are aggregated together to form new features. The features are further extracted and transformed through two ReLU and 1×1 convolutions to obtain the data after the extracted features. In order to capture the complex error transmission relationship between the various links of the fire control system, the graph convolutional neural network is introduced:
[0105] Z=P f XW1+P b XW2+A apt XW3
[0106]
[0107] Where X is the feature extracted by WaveNet network, A is the prior adjacency matrix of error source transmission of fire control system, and A apt is the error transfer adjacency matrix to be learned, W1, W2, W3 are the parameters to be learned, and Z is the feature extracted by the graph convolutional neural network.
[0108] A is initialized to a matrix of size n*n with all elements set to 1, where n is the number of sampling positions of the fire control system. Each column of data in X represents the data collected by a certain position sensor after feature extraction. Figure 5 As shown, according to the data flow method in the fire control system error source transfer diagram, the error can only flow from the tracker to the filter, fire control computer, and follow-up control system one by one. When the data can flow from P1 to P2 but not from P2 to P1:
[0109] A(p1,p2)=1
[0110] A(p2,p1)=0 (4)
[0111] The non-shared network structure area contains two fully connected layers (MLP), one for learning the label (E A ,E B ) is the label E of the sample A and E B Are they the same? This task is an auxiliary task for contrastive learning, which enables the model to have the ability to distinguish different error sources. Another task is used to learn sample pairs with labels (0, E B ) in the sample label E B This task is the main task, and through this task the error tracing of the fire control system can be achieved.
[0112] Both tasks are classification tasks. The optimization method for model training is Adam optimizer, and the initial learning rate is 10-3 , the Adam optimizer will adjust the learning rate based on the first-order and second-order distance estimates of the parameter gradient. The model training uses cross entropy as the network loss function:
[0113]
[0114] In the formula, N is the number of samples, K is the number of predicted categories, and P i,k is the probability that the i-th sample is predicted to be the k-th label, and y is the actual label of the sample.
[0115] The error tracing network training adopts the cross-training method. First, the error source database is queried to obtain the label format (E A ,E B ) samples, and use part of the data to train the network composed of the common network structure area and MLP1, so that the network has the ability to distinguish different error sources.
[0116] Then fix the parameters of the common network structure area and query the error source database to obtain labels in the form of (0, E B ) samples, and use part of the data to train the network composed of the common network structure area and MLP2, so that the network has the ability to distinguish and locate the error source.
[0117] Then continue to use the samples obtained from database query to cross-train the model according to the above method, and finally obtain an error tracing network with good error source positioning.
[0118] Step 4: Deploy the error tracing network to quickly locate and maintain the fire control system error source. In actual applications, the normally working fire control system and the fire control system with error sources observe, track, solve, and follow-up control the same target. At the same time, the data of the sensors at each position of the two systems are collected, and after data preprocessing, they are output to the error tracing network. The error tracing network locates the error link, and the operator further compares and analyzes the error source according to the suggestions of the error tracing network to complete the maintenance and correction of the fire control system.
[0119] The effect of the fire control system error tracing method provided in the embodiment of the present application is verified.
[0120] Example 1: Error tracing when sensors are installed in all links of the fire control system.
[0121] The indicators used to evaluate the effectiveness of the multi-classification model are developed from the evaluation indicators of the binary classification problem.
[0122] In the binary classification problem, commonly used indicators include classification accuracy, precision, recall and F1 score. These indicators are related to TP (the number of samples predicted as positive in the positive class), FP (the number of samples predicted as positive in the negative class), TN (the number of samples predicted as negative in the negative class), and FN (the number of samples predicted as negative in the positive class). The specific definitions are as follows:
[0123]
[0124] Accuracy is the ratio of correctly classified samples to the total number of samples, precision is the ratio of truly positive samples among samples predicted to be positive, recall is the ratio of samples predicted to be positive among all positive samples, and F1 score is the harmonic mean of precision and recall. In actual use, precision and recall are the most commonly used, which are a pair of contradictory quantities. When precision increases, recall decreases, and when recall increases, precision decreases. F1 score combines precision and recall, and can better evaluate the performance of the model.
[0125] For multi-classification, the average of the indicators of each category is taken as the evaluation criterion:
[0126]
[0127] When sensors are installed in all links of the fire control system, multi-dimensional time series data of these links are obtained, including the azimuth, elevation, slant distance, filter output of the tracker, meteorological conditions and ballistic conditions received by the fire control system, firing parameters solved by the fire control computer, firing parameters output by the servo control system, control error data of the servo control system, etc., a total of 28 characteristic data are used to establish a model. In order to evaluate the performance of the error tracing network proposed in the embodiment of the present application, the support vector machine, wavelet neural network and WaveNet network results are compared on the same data set.
[0128] Since the support vector machine method and the wavelet neural network method cannot directly process multivariate time series, the mean, variance, maximum, minimum, 1 / 4 quantile, 1 / 2 quantile and 3 / 4 quantile features of the time series are first extracted in the time dimension of each feature as the input of these models. In the traceability experiment, the Bayesian optimization method is used to optimize the vector machine, wavelet neural network and WaveNet network, and the model proposed in the embodiment of the present application, and the best performing network is obtained as the result for comparison. The comparison results are shown in Table 1. The model based on the deep learning method performs best, with an average F1 score higher than 0.9, and the average F1 scores of the support vector machine and the wavelet neural network are 0.72 and 0.87. This shows that the use of deep learning methods in the error tracing of the fire control system can significantly improve the accuracy of error tracing and help equipment system maintenance. The F1 score of the model proposed in the embodiment of the present application is 0.01 higher than that of the WaveNet network, which fully demonstrates that the introduction of graph structure and multi-task cross-training method helps to improve the network's ability to extract features from error source data.
[0129] Table 1 Performance of different model error tracing models in Example 1
[0130]
[0131] Example 2: It is understandable that in actual scenarios, there may be situations where sensors are not installed in some locations of the fire control system or the sensor data is not visible. The embodiment of the present application considers the real-time tracking data of invisible targets of the tracker, shields the tracker and attitude measurement data, and then trains the model for testing. The model performance is shown in Table 2.
[0132] Although the average accuracy, average precision, draw recall, and average F1 score of the model are significantly lower than those under more comprehensive observations, the model proposed in this application still performs best, with an average F1 score 0.05 higher than the WaveNet network. This shows that the error propagation captured by the graph structure and the ability to distinguish different error sources learned by multi-task cross-training play an important role in error tracing. The introduction of these modules helps to improve the error source location accuracy of the error tracing task.
[0133] Table 2 Performance of error tracing models of different models in Example 2
[0134]
[0135]
[0136] In summary, the fire control system error tracing method provided by this application introduces a graph convolution structure in the target error tracing network, combined with the prior information of the fire control system error transmission process, to capture the complex error transmission relationship between various links of the fire control system. In the training process of the target error tracing network, a multi-task cross-training method is introduced to improve the model's ability to distinguish similar error sources and alleviate the overfitting of the deep learning model. The model provided by this application can achieve better error source positioning accuracy than traditional deep learning methods when the data of each link of the fire control system is observable and the data of some links is lost.
[0137] See also Figure 6 , the embodiment of the present application can also provide a fire control system error tracing device, such as Figure 6 As shown, the device for executing the above-mentioned fire control system error tracing method may include:
[0138] The data acquisition unit 601 is used to simultaneously acquire sensor data at various positions of the first fire control system and the second fire control system to obtain a first multi-dimensional time series and a second multi-dimensional time series; the first fire control system and the second fire control system observe, track, solve and follow-up control the same target; the first fire control system is a fire control system that works normally, and the second fire control system is a fire control system with an error source;
[0139] The error link locating unit 602 is used to perform data preprocessing on the first multidimensional time series and the second multidimensional time series respectively, and then input the data into the trained target error tracing network, so that the target error tracing network can locate the error link of the second fire control system;
[0140] Wherein, the target error tracing network includes a shared network structure area and a non-shared network structure area;
[0141] The shared network structure area includes a WaveNet network and a graph convolutional network, and the shared network structure area is used to extract the error source data features according to the first multidimensional time series and the second multidimensional time series and use the graph convolutional network to capture the error transmission relationship between various links of the fire control system; the non-shared network structure area includes a first fully connected layer and a second fully connected layer;
[0142] The error source data feature is used to generate a label pair, the label pair comprising a first label for representing a system state of the first fire control system and a second label for representing a system state of the second fire control system;
[0143] The first fully connected layer is used to distinguish whether the first label is the same as the second label, so as to realize the ability of the network to distinguish whether there is an error source;
[0144] After determining that the two labels are different, the second fully connected layer is used to identify the error link corresponding to the second label, so as to realize the network's ability to classify and locate the error source;
[0145] The target error tracing network is obtained by training in a cross-training manner.
[0146] The embodiment of the present application may also provide a fire control system error tracing device, the device comprising a processor and a memory:
[0147] The memory is used to store program code and transmit the program code to the processor;
[0148] The processor is used to execute the steps of the above-mentioned fire control system error tracing method according to the instructions in the program code.
[0149] like Figure 7 As shown, a fire control system error tracing device provided in an embodiment of the present application may include: a processor 10, a memory 11, a communication interface 12 and a communication bus 13. The processor 10, the memory 11 and the communication interface 12 communicate with each other through the communication bus 13.
[0150] In the embodiment of the present application, the processor 10 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic devices.
[0151] The processor 10 may call a program stored in the memory 11. Specifically, the processor 10 may execute operations in an embodiment of the method for tracing the source of an error in a fire control system.
[0152] The memory 11 is used to store one or more programs, which may include program codes, and the program codes include computer operation instructions. In the embodiment of the present application, the memory 11 at least stores programs for implementing the following functions:
[0153] The sensor data of each position of the first fire control system and the second fire control system are simultaneously collected to obtain a first multi-dimensional time series and a second multi-dimensional time series; the first fire control system and the second fire control system observe, track, solve and follow-up control the same target; the first fire control system is a fire control system that works normally, and the second fire control system is a fire control system with an error source;
[0154] After data preprocessing, the first multidimensional time series and the second multidimensional time series are respectively input into the trained target error tracing network, so that the target error tracing network can locate the error link of the second fire control system;
[0155] Wherein, the target error tracing network includes a shared network structure area and a non-shared network structure area;
[0156] The shared network structure area includes a WaveNet network and a graph convolutional network, and the shared network structure area is used to extract the error source data features according to the first multidimensional time series and the second multidimensional time series and use the graph convolutional network to capture the error transmission relationship between various links of the fire control system; the non-shared network structure area includes a first fully connected layer and a second fully connected layer;
[0157] The error source data feature is used to generate a label pair, the label pair comprising a first label for representing a system state of the first fire control system and a second label for representing a system state of the second fire control system;
[0158] The first fully connected layer is used to distinguish whether the first label is the same as the second label, so as to improve the network's ability to distinguish different error sources during the network training stage;
[0159] The second fully connected layer is used to identify the error link corresponding to the second label, so as to realize the network's ability to classify and locate the error source;
[0160] The target error tracing network is obtained by training in a cross-training manner.
[0161] In one possible implementation, the memory 11 may include a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required for at least one function (such as a file creation function, a data reading and writing function), etc.; the data storage area can store data created during use, such as initialization data, etc.
[0162] In addition, the memory 11 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device or other volatile solid-state storage device.
[0163] The communication interface 12 may be an interface of a communication module, and is used to connect to other devices or systems.
[0164] Of course, it should be noted that Figure 7 The structure shown does not constitute a limitation on the fire control system error tracing device in the embodiment of the present application. In actual applications, the fire control system error tracing device may include Figure 7 More or fewer components than shown, or combinations of certain components.
[0165] The embodiment of the present application may also provide a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the steps of the above-mentioned fire control system error tracing method.
[0166] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0167] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0168] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0169] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A method for tracing the source of a fire control system error, characterized in that: include: Simultaneously collecting sensor data at various positions of the first fire control system and the second fire control system to obtain a first multi-dimensional time series and a second multi-dimensional time series; The first fire control system and the second fire control system observe, track, solve and follow-up control the same target; the first fire control system is a fire control system that works normally, and the second fire control system is a fire control system with an error source; After data preprocessing, the first multidimensional time series and the second multidimensional time series are respectively input into the trained target error tracing network, so that the target error tracing network can locate the error link of the second fire control system; Wherein, the target error tracing network includes a shared network structure area and a non-shared network structure area; The shared network structure area includes a WaveNet network and a graph convolutional network, and the shared network structure area is used to extract the error source data features according to the first multidimensional time series and the second multidimensional time series and use the graph convolutional network to capture the error transmission relationship between various links of the fire control system; the non-shared network structure area includes a first fully connected layer and a second fully connected layer; The error source data feature is used to generate a label pair, the label pair comprising a first label for representing a system state of the first fire control system and a second label for representing a system state of the second fire control system; The first fully connected layer is used to distinguish whether the first label is the same as the second label, so as to improve the network's ability to distinguish different error sources during the network training stage; The second fully connected layer is used to identify the error link corresponding to the second label, so as to realize the network's ability to classify and locate the error source; The target error tracing network is obtained by training in a cross-training manner.
2. The method for tracing the source of the fire control system error according to claim 1, characterized in that: The graph convolutional network is represented by the following formula: Z=P f XW1+P b XW2+A apt XW3 Where X is the feature extracted by WaveNet network, A is the prior adjacency matrix of error source transmission of fire control system, and A apt is the error transfer adjacency matrix to be learned, W1, W2, W3 are the parameters to be learned, and Z is the feature extracted by the graph convolutional neural network.
3. The method for tracing the source of the fire control system error according to claim 2, characterized in that: The WaveNet network is used to input a multi-dimensional time series into a stacked multi-layer residual block through a layer of causal convolution, extract features at different levels through hole convolutions with different convolution kernels, aggregate different levels together to form new features, extract and transform features through two ReLU and 1×1 convolutions, and obtain the error source data features.
4. The method for tracing the source of the fire control system error according to claim 1, characterized in that: The target error tracing network uses cross entropy as the network training loss function, and the loss function is expressed by the following formula: In the formula, N is the number of samples, K is the number of predicted categories, and P i,k is the probability that the i-th sample is predicted to be the k-th label, and y is the actual label of the sample.
5. The method for tracing the source of the fire control system error according to claim 1, characterized in that: The error source database for training the target error tracing network includes a multidimensional time series of measured samples obtained from sensors at different positions of a fire control system without an error source and a fire control system with an error source under the same conditions, as well as a multidimensional time series of simulated samples generated using a Monte Carlo simulation method.
6. The method for tracing the source of the fire control system error according to claim 5, characterized in that: The cross-training method includes: Obtain samples of task one label pairs from the error source database; use the sample pairs of task one label pairs to train the network composed of the common network structure area and the first fully connected layer, so that the network has the ability to distinguish different error sources; The parameters of the common network structure area are fixed, samples of the task two label pairs are obtained from the error source database, and the samples of the task two label pairs are used to train the network composed of the common network structure area and the second fully connected layer, so that the network has the ability to distinguish and locate error sources; Both labels in the task one label pair and the task two label pair come from a fire control system that observes, tracks, calculates, and performs follow-up control on the same target; Among them, the data corresponding to the two labels in the task one label pair come from the data collected by the normal fire control system and / or the data collected by the abnormal fire control system; one of the data in the task two label pair comes from the data collected by the normal fire control system, and the other data in the task two label pair comes from the data collected by the normal fire control system and / or the data collected by the abnormal fire control system.
7. The method for tracing the source of the fire control system error according to claim 1, characterized in that: Determine whether there are errors in the three links of the fire control system, namely the tracker, fire control solution, and servo control system. The fire control system status is divided into: 0-normal, 1-only the tracker error source, 2-only the fire control solution error source, 3-only the servo control system error source, 4-both the tracker and the fire control solution error sources, 5-both the tracker and the servo control system error sources, 6-both the fire control solution and the servo control system error sources, 7-error sources exist in all three links at the same time.
8. A fire control system error tracing device, characterized in that: The device is used to execute the method for tracing the source of the error of the fire control system according to any one of claims 1 to 7, and comprises: a data acquisition unit, used for simultaneously acquiring sensor data of each position of the first fire control system and the second fire control system to obtain a first multi-dimensional time series and a second multi-dimensional time series; the first fire control system and the second fire control system observe, track, solve and follow-up control the same target; the first fire control system is a fire control system in normal operation, and the second fire control system is a fire control system with an error source; an error link locating unit, configured to perform data preprocessing on the first multidimensional time series and the second multidimensional time series respectively, and then input the data into a trained target error tracing network, so that the target error tracing network can locate the error link of the second fire control system; Wherein, the target error tracing network includes a shared network structure area and a non-shared network structure area; The shared network structure area includes a WaveNet network and a graph convolutional network, and the shared network structure area is used to extract the error source data features according to the first multidimensional time series and the second multidimensional time series and use the graph convolutional network to capture the error transmission relationship between various links of the fire control system; the non-shared network structure area includes a first fully connected layer and a second fully connected layer; The error source data feature is used to generate a label pair, the label pair comprising a first label for representing a system state of the first fire control system and a second label for representing a system state of the second fire control system; The first fully connected layer is used to distinguish whether the first label is the same as the second label, so as to improve the network's ability to distinguish different error sources during the network training stage; The second fully connected layer is used to identify the error link corresponding to the second label, so as to realize the network's ability to classify and locate the error source; The target error tracing network is obtained by training in a cross-training manner.
9. A fire control system error tracing device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the fire control system error tracing method described in any one of claims 1-7 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and the program codes are used to execute the fire control system error tracing method described in any one of claims 1-7.
Citation Information
Cited By
Inter-satellite cross-platform laser communication link error traceability and cooperative error control method
CN120811487A
