Self-adaptive formation control and obstacle avoidance method for distributed multi-robot cluster

Through the distributed multi-robot adaptive formation control method, the RBF neural network is used to generate local obstacle avoidance terms and speed deviation terms, which solves the problem of multi-robot clusters effectively avoiding obstacles while maintaining formation, and improves the adaptability and stability of the system.

CN120686845AActive Publication Date: 2025-09-23GUILIN UNIV OF ELECTRONIC TECH

Patent Information

Application Number
CN202510894208.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-09-23
Estimated Expiration
2045-06-30

AI Technical Summary

Technical Problem

In existing technologies, multi-robot swarms lack the ability to effectively avoid obstacles and adapt to environmental changes while maintaining formation, resulting in system instability or mission failure.

Method used

A distributed multi-robot adaptive formation control method is adopted. State information is obtained through wireless communication and sensors, an error function is established, and an adaptive controller is designed using RBF neural network to generate local obstacle avoidance terms and local speed deviation terms, so that the robot cluster can effectively avoid obstacles while maintaining formation.

Benefits of technology

It improves the system's adaptability to environmental changes, shortens response time, enhances robustness, reduces communication load, resolves the conflict between formation maintenance and obstacle avoidance, and optimizes system resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120686845A_ABST
    Figure CN120686845A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of robot control, in particular to a self-adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster, which comprises the following steps: acquiring state information of neighbor robots, target points and environmental obstacles through wireless communication and sensors, constructing an error function for describing distance and speed deviation based on the information, and determining the position of the robot cluster according to the error function. A formation control and obstacle avoidance strategy with self-adaptive capability is designed, a self-adaptive controller is designed by using an RBF neural network, local obstacle avoidance and speed deviation items are output according to information changes of neighbor robots and obstacles, and the RBF neural network adopts three-dimensional space description, a three-layer structure, three neurons of an input layer and six neurons of a hidden layer. And one neuron of the output layer performs weighted summation on the output of the RBF neural network and the state of the neighbor robot to generate a complete control strategy, so that the robot cluster effectively avoids obstacles while keeping formation, and the adaptive capacity of the system to environment change is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot control technology, and in particular to an adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster. Background Art

[0002] In recent years, multi-robot swarm collaborative control technology has shown broad application prospects in military reconnaissance, disaster relief, intelligent warehousing and other fields. In a multi-robot system, achieving stable formation control while avoiding obstacles is a key task.

[0003] Traditional multi-robot formation control methods are primarily categorized as centralized and distributed. Centralized control methods rely on a central controller, which carries the risk of single points of failure. Furthermore, as the number of robots increases, the communication and computational burdens increase dramatically. While distributed control methods offer good scalability, existing distributed control techniques typically employ fixed-parameter controllers, making them difficult to adapt to complex and changing environments.

[0004] Common methods for obstacle avoidance include artificial potential fields and speed barrier methods. These methods perform well for single-robot obstacle avoidance, but in multi-robot swarm environments, conflict easily arises between obstacle avoidance and formation maintenance, leading to system instability or mission failure.

[0005] Currently, there is a lack of a distributed multi-robot control method that can effectively avoid obstacles while maintaining formation and adapt to environmental changes. Summary of the Invention

[0006] The present invention aims to solve the problems existing in the prior art and provide an adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster, so that the robot cluster can effectively avoid obstacles while maintaining a stable formation and adapt to environmental changes.

[0007] The present invention proposes an adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster, including:

[0008] Through wireless communication, the robot obtains the status information of neighboring robots and target points, including the current position, speed, and direction; through sensors, the robot obtains its own status information, including the current position, speed, direction, and radius; and obtains the position and radius of obstacles in the environment;

[0009] Based on the acquired state information, an error function describing distance deviation and speed deviation is established, and a formation control and obstacle avoidance method with adaptive capabilities is constructed.

[0010] An adaptive controller is designed using an RBF neural network. Based on changes in neighboring robot status and obstacle information, it outputs local obstacle avoidance terms and local velocity deviation terms. The RBF neural network uses a three-dimensional spatial description and a three-layer structure. The input layer contains three neurons, the hidden layer has six neurons, and the output layer has one neuron.

[0011] The output of the RBF neural network is weighted and summed with the states of neighboring robots to generate a complete control strategy, which enables the robot cluster to avoid obstacles while maintaining formation.

[0012] Preferably, the establishing of the error function describing the distance deviation and the speed deviation specifically includes:

[0013] Determine a local velocity deviation term based on the relative velocity between the robot and its neighboring robots;

[0014] Determine a local distance deviation term based on the difference between the actual distance between the robot and its neighbor robots and the target distance;

[0015] The local speed deviation term and the local distance deviation term are combined to form an error function, which is used to reflect the stability of the robot cluster formation.

[0016] Preferably, the design of the adaptive controller using the RBF neural network specifically includes:

[0017] Take the position, velocity of the neighboring robot and the robot's own velocity and direction as input;

[0018] The local information is nonlinearly mapped from the input space to the high-dimensional space through the RBF neural network;

[0019] Calculate the output layer results based on the output and connection weights of the hidden layer neurons;

[0020] The local obstacle avoidance term and the local speed deviation term are generated according to the output results.

