Unmanned aerial vehicle anti-collision method and system based on particle swarm genetic algorithm

Through the UAV anti-collision method based on particle swarm genetic algorithm, the UAV identification location and registration process are optimized, solving the problem of collision and identification delay in a multi-UAV environment, and improving the safety and efficiency of UAVs.

CN118798608AInactive Publication Date: 2024-10-18JIANGSU FRONTIER ELECTRIC TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411290910.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In an environment where multiple UAVs operate simultaneously, UAVs are prone to collisions when entering and exiting the hangar. Existing anti-collision methods are inefficient and have high recognition delays, which affects the safety and efficiency of UAV smart hangars.

Method used

The UAV anti-collision method based on the particle swarm genetic algorithm is used to obtain the electronic tag ID information by receiving the dispatching instructions of the UAV, group and randomly generate the identification position, and use the adaptive chaotic particle swarm anti-collision genetic algorithm to optimize the identification position. Combined with the composite guidance vector, the electronic tag is controlled to send signature information to the reader to realize the identification, classification and registration management of drones.

Benefits of technology

It effectively reduces the risk of collision in the drone environment, improves the flight safety and efficiency of drones, quickly detects abnormal drones, avoids congestion in the drone registration process, and improves tag recognition efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798608A_ABST
    Figure CN118798608A_ABST
Patent Text Reader

Abstract

The invention discloses an unmanned aerial vehicle anti-collision method and system based on a particle swarm genetic algorithm. The method comprises the steps that a dispatching instruction of an unmanned aerial vehicle is received, and electronic tag ID information of the dispatched unmanned aerial vehicle is obtained; grouping the electronic tags of the dispatched unmanned aerial vehicles and randomly generating identification positions of the electronic tags; and taking the electronic tags as particles, performing global optimization operation on the identification positions of the electronic tags based on an adaptive chaotic particle swarm anti-collision genetic algorithm to obtain the optimal identification positions of the electronic tags, and controlling the electronic tags to send signature information to the corresponding readers according to the composite guidance vectors. The electronic tags are identified and classified based on the signature information, and unmanned aerial vehicle registration management is completed; the identification position of the electronic tag is reasonably deployed, the collision risk in the multi-unmanned-aerial-vehicle environment is effectively reduced, and the flight safety and efficiency of the unmanned aerial vehicles are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of unmanned aerial vehicle control, and in particular relates to a unmanned aerial vehicle anti-collision method and system based on a particle swarm genetic algorithm. Background Art

[0002] In recent years, drone technology has made significant progress in both civil and military fields. At present, some power companies use drones to inspect power lines, substations, etc., to promptly discover and deal with potential safety hazards, improve the stability and safety of the power system, and at the same time, drone smart hangars for storing drones have been established at different data collection sites.

[0003] The drone smart hangar is equipped with a radio frequency identification system, which is usually composed of a reader and an electronic tag. The drone with the electronic tag is identified and tracked through radio waves, thus realizing the automatic management of the drone.

[0004] However, in an environment where multiple drones are operating simultaneously, large numbers of drones need to be identified and registered when entering and exiting the hangar to perform tasks, and collisions are likely to occur during the process, making the safety and efficiency issues of drone smart hangars increasingly prominent. In addition, existing drone anti-collision methods have the problems of low efficiency and high recognition delay. Summary of the invention

[0005] The present invention provides a UAV collision avoidance method and system based on particle swarm genetic algorithm, which effectively reduces the collision risk in a multi-UAV environment and improves the flight safety and efficiency of UAVs.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is: The first aspect of the present invention provides a UAV collision avoidance method based on a particle swarm genetic algorithm, comprising: Receive the dispatch instruction of the drone to obtain the electronic tag ID information of the dispatched drone, and a mapping relationship is set between the electronic tag ID information and the time slot; The electronic tags of dispatched drones are grouped and the identification positions of the electronic tags are randomly generated. The electronic tags are used as particles, and the identification positions of each electronic tag are globally optimized based on the adaptive chaotic particle swarm anti-collision genetic algorithm to obtain the optimal identification position of each electronic tag. The reader covering each electronic tag is determined according to the optimal identification position. The electronic tag ID information of the dispatched drone is added to the composite guidance vector. The electronic tag is controlled to send signature information to the corresponding reader according to the composite guidance vector. The electronic tag is identified and classified based on the signature information and the drone registration management is completed.

