Unmanned aerial vehicle target tracking control method and system based on multiple tasks

By constructing reinforcement learning models for multiple UAV target tracking tasks in the simulation environment and merging the models, the problem of large UAV multi-task tracking calculations and poor results is solved, and accurate tracking is achieved when the target tracking task changes. and efficient computing.

CN118567393AActive Publication Date: 2024-08-30SHANGHAI JIAOTONG UNIV +1

Patent Information

Application Number
CN202410560561.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-08
Publication Date
2024-08-30
Estimated Expiration
2044-05-08

AI Technical Summary

Technical Problem

Existing multi-mission UAV target tracking technology requires a large amount of calculation and poor performance, making it difficult to adapt to the effective operation of UAVs with limited computing power in multi-mission tracking scenarios.

Method used

By constructing multiple target tracking tasks in the simulation environment, using the policy gradient algorithm to train the reinforcement learning model, generating multiple basic models, and merging the models through the reward function network and weight layer, an integrated model is formed to control the UAV to track the target, reducing Parameter settings to improve calculation efficiency.

Benefits of technology

It achieves accurate tracking when the target tracking task changes, reduces the amount of calculation, is suitable for UAV multi-task tracking scenarios with limited computing power, and improves model performance and learning and training speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567393A
    Figure CN118567393A
Patent Text Reader

Abstract

The invention relates to a multi-task-based unmanned aerial vehicle target tracking control method and system, belongs to the technical field of unmanned aerial vehicle control, and solves the problem that existing multi-task unmanned aerial vehicle target tracking is large in calculation amount and poor in effect. Comprising the following steps: constructing a state vector and an action vector of an unmanned aerial vehicle, setting a plurality of target tracking tasks, and training a reinforcement learning model by using a strategy gradient algorithm to obtain a plurality of basic models; on the basis of each basic model, constructing data generated by interaction with the simulation environment into a sample set, and training a neural network of which the output is an award value to obtain an award function network; adding a weight layer in front of an input layer of the reward function network to form a weight network, and training the weight network to obtain the weight of the weight layer corresponding to each basic model; fusing the basic models according to the weights to obtain an integrated model; state vectors generated by interaction between the unmanned aerial vehicles and the real environment are transmitted into the integrated model, and the unmanned aerial vehicles are controlled to track the target according to output. Target tracking with small calculation amount and high accuracy is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicle control, and in particular to a multi-task based unmanned aerial vehicle target tracking control method and system. Background Art

[0002] With the development of drone technology, drones and drone swarms are being used in various fields, and using drones to track designated targets is a common application scenario. For example, in the military field, drones are used to track enemy tanks on the move and attack them at the right time; in the civilian field, drones are used to track designated targets for aerial photography or to fly drones back to designated target locations. Drones obtain the location information of mission targets through their own sensors, such as images, radars, etc., or wireless communications, and continuously track the target in this direction so that it does not leave their own monitoring range.

[0003] In more and more studies, reinforcement learning is used to solve the target tracking problem of drones. Different from common supervised learning and unsupervised learning, reinforcement learning is essentially a machine learning method that uses environmental feedback as input and adapts to the environment. It imitates the basic way of learning of humans or animals in nature, and uses evaluative feedback signals to optimize the behavioral decisions taken through continuous interaction with the environment and trial and error.

[0004] However, many current studies focus on a single task of UAVs. When the target's mobility properties (such as speed, direction of travel, etc.) change, the model trained by a single task cannot achieve the same effect as during training, limiting the applicability of UAVs in certain scenarios. Some existing multi-task reinforcement learning methods focus on achieving knowledge sharing through model structure changes, which requires setting too many parameters for multiple tasks, resulting in a large amount of calculations and is not suitable for multi-task tracking of UAVs with limited computing power. Summary of the invention

[0005] In view of the above analysis, an embodiment of the present invention aims to provide a multi-task based UAV target tracking control method and system to solve the problem of large computational complexity and poor effect of existing multi-task UAV target tracking.

