Distributed model predictive control method for gait synchronization and formation of quadruped robot swarm

Through distributed model predictive control and gait synchronization algorithms, the gait synchronization and formation control problems of quadruped robot clusters in complex environments are solved, stable dynamic motion and trajectory optimization are achieved, and autonomy and perception capabilities are improved.

CN116339361BActive Publication Date: 2024-09-06HUAZHONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310090290.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-09
Publication Date
2024-09-06
Estimated Expiration
2043-02-09

AI Technical Summary

Technical Problem

In the existing technology, the isolated operation of a single quadruped robot limits its autonomy, perception and decision-making capabilities. The gait mode of the quadruped robot in the swarm robot system has not been fully considered, and the quadruped robot dynamics model is too complex and lacks Cluster formation control algorithm based on distributed model predictive control.

Method used

A distributed model predictive control system for gait synchronization and formation of quadruped robot clusters is proposed, including a map and positioning module, a communication network, a distributed MPC formation module, a distributed gait synchronization module and a distributed motion control module, using differential power Learning model and gait parameterization method, through distributed MPC and gait synchronization algorithm, realize trajectory planning and gait synchronization of robot clusters.

Benefits of technology

It achieves stable dynamic movement and gait synchronization of quadruped robot clusters in complex environments, avoids collisions, optimizes formation trajectories, improves autonomy and perception capabilities, and fills the gap in gait synchronization technology for quadruped robot clusters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116339361B
    Figure CN116339361B
Patent Text Reader

Abstract

The present invention belongs to the field of robot technology, and discloses a distributed model prediction control system and method for gait synchronization and formation of a cluster of quadruped robots, including: a map and positioning module, which is used to provide odometer and obstacle information for a distributed gait synchronization module; a communication network, which is used to exchange trajectory and gait phase information; a distributed MPC formation module, which is used to adjust all robots to the desired position, avoid collision and achieve the optimal trajectory of the desired formation; a distributed gait synchronization module, which is used to synchronize the gaits of each robot in a distributed manner; a distributed motion control module, including a swing leg controller and a standing leg controller, which are used to control the quadruped robot to achieve the desired trajectory and gait, and output the torque of the leg motor. The present invention proposes a gait dynamics model of a quadruped robot for the first time, adjusts all robots to the desired position in a certain formation, synchronizes the gaits of all robots, and can move dynamically and stably without losing balance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of robotics technology, and in particular relates to a distributed model predictive control algorithm and system for gait synchronization and formation of a quadruped robot cluster. Background Art

[0002] The advanced mobility of quadruped robots has driven many quadruped robot development efforts, such as ANYmal, HyQ, MIT Cheetah series developed by academic researchers, and Boston Dynamics Spot and Unitree A1 developed by commercial robotics companies. Recently, more and more research efforts are aimed at the motion control of single robots to achieve highly dynamic and stable quadrupedal motion in complex and unstructured terrains. However, the isolated operation of a single robot limits autonomy, perception, and decision-making. In contrast, the cooperation of multiple robots can improve the applicability of complex tasks such as search and rescue and industrial inspection. For example, multiple quadruped robots can autonomously explore underground environments that are inhospitable to humans.

[0003] Inspired by the collective behaviors of social animals such as ants, bees, birds, and fish, researchers are interested in developing aerial, underwater, and ground swarm robotic systems to achieve capabilities similar to their animal counterparts. Compared with wheeled or tracked vehicles, legged robots are able to traverse complex and unstructured terrains with dynamic and agile mobility. However, in the swarm robotics community, little attention has been paid to legged robots. In fact, swarms of quadruped robots have shown extraordinary performance in practical applications, such as exploring underground environments. However, for swarm robotic systems, the unique movement patterns (i.e., gaits) of legged robots are rarely considered. By synchronizing their gaits, swarms of quadruped robots are expected to better accomplish certain specific tasks, such as coordinated load handling.