[0007] Furthermore, the process of constructing a composite guidance vector includes: Get the historical tag collection stored in the drone smart hangar , calculate the index value of the historical tag ID information through a hash function; evenly map the historical tag ID information to each time slot according to the index value; the time slot is divided into an empty time slot and a single time slot; the empty time slot is a time slot that does not establish a mapping relationship with the historical tag ID information; the single time slot is a time slot that establishes a mapping relationship with a single historical tag ID information; Obtain the historical tag ID information to be identified, and generate a composite guidance initialization vector based on the historical tag ID information to be identified and the time slot mapped thereto by performing binary representation; The historical tags are identified and classified according to the composite guidance initialization vector. The number of time slots in the composite guidance initialization vector is optimized with the goal of minimizing the classification time overhead of the historical tags, and the optimal composite guidance vector is calculated.

[0008] Furthermore, with the goal of minimizing the classification time overhead of the electronic tag, the number of time slots in the composite guidance initialization vector is optimized, and the optimal composite guidance vector is calculated, including: Time cost of computing broadcast composite guidance initialization vector , the expression formula is: ; In the formula, It is represented as the length of the time slot in the composite guidance initialization vector; It is represented as the number of time slots in the composite guidance initialization vector; It is represented as the rate of broadcasting composite guidance initialization vector; The time cost of replying signature information from historical tags and identifying and classifying historical tags based on signature information , the expression formula is: ; In the formula, Expressed as the number of historical tags; Indicates the length of the signature message replied for a single history tag; It is expressed as the recognition rate of signature information; The label classification includes the original label, the newly added label and the lost label, and the recognition rate of the historical label classification as the original label is calculated. , the expression formula is: ; In the formula, Represented as the number of original labels; It is expressed as the number of newly added tags; Based on time cost , time expenditure and recognition rate The classification time overhead of electronic tags is calculated using the following formula: ; In the formula, It is expressed as the classification time overhead of the electronic tag; It is expressed as the time cost of broadcasting composite guidance initialization vector; The time cost expressed as the execution time frame; The number of time slots represented by the composite guidance initialization vector; It is expressed as the recognition rate of the original label, With the goal of minimizing the classification time overhead of electronic tags, the classification time overhead function is optimized to obtain the optimal number of time slots, which is expressed as: ; In the formula, Expressed as the optimal number of time slots; The number of time slots of the composite guidance initialization vector is adjusted according to the optimal number of time slots to obtain the optimal composite guidance vector.

[0009] Furthermore, the electronic tags of the dispatched drones are grouped and the identification positions of the electronic tags are randomly generated, including: Generate a request command and send it to the electronic tag on each drone, so that the memory of each electronic tag generates a first random integer between 0 and n; group the electronic tags according to the first random integer; The electronic tags in each group are assigned a second random integer between 0 and m; the assigned second random integer is used as the initial horizontal coordinate of the electronic tag, and the arrangement order of the second random integers is used as the initial vertical coordinate of the electronic tag, and the identification position is determined by the initial horizontal coordinate and initial vertical coordinate of the electronic tag.

[0010] Furthermore, based on the adaptive chaotic particle swarm anti-collision genetic algorithm, the recognition position of each electronic tag is globally optimized to obtain the optimal recognition position of each electronic tag, including: Initialize the position and velocity of the particle swarm, and update the position of the particle swarm based on its velocity; the expression formula is ; In the formula, Expressed as The velocity of the i-th particle in the iteration; Expressed as The position of the i-th particle in the iteration; Expressed as The position of the i-th particle in the iteration; Calculate the fitness value of each particle; select mature particles from the particle swarm based on the fitness value; adaptively adjust the inertia weight according to the rate of change of the particle fitness value; update the speed of the particle swarm based on the inertia weight and mature particles; Calculate the particle swarm distribution entropy, average particle spacing and fitness mean square error; when the particle swarm distribution entropy, average particle spacing and fitness mean square error meet the preset particle maturity conditions, perform crossover and mutation operations on the particle swarm to update the particle position and speed, and find the global optimal solution in the particle swarm; The global optimal solution is used to update the historical optimal solution of the electronic tag identification position deployment; the iteration is repeated until the maximum number of iterations is reached to output the optimal identification position of the electronic tag.

[0011] Furthermore, the inertia weight is adaptively adjusted according to the rate of change of the particle fitness value; the velocity of the particle group is updated based on the inertia weight and mature particles; ; ; In the formula, It is expressed as the rate of change of the particle fitness value at the kth iteration; and Expressed as maximum inertia weight value and minimum inertia weight value; It is represented as the historical optimal position of the i-th particle after the k-th iteration; It is represented as the global optimal position of the particle swarm after the kth iteration; It is expressed as the inertia weight of the i-th particle at the k-th iteration; and Expressed as acceleration factor; and Represented as a random number between 0 and 1; Expressed as The velocity of the i-th particle in iteration .

