An online real-time motion control method and system for heavy-duty hexapod robots

By introducing actual effective joint velocities and execution lag models into the prediction layer, combined with hierarchical inverse kinematics quadratic programming and safety monitoring, the problem of inconsistent joint movements in the motion control of heavy hexapod robots is solved, thereby improving stability and safety.

CN123177480APending Publication Date: 2026-11-27BEIJING INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611291175.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-25
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Due to the large overall mass, high leg inertia, strong foot contact impact, and limited actuator response speed, existing control methods struggle to accurately predict the consistency between joint motion and actual motion in heavy-duty hexapod robots. This leads to problems such as support force deviation, local support leg overload, foot slippage, and body posture oscillation.

Method used

A joint position control actuator is adopted. By introducing the actual effective joint velocity as an augmented state in the prediction layer, combined with the execution hysteresis model and hierarchical inverse kinematics quadratic programming, executable joint position commands are generated. In addition, the contact force distribution and joint position adjustment under multi-support conditions are optimized by combining safety monitoring and hierarchical protection mechanisms.

Benefits of technology

It improves the motion stability and contact safety of heavy-duty hexapod robots in complex terrain, reduces state prediction errors and motion tracking deviations caused by actuator response lag, and ensures the continuity and safety of joint position commands.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177480A_ABST
    Figure CN123177480A_ABST
Patent Text Reader

Abstract

The application discloses an online real-time motion control method and system of a heavy-duty six-legged robot. The application adopts a joint position control actuator as a final execution output interface. In a prediction planning layer, actual effective joint speed is introduced as an augmented state, and the actual effective joint speed is used to update joint coordinates, a floating base state, a center of mass speed and a center of mass angular momentum. In a high-frequency layered position tracking layer, feedback contact force deviation between expected contact force reference obtained by the prediction planning layer and support foot contact force information is converted into a support leg joint position correction amount. The support leg joint position correction amount is taken as input, and a joint position increment is taken as an optimization variable. A layered inverse kinematics quadratic programming problem is established. Support foot contact maintenance, joint position limiting, joint speed limiting and single-cycle position increment limiting are taken as high-priority constraints. Continuous and executable joint position commands are generated under the premise of meeting contact stability and actuator motion capability constraints.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of legged robot motion control technology, and more particularly to an online real-time motion control method and system for heavy-duty hexapod robots. More specifically, this invention relates to an online real-time motion control method and system for heavy-duty hexapod robots, which integrates execution hysteresis sensing augmented nonlinear model predictive control, contact force feedback to support leg joint position correction, hierarchical inverse kinematics quadratic programming, and safety monitoring, with joint position control actuators serving as the final execution output interface. Background Technology

[0002] Compared to wheeled robots, hexapod robots have a stronger ability to adapt to unstructured terrain, enabling them to overcome obstacles, cross ditches, climb slopes, and walk on complex terrain through alternating support of multiple legs. For heavy hexapod robots, due to their large overall mass, large moment of inertia, large leg inertia, strong impact at the foot end, and limited actuator response speed, their motion control is more complex than that of small and medium-sized hexapod robots.

[0003] In existing legged robot control methods, model predictive control is often used to generate centroid motion references, foot trajectory references, joint motion references, and foot contact force references based on body motion references, contact states, and dynamic models. For legged robots using joint position control actuators, existing methods typically convert the predictive planning results into position and velocity references for the base, foot, or joints, which are then executed by the underlying position servo controller. Some methods also indirectly adjust the foot-to-ground contact action through impedance control, virtual compliant control, or quadratic programming methods. However, for heavy hexapod robots, due to the large overall mass, high leg inertia, strong foot contact impact, significant contact redundancy among multiple supporting legs, and actuator response lag, discrepancies can easily exist between the contact force references obtained from the predictive planning layer and the actual foot-to-ground action generated by the position control actuators. If the predictive layer only uses the contact force reference as a dynamic optimization variable without simultaneously considering the actual activation process of joint motion commands, supporting leg contact force feedback, and internal force constraints generated by redundant contact among multiple supports, it may lead to support force deviations, local supporting leg overloads, foot slippage, body posture oscillations, and abrupt changes in joint position commands.

[0004] (1) Heavy-duty hexapod robots often employ hydraulic actuation channels, leg linkage mechanisms, mechanical transmission chains, and internal position servo loops. Due to the large overall mass, heavy leg loads, limited hydraulic channel response, and friction, backlash, and flexible deformation in the mechanical transmission chain, response lag easily occurs between joint motion commands and actual effective joint motion. If the model predictive control assumes that joint velocity commands can take effect instantaneously within the prediction time domain, it will result in inaccurate prediction of the robot's motion state, leading to unreasonable distribution of contact force on the supporting legs, increased impact at the foot ends, oscillation of the robot's posture, and sudden changes in joint position commands.

[0005] (2) In a multi-legged state, a hexapod robot typically has three or more supporting legs in contact with the ground simultaneously. Multiple supporting legs can generate the same overall resultant force and resultant torque, but the corresponding distribution of contact forces at the foot ends is not unique. Some of these contact forces do not change the motion of the center of mass, but they can create redundant contact effects that cancel each other out between different supporting legs, leading to support leg overload, increased hydraulic pressure, increased risk of foot slippage, and increased energy loss. Therefore, heavy-duty hexapod robots need to constrain the contact forces of multiple supporting legs in the predictive planning layer and limit the internal forces of the support group. Summary of the Invention

