Improving Input-Output Linearizing Controllers for Bipedal Robots via Reinforcement Learning

Fernando Castañeda, Mathias Wulfman, Ayush Agrawal, Tyler Westenbroek, Shankar Sastry, Claire J. Tomlin, Koushil Sreenath

Introduction

Bipedal locomotion presents a significant challenge in robotics due to the highly nonlinear, underactuated, and hybrid nature of the systems. A common control strategy is input-output (I-O) linearization via Hybrid Zero Dynamics (HZD), which uses a mathematical model to cancel nonlinearities and track desired trajectories. However, this method is sensitive to model inaccuracies and physical hardware constraints, such as motor torque limits (input saturation). This paper introduces a hybrid control framework that combines classical I-O linearization with Reinforcement Learning (RL) to address these vulnerabilities.

The Challenge of Model Uncertainty and Saturation

Classical I-O linearization relies on an accurate model of the robot's dynamics (mass, inertia, friction). When the physical robot deviates from this model—a common occurrence in real-world deployment—the controller's performance degrades, often leading to instability and falls. Furthermore, standard I-O controllers assume infinite torque availability. When motors hit their physical limits, the mathematical guarantees of linearization vanish, causing the system to fail.

Proposed RL-Enhanced Controller

To overcome these limitations, the authors propose an RL-enhanced controller that learns an additive compensation term. This term corrects the control signal generated by a baseline I-O controller based on a flawed model.

The RABBIT robot and its 5-link planar coordinate system used for simulation and control design.

The framework utilizes the Deep Deterministic Policy Gradient (DDPG) algorithm. The neural network observes the robot's state and outputs a correction that minimizes the tracking error between the desired linear behavior and the actual observed dynamics. Crucially, the RL agent is trained with explicit torque saturation limits ($u_{min}, u_{max}$) embedded in the action space. This ensures the learned policy is physically realizable and robust to saturation effects.

Key Results and Robustness

The hybrid controller was evaluated using a simulated model of the RABBIT robot, a 5-link planar biped.

Robustness to Model Mismatch

The researchers tested the system by scaling the robot's actual mass and inertia by factors of 1.5 and 3.0 relative to the controller's internal model. While the original I-O controller failed rapidly under these conditions, the RL-enhanced version successfully stabilized the gait.

Tracking error and joint torques under model uncertainty (scale = 1.5 and 3.0). The RL-enhanced controller maintains low error where the original controller fails.

As shown in the results, the RL-enhanced controller significantly reduces the Euclidean norm of the tracking error compared to the original controller, which diverges. Even at 3x the expected mass, the RL agent learns to compensate without requiring excessive torque.

Handling Torque Saturation

In scenarios with strict torque limits (e.g., 45 Nm), the baseline controller failed almost immediately. In contrast, the RL-enhanced controller, having learned to operate within these bounds during training, maintained stable walking. Poincaré map analysis further confirmed the local exponential stability of the RL-enhanced system, with dominant eigenvalues consistently below 1, proving the system's robustness.

Conclusion

By integrating RL as a compensatory layer for classical control, this research demonstrates a path toward more robust bipedal robots. The approach preserves the structured benefits of control theory while leveraging the adaptability of machine learning to handle real-world uncertainties and hardware constraints. Future work aims to validate this framework on 3D bipedal platforms like Cassie.

Summary updated

BibTeX
@inproceedings{castaneda2020improving,
  author = {Fernando Castañeda and Mathias Wulfman and Ayush Agrawal and Tyler Westenbroek and Shankar Sastry and Claire J. Tomlin and Koushil Sreenath},
  title = {{Improving Input-Output Linearizing Controllers for Bipedal Robots via Reinforcement Learning}},
  booktitle = {L4DC},
  year = {2020},
}
Figure