A real-time risk assessment system and method for submarine-launched unmanned aerial vehicles
Through the distributed multi-sensor network and dual-channel parallel CNN network model, combined with the multi-head self-attention mechanism and zebra optimization algorithm, real-time risk assessment of submarine-launched drones in complex underwater environments is achieved, solving the risks in existing technologies. The problem of insufficient high-precision assessment has improved the safety and reliability of submarine-launched drones.
Patent Information
- Application Number
- CN202411087372.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-09
AI Technical Summary
Existing technology is difficult to achieve real-time risk assessment of submarine-launched UAVs in complex underwater environments, especially under the influence of factors such as complex fluids across media and wave disturbances, resulting in insufficient accuracy and efficiency in risk assessment.
A real-time risk assessment system for submarine-launched UAVs is designed, using a distributed multi-sensor network and a dual-channel parallel CNN network model, through time-shifted multi-scale attention entropy and Gram angle field transformation, combined with a multi-head self-attention mechanism and zebra Optimize the algorithm to achieve real-time risk assessment of the operating status of submarine-launched drones.
It improves the accuracy and efficiency of risk assessment of submarine-launched drones, can continuously output risk assessment results in real time, enhances the safety and reliability of submarine-launched drones, and ensures normal operation in complex environments.
Smart Images

