A method for monitoring the status of a rotary-wing submarine-launched UAV
Through multi-source data collection and fusion, generative adversarial network and joint attention mechanism network, a full-process status monitoring system for rotary-wing submarine-launched UAVs is constructed, which solves the problem of insufficient status monitoring in the existing technology and achieves a more accurate and comprehensive The fault detection ensures the safe operation of the drone.
Patent Information
- Application Number
- CN202411054355.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-08-02
AI Technical Summary
The status monitoring methods of rotary-wing submarine-launched UAVs in the existing technology are insufficient and cannot fully guarantee the safety of the UAV's conversion process from underwater to air. The real-time data processing and fault diagnosis capabilities are insufficient, which increases the risk of mission execution.
Using multi-source time series data collection, convex optimization data fusion, GASF time series transformation technology, multi-stage stepwise learning generative adversarial network (MSSL-GAN) and improved joint attention mechanism network, artificial data is generated through data fusion and generative adversarial network , combined with the sub-domain adaptive mechanism, to build a whole-process condition monitoring system.
It improves the utilization rate of data and the accuracy of fault detection, enhances the generalization ability of the model and the diversity of fault detection, and can capture subtle changes and complex patterns in the data in more detail, providing richer training materials and improving It improves the performance and interpretability of the model and ensures the safe and stable operation of the drone.
Smart Images