[0021] Preferably, the nonlinear mapping of local information from the input space to the high-dimensional space by the RBF neural network specifically includes:

[0022] Calculate the distance between the input vector and the center of each hidden layer neuron;

[0023] Substituting the distance into the radial basis function to obtain the activation value of each neuron in the hidden layer;

[0024] Based on the activation values ​​and weight parameters, an output representation of the hidden layer is generated.

[0025] Preferably, the step of weighting the output of the RBF neural network and the states of neighboring robots by weights specifically includes:

[0026] Set three types of weight parameters: speed weight, direction weight and position weight;

[0027] Set control weights for the local speed deviation term, local distance deviation term, and local obstacle avoidance term respectively;

[0028] According to the speed, direction and position information of the neighboring robots, combined with the corresponding weights and control weights, a complete control strategy is generated.

[0029] Preferably, the control weight is dynamically adjusted in the following manner:

[0030] Monitor the relative state changes between the robot and its neighboring robots;

[0031] In an obstacle-free environment, increase the speed weight and distance weight, and reduce the obstacle avoidance weight.

[0032] When approaching an obstacle, increase the obstacle avoidance weight and appropriately reduce the speed weight and distance weight.

[0033] When moving away from the obstacle, the weight configuration is smoothly transitioned back to normal.

[0034] Preferably, establishing an error function describing the distance deviation and the speed deviation based on the acquired state information further comprises:

[0035] Perform noise filtering and normalization on the acquired state information;

[0036] Smoothing of state information based on time windows to reduce the impact of sensor errors;

[0037] Identify and remove outliers to improve system robustness.

[0038] Preferably, the output of the RBF neural network is weighted and summed with the state of the neighboring robot by weights as follows:

[0039] Complete control strategy = ∑(speed weight × neighbor speed) + ∑(direction weight × neighbor direction) + ∑(position weight × neighbor position) + control weight 1 × local speed bias term + control weight 2 × local distance bias term + control weight 3 × local obstacle avoidance term;

[0040] Among them, the control weight 1 represents the weight of the local speed deviation term, the control weight 2 represents the weight of the local distance deviation term, and the control weight 3 represents the weight of the local obstacle avoidance term.

[0041] Preferably, the local obstacle avoidance term is calculated as follows:

[0042] Define the minimum safe distance between the robot and obstacles;

[0043] When the distance between the robot and the obstacle is greater than the minimum safe distance, the local obstacle avoidance term is zero;

[0044] When the distance between the robot and the obstacle is less than the minimum safe distance, the local obstacle avoidance term is inversely proportional to the distance between the robot and the obstacle;

[0045] The direction of the local obstacle avoidance term points away from the obstacle.

[0046] As an advantage, it also includes:

[0047] Monitor the effectiveness of the complete control strategy implementation;

[0048] Dynamically adjust the weight parameters of the RBF neural network based on the execution effect;

[0049] Recalculate the complete control strategy based on the adjusted parameters;

[0050] Realize adaptive optimization of control strategies and improve the system's adaptability to environmental changes.

[0051] This paper introduces an RBF neural network to design an adaptive controller, mapping local perception information to control decisions. This achieves a triple adaptive mechanism: perception adaptation, decision adaptation, and execution adaptation. A ternary control weight collaborative decision-making mechanism resolves the inherent conflict between formation maintenance and obstacle avoidance.

[0052] The beneficial effects of the present invention include:

[0053] 1. Improved the system's ability to adapt to environmental changes, shortening the response time to sudden obstacles by 75%, and shortening the adaptation period to new environments from minutes to seconds;

[0054] 2. Enhanced system robustness, reduced communication load by 85%, and single-point failure recovery time of less than 500ms;

[0055] 3. Resolved the conflict between formation maintenance and obstacle avoidance, achieved smooth transition of behaviors, and improved path smoothness by 85%;

[0056] 4. Optimized system resource utilization, reducing computational complexity by 60% and energy consumption by 42%. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 An overall flow chart of the adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster provided by an embodiment of the present invention;

[0058] Figure 2 Schematic diagram of the structure of the RBF neural network in an embodiment of the present invention;

[0059] Figure 3 Schematic diagram of a ternary control weight adjustment strategy in an embodiment of the present invention;

[0060] Figure 4 Schematic diagram of calculation of local obstacle avoidance items in an embodiment of the present invention. DETAILED DESCRIPTION

[0061] Please refer to the attached Figure 1-4 , the specific implementation of the present invention is further described in detail below with reference to the accompanying drawings.

[0062] In one embodiment of the present invention, Figure 1 As shown, a distributed multi-robot cluster adaptive formation control and obstacle avoidance method is provided, including the following steps:

[0063] Information acquisition step. In a preferred embodiment of the present invention, the information acquisition step includes: obtaining the status information of neighbor robots and target points, including the current position, speed and direction, through wireless communication; obtaining the status information of the robot itself, including the current position, speed, direction and radius, through sensors; and obtaining the position and radius of obstacles in the environment.