[0006] On the one hand, an embodiment of the present invention provides a multi-task based unmanned aerial vehicle target tracking control method, comprising the following steps:

[0007] Construct the state vector and action vector of the drone, set up multiple target tracking tasks in the simulation environment, and use the policy gradient algorithm to train the reinforcement learning model to obtain multiple basic models;

[0008] Based on each basic model, each piece of data generated by multiple interactions with the simulation environment is constructed into a sample set; the sample set is used to train a neural network whose output is a reward value to obtain a reward function network;

[0009] A weight layer is added before the input layer of the reward function network to form a weight network. Based on each basic model, the weight network is trained using data generated by interacting with the simulation environment once with the same state vector to obtain the weight of each basic model corresponding to the weight layer.

[0010] The basic models are fused according to their weights to obtain an integrated model;

[0011] The state vector generated by the interaction between each UAV and the real environment is passed into the integrated model, and each UAV is controlled to track the target according to the output of the strategy network of the integrated model.

[0012] Based on the further improvement of the above method, the target tracking task includes the moving speed and direction of the target; multiple basic models include a policy network and a value network with the same model structure; the input of the policy network is the state vector of the drone, and the output is the mean and variance of each action, and the action is randomly selected according to the Gaussian probability distribution of the mean and variance; the input of the value network is the state vector of the drone, and the output is the value of the state under the current action.

[0013] Based on the further improvement of the above method, based on each basic model, each piece of data generated by multiple interactions with the simulation environment is constructed into a sample set, including:

[0014] When each drone tracks the target based on each basic model, each interaction with the simulation environment generates a piece of data including: the state vector at the current moment, the mean and variance of each action output by the policy network of the basic model, and the reward value fed back by the simulation environment; the first two items are taken as a sample, and the last item is taken as a sample label and put into the sample set.

[0015] Based on the further improvement of the above method, the reward value fed back by the simulation environment is the difference between the average distance between each drone and the target at the next moment and the average distance between each drone and the target at the current moment.

[0016] Based on the further improvement of the above method, the sample set is used to train the neural network whose output is the reward value to obtain the reward function network, which is obtained by concatenating the current state vector of each sample with the mean and variance of each action, and then passing them into the neural network. The mean square error between the output value of the neural network and the sample label is used as the loss function, and the neural network parameters are updated by the gradient descent method to obtain the trained reward function network.

[0017] Based on the further improvement of the above method, the weight layer is a linear weighted connection layer, the input is the mean and variance of each action output by the policy network of each basic model, and the output is the weighted mean and variance of each action.

[0018] Based on the further improvement of the above method, based on each basic model, the weight network is trained using the data generated by interacting with the simulation environment once with the same state vector to obtain the weights of each basic model corresponding to the weight layer, including:

[0019] The same state vector is passed into each basic model to output different means and variances for each action. Different actions are randomly selected according to Gaussian probability distributions with different means and variances, and then interact with the simulation environment once to obtain different reward values ​​fed back by the simulation environment.

[0020] The different means and variances of each action are passed into the weight layer, and the weight parameters in the weight layer are used to linearly weight the means and variances of the same action. The weighted mean and variance of each action are output, and then concatenated with the state vector at the current moment and passed into the reward function network. The parameters of the reward function network remain unchanged, and the mean square error between the output value of the reward function network and the maximum reward value fed back by the simulation environment is used as the loss function. The weight parameters of the weight layer are updated by the gradient descent method. After the training is completed, the weight parameters of the weight layer are used as the weights of the corresponding basic model.

[0021] Based on the further improvement of the above method, each basic model is fused according to the weight of each basic model to obtain an integrated model, which is obtained by constructing an integrated model with the same model structure as the basic model, and taking the sum of the products of the network parameters at the same position of each basic model and the weight of the basic model as the network parameters at the same position of the integrated model.

