Multi-robot global motion planning method, electronic equipment and storage medium

The Gaussian pseudospectral method is used to optimize multi-robot motion planning, establish collaborative obstacle avoidance and formation maintenance task models, solve the robustness and efficiency problems of multi-robot motion planning in dynamic environments, and achieve efficient motion in actual environments. Trajectory planning.

CN118567359APending Publication Date: 2024-08-30UNIV OF SCI & TECH BEIJING
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410607653.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing multi-robot motion planning methods are difficult to ensure high efficiency and system optimality in dynamic environments, and cannot be directly applied in actual environments, especially due to sensor errors, communication errors, and controller errors, which lead to poor robustness of global planning.

Method used

The Gaussian pseudospectral method is used to solve the optimization problem of multi-robot motion planning, and a multi-robot system kinematics model and a collaborative obstacle avoidance transportation task model are established. By optimizing the objective function and introducing collision avoidance constraints and collaboration constraints between robots, the Gaussian pseudospectral method is used to solve the optimization problem of multi-robot motion planning. The spectral method is used for nonlinear planning to solve the optimal global motion planning path.

Benefits of technology

It achieves a more accurate description of the collaboration between robots, optimizes the motion trajectories of multi-robots, improves work efficiency, and can be directly applied in actual environments, solving shortcomings in multi-robot transportation tasks and optimizing motion trajectories in formation maintenance tasks. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567359A
    Figure CN118567359A
Patent Text Reader

Abstract

The invention belongs to the technical field of robot motion planning, and particularly relates to a multi-robot global motion planning method, electronic equipment and a storage medium. The method comprises the following steps: S1, establishing a multi-robot motion planning model; s2, setting a multi-robot motion planning optimization target; s3, solving an optimization problem of multi-robot motion planning by using a Gaussian pseudo-spectral method; and S4, solving an optimal global motion planning path of multi-robot motion planning. According to the method, optimization and improvement of global motion planning of the multiple robots are achieved, collaboration among the robots can be described more accurately, the method can be directly applied to the actual environment, and the working efficiency of the robots is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of robot motion planning, and in particular relates to a multi-robot global motion planning method, electronic equipment and storage medium. Background Art

[0002] With the development of the robotics industry, the early single-agent system, when faced with complex real-world environments, lacked communication and interactive behaviors and algorithms, which limited the maximum performance of the system. Therefore, the Multi-agent System (MAS) came into being.

[0003] The coordination of hardware and software systems and algorithms in multi-agent systems is the basis of autonomous planning. Robot motion planning refers to the process of formulating feasible motion trajectories and action sequences for robots that meet task requirements. There are generally three methods for dealing with multi-robot motion planning problems: priority allocation, motion coordination, and task decomposition. The above methods are all rule-based methods, and the trajectories obtained are far from the optimal, and it is difficult to ensure the rapidity of the solution. How to design an efficient motion planning method that can be directly applied to real robot groups in a dynamic environment is still difficult.

[0004] Robot motion planning can be divided into global or local motion planning according to the robot's knowledge of environmental information. Global planning is offline planning. Before the robot actually performs a task, the computer will pre-calculate the robot's motion trajectory based on the planning algorithm, and then save the trajectory and call it directly in the actual task. Global motion planning can obtain the global optimal trajectory, but it cannot handle environmental changes and has poor robustness.

[0005] Centralized planning algorithms refer to the planning problems of multiple robots being solved in a central controller. The central controller calculates the planning schemes for all robots based on global information and constraints, and then distributes the planning results to each robot for execution. Centralized planning algorithms can be divided into A* search, conflict search algorithm, and optimization algorithm.

[0006] A* search is a heuristic search algorithm. The design of the heuristic function is the key to the A* algorithm. However, the use of complex heuristic functions will increase the computational complexity and reduce the efficiency of the algorithm. The conflict-based search method (CBS) is mainly used to solve the path conflict in multi-robot planning problems. It is an extension of the traditional single robot planning. In CBS, the robot planning path only considers the added restrictions and ignores other robots. It has low computational complexity and fast solution speed, and is more suitable for large-scale problems. The disadvantage is that the optimality of the system cannot be guaranteed after adding restrictions.

[0007] The above two types of multi-robot motion planning are based on search algorithms, while the optimization-based method is a type of mathematical optimization problem. The robot's motion behavior is described by differential equations. On this basis, inequality constraints of related tasks are added. Solving the optimal solution of this functional constitutes an optimal control problem. Numerical methods are used to solve optimization problems, including direct shooting and configuration methods. The direct shooting method discretizes the control variables and then solves the optimal solution; the configuration method discretizes the control variables and state variables at the same time, and constructs them through interpolation functions, which are divided into direct collocation method and pseudo-spectral method.

[0008] Optimal control methods are suitable for modeling multi-robot motion planning because they clearly describe constraints and coordination and directly obtain control sequences. Compared with search-based models, optimal control methods can consider more constraints and more accurately describe coordination, but their computational complexity increases exponentially with the number of robots, making it challenging to handle large-scale problems.

