A data extraction method, device and storage medium

By using the end-to-end deep network model and out-of-sequence data extraction technology in the aerospace measurement system, the problem of low reliability of system error correction in the aerospace measurement system is solved, and the accuracy and reliability of error correction are improved.

CN117668549BActive Publication Date: 2024-09-20CHINESE PEOPLES LIBERATION ARMY UNIT 63620
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202311668220.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-07
Publication Date
2024-09-20
Estimated Expiration
2043-12-07

AI Technical Summary

Technical Problem

In aerospace measurement systems, system errors are calibrated and corrected by regularly measuring fixed targets, and subsequent error corrections are based on a priori empirical model assumptions, resulting in low reliability.

Method used

An end-to-end deep network model is used to correct random and systematic errors in sensor measurement data. By extracting measurement data out of order for training, the training effect of the deep network model is improved, thereby improving the reliability of error correction.

Benefits of technology

Training the end-to-end deep network model by extracting data out of sequence improves the reliability of error correction of the aerospace measurement system, reduces the dependence on a priori model assumptions, and enhances the accuracy of system error correction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117668549B
    Figure CN117668549B
Patent Text Reader

Abstract

The present invention discloses a data extraction method, device and storage medium, the method comprising: before training an end-to-end deep network model for random and systematic error correction of sensor measurement data of an aerospace measurement system, obtaining sensor measurement data of the aerospace measurement system to form a measurement data set; based on the measurement data set, determining a current training data set to be trained; from the current training data set to be trained, using a random extraction method, extracting a training batch of training samples; based on the extracted training samples of a training batch, using a preset network model for training, obtaining the required end-to-end deep network model for random and systematic error correction of sensor measurement data of the aerospace measurement system. This solution can improve the training effect of the deep network model by extracting measurement data in a random extraction manner, thereby improving the reliability of error correction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of aerospace measurement systems, and specifically relates to a data extraction method, device and storage medium, and in particular to a disordered data extraction method, device and storage medium for time series data. Background Art

[0002] In aerospace measurement systems composed of multiple sensors (including remote external radar, optical telescope measurement systems, etc.), the measurement data obtained by each sensor contains systematic errors (also known as gross errors) and random errors. In related schemes, systematic errors are calibrated and corrected by regularly measuring fixed targets, and random errors are corrected based on various prior empirical model assumptions, and then the measurement data is fitted (generally using maximum square fitting) to obtain the assumed parameters for error correction, which has low reliability.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The object of the present invention is to provide a data extraction method, device and storage medium to solve the problem of low reliability in related schemes, in which the system error of an aerospace measurement system is calibrated and corrected by periodically measuring a fixed target, and the correction of the random error is based on various prior empirical model assumptions, and then the measurement data is used to fit the assumption parameters for error correction. By extracting measurement data in a disordered manner before training an end-to-end deep network model for random and systematic error correction of sensor measurement data of an aerospace measurement system, the training effect of the deep network model can be improved, thereby improving the reliability of the error correction.

[0005] The present invention provides a data extraction method, which is applied to training an end-to-end deep network model for correcting random and systematic errors of sensor measurement data of an aerospace measurement system; the data extraction method comprises: before training the end-to-end deep network model for correcting random and systematic errors of sensor measurement data of an aerospace measurement system, acquiring sensor measurement data of the aerospace measurement system to form a measurement data set; based on the measurement data set, determining a current training data set to be trained; from the current training data set to be trained, using a random extraction method, extracting training samples of a training batch; based on the extracted training samples of a training batch, training using a preset network model to obtain the required end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system.

[0006] In some embodiments, based on the measurement data set, determining the current training data set to be trained includes: extracting some batches of measurement data from the measurement data set to form a training data set D; writing each measurement batch B in the training data set D as a set of single measurement point combinations; splicing the measurement point set of each measurement batch B in the training data set D to form a new training set D′ as the current training data set to be trained.

[0007] In some embodiments, the new training set D′ is: Where i = 1, 2, ... n, represents the i-th measurement sequence, m i Represents the number of data points obtained in the i-th measurement, where n and m are both positive integers.

[0008] In some embodiments, a random extraction method is used to extract a training batch of training samples from the current training data set to be trained, including: shuffling the data in the current training data set to be trained, recording it as the random training data to be trained; and randomly extracting a batch of data from the current random training data to be trained to form a training batch of training samples.

[0009] In some embodiments, based on the training samples extracted from a training batch, training is performed using a preset network model to obtain the desired end-to-end deep network model, including: based on the training samples extracted from a training batch, training is performed using a preset network model to obtain a model gradient; re-extracting training samples from another training batch from the current training data set to be trained using a random extraction method; based on the training samples extracted from another training batch, training is performed using a preset network model to obtain another model gradient; this cycle is repeated until the obtained model gradient no longer decreases or the number of training times has reached the set maximum number of training times, and the model parameters obtained from the training at this time are saved to obtain the desired end-to-end deep network model.

[0010] In some embodiments, the training samples of another training batch are extracted from the current training data set by using a random extraction method, including: in the new data extraction process, data are no longer extracted according to the measurement batch, and features x6~x 11 Keep changing; where x6 is the atmospheric temperature, x7 is the atmospheric humidity, x8 is the atmospheric pressure, x9 is the photoelectric level difference of the measuring device, 10 is the photoelectric vertical difference of the measuring device, x 11 To measure the unevenness of the equipment plate.

