A heterogeneous UAV collaborative search system and method based on reinforcement learning
By using the collaborative learning method of policy network and value network in the UAV collaborative search system, the problems of low learning efficiency and slow convergence speed in the existing technology are solved, and efficient ground target tracking and path planning are achieved.
Patent Information
- Application Number
- CN202410902029.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-07-05
AI Technical Summary
The existing UAV ground target tracking and obstacle avoidance methods based on deep reinforcement learning have low learning efficiency and slow convergence speed.
A heterogeneous drone collaborative search system based on reinforcement learning is adopted. Through the combination of K drones and central control equipment, the policy network and value network are used for collaborative learning, and the policy and value network parameters are updated to improve the efficiency of flight actions.
A collaborative search system for heterogeneous UAVs with high learning efficiency and fast convergence speed is realized, which improves the performance of UAVs in ground target tracking and path planning.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] The present invention relates to a heterogeneous unmanned aerial vehicle collaborative search system and method based on reinforcement learning, and belongs to the technical field of artificial intelligence. Background Art
[0002] The Chinese invention patent application with publication number CN117707207A discloses a method for UAV ground target tracking and obstacle avoidance planning based on deep reinforcement learning. The method first constructs a Markov model for the UAV's simultaneous ground target tracking and obstacle avoidance tasks, and sets reward functions such as UAV visibility constraints, ground target tracking, and obstacle avoidance, so that the UAV can always ensure that the target is within the UAV's visual range while performing ground target tracking tasks, thereby improving reliability. Subsequently, the improved DDPG deep reinforcement learning algorithm is used for training, and the experience of each round is saved in the experience pool as a learning sample, and the parameters of the neural network are continuously iterated and updated. When the training is completed, the saved data is loaded into the UAV system, so that the flight action is executed to complete the target tracking and path planning tasks.
[0003] However, its learning efficiency is low and convergence speed is slow. Summary of the invention
[0004] To achieve the above-mentioned purpose of the invention, the present invention provides a heterogeneous UAV collaborative search system and method based on reinforcement learning, which has high learning efficiency and fast convergence speed.
[0005] To achieve the above-mentioned object, the present invention provides a heterogeneous UAV collaborative search system based on reinforcement learning, which includes K UAVs of different compositions and a central control device, where K is a positive integer greater than or equal to 2. k Includes reinforcement learning module, which includes policy network ,in, For UAV k The flight action at the current time, For UAV k The image of the searched area acquired at the current time, For UAV k The central control device includes a training module, which has a value network ;
[0006] UAV k The reinforcement learning module performs the following steps:
[0007] S01-1: Get the image of the searched area at the current time , do random sampling independently: , k=1, 2,…,K, and perform flight actions ;
[0008] S01-2: DroneU k Get the image of the searched area at the next time , and report the current time reward to the central control device ;
[0009] S01-3: Update the strategy network based on the error provided by the central control device ,in, for ; In the formula, is the gradient function, is the adjustment factor;
[0010] The training module of the central control device performs the following steps:
[0011] S02-1: Get the current status of K drones ,award and the status at the next time , let the value network make predictions ; Let the target network make predictions ;
[0012] S02-2: Calculate time difference value and error , and the error Broadcast to all drones and update value network parameters And the target network parameters: , where is the adjustment factor.
[0013] To achieve the above-mentioned purpose, the present invention also provides a heterogeneous UAV collaborative search method based on reinforcement learning, comprising the following steps:
[0014] Step 1: Drone U k Get the image of the searched area at the current time , do random sampling independently: , k=1, 2,…,K, and perform flight actions , For UAV k The current parameters of the neural network;
[0015] Step 2: Drone U k Get the image of the searched area at the next time and report rewards to the central control device ;
[0016] Step 3: The central control device obtains the current status of K drones ,award and the status at the next time , K is a positive integer greater than or equal to 2;
[0017] Let the value network make predictions ; Let the target network make predictions ;
[0018] Calculate time difference value and error , and the error Broadcast to all drones and update value network parameters And the target network parameters: , where is the adjustment factor;
[0019] Step 4: Drone U k Update policy network parameters In for , where is the gradient function; is the adjustment coefficient, k=1, 2,…,K.
[0020] Compared with the prior art, the heterogeneous UAV collaborative search system and method based on reinforcement learning provided by the present invention has high learning efficiency and fast convergence speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 The invention relates to a heterogeneous UAV collaborative search system based on reinforcement learning provided by the first embodiment of the present invention.
[0022] Figure 2 It is a block diagram of the control module provided in the first embodiment of the present invention.
[0023] Figure 3 It is a block diagram of the motor driver provided in the first embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0025] First embodiment
[0026] Figure 1 The first embodiment of the present invention provides a heterogeneous UAV collaborative search system based on reinforcement learning, such as Figure 1As shown, the first embodiment of the present invention provides a heterogeneous UAV collaborative search system based on reinforcement learning, which is characterized by comprising K UAVs of different compositions and a central control device, K being a positive integer greater than or equal to 2, and any UAV U k Includes reinforcement learning module, which includes policy network ,in, For UAV k The flight action at the current time, For UAV k The image of the searched area acquired at the current time, For UAV k The current parameters of the neural network; the central control device includes a training module, the training module has a value network ;
[0027] UAV k The reinforcement learning module performs the following steps:
[0028] S01-1: Get the image of the searched area at the current time , do random sampling independently: , k=1, 2,…,K, and perform flight actions ;
[0029] S01-2: DroneU k Get the image of the searched area at the next time , and report the current time reward to the central control device ;
[0030] S01-3: Update the strategy network based on the error provided by the central control device ,in, for ; In the formula, is the gradient function, is the adjustment factor;
[0031] The training module of the central control device performs the following steps:
[0032] S02-1: Get the current status of K drones ,award and the status at the next time , let the value network make predictions ; Let the target network make predictions ;
[0033] S02-2: Calculate time difference value and error , and the error Broadcast to all drones and update value network parameters And the target network parameters: , where is the adjustment factor.
[0034] In the first embodiment, any drone further includes a camera, a convolutional neural network, a template matching module and a control module, wherein the camera is configured to obtain an image of the searched area. , a convolutional neural network is used to obtain an image of the searched area from The target image is obtained; the template matching module is configured to match the target image with the template image to determine the type of the target, and feed the matching result back to the reinforcement learning module; the reinforcement learning module is configured to output the control of the UAV U according to the matching result provided by the template matching module k The current time instruction of the drive device and transmit the reward function to the central control device , The reinforcement learning module obtains the image of the search area based on the current time of the drone 、 Current time command and the error sent from the central control device Determine the control strategy for the next time , and the next flight action The control module will send the data to the control module according to the flight action. Driving UAV k The driving mechanism operates to further control the UAV U k Run, UAV k Carry observation equipment, such as cameras, to obtain images of the search area .
[0035] In the first embodiment, the template matching module is configured to match the image of the searched area at the current time provided by the camera with the template image to search for the target. When the target is found, the reward function is a positive value. When the target is not found, the reward function Is a negative value.
[0036] The present invention can achieve the technical effects of high learning efficiency and fast convergence speed through the above technical solution.
[0037] In the first embodiment, the template matching module includes a circular sampling filter, a radial sampling filter and a template matching filter, wherein the circular sampling filter uses the projections of the target image and the template image on a set of rings to divide the pixels of the target image into two categories: pixels that have no chance of matching the template image and first-level candidate pixels that have a certain chance of matching the template image, and determines a possible scaling factor for each first-level candidate pixel; the radial sampling filter uses the projections of the target image and the template image on a set of radial lines and the possible scaling factors provided by the circular sampling filter to upgrade some first-level candidate pixels to second-level candidate pixels, and also assigns a possible rotation angle to each second-level candidate pixel, discarding pixels that are not upgraded; the template matching filter resizes and rotates the template image to M angles and J scales, and calculates the rotation angle at scale S i and angle α j The contrast and brightness perception correlation between the template image at the second-level candidate pixel (x, y) and the target image. If the absolute value of the correlation is higher than the threshold, it is considered that the template is found at the second-level candidate pixel, i=1,2…,M; j=1,2…,J.
[0038] In the first embodiment, the circular sampling filter uses the projections of the target image and the template image on a set of rings to divide the pixels of the target image into two categories: pixels that have no chance of matching the template image and first-level candidate pixels that have a certain chance of matching the template image, and determines a possible scaling factor for each first-level candidate pixel, specifically including:
[0039] S1-1: Resize the template image T to each scale S i , obtain the resized templates T0, T1, ..., T M-1 ;
[0040] S1-2: For each resized template T i Circular sampling is performed with a predefined radius to produce a multi-scale rotation-invariant feature C with M rows and L columns. T The 2D matrix:
[0041] C T i,k = Cis T i x 0 , y 0 , r k = 1 2 πr ∑ j=0 J-1 T i [ x- x 0 + r k cos α j , y- y 0 + r k sin α j ] ,
[0042] Where (x0), y0) is the center pixel coordinate of the template image T; i = 1, 2…, M; k = 0, 2…, L-1;
[0043] S1-3: Given a target image A for analysis, construct a 3D image matrix C A (x, y, k):
[0044] ;
[0045] S1-4: Using Matrix C T and C A and contrast and brightness thresholds T β and T γ To detect the cyclic sampling correlation at the best matching scale for each pixel (x, y) :
[0046] ,
[0047] if , the pixel (x, y) is classified as a first-level candidate pixel, t1 is the set threshold, and the best matching scale is:
[0048] .
[0049] In the first embodiment, the radial sampling filter uses the projections of the target image and the template image on a set of radial lines and possible scaling factors provided by the circular sampling filter to upgrade some primary candidate pixels to secondary candidate pixels, and also assigns possible rotation angles to each secondary candidate pixel including:
[0050] S03-1: Given an image template T and J angles (α0, α1, ..., α J-1 ), using λ=r L-1 Radial sampling is performed on the image template T to generate a vector R with M features T (j):
[0051] R T j = Ras T r L-1 x 0 , y 0 , r L-1 , α j = 1 L-1 ∑ k=0 L-1 T[ x- x 0 + r k cos α j , y- y 0 + r k sin α j ] ,
[0052] S03-2: For each first-level candidate pixel (x, y), the target image A is calculated at its possible scale Radial sampling, the vector is:
[0053] ,
[0054] S03-3: At each first-level candidate pixel (x, y), the radial sampling filter uses the vector R A (x,y,j),R T and contrast and brightness thresholds T β and T γ To detect the radial sampling correlation RasX at the best matching angle:
[0055] ,
[0056] In the formula, represents the j positions of the cyclic shifted independent variable vector;
[0057] S03-4: If Then it is the second-level candidate pixel (x, y), and t2 is the set threshold; otherwise it is discarded. The optimal rotation angle for the second-level candidate pixel (x, y) is:
[0058] .
[0059] The present invention can achieve the technical effect of rapid template matching through the above technical solution.
[0060] Figure 2 is a block diagram of a control module provided in the first embodiment of the present invention, such as Figure 2 As shown, the control module includes an instruction parsing module, a distribution module, N motor drivers, N motors and N sensors, the N motor drivers are such as the first to the Nth motor drivers, the N sensors are such as the first to the Nth sensors; the instruction parsing module is used to reinforce the flight action provided by the learning module The command value is generated by analyzing and providing it to the allocation module; the allocation module generates a position command value for each of the N motors that drive the rotor of the UAV according to the motor position information and the command value provided by the motor sensor, and provides it to the N motor drivers respectively, and the N motor drivers drive the operation of the N motors according to the position command value; the N sensors are respectively used to obtain the position information of the rotors of the N motors and provide it to the corresponding motor drivers and allocation modules.
[0061] Figure 3 is a block diagram of a motor driver according to a first embodiment of the present invention, such as Figure 3As shown, the motor driver provided by the first embodiment of the present invention also includes a deep reinforcement learning module and a torque controller. The motor driver also includes a deep reinforcement learning module and a torque controller. The deep reinforcement learning module is based on the motor position command value provided by the allocation module and the sensor S n The provided rotor position command value generates the optimal parameters of the three branches of the torque controller; the torque controller generates the motor M according to the optimal parameters of the three branches n The deep reinforcement learning module is configured to implement the following process to optimize the parameters of the three branches of the torque controller: :
[0062] S3-01 performs forward propagation on the value network of the deep reinforcement learning module and obtains: ,
[0063] In the formula, Refers to sensor S n The jth measurement value provided; Motor M n The j-th position instruction value;
[0064] S3-02: Selection
[0065] Evaluation , where For motor M n All possible instruction values of , where Refers to sensor S n The j+1th measurement value provided;
[0066] S3-03 Calculate time difference value and error ,
[0067] In the formula, The position command value is Rewards when is the adjustment factor;
[0068] S3-04: Back propagate the value network of the deep reinforcement learning module to obtain the gradient:
[0069] , ,
[0070] ;
[0071] S3-05: Perform gradient ascent update to obtain the control parameters of the three branches of the torque controller:
[0072] ,
[0073] ,,
[0074] ,
[0075] In the formula, , , is the learning rate.
[0076] The present invention achieves the technical effect of achieving optimal coordination of the output currents of the three branches of the torque controller through the above technical solution.
[0077] Second embodiment
[0078] The second embodiment of the present invention only describes the contents that are different from the first embodiment, and the same contents will not be described repeatedly.
[0079] The second embodiment of the present invention provides a heterogeneous UAV collaborative search method based on reinforcement learning, comprising the following steps:
[0080] Step 1: Drone U k Get the image of the searched area at the current time , do random sampling independently: , k=1, 2,…,K, and perform flight actions , For UAV k The current parameters of the neural network;
[0081] Step 2: Drone U k Get the image of the searched area at the next time and report rewards to the central control device ;
[0082] Step 3: The central control device obtains the current status of K drones ,award and the status at the next time , K is a positive integer greater than or equal to 2;
[0083] Let the value network make predictions ; Let the target network make predictions ;
[0084] Calculate time difference value and error , and the error Broadcast to all drones and update value network parameters And the target network parameters: , where is the adjustment factor;
[0085] Step 4: Drone U k Update policy network parameters In for , where is the gradient function; is the adjustment coefficient, k=1, 2,…,K.
[0086] The heterogeneous UAV collaborative search method based on reinforcement learning provided by the second embodiment of the present invention has high learning efficiency and fast convergence speed.
[0087] Third embodiment
[0088] The third embodiment of the present invention further provides a program product, which includes a computer program code, and the computer program code can be called by a processor to execute the method described in the second embodiment.
[0089] The beneficial effects of the method provided by the third embodiment are the same as those of the second embodiment, and will not be described again here.
[0090] Fourth embodiment
[0091] A fourth embodiment of the present invention provides a computer storage medium storing a computer program code, wherein the computer program code can be called by a processor to execute the method described in the second embodiment. The storage medium includes a memory. The processor includes a CPU.
[0092] The beneficial effects of the computer storage medium provided by the fourth embodiment are the same as those of the second embodiment, and will not be described again here.
[0093] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined. The meaning of "several" is one or more, unless otherwise clearly and specifically defined.
[0094] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A heterogeneous UAV collaborative search system based on reinforcement learning, characterized in that: It includes K different drones and a central control device, where K is a positive integer greater than or equal to 2. k Includes reinforcement learning module, which includes policy network ,in, For UAV k The flight action at the current time, For UAV k The image of the searched area acquired at the current time, For UAV k The central control device includes a training module, which has a value network ; UAV k The reinforcement learning module performs the following steps: S01-1: Get the image of the searched area at the current time , do random sampling independently: , k=1, 2,…,K, and perform flight actions ; S01-2: DroneU k Get the image of the searched area at the next time , and report the current time reward to the central control device ; S01-3: Update the strategy network based on the error provided by the central control device ,in, for ; In the formula, is the gradient function, is the adjustment factor; The training module of the central control device performs the following steps: S02-1: Get the current status of K drones ,award and the status at the next time , let the value network make predictions ; Let the target network make predictions ; S02-2: Calculate time difference value and error , and the error Broadcast to all drones and update value network parameters And the target network parameters: , where is the adjustment factor; Any UAV k It also includes a camera, a convolutional neural network and a template matching module, wherein the camera is configured to obtain an image of the searched area , a convolutional neural network is used to extract the image of the searched area Acquire a target image; the template matching module is configured to match the target image with the template image to determine the type of the target, and feed the matching result back to the reinforcement learning module, the template matching module includes a circular sampling filter, a radial sampling filter and a template matching filter, wherein the circular sampling filter uses the projections of the target image and the template image on a set of rings to divide the pixels of the target image into two categories: pixels that have no chance of matching the template image and first-level candidate pixels that have a chance of matching the template image, and determines a scaling factor for each first-level candidate pixel; the radial sampling filter uses the projections of the target image and the template image on a set of radial lines and the scaling factor provided by the circular sampling filter to upgrade some first-level candidate pixels to second-level candidate pixels, and also assigns a rotation angle to each second-level candidate pixel, discarding pixels that have not been upgraded; the template matching filter resizes and rotates the template image to M angles and P scales, and calculates the scale factor at scale S i and angle α p The contrast and brightness perception correlation between the template image at the second-level candidate pixel (x, y) and the target image. If the absolute value of the correlation is higher than the threshold, it is considered that the template is found at the second-level candidate pixel, i=1,2…,M; p=1,2…,P.
2. The heterogeneous UAV collaborative search system based on reinforcement learning according to claim 1 is characterized in that , any drone U k The control module is also included, and the reinforcement learning module is configured to output the control of the UAV U according to the matching result provided by the template matching module. k Current time flight action And the reward function , The reinforcement learning module obtains the image of the search area based on the current time of the drone 、 Current time flight action and the error sent from the central control device Determine the control strategy for the next time , and the next flight action sent to the control module.
3. The heterogeneous UAV collaborative search system based on reinforcement learning according to claim 2 is characterized in that: The template matching module is configured to match the image of the searched area at the current time provided by the camera with the template image to search for the target. When the target is found, the reward function is a positive value. When the target is not found, the reward function Is a negative value.
4. The heterogeneous UAV collaborative search system based on reinforcement learning according to claim 3 is characterized in that: The control module includes an instruction parsing module, a distribution module, N motor drivers, N motors and N sensors, wherein the instruction parsing module is used to reinforce the flight actions provided by the learning module. The command value is generated by analyzing and providing it to the allocation module; the allocation module generates a position command value for each of the N motors that drive the rotor of the UAV according to the motor position information and the command value provided by the motor sensor, and provides it to the N motor drivers respectively, and the N motor drivers drive the operation of the N motors according to the position command value; the N sensors are respectively used to obtain the position information of the rotors of the N motors and provide it to the corresponding motor drivers and allocation modules.
5. The heterogeneous UAV collaborative search system based on reinforcement learning according to claim 4 is characterized in that: The motor driver includes a deep reinforcement learning module and a torque controller. The deep reinforcement learning module is based on the motor position command value provided by the distribution module and the sensor S n The provided rotor position command value generates the optimal parameters of the three branches of the torque controller; the torque controller generates the motor M according to the optimal parameters of the three branches n The driving current of the three driving coils, the deep reinforcement learning module is configured to implement the following process to optimize the parameters of the three branches of the torque controller : S3-01 performs forward propagation on the value network of the deep reinforcement learning module and obtains: , In the formula, Refers to sensor S n The jth measurement value provided; Motor M n The j-th position instruction value; S3-02: Selection , Evaluation , where For motor M n All instruction values of , where Refers to sensor S n The j+1th measurement value provided; S3-03 Calculate time difference value and error , In the formula, The position command value is Rewards when is the adjustment factor; S3-04: Back propagate the value network of the deep reinforcement learning module to obtain the gradient: , , ; S3-05: Perform gradient ascent update to obtain the control parameters of the three branches of the torque controller: , , , In the formula, , , is the learning rate.
6. A heterogeneous UAV collaborative search method based on reinforcement learning, characterized in that: The steps include: Step 1: Drone U k Get the image of the searched area at the current time , do random sampling independently: , k=1, 2,…,K, and perform flight actions , For UAV k The current parameters of the neural network; Step 2: Drone U k Get the image of the searched area at the next time and report rewards to the central control device ; Step 3: The central control device obtains the current status of K drones ,award and the status at the next time , K is a positive integer greater than or equal to 2; Let the value network make predictions ; Let the target network make predictions ; Calculate time difference value and error , and the error Broadcast to all drones and update value network parameters And the target network parameters: , where is the adjustment factor; Step 4: Drone U k Update policy network parameters In for , where is the gradient function; is the adjustment coefficient, k=1, 2,…,K, Any UAV k The system comprises a camera, a convolutional neural network and a template matching module, wherein the camera is configured to obtain an image of the searched area. , a convolutional neural network is used to extract the image of the searched area Acquire a target image; the template matching module is configured to match the target image with the template image to determine the type of the target, and feed the matching result back to the reinforcement learning module, the template matching module includes a circular sampling filter, a radial sampling filter and a template matching filter, wherein the circular sampling filter uses the projections of the target image and the template image on a set of rings to divide the pixels of the target image into two categories: pixels that have no chance of matching the template image and first-level candidate pixels that have a chance of matching the template image, and determines a scaling factor for each first-level candidate pixel; the radial sampling filter uses the projections of the target image and the template image on a set of radial lines and the scaling factor provided by the circular sampling filter to upgrade some first-level candidate pixels to second-level candidate pixels, and also assigns a rotation angle to each second-level candidate pixel, discarding pixels that have not been upgraded; the template matching filter resizes and rotates the template image to M angles and P scales, and calculates the scale factor at scale S i and angle α p The contrast and brightness perception correlation between the template image at the second-level candidate pixel (x, y) and the target image. If the absolute value of the correlation is higher than the threshold, it is considered that the template is found at the second-level candidate pixel, i=1,2…,M; p=1,2…,P.
7. The method for collaborative search of heterogeneous UAVs based on reinforcement learning according to claim 6 is characterized in that , any drone U k Also includes a control module; The reinforcement learning module is configured to control the UAV U according to the matching result output provided by the template matching module. k Current time flight action And the reward function , The reinforcement learning module obtains the image of the search area based on the current time of the drone 、 Current time flight action and the error sent from the central control device Determine the control strategy for the next time , and the next flight action sent to the control module.
8. The heterogeneous UAV collaborative search method based on reinforcement learning according to claim 7 is characterized in that: The template matching module is configured to match the image of the search area at the current time provided by the camera with the template image to search for the target. When the target is found, the reward function is a positive value. When the target is not found, the reward function Is a negative value.
9. The heterogeneous UAV collaborative search method based on reinforcement learning according to claim 8 is characterized in that: The control module includes an instruction parsing module, a distribution module, N motor drivers, N motors and N sensors, wherein the instruction parsing module is used to reinforce the flight actions provided by the learning module. The command value is generated by analyzing and providing it to the allocation module; the allocation module generates a position command value for each of the N motors that drive the rotor of the UAV according to the motor position information and the command value provided by the motor sensor, and provides it to the N motor drivers respectively, and the N motor drivers drive the operation of the N motors according to the position command value; the N sensors are respectively used to obtain the position information of the rotors of the N motors and provide it to the corresponding motor drivers and allocation modules.
10. The method for collaborative search of heterogeneous UAVs based on reinforcement learning according to claim 9, characterized in that: The motor driver includes a deep reinforcement learning module and a torque controller. The deep reinforcement learning module is based on the motor position command value provided by the distribution module and the sensor S n The provided rotor position command value generates the optimal parameters of the three branches of the torque controller; the torque controller inputs the optimal parameters of the three branches to generate the torque controller input to the motor M n The deep reinforcement learning module is configured to implement the following process to optimize the parameters of the three branches of the torque controller: : S3-01 performs forward propagation on the value network of the deep reinforcement learning module and obtains: , In the formula, Refers to sensor S n The jth measurement value provided; Motor M n The j-th position instruction value; S3-02: Selection , Evaluation , where For motor M n All instruction values of , where Refers to sensor S n The j+1th measurement value provided; S3-03 Calculate time difference value and error , In the formula, The position command value is Rewards when is the adjustment factor; S3-04: Back propagate the value network of the deep reinforcement learning module to obtain the gradient: , , ; S3-05: Perform gradient ascent update to obtain the control parameters of the torque controller: , , , In the formula, , , is the learning rate.
Citation Information
Patent Citations
Unmanned aerial vehicle ground target tracking and obstacle avoidance planning method based on deep reinforcement learning
CN117707207A
Public safety autonomous patrol quadrotor unmanned aerial vehicle based on machine vision
CN111824406A
Unmanned aerial vehicle flight ad hoc network routing topology optimization method, equipment and medium
CN117240722A
Cited By
A method and system for autonomous navigation of a quadrotor unmanned aerial vehicle based on hybrid reinforcement learning in a dynamic environment
CN123137318A