[0004] There is a large body of work on multi-robot formation control in environments with obstacles. An important challenge in this problem is that there are always physical or task constraints, such as restrictions on control inputs, avoiding collisions, etc. In control theory, there are many strategies to deal with constraints, but in particular, Model Predictive Control (MPC) is one of the most attractive methods because it is able to directly solve constraints while having optimality. Compared with centralized MPC, distributed MPC is expected to be more scalable in structure and have lower communication costs. However, there is no existing research technology based on distributed MPC for quadruped robot cluster formation control algorithm. A major application difficulty is that the quadruped robot dynamics model is too complex.

[0005] Through the above analysis, the problems and defects of the prior art are as follows:

[0006] (1) The isolated operation of a single robot limits the model’s autonomy, perception, and decision-making;

[0007] (2) For swarm robot systems, the unique motion patterns (i.e., gaits) of legged robots are rarely considered;

[0008] (3) The dynamic model of quadruped robots is too complex, and existing research technologies have not yet developed a quadruped robot cluster formation control algorithm based on distributed MPC. Summary of the invention

[0009] In view of the problems existing in the prior art, the present invention provides a distributed model predictive control algorithm and system for gait synchronization and formation of a quadruped robot cluster.

[0010] The present invention is implemented as follows: a distributed model predictive control system for gait synchronization and formation of a cluster of quadruped robots, the distributed model predictive control system for gait synchronization and formation of a cluster of quadruped robots comprises:

[0011] Map and positioning module, used to provide odometer and obstacle information for the distributed gait synchronization module;

[0012] a communication network for exchanging trajectory and gait phase information;

[0013] Distributed MPC formation module, used to adjust all robots to the desired position in a certain formation, avoid collisions and achieve the optimal trajectory of the desired formation;

[0014] Distributed gait synchronization module, used to synchronize the gaits of various robots in a distributed manner;

[0015] Distributed motion control module, used to control the quadruped robot to achieve the desired trajectory and gait.

[0016] Furthermore, the distributed MPC formation module adopts a differential dynamics model, and the formula of the differential dynamics model is:

[0017] s i (k+1)=s i (k)+υ i (k)

[0018] in, is the state of the i-th robot in the quadruped robot cluster, x i ,y i , γ i Represents the x, y position coordinates and heading angle of the robot in the two-dimensional map.

[0019]

[0020] is the control input of the dynamic model,

[0021] υ x,i , y,i , γ,i

[0022] Corresponding

[0023] x i ,y i , γ i

[0024] The expected speed;

[0025] The differential dynamics model is optimized to obtain the optimal trajectory of the formation. The optimal solution of the optimization problem is used as the initial iteration point of the original non-convex programming problem. The interior point method is used to obtain a high-quality local optimal value. The optimization process for the i-th robot at time k is:

[0026] The optimization goal is:

[0027]

[0028] In the formula, k+l|k represents the predicted value of the corresponding physical quantity at time k+l, ρ i , α i , β i is a non-negative parameter, represents the set of neighbor robots of the ith robot in the communication topology (undirected graph), is the expected position of the ith robot, is the relative state of robot i and robot j. All quantities of the optimization problem are obtained through the quadruped robot sensors, map and positioning module or wireless communication network.

[0029] The initial state is:

[0030] s i (k|k)=s i (k)

[0031] The kinetic model is:

[0032] s i (k+1+l|k)=s i (k+l|k)+υ i (k+l|k)

[0033] One type of inequality constraint is:

[0034]

[0035] Used to avoid collisions between quadruped robots;

[0036] Another type of inequality constraints is:

[0037]

[0038] Used for environmental obstacle avoidance;

[0039] in, represents the position of the ith robot, o in the set In the equation, R and D are predefined constants representing the collision safety margin.

[0040] Furthermore, the distributed gait synchronization module synchronizes the gaits of the robots in a distributed manner based on a gait parameterization method for quadruped robots. The specific process of the gait parameterization method for quadruped robots is as follows:

[0041] The state of any leg of the robot at any time is determined according to the gait frequency, nominal phase, phase offset, and phase margin, thereby determining the gait of the entire robot; synchronizing the nominal phase, and taking the offset of the nominal gait frequency as the input of the control system; defining an internal clock, and the robot transmits the internal clock to other robots through the wireless communication; and using a controller to achieve gait synchronization.

[0042] Further, the gait frequency is used to express the speed of the gait cycle, which is equivalent to the inverse of the gait cycle time. It is well known that when the gait frequency is higher, the movement will be faster and more dynamic. However, for low-speed movement, a higher gait frequency may reduce energy efficiency. This is caused by frequent but unnecessary leg swings;

[0043] The nominal phase φ(t) is a periodic function defined as follows:

[0044] φ(t)=(f0t)mod(1)

[0045] Where f0 is the nominal gait frequency;

[0046] The phase offset All legs of a single robot share the same nominal phase, but to capture different gaits, they have different offsets, defined as follows.

[0047]

[0048] In the formula, φ l This is the phase of the first leg.

[0049] The phase margin φ threshold Used to define the leg phase switching, when , the legs are in a swinging state, otherwise, the legs are in contact with the ground.

[0050] The dynamic model of the gait synchronization system is:

[0051] φ i =(φ i (0)+(f0+f i )t)mod(1)

[0052] In the formula, φ i is the nominal phase, and the subscript represents the i-th robot in the robot cluster;

[0053] The internal clock is:

[0054] θ i =φ i (0)+(f0+f i )t

[0055] The controller is:

[0056]

[0057] In the formula, a ij =a ji , represents an arbitrary positive parameter. According to the gait model and controller described above, it is proved that the overall control system has convergence.

[0058] Further, the distributed motion control module includes a swing leg controller and a standing leg controller, which are used to output the torque of the leg motor;

[0059] The swing leg controller first calculates the desired trajectory of the foot end of the swing leg in the air based on the desired trajectory; then, inverse kinematics is used to calculate the required motor position; finally, a simple proportional differential (PD) controller is used to track the motor position to obtain the motor torque τ i for:

[0060]

[0061] Where, the subscript i represents the i-th motor, θ d,i is the desired motor position, θ i and are the current motor position and speed, k p,i and k d,i is the PD parameter;

[0062] The simplified dynamic model of the quadruped robot in the standing leg controller is as follows:

[0063] x i+1 =A i x i +B i u i

[0064]

[0065]

[0066]

[0067] In the formula, is the body's direction angle, is the position coordinate in the global coordinate system, is the angular velocity of the body, is the body linear velocity; A i , B i are the system and control matrices respectively.

[0068] The stance leg controller calculates the optimal ground reaction force for the stance leg using the Jacobian matrix J of the leg. i Get the motor torque:

[0069]

[0070] In the formula, The optimal ground reaction force to be calculated is calculated by solving the following quadratic optimization problem:

[0071]

[0072] x i+1 =A i x i +B i u i

[0073]

[0074]

[0075] Where n is the prediction time domain, y i+1 is the state on the desired trajectory, L i and K i are weighted parameter matrices, c i , and C i are the friction constraint lower bound, upper bound and coefficient matrix.

[0076] Another object of the present invention is to provide a quadruped robot cluster gait synchronization and formation distributed model predictive control method for implementing the quadruped robot cluster gait synchronization and formation distributed model predictive control system, the quadruped robot cluster gait synchronization and formation distributed model predictive control method comprising:

[0077] Step 1: Adjust all robots to the desired position in a certain formation. At the same time, ensure that all robots avoid collisions and obstacles based on odometer and obstacle information, and output the desired trajectory of the robots;

[0078] Step 2: Distributedly synchronize the gaits of each robot and output the robot's leg status;

[0079] Step three, based on the desired trajectory and leg states of the robot, the desired motor torque commands are calculated to stabilize the dynamic motion and achieve the desired gait.