[0012] Furthermore, the particle swarm is cross-operated to update the particle position and velocity, including: Two particles are randomly selected from the particle swarm as the parent particles of the crossover operation, and are denoted as parent particles and parent particle ; For parent particles and parent particle Perform crossover operation to obtain offspring particles, the expression formula is: ; ; In the formula, and is a random number in [0,1]; and Expressed as The parent particle position of the crossover operation in iteration; and Expressed as The positions of the descendant particles of the crossover operation in the iteration; and Expressed as The parent particle velocity of the crossover operation in iteration; and Expressed as The velocity of the descendant particles of the crossover operation in the iteration; Repeat the crossover operation on the particle swarm until the ratio of the offspring particles generated by the crossover operation to the total number of particles in the particle swarm reaches the preset crossover probability.

[0013] Furthermore, the particle swarm is mutated to update the particle position, and the expression formula is: Randomly select particles from the particle swarm as the first generation particles of the mutation operation, and use the Tent mapping chaos method to perform chaotic operations on the first generation particles to obtain perturbed particles. Based on the chaotic perturbation, the mutation operation of the first generation particles is performed to obtain the mutant particles. The expression formula is: ; ; In the formula, Expressed as The mutant particles of the mutation operation in the iteration; No. The position of the i-th particle in the iteration; Expressed as the proportional coefficient of the kth iteration; Represented as the position of the i-th perturbed particle; is a random number, or 0; k represents the number of iterations; q represents the setting parameter; Update the mutation probability of the mutation operation in the kth iteration, expressed as: ; In the formula, It is represented as the mutation probability of the mutation operation in the kth iteration, and K is the set maximum number of iterations; and Expressed as the setting coefficient, ; It is expressed as setting weight; Repeat the mutation operation on the particle swarm until the ratio of the mutated particles to the total number of particles in the particle swarm reaches the preset mutation probability.

[0014] Furthermore, the electronic tag is controlled to send signature information to the corresponding reader according to the composite guidance vector, and the electronic tag is identified and classified based on the signature information to complete the registration management of the drone, including: In each time slot, a single electronic tag sends a signature message generated based on the ID information to the reader. The signature information is identified according to the composite guidance vector jump time frame. When the signature information is not received, the electronic tag mapped by the time slot is classified as a lost tag and an early warning prompt is issued; When the electronic tag ID information recognized by the reader is consistent with the electronic tag ID information mapped by the time slot, the electronic tag sending the signature information is classified as an original tag and the electronic tag ID information is registered; When the electronic tag ID information recognized by the reader is inconsistent with the electronic tag ID information mapped by the time slot, the electronic tag that sends the signature information is classified as a newly added tag, the electronic tag mapped by the time slot is classified as a lost tag and an early warning prompt is issued.

[0015] In a second aspect, the present invention provides a UAV collision avoidance system based on a particle swarm genetic algorithm, comprising: An acquisition module is used to receive the dispatch instruction of the drone to obtain the electronic tag ID information of the dispatched drone, and a mapping relationship is set between the electronic tag ID information and the time slot; The deployment module is used to group the electronic tags of the dispatched drones and randomly generate the identification positions of the electronic tags; the electronic tags are used as particles, and the identification positions of each electronic tag are globally optimized based on the adaptive chaotic particle swarm anti-collision genetic algorithm to obtain the optimal identification position of each electronic tag, and the reader covering each electronic tag is determined according to the optimal identification position; The identification module is used to add the electronic tag ID information of the dispatched drone to the composite guidance vector, control the electronic tag to send signature information to the corresponding reader according to the composite guidance vector, identify and classify the electronic tag based on the signature information, and complete the drone registration management.

[0016] Compared with the prior art, the present invention has the following beneficial effects: The present invention receives a dispatch instruction of a drone to obtain the electronic tag ID information of the dispatched drone, wherein a mapping relationship is set between the electronic tag ID information and the time slot; the electronic tag ID information of the dispatched drone is added to a composite guidance vector, and the electronic tag is controlled to send signature information to a corresponding reader according to the composite guidance vector, and the electronic tag is identified and classified based on the signature information to complete the drone registration management; according to the composite guidance vector, empty time slots can be skipped and the tag recognition efficiency can be improved, and based on the mapping relationship between the electronic tag ID information and the time slot, abnormal drones can be quickly discovered and registered, thereby avoiding congestion in the drone entry and exit registration.

[0017] The present invention groups the electronic tags of dispatched drones and randomly generates identification positions of the electronic tags; uses the electronic tag deployment scheme as particles, performs global optimization operations on the identification positions of various electronic tags based on an adaptive chaotic particle swarm anti-collision genetic algorithm, obtains the optimal identification position of each electronic tag, and determines the reader covering each electronic tag according to the optimal identification position; reasonably deploys the identification positions of the electronic tags, effectively reduces the collision risk in a multi-drone environment, and improves the flight safety and efficiency of the drones. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A flow chart of the UAV collision avoidance method based on particle swarm genetic algorithm provided in Embodiment 1 and Embodiment 2 of the present invention; Figure 2 A flowchart of the electronic tag optimization deployment provided by Embodiment 2 of the present invention; Figure 3 A flowchart of electronic tag identification and classification provided in Example 2 of the present invention; Figure 4 The initial distribution map of electronic tags provided in Example 2 of the present invention; Figure 5 This is an optimized distribution diagram of electronic tags provided in Example 2 of the present invention. DETAILED DESCRIPTION

