Unmanned cluster hybrid formation obstacle avoidance method based on laser radar

By using lidar to process point cloud data and combine approaching formation control laws in a heterogeneous multi-agent system, the problem of formation maintenance and obstacle avoidance conflicts in heterogeneous multi-agent formation obstacle avoidance technology is solved, and the problem of conflict between formations and obstacles is achieved. The accurate detection and avoidance of static obstacles improves the safety and formation performance of the system.

CN118550285APending Publication Date: 2024-08-27NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311381257.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Among the existing heterogeneous multi-agent formation obstacle avoidance technologies, there are few studies on target detection based on lidar, which leads to conflicts between formation maintenance and obstacle avoidance functions, leading to formation confusion and reduced safety.

Method used

An unmanned swarm hybrid formation obstacle avoidance method based on lidar is adopted. The leading agent is equipped with lidar to collect and preprocess point cloud data. It combines the combined approach formation control law of exponential approach law and variable speed approach law to achieve the goal of avoiding obstacles. Static obstacle detection and obstacle avoidance path decisions are broadcast to the following agent to maintain the formation effect and improve safety.

Benefits of technology

After detecting static obstacles, the system can effectively avoid obstacles, maintain good formation effects, improve the safety and performance of the cluster system, and achieve safe navigation and obstacle avoidance for formation tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550285A
    Figure CN118550285A
Patent Text Reader

Abstract

The embodiment of the invention discloses an unmanned cluster hybrid formation obstacle avoidance method based on a laser radar, relates to the technical field of obstacle avoidance of heterogeneous multi-agent formation, and can realize formation obstacle avoidance after a static obstacle is detected. The method comprises the following steps: adopting a combined reaching law, and combining an index reaching law and a variable speed reaching law to optimize the control effect of the formation; according to the method, the problem of missing detection possibly occurring when an unmanned ship carrying a laser radar carries out online detection on static obstacles in the sailing process is solved, and the detection precision and the real-time performance are improved through an improved random sample consensus (RANSAC) target detection algorithm; an obstacle avoidance algorithm based on a vector field histogram (VFH) is used to calculate an obstacle avoidance trajectory of a member, so that the formation can effectively avoid an obstacle and the robustness and adaptability of the system are improved. According to the invention, the improved formation control method is combined with laser radar target detection, so that the system performance is improved, and the formation task is ensured to be safely and stably completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of obstacle avoidance technology for heterogeneous multi-agent formations, and in particular to an unmanned cluster mixed formation obstacle avoidance method based on laser radar. Background Art

[0002] Unmanned boats are a type of intelligent water platform, while drones are a type of intelligent aerial platform. The unmanned boat-drone formation system can overcome terrain restrictions such as terrain changes, shallow waters, and water obstacles, making cross-domain water and air missions safer and more efficient.

[0003] At present, there are many research results on obstacle avoidance technology for homogeneous multi-agent systems based on ultrasonic radar and vision, but there are relatively few research results on heterogeneous multi-agent obstacle avoidance technology based on lidar target detection. Since heterogeneous multi-agents have completely different physical structures, the difference in sensors may increase the inconsistency of data. Although the traditional leader-follower formation control method has achieved good results in homogeneous multi-agent formations, once the heterogeneous formation obstacle avoidance function is introduced, there will often be conflicts between formation maintenance and obstacle avoidance, resulting in formation chaos.

[0004] Therefore, how to achieve heterogeneous multi-agent obstacle avoidance based on lidar online target detection while ensuring that the cluster system has a good formation effect and avoiding the reduction of the security of the cluster system has become a problem that needs to be studied. Summary of the invention

[0005] The embodiments of the present invention provide an unmanned cluster mixed formation obstacle avoidance method based on laser radar, which can avoid obstacles after detecting static obstacles, thereby ensuring that the cluster system has a good formation effect and improving the safety of the cluster system.

[0006] To achieve the above object, the embodiments of the present invention adopt the following technical solutions:

[0007] An unmanned cluster mixed formation obstacle avoidance method based on laser radar applicable to a heterogeneous multi-agent system, the system comprising: a heterogeneous multi-agent end and a ground end, the heterogeneous multi-agent comprising at least one unmanned boat and at least one unmanned aerial vehicle;

[0008] The method comprises:

[0009] S1. According to the current control stage, the approaching law that needs to be loaded is selected from the combined approaching formation control law, wherein the leading intelligent agent is an unmanned boat equipped with a laser radar, and the combined approaching formation control law includes: an exponential approaching law and a variable speed approaching law;

