Path planning and bandwidth allocation method for communication UAV considering power consumption failure

Through digital twin technology and machine learning, the ESN prediction module and DRL decision optimization module are used to optimize UAV path planning and bandwidth allocation, solving the problem of overheating of smart terminals in UAV communication scenarios, and achieving optimal resource allocation and temperature control, improving communication efficiency.

CN116643581BActive Publication Date: 2024-09-10CHONGQING CONTROL ENVIRONMENT TECH GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310409634.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2024-09-10
Estimated Expiration
2043-04-17

AI Technical Summary

Technical Problem

In the UAV communication scenario, existing research lacks effective solutions to the overheating problem caused by power failure caused by overloaded computing tasks in smart terminals.

Method used

Using digital twin technology and machine learning, through the ESN prediction module and DRL decision optimization module, the UAV path planning and bandwidth allocation are optimized, the location information of the user's smart terminal is predicted, and path planning and bandwidth allocation are performed based on the prediction results to avoid excessive calculation tasks. overheating problem caused by severe damage.

Benefits of technology

It effectively optimizes the total throughput of drone communication scenarios, avoids the overheating problem of user smart terminals caused by overloaded computing tasks, and achieves optimal resource allocation and temperature control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116643581B
    Figure CN116643581B
Patent Text Reader

Abstract

The present invention discloses a communication drone path planning and bandwidth allocation method considering power consumption failure, comprising the following steps: S1, constructing a physical environment according to real physical entities in an application scenario, and synchronizing the scenario data to a central server; S2: the central server constructs a digital twin model, and realizes the state update of the scenario data; S3: setting a trained machine learning model in the central server, including an ESN prediction module and a DRL decision optimization module, the ESN prediction module obtains the scenario data after the state update from the digital twin model and predicts the position information of the user's smart terminal in the next time slot; the DRL decision optimization module realizes drone path planning and bandwidth allocation according to the position information of the user's smart terminal in the next time slot predicted by the ESN prediction module. The effect is that drone path planning and bandwidth allocation can be realized at the same time, and the overheating problem of the user's smart terminal caused by excessive computing tasks can be effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to mobile communication technology, and in particular to a communication unmanned aerial vehicle path planning and bandwidth allocation method taking power consumption failure into consideration. Background Art

[0002] With the rapid development of mobile communication technology, the new mobile communication network formed by the integration of unmanned aerial vehicles (UAV) and cellular networks has attracted more and more attention. Since cellular communication can support a data transmission rate of one billion bits per second, smart terminals will perform a large number of data processing processes, resulting in huge consumption of computing resources, resulting in a new problem called power consumption outage (PCO) in future wireless networks.

[0003] Power consumption failure is related to the temperature of smart terminal devices. Specifically, the calculation of the chip in the smart terminal is the core of data processing, especially the part performed by the baseband processor (BP) and the application processor (AP). Taking smartphones as an example, the heat generated by chip calculation will increase the temperature of the back cover of the smartphone, resulting in a deterioration of the user experience. In order to protect users from low-temperature burns, it has been proposed that the temperature of the back cover of the smartphone should be kept below the skin threshold temperature (45°C). Once this thermal limit is exceeded, the manager of the smartphone will reduce the temperature by reducing the chip operation frequency. In cellular communications before 5G, due to its relatively low data transmission rate and less heat generation, overheating problems are usually related to local tasks, that is, computing-intensive tasks, so the frequency reduction during overheating will not affect wireless transmission. However, for future wireless networks, traffic-intensive applications such as the metaverse and cloud games require high-speed data transmission at the Gbps level, which makes data processing related to cellular communications a cause of overheating.

[0004] Communication drones are regarded as an important part of future wireless networks. For drones used as aerial base stations in non-orthogonal multiple access (NOMA) systems, some scholars have proposed various solutions for different target requirements. However, existing research mainly focuses on power consumption failures and drone communication problems independently. As a promising application of future wireless networks, communication drones can provide high-speed transmission for ground users. Therefore, in drone scenarios, smart terminals also face overheating problems caused by PCO. However, there is currently a lack of research on the impact of PCO in UAV communications. Summary of the invention