[0080] Another object of the present invention is to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the quadruped robot cluster gait synchronization and formation distributed model predictive control method.

[0081] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to execute the steps of the quadruped robot cluster gait synchronization and formation distributed model predictive control method.

[0082] Another object of the present invention is to provide an information data processing terminal, which is used to implement the quadruped robot cluster gait synchronization and formation distributed model predictive control system.

[0083] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:

[0084] First, in view of the technical problems existing in the above-mentioned prior art and the difficulty of solving the problems, the technical solutions to be protected by the present invention and the results and data during the research and development process are closely combined to analyze in detail and deeply how the technical solutions of the present invention solve the technical problems, and some creative technical effects brought about after solving the problems. The specific description is as follows:

[0085] (1) The present invention proposes a gait dynamics model of a quadruped robot, which can generate a periodic gait that is easy to control stability on a real robot. Then, a consistency-based quadruped robot cluster gait synchronization control method is proposed. The controller can ensure the convergence of the distributed gait synchronization control system.

[0086] (2) The present invention implements distributed MPC by decomposing formation control and motion control to obtain the optimal trajectory of each robot.

[0087] (3) The present invention proposes a motion control method based on MPC, which realizes the calculated desired gait and tracks the optimal trajectory at the same time.

[0088] Second, considering the technical solution as a whole or from the perspective of the product, the technical effects and advantages of the technical solution to be protected by the present invention are described in detail as follows:

[0089] The present invention aims to realize the motion control of a cluster of quadruped robots in a distributed manner and proposes a gait dynamics model of quadruped robots for the first time. All robots are adjusted to their desired positions in a certain formation and can avoid collisions. The gaits of all robots are synchronized and they can move stably and dynamically without losing balance.

[0090] Third, as auxiliary evidence of the inventiveness of the claims of the present invention, it is also reflected in the following important aspects:

[0091] (1) The expected benefits and commercial value of the technical solution of the present invention after transformation are:

[0092] The present invention belongs to the field of robotics technology, realizes the motion control of a cluster of quadruped robots in a distributed manner, and proposes a motion control method based on MPC, which can realize the calculated desired gait and track the optimal trajectory at the same time, and has great commercial value.

[0093] (2) The technical solution of the present invention fills the technical gap in the industry at home and abroad:

[0094] The dynamic model of quadruped robots is too complex, and there is currently no research or technology for the gait synchronization of quadruped robot clusters. This invention proposes a gait dynamic model of quadruped robots for the first time, which can generate a periodic gait that is easy to control stability on a real robot, filling the technical gap for the gait synchronization of quadruped robot clusters.

[0095] (3) Whether the technical solution of the present invention solves the technical problems that people have been eager to solve but have not been able to solve successfully:

[0096] The present invention proposes a gait dynamics model of a quadruped robot for the first time, which can generate a periodic gait that is easy to control stability on a real robot. Then, the present invention proposes a gait synchronization control method for a cluster of quadruped robots based on consistency, and the controller can ensure the convergence of the distributed gait synchronization control system.

[0097] (4) Whether the technical solution of the present invention overcomes technical prejudice:

[0098] Existing related methods often use centralized MPC when it comes to Model Predictive Control (MPC), however, distributed MPC is expected to be more scalable in structure and have lower communication cost. The present invention implements distributed MPC to obtain the optimal trajectory of each robot. BRIEF DESCRIPTION OF THE DRAWINGS

[0099] Figure 1 It is a framework diagram of a distributed model predictive control system for gait synchronization and formation of a quadruped robot cluster provided by an embodiment of the present invention.

[0100] Figure 2 middle:

[0101] (a) Figure: Quadruped robot cluster side-by-side formation test. The three quadruped robots start in a messy position and finally stabilize and control to form a side-by-side formation, and their gaits are synchronized.

