A multi-mobile robot collaborative driving method and system based on CLF and CBF

By using the CLF and CBF methods in the multi-mobile robot driving task, a comprehensive framework of driving and collision avoidance constraints is constructed, which solves the problem of difficulty in balancing stability and safety in the existing technology, and achieves stable and stable multi-robot collaborative driving. Safety and improved expulsion efficiency.

CN118372257BActive Publication Date: 2024-09-03WESTLAKE UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410805657.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-03
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

It is difficult for the existing technology to ensure stability and safety at the same time in driving tasks. Especially in complex scenarios such as multi-mobile robots driving sheep, there are problems of collision avoidance and inflexible formation structure.

Method used

A multi-mobile robot collaborative eviction method based on CLF and CBF is used to establish a comprehensive constraint QP problem by constructing the eviction Lyapunov function and the safety obstacle function to achieve stable and safe eviction, and provide a centralized and distributed universal eviction technology framework. .

Benefits of technology

It enables multiple mobile robots to coordinately drive targets under safe conditions that ensure they do not collide with each other, improves work efficiency, solves the problems of human design dependence and complex information acquisition, and enhances the stability and safety of the drive.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118372257B
    Figure CN118372257B
Patent Text Reader

Abstract

The present application relates to a multi-mobile robot collaborative driving method and system based on CLF and CBF. For the first time, the comprehensive constraints based on CLF‑CBF are applied to the robot collaborative driving task. The specific collaborative driving method includes: for the driving robot, according to the position of each driven target and the position of the target driving area, by introducing the CLF‑CBF safety comprehensive constraints, centralized and distributed general driving technology frameworks are proposed respectively, so that multiple mobile robots can take into account stability and safety at the same time, which can not only achieve stable driving of multiple targets to the desired area, but also ensure the safety of avoiding collisions between robots.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robotics technology, and in particular to a method and system for cooperatively driving multiple mobile robots based on CLF and CBF. Background Art

[0002] At present, mobile robot technology has been rapidly developed and has been widely used in logistics, autonomous driving, rescue operations and other occasions, but there are few studies on driving tasks. If a driving algorithm can be designed and deployed on actual robots to perform specific driving tasks such as grazing, attack-defense, pursuit-escape, etc., work efficiency can be greatly improved.

[0003] Driving behavior can be understood as a special group behavior under the interaction between two different groups, namely, the driving group and the driven group. It is mainly manifested in the task of a group of driving groups guiding and driving a group of driven groups from the starting area to the target area by exerting repulsive force. Taking the task of driving sheep by multiple mobile robots as an example, in the process of driving sheep, the driving robots must not only stably complete the goal of driving the sheep, but also ensure that there is no collision within their own group. However, these avoidance behaviors will sacrifice the effect of stable driving to some extent, that is, the stability of driving and the safety of obstacle avoidance are conflicting.

[0004] There are currently some methods that can achieve the driving task, such as the potential field-based method: by constructing an artificial potential field function, simple and stable driving can be achieved using only repulsion and attraction, but it relies too much on human design and it is difficult to solve safety problems such as collision avoidance, and it cannot be applied to a variety of complex scenarios; the formation-based method: by deploying multiple drivers around the driven, the task of first surrounding and then driving is achieved, but it has the problem of inflexible formation construction; there are also some control methods that are uniquely designed by humans, such as the implicit control-based method: although it can achieve stable and coordinated driving very well, it requires a complete grasp of the movement strategy of the driven, which is impossible to achieve in practice.

[0005] Therefore, there is an urgent need to study a collaborative expulsion method with strong stability, strong flexibility and high safety. Summary of the invention

[0006] In order to solve the practical problems existing in the methods described in the above background technology, such as complex structure, lack of flexibility, and the need to obtain too much information, the present application provides a multi-mobile robot collaborative driving method and system based on CLF and CBF, so that multiple mobile robots can take into account stability and safety at the same time, which can not only achieve stable driving of multiple targets, but also ensure the safety of avoiding collisions between robots. Based on the CLF-CBF comprehensive safety constraints, centralized and distributed general driving technology frameworks are proposed respectively.

[0007] In a first aspect, an embodiment of the present application provides a multi-mobile robot collaborative driving method based on CLF and CBF, the method comprising:

[0008] Step 1: Collect the current positions of the multiple mobile robots and the position of the target driving area; wherein the multiple mobile robots include a plurality of driving robots and a plurality of driven robots, and for each driving robot, the current positions of the remaining driving robots, the current positions of all driven robots and the position of the target driving area need to be obtained; for each driven robot, the current positions of the remaining driven robots and the current positions of all driving robots need to be obtained;

[0009] Step 2: Determine the motion model of the driving robot;

[0010] Step 3: Determine the motion model of the driven robot;

