Robust walking control method for biped robot based on implicit perception reinforcement learning

By constructing an implicit perception mechanism and an adaptive gating control architecture, the problems of control stability and disturbance resistance of bipedal robots in complex dynamic disturbance environments were solved, achieving smooth walking and high fall resistance survival rate in multi-dimensional disturbance environments.

CN123156871APending Publication Date: 2026-11-24JILIN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611152083.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-31
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing reinforcement learning control methods for bipedal robots struggle to effectively characterize implicit environmental features when faced with complex dynamic disturbance environments. They also find it difficult to coordinate steady-state performance with disturbance rejection capabilities, and training is prone to divergence in high-dimensional disturbance spaces, leading to unstable control strategies.

Method used

We adopt a reinforcement learning-based robust walking control method for bipedal robots based on implicit perception. By constructing an asymmetric Actor-Critic architecture and combining it with a temporal convolutional network to extract implicit dynamic features, we introduce an adaptive gating control architecture that coordinates nominal and residual data and use an adaptive curriculum learning mechanism for training to enhance the representation and perception capabilities of dynamic disturbances.

Benefits of technology

Without relying on explicit physical parameter identification and privileged sensors, the robot achieves stable walking and high fall resistance survival rate in multi-dimensional perturbation environments, thus improving the robot's robustness and disturbance resistance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123156871A_ABST
    Figure CN123156871A_ABST
Patent Text Reader

Abstract

This invention discloses a robust walking control method for bipedal robots based on implicit perception, belonging to the field of reinforcement learning control for bipedal robots. This method aims to address the insufficient robustness of existing technologies. The method first trains a nominal walking strategy based on an asymmetric actor-critic architecture in a nominal simulation environment and freezes its parameters. Then, a temporal convolutional network is used to extract implicit dynamic representations related to disturbances from historical ontology-aware observations, and motion compensation is generated by a residual policy and an adaptive gating network. With the nominal policy parameters frozen, the sampling range of ground friction coefficient, torso mass deviation, and external transient impacts is gradually expanded through adaptive curriculum learning based on survival performance, training the implicit dynamic encoder, residual policy, and adaptive gating network. Through the synergy of these mechanisms, this method improves the disturbance resistance robustness and balance recovery capability of bipedal robots in dynamic disturbance environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of artificial intelligence and robot control, and more specifically, relates to a robust walking control method for bipedal robots based on implicit perception and reinforcement learning (RL). Background Technology

[0002] With the development of artificial intelligence and robotics, humanoid bipedal robots have become an important research subject in the field of robotics due to their ability to adapt to complex environments. However, due to the high-dimensionality, underactuated, strongly coupled, and complex nonlinear dynamic characteristics of bipedal robots, their walking control problem has always been a key challenge in the motion control of high-degree-of-freedom systems.

[0003] Traditional model-based control methods struggle to balance modeling accuracy and disturbance robustness in complex tasks. In recent years, reinforcement learning (RL) has provided a data-driven paradigm for bipedal robot walking control, enabling agents to autonomously acquire control strategies through continuous interaction with a physical simulation environment, thus freeing them from dependence on precise physical models. However, when faced with dynamic parameter perturbations and external disturbances in unstructured environments, reinforcement learning strategies trained on a single deterministic physical model often fail to maintain stable disturbance robustness.

[0004] Existing reinforcement learning control strategies generally lack targeted disturbance rejection design, making them highly susceptible to state drift and control instability when encountering complex dynamic disturbances such as changes in ground friction coefficient, random load disturbances, and external force impacts. While conventional domain randomization methods can enrich sample diversity to some extent, they lack effective representation of environmental changes, making it difficult to balance steady-state walking performance with dynamic disturbance rejection capabilities. Furthermore, single policy networks often struggle to achieve a balance between efficient and stable basic walking and high-intensity disturbance rejection compensation when dealing with high-dimensional continuous action spaces.

[0005] In dynamic perturbation environments, the dynamic parameters affecting the motion response of bipedal robots are often not directly observable by the policy and are implicit variables in the environment. If high-dimensional historical observations are directly used for end-to-end mapping, the policy network struggles to extract key dynamic features related to perturbations from redundant temporal information, easily leading to numerical instability in compensation behavior. Furthermore, if random sampling training is performed directly in a global parameter space containing various extreme perturbations, the agent is prone to difficulty in forming a stable gait due to excessively strong early perturbations, becoming bogged down in the exploration challenges of high-dimensional parameter spaces.

[0006] In summary, existing reinforcement learning control methods for bipedal robots still face inherent limitations when dealing with complex dynamic disturbances, including insufficient implicit environmental feature representation, difficulty in coordinating steady-state and disturbance rejection performance, and easy divergence during training in high-dimensional disturbance spaces. How to extract implicit dynamic features from limited ontological history perception to enhance environmental representation capabilities, and how to construct adaptive motion compensation and progressive training mechanisms while maintaining basic gait stability, have become key technical challenges in improving the robust walking control performance of bipedal robots. Summary of the Invention

[0007] This invention aims to overcome the problems of insufficient robustness and difficulty in coordinating steady-state walking and anti-interference capabilities when facing dynamic parameter perturbations and external dynamic disturbances in existing reinforcement learning control strategies based on proximal policy optimization (PPO) algorithms. It provides a reinforcement learning-based robust walking control method for bipedal robots based on implicit perception to improve the anti-disturbance robustness and balance recovery capability of bipedal robots in dynamic disturbance environments.