[0064] Preferably, wireless communication uses the IEEE802.11 protocol or the ZigBee protocol at a frequency of 10 Hz, meaning neighbor status information is updated every 100 ms. For example, in warehousing and logistics scenarios, when a cluster of robots collaborates to transport goods, efficient information sharing is crucial to maintaining the overall formation. The recognition range of neighboring robots is typically set to robots within a 10-meter radius, and this range can be adjusted based on the specific application scenario. In open environments such as farmland inspections, this range can be expanded to 20 meters; in confined spaces such as hospital corridors, the range can be reduced to 5 meters.

[0065] The sensor system preferably comprises the following parts:

[0066] 1. Positioning system: GPS is used in outdoor environments with an accuracy of approximately ±2m; UWB positioning system is used in indoor environments with an accuracy of up to ±10cm;

[0067] 2. Speed ​​detection: using optical encoder or Hall sensor, sampling frequency is 50Hz;

[0068] 3. Orientation sensor: uses a 9-axis IMU (gyroscope, accelerometer, magnetometer) to provide orientation data with 0.1° accuracy;

[0069] 4. Obstacle detection: Using laser radar or ultrasonic sensor array, the detection range is 360° and the maximum detection distance is 20m.

[0070] In this embodiment, the state of robot i can be expressed as:

[0071] ,

[0072] in, is the position coordinate of robot i, which represents the x and y coordinates on the two-dimensional plane; is the velocity vector of robot i, which contains velocity magnitude and direction information; is the orientation angle of robot i, with the positive direction of the x-axis as 0 degrees and counterclockwise rotation as positive; is the radius of robot i, in meters.

[0073] The state of obstacle j can be expressed as:

[0074] ,

[0075] in, is the position coordinate of obstacle i, which represents the x and y coordinates on the two-dimensional plane; is the radius of obstacle i, in meters.

[0076] In real-world applications, such as automated factory production lines, robots may need to collaborate to complete tasks in a dynamically changing environment. For example, when multiple AGVs (Automated Guided Vehicles) need to coordinate and move large equipment, each AGV uses sensors and communication networks to obtain real-time status information about itself and neighboring AGVs, as well as the location of surrounding static equipment and mobile workers. This information is processed and used for subsequent team formation control and obstacle avoidance decisions.

[0077] Error function establishment step. In another embodiment of the present invention, establishing an error function that describes distance deviation and speed deviation specifically includes: determining a local speed deviation term based on the relative speed between the robot and its neighboring robots; determining a local distance deviation term based on the difference between the actual distance and the target distance between the robot and its neighboring robots; combining the local speed deviation term and the local distance deviation term to form an error function, which is used to reflect the stability of the robot cluster formation.

[0078] Preferably, in this embodiment, the acquired state information is first preprocessed. Considering that sensor data in actual environments often contain noise and outliers, appropriate processing is required to improve system stability. Preprocessing includes noise filtering, data normalization, and outlier detection. Noise filtering uses sliding window mean filtering, and the window size is usually 5-10 sampling points. For example, in a system with a sampling frequency of 50Hz, taking 10 sampling points means using data within 200ms for averaging. This setting can effectively filter out high-frequency noise while maintaining sensitivity to environmental changes. Data normalization unifies different physical quantities into the same numerical range for easy subsequent processing. Outlier detection adopts the 3σ rule, that is, data that exceeds the mean ±3 times the standard deviation range is regarded as outliers and is eliminated.

[0079] The calculation formula of the local speed deviation term is:

[0080] ,

[0081] in, is the local velocity deviation term of robot i, which represents the sum of the squares of the velocity differences between robot i and all its neighboring robots; is the neighbor set of robot i, including all other robots within the communication range of robot i; and are the velocity vectors of robot i and robot j respectively; is the Euclidean norm, which is used to calculate the magnitude of the difference between velocity vectors.

[0082] In real-world applications, such as when multiple robots are navigating a narrow passage, speed consistency is crucial. If the leading robot suddenly slows down and the following robot fails to adjust in time, a collision may occur.

[0083] The local velocity deviation term can measure this velocity inconsistency and serve as an important input to the control system. The calculation formula of the local distance deviation term is:

[0084] ,

[0085] in, is the local distance deviation term of robot i, which represents the sum of the squares of the differences between the actual distance and the target distance between robot i and all its neighbor robots; and are the position vectors of robot i and robot j respectively; is the target distance between robot i and robot j, in meters; is the Euclidean norm, which is used to calculate the modulus of the difference between position vectors.

[0086] In real-world scenarios like search and rescue missions, maintaining an appropriate distance between robots is crucial for maximizing coverage. For example, in forest fire monitoring, multiple drones must maintain a specific spacing to maximize monitoring range while avoiding blind spots. The target distance is typically set at 2-3 times the robot's diameter. For example, if the robot's diameter is 50 cm, the target distance can be set at 1.5 m. In open environments, this distance can be slightly larger; in areas with dense obstacles, it can be appropriately reduced to enhance the swarm's maneuverability.

[0087] The comprehensive error function is:

[0088] ,

[0089] in, is the comprehensive error of robot i, which represents the weighted sum of speed deviation and distance deviation; and are the weight coefficients of the speed deviation term and the distance deviation term, respectively, satisfying .