[0011] In some embodiments, based on a training sample extracted from a training batch, a preset network model is used for training to obtain a model gradient, including: based on a training sample extracted from a training batch, a preset network model is used to calculate the value of the loss function and perform gradient correction to obtain a model gradient.

[0012] Matching the above method, the present invention provides a data extraction device on the other hand, which is used for training an end-to-end deep network model for correcting random and systematic errors of sensor measurement data of aerospace measurement systems; the data extraction device includes: an acquisition unit, which is configured to acquire sensor measurement data of the aerospace measurement system to form a measurement data set before training the end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system; a control unit, which is configured to determine a current training data set to be trained based on the measurement data set; the control unit is also configured to extract a training batch of training samples from the current training data set to be trained using a random extraction method; the control unit is also configured to train based on the extracted training samples of a training batch using a preset network model to obtain the required end-to-end deep network model for correcting random and systematic errors of sensor measurement data of aerospace measurement systems.

[0013] In some embodiments, the control unit determines the current training data set to be trained based on the measurement data set, including: extracting some batches of measurement data from the measurement data set to form a training data set D; writing each measurement batch B in the training data set D as a set of single measurement point combinations; splicing the measurement point set of each measurement batch B in the training data set D to form a new training set D′ as the current training data set to be trained.

[0014] In some embodiments, the new training set D′ is: Where i = 1, 2, ... n, represents the i-th measurement sequence, m i Represents the number of data points obtained in the i-th measurement, where n and m are both positive integers.

[0015] In some embodiments, the control unit extracts a training batch of training samples from the current training data set to be trained using a random extraction method, including: shuffling the data in the current training data set to be trained, recording it as the current random training data to be trained; and randomly extracting a batch of data from the current random training data to be trained to form a training batch of training samples.

[0016] In some embodiments, the control unit performs training based on a preset network model based on training samples extracted from a training batch to obtain the required end-to-end deep network model, including: training based on a preset network model based on training samples extracted from a training batch to obtain a model gradient; re-extracting training samples from another training batch from the current training data set to be trained using a random extraction method; training based on training samples extracted from another training batch using a preset network model to obtain another model gradient; repeating this cycle until the obtained model gradient no longer decreases or the number of training times has reached the set maximum number of training times, and saving the model parameters obtained from the training at this time to obtain the required end-to-end deep network model.

[0017] In some embodiments, the control unit re-extracts another training batch of training samples from the current training data set to be trained by using a random extraction method, including: in the new data extraction process, data is no longer extracted according to the measurement batch, and features x6~x 11 Keep changing; where x6 is the atmospheric temperature, x7 is the atmospheric humidity, x8 is the atmospheric pressure, x9 is the photoelectric level difference of the measuring device, 10 is the photoelectric vertical difference of the measuring device, x 11 To measure the unevenness of the equipment plate.

[0018] In some embodiments, the control unit performs training based on a training sample extracted from a training batch and uses a preset network model to obtain a model gradient, including: based on a training sample extracted from a training batch and using a preset network model, calculating the value of the loss function and performing gradient correction to obtain a model gradient.

[0019] Matching the above device, the present invention further provides a terminal on the other hand, including: the data extraction device mentioned above.

[0020] In accordance with the above method, the present invention provides a storage medium on another aspect, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above data extraction method.

[0021] Therefore, the scheme of the present invention obtains sensor measurement data of the aerospace measurement system to form a measurement data set before training an end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system; determines a current training data set to be trained based on the measurement data set; extracts a training batch of training samples from the current training data set to be trained using a random extraction method; and trains based on the extracted training samples of the training batch using a preset network model to obtain the required end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system. Therefore, by extracting measurement data using a random extraction method before training an end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system, the training effect of the deep network model can be improved, thereby improving the reliability of error correction.

[0022] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention.

[0023] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of a flow chart of an embodiment of a data extraction method of the present invention;

[0025] Figure 2 A schematic diagram of a flow chart of an embodiment of determining a training data set to be trained in the method of the present invention;

[0026] Figure 3 A flow chart of an embodiment of extracting a training batch of training samples using a random extraction method in the method of the present invention;

[0027] Figure 4 A flowchart of an embodiment of the method of the present invention for obtaining a desired end-to-end deep network model through training using a preset network model;

[0028] Figure 5 A schematic diagram of the structure of an embodiment of a data extraction device of the present invention;

[0029] Figure 6 Schematic diagram of the overall structure of the end-to-end deep network model;

[0030] Figure 7 is a schematic diagram of the structure of the embedding layer;

[0031] Figure 8 This is a schematic diagram of the structure of the Transformer layer;

[0032] Fig. 9 It is a schematic diagram of the structure of the fully connected layer;

[0033] Fig.10 The figure is a flowchart of a method for extracting disordered data from time series data.

[0034] In conjunction with the accompanying drawings, the reference numerals in the embodiments of the present invention are as follows:

[0035] 102 - acquisition unit; 104 - control unit. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0037] Considering that the systematic error correction method in the relevant schemes generally sets a fixed ground target before measurement or measures the fixed ground target regularly, since the target position has been accurately measured, the systematic errors such as the horizontal error of the large disk and the photoelectric axis inconsistency error can be inverted by measuring the target. The main problems with this method are: 1) It is assumed that the systematic error remains unchanged during the entire measurement process, but in fact, the systematic error will change during the operation of the equipment, and this assumption is not valid; 2) Fixed targets can only be built on the ground, so that only data at low elevation angles can be obtained, and the systematic error of the measuring equipment at different elevation angles will change with the elevation angle; the correction method of random errors requires various prior knowledge and hypothetical models. This prior knowledge often depends on the knowledge level and experience of the data processing personnel, and the model assumptions are more dependent on the experience of the processing personnel, so it is actually unreliable. Different people have different understandings, so the final result has this large uncertainty.