[0006] The purpose of this invention is to provide an online real-time motion control method and system for a heavy-duty hexapod robot. By considering joint execution lag at the predictive planning layer, the desired contact force reference can be converted into executable joint position commands under position control actuator conditions. Redundant contact internal forces are limited in multi-support states. At the same time, combined with safety monitoring and hierarchical protection mechanisms, the motion stability, contact safety and execution feasibility of the heavy-duty hexapod robot in complex terrain are effectively improved.

[0007] The present invention discloses an online real-time motion control method for a heavy-duty hexapod robot. The heavy-duty hexapod robot is characterized by large inertia, large foot contact impact, and slow actuator response. A joint position control actuator is used as the final execution output interface. In the prediction layer, the prediction state is constructed using the center of mass velocity, center of mass angular momentum, generalized coordinates of the floating base pose, and joint coordinates. The optimization input consists of contact force references for each supporting foot and joint velocity commands. The actual effective joint velocities are introduced into the prediction model as augmented states. An execution hysteresis model is used to describe the response difference between the joint velocity commands and the actual effective joint velocities. A support leg joint position correction is generated based on the feedback deviation between the desired contact force reference and the support foot contact force information. A joint position command is generated based on the support leg joint position correction. The desired contact force reference is not used as a direct force command issued by the joint position control actuator. The method includes: S1, Obtain the current state of the robot. The current state includes at least the generalized coordinates of the floating base pose, the floating base velocity, the center of mass velocity, the center of mass angular momentum, the position and velocity of each joint, the set of supporting feet corresponding to the given contact sequence, the contact state of each supporting foot, and the contact force information of the supporting feet. S2, given the motion reference and the contact timing, construct an augmented nonlinear model predictive control problem with hysteresis sensing. In the finite prediction time domain, the center of mass velocity, center of mass angular momentum, floating base pose generalized coordinates and joint coordinates are used as the prediction states. The contact force reference of each supporting foot and the joint velocity command are used as the optimization input. The actual effective joint velocity under the joint velocity command is predicted through the hysteresis model. The actual effective joint velocity is used as the augmented prediction state. In the prediction time domain, the joint coordinates, floating base state, center of mass velocity and center of mass angular momentum are updated using the actual effective joint velocity. S3, based on the expected contact force reference of each supporting foot obtained in S2 and the corresponding supporting foot contact force information obtained in S1, calculate the feedback contact force deviation between the expected contact force reference and the actual foot-ground action, and then generate the support leg joint position correction amount. In S4, at the high-frequency hierarchical position tracking layer, the base motion reference, center of mass velocity reference, center of mass angular momentum reference, swinging foot trajectory, supporting foot set, predicted actual effective joint velocity obtained in S2, and supporting leg joint position correction amount obtained in S3 are used as inputs. The joint position increment is used as the optimization variable to establish a hierarchical inverse kinematics quadratic programming problem. Among them, supporting foot contact maintenance, joint position limit, joint velocity limit, and single-cycle position increment limit are treated as the highest priority constraints. The base motion tracking task, center of mass velocity tracking task, center of mass angular momentum tracking task, swinging foot trajectory tracking task, supporting leg joint position correction task, and joint posture smoothing task are optimized together according to priority. The supporting leg joint position correction task guides the supporting leg to generate position adjustment corresponding to the feedback contact force deviation without breaking the supporting foot contact maintenance constraint. S5, update the joint position command according to the joint position increment obtained in S4, and send the joint position command to the joint position control actuator; wherein, the joint position command satisfies the joint position limit, the joint speed limit and the single-cycle position increment limit.

[0008] Preferably, in S2, the first-order hysteresis model predicts the joint speed that can actually be effective in the current prediction step based on the actual effective joint speed of the previous prediction step and the joint speed command of the current prediction step.

[0009] Preferably, in step S3, the feedback contact force deviation is calculated based on the expected contact force reference of each support foot and the corresponding support foot contact force information, and is then processed by filtering, contact compliance mapping, Jacobi mapping and amplitude limiting to generate a support leg joint position correction amount; wherein, the support leg joint position correction amount serves as the support leg position adjustment target in the position control mode, and is used to guide the support leg to generate joint position adjustments corresponding to the feedback contact force deviation.

[0010] Preferably, the joint position correction amount of the supporting leg satisfies the following relationship: when the actual foot-ground action represented by the supporting foot contact force information is less than the expected contact force reference, a joint position correction amount is generated to increase the supporting leg's supporting action; when the actual foot-ground action represented by the supporting foot contact force information is greater than the expected contact force reference, a joint position correction amount is generated to decrease the supporting leg's supporting action; and the joint position command jump caused by the supporting leg joint position correction amount is limited by the upper limit of the single-cycle joint position correction amount.