[0011] Step 4: designing a movement strategy for the driven robots when being driven, and each of the driven robots moves based on the movement strategy;

[0012] Step 5: establishing a driving Lyapunov function for the current position of each driven robot and the position of the target driving area, thereby obtaining the driving constraint of the driving robot based on the CLF;

[0013] Step 6: for the current position of each of the driving robots, a safety obstacle function is established to ensure that the driving robots do not collide with each other, thereby obtaining the collision avoidance safety constraints of the driving robots based on CBF;

[0014] Step 7: According to the CLF-based driving constraints and the CBF-based collision avoidance safety constraints of each driving robot, a QP problem based on the CLF-CBF comprehensive constraints is constructed, and by solving the safe driving speed of each driving robot, the task of the driving robots cooperatively driving the driven robots to the target driving area is achieved.

[0015] In one embodiment, determining the motion model of the driving robot includes:

[0016] Each of the driving robots adopts a first-order integrator model as its underlying motion model, and its motion control mode is speed control. Therefore, for each of the driving robots:

[0017] ;

[0018] Among them, the driving robot has m indivual, Indicates kA location to drive the robot away. Indicates k The speed of driving the robot, Indicates k A speed control input that drives the robot.

[0019] In one embodiment, determining the motion model of the driven robot includes:

[0020] Each of the driven robots adopts a first-order integrator model as its underlying motion model, and its motion control mode is speed control. Therefore, for each of the driven robots:

[0021] ;

[0022] Among them, the number of robots driven out is n indivual, Indicates i The location of the driven robot, Indicates i The speed of the driven robot, Indicates i The speed control input of the driven robot.

[0023] In one embodiment, designing the movement strategy of the driven robot when being driven includes:

[0024] According to the obtained current positions of the driving robots and the current positions of the remaining driven robots, the movement strategy of each driven robot when being driven is designed based on the artificial potential field method, and the formula is as follows:

[0025] ;

[0026] in, Indicates i The speed control input of the driven robot, k S represents the control coefficient of the cohesion term, k D represents the control coefficient of the exclusion term, S i and D i Respectively for the i the remaining driven robot sets of the driven robots, and the driving robot set, R S represents the safety radius of the driven robot. By manually adjusting the parameters, it can be ensured that the driven robots do not collide with each other. iThe cohesive force on the driven robot is expressed as repulsion when the distance between the other driven robots in the sensing range and itself is less than the safety radius, and they move away from each other. Otherwise, they attract each other, thus making all the driven objects "cohesive" into a whole. The second term represents the cohesive force of all driving robots on the first driven robot. i The repulsive force of the driven robot is manifested as the driven robot moving away from all the driving robots within its sensing range; the target driving area is a circular area, the center of which is located at x p The radius is R p ,use The target expulsion area is expressed as:

[0027]

[0028] in, x Represents the coordinates of any point in the plane when it intersects the center of the circle x p The distance is less than R p When the target driving area is reached, it can be regarded as being located in the target driving area.

[0029] In one embodiment, a driving Lyapunov function is constructed according to the current positions of all the driven robots and the position of the target driving area, so as to obtain the driving constraint of the driving robot based on the CLF, including:

[0030] Based on the current position of each driven robot and the position of the target circular driving area, a driving Lyapunov function of each driving robot is constructed:

[0031] ;

[0032] in, Indicates i The current position of the driven robot, x p represents the center point position of the target driving area, R p Indicates the radius of the target driving area;

[0033] According to the driving Lyapunov function of each driving robot, since its first-order derivative does not contain the velocity term of the driving robot, it is necessary to construct a second-order CLF constraint based on the driving Lyapunov function of each driving robot, so as to obtain the driving constraint of the driving robot based on CLF.

[0034] In one embodiment, according to the current positions of all the driving robots, a control obstacle function is constructed to ensure that the driving robots do not collide with each other, so that the collision avoidance safety constraints of the driving robots are obtained based on the CBF, including:

[0035] Based on the current position of each of the driving robots, a safety obstacle function of each of the driving robots is constructed:

[0036] ;

[0037] in, Indicates i The current position of the driving robot, Indicates j The current position of the driving robot, R D represents the safety radius of the driving robot;

[0038] According to the safety obstacle function of each driving robot, the safety collision avoidance constraint of the driving robot is obtained based on the first-order CBF.

[0039] In one embodiment, according to the CLF-based driving constraint of the driving robot and the CBF-based safe collision avoidance constraint, a QP problem of CLF-CBF comprehensive constraints is constructed to solve the safe driving speed of the driving robot to realize the collaborative safe driving strategy of multiple mobile robots, including:

[0040] The current positions of the other driving robots of the driving robot and the current position information of all driven robots are used to perform a centralized solution, and based on the CLF-CBF comprehensive constraint, the centralized safe driving speed of each driving robot is obtained, and the formula is as follows:

[0041] ;

[0042] in, represents the optimal driving control speed of each driving robot to maintain driving and prevent collision under centralized control, represents the actual speed of each driving robot during the driving process, represents the centralized driving CLF constraint of the driving robot, represents the centralized safety collision avoidance CBF constraint of the driving robot, A H represents the first linear constraint matrix that all driving robots must drive, B H represents the second linear constraint matrix that all driving robots must drive, A Crepresents the first linear constraint matrix of all robots that drive away from collision, B C Represents the second linear constraint matrix for all robots that drive them to prevent collisions.

[0043] In one embodiment, according to the CLF driving constraint and the safe CBF collision avoidance constraint of the driving robot, a QP problem of the CLF-CBF comprehensive constraint is constructed to solve the distributed safe driving speed of the driving robot to realize the distributed cooperative safe driving of multiple mobile robots, including:

[0044] The current position of the driving robot within the sensing range of the driving robot and the current position information of all driven robots are used to construct a distributed constraint framework. The formula is as follows:

[0045] ;

[0046] Based on the distributed constraint framework, a distributed CLF-CBF safety comprehensive constraint is constructed, and the distributed driving control speed of each driving robot is obtained through distributed solution. The formula is as follows:

[0047] ;

[0048] in, a ij represents the first linear constraint matrix based on the calculation of the driving robot position within the sensing range, b ij represents the second linear constraint matrix based on the calculation of the driving robot position within the sensing range, represents the optimal driving control speed of all the driving robots to maintain driving and prevent collision under distributed control, represents the actual speed control amount calculated by the driving robot within the sensing range, represents the distributed driving CLF constraint of the driving robot, represents the distributed collision avoidance CBF constraint of the driving robot, represents the distributed first linear constraint matrix that ensures the driving of all the driving robots, represents the distributed second linear constraint matrix that ensures the driving of all the driving robots, represents the distributed first linear constraint matrix of all the robots that drive the robots to avoid collision, Represents the distributed second linear constraint matrix for all the driving robots to prevent collision.

[0049] In a second aspect, the embodiment of the present application further provides a multi-mobile robot collaborative driving system based on CLF and CBF, the system comprising:

[0050] A communication module, used for collecting the current positions of the multiple mobile robots and the position of the target driving area; wherein the multiple mobile robots include a plurality of driving robots and a plurality of driven robots, and for each driving robot, the current positions of the remaining driving robots, the current positions of all driven robots and the position of the target driving area need to be obtained; for each driven robot, the current positions of the remaining driven robots and the current positions of all driving robots need to be obtained;

[0051] A first determining module, used to determine the motion model of the driving robot;

[0052] A second determination module, used to determine the motion model of the driven robot;

[0053] A design module, used for designing a movement strategy of the driven robots when being driven, and each of the driven robots moves based on the movement strategy;

[0054] A CLF driving constraint module is used to establish a driving Lyapunov function according to the current position of each driven robot and the position of the target driving area, so as to obtain the driving constraint of the driving robot based on the CLF;

[0055] A CBF collision avoidance safety constraint module is used to establish a safety obstacle function for ensuring that the driving robots do not collide with each other according to the current position of each driving robot, thereby obtaining the collision avoidance safety constraint of the driving robot based on CBF;

[0056] The driving module is used to construct a QP problem based on the CLF-CBF comprehensive constraint according to the CLF-based driving constraint and the CBF-based collision avoidance safety constraint of each driving robot, and to achieve the task of the driving robots cooperatively driving the driven robots to the target driving area by solving the safe driving speed of each driving robot.

[0057] In a third aspect, an embodiment of the present application further provides a robot, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the method described in the first aspect above when executing the computer program.

[0058] This application designs a multi-mobile robot cooperative driving method based on CLF and CBF, so that the multi-mobile robots can achieve the cooperative driving task of driving the target under the safety condition of ensuring that they do not collide with each other. The driving method based on CLF and CBF proposed in this application avoids practical problems such as artificial design, complex structure, inflexibility, and the need to obtain too much information. It only needs to construct CLF control constraints to ensure driving and CBF safety constraints to ensure safety, design comprehensive constraints, and solve the driving QP problem to achieve the task of driving the target to the target area by multiple mobile robots in a cooperative manner. It also proposes the general framework of centralized and distributed cooperative driving strategies, so that multiple mobile robots can take into account stability and safety at the same time, which can not only achieve stable driving of multiple targets to the desired area, but also ensure the safety of avoiding collisions between robots.

[0059] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0061] Figure 1 is a schematic diagram of an application environment of a multi-mobile robot cooperative driving method based on CLF and CBF in an embodiment;

[0062] Figure 2 is a flow chart of a method for cooperatively driving multiple mobile robots based on CLF and CBF in one embodiment;