Figure CN118568675B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of rotary-wing submarine-launched UAVs, and in particular relates to a method for monitoring the status of rotary-wing submarine-launched UAVs. Background Art
[0002] As an unmanned combat equipment, the rotary-wing submarine-launched UAV realizes cross-domain reconnaissance, surveillance and strike missions by combining with underwater vehicles. This unique combination not only greatly enhances combat effectiveness, but also provides more comprehensive and accurate intelligence support, providing a strong guarantee for decision-making.
[0003] The core of rotary-wing submarine-launched UAV technology lies in its whole process design and operation management, especially the dry launch technology that works with underwater vehicles. Dry launch technology ensures that the UAV can be safely and reliably launched from the underwater vehicle into the air without going through the underwater diving stage, thus simplifying the operation process and improving the efficiency of mission execution.
[0004] In this technical context, condition monitoring has become a key link to ensure the safe and reliable operation of the rotary-wing submarine-launched UAV throughout the entire process. Condition monitoring covers all aspects of launch preparation, launch process, air flight, and mission execution. By real-time monitoring of the various parameters and status of the UAV, potential problems can be discovered and handled in a timely manner to ensure the smooth progress of the mission.
[0005] However, in the existing technology, there are relatively few studies on the state monitoring methods for rotary-wing submarine-launched UAVs. Current research mainly focuses on the design and function optimization of aerial UAVs, but the launch process of rotary-wing submarine-launched UAVs involves complex physical phenomena and control strategies, and there is currently no sufficient literature support to deeply understand this process. This imbalance in research has led to blind spots in the state monitoring of the conversion process of rotary-wing submarine-launched UAVs from underwater to air, and it is impossible to fully guarantee the safety of UAVs. In addition, the lack of real-time data processing and fault diagnosis capabilities will make it impossible for UAVs to provide timely and accurate status feedback and emergency processing in complex environments, thereby increasing the risk of mission execution.
[0006] Therefore, there is an urgent need to study the state monitoring method of rotary-wing submarine-launched UAVs. Future research needs to carry out comprehensive state monitoring technology research based on the submarine-launched characteristics of rotary-wing submarine-launched UAVs. In-depth exploration of the motion mechanism of the launch phase, construction of a rotary-wing submarine-launched UAV state monitoring system covering all aspects of launch preparation, launch process, air flight, mission execution, etc., strengthen real-time data processing and fault diagnosis capabilities, and improve the integration and reliability of the monitoring system. Summary of the invention
[0007] In view of the above problems existing in the prior art, the present invention proposes a method for monitoring the status of a rotary-wing submarine-launched UAV, which has a reasonable design, solves the shortcomings of the prior art, and has good effects.
[0008] A method for monitoring the status of a rotary-wing submarine-launched UAV comprises the following steps:
[0009] Step 1: Use sensors carried on the submarine-launched UAV to collect multi-source time series data, where the sensors include a gyroscope, an accelerometer, a GPS module, a barometer, and a battery monitor. The collected data include Euler angles, acceleration, position, altitude, pressure, and battery voltage. Euler angles include pitch angle, roll angle, and yaw angle.
[0010] Step 2: Preprocess the multi-source time series data, including data alignment, resampling and normalization;
[0011] Step 3: Perform convex optimization data fusion on the preprocessed data;
[0012] Step 4: Use GASF time series transformation technology to convert the fused data into a two-dimensional image to form a data set;
[0013] Step 5: Divide the data set into a training set and a test set in proportion. In the training set, further divide it into labeled samples and unlabeled samples. Labeled samples are assigned a label to each sample, indicating whether the sample is in a normal state or a specific fault state. Unlabeled samples are not clearly identified or classified.
[0014] Step 6: Based on the multi-stage step-by-step learning of the generative adversarial network, data expansion is performed on the labeled samples;
[0015] Step 7: Establish an improved joint attention mechanism network, introduce a subdomain adaptation mechanism into the network, use the artificial data samples generated by the multi-stage step-by-step learning generative adversarial network as the source domain, use the original training set as the target domain, use the source domain to pre-train the backbone network, extract common features, share parameters, migrate the features learned in the source domain to the target domain, align the feature distribution through LJMMD, reduce the difference between domains, and perform performance verification on the target domain to select the optimal model;
[0016] Step 8: Input the test set into the optimal model for performance testing. In actual application, the multi-source sensor data acquired and fused in real time is input into the model to obtain fault identification results, thereby realizing the whole process status monitoring of submarine-launched UAVs.
[0017] Furthermore, the step 3 includes the following sub-steps:
[0018] Step 3.1: The preprocessed data set includes the data set before the failure and the data set after the failure , The elements in are represented as , For the Experiment No. The measurement points and The value of the parameter, The elements in are represented as , for Experiment No. The measurement points and The value of the parameter; , , , ;
[0019] Step 3.2: Convert the fusion problem into a convex optimization problem and construct the fusion target. Fusion target 1 is to keep the fused data stable in the absence of failures, that is, to minimize data fluctuations in the absence of failures, expressed as min var( ); Fusion goal 2 is that the fused data should show the maximum change after the fault, that is, the fluctuation of the fused data after the fault is the largest, expressed as max ;
[0020] Step 3.3: Introduce hyperparameters To optimize the solution strategy, and Used to balance the importance of two objectives. Used to adjust the weight of post-failure data;
[0021] Step 3.4: Solve the fusion weight matrix of the data The optimal form of
[0022] Step 3.5: Solve the final fusion data corresponding to each experiment:
[0023] ; (10)
[0024] in, and are the fusion data before and after the fault, and Before and after the fault The weight of a parameter at a specific measurement point, It is a complete time series formed by splicing the sequences in normal state and fault state.
[0025] Furthermore, the two fusion objectives are combined to form an objective function. The objective function of the convex optimization problem is as follows:
[0026] ; (1)
[0027] In the first term of the objective function, is a hyperparameter, is the fusion weight matrix, represents the normal data matrix used in training, where the rows correspond to the collected data measurement points and the columns correspond to the parameters, is a symmetric matrix, and its expression is:
[0028] ; (2)
[0029] In the formula, is an identity matrix, is a matrix of all 1s; find the matrix The variance of the fused data can be estimated as follows:
[0030] ; (3)
[0031] In the second term of the objective function, is a hyperparameter, It is used to indicate the influence of post-fault data on the overall optimization goal. It means maximizing the difference between adjacent data after failure;
[0032] In the constraint terms, the weight matrix To determine Set the value of The second term is maximized as shown below:
[0033] ; (4)
[0034] in, For a length of The unit vector of elements are 1, and the rest are 0;
[0035] Solving the hyperparameters is as follows: First, set , , and then traverse all parameter selections with a step size of 0.1, using marginal effects to find the optimal hyperparameters for the multi-objective optimization problem and ;
[0036] set up , , The expression is:
[0037] ; (6)
[0038] in, Indicates The number of fault samples used for training corresponding to the experiment, It is a measurement point index, i.e., the reference point used for interpolation calculation;
[0039] The interior point method is used to solve the optimal solution of the convex optimization problem to obtain the data fusion weight matrix optimal form.
[0040] Furthermore, the multi-stage step-by-step learning generative adversarial network MSSL-GAN is composed of an encoder, a generator and a discriminator;
[0041] The encoder encodes the two-dimensional image into a latent vector of fixed length through multiple CBL blocks and a CT block, and adds a hyperbolic tangent function in the CT block to realize nonlinear transformation;
[0042] The generator consists of several C T BL block and a C T T blocks, converting the random noise and encoding vector in the encoder into an image, and limiting the value of the generated image to [-1,1] through tanh;
[0043] The discriminator includes several CLL blocks and one CS block, and the output score is obtained through the sigmoid function, which represents the probability that the input comes from the real data distribution;
[0044] The CT block includes the Conv 2D layer and the tanh layer in sequence, the CS block includes the Conv 2D layer and the sigmoid layer in sequence, the CBL block includes the Conv 2D layer, the Batch Norm layer and the Leaky ReLU layer in sequence, the CLL block includes the Conv 2D layer, the Layer Norm layer and the Leaky ReLU layer in sequence, and the C T T includes Conv 2D transpose layer and tanh layer in sequence, C T The BL block includes a Conv2D transposed layer, a Batch Norm layer, and a Leaky ReLU layer in sequence.
[0045] Furthermore, the multi-stage step-by-step learning generation strategy of the MSSL-GAN includes the following steps:
[0046] Step 6.1. Basic adversarial learning: Establish a generator-discriminator model, i.e. model to capture the normal data distribution, applying the relativistic discriminator and gradient penalty to In the model, are the relativistic losses of the generator and the discriminator, is the total generator and discriminator loss of basic adversarial learning, which is expressed as:
[0047] ; (11)
[0048] ; (12)
[0049] ; (13)
[0050] ; (14)
[0051] ; (15)
[0052] In the formula, From the real data distribution A random sample drawn from ; The data distribution is generated from The random samples drawn from are equivalent to the random noise generated by the generator. Output , ; yes and Linear interpolation of , For control and The weight in the mix, ,when Approaching 0, Closer ,when Approaching 1, Closer ; Gradient penalty term , is the weight coefficient of GP, It means solving the expected value, Express Calculate the gradient, and are the outputs of the discriminator and the relativistic discriminator for the samples respectively;
[0053] Step 6.2, first-level discriminator learning: build an encoder-generator-discriminator model, that is Model,In the learning phase, the generator is the same as in the previous phase, that is, ,Will The parameters of the last layer are fixed and used as the discriminator , that is, while retaining a part of the ability to distinguish between positive and negative samples, the discriminator is allowed to improve its discrimination ability; the real image is fed into the encoder, and the encoded vector is converted into an image. The generated image is , for the loss function, we have and , after training, we get Model;
[0054] Step 6.3, Discriminative Encoder Learning: Construct an encoder-generator-discriminator model, i.e. model, the discriminator is fixed, that is , so this training is a supervised learning process, using positive samples for training, will learn how to reconstruct high-quality and reliable positive samples, The loss function is:
[0055] ; (16)
[0056] in, is the smoothed label for the positive sample, , is the generated image, is a predefined factor;
[0057] After multi-stage gradual learning, two models were obtained: and , Used to estimate the probability that the input data is a positive sample. Used to reconstruct a reasonable image for the positive input; after the discriminative encoder is learned, if the quality and authenticity of the image generated by the generator meet the expectations, that is, when the score output by the discriminator is close to 1, the generated image is input into the source domain.
[0058] Furthermore, the step 7 includes the following sub-steps:
[0059] Step 7.1: Perform subdomain adaptation by calculating the local joint maximum mean difference (LJMMD). Subdomain adaptation aligns the features of the source domain and the target domain to reduce the distribution difference between the two and enhance the sharing and migration capabilities of feature representation.
[0060] Step 7.2, the improved joint attention mechanism network mainly includes a backbone network and a bottleneck layer. The backbone network is composed of 4 basic units, including a convolutional layer, an attention module, a BN layer and a ReLU layer, and a maximum pooling layer is added after the second and fourth basic units to reduce the complexity of the model;
[0061] The attention module includes a channel attention module and a spatial attention module. In the channel attention module, the auxiliary network used to generate attention weights mainly consists of two FC layers, and the activation functions are set to ReLU and Sigmoid respectively; in the spatial attention module, the auxiliary network used to generate attention weights mainly includes a convolutional layer, whose convolution kernel number, size and stride are all 1, and the output feature map is finally activated by Sigmoid;
[0062] The original data is converted into high-dimensional features through the backbone network and input into the bottleneck layer. The bottleneck layer consists of three fully connected layers. The first two layers reduce overfitting through Dropout. The second layer is used as an adaptation layer, and LJMMD is used to minimize the distribution difference between the source domain and the target domain. The third layer is a classification layer, and Softmax is used as the activation function. All parameters in the improved joint attention mechanism network are shared by the source domain and the target domain, thereby optimizing the network performance and enhancing the adaptive ability.
[0063] Furthermore, the step 7.1 is specifically as follows: for the source domain and target domain , The source domain The feature vector of the samples, The source domain The labels of samples, is the index of the source domain data sample, , is the index of the target domain data sample, Assumptions and Can be divided into C sub-domains and , and obeys the distribution , ,and , the objective function of subdomain adaptation is as follows:
[0064] ; (17)
[0065] in, represents the cross entropy loss, represents the domain adaptation loss, represents the trade-off parameter, represents mathematical expectation;
[0066] The LJMMD equation is shown below:
[0067] ; (18)
[0068] in, To measure the distribution difference between the source domain and the target domain, The source domain distribution Next, the categories are The expectation of the sample is is the dimension index of the feature, for The tensor product of Indicated in Convert the original data into RKHS and The feature mapping function is The source domain is The dimensional features, Distribution for the target domain Next, the categories are The expectation of the sample is For the target domain The dimensional features, represents the reproducing kernel Hilbert space with Kernel function on dimension The associated Hilbert space;
[0069] Assume that each sample is weighted belongs to each type of subdomain, then the unbiased estimator of the above equation is as follows:
[0070] ; (19)
[0071] in, is the category index, , is the reproducing kernel Hilbert space, is the kernel function used to calculate the similarity in high-dimensional feature space, and They respectively represent the c and The weight of is expressed as:
[0072] ; (20)
[0073] ;(twenty one)
[0074] in is a vector The cth entry of is a vector The cth entry of It can be calculated by the true label of the source domain data, and Can be calculated by predicting labels and target domain data;
[0075] In order to reduce the subjectivity brought by the selection of kernel functions and corresponding parameters in LJMMD, a combination of multi-kernel functions is used to enhance the robustness of the algorithm. The multi-core strategy is expressed as follows:
[0076] ;(twenty two)
[0077] in, represents a set of kernel functions, For the The base kernel function, , Represents the weights of different kernels.
[0078] Furthermore, the training process of the improved joint attention network mainly includes two stages, namely the pre-training stage and the domain adaptation training stage;
[0079] In the pre-training stage, the improved joint attention mechanism network is essentially a regular classifier, and its objective function is:
[0080] ; (27)
[0081] in, represents the classification cross entropy loss; in the first 50 iterations, only the labeled source domain data is used for network training in order to obtain a pre-trained model suitable for the source domain task; when the classification loss is optimized to a certain level, that is, the end of pre-training, the joint attention mechanism network will iteratively activate the transfer strategy from the 51st time, so that the source domain model can be used for the target domain task;
[0082] In the domain adaptation training phase, the objective function is:
[0083] ; (28)
[0084] in, represents the subdomain adaptation loss, is a trade-off parameter between the cross entropy loss and the subdomain adaptation loss. This trade-off parameter adopts a progressive training strategy. When the transfer strategy is activated, The value will gradually increase from 0 to 1.
[0085] Beneficial technical effects brought by the present invention:
[0086] In the data fusion stage, the present invention adopts a convex optimization algorithm to effectively fuse multi-source data and extracts key features that can reflect the status of the drone, which not only improves the utilization rate of the data, but also provides more accurate and comprehensive input for subsequent fault detection. In the fault detection stage, a multi-stage step-by-step learning generative adversarial network (MSSL-GAN) is used to generate a large amount of artificial data, and the generation process is gradually optimized, which not only improves the quality and diversity of the generated data, but also enables the model to more carefully capture the subtle changes and complex patterns in the data, thereby more effectively simulating real fault conditions.
[0087] The subdomain adaptive joint attention network greatly enhances the data diversity and generalization ability of the model by fusing the artificial data generated by GAN and the original training set as the source domain and target domain, which not only enables the model to adapt to more potential fault scenarios, but also provides richer training materials for fault detection. At the same time, the subdomain adaptive mechanism introduced further improves the performance of the model, enabling it to better cope with fault detection tasks under different data distributions. The joint attention mechanism ensures the full propagation of the attention coefficient in the network by connecting the attention coefficient of the previous layer to all subsequent layers, so that the model can capture more comprehensive and detailed fault characteristics. In addition, the channel-level and spatial-level attention mechanisms significantly improve the accuracy and robustness of the model in dealing with complex fault detection tasks, and also help to quickly locate and identify fault points. The visualization characteristics of the attention coefficient enhance the interpretability of the model, making the results of fault detection more transparent and easy to understand, which greatly facilitates the maintenance and troubleshooting of submarine-launched UAVs. The subdomain adaptive joint attention network plays a key role in the fault detection of submarine-launched UAVs and provides a strong guarantee for the safe and stable operation of UAVs. BRIEF DESCRIPTION OF THE DRAWINGS
[0088] Figure 1 The present invention is a flow chart of a method for monitoring the status of a rotary-wing submarine-launched UAV.
[0089] Figure 2 It is a schematic diagram of the backbone network in the present invention.
[0090] Figure 3 It is a structural schematic diagram of the MSSL-GAN network of the present invention.
[0091] Figure 4 This is a step-by-step learning flowchart of the MSSL-GAN network in the present invention. DETAILED DESCRIPTION
[0092] The specific implementation of the present invention is further described below in conjunction with specific embodiments:
[0093] A method for monitoring the status of a rotary-wing submarine-launched UAV, such as Figure 1As shown, the following steps are included:
[0094] Step 1: Use sensors carried on the submarine-launched UAV to collect multi-source time series data, where the sensors include a gyroscope, an accelerometer, a GPS module, a barometer, and a battery monitor. The collected data include Euler angles, acceleration, position, altitude, pressure, and battery voltage. Euler angles include pitch angle, roll angle, and yaw angle.
[0095] Step 2: Preprocess the multi-source time series data, including data alignment, resampling and normalization;
[0096] Data alignment uses dynamic time warping (DTW) technology to solve the latency problem and effectively address the differences in time length and speed between data from different systems. In order to maintain the same sampling rate and improve data quality, bilinear interpolation is used for resampling to generate continuous and relatively smooth data to meet subsequent analysis and processing requirements. Since constructing a convex optimization problem requires a positive matrix definition, that is, the final fused data set must have positive covariates, normalization is used to limit the data to the range of [0,1] to facilitate optimal fusion.
[0097] Step 3: Perform convex optimization data fusion on the preprocessed data;
[0098] In view of the environmental changes from underwater to air, the high coupling and real-time requirements of data, the fusion of information from different sensors of submarine-launched UAVs requires data-level fusion of data with different distribution characteristics and different fault manifestation speeds.
[0099] Step 3 includes the following sub-steps:
[0100] Step 3.1: The preprocessed data set includes the data set before the failure and the data set after the failure , The elements in are represented as , For the Experiment No. The measurement points and The value of the parameter, The elements in are represented as , for Experiment No. The measurement points and The value of the parameter; , , , ;
[0101] Step 3.2: In order to quickly and accurately obtain the best fusion effect, the fusion problem is transformed into a convex optimization problem and the fusion target is constructed. Fusion target 1 is to keep the fused data stable in the absence of failure, that is, to minimize data fluctuation in the absence of failure, expressed as min var( ), through the matrix Estimate the variance of the data and construct a quadratic form based on it to ensure the convexity of the constructor; Fusion goal 2 is that the fused data should show the maximum change after the fault, that is, the fluctuation of the fused data after the fault is the largest, expressed as max , using the matrix To evaluate the amount of change in the data, and use the parameters The constraints make the fused data show an overall increasing trend after the failure;
[0102] Step 3.3: After building the fusion target, introduce hyperparameters To optimize the solution strategy, and Used to balance the importance of two objectives. Used to adjust the weight of post-failure data;
[0103] Step 3.4 combines the two fusion objectives to form an objective function. The objective function of the convex optimization problem is as follows:
[0104] ; (1)
[0105] Through this objective function, dynamic parameters with large observation noise and obvious fault characteristics (such as Euler angles, acceleration, position / displacement, altitude) can be integrated with environmental parameters with good observation quality (such as pressure), so as to maximize the distinction between normal and faulty data of submarine-launched UAVs during the launch process.
[0106] The first term of the objective function represents fusion objective 1, which evaluates the fluctuation of fusion data by estimating the variance of fusion data, and ensures the convexity of the objective function by constructing a quadratic form; the second term represents fusion objective 2, which is combined with the constraint term ≤0 to maximize the difference in the post-failure data. There are three hyperparameters in the formula, among which and work together to adjust the importance of the two optimization objectives, and Working together to adjust for differences in post-failure data. The hyperparameters are obtained by analysis and The sum is a constant, and the appropriate parameter ratio can effectively adjust the optimization effect.
[0107] In the first item, is the fusion weight matrix, represents the normal data matrix used in training, where the rows correspond to the collected data measurement points and the columns correspond to the parameters, is a symmetric matrix, and its expression is:
[0108] ; (2)
[0109] In the formula, is an identity matrix, is a matrix of all 1s; find the matrix The variance of the fused data can be estimated as follows:
[0110] ; (3)
[0111] In the second term of the objective function, It is used to indicate the influence of post-fault data on the overall optimization goal. It means maximizing the difference between adjacent data after failure;
[0112] During the training process, combined with normal data, constraints are introduced , this constraint helps calculate the fusion weight matrix that can adapt to the characteristics of pre-fault data and meet specific conditions The optimal form of; weight matrix To determine The value of the matrix Each row of represents the characteristic difference between two adjacent measurement points after the fault. The second term is maximized as shown below:
[0113] ; (4)
[0114] in, For a length of The unit vector of elements are 1, and the rest are 0;
[0115] In order to prove the convexity of the proposed information fusion problem, the objective function can be expressed as follows:
[0116] ; (5)
[0117] in , , , Here The matrix has The same composition, therefore , is a lower triangular matrix. According to Cholesky decomposition, the matrix can be rewritten as , and it is easy to get the matrix is also a semi-positive definite matrix. Therefore, the second term in the above equation consists of a linear function, while its constraints are polyhedral and can be composed of linear inequalities, making convex optimization problems easier to solve.
[0118] Solving for hyperparameters, the first hyperparameter The second hyperparameter is designed to enhance the smoothness of the fused data when there is no failure. Aims to enhance the variability characteristics of post-failure data;
[0119] To determine First, set the value of , , and then traverse all parameter selections with a step size of 0.1, using marginal effects to find the optimal hyperparameters for the multi-objective optimization problem and ;
[0120] set up , , to detect the occurrence of failure more quickly, in this case, The expression is:
[0121] ; (6)
[0122] in, Indicates The number of fault samples used for training corresponding to the experiment, It is a measurement point index, i.e., the reference point used for interpolation calculation;
[0123] The interior point method is used to solve the optimal solution of the convex optimization problem to obtain the data fusion weight matrix The interior point method is a numerical optimization method for solving convex optimization problems. It avoids the large number of iterative steps that may occur in many exterior point methods by searching for solutions inside feasible solutions.
[0124] The basic idea of the interior point method is as follows: For convex optimization problems, it is expressed as Find convex function The minimum value of is expressed as:
[0125] ; (7)
[0126] Constructing a barrier function , it is in the range The function value outside is much larger than the range The function value within satisfies . This equation is a function under ideal conditions, and a perfect barrier function that satisfies this property usually does not exist, so a certain function is used to approximate it. A feasible logarithmic barrier function is shown below:
[0127] ; (8)
[0128] in, is a small positive parameter, exist The value range in can be a complex domain.
[0129] Constructor .when When the conditions are met, exist Function values outside the range are much larger than So this new function It is characterized by the value of the entire domain, and the minimum and minimum values of the domain must be in At the same time, due to the function exist is defined in the scope of The minimum value is obtained within this range, so Under the same conditions, a minimum value will be obtained, and this minimum value is The minimum value of is equal. Therefore, the optimization problem (7) is equivalent to the following problem:
[0130] ; (9)
[0131] In the formula, is the domain of complex numbers. This is equivalent to bringing in the constraints in the original problem and including them in the newly constructed function In the function properties of .
[0132] The solution space of the new function is unbounded, so, The small value of can be directly found by Newton's method, and the solution is exactly equal to the original problem In a certain range The minimum solution within is the optimal solution of the original optimization problem under the constraints.
[0133] Getting the hyperparameters Finally, the data fusion weight matrix is obtained by solving the optimal solution of the convex quadratic programming problem The optimal form of the matrix can best combine multiple parameters with different noise, distribution characteristics and fault characterization speed to maximize the fault characteristics.
[0134] Step 3.5. Now you can use the following equation to solve the final fused data corresponding to each experiment:
[0135] T ix f = ∑ g w xg x i, h ,g , h∈ 1, … , p i T ilf = ∑ g w lg l i,j,g ,j ∈ p i +1, … , p i + o i T fused =[ T ixf , T ilf ] ; (10)
[0136] in, and are the fusion data before and after the fault, and Before and after the fault The weight of a parameter at a specific measurement point, It is a complete time series formed by splicing the sequences in normal state and fault state.
[0137] Step 4: Use GASF time series transformation technology to convert the fused data into a two-dimensional image to form a data set;
[0138] Step 5: Divide the data set into a training set and a test set in proportion. Different division ratios can also be tested in subsequent performance evaluations. Usually, the initial setting is 80% training set and 20% test set. In the training set, it is further divided into labeled samples and unlabeled samples. Labeled samples are assigned a label to each sample, indicating whether the sample is in a normal state or a specific fault state. Unlabeled samples are not clearly identified or classified.
[0139] Step 6: Based on the multi-stage step-by-step learning of the generative adversarial network, data expansion is performed on the labeled samples;
[0140] The multi-stage step-by-step learning generative adversarial network MSSL-GAN consists of an encoder, a generator and a discriminator, such as Figure 3 As shown;
[0141] The encoder E encodes the two-dimensional image into a latent vector of fixed length through multiple CBL blocks and one CT block, and adds a hyperbolic tangent function to the CT block to achieve nonlinear transformation;
[0142] The generator G consists of several C T BL block and a C T T blocks, converting the random noise and encoding vector in the encoder into an image, and limiting the value of the generated image to [-1,1] through tanh;
[0143] The discriminator consists of several CLL blocks and one CS block. The output score is obtained through the sigmoid function, which represents the probability that the input comes from the real data distribution;
[0144] The CT block includes the Conv 2D layer and the tanh function layer in sequence, the CS block includes the Conv 2D layer and the sigmoid layer in sequence, the CBL block includes the Conv 2D layer, the Batch Norm layer and the Leaky ReLU layer in sequence, the CLL block includes the Conv 2D layer, the Layer Norm layer and the Leaky ReLU layer in sequence, and the C T T includes Conv 2D transpose layer and tanh function layer in sequence, C T The BL block includes the Conv 2D transposed layer, the Batch Norm layer, and the Leaky ReLU layer in sequence. It is worth noting that no pooling function is used in MSSL-GAN to perform the downsampling process, but convolution operations are used, which allows MSSL-GAN to self-learn for downsampling.
[0145] The training objectives of MSSL-GAN are as follows: 1) Possessing significant positive sample reconstruction capabilities, that is, the model can accurately capture and reconstruct the core features and information of positive samples, so as to deeply understand their internal structure; 2) Possessing excellent generated positive sample recognition capabilities, that is, being able to accurately distinguish generated positive samples from real positive samples, ensuring the high semantic and visual similarity of generated samples; 3) Possessing outstanding real positive sample identification capabilities, that is, being able to accurately identify real-world positive samples and distinguish them from other noise, abnormal data or samples of different categories, ensuring the accuracy and robustness of the model in practical applications. Therefore, the present invention proposes a multi-stage step-by-step learning generation strategy, such as Figure 4 As shown, the specific steps are as follows:
[0146] Step 6.1. Basic adversarial learning: Build a generator-discriminator model to capture the normal data distribution, i.e. Model, using positive samples and noise ( , z ∈ [ - 1,1] ), the discriminator can initially identify normal samples, but performs poorly on negative samples, while the generator can generate samples that look positive. In the model, are the relativistic losses of the generator and the discriminator, is the total generator and discriminator loss of basic adversarial learning, which is expressed as:
[0147] ; (11)
[0148] ; (12)
[0149] ; (13)
[0150] ; (14)
[0151] ; (15)
[0152] In the formula, From the real data distribution A random sample drawn from ; The data distribution is generated from The random samples drawn from are equivalent to the random noise generated by the generator. Output , ; yes and Linear interpolation of , For control and The weight in the mix, ,when Approaching 0, Closer ,when Approaching 1, Closer ; Gradient penalty term , is the weight coefficient of GP, It means solving the expected value, Express Calculate the gradient, and They are the outputs of the discriminator and the relativistic discriminator for the samples respectively; this mixed sample helps the discriminator have a smooth decision boundary in the transition area between real data and generated data.
[0153] Step 6.2, first-level discriminator learning: In order to further identify the positive samples in the generated images and real images, an encoder-generator-discriminator model is constructed, that is, Model,In the learning phase, the generator is the same as in the previous phase, that is, ,Will The parameters of the last layer are fixed and used as the discriminator , that is, while retaining a part of the ability to distinguish between positive and negative samples, the discriminator is allowed to improve its discrimination ability; the real image is fed into the encoder, and the encoded vector is converted into an image. The generated image is , for the loss function, we have and , after training, we get Model, the network can distinguish positive real samples well, while giving higher probability to positive fake samples than negative fake samples;
[0154] Step 6.3, Discriminative Encoder Learning: Construct an encoder-generator-discriminator model, i.e. model, the discriminator is fixed, that is , so this training is a supervised learning process, using positive samples for training, will learn how to reconstruct high-quality and reliable positive samples, The loss function is:
[0155] ; (16)
[0156] in, is the smoothed label for the positive sample, y ∈ [0.9,1] , is the generated image, is a predefined factor;
[0157] After multi-stage gradual learning, two models were obtained: and , Used to estimate the probability that the input data is a positive sample. Used to reconstruct a reasonable image for the positive input; after the discriminative encoder is learned, if the quality and authenticity of the image generated by the generator meet the expectations, that is, when the score output by the discriminator is close to 1, the generated image is input into the source domain.
[0158] Step 7: Establish an improved joint attention mechanism network, introduce a subdomain adaptation mechanism into the network, use the artificial data samples generated by the multi-stage step-by-step learning generative adversarial network as the source domain, use the original training set as the target domain, use the source domain to pre-train the backbone network, extract common features, share parameters, migrate the features learned in the source domain to the target domain, align the feature distribution through LJMMD, reduce the difference between domains, and perform performance verification on the target domain to select the optimal model;
[0159] Step 7 includes the following sub-steps:
[0160] Step 7.1: Perform subdomain adaptation by calculating the local joint maximum mean difference (LJMMD). Subdomain adaptation aligns the features of the source domain and the target domain to reduce the distribution difference between the two and enhance the sharing and migration capabilities of feature representation.
[0161] Subdomain adaptation is a strategy in transfer learning that aims to solve the problem of inconsistent data distribution between the source domain and the target domain. It subdivides the source domain and the target domain into subdomains and focuses on reducing the data distribution differences between these corresponding subdomains. This method can more accurately control the knowledge transfer process, effectively reduce confusion between different categories, and achieve more accurate data matching, thereby improving the performance of the model on the target domain.
[0162] In this invention, the Local Joint Maximum Mean Discrepancy (LJMMD) is introduced to measure the difference between two distributions. Specifically, for each source domain subdomain and target domain subdomain pair, LJMMD can provide a quantitative indicator to evaluate the inconsistency of the data distribution between them, thereby identifying which subdomains have large data distribution differences and which subdomains have similar data distributions.
[0163] Based on the calculation results, corresponding strategies can be adopted for subdomain adaptation. For example, for subdomain pairs with large differences in data distribution, the weight of migration can be increased or a more complex migration method can be used to reduce the difference between them; while for subdomain pairs with similar data distribution, only fine-tuning or simple migration is required. The specific steps of S7.1 are as follows:
[0164] For the source domain and target domain , The source domain The feature vector of the samples, The source domain The labels of samples, is the index of the source domain data sample, , is the index of the target domain data sample, Assumptions and Can be divided into C sub-domains and , and obeys the distribution , ,and , the purpose of subdomain adaptation is to construct a deep learning classifier To learn the shared features between the corresponding subdomains and minimize the joint distribution difference. The objective function of subdomain adaptation is as follows:
[0165] ; (17)
[0166] in, represents the cross entropy loss, represents the domain adaptation loss, represents the trade-off parameter, E c [ ⋅ ] represents mathematical expectation;
[0167] The LJMMD equation is shown below:
[0168] ; (18)
[0169] in, To measure the distribution difference between the source domain and the target domain, The source domain distribution Next, the categories are The expectation of the sample is is the dimension index of the feature, for The tensor product of Indicated in Convert the original data into RKHS and The feature mapping function is The source domain is The dimensional features, Distribution for the target domain Next, the categories are The expectation of the sample is For the target domain The dimensional features, represents the reproducing kernel Hilbert space with Kernel function on dimension The associated Hilbert space;
[0170] Assume that each sample is weighted belongs to each type of subdomain, then the unbiased estimator of the above equation is as follows:
[0171]
[0172] ; (19)
[0173] in, is the category index, , is the reproducing kernel Hilbert space, is the kernel function used to calculate the similarity in high-dimensional feature space, and They respectively represent the c and The weight of is expressed as:
[0174] ; (20)
[0175] ;(twenty one)
[0176] in is a vector The cth entry of is a vector The cth entry of It can be calculated by the true label of the source domain data, and Can be calculated by predicting labels and target domain data;
[0177] In order to reduce the subjectivity brought by the selection of kernel functions and corresponding parameters in LJMMD, a combination of multi-kernel functions is used to enhance the robustness of the algorithm. The multi-core strategy is expressed as follows:
[0178] ;(twenty two)
[0179] in, represents a set of kernel functions, For the The base kernel function, , Represents the weights of different kernels.
[0180] For the source domain and target domain The purpose of the subdomain joint distribution adaptation in this invention is to and Divided into C subdomain and , and build a deep learning classifier to learn the shared features between the corresponding subdomains in the source domain and the target domain. In this way, under the premise of ensuring the classification accuracy of the source domain, the joint distribution differences between different subdomains can be reduced and the classification accuracy of the target domain can be improved. Compared with other methods, the LJMMD proposed in the present invention matches the joint distribution of source domain and target domain data in a finer subdomain space, avoiding the blindness and limitations of global matching or marginal distribution matching. In addition, the introduction of multi-core strategy can further reduce the risk of kernel function selection and enhance the robustness of the subdomain adaptation process.
[0181] Step 7.2, the essence of the attention mechanism is a weighted operation, which means that the feature map will be weighted according to the coefficients output by the attention module instead of being directly input into the next convolutional layer. The present invention extends the scope of the classic attention mechanism beyond the corresponding layer, so that it can have an impact on other layers, and proposes a joint attention mechanism. The joint attention mechanism can be divided into a channel joint attention mechanism and a spatial joint attention mechanism according to different implementation forms.
[0182] For the channel-based joint attention mechanism, the output of the convolutional layer is first compressed using Global Average Pooling (GAP) and Global Maximum Pooling (GMP). Subsequently, the compressed features are fed into a multi-layer perceptron (MLP) with shared weights to generate two sets of features with the same dimensions as the input. Then, the elements of the corresponding positions of the two sets of features are added, and the result is multiplied by the attention coefficients of the first few layers after activation to obtain the final attention coefficient.
[0183] Assumptions It is The output of the convolutional layer, channel-level attention weight And the final weighted features It is expressed as follows:
[0184] ;(twenty three)
[0185] ;(twenty four)
[0186] Among them, Sigmoid is the activation function, represents the addition operation of elements at corresponding positions, Represents the multiplication operation of elements at corresponding positions.
[0187] Unlike channel-based joint attention, the spatial correlation joint attention mechanism pays more attention to features related to the spatial direction. In the present invention, maximum pooling and average pooling are used to compress the features of the spatial direction, and then the two generated single-channel maps are stacked into a dual-channel feature. Subsequently, the obtained dual-channel feature map is sent to an additional convolutional network to obtain a single-channel feature map (whose dimension is the same as the input). Finally, the attention coefficient is obtained by multi-layer superposition of the activated single-channel features and the attention coefficients of the previous layers.
[0188] Assumptions It is The output of the convolutional layer, the attention weight at the spatial level and the final weighted features After weighting, it is expressed as follows:
[0189] ; (25)
[0190] ; (26)
[0191] In the formula, Sigmoid is the activation function, Conv is the convolution layer, Represents stacking operations on spatial dimensions;
[0192] The channel joint attention mechanism helps the model understand the overall structure of the input data by extracting global information and abstract semantic information from the input features, and can quickly process large-scale data; the spatial joint attention mechanism has certain scalability and can process features of different scales and resolutions. At the same time, it can effectively improve the model's perception of local information and focus on the key areas or features of the input data, thereby making more accurate decisions. The combination of the present invention enables the model to be more accurate and efficient in processing complex data, which not only improves the overall performance of the model, but also enhances its ability to capture and interpret key information.
[0193] Compared with the classic attention mechanism, the proposed joint attention connects the attention coefficient of the previous layer to all subsequent layers. Therefore, the generated attention coefficient takes into account more comprehensive information. The later the attention coefficient is, the more comprehensive it is, which helps to improve the model performance. It is worth noting that the present invention assumes that the attention coefficients output by different layers have the same dimension. When the dimensions are different, a lightweight auxiliary module can be used to further adjust the dimension of the attention coefficient to achieve the joint work of attention at all levels.
[0194] On the basis of the joint attention mechanism, the present invention develops an improved joint attention mechanism network that can utilize unlabeled data. The improved joint attention mechanism network includes a backbone network and a bottleneck layer. The main function of the backbone network is to serve as a feature extraction module of the entire architecture to extract high-dimensional feature maps. The backbone network consists of 4 units, each of which is added with a joint attention mechanism to further improve network performance. The basic units include a convolutional layer, an attention module, a batch normalization (BN) layer, and a ReLU layer, such as Figure 2 shown.
[0195] In the first unit, the output of the convolutional layer is input to the attention module, the output of the attention module is tensor-producted with the output of the convolutional layer, the result is input to the BN layer, and then passed to the ReLU activation layer to obtain the first feature map;
[0196] The first feature map is input into the convolution layer of the second unit. The output of the convolution layer is input into the attention module again. The output of the attention module is tensor-producted with the output of the attention module in the first unit. The result is tensor-producted with the output of the convolution layer and input into the BN layer. After being processed by the BN layer and the ReLU activation layer, it is passed to the Maxpooling layer to obtain the second feature map.
[0197] The second feature map is used as the input of the convolution layer of the third unit. The output of the convolution layer is input into the attention module. The output of the attention module is tensor-producted with the output of the attention modules in the first and second units, and then tensor-producted with the output of the convolution layer. The result is input into the BN layer and then passed to the ReLU activation layer to obtain the third feature map.
[0198] The third feature map is input into the convolution layer of the fourth unit, and the output of the convolution layer is input into the attention module again. The output of the attention module is tensor-producted with the output of the attention modules in the first three units. The result is then tensor-producted with the output of the convolution layer and passed to the BN layer. After being processed by the BN layer and the ReLU activation layer, it is passed to the maximum pooling layer and finally the fourth feature map is output.
[0199] The attention module includes a channel attention module and a spatial attention module. In the channel attention module, the auxiliary network used to generate attention weights mainly consists of two FC layers (with 2 and 32 neurons), and the activation functions are set to ReLU and Sigmoid respectively. Correspondingly, in the spatial attention module, the auxiliary network used to generate attention weights mainly includes a convolution layer, whose convolution kernel number, size and stride are all 1, and the output feature map is finally activated by Sigmoid.
[0200] The original data is converted into high-dimensional features through the backbone network and input into the bottleneck layer. The bottleneck layer consists of three fully connected layers (FC). The first two layers reduce overfitting through Dropout. The second layer is used as an adaptation layer, and LJMMD is used to minimize the distribution difference between the source domain and the target domain. The third layer is a classification layer, and Softmax is used as the activation function. All parameters in the improved joint attention mechanism network are shared by the source domain and the target domain, thereby optimizing the network performance and enhancing the adaptive ability.
[0201] The objective function of the improved joint attention mechanism network proposed in this invention mainly consists of two items, including the cross entropy that controls the classification accuracy of the source domain and the domain adaptation loss (LJMMD loss) that controls the difference in data distribution between the source domain and the target domain. Accordingly, the training process of the improved joint attention mechanism network mainly includes two stages, namely the pre-training stage and the domain adaptation training stage;
[0202] In the pre-training phase, only the labeled source domain data is used to train the improved joint attention mechanism network, with the goal of minimizing the classification loss, to obtain a model that can accurately classify source domain samples. At this stage, the joint attention mechanism network is essentially a regular classifier, and its objective function is:
[0203] ; (27)
[0204] in, Represents the classification cross entropy loss. In the first 50 iterations, only the labeled source domain data is used for network training in order to obtain a pre-trained model suitable for the source domain task; when the classification loss is optimized to a certain level, that is, the end of pre-training, the improved joint attention mechanism network will iteratively activate the transfer strategy from the 51st time, so that the source domain model can be used for the target domain task;
[0205] In the domain adaptation training phase, the purpose of transfer learning is to use unlabeled target domain data and labeled source domain data to reduce the distribution differences of data in different domains. When the data distribution tends to be the same, the model suitable for the source domain will also show outstanding performance in the target domain. In this phase, the objective function is:
[0206] ; (28)
[0207] in, represents the subdomain adaptation loss, is a trade-off parameter between the cross entropy loss and the subdomain adaptation loss. This trade-off parameter adopts a progressive training strategy. When the transfer strategy is activated, The value of will gradually increase from 0 to 1;
[0208] Step 8: Input the test set into the optimal model for performance testing. In actual application, the multi-source sensor data acquired and fused in real time is input into the model to obtain fault identification results, thereby realizing the whole process status monitoring of submarine-launched UAVs.
[0209] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.
Claims
1. A method for monitoring the status of a rotary-wing submarine-launched UAV, characterized in that: The following steps are involved: Step 1: Use sensors carried on the submarine-launched UAV to collect multi-source time series data, where the sensors include a gyroscope, an accelerometer, a GPS module, a barometer, and a battery monitor. The collected data include Euler angles, acceleration, position, altitude, pressure, and battery voltage. Euler angles include pitch angle, roll angle, and yaw angle. Step 2: Preprocess the multi-source time series data, including data alignment, resampling and normalization; Step 3: Perform convex optimization data fusion on the preprocessed data; Step 4: Use GASF time series transformation technology to convert the fused data into a two-dimensional image to form a data set; Step 5: Divide the data set into a training set and a test set in proportion. In the training set, further divide it into labeled samples and unlabeled samples. Labeled samples are assigned a label to each sample, indicating whether the sample is in a normal state or a specific fault state. Unlabeled samples are not clearly identified or classified. Step 6: Based on the multi-stage step-by-step learning of the generative adversarial network, data expansion is performed on the labeled samples; Step 7: Establish an improved joint attention mechanism network, introduce a subdomain adaptation mechanism into the network, use the artificial data samples generated by the multi-stage step-by-step learning generative adversarial network as the source domain, use the original training set as the target domain, use the source domain to pre-train the backbone network, extract common features, share parameters, migrate the features learned in the source domain to the target domain, align the feature distribution through LJMMD, reduce the difference between domains, and perform performance verification on the target domain to select the optimal model; Step 8: Input the test set into the optimal model for performance testing. In actual application, the multi-source sensor data acquired and fused in real time is input into the model to obtain fault identification results, thereby realizing the whole process status monitoring of submarine-launched UAVs. The multi-stage step-by-step learning generative adversarial network MSSL-GAN consists of an encoder, a generator and a discriminator; The encoder encodes the two-dimensional image into a latent vector of fixed length through multiple CBL blocks and a CT block, and adds a hyperbolic tangent function in the CT block to realize nonlinear transformation; The generator consists of several C T BL block and a C T T blocks, converting the random noise and encoding vector in the encoder into an image, and limiting the value of the generated image to [-1,1] through tanh; The discriminator includes several CLL blocks and one CS block, and the output score is obtained through the sigmoid function, which represents the probability that the input comes from the real data distribution; The CT block includes the Conv 2D layer and the tanh layer in sequence, the CS block includes the Conv 2D layer and the sigmoid layer in sequence, the CBL block includes the Conv 2D layer, the Batch Norm layer and the Leaky ReLU layer in sequence, the CLL block includes the Conv 2D layer, the LayerNorm layer and the Leaky ReLU layer in sequence, and the C T T includes Conv 2D transpose layer and tanh layer in sequence, C T The BL block includes the Conv 2D transposed layer, the Batch Norm layer, and the Leaky ReLU layer in sequence; The multi-stage step-by-step learning generation strategy of the MSSL-GAN includes the following steps: Step 6.
1. Basic adversarial learning: Establish a generator-discriminator model, i.e. model to capture the normal data distribution, applying the relativistic discriminator and gradient penalty to In the model; Step 6.2, first-level discriminator learning: build an encoder-generator-discriminator model, that is Model,In the learning phase, the generator is the same as in the previous phase, that is, ,Will The parameters of the last layer are fixed and used as the discriminator , that is, while retaining a part of the ability to distinguish between positive and negative samples, the discriminator is allowed to improve its discrimination ability; the real image is fed into the encoder, and the encoded vector is converted into an image. The generated image is , for the loss function, we have and , after training, we get Model; Step 6.3, Discriminative Encoder Learning: Construct an encoder-generator-discriminator model, i.e. model, the discriminator is fixed, that is , so this training is a supervised learning process, using positive samples for training, will learn how to reconstruct high-quality and reliable positive samples, The loss function is: ;(16) in, is the smoothed label for the positive sample, , is the generated image, is a predefined factor; After multi-stage gradual learning, two models were obtained: and , Used to estimate the probability that the input data is a positive sample. Used to reconstruct a reasonable image for the positive input; after the discriminative encoder is learned, if the quality and authenticity of the image generated by the generator meet the expectations, that is, when the score output by the discriminator is close to 1, the generated image is input into the source domain; In step 6.1, are the relativistic losses of the generator and the discriminator, is the total generator and discriminator loss of basic adversarial learning, which is expressed as: ;(11) ;(12) ;(13) ;(14) ;(15) In the formula, From the real data distribution A random sample drawn from ; The data distribution is generated from The random samples drawn from are equivalent to the random noise generated by the generator. Output , ; yes and Linear interpolation of , For control and The weight in the mix, ,when Approaching 0, Closer ,when Approaching 1, Closer ; Gradient penalty term , is the weight coefficient of GP, It means solving the expected value, Express Calculate the gradient, and are the outputs of the discriminator and the relativistic discriminator for the samples respectively.
2. A method for monitoring the status of a rotary-wing submarine-launched UAV according to claim 1, characterized in that: The step 3 includes the following sub-steps: Step 3.1: The preprocessed data set includes the data set before the failure and the data set after the failure , The elements in are represented as , For the Experiment No. The measurement points and The value of the parameter, The elements in are represented as , for Experiment No. The measurement points and The value of the parameter; , , , ; Step 3.2: Convert the fusion problem into a convex optimization problem and construct the fusion target. Fusion target 1 is to keep the fused data stable in the absence of failures, that is, to minimize data fluctuations in the absence of failures, expressed as min var( ); Fusion goal 2 is that the fused data should show the maximum change after the fault, that is, the fluctuation of the fused data after the fault is the largest, expressed as max ; Step 3.3: Introduce hyperparameters To optimize the solution strategy, and Used to balance the importance of two objectives. Used to adjust the weight of post-failure data; Step 3.4: Solve the fusion weight matrix of the data The optimal form of Step 3.5: Solve the final fusion data corresponding to each experiment: ; (10) in, and are the fusion data before and after the fault, and Before and after the fault The weight of a parameter at a specific measurement point, It is a complete time series formed by splicing the sequences in normal state and fault state.
3. A method for monitoring the status of a rotary-wing submarine-launched UAV according to claim 2, characterized in that: In step 3.4, the two fusion objectives are combined to form an objective function. The objective function of the convex optimization problem is as follows: ; (1) In the first term of the objective function, is a hyperparameter, is the fusion weight matrix, represents the normal data matrix used in training, where the rows correspond to the collected data measurement points and the columns correspond to the parameters, is a symmetric matrix, and its expression is: ; (2) In the formula, is an identity matrix, is a matrix of all 1s; find the matrix The variance of the fused data can be estimated as follows: ; (3) In the second term of the objective function, is a hyperparameter, It is used to indicate the influence of post-fault data on the overall optimization goal. It means maximizing the difference between adjacent data after failure; In the constraint terms, the weight matrix To determine Set the value of The second term is maximized as shown below: ; (4) in, For a length of The unit vector of elements are 1, and the rest are 0; Solving the hyperparameters is as follows: First, set , , and then traverse all parameter selections with a step size of 0.1, using marginal effects to find the optimal hyperparameters for the multi-objective optimization problem and ; set up , , The expression is: ;(6) in, Indicates The number of fault samples used for training corresponding to the experiment, It is a measurement point index, i.e., the reference point used for interpolation calculation; The interior point method is used to solve the optimal solution of the convex optimization problem to obtain the data fusion weight matrix optimal form.
4. A method for monitoring the status of a rotary-wing submarine-launched UAV according to claim 3, characterized in that: The step 7 includes the following sub-steps: Step 7.1: Perform subdomain adaptation by calculating the local joint maximum mean difference (LJMMD). Subdomain adaptation aligns the features of the source domain and the target domain to reduce the distribution difference between the two and enhance the sharing and migration capabilities of feature representation. Step 7.2, the improved joint attention mechanism network mainly includes a backbone network and a bottleneck layer. The backbone network is composed of 4 basic units, including a convolutional layer, an attention module, a BN layer and a ReLU layer, and a maximum pooling layer is added after the second and fourth basic units to reduce the complexity of the model; The attention module includes a channel attention module and a spatial attention module. In the channel attention module, the auxiliary network used to generate attention weights mainly consists of two FC layers, and the activation functions are set to ReLU and Sigmoid respectively; in the spatial attention module, the auxiliary network used to generate attention weights mainly includes a convolutional layer, whose convolution kernel number, size and stride are all 1, and the output feature map is finally activated by Sigmoid; The original data is converted into high-dimensional features through the backbone network and input into the bottleneck layer. The bottleneck layer consists of three fully connected layers. The first two layers reduce overfitting through Dropout. The second layer is used as an adaptation layer, and LJMMD is used to minimize the distribution difference between the source domain and the target domain. The third layer is a classification layer, and Softmax is used as the activation function. All parameters in the improved joint attention mechanism network are shared by the source domain and the target domain, thereby optimizing the network performance and enhancing the adaptive ability.
5. A method for monitoring the status of a rotary-wing submarine-launched UAV according to claim 4, characterized in that: The step 7.1 is specifically as follows: for the source domain and target domain , The source domain The feature vector of the samples, The source domain The labels of samples, is the index of the source domain data sample, , is the index of the target domain data sample, Assumptions and Can be divided into C sub-domains and , and obeys the distribution , ,and , the objective function of subdomain adaptation is as follows: ;(17) in, represents the cross entropy loss, represents the domain adaptation loss, represents the trade-off parameter, represents mathematical expectation; The LJMMD equation is shown below: ;(18) in, To measure the distribution difference between the source domain and the target domain, The source domain distribution Next, the categories are The expectation of the sample is is the dimension index of the feature, for The tensor product of Indicated in Convert the original data into RKHS and The feature mapping function is The source domain is The dimensional features, Distribution for the target domain Next, the categories are The expectation of the sample is For the target domain The dimensional features, represents the reproducing kernel Hilbert space with Kernel function on dimension The associated Hilbert space; Assume that each sample is weighted belongs to each type of subdomain, then the unbiased estimator of the above equation is as follows: ;(19) in, is the category index, , is the reproducing kernel Hilbert space, is the kernel function used to calculate the similarity in high-dimensional feature space, and They respectively represent the c and The weight of is expressed as: ;(20) ;(21) in is a vector The cth entry of is a vector The cth entry of It can be calculated by the true label of the source domain data, and Can be calculated by predicting labels and target domain data; In order to reduce the subjectivity brought by the selection of kernel functions and corresponding parameters in LJMMD, a combination of multi-kernel functions is used to enhance the robustness of the algorithm. The multi-core strategy is expressed as follows: ;(22) in, represents a set of kernel functions, For the The base kernel function, , Represents the weights of different kernels.
6. A method for monitoring the status of a rotary-wing submarine-launched UAV according to claim 5, characterized in that: The training process of the improved joint attention network mainly includes two stages, namely the pre-training stage and the domain adaptation training stage; In the pre-training stage, the improved joint attention mechanism network is essentially a regular classifier, and its objective function is: ;(27) in, represents the classification cross entropy loss; in the first 50 iterations, only the labeled source domain data is used for network training in order to obtain a pre-trained model suitable for the source domain task; when the classification loss is optimized to a certain level, that is, the end of pre-training, the joint attention mechanism network will iteratively activate the transfer strategy from the 51st time, so that the source domain model can be used for the target domain task; In the domain adaptation training phase, the objective function is: ;(28) in, represents the subdomain adaptation loss, is a trade-off parameter between the cross entropy loss and the subdomain adaptation loss. This trade-off parameter adopts a progressive training strategy. When the transfer strategy is activated, The value will gradually increase from 0 to 1.