[0010] S2, the leading agent collects point cloud data through a laser radar, the point cloud data is pre-processed and then input into a first processing link, the output result of the first processing link is then input into a second processing link, and the static obstacles appearing around the navigation of the heterogeneous multi-agent system are determined according to the output result of the second processing link;

[0011] S3. Make obstacle avoidance path decisions based on the relative positions of each follower agent and the determined static obstacles, and the leader agent broadcasts the decision results to the follower agents.

[0012] The unmanned cluster hybrid formation obstacle avoidance method based on laser radar provided in an embodiment of the present invention adopts a combined convergence law to organically combine the exponential convergence law and the variable speed convergence law. The system can selectively apply these two convergence laws in different control stages to maximize the control advantage, thereby optimizing the system performance and adaptively switching the convergence law in different control stages, thereby ensuring that the cluster system has a good formation effect, can show better performance during cluster flight, and improve the safety of the cluster system. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0014] Figure 1 A schematic diagram of an unmanned boat and unmanned aerial vehicle system provided by an embodiment of the present invention;

[0015] Figure 2 A schematic diagram of a laser radar-based target detection algorithm provided in an embodiment of the present invention;

[0016] Figure 3 A schematic diagram of a formation obstacle avoidance algorithm provided by an embodiment of the present invention;

[0017] Figure 4 A schematic diagram of the overall method flow provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments of the present invention will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention. It can be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "one", "said" and "the" used herein may also include plural forms. It should be further understood that the term "including" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or their groups. It should be understood that when we say that an element is "connected" or "coupled" to another element, it can be directly connected or coupled to other elements, or there may also be intermediate elements. In addition, the "connection" or "coupling" used here may include wireless connection or coupling. The term "and / or" used herein includes any unit and all combinations of one or more associated listed items. It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as generally understood by those of ordinary skill in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless defined as herein.

[0019] The design purpose of this embodiment is to solve the conflict problem between the existing heterogeneous multi-agent formation and obstacle avoidance, and to achieve VFH-based formation obstacle avoidance by improving the traditional formation strategy and the traditional target detection algorithm based on laser radar, thereby improving the autonomy and safety of the formation system. The design idea of ​​this embodiment is roughly as follows: in view of the conflict between formation maintenance and formation obstacle avoidance in a heterogeneous multi-agent formation, obstacle perception is performed through a target detection algorithm based on laser radar, and the leading agent runs the VFH obstacle avoidance algorithm to autonomously perceive and make decisions and broadcast the results to each follower agent, thereby achieving formation obstacle avoidance.

[0020] The embodiment of the present invention provides an unmanned cluster mixed formation obstacle avoidance method based on laser radar target detection, and the method is used in a system, the system comprising: a heterogeneous multi-agent end and a ground end. The agent end comprises: at least one unmanned boat and at least one unmanned aerial vehicle. Figure 1As shown, multiple unmanned boats, multiple drones and the ground end together constitute a system communication network. Among them, the unmanned boat can adopt a dual-thruster differential unmanned boat, the drone can adopt a four-rotor drone, and other models are acceptable. Each intelligent end and the ground end are equipped with Wi-Fi and ZigBee communication modules respectively; communication is established between each intelligent body through Zigbee, and communication is established between the intelligent body and the ground end through Wi-Fi. For example: each unmanned boat and drone are equipped with a ZigBee communication module for transmitting distance and angle data between intelligent bodies. The pilot unmanned boat and the ground end are both equipped with Wi-Fi modules, and information interaction is realized through a router, so that the ground end can display the obstacle detection results in real time.

[0021] like Figure 4 As shown, the method includes:

[0022] S1. According to the current control stage, select the approaching law that needs to be loaded from the combined approaching formation control law.

[0023] Among them, the leading intelligent agent is an unmanned boat, which is equipped with a laser radar. For example, the pilot unmanned boat is equipped with a laser radar and an onboard computer for point cloud data collection and processing. The point cloud is pre-processed by voxel filtering to reduce data noise; the ground is segmented by improving the RANSAC algorithm and the point cloud is classified dynamically and statically to identify ground point clouds and non-ground point clouds; the point cloud classified by RANSAC is classified again and the bounding box is marked using raster clustering, thereby detecting obstacles appearing in the navigation area. Through the above steps, accurate detection of obstacles around the navigation path is achieved, providing accurate perception data for formation obstacle avoidance. The combined approaching formation control law includes: an exponential approaching law and a variable speed approaching law;