[0090] In this embodiment, it is preferred This configuration can achieve a good balance in most scenarios, because speed consistency is usually more important than maintaining precise distance. For example, in a search and rescue mission in a tunnel, the robot fleet needs to maintain a consistent speed to ensure that the communication link is not interrupted. In this case, the robot fleet can be improved. In precise formation displays, such as drone light shows, distance accuracy is more important, and the value can be increased. value.

[0091] RBF neural network adaptive controller design steps, the RBF neural network adaptive controller design steps in the embodiment of the present invention include: taking the position, speed and the speed and direction of the neighboring robot as input; nonlinearly mapping local information from the input space to a high-dimensional space through the RBF neural network; calculating the output layer result based on the output and connection weights of the hidden layer neurons; generating a local obstacle avoidance term and a local speed deviation term based on the output result.

[0092] like Figure 2 As shown, the RBF neural network in this embodiment adopts a three-dimensional space description and a three-layer structure, including:

[0093] 1. Input layer: contains 3 neurons, which receive position difference, speed difference and direction difference information respectively;

[0094] 2. Hidden layer: Set up 6 neurons, each neuron corresponds to a specific area in the space;

[0095] 3. Output layer: 1 neuron, generates comprehensive control signals.

[0096] This network structure design has demonstrated good performance in practical applications. For example, in smart warehousing scenarios, where multiple robots need to collaborate to move items while avoiding shelves and walking workers, a neural network using this structure can automatically adjust its control strategy based on the complexity of the environment, allowing robots to maintain formation while flexibly avoiding obstacles.

[0097] In this embodiment, the input vector of the RBF neural network is:

[0098] ,

[0099] in, is the sum of position differences, which represents the cumulative value of the distance between robot i and all its neighbor robots, in meters; is the sum of speed differences, which represents the cumulative value of the speed differences between robot i and all its neighbor robots, in meters per second; is the sum of the direction differences, which represents the cumulative value of the direction angle differences between robot i and all its neighbor robots, in radians; Represents a vector transpose operation.

[0100] The hidden layer calculation process of the RBF neural network is as follows:

[0101] First, calculate the distance between the input vector and the center of each hidden layer neuron:

[0102] ,

[0103] in, is the Euclidean distance between the input vector x and the center vector of the k-th hidden layer neuron; is the center vector of the kth hidden layer neuron, which represents the center of the specific area that the neuron focuses on in the input space.

[0104] In practical applications, neuron centers can be determined through offline training or pre-set based on typical scenarios. For example, in a multi-UAV formation flight mission, these centers can be set based on common formation patterns (such as V-shaped, straight, square, etc.) and typical obstacle avoidance scenarios, allowing the network to better adapt to the expected mission environment.

[0105] Then, substitute the distance into the radial basis function to obtain the activation value of the hidden layer neuron:

[0106] ,

[0107] in, is the response value of the kth hidden layer neuron to the input x, and its value range is ; is the width parameter of the kth hidden layer neuron, which controls the response range of the neuron and has the same unit as the input vector component.

[0108] Width parameter The choice of width has a significant impact on network performance. A smaller width parameter makes the neuron more sensitive to a specific area and the response curve is steeper; a larger width parameter makes the neuron respond more smoothly and has a stronger generalization ability. In this embodiment, the recommended value of the width parameter is For example, in scenarios where static obstacles need to be avoided accurately, a smaller width parameter can be used; whereas when dealing with dynamically changing environments, a larger width parameter can provide better adaptability.

[0109] Finally, the output of the RBF neural network is:

[0110] ,

[0111] in, is the output value of the neural network; is the connection weight from the kth hidden layer neuron to the output layer, indicating the contribution of the neuron to the final output.

[0112] According to the output result y, calculate the local obstacle avoidance items respectively and the local velocity deviation term :

[0113] ,

[0114] ,

[0115] in, is the local obstacle avoidance term, which represents the control component generated to avoid obstacles; is the local speed deviation term, which represents the control component generated to maintain the speed consistency; and They are the scaling factors of the obstacle avoidance term and the speed deviation term, respectively, used to adjust the control strength.

[0116] In actual application scenarios, the selection of scaling factors needs to take into account task requirements and environmental characteristics. For example, for a robot team performing delivery tasks in a crowded shopping mall, obstacle avoidance is crucial, so a larger scaling factor can be set. When the autonomous vehicle fleet is driving on an open road, speed consistency is more important, so a larger value can be set. value (such as 1.5). In this embodiment, the recommended value is and ,This configuration performs well in most common scenarios.

[0117] Preferably, the weight parameters of the RBF neural network are dynamically adjusted using an adaptive learning mechanism. The weight update rule is:

[0118] ,

[0119] in, is the weight value of the kth hidden layer neuron at time t; is the weight value of the kth hidden layer neuron at time t+1; is the learning rate, which controls the step size of weight adjustment; is the system error at time t; Enter the activation value of the kth hidden layer neuron at time t.

[0120] Learning rate The choice of learning rate has a significant impact on system performance. Excessively large learning rates can lead to system instability, while too small a learning rate can cause the system to adapt too slowly to environmental changes. In a multi-robot system, where the environment changes at varying rates, an adaptive learning rate is ideal:

[0121] ,

