A method for cooperative data collection and data offloading of drones in marine Internet of Things
By dividing the data collection and data offloading stages in the marine Internet of Things, using the dual-delay depth deterministic strategy gradient algorithm and heuristic algorithm to optimize the UAV trajectory and buoy-UAV correlation relationship, it solves the problem of limited maritime spectrum resources and complex environments. Eliminate data transmission issues and achieve efficient and reliable data collection and transmission.
Patent Information
- Application Number
- CN202210761914.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-06-29
AI Technical Summary
Maritime spectrum resources are limited and there are a large number of buoys. The existing data collection method based on OMA technology cannot meet the demand for simultaneous access of a large number of buoys. Traditional data transmission methods are difficult to achieve efficient and reliable ocean monitoring data transmission, and complex and changeable UAVs Trajectories and buoy-UAV correlations cause traditional optimization techniques to face high computational complexity.
Divide the total UAV mission process into data collection and data offloading stages, establish a model based on non-orthogonal multiple access, and use the double-delay depth deterministic strategy gradient algorithm and heuristic algorithm to optimize the UAV trajectory and buoy- UAV correlation, maximizing transmission rate and minimizing total task completion time.
Through the combination of deep reinforcement learning and heuristic algorithms, the computational complexity is reduced, efficient and reliable UAV collaborative data collection and data offloading in the Marine Internet of Things are achieved, and UAV mission completion time is shortened.
Smart Images