[0005] In view of this, the object of the present invention is to provide a communication UAV path planning and bandwidth allocation method considering power consumption failures, which can achieve the optimal setting of UAV path planning and bandwidth allocation while considering PCO by adopting digital twin technology and machine learning.

[0006] To achieve the above purpose, the specific technical solutions adopted by the present invention are as follows:

[0007] A communication UAV path planning and bandwidth allocation method considering power consumption failures, the key of which is to include the following steps:

[0008] S1. Construct a physical environment based on real physical entities in the application scenario, where the real physical entities include drones, user smart terminals, and fixed objects in the scenario; the drones obtain information from each user smart terminal and synchronize the scenario data to a central server;

[0009] S2: The central server builds a digital twin model based on the physical environment obtained in step S1 and implements the status update of the scene data;

[0010] S3: A trained machine learning model is set in the central server, including an ESN prediction module and a DRL decision optimization module. The ESN prediction module obtains the scene data after the state is updated from the digital twin model and predicts the location information of the user smart terminal in the next time slot; the DRL decision optimization module implements drone path planning and bandwidth allocation according to the location information of the user smart terminal in the next time slot predicted by the ESN prediction module.

[0011] Optionally, the ESN prediction module includes an input layer, a storage pool and an output layer. It is assumed that there are N user intelligent terminals in the physical environment, and the input vector u of the input layer in (t) is the current location information of N user intelligent terminals, and the output vector y of the output layer out (t) is the position prediction information of N user intelligent terminals in the next time slot; the state vector of the storage pool is Indicates, and in accordance with:

[0012] x res (t) = (1-α l )x res (t-1)+α l tanh(W in u in (t)+W res x res (t-1))

[0013] Update, where: α l ∈(0,1] is to ensure that x res (t) is the leak rate for smooth updates, tanh(·) is the activation function, represents the weight matrix between the storage pool and the input layer, is the weight matrix between the memory pool neurons themselves, W in and Wres It is randomly generated when the network is initialized and remains unchanged throughout the training phase. res is the number of neurons in the storage pool;

[0014] The output layer is based on y out (t) = W out [u in (t); x res (t)] determines the output vector, where:

[0015] [u in (t); x res (t)] represents the vector u in (t) and x res (t) in vertical series, It is the weight matrix between the output layer and the storage pool and is determined by learning training.

[0016] Optionally, when the ESN prediction module is trained, the training objective function is:

[0017]

[0018] Where: W out The nth row of out,n , ||·|| represents the Euclidean norm, δ||w out,n || 2 is the Tikhonov regularization term to avoid overfitting, δ is the regularization parameter, and y target,n (t) represents the actual position information vector y in the training sample target The nth element of (t), y out,n (t) is the output vector y out The nth element of (t), T is the length of the training sample time slot, and the optimal weight matrix It is obtained through ridge regression, as follows:

[0019]

[0020] where Y target ∈R 2N×T and They are respectively target (t) and [u in (t); x res (t)], where I is the identity matrix.

[0021] Optionally, the state information received by the DRL decision optimization module at time slot t is:

[0022] s t =[q p (t),Hdiag (t),T sur (t)]

[0023] Where: q p (t) is the location prediction information of N user intelligent terminals output by the ESN prediction module, H diag (t) = H(t)H H (t) is a diagonal matrix, the entries on the main diagonal represent the power attenuation, is the channel matrix in complex form; H H (t) is the conjugate transposed matrix of the channel matrix H(t); N Rx is the number of user intelligent terminal antennas, N Tx is the number of drone antennas, T sur (t) is the device temperature of the user’s smart terminal;

[0024] And make decision action q according to question P1 u (t+1) and w(t), where problem P1 is defined as:

[0025]

[0026] q u (t+1) represents the coordinate position of the drone in the next time slot, w(t) represents the bandwidth of the smart terminal allocated to each user in the current time slot, R n (t) represents the downlink rate of the nth user intelligent terminal in the current time slot; the specific constraints are:

[0027] Condition (1): The moving distance of the drone between two adjacent time slots is less than or equal to the preset threshold D max ;