[0008] The technical solution adopted in this invention is as follows: A robust walking control method for bipedal robots based on implicit perception through reinforcement learning, comprising the following steps:

[0009] S1. Establish a dynamic model of a bipedal robot with generalized dynamic disturbances: Taking a 23-DOF floating base bipedal robot as the object, introduce dynamic uncertainty parameter vectors and external transient impact disturbance terms to construct dynamic equations;

[0010] S2, Build a parallel simulation environment and train the nominal policy: Construct an asymmetric actor-critic architecture. The policy network (Actor) takes only ontology-aware observations as input and outputs action distribution. The value network (Critic) takes additional privileged observations containing real linear velocity as input. The nominal policy is trained in the nominal simulation environment based on the near-end policy optimization algorithm. After the nominal policy converges, its network parameters are frozen.

[0011] S3, Construct an implicit dynamics perception module: Obtain a historical observation sequence consisting of 50 consecutive control time points of ontology perception observation, use a temporal convolutional network (TCN) as an implicit encoder, extract features through three layers of one-dimensional causal dilated convolutional layers, and output an implicit representation vector representing unobservable perturbation parameters; the kernel size of the three layers of one-dimensional causal dilated convolutional layers is 3, and the dilation coefficients are 1, 2 and 4 respectively;

[0012] S4, construct an adaptive gating architecture that coordinates nominal and residual actions: decouple the action into a nominal baseline action and a residual compensation action, and fuse them according to the gating gain to generate the final action. The gating network takes only the implicit representation vector as input and outputs a gating gain of 0 to 1 via Sigmoid.

[0013] S5. Training the residual gating policy under the condition of freezing the nominal policy parameters: Construct an adaptive course learning mechanism, linearly interpolate the course factor between the nominal and maximum disturbance boundaries, adjust the sampling interval for three variables: ground friction coefficient, torso mass deviation, and external transient impact amplitude, and when the average survival steps within the evaluation window are not less than 0.8 times the maximum cutoff steps in a single round, increase the course factor in a stepwise manner by 0.02 to train the implicit dynamic encoder, residual policy network, and adaptive gating network.

[0014] S6 uses the trained strategy to control the bipedal robot to walk robustly in dynamic disturbance environments.

[0015] Preferably, in step S1: it is defined as a floating base system in three-dimensional physical space, and a generalized coordinate vector is defined. ,in This indicates the three-dimensional position and orientation of the base. Represents the active joint angles; the dynamic equations of the bipedal robot including generalized dynamic perturbations:

[0016]

[0017] in, The inertia matrix, The matrix of Coriolis force and centrifugal force. It is the gravity vector; The dynamic uncertainty parameter vector introduced in this invention includes ground friction coefficient, fuselage mass deviation, and actuator stiffness damping deviation, etc. The selection matrix is ​​used to drive the joint torque. Mapped to the generalized force space; To access the Jacobian matrix, Contact force at the foot tip; This is the equivalent generalized disturbance term corresponding to the external shock.

[0018] Preferably, in step S2: the ontology-aware observation vector For 80 dimensions, it is represented as:

[0019]

[0020] The sequence includes the base triaxial angular velocities provided by the inertial measurement unit. Projection of the gravity vector in the base coordinate system Mixed control commands for linear velocity and yaw rate Angles of each drive joint relative to the default joint Normalized positional bias Joint angular velocity Action commands output by the policy network at the previous time step and the normalized phase embedding features of the current gait cycle. ; These are the normalized scaling factors for the base three-axis angular velocity, motion control command, joint position deviation, and joint angular velocity, respectively.

[0021] The privileged observation vector is 83-dimensional, in the ontology-aware observation vector. In addition, the actual linear velocity of the base provided by the simulator is introduced, which is expressed as:

[0022]

[0023] The actual linear velocity of the base. This is the normalized scaling factor for the actual linear velocity of the base.

[0024] Preferably, in step S2: the motion space is defined as the residual position of the target joints of the bipedal robot with 23 active degrees of freedom, and the policy network outputs the motion. The target joint position is obtained by linearly mapping and superimposing the default joint angles using the motion scaling factor, and then the driving torque applied to the motor is calculated by the underlying proportional-derivative controller.

[0025]

[0026]

[0027] in, The default joint angle. This is the action scaling factor. , These are the joint stiffness matrix and damping matrix, respectively. and These represent the current actual joint position and velocity, For driving torque;

[0028] Preferably, in step S2, the optimization objective of the near-end policy optimization algorithm is constructed as follows: first, calculate the ratio of action probabilities between the old and new policies under the same ontology-aware observation input:

[0029]

[0030] in, For parameterized policy networks, These are the weight parameters of the policy network. This is the action mean vector output by the policy network; Let be the covariance matrix of the action distribution. The standard deviation parameter, Represents a Gaussian distribution; The old strategy distribution before the update;

[0031] Reconstruct the surrogate objective function with a pruning threshold:

[0032]