[0009] The global motion planning method can obtain the global optimal trajectory in a static environment. However, due to the problems of sensor error, communication error and controller error in the actual environment, the global planning cannot be directly applied to the actual environment. The optimization and improvement of multi-robot motion planning is of great significance to the autonomous decision-making and intelligence of robots, and can improve the work efficiency of robots. Summary of the invention

[0010] In order to solve the above technical problem, that is, how to improve the working efficiency of the robot, the present invention provides the following technical solutions:

[0011] A multi-robot global motion planning method comprises the following steps:

[0012] Step S1, establishing a multi-robot motion planning model;

[0013] Step S2, setting multi-robot motion planning optimization goals;

[0014] Step S3, using Gaussian pseudospectral method to solve the optimization problem of multi-robot motion planning;

[0015] Step S4, solving the optimal global motion planning path for multi-robot motion planning.

[0016] Furthermore, step S1 includes: establishing a kinematic model of a multi-robot system, and establishing a task model of multi-robot collaborative obstacle avoidance transportation and multi-robot collaborative formation maintenance.

[0017] Furthermore, establishing a kinematic model of a multi-robot system includes the following steps:

[0018] Step S11: First, establish a single robot kinematic model;

[0019] Step S12: Based on the single robot kinematic model, a multi-robot system kinematic model is established:

[0020]

[0021] Where i is the robot code, i = 1, 2, ... N; where θ i is the heading angle of robot i; v i is the linear velocity of robot i; ω i is the angular velocity of robot i; is the rate of change of the lateral position coordinate of robot i; is the rate of change of the longitudinal position coordinate of robot i; is the rate of change of heading angle of robot i.

[0022] Furthermore, based on the kinematic model of the multi-robot system, a multi-robot collaborative obstacle avoidance transportation task model and a multi-robot collaborative formation maintenance task model are established. The robot's position is represented by (x, y, θ), t is the original time, the start time is t0, and the end time is t f , (x(t f ),y(t f ),θ(t f )) represents the required posture of the robot’s endpoint, and the task model of multi-robot collaborative formation is:

[0023]

[0024] Where j is the robot j code, j = 1, 2, ... N; where Δ is the distance parameter; represents the Euclidean distance between two robots at any time; is the initial Euclidean distance between robot i and robot j at t = 0, and i ≠ j; Δ1 represents The lower bound deviation of the function near the initial time t0; Δ2 represents The upper bound deviation of the function around the initial time t0.

[0025] Further, step S2 includes:

[0026] Step S21, establishing a multi-robot obstacle avoidance constraint model, including a multi-robot avoidance static obstacle constraint model and a multi-robot avoidance collaborative robot constraint model;

[0027] Step S22: setting a multi-robot motion planning optimization objective function, including a multi-robot motion planning optimization objective function for a collaborative obstacle avoidance transport task environment and a collaborative formation maintenance task environment.

[0028] Furthermore, in step S22, the multi-robot motion planning optimization objective function of the collaborative obstacle avoidance transportation task environment is:

[0029]

[0030] Where α is the weight parameter; X i (t) is the state quantity of robot i at time t (x i (t),y i (t),θ i (t));X i (t f ) is the target state of machine i.

[0031] Furthermore, in step S22, the multi-robot motion planning optimization objective function of the collaborative formation maintaining the task environment is:

[0032]

[0033] Where β is the weight parameter; ω i is the angular velocity control value of robot i.

[0034] Furthermore, step S3 specifically discretizes the motion planning model based on the Gaussian pseudo-spectral method and transforms the optimal control problem into a nonlinear programming problem, including the following steps:

[0035] Step S31: First, establish a single robot optimal motion planning model; that is, solve the continuous Bolza optimal control problem, that is, find the control variable u(t) and determine the termination time t f , so that the performance indicator functional J takes the minimum value along the corresponding state variable x(t):

[0036]

[0037] Where x(t) is the state variable of the system; u(t) is the control variable of the system; the factors that restrict the state trajectory x(t) include:

[0038] 1) System motion equation constraints:

[0039] 2) System state boundary constraints: x min ≤x(t)≤x max

[0040] 3) System control boundary constraints: u min ≤u(t)≤u max

[0041] 4) Boundary value constraint: φ(t0,t f ,x(t0),x(t f ),u(t0),u(t f ))=0

[0042] 5) Path constraint: C = (x(t),u(t),t)≤0,t∈[t0,t f ]

[0043] Step S32: Based on the single robot optimal motion planning model, a multi-robot optimal motion planning model is established as follows:

[0044]

[0045] Where i is the robot code, i = 1, 2, ... N; c i is the path constraint of robot i; m i is the coordination constraint between robot i and robot j, j = 1, 2, … N and j ≠ i; e i are the initial and final state constraints of robot i;

