2.4 G-based unmanned aerial vehicle cluster communication network method and device
By using half-duplex communication and greedy algorithm to optimize communication links in UAV clusters, the problems of communication stability and resource waste in UAV clusters are solved, and efficient information sharing and collaborative operations are achieved.
Patent Information
- Application Number
- CN202410914122.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-08
AI Technical Summary
There are too many communication nodes and complex network environments in UAV cluster communication, making it difficult to ensure communication stability. Individual UAVs in the chain communication network may experience communication interruptions, causing the entire cluster communication to fail, and multi-node communication networks are prone to Waste of resources.
Using the 2.4G-based UAV cluster communication network method, through half-duplex communication, the UAV is configured in receiving and transmitting modes, broadcasting its own three-axis position and speed information, and the ground base station monitors the signal strength and position information, and evaluates Communication link quality, select the optimal link, enter the timeout retransmission mechanism when communication abnormalities occur, and use a greedy algorithm to optimize the communication link.
It achieves stable and efficient communication in the UAV cluster, ensures that all UAVs can receive information in a timely manner, realizes information sharing and collaborative operations, avoids communication abnormalities, and improves the stability and sustainability of the communication network.
Smart Images

Figure CN118748778A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of unmanned aerial vehicle communication, and relates to a 2.4G-based unmanned aerial vehicle cluster communication network method and device. Background Art
[0002] At present, with the development of drone technology, the technology of real-time status monitoring of drone clusters and cluster control formations has received more and more attention. High-real-time data interaction between drone clusters and ground base stations is the prerequisite for realizing real-time monitoring of clusters. Real-time monitoring can ensure the safety of drone clusters and coordinate to complete more complex and efficient tasks. However, with the increase in the number of aircraft in drone clusters, cluster communication often has many problems. For example, there are too many communication nodes and a complex network environment, making it difficult to ensure the stability of cluster communication; in a chain communication network, when individual drones have abnormal communication interruptions, the entire cluster communication fails. In addition, multi-node communication networks are prone to waste of resources. Summary of the invention
[0003] The purpose of the present invention is to address the deficiencies of the prior art and to propose a 2.4G-based UAV cluster communication network method and device.
[0004] The object of the present invention is achieved through the following technical solutions: In the first aspect, the present invention provides a 2.4G-based UAV cluster communication network method, the method comprising the following steps:
[0005] (1) The drones in the drone cluster are based on half-duplex communication and are configured in receiving mode and sending mode;
[0006] (2) In the sending mode, the information broadcast by the drone contains at least its three-axis position and speed information;
[0007] (3) In the receiving mode, after receiving the broadcast information of other drones, the drone obtains the signal strength of the data packet and the communication link;
[0008] (4) The ground base station monitors the response signal returned by the UAV after normal communication to determine whether the communication link is normal. If it is abnormal, it enters the timeout retransmission mechanism;
[0009] (5) The ground base station monitors the signal strength of the UAV broadcast communication link, evaluates the communication quality of the link based on the location information, and selects the optimal communication link.
[0010] Furthermore, in step (1), when configured as receiving mode, a maximum of 6 different receiving addresses are set, and the receiving frequency bands of the 6 addresses remain consistent. Among them, the 5 bytes of the first receiving address are set arbitrarily, and among the remaining 4 receiving addresses, the high 4-byte address remains consistent and different from the first address, and the low 1-byte address is set arbitrarily.
[0011] Furthermore, in step (2), the drone communication message data includes: a 2-byte frame header, a 1-byte function word, a 1-byte data length, a data frame and a 1-byte check bit, and the check bit is equal to the lower eight bits of the sum of the data frames; wherein the function word indicates the type and function of the message.
[0012] Furthermore, in step (2), the information transmitted between the drone clusters is the three-axis position and speed information of the drones. The position and speed data of the drones are proportionally amplified and converted into a two-byte integer type, which is equivalent to the original data of the floating-point type.
[0013] Furthermore, in step (2), the drone broadcasts two types of information. One type of information is broadcast within the cluster, and the information content includes the drone's three-axis position and speed information, which is used for cluster formation control; the other type of information is response information, which includes the signal strength of other drone links received by the drone. Before the drone starts broadcasting its own information, it first broadcasts the response information to the ground base station, indicating that it is about to start broadcasting its own information.
[0014] Furthermore, in step (4), after the ground base station broadcasts the information, it switches to the receiving mode. In the receiving mode, the ground base station uses the binary semaphore of Free RTOS to block and wait for the UAV response signal. When the UAV response signal is not received within a certain period of time, the ground base station enters the timeout retransmission mechanism, ends the blocking state and re-enters the sending mode. It queries which UAV has not sent a response signal according to the preset communication link, and sends a command to query the status of the UAV. If the UAV has no abnormal status, communication continues from the UAV. If the UAV communication is abnormal, the communication link is redesigned.
[0015] Furthermore, in step (5), a greedy algorithm is used to select the optimal communication link or reconstruct the entire communication link to minimize the cost of link modification; the communication quality of the link is evaluated based on the link quality and location information, and their Euclidean distance is calculated based on the location information of the drone, and is calculated based on the communication quality formula, which is shown below.
[0016]
[0017] d i,j Representing the i-th drone U i and the jth UAV j The Euclidean distance between them, in m, Q i,j Indicates communication quality, S represents signal strength, and the unit is dBm.
[0018] In a second aspect, the present invention also provides a 2.4G-based drone cluster communication network device, comprising a memory and one or more processors, wherein the memory stores executable code, and when the processor executes the executable code, the 2.4G-based drone cluster communication network method is implemented.
[0019] In a third aspect, the present invention further provides a computer-readable storage medium having a program stored thereon, and when the program is executed by a processor, the 2.4G-based drone cluster communication network method is implemented.
[0020] In a fourth aspect, the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the 2.4G-based drone cluster communication network method.
[0021] Beneficial effects of the present invention:
[0022] The present invention adopts an innovative communication method to realize half-duplex communication function, solving the problem that the 2.4G wireless communication module can only be set to receive or send mode at the same time and cannot send and receive information at the same time. Through precise communication protocols and scheduling algorithms, the system designed by the present invention can achieve stable and efficient communication in the drone cluster. Not only that, the system can also ensure that all drones can receive information broadcast by other drones in a timely manner, thereby achieving the goal of information sharing and collaborative operation within the cluster.
[0023] In order to deal with possible communication anomalies, the present invention designs a timeout retransmission mechanism. The ground base station enters the receiving mode after broadcasting information. In the receiving mode, if the ground base station fails to receive the data broadcast by the drone within a certain period of time, it will enter the timeout retransmission mechanism. The ground base station accesses the drone with the interrupted link, queries the status of the drone, and selects a new round of communication links according to the instructions fed back by the drone to ensure the stability and continuity of the communication network. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] 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 only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 This is a schematic diagram of the communication between the drone cluster and the ground base station;
[0026] Figure 2 It is a directed connected graph of cluster communication network topology;
[0027] Figure 3 Implement a flow chart for communication between drone clusters and ground base stations;
[0028] Figure 4 Broadcast sequence for drones and ground base stations;
[0029] Figure 5 Broadcast data graph for UAV U5;
[0030] Figure 6 To reconstruct some communication link diagrams;
[0031] Figure 7 To reconstruct the entire communication link graph;
[0032] Figure 8 It is a structural diagram of a 2.4G-based UAV cluster communication network device of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with the accompanying drawings and implementation examples. It should be understood that the specific implementation examples described herein are only used to explain the present invention and are not used to limit the present invention.
[0034] The drone of the present invention adopts STM32F103C8T6 chip as the main control and Nrf24101 as the 2.4G wireless communication module. The communication module can be configured in two modes, namely, receiving mode and sending mode. When configured in sending mode, a 5-byte sending address can be customized and a certain frequency band in 2.4-2.525G can be specified as the broadcast address. A maximum of 32 bytes of data can be sent in one broadcast, and the broadcast data can be monitored by the receiving end subscribed to the frequency band and address.
[0035] When the module is configured in receiving mode, up to 6 different receiving addresses can be set, and the receiving frequency bands of the 6 addresses must be consistent. Among them, the 5 bytes of the first receiving address can be arbitrary, and the high 4-bit byte address of the remaining 4 receiving addresses must be consistent and different from the first address, and the low 1-bit byte address can be arbitrary. In receiving mode, a binary semaphore is used to block and wait for data.
[0036] In the process of data communication, for information reception and encryption, the present invention adopts a specific communication protocol to encrypt and verify the drone data, thereby improving the confidentiality of the message and the efficiency of data transmission. When broadcasting data, a piece of data includes: a 2-byte frame header, a 1-byte function word, a 1-byte data length, a data frame, and a 1-byte check bit, and the check bit is equal to the lower eight bits of the sum of the data frames. The function word indicates the type and function of the message. By using this type of communication protocol to send and receive data, the data can be encrypted and the integrity of the data can be verified, and a secondary verification can be performed to improve the reliability of the data.
[0037] The information transmitted between drone clusters is the three-axis position and speed information of the drone, and the data type is a floating point number, and a floating point number occupies four bytes of space. In order to save communication resources and transmit more content under limited message capacity, combined with the characteristics of the transmitted information, the information transmission of the present invention is processed as follows: first, the position and speed data of the drone are integerized, the data is proportionally enlarged 1000 times, and converted into a two-byte integer type, which can save half of the space. In actual use, the position and speed information uses meters and meters per second. The unit, proportionally enlarged 1000 times, does not affect the validity of the data, and can be equivalent to the original data of the floating point type.
[0038] In the sending mode, the information broadcast by the drone contains at least its own three-axis position and speed information. In the receiving mode, after receiving the broadcast information of other drones, the drone obtains the data packet and the signal strength of the communication link, such as Figure 5 The signal strength is used in the communication scheduling algorithm of the ground base station to optimize the communication link, and the broadcast address is used to distinguish which drone is the sender of the information.
[0039] Drones broadcast two types of information. One type of information is broadcast within the cluster. The information content includes the drone's three-axis position and speed information, which is used for cluster formation control; the other type of information is response information, which includes the signal strength of other drone links received by the drone. Before the drone starts broadcasting its own information, it first broadcasts the response information to the ground base station, indicating that it is about to start broadcasting its own information.
[0040] like Figure 1 and Figure 2 As shown, the present invention uses 1 ground base station and 5 drones to form a communication network system. The ground base station sets a custom broadcast address separately, and the 5 drones are respectively set to 4 addresses with the same high bytes and a different low byte as the broadcast address, and the drones and the ground base station use the same frequency band. Based on the above settings, the 2.4G communication module can monitor the data broadcast by 1 ground base station and 5 drones at the same time in the receiving mode, so there is no need to configure different receiving modes to receive data from different addresses, which greatly reduces the complexity of communication, simplifies the process, and makes full use of module resources.
[0041] The present invention proposes a 2.4G-based UAV cluster communication network, aiming to achieve stable and efficient communication, and solves the bottleneck of the 2.4G communication module through a half-duplex communication mode. Figure 3 , the specific steps of the present invention are as follows:
[0042] 1. First, several drones use U i , i=1,2,...,5 indicates that the drone cluster is divided into leaders and followers, where U1 and U2 represent leaders, and U3, U4, and U5 represent followers, forming a leader-follower formation network. Before the communication starts, all drones are set to receive mode. In the receive mode, the drone cluster listens to the information broadcast by the ground base station.
[0043] 2. The ground base station system is configured in sending mode, initializes the communication link, broadcasts information to the drone cluster through the communication module, and then switches to receiving mode to monitor the information and response information broadcast by the five drones to obtain the real-time status of the drone cluster.
[0044] 3. UAV i After receiving the information broadcast by the ground base station, the cluster broadcasts its own information in sequence according to the communication link sequence broadcast by the base station, such as Figure 4 As shown. Starting from U1, when U1 receives the control information, it waits for 100us to ensure that the ground base station switches to the receiving mode. U1 switches to the sending mode and broadcasts a response signal to the ground base station, indicating that the broadcast is about to begin, then broadcasts its own information once and switches to the receiving mode. The information broadcast by U1 can be received by other drones and the ground base station at the same time.
[0045] When drone U2 receives the information broadcast by U1, other drones remain in receiving mode. U2 also waits for the same time, switches to sending mode, broadcasts its own information after broadcasting the response information. In the above way, all drones broadcast in turn and obtain information from other drones in receiving mode. When all drones in the drone cluster have finished broadcasting, the ground base station receives the information broadcast by 5 drones and completes a cluster status monitoring.
[0046] Since the communication module broadcasts and receives data easily affected by external signal interference and distance, and cannot ensure the correct reception and transmission of data through hardware or software verification. i After broadcasting data, if U i+1 Not received U i The data will cause communication interruption, packet loss, and cluster communication link interruption. To solve this problem, this paper designs a timeout retransmission mechanism to ensure that the UAV cluster communication remains stable and continuous.
[0047] In order to ensure the successful transmission of messages between drones, cluster network communication is transmitted in the predetermined link direction. The ground base station serves as a monitoring platform for the drone cluster and listens to the response signal returned by the drone after normal communication. When the ground base station receives the response signal from the drone, it means that the previous communication chain of the drone is normal. The base station does not intervene in the cluster communication. After recording the broadcast information, it waits for the next response signal. If the cluster communication is normal, the base station will receive the drone response signals arranged in the preset broadcast order in sequence. If there is an abnormality in the communication, resulting in the interruption of the chain communication and the interruption of the response signal, the base station enters the timeout retransmission mechanism.
[0048] After broadcasting the information, the ground base station switches to the receiving mode. In the receiving mode, the ground base station uses the binary semaphore of Free RTOS to block and wait for the drone's response signal. When the drone's response signal is not received after a certain period of time, the ground base station ends the blocking state and re-enters the sending mode. According to the preset communication link, it queries which drone has not sent a response signal, and sends a command to query the drone status. If the drone has no abnormal status, it continues to communicate from the drone. If the drone communication is abnormal, the communication link is redesigned.
[0049] The quality of wireless data transmission is determined by factors such as transmission distance and signal strength. When the communication signal is weak or the transmission distance is too long, it will cause data packet loss or even communication failure. The ground base station, as the monitor and initiator of the UAV communication network, will broadcast the cluster communication link when starting cluster communication.
[0050] The ground base station avoids low-quality links based on the quality of the drone communication link. The strength of the communication link is returned by the response information broadcast by the drone. For example, when the communication link reaches U2, U2 will first broadcast a response message to the base station. The response information contains the quality of the link from other drones to U2.
[0051] The present invention designs a network scheduling algorithm that can minimize the number of communication link changes to achieve efficient communication. In the process of real-time communication link reconstruction, one configuration information can configure the communication link of the entire cluster, and there is no need to send link configuration information to each drone separately.
[0052] The present invention adopts a greedy algorithm method to calculate the new schedule of the modified path to minimize the cost of link modification. For example, when the quality of the link from U1 to U2 is poor, it is necessary to change the communication link and allocate a new communication link. First, the communication quality of the link is evaluated based on the link quality and location information, and the Euclidean distance of U1 and U2 is calculated based on their location information, and calculated according to the communication quality formula, which is shown below.
[0053]
[0054] d i,j Represents U i and U j The Euclidean distance between them is in m, Q is the communication quality, and S represents the signal strength in dBm.
[0055] When the link quality from U1 to U2 is poor, it is necessary to change the communication link, compare the link quality between U1 and the other three drones, and select an optimal path, such as Figure 6 As shown, assuming Q 1,3 Greater than Q 1,2 The reconstructed link is U1→U3→U2→U4→U5, and U3 is inserted into it to ensure that the U4→U5 link remains unchanged.
[0056] If the quality of multiple links is poor, reconstruct the entire link, calculate the communication quality of all links in the network, and select the link with better quality as the option for building the communication link. Starting from U1, the link with the best quality is selected as the first option. If a ring link appears, ensure that all feasible links are traversed and output a link with the lowest comprehensive communication quality. The UAV with a smaller number at the end of the communication link will broadcast the communication first, such as Figure 7 shown.
[0057] Through the above method, the present invention not only optimizes the link with poor quality, but also improves the overall communication quality without significantly changing other links. In this way, both network stability and the quality of the communication link can be ensured.
[0058] Corresponding to the aforementioned embodiment of a drone cluster communication network method based on 2.4G, the present invention also provides an embodiment of a drone cluster communication network device based on 2.4G.
[0059] See also Figure 8 An embodiment of the present invention provides a 2.4G-based drone cluster communication network device, including a memory and one or more processors, wherein the memory stores executable code, and when the processor executes the executable code, it is used to implement a 2.4G-based drone cluster communication network method in the above embodiment.
[0060] The embodiment of a 2.4G-based drone cluster communication network device provided by the present invention can be applied to any device with data processing capabilities, and the device with data processing capabilities can be a device or apparatus such as a computer. The device embodiment can be implemented through software, or through hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of any device with data processing capabilities in which it is located reading the corresponding computer program instructions in the non-volatile memory into the internal memory for execution. From a hardware perspective, if Figure 8 As shown, it is a hardware structure diagram of a 2.4G based UAV cluster communication network device provided by the present invention, where any device with data processing capability is located, except Figure 8 In addition to the processor, memory, network interface, and non-volatile memory shown, any device with data processing capabilities in which the apparatus in the embodiments is located may also include other hardware, generally based on the actual functions of the device with data processing capabilities, which will not be described in detail.
[0061] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0062] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative work.
[0063] An embodiment of the present invention also provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, a 2.4G-based drone cluster communication network method in the above embodiment is implemented.
[0064] The computer-readable storage medium may be an internal storage unit of any device with data processing capability described in any of the aforementioned embodiments, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device of any device with data processing capability, such as a plug-in hard disk, a smart media card (SMC), an SD card, a flash card, etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit and an external storage device of any device with data processing capability. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capability, and may also be used to temporarily store data that has been output or is to be output.
[0065] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the 2.4G-based drone cluster communication network method.
[0066] The above embodiments are used to illustrate the present invention rather than to limit the present invention. Any modification and change made to the present invention within the spirit of the present invention and the protection scope of the claims shall fall within the protection scope of the present invention.
Claims
1. A 2.4G-based UAV cluster communication network method, characterized in that: The method comprises the following steps: (1) The drones in the drone cluster are based on half-duplex communication and are configured in receiving mode and sending mode; (2) In the sending mode, the information broadcast by the drone contains at least its three-axis position and speed information; (3) In the receiving mode, after receiving the broadcast information of other drones, the drone obtains the signal strength of the data packet and the communication link; (4) The ground base station monitors the response signal returned by the UAV after normal communication to determine whether the communication link is normal. If it is abnormal, it enters the timeout retransmission mechanism; (5) The ground base station monitors the signal strength of the UAV broadcast communication link, evaluates the communication quality of the link based on the location information, and selects the optimal communication link.
2. According to a 2.4G-based UAV cluster communication network method according to claim 1, it is characterized in that: In step (1), when configured as receiving mode, a maximum of 6 different receiving addresses are set, and the receiving frequency bands of the 6 addresses are consistent. Among them, the 5 bytes of the first receiving address are set arbitrarily, and among the remaining 4 receiving addresses, the high 4-byte address remains consistent and different from the first address, and the low 1-byte address is set arbitrarily.
3. The 2.4G-based UAV cluster communication network method according to claim 1, characterized in that: In step (2), the drone communication message data includes: a 2-byte frame header, a 1-byte function word, a 1-byte data length, a data frame and a 1-byte check bit, where the check bit is equal to the lower eight bits of the sum of the data frames; the function word indicates the type and function of the message.
4. The method for a 2.4G-based drone cluster communication network according to claim 1, characterized in that: In step (2), the information transmitted between the drone clusters is the three-axis position and speed information of the drone. The position and speed data of the drone are proportionally amplified and converted into a two-byte integer type, which is equivalent to the original data of the floating-point type.
5. The method for a 2.4G-based UAV cluster communication network according to claim 1, characterized in that: In step (2), the drone broadcasts two types of information. One type of information is broadcast within the cluster. The information content includes the drone's three-axis position and speed information, which is used for cluster formation control. The other type of information is response information, which includes the signal strength of other drone links received by the drone. Before the drone starts broadcasting its own information, it first broadcasts the response information to the ground base station, indicating that it is about to start broadcasting its own information.
6. The method for a 2.4G-based UAV cluster communication network according to claim 1, characterized in that: In step (4), the ground base station switches to the receiving mode after broadcasting the information. In the receiving mode, the ground base station uses the binary semaphore of Free RTOS to block and wait for the UAV response signal. When the UAV response signal is not received after a certain period of time, the ground base station enters the timeout retransmission mechanism, ends the blocking state and re-enters the sending mode. According to the preset communication link, it queries which UAV has not sent a response signal, and sends a command to query the status of the UAV. If the UAV has no abnormal status, communication will continue from the UAV. If the UAV communication is abnormal, the communication link will be redesigned.
7. The method for a 2.4G-based UAV cluster communication network according to claim 1, characterized in that: In step (5), a greedy algorithm is used to select the optimal communication link or reconstruct the entire communication link to minimize the cost of link modification; the communication quality of the link is evaluated based on the link quality and location information, and their Euclidean distance is calculated based on the location information of the drone, and is calculated based on the communication quality formula, which is shown below. d i,j Representing the i-th drone U i and the jth UAV j The Euclidean distance between them, in m, Q i,j Indicates communication quality, S represents signal strength, and the unit is dBm.
8. A 2.4G-based drone cluster communication network device, comprising a memory and one or more processors, wherein the memory stores executable code, characterized in that: When the processor executes the executable code, a 2.4G-based drone cluster communication network method as described in any one of claims 1 to 7 is implemented.
9. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by the processor, a 2.4G-based drone cluster communication network method as described in any one of claims 1 to 7 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by the processor, a 2.4G-based drone cluster communication network method is implemented as described in any one of claims 1 to 7.
Citation Information
Cited By
Unmanned aerial vehicle identification system based on AC mode inquiry response type 2.4 GHz channel
CN119921842A
An unmanned aerial vehicle identification system based on AC mode interrogation response 2.4 GHz channel
CN119921842B