[0019] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0020] Example 1 like Figure 1 As shown, this implementation provides a UAV collision avoidance method based on particle swarm genetic algorithm, including: Receive the dispatch instruction of the drone to obtain the electronic tag ID information of the dispatched drone, and a mapping relationship is set between the electronic tag ID information and the time slot; The electronic tags of dispatched drones are grouped and the identification positions of the electronic tags are randomly generated. The electronic tags are used as particles, and the identification positions of each electronic tag are globally optimized based on the adaptive chaotic particle swarm anti-collision genetic algorithm to obtain the optimal identification position of each electronic tag. The reader covering each electronic tag is determined according to the optimal identification position. The electronic tag ID information of the dispatched drone is added to the composite guidance vector, and the electronic tag is controlled to send signature information to the corresponding reader according to the composite guidance vector. The electronic tag is identified and classified based on the signature information and the drone registration management is completed, including: In each time slot, a single electronic tag sends a signature message generated based on the ID information to the reader. The signature information is identified according to the composite guidance vector jump time frame. When the signature information is not received, the electronic tag mapped by the time slot is classified as a lost tag and an early warning prompt is issued; When the electronic tag ID information recognized by the reader is consistent with the electronic tag ID information mapped by the time slot, the electronic tag sending the signature information is classified as an original tag and the electronic tag ID information is registered; When the electronic tag ID information recognized by the reader is inconsistent with the electronic tag ID information mapped by the time slot, the electronic tag that sends the signature information is classified as a newly added tag, the electronic tag mapped by the time slot is classified as a lost tag and an early warning prompt is issued.

[0021] The composite guidance vector can skip empty time slots and improve tag recognition efficiency. Based on the mapping relationship between the electronic tag ID information and the time slot, abnormal drones can be quickly discovered and registered, avoiding congestion in drone entry and exit registration.

[0022] Example 2 like Figure 1 As shown, this implementation provides a UAV collision avoidance method based on particle swarm genetic algorithm, including: Get the historical tag collection stored in the drone smart hangar , calculate the index value of the historical tag ID information through a hash function; evenly map the historical tag ID information to each time slot according to the index value; the time slot is divided into an empty time slot and a single time slot; the empty time slot is a time slot that does not establish a mapping relationship with the historical tag ID information; the single time slot is a time slot that establishes a mapping relationship with a single historical tag ID information; Obtain the historical tag ID information to be identified, and generate a composite guidance initialization vector based on the historical tag ID information to be identified and the time slot mapped thereto by performing binary representation; The historical tags are identified and classified according to the composite guidance initialization vector. The number of time slots in the composite guidance initialization vector is optimized to minimize the classification time overhead of the historical tags. The optimal composite guidance vector is calculated. The specific process includes: Time cost of computing broadcast composite guidance initialization vector , the expression formula is: ; In the formula, It is represented as the length of the time slot in the composite guidance initialization vector; It is represented as the number of time slots in the composite guidance initialization vector; It is represented as the rate of broadcasting composite guidance initialization vector; The time cost of replying signature information from historical tags and identifying and classifying historical tags based on signature information , the expression formula is: ; In the formula, Expressed as the number of historical tags; Indicates the length of the signature message replied for a single history tag; It is expressed as the recognition rate of signature information; The label classification includes the original label, the newly added label and the lost label, and the recognition rate of the historical label classification as the original label is calculated. , the expression formula is: ; In the formula, Represented as the number of original labels; It is expressed as the number of newly added tags; Based on time cost , time expenditure and recognition rate The classification time overhead of electronic tags is calculated using the following formula: ; In the formula, It is expressed as the classification time overhead of the electronic tag; It is expressed as the time cost of broadcasting composite guidance initialization vector; The time cost expressed as the execution time frame; The number of time slots represented by the composite guidance initialization vector; It is expressed as the recognition rate of the original label, With the goal of minimizing the classification time overhead of electronic tags, the classification time overhead function is optimized to obtain the optimal number of time slots, which is expressed as: ; In the formula, Expressed as the optimal number of time slots; The number of time slots of the composite guidance initialization vector is adjusted according to the optimal number of time slots to obtain the optimal composite guidance vector. Increasing the number of time slots in the composite guidance initialization vector can reduce the interference between electronic tags, but the communication cost of broadcasting the composite guidance vector also increases; the probability of false recognition decreases with the increase of the signature information length d, but the communication overhead caused by the tag transmitting the signature will also increase; by optimizing the number of time slots in the composite guidance initialization vector, the interference of the electronic tags and the classification time overhead can be balanced.