[0033] in, The cropping threshold, Represents mathematical expectation, This is the estimate of the dominance function obtained from the generalized dominance estimation. , As a discount factor, The smoothing attenuation coefficient for GAE. Cut off the number of moves for each round. This is a single-step timing difference error. For parameterized value networks, The composite reward function is defined as a weighted sum of six sub-objectives, including: (1) task tracking and command response reward; (2) posture and stability reward; (3) foot and gait constraint reward; (4) energy consumption and motion smoothness reward; (5) joint constraint and limit reward; and (6) safety boundary and survival reward.

[0034] Constructing the value regression loss function:

[0035]

[0036] in, Accumulate rewards for the goals used to update the value network;

[0037] The pruning agent target, value regression loss, and policy entropy regularization term are linearly combined into a comprehensive loss function for network updates:

[0038]

[0039] in, For value regression loss function, and These are the value loss coefficient and the policy entropy regularization coefficient, respectively. This is the policy entropy regularization term.

[0040] Preferably, in step S3, the historical observation sequence is represented as...

[0041]

[0042] The implicit encoder consists of three stacked causal-dilated convolutional layers, the first of which... The output of the layer at time t is defined as Then the first Layer at time Output It can be defined by the following dilated convolution operation:

[0043]

[0044] in It is the activation function of the exponential linear unit. , For the first Layer convolution kernel weights and biases, The kernel size is set to 3; This is the summation index in the convolution operation, with values ​​ranging from 0 to... ; Indicates the first The expansion coefficients of the layers are taken sequentially. The feature sequence after three layers of causal dilated convolution is flattened and then reduced in dimension by a fully connected projection layer to output an implicit dynamic representation vector.

[0045]

[0046] This vector can highly summarize the implicit dynamic characteristics of the current environment (disturbance parameters that cannot be directly observed), and serve as the core input for subsequent residual gating control strategies.

[0047] Preferably, in step S4, the final action follows a hybrid control law.

[0048]

[0049]

[0050] The gated gain vector Characterizing vectors using implicit dynamics The input is a multilayer perceptron (MLP) mapped to the input, and the output is obtained by the sigmoid activation function; the gated gain vector is... With the residual compensation action Element-wise multiplication followed by superposition to the nominal baseline action This allows for adaptive adjustment of the compensation intensity; the nominal reference action is the action output by the frozen nominal policy network based on the current ontology perception observation; the implicit dynamic representation vector serves as the input to both the residual policy network and the adaptive gating network, making both residual compensation and gating adjustment driven by implicit perception; the final action is amplitude-limited before being input to the underlying proportional-derivative controller, limiting each component to the range of negative one to one.

[0051] Preferably, in step S5, the course factor The sampling intervals of the three variables are linearly interpolated between the nominal boundary and the maximum perturbation boundary as the course factor changes:

[0052]

[0053]

[0054]

[0055] The initial course factor is set to 0, the evaluation window size is 100 rounds, and the average number of survival steps within this window is calculated. ;when Not less than 0.8 of the maximum cutoff steps in a single round. When the value is doubled, adjust the growth step size accordingly. Step-by-step improvement of course factors .

[0056] The beneficial effects of this invention are:

[0057] (1) An implicit dynamic perception mechanism based on temporal causal convolution is proposed, which enables the control system to autonomously extract multi-scale features from local historical observation sequences, thereby enhancing the characterization and perception capabilities of unstructured dynamic disturbances.

[0058] (2) Construct an adaptive gating control architecture that coordinates nominal and residual functions to avoid conflicts when a single-policy network processes composite targets and achieve a dynamic balance between smooth walking and extreme disturbance resistance;

[0059] (3) Introduce an adaptive course learning and training mechanism based on survival performance, and dynamically adjust the perturbation boundary of environmental parameters according to the robot's real-time anti-disturbance capability to avoid strategy divergence in the early stage of training under high-dimensional perturbation space;

[0060] (4) Without relying on explicit physical parameter identification and privileged sensors, the implicit perception, residual motion compensation and curriculum exploration are effectively coordinated to achieve a more robust bipedal robot walking control effect with a higher fall resistance survival rate in an unstructured environment with multidimensional disturbances. Attached Figure Description

[0061] Figure 1Here is a structural diagram of the Unitree G1 bipedal robot;

[0062] Figure 2 This is a schematic diagram of the dynamic uncertainty and disturbance model of a bipedal robot.

[0063] Figure 3 This is a structural diagram of an implicit dynamic encoder (TCN) based on causal dilated convolution;

[0064] Figure 4 A block diagram of the adaptive gating control strategy architecture that coordinates nominal and residual control;

[0065] Figure 5 The average reward versus average round length curves for different control strategies are generated. Detailed Implementation

[0066] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be noted that these embodiments are only used to explain the present invention and are not intended to limit its scope of protection.

[0067] Phase 1: Establishing a Model for Dynamic Uncertainties and Disturbances

[0068] This embodiment uses the Unitree G1 bipedal robot with 23 active degrees of freedom (DOF) as the controlled object, such as... Figure 1 As shown, its hip, knee, and ankle joints are the main driving joints, and the whole system is defined as a floating base system in three-dimensional physical space. Figure 2 As shown, the dynamic uncertainty and disturbance model encompasses system delay, external force disturbances, perturbations of body dynamic parameters (mass, center of mass shift, link characteristics), environmental interaction characteristics (friction coefficient, restitution coefficient), and underlying driving characteristics (stiffness, damping, motor torque efficiency). The constructed dynamic equations containing generalized dynamic disturbances are as follows:

