A computer-based UAV array control method
By constructing a drone control platform and cluster, task allocation, adaptive path planning and fault detection of the drone cluster are realized, which solves the problems of low control efficiency and weak obstacle avoidance ability of the drone array, and improves flight safety. and troubleshooting efficiency.
Patent Information
- Application Number
- CN202311302903.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-10-10
AI Technical Summary
The existing UAV phalanx has low control efficiency and weak obstacle avoidance capabilities, is prone to flight accidents, and lacks effective maintenance means when a fault occurs.
By building a UAV control platform, UAV clusters are established and data communications are implemented to perform task allocation, adaptive path planning and obstacle avoidance warning, and fault detection and operation termination are performed based on real-time status information.
It improves the control efficiency and obstacle avoidance capabilities of the UAV cluster, ensures flight safety, and rationally allocates maintenance resources according to the severity of the fault, reducing the workload of ground maintenance personnel.
Smart Images

Figure CN117250986B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of unmanned aerial vehicle control, and in particular to a computer-based unmanned aerial vehicle array control method. Background Art
[0002] A UAV (unmanned aerial vehicle) is a powered, controllable, reusable unmanned aerial vehicle that can carry multiple mission equipment and perform multiple missions. Compared with manned aircraft, it has the advantages of small size, low cost, easy use, quick response, flexibility, low requirements for mission environment, and strong survivability. In view of its unique advantages, the use of UAVs has been expanded to the three major fields of military, scientific research and civil use. The flight control computer, together with the onboard sensor equipment and actuators, constitutes the UAV flight control system to achieve real-time control of the UAV.
[0003] With the rapid development of drone technology, drone phalanxes have been widely used in agriculture, environmental monitoring, rescue and other fields. However, the current control of drone phalanxes is inefficient and has weak obstacle avoidance capabilities, which makes flight accidents prone to occur. How to improve the control efficiency of drones, improve the obstacle avoidance capabilities of drones in the air, and reasonably allocate maintenance methods to perform fault repairs after drone failures are all issues we need to consider. Summary of the invention
[0004] In order to solve the above problems, the object of the present invention is to provide a computer-based UAV array control method.
[0005] The purpose of the present invention can be achieved by the following technical solution: A computer-based UAV array control method comprises the following steps:
[0006] Step S1: construct a drone control platform, obtain drone-related data information and input it into the drone control platform, then construct a drone cluster, and bind the data communication between the drone control platform and the drone cluster through the communication network;
[0007] Step S2: Transmitting cluster control instructions to the drone cluster through data communication, thereby operating the drone cluster and performing cluster control, wherein the cluster control includes task allocation, adaptive path planning, and obstacle avoidance warning;
[0008] Step S3: Obtain the real-time status information of the drone cluster during operation, and transmit the real-time status information to the drone control platform, and perform fault detection and operation termination based on the real-time status information.
[0009] Furthermore, the process of constructing the drone control platform includes:
[0010] Construct a drone control platform, and set up several control partitions and a total control area. The control partition is associated with a partition port sequence and is numbered i, i=1, 2, 3, ..., n, where n is a natural number greater than 0. Set a read-write area and synchronize i as the number of the read-write area. The total control area is associated with a corresponding empty text file. The empty text file summarizes the partition port sequence of each control partition and converts it into a control list text file. The control list text file is stored in a preset encryption database, and a decryption key is generated and transmitted to the administrator.
[0011] Furthermore, the process of building the drone cluster and binding the data communication between the drone cluster and the drone control platform includes:
[0012] Obtain drone related data information, the drone related data information includes drone number, drone model and drone flight log information, record the drone number as j, j = 1, 2, 3, ..., m, where m is a natural number greater than 0, and encapsulate and generate j data packets to be imported as an encapsulation index, establish a temporary interaction space to input a decryption key and j data packets to be imported, the data packets to be imported are associated with an encapsulation IP address, and a legal encapsulation IP list is preset in the temporary interaction space, and whether the data packet to be imported is a legal data packet is determined according to the encapsulation IP address and the legal encapsulation IP list; if not, do not do anything, if so, generate a decryption database request, obtain the decryption key through the decryption database request, and obtain the control list text file through the decryption key, and then form a drone subcluster according to the mapping association between the control list text file and the data packet to be imported, and assign the corresponding subcluster number K, K =<i,j> ; The control center aggregates several drone sub-clusters to build a drone cluster;
[0013] A communication network is set up, and the communication network has corresponding communication states, and the communication states include "communication loading state", "communication interruption state" and "communication interference state". In the "communication loading state", the data communication between the drone control platform and the drone cluster is bound through the communication network; in the "communication interruption state" and "communication interference state", abnormal log A and abnormal log B are generated, and the abnormal log A and abnormal log B are transmitted to the administrator, who performs communication recovery and interference source retrieval and elimination, and then binds the data communication between the drone control platform and the drone cluster.
[0014] Furthermore, the task allocation process includes:
[0015] The UAV control platform generates a cluster control instruction, which includes several sub-control instructions, denoted as C[K], where K is the sub-cluster number of several UAV sub-clusters. The cluster control instruction is transmitted to the UAV cluster through data communication. The sub-control instruction is provided with different instruction types, and different instruction types have corresponding instruction numbers. The instruction numbers have corresponding task contents, and the corresponding task contents are executed according to the instruction numbers corresponding to the instruction types.
[0016] Furthermore, the process of the adaptive path planning includes:
[0017] Obtain panoramic environmental data. The panoramic environmental data is composed of environmental data collected by several drones. The environmental data includes terrain data, obstacle data and meteorological data. The terrain data, obstacle data and meteorological data are marked as Dt1, Dt2 and Dt3 respectively. The terrain danger determination threshold, obstacle determination threshold and meteorological danger condition threshold are preset and recorded as WX1, WX2 and WX3 respectively.
[0018] When Dt1≥WX1, a dangerous terrain point corresponding to the terrain data is generated; otherwise, if Dt1<WX1, a safe terrain point is generated;
[0019] When Dt2≥WX2, an obstacle area corresponding to the obstacle data is generated; otherwise, if Dt2<WX2, a non-obstacle area is generated;
[0020] When Dt3≥WX3, a dangerous weather cloud map corresponding to the weather data is generated; otherwise, if Dt3<WX3, a safe weather cloud map is generated;
[0021] Generate dangerous nodes according to dangerous terrain points, obstacle areas and dangerous weather cloud maps, generate operation path nodes according to safe terrain points, non-obstruction areas and safe weather cloud maps, summarize several dangerous nodes and operation path nodes, and then construct a panoramic map, which includes dangerous map areas and safe map areas;
[0022] Obtain the position sequence of the drone cluster and then obtain the real-time position. When driving in the safe map area, obtain the distance between the real-time position and several operation path nodes in sequence, and then generate several operation displacements, and then generate the shortest driving path; when driving in the dangerous map area, generate an emergency jump instruction to transfer the drone cluster from the dangerous map area to the safe map area, and obtain the operation path node closest to the drone cluster, marking it as the transfer positioning point.
[0023] Furthermore, the obstacle avoidance warning process includes:
[0024] The real-time position of the drone cluster is obtained, denoted as L1, and several dangerous nodes in the dangerous map area are obtained, and then a set of dangerous nodes is generated, denoted as L2, then L2={L21, L22, L23, ..., L2K}, the dangerous nodes have corresponding position coordinates on the panoramic map, and the position coordinates corresponding to several dangerous nodes L21, L22, L23, ..., L2K are traversed to obtain several position distances between the real-time position and the several position coordinates, denoted as L`, and L`=|L1-L21|, |L1-L22|, ..., |L1-L2K|, and the position distance is compared with the preset safety distance, and then different obstacle avoidance warnings are executed. The obstacle avoidance warning is associated with a corresponding warning signal, and the warning signal includes a first-level warning signal, a second-level warning signal and a third-level warning signal.
[0025] Further, the process of performing fault detection according to the real-time status information includes:
[0026] Acquire the real-time status information of the drone cluster and transmit it to the drone control platform, wherein the real-time status information includes position status information, posture status information, power parameter information, response data information and flight log information, and the position status information, posture status information, power parameter information, response data information and flight log information are set with corresponding safety value ranges;
[0027] If the position state information, posture state information, power parameter information, response data information and flight log information are all within the safe value range, subsequent fault detection operations are not performed;
[0028] If any of the position status information, posture status information, power parameter information, response data information and flight log information is not within the safe value range, a monitoring period is set, and the monitoring frequency is increased within the monitoring period to identify the type of fault. The UAV control platform performs fault detection according to the fault type. The fault types detected include self-check type and shutdown check type. Corresponding fault inspection and repair are performed according to the fault type.
[0029] Furthermore, the process of terminating the operation includes:
[0030] The operation termination includes the operation termination in the case of a fault and the operation termination when the task is completed, and different termination marks are assigned respectively, which are recorded as End1 and End2;
[0031] When the termination mark is End1, the operation corresponding to the fault situation is terminated, and the UAV in the UAV cluster with the fault problem is obtained, and the speed and direction of the UAV are controlled;
[0032] When the termination mark is End2, the operation is terminated when the corresponding task is completed. The speed of one of the drones in the drone cluster is obtained, the speeds of other drones in the drone cluster are synchronously adjusted to the speed of the drone, and a fixed deceleration value is set so that the speed of the drone is evenly reduced to zero, thereby achieving operation termination.
[0033] Compared with the prior art, the present invention has the following beneficial effects:
[0034] 1. By constructing a drone control platform and partitioning the drone control platform into several control partitions and a total control area, the drone-related data information is obtained to generate a data packet to be imported. By associating and mapping the data packet to be imported with the control partition, several drone sub-clusters are generated, and a drone cluster is constructed in an aggregate manner. The sub-cluster number corresponding to the drone sub-cluster is used as the positioning basis for the subsequent implementation of control instructions, which facilitates the control of each drone in the drone cluster. The communication network set up realizes two-way data communication between the drone control platform and the drone cluster, and the corresponding decryption database request operation in the temporary interaction space effectively avoids the false drone sub-clusters constructed by illegal information from interfering with the subsequent operation of the drone.
[0035] 2. The cluster control of the drone cluster is carried out through cluster control instructions, in which the task allocation is based on the instruction number corresponding to the different instruction types, and the corresponding task content is executed. The corresponding environmental data is obtained through the environmental data collection in the task content, and then the dangerous nodes and running path nodes are identified according to the environmental data, and the real-time position corresponding to the drone cluster is obtained. The distance is compared with the running path node, and then the shortest driving path is generated to achieve adaptive path planning. When driving in dangerous map areas, the corresponding early warning measures are executed, which effectively improves the obstacle avoidance ability of the drone cluster.
[0036] 3. When a UAV fails, the real-time status information of the UAV is obtained, and then the real-time status information is compared with the preset safety value range. According to the comparison result, it is decided whether to perform the fault detection operation. The fault type is found out through the fault detection operation. If the fault type is a self-check type, the fault is repaired by checking the parameters. If the fault type is a shutdown check type, the flight of the UAV is terminated and the corresponding ground maintenance personnel are assigned to carry out maintenance. On the one hand, maintenance is carried out according to the severity of the fault, and on the other hand, the maintenance workload of the ground maintenance personnel is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0038] like Figure 1As shown, a computer-based UAV array control method includes the following steps:
[0039] Step S1: construct a drone control platform, obtain drone-related data information and input it into the drone control platform, then construct a drone cluster, and bind the data communication between the drone control platform and the drone cluster through the communication network;
[0040] Step S2: Transmitting cluster control instructions to the drone cluster through data communication, thereby operating the drone cluster and performing cluster control, wherein the cluster control includes task allocation, adaptive path planning, and obstacle avoidance warning;
[0041] Step S3: Obtain the real-time status information of the drone cluster during operation, and transmit the real-time status information to the drone control platform, and perform fault detection and operation termination based on the real-time status information.
[0042] Specifically, the process of building the UAV control platform includes:
[0043] Constructing a drone control platform, wherein the drone control platform is provided with a plurality of control partitions and a unique control main area, wherein the control partitions have corresponding partition port sequences, wherein the control main area is associated with corresponding empty text files, and the partition port sequences are non-repetitive and unique;
[0044] The control partitions are numbered in sequence, denoted as i, i=1, 2, 3, ..., n, where n is a natural number greater than 0, each of the control partitions is provided with a corresponding read-write area, and the number i of the control partition is synchronized as the number of the read-write area;
[0045] The empty text file corresponding to the control general area summarizes the partition port sequences of each control partition for entry, and the empty text file after entry is converted into a control list text file, and the control list text file stores the partition port sequences corresponding to several control partitions;
[0046] The control list text file is stored in a preset encryption database, and a decryption key is generated synchronously, and the decryption key is transmitted to the administrator;
[0047] Specifically, the process of building the drone cluster and binding its data communication with the drone control platform includes:
[0048] Obtaining drone related data information, the drone related data information includes drone number, drone model and drone flight log information, the drone number is denoted as j, then j=1, 2, 3, ..., m, where m is a natural number greater than 0;
[0049] Using drone number j as the encapsulation index, encapsulate and generate j data packets to be imported according to the encapsulation index, establish a temporary interaction space, and the administrator inputs the decryption key and j data packets to be imported into the temporary interaction space;
[0050] In the temporary interaction space, determine whether the data package to be imported is a legal data package. The determination content is as follows:
[0051] The data packet to be imported is associated with an encapsulated IP address. A legal encapsulated IP list is preset in the temporary interaction space. If the encapsulated IP address of the data packet to be imported is not in the legal encapsulated list, it is judged not to be a legal data packet. Otherwise, it is judged to be a legal data packet and a decryption instruction is given to it, which is recorded as P j , where subscript j is the number corresponding to the data package to be imported;
[0052] According to the decryption instruction P j , generate a decryption database request, obtain the decryption key through the decryption database request, and then obtain the read permission of the encrypted database through the decryption key, obtain the control list text file through the read permission, and start from number i=1, map and associate the control partition numbered i in the control list text file with the corresponding numbered j=1 to be imported data packet, write the imported data packet into the read-write area of the corresponding number of the control partition, and then form a drone subcluster, and assign the corresponding subcluster number, denoted as K, with K=<i,j> ;
[0053] Repeat the above steps of generating a decryption database request and executing the corresponding operation, the number of repetitions is j-1, and the mapping association between all control partitions included in the control list text file and the corresponding data packets to be imported is completed, thereby generating several drone sub-clusters;
[0054] The control center aggregates several drone subclusters to build a drone cluster, uses the subcluster numbers of several drone subclusters as the sub-communication sequence, and aggregates all sub-communication sequences to generate a total integrated communication sequence;
[0055] A communication network is set, marked as E, and the communication network has a corresponding communication state, and the communication state includes a "communication loading state", a "communication interruption state" and a "communication interference state";
[0056] The “communication loading state” is the communication state under normal circumstances, and the communication network binds the data communication between the drone control platform and the drone cluster;
[0057] The "communication interruption state" and "communication interference state" are communication states under abnormal circumstances. At this time, abnormal log A and abnormal log B are generated accordingly, and abnormal log A and abnormal log B are transmitted to the administrator, who performs communication recovery and interference source retrieval and elimination, and then binds the data communication between the drone control platform and the drone cluster;
[0058] It should be noted that, by constructing a drone control platform and partitioning the drone control platform into several control partitions and a total control area, drone-related data information is obtained to generate a data packet to be imported, and the data packet to be imported is obtained through the temporary interaction space and associated with the control partition for mapping, thereby generating several drone sub-clusters, and summarizing and constructing a drone cluster, wherein the sub-cluster number K corresponding to the drone sub-cluster is used as the positioning basis for subsequent control instructions, and the communication network is set up to realize two-way data communication between the drone control platform and the drone cluster. The special decryption database request operation of the temporary interaction space avoids the false drone sub-cluster constructed by illegal information from interfering with the subsequent operation of the drone, and the communication network, on the other hand, realizes the timely elimination of communication-related faults to a certain extent. The operations of communication recovery include increasing the communication bandwidth, improving the communication network speed and rebuilding the communication connection. The interference source retrieval and elimination operations include locating the interference source, analyzing the interference factors related to the interference source, and eliminating the related interference factors;
[0059] Specifically, the task allocation process includes:
[0060] The UAV control platform generates a cluster control instruction, denoted as C, and the cluster control instruction includes a plurality of sub-control instructions, denoted as C[K], where K is the sub-cluster number of the plurality of UAV sub-clusters corresponding to the UAV cluster;
[0061] After successfully binding the data communication between the drone control platform and the drone cluster, the cluster control instructions are transmitted to the drone cluster through data communication, and then the task allocation of the drone cluster is carried out;
[0062] The sub-control instructions included in the cluster control instructions are provided with different instruction types, and different instruction types have corresponding instruction numbers and corresponding task contents;
[0063] The instruction types include one type of instruction, two type of instruction and three type of instruction, and the corresponding instruction numbers are P1, P2 and P3 respectively. The corresponding relationship between the instruction type, instruction number and the corresponding task content is as follows:
[0064] When the instruction type is a class I instruction, the corresponding instruction number is P1, and the corresponding task content is: execute a single UAV operation, which includes directional cruising, environmental data collection, and self-position uploading;
[0065] When the instruction type is a second-class instruction, the corresponding instruction number is P2, and the corresponding task content is: perform regional drone operations, and the regional drone operations include data transmission and position sequence generation;
[0066] When the instruction type is a third-class instruction, the corresponding instruction number is P3, and the corresponding task content is: based on the task content corresponding to the first-level instruction and the second-level instruction, it also includes square array layout and panoramic data construction;
[0067] It should be noted that the directional cruise is set with a fixed cruising speed. When the cruising speed is exceeded, an abnormal speed prompt is generated. The environmental data collection is to collect the environmental data around the drone, and the environmental data includes terrain data, obstacle data and meteorological data; the self-position upload is transmitted to the drone control platform through the GPS positioning system arranged by the drone. The data transmission is the data sharing between several drones included in the regional drone, and the self-positions of several drones are obtained to generate a position sequence. The phalanx layout is set with different phalanx types. The panoramic data construction is to obtain the environmental data of several drones, and then generate the panoramic environmental data of the drone cluster;
[0068] Specifically, the process of the adaptive path planning includes:
[0069] Acquire panoramic environmental data, wherein the panoramic environmental data is composed of environmental data collected by a plurality of drones, and the environmental data includes terrain data, obstacle data, and meteorological data;
[0070] The terrain data, obstacle data and meteorological data are marked as Dt1, Dt2 and Dt3 respectively, and the terrain danger determination threshold, obstacle determination threshold and meteorological danger condition threshold are preset, which are marked as WX1, WX2 and WX3 respectively;
[0071] When Dt1≥WX1, a dangerous terrain point corresponding to the terrain data is generated; otherwise, if Dt1<WX1, a safe terrain point is generated;
[0072] When Dt2≥WX2, an obstacle area corresponding to the obstacle data is generated; otherwise, if Dt2<WX2, a non-obstacle area is generated;
[0073] When Dt3≥WX3, a dangerous weather cloud map corresponding to the weather data is generated; otherwise, if Dt3<WX3, a safe weather cloud map is generated;
[0074] Obtain the self-positioning position of the UAV that collects the corresponding environmental data, and generate dangerous nodes according to dangerous terrain points, obstacle areas and dangerous weather cloud maps, and generate running path nodes according to safe terrain points, non-obstacle areas and safe weather cloud maps;
[0075] Aggregate a number of dangerous nodes and running path nodes to construct a panoramic map, wherein the panoramic map includes a dangerous map area and a safe map area, wherein the dangerous map area is generated according to the dangerous nodes, and the safe map area is generated according to the running path nodes;
[0076] Obtain the position sequence of the drone cluster, and then obtain the real-time position corresponding to the drone cluster. When the drone cluster is traveling in the safe map area, obtain the distance between the real-time position and several operation path nodes in sequence, and then generate several operation displacements, and summarize the several operation displacements to generate the shortest driving path; when the drone cluster is traveling in the dangerous map area, generate an emergency jump instruction, and transfer the drone cluster from the dangerous map area to the safe map area through the emergency jump instruction. At this time, obtain the operation path node closest to the drone cluster and mark it as a transfer positioning point;
[0077] It should be noted that when the environmental data collected by the drone is updated, the dangerous terrain points, obstacle areas and dangerous weather cloud maps corresponding to the environmental data are updated accordingly, and then a new panoramic map is generated, and the safe map area and dangerous map area corresponding to the panoramic map are standardized. The drone cluster continues to operate according to the newly generated shortest driving path, achieving adaptive path planning;
[0078] Specifically, the obstacle avoidance warning process includes:
[0079] Get the real-time location of the drone cluster, denoted as L1, get several dangerous nodes in the dangerous map area, and then generate a set of dangerous nodes, denoted as L2, then L2 = {L21, L22, L23, ..., L2K}, where K is a natural number greater than 0;
[0080] The dangerous node has a corresponding position coordinate on the panoramic map, and the position coordinates corresponding to the several dangerous nodes L21, L22, L23, ..., L2K in the dangerous node set are traversed to obtain several position distances between the real-time position and the several position coordinates, which are recorded as L`, and L`=|L1-L21|, |L1-L22|, ..., |L1-L2K|;
[0081] The position distance is compared with a preset safety distance, and then different obstacle avoidance warnings are executed. The obstacle avoidance warnings are associated with corresponding warning signals, and the warning signals include a first-level warning signal, a second-level warning signal, and a third-level warning signal;
[0082] The safety distance is L 安 , the position distance L` and the safety distance L 安 The ratio is recorded as H, and H = L` / L 安 , H≥1;
[0083] When 1.5≤H≤2, a third-level warning signal is generated, and the corresponding obstacle avoidance warning is: the drone cluster drives away from the surrounding dangerous nodes at the preset obstacle avoidance speed until H>2;
[0084] When 1.2≤H<1.5, a secondary warning signal is generated, and the corresponding obstacle avoidance warning is: the drone cluster drives away from the surrounding dangerous nodes at the preset obstacle avoidance speed 2 until H>2;
[0085] When 1≤H<1.2, a first-level warning signal is generated, and the corresponding obstacle avoidance warning is: the drone cluster drives away from the surrounding dangerous nodes at the preset obstacle avoidance speed until H>2;
[0086] When H>2, no warning signal is generated and obstacle avoidance warning is not performed;
[0087] It should be noted that the obstacle avoidance speed 1, the obstacle avoidance speed 2 and the obstacle avoidance speed 3 are in a sequentially increasing relationship in terms of values;
[0088] Specifically, the process of performing fault detection according to the real-time status information includes:
[0089] Acquire the real-time status information of the drone cluster and transmit it to the drone control platform, wherein the real-time status information includes position status information, posture status information, power parameter information, response data information and flight log information;
[0090] The position status information, posture status information, power parameter information, response data information and flight log information in the real-time status information are set with corresponding safe value ranges;
[0091] When the position state information, posture state information, power parameter information, response data information and flight log information in the real-time state information are all within the safe value range, no subsequent fault detection operation is performed;
[0092] If any of the position status information, posture status information, power parameter information, response data information and flight log information in the real-time status information is not within the safe value range, a monitoring period is set, and the monitoring frequency is increased within the monitoring period to identify the fault type, and the UAV control platform performs fault detection according to the fault type;
[0093] The fault types of the fault detection include self-check type and shutdown check type;
[0094] When the fault type is a self-checking type, a check instruction is generated and transmitted to the drone cluster through data communication. The fault self-repair program set by the drone cluster obtains real-time operation data, generates check parameters, and repairs the corresponding fault through the check parameters.
[0095] If the fault type is a shutdown check type, an operation termination instruction is generated, and the UAV corresponding to the fault type in the UAV cluster obtains the operation termination instruction through data communication, and then terminates the flight of the corresponding UAV, and the ground maintenance personnel perform fault maintenance;
[0096] Specifically, the process of terminating the operation includes:
[0097] The operation termination includes the operation termination in the case of a fault and the operation termination when the task is completed, and different termination marks are assigned respectively, which are recorded as End1 and End2;
[0098] When the termination mark is End1, the operation is terminated in the corresponding fault situation, and the drone in the drone cluster with the fault problem is obtained, and the speed and azimuth control are performed on the drone. The speed control is: obtaining the real-time running speed of the drone, setting the speed reduction value, and reducing the real-time running speed of the drone to zero according to the speed reduction value; the azimuth control is: when the drone is in the air, all-round adjustment is performed, and when it is about to land, the control azimuth is a diving azimuth;
[0099] When the termination mark is End2, the operation is terminated when the corresponding task is completed. The speed of one of the drones in the drone cluster is obtained, the speeds of other drones in the drone cluster are synchronously adjusted to the speed of the drone, and a fixed deceleration value is set to make the speed of the drone evenly drop to zero, thereby realizing the operation termination;
[0100] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A computer-based UAV array control method, characterized in that: The following steps are involved: Step S1: construct a drone control platform, obtain drone-related data information and input it into the drone control platform, then construct a drone cluster, and bind the data communication between the drone control platform and the drone cluster through the communication network; Step S2: Transmitting cluster control instructions to the UAV cluster through data communication, thereby operating the UAV cluster and performing cluster control, wherein the cluster control includes task allocation, adaptive path planning, and obstacle avoidance warning; Step S3: Acquire the real-time status information of the drone cluster during operation, transmit the real-time status information to the drone control platform, and perform fault detection and operation termination according to the real-time status information; The process of building a drone control platform includes: Construct a drone control platform, and set up several control partitions and a control master area. The control partition is associated with a partition port sequence and is numbered i, i=1, 2, 3, ..., n, where n is a natural number greater than 0. Set a read-write area and synchronize i as the number of the read-write area. The control master area is associated with a corresponding empty text file. The empty text file summarizes the partition port sequence of each control partition and converts it into a control list text file. The control list text file is stored in a preset encryption database, and a decryption key is generated and transmitted to the administrator; The process of building a drone cluster and binding the data communication between the drone cluster and the drone control platform includes: Obtain drone related data information, the drone related data information includes drone number, drone model and drone flight log information, record the drone number as j, j = 1, 2, 3, ..., m, where m is a natural number greater than 0, and encapsulate and generate j data packets to be imported as an encapsulation index, establish a temporary interaction space to input a decryption key and j data packets to be imported, the data packets to be imported are associated with an encapsulation IP address, and a legal encapsulation IP list is preset in the temporary interaction space, and whether the data packet to be imported is a legal data packet is determined according to the encapsulation IP address and the legal encapsulation IP list; if not, do not do anything, if so, generate a decryption database request, obtain the decryption key through the decryption database request, and obtain the control list text file through the decryption key, and then form a drone subcluster according to the mapping association between the control list text file and the data packet to be imported, and assign the corresponding subcluster number K, K =<i,j> ; The control center aggregates several drone sub-clusters to build a drone cluster; A communication network is set up, and the communication network has corresponding communication states, including "communication loading state", "communication interruption state" and "communication interference state". In the "communication loading state", the data communication between the drone control platform and the drone cluster is bound through the communication network; in the "communication interruption state" and "communication interference state", abnormal log A and abnormal log B are generated, and the abnormal log A and abnormal log B are transmitted to the administrator, who performs communication recovery and interference source retrieval and elimination, and then binds the data communication between the drone control platform and the drone cluster.
2. A computer-based UAV array control method according to claim 1, characterized in that: The task allocation process includes: The UAV control platform generates a cluster control instruction, which includes several sub-control instructions, denoted as C[K], where K is the sub-cluster number of several UAV sub-clusters. The cluster control instruction is transmitted to the UAV cluster through data communication. The sub-control instruction is provided with different instruction types, and different instruction types have corresponding instruction numbers. The instruction numbers have corresponding task contents, and the corresponding task contents are executed according to the instruction numbers corresponding to the instruction types.
3. A computer-based UAV array control method according to claim 2, characterized in that: The process of the adaptive path planning includes: Obtain panoramic environmental data. The panoramic environmental data is composed of environmental data collected by several drones. The environmental data includes terrain data, obstacle data and meteorological data. The terrain data, obstacle data and meteorological data are marked as Dt1, Dt2 and Dt3 respectively. The terrain danger determination threshold, obstacle determination threshold and meteorological danger condition threshold are preset and recorded as WX1, WX2 and WX3 respectively. When Dt1≥WX1, a dangerous terrain point corresponding to the terrain data is generated; otherwise, if Dt1<WX1, a safe terrain point is generated; When Dt2≥WX2, an obstacle area corresponding to the obstacle data is generated; otherwise, if Dt2<WX2, a non-obstacle area is generated; When Dt3≥WX3, a dangerous weather cloud map corresponding to the weather data is generated; otherwise, if Dt3<WX3, a safe weather cloud map is generated; Generate dangerous nodes according to dangerous terrain points, obstacle areas and dangerous weather cloud maps, generate operation path nodes according to safe terrain points, non-obstruction areas and safe weather cloud maps, summarize several dangerous nodes and operation path nodes, and then construct a panoramic map, which includes dangerous map areas and safe map areas; Obtain the position sequence of the drone cluster and then obtain the real-time position. When driving in the safe map area, obtain the distance between the real-time position and several operation path nodes in sequence, and then generate several operation displacements, and then generate the shortest driving path; when driving in the dangerous map area, generate an emergency jump instruction to transfer the drone cluster from the dangerous map area to the safe map area, and obtain the operation path node closest to the drone cluster, marking it as the transfer positioning point.
4. A computer-based UAV array control method according to claim 3, characterized in that: The obstacle avoidance warning process includes: The real-time position of the drone cluster is obtained, denoted as L1, and several dangerous nodes in the dangerous map area are obtained, and then a set of dangerous nodes is generated, denoted as L2, then L2={L21, L22, L23, ..., L2K}, the dangerous nodes have corresponding position coordinates on the panoramic map, and the position coordinates corresponding to several dangerous nodes L21, L22, L23, ..., L2K are traversed to obtain several position distances between the real-time position and the several position coordinates, denoted as L`, and L`=|L1-L21|, |L1-L22|, ..., |L1-L2K|, and the position distance is compared with the preset safety distance, and then different obstacle avoidance warnings are executed. The obstacle avoidance warning is associated with a corresponding warning signal, and the warning signal includes a first-level warning signal, a second-level warning signal and a third-level warning signal.
5. A computer-based UAV array control method according to claim 4, characterized in that: The process of performing fault detection according to the real-time status information includes: Acquire the real-time status information of the drone cluster and transmit it to the drone control platform, wherein the real-time status information includes position status information, posture status information, power parameter information, response data information and flight log information, and the position status information, posture status information, power parameter information, response data information and flight log information are set with corresponding safety value ranges; If the position state information, posture state information, power parameter information, response data information and flight log information are all within the safe value range, subsequent fault detection operations are not performed; If any of the position status information, posture status information, power parameter information, response data information and flight log information is not within the safe value range, a monitoring period is set, and the monitoring frequency is increased within the monitoring period to identify the type of fault. The UAV control platform performs fault detection according to the fault type. The fault types detected include self-check type and shutdown check type. Corresponding fault inspection and repair are performed according to the fault type.
6. A computer-based UAV array control method according to claim 5, characterized in that: The process of operation termination includes: The operation termination includes the operation termination in the case of a fault and the operation termination when the task is completed, and different termination marks are assigned respectively, which are recorded as End1 and End2; When the termination mark is End1, the operation corresponding to the fault situation is terminated, and the UAV in the UAV cluster with the fault problem is obtained, and the speed and direction of the UAV are controlled; When the termination mark is End2, the operation is terminated when the corresponding task is completed. The speed of one of the drones in the drone cluster is obtained, the speeds of other drones in the drone cluster are synchronously adjusted to the speed of the drone, and a fixed deceleration value is set so that the speed of the drone is evenly reduced to zero, thereby achieving operation termination.
