Energy-saving motion planning method for omnidirectional quadruped robot based on kinetic model
Through the omnidirectional quadruped robot motion planning method based on the dynamic model, the problems of energy consumption and ground impact in the quadruped robot motion planning are solved, a safe, smooth and executable trajectory is generated, and the system performance and computing efficiency are improved.
Patent Information
- Application Number
- CN202410685569.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-20
AI Technical Summary
The existing technology fails to effectively evaluate the impact of energy consumption and ground impact on the lower limb structure in the motion planning of quadruped robots, resulting in the generated trajectory being unfeasible, possibly causing equipment damage, and affecting system performance.
An energy-saving motion planning method for an omnidirectional quadruped robot based on a dynamic model is used to solve the unconstrained nonlinear optimization problem by constructing a touchdown force optimization term and a direction angle smoothing term, combined with dynamic feasibility constraints, and generate a safe trajectory, and avoid Barrier terms and penalty functions handle infeasible trajectories to ensure the dynamic feasibility of the trajectory.
It reduces the impact of the quadruped robot on the ground, reduces energy consumption and movement time, makes the trajectory smoother, meets the limitations of the actuator, improves the executability of the trajectory, reduces the calculation cost, and improves the efficiency of fast online solution .
Smart Images

Figure CN118672256A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of robot motion planning, and in particular to an energy-saving motion planning method for an omnidirectional quadruped robot based on a dynamics model. Background Art
[0002] Quadruped robots have received extensive attention in recent years. Compared with wheeled robot systems, they have better flexibility and reliability. Compared with wheeled robots and tracked robots, legged robots have stronger adaptability to rugged terrain and can be used in material transportation in complex terrain, field surveys, disaster relief and high-risk environment operations.
[0003] The current gradient-based motion planning framework without Euclidean distance field is mainly applicable to flying robots such as quadrotors in three-dimensional space, while there is limited research on robots on two-dimensional planes, especially quadruped robots. In addition, the existing technology often does not evaluate energy consumption from a mechanical perspective during the planning process, and the constraints of the actuators and the impact of the landing on the lower limb structure have not received enough attention. This negligence may cause the generated trajectory to be unfeasible in practice and may cause equipment damage, which will have an adverse effect on the overall performance of the system. Summary of the invention
[0004] The purpose of the present invention is to provide an energy-saving motion planning method for an omnidirectional quadruped robot based on a dynamic model in order to reduce the impact of the ground on the quadruped robot and thereby reduce the damage to the robot components caused by the impact.
[0005] The purpose of the present invention can be achieved by the following technical solutions:
[0006] An energy-saving motion planning method for an omnidirectional quadruped robot based on a dynamic model, the method comprising the following steps:
[0007] S1. Obtain obstacle information of the actual scene;
[0008] S2, obtaining the real-time position and posture of the quadruped robot;
[0009] S3. According to the starting point constraint determined by the real-time posture, solve the optimization problem of minimizing the jerk as the objective function, and parameterize the solved time trajectory with the uniform B-spline curve Φ. If the robot's radar detects obstacle information, construct an obstacle avoidance item based on the parameterized curve and then execute S4. Otherwise, directly execute S4.
[0010] S4, constructing a position feasible term and an orientation angle smoothing term, and establishing a quadruped robot dynamics model, and constructing a ground contact force optimization term based on the quadruped robot dynamics model;
[0011] S5. Formulate dynamic feasibility constraints based on position feasibility terms, angular velocity and angular acceleration constraints, and friction cone constraints, construct a total cost function based on dynamic feasibility constraints, ground contact force optimization terms, and directional angle smoothing terms, solve the unconstrained nonlinear optimization problem constituted by the cost function, and obtain a safe trajectory;
[0012] S6, determine whether the safety trajectory is dynamically feasible, if so, end the motion planning, otherwise execute S7;
[0013] S7, re-plan to obtain a feasible trajectory, and determine whether the feasible trajectory is dynamically feasible. If so, end the motion planning, otherwise repeat S7.
[0014] Furthermore, the step of solving the optimization problem of minimizing the jerk as the objective function according to the starting point constraint determined by the real-time posture is specifically:
[0015] The real-time posture position of the quadruped robot is selected as the starting point, and the end point is selected. The intermediate point between the random starting point and the end point is obtained to obtain the initial trajectory Φ0. The initial trajectory Φ0 is composed of multiple segmented trajectories. A cost function is constructed based on the segmented trajectories, and constraints of the cost function are set to form an optimization problem with minimizing the jerk as the objective function. The optimization problem is solved to obtain the motion state of each intermediate point. The motion state of each intermediate point is substituted into the initial trajectory Φ0 to obtain the time trajectory.
[0016] Furthermore, the cost function is:
[0017]
[0018] Among them, T m Indicates T m moment, P(t) represents the trajectory information of the initial trajectory at moment t, p N Represents the Nth-order coefficient of the initial trajectory;
[0019] The constraints of the cost function are:
[0020]
[0021] Among them, P m T represents the mth segment of the initial trajectory m The trajectory information at the moment, k represents the k-th order derivative.
[0022] Furthermore, the parameterized curve is composed of the homogeneous degree p b , node span Δt and N c Control points {Q i ,θ i} Uniquely determined piecewise polynomial, Q i ∈R 3, represents the location information of the control point, i∈N + ,θ i represents the direction angle of the robot at the i-th control point;
[0023] The obstacle avoidance term is:
[0024]
[0025] in,
[0026]
[0027] where j c (i,j) is the jth obstacle at the control point Q i The collision cost generated, j∈N, N p represents the number of obstacles, s f Indicates the safety distance, d ij Indicates that from Q i The obstacle distance to the jth obstacle.
[0028] Furthermore, the position feasible items are:
[0029]
[0030] in,
[0031]
[0032] Among them, ω v ω a ω j is the weight of each term, F(·) is a twice continuously differentiable metric function of the higher-order derivatives of the control points, V i ,A i ,J i Respectively represent the velocity, acceleration, jerk, and c of the control point m is the derivative limit, c j is the splitting point between the quadratic interval and the cubic interval, and λ is the elastic coefficient.
[0033] Furthermore, the directional angle smoothing term is:
[0034]
[0035] in,
[0036]
[0037] Among them, w ωa and w ωj is the weight of each item, ω i , They represent the angular velocity, angular acceleration, and angular jerk at the control point respectively.
[0038] Furthermore, the ground contact force optimization item is:
[0039]
[0040] Among them, f represents the force acting on the ground, which is determined based on the dynamic model of the quadruped robot.
[0041] Furthermore, the dynamic feasibility constraint is:
[0042] J d =J fd +J θd +J pd
[0043] in,
[0044]
[0045] in, is the weight of each item, u represents the constraint variable, γ represents the constraint weight, and f kx , f ky , f kz It represents the components of the force on the ground along the x, y and z axes, J θd represents the angular velocity and angular acceleration constraints, J fd Represents a friction cone constraint.
[0046] Furthermore, when constructing the obstacle avoidance item in S3, the cost function is:
[0047] J=λ d J d +λ c J c +λ e J e +λ θs J θs
[0048] Among them, λ d ,λ c ,λ e ,λ θs are the weights of each item respectively;
[0049] When the obstacle avoidance item is not constructed in S3, the cost function is the cost function when the obstacle avoidance item is constructed minus the obstacle avoidance item and the obstacle avoidance item weight.
[0050] Furthermore, the specific steps of S7 are:
[0051] For dynamically infeasible safe trajectories, an anisotropic curve fitting method is used to first calculate the ratio of exceeding the limit, then obtain the time span of the feasible trajectory based on the ratio, and construct the penalty function J of the feasible trajectory ′ for:
[0052]
[0053] in,
[0054]
[0055] λ f is the weight of the fitness term, T and T ′ They are safety trajectories Φ s and feasible trajectory Φ f The trajectory duration is α∈[0,1], where a and b are the major and minor semi-axes of the ellipse, respectively.
[0056] Compared with the prior art, the present invention has the following beneficial effects:
[0057] (1) The cost function designed by the present invention optimizes the ground contact force of the quadruped robot, reduces energy consumption, and reduces the impact of the ground on the quadruped robot, thereby reducing damage to robot components caused by the impact, while reducing the movement time and making the trajectory smoother. At the same time, the present invention formulates a friction pyramid formed by the ground reaction force inequality constraint and a kinematic constraint, which conforms to the dynamic characteristics of the quadruped robot and meets the limitations of the actuator, thereby ensuring the executability of the optimized trajectory.
[0058] (2) The present invention adds constraints as additional quadratic penalty terms to the objective function, converting the constrained nonlinear optimization problem into an unconstrained nonlinear optimization problem, thereby reducing the computational cost and improving the efficiency of the fast online solver. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 is a flow chart of the present invention;
[0060] Figure 2 A flowchart for the obstacle avoidance design of the present invention;
[0061] Figure 3 It is a schematic diagram of a three-dimensional single rigid body dynamics model of the present invention;
[0062] Figure 4 It is a schematic diagram of the friction cone constraint of the present invention;
[0063] Figure 5 It is a schematic diagram of the spherical measurement of the present invention;
[0064] Figure 6It is a schematic diagram of the planned angular velocity change during the simulated motion of the quadruped robot of the present invention. DETAILED DESCRIPTION
[0065] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0066] In order to solve the problem of motion planning of a quadruped robot in an environment with obstacles, achieve collision avoidance, reduce energy consumption, reduce leg impact, and meet multiple goals of dynamic constraints, the present invention proposes an energy-saving motion planning method for an omnidirectional quadruped robot based on a dynamic model. The flow chart of the method is as follows: Figure 1 shown.
[0067] The present invention proposes an energy-saving motion planning method for an omnidirectional quadruped robot based on a dynamic model. The flow chart of the method is as follows: Figure 1 As shown. Based on the method of the present invention, the quadruped robot can obtain the distance information between itself and the obstacle according to the point cloud information of the obstacle detected by the radar and the odometer data. The present invention establishes a three-dimensional single rigid body dynamic model of the quadruped robot considering the inertial force, constructs the ground contact force optimization term and the directional angle smoothing term of the objective function, formulates reasonable dynamic constraints based on this, and adds the constraints as additional quadratic penalty terms to the objective function, converts the problem into an unconstrained nonlinear optimization problem to solve, reduces the computational cost, and thus avoids static and dynamic obstacles during the movement of the quadruped robot from the starting point to the given end point. The present invention solves the motion planning problem of a quadruped robot in an environment with obstacles, such as achieving collision and obstacle avoidance, reducing energy consumption, reducing leg impact, and satisfying multiple goals of dynamic constraints, and provides certain technical support for the obstacle avoidance of the quadruped robot.
[0068] The method of the present invention comprises the following steps:
[0069] S1. Obtain obstacle information of the actual scene;
[0070] S2, obtaining the real-time position and posture of the quadruped robot;
[0071] S3. According to the starting point constraint determined by the real-time posture, solve the optimization problem of minimizing the jerk as the objective function, and parameterize the solved time trajectory with the uniform B-spline curve Φ. If the robot's radar detects obstacle information, construct an obstacle avoidance item based on the parameterized curve and then execute S4. Otherwise, directly execute S4.
[0072] S4, constructing a position feasible term and an orientation angle smoothing term, and establishing a quadruped robot dynamics model, and constructing a ground contact force optimization term based on the quadruped robot dynamics model;
[0073] S5. Formulate dynamic feasibility constraints based on position feasibility terms, angular velocity and angular acceleration constraints, and friction cone constraints, construct a total cost function based on dynamic feasibility constraints, ground contact force optimization terms, and directional angle smoothing terms, solve the unconstrained nonlinear optimization problem constituted by the cost function, and obtain a safe trajectory;
[0074] S6, determine whether the safety trajectory is dynamically feasible, if so, end the motion planning, otherwise execute S7;
[0075] S7, re-plan to obtain a feasible trajectory, and determine whether the feasible trajectory is dynamically feasible. If so, end the motion planning, otherwise repeat S7.
[0076] In S1, the obstacle information of the actual scene is obtained, and a quadruped robot is selected for obstacle avoidance planning. First, based on the laser radar mounted on the quadruped robot, the point cloud information obtained is processed to obtain obstacle information. The original planning framework is used for UAV 3D trajectory planning, so for low obstacles, the UAV can fly over them, while for ground robots, they can only bypass them. Therefore, the obstacles in the space established by the original mapping algorithm are expanded in the vertical direction, connected to the ground and the virtual ceiling, so that the final trajectory planning is constrained to avoid passing over obstacles and to bypass them.
[0077] In S2, the HDL positioning algorithm is first used based on the laser radar, odometer and other sensor devices mounted on the quadruped robot to complete the coordinate conversion from world-odom-base_link and obtain the robot's position information in the world coordinate system.
[0078] Steps S3 to S5 are as follows: Figure 2 shown.
[0079] In S3, the obstacle avoidance term is constructed. The initial trajectory is parameterized with a B-spline curve. According to the starting point constraint, an optimization problem with minimizing the jerk as the objective function is solved. The starting point and the end point are selected, and the middle point is randomly selected to obtain the initial trajectory Φ0. The middle point can be selected in the obstacle area. Each segmented trajectory is fitted with an N-order polynomial. Then, the trajectory information of the mth segment at time t is:
[0080]
[0081] In order to obtain the motion state of the intermediate point, we construct a cost function and then solve the optimal intermediate motion state:
[0082]
[0083] In order to ensure that the continuity constraint and the principle of no sudden change in speed and acceleration are met, the following must be met:
[0084]
[0085] The meaning of the above formula is that the trajectory segment P m and P m+1 In T m The k-th order derivative is the same at all times. By solving this equation, we can get the initial trajectory Φ0.
[0086] The obtained time trajectory is parameterized by a uniform B-spline curve Φ, which is a function of the homogeneous degree p b , node span Δt and N c Control points {Q i ,θ i}, uniquely determined piecewise polynomial, where Q i ∈R 3 , represents the location information of the control point, i∈N + ,θ i represents the orientation angle of the robot at the ith control point. In practice, we choose p b =3.
[0087] In each iteration of the subsequent optimization process, if a collision segment is detected based on the radar point cloud information, a planning algorithm such as A* is used to plan a shortest obstacle avoidable path. For each control point of the collision segment, an anchor point p is assigned. ij On the obstacle surface, with the corresponding repulsive force direction vector v ij , j∈N represents the index of the obstacle. In order to incorporate the necessary environmental awareness into the local planner, a collision term is added to the cost function, and the control points are adjusted to make the trajectory away from obstacles, thereby correcting the previously generated trajectory.
[0088] From Q i The obstacle distance to the jth obstacle can be defined as
[0089] d ij =(Q i -p ij )·v ij
[0090] The collision term can be expressed as:
[0091]
[0092] in
[0093]
[0094] j c (i,j): is the jth obstacle at the control point Q i The collision cost generated, N p: is the number of obstacles, s f : It is a safe distance.
[0095] In S4, a position feasible term and an angular smoothing term are constructed. For the position feasible term, the present invention adopts the following settings:
[0096]
[0097] where ω v ,ω a ,ω j is the weight of each term, and F(·) is a twice continuously differentiable metric function of the higher-order derivatives of the control points.
[0098]
[0099] a1a2b1b2c1c2 satisfies the second-order continuity, c m is the derivative limit, c j is the splitting point between the quadratic interval and the cubic interval, λ<1-∈ is the elastic coefficient, ∈<<1 makes the final result satisfy the constraint condition, V i ,A i ,J i Represent the velocity, acceleration and jerk of the control point respectively.
[0100] For the direction smoothing term:
[0101]
[0102]
[0103] where w ωa and w ωj is the weight of each item, ω i , They represent the angular velocity, angular acceleration, and angular jerk at the control point respectively.
[0104] The quadruped robot dynamics model is established in S4. The schematic diagram of the three-dimensional single rigid body dynamics model is shown in Figure 3 As shown in the figure, the ground contact force optimization term is constructed based on the quadruped robot dynamics model. Assuming that the ground reaction force is the only external force acting on the quadruped robot, and considering the inertia force to avoid the slipping scenario caused by relatively high speed turning, the three-dimensional single rigid body dynamics model of the quadruped robot is established using the Newton-Euler method as shown below:
[0105]
[0106] in, Indicates the linear velocity and acceleration of the center of mass; f: ground contact force, f k ∈R 3, c is the number of standing feet, which depends on the gait; p com,k ∈R 3×3 : is the vector from the center of mass to the position of the kth foot, equivalent to the moment arm of the ground contact force; ω b ∈R 3 is the angular velocity, is the acceleration vector, τ is the torque; m∈R is the mass of the robot, g∈R 3 is the gravitational acceleration vector, I g ∈R 3 is the moment of inertia about the center of mass.
[0107] At the same time, a ground contact force optimization term is constructed. The time integral of the ground reaction force f during the movement is included in the cost function to achieve a quantitative evaluation of energy consumption and impact intensity. Specifically, we separate the components of the ground force f along the three axes of x, y and z. During horizontal movement, the energy consumed by the robot can be regarded as the result of the integration of its components in the X-axis and Y-axis directions over time. The force in the vertical direction, that is, the Z-axis direction, is used as the basis for measuring the impact force. The intention of adopting this strategy is to reduce the energy loss of the quadruped robot when it moves, and to slow down the impact when its feet contact the ground, thereby reducing the damage to the robot components caused by the impact. The ground contact force optimization term is as follows:
[0108]
[0109] In S5, dynamic feasibility constraints are formulated. The present invention formulates stability constraints based on the component forces decomposed from the ground reaction force f along the three dimensions of x, y and z. These three component forces must satisfy the constructed friction pyramid inequality constraints to avoid slippage:
[0110] f kzmin ≤f kz ≤f izmax
[0111] -μf kz ≤f kx ≤μf kz
[0112] -μf kz ≤f ky ≤μf kz
[0113] At the same time, the angular velocity and angular acceleration should satisfy the kinematic constraints formed by the actuator to ensure the feasibility of the optimized trajectory:
[0114] ω max ≤ω i ≤ω max
[0115]
[0116] In order to improve the efficiency of the fast online solver, the constraints are added to the objective function as additional quadratic penalty terms, and the constrained nonlinear optimization problem is converted into an unconstrained nonlinear optimization problem to reduce the computational cost. The friction cone constraint and the feasibility constraints of angular velocity and angular acceleration formulated above can be reduced to double boundary constraints. The corresponding penalty function is added to the cost function, and the L-BFGS is used to optimize and solve the safe trajectory Φ s .
[0117] The constructed penalty function is as follows:
[0118]
[0119] The corresponding feasibility constraints are:
[0120] J d =J fd +J θd +J pd
[0121]
[0122] Among them J pd Represents the position feasible term, which is a function of velocity, acceleration and jerk, J fd is the friction cone constraint, J θd are the angular velocity and acceleration constraints, is the weight of each item. The friction cone constraint diagram is as follows Figure 4 shown.
[0123] Then we can get the unconstrained optimization problem to solve the safe trajectory Φ s The overall cost function is:
[0124] J=λ d J d +λ c J c +λ e J e +λ θs J θs
[0125] where λ d ,λ c ,λ e ,λ θs The weight of each item, when executing the optimization program, the present invention adopts the L-BFGS algorithm to solve the related unconstrained optimization problem. By dividing the time interval, the optimization parameters are matched with the second-order derivatives of the control points, ensuring that all parameters are processed with consistent dimensions during the optimization process, thereby improving the numerical stability and accuracy of the solution process.
[0126] It is unreasonable to set an exact time curve before the optimization process begins, because the planner does not know the specific information of the final trajectory at this time. Therefore, when the safe trajectory is not feasible, S7 is executed, and the dynamic feasibility of the trajectory can be ensured through an additional time reallocation process. For those trajectories that are not feasible in terms of dynamics, the present invention will regenerate a uniform B-spline trajectory Φ by extending the allocated time in proportion to the degree of exceeding the limit. f Then, an anisotropic curve fitting method is used to make Φ f Freely optimize its control points to satisfy high-order derivative constraints while maintaining Φ s Almost the same shape, and again optimized using the L-BFGS algorithm.
[0127] First, for those trajectories that are dynamically infeasible, we calculate the rate at which the limit is exceeded:
[0128]
[0129] where i∈{1,…,N c -1}, j∈{1,…,N c -2}, k∈{1,…,N c -3}r∈{x,y,z} axis.
[0130] m represents the limit of the derivative. e This means that we should f The time allocation relative to Φ s How much is the extension, V i , A j and J k Respectively with Δt, Δt 2 and Δt 3 We get the new Φ f Time span:
[0131] Δt′=r e Δt
[0132] Φ of time span Δt′ f It is initially generated under boundary constraints while maintaining the same s Same shape and number of control points. Then the smoothness and feasibility are improved by optimization. The feasible trajectory Φ is formulated by a linear combination of smoothness, feasibility, energy consumption term and curve fitting. f The penalty function J′ is:
[0133]
[0134] where λ f is the weight of the fitness term.
[0135] Fitting penalty function J f It is expressed as f (αT′) to the corresponding Φ s The integral of the anisotropic displacement of (αT), where T and T′ are Φ s and Φ f The trajectory duration is α∈[0,1]. Since the fitting curve Φ s is already collision-free, so we assign low penalty weights to both curves in the axial direction to relax the smoothness adjustment restrictions, and high penalty weights to radial direction to avoid collisions. To achieve this, we use a sphere metric, such as Figure 5 As shown, displacements on the same sphere surface produce the same penalty. We use Φ f The ellipsoid (αT′) is obtained by s The ellipse with (αT) as the center is centered around one of its major axes (tangent ) is obtained by rotating. Therefore, the axial displacement d a and radial displacement d r It can be calculated as:
[0136]
[0137] The fitness penalty function is:
[0138]
[0139] Where a and b are the major and minor semi-axis of the ellipse respectively. L-BFGS is used to solve this problem.
[0140] like Figure 6 As shown in the yaw rate variation diagram, the cost function proposed in the present invention not only achieves the established goal, but also effectively reduces the required time and ensures the smoothness of the trajectory.
[0141] The present invention has the following beneficial effects:
[0142] 1. The trajectory planning framework of the present invention applies a gradient-based three-dimensional quadrotor trajectory planning framework without Euclidean signed distance field to a two-dimensional omnidirectional quadruped robot, and verifies that the framework is suitable for different practical application platforms.
[0143] 2. The present invention utilizes a simplified three-dimensional single rigid body dynamics model of a quadruped robot, takes inertial force into account, avoids slipping scenarios when turning at relatively high speeds, reduces practical difficulty, and has good practical application significance.
[0144] 3. The cost function designed by the present invention optimizes the ground contact force of the quadruped robot, reduces energy consumption, and reduces the impact of the ground on the quadruped robot, thereby reducing damage to the robot components caused by the impact, while reducing the movement time and making the trajectory smoother.
[0145] 4. The present invention develops a friction pyramid formed by the ground reaction force inequality constraint and a kinematic constraint, which conforms to the dynamic characteristics of the quadruped robot, satisfies the limitations of the actuator, and ensures the executability of the optimized trajectory.
[0146] 5. The present invention adds constraints as additional quadratic penalty items to the objective function, converting the constrained nonlinear optimization problem into an unconstrained nonlinear optimization problem, thereby reducing the computational cost and improving the efficiency of the fast online solver.
[0147] 6. The motion planning framework proposed in this invention is integrated on the quadruped robot Jueying lite3 and tested in simulation and real scenes, achieving the obstacle avoidance effect, improving the safety and robustness of the planning, and verifying the feasibility.
[0148] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. An energy-saving motion planning method for an omnidirectional quadruped robot based on a dynamic model, characterized in that: The method comprises the following steps: S1. Obtain obstacle information of the actual scene; S2, obtain the real-time position and posture of the quadruped robot; S3. According to the starting point constraint determined by the real-time posture, solve the optimization problem of minimizing the jerk as the objective function, and parameterize the solved time trajectory with the uniform B-spline curve Φ. If the robot's radar detects obstacle information, construct an obstacle avoidance item based on the parameterized curve and then execute S4. Otherwise, directly execute S4. S4, constructing a position feasible term and an orientation angle smoothing term, and establishing a quadruped robot dynamics model, and constructing a ground contact force optimization term based on the quadruped robot dynamics model; S5. Formulate dynamic feasibility constraints based on position feasibility terms, angular velocity and angular acceleration constraints, and friction cone constraints, construct a total cost function based on dynamic feasibility constraints, ground contact force optimization terms, and directional angle smoothing terms, solve the unconstrained nonlinear optimization problem constituted by the cost function, and obtain a safe trajectory; S6, determine whether the safety trajectory is dynamically feasible, if so, end the motion planning, otherwise execute S7; S7, re-plan to obtain a feasible trajectory, and determine whether the feasible trajectory is dynamically feasible. If so, end the motion planning, otherwise repeat S7.
2. The energy-saving motion planning method of an omnidirectional quadruped robot based on a dynamic model according to claim 1, characterized in that: The steps of solving the optimization problem of minimizing the jerk as the objective function according to the starting point constraint determined by the real-time posture are specifically as follows: The real-time posture position of the quadruped robot is selected as the starting point, and the end point is selected. The intermediate point between the random starting point and the end point is obtained to obtain the initial trajectory Φ0. The initial trajectory Φ0 is composed of multiple segmented trajectories. A cost function is constructed based on the segmented trajectories, and constraints of the cost function are set to form an optimization problem with minimizing the jerk as the objective function. The optimization problem is solved to obtain the motion state of each intermediate point. The motion state of each intermediate point is substituted into the initial trajectory Φ0 to obtain the time trajectory.
3. The energy-saving motion planning method of an omnidirectional quadruped robot based on a dynamic model according to claim 2 is characterized in that: The cost function is: Among them, T m Indicates T m moment, P(t) represents the trajectory information of the initial trajectory at moment t, p N Represents the Nth-order coefficient of the initial trajectory; The constraints of the cost function are: Among them, P m T represents the mth segment of the initial trajectory m The trajectory information at the moment, k represents the k-th order derivative.
4. The energy-saving motion planning method of an omnidirectional quadruped robot based on a dynamic model according to claim 1, characterized in that: The parameterized curve is given by the homogeneous degree p n , node span Δt and N c Control points {Q i ,θ i } Uniquely determined piecewise polynomial, Q i ∈R 3 , represents the location information of the control point, i∈N + ,θ i represents the direction angle of the robot at the i-th control point; The obstacle avoidance term is: in, where j c (i,j) is the jth obstacle at the control point Q i The collision cost generated, j∈N, N p represents the number of obstacles, s f Indicates the safety distance, d ij Indicates that from Q i The obstacle distance to the jth obstacle.
5. The energy-saving motion planning method of an omnidirectional quadruped robot based on a dynamic model according to claim 4, characterized in that: The possible positions are: in, Among them, ω v ω a ω j is the weight of each term, F(·) is a twice continuously differentiable metric function of the higher-order derivatives of the control points, V i ,A i ,J i Respectively represent the velocity, acceleration, jerk, and c of the control point m is the derivative limit, c j is the splitting point between the quadratic interval and the cubic interval, and λ is the elastic coefficient.
6. The energy-saving motion planning method of an omnidirectional quadruped robot based on a dynamic model according to claim 5, characterized in that: The directional angle smoothing term is: in, Among them, w ωa and w ωj is the weight of each item, ω i , They represent the angular velocity, angular acceleration, and angular jerk at the control point respectively.
7. The energy-saving motion planning method of an omnidirectional quadruped robot based on a dynamic model according to claim 6, characterized in that: The ground contact force optimization term is: Among them, f represents the force acting on the ground, which is determined based on the dynamic model of the quadruped robot.
8. The energy-saving motion planning method of an omnidirectional quadruped robot based on a dynamic model according to claim 7, characterized in that: The dynamic feasibility constraint is: I d =J fd +J θd +J pd in, in, is the weight of each item, u represents the constraint variable, γ represents the weight of the constraint variable, and f kx , f ky , f kz It represents the components of the force on the ground along the x, y and z axes, J θd represents the angular velocity and angular acceleration constraints, J fd Represents a friction cone constraint.
9. The energy-saving motion planning method of an omnidirectional quadruped robot based on a dynamic model according to claim 8, characterized in that: When building the obstacle avoidance term in S3, the cost function is: J=λ d J d +λ c J c +λ e J e +λ θs J θs Among them, λ d ,λ c ,λ e ,λ θs are the weights of each item respectively; When the obstacle avoidance item is not constructed in S3, the cost function is the cost function when the obstacle avoidance item is constructed minus the obstacle avoidance item and the obstacle avoidance item weight.
10. The energy-saving motion planning method of an omnidirectional quadruped robot based on a dynamic model according to claim 9, characterized in that: The specific steps of S7 are: For dynamically infeasible safe trajectories, the anisotropic curve fitting method is used to first calculate the ratio of exceeding the limit, then obtain the time span of the feasible trajectory based on the ratio, and construct the penalty function J′ of the feasible trajectory as follows: in, λ f is the weight of the fitness term, T and T′ are the safe trajectories Φ s and feasible trajectory Φ f The trajectory duration is α∈[0,1], where a and b are the major and minor semi-axes of the ellipse, respectively.
Citation Information
Cited By
Track planning method and device for double-wheel foot type robot
CN119065253A
A two-wheeled and legged robot trajectory planning method and device
CN119065253B
Intelligent parking auxiliary system based on image acquisition
CN119904604A