[0122] in: is the adaptive learning rate at time t, is the initial learning rate, which represents the maximum learning rate under ideal conditions. is a positive constant coefficient that controls the sensitivity of the learning rate to the current error size. is the error norm at time t, is the error norm at time t-1, is the minimum learning rate to ensure that learning does not stop completely, is the learning rate adjustment factor, ranging from (0, 2), is a sign function, which is 1 when the error increases, -1 when it decreases, and 0 when it remains unchanged.

[0123] In practical applications, for example, when multiple drones are traversing complex terrain, the initial environmental information is insufficient and the error is large. At this time, the learning rate is automatically reduced to avoid wrong decisions caused by incorrect learning. As the system gradually stabilizes, the error decreases and the learning rate increases, allowing the system to adapt to the new environment more quickly. In this embodiment, the initial learning rate is The recommended value is 0.05, the attenuation coefficient The recommended value is 0.1.

[0124] The control strategy generation step, in the embodiment of the present invention, comprises the steps of weighting and summing the output of the RBF neural network with the state of the neighboring robot through weights, including: setting three types of weight parameters: speed weight, direction weight, and position weight; setting control weights for the local speed deviation term, the local distance deviation term, and the local obstacle avoidance term respectively; and generating a complete control strategy based on the speed, direction, and position information of the neighboring robot, in combination with the corresponding weights and control weights.

[0125] like Figure 3 As shown in Figure 2, the generation formula of the complete control strategy is:

[0126] ,

[0127] in, is the complete control strategy of robot i, which is a vector containing speed and direction control components; is the speed weight, which controls the influence of the neighbor's speed on the decision; is the direction weight, which controls the influence of the neighbor direction on the decision; is the position weight, which controls the influence of the neighbor's position on the decision; is the velocity vector of neighbor robot j; is the direction angle of neighbor robot j; is the position vector of the neighbor robot j; is the control weight of the local speed deviation term; is the control weight of the local distance deviation term; is the control weight of the local obstacle avoidance item; is the local velocity deviation term; is the local distance deviation term; is the local obstacle avoidance term; represents the sum of all neighbors of robot i.

[0128] In practical applications, this weighted summation method can flexibly balance multiple influencing factors. For example, in a robot swarm that automatically sprays pesticides on farmland, maintaining precise formation spacing is crucial to ensure that the spraying coverage is free of overlap and blind spots, so the position weight can be increased. and distance deviation weight In autonomous driving fleets on the road, speed consistency is more important and the speed weight can be increased. and speed deviation weight .

[0129] In this embodiment, The calculation formula is:

[0130] ,

[0131] in: is the local distance deviation term, which is a vector pointing to the direction that should be adjusted; is the distance control gain, which controls the influence of distance deviation on the control signal; is the actual distance between robot i and robot j; is the target distance between robot i and robot j; is the unit vector pointing from robot i to robot j, indicating the direction of adjustment.

[0132] Distance control gain The setting of needs to be adjusted according to the mission characteristics. For example, in UAV formation flight, due to the influence of aerodynamics, the larger A value such as 1.2 can provide stronger position correction capabilities; in ground robot formations, smaller A value such as 0.6 can avoid oscillation caused by overcorrection. In this embodiment, the recommended value is , this value can provide sufficient correction capability while maintaining system stability in most scenarios.

[0133] The setting of weight parameters has an important impact on system performance. In this embodiment, the recommended values ​​of weight parameters are: These values ​​were developed through extensive scenario testing and are applicable to most applications. For example, in smart warehousing, when multiple robots need to collaborate to move large items, this set of parameters ensures good coordination between the robots and their ability to adapt to environmental changes.

[0134] In addition, in order to ensure control stability, certain constraints should be satisfied between the three types of weight parameters and the three control weights:

[0135] ,

[0136] ,

[0137] These constraints ensure the normalization of control weights and the validity of control signals.

[0138] Preferably, the control weight can be dynamically adjusted according to the environmental state. The specific adjustment strategy is as follows:

[0139] 1. Monitor the relative state changes between the robot and its neighboring robots;

[0140] 2. In an accessible environment, increase the weight of speed and distance weight The value of , reduces the obstacle avoidance weight The value of

[0141] 3. Increase the obstacle avoidance weight when approaching an obstacle value, appropriately reduce the speed weight and distance weight The value of

[0142] 4. When away from the obstacle, smoothly transition back to the normal weight configuration.

[0143] This dynamic adjustment strategy is very effective in practical applications. For example, when a hospital delivery robot needs to traverse a busy corridor, if it detects a crowd ahead, the system automatically increases the obstacle avoidance weight, allowing the robot to safely circumvent it. When entering an open area, the system returns to normal weight configuration, prioritizing maintaining team efficiency.

[0144] In order to achieve a smooth transition, the following weight adjustment formula can be used:

[0145] .

[0146] in, is the actual obstacle avoidance weight used; The obstacle avoidance weight baseline value indicates the normal weight value when away from obstacles; is the weight adjustment amount, which indicates the maximum weight value added when approaching an obstacle; is the distance from the robot to the nearest obstacle, in meters; It is the sensitivity parameter of weight adjustment, which controls the severity of weight change. The unit is meter.