[0011] Preferably, in S4, the hierarchical inverse kinematics quadratic programming problem includes: a support foot contact maintenance task to suppress undesirable displacement of the support foot in the support phase; a support leg joint position correction task to track the support leg joint position correction amount obtained from the feedback contact force deviation; a base motion task to track the base position, base attitude, base velocity, and base angular velocity reference; a center of mass momentum task to track the center of mass velocity reference and center of mass angular momentum reference; a swing leg task to track the swing leg position trajectory, landing point, and lifting height; and a joint attitude smoothing task to make the joint position command close to the reference attitude and the joint position command of the previous control cycle.

[0012] Preferably, in S4, the task priorities are set as follows: supporting foot contact maintenance, joint position limitation, joint velocity limitation, and single-cycle position increment limitation are the highest priorities; base motion tracking, center of mass velocity tracking, and center of mass angular momentum tracking are the next highest priorities; swing foot trajectory tracking is the next highest priority; supporting leg joint position correction and joint posture smoothing are the lowest priorities; wherein, the supporting leg joint position correction task adjusts the supporting leg joint position command without breaking the supporting foot contact maintenance constraint, so as to indirectly adjust the foot-ground contact action in the position control mode.

[0013] Preferably, in step S2, a multi-support leg contact force distribution constraint is applied to the contact force reference of each support leg. The multi-support leg contact force distribution constraint includes a center of mass momentum dynamics constraint, a contact mode constraint, contact force upper and lower bound constraints, a friction cone constraint, a friction cone margin constraint, a contact force change rate constraint, a support leg load ratio constraint, and a support group internal force constraint. The support group internal force constraint is used to limit the contact force components that cancel each other out between multiple support legs without changing the overall resultant force and resultant moment of the machine body, so as to avoid support leg overload, foot slippage, and increased actuator load caused by redundant contact of multiple supports.

[0014] Preferably, in step S2, a swing foot reference trajectory is generated based on a given gait sequence, terrain height estimation, foot reachability domain, and minimum ground clearance margin; the swing foot reference trajectory includes the swing foot start point, swing foot landing point, swing trajectory vertex height, and swing time parameters; step S4 generates the joint position increment of the corresponding swing leg based on the swing foot reference trajectory, and updates the joint position command of the corresponding swing leg through step S5.

[0015] Preferably, the method further includes a safety monitoring step: real-time monitoring of soft constraint penalty values, supporting foot slippage index, contact force exceeding limits, friction cone margin, supporting group internal force index, joint position exceeding limits, joint speed exceeding limits, base attitude angle, single-cycle position increment, and supporting leg joint position correction amount, and determining the risk level based on the monitoring results; when the risk level is the first risk level, performing downgrade control; when the risk level is the second risk level, performing replanning; when the risk level is the third risk level, performing protection stop.

[0016] The present invention also provides a heavy-duty hexapod robot control system for implementing the above method, comprising: The state estimation module is used to obtain information on the floating base state, joint state, foot contact state, and supporting foot contact force. The augmented predictive planning module is used to run an augmented nonlinear model predictive control problem with execution lag perception. Under the combined action of multi-support foot contact force distribution constraints, support group internal force constraints, and execution lag model, it outputs base motion reference, center of mass velocity reference, center of mass angular momentum reference, swing foot reference trajectory, support foot set, desired contact force reference, joint velocity command, and predicted actual effective joint velocity. The contact force to joint position correction module is used to convert the feedback contact force deviation between the desired contact force reference and the support foot contact force information into the support leg joint position correction amount; The hierarchical position tracking module is used to solve the hierarchical inverse kinematics quadratic programming problem and generate joint position increments; The execution interface module is used to update the joint position command according to the joint position increment and send the joint position command to the joint position control actuator; The safety monitoring module is used to determine the risk level based on the soft constraint penalty value, support foot slippage index, contact force exceeding the limit, friction cone margin, support group internal force index, joint position exceeding the limit, joint speed exceeding the limit, base attitude angle, single-cycle position increment, and support leg joint position correction amount, and to perform downgrade control, replanning, and shutdown protection according to the risk level.

[0017] Beneficial effects: (1) In view of the problem that the heavy hexapod robot has a large overall mass, heavy leg load and limited execution channel response, and there is a response lag between the joint speed command and the actual effective joint speed, which leads to the inconsistency between the joint motion in the prediction model and the actual motion, the present invention introduces the actual effective joint speed as an augmented state in the prediction layer, and describes the response difference between the joint speed command and the actual effective joint speed through the execution lag model, so that the prediction model can reflect the actual response capability of the joint position control actuator, hydraulic execution channel, leg transmission mechanism and internal position servo loop of the heavy hexapod robot, thereby reducing the state prediction error, motion tracking deviation and joint position command mutation caused by the actuator response lag.

[0018] (2) For heavy hexapod robots using joint position control actuators, the expected contact force reference obtained by the prediction planning layer cannot be directly equivalent to the actual foot-to-ground action generated by the execution layer. If there is no conversion mechanism based on the support foot contact force feedback, the contact force reference is difficult to be stably mapped into executable joint position commands. This invention uses the expected contact force reference obtained by the prediction planning layer as the foot-to-ground action target, rather than as the direct force command issued by the joint position control actuator. By calculating the feedback contact force deviation between the expected contact force reference and the support foot contact force information, and converting the feedback contact force deviation into the support leg joint position correction amount, the position control actuator can indirectly adjust the foot-to-ground contact action under the joint position command interface, thereby improving the consistency between the actual support foot contact force and the expected contact force reference.