[0038] Therefore, it is necessary to protect an end-to-end deep network model for random and systematic error correction of sensor measurement data. Therefore, some schemes propose a random and systematic error correction method for sensor measurement data based on deep network. For details, please refer to Figures 6 to 9 Example shown.

[0039] Figure 6 The overall structure of the end-to-end deep network model is shown in Figure 2. Figure 6 As shown. Wherein, input X is the measurement sequence, X={x [1] , x [2] , …, x[m]}, where each measurement point is:

[0040] x [i] ={x0,x1,x2,x3,x4,x5,x6,x7,x8,x9,x 10 , x 11}, i = 0, 1, 2…, m, i and m are both positive integers.

[0041] is a total of m measurement results obtained for each measurement. x0 is the target distance R, x1 is the target azimuth A, x2 is the target pitch angle E, x3 is the measurement equipment control level AGC, x4 is the target RCS, x5 is the measurement time T, x6 is the atmospheric temperature, x7 is the atmospheric humidity, x8 is the atmospheric pressure, x9 is the photoelectric level difference of the measurement equipment, x 10 is the photoelectric vertical difference of the measuring device, x 11 To measure the unevenness of the equipment disk, each input data (measurement point) consists of 12 features.

[0042] Output Y is the error-corrected data, Y = {y [0] ,y [1] , ..., y [N]}, where y [i] ={y1, y2, y3, y4}, i=0, 1, 2...N are N measurement values, i and N are both positive integers; y0 is the target distance R, y1 is the target azimuth A, y2 is the target pitch E, y3 is the target RCS. The output data consists of 4 eigenvalues.

[0043] Figure 7 Schematic diagram of the structure of the embedding layer. Figure 6 The embedded layer structure in Figure 7 As shown in Figure 1. The embedding layer is a prediction-based autoencoder. The input data dimension of the embedding layer is 1×12, and the output data dimension is 12×m, where m is the depth of the embedding layer. The output of the lth layer is O l =σ(W l O l-1 +b l ), where l = 1, 2...m. W l is the weight of the lth layer, b l is the bias of the first layer, O l-1 is the output of the previous layer, O0 is the input layer, W l , b l is the parameter to be learned. σ is the ReLU function, which is expressed as f(x)=max(0,x). The output of the embedding layer O=[O1, O1, ..., O m ] T , T represents transpose.

[0044] Figure 8 The structure of the Transformer layer is shown in Figure 2. Figure 8 The specific structure and model are consistent with those described in the paper Attention Is All You Need. The output of the embedding layer O = [O1, O1, ..., O m ] T As the input of the Transformer layer, the output of the Transformer layer is used as the input of the fully connected layer. The structure of the fully connected layer is as follows Fig. 9 As shown. The output of the Transformer layer is O T According to the definition in the above paper.

[0045] Fig. 9 Schematic diagram of the structure of the fully connected layer. Fig. 9 In the figure, the leftmost part is the Transformer layer output layer, the middle part is the fully connected layer, and the rightmost part is the output layer. The output layer outputs the final prediction value. Where W F is the fully connected layer parameter, b F is the bias of the fully connected layer, O T It is the fully connected layer input and the Transformer layer output.

[0046] The specific process of training and using the end-to-end deep network model includes:

[0047] Step 11: Definition of error function and loss function.

[0048] The error function Err is defined by the following formula:

[0049]

[0050] In the formula, is the predicted value when input X, Y is the true value corresponding to X, i represents the i-th component, and m represents the total number of components. i Represents the i-th component in the measurement result, y0 target distance R, y1 target azimuth A, y2 target pitch E, y3 target RCS.

[0051] Represents input X, true value Y and predicted value The error when.

[0052] Loss function during batch training Defined by:

[0053]

[0054] Where i represents the i-th sample, and n represents the number of samples in each batch.

[0055] Step 12: The training steps are as follows:

[0056] Step 121: Initialize each model parameter using random numbers.

[0057] Step 122: Prepare measurement data and corresponding true values.

[0058] Step 123: extract a batch of data from the prepared data set.

[0059] Step 124: Input data to the embedding layer, the model calculates the predicted value, and uses the loss function to calculate the loss.

[0060] Step 125: Optimize the model parameters using the random gradient descent method according to the loss value.

[0061] Step 126: Repeat steps 123 to 125 until the loss function no longer decreases or reaches a predetermined number of training times.

[0062] Step 127: Keep the trained model parameters.

[0063] Step 13: Use the model to perform error correction, as follows:

[0064] Step 131: Create Figure 6 The deep network model defined;

[0065] Step 132, loading the model parameters saved in step 127 into the network model created in step 131;

[0066] Step 133: input the original measurement data into the model, and the model output result is the measurement value after error correction.

[0067] In the model training of some of the above solutions, multiple batches of training data are generally used, and each batch of training data comes from a measurement process. Suppose the training data set is:

[0068] D={B1,B2,…,B n}.

[0069] Where n represents a total of n measurement sequence combined data sets D, B i (i=1, 2, ...n) is the time series data generated by the i-th measurement process.