Figure CN118643275B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of submarine-launched unmanned aerial vehicles, and in particular relates to a real-time risk assessment system and method for submarine-launched unmanned aerial vehicles. Background Art
[0002] Submarine-launched drones are a special type of drone system that are carried by submarines or unmanned underwater vehicles and launched through torpedo tubes, missile launch tubes or other special devices. Submarine-launched drones have the advantages of high concealment, strong maneuverability, and the ability to cooperate with manned and unmanned vehicles. These advantages enable submarine-launched drones to conduct covert reconnaissance of battlefield environments in complex environments where there is a lack of air and sea control. Submarine-launched drones enhance the information acquisition capabilities of submarines while submerged, provide submarines with valuable intelligence, and seize information advantages.
[0003] With the widespread application of drone technology, the safety issues such as collisions it brings have become increasingly prominent, which has aroused the deep concern of scholars. The operating environment of submarine-launched drones is complex. The water pressure poses a huge challenge to the structure and electronic equipment of drones. The water flow and hydrodynamic characteristics of the underwater environment put forward requirements for the stability and controllability of submarine-launched drones. Submarine-launched drones may face the following risks during operation. First, submarine-launched drones may collide and be accidentally damaged due to electronic equipment failures, communication interruptions, etc. when operating underwater; second, the complexity and unpredictability of the underwater environment increase the control risk of drones; third, during the operation of submarine-launched drones, the collected data may be lost due to failures, accidents and other problems. These risks will affect the operation mission of the drone itself on the one hand, and may also affect the carrier of the submarine-launched drone, causing serious economic and property losses on the other hand. Therefore, real-time risk assessment of submarine-launched drones is of great significance to their safety and reliability.
[0004] At present, the risk assessment of UAVs is in a state of continuous improvement. In the field of UAV risk assessment, although artificial intelligence and machine learning technologies are gradually being applied, the current mainstream methods still rely mainly on historical data and expert experience to quantify risks. Compared with ordinary UAVs, submarine-launched UAVs have more complex real-time risk assessment during their missions due to their special operating environment, such as cross-media complex fluid problems, wave disturbances, and electromagnetic interference. The real-time risk assessment of submarine-launched UAVs not only involves multidimensional, strongly coupled, and time-varying mathematical analysis problems, but also requires risk assessment methods to have high precision and high efficiency. Therefore, it is urgent to develop more advanced risk assessment technologies to meet the needs of safe and stable operation of submarine-launched UAVs in complex environments. Based on the above situation, under the background of the data-driven concept, the present invention discloses a submarine-launched UAV risk assessment system and method. Summary of the invention
[0005] In view of the above problems existing in the prior art, the present invention proposes a real-time risk assessment system and method for submarine-launched UAVs, which has a reasonable design, solves the shortcomings of the prior art, and has good effects.
[0006] A real-time risk assessment system for submarine-launched UAVs, comprising an airborne risk assessment system for submarine-launched UAVs and a shipborne risk assessment system for submarines;
[0007] The airborne risk assessment system for submarine-launched UAVs includes a distributed sensor network, an airborne communication network, an airborne central processing unit and an airborne storage unit; the distributed multi-sensor network transmits data to the airborne central processing unit and the data storage unit through the airborne communication network; the distributed multi-sensor network is used to collect the status data of airborne equipment, body structure data and operating environment data of submarine-launched UAVs; the airborne storage unit is used to store the data collected by the distributed multi-sensor network and the work log of the submarine-launched UAV for reference by UAV operators and design and development personnel; the airborne central processing unit is used to realize environmental sensor data processing and over-threshold data judgment, airborne equipment sensor data processing and anomaly detection and body structure sensor data processing and anomaly detection;
[0008] The submarine onboard risk assessment system consists of a submarine control unit, a display screen, and a submarine storage unit. The submarine control unit is connected to the display screen and the submarine storage unit, and a data communication network and a download maintenance interface are set between the submarine control unit and the submarine-launched UAV onboard risk assessment system; the submarine control unit is used for real-time risk assessment of submarine-launched UAVs; the display screen is used for operators to monitor and understand the system status; the submarine storage unit is used to store data and work logs, which is convenient for retrieval of data and work logs after the mission is completed.
[0009] Furthermore, the operating environment data include temperature, vibration, humidity, water pressure, drone switch status, joystick mode human factor data; the airborne equipment status data include attitude angle and speed data of the flight control system, signal strength and data throughput data of the communication system, sensor working status of the detection system and battery voltage, current, power and battery health status data of the energy system; the body structure data include wing strain, frame displacement, blade speed and stress data.
[0010] A real-time risk assessment method for submarine-launched UAVs, using the real-time risk assessment system for submarine-launched UAVs as described above, comprises the following steps:
[0011] S1. Based on the mission characteristics of submarine-launched UAVs, the operating status data of the flight control system, communication system and energy system of submarine-launched UAVs, the operating environment data, and the body structure data are obtained through a distributed multi-source sensor network;
[0012] S2. Preprocessing the raw data obtained from the distributed multi-source sensor network through the central processing unit onboard the submarine-launched UAV and the submarine control center. The preprocessing methods include data cleaning, data noise reduction, abnormal data detection, and missing value filling.
[0013] S3, calculate the time-shifted multi-scale attention entropy;
[0014] S4, the time-shifted multi-scale attention entropy is transformed into a GASF graph and a GADF graph by Gram angle field transformation;
[0015] S5, dividing the GASF graph and the GADF graph in S4 into a training set, a test set and a validation set, training, validating and testing the dual-channel parallel CNN network, and obtaining a final dual-channel parallel CNN network model, namely, a PCNN model;
[0016] S6. When the system is actually running, the distributed multi-sensor network is used to collect data in real time. According to steps S2-S4, the data is converted into GASF images and GADF images, and input into the final PCNN model to achieve real-time risk assessment of the submarine-launched UAV mission process.
[0017] Furthermore, step S3 specifically includes the following steps:
[0018] S3.1. The preprocessed data in S2 is used as a time series signal of length N. The time series signal is divided into Subsequence signal;
[0019] ; (1)
[0020] In the formula, For the subsequence signal, The value range is ; is the first sample points, and is the first Sample points, The value range is ;
[0021] S3.2. Calculate the attention entropy ATE of all subsequence signals using formula (2), and define the mean of all attention entropies as the scale Time-shifted mean attention entropy TSMA(k) under
[0022] ; (2)
[0023] In the formula, For the The probability of a sample point occurring is is the number of sample points in the time series signal;
[0024] S3.3. Calculate all scales using formula (3) The time-shifted mean attention entropy TSMA(k) under k ∈ [2,m] , the set of time-shifted mean attention entropy is taken as the new time series signal TSMATE;
[0025] (3).
[0026] Furthermore, step S4 specifically includes the following steps:
[0027] S4.1. Define the time series signal TSMATE as a time series , through formula (4) the time series After normalization and scaling, scaling to the interval [-1,1], we get , expressed as:
[0028] ; (4)
[0029] In the formula, For the The time-shifted mean attention entropy corresponding to each time point, i ∈ [1,m] ; is the first The time-shifted mean attention entropy corresponding to each time point, for The maximum value of the elements in , for The minimum value of the elements in ;
[0030] S4.2. Scaled time series Converted to polar coordinates, the expression is:
[0031] ; (5)
[0032] in, is the timestamp, represents the constant factor generated by the regularized polar coordinate system, For the The phase angle at a time point, For the The polar coordinate radius at each time point;
[0033] S4.3. Time series It is expressed in the form of a Gram matrix, as shown in formula (6):
[0034] ; (6)
[0035] In the formula, is the Gram matrix; is the inner product operation;
[0036] The Gram matrix is used to define two unique inner product forms with penalty terms to eliminate the influence of Gaussian noise. The inner product forms are defined as follows:
[0037] ; (7)
[0038] ; (8)
[0039] In the formula, , , , Respectively The phase angle at a time point, i,j,p,q ∈ [1,m] ;
[0040] Using two different inner product definitions of the Gram matrix, two different Gram angle fields are obtained: the Gram sum field (GASF) and the Gram difference field (GADF), as shown in the following formulas:
[0041] ; (9)
[0042] ; (10)
[0043] S4.4. After the Grammar angle field transformation, the timing signals are converted into GASF diagrams and GADF diagrams, and the Grammar diagrams corresponding to all timing signals are annotated with risk labels. The risk labels include risk types and corresponding risk types. The risk types include low risk, medium risk and high risk. The risk types include battery failure, motor failure, GPS positioning system failure, flight control system sensor damage or calibration error, strong wind, strong waves, and underwater obstacles causing flight difficulties.
[0044] Furthermore, the step S5 specifically includes the following steps:
[0045] S5.1. Divide all GASF graphs and GADF graphs into training set, test set and validation set according to a predefined division ratio. Use the training set and validation set to train the dual-channel parallel CNN network model. In each round of training iteration, use the training set to update the parameters of the model, and use the validation set to evaluate the model in real time. Once the model reaches the expected convergence state, the current training model will be saved.
[0046] S5.2. Use the test set to evaluate the risk assessment accuracy of the training model. If the evaluation result indicates that the model assessment ability is not optimal, adjust the hyperparameters and return to step S5.1 to train the model until the model assessment accuracy when facing the test set reaches a certain standard. At this time, it means that the optimal assessment model has been trained. The model can be put into actual operation for online risk assessment and output the risk assessment results of submarine-launched drones.
[0047] Furthermore, the PCNN model includes two CNN networks, each of which includes an input layer, a convolution layer, a pooling layer, a normalization layer, an activation function layer, a fully connected layer, a multi-head self-attention mechanism layer and an output layer;
[0048] The convolution process expression of the convolution layer is:
[0049] ; (11)
[0050] In the formula, For the The convolutional layer feature maps; is a nonlinear activation function, Represents the convolution operation; For the The convolutional layer A weight matrix; For the The convolutional layer feature maps; For the The convolutional layer A bias vector;
[0051] The pooling process expression of the pooling layer is:
[0052] ; (12)
[0053] in, is the feature output of the pooling layer, represents the downsampling function of the maximum value, is the feature vector output by the convolutional layer, is the pooling size;
[0054] The activation function layer uses the ReLU activation function, and its expression is:
[0055] ; (13)
[0056] The fully connected layer is used to implement feature classification and learn the global features of input data;
[0057] The multi-head self-attention mechanism layer generates attention weights according to the global features learned by the fully connected layer. The multi-head self-attention mechanism is based on the Self-Attention mechanism. The calculation formula of the self-attention mechanism is shown as follows:
[0058] ; (14)
[0059] in, is the query matrix, whose row vector represents the query vector, is the key matrix, whose row vectors represent key vectors, is a value matrix whose row vectors represent value vectors, is the dimension of the key vector;
[0060] The calculation formula of the multi-head attention mechanism is:
[0061] ; (15)
[0062] in, Represents a splicing operation, Represents the first A "head", is the linear transformation matrix;
[0063] The expression is:
[0064] ; (16)
[0065] in, is the function of the self-attention mechanism, according to and Calculate the attention weights and then use the weights to perform a weighted summation on V; , , For the The query matrix, key matrix and weight transformation matrix of each "head";
[0066] The output layer uses SVM to classify risk categories and generate the final risk assessment result, which is expressed as:
[0067] ; (17)
[0068] in, is the weight vector, For the The feature vector corresponding to the samples is For the The labels of samples, is the threshold value, is the number of samples, is a regularization parameter that controls the degree of penalty for misclassification; It is Slack variables for samples are used to allow samples to be misclassified.
[0069] Furthermore, in S5.2, the ZOA algorithm is introduced to perform hyperparameter optimization, and the hyperparameter optimization problem is modeled as a problem to be optimized in the ZOA algorithm. Each hyperparameter can be regarded as a dimension in the search space. The ZOA algorithm explores this search space by simulating the foraging and defense behaviors of zebras to find the optimal hyperparameter combination. The ZOA algorithm is specifically:
[0070] (1) Randomly initialize the population in the optimization space;
[0071] Located in In the dimensional search space, the population is The initialization position description of the zebra is as follows:
[0072] ; (20)
[0073] In the formula, For the Zebra Dimensional location; and is the search boundary; is a random number in the interval [0,1]; is the zebra population size; is the dimension of decision variables;
[0074] (2) Zebra position update during the foraging phase;
[0075] The zebra members in the ZOA algorithm update their positions according to the evaluation results of the current positions. Different hyperparameter combinations are regarded as zebra members, and the performance of the model on the validation set is regarded as the evaluation results of the current positions. The zebra members update their positions according to the behavior of the zebras when searching for pasture. In ZOA, the member with the best position in the zebra group is regarded as the pioneer zebra, which leads other group members to move to a better position in the search space. Therefore, in the foraging stage, the zebras update their positions using the following formula;
[0076] ;(twenty one)
[0077] ;(twenty two)
[0078] In the formula, For the first stage Zebra Restoration of position; is a random number between 0 and 1; PZ is the pioneer zebra position, that is, the best zebra member position, For the Dimensional Pioneer Zebra Position; is the population variation control parameter, ; For the first stage Zebra new location; For the Zebra location; For the first stage The fitness value of a zebra; For the The fitness value of a zebra;
[0079] (3) The defense strategy phase updates the optimal positions of individuals and populations;
[0080] In ZOA, the zebra's defense strategy varies depending on the predator: ① When a lion attacks a zebra, the zebra uses a zigzag or random movement pattern to escape; the lion represents a factor that makes the hyperparameter optimization process more complex and random, and the lion's attack corresponds to large, global changes or unpredictable situations that may be encountered during the optimization process; ② When other predators attack the zebra, the zebra adopts a clustering method to confuse or intimidate the predator; other predators represent situations that require fine-tuning and local search during the optimization process. Assuming that the probability of the two situations is the same, in the defense strategy stage, the zebra updates its position using the following formula:
[0081] ;(twenty three)
[0082] ;(twenty four)
[0083] In the formula, For the second stage Zebra Restoration of position; is a constant equal to 0.01; The probability of choosing to escape or attack is in the range [0,1]; , is the current iteration number and maximum iteration number of ZOA; AZ is the position of the zebra under attack. For the Maintain the position of the zebra when under attack; For the second stage Zebra new location; For the second stage The fitness value of a zebra;
[0084] Each ZOA iteration is completed by updating the population members based on the two stages of "foraging behavior" and "defense strategy". The best candidate solution is updated and saved during the continuous iteration process, and the termination condition is determined by the given maximum number of iterations. If the termination condition is reached, the position of the final pioneer zebra output is the optimal solution for hyperparameter optimization, thereby adjusting the hyperparameters of the PCNN model. The hyperparameters optimized by the ZOA algorithm include: (1) the learning rate in the PCNN network. By adjusting the learning rate, the step size of the model weights at each iteration is adjusted to improve the training speed and convergence of the model; (2) the number of samples used for training at each iteration in the PCNN network; (3) the type of pooling operation and its filter size. The types of pooling operations include maximization and average pooling; (4) the number of fully connected layers and the number of neurons in each layer. The above hyperparameters are adjusted according to the ZOA optimization results to find the hyperparameter combination that optimizes the performance of PCNN.
[0085] Beneficial technical effects brought by the present invention:
[0086] The present invention is based on a distributed multi-sensor network and can obtain data information such as the real-time operating status of submarine-launched UAV related systems, the operating status of UAVs, and the operating environment. The time-shifted multi-scale attention entropy is introduced to segment the time series collected by the sensor. The time-shifted multi-scale attention entropy combines the advantages of attention entropy with few hyperparameters, short running time, strong robustness to the length of the time series, and multi-scale complex model measurement. It has good anti-noise performance and can effectively extract abnormal information of submarine-launched UAVs. The Gram angle field is used to convert the one-dimensional time series signal into a two-dimensional image, so as to more comprehensively describe the characteristics of the data, which helps to extract richer and more distinctive features, thereby improving the accuracy of classification and evaluation. At the same time, a dual-channel parallel CNN network (PCNN) model is used for training. The CNN network can effectively learn the spatial features and local patterns of the image, extract the texture, shape and edge features of the image, and help to accurately perform risk assessment; the dual-channel parallel structure learns different image weight values respectively, realizes the complementarity of high-dimensional features, and significantly enhances the deep spatial features. The multi-head attention mechanism effectively grasps the contribution of the extracted features, and the accuracy of risk assessment can be improved after the features are strengthened. The zebra optimization algorithm (ZOA) is used to optimize the parameters such as learning rate and convolution kernel size that are difficult to determine in the PCNN model, optimize the model structure, and also improve the accuracy of risk assessment. The present invention can continuously output the risk assessment results and assessment reports of submarine-launched UAVs in real time, providing information support for the normal operation of submarine-launched UAVs in the entire mission stage. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] Figure 1 This is a schematic diagram of the structure of a real-time risk assessment system for submarine-launched UAVs.
[0088] Figure 2 The figure is a flow chart of a real-time risk assessment method for submarine-launched UAVs. DETAILED DESCRIPTION
[0089] The specific implementation of the present invention is further described below in conjunction with specific embodiments:
[0090] A real-time risk assessment system for submarine-launched UAVs, such as Figure 1 As shown, it includes a submarine-launched UAV airborne risk assessment system and a submarine shipborne risk assessment system;
[0091] The airborne risk assessment system for submarine-launched UAVs includes a distributed sensor network, an airborne communication network, an airborne central processing unit and an airborne storage unit; the distributed multi-sensor network transmits data to the airborne central processing unit and the data storage unit through the airborne communication network; the distributed multi-sensor network is used to collect the status data of the airborne equipment, the body structure data and the operating environment data of the submarine-launched UAV; the airborne storage unit is used to store the data collected by the distributed multi-sensor network and the work log of the submarine-launched UAV for the reference of the UAV operators and design and development personnel; the airborne central processing unit is used to realize the environmental sensor data processing and over-threshold data judgment, the airborne equipment sensor data processing and anomaly detection and the body structure sensor data processing and anomaly detection;
[0092] The operating environment data include temperature, vibration, humidity, water pressure, UAV switch status, joystick mode human factor data; the airborne equipment status data include attitude angle and speed data of the flight control system, signal strength and data throughput data of the communication system, sensor working status of the detection system and battery voltage, current, power and battery health status data of the energy system; the body structure data include wing strain, frame displacement, blade speed and stress data. These data will help to comprehensively monitor the operating status of submarine-launched UAVs under various conditions, ensure the accuracy and real-time nature of the data, and thus conduct effective risk assessment.
[0093] After conducting a preliminary risk assessment of the airframe structure and onboard equipment, online fault handling and decision-making can be performed to determine whether the submarine-launched UAV should continue to perform its mission and make corresponding mission adjustments. However, the size of a submarine-launched UAV is limited and it cannot carry a large computer. Its computing and processing capabilities for large-scale multi-dimensional data are limited. Therefore, a submarine-launched UAV-submarine communication network and a download maintenance interface are set up. While realizing submarine-launched UAV-submarine communication, the submarine-launched UAV can transmit the data collected by the multi-source sensor network to the submarine-borne risk assessment system for in-depth risk assessment.
[0094] The submarine shipborne risk assessment system consists of a submarine control unit, a display screen, and a submarine storage unit. The submarine control unit is connected to the display screen and the submarine storage unit, and a data communication network and a download maintenance interface are set between the submarine control unit and the submarine-launched UAV airborne risk assessment system; the submarine control unit is used for real-time risk assessment of submarine-launched UAVs; the display screen is used for operators to monitor and understand the system status; the submarine storage unit is used to store data and work logs, which is convenient for retrieval of data and work logs after the mission is completed.
[0095] The submarine-borne risk assessment system has excellent data storage and processing capabilities. The system can efficiently pre-process the massive data collected by submarine-launched drones, extract key features and properly store them, and then use advanced algorithms and models for in-depth analysis. Through precise data analysis, the system can keenly identify potential risk factors and abnormal situations, and achieve in-depth prediction and comprehensive assessment of risks. Based on the risk assessment results, the system can intelligently arrange troubleshooting plans, provide important technical guidance and reference for R&D designers, and help operators quickly and accurately respond to various risk challenges.
[0096] The submarine-borne risk assessment system achieves real-time tracking and analysis of the operating status and environmental data of submarine-launched drones through a highly integrated monitoring mechanism. The system not only has powerful data collection and processing capabilities, but also can accurately identify and evaluate potential risks based on pre-set sophisticated rules and complex algorithms. Once an abnormal state or potential risk is found in the operation of a submarine-launched drone, the system can quickly activate the early warning mechanism and automatically send an alarm notification to the operation team. This not only provides important decision-making support for the operation team, but also effectively improves the safety and reliability of the entire system, ensuring that measures can be taken quickly in an emergency to prevent the situation from further deteriorating. The submarine-borne risk assessment system is equipped with a display screen that can display risk information such as charts, images and animations, allowing operation and maintenance personnel to more intuitively understand the risk distribution, changing trends and potential impacts, which not only improves the work efficiency of operation and maintenance personnel, but also enhances their understanding and grasp of risk management.
[0097] A real-time risk assessment method for submarine-launched UAVs, using a real-time risk assessment system for submarine-launched UAVs as described above, such as Figure 2 As shown, the following steps are included:
[0098] S1. Based on the mission characteristics of submarine-launched UAVs, the operating status data of the flight control system, communication system and energy system of submarine-launched UAVs, the operating environment data, and the body structure data are obtained through a distributed multi-source sensor network;
[0099] S2. Preprocessing the raw data obtained from the distributed multi-source sensor network through the central processing unit onboard the submarine-launched UAV and the submarine control center. The preprocessing methods include data cleaning, data noise reduction, abnormal data detection, and missing value filling.
[0100] S3, calculate the time-shifted multi-scale attention entropy;
[0101] S4, the time-shifted multi-scale attention entropy is transformed into a GASF graph and a GADF graph by Gram angle field transformation;
[0102] S5, dividing the GASF graph and the GADF graph in S4 into a training set, a test set and a validation set, training, validating and testing the dual-channel parallel CNN network, and obtaining a final dual-channel parallel CNN network model, namely, a PCNN model;
[0103] S6. When the system is actually running, the distributed multi-sensor network is used to collect data in real time. According to steps S2-S4, the data is converted into GASF images and GADF images, and input into the final PCNN model to achieve real-time risk assessment of the submarine-launched UAV mission process.
[0104] Specifically, step S3 includes the following steps:
[0105] S3.1. The preprocessed data in S2 is used as a time series signal of length N. The time series signal is divided into Subsequence signal;
[0106] ; (1)
[0107] In the formula, For the subsequence signal, The value range is ; is the subsequence signal sample points, and is the first Sample points, The value range is ;
[0108] S3.2. Calculate the attention entropy ATE of all subsequence signals using formula (2), and define the mean of all attention entropies as the scale Time-shifted mean attention entropy TSMA(k) under
[0109] ; (2)
[0110] In the formula, For the The probability of a sample point occurring is is the number of sample points in the time series signal;
[0111] S3.3. Calculate all scales using formula (3) The time-shifted mean attention entropy TSMA(k) under k ∈ [2,m] , the set of time-shifted mean attention entropy is taken as the new time series signal TSMATE;
[0112] (3).
[0113] Specifically, step S4 includes the following steps:
[0114] S4.1. Define the time series signal TSMATE as a time series , through formula (4) the time series After normalization and scaling, scaling to the interval [-1,1], we get , expressed as:
[0115] ; (4)
[0116] In the formula, For the The time-shifted mean attention entropy corresponding to each time point, i ∈ [1,m] ; is the first The time-shifted mean attention entropy corresponding to each time point, for The maximum value of the elements in , for The minimum value of the elements in ;
[0117] S4.2. Scaled time series Converted to polar coordinates, the expression is:
[0118] ; (5)
[0119] in, is the timestamp, represents the constant factor generated by the regularized polar coordinate system, For the The phase angle at a time point, For the The polar coordinate radius at each time point;
[0120] S4.3. Time series Expressed in the form of a Gram matrix, the Gram matrix is defined as shown in formula (6). The inner product between different vectors can represent the correlation between the vectors, and the angle between the vectors shows the degree of correlation between different vectors.
[0121] ; (6)
[0122] In the formula, is the Gram matrix; is the inner product operation;
[0123] The Gram matrix is used to define two unique inner product forms with penalty terms to eliminate the influence of Gaussian noise. The inner product forms are defined as follows:
[0124] ; (7)
[0125] ; (8)
[0126] In the formula, , , , Respectively The phase angle at a time point, i,j,p,q ∈ [1,m] ;
[0127] Using two different inner product definitions of the Gram matrix, two different Gram angular fields are obtained: Gramian Angular Summation Fields (GASF) and Gramian Angular Difference Fields (GADF), as shown in the following formula:
[0128] ; (9)
[0129] ; (10)
[0130] S4.4. After the Grammar angle field transformation, the timing signals are converted into GASF diagrams and GADF diagrams, and the Grammar diagrams corresponding to all timing signals are annotated with risk labels. The risk labels include risk types and corresponding risk types. The risk types include low risk, medium risk and high risk. The risk types include battery failure, motor failure, GPS positioning system failure, flight control system sensor damage or calibration error, strong wind, strong waves, and underwater obstacles causing flight difficulties.
[0131] Specifically, step S5 includes the following steps:
[0132] S5.1. Divide all GASF graphs and GADF graphs into training set, test set and validation set according to a predefined division ratio. Use the training set and validation set to train the dual-channel parallel CNN network. In each round of training iteration, use the training set to update the parameters of the model, and use the validation set to evaluate the model in real time to ensure that the model can continue to move in a better direction. Once the model reaches the expected convergence state, the current training model will be saved.
[0133] S5.2. Use the test set to evaluate the risk assessment accuracy of the training model. If the evaluation result indicates that the model assessment ability is not optimal, adjust the hyperparameters and return to step S5.1 to train the model until the model assessment accuracy when facing the test set reaches a certain standard. At this time, it means that the optimal assessment model has been trained. The model can be put into actual operation for online risk assessment and output the risk assessment results of submarine-launched drones.
[0134] The PCNN model consists of two CNN networks, each of which includes an input layer, a convolution layer, a pooling layer, a normalization layer, an activation function layer, a fully connected layer, a multi-head self-attention mechanism layer, and an output layer;
[0135] The convolution process of the convolution layer is expressed as:
[0136] ; (11)
[0137] In the formula, For the The convolutional layer feature maps; is a nonlinear activation function, Represents the convolution operation; For the The convolutional layer A weight matrix; For the The convolutional layer feature maps; For the The convolutional layer A bias vector;
[0138] The pooling process expression of the pooling layer is:
[0139] ; (12)
[0140] in, is the feature output of the pooling layer, represents the downsampling function of the maximum value, is the feature vector output by the convolutional layer, is the pooling size;
[0141] The activation function layer uses the ReLU activation function, and its expression is:
[0142] ; (13)
[0143] The fully connected layer is used to implement feature classification and learn the global features of the input data;
[0144] The multi-head self-attention mechanism layer generates attention weights based on the global features learned by the fully connected layer, effectively grasps the contribution of the extracted features, focuses on strengthening the features, and improves the accuracy of the risk assessment results.
[0145] The multi-head self-attention mechanism is based on the Self-Attention mechanism. The calculation formula of the self-attention mechanism is as follows:
[0146] ; (14)
[0147] in, is the query matrix, whose row vector represents the query vector, is the key matrix, whose row vectors represent key vectors, is a value matrix whose row vectors represent value vectors, is the dimension of the key vector; The calculation formula for the self-attention mechanism directly uses the query (Q), key (K), and weight (V) matrices of the input sequence to calculate the attention weights and perform a weighted summation on the value matrix; Represents the query matrix and key matrix The result is a score matrix where each element represents the similarity between a query vector and a key vector.
[0148] Scaling Factor The introduction is to solve the problem of When the dot product is large, the magnitude of the result may become too large, causing the softmax function to enter the region with extremely small gradients. , the amplitude of the dot product result can be kept within a relatively small range, thus avoiding the saturation problem of the softmax function and allowing the gradient to be propagated more effectively.
[0149] The calculation formula of the multi-head attention mechanism is:
[0150] ; (15)
[0151] in, It is an extension of Self-Attention and is used to calculate the multi-head self-attention mechanism, which allows the model to focus on different information on different representation "heads" at the same time; Represents a concatenation operation, which concatenates the outputs of all heads together. Represents the first Heads are independent parallel sub-layers (or “attention layers”), each of which can independently focus on different parts of the input sequence and learn different features or dependencies; is a linear transformation matrix used to map the concatenated output to the final output space;
[0152] The expression is:
[0153] ; (16)
[0154] in, is the function of the self-attention mechanism, according to and Calculate the attention weights and then use the weights to Perform weighted summation; , , For the The query matrix, key matrix and weight transformation matrix of the "head" are used to transform the original The matrix is projected into different representation subspaces;
[0155] The output layer uses SVM to classify risk categories and generate the final risk assessment results. The original Softmax layer in the output layer is improved to the SVM layer. As a probabilistic method, Softmax will be affected by outliers, while SVM uses the edge of the sample distribution to classify abnormal samples within a certain distance, and is more robust to outliers.
[0156] The basic expression of SVM is:
[0157] ; (17)
[0158] in, is the weight vector, For the The feature vector corresponding to the samples is For the The labels of samples, is the threshold value, is the number of samples, Abbreviation for "subject to", meaning "subject to" or "subject to". It is used to indicate a subsequent set of inequality or equality constraints that must be satisfied in order for the optimization problem to be solvable.
[0159] In the classification process, the kernel function is introduced to construct the linear classification hyperplane, and the Gaussian function is selected as the kernel function. The expression is:
[0160] ; (18)
[0161] in, represents two vectors, represents the similarity between two vectors, are the parameters of the Gaussian kernel function.
[0162] In order to avoid the influence of abnormal data points on the classification effect, the soft interval method is adopted, that is, some samples are allowed to be misclassified. Regularization terms and slack variables are added, and the formula of the SVM layer becomes as follows:
[0163] ; (19)
[0164] in, is a regularization parameter that controls the degree of penalty for misclassification; It is Slack variables for samples are used to allow samples to be misclassified.
[0165] Specifically, in S5.2, the ZOA algorithm is introduced for hyperparameter optimization, and the hyperparameter optimization problem is modeled as a problem to be optimized in the ZOA algorithm. Each hyperparameter can be regarded as a dimension in the search space. The ZOA algorithm explores this search space by simulating the foraging and defense behaviors of zebras to find the optimal hyperparameter combination. The ZOA algorithm is specifically:
[0166] (1) Randomly initialize the population in the optimization space;
[0167] Located in In the dimensional search space, the population is The initialization position description of the zebra is as follows:
[0168] ; (20)
[0169] In the formula, For the Zebra Dimensional location; and is the search boundary; is a random number in the interval [0,1]; is the zebra population size; is the dimension of decision variables;
[0170] (2) Zebra position update during the foraging phase;
[0171] The zebra members in the ZOA algorithm update their positions according to the evaluation results of the current positions. Different hyperparameter combinations are regarded as zebra members, and the performance of the model on the validation set is regarded as the evaluation results of the current positions. The zebra members update their positions according to the behavior of the zebras when searching for pasture. In ZOA, the member with the best position in the zebra group is regarded as the pioneer zebra, which leads other group members to move to a better position in the search space. Therefore, in the foraging stage, the zebras update their positions using the following formula;
[0172] ;(twenty one)
[0173] ;(twenty two)
[0174] In the formula, For the first stage Zebra Restoration of position; is a random number between 0 and 1; PZ is the pioneer zebra position, that is, the best zebra member position, For the Dimensional Pioneer Zebra Position; is the population variation control parameter, ; For the first stage Zebra new location; For the Zebra location; For the first stage The fitness value of a zebra; For the The fitness value of a zebra;
[0175] (3) The defense strategy phase updates the optimal positions of individuals and populations;
[0176] In ZOA, the defense strategies of zebras vary depending on the predator: ① When a lion attacks a zebra, the zebra flees by moving in a zigzag or random pattern; lions represent factors that make the hyperparameter optimization process more complex and random, and the lion's attack corresponds to large, global changes or unpredictable situations that may be encountered during the optimization process; for example: global search needs, that is, the need to explore the entire search space to avoid falling into a local optimal solution. High-dimensional search space, that is, the number and range of hyperparameters are large, which makes the search space complex and unpredictable. This defense strategy can be regarded as a "random search" or "exploratory search" strategy. In this strategy, the zebra (i.e., the optimization process) escapes the predator (i.e., minimizes the loss function) by trying random directions (i.e., different settings of hyperparameters). The advantage of this strategy is that it can conduct extensive exploration in the search space. ② Other predators attack zebras, and the zebras adopt a clustering approach to confuse or intimidate the predator; other predators represent situations in which fine-tuning and local search are required during the optimization process. The attacks of these predators correspond to the need for more detailed adjustments and local optimization during the optimization process. This defense strategy can be viewed as a "swarm-based optimization strategy" or "local search strategy". In this strategy, zebras (i.e., optimization processes) gather together (i.e., multiple hyperparameter configurations) and try to find a good solution through collective behavior (such as information exchange or collaboration in the group). This strategy is better at performing fine-grained searches in a local area of the search space.
[0177] Assuming that the probability of the two situations occurring is the same, in the defense strategy phase, the zebra updates its position using the following formula:
[0178] ;(twenty three)
[0179] ;(twenty four)
[0180] In the formula, For the second stage Zebra Restoration of position; is a constant equal to 0.01; The probability of choosing to escape or attack is in the range [0,1]; , is the current iteration number and maximum iteration number of ZOA; AZ is the position of the zebra under attack. For the Maintain the position of the zebra under attack; For the second stage Zebra new location; For the second stage The fitness value of a zebra.
[0181] Submarine-launched UAVs can autonomously determine whether they can perform their missions normally based on the risk assessment results. As equipment carrying submarine-launched UAVs, submarines can conduct in-depth risk assessments, formulate emergency plans and implement disposal measures based on the risk assessment results, adjust the way submarine-launched UAVs are carried, and provide guidance for the transformation and optimization of submarine-launched UAVs and themselves. Specifically, 1) Based on the risk assessment results, submarines can formulate emergency plans and disposal measures for possible emergencies or failures, such as formulating UAV failure handling plans, submarine emergency maneuvers and obstacle avoidance plans, etc.; 2) If the risk assessment results reveal that there are defects in submarines carrying submarine-launched UAVs, the design and manufacturing departments of submarine-launched UAVs and submarines can carry out corresponding structural optimization designs, communication and control system upgrades, etc.; 3) Based on the risk assessment results, submarines can adjust the way submarine-launched UAVs are carried, optimize the launch process of submarine-launched UAVs, and ensure the stability and safety of submarine-launched UAVs during the launch process; 4) Based on the risk assessment results, submarine-launched UAV-related personnel can strengthen training and drills to improve their ability to respond to emergencies and ensure that they can successfully complete the mission in actual missions.
[0182] Each ZOA iteration is completed by updating the population members based on the two stages of "foraging behavior" and "defense strategy". The best candidate solution is updated and saved during the continuous iteration process, and the termination condition is determined by the given maximum number of iterations. If the termination condition is reached, the position of the final pioneer zebra output is the optimal solution for hyperparameter optimization, thereby adjusting the hyperparameters of the PCNN model. The hyperparameters optimized by the ZOA algorithm include: (1) the learning rate in the PCNN network. By adjusting the learning rate, the step size of the model weights at each iteration is adjusted to improve the training speed and convergence of the model; (2) the number of samples used for training at each iteration in the PCNN network; (3) the type of pooling operation and its filter size. The types of pooling operations include maximization and average pooling; (4) the number of fully connected layers and the number of neurons in each layer. The above hyperparameters are adjusted according to the ZOA optimization results to find the hyperparameter combination that optimizes the performance of PCNN, thereby improving the accuracy, stability and generalization ability of the model, and thus improving the efficiency and accuracy of real-time risk assessment of submarine-launched drones.
[0183] 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 real-time risk assessment system for submarine-launched UAVs, It is characterized in that Includes a submarine-launched UAV airborne risk assessment system and a submarine shipborne risk assessment system; The airborne risk assessment system for submarine-launched UAVs includes a distributed sensor network, an airborne communication network, an airborne central processing unit and an airborne storage unit; the distributed multi-sensor network transmits data to the airborne central processing unit and the data storage unit through the airborne communication network; the distributed multi-sensor network is used to collect the status data of airborne equipment, body structure data and operating environment data of submarine-launched UAVs; the airborne storage unit is used to store the data collected by the distributed multi-sensor network and the work log of the submarine-launched UAV for reference by UAV operators and design and development personnel; the airborne central processing unit is used to realize environmental sensor data processing and over-threshold data judgment, airborne equipment sensor data processing and anomaly detection and body structure sensor data processing and anomaly detection; The submarine shipborne risk assessment system is composed of a submarine control unit, a display screen, and a submarine storage unit. The submarine control unit is connected to the display screen and the submarine storage unit, and a data communication network and a download maintenance interface are set between the submarine-launched UAV airborne risk assessment system; the submarine control unit is used for real-time risk assessment of submarine-launched UAVs; The display screen is used for operators to monitor and understand the system status; the submarine storage unit is used to store data and work logs, which is convenient for retrieval of data and work logs after the mission is completed; The operating environment data include temperature, vibration, humidity, water pressure, drone switch status, joystick mode human factor data; the airborne equipment status data include attitude angle and speed data of the flight control system, signal strength and data throughput data of the communication system, sensor working status of the detection system and battery voltage, current, power and battery health status data of the energy system; the fuselage structure data include wing strain, frame displacement, blade speed and stress data.
2. A real-time risk assessment method for submarine-launched UAVs, It is characterized in that The real-time risk assessment system for submarine-launched UAVs as claimed in claim 1 comprises the following steps: S1. Based on the mission characteristics of submarine-launched UAVs, the operating status data of the flight control system, communication system and energy system of submarine-launched UAVs, the operating environment data, and the body structure data are obtained through a distributed multi-source sensor network; S2. Preprocessing the raw data obtained from the distributed multi-source sensor network through the central processing unit onboard the submarine-launched UAV and the submarine control center. The preprocessing methods include data cleaning, data noise reduction, abnormal data detection, and missing value filling. S3, calculate the time-shifted multi-scale attention entropy; S4, the time-shifted multi-scale attention entropy is transformed into a GASF graph and a GADF graph by Gram angle field transformation; S5, dividing the GASF graph and the GADF graph in S4 into a training set, a test set and a validation set, training, validating and testing the dual-channel parallel CNN network, and obtaining a final dual-channel parallel CNN network model, namely, a PCNN model; S6. When the system is actually running, the distributed multi-sensor network is used to collect data in real time. According to steps S2-S4, the data is converted into GASF images and GADF images, and input into the final PCNN model to achieve real-time risk assessment of the submarine-launched UAV mission process.
3. A real-time risk assessment method for submarine-launched UAV according to claim 2, It is characterized in that Step S3 specifically includes the following steps: S3.
1. The preprocessed data in S2 is used as a time series signal of length N. The time series signal is divided into Subsequence signal; ; (1) In the formula, For the subsequence signal, The value range is ; is the first sample points, and is the first Sample points, The value range is ; S3.
2. Use formula (2) to calculate the attention entropy ATE of all subsequence signals, and define the mean of all attention entropies as the scale Time-shifted mean attention entropy TSMA(k) under ; (2) In the formula, For the The probability of a sample point occurring is is the number of sample points in the time series signal; S3.
3. Calculate all scales using formula (3) The time-shifted mean attention entropy TSMA(k) under , the set of time-shifted mean attention entropy is taken as the new time series signal TSMATE; (3)。 4. A real-time risk assessment method for submarine-launched UAVs according to claim 3, It is characterized in that Step S4 specifically includes the following steps: S4.
1. Define the time series signal TSMATE as a time series , through formula (4) the time series After normalization and scaling, scaling to the interval [-1,1], we get , expressed as: ; (4) In the formula, For the The time-shifted mean attention entropy corresponding to each time point, ; is the first The time-shifted mean attention entropy corresponding to each time point, for The maximum value of the elements in , for The minimum value of the elements in ; S4.
2. Scaled time series Converted to polar coordinates, the expression is: ;(5) in, is the timestamp, represents the constant factor generated by the regularized polar coordinate system, For the The phase angle at a time point, For the The polar coordinate radius at each time point; S4.
3. Time series It is expressed in the form of a Gram matrix, as shown in formula (6): ;(6) In the formula, is the Gram matrix; is the inner product operation; The Gram matrix is used to define two unique inner product forms with penalty terms to eliminate the influence of Gaussian noise. The inner product forms are defined as follows: ;(7) ;(8) In the formula, , , , Respectively The phase angle at a time point, ; Using two different inner product definitions of the Gram matrix, two different Gram angle fields are obtained: the Gram sum field (GASF) and the Gram difference field (GADF), as shown in the following formulas: ;(9) ;(10) S4.
4. After the Grammar angle field transformation, the timing signals are converted into GASF diagrams and GADF diagrams, and the Grammar diagrams corresponding to all timing signals are annotated with risk labels. The risk labels include risk types and corresponding risk types. The risk types include low risk, medium risk and high risk. The risk types include battery failure, motor failure, GPS positioning system failure, flight control system sensor damage or calibration error, strong wind, strong waves, and underwater obstacles causing flight difficulties.
5. A real-time risk assessment method for submarine-launched UAV according to claim 4, It is characterized in that The step S5 specifically includes the following steps: S5.
1. Divide all GASF graphs and GADF graphs into training set, test set and validation set according to a predefined division ratio. Use the training set and validation set to train the dual-channel parallel CNN network model. In each round of training iteration, use the training set to update the parameters of the model, and use the validation set to evaluate the model in real time. Once the model reaches the expected convergence state, the current training model will be saved. S5.
2. Use the test set to evaluate the risk assessment accuracy of the training model. If the evaluation result indicates that the model assessment ability is not optimal, adjust the hyperparameters and return to step S5.1 to train the model until the model assessment accuracy when facing the test set reaches a certain standard. At this time, it means that the optimal assessment model has been trained. The model can be put into actual operation for online risk assessment and output the risk assessment results of submarine-launched drones.
6. A real-time risk assessment method for submarine-launched UAV according to claim 5, It is characterized in that The PCNN model includes two CNN networks, each of which includes an input layer, a convolution layer, a pooling layer, a normalization layer, an activation function layer, a fully connected layer, a multi-head self-attention mechanism layer and an output layer; The convolution process expression of the convolution layer is: ; (11) In the formula, For the The convolutional layer feature maps; is a nonlinear activation function, Represents the convolution operation; For the The convolutional layer A weight matrix; For the The convolutional layer feature maps; For the The convolutional layer A bias vector; The pooling process expression of the pooling layer is: ;(12) in, is the feature output of the pooling layer, represents the downsampling function of the maximum value, is the feature vector output by the convolutional layer, is the pooling size; The activation function layer uses the ReLU activation function, and its expression is: ;(13) The fully connected layer is used to implement feature classification and learn the global features of input data; The multi-head self-attention mechanism layer generates attention weights according to the global features learned by the fully connected layer. The multi-head self-attention mechanism is based on the Self-Attention mechanism. The calculation formula of the self-attention mechanism is shown as follows: ;(14) in, is the query matrix, whose row vector represents the query vector, is the key matrix, whose row vector represents the key vector is a value matrix whose row vectors represent value vectors, is the dimension of the key vector; The calculation formula of the multi-head attention mechanism is: ;(15) in, Represents a splicing operation, Represents the first A "head", is the linear transformation matrix; The expression is: ;(16) in, is the function of the self-attention mechanism, according to and Calculate the attention weights and then use the weights to Perform weighted summation; , , For the The query matrix, key matrix and weight transformation matrix of each "head"; The output layer uses SVM to classify risk categories and generate the final risk assessment result, which is expressed as: ;(17) in, is the weight vector, For the The feature vector corresponding to the samples is For the The labels of samples, is the threshold value, is the number of samples, is a regularization parameter that controls the degree of penalty for misclassification; It is Slack variables for samples are used to allow samples to be misclassified.
7. A real-time risk assessment method for submarine-launched UAV according to claim 6, It is characterized in that In S5.2, the ZOA algorithm is introduced to perform hyperparameter optimization, and the hyperparameter optimization problem is modeled as a problem to be optimized in the ZOA algorithm; each hyperparameter can be regarded as a dimension in the search space, and the ZOA algorithm explores this search space by simulating the foraging and defense behaviors of zebras to find the optimal hyperparameter combination. The ZOA algorithm is specifically as follows: (1) Randomly initialize the population in the optimization space; Located in In the dimensional search space, the population is The initialization position description of the zebra is as follows: ; (20) In the formula, For the Zebra Dimensional location; and is the search boundary; is a random number in the interval [0,1]; is the zebra population size; is the dimension of decision variables; (2) Zebra position update during the foraging phase; The zebra members in the ZOA algorithm update their positions according to the evaluation results of the current positions. Different hyperparameter combinations are regarded as zebra members, and the performance of the model on the validation set is regarded as the evaluation results of the current positions. The zebra members update their positions according to the behavior of the zebras when searching for pasture. In ZOA, the member with the best position in the zebra group is regarded as the pioneer zebra, which leads other group members to move to a better position in the search space. Therefore, in the foraging stage, the zebras update their positions using the following formula; ; (21) ; (22) In the formula, For the first stage Zebra Restoration of position; is a random number between 0 and 1; PZ is the pioneer zebra position, that is, the best zebra member position, For the Dimensional Pioneer Zebra Position; is the population variation control parameter, ; For the first stage Zebra new location; For the Zebra location; For the first stage The fitness value of a zebra; For the The fitness value of a zebra; (3) The defense strategy phase updates the optimal positions of individuals and populations; In ZOA, the zebra's defense strategy varies depending on the predator: ① When a lion attacks a zebra, the zebra uses a zigzag or random movement pattern to escape; the lion represents a factor that makes the hyperparameter optimization process more complex and random, and the lion's attack corresponds to large, global changes or unpredictable situations that may be encountered during the optimization process; ② When other predators attack the zebra, the zebra adopts a clustering approach to confuse or intimidate the predator; other predators represent situations that require fine-tuning and local search during the optimization process; assuming that the two situations have the same probability of occurrence, in the defense strategy stage, the zebra uses the following formula to update the position: ; (23) ; (24) In the formula, For the second stage Zebra Restoration of position; is a constant equal to 0.01; The probability of choosing to escape or attack is in the range [0,1]; , is the current iteration number and maximum iteration number of ZOA; AZ is the position of the zebra under attack. For the Maintain the position of the zebra under attack; For the second stage Zebra new location; For the second stage The fitness value of a zebra; Each ZOA iteration is completed by updating the population members based on the two stages of "foraging behavior" and "defense strategy"; The best candidate solution is updated and saved in the continuous iteration process, and the termination condition is determined by the given maximum number of iterations. If the termination condition is reached, the output position of the final pioneer zebra is the optimal solution for hyperparameter optimization, thereby adjusting the hyperparameters of the PCNN model. The hyperparameters optimized by the ZOA algorithm include: (1) the learning rate in the PCNN network. By adjusting the learning rate, the step size of the model weights in each iteration is adjusted to improve the training speed and convergence of the model; (2) the number of samples used for training in each iteration of the PCNN network; (3) the type of pooling operation and its filter size. The types of pooling operations include maximum and average pooling; (4) the number of fully connected layers and the number of neurons in each layer. The above hyperparameters are adjusted according to the ZOA optimization results to find the hyperparameter combination that optimizes the performance of PCNN.
Citation Information
Patent Citations
Fault prediction method and system based on launching process of submarine-launched unmanned aerial vehicle
CN118349960A
API interface data risk monitoring system based on machine learning
CN118350008A
Real-time reliability evaluation system and method for submarine-launched unmanned aerial vehicle
CN118378054A
Systems and methods for controlling a fleet of drones for data collection
US10593109B1
Locomotion systems and methods for aerial vehicles
WO2021247621A2