[0019] (3) In view of the redundancy in contact force distribution under the multi-support leg state, multiple support legs may generate the same overall resultant force and resultant moment of the body, but at the same time, they form redundant contact force components that do not change the overall motion of the body but increase the load of the support legs, resulting in local support leg overload, increased risk of foot slippage and increased actuator load. In the augmented nonlinear model predictive control, the present invention introduces multi-support leg contact force distribution constraints and support group internal force constraints to constrain the contact force reference of each support leg, restrict the redundant contact force components that cancel each other out between multiple support legs and do not change the overall resultant force and resultant moment of the body, thereby reducing the risk of local support leg overload, foot slippage, hydraulic pressure change and body oscillation under the multi-support state.

[0020] (4) For heavy hexapod robots that use joint position control actuators as the final execution output interface, the base reference, center of mass reference, swing leg trajectory and support leg joint position correction amount output by the prediction planning layer need to be uniformly coordinated in the high-frequency execution layer, and generate continuous executable joint position commands under the conditions of supporting leg contact maintenance, joint position limit, joint velocity limit and single-cycle position increment limit. This invention uses hierarchical inverse kinematics quadratic programming to uniformly handle the tasks of base motion tracking, center of mass velocity tracking, center of mass angular momentum tracking, swing leg trajectory tracking, support leg joint position correction and joint posture smoothing, and takes supporting leg contact maintenance, joint position limit, joint velocity limit and single-cycle position increment limit as high priority constraints, so as to generate continuous and executable joint position commands under the premise of satisfying contact stability and actuator motion capability constraints.

[0021] (5) The present invention further sets up a safety monitoring and graded protection mechanism to monitor online the slip index of the supporting leg, the contact force exceeding the limit, the friction cone margin, the internal force index of the supporting group, the joint movement exceeding the limit, the base posture angle, the single-cycle position increment and the support leg joint position correction amount, and executes downgrade control, replanning and shutdown protection according to the risk level, thereby improving the operational safety of the heavy hexapod robot under complex terrain and abnormal contact conditions. Attached Figure Description

[0022] Figure 1 This is a schematic diagram and a photograph of the overall structure of the heavy-duty hexapod robot described in this invention. Figure 2 This is a motion modal diagram of the heavy-duty hexapod robot described in this invention; Figure 3 This is a flowchart of the online predictive planning whole-body control framework described in this invention; Figure 4 This invention defines the joints and coordinate axes of the heavy-duty hexapod robot. Figure 5 The joint trajectories for the anti-interference motion of the heavy hexapod robot described in this invention are shown below; where LF, LH, LM, RF, RH, and RM are the leg names representing the order of left front, left rear, left middle, right front, right middle, and right rear; HAA, HFE, and KFE represent the first, second, and third joints of the leg, respectively. Detailed Implementation

[0023] The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0024] This invention provides an online real-time motion control method for a heavy-duty hexapod robot. The heavy-duty hexapod robot is characterized by large mass, large moment of inertia, large impact at the foot end, and slow actuator response, and uses a joint position control actuator as the final execution output interface.

[0025] Before acquiring the state and making model predictions, the mechanical structure, joints, and coordinate system of the heavy-duty hexapod robot are first defined in a standardized manner. For example... Figure 4 As shown, Figure 4 This document defines the joints and coordinate axes of the heavy-duty hexapod robot described in this invention. The heavy-duty hexapod robot comprises six legs, labeled according to their distribution as left anterior (LF), left middle (LM), left posterior (LH), right anterior (RF), right middle (RM), and right posterior (RH). Figure 4 The table shows that each leg includes a first joint, a second joint, a third joint, and a corresponding passive joint connected in sequence, and the rotational motion coordinate axes (X-axis, Y-axis, or Z-axis) for each joint are defined in detail. The above... Figure 4 The established joint labels, names, and coordinate mapping relationships provide a unified physical and geometric foundation for the subsequent construction of the center-of-mass momentum model, calculation of the Jacobian matrix, and performance of hierarchical inverse kinematics quadratic programming in this invention.

[0026] S1, State Acquisition and Estimation Obtain the robot's current state, which includes at least the generalized coordinates of the floating base pose, the floating base velocity, the center of mass velocity, the center of mass angular momentum, the positions and velocities of each joint, the foot contact state, and the contact force information of the supporting foot.

[0027] The center-of-mass velocity and center-of-mass angular momentum are obtained based on the floating base state, joint state, and robot center-of-mass momentum model. Support foot contact force information is obtained from at least one of the following: foot-end force sensor, hydraulic cylinder pressure, joint drive information, and inverse dynamics calculation results. Each joint velocity is used to initialize the actual effective joint velocity in the prediction layer, and the support foot contact force information is used to calculate the feedback deviation between the expected contact force reference and the actual foot-ground action.