[0070] According to the description of some of the above schemes, B i =X={x [1] , X [2] , …, x [m]}, m represents the total number of time series data points obtained in one measurement. Each measurement point:

[0071] x [i] ={x0,x1,x2,x3,x4,x5,x6,x7,x8,x9,x 10 , x 11}, i=0, 1, 2…, m.

[0072] Each measuring point x [i] In the equation, x0 is the target distance R, x1 is the target azimuth A, x2 is the target elevation E, x3 is the measurement equipment control level AGC, x4 is the target RCS, x5 is the measurement time T, x6 is the atmospheric temperature, x7 is the atmospheric humidity, x8 is the atmospheric pressure, x9 is the photoelectric level difference of the measurement equipment, and x 10 is the photoelectric vertical difference of the measuring device, x 11 To measure the unevenness of the equipment. 11 All of them are obtained through calibration before the actual measurement, so they remain unchanged during the entire measurement process. In the model training process of the relevant scheme, some data are randomly selected from the data set D to form a batch, such as selecting {B1, B3, B4, B6, B8, B9, B 10} is a batch, input into the model for calculation and parameter adjustment. The problem with this selection method is that when the selected data are input into the model, except when measuring batch changes, x6~x 11 These features remain unchanged except when they change, so it is difficult for the model to fit these features correctly or it is easy to overfit to certain specific values.

[0073] Specifically, because the model training actually calculates the predicted value based on the input value, and then uses the predicted value and the true value to calculate the error and loss value, and then uses the error back propagation mechanism and gradient descent to adjust the model parameters, if some of the input features remain unchanged, the parameters used to process these features in the network will quickly lose their gradients and overfit to these parameters. When switching from one batch of measurement data to the next batch, the network quickly fits to the values ​​of the current batch, so that the entire training process always overfits from one batch of values ​​to another batch of values. Overall, this part of the network can neither fit the actual situation well, nor can it easily overfit to the values ​​of the current batch.

[0074] In order to solve the above problems, the solution of the present invention proposes a data extraction method, specifically a method for extracting random data of similar time periods, which improves the training effect of the deep network model and avoids overfitting of the model to certain specific parameters (specifically, parameters that often remain unchanged, such as x6~x 11 This type of parameter) improves the reliability of error correction.

[0075] According to an embodiment of the present invention, a data extraction method is provided, such as Figure 1 The data extraction method is applied to train an end-to-end deep network model for random and systematic error correction of sensor measurement data for aerospace measurement systems; the data extraction method comprises: steps S110 to S140.

[0076] At step S110 , before training an end-to-end deep network model for random and systematic error correction of sensor measurement data of an aerospace measurement system, sensor measurement data of the aerospace measurement system is acquired to form a measurement data set.

[0077] In step S120, a training data set to be trained is determined based on the measurement data set.

[0078] In some implementations, the specific process of determining the current training data set to be trained based on the measurement data set in step S120 is described in the following exemplary embodiments.

[0079] Combine the following Figure 2 The flowchart of an embodiment of determining the current training data set to be trained in the method of the present invention further illustrates the specific process of determining the current training data set to be trained in step S120, including: steps S210 to S230.

[0080] Step S210: extracting some batches of measurement data from the measurement data set to form a training data set D.

[0081] Step S220: Write each measurement batch B in the training data set D into a set of single measurement point combinations.

[0082] Step S210 , concatenating the measurement point sets of each measurement batch B in the training data set D to form a new training set D′ as the current training data set to be trained.

[0083] Specifically, Fig.10 The figure is a flowchart of a method for extracting out-of-order data from time series data. Fig.10 As shown, the out-of-order data extraction method for time series data includes: step 21, extracting some batches of measurement data from the data set to form a training data set D, and writing each measurement batch B in the training data set D as a set consisting of a single measurement point. The measurement point set of each measurement batch B in the training data set D is concatenated to form a new training set D′, where D′ is a set consisting of a series of measurement points.

[0084] Wherein, the new training set D′ is:

[0085]

[0086] Where i = 1, 2, ... n, represents the i-th measurement sequence, m i Represents the number of data points obtained in the i-th measurement, where n and m are both positive integers.

[0087] Specifically, Fig.10 As shown, the out-of-order data extraction method for time series data further includes: in step 21, for the training data set D = {B1, B2, ..., B n}, and B i =X={x [1] , x [2] , …, x [m]} is rewritten as follows:

[0088]

[0089] Where i = 1, 2, ... n, represents the i-th measurement sequence. i represents the number of data points obtained by the i-th measurement. Therefore, the training data set D can be rewritten as:

[0090]

[0091] In step S130, a training batch of training samples is extracted from the current training data set to be trained using a random extraction method.

[0092] In some implementations, the specific process of extracting a training batch of training samples from the current training data set to be trained using a random extraction method in step S130 is described in the following exemplary embodiment.

[0093] Combine the following Figure 3 The flowchart of an embodiment of extracting a training batch of training samples by using the random extraction method in the method of the present invention further illustrates the specific process of extracting a training batch of training samples by using the random extraction method in step S130, including: step S310 to step S320.

[0094] Step S310, shuffle the data in the current training data set to be trained, and record it as the current disordered training data to be trained.

[0095] Step S320: randomly extract a batch of data from the currently unordered training data to be trained to form a training batch of training samples.