[0022] Based on the further improvement of the above method, the state vector of the UAV includes: the horizontal speed, vertical speed, horizontal position and vertical position of the current UAV, the horizontal distance and vertical distance between the current UAV and the target, and the horizontal distance and vertical distance between other UAVs and the current UAV; the action vector includes: the force applied to the current UAV in the positive horizontal direction, the force applied to the current UAV in the negative horizontal direction, the force applied to the current UAV in the positive vertical direction, and the force applied to the current UAV in the negative vertical direction.

[0023] On the other hand, an embodiment of the present invention provides a multi-task based unmanned aerial vehicle target tracking control system, comprising:

[0024] The basic model building module is used to build the state vector and action vector of the drone. By setting multiple target tracking tasks in the simulation environment, the policy gradient algorithm is used to train the reinforcement learning model to obtain multiple basic models.

[0025] The reward function network training module is used to construct various data generated by multiple interactions with the simulation environment into a sample set based on various basic models; the sample set is used to train a neural network whose output is a reward value to obtain a reward function network;

[0026] The weight network training module is used to add a weight layer before the input layer of the reward function network to form a weight network. Based on each basic model, the weight network is trained using data generated by interacting with the simulation environment once with the same state vector to obtain the weight of each basic model corresponding to the weight layer.

[0027] The basic model integration module is used to fuse the basic models according to their weights to obtain an integrated model;

[0028] The target tracking control module is used to transfer the state vector generated by the interaction between each UAV and the real environment into the integrated model, and control each UAV to track the target according to the output of the strategy network of the integrated model.

[0029] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0030] 1. Through the reinforcement learning model, multiple target tracking tasks are learned multiple times to obtain multiple basic models; the reward function network is trained to build the state and the mapping of the output of the policy network of the basic model to the reward value, and then the weights are obtained by training the weight network to fuse multiple basic models. The obtained integrated model improves the model performance and supports multiple target tracking tasks, realizing accurate tracking when the target tracking task changes.

[0031] 2. By integrating multiple basic models, we avoid setting too many parameters to adapt to different target tracking tasks, reduce the amount of calculation, and are suitable for multi-task tracking scenarios of drones with limited computing power.

[0032] 3. The proposed model fusion method based on gradient descent can adapt to all reinforcement learning paradigms. It is suitable for the situation where the basic model is trained by the same algorithm, the reward function of the task is not sparse and the strategy action time is independent. It can speed up the learning and training speed of multi-agent systems when facing multiple tasks.

[0033] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.

[0035] Figure 1 This is a flow chart of a multi-task based unmanned aerial vehicle target tracking control method in Example 1 of the present invention;

[0036] Figure 2 Schematic diagram of the structure of the reward function network in Example 1 of the present invention;

[0037] Figure 3 Schematic diagram of the structure of the weight network in Example 1 of the present invention;

[0038] Figure 4 This is a schematic diagram of the structure of a multi-task based UAV target tracking control system in Example 2 of the present invention. DETAILED DESCRIPTION

[0039] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0040] Example 1

[0041] A specific embodiment of the present invention discloses a multi-task based UAV target tracking control method, such as Figure 1 As shown, the following steps are included:

[0042] S1. Construct the state vector and action vector of the drone, set multiple target tracking tasks in the simulation environment, and use the policy gradient algorithm to train the reinforcement learning model to obtain multiple basic models.

[0043] S2. According to each basic model, each piece of data generated by multiple interactions with the simulation environment is constructed into a sample set; the sample set is used to train a neural network whose output is a reward value to obtain a reward function network;

[0044] S3. Add a weight layer before the input layer of the reward function network to form a weight network. Based on each basic model, the weight network is trained using data generated by interacting once with the simulation environment with the same state vector to obtain the weight of each basic model corresponding to the weight layer.

[0045] S4, fusing each basic model according to its weight to obtain an integrated model;