[0063] Figure 3 The structure diagram of a multi-mobile robot cooperative driving system based on CLF and CBF in one embodiment. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0065] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantity limitation, and may indicate the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0066] The multi-mobile robot cooperative driving method based on CLF and CBF provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, a plurality of driving robots can drive a plurality of driven targets to a target driving area by utilizing the method provided in the embodiment of the present application.

[0067] The present application embodiment provides a multi-mobile robot cooperative driving method based on CLF and CBF, and the method is applied to Figure 1 Take the multi-robot in the example as an example. Figure 2 As shown, the method comprises the following steps:

[0068] Step 201, collect the current positions of the multiple mobile robots and the position of the target driving area. For each driving robot, it should obtain the current positions of the other driving robots, the current positions of all driven target robots, and the position of the circular target driving area in the global coordinate system; and for each driven robot, it should obtain the current positions of the other driven robots and the current positions of all driving target robots. Here, the target driving area is a circular area. Indicates that its center is at x p The radius is R p , then the target expulsion area is expressed as:

[0069]

[0070] in, x Represents the coordinates of any point in the plane when it intersects the center of the circle x p The distance is less than R p When , it can be regarded as being located in the driven circular area.

[0071] Step 202, determine the motion model of the driving robot and the motion model of the driven robot. Regardless of the driving robot or the driven robot, the first-order integrator model is used as the underlying motion model, and the motion control method is speed control. Therefore, for the driving robot:

[0072]

[0073] For the driven robots:

[0074]

[0075] Among them, the number of driving robots is m, and the number of driven robots is n indivual, Indicates k A location to drive the robot away. Indicates k The speed of driving the robot, Indicates i The location of the driven robot, Indicates i The speed of the driven robot, Indicates k The speed control quantity that drives the robot, Indicates i The speed control quantity of the driven robot.

[0076] Step 203, in order to verify the effectiveness of the proposed cooperative driving technology in this application, it is necessary to provide a mobile escape strategy for the driven robot. For the driven robot, the artificial potential field method is used to design the repulsion term between the driven robot and the driving robot, and the aggregation term with the other driving robots, and then provide a mobile strategy for the driven robot, as shown below:

[0077]

[0078] in, Indicates i The speed control input of the driven robot, k Srepresents the control coefficient of the cohesion term, k D represents the control coefficient of the exclusion term, S i and D i Respectively for the i The remaining driven robot sets of the driven robot and the driving robot set represent the safety radius of the driven robot. By manually adjusting the parameters, it can be ensured that the driven robots do not collide with each other. i The cohesive force on the driven robot is expressed as repulsion when the distance between the other driven robots in the sensing range and itself is less than the safety radius, and they move away from each other. Otherwise, they attract each other, thus making all the driven objects "cohesive" into a whole. The second term represents the cohesive force of all driving robots on the first driven robot. i The repulsive force of a driven robot is manifested in that the driven robot moves away from all driving robots within its perception range.

[0079] Step 204, based on the current positions of all driven robots and the position of the target driving area, a driving Lyapunov function is established to obtain a driving constraint based on CLF for the driving robot. Specifically, in the process of multiple driving robots cooperatively driving multiple driven robots, the driving robot needs to stably drive the driven robots to the target driving area. This step constructs the CLF driving constraint of the driving robot based on the current position of each driven robot and the position of the target driving area, so as to ensure that the driving robot can stably drive the driving targets of multiple driven robots.

[0080] Step 205, based on the current positions of all driving robots, establish an obstacle function to ensure that each driving robot does not collide with each other, so as to obtain a collision avoidance safety constraint based on CBF for the driving robot. Specifically, in the process of each driving robot driving the driven robot, each driving robot needs to be able to ensure that there is no collision within its own group, so as to achieve obstacle avoidance safety. This step constructs the CBF collision avoidance constraint of the driving robot based on the current position of each driving robot and the position of each driven robot. The CBF driving constraint is used to ensure the obstacle avoidance safety goal in the driving process of the driving robot.

[0081] Step 206, establish a QP problem that satisfies the CLF-CBF comprehensive constraint constructed above, and use global information to perform centralized solution, so as to obtain the centralized safe driving speed of the driving robot, and realize centralized collaborative safe driving of multiple mobile robots. Specifically, in the process of driving the target, the CLF driving constraint constructed above and the CBF safe collision avoidance constraint are combined, and the centralized quadratic programming (QP) problem is solved using global information to obtain the safe driving control speed of each driving robot.

[0082] Step 207, for the driving robot, only the current position information of other friendly driving robots is used to establish a distributed CLF-CBF comprehensive constraint, and the distributed QP is solved to obtain the distributed safe driving speed of the driving robot, thereby realizing distributed collaborative safe driving of multiple mobile robots.