[0096] Specifically, Fig.10 As shown, the out-of-order data extraction method for time series data also includes: step 22, performing model training. When the model starts training, the following steps are performed:

[0097] The first step is to shuffle the data in the training dataset D′.

[0098] Among them, shuffling ordered data can be achieved through randomization methods, common methods include shuffling algorithms and random sampling. For example: suppose there is an ordered data list [1,2,3,4,5], you can use the shuffling algorithm to shuffle the order of this list. The steps of the shuffling algorithm are as follows:

[0099] (1) First, copy the data list to get a new list.

[0100] (2) Then, randomly select an element from the new list and swap it with the element in the corresponding position in the original list.

[0101] (3) Repeat the above steps until all elements have been processed.

[0102] In this way, the original ordered data list is disrupted and a new list with random arrangement is obtained. In deep learning, randomization of training data has several important purposes: Avoid overfitting: By randomizing training data, the model's dependence on a specific order can be reduced, and the model's memory of training data can be reduced, thereby reducing the risk of overfitting; Improve generalization ability: Randomizing training data can make the model better generalize to new data sets, because the model will be exposed to different data arrangements and distributions during training, so as to better adapt to different data situations; Prevent gradient descent from falling into local optimal solutions: By randomizing training data, the model can be prevented from falling into local optimal solutions during gradient descent, because different data arrangements can lead to different gradient descent paths, thereby increasing the possibility of the model finding the global optimal solution.

[0103] Therefore, randomization of deep network training data can help improve the generalization ability of the model, reduce the risk of overfitting, and increase the possibility of the model finding the global optimal solution.

[0104] The second step is to randomly extract a batch of data, such as 1000 data, from the shuffled training data set D′ to form a training batch T. Random extraction means extracting a batch of data from a random position in the shuffled set.

[0105] In step S140, based on the training samples of a training batch extracted, a preset network model is used for training to obtain the required end-to-end deep network model for correcting random and systematic errors of sensor measurement data of aerospace measurement systems.

[0106] The scheme of the present invention obtains sensor measurement data of an aerospace measurement system to form a measurement data set before training an end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system; determines a current training data set to be trained based on the measurement data set; extracts a training batch of training samples from the current training data set to be trained using a random extraction method; and performs training based on the extracted training samples of the training batch using a preset network model to obtain a required end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system. Thus, by extracting measurement data using a random extraction method before training an end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system, the training effect of the deep network model can be improved, thereby improving the reliability of error correction.

[0107] In some embodiments, the specific process of obtaining the required end-to-end deep network model by training based on the training samples of a training batch extracted in step S140 using a preset network model is described in the following exemplary embodiments.

[0108] Combine the following Figure 4 The flowchart of an embodiment of the method of the present invention in which a preset network model is used for training to obtain a desired end-to-end deep network model is shown, further illustrating the specific process of using a preset network model for training to obtain a desired end-to-end deep network model in step S140, including: steps S410 to S440.

[0109] Step S410, based on the extracted training samples of a training batch, training is performed using a preset network model to obtain a model gradient.

[0110] Step S420, extracting training samples of another training batch from the current training data set to be trained again by using a random extraction method.

[0111] Step S430, based on the extracted training samples of another training batch, training is performed using a preset network model to obtain another model gradient.

[0112] Step S440, repeat this process until the model gradient no longer decreases or the number of training times reaches the set maximum number of training times, and save the model parameters obtained by training at this time to obtain the required end-to-end deep network model.

[0113] Specifically, Fig.10 As shown, the out-of-order data extraction method for time series data also includes: step 22, performing model training. When the model starts training, the following steps are also performed:

[0114] The third step is to input the extracted data T into the model for calculation and gradient correction, specifically calculating the value of the loss function and performing gradient correction.

[0115] Among them, the steps of calculating the value of the loss function and performing gradient correction usually include the following steps:

[0116] (1) Forward propagation: First, the input data is passed into the neural network model. After multiple layers of calculation and activation functions, the output of the model is finally obtained.

[0117] (2) Compute Loss: Compare the output of the model with the true label and calculate the value of the loss function;

[0118] (3) Backward Propagation: Based on the value of the loss function, the back propagation algorithm is used to calculate the gradient of each parameter with respect to the loss function. The back propagation algorithm calculates the gradient of each parameter layer by layer using the chain rule, and then updates the parameters according to the gradient descent rule.

[0119] (4) Parameter Update (Gradient Descent): According to the gradient descent algorithm, the calculated gradient is used to update the parameters of the model so that the loss function gradually decreases;

[0120] (5) Repeated iteration: Repeat the above steps until the loss function converges to a satisfactory level or reaches the preset number of iterations.

[0121] Step 4: Repeat steps 2 and 3 until the model gradient no longer decreases or the maximum number of training times is reached.

[0122] The fifth step is to keep the trained model parameters for error correction.

[0123] The model parameters include the following in each layer of the network: Weights: Weights are parameters that connect different neurons in a neural network and are used to adjust the strength of the input signal. Biases: Biases are parameters of each neuron in a neural network and are used to adjust the activation threshold of the neuron; biases can help neurons fit the data better and improve the expressiveness of the model.

[0124] In some embodiments, in step S410, based on the training samples extracted from a training batch, a preset network model is used for training to obtain a model gradient, including: based on the training samples extracted from a training batch, a preset network model is used to calculate the value of the loss function and perform gradient correction to obtain a model gradient.