[0028] S2: In the prediction layer, an augmented nonlinear model predictive control problem with execution lag perception is constructed. Within the finite prediction time domain, the center of mass velocity, center of mass angular momentum, generalized coordinates of the floating base pose, joint coordinates, and actual effective joint velocities are used as the augmented prediction states. The contact force references of each supporting foot and the joint velocity commands are used as optimization inputs. Based on the given motion reference and gait timing, the expected contact force references, joint velocity commands, swing foot trajectories, and supporting foot sets of each supporting foot are optimized.

[0029] Among them, the robot's center of mass momentum Defined as:

[0030] in, For linear momentum, Angular momentum, For total mass, The velocity of the center of mass; Augmented state vector Represented as:

[0031] in, Let the moment of mass of the robot at the k-th prediction step be denoted as . This represents the generalized coordinates of the floating base pose at the k-th prediction step. This represents the joint coordinates of the k-th prediction step. This represents the actual effective joint speed after considering the actuator response lag in the k-th prediction step.

[0032] Control input Represented as:

[0033] in, This represents the reference for the contact force of each support foot in the k-th prediction step issued by the NMPC planning layer. This represents the joint velocity command issued by the NMPC planning layer for the k-th prediction step. In this invention, the contact force reference... It serves only as a target for ground action in the predictive planning layer and is not used as a direct force command for the joint position control actuator.

[0034] To describe the response hysteresis caused by the joint position control actuators, hydraulic actuation channels, mechanical transmission chains, and internal position servo loops of heavy-duty hexapod robots, this invention introduces the actual effective joint speed into the predicted state. and joint speed command Speed ​​of actual effective joint The response differences between them are modeled as a first-order lag process:

[0035] in, The joint velocity response time constant matrix is ​​represented by a diagonal matrix:

[0036] In the formula, represents the response time constant of the execution channel of the i-th joint, and n represents the number of active joints.

[0037] During the sampling period Next, discretizing the above first-order hysteresis model, we obtain:

[0038] in, It is the identity matrix; The update scaling matrix for joint velocity commands to the actual effective joint velocities within a prediction step:

[0039] The smaller the value, the slower the actuator response; The closer it is to the identity matrix, the faster the joint speed command takes effect.

[0040] Joint coordinates are updated based on the actual effective joint velocities, rather than directly based on ideal joint velocity commands.

[0041] Therefore, NMPC can take into account the response lag of the actuators of heavy hexapod robots when predicting joint motion, avoiding the assumption that joint speed commands take effect instantaneously.

[0042] The robot's center-of-mass momentum is updated based on the contact forces of each supporting foot. Let the set of supporting feet for the k-th prediction step be... The contact force reference for the i-th supporting foot is... The position of the i-th supporting foot is The robot's center of mass is located at Then the differential equation of the center of mass momentum is:

[0043] Where g represents the gravitational acceleration vector.

[0044] After discretization, the center-of-mass momentum is updated as follows:

[0045] Since the center of mass momentum satisfies the following relationship with the floating base velocity and joint velocity:

[0046] in, This represents the center-of-mass momentum matrix block corresponding to the floating basis. This represents the mass-momentum matrix block corresponding to the joint. Indicates the velocity of the floating base. This indicates the actual effective joint speed.

[0047] From this, the velocity of the floating base can be obtained:

[0048] Then update the generalized coordinates of the floating base pose based on the floating base velocity:

[0049] in, The mapping matrix represents the generalized coordinate derivative of the floating base velocity to the floating base pose.

[0050] In step S2, multi-support-leg contact force distribution constraints are also applied to the contact force references of each support leg. These constraints include center-of-mass momentum dynamics constraints, contact mode constraints, upper and lower bound constraints on contact force, friction cone constraints, friction cone margin constraints, contact force change rate constraints, support leg load ratio constraints, and support group internal force constraints. Specifically, the center-of-mass momentum dynamics constraint ensures that the contact force references of each support leg can generate the overall resultant force and resultant torque that meets the body's motion requirements; the contact mode constraint ensures that the swinging leg does not distribute contact force, and the support legs participate in contact force optimization; the upper and lower bound constraints on contact force limit overload of a single support leg; the friction cone constraint and friction cone margin constraint reduce the risk of foot slippage; the contact force change rate constraint suppresses foot impact and sudden changes in hydraulic pressure; the support leg load ratio constraint avoids excessive load on local support legs in multi-support-leg states; and the support group internal force constraint limits the contact force components that cancel each other out without changing the overall resultant force and resultant torque of the body, thereby avoiding support leg overload, increased hydraulic pressure, foot slippage, and body oscillation caused by redundant multi-support contact.

[0051] In one implementation, the internal force components of the support group are expressed as follows:

[0052] The internal force constraints of the support group are expressed as follows:

[0053] in, This represents the internal force components of the support group in the k-th prediction step. Represents the internal force projection matrix. This represents the reference splicing vector of the contact force of each supporting foot. This represents the maximum permissible internal force of the support group. The internal force projection matrix can be constructed based on the position of the support foot and the mapping relationship between the contact force and the overall resultant force and moment of the body, or it can be obtained by the null space projection of this mapping relationship.