Figure CN115278729B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of wireless communications and relates to a method for cooperative data collection and data unloading of unmanned aerial vehicles in a marine Internet of Things. Background Art
[0002] With the continuous increase of human marine activities, marine environment monitoring is indispensable. A large amount of meteorological and hydrological data has led to an increase in the demand for marine wireless communications. Buoys are widely deployed in the ocean because of their low cost and flexible deployment. With the development of technology, buoys can be used for marine environmental monitoring by carrying various sensors and communication equipment, and can be powered by lithium-ion batteries and solar energy. However, the transmission power of buoys is limited. Traditional marine wireless communication methods such as land base stations and satellites have disadvantages such as limited coverage and long transmission distance, which seriously affect the real-time and reliability of information transmission. For the current 5G era and the upcoming 6G era, it is of great significance to build an efficient and dynamic marine communication network. Therefore, UAV-assisted WirelessCommunication System (UWCS) has received widespread attention. UAVs have the advantages of strong maneuverability, flexible and convenient operation, and can be deployed on demand to expand coverage. UAVs can more easily establish line-of-sight links and stronger communication links with target devices, so as to better cope with the changing marine environment. In the marine Internet of Things, in response to the problems of a large number of buoys and their wide distribution, drones can act as mobile base stations to collect data collected by buoys from the target area and unload the data to base stations on land. In addition, the limited spectrum resources of the marine Internet of Things also pose challenges to the reliability and efficiency of data transmission. NOMA technology is considered to be the most promising technology in the 5G era. Compared with Orthogonal Multiple Access (OMA) technology, NOMA greatly improves spectrum efficiency under limited spectrum resources by allowing multiple users to access the same channel simultaneously and relying on power domain multiplexing and SIC decoding technology.
[0003] Traditional UWCS optimization problems are usually described as mixed integer non-convex problems. They can usually be divided into several sub-problems and can be solved by traditional optimization techniques and iterative algorithms. However, the above solutions may have high computational complexity. In addition, the association between buoys and drones and the NOMA co-channel interference change with the position of the drone. The complex dynamic changes also bring great challenges to traditional convex optimization techniques. With the development of machine learning technology, reinforcement learning is considered to be an effective way to solve highly dynamic environments. DRL algorithms, such as Deep Q-Learning (DQN) and Deep Deterministic Policy Gradient (DDPG), solve the continuous state space problem that reinforcement learning cannot solve by introducing deep neural networks. However, the actual flight action space of drones is continuous and high-dimensional, which may bring dimensionality disaster to traditional reinforcement learning methods (such as DQN, etc.). In addition, DDPG has the problem of over-estimation. The TD3 algorithm can effectively solve the above-mentioned dimensionality disaster and over-estimation problems.
[0004] In summary, the current problems are: 1) The spectrum resources at sea are limited and the number of buoys is large. The existing data collection method based on OMA technology cannot meet the needs of a large number of buoys to access at the same time, and it is difficult to achieve efficient collection of monitoring data. 2) The marine environment is complex, the buoys are widely distributed and the transmission power is limited. The traditional data transmission method is difficult to provide efficient and reliable data transmission means for ocean monitoring. 3) The complex and changeable drone trajectories and the dynamically changing buoy-drone relationship will cause traditional optimization techniques and DRL algorithms to face dimensionality disasters and high computational complexity. Summary of the invention
[0005] In order to solve the above problems, the present invention provides a technical solution adopted by the present invention: a method for cooperative data collection and data unloading of drones in marine Internet of Things, comprising the following steps:
[0006] The overall UAV mission process is divided into the data collection phase and the data unloading phase, and a model of UAV collaborative data collection and data unloading based on non-orthogonal multiple access is established; based on the model of UAV collaborative data collection and data unloading, a constrained optimization problem of minimizing the total UAV mission completion time is constructed;
[0007] A UAV trajectory optimization algorithm based on double-delayed deep deterministic policy gradient to determine the trajectory of the UAV;
[0008] Based on the trajectory of the UAV, the problem of minimizing the total UAV task completion time is transformed into two sub-problems of maximizing the total transmission rate of the buoy and the UAV, so as to determine the transmission power of the UAV and the buoy and the correlation between the buoy and the UAV.
[0009] Based on the heuristic algorithm, the buoy transmission rate is maximized, the buoy transmission power and the buoy-UAV association relationship are determined;
[0010] Combining the UAV trajectory optimization algorithm based on double-delay deep deterministic policy gradient with the heuristic algorithm, the UAV trajectory, the transmission power of the UAV and buoy, and the association between the buoy and the UAV are optimized to minimize the total task completion time of the UAV and realize the collaborative data collection and data offloading of UAVs in the marine Internet of Things.
[0011] Further: the overall UAV mission process is divided into a data collection phase and a data unloading phase, a model of human-machine collaborative data collection and data return based on non-orthogonal multiple access (NOMA) is established, and a constrained optimization problem of minimizing the overall UAV mission completion time is constructed; including the following steps:
[0012] The overall mission process of the UAV includes two stages. The first stage is that the UAV uses NOMA technology to collect data from M buoys, and the number of time slots in this stage is K. co ,In each time slot, the UAV can collect data from at most U buoys, i.e., U≤M;
[0013] The second stage is that the UAV unloads all the collected data to the land base station after completing the first stage, and the number of time slots in this stage is K of ; Therefore, the total task completion time T total It is expressed as:
[0014] T total =Kδ=(K co +K of )δ
[0015] A 0-1 integer random variable is used to represent the association between the buoy and the UAV during the data collection process, and the transmission rate between the buoy and the UAV during the data collection process is determined;
[0016] A 0-1 integer random variable is used to represent the association between the UAV and the land base station during the data unloading process, and the transmission rate between the UAV and the land base station during the data unloading process is determined;
[0017] Based on the transmission rate from the buoy to the UAV during the data collection process and the transmission rate from the UAV to the land base station during the data unloading process, an optimization model for minimizing the total UAV task completion time is established.
[0018] Further: The optimization model for minimizing the total mission completion time of the UAV is as follows:
[0019]
[0020]
[0021] Among them, P m,k is the power of the mth buoy in the kth time slot, P k is the power of the UAV in the kth time slot; C1 and C2 represent the maximum transmission power limits of the UAV and the buoy respectively; C3 and C4 represent the association relationship α between the buoy and the UAV respectively. m,k And the relationship between drones and land base stations β k Constraints; C5 limits the maximum number of buoys associated with the drone in each time slot and the maximum number is U; let C m represents the amount of data that needs to be collected from the mth buoy, then C6 ensures that all data collected by the drone can be unloaded to the land base station; C7 ensures that the data collection needs of each buoy are met; C8 and C9 are the flight speed V of the drone respectively. k The constraint and acceleration Δ k C10 is the SIC demodulation constraint that SINR needs to meet during the data collection phase, and the SIC threshold is η SIC ; C11 is the SNR constraint in the data offloading phase, and the SNR threshold is
[0022] Furthermore, based on the UAV trajectory optimization algorithm with double-delayed deep deterministic policy gradient, the process of determining the trajectory of the UAV is as follows:
[0023] 2a): Initialize the target network parameters θ1′←θ1, θ2′←θ2, φ′←φ, and the experience replay buffer capacity B, initialize the environment, obtain the initial state information, set the time variable k to represent the time it takes the drone to perform the task, and set the termination mark l;
[0024] 2b): In each time slot k, the drone moves according to the current state S k Select Action A k , and obtain the current reward r k and the state S′ of the next time slot;
[0025] 2c): If the drone moves beyond the target area, the position penalty ρ k = 1, then cancel the current action of the drone and update r according to the current state k , S′;
[0026] 2d): Data collection phase, keep β k =0; if That is, the drone has completed data collection, so let α m,,k =0, start the data unloading phase;
[0027] 2e): If That is, the drone has completed data unloading, so let l = 1;
[0028] 2f): Convert the information (S k ,A k ,r k ,S′,l) is stored in the experience replay buffer. When B>2000, N transition information is randomly selected from the experience replay buffer to form a subset and input it into the actor and critic network;
[0029] 2g): The actor network calculates the corresponding Right now
[0030]
[0031] 2h): According to Calculate the target value and minimize the loss function to update the critic network;
[0032] 2i): Update the actor network through deterministic policy gradient, i.e.
[0033]
[0034] 2j): Update the target network parameters through soft update technology, that is, θ i ″←τθ i +(1-τ)θ′ i andφ′←τφ+(1-τ)φ′;
[0035] 2k): If l = 0, then k = k + 1, and execute step 2b; if k = K max Or l = 1, and the number of episodes is episode <E max , then end the current episode, set episode = episode + 1, and execute step 2a. max , then the iteration ends and the trajectory of the drone is obtained.
[0036] Furthermore, based on the trajectory of the UAV, the problem of minimizing the total UAV task completion time is decomposed into two sub-problems of maximizing the total transmission rate of the buoy and the UAV as follows:
[0037] The subproblem of maximizing the total buoy transmission rate is:
[0038]
[0039] The sub-problem of maximizing the total transmission rate of drones is:
[0040]
[0041] Problem P2b is a standard convex problem, and its optimal solution is P max .
[0042] Further: the heuristic algorithm is based on maximizing the buoy transmission rate, determining the buoy transmission power and the buoy-UAV association relationship;
[0043] S31: Given the current position of the drone q k , SIC threshold η SIC , the maximum number of buoys that the drone can associate with, U;
[0044] S32: Current channel gain g m,k Sorting in descending order, the UAV selects the first U buoys with the largest channel gain to associate with and form the initial NOMA group. The number of buoys associated initially is U * =U;
[0045] S33: Solve the problem of optimizing the buoy's transmission power to maximize the buoy's total transmission rate to obtain the optimal solution P m * and the optimal value C k ;
[0046] S34: If there is no optimal solution in the solution state, remove the buoy with the worst channel gain among the buoys currently associated with the UAV, and U * ←U * -1, then repeat 33 until U * =1;
[0047] S35: If there is an optimal solution in the solution state, then end the loop and return the optimal solution P m * and the optimal value C k , determine the buoy’s transmission power and the buoy-UAV association relationship.
[0048] Further: The double-delayed deep deterministic policy gradient algorithm and the heuristic algorithm in deep reinforcement learning are combined to optimize the UAV trajectory, the transmission power of the UAV and the buoy, and the relationship between the buoy and the UAV, minimize the total task completion time of the UAV, and realize the process of UAV collaborative data collection and data offloading in the marine Internet of Things as follows:
[0049] S41: During the data collection phase, maintain β k =0; if That is, the drone has completed data collection, so let α m,k =0; start the data unloading phase and obtain the current channel gain g 0,k , let P = P max,like Then let the relationship between drone and land base station β k =1;
[0050] S42: If Then let β k =0, and obtain the current channel gain g m,k ; At a given drone position q k In the case of m,k , and α m,k ;
[0051] S43: Under the given transmission power and association relationship, by executing in each time slot k, the drone according to the current state S k Select Action A k , and obtain the current reward r k and the state S′ of the next time slot; if the drone's action exceeds the target area, let ρ k =1, then cancel the current action of the drone and update r according to the current state k , S′;
[0052] S44: Execute S41 until episode = E max .
[0053] A computer-readable storage medium stores a computer program, wherein when the computer program is run, the method for collecting and unloading data from drones in a marine Internet of Things is executed.
[0054] The present invention provides a method for cooperative data collection and data unloading of unmanned aerial vehicles in the marine Internet of Things. The intelligent body of the proposed scheme is deployed in a land base station, and the land base station maintains communication with the unmanned aerial vehicle. During training, the unmanned aerial vehicle collects data from multiple buoys through a service channel. At the same time, the unmanned aerial vehicle receives the status information of the buoy through a control channel, and feeds back the status information of itself and the buoy to the land base station. The land base station uses the above status information to execute the proposed scheme and sends the execution result to the unmanned aerial vehicle in each time slot. Then, the unmanned aerial vehicle forwards relevant signals (such as the transmission power of the buoy, the buoy-unmanned aerial vehicle association relationship) to the buoy through the control channel. It can effectively shorten the task completion time of the unmanned aerial vehicle on the basis of ensuring the data transmission rate, and has the following advantages: 1) The unmanned aerial vehicle has strong maneuverability and is easy to establish a line-of-sight link with the target, thereby enhancing the coverage range. At the same time, through the NOMA technology, efficient and reliable data transmission is achieved. 2) By combining the deep reinforcement learning algorithm with the heuristic algorithm, the mixed integer non-convex problem is solved. Compared with the traditional optimization method, the computational complexity is reduced, and the task completion time of the unmanned aerial vehicle is effectively shortened. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0056] Figure 1 It is a flow chart of a method for cooperative data collection and data unloading of unmanned aerial vehicles in the marine Internet of Things provided by an embodiment of the present invention;
[0057] Figure 2 A network scenario diagram used in an embodiment of the present invention;
[0058] Figure 3 is a flow chart of a TTO algorithm according to an embodiment of the present invention;
[0059] Figure 4 is a flow chart of a PCAR algorithm according to an embodiment of the present invention;
[0060] Figure 5 A flow chart of the TTO-PCAR solution of an embodiment of the present invention;
[0061] Figure 6 A comparative analysis diagram of the convergence of the algorithms of the embodiments of the present invention;
[0062] Figure 7 A comparative analysis diagram of the impact of the SIC threshold on the trajectory of the UAV according to an embodiment of the present invention;
[0063] Figure 8 A comparative analysis diagram of the trajectory of a drone according to an embodiment of the present invention;
[0064] Fig. 9 A comparative analysis diagram of the impact of spectrum bandwidth on the total mission completion time of a UAV according to an embodiment of the present invention;
[0065] Fig.10 A comparative analysis diagram of the impact of spectrum bandwidth on the trajectory of a UAV according to an embodiment of the present invention;
[0066] Fig.11 This is a comparative analysis chart of the impact of the number of buoys on the total mission completion time of the UAV according to an embodiment of the present invention. DETAILED DESCRIPTION
[0067] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0068] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0069] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0070] Unless otherwise specifically stated, the relative arrangement of the parts and steps described in these embodiments, the numerical expressions and numerical values do not limit the scope of the present invention. At the same time, it should be clear that, for ease of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship. The technology, methods and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the technology, methods and equipment should be regarded as part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0071] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by directional words such as "front, back, up, down, left, right", "lateral, vertical, perpendicular, horizontal" and "top, bottom" are usually based on the directions or positional relationships shown in the drawings. They are only for the convenience of describing the present invention and simplifying the description. Unless otherwise specified, these directional words do not indicate or imply that the device or element referred to must have a specific direction or be constructed and operated in a specific direction. Therefore, they cannot be understood as limiting the scope of protection of the present invention: the directional words "inside and outside" refer to the inside and outside relative to the contours of each component itself.
[0072] For ease of description, spatially relative terms such as "above", "above", "on the upper surface of", "above", etc. may be used here to describe the spatial positional relationship between a device or feature and other devices or features as shown in the figure. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figure. For example, if the device in the accompanying drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "below their position devices or structures". Thus, the exemplary term "above" can include both "above" and "below". The device can also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatially relative descriptions used here are interpreted accordingly.
[0073] In addition, it should be noted that the use of terms such as "first" and "second" to limit components is only for the convenience of distinguishing the corresponding components. If not otherwise stated, the above terms have no special meaning and therefore cannot be understood as limiting the scope of protection of the present invention.
[0074] Figure 1 It is a flow chart of a method for cooperative data collection and data unloading of unmanned aerial vehicles in the marine Internet of Things provided by an embodiment of the present invention;
[0075] A method for cooperative data collection and data unloading of unmanned aerial vehicles in a marine Internet of Things comprises the following steps:
[0076] S1: The overall UAV mission process is divided into the data collection phase and the data unloading phase, and a model of UAV cooperative data collection and data unloading based on non-orthogonal multiple access is established; based on the model of UAV cooperative data collection and data unloading, a constrained optimization problem of minimizing the total UAV mission completion time is constructed;
[0077] S2: Based on the Deep Reinforcement Learning (DRL) delayed deep deterministic policy gradient algorithm (TD3), design a UAV trajectory optimization algorithm (TTO, TD3-based UAV TrajectoryOptimization Algorithm) based on the twin-delayed deep deterministic policy gradient to determine the trajectory of the UAV; Figure 3 is a flow chart of a TTO algorithm according to an embodiment of the present invention;
[0078] S3: Based on the trajectory of the UAV, the problem of minimizing the total UAV task completion time is transformed into two sub-problems of maximizing the total transmission rate of the buoy and the UAV, so as to determine the transmission power of the UAV and the buoy and the correlation between the buoy and the UAV;
[0079] S4 is based on a heuristic algorithm (PCAR, Power Control and Buoy-UA V AssociationRelationship Algorithm) to maximize the buoy transmission rate and determine the buoy's transmission power and the buoy-UAV association relationship;
[0080] S5: Combine the double-delayed deep deterministic policy gradient algorithm and heuristic algorithm in deep reinforcement learning (TTO-PCAR) to optimize the UAV trajectory, the transmission power of the UAV and buoy, and the relationship between the buoy and the UAV, minimize the total task completion time of the UAV, and realize the collaborative data collection and data offloading of UAVs in the marine Internet of Things.
[0081] Steps S1, S2, S3, S4, and S5 are performed sequentially;
[0082] like Figure 2 As shown, the network scenario applicable to the present invention is a UAV cooperative marine IoT system, in which NOMA is used as a multiple access technology. The system is mainly composed of a land base station, a UAV and a buoy, including 1 land base station, 1 UAV and M buoys. Each buoy senses and stores hydrological and meteorological data and is powered by a lithium-ion battery to ensure that it has enough energy to transmit data.
[0083] The overall mission process of the drone includes two stages: the first stage is that the drone uses NOMA technology to collect data from M buoys. In each time slot, the drone can associate with at most U buoys and collect data, and U≤M; the second stage is that after completing the first stage mission, the drone unloads all the collected data to the land base station;
[0084] Furthermore, the overall UAV mission process is divided into a data collection phase and a data unloading phase, and a model of UAV cooperative data collection and data unloading based on non-orthogonal multiple access is established; based on the model of UAV cooperative data collection and data unloading, a constrained optimization problem for minimizing the overall UAV mission completion time is constructed, which specifically includes:
[0085] S11: The overall UAV mission process is divided into two stages: data collection and data unloading:
[0086] The total mission time of the UAV is denoted as T total, divided into K time slots, the time slot length is δ, the total mission process of the drone includes two stages: the first stage is that the drone uses NOMA technology to collect data from M buoys (the set is represented by M), and the number of time slots in this stage is K co In each time slot, the UAV can collect data from at most U buoys, i.e., U≤M. The second stage is that the UAV unloads all collected data to the land base station after completing the first stage, and the number of time slots in this stage is K. of .
[0087] Therefore, T total It can be expressed as:
[0088] T total =Kδ=(K co +K of )δ (1)
[0089] S12: Use 0-1 integer random variables to represent the association between the buoy and the UAV during the data collection process, and determine the transmission rate between the buoy and the UAV during the data collection process. If the UAV is associated with the mth buoy in the kth time slot, then the association between the buoy and the UAV α m,k =1. Otherwise, α m,k =0.
[0090] In the uplink NOMA system, the buoy with higher channel gain is usually demodulated first, and its interference comes from the buoy with poorer channel gain. Therefore, the co-channel interference of the uplink transmission between the mth buoy and the UAV in the kth time slot is:
[0091]
[0092] Among them, M k ={i|i∈M,h m,k >h i,k} is the set of buoys whose channel gain is worse than that of the mth buoy in the kth time slot. co is the set of time slots during the data collection phase.
[0093] Therefore, the signal to interference noise ratio (SINR) between the mth buoy and the UAV in the kth time slot is:
[0094]
[0095] Among them, P m,k represents the transmission power of the mth buoy in the kth time slot, then the transmission rate of the mth buoy in the kth time slot is expressed as:
[0096]
[0097] In order to successfully demodulate the received signal, the SIC (Successive Interference Cancellation) conditions that the SINR needs to meet are as follows:
[0098]
[0099] Among them, η SIC represents the SIC threshold;
[0100] S13: Use a 0-1 integer random variable to represent the association relationship between the UAV and the land base station during the data unloading process, and determine the transmission rate between the UAV and the land base station during the data unloading process. If the UAV is associated with the land base station in the kth time slot, then β k =1, otherwise, β k =0;
[0101] Let K of represents the set of time slots in the data unloading phase. Then in the kth time slot, the SNR between the drone and the land base station needs to meet the following conditions:
[0102]
[0103] Among them, P k is the transmitting power of the drone. Indicates the SNR threshold.
[0104] Then in the kth time slot, the transmission rate between the drone and the ground base station is expressed as:
[0105]
[0106] S14: Based on the transmission rate from the buoy to the UAV during the data collection process and the transmission rate from the UAV to the land base station during the data unloading process, an optimization model for minimizing the total UAV task completion time is established.
[0107] With the goal of minimizing the total mission completion of the UAV, the trajectory of the UAV, the transmission power of the UAV and the buoy, and the relationship between the buoy and the UAV are jointly optimized. The established optimization model is as follows:
[0108]
[0109] Among them, P m,k is the power of the mth buoy in the kth time slot, P k is the power of the UAV in the kth time slot;
[0110] C1 and C2 represent the maximum transmission power limits of the UAV and buoy, respectively;
[0111] C3 and C4 represent the association relationship between buoy and drone, respectively. m,k And the relationship between drones and land base stations β k Constraints;
[0112] C5 limits the maximum number of buoys associated with the drone in each time slot and the maximum number is U; let C m represents the amount of data that needs to be collected from the mth buoy, then C6 ensures that all data collected by the drone can be unloaded to the land base station;
[0113] C7 ensures that the data collection needs of each buoy are met;
[0114] C8 and C9 are the flight speed V of the drone respectively. k The constraint and acceleration Δ k Constraints;
[0115] C10 is the SIC demodulation constraint that the SINR needs to meet during the data collection phase, and the SIC threshold is η SIC ;
[0116] C11 is the SNR constraint in the data offloading phase, and the SNR threshold is
[0117] Furthermore, based on the double-delay deep deterministic policy gradient algorithm in deep reinforcement learning, a drone trajectory optimization algorithm based on double-delay deep deterministic policy gradient is designed, and the specific process of determining the drone trajectory includes the following:
[0118] S21: Define state, reward, and action. We define the state space as follows:
[0119] S k ={α k ,c k ,x k ,y k ,β k ,c k uav ,ρ k}, (9)
[0120] Among them, α k ={α 1,k ,α 2,k ,...,α M,k} represents the set of associations between buoys and drones in the kth time slot, c k ={c 1,k ,c 2,k ,...,c M,k} represents the remaining data amount of each buoy in the kth time slot, and represents the remaining data volume of the drone, and ρ k Represents the boundary penalty information of the drone, which is used to determine whether the position of the drone exceeds the target area at the kth time slot.
[0121] According to the above status and environmental information, the drone's action A k Defined as:
[0122]
[0123] in, represents the flight angle of the UAV in the kth time slot, and V k ∈[0,V max ].
[0124] Let K max represents the maximum number of time slots to complete the task. If the UAV completes the task within K time slots, then K * =K max -K, therefore, we design the reward function as:
[0125]
[0126] S22: Design a UAV trajectory optimization algorithm based on the Twin-delayed Deep Deterministic Algorithm (TD3) to determine the UAV trajectory.
[0127] To achieve better performance, we combine B and C when calculating the state and reward. m The order of magnitude is reduced by n1 orders of magnitude, making it less than or equal to K max order of magnitude.
[0128] From the definition of the state, it can be seen that most of the state variables are related to the buoy. Only two dimensions are related to the position of the UAV, two dimensions are related to the land base station, and one dimension is related to the boundary penalty information of the UAV. Therefore, there is a problem of dimensional imbalance. Dimension expansion technology can effectively solve this problem. We expand the dimension of the above state. For example, we connect the position state of the UAV to an extended network composed of M neurons and expand its dimension to M. In addition, we set a termination flag l to indicate whether the UAV has completed the task. l is used in the objective value function so that after the UAV completes the task, the Q value of the objective value function is 0, that is, This makes the performance of the critic network more stable.
[0129] The specific steps of the TD3-based UAV trajectory optimization algorithm (TTO) are as follows:
[0130] 2a) Initialize the target network parameters θ1′←θ1, θ2′←θ2, φ′←φ, and the experience playback buffer capacity B; initialize the environment and obtain the initial state information. Set the time variable k to represent the time it takes the drone to perform the task. Set the termination marker l;
[0131] 2b) In each time slot k, the drone moves according to its current state S k Select Action A k , and obtain the current reward r k and the state S′ of the next time slot;
[0132] 2c) If the drone moves beyond the target area, let ρ k = 1. Then cancel the current action of the drone and update r according to the current state k , S′;
[0133] 2d) Data collection phase, keep β k = 0. If That is, the drone has completed data collection, so let α m,k =0, start the data unloading phase;
[0134] 2e) If That is, the drone has completed data unloading, so let l = 1;
[0135] 2f) Convert the information (S k ,A k ,r k ,S′,l) is stored in the experience replay buffer. When B>2000, N transformation information is randomly selected from the experience replay buffer to form a subset mini-batch and input it into the actor and critic network;
[0136] 2g) The network calculates the corresponding Right now
[0137] 2h) According to Calculate the target value and minimize the loss function to update the critic network;
[0138] 2i) Qualitative policy gradient updates the actor network, i.e.
[0139] 2j) Update the target network parameters through soft update technology, that is, θ i ″←τθ i +(1-τ)θi ′ andφ′←τφ+(1-τ)φ′;
[0140] 2k) If l = 0, then k = k + 1, and execute step 2b. max Or l = 1, and the number of episodes is episode <E max , then end the current episode, set episode = episode + 1, and execute step 2a. If episode = E max , the iteration ends.
[0141] Furthermore, based on the trajectory of the UAV, the problem of minimizing the total UAV task completion time is transformed into two sub-problems of maximizing the total transmission rate of the buoy and the UAV, so as to determine the transmission power of the UAV and the buoy and the association between the buoy and the UAV; a heuristic algorithm is designed to maximize the buoy transmission rate, determine the transmission power of the buoy and the association between the buoy and the UAV. The specific process is as follows:
[0142] Establish the buoy-UAV association relationship and the buoy transmission power optimization sub-problem in the data collection phase, fix the trajectory of the UAV, and then problem P1 can be written as:
[0143]
[0144] Problem P2 is a mixed integer non-convex problem. Given the UAV task completion time and the association between buoy-UAV and UAV-land base station, P2 can be transformed into the problem of maximizing the total amount of transmitted data in the kth time slot and can be divided into two parts.
[0145] First, in the data collection phase, it can be seen from question P2 that the SINR between the UAV and the buoy is not only related to the buoy’s transmission power, but also to the buoy-UAV association relationship. * The total transmission data size of each buoy is expressed as:
[0146]
[0147] The subproblem of maximizing the total buoy transmission rate is:
[0148]
[0149] Problem P2a is still non-convex due to the co-channel interference between the buoys associated with the drone. Therefore, we replace C k Converts to the following form:
[0150]
[0151] Therefore, P2a is a convex problem and can be solved by standard convex optimization solvers such as cvxpy.
[0152] The heuristic algorithm (PCAR) is used to determine the association relationship between the buoy and the UAV and the transmission power of the buoy, and the transmission power of the buoy and the association relationship between the buoy and the UAV are determined; Figure 4 is a flow chart of a PCAR algorithm according to an embodiment of the present invention;
[0153] S31: Given the current position of the drone q k , SIC threshold η SIC , the maximum number of buoys that the drone can associate with, U;
[0154] S32: Current channel gain g m,k Sort in descending order. The UAV selects the first U buoys with the largest channel gain to associate with and form the initial NOMA group. The number of buoys associated initially is U * =U;
[0155] S33: Solve problem P2a (optimizing the buoy's transmission power to maximize the buoy's total transmission rate) to obtain the optimal solution P m * and the optimal value C k ;
[0156] S34: If there is no optimal solution in the solution state, remove the buoy with the worst channel gain among the buoys currently associated with the UAV, and U * ←U * -1. Then repeat 2c until U * =1;
[0157] S35: If there is an optimal solution in the solution state, then end the loop and return the optimal solution P m * and the optimal value C k ; Determine the buoy’s transmission power and the buoy-UAV relationship.
[0158] (3) Determine the relationship between the drone and the land base station and the transmission power of the drone. Fix the trajectory of the drone. In the data unloading phase, the total amount of data transmitted by the drone in the kth time slot is expressed as:
[0159]
[0160] Then problem P2 can be transformed into the following form:
[0161]
[0162] Problem P2b is a standard convex problem, and its optimal solution is P max .
[0163] The process of combining TTO with heuristic algorithm to optimize the drone trajectory, transmission power of drone and buoy and the relationship between buoy and drone, minimize the total task completion time of drone, and realize the collaborative data collection and data unloading of drone in marine IoT is as follows, specifically including: Figure 5 A flow chart of the TTO-PCAR solution of an embodiment of the present invention;
[0164] S41: During the data collection phase, maintain β k =0; if That is, the drone has completed data collection, so let α m,k =0, and obtain the current channel gain g 0,k , let P = P max ,like Then let the relationship between drone and land base station β k =1;
[0165] S42: If Then let β k =0, and obtain the current channel gain g m,k , given the UAV position q k In the case of m,k , and α m,k ;
[0166] S43: Under the given transmission power and association relationship, by executing in each time slot k, the drone according to the current state S k Select Action A k , and obtain the current reward r k and the state S′ of the next time slot; if the drone's action exceeds the target area, let ρ k =1, then cancel the current action of the drone and update r according to the current state k , S′, update q k ;
[0167] d) Execute S41 until the episode of algorithm TTO=E max .
[0168] The intelligent agent of the proposed scheme is deployed in the land base station, which maintains communication with the UAV. During training, the UAV collects data from multiple buoys through the service channel. At the same time, the UAV receives the status information of the buoy through the control channel and feeds back the status information of itself and the buoy to the land base station. The land base station uses the above status information to execute the proposed scheme and sends the execution results to the UAV in each time slot. Then, the UAV forwards relevant signals (such as the transmission power of the buoy and the buoy-UAV association) to the buoy through the control channel.
[0169] A computer-readable storage medium stores a computer program, wherein when the computer program is run, the method for collecting and unloading data from drones in a marine Internet of Things is executed.
[0170] The application effect of the present invention is described in detail below in conjunction with simulation.
[0171] 1. Simulation conditions
[0172] In the simulation scenario, the network area is 1000m×1000m, 10 buoys are randomly distributed in the area, the flight altitude of the drone is 100m, the maximum flight speed is 50m / s, the minimum flight speed is 0m / s, and the maximum acceleration is 25m / s 2 , the maximum transmission power of the UAV is 0.1W, the maximum transmission power of the buoy is 24dBm, the location of the land base station is (0,0)m, the UAV is associated with up to 3 buoys in each time slot, and the time slot length is 1s. The data volume of each buoy ranges from C m ∈[10,20]Mbits, the spectrum bandwidth is 1MHz, and the noise power is -94dBm. The SINR threshold is 10dB, and the SNR threshold is 3dB. Our proposed algorithm TTO is based on Pytorch. For the actor and comment network, we use a fully connected neural network with two hidden layers consisting of 400 neurons, a learning rate of 0.0001, an experience replay buffer with a capacity of 100000, a subset of 256, a reward discount factor γ of 0.99, and the remaining parameters is 0.36, τ is 0.005, the maximum total number of task completion time slots is 300, and the order of magnitude parameter is 6.
[0173] 2. Simulation content and result analysis
[0174] The performance of the proposed scheme is demonstrated by comparing it with other transmission methods.
[0175] Comparative Solution 1: Drone trajectory based on Fermat points. This solution first considers each user as a vertex of a triangle to form multiple triangles. The Fermat point of each triangle is then used as the hovering point of the drone. The drone hovers over these points in turn to collect data.
[0176] Comparative Solution 2: Circle-based UAV trajectory. This solution first finds the geometric center of all users and uses it as the center of the circle. Then, the distances from all users to the center of the circle are averaged to determine the radius of the UAV trajectory.
[0177] Comparison scheme 3: UAV data collection based on OMA, this scheme refers to the use of UAVs to collect data using OMA technology. The proposed algorithm TTO is still used to determine the trajectory of the UAV.
[0178] Comparison scheme 4: DQN-based DRL scheme, which uses DQN to replace TD3 in our proposed scheme.
[0179] Simulation 1: Comparative analysis of the convergence of the algorithm proposed in this invention;
[0180] from Figure 6 It can be seen that the proposed scheme can converge after 1000 episodes, while the comparative scheme 3 needs 3000 episodes to converge. In addition, the comparative scheme 4 still cannot converge after 6000 episodes. Therefore, the performance of our proposed scheme is significantly better than the other two schemes.
[0181] Simulation 2: Comparative analysis of the impact of SIC threshold on the UAV trajectory of the proposed scheme;
[0182] Figure 5 The SIC thresholds are 10dB, 12dB, and 15dB, respectively, and the average total mission completion time of the drone is basically the same, 33 seconds, 36 seconds, and 37 seconds, respectively; however, as the SIC threshold increases, the trajectory of the drone is closer to the buoys that are farther away. This is because when the drone uses NOMA technology for data collection, the channel gain of the buoys that are farther away is worse. Therefore, in order to meet the constraints of the SIC decoding conditions, the drone will gradually fly to the buoys that have not yet collected data and are farther away.
[0183] Simulation 3: Comparative analysis of drone trajectories under different schemes;
[0184] from Figure 6It can be seen that the trajectory of the drone data collection process under comparison scheme 1 and comparison scheme 2 is fixed, which leads to a longer trajectory of the drone during the data unloading process; the proposed scheme takes into account the coupling of the trajectory of the drone data collection stage and the data unloading stage for optimization, so the time of the data unloading process is shorter than that of other schemes. The total flight distance of the proposed scheme is also significantly lower than that of the other two schemes.
[0185] Simulation 4: Comparative analysis of the impact of spectrum bandwidth on the total mission completion time of the UAV;
[0186] from Figure 7 It can be seen that the total task completion time of the proposed scheme is significantly lower than that of other schemes. In particular, the data collection time of the proposed scheme is 20 seconds when the spectrum bandwidth is 1MHz, while the data collection time of the comparative scheme 3 is 33 seconds, so NOMA is more efficient than OMA in data collection. This is because the designed reward function is related to the total transmission rate in each time slot.
[0187] Simulation 5: Comparative analysis of the impact of spectrum bandwidth on the UAV trajectory of the proposed scheme;
[0188] from Figure 8 It can be seen that the flight distance of the drone decreases as the spectrum bandwidth increases; this is because the transmission rate of the buoy decreases as the spectrum bandwidth decreases, and if the data in the buoy far away from the land base station has not been collected, the agent will choose to bring the drone closer to the above buoy to increase the transmission rate and thus obtain a greater reward.
[0189] Simulation 6: Comparative analysis of the impact of the number of buoys on the total mission completion time of the UAV.
[0190] Comparative Scheme 1 collects data by finding hovering points and classifies the problem as a traveling salesman problem, so that the drone traverses the hovering points. Therefore, Comparative Scheme 1 takes a lot of time on the drone flight. Although Comparative Scheme 2 can collect data in each time slot, it does not consider the data collection needs of different buoys because the drone only flies in circles. The proposed scheme dynamically adjusts the drone trajectory according to the data collection needs of different buoys. Therefore, the total task completion time of the proposed scheme is significantly lower than that of Comparative Schemes 1 and 2.
[0191] Fig. 9 A comparative analysis diagram of the impact of spectrum bandwidth on the total mission completion time of a UAV according to an embodiment of the present invention;
[0192] Fig.10 A comparative analysis diagram of the impact of spectrum bandwidth on the trajectory of a UAV according to an embodiment of the present invention;
[0193] Fig.11This is a comparative analysis chart of the impact of the number of buoys on the total mission completion time of the UAV according to an embodiment of the present invention.
[0194] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
[0195] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for cooperative data collection and data unloading of drones in marine Internet of Things, characterized by: The following steps are involved: The overall UAV mission process is divided into data collection phase and data unloading phase, and a UAV collaborative data collection and data unloading model based on non-orthogonal multiple access is established. Based on the model of UAV collaborative data collection and data offloading, a constrained optimization problem to minimize the total UAV task completion time is constructed; A UAV trajectory optimization algorithm based on double-delayed deep deterministic policy gradient to determine the trajectory of the UAV; Based on the trajectory of the UAV, the problem of minimizing the total UAV task completion time is transformed into two sub-problems of maximizing the total transmission rate of the buoy and the UAV, so as to determine the transmission power of the UAV and the buoy and the correlation between the buoy and the UAV. Based on the heuristic algorithm, the buoy transmission rate is maximized, the buoy transmission power and the buoy-UAV association relationship are determined; Combining the drone trajectory optimization algorithm based on double-delayed deep deterministic policy gradient and the heuristic algorithm, the drone trajectory, the transmission power of the drone and buoy, and the relationship between the buoy and the drone are optimized to minimize the total drone task completion time and realize drone collaborative data collection and data offloading in the marine Internet of Things. The overall UAV mission process is divided into a data collection phase and a data unloading phase, a UAV collaborative data collection and data return model based on non-orthogonal multiple access is established, and a constrained optimization problem for minimizing the overall UAV mission completion time is constructed; the following steps are included: The overall mission process of the UAV includes two stages. The first stage is that the UAV uses NOMA technology to collect data from M buoys, and the number of time slots in this stage is K. co ,In each time slot, the UAV can collect data from at most U buoys, i.e., U≤M; The second stage is that the UAV unloads all the collected data to the land base station after completing the first stage, and the number of time slots in this stage is K of ; Therefore, the total task completion time T total It is expressed as: T total =Kδ=(K co +K of )δ A 0-1 integer random variable is used to represent the association between the buoy and the UAV during the data collection process, and the transmission rate between the buoy and the UAV during the data collection process is determined; A 0-1 integer random variable is used to represent the association between the UAV and the land base station during the data unloading process, and the transmission rate between the UAV and the land base station during the data unloading process is determined; Based on the transmission rate from the buoy to the UAV during data collection and the transmission rate from the UAV to the land base station during data unloading, an optimization model for minimizing the total UAV task completion time is established. The optimization model for minimizing the total mission completion time of the UAV is as follows: Among them, P m,k is the power of the mth buoy in the kth time slot, P k is the power of the UAV in the kth time slot; C1 and C2 represent the maximum transmission power limits of the UAV and the buoy respectively; C3 and C4 represent the association relationship α between the buoy and the UAV respectively. m,k And the relationship between drones and land base stations β k Constraints; C5 limits the maximum number of buoys associated with the drone in each time slot and the maximum number is U; let C m represents the amount of data that needs to be collected from the mth buoy, then C6 ensures that all data collected by the drone can be unloaded to the land base station; C7 ensures that the data collection needs of each buoy are met; C8 and C9 are the flight speed V of the drone respectively. k The constraint and acceleration Δ k C10 is the SIC demodulation constraint that SINR needs to meet during the data collection phase, and the SIC threshold is η SIC ; C11 is the SNR constraint in the data offloading phase, and the SNR threshold is The process of combining the double-delay deep deterministic policy gradient algorithm and the heuristic algorithm in deep reinforcement learning to optimize the UAV trajectory, the transmission power of the UAV and the buoy, and the association between the buoy and the UAV is minimized to achieve the total task completion time of the UAV, and realize the UAV collaborative data collection and data offloading in the marine Internet of Things is as follows: S41: During the data collection phase, maintain β k =0; if That is, the drone has completed data collection, so let α m,k =0; start the data unloading phase and obtain the current channel gain g 0,k , let P = P max ,like Then let the relationship between drone and land base station β k =1; S42: If Then let β k =0, and obtain the current channel gain g m,k ; At a given drone position q k In the case of and α m,k ; S43: Under the given transmission power and association relationship, by executing in each time slot k, the drone according to the current state S k Select Action A k , and obtain the current reward r k and the state S′ of the next time slot; if the drone's action exceeds the target area, let ρ k =1, then cancel the current action of the drone and update r according to the current state k , S′; S44: Execute S41 until episode = E max .
2. The method for cooperative data collection and data unloading of unmanned aerial vehicles in the marine Internet of Things according to claim 1 is characterized in that: The UAV trajectory optimization algorithm based on double-delayed deep deterministic policy gradient determines the trajectory process of the UAV as follows: 2a): Initialize the target network parameters θ1′←θ1, θ2′←θ2, φ′←φ, and the experience replay buffer capacity Initialize the environment, obtain the initial state information, set the time variable k to represent the time it takes the drone to perform the task, and set the termination mark l; 2b): In each time slot k, the drone moves according to the current state S k Select Action A k , and obtain the current reward r k and the state S′ of the next time slot; 2c): If the drone moves beyond the target area, the position penalty ρ k = 1, then cancel the current action of the drone and update r according to the current state k , S′; 2d): Data collection phase, keep β k =0; if That is, the drone has completed data collection, so let α m,k =0, start the data unloading phase; 2e): If That is, the drone has completed data unloading, so let l = 1; 2f): Convert the information (S k ,A k ,r k ,S′,l) is stored in the experience replay buffer. When , N transitions are randomly selected from the experience replay buffer to form a subset and input into the actor and critic network; 2g): The actor network calculates the corresponding Right now 2h): According to Calculate the target value and minimize the loss function to update the critic network; 2i): Update the actor network through deterministic policy gradient, i.e. 2j): Update the target network parameters through soft update technology, that is, θ i ′←τθ i +(1-τ)θ i ′ andφ′←τφ+(1-τ)φ′; 2k): If l = 0, then k = k + 1, and execute step 2b; if k = K max Or l = 1, and the number of episodes is episode <E max , then end the current episode, set episode = episode + 1, and execute step 2a. max , then the iteration ends and the trajectory of the drone is obtained.
3. The method for cooperative data collection and data unloading of unmanned aerial vehicles in marine Internet of Things according to claim 1 is characterized in that: Based on the trajectory of the UAV, the problem of minimizing the total UAV task completion time is transformed into two sub-problems of maximizing the total transmission rate of the buoy and the UAV as follows: The subproblem of maximizing the total buoy transmission rate is: The sub-problem of maximizing the total transmission rate of drones is: Problem P2b is a standard convex problem, and its optimal solution is P max .
4. The method for cooperative data collection and data unloading of unmanned aerial vehicles in marine Internet of Things according to claim 1 is characterized in that: The heuristic algorithm is based on maximizing the buoy transmission rate, determining the buoy transmission power and the buoy-UAV association relationship; S31: Given the current position of the drone q k , SIC threshold η SIC , the maximum number of buoys that the drone can be associated with, U; S32: Current channel gain g m,k Sorting in descending order, the UAV selects the first U buoys with the largest channel gain to associate with and form the initial NOMA group. The number of buoys associated initially is U * =U; S33: Solve the problem of optimizing the buoy's transmission power to maximize the buoy's total transmission rate to obtain the optimal solution P m * and the optimal value C k ; S34: If there is no optimal solution in the solution state, remove the buoy with the worst channel gain among the buoys currently associated with the UAV, and U * ←U * -1, then repeat 33 until U * =1; S35: If there is an optimal solution in the solution state, then end the loop and return the optimal solution P m * and the optimal value C k , determine the buoy’s transmission power and the buoy-UAV association relationship.
5. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein: When the computer program is running, the method for drone collaborative data collection and data unloading in the marine Internet of Things described in any one of claims 1 to 4 is executed.
