Next Article in Journal
Towards Health Status Determination and Local Weather Forecasts from Vitis vinifera Electrome
Previous Article in Journal
A Biomimetic Treadmill-Driven Ankle Exoskeleton: A Study in Able-Bodied Individuals
Previous Article in Special Issue
Sliding Mode Repetitive Control Based on the Unknown Dynamics Estimator of a Two-Stage Supply Pressure Hydraulic Hexapod Robot
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Bio-Inspired Central Pattern Generator for Adaptive Gait Generation and Stability in Humanoid Robots on Sloped Surfaces

1
College of Metrology Measurement and Instrument, China Jiliang University, Hangzhou 310018, China
2
The State Key Laboratory of Robotics, Shenyang Institute of Automation, Shenyang 110016, China
3
College of Mechanical and Electrical Engineering, China Jiliang University, Hangzhou 310018, China
4
The Zhejiang Province Key Laboratory of On-Line Testing Equipment Calibration Technology Research, China Jiliang University, Hangzhou 310018, China
*
Author to whom correspondence should be addressed.
Biomimetics 2025, 10(9), 637; https://doi.org/10.3390/biomimetics10090637
Submission received: 25 August 2025 / Revised: 16 September 2025 / Accepted: 19 September 2025 / Published: 22 September 2025

Abstract

Existing research has preliminarily achieved stable walking in humanoid robots; however, natural human-like leg motion and adaptive capabilities in dynamic environments remain unattained. This paper proposes a bionic central pattern generator (CPG) gait generation method based on Kimura neurons. The method maps the CPG output to the spatial motion patterns of the robot’s center of mass (CoM) and foot trajectory, modulated by 22 undetermined parameters. To address the vague physical interpretation of CPG parameters, the strong neuronal coupling, and the difficulty of decoupling, this research systematically optimized the CPG parameters by defining an objective function that integrates dynamic balance performance with step constraints, thereby enhancing the naturalness and coordination of gait generation. To further enhance the walking stability of the robot under varying road curvatures, a vestibular reflex mechanism was designed based on the Tegotae theory, enabling real-time posture adjustment during slope walking. To validate the proposed approach, a virtual simulation platform and a physical humanoid robot system were constructed to comparatively evaluate motion performance on flat terrain and slopes with different gradients. The results show that the energy consumption characteristics of robot-coordinated gait are highly consistent with the energy-saving mechanism of human natural motion. In addition, the established reflection mechanism significantly improves the motion stability of the robot in slope transition, and its excellent stability margin and environmental adaptability are verified by simulation and experiment.

Graphical Abstract

1. Introduction

Humanoid robots, with their bionic design and highly flexible structures, have the potential to mimic human behaviors in complex environments. However, the strong coupling among multiple degrees of freedom presents significant challenges in motion control [1,2]. While prior studies have achieved stable robot locomotion in structured environments [3,4], critical issues such as maintaining stability during terrain transitions and ensuring coordinated gait movements remain unresolved.
In the study of humanoid robot motion stability, the integration of model predictive control (MPC) and whole-body control (WBC) forms a well-established framework for bipedal walking control [5,6]. However, this control approach relies on a dynamic model to generate gait trajectories that satisfy dynamic balance constraints. During environmental interactions, it requires solving high-dimensional optimization problems in real time. Consequently, its response speed and generalization capability are constrained by model inaccuracies and computational latency, rendering it unsuitable for unstructured environments or unexpected disturbances [7,8]. As a biologically-inspired control paradigm, the Central Pattern Generator (CPG) offers a biomimetic approach for humanoid robot motion control by emulating the neural mechanisms underlying rhythmic movement regulation in vertebrates [9,10,11].
The CPG typically comprises a network of coupled nonlinear oscillators that generate phase-locked rhythmic signals through neuronal excitatory connections and lateral inhibition mechanisms [12,13]. Through dynamic phase coupling, the CPG enables real-time adjustment of inter-neuronal coordination. This capability facilitates natural synchronization of humanoid robots’ lower-limb kinematic chains while preventing the unnatural motion artifacts characteristic of traditional discretized gait-generation methods [14,15]. The CPG typically produces sinusoidal-like periodic output signals whose characteristics are precisely governed by model parameters. When encountering complex terrains or unexpected disturbances, minimal parameter adjustments to the CPG network can elicit stable locomotion patterns. This approach offers significant advantages in computational efficiency and environmental adaptability compared to traditional control methods [16,17]. However, the parameter space of CPG is typically characterized by high dimensionality, and parameter tuning is frequently guided by empirical heuristics due to the complex nonlinear relationships involved. Achieving optimal parameter configurations that simultaneously satisfy periodic motion requirements, walking stability, and inter-limb coordination presents a significant control challenge. Therefore, the optimization of CPG network parameters has become one of the key directions of current research. Ruppert and Spröwitz [18] developed a bio-inspired CPG control framework for quadruped robots that employs Bayesian optimization for dynamic parameter adaptation, specifically targeting energy efficiency optimization. Wang et al. [19] designed a multi-layer CPG network to generate the swimming rhythm of robotic fish, and optimized the CPG parameters using the PSO algorithm with the average swimming speed as the goal. Zhang et al. [20] proposed an enhanced PSO algorithm to optimize the CPG controller parameters for humanoid robot joints, with the specific objective of minimizing lateral deviation during straight-line walking locomotion. Wu et al. [21] employed multivariate linear mapping to transform CPG parameter distribution analysis into a coefficient adjustment problem, enabling stable humanoid locomotion. Wang et al. [22] combined offline genetic algorithm optimization of CPG rhythm parameters with online reinforcement learning of a high-level neural network for dynamic parameter adjustment, enabling multimodal motion control. Current research predominantly employs reinforcement learning or multi-objective optimization algorithms for dynamic CPG parameter optimization, with the primary objective of balancing competing constraints among rhythmic stability, energy efficiency, and environmental adaptability. However, the anthropomorphic naturalness of humanoid locomotion is frequently neglected as a critical performance metric. Developing computationally efficient parameter optimization strategies that simultaneously enhance gait naturalism and maintain dynamic stability remains a fundamental challenge in advancing CPG controller performance.
Based on the biomimetic principles of biological neural circuits, CPG network models can be categorized into two distinct forms: non-feedback and feedback [23,24]. Among these, feedback-enabled CPG networks can directly incorporate environmental information and dynamically modulate rhythmic signals through biologically-inspired reaction mechanisms, thereby significantly enhancing robotic adaptability and robustness in complex environments [25,26]. Tran et al. [27] developed an adaptive CPG network architecture that integrates sensory neurons with motor neurons through synaptic coupling, demonstrating robust state recovery from external perturbations via feedback-enabled CPG mechanisms. Song et al. [28] emulated the neural signal transmission characteristics of biological CPG systems by implementing a delayed coupling feedback mechanism, enabling the flexible generation and seamless transition of multimodal gaits in quadruped robots. Owaki et al. [29] introduced the Tegotae concept, establishing a computationally tractable adaptive criterion for bio-inspired CPG control. This framework quantitatively evaluates the congruence between proprioceptive feedback and locomotor intent, enabling autonomous gait adaptation. Wang et al. [30] employed the Tegotae principle to quantify muscle contraction intent and developed a bio-inspired reflex control system capable of mitigating joint impact disturbances. Herneth et al. [31] leveraged the Tegotae framework to quantify the congruence between CPG-generated control signals and contact forces, achieving global motion adaptation using only single-point force feedback. The environmental adaptability and disturbance robustness of the system are substantially enhanced through integration of feedback signals into the control method, enabling real-time modulation of dynamic properties in the CPG network.
This study presents a bio-inspired hierarchical control framework that synergistically combines CPG-based rhythm generation with Tegotae feedback regulation. By incorporating gait coordination evaluation metrics, a multi-objective optimization strategy is developed to address the challenges of dynamic stability and motion coordination in humanoid robots navigating terrains with abrupt curvature variations. The key contributions of this work are outlined as follows:
(1) Based on an analysis of human walking gait characteristics, a spatial trajectory planner for humanoid robots was designed using the Kimura CPG model. This planner generates CoM and foot-end trajectories that mimic human gait patterns.
(2) To address the issues of environmental adaptability and stability in humanoid robot locomotion, a multi-objective optimization scheme for CPG parameters was developed, coupling ZMP stability constraints with gait coordination conditions.
(3) A perception-feedback matching function was constructed using the Tegotae theory to simulate the human vestibular reflex mechanism, enabling rapid postural adjustments during walking on sloped surfaces.
The structure of this paper is organized as follows: Section 1 is the introduction section, which describes the research status and trends of CPG in walking control of humanoid robots. Section 2 explores the development of the Kimura CPG neuron model based on the movement characteristics of the human body and details the design of specific spatial motion planning models. Section 3 delves into the theoretical foundation for achieving stable walking in humanoid robots and elaborates on the rules for CPG parameter modulation. Section 4 presents simulations and physical experiments of humanoid robot walking to validate the effectiveness of the proposed gait planning method, which integrates an optimization algorithm with CPG. The research concepts presented in this paper and the framework for CPG-based bionic gait design are illustrated in Figure 1.