[0028] Condition (6): w n (t) represents the bandwidth allocated to the nth user intelligent terminal, P represents the total power of the drone, N0 represents the noise spectral density, ρ th is the preset signal-to-noise ratio threshold, det() represents the calculation of the matrix determinant;

[0029] Condition (7): The sum of the bandwidths allocated to each user's smart terminal is less than or equal to the total bandwidth of the drone;

[0030] Condition (16):

[0031] in, It represents the chip heating power of the nth user intelligent terminal in the current time slot. Represents the state function of the nth user intelligent terminal, state variable is the device temperature of the nth user’s smart terminal, T safe (t) is the thermal limit value of the user's intelligent terminal; h air (Unit: W / m 2 ·K) represents the convection heat transfer coefficient of air, A (unit: cm 2 ) represents the heat sink area, T env Indicates the ambient temperature.

[0032] Alternatively, to satisfy condition (1), use d(t), 0≤d(t)≤D max represents the moving distance of the UAV between two adjacent time slots, and the corresponding moving angle in the horizontal plane is represented by ξ(t), 0<ξ(t)≤2π, then q u (t+1)=(x u (t+1),y u (t+1)) According to:

[0033] x u (t+1)=x u (t)+d(t)*cos(ξ(t)),y u (t+1)=y u (t)+d(t)*sin(ξ(t)) is determined.

[0034] Optionally, the DRL decision optimization module is provided with a reward function for optimizing the long-term expected total throughput, and the reward function is:

[0035]

[0036] in: and is the penalty weight;

[0037] Penalty Variable

[0038] Penalty Variable

[0039] Optionally, the DRL decision optimization module uses the normalized advantage functions (NAF) algorithm in deep reinforcement learning to calculate the action corresponding to the maximum Q value as the UAV path planning and bandwidth allocation decision result.

[0040] Optionally, the chip heating power of the nth user intelligent terminal in the current time slot is as follows:

[0041] Calculate, where:

[0042] in and Represent the power consumption of application processor and baseband processor respectively, Indicates the power consumption of basic functions of smart terminal equipment. It represents the heat generation power of the low noise amplifier (LNA), and λ represents the ratio of heat transferred from the low noise amplifier to the chip.

[0043] Optionally, the matrix H diag (t) term h diag (t) satisfies E[h diag (t)]=b 2 +λ 2 ,in:

[0044] represents the power attenuation of line-of-sight transmission between the UAV and user n, represents the power attenuation of non-line-of-sight transmission between the UAV and user n.

[0045] The remarkable effects of the present invention are:

[0046] (1) The present invention proposes a solution for optimizing the total throughput of UAV communication scenarios while taking power consumption into consideration, which can simultaneously realize UAV path planning and bandwidth allocation, and effectively avoid overheating of user smart terminals due to excessive computing tasks.

[0047] (2) The present invention adopts a prediction algorithm based on the echo state network (ESN), and realizes the prediction of user location information based on the digital twin model, and adopts the Markov decision process to describe the optimization problem, and uses deep reinforcement learning combined with the normalized advantage function (NAF) to achieve target optimization. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 is a system model architecture diagram in a specific embodiment of the present invention;

[0049] Figure 2 is a network architecture diagram of an ESN prediction module in a specific embodiment of the present invention;

[0050] Figure 3 It is the algorithm pseudo code of the ESN prediction module in the specific embodiment of the present invention;

[0051] Figure 4 It is the algorithm pseudo code of the DRL decision optimization module in the specific embodiment of the present invention. DETAILED DESCRIPTION

[0052] The following specifically illustrates the implementation mode of the present invention in conjunction with the accompanying drawings. The embodiments are provided for illustrative purposes only and cannot be understood as limiting the present invention. The accompanying drawings are provided for reference and illustration only and do not constitute a limitation on the scope of patent protection of the present invention, because many changes can be made to the present invention without departing from the spirit and scope of the present invention.

[0053] This embodiment provides a communication drone path planning and bandwidth allocation method considering power consumption failure, including the following steps:

[0054] S1. Construct a physical environment based on real physical entities in the application scenario, where the real physical entities include drones, user smart terminals, and fixed objects in the scenario; the drones obtain information from each user smart terminal and synchronize the scenario data to a central server;

