Residual Deep Reinforcement Learning-Based Computed Torque Control for a Cable-Driven Lower-Limb Rehabilitation Robot under Disturbances and Parametric Uncertainties
Organizations: Department of Mechanical Engineering, Faculty of Engineering, Kharazmi University, Tehran, Iran
Abstract
Accurate trajectory tracking in cable-driven lower-limb rehabilitation robots is challenging because model uncertainty, external disturbances, joint constraints, and pull-only cable actuation can degrade nominal control performance. Conventional model-based controllers provide an interpretable control structure but remain sensitive to model mismatch, whereas fully learning-based control can reduce transparency and complicate constraint-aware operation. This study proposes a residual deep reinforcement learning-enhanced computed torque control framework in which computed torque control generates the nominal command and a bounded Deep Deterministic Policy Gradient policy supplies only an additional compensating torque. The approach is evaluated in simulation under nominal, uncertain, disturbed, combined, and generalization conditions, together with trajectory-tracking, joint-limit, cable-demand, workspace-feasibility, and cable-Jacobian diagnostics. Across the evaluated conditions, the residual controller improves tracking and disturbance rejection relative to computed torque control while preserving the interpretable model-based command structure and satisfying the reported feasibility checks in the representative evaluation. Broader tests indicate that tracking improvements can persist beyond the representative case while also exposing trajectory-dependent constraint limitations. These results support bounded residual learning as a practical robustness-enhancement strategy for simulation-based rehabilitation robot control and motivate further constraint-aware and experimental validation.
Figures & tables
| Literature group | Main emphasis | Role in the present study |
| Cable-driven rehabilitation systems | Mechanism design, low moving inertia, task-specific assistance, and human-oriented control | Defines the application domain and motivates reproducible lower-limb motion generation |
| Cable feasibility and CDPR control | Positive-tension feasibility, wrench distribution, force allocation, robustness, and Jacobian properties | Motivates nonnegative-tension feasibility, Jacobian-rank, minimum-singular-value, and conditioning analyses |
| Nonlinear rehabilitation control | Computed-torque, robust/adaptive, impedance, admittance, and assist-as-needed control | Establishes the interpretable model-based control layer and comparative baseline |
| DDPG and residual RL | Continuous-action learning and learned correction around an existing controller | Provides the bounded compensation mechanism used here |
| Present study | Computed-torque control with bounded residual DDPG for a planar 3-DOF, three-cable lower-limb model | Integrates trajectory-tracking evaluation with joint-limit, cable-tension, workspace-feasibility, and Jacobian-conditioning analyses |
| Symbol | Meaning |
| Joint position, velocity, and acceleration vectors | |
| Actual and desired Cartesian end-effector positions | |
| Joint and link-center-of-mass positions | |
| Fixed anchor and moving attachment of cable | |
| Cable length and anchor-to-attachment unit vector | |
| Implemented cable actuation Jacobian, |
| Quantity | Value | Description |
| m | Calibrated nominal link lengths | |
| kg | Link masses | |
| kg m 2 | COM inertias | |
| m s -2 | Gravitational acceleration | |
| deg | Lower joint limits | |
| deg | Upper joint limits |
| Parameter | Value |
| Observation/action dimensions | 12 / 3 |
| Residual torque bounds | N m |
| Actor hidden layers | 256 and 256 ReLU neurons |
| Critic feature width | 256 neurons per path/stage |
| Agent sample time | s |
| Discount factor |
| Step | Operation |
| 1 | Read and form using the constrained reference. |
| 2 | Evaluate and compute from Eqs. ( 39 )–( 40 ). |
| 3 | Form and evaluate the actor; add exploration only during training. |
| 4 | Scale the actor output to the bounds in Eq. ( 44 ) and form . |
| 5 | Integrate the uncertain/disturbed generalized-coordinate plant and compute the reward. |
| 6 | During training, store , sample a minibatch, update critic and actor, and softly update target networks. |
| Signal | Unit | Simscape–EOM | ADAMS–EOM |
| deg | |||
| deg | |||
| deg | |||
| mm | |||
| mm |
| Check | Purpose | Interpretation |
| Forward/inverse kinematics | Verify Cartesian-reference and joint-coordinate consistency | Kinematic consistency of the implemented reference-generation chain |
| Simscape Multibody | Compare the analytical dynamics with an independent multibody formulation | Nominal simulation-to-simulation consistency under matched parameters |
| MSC ADAMS | Provide an additional independent multibody implementation check | Cross-platform nominal dynamic consistency |
| Tension post-processing | Audit the pull-only cable-demand mapping | Generalized-torque demand mapped to inferred cable tension |
| Workspace and analysis | Evaluate sampled reachability, static nonnegative-tension feasibility, rank, and conditioning | Sampled, trajectory-specific cable-feasibility evidence |
| Setting | Value |
| Simulation duration / fixed step | 10 s / 0.01 s |
| Archived solver setting | Fixed-step ode3 under FixedStepAuto |
| Nominal Cartesian initial state | m |
| Primary trajectory | Eq. ( 14 ) |
| CTC gains | , |
| Uncertainty | Simultaneous perturbation of masses, COM inertias, and length-dependent plant-dynamics coefficients; calibrated kinematic geometry remains fixed |
| Case | Parametric uncertainty | External disturbance |
| C1: nominal | inactive | inactive |
| C2: uncertainty only | 10%, 1–5 s | inactive |
| C3: disturbance only | inactive | 5–9 s |
| C4: combined | 10%, 1–5 s | 5–9 s |
| Quantity | Value |
| Samples per joint / total samples | 45 / 91,125 |
| Statically nonnegative-tension samples | 33,921 |
| Nonnegative-tension sample ratio | 37.22% |
| Desired path inside geometric sample | 100% |
| Desired path inside tested feasible sample | 100% |
| Minimum along path | 0.01481 |
| Metric | CTC | CTC + residual DDPG | Change |
| RMS Cartesian error (m) | 0.0221419 | 0.0128462 | 42.0% lower |
| Peak Cartesian error (m) | 0.0970994 | 0.0782787 | 19.4% lower |
| IAE (m s) | 0.156619 | 0.0572133 | 63.5% lower |
| ISE (m 2 s) | 0.00487701 | 0.00162135 | 66.8% lower |
| Recovery time after disturbance onset (s) | 0.08 | 0 | – |
| Minimum logged cable-demand output (N) | 0 | 3.41445 | – |
| Case | Controller | RMS (m) | Peak (m) | Min. tension (N) | RMS reduction |
| Nominal | CTC | 0.016479 | 0.097099 | 0 | – |
| Nominal | CTC + residual DDPG | 0.013001 | 0.078279 | 3.7196 | 21.1% |
| Uncertainty only | CTC | 0.021239 | 0.097099 | 0 | – |
| Uncertainty only | CTC + residual DDPG | 0.012875 | 0.078279 | 3.7197 | 39.4% |
| Disturbance only | CTC | 0.018034 | 0.097099 | 0 | – |
| Disturbance only | CTC + residual DDPG | 0.013034 | 0.078279 | 3.9467 | 27.7% |
| Case | (m) | (m) | Role |
| IC1 | Upper-side offset | ||
| IC2 | Mild offset | ||
| IC3 | Nominal main-run initial state | ||
| IC4 | Lower-side offset |