[0024] This embodiment improves the traditional leader-follower method. Each intelligent agent adopts a combined approach formation control law that combines an exponential approach law with a variable speed approach law, so as to apply different approach laws in the initial stage and the stable stage of the formation to realize the control of the formation system. The specific implementation is: designate any unmanned boat as the leader and the remaining intelligent agents as followers. According to the formation formation requirements, determine the following distance and angle of each follower relative to the leader. Using a Zigbee-based communication method, these intelligent agents exchange information through a Zigbee-based communication method. Using a Wi-Fi-based communication method, information exchange between the intelligent agent and the ground terminal is realized. Among them, the combined approach law method is used to combine the exponential approach law with the variable speed approach law in the control strategy. By selecting appropriate approach laws at different control stages, the control advantages of these two approach methods are fully utilized, while compensating for their respective limitations to achieve system performance optimization. .

[0025] S2. The leading intelligent agent collects point cloud data through a laser radar. The point cloud data is pre-processed and then input into a first processing link. The output result of the first processing link is then input into a second processing link. The static obstacles that appear around the navigation of the heterogeneous multi-agent system are determined based on the output result of the second processing link.

[0026] Among them, the improved RANSAC traditional target detection algorithm based on lidar point cloud data is implemented on the pilot intelligent body to provide accurate perception data. Among them: the point cloud preprocessing algorithm based on voxel filtering, the ground segmentation algorithm based on improved RANSAC and the point cloud clustering algorithm based on grid are implemented to detect static obstacles online, provide accurate and reliable perception data for formation obstacle avoidance, and display the detection results of the algorithm on the ground side.

[0027] In order to increase the autonomy and safety of the system, in this embodiment, a traditional target detection algorithm based on laser radar is used to provide strong perception data support for formation obstacle avoidance. The pilot unmanned boat is equipped with a laser radar and an onboard computer to collect and process point cloud data. The algorithm uses voxel filtering to pre-process the point cloud, and then uses the improved RANSAC algorithm to perform ground segmentation and classify dynamic and static point clouds. Then, the point cloud processed by the improved RANSAC is classified again through grid clustering, and the bounding box is marked to detect obstacles around the navigation of the system.

[0028] S3. Make obstacle avoidance path decisions based on the relative positions of each follower agent and the determined static obstacles, and the leader agent broadcasts the decision results to the follower agents via Zigbee.

[0029] In this embodiment, the heterogeneous formation obstacle avoidance based on VFH is implemented. The leading agent runs the obstacle avoidance algorithm to autonomously decide the position and speed information of each member. The following agent obtains the position and speed information decided by the leading agent to achieve trajectory following.

[0030] The detection result in step S2 can be used as a judgment condition for formation obstacle avoidance, and each follower performs formation obstacle avoidance according to the path calculated by the leader. The system uses the continuous point cloud data frame of the laser radar carried by the pilot unmanned boat and the real-time posture information of the unmanned boat to fuse the radar frame data before and after, and establish an obstacle vector field histogram to divide the feasible and infeasible areas of each intelligent agent at the current moment. These feasible directions are broadcast from the pilot unmanned boat to each follower intelligent agent via Zigbee.

[0031] This embodiment adopts an improved leader-follower method, and the formation members adopt a combination of the exponential convergence law and the variable speed convergence law to approach the formation control law, so as to provide better control effects in different control stages of the formation. Among them: any intelligent agent is designated as the leader, and the remaining intelligent agents are followers. The intelligent agents exchange information through a communication method based on ZigBee, while the intelligent agents and the ground end complete information exchange through a communication method based on Wi-Fi. This dual-link communication method helps to ensure the reliability and efficiency of information transmission and provide a solid foundation for formation obstacle avoidance. The traditional target detection algorithm based on lidar point cloud data is implemented on the leading intelligent agent. When obstacles are detected, the position information of obstacles and each member in the formation system is retained for formation obstacle avoidance. Among them: the leading intelligent agent uses voxel filtering to pre-process the point cloud data, uses the improved RANSAC algorithm based on the grid projection method to perform ground segmentation, and uses the grid clustering algorithm to complete point cloud clustering, thereby detecting static obstacles and providing accurate and reliable perception data for formation obstacle avoidance. In addition, the detection results of the algorithm can be displayed on the ground side, further improving the real-time monitoring and decision-making feasibility. For the detected static obstacles, this embodiment adopts a VFH-based formation obstacle avoidance method. The leading agent decides the obstacle avoidance path of each member, providing the formation system with a highly autonomous decision-making capability. Among them: the leading agent establishes a histogram based on the relative positions of the formation members and the obstacles, and autonomously decides the position and speed information of each member in the formation obstacle avoidance, while the following agent obtains the decision of the leading agent to autonomously avoid obstacles. The obstacle avoidance path autonomously decided by the leader can guide the formation obstacle avoidance of the entire system, realizing safe navigation and obstacle avoidance of the formation.