[0069] (1)

[0070] It is a generalized coordinate vector that includes the floating base attitude and joint angles. and These are the generalized velocity and generalized acceleration vectors of the system, respectively; The inertia matrix, The matrix of Coriolis force and centrifugal force. It is the gravity vector; The dynamic uncertainty parameter vector introduced in this invention includes ground friction coefficient, fuselage mass deviation, and actuator stiffness damping deviation, etc. The driving selection matrix is ​​used to map the torque to the generalized force space; For joint torque, To access the Jacobian matrix, For foot contact force, This is the equivalent generalized disturbance term corresponding to the external shock.

[0071] Phase Two: Construction of Simulation Environment for Bipedal Robots and Design of Markov Decision Processes

[0072] Based on the aforementioned generalized dynamics model, a simulation training environment is configured in the parallel physics engine Isaac Gym, and the joint actuators are modeled as proportional-differential controllers with joint stiffness and damping. Furthermore, the walking control process of the bipedal robot is modeled as a partially observable Markov decision process. By defining the state observation space, action space, and reward function in detail, an interaction mechanism between the agent and the environment is constructed.

[0073] First, a state observation space supporting an asymmetric Actor-Critic architecture is constructed. At time... Define ontology state observation Observation of privileged status Body state observation only includes local physical information obtainable by the robot's sensors, covering base kinematics, joint state feedback, command targets, and temporal features. Its vector representation is:

[0074]

[0075] in, The base triaxial angular velocity provided for the inertial measurement unit; This is the projection of the gravity vector onto the base coordinate system, used to characterize the tilt attitude; It is a mixed control command for linear velocity and yaw rate; The default joint angle. This represents the normalized positional deviation of each driven joint relative to the default joint angle. Joint angular velocity; The action command output by the policy network in the previous time step; For temporal phase embedding features, This is the normalized phase variable for the current gait cycle; The terms in the table represent the base three-axis angular velocity, motion control command, joint position deviation, and normalized scaling factor of joint angular velocity, respectively.

[0076] To reduce the variance of value estimation during the training phase, privileged observation vectors The dimensions are expanded to 83. Compared to ontology-based observation, it additionally introduces the true linear velocity of the base in the simulated world coordinate system. Its vector representation is:

[0077]

[0078] in, This is the normalized scaling factor for the actual linear velocity of the base.

[0079] Secondly, a motion space based on joint position residuals is constructed. The motion space is defined as the target joint position residuals for the robot's 23 active degrees of freedom. The policy network outputs the actions. It is converted into the joint target position through motion scaling and default joint position offset. The driving torque ultimately applied to the motor is then calculated using the underlying proportional-derivative controller. Its control mechanism is as follows:

[0080]

[0081]

[0082] in, These are the robot's default joint angles; This is the motion scaling factor, used to limit the range of motion to ensure safety; and These are the joint stiffness and damping matrices, respectively; and These represent the current actual joint position and velocity, respectively. Under simplified conditions such as neglecting coupling terms, the joint PD closed loop can be approximated as a second-order system, which can significantly smooth high-frequency control signals.

[0083] Finally, a composite reward function based on motion coordination is constructed. Reward function The aim is to guide the agent to develop a natural walking gait while fulfilling the task objectives, defined as a weighted sum of six sub-objectives: Specific constraints include:

[0084] (1) Task tracking and command response reward: includes penalties for deviations of actual linear velocity and angular velocity from command values.

[0085] (2) Attitude and stability rewards: including base relative to support foot height penalty, base attitude projection penalty, vertical velocity penalty and horizontal angular velocity regularization.

[0086] (3) Foot and gait constraint rewards: including adaptive periodic gait rewards (forced constraints on double support phase and ground contact phase), foot lateral distance rewards, sliding penalties, non-ground collision (tripping) penalties and over-limit ground reaction force penalties.

[0087] (4) Energy consumption and motion smoothness reward: includes regularization penalties for motion change rate, joint mechanical power, joint speed and acceleration.

[0088] (5) Joint constraints and limit rewards: including posture regression constraints on the upper limbs, waist and hips, as well as soft limit penalties for joint positions.

[0089] (6) Safety boundary and survival reward: includes fixed reward for maintaining survival, non-foot abnormal collision penalty and movement stagnation penalty.

[0090] Phase 3: Construction of PPO control strategy based on asymmetric Actor-Critic

[0091] Based on Markov decision processes, to address the issue of large variance in value assessment caused by the high-dimensional state space in reinforcement learning under dynamic perturbation environments, a proximal policy optimization algorithm based on an asymmetric Actor-Critic architecture is constructed. The basic policy is trained in a perturbation-free nominal simulation environment. The specific steps are as follows:

[0092] First, an asymmetric Actor-Critic neural network architecture is constructed. The policy network Actor is parameterized as follows: Only using the ontology perception observation vector Given the input, the output is a Gaussian distribution of the continuous action space, whose probability density function is expressed as:

[0093]

[0094] in, These are the weight parameters of the policy network; This is the action mean vector output by the policy network; Let be the covariance matrix of the action distribution. This is the standard deviation parameter.