[0046] S5. The state vector generated by the interaction between each UAV and the real environment is passed into the integrated model, and each UAV is controlled to track the target according to the output of the strategy network of the integrated model.

[0047] During implementation, multiple target tracking tasks are learned multiple times through the reinforcement learning model to obtain multiple basic models; the reward function network is trained to build a mapping from the output of the state and policy network of the basic model to the reward value, and then the weights are obtained by training the weight network to fuse multiple basic models to obtain an integrated model with the same structure as the basic model and integrating the characteristics of all basic models. This avoids setting too many parameters to adapt to different target tracking tasks, reduces the amount of calculation, improves model performance, and achieves accurate tracking when the target tracking task changes.

[0048] It should be noted that the target tracking task in this embodiment includes the moving speed and moving direction of the target, such as the target moving at a uniform speed and in a directional manner, and the target moving randomly and in an undirectional manner. In other words, the moving speed of the target in each target tracking task may be different, and the changing rules of the moving direction may be different. Multiple drones need to track the moving target and avoid collisions between drones.

[0049] Based on this scenario, in step S1, the state vector of the drone includes: the horizontal speed, vertical speed, horizontal position and vertical position of the current drone, the horizontal distance and vertical distance between the current drone and the target, and the horizontal distance and vertical distance between other drones and the current drone, which belongs to the continuous state space; the action vector of the drone includes: the force applied to the current drone in the positive horizontal direction, the force applied to the current drone in the negative horizontal direction, the force applied to the current drone in the positive vertical direction, and the force applied to the current drone in the negative vertical direction, which belongs to the continuous action space.

[0050] The reinforcement learning model includes a policy network and a value network. This embodiment does not limit the network model structure. For example, both the policy network and the value network can adopt a two-layer fully connected network. Among them, the input of the policy network is the state vector of the drone, and the output is the mean and variance of each action. The action is randomly selected according to the Gaussian probability distribution of the mean and variance; the input of the value network is the state vector of the drone, and the output is the value of the state under the current action.

[0051] A target tracking task is set up in a simulation environment, and a reinforcement learning model is trained using a policy gradient algorithm. In reinforcement learning, the policy gradient algorithm is used to solve model-free reinforcement learning problems in continuous state and action space. Unlike value function-based methods, the policy gradient algorithm directly optimizes the policy function so that the drone can learn the optimal policy. Specifically, the policy gradient algorithm calculates the probability distribution of taking an action in each state. Then, the policy parameters are updated by the gradient ascent method, so that the probability of selecting a high-reward action increases, while the probability of selecting a low-reward action decreases. In this way, the strategy is improved step by step until the optimal policy function is found.

[0052] It should be noted that the network structures of the basic models trained in this embodiment are the same, but the network parameters are different. The basic models are divided into two categories: one is for the same target tracking task, by not setting a random seed, and training under the condition that the target attributes, action space, state space, and reward function are exactly the same; the second is for different target tracking tasks, by not setting a random seed, and training under the condition that the action space, state space, and reward function are the same but the target attributes are different.

[0053] It should be noted that setting the same random seed value during training can make the training process repeatable and obtain the same network parameters. Conversely, not setting the random seed can obtain different network parameters.

[0054] Furthermore, since the reward value is an indicator for evaluating the quality of a strategy or an action in reinforcement learning, the reward value of the current action can be determined by the action and the state after the action is executed, but the policy network does not directly output the action or reward value. Therefore, in step S2, a weighted fusion method based on gradient descent is used to construct a mapping from the state and the corresponding output of the policy network to the reward value based on the gradient descent of the neural network.

[0055] First, after the basic models are trained, each drone outputs the mean and variance of each action based on the current state of the simulation environment under the control of the policy network, randomly selects actions according to the Gaussian probability distribution of the mean and variance, executes the action and interacts with the simulation environment once, generates the state at the next moment, continues to select actions according to the policy network, executes the action and interacts with the simulation environment once, until the target is tracked. A sample set is constructed based on the data generated by each interaction.