[0032] In this embodiment, the discretization exponential approach law adopted by the improved traditional leader-follower method in the system is as follows:

[0033] s(k+1)=-εTsgn(s(k))+(1-q)Ts(k) (1)

[0034] Wherein, s(k) is a switching function, ε is a gain parameter, q is a speed parameter, T is a sampling period, and ε>0, q>0, 1-qT>0, k is a parameter used to represent the moment during discretization, and the width of the switching band of the numerical approach law is 2εT, where εT directly determines the jitter amplitude of the system in steady state.

[0035] The discretized variable speed reaching law adopted by the improved traditional leader-follower method in the system is as follows:

[0036] s(k+1)=-εT||x(k)||1sgn(s(k))+Ts(k) (2)

[0037] Among them, ||x(k)||1>0 represents the system state norm, and n is a positive integer, x i represents the system state at time i, k is the parameter used to represent the time when discretized, T is the sampling period, ε is the gain parameter, and ε>0, ||x(k)||1>0, and the width of the variable speed reaching law switching band is 2εT||x(k)||1. The jitter amplitude of the system in steady state is proportional to ||x(k)||1, so it is easy to have significant jitter phenomenon in the early stage of control, but the amplitude gradually decreases with the decrease of ||x(k)||1, and finally disappears completely when the system reaches steady state.

[0038] The combined reaching law adopted by the system considers two key aspects: the exponential reaching law has a good control effect in the initial stage of the system, but may show large oscillations in steady state. On the contrary, the variable speed reaching law may cause large oscillations in the early stage of control, but has a smaller oscillation amplitude and excellent control effect in steady state. Therefore, different reaching laws are used in different control stages to achieve the best system performance, that is, a positive real number k0 is selected as the switching limit. Specifically, the method of selecting the reaching law that needs to be loaded at the control stage includes:

[0039] When ||x(k)||1>k0, the exponential reaching law is adopted in the early stage of sliding mode motion, and k0 is the switching limit;

[0040] When ||x(k)||1≤k0, the variable speed reaching law is adopted in the later stage of the sliding mode motion.

[0041] It should be noted that different formation tracking control strategies are adopted according to the type of intelligent agent. If the follower type is a UAV, a cascade PID controller will be used to achieve the formation tracking function. However, if the follower type is an unmanned boat, an L1 nonlinear controller will be used. This differentiated choice is based on the specific characteristics of the intelligent agent and aims to maximize the performance of formation tracking.

[0042] In this embodiment, in S2, it also includes: after the leading intelligent agent collects point cloud data through the laser radar, the collected point cloud data is voxel filtered. Through point cloud preprocessing based on voxel filtering, a large amount of point cloud data generated during the navigation of the pilot unmanned boat can be effectively processed to achieve data noise reduction and compression while retaining data features. In response to the disturbance generated by the ground point cloud data during navigation, an improved RANSAC algorithm based on the grid projection method is used to perform ground segmentation and generate a grid map. Through the grid clustering algorithm, the target is accurately detected and the position and size of the target are marked. Specifically, in the traditional target detection algorithm based on laser radar adopted by the system, the specific operation of voxel filtering is as follows:

[0043] Define the point cloud dataset scanned by the laser radar as {p1,p2,...,pi ,...,p n}, where p i =(x i ,y i ,z i ), calculate the maximum and minimum values ​​of the three coordinate axes x, y, and z.

[0044] Use the above maximum and minimum values ​​to calculate the minimum bounding box side length l x , l y , l z , the calculation formula is as follows:

[0045] l x =x max -x min ,l y =y max -y min ,l z =z max -z min (1)

[0046] Define the side length of the voxel grid as a, divide the three coordinate axes equally into p, q, and r parts, and record the total number of grids as sum. The calculation formulas are shown in Equations (4) and (5):

[0047] sum = pqr (2)

[0048] p=l x / a,q=l y / a,r=l z / a (3)

[0049] Use i, j, k to number the grids. The calculation of the number is shown in formula (6):

[0050] i=(x i -x min ) / a,j=(y i -y min ) / a,k=(z i -z min ) / a (4)

[0051] After the point cloud data is rasterized, the centroid of the grid is calculated. All points in the grid are represented by the centroid. If the centroid does not exist, the point closest to the centroid is used. The calculation of the centroid is shown in formula (7):