[0023] Receive the dispatch instruction of the drone to obtain the electronic tag ID information of the dispatched drone, and a mapping relationship is set between the electronic tag ID information and the time slot;

[0024] The electronic tags of the dispatched drones are grouped and the identification locations of the electronic tags are randomly generated, including: Generate a request command and send it to the electronic tag on each drone, so that the memory of each electronic tag generates a first random integer between 0 and n; group the electronic tags according to the first random integer; The electronic tags in each group are assigned a second random integer between 0 and m; the assigned second random integer is used as the initial horizontal coordinate of the electronic tag, and the arrangement order of the second random integer is used as the initial vertical coordinate of the electronic tag, such as Figure 4 As shown, the identification position is determined by the initial horizontal coordinate and initial vertical coordinate of the electronic tag.

[0025] like Figure 2 As shown in FIG. 1 , the electronic tags are taken as particles, and the recognition positions of the electronic tags are globally optimized based on the adaptive chaotic particle swarm anti-collision genetic algorithm to obtain the optimal recognition position of each electronic tag, including: Initialize the position and velocity of the particle swarm, and update the position of the particle swarm based on its velocity; the expression formula is: ; In the formula, Expressed as The velocity of the i-th particle in the iteration; Expressed as The position of the i-th particle in the iteration; Expressed as The position of the i-th particle in the iteration; Calculate the fitness value of each particle; select mature particles from the particle swarm based on the fitness value; adaptively adjust the inertia weight according to the rate of change of the particle fitness value; update the speed of the particle swarm based on the inertia weight and mature particles; the expression formula is: ; ; In the formula, It is expressed as the rate of change of the particle fitness value at the kth iteration; and Expressed as maximum inertia weight value and minimum inertia weight value; It is represented as the historical optimal position of the i-th particle after the k-th iteration; It is represented as the global optimal position of the particle swarm after the kth iteration; It is expressed as the inertia weight of the i-th particle at the k-th iteration; and Expressed as acceleration factor; and Represented as a random number between 0 and 1; Expressed as The velocity of the i-th particle in iteration .

[0026] The method of adaptively adjusting the inertia weight based on the rate of change of the particle fitness value, that is, the inertia weight is determined by the change of the particle fitness value. Each particle determines the speed and position of the next iteration based on its own memory and the memory of the surrounding particles. During the search process, particles generally gather towards the optimal position, so choosing a suitable inertia weight can improve the algorithm's optimization ability.

[0027] When the value of the fitness value change rate is large, it means that the particles in the particle population are in an active state. At this time, increasing the inertia weight is beneficial to improving the global search speed of the particles; when the value of the fitness value change rate becomes smaller, it means that the particles in the particle population are in an inactive state. At this time, reducing the inertia weight is beneficial to improving the global optimization ability of the particles.

[0028] Calculate the particle swarm distribution entropy, the average particle spacing and the mean square error of fitness; when the particle swarm distribution entropy, the average particle spacing and the mean square error of fitness meet the preset particle maturity condition, the particle maturity condition is that the particle swarm distribution entropy, the average particle spacing and the mean square error of fitness are less than the set threshold and k is less than 0.7K, k is the number of iterations, K is the maximum number of iterations; perform crossover and mutation operations on the particle swarm to update the position and speed of the particles and find the global optimal solution in the particle swarm; The global optimal solution is used to update the historical optimal solution of the electronic tag identification position deployment; the iteration is repeated until the maximum number of iterations is reached to output the optimal identification position of the electronic tag, and the optimal identification position is as follows: Figure 5 shown.

[0029] Among them, the cross operation of the particle group is performed to update the position and speed of the particles, including: Two particles are randomly selected from the particle swarm as the parent particles of the crossover operation, and are denoted as parent particles and parent particle ; For parent particles and parent particle Perform crossover operation to obtain offspring particles, the expression formula is: ; ; In the formula, and is a random number in [0,1]; and Expressed as The parent particle position of the crossover operation in iteration; and Expressed as The positions of the descendant particles of the crossover operation in the iteration; and Expressed as The parent particle velocity of the crossover operation in iteration; and Expressed as The velocity of the descendant particles of the crossover operation in the iteration; Repeat the crossover operation on the particle swarm until the ratio of the offspring particles generated by the crossover operation to the total number of particles in the particle swarm reaches the preset crossover probability.