[0102] (b) Figure: Quadruped robot cluster linear formation experiment. The three quadruped robots started in a messy position and finally stabilized and controlled to form a linear formation, and their gaits were synchronized.

[0103] (c) Triangle formation experiment of quadruped robot cluster. The three quadruped robots start in a chaotic position and finally stabilize and control to form a triangle formation with synchronized gaits.

[0104] (d) Triangle formation test of quadruped robot cluster with obstacles. The three quadruped robots start in a messy position and finally stabilize and control to form a triangle formation. During the process, the robot cluster autonomously avoids obstacles and synchronizes their gaits. DETAILED DESCRIPTION

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

[0106] 1. Explanatory Examples In order to enable those skilled in the art to fully understand how to implement the present invention, this section provides an illustrative example that expands and describes the technical solution of the claims.

[0107] like Figure 1 As shown, the distributed model predictive control system for gait synchronization and formation of a quadruped robot cluster provided by the embodiment of the present invention specifically includes:

[0108] Map and positioning module, used to provide odometer and obstacle information for the distributed gait synchronization module;

[0109] a communication network for exchanging trajectory and gait phase information;

[0110] Distributed MPC formation module, used to adjust all robots to the desired position in a certain formation, avoid collisions and achieve the optimal trajectory of the desired formation;

[0111] Distributed gait synchronization module, used to synchronize the gaits of various robots in a distributed manner;

[0112] Distributed motion control module, used to control the quadruped robot to achieve the desired trajectory and gait.

[0113] The distributed model predictive control algorithm for gait synchronization and formation of quadruped robot clusters provided in the embodiment of the present invention specifically includes the following steps:

[0114] 1. Adjust all robots to the desired position in a certain formation. At the same time, ensure that all robots avoid collisions and obstacles based on odometer and obstacle information, and output the desired trajectory of the robots;

[0115] 2. Distributed synchronization of the gaits of each robot and output of the robot’s leg states;

[0116] 3. Based on the desired trajectory and leg states of the robot, calculate the desired motor torque commands to stabilize the dynamic motion and achieve the desired gait.

[0117] The core of the desired trajectory of the output robot provided by the embodiment of the present invention is the following differential dynamics model:

[0118] s i (k+1)=s i (k)+v i (k), (1)

[0119] in, is the state of the i-th robot in the quadruped robot cluster, x i ,y i , γ i Represents the x, y position coordinates and heading angle of the robot in the two-dimensional map. is the control input of the dynamic model, corresponding to x i ,y i , γ i The expected speed of the i-th robot at time k is to list and solve the following optimization problem:

[0120]

[0121] sts i (k|k)=s i (k) (3)

[0122] si (k+1+l|k)=s i (k+l|k)+v i (k+l|k), (4)

[0123]

[0124]

[0125]

[0126]

[0127] Among them, the symbol (k+l|k) represents the predicted value of the corresponding physical quantity at time k+l, ρ i , α i , β i is a non-negative parameter, represents the set of neighbor robots of the ith robot in the communication topology (undirected graph), is the expected position of the ith robot, is the relative state of robot i and robot j, represents the position of the ith robot, is the position of the oth robot, o is in the set O, R and D are both pre-defined constants representing the collision safety margin.

[0128] Solving this optimization problem, we can obtain the optimal trajectory that avoids collisions and achieves the desired formation, as explained below. Equation (2) is the optimization objective, which penalizes the energy cost and the difference between the predicted state and the desired state in the formation; equation (3) specifies the initial state; 4) represents the dynamic model, which is equivalent to (1); inequality constraint (5) is used to avoid collisions between quadruped robots, while (6) is used for environmental obstacle avoidance. The equation set in (7) is Speed ​​limits are given to prevent unstable gait.

