Abstract
This paper presents a bio-inspired central pattern generator (CPG)-type architecture for learning optimal maneuvering control of periodic locomotory gaits. The architecture is presented here with the aid of a snake robot model problem involving planar locomotion of coupled rigid body systems. The maneuver involves clockwise or counterclockwise turning from a nominally straight path. The CPG circuit is realized as a coupled oscillator feedback particle filter. The collective dynamics of the filter are used to approximate a posterior distribution that is used to construct the optimal control input for maneuvering the robot. A Q-learning algorithm is applied to learn the approximate optimal control law. The theoretical results are illustrated with numerics for a 5-link snake robot system.
Introduction
Controlling multi-link robots, such as robotic snakes, presents a significant challenge for classical control theory. These systems are highly nonlinear, and their movement depends on complex interactions with the environment—such as friction—that are difficult to model accurately. In nature, animals solve this using Central Pattern Generators (CPGs), which are neural circuits that produce rhythmic patterns for walking or swimming without requiring constant input from the brain.
This research introduces a bio-inspired architecture that allows a snake robot to learn optimal maneuvering (e.g., turning) using only noisy sensor data and a reward signal. By combining a distributed Feedback Particle Filter (FPF) to estimate the robot's internal state with a Q-learning algorithm, the system mimics biological CPGs to achieve complex locomotion without needing a prior mathematical model of the robot's physics.
Methods
The proposed architecture consists of a two-layer system designed for phase modeling and reinforcement learning.
Phase Modeling & Filtering
Instead of tracking every angle and velocity of the snake's joints, the authors utilize "phase reduction." They assume the snake's steady-state movement follows a periodic limit cycle. A Feedback Particle Filter (FPF)—comprising a population of virtual oscillators—is used to estimate the robot's current "phase" based on noisy sensor measurements. Crucially, this filter is distributed; each joint has its own local filter, allowing for localized state estimation and synchronization with the physical system.
Reinforcement Learning (Q-learning)
To learn how to turn, the system employs Q-learning in a continuous-time setting. This involves learning the Hamiltonian function associated with the optimal control problem. The robot receives a "reward" (or cost) based on its change in orientation. A key innovation is the parametrization of the Q-function, designed so that the resulting control policy for any given link only requires information from its immediate neighbors. This decentralized execution makes the system scalable to robots with many more links.
Results and Discussion
The approach was validated using a high-fidelity numerical simulation of a 5-link snake robot. The simulation included complex physics such as normal and tangent friction coefficients to ensure a realistic environment for the learning agent.
Successful Maneuvering and Convergence
The 5-link snake successfully learned to turn clockwise and counter-clockwise from a nominally straight path. The Feedback Particle Filter effectively synchronized the virtual oscillators with the robot's actual physical phase, even under significant sensor noise. The Q-learning algorithm demonstrated effective convergence, as evidenced by the stabilization of learned control parameters over time.
Key Insights
- Biological Plausibility: The FPF behaves like a population of neurons, where "particles" electrically encode the mechanical shape of the robot.
- Complexity Reduction: By mapping high-dimensional physics onto a simple 1D phase variable, the learning problem becomes manageable.
- Model-Free Flexibility: Because the system learns the dynamics and the sensor model online, it can theoretically adapt to physical changes—such as the loss of a limb—or new environments without manual recalibration.
Conclusion
This work demonstrates a robust, bio-inspired framework for sensorimotor control in rhythmic locomotion. By leveraging the principles of CPGs and modern reinforcement learning, the system achieves complex maneuvering in a model-free manner. Future work will focus on making the learning process itself distributed and extending the framework to soft robotics using continuum rod models.
Summary updated