[0054] In addition, step S2 includes joint position constraints, joint velocity constraints, single-cycle position increment constraints, swing foot ground clearance constraints, foot reachability constraints, and foot-to-foot distance constraints. These constraints are used to ensure that the planning results meet the execution capabilities, structural limitations, and contact safety requirements of the heavy-duty hexapod robot.

[0055] S3, Correction of contact force feedback deviation to support leg joint position Based on the expected contact force references for each support foot obtained in step S2 and the corresponding support foot contact force information obtained in step S1, the feedback contact force deviation between the expected contact force references and the actual foot-ground action is calculated.

[0056] The feedback contact force deviation of the i-th supporting foot can be expressed as:

[0057] in, This represents the reference value for the expected contact force of the i-th supporting foot. This represents the contact force information of the i-th supporting foot. This represents the feedback deviation between the expected ground action and the actual ground action.

[0058] To reduce the impact of sensor noise and contact impact, the feedback contact force deviation is filtered, limited, and its rate of change is restricted. Subsequently, the feedback contact force deviation is converted into a support leg joint position correction amount through contact compliance mapping and Jacobian mapping.

[0059] In one implementation, the adjustment amount for the position of the supporting leg joint is expressed as:

[0060] in, This represents the joint position correction amount for the i-th supporting leg. This indicates the deviation of the feedback contact force after filtering. This represents the mapping matrix from the contact force feedback deviation to the correction amount of the supporting leg joint position. This indicates that the image is being limited.

[0061] When the actual foot contact force information representing the supporting foot is less than the expected contact force reference, a joint position correction amount is generated to increase the supporting leg's supporting effect; when the actual foot contact force information representing the supporting foot is greater than the expected contact force reference, a joint position correction amount is generated to decrease the supporting leg's supporting effect.

[0062] In this invention, the expected contact force reference in step S3 is not issued as a direct force command by the joint position control actuator, but is generated by feedback deviation to generate the support leg joint position correction amount, thereby indirectly adjusting the foot contact action in position control mode.

[0063] S4, High-frequency layered position tracking In the high-frequency hierarchical position tracking layer, the base motion reference and predicted actual effective joint velocity obtained in step S2, combined with the given swing foot trajectory and support foot set, and the support leg joint position correction obtained in step S3 are used as inputs, and the joint position increment is used as the optimization variable to establish a hierarchical inverse kinematics quadratic programming problem.

[0064] The optimization variables are:

[0065] in, This indicates the increment of the positions of all joints in the body during the current control cycle.

[0066] The hierarchical inverse kinematics quadratic programming problem can be represented as:

[0067] in, This is the optimal solution for the incremental changes in the positions of all joints in the body. Optimize variables for incremental joint positions throughout the body; The Jacobian matrix represents the base motion task. Indicates the base motion reference increment. The Jacobian matrix representing the center-of-mass momentum task is... This represents the reference increment of the center of mass momentum. The Jacobian matrix represents the swinging foot task. Indicates the increment of the swing foot reference position. This represents the matrix for selecting the supporting leg joint. This represents the adjustment amount for the support leg joint position obtained from step S3. , , , and These represent the corresponding task weight matrices.

[0068] The hierarchical inverse kinematics quadratic programming problem satisfies the following constraints:

[0069]

[0070]

[0071] in, This indicates the control cycle of the high-frequency position tracking layer.

[0072] The task of maintaining foot contact is treated as a high-priority constraint.

[0073] in, This represents the Jacobian matrix for the supporting leg task. The supporting leg joint position correction task guides the supporting leg to produce position adjustments corresponding to the feedback contact force deviation without disrupting the supporting leg contact maintenance, joint position limits, joint velocity limits, and single-cycle position increment limits.

[0074] The task priorities are set as follows: supporting foot contact maintenance, joint position limitation, joint velocity limitation, and single-cycle position increment limitation are the highest priorities; base motion tracking, center of mass velocity tracking, and center of mass angular momentum tracking are the next highest priorities; swing foot trajectory tracking is the next lowest priority; and supporting leg joint position correction and joint posture smoothing are the lowest priorities. By setting these priorities, the foot-ground contact action can be indirectly adjusted while ensuring contact stability and execution safety.

[0075] S5, Joint Position Command Update and Execution The joint position command is updated according to the joint position increment obtained in step S4, and the joint position command is sent to the joint position control actuator.

[0076] In one implementation, the joint position command is updated as follows:

[0077] in, This indicates the joint position command to be sent to the joint position control actuator in the next control cycle. This indicates the joint position command for the current control cycle. This represents the joint position increment obtained by solving the hierarchical inverse kinematics quadratic programming problem.

[0078] The joint position command is sent to the joint position control actuator after being processed by amplitude limiting, filtering, and speed limiting. This invention does not directly output joint torque commands, nor does it send the desired contact force reference as a direct force command to the actuator. The final execution interface is always the joint position command.

[0079] To verify the effectiveness and stability of the control system architecture and the final generated joint position commands described in this invention during actual operation, this embodiment records the robot's underlying operational data under a physical testing environment. For example... Figure 5 As shown, Figure 5 The joint trajectories of the heavy-duty hexapod robot described in this invention for interference-resistant movement are demonstrated.

