A Trainable CPG Framework for Quadruped Locomotion
Organizations: The authors are with the State Key Laboratory of Fluid Power & Mechatronic Systems, Key Laboratory of Soft Machines and Smart Devices of Zhejiang Province, Center for X-Mechanics, Department of Engineering Mechanics, Zhejiang University, 38 Zheda Road, Hangzhou 310027, China.
Abstract
We present CPG-ENN, a trainable quadruped locomotion framework that combines explicit neural coordination with learned motion realization. A symmetry-based eight-neuron central pattern generator (CPG) supplies gait rhythms, while a pretrained, leg-shared execution neural network (ENN) maps rhythmic signals and trajectory parameters to joint-angle references without online inverse kinematics. A single feedback policy modulates six physically interpretable trajectory variables. The controller tracks planar velocity and yaw-rate commands across walk, trot, pace, bound, and pronk without gait-specific learned controllers or transitionspecific rewards. Simulation yields 99.39% transition success across all 20 directed gait pairs and all source-target speed combinations from {0.5, 1.0, 1.5, 2.0} m/s. Ablations show high cross-gait transition feasibility without transition exposure; exposure mainly refines gait acquisition and velocity transients. Comparisons with AllGaits and Walk These Ways demonstrate accurate gait-speed regulation, and Unitree Go2 experiments validate five gaits and their transitions.
Figures & tables
| Term | Expression | Weight |
|---|---|---|
| Forward velocity | ||
| Lateral velocity | ||
| Yaw rate | ||
| Velocity achievement | ||
| Energy | ||
| Action rate |
| PPO Parameters | Value |
|---|---|
| Batch size | |
| Mini-batch size | |
| Number of epochs | per update |
| Clip range | |
| Entropy coefficient | |
| Discount factor |
| Variant | Success | IAE | Tilt RMS | ||
|---|---|---|---|---|---|
| (%) | (s) | (m) | (rad) | (rad) | |
| (a) Transition exposure and CPG transition rule | |||||
| w/o Stage-1 curriculum | 97.5 | 0.810 | 0.2562 | 0.5452 | 0.0391 |
| w/o trans. exposure + initial-state reset | 98.5 | 0.798 | 0.2971 | 0.4279 | 0.0467 |
| w/o trans. exposure + intrinsic dynamics | 98.0 | 1.191 | 0.5828 | 0.3357 | 0.0796 |
| w/o trans. exposure + common-time | 99.5 | 0.772 | 0.2924 | 0.5474 | 0.0401 |
Robot Locomotion
Robot locomotion studies how robots move efficiently and reliably across varied terrains, environments, and movement modes.
See all 233 papers