[0046] Step S33, discretize the optimal motion planning model based on the Gaussian pseudospectral method; specifically, use the roots of the orthogonal polynomials as nodes, and use Lagrange interpolation polynomials to approximate the original equation, and finally obtain the discrete objective function, discrete system dynamic equation, discrete path constraints and final state constraints to combine into the optimal motion planning discrete model.

[0047] The present invention also provides an electronic device, comprising: at least one processor; and

[0048] A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the multi-robot global motion planning method as claimed in claim 1.

[0049] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the multi-robot global motion planning method as claimed in the preceding claims.

[0050] Compared with the prior art, the present invention has the following beneficial effects:

[0051] 1) After establishing the multi-robot motion planning model, the present invention adds necessary constraints on the basis of the robot motion system equation to obtain the optimized objective function, uses optimal control to describe the robot's motion planning, obtains the state trajectory, and finally uses the Gaussian pseudo-spectral method to perform nonlinear transformation on the multi-robot global motion planning, solves the optimal motion trajectory and optimal action sequence for the robot to achieve a specific task, realizes the optimization and improvement of the robot's global motion planning, can more accurately describe the collaboration between robots, can be directly applied to the actual environment, and improves the robot's work efficiency.

[0052] 2) The present invention solves the shortcomings existing in multi-robot transportation tasks by optimizing the objective function and introducing collision avoidance constraints and cooperation constraints between robots, and optimizes the motion trajectory of robots in formation maintaining tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is a flow chart of the multi-robot global motion planning method of the present invention;

[0054] Figure 2 is a schematic diagram of the kinematic model of the wheeled robot of the present invention;

[0055] Figure 3 This is a diagram of a multi-robot collaborative obstacle avoidance transportation scenario of the present invention;

[0056] Figure 4 It is a multi-robot collaborative obstacle avoidance transportation task diagram of the present invention;

[0057] Figure 5 Maintaining a scene graph for the multi-robot collaborative formation of the present invention;

[0058] Figure 6 A schematic diagram of the collision constraint between the robot of the present invention and a static obstacle;

[0059] Figure 7 A schematic diagram of collision constraints between the robot of the present invention and another collaborative robot;

[0060] Figure 8a A multi-robot motion planning path for solving the collaborative obstacle avoidance transport task of the present invention;

[0061] Figure 8b Multi-robot state quantities and control quantities solved for the cooperative obstacle avoidance transportation task of the present invention;

[0062] Figure 9a A multi-robot planning path solved after modifying the objective function for the cooperative obstacle avoidance transportation task of the present invention;

[0063] Figure 9b The multi-robot state quantities and control quantities solved after modifying the objective function for the cooperative obstacle avoidance transportation task of the present invention;

[0064] Fig.10a A multi-robot planning path for solving the formation-keeping task 1 of the present invention;

[0065] Fig.10b The multi-robot state quantities and control quantities solved for the formation-keeping task 1 of the present invention;

[0066] Fig.10c The relative distance between robots solved for the formation-keeping task 1 of the present invention;

[0067] Fig.11a A multi-robot planning path for solving the formation-keeping task 2 of the present invention;

[0068] Fig.11b The multi-robot state quantities and control quantities solved for the formation-keeping task 2 of the present invention;

[0069] Fig.11c The relative distances between the multiple robots solved for the formation-keeping task 2 of the present invention.

[0070] Figure numerals: A, B, and C in the figures of the specification represent robot A, robot B, and robot C respectively. DETAILED DESCRIPTION

[0071] The technical solution of the present invention will be clearly described below in conjunction with the accompanying drawings. Obviously, the described embodiments are not all embodiments of the present invention, and all other embodiments obtained by ordinary technicians in the field without making creative work are within the protection scope of the present invention.

[0072] like Figure 1 As shown, the present invention provides a multi-robot global motion planning method, comprising the following steps:

[0073] Step S1, establishing a multi-robot motion planning model; comprising the following steps:

[0074] Step S11: Establishing a single robot kinematic model;

[0075] This application selects a differential-drive wheeled robot under non-holonomic constraints as the modeling object. The following assumptions are made: 1) The robot moves along the centerline of the body, and there is no relative slip between the wheels and the ground; 2) The turning radius of the robot is determined only by the ratio of the linear speeds of the wheels on both sides and the wheelbase; 3) The robot movement is regarded as rigid body motion, and its movement is carried out in a plane; 4) Factors that affect the operation of the robot, such as its mass and ground friction resistance, are all negligible.

[0076] The kinematic model of the differential drive wheeled robot is as follows: Figure 2 As shown in the figure, the coordinates of the robot's center position in the global coordinate system are expressed as (x, y), the robot's control variables are the linear velocity v and the angular velocity ω, the angle between the robot's forward positive direction (the direction of the linear velocity v) and the X-axis is the robot's heading angle θ, and the robot's posture can be expressed as a set (x, y, θ).

[0077]