[0083] In the above-mentioned multi-mobile robot collaborative driving method based on CLF and CBF, for the driving robot, by acquiring the current position of each of the driven robots and the position of the target driving area, the CLF driving constraint of the driving robot is constructed; by acquiring the current position of each of the neighbor driving robots, the CBF safety collision avoidance constraint of the driving robot is constructed; by establishing the driving constraint and the safety constraint as mentioned above, a CLF-CBF safety comprehensive constraint is jointly formed, and the QP problem is solved under the comprehensive constraint to obtain the safe driving speed of the driving robot. This application introduces CLF constraints and CBF constraints in the driving task for the first time, which can coordinate between the safety and stability of the driving, greatly improve the work efficiency, and enable the driving robot to achieve stable driving while ensuring the safety of avoiding collisions.

[0084] In one embodiment, the driving robot constructs a CLF driving constraint of the driving robot based on the current position of each driven robot and the position of the target driving area, which specifically includes the following contents:

[0085] Step 301, constructing a driving index of each of the driven objects based on the current position information of each of the driven objects and the position information of the target driving area;

[0086] Specifically, we first define the driving Lyapunov function for each driven robot: , according to i The relative position of the driven robot and the center of the circular target driving area is established. i The driving Lyapunov function of the driven robot is shown in formula (1):

[0087] (1)

[0088] in, Indicates i The current position of the driven robot, x p represents the center point position of the circular target driving area, R p Indicates the radius of the circular target driving area.

[0089] Step 302, establishing a second-order CLF driving constraint of each driven robot according to the constructed driving Lyapunov function;

[0090] Specifically, firstly, the first-order CLF constraint is obtained for the driven Lyapunov function:

[0091]

[0092] in p 1 is a positive real coefficient. Through analysis, it can be seen that the first-order derivative of the driving Lyapunov function H can only obtain the position of the driving robot, but not its speed. Therefore, it is impossible to obtain the speed control input of the driving robot. Therefore, it is necessary to perform a second-order derivative on it. Therefore, the second-order CLF constraint is adopted, as shown in formula (2):

[0093] (2)

[0094] in, contains the speed input required to drive the robot, p 1 , p 2 All are positive real coefficients, further solve:

[0095] (3)

[0096] (4)

[0097] and They are respectively expressed as follows:

[0098] (5)

[0099] (6)

[0100] Step 303: Based on the second-order driving Lyapunov function for the driving robot, the CLF driving constraints of all the driving robots can be obtained.

[0101] Specifically, substituting the above equations (3) and (4) into the second-order CLF constraint equation (2), we can obtain the following linear constraint on the velocity of the driven robot, namely equation (7):

[0102] (7)

[0103] in:

[0104] (8)

[0105] (9)

[0106] in, Respectively represent the constraint matrix for each driving robot in the linear constraint condition, Denotes the control input of all driving robots. The final driving control speed of the driving robot is calculated by solving a QP problem that searches for the minimum norm speed while satisfying these constraints.

[0107] In order to ensure that each driven robot can be driven to the target driving area, each driving robot should satisfy its own driving constraint, as shown in formula (10):

[0108] (10)

[0109] in, A H , B H Represents the linear constraint matrix of all driving robots in the driving task. So far, a complete driving constraint is established for all driving robots based on CLF.

[0110] In one embodiment, based on the current position of each of the driving robots, a CBF collision avoidance safety constraint of the driving robot may be constructed, specifically including the following contents:

[0111] Step 401, establishing a safety index of each robot based on the current position information of each robot and the position of each driven object;

[0112] Specifically, in the process of cooperative driving of multiple driving robots, it is necessary to ensure that the same driving robots do not collide with each other. Therefore, it is necessary to propose collision avoidance constraints to ensure the safety conditions in the driving process and define a safety obstacle function. , based on the current position of each of the driving robots, construct a safety obstacle function for each of the driving robots:

[0113] (11)

[0114] in, Indicates i The current position of the driving robot, Indicates j The current position of the driving robot, R D Indicates the safety radius of the driving robot.

[0115] Step 402, establishing a first-order safety obstacle avoidance CBF constraint for each of the driving robot safety obstacle functions;

[0116] The safe obstacle avoidance CBF constraint form is as follows:

[0117] (12)

[0118] Step 403: obtaining the CBF safety constraints of the driving robots based on the first-order CBF constraints of each of the driving robots.

[0119] Substituting (11) into (12), we can obtain the safe collision avoidance linear constraint for the robot:

[0120] (13)

[0121] in, Both indicate i A condition matrix that drives the robot to avoid collision linear constraints, Represents the collision avoidance control speed input of all driving robots. In order to ensure that each driving robot can achieve the driving task, it needs to meet the following conditions:

[0122] (14)

[0123] in A C and B C Represents the linear constraint matrix that ensures collision avoidance for all driving robots. So far, a complete safety collision avoidance constraint is established for the driving robot based on CBF.