[0125] Specifically, Fig.10 As shown, the disordered data extraction method for time series data also includes: step 22, model training. When the model starts training, the following steps are also performed: in the third step, the extracted batch of data T is input into the model for calculation and gradient correction, specifically, the value of the loss function is calculated and the gradient correction is performed.

[0126] Among them, in deep learning, the steps of calculating the value of the loss function and performing gradient correction usually include the following steps:

[0127] (1) Forward Propagation: First, the input data is passed into the neural network model. After multiple layers of calculation and activation functions, the output result of the model is finally obtained. For example, suppose there is a simple neural network model, including an input layer, a hidden layer and an output layer. The input layer has 2 features, the hidden layer has 3 neurons, and the output layer has 1 neuron. During the forward propagation process, the input data is linearly transformed and activated by the weight matrix and bias vector to obtain the output result.

[0128] (2) Compute Loss: Compare the output of the model with the true label and calculate the value of the loss function. Common loss functions include mean squared error, cross entropy loss, etc. For example: Assume that mean squared error is used as the loss function to calculate the gap between the predicted value and the true label.

[0129] (3) Backward Propagation: Based on the value of the loss function, the back propagation algorithm is used to calculate the gradient of each parameter with respect to the loss function. The back propagation algorithm calculates the gradient of each parameter layer by layer using the chain rule, and then updates the parameters according to the gradient descent rule. For example, based on the gradient of the loss function, the chain rule is used to calculate the gradient of the weights and biases of the hidden layer and the output layer.

[0130] (4) Parameter Update (Gradient Descent): According to the gradient descent algorithm, the calculated gradient is used to update the parameters of the model so that the loss function gradually decreases. For example: According to the gradient descent algorithm, the weights and biases of the hidden layer and the output layer are updated to reduce the value of the loss function.

[0131] (5) Repeated iteration: Repeat the above steps until the loss function converges to a satisfactory level or reaches the preset number of iterations.

[0132] The above are the basic steps for calculating the value of the loss function and performing gradient correction in deep learning. Through these steps, the model can continuously learn and optimize to improve prediction performance.

[0133] In some embodiments, in step S420, another training batch of training samples is extracted from the current training data set to be trained by using a random extraction method, including: in the new data extraction process, data is no longer extracted according to the measurement batch, and features x6~x 11 Keep changing; where x6 is the atmospheric temperature, x7 is the atmospheric humidity, x8 is the atmospheric pressure, x9 is the photoelectric level difference of the measuring device, 10 is the photoelectric vertical difference of the measuring device, x 11 To measure the unevenness of the equipment plate.

[0134] Specifically, Fig.10 As shown, the out-of-order data extraction method for time series data also includes: step 22, performing model training. When the model starts training, during the process of executing the first step to the fifth step, in the new data extraction process, data is no longer extracted according to the measurement batch, so x6~x 11 Basically, they are always changing rather than remaining unchanged for a long time, which improves the efficiency of model training and avoids overfitting of the model to specific values ​​of these parameters.

[0135] According to an embodiment of the present invention, a data extraction device corresponding to the data extraction method is also provided. Figure 5 The data extraction device is used to train an end-to-end deep network model for random and systematic error correction of sensor measurement data in aerospace measurement systems; the data extraction device includes: an acquisition unit 102 and a control unit 104.

[0136] The acquisition unit 102 is configured to acquire sensor measurement data of the aerospace measurement system to form a measurement data set before training the end-to-end deep network model for random and systematic error correction of sensor measurement data of the aerospace measurement system. The specific functions and processing of the acquisition unit 102 refer to step S110.

[0137] The control unit 104 is configured to determine the training data set to be trained based on the measurement data set. The specific functions and processing of the control unit 104 refer to step S120.

[0138] In some implementations, the control unit 104 determines the training data set to be trained based on the measurement data set, including:

[0139] The control unit 104 is further configured to extract some batches of measurement data from the measurement data set to form a training data set D. The specific functions and processing of the control unit 104 are also shown in step S210.

[0140] The control unit 104 is further configured to write each measurement batch B in the training data set D into a set of single measurement point combinations. The specific functions and processing of the control unit 104 are also shown in step S220.

[0141] The control unit 104 is further configured to concatenate the measurement point sets of each measurement batch B in the training data set D to form a new training set D′ as the current training data set to be trained. The specific functions and processing of the control unit 104 are also shown in step S230.

[0142] Specifically, Fig.10 The figure is a flowchart of a method for extracting out-of-order data from time series data. Fig.10 As shown, the out-of-order data extraction method for time series data includes: step 21, extracting some batches of measurement data from the data set to form a training data set D, and writing each measurement batch B in the training data set D as a set consisting of a single measurement point. The measurement point set of each measurement batch B in the training data set D is concatenated to form a new training set D′, where D′ is a set consisting of a series of measurement points.

[0143] Wherein, the new training set D′ is:

[0144]

[0145] Where i = 1, 2, ... n, represents the i-th measurement sequence, m i Represents the number of data points obtained in the i-th measurement, where n and m are both positive integers.

[0146] Specifically, Fig.10 As shown, the out-of-order data extraction method for time series data further includes: in step 21, for the training data set D = {B1, B2, ..., B n}, and B i =X={x [1] , x [2] , …, x [m]} is rewritten as follows:

[0147]

[0148] Where i = 1, 2, ..., n, represents the i-th measurement sequence. i represents the number of data points obtained by the i-th measurement. Therefore, the training data set D can be rewritten as:

[0149]

[0150] The control unit 104 is further configured to extract a training batch of training samples from the current training data set to be trained by using a random extraction method. The specific functions and processing of the control unit 104 are also shown in step S130.

[0151] In some implementations, the control unit 104 extracts a training batch of training samples from the current training data set to be trained using a random extraction method, including:

[0152] The control unit 104 is further configured to shuffle the data in the current training data set to be trained, and record the data as the current disordered training data to be trained. The specific functions and processing of the control unit 104 are also shown in step S310.

[0153] The control unit 104 is further configured to randomly extract a batch of data from the currently unordered training data to be trained to form a training batch of training samples. The specific functions and processing of the control unit 104 are also shown in step S320.

[0154] Specifically, Fig.10 As shown, the out-of-order data extraction method for time series data also includes: step 22, performing model training. When the model starts training, the following steps are performed:

[0155] The first step is to shuffle the data in the training dataset D′.

[0156] The second step is to randomly select a batch of data, such as 1,000 data, from the shuffled training data set D′ to form a training batch T.

[0157] The control unit 104 is further configured to perform training based on a training batch of training samples extracted using a preset network model to obtain a required end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system. The specific functions and processing of the control unit 104 are also referred to step S140.

[0158] The scheme of the present invention obtains sensor measurement data of an aerospace measurement system to form a measurement data set before training an end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system; determines a current training data set to be trained based on the measurement data set; extracts a training batch of training samples from the current training data set to be trained using a random extraction method; and performs training based on the extracted training samples of the training batch using a preset network model to obtain a required end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system. Thus, by extracting measurement data using a random extraction method before training an end-to-end deep network model for correcting random and systematic errors of sensor measurement data of the aerospace measurement system, the training effect of the deep network model can be improved, thereby improving the reliability of error correction.

[0159] In some implementations, the control unit 104 performs training based on a training sample extracted from a training batch using a preset network model to obtain a desired end-to-end deep network model, including:

[0160] The control unit 104 is further configured to perform training based on a training sample of a training batch extracted using a preset network model to obtain a model gradient. The specific functions and processing of the control unit 104 are also referred to step S410.

[0161] The control unit 104 is further configured to extract another training batch of training samples from the current training data set to be trained by using a random extraction method. The specific functions and processing of the control unit 104 are also shown in step S420.

[0162] The control unit 104 is further configured to perform training based on the training samples of another training batch extracted using a preset network model to obtain another model gradient. The specific functions and processing of the control unit 104 are also shown in step S430.

[0163] The control unit 104 is further configured to cycle in this way until the model gradient no longer decreases or the number of training times reaches the set maximum number of training times, and save the model parameters obtained by training at this time to obtain the required end-to-end deep network model. The specific functions and processing of the control unit 104 are also shown in step S440.

[0164] Specifically, Fig.10 As shown, the out-of-order data extraction method for time series data also includes: step 22, performing model training. When the model starts training, the following steps are also performed:

[0165] The third step is to input the extracted data T into the model for calculation and gradient correction, specifically calculating the value of the loss function and performing gradient correction.

[0166] Step 4: Repeat steps 2 and 3 until the model gradient no longer decreases or the maximum number of training times is reached.

[0167] The fifth step is to keep the trained model parameters for error correction.

[0168] In some embodiments, the control unit 104 performs training based on a training sample extracted from a training batch and uses a preset network model to obtain a model gradient, including: the control unit 104 is specifically configured to calculate the value of the loss function and perform gradient correction based on a training sample extracted from a training batch and uses a preset network model to obtain a model gradient.

[0169] Specifically, Fig.10 As shown, the disordered data extraction method for time series data also includes: step 22, model training. When the model starts training, the following steps are also performed: in the third step, the extracted batch of data T is input into the model for calculation and gradient correction, specifically, the value of the loss function is calculated and the gradient correction is performed.

[0170] In some embodiments, the control unit 104 re-extracts another training batch of training samples from the current training data set to be trained by using a random extraction method, including: the control unit 104 is further configured to no longer extract data according to the measurement batch in the new data extraction process, and the features x6~x 11 Keep changing; where x6 is the atmospheric temperature, x7 is the atmospheric humidity, x8 is the atmospheric pressure, x9 is the photoelectric level difference of the measuring device, 10 is the photoelectric vertical difference of the measuring device, x 11 To measure the unevenness of the equipment plate.

[0171] Specifically, Fig.10 As shown, the out-of-order data extraction method for time series data also includes: step 22, performing model training. When the model starts training, during the process of executing the first step to the fifth step, in the new data extraction process, data is no longer extracted according to the measurement batch, so x6~x 11 Basically, they are always changing rather than remaining unchanged for a long time, which improves the efficiency of model training and avoids overfitting of the model to specific values ​​of these parameters.

[0172] Since the processing and functions implemented by the device of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0173] According to an embodiment of the present invention, a storage medium corresponding to the data extraction method is also provided, wherein the storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the above-mentioned data extraction method.

[0174] Since the processing and functions implemented by the storage medium of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0175] In summary, it is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.

[0176] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.

Claims