[0129] All the quantities in the above optimization problems can be obtained through the quadruped robot sensors, map and positioning modules or wireless communication networks. Figure 1As shown, it is assumed that the robot is equipped with a map and localization module, which can provide odometer and obstacle information to the distributed gait synchronization submodule. In addition, the controller also requires a wireless broadcast network through which the robots can exchange their trajectory and gait phase information. The above optimization problem is nonlinear and non-convex, and it is difficult to obtain a global optimal solution. Instead, we use the interior point method to quickly obtain the local optimal value. A good initial guess can obtain high-quality local optimal values ​​and increase the solution frequency. We remove constraints (5) and (6) and solve its subproblem. Compared with the original problem, this subproblem is a type of convex quadratic programming problem that can be efficiently solved by many solvers. We use the optimal solution of this subproblem as the initial iteration point of the original non-convex programming problem and use the interior point method to obtain high-quality local optimal values.

[0130] The embodiments of the present invention provide a distributed synchronization of the gaits of each robot and output of the leg states of the robots. Specifically, a gait parameterization method of a quadruped robot is used to determine the state of any leg of the robot at any time based on parameters such as gait frequency, nominal phase, phase offset, and phase margin, thereby determining the gait of the entire robot.

[0131] Among them, gait frequency is used to express the speed of the gait cycle, which is equivalent to the inverse of the gait cycle time. It is well known that when the gait frequency is high, the movement will be faster and more dynamic. However, for low-speed movement, a higher gait frequency may reduce energy efficiency. This is caused by frequent but unnecessary leg swings. The nominal phase is a periodic function defined as follows:

[0132] φ(t)=(f0t)mod(1), (8)

[0133] Where f0 is the nominal gait frequency.

[0134] Phase offset All legs of a single robot share the same nominal phase, but to capture different gaits, they have different offsets, defined as follows:

[0135]

[0136] Among them, φ l is the phase of the i-th leg.

[0137] Phase margin φ threshold Used to define the switching of leg phases. , the legs are in a swinging state, otherwise, the legs are in contact with the ground.

[0138] In the robot cluster, we set the initial values ​​of the phase offset and phase margin of each robot's corresponding leg to be the same. Therefore, gait synchronization is essentially the synchronization of the nominal phase. We propose to use the offset of the nominal gait frequency as the input of the control system, that is,

[0139] φ i =(φ i (0)+(f0+f i )t)mod(1), (10)

[0140] Among them, φ i is the nominal phase, and the subscript represents the i-th robot in the robot cluster. The internal clock is defined as:

[0141] θ i =φ i (0)+(f0+f i )t, (11)

[0142] The robot transmits its internal clock to other robots through wireless communication. We design the following controller to achieve gait synchronization:

[0143]

[0144] Among them, a ij =a ji is an arbitrary positive parameter. According to the gait model and controller described above, it can be proved that the overall control system has convergence.

[0145] The embodiments of the present invention provide stable dynamic motion and achieve a desired gait, and the related modules include a swing leg controller and a standing leg controller, which are used to output the torque of the leg motor.

[0146] (1) Swinging leg controller:

[0147] For the swing leg, the swing leg controller will first calculate the desired trajectory of the foot end of the swing leg in the air based on the desired trajectory. Then, inverse kinematics is used to calculate the required motor position. Finally, a simple proportional derivative (PD) controller is used to track the motor position, that is,

[0148]

[0149] Where, the subscript i represents the i-th motor, τ i is the motor torque, θ d,i is the desired motor position, θ i and are the current motor position and speed, k p,i and k d,i They are the PD parameters respectively.

[0150] (2) Standing leg controller:

[0151] The simplified dynamic model of the quadruped robot is as follows:

[0152] x i+1 =A i x i +B i u i , (14)

[0153] in,

[0154]

[0155]

[0156]

[0157] is the body's direction angle, is the position coordinate in the global coordinate system, is the angular velocity of the body, is the body linear velocity. The stance leg controller calculates the optimal ground reaction force of the stance leg and then uses the Jacobian matrix J of the leg i Get the motor torque:

[0158]

[0159] in, is the optimal ground reaction force to be calculated. It is calculated by solving the following quadratic optimization problem