[0030] Among them, the particle swarm is mutated to update the particle position, and the expression formula is: Randomly select particles from the particle swarm as the first generation particles of the mutation operation, and use the Tent mapping chaos method to perform chaotic operations on the first generation particles to obtain perturbed particles. Based on the chaotic perturbation, the mutation operation of the first generation particles is performed to obtain the mutant particles. The expression formula is: ; ; In the formula, Expressed as The mutant particles of the mutation operation in the iteration; No. The position of the i-th particle in the iteration; Expressed as the proportional coefficient of the kth iteration; Represented as the position of the i-th perturbed particle; is a random number, or 0; k represents the number of iterations; q represents the setting parameter; Update the mutation probability of the mutation operation in the kth iteration, expressed as: ; In the formula, It is represented as the mutation probability of the mutation operation in the kth iteration, and K is the set maximum number of iterations; and Expressed as the setting coefficient, ; It is expressed as setting weight; Repeat the mutation operation on the particle swarm until the ratio of the mutated particles to the total number of particles in the particle swarm reaches the preset mutation probability.

[0031] By combining genetic algorithm with chaos algorithm, introducing chaotic variables, and balancing the capabilities of global search and local search, the improved particle swarm algorithm can jump out of the local solution and obtain the global optimal solution.

[0032] Determine the reader covering each electronic tag according to the optimal identification position; add the electronic tag ID information of the dispatched drone to the composite guidance vector, control the electronic tag to send signature information to the corresponding reader according to the composite guidance vector, identify and classify the electronic tag based on the signature information and complete the drone registration management, such as Figure 3 As shown, the specific process includes: In each time slot, a single electronic tag sends a signature message generated based on the ID information to the reader. The signature information is identified according to the composite guidance vector jump time frame. When the signature information is not received, the electronic tag mapped by the time slot is classified as a lost tag and an early warning prompt is issued; When the electronic tag ID information recognized by the reader is consistent with the electronic tag ID information mapped by the time slot, the electronic tag sending the signature information is classified as an original tag and the electronic tag ID information is registered; When the electronic tag ID information recognized by the reader is inconsistent with the electronic tag ID information mapped by the time slot, the electronic tag that sends the signature information is classified as a newly added tag, the electronic tag mapped by the time slot is classified as a lost tag and an early warning prompt is issued.

[0033] This embodiment tests 10, 20, 30, and 40 electronic tag test specimens, and tests the particle swarm optimization algorithm and the adaptive chaotic particle swarm anti-collision genetic algorithm to obtain the throughput rate of the drone hangar and the total tag recognition time. The comparison results are shown in Tables 1 to 4; Table 1. UAV throughput rate in particle swarm optimization algorithm;

[0034] Table 2. UAV throughput rate in adaptive chaotic particle swarm anti-collision genetic algorithm;

[0035] Table 3, Total time consumed for label recognition using particle swarm optimization algorithm;

[0036] Table 4, Total time consumed for label recognition using adaptive chaotic particle swarm anti-collision genetic algorithm;

[0037] By comparing the test results, the improved method can reduce the number of queries between the reader and the tag in terms of throughput, and increase the throughput of the drone as the electronic tag data increases. In terms of total time consumption, the time required for the reader to identify the electronic tag is reduced, thereby improving the performance of the drone hangar.

[0038] Example 3 This embodiment provides a UAV anti-collision system based on a particle swarm genetic algorithm. The UAV anti-collision system described in this embodiment can apply the UAV anti-collision method described in Example 1 and Example 2. The UAV anti-collision system includes: An acquisition module is used to receive the dispatch instruction of the drone to obtain the electronic tag ID information of the dispatched drone, and a mapping relationship is set between the electronic tag ID information and the time slot; The deployment module is used to group the electronic tags of the dispatched drones and randomly generate the identification positions of the electronic tags; the electronic tags are used as particles, and the identification positions of each electronic tag are globally optimized based on the adaptive chaotic particle swarm anti-collision genetic algorithm to obtain the optimal identification position of each electronic tag, and the reader covering each electronic tag is determined according to the optimal identification position; The identification module is used to add the electronic tag ID information of the dispatched drone to the composite guidance vector, control the electronic tag to send signature information to the corresponding reader according to the composite guidance vector, identify and classify the electronic tag based on the signature information, and complete the drone registration management.

[0039] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, etc.) containing computer-usable program code. M , optical storage, etc.).

[0040] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0041] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0042] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0043] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A UAV collision avoidance method based on particle swarm genetic algorithm, characterized in that: include: Receive the dispatch instruction of the drone to obtain the electronic tag ID information of the dispatched drone, and a mapping relationship is set between the electronic tag ID information and the time slot; The electronic tags of dispatched drones are grouped and the identification positions of the electronic tags are randomly generated. The electronic tags are used as particles, and the identification positions of each electronic tag are globally optimized based on the adaptive chaotic particle swarm anti-collision genetic algorithm to obtain the optimal identification position of each electronic tag. The reader covering each electronic tag is determined according to the optimal identification position. The electronic tag ID information of the dispatched drone is added to the composite guidance vector. The electronic tag is controlled to send signature information to the corresponding reader according to the composite guidance vector. The electronic tag is identified and classified based on the signature information and the drone registration management is completed.