[0078] The physical meaning of this equation is that the instantaneous velocity direction of the mobile robot during movement is always perpendicular to the driving wheel, that is, there is no lateral movement speed. For equation (1-1), it is expressed in the form of Pfaff constraint as follows:

[0079]

[0080] Assume that the full rank matrix S(q)∈R n*(n-m) The following conditions are met:

[0081] S T (q)A T (q)=0 #(1-3)

[0082] According to equations (1-1) and (1-3), there exists a (nm)-dimensional auxiliary vector V(t)∈R (n-m) ,satisfy:

[0083]

[0084] Select S(q) and velocity vector V(t):

[0085]

[0086] Where v is the linear velocity of the robot; ω is the angular velocity of the robot, and t is the original time.

[0087] So the kinematic model of the robot under non-holonomic constraints can be obtained as follows:

[0088]

[0089]

[0090] Step S12: Establishing a kinematic model of a multi-robot system;

[0091] After obtaining the single robot kinematic model, the kinematic equations of the multi-robot system are established. Assuming that there are N robots in the inertial coordinate system, there are the following differential equation constraints:

[0092]

[0093] Where θ i is the heading angle of robot i; v i is the linear velocity of robot i; ω i is the angular velocity of robot i; is the rate of change of the lateral position coordinate of robot i; is the rate of change of the longitudinal position coordinate of robot i; is the rate of change of heading angle of robot i.

[0094] It can be simply understood as: given the posture state of robot i at the initial moment and the control amount in the time domain, the state at that moment can be obtained by integration, which corresponds to the unique driving trajectory of robot i.

[0095] Step S13: Establish a multi-robot task model;

[0096] In the task of this application, the robot's position is represented by (x, y, θ), the starting time is t0, and the ending time is t f , such as (x(t f ),y(t f ),θ(t f )) represents the required posture of the robot's final destination. Here we build two robot task environments:

[0097] (1) Collaborative obstacle avoidance transportation;

[0098] like Figure 3 The figure shows a collaborative transportation scenario, which is mainly used for tasks such as the transportation of goods in logistics parks. In this environment, people generally hope that multiple robots can transport quickly, safely and smoothly, and finally stop at the destination in a certain required posture. There are N robots in the figure, each robot has a starting posture and a terminal posture. There are also various obstacles in the map. The robot needs to avoid the obstacle area and the collaborative intelligent agent to reach the target point and meet the corresponding kinematic constraints.

[0099] Define the state (position) of a single robot as a set (x, y, θ), where x, y, and θ are the horizontal coordinate, vertical coordinate, and heading angle, respectively. Define the obstacle area as a set (x o ,y o , R′ o ), x o ,y o , R′ o They represent the horizontal coordinate of the center of the circular obstacle area, the vertical coordinate of the center of the circular obstacle area, and the radius of the obstacle area. The maps are all 8×8 square finite areas and contain three robots: red for robot A, green for robot B, and yellow for robot C. The maps also contain obstacles of different sizes, which are uniformly described by obstacle areas.

[0100] Consider Figure 4 The map shows the collaborative obstacle avoidance transportation task. The starting point of the robot is a colored dot and the end point is a square dot of the corresponding color. The detailed description of this task is shown in Table 1.

[0101] Table 1 is the description of the collaborative obstacle avoidance transportation task.

[0102] name describe Robot A Mission (1,1,0)→(7,7,0) Robot B Mission (1,4,0)→(7,3,0) Robot C Task (7,1,π)→(1,7,π) Obstacle Area 1 (2,6,0.55) Obstacle Area 2 (6,6,0.35) Obstacle Area 3 (4,4,1) Obstacle Area 4 (2,2,0.65) Obstacle Area 5 (6,6,0.45)

[0103] (2) collaborative formation maintenance;

[0104] like Figure 5The figure shows a formation scenario, which is often used for tasks such as collaborative handling or joint operations. In this environment, the robot group generally maintains a certain required formation, avoids obstacles, and the leading robot finally reaches the target point. There are N robots in the figure, each robot has a starting posture and starts in a formation, and only the leader has a target posture. The robot formation needs to avoid static obstacles while maintaining the formation to reach the target point.

[0105] In order to describe the robot group formation behavior and meet the requirements of pseudo-spectral motion planning, we define Represents the Euclidean distance between two robots at any time. The distance between the two robots is kept within a certain range to maintain the formation. Since the robot group of this application starts with a formation, the formation problem can be described as the following mathematical constraints:

[0106]

[0107] Where Δ is the distance parameter, Δ1 and Δ2 are parameters used to limit the time range of the path constraint; Δ1 represents The lower bound deviation of the path constraint function near the initial time t0. The value around time t0 must not be less than The parameter Δ1 can be regarded as the minimum allowable deviation value of the path constraint function near the initial time; Δ2 represents The upper bound deviation of the path constraint function near the initial time t0. The value around time t0 shall not be higher than Δ2 can be regarded as the maximum allowable deviation value of the path constraint function near the initial time; is the initial Euclidean distance between robot i and robot j at t=0, and i≠j.