1. A data extraction method, characterized in that: An end-to-end deep network model for training random and systematic error correction of sensor measurement data for aerospace measurement systems; the data extraction method comprises: Before training an end-to-end deep network model for random and systematic error correction of sensor measurement data of the aerospace measurement system, sensor measurement data of the aerospace measurement system is acquired to form a measurement data set; Based on the measurement data set, determining the current training data set to be trained; Based on the measurement data set, determining the current training data set to be trained includes: extracting some batches of measurement data from the measurement data set to form a training data set D; for each measurement batch B in the training data set D, writing it as a set of single measurement point combinations; splicing the measurement point set of each measurement batch B in the training data set D to form a new training set D′ as the current training data set to be trained; A training batch of training samples is extracted from the current training data set to be trained by using a random extraction method; wherein, a training batch of training samples is extracted from the current training data set to be trained by using a random extraction method, including: shuffling the data in the current training data set to be trained, and recording it as the current random training data to be trained; randomly extracting a batch of data from the current random training data to be trained to form a training batch of training samples; wherein, shuffling the ordered data is achieved by a randomization method, including a shuffling algorithm and random sampling; through such a method, the original ordered data list is disrupted, and a new list with random arrangement is obtained; by randomizing the training data, the model is prevented from falling into a local optimal solution during the gradient descent process; it helps to improve the generalization ability of the model, reduce the risk of overfitting, and increase the possibility of the model finding a global optimal solution; Based on the training samples of a training batch extracted, the preset network model is used for training to obtain the required end-to-end deep network model for the correction of random and systematic errors of sensor measurement data of aerospace measurement system; wherein, in the new data extraction process, data is no longer extracted according to measurement batches, and features x6~x 11 Keep changing; where x6 is the atmospheric temperature, x7 is the atmospheric humidity, x8 is the atmospheric pressure, x9 is the photoelectric level difference of the measuring device, 10 is the photoelectric vertical difference of the measuring device, x 11 To measure the unevenness of the equipment plate.

2. The data extraction method according to claim 1, characterized in that: in, The new training set D′ is: Where i = 1, 2, ... n, represents the i-th measurement sequence, m i Represents the number of data points obtained in the i-th measurement, where n and m are both positive integers.

3. The data extraction method according to any one of claims 1 to 2, characterized in that: Based on the training samples of a training batch extracted, the preset network model is used for training to obtain the required end-to-end deep network model, including: Based on the training samples of a training batch extracted, a preset network model is used for training to obtain a model gradient; Re-extracting training samples of another training batch from the current training data set to be trained by using a random extraction method; Based on the training samples of another training batch extracted, the preset network model is used for training to obtain another model gradient; This cycle is repeated until the model gradient no longer decreases or the number of training times reaches the set maximum number of training times, and the model parameters obtained by training at this time are saved to obtain the required end-to-end deep network model.

4. The data extraction method according to claim 3, characterized in that: Based on the training samples of a training batch extracted, a preset network model is used for training to obtain a model gradient, including: Based on the training samples of a training batch extracted, the preset network model is used to calculate the value of the loss function and perform gradient correction to obtain a model gradient.

5. A data extraction device, characterized in that: Applied to training end-to-end deep network models for random and systematic error correction of sensor measurement data for aerospace measurement systems; The data extraction device comprises: An acquisition unit is configured to acquire sensor measurement data of the aerospace measurement system to form a measurement data set before training an end-to-end deep network model for random and systematic error correction of sensor measurement data of the aerospace measurement system; A control unit is configured to determine a training data set to be trained based on the measurement data set; determining the training data set to be trained based on the measurement data set includes: extracting a portion of batches of measurement data from the measurement data set to form a training data set D; writing each measurement batch B in the training data set D into a set of single measurement point combinations; splicing the measurement point set of each measurement batch B in the training data set D to form a new training set D′ as the training data set to be trained currently; The control unit is further configured to extract a training batch of training samples from the current training data set to be trained by using a random extraction method; wherein, the control unit extracts a training batch of training samples from the current training data set to be trained by using a random extraction method, including: scrambling the data in the current training data set to be trained, recording it as the random training data to be trained; randomly extracting a batch of data from the current random training data to be trained to form a training batch of training samples; wherein, scrambling the ordered data is achieved by a randomization method, including a shuffling algorithm and random sampling; through such a method, the original ordered data list is disrupted and a new list with random arrangement is obtained; by randomizing the training data, the model is prevented from falling into a local optimal solution during the gradient descent process; it helps to improve the generalization ability of the model, reduce the risk of overfitting, and increase the possibility of the model finding a global optimal solution; The control unit is further configured to perform training based on a training sample of a training batch extracted using a preset network model to obtain a required end-to-end deep network model for correcting random and systematic errors of sensor measurement data of aerospace measurement systems; wherein, in the new data extraction process, data is no longer extracted according to measurement batches, and features x6~x 11 Keep changing; where x6 is the atmospheric temperature, x7 is the atmospheric humidity, x8 is the atmospheric pressure, x9 is the photoelectric level difference of the measuring device, 10 is the photoelectric vertical difference of the measuring device, x 11 To measure the unevenness of the equipment plate.

6. A terminal, characterized in that: include: The data extraction device as claimed in claim 5.

7. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the data extraction method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • BP (Back Propagation) network-based navigated AGV (Automated Guided Vehicle) travel distance deviation correction method

    CN109506650A

  • Radar one-dimensional range profile identification method based on recurrent neural network

    CN110334741A

  • Deep learning-based blade unbalance fault detection method of wind power generator

    CN110609229A

  • Hash retrieval method

    CN110704664A

  • Water surface target tracking method with compensation mechanism under sensor transient failure

    CN111913175A