[0052]

[0053] Where n is the number of data points in the voxel grid, and Pp is the coordinate of the data point.

[0054] The above operations can obtain ordered point cloud data after removing noise points and outliers, which greatly reduces the amount of point cloud data and makes the current ground point cloud smoother and more regular, laying the foundation for subsequent ground segmentation.

[0055] In this embodiment, the RANSAC ground segmentation algorithm is improved to improve the effectiveness of ground segmentation and reduce the amount of calculation in view of the continuous shaking of the unmanned boat during navigation and the interference of water waves and splashes on the ground point cloud data. The segmented ground point cloud data is obtained through the improved ground segmentation algorithm. In this process, a raster map is generated and static obstacles are classified at the same time to reduce the complexity of the point cloud data and provide more efficient data for subsequent clustering operations. Through these improvements, the ground point cloud can be segmented more accurately, reducing the impact of the shaking of the unmanned boat and the water flow, while making the ground point cloud data more usable, providing a more reliable foundation for subsequent data processing. Specifically, in S2, the first processing link includes: using the improved RANSAC algorithm to perform ground segmentation on the point cloud data and classify the dynamic point cloud and the static point cloud, for example:

[0056] Establish a local grid map, and obtain the point cloud dataset P t According to its coordinates (x p ,y p ,z p ) is assigned to the local grid map for point cloud rasterization, and the i-th point cloud P corresponding to time t is obtained. i,t The corresponding raster representation: g i,t ,g i,t =(row,col), where P t =T i +T0, A single grid in a local grid map is represented by g t , gt=0 means there is no point cloud in the grid, gt=1 means there is a point cloud in the grid, g t The length and width of are expressed as dx, dy, yp, xp respectively represent the ordinate and horizontal coordinates of the point cloud at time t;

[0057] The current local grid map G t The local grid map G of the previous frame t-1 Perform differential processing to obtain the dynamic and static attributes of each grid, and classify the dynamic point cloud and static point cloud according to the attributes. The classification formula is: P dynamic,t is the point cloud of dynamic obstacles at time t; P static,t is the static obstacle point cloud at time t; p i,t The corresponding grid g i,t There exists a point cloud, and g i,t-1 When there is no point cloud, pi,t is a dynamic obstacle point; p i,t The corresponding grid g i,t There exists a point cloud, and g i,t-1 When there is a point cloud, p i,t is a static obstacle point;

[0058] The classified static point cloud data is reclassified, wherein the reclassification includes: dividing the point cloud data into a local point set T i and the set of outliers T0, in the initialization phase T i is an empty set, and all points are in T0.

[0059] Randomly select 3 sample points from the external point set T0 to construct the plane model I, and calculate the distance between all points in T0 except the 3 randomly selected sample points and I, and add the points that meet the conditions (for example, a pre-set threshold, if it is less than the threshold, it will be added to the temporary internal point set, and if it is greater than or equal to the threshold, it will be excluded) to the temporary internal point set T t Middle; contrast T t and T i The number of internal points, and the set with more points is taken as the new internal point set T i .For example:

[0060] When solving the point cloud data required by the model, an initial point cloud data set is randomly selected and the point cloud is divided into two sets: the internal point set Ti and the external point set T0. i is an empty set, and all points are in T0; for the processing of static obstacles, the present invention adopts a point cloud classification method to process static obstacles or obstacles that move slowly with water waves as static obstacles occupying the grid map. However, the current algorithm does not have the ability to detect fast-moving dynamic obstacles, so this situation is classified as invalid dynamic point cloud data. Establish a local grid map G t , where a single grid is represented by g t Indicates that its value is "0" or "1". "0" means that there is no point cloud in the grid, and "1" means that there is a point cloud in the grid. x d y Represents the length and width of the grid unit respectively. max Indicates the maximum detection distance of the laser radar, and the point cloud data obtained is represented by P t Indicates that P t According to its coordinates (x p ,y p ,z p ) is assigned to the grid for point cloud rasterization, point P i,t The corresponding grid is represented by g i,t ,g i,t=(row,col) is calculated as shown in formula (8):

[0061]

[0062] The current local grid map G t The local grid map G of the previous frame t-1 Perform differential processing to obtain the dynamic and static attributes of each grid. The corresponding dynamic and static point cloud classification formula is as follows:

[0063]

[0064] Where P dynamic,t is the point cloud of dynamic obstacles at time t; P static,t is the static obstacle point cloud at time t; p i,t The corresponding grid g i,t There exists a point cloud, and g i,t-1 When there is no point cloud, p i,t is a dynamic obstacle point; p i,t The corresponding grid g i,t There exists a point cloud, and g i,t-1 When there is a point cloud, p i,t is a static obstacle point.