[0055] S2: The central server builds a digital twin model based on the physical environment obtained in step S1 and implements the status update of the scene data;

[0056] S3: A trained machine learning model is set in the central server, including an ESN prediction module and a DRL decision optimization module. The ESN prediction module obtains the scene data after the state is updated from the digital twin model and predicts the location information of the user smart terminal in the next time slot; the DRL decision optimization module implements drone path planning and bandwidth allocation according to the location information of the user smart terminal in the next time slot predicted by the ESN prediction module.

[0057] by Figure 1 The system model of a drone serving N users in a rural aerial base station is shown as an example. The drone is designed to optimize wireless transmission with the help of machine learning. However, it is not advisable to implement machine learning in the drone for all computing work. Therefore, the present invention proposes an architecture supporting digital twin (DT) technology to circumvent the corresponding shortcomings. The architecture mainly consists of a physical environment, a digital twin model, and a machine learning module, and the latter two parts are integrated into a central server. The details of each part are as follows:

[0058] The physical environment consists of real physical entities, such as drones, smartphone users, and fixed objects in rural areas (e.g., trees and houses). Drones obtain information from smartphones and synchronize the corresponding data to the central server.

[0059] The digital twin model is a digital replica of the physical environment established by a server. In the present invention, the digital twin model interacts with the physical environment through a high-speed two-way connection. On the one hand, it collects information from the status updates of physical entities to form their digital copies. On the other hand, it outputs the decisions made by the trained machine learning model to the real-world drone to achieve optimized transmission.

[0060] The machine learning module is the core computing part performed by the central server. The goal is to train the machine learning model for the optimization problem. The digital twin model provides the necessary data to the machine learning module in the training phase. The ESN prediction module is first used to predict the user's location, and then the prediction information is used in the DRL decision optimization module to jointly optimize the bandwidth allocation and trajectory design of the drone. With the high computing power of the central server, the machine learning model can be efficiently trained and the optimized decision can be output to the physical environment after the training phase is completed.

[0061] The number of antennas of the drone and the user are represented by N Tx and N Rx The UAV achieves massive MIMO wireless transmission in the millimeter wave (mmWave) frequency band, providing services to users with different beamforming groups, thereby providing different bandwidth services to multiple users. n (t) = [x n (t),y n (t)] represents the coordinates of user n (n∈{1,2,…,N}) at time slot t. For ease of processing, the user moves randomly in the area of ​​interest. In each time slot, the user's position remains unchanged and is updated in the next time slot. To provide stable transmission, it is assumed that the drone hovers in the air in each time slot and updates its position in the next time slot.

[0062] q u (t) = [x u (t),y u (t)] represents the coordinates of the drone, and the corresponding height is fixed as H u Due to the speed limit of the drone, its moving distance between two adjacent time slots is D max is bounded, so we have:

[0063]

[0064] The energy supply of the drone is provided by laser charging, which enables the drone to fly continuously in the air to provide continuous wireless services. We use the standard log-normal shadow model to calculate the power attenuation. In addition, our application scenario (rural area) and the flexibility of the drone make it reasonable for line-of-sight (LoS) transmission to dominate the downlink channel. The power attenuation (in dB) of line-of-sight transmission between the drone and user n is expressed as:

[0065]

[0066] Where G is the antenna gain of the UAV, χ LoS and ψ LoS Represent the path loss index and shadowing component respectively, LFS (d0) = 20log(4πd0f CF / c) represents the free space path loss, c is the speed of light, d0 is the reference distance in free space, and f CF is the carrier frequency, d n (t) is the distance between the drone and user n, and the calculation formula is:

[0067]

[0068] Similarly, the power attenuation (in dB) of non-line-of-sight (NLoS) transmission between the drone and user n is calculated as follows:

[0069]

[0070] The channel matrix is ​​composed of the complex matrix Indicates that the bandwidth allocated to user n is w n (t), for simplicity, the transmission power is uniformly distributed among the users, let P represent the total power of the UAV, then the downlink rate of user n can be calculated as follows:

[0071]