[0095] The value network Critic network is parameterized as follows: During the parallel simulation training phase, additional privileged state observations, including the actual linear velocity of the base, are received. This is used to output the estimated global value of the current state. This design utilizes the realistic linear velocity provided by the simulator to eliminate the value estimation bias caused by local observability, significantly improving the estimation accuracy of policy gradients during training without increasing the perception requirements of the control execution end.

[0096] In this embodiment, the number of neurons in the fully connected hidden layers of both Actor and Critic is set to 1. The activation function used is ELU.

[0097] Subsequently, the agent interacts with the simulation environment and collects batch trajectory data, combining this with the value prediction of the Critic network to estimate the advantage function and calculate the target reward. At any interaction time step... Utilize the value of the privileged state at the current moment and the immediate rewards from environmental feedback. And the single-step timing difference error for calculating the privileged state value at the next moment is given by the following formula:

[0098]

[0099] in, is the discount factor. To achieve the optimal trade-off between the bias and variance of the policy gradient, the generalized dominance estimation method is used to exponentially weight the time-series difference error, and the estimated dominance function is calculated as follows:

[0100]

[0101] in, The smoothed decay coefficient is the estimate of the generalized dominance. This represents the round-cutoff time step for a single interaction experience trajectory. Simultaneously, the target cumulative reward used to update the value network is calculated. This serves as the benchmark for regression fitting of the Critic network.

[0102] Finally, a comprehensive loss function with a pruning mechanism is constructed and network parameter optimization is performed to constrain the policy update stride in the high-dimensional continuous action space and prevent divergence during training. The algorithm first calculates the observations of the new and old policies on the same local ontology.

[0103] The probability ratio of actions under the input:

[0104]

[0105] in, The distribution is the old policy distribution before the update. Based on this probability ratio, a proxy objective function with a divergence-preventing truncation boundary is constructed:

[0106]

[0107] in, The hyperparameter pruning threshold is used to constrain policy updates within a safe confidence region.

[0108] To guide the value network in accurately reducing valuation residuals and approaching target returns, a value regression loss function for the Critic network is constructed using mean squared error:

[0109]

[0110] In addition, a policy entropy regularization term is introduced into the overall objective. To maintain the diversity of action distribution and prevent the strategy from getting trapped in local optima too early, the above-mentioned truncated agent objective, value regression loss, and policy entropy regularization term are linearly combined to construct the overall comprehensive loss function:

[0111]

[0112] in, and These are the value function loss weight coefficient and the policy entropy regularization coefficient, respectively. On mini-batch samples trained in parallel, the Adam optimizer is used to perform gradient backpropagation on this comprehensive loss function, alternately updating the Actor and Critic network parameters until the policy fully converges, thereby establishing a robust basic walking control policy. After the basic walking control policy converges, the Actor network parameters are frozen and used as the subsequent nominal policy network.

[0113] Phase 4: Construction of an implicit dynamic encoder based on causal dilated convolution

[0114] In dynamic perturbation environments, the dynamic parameters affecting the motion response of bipedal robots are often not directly observable by the policy network, and therefore can be considered as implicit variables in the environment. If a direct end-to-end mapping is performed using high-dimensional historical observation sequences, the policy network often struggles to extract key dynamic features related to the perturbation from redundant temporal information, easily leading to instability in subsequent compensation behaviors. To enable the control policy to dynamically adjust according to environmental characteristics, this method constructs a mapping function that can infer and extract implicit dynamic representations from the observation history. .

[0115] Regarding the selection of network structures for sequence feature extraction, although recurrent neural networks are often used to process time-series data, the gradient vanishing problem caused by their inherent serial computation severely limits the network's ability to capture and represent long-term historical information. Therefore, this step adopts TCN as an implicit dynamic encoder. By introducing causal constraints and dilated convolutions, the TCN architecture can effectively expand the temporal receptive field without significantly increasing the network depth, thereby significantly improving the ability to represent long-term dynamically dependent features.

[0116] To enhance the policy's perception range of dynamic disturbances, such as Figure 3 As shown, firstly, a historical observation sequence consisting of 50 consecutive control moments of proprioceptive observation is acquired, i.e., the historical window. The observation sequence is defined as follows:

[0117]

[0118] Based on this input, the implicit encoder consists of three stacked causal dilated convolutional layers to extract multi-scale temporal dynamic information layer by layer. Define the... The input feature sequence of the layer is Then the first Layer at time Output It can be defined by the following dilated convolution operation:

[0119]

[0120] in, It is an exponential linear unit activation function used to introduce nonlinear expressions and enhance numerical stability; and The first The convolution kernel weight matrix and bias terms of the layer; Kernel size; lowercase letters This is the summation index in the convolution operation, with values ​​ranging from 0 to... Throughout the module, the kernel size is set to... ; For the first The coefficients of thermal expansion of the layers are set sequentially as follows: .

[0121] Under the aforementioned temporal convolutional structure, the implicit dynamics encoder can fully extract multi-scale temporal features related to environmental dynamic changes and external disturbances from 50 steps of historical input. The feature sequence, after being processed by three layers of dilated convolutions, is then flattened and input into a fully connected projection layer for dimensionality reduction, ultimately outputting a low-dimensional and dense implicit dynamics representation vector. This representation vector highly condenses the implicit dynamic characteristics of the current environment and serves as the core input for subsequent residual gating control strategies, greatly enhancing the state recognition accuracy and environmental adaptability of bipedal robots under complex dynamic disturbances.

