Optical link data transmission method for maritime UAV based on multi-agent reinforcement learning
Through multi-agent reinforcement learning technology, UAVs and underwater autonomous vehicles are used to form optical communication links in the ocean environment, which solves the problem of low ocean data transmission efficiency and achieves stable data transmission and performance under sea wind interference. Consumption is reduced.
Patent Information
- Application Number
- CN202311668991.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-07
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-12-07
AI Technical Summary
The existing ocean monitoring communication system has high cost and low efficiency in harsh ocean environments, and the fixed deployment of sensor nodes lacks flexibility, making it difficult to achieve high-quality, long-distance, and reliable ocean data transmission.
Adopt a maritime UAV optical link data transmission method based on multi-agent reinforcement learning, use underwater autonomous vehicles and unmanned surface vessels as central base stations, and form optical communication links through radio frequency guidance UAVs to collaboratively make action decisions and maintain stable connections to achieve data transmission.
The UAV cluster can cooperate to resist disturbances under sea breeze interference, maintain stable optical communication links, improve communication performance and data transmission reliability, reduce energy consumption, and extend service time.
Smart Images

Figure CN117856903B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of wireless communications for ocean monitoring, and in particular relates to a method for optical chain data transmission of an unmanned aerial vehicle at sea based on multi-agent reinforcement learning. Background Art
[0002] The combination of next-generation 6G wireless technology and integrated air-space-ground-sea networks is an important research trend. Following this direction, auxiliary communication systems based on hovering drones have great potential to realize various applications such as maritime search and rescue, computational offloading, and drone cluster communication coverage as mobile base stations. At present, people are increasingly active in the observation, acquisition, and utilization of marine resources. There is an urgent need to develop reliable and robust communication systems in harsh marine environments to accelerate the exploration of the ocean. However, existing satellite-dominated communication methods have problems such as high cost and difficulty in implementation; fixedly deployed sensor nodes have the characteristics of lack of flexibility and low efficiency. In order to solve this problem, it is of great significance to establish high-quality, long-distance, and reliable transmission links to transmit marine data collected by underwater sensor networks to offshore or onshore base stations.
[0003] In recent years, UAVs and free-space optical communication technologies have developed rapidly. On the one hand, UAVs have strong maneuverability and flexibility, especially quadrotors, which have good hovering capabilities. In addition, UAVs equipped with sensors and communication equipment can act as repeaters to establish communication between two independent nodes. On the other hand, compared with other communication technologies, free-space optical communication technology has the advantages of fast deployment, no spectrum license, strong security and confidentiality, high bandwidth, low energy consumption and high data rate. This communication method makes it possible to quickly transmit large amounts of ocean data. Therefore, multi-hop free-space optical communication with UAVs as relays has become a promising solution for transmitting ocean data. Summary of the invention
[0004] In view of the above-mentioned technical problems existing in the prior art, the present invention proposes a method for transmitting optical chain data of marine UAV based on multi-agent reinforcement learning, which has a reasonable design, overcomes the shortcomings of the prior art and has good effects.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] A method for transmitting optical link data of a maritime UAV based on multi-agent reinforcement learning, using an underwater autonomous vehicle and an unmanned surface vessel, with the unmanned surface vessel serving as a central base station, specifically comprising the following steps:
[0007] Step 1: Multiple drones are guided to their respective deployment areas through radio frequency, forming a long chain and establishing a preliminary optical communication connection;
[0008] Step 2: The drone sends its own observation status to the central base station via radio frequency signals. The central base station receives the observation information of all drones and performs coordinated operations, thereby autonomously completing action decisions and maintaining a stable optical communication connection.
[0009] Step 3: The central base station sends the action decision to each drone via radio frequency signals, and all drones coordinate to make corresponding actions to stabilize their flight status and maintain a stable optical communication connection;
[0010] Step 4: The optical link of the offshore drones performs data transmission. By repeating steps 2 to 3, the drones work together to resist the disturbance of the sea breeze and maintain stable data transmission in real time.
[0011] Preferably, the specific process of step 1 is:
[0012] A drone swarm Where N is the number of drones, i∈N represents the number of drones in the cluster, multiple drones establish connections with the central base station through radio frequency signals, and are guided to their respective deployment areas to form a long chain; multiple drones include chain head drones, relay drones and chain tail drones; optical communication connections are established between the chain head drone and the underwater autonomous vehicle, between the relay drones, and between the chain tail drone and the unmanned surface vessel; the underwater autonomous vehicle, as the starting node, sends the collected data to the first drone through optical communication, and then the first drone sends the data to the second drone, and continues this process until the Nth drone sends the data to the unmanned surface vessel; the drone, as a relay node, takes into account the roles of both receiver and transmitter. The photodiode equipped on the drone first converts the received optical signal into an electrical signal, and then implements decoding and forwarding relaying. Finally, the laser diode converts the electrical signal into an optical signal and transmits it to the next node;
[0013] Optical / RF hybrid communication is used to achieve information sharing between drone clusters. Optical communication is mainly used to transmit collected data, while RF is used for auxiliary communication, transmitting necessary status information and control commands, such as drone positioning and task assignment commands. In the marine environment, the unmanned surface vessel acts as a central base station, responsible for receiving information from all deployed drones and controlling them through control commands to achieve environmental adaptive control.
[0014] Preferably, in step 2, the flight state of the quad-rotor drone is affected by multiple factors; among them, sea breeze, as the main influencing factor, will cause the position of the drone to drift, thereby affecting the communication performance of the drone optical link; therefore, in the face of environmental interference such as sea breeze, the drone will send its own observation state to the central base station through a radio frequency signal, and then autonomously complete the action decision and maintain a stable optical communication connection; the state space of the i-th drone is si =(q i , v i , w i ,φ i ), where q i =(x i ,y i , z i ) represents the position of the UAV, which is obtained by combining the global positioning system and real-time kinematic technology with the help of the unmanned surface vessel as a base station; represents the motion of the modeled drone, Indicates the translation speed of the drone along the X, Y and Z axes; the drone is also equipped with an air speed sensor. It represents the wind speed measured by the drone in the X, Y and Z axis directions; φ represents the angle between the connecting line between adjacent drones and the beam direction;
[0015] The behavior decision of the drone is only related to the current state of the environment, and each drone cannot obtain all the information about the environment. i It represents the partial observation information obtained by the i-th UAV from the global state. At the same time, the action of each UAV at a certain moment is determined by its current state and the current state of the adjacent UAVs. Therefore, the UAV sends its own state to the adjacent UAVs through the radio frequency communication network. As an intelligent agent, the information that the UAV can observe is expressed as:
[0016]
[0017] o i It consists of three parts, namely the relative position of the i-th UAV and the i-1-th UAV, i.e., q i-1 -q i , the relative position of the i-th UAV to the reference position is And the relative position of the i-th UAV and the i+1-th UAV is q i+1 -q i ; where the reference position Indicates the position of the i-th UAV that meets the minimum bit error rate requirement of the optical link:
[0018]
[0019] Among them, x s , x e The X coordinates of the chain head and chain tail drones are respectively, and the y s ,y e Represents the Y coordinates of the chain head and chain tail drones, z i Indicates the flight altitude of the drone.
[0020] Preferably, in step 3, the central base station uses a multi-agent deep deterministic policy gradient algorithm to make action decisions, and the action set of the drone is expressed as in represents the driving control signal of the i-th UAV. The action decision must satisfy the following quadrotor UAV position dynamics:
[0021]
[0022] Where m is the mass of the drone; represents the actual speed change; g represents the gravitational acceleration; e is the transformation matrix; F w represents the aerodynamic force due to wind and is calculated by the following formula:
[0023] F w =2ρM||vw||(vw) (4);
[0024] Among them, ρ represents the air density; M is the propeller area; v is the UAV speed; and w represents the wind speed.
[0025] Preferably, in step 3, after executing an action, a reward function r is set i as follows:
[0026] r i =c1·r A +c2·r B +r C (5);
[0027] Among them, c1 and c2 are hyperparameters to balance the importance between individual and collective rewards, r C Represents the energy-related reward; it plays a role in saving energy. Under the influence of the sea breeze, in order to better meet the communication requirements of the optical link of the UAV, the overall reward of the agent is designed as the sum of the individual reward and the collective reward to better evaluate the behavioral decision of each UAV;
[0028] Individual Reward A : The distance between the current position of the drone and the reference position represents the personal reward of the drone; the larger the distance, the greater the negative reward obtained by the agent; the personal reward helps the drone to quickly approach the target reference position under wind interference and stabilize at the reference position; r A It is expressed as:
[0029]
[0030] Among them, ||·|| is called the Euclidean norm;
[0031] Collective Rewards B : Using BER EAs a collective reward for all drones that make up the optical communication link, BER E The lower it is, the greater the positive rewards all agents receive, and the collective reward r B It is expressed as:
[0032] r B =-ln(BER E ) (7);
[0033] Among them, BER E is the bit error rate;
[0034] The goal of each drone is to maximize its expected cumulative discounted reward as follows:
[0035]
[0036] Here, γ is the discount factor.
[0037] Preferably, in step 3, after the central base station obtains the reward returned by the drone, it needs to continuously update the network parameters. Four neural networks are used in each agent: a policy network A strategic target network A rating network An evaluation target network where δ i ,δ′ i , w i and w′ i are the network parameters respectively;
[0038] The policy network is responsible for interacting with the environment and making behavioral decisions based on the current state; the update strategy of the policy network is as follows:
[0039]
[0040] in, is the experience replay buffer, which is used to store tuples (X, X′, a1, …, a N , r1,…,r N ); X = (o1, ..., o N ) represents the cascade of all agent observations; X′ represents the next state after completing the action;
[0041] The evaluation network is used to help the decision network judge the quality of the action. It uses the joint observation X and the joint action (a1, ..., a N ) as input, with Q i As output, the evaluation network is updated according to the following loss function:
[0042]
[0043]
[0044] The target network is used to reduce the instability of training. The parameters of the target network are updated using the soft update method, as shown in formula (12):
[0045]
[0046] Where τ is the soft update factor.
[0047] Preferably, in step 4, after a round of update is completed, the following optimization process is performed to better meet the data transmission requirements:
[0048] Step 4.1: Calculate the bit error rate BER of the entire link E for:
[0049]
[0050] The bit error rate of the i-th link is given by BER(d i ,φ i ) indicates that d is the Euclidean distance between two adjacent drones;
[0051] Step 4.2: The total energy consumption of all drones within time T is expressed as:
[0052]
[0053] Among them, P n represents the energy consumption of a single UAV; v(t) represents the speed in time slot t; T represents the number of time slots; N represents the total number of UAVs.
[0054] Beneficial technical effects brought by the present invention:
[0055] The present invention establishes a UAV optical communication link based on a UAV cluster, making full use of the maneuverability of UAVs and the characteristics of optical communication such as strong security, high bandwidth and low energy consumption, providing the possibility of establishing communication between underwater autonomous vehicles and unmanned surface vessels, which is conducive to the rapid acquisition of large amounts of ocean data by marine base stations.
[0056] The present invention utilizes the maneuverability of drones to resist sea breeze interference and collaboratively maintain the stability of optical links; based on a new method of multi-agent reinforcement learning, a drone cluster consisting of multiple drones can maximize the performance of communication links through collaboration while reducing energy consumption; in addition, sea breeze disturbances are taken into account to ensure the reliability of end-to-end communication; compared with the method based on independent deep deterministic policy gradient (IDDPG), the present invention achieves a more stable communication link and lower energy consumption through collaboration among drones; in this solution, multiple drones control their own states in real time under complex wind fields, maintain stability through collaboration, and dynamically maintain the reliability of optical links, thereby maximizing communication performance and achieving reliable end-to-end optical communication, while being able to reduce energy consumption and thus extend service time. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 This is a schematic diagram of the optical communication link based on the UAV of the present invention.
[0058] Figure 2 It is a schematic diagram of the optical chain of the offshore UAV of the present invention in a wind field environment.
[0059] Figure 3 Schematic diagram of the average reward convergence based on the multi-agent reinforcement learning algorithm in the simulation experiment of the present invention.
[0060] Figure 4 is the BER of the end-to-end optical communication link under different wind speeds and different numbers of agents in the simulation experiment of the present invention E Comparison chart.
[0061] Figure 5 BER of the end-to-end optical communication link under different wind speeds and beam widths in the simulation experiment of the present invention E Comparison chart.
[0062] Figure 6 This is a comparison chart of link maintenance time under different wind speeds based on MADDPG and IDDPG algorithms in the simulation experiment of the present invention.
[0063] Figure 7 This is a comparison chart of energy consumption based on MADDPG and IDDPG algorithms in the simulation experiment of the present invention. DETAILED DESCRIPTION
[0064] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0065] In the present invention, multiple drones control their own states in real time under complex wind fields, maintain stability through collaboration, and dynamically maintain the reliability of optical links, thereby maximizing communication performance, achieving reliable end-to-end optical communication, and reducing energy consumption. First, the problem is modeled as a partially observed Markov decision process (POMDP). Then, a learning algorithm based on Multi Agent Deep Deterministic Policy Gradient (MADDPG) is proposed to find the optimal strategy.
[0066] The main process of the method of the present invention is: multiple drones are guided to their respective deployment areas through radio frequency to form a long chain and establish a preliminary optical communication connection; in the face of environmental interference such as sea breeze, the drone sends its own observation status to the central base station through radio frequency signals, and the central base station receives the observation information of all drones and performs coordinated operations; the central base station sends the action decision to each drone through radio frequency signals, and all drones coordinately make corresponding actions to stabilize their own flight status and maintain a stable optical communication connection; the optical chain of offshore drones transmits data, and the drones coordinate to resist the disturbance of sea breeze and maintain stable data transmission in real time.
[0067] The detailed steps of the present invention are as follows:
[0068] Step 1: Multiple drones are guided to their respective deployment areas via radio frequency, forming a long chain and establishing a preliminary optical communication connection.
[0069] like Figure 1 As shown, a drone swarm Where N is the number of drones, and i∈N represents the number of drones in the cluster. Multiple drones establish connections with the central base station through radio frequency signals and are guided to their respective deployment areas to form a long chain. Among them, optical communication connections are established between the chain head drone and the underwater autonomous vehicle, between the relay drones, and between the chain tail drone and the unmanned surface vessel. The underwater autonomous vehicle, as the starting node, sends the collected data to the first drone through optical communication, and then the first drone sends the data to the second drone, and continues this process until the Nth drone sends the data to the unmanned surface vessel. The drone acts as a relay node, taking on the roles of both receiver and transmitter. The photodiode equipped on the drone first converts the received optical signal into an electrical signal, and then implements decoding and forwarding relaying. Finally, the laser diode converts the electrical signal into an optical signal and transmits it to the next node.
[0070] This method uses optical / RF hybrid communication to achieve information sharing between drone clusters. Optical communication is mainly used to transmit collected data, while RF is used for auxiliary communication, transmitting necessary status information and control commands, such as drone positioning and task assignment commands. In the marine environment, the unmanned surface vessel acts as a central base station, responsible for receiving information from all deployed drones and controlling them through control commands to achieve environmental adaptive control.
[0071] Step 2: In the face of environmental interference such as sea breeze, the drone sends its own observation status to the central base station via radio frequency signals. The central base station receives the observation information of all drones and performs coordinated operations.
[0072] like Figure 2 As shown in the figure, the flight status of a quadcopter is affected by many factors. Among them, sea breeze, as the main influencing factor, will cause the position of the drone to drift, thereby affecting the communication performance of the drone's optical link. Therefore, in the face of environmental interference such as sea breeze, the drone will send its own observation status to the central base station through radio frequency signals, and then autonomously complete action decisions and maintain a stable optical communication connection.
[0073] The state space of the i-th drone is s i =(q i , v i , w i ,φ i ), where q i =(x i ,y i , z i ) represents the position of the UAV, which is obtained by combining the global positioning system and real-time kinematic technology with the help of the unmanned surface vessel as a base station; represents the motion of the modeled drone, Indicates the translation speed of the drone along the X, Y and Z axes; the drone is also equipped with an air speed sensor. It represents the wind speed measured by the UAV in the X, Y and Z axis directions; φ represents the angle between the line connecting adjacent UAVs and the beam direction.
[0074] The behavior decision of the drone is only related to the current state of the environment, and each drone cannot obtain all the information about the environment. i represents the partial observation information obtained by the ith UAV from the global state. At the same time, the action of each UAV at a certain moment is determined by its current state and the current state of the adjacent UAVs. Therefore, the UAV sends its own state to the adjacent UAVs through the RF communication network. As an intelligent agent, the information that the UAV can observe is expressed as:
[0075]
[0076] It consists of three parts: the relative position of the ith UAV and the i-1th UAV, the relative position of the ith UAV and the reference position, and the relative position of the ith UAV and the i+1th UAV. Indicates the position of the i-th drone that meets the minimum bit error rate (BER) requirement of the optical link:
[0077]
[0078] Among them, x s , x e The X coordinates of the chain head and chain tail drones are respectively, and the y s ,y e Represents the Y coordinates of the chain head and chain tail drones, z i Indicates the flight altitude of the drone.
[0079] Step 3: The central base station sends the action decision to each drone via radio frequency signals, and all drones coordinate to make corresponding actions to stabilize their own flight status and maintain a stable optical communication connection.
[0080] The central base station uses a multi-agent deep deterministic policy gradient algorithm to make action decisions, and the drone's action set is represented as in represents the driving control signal of the i-th UAV. The action decision must satisfy the following quadrotor UAV position dynamics:
[0081]
[0082] Where m is the mass of the drone; represents the actual speed change; g represents the gravitational acceleration; e is the transformation matrix; F w represents the aerodynamic force caused by wind and can be calculated by the following formula:
[0083] F w =2ρM||vw||(vw) (4);
[0084] Among them, ρ represents the air density; M is the propeller area; v is the UAV speed; and w represents the wind speed.
[0085] Furthermore, in step 3, after executing an action, the reward function is set as follows:
[0086] r i =c1·r A +c2·r B +r C (5);
[0087] Among them, c1 and c2 are hyperparameters to balance the importance between individual and collective rewards, r C It plays a role in saving energy. Under the influence of sea breeze, in order to better meet the communication requirements of the optical link of the UAV, the overall reward of the agent is designed as the sum of individual and collective rewards to better evaluate the behavioral decision of each UAV.
[0088] Individual Reward A : The distance between the current position of the drone and the reference position represents the personal reward of the drone. The larger the distance, the greater the negative reward the agent receives. The personal reward helps the drone to quickly approach the target reference position under wind disturbance and stabilize at the reference position. A It is expressed as:
[0089]
[0090] where ||·|| is called the Euclidean norm.
[0091] Collective Rewards B : Using BER E As a collective reward for all drones that make up the optical communication link. E The lower it is, the greater the positive reward all agents receive. The collective reward r B It is expressed as:
[0092] r B =-ln(BER E ) (7);
[0093] The goal of each drone is to maximize its expected cumulative discounted reward as follows:
[0094]
[0095] Here, γ is the discount factor.
[0096] Furthermore, in step 3, after the central base station receives the reward returned by the drone, it needs to continuously update the network parameters. Four neural networks are used in each agent: a policy network A strategic target network A rating network An evaluation target network where δ i ,δ′ i , w i and w′ i are network parameters respectively.
[0097] The policy network is responsible for interacting with the environment and making behavioral decisions based on the current state. The update strategy of the policy network is as follows:
[0098]
[0099] in, is the experience replay buffer, which is used to store tuples (X, X′, a1, …, a N , r1,…,r N ); X = (o1, ..., o N ) represents the cascade of all agent observations; X′ represents the next state after completing the action. The experience replay mechanism can break the correlation between samples and improve sample efficiency.
[0100] The evaluation network is used to help the decision network judge whether an action is good or bad. Different from the traditional single agent, it uses joint observation X and joint action (a1, ..., a N ) as input, with Q i is the output. The evaluation network can be updated according to the following loss function:
[0101]
[0102]
[0103] The target network is used to reduce the instability of training. The parameters of the target network are updated using the soft update method, which can be written as:
[0104]
[0105] Where τ is the soft update factor.
[0106] Step 4: The optical link of the offshore drones performs data transmission. By repeating steps 2-3, the drones work together to resist the disturbance of the sea breeze and maintain stable data transmission in real time.
[0107] After a round of updates is completed, the following optimization process is performed to better meet the data transmission requirements:
[0108] Step 4.1: Calculate the bit error rate BER of the entire link E for:
[0109]
[0110] The bit error rate of the i-th link is given by BER(d i ,φ i ) indicates that d is the Euclidean distance between two adjacent drones;
[0111] Step 4.2: The total energy consumption of all drones within time T can be expressed as:
[0112]
[0113] Among them, P n represents the energy consumption of a single UAV; v(t) represents the speed in time slot t; T represents the number of time slots; N represents the total number of UAVs.
[0114] The main purpose of the present invention is to enable the optical chain of offshore drones to maintain stable data transmission in a wind farm environment, which requires multiple drones to adaptively complete action decisions according to the current environmental state. The simulation implementation process of the present invention is as follows:
[0115] (1) Use programming software to build a multi-agent deep reinforcement learning-based simulation system for coordinated mobile control of multiple UAVs, and obtain the optimal decision-making strategy through simulation training. The specific steps are as follows:
[0116] (1.1) Determine the state of the drone and establish an environmental model;
[0117] (1.2) Determine the initial positions and beam directions of multiple drones, and initialize algorithm parameters such as the current environmental state at time t;
[0118] (1.3) Select an action based on the current state and detected wind data and determine the adjustment speed variable;
[0119] (1.4) Execute an action in the action set a and get a reward value r i , observe the new state X′;
[0120] (1.5) Save the experience to the experience pool and randomly sample small batches of experience to train the neural network;
[0121] (1.6) Update the evaluation network parameters w by minimizing the loss function i , and perform gradient descent to update the decision network parameters δ i ;
[0122] (1.7) Soft update target evaluation network parameter w′ i and the target decision network parameter δ′ i ;
[0123] (1.8) Determine whether the bit error rate at the current moment exceeds the requirement. If not, go to (1.3); otherwise, go to (1.9);
[0124] (1.9) Determine whether the data transmission round iteration is completed. If so, terminate and output the result. Otherwise, go to (1.2);
[0125] (2) Use a multi-agent deep deterministic policy gradient-based controller to control the drone to complete the adjustment and output the action. The specific steps are as follows:
[0126] (2.1) Initialization parameters, such as decision network parameters δ i , evaluate network parameters w i and its target network parameters, experience pool Maximum round E, maximum time step T, etc.
[0127] (2.2) Perform an external round loop:
[0128] (2.2.1) Perform an internal time step loop:
[0129] (2.2.1.1) Run the multi-agent deep deterministic policy gradient algorithm and output an action in the action set a;
[0130] (2.2.1.2) Execute the action and obtain the reward value according to the reward strategy. The specific calculation method is formula (5);
[0131] (2.2.1.3) Update the evaluation network parameters w by minimizing the loss function i , the specific calculation method is formula (10)(11);
[0132] (2.2.1.4) Perform gradient descent to update the decision network parameters δ i , the specific calculation method is formula (9);
[0133] (2.2.1.5) Update the target network parameters, the specific calculation method is formula (12);
[0134] (2.2.1.6) If the data transmission time exceeds the time limit, the internal time step loop ends;
[0135] (2.2.2) If the number of steps in the external loop is reached, end the external round loop.
[0136] (2.3) Output the bit error rate and total energy consumption of the drone optical link.
[0137] The effect of the present invention can be further illustrated by the following simulation experiment:
[0138] The simulation conditions are as follows:
[0139] Four fully connected neural networks are used, each with two hidden layers of 64 units. The output layer of the evaluation network is linearly activated, and the tanh function is used to activate the output layer of the policy network to make the generated actions more consistent with the physical motion characteristics of the drone. The ReLU function is used to activate the hidden layer of the network. The algorithm is based on Python 3.6, uses Pytorch, and runs on an Nvidia 3060 processor.
[0140] Consider deploying a drone cluster in a 1000m x 1000m square area. First, multiple drones are distributed at the reference position, which is the initial position of the drone and the ideal position to maximize communication performance. The wind field data is generated by the Dryden model. The numerical settings of the relevant parameters are as follows:
[0141] Forward Error Correction Limit BER th The value is set to 3.8×10 -3 ; Total link distance Z tot The value of is set to 1000m; the value of the drone mass m is set to 5kg; the value of the drone height h is set to 50m; the value of the maximum round length T is set to 1000s; the value of the number of rounds E is set to 1000; the value of the discount coefficient γ is set to 0.95; the value of the learning rate α is set to 0.01; the value of the target network update speed τ is set to 0.01; the value of the batch size S is set to 1024; the buffer length The value of is set to 1000000.
[0142] The simulation results are as follows:
[0143] In order to verify the effectiveness of the proposed multi-agent reinforcement learning algorithm in maintaining optical links under wind disturbance, the algorithm was run 1000 times, 1000 steps each time. When the number of drones N = 5, the training results are as follows Figure 3 As shown in the figure, the horizontal axis represents the number of rounds and the vertical axis represents the average round reward of each agent. It can be seen that before round 270, the average reward of each agent increased rapidly, and after round 270, the reward gradually converged.
[0144] Based on the proposed algorithm, the communication performance of end-to-end optical links with different numbers of agents under different wind speed disturbances is tested. Figure 4 As shown, within the test time of 1000 steps, BER E It is in a relatively stable state, which can verify the effectiveness of the proposed algorithm. When the number of agents is 3, the BER of the link E At 7.1×10 -9 When the number of agents is 5, the link is 3.9×10 -11 This is mainly because the total link length is fixed and the agents are evenly deployed. The more agents there are, the shorter the communication distance between adjacent drones, resulting in a lower BER. E In addition, for the same number of agents, the higher the wind speed, the higher the BER E Finally, the BER of the optical communication link composed of 5 drones is lower than that of the link composed of 3 drones. EThe fluctuations are more obvious. This shows that the more drones there are, the more difficult it is to resist wind disturbances.
[0145] When the number of drones is 5, the BER of the end-to-end optical communication link with different wind speeds and beam widths is tested. E .from Figure 5 As can be seen from the figure, for a fixed beam width, the BER at a wind speed of 8 m / s is lower than that at a wind speed of 6 m / s. E In addition, when the beam width is 0.15 rad, the BER E At 4.2×10 -11 When the beam width is 0.2 rad, the -9 However, from the fluctuations in the figure, it can be seen that in the presence of sea breeze interference, the link with a beam width of 0.2 rad is more stable than the link with a beam width of 0.15 rad. This is mainly because the larger the beam width (i.e., the emission angle of the transmitter), the larger the coverage area of the light spot, and the smaller the impact of the receiver position drift caused by wind disturbance. However, the increase in beam width leads to a decrease in the light intensity received by the receiver. Therefore, for end-to-end optical communication links, a suitable beam width is crucial.
[0146] The wind in the atmosphere is fluid, and the wind detected by the drone will change with time and location. This requires the drone to take appropriate measures for different situations. MADDPG is a method to complete tasks between agents through collaboration. In contrast, IDDPG is a method in which agents complete their own tasks independently. For each wind speed, 30 tests were conducted, each with 1,000 steps. Figure 6 As shown in Figure 2, the average link maintenance time of the MADDPG algorithm based on 5 agents and the IDDPG algorithm under different wind speeds is compared. The link maintenance time is the average link maintenance time in 1000 steps when BER E ≠1 is the number of steps. Figure 6 It can be seen that the greater the wind speed, the shorter the average link maintenance time and the greater the standard deviation. When the wind speed is 6m / s, 8m / s, 10m / s and 12m / s, the link maintenance time based on the MADDPG algorithm is 0.99%, 5.74%, 8.96% and 24.83% higher than the link maintenance time based on the IDDPG algorithm, respectively. Since the drones maintain the link in a collaborative manner, the effect is better than when the drones work independently.
[0147] like Figure 7As shown in the figure, in the 1000-step test, the energy consumption of the five agents based on the MADDPG algorithm is significantly reduced compared with the IDDPG-based method. This is mainly because the multi-hop optical link is stabilized through the cooperation between drones, which reduces the speed and flight path of a single drone, and the energy consumption generated by resisting wind disturbances is also reduced accordingly.
[0148] The above simulation verification results show that the scheme of the present invention has good performance and can effectively ensure the reliability of optical data transmission under interference such as sea breeze while reducing energy consumption.
[0149] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.
Claims
1. A method for transmitting optical link data of unmanned aerial vehicles at sea based on multi-agent reinforcement learning, using underwater autonomous vehicles and unmanned surface vessels, with the unmanned surface vessel as the central base station, characterized in that: The specific steps include: Step 1: Multiple drones are guided to their respective deployment areas through radio frequency, forming a long chain and establishing a preliminary optical communication connection; Step 2: The drone sends its own observation status to the central base station via radio frequency signals. The central base station receives the observation information of all drones and performs coordinated operations, thereby autonomously completing action decisions and maintaining a stable optical communication connection. Step 3: The central base station sends the action decision to each drone via radio frequency signals, and all drones coordinate to make corresponding actions to stabilize their flight status and maintain a stable optical communication connection; Step 4: The optical link of the offshore drones performs data transmission. By repeating steps 2 to 3, the drones can cooperate to resist the disturbance of the sea breeze and maintain stable data transmission in real time. In step 3, the central base station uses a multi-agent deep deterministic policy gradient algorithm to make action decisions. The action set of the i-th drone is expressed as in represents the driving control signal of the i-th UAV, and the action decision satisfies the following position dynamics: Where m is the mass of the drone; a i represents the action set of the i-th drone; represents the actual speed change; g represents the gravitational acceleration; e is the transformation matrix; F w represents the aerodynamic force due to wind and is calculated by the following formula: F w =2ρM||v-w||(v-w) (4); Where ρ represents air density; M is the propeller area; v is the speed of the drone; w represents wind speed; In step 3, after executing one action, set the reward function r i as follows: r i =c1·r A +c2·r B +r C (5); Among them, c1 and c2 are hyperparameters, r C Represents the energy consumption-related reward; the overall reward of the agent is the sum of the individual reward and the collective reward; Individual Reward A : The distance between the current position of the drone and the reference position represents the personal reward of the drone; the larger the distance, the greater the negative reward the agent receives; r A It is expressed as: Among them, ‖·‖ is called the Euclidean norm; q i =(x i ,y i ,z i ) represents the position of the i-th drone; Collective Rewards B : Using BER E As a collective reward for all drones that make up the optical communication link, BER E The lower it is, the greater the positive rewards all agents receive, and the collective reward r B It is expressed as: r B =-ln(BER E ) (7); Among them, BER E is the bit error rate; The goal of each drone is to maximize its expected cumulative discounted reward as follows: Where γ is the discount factor; In step 3, after the central base station receives the reward returned by the drone, it needs to continuously update the network parameters. Four neural networks are used in each agent: a policy network A strategic target network A rating network An evaluation target network where δ i ,δ′ i , w i and w′ i are the network parameters respectively; The policy network is responsible for interacting with the environment and making behavioral decisions based on the current state; the update strategy of the policy network is as follows: in, is the experience replay buffer, which is used to store tuples (X, X′, a1, …, a N ,r1,…,r N ); X=(o1,…,o n ) represents the cascade of all agent observations; X′ represents the next state after completing the action; o i represents the partial observation information obtained by the i-th UAV from the global state; The evaluation network is used to help the decision network judge whether an action is good or bad. It uses the joint observation X and the joint action (a1,…,a N ) as input, with Q i As output, the evaluation network is updated according to the following loss function: The target network is used to reduce the instability of training. The parameters of the target network are updated using the soft update method, as shown in formula (12): Where τ is the soft update factor.
2. According to claim 1, the method for transmitting optical link data of a marine unmanned aerial vehicle based on multi-agent reinforcement learning is characterized in that: The specific process of step 1 is as follows: A drone swarm Where N is the number of drones, i∈N represents the number of drones in the cluster, and multiple drones establish connections with the central base station through radio frequency signals and are guided to their respective deployment areas to form a long chain; multiple drones include chain head drones, relay drones and chain tail drones; optical communication connections are established between the chain head drone and the underwater autonomous vehicle, between the relay drones, and between the chain tail drone and the unmanned surface vessel respectively; the underwater autonomous vehicle, as the starting node, sends the collected data to the first drone through optical communication, and then the first drone sends the data to the second drone, and continues this process until the Nth drone sends the data to the unmanned surface vessel; the drone, as a relay node, takes into account the roles of both receiver and transmitter. The photodiode equipped on the drone first converts the received optical signal into an electrical signal, and then implements decoding and forwarding relaying. Finally, the laser diode converts the electrical signal into an optical signal and transmits it to the next node.
3. The method for transmitting optical link data of a marine unmanned aerial vehicle based on multi-agent reinforcement learning according to claim 2 is characterized in that: In step 2, the state space of the i-th drone is s i =(q i ,v i ,w i ,φ i ), where q i =(x i ,y i ,z i ) represents the drone position, represents the motion of the modeled drone, Indicates the translation speed of the drone along the X, Y and Z axes; the drone is also equipped with an air speed sensor. It represents the wind speed measured by the drone in the X, Y and Z axis directions; φ represents the angle between the connecting line between adjacent drones and the beam direction; The behavior decision of the drone is only related to the current state of the environment, and each drone cannot obtain all the information about the environment. i It represents the partial observation information obtained by the i-th UAV from the global state. At the same time, the action of each UAV at a certain moment is determined by its current state and the current state of the adjacent UAVs. Therefore, the UAV sends its own state to the adjacent UAVs through the radio frequency communication network. As an intelligent agent, the information that the UAV can observe is expressed as: o i It consists of three parts, namely the relative position of the i-th UAV and the i-1-th UAV, i.e., q i-1 -q i , the relative position of the i-th UAV to the reference position is And the relative position of the i-th UAV and the i+1-th UAV is q i+1 -q i ; The reference position Indicates the position of the i-th UAV that meets the minimum bit error rate requirement of the optical link: Among them, x s ,x e The X coordinates of the chain head and chain tail drones are respectively, and the y s ,y e Represents the Y coordinates of the chain head and chain tail drones, z i Indicates the flight altitude of the drone.
4. The method for transmitting optical link data of a marine unmanned aerial vehicle based on multi-agent reinforcement learning according to claim 1 is characterized in that: In step 4, after a round of updates is completed, in order to better meet the data transmission requirements, the following optimization process is performed: Step 4.1: Calculate the bit error rate BER of the entire link E for: The bit error rate of the i-th link is BER(d i ,φ i ) indicates that d is the Euclidean distance between two adjacent drones; Step 4.2: The total energy consumption of all drones within time T is expressed as: Among them, P n represents the energy consumption of a single UAV; v(t) represents the speed in time slot t; T represents the number of time slots; N represents the total number of UAVs.
Citation Information
Patent Citations
Unmanned aerial vehicle network hovering position optimization method based on multi-agent deep reinforcement learning
CN111786713A
Marine unmanned aerial vehicle auxiliary optical data collection method based on deep reinforcement learning
CN116405111A
Wireless perception system energy and information transmission method of unmanned aerial vehicle (UAV) swarm
US20220386162A1
Space-air-ground integrated UAV-assisted IoT data collectioncollection method based on aoi
US20230239037A1