2. Motion Trajectory Generation Based on CPG

2.1. Description of Human Motion Model

In this study, a global coordinate system for human motion analysis was established based on the biomechanical coordinate system definition standards of the International Society of Biomechanics (ISB) [32]. As shown in Figure 2, the y-axis represents the direction parallel to gravity, while the x-axis and z-axis lie within the sagittal plane and perpendicular to the y-axis, pointing forward and to the right, respectively.
Human lower-limb walking is a smooth and stable motion achieved under the coordination and control of multiple joints by the nervous system, with movement synchronization governed by the CPG network. Walking simulations were conducted in OpenSim using an open-source human musculoskeletal model, and the gait characteristics during human walking were analyzed. A schematic diagram of the gait phases within one walking cycle is shown in Figure 3. For a single leg, the swing phase accounts for approximately 40% of the gait cycle, while the stance phase accounts for around 60%.
In the global coordinate system, foot trajectories are decomposed into x / y / z components for analysis. The x-directional trajectory of both feet demonstrates a periodically increasing trend with time-varying slope characteristics. For individual feet, an approximate phase difference of π / 2 is observed between x and y directional motions, while between contralateral feet in the same direction, the phase difference measures approximately π .

2.2. Concept and Design of the CPG Model

The biological CPG is a low-level neural center that autonomously produces periodic rhythmic signals through self-stimulation. The Kimura oscillator is a neural oscillator model based on mutually inhibitory neuron pairs. In this paper, Kimura neuron oscillators were employed to simulate the behavior of biological CPG for robotic control. This oscillator generates rhythm signals by coupling two units representing flexor and extensor motor neurons, and its combined output is the control signal that drives joint movement. The mathematical representation of a pair of antagonistic neurons is provided in Equation (1).
T r u ˙ i e = u i e + α y i f β v i e + j = 1 n w i j y j e + f e e d i e + s i e T a ν ˙ i e = ν i e + y i e T r u ˙ i f = u i f + α y i e β v i f + j = 1 n w i j y j f + f e e d i f + s i f T a ν ˙ i f = ν i f + y i f y i { e , f } = max ( u i { e , f } , 0 ) y h i = u i e + u i f y k i = v i e v i f , v i e v i f > 0 0 , v i e v i f < 0
where i, f, and e represent the i-th oscillator, flexor, and extensor neurons, respectively; T r and T a denote the rise time constant and adaptation time constant, which influence the output period of the oscillator; u i e , f and v i e , f represent the internal and inhibitory states of the extensor and flexor neurons, respectively; w i j represents the connection weights between neurons, affecting the output phase of the oscillator; s i is the external excitation input, while f e e d i represents the external feedback input, both of which influence the output amplitude; w f e is the mutual inhibition coefficient between cells, and β is the adaptation coefficient; both y h i and y k i are available as outputs for the i-th oscillator, in this work, we select y h i as the output. The corresponding structure of neural units and the CPG control strategy for humanoid robots are shown in Figure 4.
To control the robot to simulate human walking, the CPG oscillators need to output rhythmic signals that conform to the walking pattern of the human body. Currently, one of the commonly adopted approaches involves utilizing CPG as motion planners in the joint space of robots. However, due to the high degrees of freedom in humanoid robots, implementing such methods requires the integration of extensive CPG networks for control, which significantly complicates parameter tuning. The centroid and foot CPG trajectory generation method demonstrates superior computational efficiency and motion stability compared to joint space planning approaches, achieving robust performance with fewer neural oscillators [33,34].
Based on the simulation results obtained from OpenSim, the outputs of the CPG designed to generate the motion components in the x and y directions for the left and right feet of the robot are denoted as l x , l y , r x , and r y . Here, l and r correspond to the left and right feet, respectively, while the subscripts indicate the x and y components. The neuron connections are configured as inhibitory connections, i.e., w i j = 1   i j . The parameters are set as T r = 0.2 , T a = 0.4 , s 0 = 0.6 , β = 3.5 , a = 2.0 . The output of the oscillators with these settings is shown in Figure 5.
The connection weights w i j determine the phase relationship of the output of the oscillator. Here, l x ( r x ) and l y ( r y ) maintain a phase difference of π / 2 , while the phase difference between l x ( l y ) and r x ( y ) is π . Additionally, during walking, the CoM of the robot should adjust within the x-z plane in relation to the foot and body posture angles. When the robot is in single-leg support, the CoM needs to shift in the z direction toward the foot contact point to prevent tipping. Therefore, the CPG signal for the movement of the CoM in the z direction should remain in phase with one of the feet, ensuring stability during single-leg support. By solving inverse kinematics, the spatial trajectories of the CoM and foot end can be converted into joint space for control [35].

2.3. CPG-Based Trajectory Generators

Human walking shows linearly increasing x-direction displacement of foot and CoM with periodic oscillations, whereas standard CPG outputs lack this linear amplitude variation. Moreover, it is difficult to achieve precise waveform modulation through parameter adjustment alone. In this study, the output signal of the CPG is mapped to the motion trajectory of the foot-end. The mapping function for the left foot walking trajectory in the sagittal plane is designed as shown in Equation (2).
f o o t x l = x 0 + C x l x + δ f t f o o t y l = y 0 + C y l y
where x 0 and y 0 represent output offsets, used to adjust the initial position of the center of gravity along the x-axis and y-axis; C x and C y are gain coefficients controlling the amplitude of the rhythmic signal to adjust stride length variation; and δ f t introduces a linear time-varying factor, simulating the effect of the gait in the x direction, in which the motion component increases linearly with time. The outputs of the oscillators are represented by l x and l y . The mapping function for the trajectory of the right foot in the sagittal plane is shown in Equation (3).
f o o t x r = x 0 + C x r x + δ f t f o o t y r = y 0 + C y r y
where r x and r y are the outputs of the oscillators, so the phase difference between f o o t x r and f o o t y r is denoted as π / 2 , and the phase difference between f o o t x l ( f o o t y l ) and f o o t x r ( f o o t y r ) is denoted as π .
Let the outputs of the CoM CPG output be ϑ x , ϑ y , and ϑ z . The corresponding mapping function in Cartesian space is presented in Equation (4).
CoM x = η x + ς x ϑ x + λ c t CoM y = η y + ς y ϑ y CoM z = η z + ς z ϑ z
where CoM x , CoM y , and CoM z represent the components of the CoM trajectory in the x, y, and z directions, respectively; η x , η y , and η z represent the initial offsets in the x, y, and z directions; ς x , ς y and ς z are gain coefficients; and λ c t is the time-related term.
The newly generated motion signals not only preserve the periodic rhythmic characteristics and phase relationships of the original CPG but also modulate their positional amplitude through the application of initial offsets and gain coefficients. Additionally, the introduction of time-related terms incorporates linear dynamic changes. This transformation allows the robot control system to more precisely control the position of the CoM and lower limbs, enabling better adaptation to different surface conditions and control objectives.

3. Research on Stable Walking and Environmental Adaptability

3.1. Exploring Walking Stability with ZMP Criterion