[0124] In one embodiment, the driving constraint based on CLF and the safety collision avoidance constraint based on CBF can obtain the speed control input of the driving robot by solving a QP (quadratic programming) problem. The control speed formula of each driving robot is obtained based on the CLF driving constraint and the CBF collision avoidance constraint of the driving robot as follows:

[0125]

[0126] in, It indicates the optimal driving control speed of the driving robot to maintain driving and prevent collision under centralized control. represents the comprehensive safety condition that satisfies both the expulsion constraint and the collision avoidance constraint. represents the CLF driving constraint of the driving robot under centralized control, represents the CBF collision avoidance constraint of the driving robot under centralized control, A H represents the first linear constraint matrix of the driving robot to ensure the driving target, B H represents the second linear constraint matrix of the driving robot to ensure the driving target, A C represents the first linear constraint matrix of the driving robot to prevent collision with other driving robots, B C represents the second linear constraint matrix of the driving robot to prevent collision with other driving robots. This quadratic cost function is used as the speed penalty term for all driving robots. The purpose is to select the minimum control speed that meets the comprehensive constraints when the speed exceeds the comprehensive constraints.

[0127] By constructing the CLF-CBF safety comprehensive constraint above, the driving control speed of all driving robots can be obtained. However, for each driving robot, the calculation of its speed requires the position information of all other driving robots, that is, the constraint matrix for each specific driving robot and , the calculation requires the position information of all driving robots and driven objects, which is a centralized control. This method will occupy more computing resources at the same time and has high computational complexity. Therefore, in one embodiment of the present application, the centralized driving control is extended to distributed control.

[0128] For distributed expulsion control, the above CLF-CBF safety comprehensive constraint framework is still used. Each expulsion robot only uses other neighboring robots within its own sensing range. Therefore, the above centralized constraint conditions are transformed into the following distributed form:

[0129] (15)

[0130] in, a ij and b ij represents the linear constraint matrix for calculating the position of the robot driven by only some of the neighbors within the sensing range, Then is the control speed input of the driving robot calculated only based on the position of the neighboring driving robot. Based on this distributed framework, the linear QP problem is solved to obtain the distributed driving strategy of the driving robot. Therefore, the distributed QP problem framework for solving the speed of each driving robot is as follows:

[0131]

[0132] in, It indicates that each of the driving robots in the driving robots maintains the optimal driving control speed for driving and preventing collision under distributed control, represents the CLF driving constraint of the driving robot under distributed control, represents the CBF collision avoidance constraint of the driving robot under distributed control, represents the distributed first linear constraint matrix used by the driving robot for driving, represents the distributed second linear constraint matrix of the driving robot to ensure the driving target, represents the distributed first linear constraint matrix for the driving robot to avoid collision with other driving robots, The distributed second linear constraint matrix represents the driving robot avoiding collision with other driving robots.

[0133] This distributed driving strategy emphasizes that for each driving robot, the calculation of its control input only needs to use the position information of the driving robots within its own perception range, not all driving robots. Therefore, compared with the centralized control framework, it occupies less computing resources and has lower computational complexity, and only needs to use part of the information of the remaining driving robots, making the entire system more robust.

[0134] In one embodiment, a multi-mobile robot cooperative driving system based on CLF and CBF is provided, such as Figure 3 As shown, the system comprises:

[0135] The communication module 10 is used to collect the current positions of the multiple mobile robots and the position of the target driving area; wherein the multiple mobile robots include a plurality of driving robots and a plurality of driven robots, and for each driving robot, the current positions of the remaining driving robots, the current positions of all driven robots and the position of the target driving area need to be obtained; for each driven robot, the current positions of the remaining driven robots and the current positions of all driving robots need to be obtained;

[0136] A first determination module 20, used to determine the motion model of the driving robot;

[0137] A second determination module 30, configured to determine a motion model of the driven robot;

[0138] A design module 40, for designing a movement strategy for the driven robots when being driven, and each driven robot moves based on the movement strategy;

[0139] A CLF driving constraint module 50 is used to establish a driving Lyapunov function according to the current position of each driven robot and the position of the target driving area, so as to obtain the driving constraint of the driving robot based on the CLF;

[0140] The CBF collision avoidance safety constraint module 60 is used to establish a safety obstacle function for ensuring that the driving robots do not collide with each other according to the current position of each driving robot, thereby obtaining the collision avoidance safety constraint of the driving robot based on the CBF;

[0141] The driving module 70 is used to construct a QP problem based on the CLF-CBF comprehensive constraint according to the CLF-based driving constraint and the CBF-based collision avoidance safety constraint of each driving robot, and to achieve the task of the driving robots cooperatively driving the driven robots to the target driving area by solving the safe driving speed of each driving robot.

