Abstract
We address a state-of-the-art reinforcement learning (RL) control approach to automatically configure robotic prosthesis impedance parameters to enable end-to-end, continuous locomotion intended for transfemoral amputee subjects. Specifically, our actor-critic based RL provides tracking control of a robotic knee prosthesis to mimic the intact knee profile. This is a significant advance from our previous RL based automatic tuning of prosthesis control parameters which have centered on regulation control with a designer prescribed robotic knee profile as the target. In addition to presenting the complete tracking control algorithm based on direct heuristic dynamic programming (dHDP), we provide an analytical framework for the tracking controller with constrained inputs. We show that our proposed tracking control possesses several important properties, such as weight convergence of the learning networks, Bellman (sub)optimality of the cost-to-go value function and control input, and practical stability of the human-robot system under input constraint. We further provide a systematic simulation of the proposed tracking control using a realistic human-robot system simulator, the OpenSim, to emulate how the dHDP enables level ground walking, walking on different terrains and at different paces. These results show that our proposed dHDP based tracking control is not only theoretically suitable, but also practically useful.
Introduction
For individuals with transfemoral (above-knee) amputations, powered prostheses offer the potential for significantly improved mobility. However, the effectiveness of these devices hinges on impedance control, a method that requires the precise tuning of multiple parameters—stiffness ($K$), damping ($B$), and equilibrium position ($\theta_e$)—for every distinct phase of a walking step.
Traditionally, this tuning process is performed manually by clinicians, a method described as "time and labor intensive." Moreover, most existing automated systems rely on a "prescribed" target gait—a pre-programmed mathematical curve. Such static targets fail to account for the unique movement patterns of an individual or how they might naturally adjust their pace or posture when encountering slopes. This research addresses the challenge of tracking control: enabling a robotic limb to dynamically mirror the "intact" (natural) limb's motion profile, creating a more intuitive and biologically appropriate gait.
Methods and Architecture
The core of this approach is an actor-critic RL architecture known as direct Heuristic Dynamic Programming (dHDP). This framework allows the system to "learn" optimal impedance parameters through interaction with the environment rather than relying on pre-defined models.
The Control Framework
The system integrates three primary components:
- Finite State Machine (FSM-IC): Divides the gait cycle into four functional phases: stance flexion (Phase 1), stance extension (Phase 2), swing flexion (Phase 3), and swing extension (Phase 4).
- The RL Controller:
- State ($s_k$): Defined as the error between the intact knee and the prosthetic knee, specifically focusing on differences in peak angle and phase duration.
- Action ($u_k$): The adjustments made to the impedance parameters ($K, B, \theta_e$).
- Critic Network: Estimates the "cost-to-go," evaluating long-term performance.
- Action Network (Actor): Determines the parameter changes required to minimize the cost-to-go.
- Mathematical Stability: Unlike many empirical RL applications, this work includes a formal Lyapunov stability analysis. The authors prove that neural network weights converge and the system remains stable even under constrained control inputs, ensuring the device operates within safe physical limits.
Tracking the Intact Limb
A key innovation of this study is using the user's own intact limb as the gold standard for the target gait. By treating the healthy leg as the reference, the system captures complex biological "inter-relational information" between joints that mathematical models often miss.
As shown in the gait profile comparison, the goal is to minimize the discrepancy between the blue (intact) and orange (prosthesis) curves across all four phases. This enables end-to-end learning where the system tracks the limb throughout the entire cycle, rather than just at specific discrete points.
Experimental Results
The dHDP controller was validated using OpenSim, a high-fidelity biomechanical simulator, across three challenging scenarios: level ground walking, varying terrains (changing every 20 cycles), and changing paces (80% to 120% of initial speed).
- High Success Rates: The system achieved a 100% success rate in level-ground tracking and maintained 80–92% success even when the walking pace was varied significantly.
- Rapid Convergence: During initial training on level ground, the system learned correct parameters in an average of 64.6 steps. Once trained, the actor network could adapt to entirely new profiles in as few as 19 to 36 steps.
- Significant Error Reduction: In baseline tests, the Root Mean Square (RMS) tracking error for the knee angle was reduced from 0.0588 radians to just 0.0131 radians.
Conclusion and Future Directions
This research demonstrates the first systematic tracking control for a robotic prosthesis that can handle continuous, end-to-end walking by mimicking the intact limb. While the results in OpenSim are promising, the authors acknowledge that the next critical step is human-in-the-loop verification. Future work will focus on testing these algorithms with actual amputee subjects to observe the real-world co-adaptation between human and machine, as well as optimizing the computational requirements for wearable hardware.
Summary updated