Through the design of the foot-end and CoM trajectory generators, a set of three-dimensional trajectories can be generated that shape-wise resemble human gait characteristics. However, these generated trajectories are insufficient to ensure the stable walking of the humanoid robot in space. For a moving humanoid robot, a practical criterion for gait stability is the ZMP stability criterion. The ZMP is the point at which the reaction moment from the ground on the foot is zero. When the ZMP lies within the contact area between the foot and the ground during the motion of the robot, the robot is considered to be stable and unlikely to tip over, and the gait is deemed stable. To illustrate the derivation of the ZMP, the force vectors acting on the foot are shown schematically in Figure 6a. Let the coordinates of the center of gravity be p c = p c x , p c z , p c y , and the coordinates of the ZMP be p = [ p x , p z , p y ] T . The ground exerts a distribution of reaction forces at various contact points. The ZMP can be described by Equation (5).
p = Σ N i = 1 p i F i y Σ N i = 1 F i y = Σ N i = 1 F i y Σ N i = 1 F i y p i
where p i represents the discrete contact points between the foot and the ground, i = ( 1 , 2 , , N ) , F i = F i x , F i z , F i y T denotes the forces exerted on the foot of the humanoid robot by the ground at each of these contact points. The ZMP torque τ p is shown in Equation (6).
τ p x = i = 1 N p i z p z F i y i = 1 N p i y p y F i z τ p z = i = 1 N p i y p y F i x i = 1 N p i x p x F i y τ p y = i = 1 N p i x p x F i z i = 1 N p i z p z F i x
Assuming the footplate is the reference plane, we design the relevant components as τ x = τ z = 0 and p y = p i y . The torque relationship at the origin can be obtained as follows:
τ = τ p + i = 1 N p × F i
The system momentum P = P x , P y , P z and angular momentum L = L x , L y , L z around the origin are shown in Equation (8) and Equation (9), respectively.
P ˙ = M g + i = 1 N F i
L ˙ = p c × M g + τ
where M is the total mass of the system, and g represents the acceleration due to gravity. Substituting Equations (7) and (8) into Equation (9) yields:
τ p = L ˙ p c × M g + P ˙ M g × p
Simplify the robot into a pointing model, where the torque in the x and z directions is 0. The calculation formula for the ZMP point can be derived as follows:
p x = p c x p c y p y p ¨ c x p ¨ c y + g p z = p c z p c y p y p ¨ c z p ¨ c y + g
Another important concept in the ZMP stability criterion is the concept of the stability region. During the single-support phase, the stability region corresponds to the contact area of the single foot with the ground. During the double-support phase, the stability region is the smallest convex polygon that encloses the contact areas of both feet with the ground, as shown in Figure 6b. The region enclosed by the red dashed line represents the stability region. To simplify the calculation process, this paper removes the irregular portions around the contact area of the foot, retaining only a rectangular region with an area smaller than that of the foot.
Based on the above analysis, when the robot walks along a straight line, the ZMP stability region is denoted as D. The stability margin D s during the walking process of the robot increases as the gait becomes more stable. The calculation method for D s is shown in Equation (12).
D s = min ( ZMP x S x , ZMP z S z )
where ZMP x and ZMP z represent the coordinates of the ZMP on the plane, while S x and S z denote the boundary values of the contact area envelope in the x-direction and z-direction, respectively.

3.2. Parameter Optimization Through Genetic Algorithm Approach

Unlike other multi-legged robots that possess self-stabilizing characteristics in terms of their mechanism, humanoid robots need to simultaneously plan the motion trajectories of both the CoM and the feet in order to achieve stable walking. Compared to joint-based CPG control methods for robot motion, the CPG planner for the CoM and foot trajectory reduces the number of internal parameters. For the robot model in this research, the number of parameters has significantly decreased from 50 in the joint space method to 22. However, the coupling relationships between these parameters are more complex. Traditional empirical tuning methods are clearly insufficient for meeting application needs. In this paper, a genetic algorithm is employed to evolve and optimize both the internal parameters of the CPG and the external combination coefficients, enabling precise modulation of the CPG and foot trajectories.
The foot trajectory generator designed in this paper consists of four CPG neurons, while the CoM trajectory generator consists of three CPG neurons. With the CPG internal parameters and external combination coefficients as decision variables, each generation of the population contains 22 individuals. To ensure that the optimized CPG parameters via the genetic algorithm can stably produce rhythmic signals, constraint conditions are designed as shown in Equation (13).
  β w f e 1 w f e > 1 + T r / T a
Two fitness functions are formulated to achieve stable bipedal locomotion: f i t n e s s ZMP , based on ZMP stability criteria, and f i t n e s s dev , which quantifies lateral deviation during walking. f i t n e s s ZMP is shown in Equation (14).
f i t n e s s ZMP = 1 / ZMP x x cen 2 + ZMP z z cen 2
where ( x cen , z cen ) represents the center of the stability region in each gait cycle. f i t n e s s ZMP is designed to find the values closest to the center coordinates of the stability region, ensuring that the ZMP falls within the stability region and that the value of D s is maximized. f i t n e s s dev is shown in Equation (15).
f i t n e s s dev = 1 std Z Z ¯ σ Z
where Z represents the centroid displacement in the sampling sequence, and Z denotes the mean value, yielding a zero-centered deviation measurement. The standard deviation σ Z is incorporated in the denominator to normalize the data, eliminating dimensional effects and enabling cross-experimental comparison of fluctuation patterns.
The parameter optimization described above provides the foot and CoM trajectories, ensuring that the gait of the robot satisfies the ZMP stability constraints. However, this trajectory cannot be directly applied to the motion control of the robot. There are two primary reasons for this. Firstly, the aforementioned motion fails to ensure that the generated step size and height align with the mechanical structural parameters of the robot. Second, the previously mentioned optimization results do not guarantee proper coordination between the stride and body of the robot.
In the process of human walking, there is a good linear relationship between step size and height. To ensure that the step size of the robot walking conforms to the mechanical dimensions of the robot and improves the appearance coordination of the robot walking, this paper introduces a second fitness function, as shown in Equation (16).
f i t n e s s atti = 0.54 k c F x ( H + c x ) + 1.321
Among these variables, k c represents the adjustment coefficient, F x denotes the step size of the movement along the x-axis of the robot, H corresponds to the height of the robot in the gravitational direction, and c x is a constant. Furthermore, the sum of H and c x must fall within the range of [1.64, 1.86].
This paper integrates the multidimensional objectives of stability and coordination into a single fitness function via weighted summation (Equation (17)). Unlike multi-objective approaches, this single-objective optimization method eliminates the need for Pareto front analysis or non-dominated sorting, thereby significantly improving computational efficiency.
f i t n e s s = w 1 f i t n e s s ZMP + w 2 f i t n e s s atti + w 3 f i t n e s s dev 10 × V p
where w 1 , w 2 , and w 3 are positive weighting coefficients. Since the stability of the robot’s walking takes higher priority over coordination, in this paper, w 1 is set to 0.52, w 2 to 0.28, and w 3 to 0.20. V p is the penalty term; it equals 1 when the centroid height falls below 0.25 m, and 0 otherwise.

3.3. Research on Vestibular Reflex in Sloping Terrain

When the robot directly interacts with the environment, it must sense external feedback and adjust its behavior to maintain stability. When humans move on inclined terrain, they rely on the vestibular reflex to adjust their posture and maintain balance. Drawing on the biological mechanism of the human vestibular reflex, this paper simulates the inner ear vestibule through trunk inertial sensors to detect changes in robot posture. As illustrated in Figure 7, the terrain slope angle can be derived from the humanoid robot’s attitude and joint angle measurements.
The method for calculating the slope angle θ slope is given by Equation (18).
θ slope = α 1 + α 3 α 2 θ pitch
To quantify the consistency between the response of the robot and its motion intentions, this paper establishes a reflex mechanism for the robot using Tegotae theory and couples the environmental perception information with the CPG oscillator. First, based on the slope angle θ slope and the adjustment amount c o m p x of the CoM displacement in the x-direction, a T-function is created to quantify Tegotae, as shown in Equation (19).
T ( c o m p x , θ slope ) = C ( c o m p x ) S ( θ slope ) = ( t h r e sin ( k c ( c o m p x t h r e ) ) ) θ slope
where c o m p x is the feedback control variable, t h r e is the adjustment threshold, and k c is the gain constant. C c o m p x represents the intention of the controller, and S θ slope indicates the response obtained from the environment. During an uphill motion, the CoM needs to lean forward to avoid tipping backward. During a downhill motion, the CoM needs to adjust backward to prevent tipping forward. When the T-function value is large, it indicates that the slope of the terrain is steep, and the CoM adjustment amount is close to the threshold t h r e , meaning a significant correction to the CoM position is required. Based on this, a local perception feedback f can be designed to represent the increment of the T-function value by adjusting c o m p x . For continuous systems, f is expressed as the partial derivative of the T-function with respect to the control variable, as shown in Equation (20).
f = k T T c o m p x = k T k c cos ( k c ( c o m p x t h r e ) ) θ slope
where k T is the gain constant. When the adjustment amount exceeds the threshold, the adjustment is considered too large, and the T-function expresses that the current behavior is undesirable. Therefore, it needs to be corrected with a negative value.
The feedback term of the CoM layer in the Kimura CPG is designed as shown in Equation (21).
f e e d c o m { e , f } = k T k c cos k c c o m p x t h r e θ slope , θ pitch θ m , θ t h r e 0 , θ pitch 0 , θ m
Here, due to the slight fluctuations in the attitude angle during the walking process of the robot, it is necessary to design the minimum deviation angle θ m . θ t h r e is the critical attitude angle at which the robot transitions between stable and overturned states, which can be measured by attitude sensors.