[0072] in is the identity matrix, N0 represents the noise spectral density, and for large-scale MIMO transmission, H diag (t) = H(t)H H (t) is a diagonal matrix, where the entries on the main diagonal represent power attenuation. When considering small-scale fading, due to the existence of line-of-sight transmission, the channel model adopts Rice fading. According to the properties of Rice fading, the matrix H diag (t) term h diag (t) can be constructed from the absolute square of a complex number, where the real and imaginary parts are normal random variables with the same variance and nonzero mean. E[h diag (t)]=b 2 +λ 2 ,in and According to this, the variance of the corresponding real and imaginary parts is λ 2 / 2, the means are bcosθ and bsinθ respectively, θ is an arbitrary real number, on the other hand, the minimum data rate of each user should be guaranteed, otherwise it will cause transmission interruption. Similarly, we set a threshold ρ for the signal-to-noise ratio (SNR) th , therefore, the following inequality should be satisfied:

[0073]

[0074] In addition, the total bandwidth of the drone is denoted by B, so the following inequality should be satisfied:

[0075]

[0076] Since the present invention takes power consumption failure into consideration, taking a smartphone as an example, its heat transfer model is as follows:

[0077] For smartphone chips, m c (Unit: g) and c chip (Unit: J / kg·K) represent its mass and specific heat capacity respectively. The heat generated by chip operation is transferred to the back cover of the smartphone (SBP) through the heat sink of the smartphone. L (Unit: mm) and A (Unit: cm 2 ) represents the length and area of ​​the heat sink, and the corresponding thermal conductivity is recorded as k1 (unit: W / m·K). In addition, k2 (unit: W / m·K) is the thermal conductivity of SBP, D (unit: mm) represents its thickness, and h air (Unit: W / m 2 K) represents the convection heat transfer coefficient of air. The heat generation power of the chip in user n can be calculated by the following formula:

[0078]

[0079] in and Represent the power consumption of AP and BP respectively, Indicates the power consumption of basic functions of smartphones, represents the heat generation power of the low noise amplifier (LNA). In addition, λ represents the ratio of heat transferred from the LNA to the chip. Therefore, the BP power consumption of user n is calculated as:

[0080]

[0081] KBP specifies the number of logic operations required for data processing for each received bit, FBP represents the number of loaded logic gates in BP, and the activity factor of the transistor in BP is represented by α1, I c It is the immaturity of semiconductor technology. Similarly, the power consumption of AP is given by the following formula:

[0082]

[0083] Where K AP 、F AP and α2 is the K of AP BP 、F BP and a copy of α1, Furthermore, we can calculate the power consumption of basic system operations as:

[0084]

[0085] in is the SBP temperature, indicating that the smartphone and the surrounding environment are in thermal equilibrium, T env is the ambient temperature, and It can be calculated as follows:

[0086]

[0087] Where P LNA and η is the power of the LNA and its efficiency, so, After working for a period of time τ, the end temperature of SBP can be calculated by the following formula:

[0088]

[0089] in T start represents the temperature at the beginning of period τ.

[0090] make represents the SBP temperature of user n in time period t, when Exceeding the thermal limit T predefined to protect the user from low temperature burns safe When the chip frequency will be reduced to reduce the SBP temperature, the following function can indicate the status of the user n:

[0091]

[0092] in Indicates that the SBP temperature of user n exceeds the thermal limit in time period t, otherwise, J(Δ n (t))=0.

[0093] For smartphone chips, power consumption is related to chip frequency, so it is important to note that K BP R n (t) and K AP R n (t) (in equations (9) and (10), respectively) represents the number of logical operations per second and is related to the chip frequency. Therefore, when the chip frequency meets the data processing requirements, (9) and (10) should be used. In the case of overheating, the smartphone can reduce the frequency, thereby reducing the logical operation capacity, which will cause the PCO to indicate that there are not enough computing resources available (also known as computing overload) to process the received data, as long as the data rate remains unchanged. From (13), it should be noted that the SBP temperature is related to the heat generation power. is closely related, the latter further depends on the data rate R n (t), inspired by the above correlation, we can actively reduce the R n(t), thereby reducing the corresponding SBP temperature to mitigate the adverse effects of PCO. Based on equation (13), in time period t, if the following inequality is satisfied, the SBP temperature of user n can be reduced:

[0094]