[0065] Reclassify the classified static point cloud data and divide the point cloud into the local point set T i and the set of outliers T0, when initialized T i is an empty set, and all points are in T0.

[0066] Three sample points are randomly selected from the external point set T0 to construct the plane model I. Under the preset threshold, the distance between all points in the external point set except these three points and the plane model is calculated to determine whether the required set meets the conditions, and the points that meet the conditions are added to the temporary internal point set T t middle;

[0067] Contrast T t and T i The number of internal points, the set with more points is regarded as the new internal point set T i ;

[0068] Multiple models are generated through multiple iterations and processed according to different situations. These models may be discarded due to insufficient number of in-game points, or selected because they perform better than existing models. When the actual number of iterations reaches the preset maximum number of iterations, or a sufficient number of model parameters that meet the requirements have been found, the iteration termination condition is met, and the iteration loop is exited to obtain the most reasonable solution in the entire iteration process. Through strict selection and discard judgment, the model is continuously optimized and adjusted during the iteration process to ensure that the final solution meets the set requirements.

[0069] After performing the above operations, the point cloud data after segmenting the ground point cloud can be obtained. During this period, a raster map will be generated, and static obstacles will be classified to reduce the complexity of the point cloud data, making the subsequent clustering more efficient.

[0070] The second processing step includes: reclassifying the output result of the first processing step through grid clustering and marking the bounding box.

[0071] In the ground segmentation stage, a grid map is generated. Considering the clustering efficiency, the grid clustering algorithm is used to process the data. Through the grid clustering algorithm, obstacles are clearly marked and the location and size of obstacles are displayed. The specific methods include:

[0072] Initialize the state of the grid and fill the Cartesian coordinate system data according to the number of data in the point cloud;

[0073] Map the grid with more point clouds to the Cartesian coordinate system and count the number of point clouds in each grid;

[0074] Select a single cell at the x and y positions as the central cell, check the occupancy status of all adjacent pixels, which are empty, occupied, and allocated, and mark them with the current point cloud cluster ID;

[0075] Repeat this process for the x and y of each point in the m×n grid until all non-empty clusters are assigned IDs and the clustering is completed. After completing a clustering, cluster all objects in this way;

[0076] After obtaining the point cloud of each cluster, the maximum and minimum values ​​of each cluster point cloud on the three coordinate axes of x, y, and z are calculated. This is equivalent to enclosing the static obstacles with the outer bounding box, and then applying the minimum area enclosing method to each cluster object using the minimum area rectangle to generate a 2D box. When combined with the height information retained in the clustering process, these 2D boxes become 3D bounding boxes, which more accurately describe the spatial range of each cluster object. This method can use 2D boxes to three-dimensionally define obstacles while retaining height information, thereby more accurately representing their spatial distribution.

[0077] Through the above operation, the obstacle can be clearly marked, the position and size of the obstacle can be displayed, and the final detection result can be obtained.

[0078] In this embodiment, voxel filtering is used to pre-process the point cloud data obtained from the laser radar. By placing a cuboid around the object, the intersection of the corresponding cuboids of the two objects is detected, the original point cloud data is voxelized, and the point cloud data is mapped to a dense voxel grid, where the increase in voxel density reflects the information density of the area. Generally, the denser the voxels, the more information there is. Points with fewer points in the voxel or abnormal position distribution are eliminated, and noise points or outliers are excluded. Through the processing of the voxel grid, the current ground point cloud is made smoother and more regular, providing a reliable basis for the subsequent ground segmentation.

[0079] In this embodiment, S3 specifically includes: using the detection results in S2 as the judgment conditions for formation obstacle avoidance, the leading agent implements VFH obstacle avoidance, and decides the obstacle avoidance path according to the relative position of each member and the obstacle. The leading agent broadcasts the decision direction to the following agent through Zigbee to complete the trajectory following and formation obstacle avoidance. For example:

[0080] Unmanned boat or drone i in the driving route τ i Obstacle A is found on the target direction. Figure 3 shown.

[0081] Create an active window for effectively processing the received LiDAR perception data. When an obstacle is detected, the grid element at the corresponding position in the grid map is set to 1, indicating that the area is inaccessible. Since a multi-line LiDAR is used, the laser beam can pass through the obstacle and detect higher obstacles behind. Therefore, the grid position of the obstacle in the grid map can be determined in the y-axis direction. Through this processing flow, high-precision LiDAR data can be effectively utilized to map the location information of the obstacle into the grid map, thereby generating an accurate map representation. This method can improve the accuracy and reliability of obstacle detection and provide more reliable data support for subsequent formation obstacle avoidance decisions.