[0122] Phase 5: Design of an Adaptive Gated Control Architecture for Nominal and Residual Coordination

[0123] While implicit representations enhance a system's environmental awareness, single-policy networks often struggle to balance efficient walking performance with robust disturbance rejection when dealing with high-dimensional action spaces. To achieve a balance between system stability and disturbance suppression, this paper proposes a residual-gated control architecture based on nominal and residual coordination. This architecture topologically decomposes the control policy into a nominal policy responsible for maintaining the basic gait and a residual policy responsible for compensating for dynamic deviations and suppressing external disturbances. The specific steps are as follows:

[0124] First, a hybrid control law based on nominal and residual decoupling is constructed. The final control action output generated by the system in any control cycle is... Follow the following hybrid control law:

[0125]

[0126] in, The nominal strategy network is frozen based on current ontology observations. The output baseline motion vector; for

[0127] Based on ontology observations by the residual policy network With implicit dynamic characterization The output compensation action vector; This is the adaptive gated gain vector; This indicates element-wise multiplication.

[0128] Secondly, an adaptive gating network based on implicit feature-driven mechanisms is introduced. In a perturbation-free nominal environment, the compensation action... It should be as small as possible to avoid interfering with the nominal gait; however, in complex perturbation environments, it should be increased. The output weights are used to quickly suppress disturbances. Therefore, an adaptive gating network is designed to infer the environment state in real time. This network only receives the implicit dynamic representation vector extracted in step 4. As input, features are mapped through a multilayer perceptron, with the sigmoid function as the activation function, and the output is a value between... The gated gain vector between them. Its expression is:

[0129]

[0130] By dynamically adjusting the gating coefficient, the residual motion can adaptively intervene in the underlying control according to the real-time changes in the environment, thereby ensuring that the bipedal robot can maintain efficient and stable walking while resisting multidimensional nonlinear disturbances and parameter perturbations.

[0131] like Figure 4 As shown, the action output is decoupled into a nominal action. With residual compensation action According to the hybrid control law Generate the final action; The nominal policy network is based on the current ontology observations. The output baseline motion vector; The residual strategy network is based on ontology observations With implicit dynamic characterization The output compensation action vector; This is the adaptive gated gain vector; This indicates element-wise multiplication. The fusion action is limited before being input to the underlying proportional-differential controller, so that each component is restricted to the range of negative one to one.

[0132] Phase 6: Robust Policy Joint Training Based on Adaptive Course Learning

[0133] After constructing a control architecture based on implicit dynamics perception and residual gating, directly exposing the agent to a complex, high-dimensional perturbation environment with global randomization during the initial training phase of reinforcement learning can easily lead to gradient divergence and convergence lag in the policy network due to the excessively large exploration space and high difficulty. To guide the residual control policy to achieve stable and efficient robust convergence in the high-dimensional perturbation parameter space, this method designs a training mechanism based on adaptive curriculum learning.

[0134] First, a dynamic perturbation parameter space regulated by curriculum factors is constructed. Dynamically changing curriculum factors are introduced. This is used for linear interpolation to define the parameter boundary range between the nominal undisturbed environment and the extreme perturbation environment. Three core uncertainty variables affecting the dynamic balance of the bipedal robot are selected for boundary adjustment: the ground friction coefficient. Trunk mass deviation and external transient impacts The trunk mass deviation is the change relative to the nominal trunk mass. During the training phase, the sampling interval of each perturbation parameter varies with the course factor. Dynamically set to:

[0135]

[0136]

[0137]

[0138] In the initial training phase, initial course factors are set. At this point, the environment degenerates into a near-nominal state with minor perturbations, prompting the residual network to focus on the initial mapping of implicitly perceived features in the early stages. Secondly, an adaptive curriculum update rule based on survival performance is defined. In the parallel physics simulation training loop, the evaluation window size is set to... Each round. During training, the system continuously monitors and calculates the agent's average number of survival steps within that window. To quantify the agent's environmental adaptability and determine whether to increase the environmental difficulty, the threshold for course updates is set as follows:

[0139]

[0140] in, The maximum cutoff time step per round set for the physical simulation environment.

[0141] When the agent's average survival performance under the current perturbation difficulty meets the following... This indicates that the residual gating strategy has adequately adapted to the current parameter perturbation intensity. The system then automatically and incrementally increases the course factor, with its update rule defined as:

[0142]

[0143] Among them, the course growth step size is set as follows: This mechanism ensures that the difficulty of environmental disturbances increases monotonically, strictly following the improvement of the agent's anti-disturbance capability.

[0144] Phase 7: Policy Training and Simulation Verification

[0145] This embodiment completes policy training and validation in the Isaac Gym parallel simulation environment. Training employs an improved proximal policy optimization algorithm, which jointly updates the parameters of the implicit dynamic encoder, residual policy network, and adaptive gating network while freezing the nominal policy network parameters. Key hyperparameters are shown in Table 1.

[0146] Table 1. Hyperparameter settings for PPO-TRA algorithm training

[0147] Parameter name symbol Value Clipping threshold 0.2 Discount factor 0.99 GAE attenuation coefficient 0.95 Value loss coefficient 1.0 Entropy regularity coefficient 0.01 Learning rate 1e-3 Initial Course Factors 0 Course update threshold Course growth step 0.02 Evaluation window size 100 coefficient of friction Trunk mass deviation External perturbation speed