[0095] Therefore, the following inequality should be satisfied:

[0096]

[0097] The above inequality shows that the data rate of overheated users should be limited to meet the thermal power limit. Therefore, inequality (16) is very important in the case of PCO impact, so the optimization problem of the drone scenario is expressed as:

[0098]

[0099] The restriction expressed in equation (16) can release part of the bandwidth resources of overheated users. Combined with the adaptive trajectory design of drones, the performance of non-overheated users with low data rates can be improved. Therefore, problem P1 aims to maximize the total throughput of multiple users. In addition, bandwidth allocation and drone trajectories not only affect the current total throughput, but also the SBP temperature, thereby affecting the total throughput in the future. Therefore, long-term average is applicable to the objective function of the above problem. To solve the above problem, we will present the proposed solution consisting of ESN-based prediction and DRL-based optimization in the following section.

[0100] Considering the mobility of users, we propose a prediction algorithm based on ESN, which is a special type of neural network. Figure 2 The structure of ESN is shown. The ESN prediction module includes an input layer, a storage pool, and an output layer. Its hidden layer consists of sparsely connected neurons. The input of ESN is the coordinate vector u in (t)=[q1(t),q2(t),…,q N (t)] T represents the location information of the user at time slot t, and the predicted location information of the next time slot is the corresponding output, denoted as y out (t) = [q p,1 (t),q p,2 (t),…,q p,N (t)] T The number of neurons in the storage pool is denoted by N res Represented by, the state vector storing the neuron is Indicates that the update is as follows:

[0101] x res (t) = (1-αl )x res (t-1)+α l tanh(W in u in (t)+W res x res (t-1)), (17)

[0102] where α l ∈(0,1] is to ensure that x res (t) is the leakage rate for smoothing updates and tanh(·) is the activation function. represents the weight matrix between the storage pool and the input layer, is the weight matrix between the reservoir neurons themselves, W in and W res are not trainable, i.e., they are randomly generated at network initialization and remain unchanged throughout the training phase. In addition, the output of the ESN network is calculated as follows:

[0103] y out (t) = W out [u in (t); x res (t)], (18)

[0104] where [u in (t); x res (t)] is the vector u in (t) and x res (t) in vertical series, is the weight matrix between the output layer and the storage pool and is the only trainable parameter. Therefore, the ESN network is trained to minimize the following cost function:

[0105]

[0106] W out The nth row of out,n , ||·|| represents the Euclidean norm, δ||w out,n || 2 is the Tikhonov regularization term to avoid overfitting, δ is the regularization parameter, and y target,n (t) represents the actual position information vector y target The nth element of (t), the optimal weight matrix Through ridge regression, we get the following:

[0107]

[0108] where Y target ∈R 2N×T and They are respectivelytarget (t) and [u in (t); x res (t)], in the specific implementation, we Figure 3 The ESN-based prediction process is described in . Note that the initial data before time slot g is not used to calculate Because they may be x res (0)Pollution.

[0109] For the DRL decision optimization module, due to the dynamics of SBP temperature and drone trajectory, MDP is used to describe problem P1. Naturally, we use DRL to solve the problem. The agent is integrated into the drone. Let q p (t) = y out (t) represents the output of the prediction algorithm based on ESN, which indicates the predicted location information of the user in the next time slot. Therefore, the state of time slot t can be expressed as s t =[q p (t),H diag (t),T sur (t)].

[0110] According to problem P1, the agent decides action q in time period t u (t+1) and w(t), to satisfy constraint (1), we use d(t)(0≤d(t)≤D max ) represents the moving distance of the drone between two adjacent time slots, and the corresponding moving angle in the horizontal plane is represented by ξ(t) (0<ξ(t)≤2π), so we can redesign the action vector as a t =[d(t),ξ(t),w(t)], so q u (t+1) can be calculated as follows:

[0111] x u (t+1)=x u (t)+d(t)*cos(ξ(t)), (21)

[0112] y u (t+1)=y u (t)+d(t)*sin(ξ(t)). (22)

[0113] To satisfy constraint (6), the neural network can directly limit its output on bandwidth allocation to the threshold indicated in (6). To optimize the long-term expected total throughput, the reward function should contain In addition, we should also satisfy (7) and (16). To this end, we take the following penalty measures:

[0114]

[0115]

[0116] The above penalties are used to quantify violations of constraints (7) and (16). If these constraints are satisfied, they are zero, otherwise they are positive. The agent can add penalties to the reward function to learn not to violate the constraints. Therefore, the immediate reward can be expressed as:

[0117]

[0118] in and is the penalty weight. In addition, the deep Q network (DQN) is a traditional choice for solving the MDP problem through DRL. However, DQN realizes learning by calculating the Q values ​​of all actions, which is not suitable for the continuous action space in the present invention. As a solution, we use the NAF algorithm to overcome the above shortcomings. NAF directly obtains the action corresponding to the maximum Q value. Specifically, the advantage function A(s,a) and the state value function V(s) are used to calculate the Q value. A(s,a) is constructed in the form of a quadratic function:

[0119] Q(s,a|v)=A(s,a|v)+V(s|v), (26)

[0120]

[0121] where v represents the set of weights and biases of the fully connected neural network (FCNN), and P(s|v) in (27) is obtained by the equation P(s|v) = L(s|v)L(s|v) T The calculated positive definite matrix, L(s|v), is a lower triangular matrix consisting of a portion of the FCNN output, so the FCNN output consists of the following three parts:

[0122] 1) State value function V(s|v);

[0123] 2) Vectors related to actions

[0124] 3) The vector L0(s|v) forms L(s|v).

[0125] Since the Q value is a quadratic function of action a, we can choose As the action when the state is s. In this case, the corresponding Q value is the maximum value of the current network. On this basis, we add Figure 4 The NAF process of problem P1 in Algorithm 2 can be described as follows: and T max Indicates the number of time slots and the maximum number of training sets per episode.

[0126] In summary, the present invention provides a communication drone path planning and bandwidth allocation method that takes power consumption failure into consideration. The digital twin model on the server is used to replicate the state changes of the real physical environment, and the ESN prediction module is used to predict the user's location changes. At the same time, while avoiding power consumption failures caused by computing overload of the user's smart terminal, drone path planning and bandwidth allocation are realized, effectively meeting the dynamic control needs of drone communication scenarios and achieving optimal allocation of resources.