2. The UAV collision avoidance method according to claim 1, characterized in that: The process of constructing a composite guidance vector includes: Get the historical tag collection stored in the drone smart hangar , calculate the index value of the historical tag ID information through a hash function; evenly map the historical tag ID information to each time slot according to the index value; the time slot is divided into an empty time slot and a single time slot; the empty time slot is a time slot that does not establish a mapping relationship with the historical tag ID information; the single time slot is a time slot that establishes a mapping relationship with a single historical tag ID information; Obtain the historical tag ID information to be identified, and generate a composite guidance initialization vector based on the historical tag ID information to be identified and the time slot mapped thereto by performing binary representation; The historical tags are identified and classified according to the composite guidance initialization vector. The number of time slots in the composite guidance initialization vector is optimized with the goal of minimizing the classification time overhead of the historical tags, and the optimal composite guidance vector is calculated.

3. The UAV collision avoidance method according to claim 2, characterized in that: To minimize the classification time overhead of the electronic tag, the number of time slots in the composite guidance initialization vector is optimized, and the optimal composite guidance vector is calculated, including: Time cost of computing broadcast composite guidance initialization vector , the expression formula is: ; In the formula, It is represented as the length of the time slot in the composite guidance initialization vector; It is represented as the number of time slots in the composite guidance initialization vector; It is represented as the rate of broadcasting composite guidance initialization vector; The time cost of replying signature information from historical tags and identifying and classifying historical tags based on signature information , the expression formula is: ; In the formula, Expressed as the number of historical tags; Indicates the length of the signature message replied for a single history tag; It is expressed as the recognition rate of signature information; The label classification includes the original label, the newly added label and the lost label, and the recognition rate of the historical label classification as the original label is calculated. , the expression formula is: ; In the formula, Represented as the number of original labels; It is expressed as the number of newly added tags; Based on time cost , time expenditure and recognition rate The classification time overhead of electronic tags is calculated using the following formula: ; In the formula, It is expressed as the classification time overhead of the electronic tag; It is expressed as the time cost of broadcasting composite guidance initialization vector; The time cost expressed as the execution time frame; The number of time slots represented by the composite guidance initialization vector; It is expressed as the recognition rate of the original label, With the goal of minimizing the classification time overhead of electronic tags, the classification time overhead function is optimized to obtain the optimal number of time slots, which is expressed as: ; In the formula, Expressed as the optimal number of time slots; The number of time slots of the composite guidance initialization vector is adjusted according to the optimal number of time slots to obtain the optimal composite guidance vector.

4. The UAV collision avoidance method according to claim 1, characterized in that: The electronic tags of the dispatched drones are grouped and the identification locations of the electronic tags are randomly generated, including: Generate a request command and send it to the electronic tag on each drone, so that the memory of each electronic tag generates a first random integer between 0 and n; group the electronic tags according to the first random integer; The electronic tags in each group are assigned a second random integer between 0 and m; the assigned second random integer is used as the initial horizontal coordinate of the electronic tag, and the arrangement order of the second random integers is used as the initial vertical coordinate of the electronic tag, and the identification position is determined by the initial horizontal coordinate and initial vertical coordinate of the electronic tag.

5. The UAV collision avoidance method according to claim 1, characterized in that: Based on the adaptive chaotic particle swarm anti-collision genetic algorithm, the recognition position of each electronic tag is globally optimized to obtain the optimal recognition position of each electronic tag, including: Initialize the position and velocity of the particle swarm, and update the position of the particle swarm based on its velocity; the expression formula is ; In the formula, Expressed as The velocity of the i-th particle in the iteration; Expressed as The position of the i-th particle in the iteration; Expressed as The position of the i-th particle in the iteration; Calculate the fitness value of each particle; select mature particles from the particle swarm based on the fitness value; adaptively adjust the inertia weight according to the rate of change of the particle fitness value; update the speed of the particle swarm based on the inertia weight and mature particles; Calculate the particle swarm distribution entropy, average particle spacing and fitness mean square error; when the particle swarm distribution entropy, average particle spacing and fitness mean square error meet the preset particle maturity conditions, perform crossover and mutation operations on the particle swarm to update the particle position and speed, and find the global optimal solution in the particle swarm; The global optimal solution is used to update the historical optimal solution of the electronic tag identification position deployment; the iteration is repeated until the maximum number of iterations is reached to output the optimal identification position of the electronic tag.