4. Simulation and Experiment of Humanoid Robot Walking

4.1. CPG Parameter Optimization and Trajectory Generation

For the parameter settings of the genetic algorithm optimization process, the population size was set to 100, the number of generations to 100, the crossover probability to 0.8, and the mutation rate to 0.29. Based on these settings, the gait constraints of the robot were optimized. The fitness function value progression is illustrated in Figure 8.
As shown in the Figure 8, the optimization of the robot trajectory parameters based on the genetic algorithm yields good results. The fitness function value increases significantly from generations 1 to 30, and eventually converges at 20.106. The objective function, being the reciprocal of the fitness function, has a value of 0.0497. The objective function designed in this paper describes the distance between the ZMP landing point and the stability region center, as well as the deviation of the gait shape from the ideal state.
Reference [20] introduced an improved BPSO algorithm with a stability optimization objective centered on a survival-time deviation term (Equation (22)). The objective function incorporates the lateral offset distance ( c o s t dev ), forward distance deviation ( c o s t fd ), and survival time deviation ( c o s t ld ).
P e = w 1 c o s t dev + w 2 c o s t fd + w 3 c o s t ld 50 × V p
where the P e is the penalty function. However, this approach requires nearly 1000 iterations to achieve optimal performance. In contrast, the ZMP-based optimization scheme proposed in this study converges to a near-optimal solution within 100 generations, significantly improving computational efficiency while maintaining comparable performance. This advantage primarily stems from two factors. First, metrics such as survival time are posterior statistics that lack explicit physical correlation with the dynamic parameters of the gait generator. In comparison, ZMP serves as a direct physical indicator that enables continuous and differentiable fitness evaluation with richer gradient information, thereby accelerating convergence. Second, the proposed method does not rely on iterative kinematic model computations, further simplifying the optimization process and enhancing computational efficiency.
The optimization results for the internal parameters of the CoM CPG, as well as the coefficients of the mapping function, are presented in Table 1.
The optimization results for the internal parameters and the mapping function coefficients of the foot trajectory CPG are presented in Table 2.
Following optimization using the genetic algorithm, the output signals of the CoM trajectory planner and the foot-end trajectory planner are presented in Figure 9a and Figure 9b, respectively.
The foot trajectory generated based on the optimization results is shown in Figure 10. Figure 10a illustrates the displacement variations of the left and right feet in the x-direction over each unit of time. From the figure, it can be seen that after the biped’s displacement increases in the first half of the cycle, the displacement in the x-direction remains almost constant during the second half of the cycle, indicating that the foot is in the stance phase. Additionally, the distance between the two contact points represents the step length of the robot, with F x equal to 0.27 m.
In the design of the fitness function, a linear relationship between height and step length is introduced. Based on the physical parameters of the robot prototype, the height H is set to 1.21 m, and k c is set to 1.78. Substituting H into Equation (16) yields an ideal step length of 0.33 m. The optimization result has an error of 0.06 m, corresponding to a relative error rate of 18.2%. During the parameter optimization process, the weight w 2 of the step length coordination index was set to 0.28, which sacrifices some coordination to achieve better gait stability. Therefore, the error primarily arises from the weight w 2 in the fitness function. Figure 10b shows the motion of both feet in the y-direction (gravity direction), where the peaks of the rhythmic signal represent the step height. Figure 10c displays the shape of the gait in the x-y plane. Since the connection weight was not adjusted during the parameter optimization process, the phase difference between the two feet in both the x and y dimensions remains unchanged. The results presented in Figure 10 demonstrate that the CPG planner developed in this study is capable of generating gaits that adhere to the biomechanical principles governing human foot swing and ground contact. The optimized CoM trajectory of the robot is shown in Figure 10d.
In designing the CoM trajectory, this study establishes a guideline ensuring that the oscillation of the CoM in the z-direction aligns with the motion of the right foot. Specifically, when the right foot makes contact with the ground, the CoM is expected to shift to the right. In other words, the offset value in the z-direction, as illustrated in Figure 10d, should correspond to the trough of the cycle at that moment. The trajectory of the CoM in the x-direction aligns well with the foot trajectory. In the z-direction, the oscillation amplitude does not exceed the boundary values of the feet coordinates during the standing phase, with an oscillation amplitude of 0.266 m. Additionally, the maximum displacement of the CoM in the y-direction is 0.042 m, with the oscillation in the y-direction being influenced by the height of the robot and foot movement.
Based on the known foot and CoM trajectories, the ZMP trajectory in the x-z plane can be calculated using Equation (11). The rectangular stability region and the ZMP trajectory, with the ankle joint of the biped as the center, are shown in Figure 11.
The figure depicts nine gait cycles during the walking process of the robot, with the ZMP consistently remaining within the envelope polygon of the sole during single-foot support. When the right foot touches the ground at 5.48 m, the maximum distance between the ZMP and the center of the stable region is 0.0485 m, while the stability margin ( D s ) at this moment is 0.021 m. During the walking process, the robot also engages in bipedal support. As shown in Figure 11, the variation range of the ZMP always remains within the closed polygon defined by the boundaries of the bipedal support region. The optimization results obtained through the genetic algorithm demonstrate that the planned robot gait achieves excellent stability.

4.2. Simulation Verification of Walking on Flat Ground and Step Size Optimization