[0127] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A communication UAV path planning and bandwidth allocation method considering power consumption failure, It is characterized in that The following steps are involved: S1. Construct a physical environment based on real physical entities in the application scenario, where the real physical entities include drones, user smart terminals, and fixed objects in the scenario; the drones obtain information from each user smart terminal and synchronize the scenario data to a central server; S2: The central server builds a digital twin model based on the physical environment obtained in step S1 and implements the status update of the scene data; S3: A trained machine learning model is set in the central server, including an ESN prediction module and a DRL decision optimization module. The ESN prediction module obtains the scene data after the state is updated from the digital twin model and predicts the location information of the user smart terminal in the next time slot; the DRL decision optimization module implements drone path planning and bandwidth allocation according to the location information of the user smart terminal in the next time slot predicted by the ESN prediction module; The ESN prediction module includes an input layer, a storage pool and an output layer. It is assumed that there are N user intelligent terminals in the physical environment. The input vector u of the input layer in (t) is the current location information of N user intelligent terminals, and the output vector y of the output layer out (t) is the position prediction information of N user intelligent terminals in the next time slot; the state vector of the storage pool is Indicates, and in accordance with: x res (t)=(1-α l )x res (t-1)+α l tanh(W in u in (t)+W res x res (t-1)) Update, where: α l ∈(0,1] is to ensure that x res (t) is the leak rate for smooth updates, tanh(·) is the activation function, represents the weight matrix between the storage pool and the input layer, is the weight matrix between the memory pool neurons themselves, W in and W res It is randomly generated when the network is initialized and remains unchanged throughout the training phase. res is the number of neurons in the storage pool; The output layer is based on y out (t) = W out [u in (t); x res (t)] determines the output vector, where: [u in (t); x res (t)] represents the vector u in (t) and x res (t) is a vertical series connection, It is the weight matrix between the output layer and the storage pool, and is determined by learning and training; When learning and training the ESN prediction module, the training objective function is: Where: W out The nth row of out,n , ||·|| represents the Euclidean norm, δ||w out,n || 2 is the Tikhonov regularization term to avoid overfitting, δ is the regularization parameter, and y target,n (t) represents the actual position information vector y in the training sample target The nth element of (t), y out,n (t) is the output vector y out The nth element of (t), T is the length of the training sample time slot, and the optimal weight matrix It is obtained through ridge regression, as follows: where Y target ∈R 2N×T and They are respectively target (t) and [u in (t); x res (t)], where I is the identity matrix; The state information received by the DRL decision optimization module at time slot t is: s t =[q p (t),H diag (t),T sur (t)] Where: q p (t) is the location prediction information of N user intelligent terminals output by the ESN prediction module, H diag (t) = H(t)H H (t) is a diagonal matrix, the entries on the main diagonal represent the power attenuation, is the channel matrix in complex form; H H (t) is the conjugate transposed matrix of the channel matrix H(t); N Rx is the number of user intelligent terminal antennas, N Tx is the number of drone antennas, T sur (t) is the device temperature of the user’s smart terminal; And according to question P 1 Make a decision action q u (t+1) and w(t), where the problem P 1 Defined as: subject to(1),(6),(7)and (16) q u (t+1) represents the coordinate position of the drone in the next time slot, w(t) represents the bandwidth of the smart terminal allocated to each user in the current time slot, R n (t) represents the downlink rate of the nth user intelligent terminal in the current time slot; the specific constraints are: Condition (1): The moving distance of the drone between two adjacent time slots is less than or equal to the preset threshold D max ; Condition (6): w n (t) represents the bandwidth allocated to the nth user intelligent terminal, P represents the total power of the UAV, N 0 represents the noise spectral density, ρ th is the preset signal-to-noise ratio threshold, det() represents the calculation of the matrix determinant; Condition (7): The sum of the bandwidths allocated to each user's smart terminal is less than or equal to the total bandwidth of the drone; Condition (16): in, It represents the chip heating power of the nth user intelligent terminal in the current time slot. Represents the state function of the nth user intelligent terminal, state variable is the device temperature of the nth user’s smart terminal, T safe (t) is the thermal limit value of the user's intelligent terminal; h air Represents the convection heat transfer coefficient of air, unit: W / m 2 K, A represents the radiator area, in cm 2 , T env Indicates the ambient temperature; In order to satisfy condition (1), use d(t), 0≤d(t)≤D max represents the moving distance of the UAV between two adjacent time slots, and the corresponding moving angle in the horizontal plane is represented by ξ(t), 0<ξ(t)≤2π, then q u (t+1)=(x u (t+1),y u (t+1)) According to: x u (t + 1)=x u (t)+d(t)*cos(ξ(t)), y u (t + 1)=y u (t)+d(t)*sin(ξ(t)) determined; The DRL decision optimization module is provided with a reward function for optimizing the long-term expected total throughput, and the reward function is: in: and is the penalty weight; Penalty Variable B is the total bandwidth of the drone; Penalty Variable 2. According to the communication drone path planning and bandwidth allocation method considering power consumption failure according to claim 1, It is characterized in that The DRL decision optimization module uses the Normalized Advantage Functions (NAF) algorithm in deep reinforcement learning to calculate the action corresponding to the maximum Q value as the UAV path planning and bandwidth allocation decision result.

3. The communication drone path planning and bandwidth allocation method considering power consumption failure according to claim 1, It is characterized in that The chip heating power of the nth user intelligent terminal in the current time slot is as follows: Calculate, where: in and Represent the power consumption of application processor and baseband processor respectively, Indicates the power consumption of basic functions of smart terminal equipment. It represents the heat generation power of the low noise amplifier (LNA), and λ represents the ratio of heat transferred from the low noise amplifier to the chip.

4. The communication drone path planning and bandwidth allocation method considering power consumption failure according to claim 1, It is characterized in that Matrix H diag (t) term h diag (t) satisfies E[h diag (t)]=b 2 +λ 2 ,in: represents the power attenuation of line-of-sight transmission between the UAV and user n, represents the power attenuation of non-line-of-sight transmission between the UAV and user n.