[0080] Combination Figure 4 Joint definition, Figure 5The three sets of curves, from top to bottom, record the actual position (in rad) of each leg's HAA (the first joint), HFE (the second joint), and KFE (the third joint) over time (in seconds). Figure 5 The trajectory data shows that, after the comprehensive processing of augmented nonlinear model predictive control with execution lag perception (step S2), contact force feedback correction (step S3), and high-frequency hierarchical position tracking (step S4), the generated bottom-level joint position trajectory exhibits good periodicity and smoothness. Even under the conditions of foot contact impact and heavy body inertial coupling, the joint angles can still maintain stable following, without high-frequency oscillations or positional abrupt changes caused by execution channel response lag or redundant internal force conflicts. This test data fully demonstrates that the method of the present invention can achieve safe, continuous, and robust online motion control of heavy-duty legged robots under the constraints of the position control actuator interface.

[0081] S6, Security Monitoring and Graded Protection The invention also includes a safety monitoring step. The safety monitoring module monitors in real time the soft constraint penalty value, supporting foot slippage index, contact force exceeding the limit, friction cone margin, supporting group internal force index, joint position exceeding the limit, joint speed exceeding the limit, base attitude angle, single-cycle position increment, and supporting leg joint position correction amount, and determines the risk level based on the monitoring results.

[0082] When the risk level is Level 1, degradation control is implemented. This degradation control includes reducing the desired movement speed, tightening the friction cone constraint, reducing the upper limit of the single-cycle position increment, and reducing the upper limit of the supporting leg joint position correction. Level 1 is used to address situations where the supporting foot tends to slip, friction margin decreases, soft constraint penalties increase, and joint movement approaches limitation.

[0083] When the risk level is the second risk level, a replanning process is performed. This replanning includes reallocating the contact force references for each support foot, adjusting the support foot set, regenerating the swing foot trajectory, and resolving the augmented nonlinear model predictive control problem. The second risk level is used to address situations where contact force exceeds limits, internal forces within the support group are excessive, the swing foot trajectory is unreachable, and the current contact mode fails to meet stable support requirements.

[0084] When the risk level is level three, a protective stop is executed. This protective stop includes freezing the current gait, maintaining the current supporting foot contact state, outputting a safe joint position command, and triggering a shutdown protection mechanism. Level three is used to address situations where the base posture angle exceeds a safe threshold, joint position severely exceeds limits, continuous supporting foot slippage, contact force severely exceeds limits, and single-cycle position increment severely exceeds limits.

[0085] Through the aforementioned safety monitoring and graded protection mechanism, timely protection can be provided when the supporting foot slips, the contact force exceeds the limit, the internal force of the supporting group is too large, the joint movement approaches the limit, or the base posture becomes unstable.

Claims

1. A method for online real-time motion control of a heavy-duty hexapod robot, characterized in that, A joint position control actuator is used as the final execution output interface; The method includes: S1, Obtain the current state of the robot. The current state includes at least the generalized coordinates of the floating base pose, the floating base velocity, the center of mass velocity, the center of mass angular momentum, the position and velocity of each joint, the set of supporting feet corresponding to the given contact sequence, the contact state of each supporting foot, and the contact force information of the supporting feet. S2, given the motion reference and the contact timing, construct an augmented nonlinear model predictive control problem with hysteresis sensing. In the finite prediction time domain, the center of mass velocity, center of mass angular momentum, floating base pose generalized coordinates and joint coordinates are used as the prediction states. The contact force reference of each supporting foot and the joint velocity command are used as the optimization input. The actual effective joint velocity under the joint velocity command is predicted through the hysteresis model. The actual effective joint velocity is used as the augmented prediction state. In the prediction time domain, the joint coordinates, floating base state, center of mass velocity and center of mass angular momentum are updated using the actual effective joint velocity. S3, based on the expected contact force reference of each supporting foot obtained in S2 and the corresponding supporting foot contact force information obtained in S1, calculate the feedback contact force deviation between the expected contact force reference and the actual foot-ground action, and then generate the support leg joint position correction amount. In S4, at the high-frequency hierarchical position tracking layer, the base motion reference, center of mass velocity reference, center of mass angular momentum reference, swinging foot trajectory, supporting foot set, predicted actual effective joint velocity obtained in S2, and supporting leg joint position correction amount obtained in S3 are used as inputs. The joint position increment is used as the optimization variable to establish a hierarchical inverse kinematics quadratic programming problem. Among them, supporting foot contact maintenance, joint position limit, joint velocity limit, and single-cycle position increment limit are treated as the highest priority constraints. The base motion tracking task, center of mass velocity tracking task, center of mass angular momentum tracking task, swinging foot trajectory tracking task, supporting leg joint position correction task, and joint posture smoothing task are optimized together according to priority. The supporting leg joint position correction task guides the supporting leg to generate position adjustment corresponding to the feedback contact force deviation without breaking the supporting foot contact maintenance constraint. S5, update the joint position command according to the joint position increment obtained in S4, and send the joint position command to the joint position control actuator; wherein, the joint position command satisfies the joint position limit, the joint speed limit and the single-cycle position increment limit.