In the previous section, gait stability was validated by calculating the ZMP and foot contact point coordinates. This section focuses on verifying the optimization effectiveness of the gait using f i t n e s s a t t i . The primary objective of f i t n e s s a t t i is to constrain the step length to ensure that the optimized gait remains within the motion range while simultaneously enhancing the coordination of the gait. In this study, two different gaits are generated without applying f i t n e s s a t t i , and their performance is compared with the gait presented in Section 4.1. The comparison is conducted in the Adams simulation environment using a virtual prototype. The first generated gait without f i t n e s s a t t i is shown in Figure 12.
In this gait, the step length is 0.107 m, and the step height is 0.048 m. The relationship between the ZMP and foot contact point distribution is shown in Figure 12b. From the figure, it can be observed that the ZMP of this trajectory is positioned closer to the center of the single-foot contact area, and when the x-coordinate reaches 2.81 m, the ZMP approaches the boundary of the polygon. At this point, the stability margin D s is 0.05 m, indicating that this gait is more stable. The second gait generated is shown in Figure 13a. In this gait, the step length is 0.53 m, the stride length is 1.06 m, and the step height is 0.096 m. The ZMP and the double-foot trajectory are shown in Figure 13b. The ZMP trajectory indicates that the gait of the robot in this case also maintains a high level of stability.
Since the designed trajectory primarily targets the foot, without imposing constraints on joint movements and the amplitude of the CPG itself, it is easy to encounter significant differences in the step lengths of the two generated gaits. Although both gaits satisfy the ZMP stability constraint used in this paper, it cannot be assumed that a stable gait is necessarily a reasonable gait. To verify the feasibility of the obtained trajectories, a virtual lower limb model of the robot is established for gait simulation.
The virtual prototype of the humanoid robot is shown in Figure 14a. The lower limb has a height of 0.71 m, with three degrees of freedom at the hip joint and one degree of freedom each at the knee and ankle. A mass block simulates the torso, located at the midpoint between the two hips, which is considered the CoM. Figure 14b illustrates the range of motion in the sagittal plane across three levels, with the hip joint serving as the origin and the knee joint, ankle joint, and toe joint representing the endpoints of the connecting rods.
The blue scatter plot in Figure 14b illustrates the range of motion of the toe. As observed from the graph, the maximum step length of a single leg is constrained to less than 0.5 m. The range of motion depicted is influenced by the length of each connecting rod, with the knee joint exhibiting the smallest range of rotation in the sagittal plane. Compared to the lower limbs, the foot has a shorter length, resulting in a similar range of motion for both the foot and the ankle joint.
Based on the obtained foot and CoM trajectories, the inverse kinematics model of the robot must be used to calculate the joint motion trajectories for the lower limbs and drive the robot in the simulation environment. Among the trajectories, the second set has a larger stride length, and the range of joint motion exceeds the reachable space of the robot’s joints, making it an invalid gait. In the virtual simulation environment, the gaits from Section 4.1 and the comparative trajectory (Trajectory 1) are used to simulate the robot. The two sets of trajectories in the simulation environment and the maximum step size are presented in Figure 15.
In this figure, case (a) demonstrates that without f i t n e s s a t t i optimization, the robot achieves only a 0.107 m step length. This suboptimal gait pattern produces uncoordinated locomotion due to insufficient stride dimensions. By contrast, f i t n e s s a t t i -optimized parameters yield a 0.269 m step length (case (b)), where the gait characteristics properly match the robot’s physical proportions. The resulting walking pattern exhibits significantly improved coordination and natural appearance. Furthermore, case (c) reveals the robot’s maximum achievable step length of 0.497 m. These comparative results conclusively validate the essential role of f i t n e s s a t t i optimization in generating biomechanically coordinated gaits.
The human body spontaneously adopts the most energy-efficient movement mode during walking, which indicates an inherent correlation between natural gait and minimizing energy consumption. For humanoid robots, optimizing gait coordination is essentially equivalent to minimizing power consumption. When the step size is in the optimal biomechanical range, the peak power distribution of each joint in the lower limbs should exhibit dynamic equilibrium characteristics. Figure 16 compares the lower limb joint power distribution characteristics of two typical step size patterns (0.269 m near natural gait and 0.107 m uncoordinated gait) in Figure 15.
This paper uses the dimensionless cost of transport (CoT) as the primary metric for evaluating the energy efficiency of humanoid robots, as shown in Equation (23).
CoT = E m g d = P m g v
where P represents the average power, D is the displacement, and V is the average speed. The total energy consumption E is obtained by integrating the instantaneous power of each joint driver over time, as described in Equation (24).
E = t 1 t 2 P t d t
Currently, commonly used CPG optimization schemes, such as references [20,34], mainly focus on the walking stability of the optimization objective. This approach often overlooks key aspects such as naturalness of movement and energy consumption. The contribution of gait coordination and motion naturalness to peak power suppression and energy redistribution can be quantitatively evaluated using the system-level energy consumption metric. The corresponding experimental data are presented in Table 3. Under the experimental condition of keeping the same distance and time, the CoT of near natural gait was 1.75, while that of uncoordinated gait was 4.08. Compared with the optimization scheme that only considers stability, the energy consumption has been reduced by 57.1%. The simulation results show that the coordinated gait mode significantly reduces the energy consumption of the system, and its energy efficiency characteristics conform to the energy optimization law in human biomechanics.

4.3. Changing Slope-Terrain Adaptive Walking

To verify the stability of the robot while walking on a slope with varying gradients, a simulation test is conducted. In the Tegotae function, the parameters k T is assigned a value of −0.01, k c is set to 5.2, and the threshold thre is defined as 0.18. In the simulation environment, the slope angle is configured to 15 degrees. The robot and the walking environment are shown in Figure 17.
During the simulation, the robot begins walking from a flat surface, reaches the slope at 2.5 s, and transitions back to the flat surface at 6.1 s. The walking process of the robot in the virtual environment is shown in Figure 18.
From the simulation process, it can be observed that the robot does not experience tipping during the walking process. However, the sliding of the foot occurs when walking on the slope. The sliding phenomenon is primarily related to the physical parameter settings in the simulation environment. The motion trajectory of the robot in the x-direction is shown in Figure 19.
From Figure 19, it can be seen that when the robot walks on flat ground, the Comx 1 is close to the lower edge of the foot trajectory. In this state, when the robot transitions onto the slope, it is prone to tipping backward. In this paper, the Tegotae function simulates the human vestibular reflex and adjusts the posture of the robot. When the robot reaches the slope at 2.52 s, the CoM is adjusted forward by 0.09 m to improve walking stability. When the robot transitions from the slope to flat ground at 6.1 s, the slope angle decreases. To enhance stability, the CoM needs to shift backward. According to the Tegotae function, the robot adjusts its CoM backward by 0.10 m when walking back onto the flat surface.
Reference [34] proposed a feedback strategy based on plantar pressure, formulated as follows:
f e e d b a c k 1 = F s r R F s r L f e e d b a c k 2 = f e e d b a c k 1
where f e e d b a c k 1 and f e e d b a c k 2 denote feedback terms for a pair of antagonistic neurons, and F s r R and F s r L represent the total pressure signals measured by the right and left foot plantar sensors, respectively. This method judges the robot’s balance by checking whether the center of gravity lies within the stability region of the Center of Pressure (COP) via the difference in foot pressures. As observed in the Comx 2 trajectory in Figure 19, under this feedback mechanism, the robot exhibits no significant forward adjustment of the CoM after slope ascent. Moreover, the x-component of the CoM trajectory remains closer to the bipedal support boundary. The projection of the center of mass in the x-direction remained within the COP region for only 78.9% of the time in the baseline method. In contrast, the Tegotae-based approach achieved a markedly higher retention rate of 88.3%, representing an improvement of 9.4 percentage points. These results underscore the enhanced robustness of the proposed method.
From Figure 20, it can be seen that during the walking process in the simulation environment, the CoM oscillation in the z-direction shows a trend consistent with the foot landing. For example, at 1.5 s, when the robot is in the right foot support phase of the walking cycle, the CoM is adjusted approximately 0.11 m to the right to maintain balance. After 2.3 s, there is a phase difference between the CoM oscillation and the single support phase, which is mainly due to the fact that the trajectory planning for both the CoM and the foot endpoint did not fully align in frequency and period. However, since the time difference between the lateral adjustment of the CoM and foot landing is relatively short, the robot does not experience tipping. To evaluate the influence of phase deviation between the CoM and foot trajectory on stability, the stability margin was computed. At 3.30 s, which corresponded to a maximum time deviation of 0.10 s, the stability margin was measured at 0.034 m. This confirms that the ZMP remained well within the support polygon without stability being compromised. Further analysis under high-dynamic conditions (Comparison Trajectory 1, higher speed) showed a time deviation of 0.097 s and a stability margin of 0.031 m. The ability to maintain a similar stability margin across different gait modes demonstrates the robustness of the control architecture. The ZMP distribution during the walking simulation process of the robot is shown in Figure 21.
As illustrated in Figure 21, the distribution of the ZMP during locomotion predominantly remains within the support area defined by both feet. On level ground, when the robot progresses to point A at a distance of 0.70 m, an excessive adjustment of the CoM along the z-axis causes the ZMP to slightly exceed the support area, with a deviation of 0.01 m, increasing the risk of instability. When the right foot lands at point B, the ZMP fails to consistently remain within the support polygon, with the minimum distance to the stability boundary being 0.005 m. At point C, the right foot makes contact with the ground during the transition between the supporting legs, and the ZMP falls at the boundary of the stable region. In these three scenarios, the potential for the robot to tip over arises; however, as this study defines the single-legged stability domain as the rectangular envelope surface centered on the contact area, the deviations beyond the boundary remain minor, enabling the robot to maintain stable locomotion. Furthermore, from 1 s to 7 s, the average deviation ( D s ) per gait cycle is observed to be 0.02 m. Except during phases of single-foot support and foot transition, the ZMP distribution consistently resides within the enveloped region defined by both feet, thereby ensuring stability during walking.

4.4. Slope Walking Experiment of Humanoid Robot