[0108] Step S2, setting multi-robot motion planning optimization goals;

[0109] Step S21: Establish a multi-robot obstacle avoidance constraint model, including avoiding static obstacle constraints and avoiding collaborative robot constraints.

[0110] (1) Avoid static obstacle constraints;

[0111] The robot moves in the entire time domain [t0,t f ] Collisions should be avoided, and constraints for collision avoidance need to be established. When the robot moves at a low speed in a small range and high-risk scenario, the robot outline needs to be described in detail, and generally an appropriate margin is left outside the robot outline to meet the requirements for accurate obstacle avoidance. Figure 6As shown in the figure, for the standard contour of the robot, it can be approximately described as a circle with its geometric midpoint as the center, and the radius R is defined as the minimum collision radius of the robot. The minimum circumscribed circle area of ​​the obstacle is uniformly described as the obstacle area of ​​radius R′. Then the constraint of obstacle avoidance is:

[0112] (xx o ) 2 +(yy o ) 2 ≥(R+R′ o ) #(2-1)

[0113] Where (x, y) is the center coordinate of the current robot; (x o ,y o ) are the coordinates of the obstacle center.

[0114] (2) Avoid the constraints of collaborative robots;

[0115] A single circle is used to describe the collision range between robots and collaborative robots. This application considers homogeneous agents, such as Figure 7 As shown, all robots have the same performance. Define the collision radius between the robot and the collaborative robot as R*. The minimum collision radius can be obtained by analogy with formula (2-1) to obtain the constraints of the two robots avoiding the collaborative robot:

[0116] 'x i -x j ) 2 +(y i -y j ) 2 ≥(2*R * ) #(2-2)

[0117] Where (x i ,y i ) is the center coordinate of robot i; (x j ,y j ) is the center coordinate of another collaborative robot j.

[0118] Step S22, setting the multi-robot motion planning optimization objective function;

[0119] Usually multi-robot motion planning has the following objective function:

[0120] J1=t f #(2-3)

[0121] It is reasonable to directly apply this objective function to the collaborative obstacle avoidance transportation and collaborative formation maintenance tasks of this application, but it will form a short board effect in a multi-agent environment. Specifically, in the collaborative obstacle avoidance transportation task, the robot with low task difficulty will wait for the robot with high task difficulty and finally complete the task at the same time, which is unreasonable. For the collaborative obstacle avoidance transportation task, in order to solve the short board effect, the robot is guided in the objective function. The modified objective function is as follows:

[0122]

[0123] Where α is the weight parameter; X i (t) is the state quantity of robot i at time t (x i (t),y i (t),θi(t));X i (t f ) is the target state of machine i.

[0124] In the formation task, the formation maintenance becomes very important and should be guided to ensure that the robot group has a tendency to return to the initial formation. For this purpose, the objective function is modified as follows for the formation maintenance task:

[0125]

[0126] Where β is the weight parameter; ω i is the angular velocity control value of robot i.

[0127] Step S3, using the Gaussian pseudospectral method to solve the optimization problem of multi-robot motion planning; discretizing the motion planning model based on the Gaussian pseudospectral method, and converting the optimal control problem into a nonlinear programming problem.

[0128] Step S31, establishing a single robot optimal motion planning model;

[0129] Optimal motion planning can be described as an optimal control problem. The optimal control problem suitable for describing the motion planning of wheeled robots belongs to the continuous Bolza problem, which has the following characteristics: 1) The continuous Bolza problem is a time optimal control problem, which aims to find an optimal trajectory that makes the motion system satisfy the constraints and meet certain performance indicators; 2) The motion state and control signal are continuous in the entire time interval, that is, there is no discrete time step; 3) It usually contains an initial state and a terminal state, and the motion system must satisfy the constraints between these two states.

[0130] Solve the continuous Bolza optimal control problem, that is, find the control variable u(t) and determine the termination time t f, so that the performance indicator functional J takes the minimum value along the corresponding state variable x(t), and J represents the general form of the objective function:

[0131]

[0132] Where x(t) is the state variable of the system; u(t) is the control variable of the system.

[0133] The factors that constrain the state variable x(t) include:

[0134] 1) System motion equation constraints:

[0135]

[0136] 2) System state boundary constraints:

[0137] x min ≤x(t)≤x max #(3-3)

[0138] 3) System control boundary constraints:

[0139] u min ≤u(t)≤u max #(3-4)

[0140] 4) Boundary value constraints:

[0141] φ(t0,t f ,x(t0),x(t f ),u(t0),u(t f ))=0 #(3-5)

[0142] 5) Path constraints:

[0143] C=(x(t),u(t),t)≤0,t∈[t0,t f ] #(3-6)

[0144] Step S32, establishing a multi-robot optimal motion planning model;