2. The method as described in claim 1, characterized in that, In S2, the first-order hysteresis model predicts the joint speed that can actually be effective in the current prediction step based on the actual effective joint speed of the previous prediction step and the joint speed command of the current prediction step.

3. The method as described in claim 1, characterized in that, In step S3, the feedback contact force deviation is calculated based on the expected contact force reference of each support foot and the corresponding support foot contact force information, and is then processed by filtering, contact compliance mapping, Jacobi mapping and amplitude limiting to generate the support leg joint position correction amount.

4. The method as described in claim 3, characterized in that, The joint position correction amount of the supporting leg satisfies the following relationship: when the actual foot-ground action represented by the supporting foot contact force information is less than the expected contact force reference, a joint position correction amount is generated to increase the supporting leg's supporting effect. When the actual foot-ground action represented by the supporting foot contact force information is greater than the expected contact force reference, a joint position correction amount is generated to reduce the supporting leg's supporting action. The joint position command jump caused by the joint position correction amount of the supporting leg is limited by the upper limit of the single-cycle joint position correction amount.

5. The method as described in claim 1, characterized in that, In S4, the hierarchical inverse kinematics quadratic programming problem includes: a support foot contact maintenance task to suppress undesirable displacement of the support foot in the support phase; a support leg joint position correction task to track the support leg joint position correction amount obtained from the feedback contact force deviation; a base motion task to track the base position, base attitude, base velocity, and base angular velocity reference; a center of mass momentum task to track the center of mass velocity reference and center of mass angular momentum reference; a swing leg task to track the swing leg position trajectory, landing point, and lifting height; and a joint attitude smoothing task to make the joint position command close to the reference attitude and the joint position command of the previous control cycle.

6. The method as described in claim 1, characterized in that, In S4, the task priority is set as follows: supporting foot contact maintenance, joint position limit, joint velocity limit and single-cycle position increment limit are the highest priority. The base motion tracking task, the center of mass velocity tracking task, and the center of mass angular momentum tracking task are given the second highest priority; the swing foot trajectory tracking task is given the next highest priority. The supporting leg joint position correction task and the joint posture smoothing task are assigned as low priority; wherein, the supporting leg joint position correction task adjusts the supporting leg joint position command without breaking the supporting foot contact maintenance constraint, so as to indirectly adjust the foot-ground contact action in the position control mode.

7. The method as described in claim 1, characterized in that, In step S2, a multi-support foot contact force distribution constraint is applied to the contact force reference of each support foot. The multi-support foot contact force distribution constraint includes a center of mass momentum dynamics constraint, a contact mode constraint, upper and lower bound constraints of contact force, a friction cone constraint, a friction cone margin constraint, a contact force change rate constraint, a support leg load ratio constraint, and a support group internal force constraint. The support group internal force constraint is used to limit the contact force components that cancel each other out between multiple support feet without changing the overall resultant force and resultant moment of the body.

8. The method as described in claim 1, characterized in that, In step S2, a swing foot reference trajectory is generated based on the given gait timing, terrain height estimation, foot reachability domain, and minimum ground clearance margin. The swing foot reference trajectory includes the swing foot start point, swing foot landing point, swing trajectory vertex height, and swing time parameters. Step S4 generates the joint position increment of the corresponding swing leg based on the swing foot reference trajectory, and updates the joint position command of the corresponding swing leg in step S5.

9. The method as described in claim 1, characterized in that, The method also includes a safety monitoring step: real-time monitoring of soft constraint penalty value, supporting foot slippage index, contact force exceeding limit, friction cone margin, supporting group internal force index, joint position exceeding limit, joint speed exceeding limit, base posture angle, single-cycle position increment, and supporting leg joint position correction amount, and determining the risk level based on the monitoring results; When the risk level is the first risk level, downgrade control is implemented; when the risk level is the second risk level, replanning is implemented; when the risk level is the third risk level, protection is stopped.

10. A heavy-duty hexapod robot control system for implementing the method of any one of claims 1 to 9, characterized in that, include: The state estimation module is used to obtain information on the floating base state, joint state, foot contact state, and supporting foot contact force. The augmented predictive planning module is used to run an augmented nonlinear model predictive control problem with execution lag perception. Under the combined action of multi-support foot contact force distribution constraints, support group internal force constraints, and the execution lag model, it outputs base motion reference, center of mass velocity reference, center of mass angular momentum reference, swing foot reference trajectory, support foot set, desired contact force reference, joint velocity command, and predicted actual effective joint velocity. The contact force to joint position correction module is used to convert the feedback contact force deviation between the desired contact force reference and the support foot contact force information into the support leg joint position correction amount. The hierarchical position tracking module is used to solve the hierarchical inverse kinematics quadratic programming problem and generate joint position increments; The execution interface module is used to update the joint position command according to the joint position increment, and send the joint position command to the joint position control actuator; The safety monitoring module is used to determine the risk level based on the soft constraint penalty value, support foot slippage index, contact force exceeding the limit, friction cone margin, support group internal force index, joint position exceeding the limit, joint speed exceeding the limit, base attitude angle, single-cycle position increment, and support leg joint position correction amount, and to perform downgrade control, replanning, and shutdown protection according to the risk level.