[0142] In one embodiment, a robot is provided, comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements any step in the above-mentioned multi-mobile robot collaborative driving method based on CLF and CBF when executing the computer program.

[0143] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0144] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A multi-mobile robot cooperative driving method based on CLF and CBF, characterized in that: The method comprises: Step 1: Collect the current positions of the multiple mobile robots and the position of the target driving area; wherein the multiple mobile robots include a plurality of driving robots and a plurality of driven robots, and for each driving robot, the current positions of the remaining driving robots, the current positions of all driven robots and the position of the target driving area need to be obtained; for each driven robot, the current positions of the remaining driven robots and the current positions of all driving robots need to be obtained; Step 2: Determine the motion model of the driving robot; Step 3: Determine the motion model of the driven robot; Step 4: designing a movement strategy for the driven robots when being driven, and each of the driven robots moves based on the movement strategy; Step 5: Establish a driving Lyapunov function for each of the driven robots and the position of the target driving area, so as to obtain the driving constraint of the driving robot based on CLF; including: constructing the driving Lyapunov function of each driving robot based on the current position of each of the driven robots and the position of the target circular driving area: ; in, Indicates i The current position of the driven robot, x p represents the center point position of the target driving area, R p represents the radius of the target driving area; according to the driving Lyapunov function of each driving robot, since its first-order derivative does not contain the velocity term of the driving robot, it is necessary to construct a second-order CLF constraint based on the driving Lyapunov function of each driving robot, thereby obtaining the driving constraint of the driving robot based on the CLF; Step 6: for the current position of each of the driving robots, a safety obstacle function is established to ensure that the driving robots do not collide with each other, so as to obtain the collision avoidance safety constraints of the driving robots based on CBF; including: based on the current position of each of the driving robots, constructing the safety obstacle function of each of the driving robots: ; in, Indicates i The current position of the driving robot, Indicates j The current position of the driving robot, R D represents the safety radius of the driving robot; according to the safety obstacle function of each driving robot, based on the first-order CBF, the collision avoidance safety constraint of the driving robot is obtained; Step 7: According to the CLF-based driving constraint and the CBF-based collision avoidance safety constraint of each driving robot, a QP problem based on the CLF-CBF safety comprehensive constraint is constructed, and the safe driving speed of each driving robot is solved, so as to achieve the task of the driving robots cooperatively driving the driven robots to the target driving area, including: using the current position information of the remaining driving robots of the driving robot and the current position information of all driven robots to perform centralized solution, based on the CLF-CBF comprehensive constraint, so as to obtain the centralized safe driving speed of each driving robot, the formula is as follows: ; in, represents the optimal driving control speed of each driving robot to maintain driving and prevent collision under centralized control, represents the actual speed of each driving robot during the driving process, represents the centralized driving CLF constraint of the driving robot, represents the centralized safety collision avoidance CBF constraint of the driving robot, A H represents the first linear constraint matrix that all driving robots must drive, B H represents the second linear constraint matrix that all driving robots must drive, A C represents the first linear constraint matrix of all robots that drive away from collision, B C Represents the second linear constraint matrix for all robots that drive them to prevent collisions.

2. The method according to claim 1, characterized in that: Determining the motion model of the driving robot includes: Each of the driving robots adopts a first-order integrator model as its underlying motion model, and its motion control mode is speed control. Therefore, for each of the driving robots: ; Among them, the driving robot has m indivual, Indicates k A location to drive the robot away. Indicates k The speed of driving the robot, Indicates k A speed control input that drives the robot.

3. The method according to claim 1, characterized in that Determining the motion model of the driven robot includes: Each of the driven robots adopts a first-order integrator model as its underlying motion model, and its motion control mode is speed control. Therefore, for each of the driven robots: ; Among them, the number of robots driven out is n indivual, Indicates i The location of the driven robot, Indicates i The speed of the driven robot, Indicates i The speed control input of the driven robot.

4. The method according to claim 1, characterized in that Designing the movement strategy of the driven robot when being driven includes: According to the obtained current positions of the driving robots and the current positions of the remaining driven robots, the movement strategy of each driven robot when being driven is designed based on the artificial potential field method, and the formula is as follows: ; in, Indicates i The speed control input of the driven robot, k S represents the control coefficient of the cohesion term, k D represents the control coefficient of the exclusion term, S i and D i Respectively for the i the remaining driven robot sets of the driven robots, and the driving robot set, R S represents the safety radius of the driven robot. By manually adjusting the parameters, it can be ensured that the driven robots do not collide with each other. The first item in this mobile strategy represents the i The cohesive force on the driven robot is expressed as repulsion when the distance between the other driven robots in the sensing range and itself is less than the safety radius, and they move away from each other. Otherwise, they attract each other, thus making all the driven objects "cohesive" into a whole. The second term represents the cohesion of all driving robots on the first driven robot. i The repulsive force of the driven robot is manifested as the driven robot moving away from all the driving robots within its sensing range; the target driving area is a circular area, the center of which is located at x p The radius is R p ,use The target expulsion area is expressed as: ; in, x Represents the coordinates of any point in the plane when it intersects the center of the circle x p The distance is less than R p When the target driving area is reached, it can be regarded as being located in the target driving area.