[0160]

[0161] x i+1 =A i x i +B i u i

[0162]

[0163]

[0164] Among them, n is the prediction time domain, y i+1 is the state on the desired trajectory, L i and K i are weighted parameter matrices, c i , and C i are the friction constraint vector and matrix.

[0165] It should be noted that the embodiments of the present invention can be implemented by a combination of software and hardware. The hardware portion can be implemented using dedicated logic; the software portion can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. A person of ordinary skill in the art will appreciate that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier.

[0166] The embodiments of the present invention have achieved some positive effects during the development or use process, and indeed have great advantages over the prior art. The following content is described in conjunction with data, charts, etc. of the test process.

[0167] This technology has been successfully applied to quadruped robot clusters. Figure 2 As shown:

[0168] (a) Figure: Quadruped robot cluster side-by-side formation test. The three quadruped robots start in a messy position and finally stabilize and control to form a side-by-side formation, and their gaits are synchronized.

[0169] (b) Figure: Quadruped robot cluster linear formation test. The three quadruped robots start in a messy position and finally stabilize and control to form a linear formation, and their gaits are synchronized.

[0170] (c) Triangle formation experiment of quadruped robot cluster. The three quadruped robots start in a chaotic position and finally stabilize and control to form a triangle formation with synchronized gaits.

[0171] (d) Triangle formation test of quadruped robot cluster with obstacles. The three quadruped robots start in a messy position and finally stabilize and control to form a triangle formation. During the process, the robot cluster autonomously avoids obstacles and synchronizes their gaits.

[0172] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims

1. A distributed model predictive control system for gait synchronization and formation of quadruped robot clusters, It is characterized in that The quadruped robot cluster gait synchronization and formation distributed model predictive control system includes: Map and positioning module, used to provide odometer and obstacle information for the distributed gait synchronization module; a communication network for exchanging trajectory and gait phase information; Distributed MPC formation module, used to adjust all robots to the desired position in a certain formation, avoid collisions and achieve the optimal trajectory of the desired formation; Distributed gait synchronization module, used to synchronize the gaits of various robots in a distributed manner; Distributed motion control module, including a swing leg controller and a standing leg controller, used to control the quadruped robot to achieve the desired trajectory and gait, and output the torque of the leg motor; The distributed MPC formation module adopts a differential dynamics model, and the formula of the differential dynamics model is: with i (k+1)=s i (k)+v i (to), in, is the state of the i-th robot in the quadruped robot cluster, x i ,y i , γ i Represents the x, y position coordinates and heading angle of the robot in the two-dimensional map. is the control input of the dynamic model, [v x,i , v y,i , v γ,i ] corresponds to x i ,y i , γ i The expected speed; The differential dynamics model is optimized to obtain the optimal trajectory of the formation. The optimal solution of the optimization problem is used as the initial iteration point of the original non-convex programming problem. The interior point method is used to obtain a high-quality local optimal value. The optimization process for the i-th robot at time k is: The optimization goal is: It penalizes the energy cost and the difference between the predicted and desired states in the formation; The initial state is: s.t.s i (k|k)=s i (k) The kinetic model is: s i (k+1+l|k)=s i (k+l|k)+v i (k+l|k), Inequality constraints Used to avoid collisions between quadruped robots; inequality constraints Environmental obstacle avoidance; In the formula, l=0,1,…,N-1, (k+l|k) represents the predicted value of the corresponding physical quantity at time k+l, ρ i , α i , β i is a non-negative parameter, represents the set of neighbor robots of the ith robot in the communication topology, is the expected position of the ith robot, is the relative state of robot i and robot j, represents the position of the ith robot, is the position of the oth robot, o is in the set O, R and D are both pre-defined constants representing the collision safety margin, and all quantities of the optimization problem are obtained through the quadruped robot sensors, map and positioning module or wireless communication network.