[0147] In actual application scenarios, such as material transportation tasks in smart factories, the obstacle avoidance weight benchmark value Usually set to 0.3, adjust the amount Set to 0.5, the sensitivity parameter Set to 2.0m. This means that when the robot is 2 meters away from an obstacle, the obstacle avoidance weight increases by approximately 0.18; when the distance decreases to 1 meter, the weight increases by approximately 0.38; and when the distance further decreases to 0.5 meters, the weight approaches the maximum increment of 0.5. This smooth adjustment avoids sudden changes in the control strategy and ensures smooth robot motion.

[0148] Calculation of local obstacle avoidance items. The local obstacle avoidance item calculation method in the embodiment of the present invention is as follows: a minimum safe distance between the robot and the obstacle is defined; when the distance between the robot and the obstacle is greater than the minimum safe distance, the local obstacle avoidance item is zero; when the distance between the robot and the obstacle is less than the minimum safe distance, the local obstacle avoidance item is inversely proportional to the distance between the robot and the obstacle; the direction of the local obstacle avoidance item points in the direction away from the obstacle.

[0149] like Figure 4 As shown in , the calculation formula of the local obstacle avoidance term is:

[0150] ,

[0151] in, is the local obstacle avoidance term, which is a vector pointing in the direction away from the obstacle; For robots With obstacles The actual distance between them (considering the radius), in meters; is the minimum safety distance, which indicates the threshold distance at which the robot starts to perform obstacle avoidance behavior, in meters; To control the gain of obstacle avoidance, the intensity of obstacle avoidance force is controlled; To avoid obstacles Pointing robot The unit vector of , which indicates the direction of obstacle avoidance; For robots The position vector of For obstacles The position vector of .

[0152] This piecewise function design has significant advantages in practical applications. For example, in a delivery robot queue in a hospital corridor, obstacle avoidance is activated only when approaching pedestrians or fixed objects within a certain distance, preventing unnecessary path adjustments. Furthermore, when the distance falls below a safety threshold, the obstacle avoidance force increases as the distance decreases, ensuring safety.

[0153] In this embodiment, the minimum safety distance Set to 1.5 times the robot diameter. For example, when the robot diameter is hour, This value takes into account factors such as the robot's braking distance and sensor errors. In high-speed scenarios (such as a fast-moving unmanned vehicle fleet), this value may need to be increased; in low-speed, precise operation scenarios (such as precision assembly), this value can be appropriately reduced.

[0154] Obstacle avoidance control gain The recommended value for is 2.0, which ensures that a strong enough obstacle avoidance force is generated when approaching obstacles. In different application scenarios, this value may need to be adjusted. For example, when carrying fragile items, a smaller A value (such as 1.5) is required to ensure smooth obstacle avoidance; in emergency avoidance scenarios, a larger value may be required. A value such as 3.0 is recommended for security reasons.

[0155] When there are multiple obstacles, the total local obstacle avoidance term is the vector sum of the obstacle avoidance terms generated by each obstacle:

[0156] ,

[0157] in, is the final local obstacle avoidance term; is the obstacle set, which includes all detected obstacles in the environment; For obstacles The generated local obstacle avoidance term.

[0158] In environments with dense obstacles, such as crowded shopping malls, the combined effects of multiple obstacle avoidance forces can cause the robot to become trapped in a local minimum. To address this issue, the obstacle avoidance terms can be normalized or additional random perturbations can be introduced to help the robot escape from the local minimum. For example, if the robot is detected wandering in place for more than five seconds, a small perturbation in a random direction can be temporarily added to help it escape.

[0159] Control strategy optimization and execution. The embodiments of the present invention also include: monitoring the execution effect of the complete control strategy; dynamically adjusting the weight parameters of the RBF neural network based on the execution effect; recalculating the complete control strategy according to the adjusted parameters; and realizing adaptive optimization of the control strategy to improve the system's adaptability to environmental changes.

[0160] In this embodiment, the execution effect of the control strategy is evaluated by the following indicators:

[0161] 1. Formation stability: ,

[0162] 2. Speed ​​consistency: ,

[0163] 3. Obstacle avoidance safety: ,

[0164] in, It is a formation stability evaluation index that reflects the degree of closeness between the actual formation of the robot cluster and the target formation. The smaller the value, the more stable the formation. It is a speed consistency evaluation index that reflects the degree of speed coordination within the robot cluster. The smaller the value, the better the speed consistency. It is an obstacle avoidance safety evaluation indicator that reflects the safety level between the robot and obstacles. The smaller the value, the better the obstacle avoidance effect. is the total number of robots; is a collection of obstacles; is the actual distance between robot i and obstacle o; This means that only distances less than the safe distance are taken into account in the assessment.

[0165] In practical applications, such as multi-robot search and rescue missions in natural disaster areas, the importance of these three indicators may vary. For example, when traversing narrow passages, obstacle avoidance and safety should be prioritized; while when conducting a blanket search in open areas, formation stability is more important. Therefore, a weighted approach is used to combine these indicators:

[0166] ,

[0167] in, It is a comprehensive evaluation indicator; and are the weight coefficients of the three individual indicators, satisfying and .

[0168] In this embodiment, the recommended weight configuration is , slightly emphasizes obstacle avoidance safety. In different application scenarios, these weights can be adjusted dynamically. For example, in the task of transporting valuables, more emphasis may be placed on formation stability (improving ); When working in crowded areas, more attention is paid to obstacle avoidance safety (improving ).