[0148] To verify the effectiveness of the implicit perception mechanism, residual gating control architecture, and adaptive course learning training mechanism described in this invention, the following ablation comparison group was set up for experimental verification under the same training budget, environment configuration, and hyperparameters:

[0149] Benchmark Algorithm:

[0150] (1) Benchmark algorithm: Standard PPO algorithm, representing the control benchmark without the introduction of timing memory and residual correction architecture;

[0151] (2) Variant A (w / o TCN) algorithm: Based on the complete method, the implicit dynamics based on temporal causal convolution are removed.

[0152] The perception module relies solely on a single instantaneous observation feature for control;

[0153] (3) Variant B (w / o Residual) algorithm: Based on the complete method, the residual gating architecture is removed and the implicit features are directly incorporated into the single policy network for unified output;

[0154] (4) Variant C (w / o Curriculum) algorithm: Based on the complete method, the adaptive curriculum learning mechanism is removed, and training is performed directly in a high-dimensional perturbation parameter space with full range randomization.

[0155] (5) Complete Policy (PPO-TRA): Based on the PPO control policy, TCN implicit perception, residual gating mechanism and adaptive course training framework are added.

[0156] like Figure 5 As shown, in a complex simulation environment integrating parameter randomization and external shocks, the average round reward and average round length curves of each strategy were extracted for comparison and verification. The average round reward curves show that the complete control strategy (PPO-TRA) of this invention exhibits a rapid increase in reward in the early stages of training and eventually converges to its maximum value. In contrast, the baseline PPO algorithm, limited by the single network's representational shortcomings of high-dimensional temporal perturbations, stagnates in the mid-to-late stages, and its reward ceiling is significantly lower than that of the method of this invention. Meanwhile, variant A (lacking a temporal encoder) and variant B (lacking a gating mechanism) both exhibit significant convergence lag and suboptimal convergence. Experimental results demonstrate that the proposed implicit dynamics awareness and residual compensation architecture helps improve the control strategy's representation and adaptability to dynamic perturbations.

[0157] As shown by the average round length curve, the complete strategy of this invention quickly reaches and stabilizes at the maximum number of survival steps within a relatively small number of training rounds. This metric directly reflects the fall resistance and survival ability of a bipedal robot. In contrast, variants A and C show a significantly delayed increase in early survival steps, indicating a marked suppression of early exploration efficiency and a higher risk of strategy divergence. This result intuitively demonstrates the necessity of the adaptive curriculum learning mechanism in this embodiment in alleviating the difficulty of early exploration and ensuring a smooth start and robust convergence of the strategy.

Claims

1. A robust walking control method for bipedal robots based on implicit perception and reinforcement learning, characterized in that, Includes the following steps: S1. Establish a dynamic model of a bipedal robot with generalized dynamic disturbances: Taking a 23-DOF floating base bipedal robot as the object, introduce dynamic uncertainty parameter vectors and external transient impact disturbance terms to construct dynamic equations; S2, Build a parallel simulation environment and train the nominal policy: Construct an asymmetric actor-critic architecture. The actor network takes only the ontology-aware observations as input and outputs the action distribution. The critic network takes additional privileged observations containing real linear velocities as input. The nominal policy is trained in the nominal simulation environment based on the near-end policy optimization algorithm. After the nominal policy converges, its network parameters are frozen. S3, Construct an implicit dynamics perception module: Obtain a historical observation sequence consisting of 50 consecutive control time moments of ontology perception observation, use a temporal convolutional network as an implicit encoder, extract features through three layers of one-dimensional causal dilated convolutional layers, and output an implicit representation vector representing unobservable perturbation parameters; the kernel size of the three layers of one-dimensional causal dilated convolutional layers is 3, and the dilation coefficients are 1, 2 and 4 respectively. S4, construct an adaptive gating architecture that coordinates nominal and residual actions: decouple the action into a nominal baseline action and a residual compensation action, and fuse them according to the gating gain to generate the final action. The gating network takes only the implicit representation vector as input and outputs a gating gain of 0 to 1 via Sigmoid. S5. Training the residual gating policy under the condition of freezing the nominal policy parameters: Construct an adaptive course learning mechanism, linearly interpolate the course factor between the nominal and maximum disturbance boundaries, adjust the sampling interval for three variables: ground friction coefficient, torso mass deviation, and external transient impact amplitude, and when the average survival steps within the evaluation window are not less than 0.8 times the maximum cutoff steps in a single round, increase the course factor in a stepwise manner by 0.02 to train the implicit dynamic encoder, residual policy network, and adaptive gating network. S6 uses the trained strategy to control the bipedal robot to walk robustly in dynamic disturbance environments.

2. The robust walking control method for bipedal robots based on implicit perception according to claim 1, characterized in that, In step S1: Define it as a floating base system in three-dimensional physical space, and define a generalized coordinate vector. ,in This indicates the three-dimensional position and orientation of the base. Represents the active joint angles; the dynamic equations of the bipedal robot including generalized dynamic perturbations: in, The inertia matrix, The matrix of Coriolis force and centrifugal force. It is the gravity vector; The dynamic uncertainty parameter vector introduced in this invention includes ground friction coefficient, fuselage mass deviation, and actuator stiffness damping deviation, etc. The selection matrix is ​​used to drive the joint torque. Mapped to the generalized force space; To access the Jacobian matrix, Contact force at the foot tip; This is the equivalent generalized disturbance term corresponding to the external shock.