[0082] Each sector has an arbitrarily variable angular resolution α. ​​In order to make the number of sectors integer (n = 360° / α) and thus improve the angular accuracy, α is taken as 1, thereby significantly improving the resolution of the sector. It is worth noting that only the forward 180° part is considered here, so the effective number of sectors is (n = 180° / α). For each sector k (k = 0, 1, 2, 3...), the corresponding angle ρ = kα can be easily calculated. In addition, due to the integer property of k, equations (10) and (11) can be obtained:

[0083] k=INT(β ij / α) (8)

[0084]

[0085] Among them, β ij In the coordinate system with the laser radar as the origin, (x i ,y j ) is β ij The polar coordinates of .

[0086] Describe obstacles and agents. By expanding the grid area along the edge of the obstacle to a region r r+s =d s ·r r , where d s is the safety factor, r r is the vehicle body width.

[0087] Each intelligent agent is regarded as a particle and represented as a small grid unit. The obstacle area detected by the radar is represented in the map with a small grid, and the scope of the obstacle area is expanded by applying the expansion technology to more comprehensively consider the impact of obstacles.

[0088] Driving direction decision. Before making a decision on the grid map after the expansion of obstacles, the drivable area must be planned first. Use the grid map to mark the area not blocked by obstacles and generate a mask histogram. According to the above conditions, select the point closest to the target point in the drivable area and select its angle bisector direction as the decision direction.

[0089] However, if the obstacles are sparse and continuous, so that the coverage of the drivable sector exceeds s max , a different strategy is needed. In this case, the decision direction will start from the sector closest to the target point to s max Select from the angle bisector directions between .

[0090] It is important to emphasize that each agent's local path planning is performed with reference to a single agent. The choice of decision direction depends on the distance and angle of the actual agent relative to the pilot agent, and this information will be transmitted from the pilot agent to each follower agent via Zigbee broadcast. This mechanism ensures the coordination of agents and the consistency of path planning in the entire system.

[0091] This embodiment discloses a laser radar-based unmanned boat-UAV cluster hybrid formation obstacle avoidance method, which relates to the technical field of obstacle avoidance for heterogeneous multi-agent formations and can achieve formation obstacle avoidance after the formation system detects a static obstacle. The present invention includes: improving the traditional leader-follower method, adopting a combined approaching formation control law combining an exponential approaching law and a variable speed approaching law, adopting an appropriate approaching law in different control stages, so that the formation has a good control effect in the initial stage, and reducing the oscillation amplitude when the formation tends to be stable, thereby optimizing the formation effect; in view of the high missed detection rate problem caused by hull shaking, water waves, water splashes, etc. when an unmanned boat equipped with a laser radar performs online detection of static obstacles during navigation, an improved random sample consensus (RANSAC) traditional target detection algorithm based on laser radar point cloud data is implemented on a leading intelligent body to detect static obstacles online, reduce the missed detection rate and meet the real-time requirements of the algorithm, so that the system can accurately perceive obstacles appearing in the navigation area, and provide accurate perception data for subsequent formation obstacle avoidance; running an obstacle avoidance algorithm based on a vector field histogram (VFH) on the leading intelligent body to decide the expected obstacle avoidance trajectory of each member, and the following intelligent body completes trajectory following and formation obstacle avoidance according to the decision of the leading intelligent body, thereby improving the robustness and adaptability of the entire system. By combining the improved formation control method with the heterogeneous intelligent agent obstacle avoidance method based on lidar target detection, the present invention can effectively improve the system performance and ensure the safe and stable completion of the formation mission.

[0092] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The above is only a specific implementation method of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or replacements that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An unmanned cluster mixed formation obstacle avoidance method based on laser radar, characterized in that: The method is applicable to a heterogeneous multi-agent system, the system comprising: a heterogeneous multi-agent terminal and a ground terminal, the heterogeneous multi-agent comprising at least one unmanned boat and at least one unmanned aerial vehicle; The method comprises: S1. According to the current control stage, the approaching law that needs to be loaded is selected from the combined approaching formation control law, wherein the leading intelligent agent is an unmanned boat equipped with a laser radar, and the combined approaching formation control law includes: an exponential approaching law and a variable speed approaching law; S2, the leading agent collects point cloud data through a laser radar, the point cloud data is pre-processed and then input into a first processing link, the output result of the first processing link is then input into a second processing link, and static obstacles appearing around the navigation of the heterogeneous multi-agent system are determined according to the output result of the second processing link; S3. Make obstacle avoidance path decisions based on the relative positions of each follower agent and the determined static obstacles, and the leader agent broadcasts the decision results to the follower agents.