[0145] The multi-robot planning problem is defined as a set<G,N,S,A> , G = (V, E) is an undirected graph, where the node v∈V is the position occupied by the robot, and the edge e = (v i ,v j )∈E means the robot can i and v j N is the number of robots, and S is the set of initial positions of the robots. Each agent has a starting position s n ∈S, A is the set of target posture states, each robot has a target posture an ∈A, or the robot group has a collaborative goal a∈A. In the multi-robot planning problem, the time domain is discretized into time steps dt. In each dt, each robot can perform a control to reach a new position. The result of the motion planning solution of a robot is the set of control curves π=a t0 ,a t1 ···a tf , N robots are the set of N control curves ξ={π1,π2,···π N}. Mathematical description of multi-robot motion planning:

[0146]

[0147] Where i is the robot code, i = 1, 2, ... N; c i is the path constraint of robot i; m i is the coordination constraint between robot i and robot j, j = 1, 2, … N and j ≠ i; e i are the initial and final state constraints of robot i.

[0148] The motion equations of the robots in this model are described independently and can be applied to heterogeneous robots. The system has a common optimization goal, so it can only be applied to pure cooperative scenarios. This mathematical model is suitable for static collaborative motion planning scenarios, contains various constraints in robot planning, and is universal for robot system motion planning.

[0149] Step S33, discretizing the motion planning model based on Gaussian pseudo-spectral method;

[0150] The Gaussian pseudospectral method improves the traditional pseudospectral method with higher accuracy, faster calculation speed and numerical stability. Studies have shown that for an optimal control problem with integral or differential dynamics, the equation or inequality conditions of nonlinear programming are completely equivalent to the discrete form of the first-order optimality conditions of the Hamiltonian boundary value problem. Therefore, the optimal control problem is transformed into a nonlinear programming problem, and the solution is obtained by solving this nonlinear programming problem. The Gaussian pseudospectral method can also handle general optimal control problems, including nonlinear, nonconvex, multi-objective and other problems, and has strong scalability.

[0151] In the discretization process, it is crucial to choose a suitable interpolation formula to approximate the unknown variables. The choice of interpolation formula can have a great impact on the accuracy of the discretization result. Generally speaking, the more data the constructed interpolation formula satisfies the measurement, the better the interpolation effect. However, using an interpolation formula of arbitrary order will cause the interpolation polynomial to swing, affecting the accuracy of the interpolation, which is the so-called Runge phenomenon. In order to solve this problem, the roots of the orthogonal polynomials can be used as nodes, and the Lagrange interpolation polynomials can be used to approximate the original equation, thereby satisfying the derivative relationship and the discrete differential equation. The pseudospectral method is to study how to approximate the derivative value of a function at a certain point based on the overall properties, and approximate the function with the sum of a series of basis functions:

[0152]

[0153] Where g(x) is the original function; Ψ k (x) is the basis function; ρ(x) is the weight function. k (x) is generally a polynomial, and there are many options, such as Lagrange polynomials and Legendre polynomials. The discrete points used by the pseudospectral method are the zeros of the orthogonal polynomials to reduce the Runge phenomenon in the interpolation process. Suppose polynomial functions f(x) and g(x), weight function ρ(x), interval [a, b], if the polynomials f(x) and g(x) are orthogonal with weight ρ(x) on the interval [a, b], then they satisfy:

[0154]

[0155] The interpolation point of the Gaussian pseudospectral method is the Legendre-Gauss (LG) point. If the interval [a, b] = [-1, 1] in equation (3-9), the weight function ρ(x)≡1, then the orthogonal polynomials f(x) and g(x) belong to Legendre polynomials. The Legendre polynomial Ln(x) satisfies the following relationship:

[0156]

[0157] The Legendre-Gauss point satisfies the following conditions: The interpolation node x is an orthogonal polynomial L n The root of (x), the weight coefficient ρ(x) satisfies:

[0158]

[0159] The domain defined by the Legendre-Gauss point is the interval [-1,1], and the time domain t∈[t0,t f ] is converted to the interval of τ∈[-1,1], the formula is as follows:

[0160]

[0161] Where t is the original time, t0 is the starting time, t f is the termination time; τ is the time after conversion.

[0162] The Gaussian pseudospectral method needs to convert the performance indicators of the optimal control problem and various constraint equations and inequalities into discrete interpolation forms. The Gaussian pseudospectral method selects N Legendre-Gaussian points and an initial interpolation point as interpolation nodes, and constructs N+1 Lagrange polynomial basis functions between [-1,1]. The pseudospectral method belongs to the configuration method in numerical optimization, which requires the state variables and discrete variables to be discretized at the same time. The discretized form is:

[0163]

[0164]

[0165] The Lagrange polynomial L i (τ) is:

[0166]

[0167] Derivative of formula (3-13) yields:

[0168]

[0169] Where k is the number of interpolation nodes; D ki is the differential matrix, D ki ∈R k*(k+1) .