3. The robust walking control method for bipedal robots based on implicit perception according to claim 1, characterized in that, In step S2: the ontology-aware observation vector For 80 dimensions, it is represented as: The sequence includes the base triaxial angular velocities provided by the inertial measurement unit. Projection of the gravity vector in the base coordinate system Mixed control commands for linear velocity and yaw rate Angles of each drive joint relative to the default joint Normalized positional bias Joint angular velocity Action commands output by the policy network at the previous time step and the normalized phase embedding features of the current gait cycle. ; These are the normalized scaling factors for the base three-axis angular velocity, motion control command, joint position deviation, and joint angular velocity, respectively. The privileged observation vector is 83-dimensional, in the ontology-aware observation vector. In addition, the actual linear velocity of the base provided by the simulator is introduced, which is expressed as: The actual linear velocity of the base. This is the normalized scaling factor for the actual linear velocity of the base.

4. The robust walking control method for bipedal robots based on implicit perception according to claim 1, characterized in that, In step S2: the motion space is defined as the residual position of the target joints of the bipedal robot with 23 active degrees of freedom, and the policy network outputs the motion. The target joint position is obtained by linearly mapping and superimposing the default joint angles using the motion scaling factor, and then the driving torque applied to the motor is calculated by the underlying proportional-derivative controller. in, The default joint angle. This is the action scaling factor. , These are the joint stiffness matrix and damping matrix, respectively. and These represent the current actual joint position and velocity, For driving torque.

5. The robust walking control method for bipedal robots based on implicit perception according to claim 1, characterized in that, In step S2, the optimization objective of the near-end policy optimization algorithm is constructed as follows: first, calculate the ratio of action probabilities between the old and new policies under the same ontology-aware observation input: in, For parameterized policy networks, These are the weight parameters of the policy network. This is the action mean vector output by the policy network; Let be the covariance matrix of the action distribution. The standard deviation parameter, Represents a Gaussian distribution; The old strategy distribution before the update; Reconstruct the surrogate objective function with a pruning threshold: in, The cropping threshold, Represents mathematical expectation, This is the estimate of the dominance function obtained from the generalized dominance estimation. , As a discount factor, The smooth attenuation coefficient for GAE is... Cut off the number of moves for each round. This is a single-step timing difference error. For parameterized value networks, The composite reward function is defined as a weighted sum of six sub-objectives, including: (1) task tracking and command response reward; (2) posture and stability reward; (3) foot and gait constraint reward; (4) energy consumption and motion smoothness reward; (5) joint constraint and limit reward; and (6) safety boundary and survival reward. Constructing the value regression loss function: in, Accumulate rewards for the goals used to update the value network; The pruning agent target, value regression loss, and policy entropy regularization term are linearly combined into a comprehensive loss function for network updates: in, For value regression loss function, and These are the value loss coefficient and the policy entropy regularization coefficient, respectively. This is the policy entropy regularization term.

6. The robust walking control method for bipedal robots based on implicit perception according to claim 1, characterized in that, In step S3, the historical observation sequence is represented as follows: The implicit encoder consists of three stacked causal-dilated convolutional layers, the first of which... Layer at time The output is defined as Then the first Layer at time Output It can be defined by the following dilated convolution operation: in It is the activation function of the exponential linear unit. , For the first Layer convolution kernel weights and biases, The kernel size is set to 3; This is the summation index in the convolution operation, with values ​​ranging from 0 to... ; Indicates the first The expansion coefficients of the layers are taken sequentially. The feature sequence after three layers of causal dilated convolution is flattened and then reduced in dimension by a fully connected projection layer to output an implicit dynamic representation vector. This vector can highly summarize the implicit dynamic characteristics of the current environment (disturbance parameters that cannot be directly observed), and serve as the core input for subsequent residual gating control strategies.

7. The robust walking control method for bipedal robots based on implicit perception according to claim 1, characterized in that, In step S4, the final action follows a hybrid control law. The gated gain vector Characterizing vectors using implicit dynamics The input is a multilayer perceptron (MLP) mapping vector, which is then output by a sigmoid activation function; the gated gain vector is... With the residual compensation action Element-wise multiplication followed by superposition to the nominal baseline action This allows for adaptive adjustment of the compensation intensity; the nominal reference action is the action output by the frozen nominal policy network based on the current ontology perception observation; the implicit dynamic representation vector serves as the input to both the residual policy network and the adaptive gating network, making both residual compensation and gating adjustment driven by implicit perception; the final action is amplitude-limited before being input to the underlying proportional-derivative controller, limiting each component to the range of negative one to one.

8. The robust walking control method for bipedal robots based on implicit perception according to claim 1, characterized in that, In step S5, the course factor The sampling intervals of the three variables are linearly interpolated between the nominal boundary and the maximum perturbation boundary as the course factor changes: The initial course factor is set to 0, and the evaluation window size N is 100 rounds. Calculate the average number of survival steps within this window. ;when Not less than 0.8 of the maximum cutoff steps in a single round. When the value is doubled, adjust the growth step size accordingly. Step-by-step improvement of course factors .