2. The method according to claim 1, characterized in that: Each intelligent body terminal and ground terminal are equipped with Wi-Fi and ZigBee communication modules respectively; The intelligent agents communicate with each other through Zigbee, and the intelligent agents communicate with the ground end through Wi-Fi.

3. The method according to claim 1, characterized in that The exponential reaching law includes: s(k+1)=-εTsgn(s(k))+(1-q)Ts(k) (1) Among them, s(k) is the switching function, ε is the gain parameter, q is the speed parameter, T is the sampling period, and ε>0, q>0, 1-qT>0, k is the parameter used to represent the moment during discretization, and the width of the exponential reaching law switching band is 2εT.

4. The method according to claim 1, characterized in that: The speed reaching law includes: s(k+1)=-εT||x(k)||1sgn(s(k))+Ts(k) (2) Among them, ||x(k)||1>0 represents the system state norm, and n is a positive integer, x i represents the system state at time i, k is the parameter used to represent the time when discretized, T is the sampling period, ε is the gain parameter, and ε>0, ||x(k)||1>0, and the width of the switching band of the variable speed reaching law is 2εT||x(k)||1.

5. The method according to claim 1, characterized in that The method of selecting the reaching law currently required to be loaded for the control stage includes: When ||x(k)||1>k0, the exponential reaching law is adopted in the early stage of sliding mode motion, and k0 is the switching limit; When ||x(k)||1≤k0, the variable speed reaching law is adopted in the later stage of the sliding mode motion.

6. The method according to claim 1, characterized in that In S2, it also includes: After the leader intelligent agent collects point cloud data through the laser radar, voxel filtering is performed on the collected point cloud data.

7. The method according to claim 1 or 6, characterized in that: In S2, the first processing step includes: The improved RANSAC algorithm is used to perform ground segmentation on point cloud data and classify dynamic point clouds and static point clouds; The second processing step includes: The output results of the first processing step are reclassified through grid clustering and the bounding boxes are marked.

8. The method according to claim 7, characterized in that The improved RANSAC algorithm is used to perform ground segmentation on point cloud data and classify dynamic point clouds and static point clouds, including: Establish a local grid map, and obtain the point cloud dataset P t According to its coordinates (x p ,y p , z p ) is assigned to the local grid map for point cloud rasterization, and the i-th point cloud P corresponding to time t is obtained. i,t The corresponding raster representation: g i,t , g i,t =(row, col), where P t =T i +T0, A single grid in a local grid map is represented by g t , gt=0 means there is no point cloud in the grid, gt=1 means there is a point cloud in the grid, g t The length and width of are expressed as dx, dy, yp, and xp, respectively, representing the ordinate and horizontal coordinates of the point cloud at time t; The current local grid map G t The local grid map G of the previous frame t-1 Perform differential processing to obtain the dynamic and static attributes of each grid, and classify the dynamic point cloud and static point cloud according to the attributes; The classified static point cloud data is reclassified, wherein the reclassification includes: dividing the point cloud data into a local point set T i and the set of outliers T0, in the initialization phase T i is an empty set, and all points are in T0.

9. The method according to claim 8, characterized in that The classification model used in the process of classifying dynamic point clouds and static point clouds is: P dynamic,t is the point cloud of dynamic obstacles at time t; P static,t is the static obstacle point cloud at time t; p i,t The corresponding grid g i,t There exists a point cloud, and g i,t-1 When there is no point cloud, p i,t is a dynamic obstacle point; p i,t The corresponding grid g i,t There exists a point cloud, and g i,t-1 When there is a point cloud, p i,t is a static obstacle point.

10. The method according to claim 8, characterized in that Also includes: Randomly select 3 sample points from the external point set T0 to construct the plane model I, and calculate the distance between all points in T0 except the 3 randomly selected sample points and I, and add the points that meet the conditions to the temporary internal point set T t middle; Contrast T t and T i The number of internal points, and the set with more points is taken as the new internal point set T i .

Citation Information

Cited By

  • Multi-agent reinforcement learning unmanned ship formation collision avoidance method based on strategy sequence updating

    CN122151957A

  • A Multi-Agent Reinforcement Learning Collision Avoidance Method for Unmanned Surface Vessels Based on Policy Order Update

    CN122151957B