[0170] At the matching point τ k superior, It can be obtained by the differential matrix D ki Get, k needs to be given in advance, then D ki is a constant and satisfies the following formula:

[0171]

[0172] Among them, τ k ∈{τ1,τ2,···τ N}, so the system dynamic equation (3-13) can be described as an algebraic equation with parameter N. Combined with equation (3-2), we can get the following equation:

[0173]

[0174] The path constraint of formula (3-6) can be described at discrete points as:

[0175] C=(X(τ k ),U(τ k ))≤0 #(3-19)

[0176] When the problem is constructed to take into account terminal constraints, that is, t f The terminal state satisfies the system dynamic equation, and after time domain transformation, it is:

[0177]

[0178] Approximating the integral term with Gaussian integral, we get:

[0179]

[0180] Where ω k is the Gaussian integral weight, In this way, the discrete form of the boundary constraint is completed. Similarly, the performance index can be discretized as follows:

[0181]

[0182] After the above process, the discrete objective function (3-22), the discrete system dynamic equation (3-16), the discrete path constraint (3-19) and the final state constraint (3-21) are combined into a motion planning problem, which is also described in the form of nonlinear programming.

[0183] Step S4, solving the optimal control problem of multi-machine motion planning; obtaining the optimal global motion planning path by solving the nonlinear planning problem.

[0184] Step S5: Simulation experiment verification: Perform simulation to verify the effectiveness and performance of the path planning method.

[0185] Comparison of collaborative obstacle avoidance transportation simulation results:

[0186] Formula J1 is used as the objective function. The goal is to make the entire operation process of the multi-agent system as short as possible. The simulation results are shown in Figure 8a , 8b . Figure 8a It can be seen from the figure that even though the robot group has completed the target task, the path quality is poor. Robot C is closest to the end path, but it does not reach the target point first. Figure 8b It can be seen from the control amount that the control of the three robots is ended at the same time, which confirms the existence of the short board effect.

[0187] Use equation J2 as the objective function, set parameter α to α = 1, and the solution is shown in Figure 9a , 9b , Figure 9a It can be seen from the figure that the path quality has been significantly improved after changing the objective function, and from Figure 9bIt can be seen that the linear velocity of robot C becomes 0 in about 25 seconds, which proves that robot C reaches and stops at the target point first, proving the effectiveness of the objective function proposed in this application. Compared with the unimproved results, the planning time is reduced by about 27.3% and the path length is reduced by about 14%.

[0188] Collaborative formation keeps comparing simulation results:

[0189] In the formation keeping task, the obstacle avoidance ability of the robot group in changing formation is mainly verified. At the same time, since the research topic of this application is motion planning, the planning ability of the robot group also needs to be considered. For this purpose, two map tasks are designed to test the two abilities respectively:

[0190] (1) Formation maintenance task 1

[0191] Using J3 as the objective function, the parameter β is set to β = 10, and the simulation results are shown in Fig.10a , 10b , 10c. Fig.10a It can be observed that the formation robots passed through the narrow gap by tilting the formation and Fig.10c It can be seen that when the robot formation passes through the obstacle area, the distance between the robots changes due to the obstacle avoidance constraint, but after passing the obstacle area, the original formation is gradually maintained, which proves the effectiveness of the improved objective function.

[0192] (2) Formation maintenance task 2

[0193] Use J3 as the objective function, set the parameter β to β = 1, and see the attached simulation results. Fig.11a , 11b , 11c. It can be observed that the formation robots avoided the obstacle area, reached the target point, and Fig.11b It can be seen from the angular velocity control amount curve that by considering angular velocity optimization in the objective function, the output control amount is smoother, thus obtaining a high-quality path.

[0194] This application proposes collision avoidance constraints and cooperation constraints between robots for two different target tasks, proposes corresponding optimization objective functions, solves the shortcomings in multi-robot transportation tasks, and optimizes the motion trajectory of robots in formation maintenance tasks. The Gaussian pseudo-spectral method is used to solve the optimization problem. For transportation tasks, after solving the shortcomings of traditional transportation tasks, the planning time is reduced by about 27.3% and the path length is reduced by about 14%. For formation maintenance tasks, the formation maintenance degree and the robot angular velocity optimization are considered to make the robot's motion path smoother.

[0195] The above technical features constitute the best embodiment of the present invention, which has strong adaptability and best implementation effect. Non-essential technical features can be added or reduced according to actual needs to meet the needs of different situations.

[0196] Finally, it should be noted that the above content is only used to illustrate the technical solution of the present invention, rather than to limit the scope of protection of the present invention. Simple modifications or equivalent substitutions of the technical solution of the present invention by ordinary technicians in this field do not deviate from the essence and scope of the technical solution of the present invention.

Claims

1. A multi-robot global motion planning method, It is characterized in that The steps include: Step S1, establishing a multi-robot motion planning model; Step S2, setting multi-robot motion planning optimization goals; Step S3, using Gaussian pseudospectral method to solve the optimization problem of multi-robot motion planning; Step S4, solving the optimal global motion planning path for multi-robot motion planning.