6. The UAV collision avoidance method according to claim 5, characterized in that: Adaptively adjust the inertia weight according to the rate of change of the particle fitness value; update the speed of the particle group based on the inertia weight and mature particles; ; ; In the formula, It is expressed as the rate of change of the particle fitness value at the kth iteration; and Expressed as maximum inertia weight value and minimum inertia weight value; It is represented as the historical optimal position of the i-th particle after the k-th iteration; It is represented as the global optimal position of the particle swarm after the kth iteration; It is expressed as the inertia weight of the i-th particle at the k-th iteration; and Expressed as acceleration factor; and Represented as a random number between 0 and 1; Expressed as The velocity of the i-th particle in iteration .

7. The UAV collision avoidance method according to claim 5, characterized in that: Perform cross operations on the particle group to update the position and velocity of the particles, including: Two particles are randomly selected from the particle swarm as the parent particles of the crossover operation, and are denoted as parent particles and parent particle ; For parent particles and parent particle Perform crossover operation to obtain offspring particles, the expression formula is: ; ; In the formula, and is a random number in [0,1]; and Expressed as The parent particle position of the crossover operation in iteration; and Expressed as The positions of the descendant particles of the crossover operation in the iteration; and Expressed as The parent particle velocity of the crossover operation in iteration; and Expressed as The velocity of the descendant particles of the crossover operation in the iteration; Repeat the crossover operation on the particle swarm until the ratio of the offspring particles generated by the crossover operation to the total number of particles in the particle swarm reaches the preset crossover probability.

8. The UAV collision avoidance method according to claim 5, characterized in that: The particle swarm is mutated to update the particle position. The expression formula is: Randomly select particles from the particle swarm as the first generation particles of the mutation operation, and use the Tent mapping chaos method to perform chaotic operations on the first generation particles to obtain perturbed particles. Based on the chaotic perturbation, the mutation operation of the first generation particles is performed to obtain the mutant particles. The expression formula is: ; ; In the formula, Expressed as The mutant particles of the mutation operation in the iteration; No. The position of the i-th particle in the iteration; Expressed as the proportional coefficient of the kth iteration; Represented as the position of the i-th perturbed particle; is a random number, or 0; k represents the number of iterations; q represents the setting parameter; Update the mutation probability of the mutation operation in the kth iteration, expressed as: ; In the formula, It is represented as the mutation probability of the mutation operation in the kth iteration, and K is the set maximum number of iterations; and Expressed as the setting coefficient, ; It is expressed as setting weight; Repeat the mutation operation on the particle swarm until the ratio of the mutated particles to the total number of particles in the particle swarm reaches the preset mutation probability.

9. The UAV collision avoidance method according to claim 1, characterized in that: According to the composite guidance vector, the electronic tag is controlled to send signature information to the corresponding reader, and the electronic tag is identified and classified based on the signature information to complete the drone registration management, including: In each time slot, a single electronic tag sends a signature message generated based on the ID information to the reader. The signature information is identified according to the composite guidance vector jump time frame. When the signature information is not received, the electronic tag mapped by the time slot is classified as a lost tag and an early warning prompt is issued; When the electronic tag ID information recognized by the reader is consistent with the electronic tag ID information mapped by the time slot, the electronic tag sending the signature information is classified as an original tag and the electronic tag ID information is registered; When the electronic tag ID information recognized by the reader is inconsistent with the electronic tag ID information mapped by the time slot, the electronic tag that sends the signature information is classified as a newly added tag, the electronic tag mapped by the time slot is classified as a lost tag and an early warning prompt is issued.

10. A UAV collision avoidance system based on particle swarm genetic algorithm, characterized in that: include: An acquisition module is used to receive the dispatch instruction of the drone to obtain the electronic tag ID information of the dispatched drone, and a mapping relationship is set between the electronic tag ID information and the time slot; The deployment module is used to group the electronic tags of the dispatched drones and randomly generate the identification positions of the electronic tags; the electronic tags are used as particles, and the identification positions of each electronic tag are globally optimized based on the adaptive chaotic particle swarm anti-collision genetic algorithm to obtain the optimal identification position of each electronic tag, and the reader covering each electronic tag is determined according to the optimal identification position; The identification module is used to add the electronic tag ID information of the dispatched drone to the composite guidance vector, control the electronic tag to send signature information to the corresponding reader according to the composite guidance vector, identify and classify the electronic tag based on the signature information, and complete the drone registration management.

Citation Information

Patent Citations

  • Anti-collision method and device for unmanned aerial vehicle charging cabinet, charging cabinet and system

    CN113486686A

  • Registration method and system for rapid in and out of warehouse of unmanned aerial vehicle based on RFID

    CN115587767A

  • Reconfigurable Computing Architectures: Dynamic and Steering Vector Methods

    US20080263323A1

  • Using genetic algorithms for safe swarm trajectory optimization

    US20220227503A1