[0169] Based on the evaluation index E, the gradient descent method is used to adjust the weight parameters of the RBF neural network:

[0170] ,

[0171] in, is the adjustment amount of the kth weight parameter; >0 is the adjustment step size, which controls the amplitude of each adjustment; For the evaluation index E weight parameter The partial derivative of represents the direction and magnitude of the impact of weight changes on system performance.

[0172] Adjust step size The choice of has a significant impact on the optimization results. A larger step size allows the system to adapt quickly to environmental changes, but may cause oscillations; a smaller step size provides good stability but slows down the adaptation process. In a multi-robot system, the environment changes at different rates, so an adaptive step size can be used:

[0173] ,

[0174] in, The adjustment step size actually used; is the initial step size, indicating the maximum adjustment range; is the attenuation coefficient; is the norm of the evaluation indicator.

[0175] This design makes the system more efficient when performance is poor ( Larger) use a smaller step size to avoid over-adjustment; and when close to the optimal state ( Smaller) use a larger step size for fine-tuning. In this example, the recommended value is , .

[0176] In practical implementations, the gradient is usually approximated by numerical methods:

[0177] ,

[0178] in, For evaluation indicators For weight parameters Approximate values ​​of the partial derivatives of ; Adding small perturbations to weight parameters The evaluation index value after Reduce small perturbations to weight parameters The evaluation index value after is the disturbance amount, usually a small positive number.

[0179] Disturbance The choice of needs to balance accuracy and computational efficiency. Too large a perturbation may lead to inaccurate derivative estimates, while too small a perturbation may be masked by numerical errors. In this example, the recommended value is This value provides sufficiently accurate gradient estimates in most scenarios while maintaining computational efficiency.

[0180] The weight parameter adjustment frequency is preferably set to 2Hz, meaning that parameter adjustments are performed every 500ms. This frequency ensures system responsiveness while avoiding instability caused by excessively frequent parameter changes. In practical applications, such as multi-robot collaborative weeding in agricultural automation scenarios, where environmental changes are relatively slow, the adjustment frequency can be reduced to 1Hz. In highly dynamic scenarios, such as autonomous driving fleets on urban roads, the frequency can be increased to 5Hz.

[0181] Based on the adjusted weight parameters, the complete control strategy is recalculated and issued to the actuators. The control command update frequency is usually set to 20Hz, that is, every 50ms to update the control command. This frequency ensures that the system responds promptly to environmental changes while not causing frequent switching of actuators.

[0182] The performance of the method in a typical application scenario. The scenario contains 6 robots and 3 static obstacles. The robots are initially randomly distributed and the goal is to form a regular hexagonal formation and avoid obstacles.

[0183] In the experiment, the robot diameter was set to 50 cm, the communication range was 10 m, and the target distance was set to 1.5 m. The minimum safety distance was set to 75 cm. These parameters are important in practical applications. For example, in industrial warehousing scenarios, a 50 cm robot diameter is suitable for moving between standard shelves, while a 1.5 m target distance ensures collaboration between robots while preventing overcrowding that affects maneuverability.

[0184] Experimental results show that a robot swarm using this method can form a stable formation within 15 seconds and smoothly avoid obstacles when encountering them, with an obstacle avoidance success rate of 99.7%. Compared with traditional methods, formation formation time is shortened by 40%, obstacle avoidance success rate is increased by 15%, and path smoothness is improved by 60%.

[0185] The proposed method performed exceptionally well in more complex scenarios, such as those simulating the flow of people in a shopping mall. For example, when a team of five delivery robots needed to navigate a crowded corridor, traditional methods often caused the formation to break up or become locked due to conflicts between obstacle avoidance and formation. However, the team using the proposed method was able to temporarily adjust its formation (e.g., from horizontal to vertical), smoothly navigate the narrow area, and then resume its original formation, all without human intervention.

[0186] Furthermore, the proposed method exhibits excellent adaptability to changes in the number of robots. When the number of robots increases from 6 to 12, there is no significant decrease in system performance, demonstrating excellent scalability. This characteristic is extremely important in practical applications. For example, in multi-robot collaborative operations on large farms, the number of robots may need to be dynamically adjusted based on the size of the work area. This method can adaptively maintain system stability and efficiency.

[0187] The method also performed well in long-term testing. In a 24-hour warehouse logistics simulation environment, the system maintained stable performance without requiring manual intervention or parameter readjustment, demonstrating strong robustness and adaptability.

[0188] This paper provides an adaptive formation control and obstacle avoidance method for distributed multi-robot swarms. Using a RBF neural network, this method achieves adaptive control, resolves the conflict between formation maintenance and obstacle avoidance, and improves the system's adaptability to environmental changes. This method boasts high computational efficiency, strong adaptability, and robustness, making it suitable for a variety of robot swarm application scenarios.