2. The multi-robot global motion planning method according to claim 1, It is characterized in that Step S1 includes: establishing a kinematic model of a multi-robot system, and establishing a task model of multi-robot collaborative obstacle avoidance transportation and multi-robot collaborative formation maintenance.

3. The multi-robot global motion planning method according to claim 2, It is characterized in that In step S1, establishing a kinematic model of a multi-robot system includes the following steps: Step S11: First, establish a single robot kinematic model; Step S12: Based on the single robot kinematic model, a multi-robot system kinematic model is established: Where i is the robot code, i = 1, 2, ... N; where θ i is the heading angle of robot i; v i is the linear velocity of robot i; ω i is the angular velocity of robot i; is the rate of change of the lateral position coordinate of robot i; is the rate of change of the longitudinal position coordinate of robot i; is the rate of change of heading angle of robot i.

4. The multi-robot global motion planning method according to claim 3, It is characterized in that In step S1, based on the kinematic model of the multi-robot system, a multi-robot collaborative obstacle avoidance transportation task model and a multi-robot collaborative formation maintenance task model are established. The robot's position is represented by (x, y, θ), t is the original time, and the start time is t 0 , the end time is t f , (x(t f ),y(t f ),θ(t f )) represents the required posture of the robot’s endpoint, and the task model of multi-robot collaborative formation is: Where j is the robot j code, j = 1, 2, ... N; represents the Euclidean distance between two robots at any time; is the initial Euclidean distance between robot i and robot j at t = 0, and i ≠ j; Δ 1 express The function at the initial time t 0 The lower bound deviation near Δ 2 express The function at the initial time t 0 The upper bound deviation near .

5. The multi-robot global motion planning method according to claim 4, It is characterized in that Step S2 includes the following steps: Step S21, establishing a multi-robot obstacle avoidance constraint model, including a multi-robot avoidance static obstacle constraint model and a multi-robot avoidance collaborative robot constraint model; Step S22: setting a multi-robot motion planning optimization objective function, including a multi-robot motion planning optimization objective function for a collaborative obstacle avoidance transport task environment and a collaborative formation maintenance task environment.

6. The multi-robot global motion planning method according to claim 5, It is characterized in that In step S22, the multi-robot motion planning optimization objective function of the collaborative obstacle avoidance transportation task environment is: Where α is the weight parameter; X i (t) is the state quantity of robot i at time t (x i (t),y i (t),θ i (t));X i (t f ) is the target state of machine i.

7. The multi-robot global motion planning method according to claim 5, It is characterized in that In step S22, the multi-robot motion planning optimization objective function of the collaborative formation maintaining the task environment is: Where β is the weight parameter; ω i is the angular velocity control value of robot i.

8. The multi-robot global motion planning method according to claim 3, It is characterized in that Step S3 specifically discretizes the motion planning model based on the Gaussian pseudospectral method and transforms the optimal control problem into a nonlinear programming problem, including the following steps: Step S31: First, establish a single robot optimal motion planning model; that is, solve the continuous Bolza optimal control problem, that is, find the control variable u(t) and determine the termination time t f , so that the performance indicator functional J takes the minimum value along the corresponding state variable x(t): Where x(t) is the state variable of the system; u(t) is the control variable of the system; The factors that constrain the state variable x(t) include: 1) System motion equation constraints: 2) System state boundary constraints: x min ≤x(t)≤x max 3) System control boundary constraints: u min ≤u(t)≤u max 4) Boundary value constraints: φ(t 0 ,t f ,x(t 0 ),x(t f ),u(t 0 ),u(t f ))=0 5) Path constraints: C=(x(t),u(t),t)≤0,t∈[t 0 ,t f ] Step S32: Based on the single robot optimal motion planning model, a multi-robot optimal motion planning model is established as follows: Where i is the robot code, i = 1, 2, ... N; c i is the path constraint of robot i; m i is the coordination constraint between robot i and robot j, j = 1, 2, … N and j ≠ i; e i are the initial and final state constraints of robot i; Step S33, discretize the optimal motion planning model based on the Gaussian pseudospectral method; specifically, use the roots of the orthogonal polynomials as nodes, and use Lagrange interpolation polynomials to approximate the original equation, and finally obtain the discrete objective function, discrete system dynamic equation, discrete path constraints and final state constraints to combine into the optimal motion planning discrete model.

9. An electronic device, It is characterized in that include: at least one processor; as well as, A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor so that the at least one processor can execute the multi-robot global motion planning method as described in any one of claims 1 to 8.

10. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the multi-robot global motion planning method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Order distribution method and device suitable for distribution robot with different sizes of bins and medium

    CN119417201A

  • Order splitting method, device and medium suitable for delivery robots with bins of different sizes

    CN119417201B

  • Aircraft cluster game confrontation online optimization decision-making method based on pseudo-common method

    CN119576004A