This study is based on a self-developed pneumatic muscle humanoid robot to conduct walking performance tests. The physical prototype is shown in Figure 22.
Based on the motion trajectory defined in the previous section, a system dynamics model is established, and the three-element constitutive model is employed to calculate the optimal control pressure for each pneumatic muscle. For the specific modeling approach, refer to Reference [36].
To verify the effectiveness of the CPG walking control strategy, this study constructed an experimental environment with an integrated adjustable slope conveyor belt and installed a high-precision IMU sensor at the center of the robot’s two hip joints. The control performance was evaluated by collecting real-time attitude angle data. Figure 23 shows an experimental snapshot of the robot walking on a gradient-adjustable conveyor belt.
Figure 23a,b illustrate the first stage of walking, during which the robot moves on a nearly horizontal plane with a 0.2° inclination. As shown in panel (a), the robot lifts its right leg at 0.6 s; panel (b) depicts the left leg being lifted at 1.2 s. Figure 23c–h present the second stage of walking under variable slope conditions. Due to the physical constraints of the experimental setup, the maximum slope achievable was limited to 8.9°. At this inclination, the conveyor belt facilitates the robot’s transition from level-ground walking to slope walking. Panel (c) captures the robot’s walking posture as the slope gradually increases to 2.9°. At this point, the gait pattern shifts from straight-knee walking to bent-knee walking. Panels (d) and (e) represent the robot’s walking postures at slopes of 5.1° and 6.9°, respectively. Panels (f) to (h) display a complete gait cycle at the maximum slope of 8.9°. The robot completed postural adjustment for inclined standing at 15.9 s, characterized by flexed lower limbs, an upright stance, and a forward-leaning upper body to adjust the center of gravity. Subsequently, as shown in panel (g), the robot steps forward with the right leg at 17.2 s, followed by the left leg stepping forward at 18.4 s in panel (h).
The robot was driven from a planar surface onto a gently sloped incline, with its posture and pitch angle variations depicted in Figure 24. At 5.2 s, the inclination angle of the conveyor belt was gradually increased from an initial value near 0° to a final slope of 8.9°. As the slope increased, the pitch angle of the robot in the forward direction increased synchronously. When the slope stabilized at the maximum inclination of 8.9° at 14.9 s, the amplitude of the pitch angle also converged, eventually maintaining fluctuations around approximately 0.2 rad. Due to the gap from the simulation to the experiment, although there are differences in the steady-state amplitude, the time history curve of the pitch angle measured in the experiment is in good agreement with the Adams simulation results in the main characteristics. The experimental results indicate that the Tegotae mechanism proposed in this study can be effectively integrated into the CPG-based feedback control system. By sensing slope changes in real-time and dynamically adjusting the spatial position of the center of mass, the mechanism significantly enhances the robot’s disturbance rejection and balance maintenance capabilities. This control strategy enables the humanoid robot to sustain dynamic stability on varying slopes and achieve continuous, smooth autonomous locomotion.

5. Conclusions

This study proposes and validates a biomimetic motion control framework that integrates a CPG with a vestibular reflex mechanism to enhance humanoid robot locomotion in unstructured terrains. First, a CPG planner, designed based on human gait characteristics, effectively generates smooth and natural motion patterns in Cartesian space. To mitigate the mismatch between the mechanical structure and the generated gait, this study developed a gait with high dynamic stability by incorporating body posture constraints into a multi-objective optimization framework. Simulation results demonstrate that the optimized gait achieves a balance between motion performance and energy efficiency. Second, a reflex control strategy inspired by the Tegotae mechanism enables real-time adaptation to slope variations. Simulations verify the feasibility of the proposed framework in achieving stable walking on a 15° slope, while physical experiments demonstrate that the robot can stably transition from level ground to an 8.9° slope, significantly improving robustness on inclined surfaces. Collectively, these findings suggest that the proposed biomimetic control strategy provides an effective solution for enhancing humanoid robot locomotion in complex environments. Although constrained by site conditions (such as the maximum available slope angle), the results strongly support the potential of this framework.
Although this study has demonstrated the robot’s ability to stabilize locomotion on slopes up to 8.9°, certain limitations remain. The trajectory generation method proposed herein processes centroid and foot trajectories separately without integrating them into a unified CPG network, which restricts synchronization between control levels. Future research will focus on developing heterogeneous multi-layer CPG networks to better emulate human motion coordination mechanisms, thereby more fully utilizing the innate synchronization capabilities of CPG. Another key direction will involve advancing CPG from an offline planning tool to an online adaptive controller capable of responding to more complex and dynamic environments. Furthermore, investigating stable locomotion across a broader spectrum of complex terrains—such as stairways and unstructured outdoor paths—as well as under external disturbances will constitute a major emphasis in subsequent research.

Author Contributions

The methodology, virtual prototype design, data collection, and analysis were performed by J.F. The investigation, software development, and initial draft writing were conducted by Y.J. and B.W. Conceptualization, methodology, and simulation were contributed by M.W. and Z.L. Funding acquisition and supervision were handled by K.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Natural Science Foundation of Zhejiang Province (ZCLTGG24E0501) and the State Key Laboratory of Robotics under Grant 2024-028.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

The abbreviations and symbols used in the manuscript are shown in the naming cross-reference table below:
symbolsPhysical meaningabbreviationsFull name
f o o t x Foot trajectory, x-componentCPGCentral Pattern Generator
f o o t y Foot trajectory, y-componentISBInternational Society of Biomechanics
CoM x CoM trajectory, x-componentZMPZero Moment Point
CoM y CoM trajectory, y-componentCoMCenter of Mass
CoM z CoM trajectory, z-componentGAGenetic Algorithm
D s Stability marginCoTCost of Transport
f i t n e s s Fitness function//
θ pitch Torso pitch angle//
θ slope Slope angle//