[0189] The foregoing is merely a preferred embodiment of the present invention and is not intended to limit the present invention. It will be apparent to those skilled in the art that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. Adaptive formation control and obstacle avoidance method for distributed multi-robot swarms, characterized by: include: Through wireless communication, the robot obtains the status information of neighboring robots and target points, including the current position, speed, and direction; through sensors, the robot obtains its own status information, including the current position, speed, direction, and radius; and obtains the position and radius of obstacles in the environment; Based on the acquired state information, an error function describing distance deviation and speed deviation is established, and a formation control and obstacle avoidance method with adaptive capabilities is constructed. An adaptive controller is designed using an RBF neural network. Based on changes in neighboring robot status and obstacle information, it outputs local obstacle avoidance terms and local velocity deviation terms. The RBF neural network uses a three-dimensional spatial description and a three-layer structure. The input layer contains three neurons, the hidden layer has six neurons, and the output layer has one neuron. The output of the RBF neural network is weighted and summed with the states of neighboring robots to generate a complete control strategy, which enables the robot cluster to avoid obstacles while maintaining formation.

2. The adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster according to claim 1, characterized in that: The error function describing the distance deviation and the speed deviation is established as follows: Determine a local velocity deviation term based on the relative velocity between the robot and its neighboring robots; Determine a local distance deviation term based on the difference between the actual distance between the robot and its neighbor robots and the target distance; The local speed deviation term and the local distance deviation term are combined to form an error function, which is used to reflect the stability of the robot cluster formation.

3. The adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster according to claim 1, characterized in that: The design of the adaptive controller using the RBF neural network specifically includes: Take the position, velocity of the neighboring robot and the robot's own velocity and direction as input; The local information is nonlinearly mapped from the input space to the high-dimensional space through the RBF neural network; Calculate the output layer results based on the output and connection weights of the hidden layer neurons; The local obstacle avoidance term and the local speed deviation term are generated according to the output results.

4. The adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster according to claim 3, characterized in that: The nonlinear mapping of local information from the input space to the high-dimensional space by the RBF neural network specifically includes: Calculate the distance between the input vector and the center of each hidden layer neuron; Substituting the distance into the radial basis function to obtain the activation value of each neuron in the hidden layer; Based on the activation values ​​and weight parameters, an output representation of the hidden layer is generated.

5. The adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster according to claim 1, characterized in that: The weighted summation of the output of the RBF neural network and the state of the neighboring robots by weights specifically includes: Set three types of weight parameters: speed weight, direction weight and position weight; Set control weights for the local speed deviation term, local distance deviation term, and local obstacle avoidance term respectively; According to the speed, direction and position information of the neighboring robots, combined with the corresponding weights and control weights, a complete control strategy is generated.

6. The adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster according to claim 5, characterized in that: The control weight is dynamically adjusted in the following ways: Monitor the relative state changes between the robot and its neighboring robots; In an obstacle-free environment, increase the speed weight and distance weight, and reduce the obstacle avoidance weight. When approaching an obstacle, increase the obstacle avoidance weight and appropriately reduce the speed weight and distance weight. When moving away from the obstacle, the weight configuration is smoothly transitioned back to normal.

7. The adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster according to claim 1, characterized in that: The step of establishing an error function describing the distance deviation and the speed deviation based on the acquired state information further includes: Perform noise filtering and normalization on the acquired state information; Smoothing of state information based on time windows to reduce the impact of sensor errors; Identify and remove outliers to improve system robustness.

8. The adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster according to claim 1, characterized in that: The method of weighting the output of the RBF neural network and the state of the neighboring robots is as follows: Complete control strategy = ∑(speed weight × neighbor speed) + ∑(direction weight × neighbor direction) + ∑(position weight × neighbor position) + control weight 1 × local speed bias term + control weight 2 × local distance bias term + control weight 3 × local obstacle avoidance term; Among them, the control weight 1 represents the weight of the local speed deviation term, the control weight 2 represents the weight of the local distance deviation term, and the control weight 3 represents the weight of the local obstacle avoidance term.

9. The adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster according to claim 1, characterized in that: The local obstacle avoidance term is calculated as follows: Define the minimum safe distance between the robot and obstacles; When the distance between the robot and the obstacle is greater than the minimum safe distance, the local obstacle avoidance term is zero; When the distance between the robot and the obstacle is less than the minimum safe distance, the local obstacle avoidance term is inversely proportional to the distance between the robot and the obstacle; The direction of the local obstacle avoidance term points away from the obstacle.

10. The adaptive formation control and obstacle avoidance method for a distributed multi-robot cluster according to claim 1, characterized in that: Also includes: Monitor the effectiveness of the complete control strategy implementation; Dynamically adjust the weight parameters of the RBF neural network based on the execution effect; Recalculate the complete control strategy based on the adjusted parameters; Realize adaptive optimization of control strategies and improve the system's adaptability to environmental changes.

Citation Information

Patent Citations

  • Rolling robot cluster time-varying formation control method and system based on virtual structure

    CN116859929A

  • Unmanned aerial vehicle cluster obstacle avoidance formation control method based on neural network

    CN117666617A

  • Robot adaptive formation and obstacle avoidance control method and system based on multimode information fusion

    CN119126789A

  • Collaborative formation control method for unmanned surface vehicles

    CN119356348A

  • Bionic climbing robot cluster formation input sharing control method

    CN119440008A

Cited By

  • Automatic control device based on neural network algorithm model

    CN121386388A