5. The method according to claim 1, characterized in that According to the CLF driving constraint and the safe CBF collision avoidance constraint of the driving robot, a QP problem of the CLF-CBF comprehensive constraint is constructed to solve the distributed safe driving speed of the driving robot to realize the distributed cooperative safe driving of multiple mobile robots, including: The current position of the driving robot within the sensing range of the driving robot and the current position information of all driven robots are used to construct a distributed constraint framework. The formula is as follows: ; Based on the distributed constraint framework, a distributed CLF-CBF safety comprehensive constraint is constructed, and the distributed driving control speed of each driving robot is obtained through distributed solution. The formula is as follows: ; in, a ij represents the first linear constraint matrix based on the calculation of the driving robot position within the sensing range, b ij represents the second linear constraint matrix based on the calculation of the driving robot position within the sensing range, represents the optimal driving control speed of all the driving robots to maintain driving and prevent collision under distributed control, represents the actual speed control amount calculated by the driving robot within the sensing range, represents the distributed driving CLF constraint of the driving robot, represents the distributed collision avoidance CBF constraint of the driving robot, represents the distributed first linear constraint matrix that ensures the driving of all the driving robots, represents the distributed second linear constraint matrix that ensures the driving of all the driving robots, represents the distributed first linear constraint matrix of all the robots that drive the robots to avoid collision, Represents the distributed second linear constraint matrix for all the driving robots to prevent collision.

6. A multi-mobile robot cooperative driving system based on CLF and CBF, characterized in that: The system comprises: A communication module, used for collecting the current positions of the multiple mobile robots and the position of the target driving area; wherein the multiple mobile robots include a plurality of driving robots and a plurality of driven robots, and for each driving robot, the current positions of the remaining driving robots, the current positions of all driven robots and the position of the target driving area need to be obtained; for each driven robot, the current positions of the remaining driven robots and the current positions of all driving robots need to be obtained; A first determining module, used to determine the motion model of the driving robot; A second determination module, used to determine the motion model of the driven robot; A design module, used for designing a movement strategy of the driven robots when being driven, and each of the driven robots moves based on the movement strategy; The CLF driving constraint module is used to establish a driving Lyapunov function for each of the driven robots and the position of the target driving area, so as to obtain the driving constraint of the driving robot based on the CLF; comprising: based on the current position of each of the driven robots and the position of the target circular driving area, constructing the driving Lyapunov function of each of the driving robots: ; in, Indicates i The current position of the driven robot, x p represents the center point position of the target driving area, R p represents the radius of the target driving area; according to the driving Lyapunov function of each driving robot, since its first-order derivative does not contain the velocity term of the driving robot, it is necessary to construct a second-order CLF constraint based on the driving Lyapunov function of each driving robot, thereby obtaining the driving constraint of the driving robot based on the CLF; The CBF collision avoidance safety constraint module is used to establish a safety obstacle function for ensuring that the driving robots do not collide with each other according to the current position of each driving robot, so as to obtain the collision avoidance safety constraint of the driving robot based on the CBF; comprising: constructing the safety obstacle function of each driving robot based on the current position of each driving robot: ; in, Indicates i The current position of the driving robot, Indicates j The current position of the driving robot, R D represents the safety radius of the driving robot; according to the safety obstacle function of each driving robot, based on the first-order CBF, the collision avoidance safety constraint of the driving robot is obtained; The driving module is used to construct a QP problem based on the CLF-CBF comprehensive constraint according to the CLF-based driving constraint and the CBF-based collision avoidance safety constraint of each driving robot, and to achieve the task of the driving robots cooperatively driving the driven robots to the target driving area by solving the safe driving speed of each driving robot, including: using the current position information of the other driving robots of the driving robot and the current position information of all driven robots to perform centralized solution, based on the CLF-CBF comprehensive constraint, so as to obtain the centralized safe driving speed of each driving robot, and the formula is as follows: ; in, represents the optimal driving control speed of each driving robot to maintain driving and prevent collision under centralized control, represents the actual speed of each driving robot during the driving process, represents the centralized driving CLF constraint of the driving robot, represents the centralized safety collision avoidance CBF constraint of the driving robot, A H represents the first linear constraint matrix that all driving robots must drive, B H represents the second linear constraint matrix that all driving robots must drive, A C represents the first linear constraint matrix of all robots that drive away from collision, B C Represents the second linear constraint matrix for all robots that drive them to prevent collisions.

7. A robot comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.