References

  1. Slade, P.; Atkeson, C.; Donelan, J.M.; Houdijk, H.; Ingraham, K.A.; Kim, M.; Kong, K.; Poggensee, K.L.; Riener, P.; Steinert, M.; et al. On human-in-the-loop optimization of human–robot interaction. Nature 2024, 633, 779–788. [Google Scholar] [CrossRef] [PubMed]
  2. Ma, Z.; Wang, Y.; Zhang, T.; Liu, J. Reconfigurable exomuscle system employing parameter tuning to assist hip flexion or ankle plantarflexion. IEEE/ASME Trans. Mechatron. 2025. [Google Scholar] [CrossRef]
  3. Li, G.; Ijspeert, A.; Hayashibe, M. Ai-cpg: Adaptive imitated central pattern generators for bipedal locomotion learned through reinforced reflex neural networks. IEEE Robot. Autom. Lett. 2024, 9, 5190–5197. [Google Scholar] [CrossRef]
  4. Luo, Y.; Liu, C.; Wu, J.; Xiong, Z.; Ding, H. DCM-based dynamic stable walking under terrain-induced time-varying disturbances for humanoid robots. Sci. China Technol. Sci. 2025, 68, 1420301. [Google Scholar] [CrossRef]
  5. Chen, H.; Zhang, X.; Zhao, M. Squat motion of a humanoid robot using three-particle model predictive control and whole-body control. Sensors 2025, 25, 435. [Google Scholar] [CrossRef] [PubMed]
  6. Wang, X.; Guo, W.; He, Z.; Li, R.; Zha, F.; Sun, L. Bionic jumping of humanoid robot via online centroid trajectory optimization and high dynamic motion controller. J. Bionics Eng. 2024, 21, 2759–2778. [Google Scholar] [CrossRef]
  7. Yang, Y.; Shi, J.; Huang, S.; Ge, Y.; Cai, W.; Li, Q.; Zhao, M. Balanced standing on one foot of biped robot based on three-particle model predictive control. Biomimetics 2022, 7, 244. [Google Scholar] [CrossRef]
  8. Liu, Y.; Chen, X.; Yu, Z.; Qi, H.; Yi, C. Single sequential trajectory optimization with centroidal dynamics and whole-body kinematics for vertical jump of humanoid robot. Biomimetics 2024, 9, 274. [Google Scholar] [CrossRef]
  9. Rich, S.I.; Wood, R.J.; Majidi, C. Untethered soft robotics. Nat. Electron. 2018, 1, 102–112. [Google Scholar] [CrossRef]
  10. van Diggelen, F.; Cambier, N.; Ferrante, E.; Eiben, A.E. A model-free method to learn multiple skills in parallel on modular robots. Nat. Commun. 2024, 15, 6267. [Google Scholar] [CrossRef] [PubMed]
  11. Ijspeert, A.J.; Crespi, A.; Ryczko, D.; Cabelguen, J.M. From swimming to walking with a salamander robot driven by a spinal cord model. Science 2007, 315, 1416–1420. [Google Scholar] [CrossRef]
  12. Kou, J.; Wang, Y.; Chen, Z.; Shi, Y.; Guo, Q. Gait planning and multimodal human-exoskeleton cooperative control based on central pattern generator. IEEE-ASME Trans. Mechatron. 2024, 315, 1–11. [Google Scholar] [CrossRef]
  13. Duan, W.; Chen, W.; Wang, J.; Liu, J.; Pei, Z.; Chen, J. Gait-generation strategy for lower limb exoskeleton based on central pattern generator. IEEE-ASME Trans. Mechatron. 2024, 29, 4191–4202. [Google Scholar] [CrossRef]
  14. Akkawutvanich, C.; Manoonpong, P. Personalized symmetrical and asymmetrical gait generation of a lower limb exoskeleton. IEEE Trans. Ind. Inform. 2023, 19, 9798–9808. [Google Scholar] [CrossRef]
  15. Xu, Z.; Fang, Q.; Liu, C.; Chen, Q. Central pattern generator with defined pulse signals for compliant-resistant control of biped robots. Biomimetics 2023, 8, 100. [Google Scholar] [CrossRef]
  16. Liu, X.; Onal, C.D.; Fu, J. Reinforcement learning of CPG-regulated locomotion controller for a soft snake robot. IEEE Trans. Robot. 2023, 39, 3382–3401. [Google Scholar] [CrossRef]
  17. Namura, N.; Nakao, H. A central pattern generator network for simple control of gait transitions in hexapod robots based on phase reduction. Nonlinear Dyn. 2025, 113, 10105–10125. [Google Scholar] [CrossRef]
  18. Ruppert, F.; Badri-Spröwitz, A. Learning plastic matching of robot dynamics in closed-loop central pattern generators. Nat. Mach. Intell. 2022, 4, 652–660. [Google Scholar] [CrossRef]
  19. Wang, M.; Dong, H.; Li, X.; Zhang, Y.; Yu, J. Control and optimization of a bionic robotic fish through a combination of CPG model and PSO. Neurocomputing 2019, 337, 144–152. [Google Scholar] [CrossRef]
  20. Zhang, C.; Liu, M.; Zhong, P.; Yang, S.; Liang, Z.; Song, Q. Optimization of Biped Robot Walking Based on the Improved Particle Swarm Algorithm. Int. J. Intell. Syst. 2024, 2024, 6689071. [Google Scholar] [CrossRef]
  21. Wu, Y.; Tang, B.; Tang, J.; Qiao, S.; Pang, X.; Guo, L. Stable Walking of a Biped Robot Controlled by Central Pattern Generator Using Multivariate Linear Mapping. Biomimetics 2024, 9, 626. [Google Scholar] [CrossRef] [PubMed]
  22. Wang, J.; Hu, C.; Zhu, Y. CPG-Based Hierarchical Locomotion Control for Modular Quadrupedal Robots Using Deep Reinforcement Learning. IEEE Robot. Autom. Lett. 2021, 6, 7193–7200. [Google Scholar] [CrossRef]
  23. Zhu, Y.; Zhang, L.; Manoonpong, P. Generic Mechanism for Waveform Regulation and Synchronization of Oscillators: An Application for Robot Behavior Diversity Generation. IEEE Trans. Cybern. 2020, 52, 4495–4507. [Google Scholar] [CrossRef]
  24. Sakurai, Y.; Kamimura, T.; Sakamoto, Y.; Nishii, S.; Sato, K.; Fujiwara, Y.; Sano, A. Bipedal Robot Running: Human-Like Actuation Timing Using Fast and Slow Adaptations. Adv. Robot. 2024, 38, 577–588. [Google Scholar] [CrossRef]
  25. Tanaka, H.; Matsumoto, O.; Kawasetsu, T.; Hosoda, K. Enhancing Postural Stability in Musculoskeletal Quadrupedal Locomotion through Tension Feedback for CPG-Based Controller. Bioinspir. Biomim. 2024, 20, 016001. [Google Scholar] [CrossRef]
  26. Pasandi, V.; Sadeghian, H.; Keshmiri, M.; Pucci, D. An Integrated Programmable CPG with Bounded Output. IEEE Trans. Autom. Control 2022, 67, 4658–4673. [Google Scholar] [CrossRef]
  27. Tran, D.H.; Hamker, F.; Nassour, J. A Humanoid Robot Learns to Recover Perturbation during Swinging Motion. IEEE Trans. Syst. Man Cybern. Syst. 2018, 50, 3701–3712. [Google Scholar] [CrossRef]
  28. Song, Z.; Zhu, J.; Xu, J. Gaits Generation of Quadruped Locomotion for the CPG Controller by the Delay-Coupled VDP Oscillators. Nonlinear Dyn. 2023, 111, 18461–18479. [Google Scholar] [CrossRef]
  29. Owaki, D.; Goda, M.; Miyazawa, S.; Ishiguro, A. A Minimal Model Describing Hexapedal Interlimb Coordination: The Tegotae-Based Approach. Front. Neurorobot. 2017, 11, 29. [Google Scholar] [CrossRef] [PubMed]
  30. Wang, L.; Chen, Z.; Wang, X.; Wang, B. Anti-Disturbance Control of CPG Bionic Reflection in Pneumatic Muscle Actuator. iScience 2024, 27, 108665. [Google Scholar] [CrossRef] [PubMed]
  31. Herneth, C.; Hayashibe, M.; Owaki, D. Learnable tegotae-based feedback in CPGs with sparse observation produces efficient and adaptive locomotion. In Proceedings of the 2023 IEEE International Conference on Robotics and Automation (ICRA), London, UK, 29 May–2 June 2023; pp. 1155–1161. [Google Scholar]
  32. Wu, G.; Cavanagh, P.R. ISB recommendations for standardization in the reporting of kinematic data. J. Biomech. 1995, 28, 1257–1262. [Google Scholar] [CrossRef] [PubMed]
  33. Liu, C.; Wang, D.; Goodman, E.D.; Chen, Q. Adaptive walking control of biped robots using online trajectory generation method based on neural oscillators. J. Bionics Eng. 2016, 13, 572–584. [Google Scholar] [CrossRef]
  34. Wang, Y.; Xue, X.; Chen, B. Matsuoka’s CPG with desired rhythmic signals for adaptive walking of humanoid robots. IEEE Trans. Cybern. 2018, 50, 613–626. [Google Scholar] [CrossRef]
  35. Mas, R. A robust approach for the control of the center of mass with inverse kinetics. Comput. Graph. 1999, 20, 693–701. [Google Scholar]
  36. Wang, B.; Wang, Y.; Huang, J.; Zeng, Y.; Liu, X.; Zhou, K. Computed torque control and force analysis for mechanical leg with variable rotation axis powered by servo pneumatic muscle. ISA Trans. 2023, 140, 385–401. [Google Scholar] [CrossRef] [PubMed]