[0056] Specifically, the state vector at the current moment in each interaction data, the mean and variance of each action output by the policy network of the basic model are taken as a sample, and the difference between the average distance between each drone and the target at the next moment and the average distance between each drone and the target at the current moment is calculated to obtain the reward value of the simulation environment. The reward value of the simulation environment is used as the sample label and put into the sample set.

[0057] like Figure 2 As shown in the figure, the sample set is used to train a neural network whose output is a reward value to obtain a reward function network. The current state vector in each sample is concatenated with the mean and variance of each action and then passed into the neural network. The mean square error between the neural network output value and the sample label is used as the loss function. The neural network parameters are updated through the gradient descent method to obtain a trained reward function network.

[0058] It should be noted that Figure 2 There are n basic models in , and the sample data of basic model 1 is in, Represents the current state vector; since there are 4 actions in the action vector, each action corresponds to a mean and variance, the 4 means are abbreviated as The four variances are abbreviated as

[0059] In step S3, a weight layer is added before the input layer of the reward function network to form a weight network, and the mapping from the output of the policy network of different basic models under the same state to the reward value is trained. The weight parameters to be trained in the weight layer are the weights of each basic model expected to be obtained. The weight layer is a linear weighted connection layer, and the input is the mean and variance of each action output by the policy network of each basic model, and the output is the weighted mean and variance of each action.

[0060] like Figure 3 As shown, based on each basic model, the weight network is trained using the data generated by interacting with the simulation environment once with the same state vector to obtain the weights of each basic model corresponding to the weight layer, including:

[0061] The same state vector is passed into each basic model to output different means and variances for each action. Different actions are randomly selected according to Gaussian probability distributions with different means and variances, and then interact with the simulation environment once to obtain different reward values ​​fed back by the simulation environment.

[0062] The different means and variances of each action are passed into the weight layer, and the weight parameters in the weight layer are used to linearly weight the means and variances of the same action. The weighted mean and variance of each action are output, and then concatenated with the state vector at the current moment and passed into the reward function network. The parameters of the reward function network remain unchanged, and the mean square error between the output value of the reward function network and the maximum reward value fed back by the simulation environment is used as the loss function. The weight parameters of the weight layer are updated by the gradient descent method. After the training is completed, the weight parameters of the weight layer are used as the weights of the corresponding basic model.

[0063] In step S4, each basic model is fused according to the weight of each basic model to obtain an integrated model, which is obtained by constructing an integrated model with the same model structure as the basic model, and taking the sum of the products of the network parameters at the same position of each basic model and the weight of the basic model as the network parameters at the same position of the integrated model.

[0064] It can be understood that for basic models with the same model structure obtained by training with the same algorithm, including but not limited to the PPO algorithm, the DDPG algorithm, the SAC algorithm, etc., when the reward function of the task is not sparse and the strategy action time is independent, according to the method of steps S3 and S4, the reward function network is first trained based on gradient descent, and then the parameters of the reward function network are solidified, and the weight parameters are trained to speed up the learning and training speed for multiple tasks.

[0065] In step S5, the integrated model is used to perform actual target tracking. The state vector generated by the interaction between each UAV and the real environment is passed into the integrated model. The mean and variance of each action corresponding to each UAV are output according to the strategy network of the integrated model. The action of each UAV is randomly selected according to the probability distribution of the mean and variance, and each UAV is controlled to execute the action to track the target. Then, the real environment interaction is iterated until the target is tracked.

[0066] Compared with the prior art, the present embodiment provides a multi-task based UAV target tracking control method, which learns multiple target tracking tasks multiple times through a reinforcement learning model to obtain multiple basic models; constructs a mapping from the output of a policy network of a state and a basic model to a reward value through training a reward function network, and then fuses multiple basic models after obtaining weights through training a weight network. The obtained integrated model improves the model performance and supports multiple target tracking tasks, thereby achieving accurate tracking when the target tracking task changes; by fusing multiple basic models, it avoids setting too many parameters to adapt to different target tracking tasks, reduces the amount of calculation, and is suitable for multi-task tracking scenarios of UAVs with limited computing power.