2. The distributed model predictive control system for gait synchronization and formation of a quadruped robot cluster as claimed in claim 1, It is characterized in that The distributed gait synchronization module synchronizes the gaits of the robots in a distributed manner based on a gait parameterization method for quadruped robots. The specific process of the gait parameterization method for quadruped robots is as follows: Determine the state of any leg of the robot at any time according to the gait frequency, nominal phase, phase offset, and phase margin, thereby determining the gait of the entire robot; Synchronize the nominal phase and use the deviation from the nominal gait frequency as input to the control system; An internal clock is defined, and the robot transmits the internal clock to other robots through the communication network; and a controller is used to achieve gait synchronization.

3. The distributed model predictive control system for gait synchronization and formation of a quadruped robot cluster as claimed in claim 2, It is characterized in that The gait frequency is expressed as the speed of the gait cycle; The nominal phase is a periodic function defined as follows: φ(t)=(f 0 t)mod (1), In the formula, f 0 is the nominal gait frequency; The phase offset To capture the offset of different gaits of the robot, it is defined as follows: In the formula, φ l is the phase of the i-th leg; The phase margin φ threshold Used to define the leg phase switching, when When , the legs are in a swinging state, otherwise, the legs are in contact with the ground; The inputs to the control system are: f i =(φ i (0)+(f 0 +f i )t)mod (1), In the formula, φ i is the nominal phase of the ith robot, and the subscript represents the ith robot in the robot cluster; The internal clock is: i i =φ i (0)+(f 0 +f i )t, The controller is: In the formula, a ij =a ji , represents any positive parameter.

4. The distributed model predictive control system for gait synchronization and formation of a cluster of quadruped robots as claimed in claim 1, It is characterized in that The swing leg controller comprises: Firstly, the expected trajectory of the foot end of the swinging leg in the air is calculated according to the expected trajectory; Then, inverse kinematics is used to calculate the desired motor positions; Finally, a proportional-derivative (PD) controller is used to track the motor position and obtain the motor torque τ i for: Where, the subscript i represents the i-th motor, θ d,i is the desired motor position, θ i and are the current motor position and speed, k p,i and k d,i is the proportional differential parameter.

5. The distributed model predictive control system for gait synchronization and formation of a quadruped robot cluster as claimed in claim 1, It is characterized in that The simplified dynamic model of the quadruped robot in the standing leg controller is as follows: x i+1 =A i x i +B i u i , In the formula, is the body's direction angle, is the position coordinate in the global coordinate system, is the angular velocity of the body, is the body linear velocity; The stance leg controller calculates the optimal ground reaction force of the stance leg using the leg Jacobian matrix J i Get the motor torque: In the formula, The optimal ground reaction force to be calculated is calculated by solving the following quadratic optimization problem: s.t.x i+1 =A i x i +B i u i Where n is the prediction time domain, y i+1 is the state on the desired trajectory, L i and K i are weighted parameter matrices, c i , and C i are the friction constraint vector and matrix.

6. A distributed model predictive control method for gait synchronization and formation of a quadruped robot cluster implementing the distributed model predictive control system for gait synchronization and formation of a quadruped robot cluster as claimed in any one of claims 1 to 5, It is characterized in that The distributed model predictive control method for gait synchronization and formation of quadruped robot clusters includes: Step 1: Adjust all robots to the desired position in a certain formation. At the same time, ensure that all robots avoid collisions and obstacles based on odometer and obstacle information, and output the desired trajectory of the robots; Step 2: Distributedly synchronize the gaits of each robot and output the robot's leg status; Step three, based on the desired trajectory and leg states of the robot, the desired motor torque commands are calculated to stabilize the dynamic motion and achieve the desired gait.

7. A computer device, It is characterized in that The computer device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the quadruped robot cluster gait synchronization and formation distributed model predictive control method as claimed in claim 6.

8. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the distributed model predictive control method for gait synchronization and formation of a quadruped robot cluster as described in claim 6.