Figure 1. CPG bionic gait research framework.
Figure 1. CPG bionic gait research framework.
Biomimetics 10 00637 g001
Figure 2. The positive x-axis defines the forward direction, the y-axis aligns with the direction of gravity, and the x-z plane constitutes the horizontal plane, with the x-, y-, and z-axes represented by the red, green, and blue components, respectively.
Figure 2. The positive x-axis defines the forward direction, the y-axis aligns with the direction of gravity, and the x-z plane constitutes the horizontal plane, with the x-, y-, and z-axes represented by the red, green, and blue components, respectively.
Biomimetics 10 00637 g002
Figure 3. Human walking phase diagram.
Figure 3. Human walking phase diagram.
Biomimetics 10 00637 g003
Figure 4. Kimura neuron structure and CPG control strategy for humanoid robots.
Figure 4. Kimura neuron structure and CPG control strategy for humanoid robots.
Biomimetics 10 00637 g004
Figure 5. Kimura oscillator output.
Figure 5. Kimura oscillator output.
Biomimetics 10 00637 g005
Figure 6. ZMP Element Diagram. (a) Schematic diagram of foot and ground torque. (b) ZMP stability region diagram, single foot support, and bipedal support. The red dashed line indicates the stable envelope region, while the black rectangle denotes the nominal contact area of the sole used in this study.
Figure 6. ZMP Element Diagram. (a) Schematic diagram of foot and ground torque. (b) ZMP stability region diagram, single foot support, and bipedal support. The red dashed line indicates the stable envelope region, while the black rectangle denotes the nominal contact area of the sole used in this study.
Biomimetics 10 00637 g006
Figure 7. Human joint angle and slope angle.
Figure 7. Human joint angle and slope angle.
Biomimetics 10 00637 g007
Figure 8. Fitness function values. Converge to the optimal level within 100 generations.
Figure 8. Fitness function values. Converge to the optimal level within 100 generations.
Biomimetics 10 00637 g008
Figure 9. Kimura CPG output after optimization. (a) CoM CPG output. (b) Foot CPG output. The components of the four dimensions maintain a certain phase difference.
Figure 9. Kimura CPG output after optimization. (a) CoM CPG output. (b) Foot CPG output. The components of the four dimensions maintain a certain phase difference.
Biomimetics 10 00637 g009
Figure 10. Schematic diagram of motion path of CoM. (a) The generated f o o t x trajectory. (b) The generated f o o t y trajectory. (c) Foot trajectory in the x-y plane. (d) Schematic diagram of motion path of CoM.
Figure 10. Schematic diagram of motion path of CoM. (a) The generated f o o t x trajectory. (b) The generated f o o t y trajectory. (c) Foot trajectory in the x-y plane. (d) Schematic diagram of motion path of CoM.
Biomimetics 10 00637 g010
Figure 11. ZMP locus and landing point distribution. Walk in the direction of increasing x.
Figure 11. ZMP locus and landing point distribution. Walk in the direction of increasing x.
Biomimetics 10 00637 g011
Figure 12. Robot comparison trajectory 1. (a) Robot foot trajectory. (b) ZMP locus and landing point distribution.
Figure 12. Robot comparison trajectory 1. (a) Robot foot trajectory. (b) ZMP locus and landing point distribution.
Biomimetics 10 00637 g012
Figure 13. Robot gait comparison trajectory 2. (a) Robot foot trajectory. (b) ZMP locus and landing point distribution.
Figure 13. Robot gait comparison trajectory 2. (a) Robot foot trajectory. (b) ZMP locus and landing point distribution.
Biomimetics 10 00637 g013
Figure 14. Schematic diagram of robot prototype. (a) Virtual prototype of robot. (b) Robot linkage motion range.
Figure 14. Schematic diagram of robot prototype. (a) Virtual prototype of robot. (b) Robot linkage motion range.
Biomimetics 10 00637 g014
Figure 15. Step length diagram of robot virtual prototype: (a) comparison trajectory 1, (b) near natural trajectory with f i t n e s s a t t i , (c) maximum step size under mechanism limit.
Figure 15. Step length diagram of robot virtual prototype: (a) comparison trajectory 1, (b) near natural trajectory with f i t n e s s a t t i , (c) maximum step size under mechanism limit.
Biomimetics 10 00637 g015
Figure 16. Comparison of joint energy consumption. (a) joint power consumption of near natural gait. (b) Joint power consumption of uncoordinated gait (comparison trajectory 1).
Figure 16. Comparison of joint energy consumption. (a) joint power consumption of near natural gait. (b) Joint power consumption of uncoordinated gait (comparison trajectory 1).
Biomimetics 10 00637 g016
Figure 17. Robot virtual prototype and slope environment. In the schematic, green and blue areas represent flat ground, while red indicates a sloped surface.
Figure 17. Robot virtual prototype and slope environment. In the schematic, green and blue areas represent flat ground, while red indicates a sloped surface.
Biomimetics 10 00637 g017
Figure 18. Walking simulation snapshot. (a) Initiate straight-legged walking on flat ground. (b) Transition to a bent-knee posture and initiate leg lifting. (c) Adapt to slope walking by shifting the center of gravity forward. (d) Conclude the slope traversal and return to walking on flat terrain.
Figure 18. Walking simulation snapshot. (a) Initiate straight-legged walking on flat ground. (b) Transition to a bent-knee posture and initiate leg lifting. (c) Adapt to slope walking by shifting the center of gravity forward. (d) Conclude the slope traversal and return to walking on flat terrain.
Biomimetics 10 00637 g018
Figure 19. Robot foot and CoM movement. Comx 1 is the CoM trajectory with Tegotate feedback control used in this paper, and Comx 2 is the CoM trajectory with plantar pressure feedback control designed in reference [34].
Figure 19. Robot foot and CoM movement. Comx 1 is the CoM trajectory with Tegotate feedback control used in this paper, and Comx 2 is the CoM trajectory with plantar pressure feedback control designed in reference [34].
Biomimetics 10 00637 g019
Figure 20. Trajectoryof robot foot and CoM.
Figure 20. Trajectoryof robot foot and CoM.
Biomimetics 10 00637 g020
Figure 21. ZMP distribution of robot walking on the slope.
Figure 21. ZMP distribution of robot walking on the slope.
Biomimetics 10 00637 g021
Figure 22. Prototype of pneumatic muscle humanoid robot.
Figure 22. Prototype of pneumatic muscle humanoid robot.
Biomimetics 10 00637 g022
Figure 23. A snapshot of humanoid robot walking on flat ground and slopes. (a,b) stage 1: Walking on flat ground. (ch) stage 2: Walking on a variably sloped surface, with the inclination increasing from 0° to a maximum of 8.9°. The subfigures depict representative walking snapshots at slopes of 3.9°, 5.1° and 6.9°.
Figure 23. A snapshot of humanoid robot walking on flat ground and slopes. (a,b) stage 1: Walking on flat ground. (ch) stage 2: Walking on a variably sloped surface, with the inclination increasing from 0° to a maximum of 8.9°. The subfigures depict representative walking snapshots at slopes of 3.9°, 5.1° and 6.9°.
Biomimetics 10 00637 g023
Figure 24. The body attitude in pitch planes.
Figure 24. The body attitude in pitch planes.
Biomimetics 10 00637 g024
Table 1. Results of CoM trajectory parameter optimization.
Table 1. Results of CoM trajectory parameter optimization.
ParameterValue
T r , T a 0.123, 0.255
s 0 , β , a0.365, −3.614, −1.930
η x , η y , η z 0.338, 0.776, −0.0072
ς x , ς y , ς z , λ c 0.197, 0.101, 0.451, 0.586
Table 2. Results of foot trajectory parameter optimization.
Table 2. Results of foot trajectory parameter optimization.
ParameterValue
T r , T a 0.139, 0.246
s 0 , β , a0.375, −3.414, −1.790
x 0 , z 0 0.238, 0.037
C x , C y , δ f 0.388, 0.176, 0.555
Table 3. Results of gait energy efficiency comparison.
Table 3. Results of gait energy efficiency comparison.
JointConsumption IndexNear Natural GaitUncoordinated Gait
HipTotal Energy (J)44.9247
KneeTotal Energy (J)90.7425.3
AnkleTotal Energy (J)4.454.3
TotalCoT1.754.08
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Fang, J.; Jin, Y.; Wang, B.; Zhou, K.; Wang, M.; Liu, Z. Bio-Inspired Central Pattern Generator for Adaptive Gait Generation and Stability in Humanoid Robots on Sloped Surfaces. Biomimetics 2025, 10, 637. https://doi.org/10.3390/biomimetics10090637

AMA Style

Fang J, Jin Y, Wang B, Zhou K, Wang M, Liu Z. Bio-Inspired Central Pattern Generator for Adaptive Gait Generation and Stability in Humanoid Robots on Sloped Surfaces. Biomimetics. 2025; 10(9):637. https://doi.org/10.3390/biomimetics10090637

Chicago/Turabian Style

Fang, Junwei, Yinglian Jin, Binrui Wang, Kun Zhou, Mingrui Wang, and Ziqi Liu. 2025. "Bio-Inspired Central Pattern Generator for Adaptive Gait Generation and Stability in Humanoid Robots on Sloped Surfaces" Biomimetics 10, no. 9: 637. https://doi.org/10.3390/biomimetics10090637

APA Style

Fang, J., Jin, Y., Wang, B., Zhou, K., Wang, M., & Liu, Z. (2025). Bio-Inspired Central Pattern Generator for Adaptive Gait Generation and Stability in Humanoid Robots on Sloped Surfaces. Biomimetics, 10(9), 637. https://doi.org/10.3390/biomimetics10090637

Article Metrics

Back to TopTop