[0067] Example 2

[0068] Another embodiment of the present invention discloses a multi-task based UAV target tracking control system, thereby realizing a multi-task based UAV target tracking control method in Embodiment 1. The specific implementation of each module refers to the corresponding description in Embodiment 1. Figure 4 As shown, the system includes:

[0069] The basic model building module 101 is used to build the state vector and action vector of the UAV, and obtain multiple basic models by setting multiple target tracking tasks in the simulation environment and training the reinforcement learning model using the policy gradient algorithm;

[0070] The reward function network training module 102 is used to construct various data generated by multiple interactions with the simulation environment into a sample set based on various basic models; use the sample set to train a neural network that outputs a reward value to obtain a reward function network;

[0071] The weight network training module 103 is used to add a weight layer before the input layer of the reward function network to form a weight network. Based on each basic model, the weight network is trained using data generated by interacting once with the simulation environment with the same state vector to obtain the weight of each basic model corresponding to the weight layer.

[0072] A basic model integration module 104 is used to fuse the basic models according to their weights to obtain an integrated model;

[0073] The target tracking control module 105 is used to transfer the state vector generated by the interaction between each drone and the real environment into the integrated model, and control each drone to track the target according to the output of the strategy network of the integrated model.

[0074] Since the multi-task-based unmanned aerial vehicle target tracking control system of this embodiment and the multi-task-based unmanned aerial vehicle target tracking control method described above can be mutually referenced, it is a repeated description here, so it will not be repeated here. Since the principle of this system embodiment is the same as that of the above method embodiment, this system embodiment also has the corresponding technical effects of the above method embodiment.

[0075] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0076] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A multi-task based UAV target tracking control method, characterized in that: The following steps are involved: Construct the state vector and action vector of the drone, set up multiple target tracking tasks in the simulation environment, and use the policy gradient algorithm to train the reinforcement learning model to obtain multiple basic models; Based on each basic model, each piece of data generated by multiple interactions with the simulation environment is constructed into a sample set; the sample set is used to train a neural network whose output is a reward value to obtain a reward function network; A weight layer is added before the input layer of the reward function network to form a weight network. Based on each basic model, the weight network is trained using data generated by interacting with the simulation environment once with the same state vector to obtain the weight of each basic model corresponding to the weight layer. The basic models are fused according to their weights to obtain an integrated model; The state vector generated by the interaction between each UAV and the real environment is passed into the integrated model, and each UAV is controlled to track the target according to the output of the strategy network of the integrated model.

2. The multi-task based UAV target tracking control method according to claim 1 is characterized in that: The target tracking task includes the moving speed and direction of the target; multiple basic models include a policy network and a value network with the same model structure; the input of the policy network is the state vector of the drone, and the output is the mean and variance of each action, and the action is randomly selected according to the Gaussian probability distribution of the mean and variance; the input of the value network is the state vector of the drone, and the output is the value of the state under the current action.

3. The multi-task based UAV target tracking control method according to claim 2 is characterized in that: Based on each basic model, each piece of data generated by multiple interactions with the simulation environment is constructed into a sample set, including: When each drone tracks the target based on each basic model, each interaction with the simulation environment generates a piece of data including: the state vector at the current moment, the mean and variance of each action output by the policy network of the basic model, and the reward value fed back by the simulation environment; the first two items are taken as a sample, and the last item is taken as a sample label and put into the sample set.

4. The multi-task based UAV target tracking control method according to claim 3 is characterized in that: The reward value fed back by the simulation environment is the difference between the average distance between each drone and the target at the next moment and the average distance between each drone and the target at the current moment.

5. The multi-task based UAV target tracking control method according to claim 3 is characterized in that: The method of using the sample set to train a neural network whose output is a reward value to obtain a reward function network is to concatenate the current state vector of each sample with the mean and variance of each action, and pass the concatenated result into the neural network. The mean square error between the output value of the neural network and the sample label is used as the loss function, and the neural network parameters are updated by the gradient descent method to obtain a trained reward function network.

6. The multi-task based UAV target tracking control method according to claim 2 is characterized in that: The weight layer is a linear weighted connection layer, the input is the mean and variance of each action output by the policy network of each basic model, and the output is the weighted mean and variance of each action.

7. The multi-task based UAV target tracking control method according to claim 6 is characterized in that: Based on each basic model, the weight network is trained using data generated by interacting once with the simulation environment with the same state vector to obtain the weight of each basic model corresponding to the weight layer, including: The same state vector is passed into each basic model to output different means and variances for each action. Different actions are randomly selected according to Gaussian probability distributions with different means and variances, and then interact with the simulation environment once to obtain different reward values ​​fed back by the simulation environment. The different means and variances of each action are passed into the weight layer, and the weight parameters in the weight layer are used to linearly weight the means and variances of the same action. The weighted mean and variance of each action are output, and then concatenated with the state vector at the current moment and passed into the reward function network. The parameters of the reward function network remain unchanged, and the mean square error between the output value of the reward function network and the maximum reward value fed back by the simulation environment is used as the loss function. The weight parameters of the weight layer are updated by the gradient descent method. After the training is completed, the weight parameters of the weight layer are used as the weights of the corresponding basic model.

8. The multi-task based UAV target tracking control method according to claim 1, characterized in that: The method of fusing the basic models according to the weights of the basic models to obtain the integrated model is achieved by constructing an integrated model with the same model structure as the basic models, and taking the sum of the products of the network parameters at the same position of the basic models and the weights of the basic models as the network parameters at the same position of the integrated model.

9. The multi-task based UAV target tracking control method according to claim 1, characterized in that: The state vector of the UAV includes: the horizontal speed, vertical speed, horizontal position and vertical position of the current UAV, the horizontal distance and vertical distance between the current UAV and the target, and the horizontal distance and vertical distance between other UAVs and the current UAV; the action vector includes: the force applied to the current UAV in the positive horizontal direction, the force applied to the current UAV in the negative horizontal direction, the force applied to the current UAV in the positive vertical direction, and the force applied to the current UAV in the negative vertical direction.

10. A multi-task based unmanned aerial vehicle target tracking control system, characterized in that: include: The basic model building module is used to build the state vector and action vector of the drone. By setting multiple target tracking tasks in the simulation environment, the policy gradient algorithm is used to train the reinforcement learning model to obtain multiple basic models. The reward function network training module is used to construct a sample set based on each basic model by generating data generated by multiple interactions with the simulation environment; Use the sample set to train a neural network whose output is a reward value to obtain a reward function network; The weight network training module is used to add a weight layer before the input layer of the reward function network to form a weight network. Based on each basic model, the weight network is trained using data generated by interacting with the simulation environment once with the same state vector to obtain the weight of each basic model corresponding to the weight layer. The basic model integration module is used to fuse the basic models according to their weights to obtain an integrated model; The target tracking control module is used to transfer the state vector generated by the interaction between each UAV and the real environment into the integrated model, and control each UAV to track the target according to the output of the strategy network of the integrated model.

Citation Information

Patent Citations

  • Sales data prediction method and device, equipment and storage medium

    CN116542703A

  • Control-centered self-supervised learning two-stage universal agent training method

    CN117540788A

  • Method for predicting residual service life of equipment based on reinforcement learning integrated framework

    CN117933055A

  • Risk prediction method and apparatus based on reinforcement learning, and device and storage medium

    WO2023108987A1

Cited By

  • Sea wave multi-model fusion method based on reinforcement learning

    CN119249366A