Next Article in Journal
Continuous Anchor-Confidence-Weighted UWB/IMU Localization for Unmanned Ground Vehicles in Structured Indoor Environments
Previous Article in Journal
Reliability Evaluation of RSrSF-LoRa and LoRaWAN for Dense Industrial IoT Networks in a Smelter Environment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Control of Lower-Limb Assistive Exoskeleton for Rehabilitation Using Deep Reinforcement Learning

Faculty of Science and Technology, University of Canberra, Canberra, ACT 2617, Australia
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(16), 5217; https://doi.org/10.3390/s26165217
Submission received: 4 July 2026 / Revised: 11 August 2026 / Accepted: 12 August 2026 / Published: 17 August 2026
(This article belongs to the Section Wearables)

Abstract

Lower-limb rehabilitation exoskeletons have the potential to improve gait recovery after stroke by providing intensive and repetitive training. However, conventional control strategies often rely on fixed control parameters and exhibit limited adaptability to patient-specific characteristics, sensor noise, and dynamic uncertainties. This paper proposes an adaptive control framework that combines deep reinforcement learning (RL) with model-based impedance control for personalised lower-limb exoskeleton assistance. Patient-specific biological parameters are incorporated into the simulation environment and reward formulation to improve adaptability and robustness. Three state-of-the-art deep RL algorithms, Deep Deterministic Policy Gradient (DDPG), Twin Delayed Deep Deterministic Policy Gradient (TD3), and Soft Actor-Critic (SAC), are evaluated in a continuous control environment under varying signal-to-noise ratio (SNR) conditions ranging from 5 dB to noise-free conditions. Results demonstrate that TD3 achieves the most stable learning performance, obtaining a mean reward of −354.24 under noise-free conditions, while DDPG provides the highest joint-angle tracking accuracy with an RMSE of 0.0369 rad. SAC exhibits superior robustness in noisy environments, achieving the highest learning ratio of 0.51 at 5 dB SNR. Furthermore, the proposed personalised framework reduces tracking errors by up to 27% compared with non-personalised baseline approaches. The findings indicate that integrating patient-specific information with RL-based adaptive control can significantly enhance robustness, tracking performance, and personalisation in exoskeleton-assisted gait rehabilitation, providing a promising direction for future intelligent rehabilitation systems.

1. Introduction

Stroke is a principal cause of long-term impairment and diminished quality of life internationally, ranking as the second greatest cause of mortality and a significant contributor to disability-adjusted life years (DALYs) worldwide [1,2]. In 2021, around 11.9 million new strokes and over 93 million existing cases were documented globally, with forecasts suggesting further increases attributed to ageing demographics and escalating risk factors in various areas [2,3]. In Australia, the burden is significant: recent estimates indicate 41,100 to 45,785 stroke incidents annually (about 113 events per day, or one every 11 min), with a considerable number being first-ever strokes, and over 440,000 individuals enduring the aftermath of stroke. A considerable proportion of survivors exhibit pronounced lower-limb motor impairments, leading to abnormal gait patterns, diminished walking speed and endurance, balance deficiencies, heightened fall risk, reliance on assistance for everyday activities, and considerable emotional consequences [4,5].
Effective post-stroke rehabilitation emphasises the restoration of motor function using high-repetition, task-specific training to enhance neuroplasticity and facilitate gait recovery. However, conventional therapist-administered rehabilitation is resource-expensive, constrained by staffing shortages and therapist fatigue, and frequently fails to provide the intensive dosage necessary for significant functional improvements [6,7].
Robotic lower-limb assistive exoskeletons have evolved as a promising solution to address these challenges. These devices offer mechanical support to the hip, knee, and ankle joints, enabling consistent and repetitive practice of functional tasks such as walking, sit-to-stand transitions, and standing balance exercises while reducing the physical burden on therapists and allowing prolonged training sessions. Recent advances in wearable robotic systems have demonstrated the potential of lightweight and compliant assistive devices for gait rehabilitation and mobility enhancement. For example, Ma et al. developed a reconfigurable exomuscle system based on pneumatic artificial muscles capable of providing both hip-flexion and ankle-plantarflexion assistance while reducing metabolic cost during walking [8]. Similarly, Watanabe et al. proposed a sensor-minimal pneumatic exosuit that integrates posture estimation and gait assistance through phase-dependent role switching within a unified pneumatic architecture [9]. Further, devices such as the Lokomat, Ekso GT, and ReWalk have demonstrated efficacy in clinical settings for improving gait metrics and patient engagement [3,10,11,12]. These studies demonstrate the growing interest in adaptive and human-centred exoskeleton technologies. Despite these advances, most existing studies primarily focus on hardware design, actuation strategies, and gait-phase assistance. In contrast, the present study investigates adaptive high-level control through deep reinforcement learning combined with impedance control.
Despite these advancements, control strategies for exoskeletons remain a major challenge. Model-based approaches, such as PID controllers and impedance/admittance control, rely on precise mathematical models of the human–exoskeleton system but struggle with real-world uncertainties, including inter-subject variability (e.g., differences in bone length, muscle mass, joint stiffness, spasticity, or fatigue), unmodelled dynamics, and external disturbances [12,13,14]. Model-free machine learning methods often require large labelled datasets and generate generalised policies that fail to accommodate individual patient needs, resulting in suboptimal performance and limited compliance [15,16,17]. For example, supervised sequence-learning approaches such as Long Short-Term Memory (LSTM) networks and Time Delay Neural Networks (TDNNs) have shown promising performance in predicting gait trajectories and joint kinematics, and their primary objective is to approximate temporal patterns from historical observations [18]. Consequently, these methods typically operate as reactive predictors and may exhibit limited adaptability when system dynamics, environmental conditions, or patient characteristics differ from those encountered during training.
In contrast to conventional supervised sequence-learning approaches that primarily predict future trajectories from historical observations, reinforcement learning (RL) learns a control policy through continuous interaction with the environment and explicitly optimises long-term cumulative rewards. This enables the controller to account for the future consequences of current actions, adapt to disturbances and uncertainties, and develop decision-making strategies that generalise across varying rehabilitation conditions. The ability to learn adaptive and goal-directed behaviours makes RL particularly suitable for human–exoskeleton interaction, where patient-specific variability, changing biomechanical conditions, and dynamic uncertainties are unavoidable. Furthermore, deep reinforcement learning (DRL) extends these capabilities to high-dimensional continuous state-action spaces by combining reinforcement learning principles with deep neural networks. Through trial-and-error learning and reward maximisation, DRL algorithms can effectively address complex control problems involving non-linear dynamics, sensor noise, and environmental variability [19,20,21,22]. In particular, state-of-the-art continuous-control algorithms such as Deep Deterministic Policy Gradient (DDPG), Twin Delayed Deep Deterministic Policy Gradient (TD3), and Soft Actor-Critic (SAC) have demonstrated considerable success in robotic applications due to their ability to provide stable learning, robust decision-making, and improved adaptability under uncertain operating conditions [23,24].
This paper proposes a novel adaptive control system for lower-limb assistive exoskeletons that integrates model-based impedance control with deep reinforcement learning to deliver tailored and robust assistance for key rehabilitation tasks (walking, sitting, and standing). The primary innovation is the explicit incorporation of patient-specific biological parameters (bone length and muscle mass) into the RL state space and reward function, enabling adaptive responses to uncertainty, noise, and inter-subject variability. Three prominent reinforcement learning algorithms (DDPG, TD3, and SAC) are systematically evaluated in a simulated continuous action space under different signal-to-noise ratios. Results demonstrate that TD3 provides superior stability and resilience. While the current study employs a simplified dynamic model to systematically evaluate the RL algorithms, future extensions will address more realistic human–exoskeleton interactions.
The remainder of this paper is organised as follows: Section 2 reviews the related literature on exoskeleton control and reinforcement learning applications. Section 3 presents the proposed methodology, including the musculoskeletal model, reinforcement learning formulation, and simulation setup. Section 4 reports the experimental results and comparisons. Section 5 discusses the implications, limitations, and future directions.

2. Literature Review

Lower-limb exoskeletons have evolved significantly since their introduction in the 1960s, initially developed for military applications and later adapted for rehabilitation of gait disorders such as stroke [25]. Early systems primarily focused on mechanical design to enhance mobility, exemplified by the Berkeley Lower Extremity Exoskeleton (BLEEX), which emphasised passive assistance [26,27]. Over the past decade, research has shifted toward active control strategies aimed at improving human–robot interaction, reducing therapist workload, and enabling personalised treatment [28]. This study categorises existing control approaches into model-based and model-free techniques, with a particular focus on reinforcement learning (RL) for adaptive control, and identifies the limitations that the proposed framework seeks to overcome.

2.1. Model-Based Control

Conventional model-based controllers rely on explicit mathematical models of the human–exoskeleton system. PID controllers have been widely employed for trajectory tracking in devices such as the Lokomat, providing consistent support during gait training [29]. Impedance and admittance control improve compliance by modelling the system as a mass-spring-damper, allowing adjustable stiffness based on user intent [30]. Cao et al. incorporated musculoskeletal models into adaptive impedance control to account for biological factors such as muscle length, achieving reduced tracking errors in simulation [31]. However, these methods are sensitive to model inaccuracies, including unmodelled uncertainties (e.g., joint friction and patient variability), leading to degraded performance in real-world conditions. They also often require extensive parameter tuning for each patient, which limits scalability [32].

2.2. Model-Free Control

To overcome the limitations of model-based approaches, model-free machine learning techniques have gained increasing attention [33]. Supervised learning methods, such as neural networks for gait prediction, have been used to map sensor data to joint torques [15]. Unsupervised techniques, including clustering for gait phase detection, enable real-time adaptation without labelled data [34]. Nevertheless, supervised approaches typically demand large datasets, while unsupervised methods often lack goal-directed optimisation, resulting in suboptimal performance in highly dynamic environments [18,35].

2.3. Reinforcement Learning

Reinforcement learning has emerged as a powerful paradigm for exoskeleton control, offering individualised adaptation and robustness to uncertainty in human–exoskeleton interaction (HEI). This section reviews recent advances in RL-based exoskeleton control and highlights current limitations [36,37,38].
Early RL applications focused on specific tasks such as squatting and walking. Luo et al. developed an RL controller for stable squatting by incorporating centre of pressure (CoP) into the reward function and using dynamic randomisation and adversarial perturbations to improve robustness against unexpected interaction forces [39]. Huang et al. proposed a hierarchical interactive learning (HIL) framework combining dynamic movement primitives (DMPs) with RL, achieving a 12% reduction in human–exoskeleton interaction forces across different terrains [40]. Although promising, these methods were often limited to predefined movements and showed limited generalisation across patients [39,40].
Recent studies have leveraged deep RL algorithms to handle continuous action spaces and complex dynamics. Luo et al. introduced a decoupled RL framework with three neural networks (policy, interaction force prediction, and muscle coordination) trained via domain randomisation, enabling effective walking assistance for both quadriplegic and hemiplegic patients without manual parameter tuning [41]. Zheng et al. applied deep RL for sensitivity amplification and virtual impedance control, reducing human–exoskeleton interaction forces by up to 46% compared to conventional methods [36,42,43]. Other works have integrated DMPs with RL for joint trajectory learning [44] and variational autoencoders (VAE) with RL for adaptive gait prediction [45].
Advanced on-policy algorithms such as PPO have also been explored due to their stability and sample efficiency. Dizor et al. combined long short-term memory (LSTM) networks with PPO for movement intention prediction using surface electromyography (sEMG) and inertial measurement unit (IMU) data [46]. Mowbray and Rakshit utilised PPO with model-based virtual planning for improved trajectory tracking [47]. Wong Sang et al. investigated offline RL using TD3 with behaviour cloning to enhance gait tracking while addressing safety during training [37]. These studies highlight RL’s ability to manage high-dimensional spaces and reduce reliance on precise dynamic models [37,44].

2.4. Research Gaps and Motivation

Despite these achievements, several limitations remain. Most RL-based controllers rely on generalised training data, offering limited personalisation with respect to individual biological factors such as bone length or muscle mass [40,41]. Real-time adaptation to dynamic human–exoskeleton interaction forces and environmental changes (e.g., terrain transitions) remains computationally intensive [36,42,43]. Although algorithms such as TD3 and PPO show noise resilience [37,41], there is a lack of comprehensive comparative studies evaluating their performance in continuous action spaces under varying uncertainty levels. Moreover, many approaches are task-specific (e.g., squatting [39] or walking [41,44]) and struggle to generalise to other essential activities such as sitting and standing. Safety concerns in online RL training further hinder real-world deployment [37].
Recent related works include Xu et al. [48], who proposed a mirror adaptive impedance control using reinforcement learning for a multi-mode soft exoskeleton, and Xu et al. [49], who developed a DMP-based motion generation scheme for robotic mirror therapy with RL-optimised impedance parameters. Tu et al. [50] presented a data-driven RL framework for optimal and adaptive personalisation of a hip exoskeleton. While these studies advance RL application in rehabilitation robotics, our work differs by integrating patient-specific biological parameters directly into the state space and reward function of a hybrid impedance–RL controller for a bilateral lower-limb exoskeleton and by providing a systematic comparison of three deep RL algorithms (DDPG, TD3, and SAC) under controlled noise conditions and domain randomisation.
The proposed framework addresses these gaps by combining deep RL algorithms with model-based impedance control and incorporating patient-specific biological factors to achieve robust, personalised adaptive control for stroke rehabilitation. This study aims to identify the most effective RL method through comprehensive evaluation in a simulated continuous action space with varying noise levels.

3. Methodology

This section outlines the proposed adaptive control framework for the lower-limb exoskeleton, integrating a musculoskeletal model with RL algorithms. The methodology is designed to enable patient-specific adaptation, handling uncertainties such as noise and biological variations. Simulations were performed using MATLAB R2025a with the reinforcement learning toolbox and real human gait data from the standard dataset included in our recent paper. The framework consists of three main components: the musculoskeletal model, RL algorithms, and the simulation environment.

3.1. Overview of the Proposed Method

The proposed system, illustrated in Figure 1, consists of two main components: the Environment and the Agent. The environment includes the exoskeleton, the human participant, and a controller that converts human intent ( θ human ) into desired joint angles ( θ exo ) using kinematics and inverse dynamics. The controller minimises the tracking error (e) between the desired and actual joint positions, generating appropriate commands for the actuators. Sensor data from load cells (torque and position) are preprocessed to form observations that capture real-time human–robot interaction dynamics. The Agent comprises a policy network and reinforcement learning algorithms (DDPG, TD3, and SAC) operating in a continuous action space. The policy generates actions ( A t ) based on the preprocessed observations, while the RL algorithms iteratively update the policy to maximise the accumulated reward ( R t ). The RL agent receives a four-dimensional state consisting of the bilateral hip and knee joint angles. Additional variables, including joint velocities, accelerations, and patient-specific biological parameters, are maintained within the simulation environment and are used for dynamic modelling, impedance control, reward computation, and parameter randomisation. The reward function is designed to penalise tracking errors, torque inconsistencies, and abrupt movements while encouraging stability and successful task completion. As shown in Figure 1, patient-specific biological parameters are explicitly incorporated into both the state space, simulation environment, and the reward function. This integration enables the RL agent to learn personalised control policies that adapt to individual variability and uncertainties, distinguishing the proposed framework from conventional uniform control strategies. Training is performed using recorded gait data augmented with domain randomisation to simulate biological variations and sensor noise. Through repeated episodes, the policy is refined based on the received rewards, allowing the agent to adapt to changing patient conditions and develop experiential memory for repetitive movements. Although the RL agent primarily learns to track reference trajectories derived from recorded human gait data, the inclusion of randomised biological parameters and noise in the state and reward function enables the policy to adapt to patient-specific variability and uncertainties, moving beyond pure trajectory tracking toward personalised assistance. The overall objective is to develop a resilient, patient-specific controller that overcomes the limitations of traditional methods, which lack personalisation and robustness to real-world uncertainties.

3.2. Dataset

A gait dataset collected from seven healthy subjects was used for training and evaluating the proposed reinforcement learning framework. The data, originally gathered in our previous work [18], include signals acquired from inertial measurement units (IMUs), force-sensitive resistors (FSRs), load cells, and joint position sensors sampled at 500 Hz. All participants had no history of neurological or psychiatric disorders and exhibited no motor impairments such as hemiplegia or hemiparesis. The data collected from the seven healthy participants were divided into training, validation, and testing subsets, comprising 70%, 15%, and 15% of the dataset, respectively. The experimental protocol consisted of treadmill walking trials performed at five different speeds (0.3, 0.4, 0.5, 0.6, and 0.85 m/s). To capture dynamic gait transitions, treadmill speed was gradually increased from 0.3 m/s to 0.85 m/s and subsequently decreased back to 0.3 m/s (0.3, 0.4, 0.5, 0.6, 0.85, 0.85, 0.6, 0.5, 0.4, and 0.3 m/s). Each trial lasted 80 s, comprising 10 s of standing before walking, 60 s of treadmill walking, and 10 s of standing after the trial. The inclusion of multiple walking speeds enabled the dataset to capture gait variability under different locomotion conditions and provided a basis for developing speed-independent control policies.
This study was conducted in accordance with the Declaration of Helsinki (2008), Good Clinical Practice (GCP) guidelines, and relevant ethical regulations. All participants provided informed consent prior to participation. The collected gait data were used to generate normalised reference joint-angle trajectories ( θ ref ) for the left and right hip and knee joints under different walking conditions. These trajectories served as nominal target motions for policy learning and controller evaluation. Within the RL environment, system states were updated according to the interaction between the learned control actions and the underlying system dynamics while tracking the reference trajectories.
It should be noted that the healthy gait trajectories employed in this study are not intended to fully represent pathological gait patterns observed in stroke survivors. Rather, they provide nominal reference motions for the initial policy-learning process and controller development. The proposed framework does not assume that patients should exactly reproduce healthy gait patterns. Instead, adaptation to subject-specific conditions is achieved through the integration of biological parameters into the reinforcement learning state and reward spaces, anthropometric domain randomisation during training, and the compliant behaviour of the impedance controller. These mechanisms enable the controller to accommodate inter-subject variability and changing biomechanical conditions. Nevertheless, validation using gait data collected from stroke patients remains necessary to fully assess the clinical generalisability of the proposed approach and constitutes an important direction for future research.

3.3. Musculoskeletal Model

Lower-limb exoskeletons typically use mechanical joints and linkages designed to emulate the natural range of motion of human lower limbs. The mechanical design must precisely emulate the kinematic characteristics of human locomotion to provide seamless and natural movement for the user. This section introduces a detailed dynamic model of a two-degrees-of-freedom (2-DoF) lower-limb exoskeleton robot. The model illustrates the relationship between external forces applied to the exoskeleton and the resultant motion of the hip and knee joints. We model each leg as a two-link system (thigh and shank) with hip and knee joints, as seen in Figure 2, using anthropometric parameters derived from average adult human data in Table 1 [18,35].
Given that the principal motion of the lower-limb exoskeleton transpires in the sagittal plane ( x y ), the fixed endpoint O ( 0 , 0 ) is designated as the coordinate origin. According to geometric relations, the coordinates of the centre of each link ( x i , y i ) may be articulated as:
x Knee = d t sin θ H y Knee = d t cos θ H x Ankle = d t sin θ H + d s sin θ K y Ankle = d t cos θ H d s cos θ K
where θ H and θ K represent the angles at the hip and knee joints. The respective linear velocities of the knee and ankle are derived by differentiating Equation (1):
x ˙ Knee = d t c o s ( θ H ) θ ˙ H y ˙ Knee = d t s i n ( θ H ) θ ˙ H x ˙ Ankle = d t c o s ( θ H ) θ ˙ H + d s c o s ( θ K ) θ ˙ K y ˙ Ankle = d t s i n ( θ H ) θ ˙ H + d s s i n ( θ K ) θ ˙ K
The equations of motion are obtained using the Lagrangian approach, defined as:
L = E K , total E P , total = ( E K , Thigh + E K , Shank ) ( E P , Thigh + E P , Shank )
where E K and E P represent the total kinetic and potential energies of the system, respectively. The kinetic and potential energy for each segment are articulated as:
E K , Thigh = 1 2 m t ( x ˙ Knee 2 + y ˙ Knee 2 ) = 1 2 m t d t 2 θ ˙ H 2 ,
E K , Shank = 1 2 m s x ˙ Ankle 2 + y ˙ Ankle 2 = 1 2 m s d t 2 θ ˙ H 2 + d s 2 θ ˙ K 2 + 2 d t d s θ ˙ H θ ˙ K cos θ H θ K ,
E P , Thigh = m t g y Knee = g m t d t cos ( θ H ) ,
E P , Shank = m s g y Ankle = g m s ( d t cos ( θ H ) + d s cos ( θ K ) ) .
By substituting Equations (4)–(7) into Equation (3), the Lagrangian function is expressed as:
L = 1 2 ( m t + m s ) d t 2 θ ˙ H 2 + 1 2 m s d s 2 θ ˙ K 2 + m s d t d s θ ˙ H θ ˙ K cos ( θ H θ K ) + ( m t + m s ) g d t cos ( θ H ) + g m s d s cos ( θ K ) .
The Euler–Lagrange equation for the i-th generalised coordinate is articulated as:
d d t L θ ˙ i L θ i = τ s , i = τ e , i + τ h , i ,
where τ s , i denotes the total torque at the i-th joint, including the exoskeleton torque τ e and the human torque τ h . The Lagrangian equations for the hip and knee joints are formulated as follows:
d d t L θ ˙ H L θ H = τ s , H
d d t L θ ˙ K L θ K = τ s , K
Derivation of the hip joint:
L θ ˙ H = ( m t + m s ) d t 2 θ ˙ H + m s d t d s θ ˙ K cos ( θ H θ K ) ,
d d t L θ ˙ H = ( m t + m s ) d t 2 θ ¨ H + m s d t d s θ ¨ K cos ( θ H θ K ) m s d t d s θ ˙ K sin ( θ H θ K ) ( θ ˙ H θ ˙ K ) ,
L θ H = ( m t + m s ) g d t sin ( θ H ) m s d t d s θ ˙ H θ ˙ K sin ( θ H θ K ) .
Substituting Equations (13) and (14) into Equation (10):
( m t + m s ) d t 2 θ ¨ H + m s d t d s cos ( θ H θ K ) θ ¨ K m s d t d s sin ( θ H θ K ) θ ˙ K 2 + ( m t + m s ) g d t sin ( θ H ) = τ s , H .
Derivation for the knee joint:
L θ ˙ K = m s d s 2 θ ˙ K + m s d t d s θ ˙ H cos ( θ H θ K ) ,
d d t L θ ˙ K = m s d s 2 θ ¨ K + m s d t d s θ ¨ H cos ( θ H θ K ) m s d t d s θ ˙ H sin ( θ H θ K ) ( θ ˙ H θ ˙ K ) ,
L θ K = g m s d s sin ( θ K ) + m s d t d s θ ˙ H θ ˙ K sin ( θ H θ K ) .
Substituting Equations (17) and (18) into Equation (11) gives:
m s d s 2 θ ¨ K + m s d t d s cos ( θ H θ K ) θ ¨ H m s d t d s sin ( θ H θ K ) θ ˙ H 2 + g m s d s cos ( θ K ) = τ s , K .
The equations may be succinctly represented in conventional matrix form as:
M ( θ ) θ ¨ + C ( θ , θ ˙ ) + G ( θ ) = τ s = τ e + τ h ,
where M ( θ ) denotes the inertia matrix, C ( θ , θ ˙ ) signifies the coriolis and centrifugal torque vector, and G ( θ ) indicates the gravitational torque vector.
M ( θ ) = m t + m s d t 2 m s d t d s cos θ H θ K m s d t d s cos θ H θ K m s d s 2 ,
C ( θ , θ ˙ ) = m s d t d s sin θ H θ K θ ˙ K 2 m s d t d s sin θ H θ K θ ˙ H 2 ,
G ( θ ) = m t + m s g d t sin θ H g m s d s cos θ K .
The derived dynamic equations were implemented analytically in MATLAB as separate functions for M ( θ ) , C ( θ , θ ˙ ) , and G ( θ ) . These functions are called at each simulation step within the custom reinforcement learning environment. It should be noted that the current model is a simplified 2-DoF rigid-body dynamic representation per leg and does not include detailed musculoskeletal elements such as individual muscle-tendon units, activation dynamics, or soft-tissue compliance.

3.4. Impedance Control

An impedance control approach is used to guarantee compliant and natural mobility in human–robot interaction [35,51,52]. This controller regulates the dynamic interplay between the interaction force and the motion response of the exoskeleton. The control legislation is articulated as follows:
τ e = K ( θ d θ ) + D ( θ ˙ d θ ˙ ) + M ^ ( θ ) θ ¨ d + C ^ ( θ , θ ˙ ) + G ^ ( θ ) .
In this context, θ d , θ ˙ d , and θ ¨ d signify the target joint position, velocity, and acceleration, respectively; K and D refer to the stiffness and damping matrices; and M ^ ( · ) , C ^ ( · ) , G ^ ( · ) indicate the estimated parameters of the dynamic model. Substituting Equation (24) into Equation (20) yields the closed-loop dynamic equation:
K ( θ d θ ) + D ( θ ˙ d θ ˙ ) + M ( θ ) ( θ ¨ d θ ¨ ) = τ h .
The tracking error, defined as e = θ d θ , may be expressed in terms of error dynamics as follows:
K e + D e ˙ + M ( θ ) e ¨ = τ h ,
where M ( θ ) denotes the positive-definite inertia matrix, D is the damping matrix, K is the stiffness matrix, and τ h represents external human-interaction disturbances. The numerical values of these parameters are shown in Table 1. The robot functions as a multi-dimensional spring-damper-mass system, dynamically compensating for external torques τ h (from human contact) to ensure smooth, safe, and natural mobility.

Closed-Loop Stability Considerations

The proposed control framework consists of a hierarchical structure comprising a high-level reinforcement learning (RL) policy and a low-level impedance controller. The RL agent generates desired joint trajectories, while the impedance controller is responsible for ensuring stable tracking of the generated references. Considering the tracking error ( e = θ d θ ), the closed-loop error dynamics of the impedance controller can be expressed as Equation (26).
Under the standard assumptions that M ( θ ) is positive definite and that the impedance matrices D and K are chosen to be positive definite, the resulting error system behaves as a passive second-order mechanical system. In the absence of external disturbances ( τ h = 0 ), the tracking error asymptotically converges toward zero. For bounded disturbances and modelling uncertainties, the closed-loop trajectories remain bounded, owing to the dissipative properties introduced by the damping term.
It should be noted that the RL agent does not directly generate actuator torques. Instead, it provides desired reference trajectories that are subsequently executed by the impedance controller. Therefore, the stability properties of the low-level control loop are preserved while the RL policy serves as a trajectory adaptation mechanism. A rigorous Lyapunov-based stability proof for the complete human–exoskeleton–RL closed-loop system is beyond the scope of the present work and will be investigated in future studies.

3.5. Reinforcement Learning Algorithms

Reinforcement learning is a model-free machine learning framework that allows an agent to acquire optimum behaviours by trial-and-error interactions with an environment, hence maximising cumulative rewards over time [53,54]. In reinforcement learning, the issue is articulated as a Markov Decision Process (MDP) characterised by the tuple ( S , A , P , R , γ ), where S denotes the state space (e.g., joint angles and velocities in the exoskeleton), A represents the action space (e.g., reference torques or angles), P s | s , a indicates the transition probability that delineates state evolution, R r | s , a signifies the reward distribution that offers feedback on actions, and γ [ 0 , 1 ) is the discount factor that prioritises future rewards (set to 0.99 for long-term gait optimisation) [55]. The agent aims to identify a policy π that optimises the anticipated return.
J ( π ) = E π t = 0 γ t r t ,
where r t denotes the immediate reward at time t. In the realm of lower-limb exoskeleton control for stroke rehabilitation, RL is especially advantageous due to its capacity to manage continuous state-action spaces (such as real-valued joint angles), adapt to uncertainties (including sensor noise from load cells and variability in patient muscle strength, bone size, or gait patterns), and customise assistance without dependence on explicit dynamic models. This customisation is accomplished by integrating biological characteristics (e.g., scaled muscle mass m t or thigh length L t ) into the state representation, enabling the agent to adapt policies to specific patients. This study evaluates three deep reinforcement learning algorithms: DDPG, TD3, and SAC. These algorithms were selected for their proven effectiveness in continuous control tasks within robotics [21,42,56,57]. DDPG serves as a foundational deterministic actor-critic method [58], TD3 improves upon it by addressing value overestimation through twin critics and delayed policy updates [59], and SAC incorporates entropy maximisation to enhance exploration in stochastic environments [60].

3.5.1. Agent

In reinforcement learning, the agent is the decision-making entity that engages with the environment by monitoring states s t S , taking actions a t A based on its policy π , obtaining rewards r t , and transitioning to subsequent states s t + 1 [61]. In exoskeleton control, the agent interprets proprioceptive information (e.g., joint angles θ , velocities θ ˙ , accelerations θ ¨ , and torques from load cells) to generate control actions (e.g., reference joint angles or torques for impedance control). The agent architecture employs an actor-critic framework, whereby the actor approximates the policy π (value-free, direct-action selection) and the critic evaluates value functions ( Q ( s , a ) or V ( s ) ), providing a baseline for advantage estimation. This configuration facilitates effective learning in high-dimensional continuous spaces, essential for real-time adaptation to patient-specific dynamics, including variations in muscle mass or bone length included into the simulation environment. The agent’s learning method entails off-policy sampling from a replay buffer D = ( s t , a t , r t , s t + 1 , b done) to mitigate temporal correlations and enhance sample efficiency, using target networks for stable updates via Polyak averaging [62].
τ θ + ( 1 τ ) θ ˙ θ ˙ ,
where τ = 0.01 denotes the soft update rate. Exploration is harmonised with exploitation: DDPG and TD3 use additive noise ε N ( 0 , σ ) on actions during training ( σ m i n = 0.01 ), while SAC employs stochastic strategies for intrinsic exploration via entropy. The agent’s performance is assessed using episodic returns, guaranteeing convergence to policies that reduce HEI forces and tracking mistakes.
Agent Type
The agents are off-policy actor-critic types, balancing policy optimisation (actor for direct improvement) with value estimation (critic for variance reduction). They replay experiences from the buffer to update parameters asynchronously, enabling high sample efficiency (reuse ratio > 1) [63].
-
DDPG Agent: A single critic Q ( s , a ϕ ) minimises the temporal difference error via mean squared Bellman error (MSBE):
L ( ϕ ) = 1 N i ( y i Q ( s i , a i ϕ ) ) 2 ,
where the target value is
y i = r i + γ Q ( s i + 1 , μ ( s i + 1 θ μ ) ϕ ) .
The actor updates deterministically using the sampled policy gradient. Related sections: target networks prevent divergence (updated softly); Ornstein–Uhlenbeck noise aids exploration in continuous spaces [64].
-
TD3 Agent: Uses twin critics, Q 1 ( s , a ϕ 1 ) and Q 2 ( s , a ϕ 2 ) , to compute conservative targets:
y i = r i + γ min Q 1 , Q 2 s i + 1 , a ϕ 1 , ϕ 2 ,
with the smooth target action:
a = μ ( s θ μ ) + ε , ε clip ( N ( 0 , σ ) , c , c ) .
The critic losses are:
L ϕ 1 = 1 N i ( y i Q 1 ( s i , a i ϕ 1 ) ) 2 ,
L ( ϕ 2 ) = 1 N i ( y i Q 2 ( s i , a i ϕ 2 ) ) 2 .
Delayed policy updates (every d = 2 critic steps) and clipping reduce error propagation and function approximation errors. Ablation studies show improved fault tolerance in noisy environments. Double Q-learning (inspired by Double DQN) mitigates overestimation bias [65,66].
-
SAC Agent: Employs two critics for soft Q-updates with entropy regularisation. The target value is:
y i = r i + γ ( min Q 1 , Q 2 s i + 1 , a α log π a s i + 1 ) , a π · s i + 1 .
The critic loss follows TD3’s form. The state value function is defined as:
V ( s ψ ) = E a π min ( Q 1 , Q 2 ) ( s , a ) α log π ( a s ) ,
and its loss is:
L ( ψ ) = 1 N i V ( s i ψ ) E a π min ( Q 1 , Q 2 ) ( s i , a ) α log π ( a s i ) 2 .
The actor maximises the soft Q-function via reparameterisation. Entropy tuning adapts α dynamically to maintain target entropy, ideal for continuous, high-noise spaces. It draws from maximum entropy RL to achieve an effective exploration–exploitation balance [67].
Policy
The policy, represented as π : S A (deterministic) or π : S P r o b ( A ) (stochastic), associates states with actions, therefore delineating the agent’s behavioural approach. It is defined by neural network weights θ π and optimised to maximise the aim:
J ( π ) = E π t = 0 γ t r t ,
where r t is the immediate reward at time t, often achieved by gradient climbing on estimated slopes [62].
-
In DDPG, the policy is deterministic, μ ( s | θ μ ) , and is updated using the deterministic policy gradient theorem:
θ μ J 1 N i a Q ( s i , a i ϕ ) a i = μ ( s i ) · θ μ μ ( s i θ μ ) ,
where N is the mini-batch size, and Q is the critic’s action-value estimate. This encourages actions that maximise Q-values, suitable for precise joint control in exoskeletons, with exploration added as a t = μ ( s t ) + ε t during training [68].
-
In TD3: similar to DDPG, but the target policy is smoothed with clipped noise to regularise:
a = μ ( s θ μ ) + ε , ε clip ( N ( 0 , σ ) , c , c ) ,
where c = 0.5 , σ = 0.2 . The policy update is delayed (every d = 2 critical steps) to reduce variance and error accumulation:
θ μ J 1 N i a min ( Q 1 , Q 2 ) ( s i , a i ϕ 1 , ϕ 2 ) · θ μ μ ( s i θ μ ) .
This mitigates overestimation bias in Q-values, improving robustness to noisy sensor data like load cell variations [69].
-
In SAC: the policy is stochastic, π ( a s ) N ( μ ( s θ μ ) , Σ ( s θ Σ ) ) , reparameterised for differentiable sampling:
a = μ + Σ 1 / 2 · ξ , ξ N ( 0 , I ) .
It maximises the entropy-augmented objective:
J ( π ) = E π t = 0 ( r t + α H ( π ( · s t ) ) ) ,
where
H ( π ( · s ) ) = E a π log π ( a s )
is the differential entropy term, promoting diverse actions. The policy loss is
L π ( θ π ) = E s D , ξ N α log π ( f θ π ( s , ξ ) s ) min ( Q 1 , Q 2 ) ( s , f θ π ( s , ξ ) ) ,
with α learned via dual optimisation:
α J ( α ) = E a π α ( log π ( a s ) + H 0 ) ,
where H 0 = dim ( A ) = 4 is the target entropy ( log e per action dimension for Gaussian policies). This entropy regularisation enhances exploration in uncertain HEI scenarios, allowing adaptation to dynamic patient conditions like varying muscle strengths or gait asymmetries [70].
Return
The return, or discounted cumulative reward G t , quantifies the long-term value of an action sequence starting from time t:
G t = k = 0 γ k r t + k = r t + γ G t + 1 .
In infinite-horizon MDPs with episodic tasks (e.g., gait cycles), it is estimated via bootstrapping to handle truncation, using value functions for approximation [71].
-
In DDPG/TD3: returns are approximated by the action-value function:
Q ( s , a ) E π G t s t = s , a t = a ,
bootstrapped as:
y = r + γ Q ( s , a ) ,
where in TD3 the next action is smoothed for regularisation:
a = μ ( s ) + ε .
The expected trajectory return is computed as:
E τ π G 0 = E t = 0 γ t r t .
To avoid overestimation bias, TD3 employs conservative targets using twin critics:
y = r + γ min ( Q 1 , Q 2 ) .
-
In SAC: soft returns incorporate entropy regularisation for maximum-entropy RL, modifying the Bellman expectation:
Q ( s , a ) E r + γ ( V ( s ) + α H ( π ( · s ) ) ) ,
where the state-value function is defined as:
V ( s ) = E a π Q ( s , a ) α log π ( a s ) .
This yields the soft return:
G t soft = k = 0 γ k ( r t + k + α H ( π ( · s t + k ) ) ) ,
which encourages policies that are both high-reward and exploratory. Bootstrapping in SAC uses:
y = r + γ ( min ( Q 1 , Q 2 ) ( s , a ) α log π ( a s ) ) , a π ( · s ) .
Neural Network Architectures
The actor and critic networks used in DDPG, TD3, and SAC were designed to provide consistent feature extraction and value/policy representation for continuous state-action spaces. The selected architectures were determined based on established practices in continuous-control reinforcement learning and preliminary hyperparameter exploration. Several candidate network configurations with different hidden-layer sizes were evaluated during pilot training. Networks with fewer than 128 neurons per hidden layer showed limited capacity to represent the non-linear dynamics of the human–exoskeleton interaction, whereas substantially larger networks increased computational cost, training variance, and convergence time without providing noticeable improvements in tracking accuracy or cumulative reward. Therefore, a three-hidden-layer architecture with 256, 128, and 64 neurons was selected as a compromise between representation capability and computational efficiency. The same hidden-layer configuration was adopted for the corresponding actor networks of DDPG, TD3, and SAC and for the main critic architectures to ensure a fair comparison among the algorithms.
All hidden layers employ Rectified Linear Unit (ReLU) activation functions because of their computational efficiency and effective gradient propagation. For the deterministic actors used in DDPG and TD3, the output layer uses a hyperbolic tangent (tanh) activation function to constrain the four continuous control actions to the normalised range [ 1 , 1 ] . The SAC actor follows the same hidden-layer architecture but produces the parameters of a stochastic policy, including the action mean and log-standard deviation, with the sampled actions subsequently transformed using tanh to satisfy the bounded action constraints. Network weights are initialised orthogonally and biases are initialised to zero. The Adam optimiser is used for network optimisation, while L2 regularisation with a coefficient of 1 × 10 4 is applied to improve generalisation and training stability.
Actor Network: The actor receives a four-dimensional state vector representing the state variables used by the control system. The network consists of three fully connected hidden layers containing 256, 128, and 64 neurons, respectively, with ReLU activation after each hidden layer. For DDPG and TD3, the final layer contains four neurons with tanh activation, corresponding to the four continuous control actions. In SAC, the same feature-extraction layers are used, while the final policy head parameterises a stochastic distribution over the four-dimensional action space through its mean and log-standard-deviation outputs. The actor parameters are optimised using the Adam optimiser with a learning rate of 10 4 .
Critic Network: The critic estimates the action-value function Q ( s , a ) from both state and action information. For DDPG and TD3, the critic employs a branched architecture in which the four-dimensional state input is processed through fully connected layers of 256 and 128 neurons, while the four-dimensional action input is projected into a 128-neuron layer. The resulting state and action representations are combined and subsequently passed through a 64-neuron ReLU layer, followed by a single linear output neuron that estimates the Q-value. TD3 employs two independent critic networks with the same architecture to reduce overestimation bias through twin-critic learning. DDPG uses a single critic network. For SAC, two independent critic networks are also employed; each processes the combined state-action representation through fully connected layers of 256, 128, and 64 neurons before producing a single scalar Q-value. The critic parameters are optimised using Adam with a learning rate of 10 3 .
The principal neural-network and training hyperparameters used by the three reinforcement learning algorithms are summarised in Table 2. A mini-batch size of 128 and a replay buffer capacity of 10 6 transitions are used for training. The discount factor is set to γ = 0.99 , while the soft target-network update coefficient is τ = 0.01 . Training is performed for 500 episodes. These settings are kept consistent across the algorithms wherever applicable to provide a controlled comparison of their learning and control performance.
Figure 3 illustrates the neural-network architectures used for the actor and critic components. Part I presents the actor architecture shared by DDPG, TD3, and the feature-extraction component of SAC, consisting of the sequence 4 256 128 64 followed by the corresponding policy output layer. Part II shows the branched critic architecture used by DDPG and TD3, in which the state and action pathways are processed separately before being combined for Q-value estimation. Part III presents the critic architecture used by SAC. All hidden layers use ReLU activation, while the final critic output is linear to produce an unconstrained Q-value. The architectures are designed to provide sufficient non-linear representation capacity for the noisy, patient-specific state information encountered during adaptive exoskeleton control while maintaining computational efficiency suitable for real-time implementation.

3.5.2. Environment of Exoskeleton Robot

The environment simulates the HEI as an MDP, providing observations o t (partial states), rewards r t , and transitions s t + 1 P ( · s t , a t ) . Implemented as rlFunctionEnv in MATLAB, it models bilateral lower limbs with 4 DOF (hip/knee per leg).
Simulation Environment
The simulation environment for the lower-limb exoskeleton robot is implemented as an rlFunctionEnv in MATLAB, modelling an MDP with bilateral legs (4 DoF: hip and knee per leg). The environment provides observations, processes actions, computes dynamics, and generates rewards, incorporating noise and randomisation for robustness. Below is the algorithmic representation of the simulation environment, written in pseudocode to detail the step, reset, and termination logic.
The complete simulation pipeline, including the custom environment, impedance controller, and RL agent training, was realised in MATLAB R2025a. Pseudocode for the environment is provided in Algorithm 1. The simulation uses explicit Euler integration with a fixed time step to update joint positions, velocities, and accelerations based on the total torque (dynamics + impedance control). Domain randomisation and additive white Gaussian noise (AWGN) are applied as described in Algorithm 1.
Reward Function
The reward function r t guides learning toward optimal exoskeleton control, balancing multiple objectives in a multi-task setup:
r t = 0.7 e track 0.5 e torque 0.2 s smooth 0.5 I bound ,
where:
-
Mean square error of angles: this term measures the deviation between the desired joint angles ( θ r e f ) and the actual joint angles ( θ ) at each time step, calculated as following:
e track = 1 4 i = 1 4 ( θ i ( currentStep ) θ r e f , i ) 2 , θ r e f , i = a t , i π 2 .
The factor of 1/4 averages the error across the four joints (right hip (RH), right knee (RK), left hip (LH), and left knee (LK)), penalising inaccurate tracking that could lead to unstable gait or misalignment with patient intent. This part ensures that the action output is action with the actual joint angle.
-
Mean square error of torques: This term assesses the difference between the computed torque ( τ t o t a l ) and the measured torque from load cells ( τ l o a d ), computed as following:
e torque = 1 4 i = 1 4 ( LoadCell i ( currentStep ) τ total , i ) 2 10 .
The division by 10 scales the torque error to a comparable magnitude with other terms, penalising inefficient torque application that might increase energy consumption or strain on actuators.
-
Action smoothness: this term quantifies the jerkiness of consecutive actions, calculated as following:
s smooth = 1 4 i = 1 4 ( a t , i a t 1 , i ) 2 , t > 1 , 0 , t 1 .
By averaging over the four action dimensions, it penalises abrupt changes in control signals, promoting smooth transitions that enhance patient comfort and reduce mechanical wear.
-
Bound violation penalty: it enforces the physical constraint that actions (scaled to [ 1 , 1 ] ) remain within the actuator’s operational limits, preventing unsafe or infeasible commands that could damage the exoskeleton or harm the user, computed as following:
I bound = 1 , i : a t , i > 1 , 0 , otherwise .
Algorithm 1 Simulation of dynamic locomotor system using RL algorithms
  1:
INPUT: Current step t, action a t (4×1 vector [ 1 , 1 ] ), initial state s 0 , gait signal data
  2:
OUTPUT: Next observation o t + 1 , reward r t , done flag
  3:
Global Parameters
  4:
M ( θ ) inertia matrix [computed via Euler-Lagrange]
  5:
C ( θ , θ ˙ ) Coriolis matrix
  6:
G ( θ ) gravity vector
  7:
K p [ 500 , 200 ] Nm/rad (hip, knee)
  8:
K d [ 50 , 100 ] Nm·s/rad (hip, knee)
  9:
signal_normalized ← normalized gait data
10:
SNR ← randomized (5 to ∞ dB)
11:
randomization_range ± ( 15 % ) (mass, length, inertia)
12:
 
13:
function Reset()
14:
    currentStep 1
15:
     s t signal _ normalized ( 1 , 1 : 4 ) T {Initial joint angles}
16:
     θ ˙ t ( signal _ normalized ( 1 : 3 , 1 : 4 ) ) d t {Velocity via central difference}
17:
     θ ¨ t ( θ ˙ t ( 1 : 2 , : ) ) d t {Acceleration}
18:
    biological_params [ m t ( 1 + rand ( 0.15 , 0.15 ) ) , L t ( 1 + rand ( 0.15 , 0.15 ) ) ] {Randomized}
19:
     o t [ s t ; θ ˙ t ; θ ¨ t ; biological _ params ] + AWGN ( s t , SNR ) {Add noise}
20:
    loggedSignals [ o t ]
21:
    return  o t
22:
end function
23:
 
24:
function Step( a t )
25:
    {Extract current state from logged signals}
26:
     s t loggedSignals ( end , 1 : 4 ) {Current joint angles}
27:
     θ ˙ t loggedSignals ( end , 5 : 8 ) {Current velocities}
28:
     θ ¨ t loggedSignals ( end , 9 : 12 ) {Current accelerations}
29:
    biological_params loggedSignals ( end , 13 : 14 ) {Current bio params}
30:
    {Compute dynamics with randomized parameters}
31:
     M rand M ( θ t ) ( 1 + rand ( 0.15 , 0.15 ) ) {Randomize inertia}
32:
     C rand C ( θ t , θ ˙ t ) ( 1 + rand ( 0.15 , 0.15 ) )
33:
     G rand G ( θ t ) ( 1 + rand ( 0.15 , 0.15 ) )
34:
     τ dynamics M rand θ ¨ t + C rand θ ˙ t + G rand {Inverse dynamics}
35:
    {Apply impedance control with action as reference}
36:
     θ ref a t π 2 {Scale action to angle range [ π 2 , π 2 ] }
37:
     θ ˙ ref ( θ ref ) d t {Reference velocity}
38:
     τ imp K p ( θ ref s t ) + K d ( θ ˙ ref θ ˙ t ) {Impedance torque}
39:
    {Total torque and update state}
40:
     τ total τ dynamics + τ imp
41:
     θ ¨ t + 1 M rand 1 ( τ total C rand θ ˙ t G rand ) {Acceleration update}
42:
     θ ˙ t + 1 θ ˙ t + θ ¨ t + 1 d t {Velocity update}
43:
     s t + 1 s t + θ ˙ t + 1 d t {Position update}
44:
    {Add noise to next state}
45:
    noise var ( s t + 1 ) 10 SNR / 10 × randn ( size ( s t + 1 ) ) {AWGN}
46:
     o t + 1 [ s t + 1 ; θ ˙ t + 1 ; θ ¨ t + 1 ; biological _ params ] + noise
47:
    {Update logged signals}
48:
    loggedSignals [ loggedSignals ; o t + 1 ]
49:
    {Check termination}
50:
    done ( currentStep length ( signal _ normalized ) ) OR ( max ( | s t + 1 | ) > π ) OR ( e track > 10 )
51:
    if done then
52:
        currentStep 1 {Reset for next episode}
53:
    else
54:
        currentStep ← currentStep + 1
55:
    end if
56:
    return  o t + 1 , r t , done
57:
end function
58:
 
59:
function AWGN(signal, SNR)
60:
    signal_power ← var(signal)
61:
    noise_power signal _ power 10 SNR / 10
62:
    return  randn ( size ( signal ) ) noise _ power
63:
end function
64:
 
65:
function gradient(signal_window)
66:
    return  ( signal _ window ) = signal _ window ( end ) signal _ window ( 1 ) ( length ( signal _ window ) d t )
67:
end function
For initial steps ( t 3 ): r t = 0.7 e track to bootstrap learning without derivatives. Rewards are scalar, real-valued, bounded [ 10 , 0 ] for stability, and computed per step to encourage sparse, shaped feedback. This design promotes accurate tracking, energy-efficient torques, smooth motions, and adherence to physical limits while handling uncertainties through negative weighting.
The coefficients in the reward function (0.7 for e track , 0.5 for e torque , 0.2 for s smooth , and 0.5 for I bound ) were determined empirically through preliminary training runs with TD3. The dominant weight on tracking error reflects the primary goal of gait replication in rehabilitation, while the remaining terms promote energy-efficient torque application, smooth motion for patient comfort, and safety by penalising bound violations. The objective was to establish a practical balance among multiple rehabilitation requirements, including trajectory tracking accuracy, torque efficiency, motion smoothness, and safety-related constraints. Different coefficient combinations were evaluated during pilot training runs, and the final values were selected based on their ability to improve learning stability and overall control performance. Although the adopted coefficients produced satisfactory results across all evaluated scenarios, they do not represent a mathematically optimal solution.

3.6. Experimental Setup and Evaluation Metrics

The experimental setup and evaluation framework are designed to rigorously assess the performance of the proposed RL algorithms, DDPG, TD3, and SAC for controlling a lower-limb exoskeleton in stroke rehabilitation. The evaluation framework is entirely simulation-based and uses real human gait data as reference inputs.

3.6.1. Experimental Setup

The reinforcement learning algorithms are executed and taught via the MATLAB 2025a RL Toolbox. The computational platform comprises a 13-core Intel Core i7 processor operating at 3.4 GHz, 16 GB of RAM, and an NVIDIA GeForce RTX 3060 Ti GPU, offering enough computing capacity for deep neural network training and dynamic simulations. The training settings are established as follows: a learning rate of 1 × 10 4 for actors and 1 × 10 3 for critics, a discount factor γ of 0.99, an experience replay buffer size of 1 × 10 6 , a mini-batch size of 128, and Ornstein–Uhlenbeck noise with a standard deviation of 0.3 and a decay rate of 1 × 10 5 for exploration in DDPG and TD3. SAC integrates an entropy coefficient α with automated adjustment aimed at H 0 = 4 (log(e) per action dimension), refined using dual gradient ascent optimisation. The training consists of 500 episodes, each lasting up to 200 steps of the normalised gait signal, concluding when the average reward surpasses 0.1 . Domain randomisation is implemented by altering mass ( m t ± 15%), length ( L t ± 15%), and signal-to-noise ratio (SNR: 5-∞ dB) to replicate biological fluctuations (e.g., muscular weakness in hemiplegic patients) and environmental uncertainties (e.g., uneven terrain).

3.6.2. Evaluation Metrics

Performance is evaluated using a comprehensive set of metrics derived from training statistics and post-training simulations, analysed via custom MATLAB scripts. The evaluation encompasses tracking accuracy, torque efficiency, motion smoothness, robustness to noise, and statistical properties of the learned policies. The following metrics are computed:
-
Reward-based metrics: These include mean reward (average performance), standard deviation of rewards (consistency), maximum and minimum rewards (range of performance), final mean reward (last 20% of episodes), final standard deviation (stability in convergence), cumulative reward (total performance), normalised cumulative reward (per-episode efficiency), learning improvement (difference between second and first half means), and learning ratio (relative improvement). For example, a positive learning improvement indicates progressive learning, as observed in SAC’s entropy-driven exploration.
-
Tracking error: Quantified as the mean absolute error (MAE), root mean square error (RMSE), and standard deviation of position errors between real positions and estimated positions. They are calculated as follows:
MAE = 1 n p real p estimated ,
RMSE = 1 n ( p real p estimated ) 2 .

4. Results

4.1. Training Performance Analysis

The training performance of the three deep reinforcement learning algorithms (DDPG, TD3, and SAC) was evaluated over 500 episodes in a continuous action space under varying signal-to-noise ratios (SNR = 5, 10, 20, 50, and ∞ dB). Domain randomisation was applied to biological parameters (mass and length) to simulate patient-specific variability. The learning curves for DDPG, SAC, and TD3 across different SNR levels are presented in Figure 4, while the quantitative performance metrics are summarised in Table 3. A more complete table is provided where the performance of the algorithms at different SNR levels (5, 10, 20, 50, and ∞ dB) is evaluated in Appendix A Table A1 to fully evaluate their effectiveness in controlling the lower-limb exoskeleton for stroke rehabilitation.
As shown in Figure 4 and Table 3, TD3 consistently demonstrated the best overall stability and final performance in noise-free conditions. At SNR = ∞ dB, TD3 achieved the highest mean reward of 354.24 ± 18.7 , outperforming DDPG ( 368.1 ± 22.5 ) and SAC ( 372.5 ± 25.3 ). TD3 also exhibited smoother convergence and lower variance throughout training, indicating superior stability for exoskeleton control tasks.
DDPG showed competitive performance, particularly in terms of tracking accuracy. It achieved the lowest angle RMSE of 0.0369 ± 0.004 rad at SNR = ∞ dB, highlighting its strength in precise joint-angle tracking. However, its performance degraded more noticeably under high noise compared to TD3. SAC demonstrated remarkable robustness in noisy environments. At SNR = 5 dB, SAC obtained the highest learning ratio (0.51), indicating strong adaptive capability and effective exploration even under significant sensor noise. This characteristic makes SAC particularly suitable for real-world scenarios where sensor signals are prone to disturbance. Table 3 presents a detailed comparison at the extreme conditions (SNR = ∞ dB and 5 dB).
The detailed per-SNR performance metrics (extended table in Appendix A) further confirm that TD3 maintains superior final reward and lower variance across most noise levels, while SAC exhibits better relative improvement (learning ratio) in highly noisy conditions. Learning curves in Figure 4 visually corroborate these findings; TD3 displays the steadiest and fastest convergence, particularly at higher SNRs, whereas SAC shows more initial fluctuation but strong recovery.

4.2. Angle Estimation Performance

To evaluate the tracking accuracy of the learned policies, the predicted joint angles (RH, RK, LH, LK) generated by each RL algorithm were compared with the reference human gait data. The comparison was performed under different noise levels (SNR = 5, 10, 20, 50, and ∞ dB). Figure 5 illustrates the joint position tracking and corresponding errors for all four algorithms, while metrics including mean error (ME), standard error deviation (EST), RMSE, MAE, p-value from statistical tests (indicating non-normality), and correlation coefficient (CC) between actual and estimated angles from post-training simulations are presented in Appendix A Table A2. As shown in Figure 5 (Parts 1–3), TD3 and DDPG demonstrated the best visual tracking performance, closely following the reference trajectories even under moderate noise. In contrast, SAC exhibited slightly larger fluctuations, particularly at lower SNRs.
At SNR = ∞ dB (noise-free condition), DDPG achieved the best overall angle tracking accuracy with the lowest RMSE of 0.0369 rad across most joints. TD3 showed very competitive performance with RMSE values around 0.035 0.0365 rad , demonstrating excellent stability. SAC had slightly higher errors (RMSE 0.038 0.042 rad ) but maintained strong correlation coefficients (> 0.93 ). Under noisy conditions (SNR = 5 dB), all algorithms experienced performance degradation, as expected, TD3 maintained the most robust performance with the lowest RMSE values among the three successful algorithms (approximately 0.050 0.070 rad ). DDPG showed good accuracy at higher SNRs but degraded more rapidly in high-noise scenarios. SAC demonstrated reasonable robustness, particularly in maintaining acceptable correlation coefficients. Error fluctuations increased significantly with decreasing SNR, as clearly visible in the error plots of Figure 5.
The results confirm that the proposed RL-based controllers (particularly TD3 and DDPG) can accurately replicate human gait trajectories with high precision in simulation. The incorporation of patient-specific biological parameters and domain randomisation enabled the agents to maintain acceptable performance even under noisy sensor conditions, which is critical for real-world deployment in stroke rehabilitation.

4.3. Torque Estimation Performance

Accurate torque estimation is crucial for safe and efficient human–exoskeleton interaction, as it directly affects actuator commands and patient comfort. The torque estimation capability of the trained RL policies (DDPG, SAC, and TD3) was evaluated by comparing the predicted joint torques with the reference dynamic torques across the four joints (RH, RK, LH, LK) under different SNR levels. The results are visualised in Figure 6, and metrics including ME, EST, RMSE, MAE, and p-value from statistical tests (indicating non-normality) and CC between actual and estimated angles from post-training simulations are presented in Appendix A Table A3. As illustrated in Figure 6 (Parts 1–3), TD3 and DDPG produced torque profiles that most closely followed the reference signals, particularly at higher SNRs. SAC showed acceptable tracking but with noticeably larger fluctuations.
At SNR = ∞ dB (ideal condition), TD3 achieved the best torque estimation performance with the lowest RMSE values (approximately 0.521 0.736 Nm across joints). DDPG and SAC showed comparable but slightly higher errors. All three off-policy algorithms maintained reasonable correlation coefficients, although torque prediction proved more challenging than angle tracking (CC typically between 0.29 and 0.45 ). Under high noise conditions (SNR = 5 dB), torque estimation errors increased significantly for all algorithms. DDPG recorded the highest RMSE at this level ( 1.0591 Nm for one joint), indicating greater sensitivity to noise in torque prediction. TD3 maintained relatively better robustness with lower error growth compared to the others. SAC showed moderate performance but higher variability. Mean errors remained relatively small for successful algorithms, but error standard deviations increased markedly with noise.
These findings align with the training performance results, reinforcing that TD3 offers superior overall performance for adaptive and robust control of lower-limb exoskeletons in noisy and uncertain environments.

4.4. Advanced Error Distribution Analysis

To gain deeper insights into the statistical characteristics and robustness of the learned policies, an advanced error analysis was performed on both joint-angle and torque estimations. Figure A1 in Appendix A presents the error distributions, probability density functions, boxplots, and correlation matrices for DDPG, SAC, and TD3 across different SNR levels.
The position error distributions (Figure A1) reveal that TD3 and DDPG exhibit the most concentrated error distributions centred near zero, with relatively low variance across all joints. TD3 particularly demonstrates superior consistency, as evidenced by tighter boxplots and lower outlier presence even at lower SNR values. SAC shows acceptable performance but with broader distributions and more pronounced tails under high noise (SNR = 5 dB). The correlation matrices indicate strong positive correlations between the predicted and actual joint positions for TD3, DDPG, and SAC (values mostly above 0.9 at high SNR), which gradually weaken with increasing noise. This confirms good phase synchronisation of the learned gait patterns.
Torque error analysis (Figure A1) proves more challenging than position tracking. While TD3 and DDPG still maintain relatively centred distributions, the torque errors show higher variance and more outliers compared to angle errors. TD3 continues to demonstrate the best overall behaviour with more symmetric distributions and fewer extreme values. SAC exhibits heavier tails in torque error distributions, particularly at SNR = 5 and 10 dB. The error correlation matrices for torque show moderate correlations (typically 0.3 0.5 for the best algorithms), highlighting the inherent difficulty in precise torque estimation due to the dynamic nature of the human–exoskeleton interaction and sensitivity to model uncertainties.

4.5. Ablation Study on Biological Factors

The objective of this ablation study is to quantify the contribution of incorporating patient-specific biological parameters, including bone lengths and muscle masses, into the proposed adaptive control framework. This section is not intended to compare different reinforcement learning algorithms. Based on the results presented in Section 4.2, Section 4.3, Section 4.4 and Section 4.5, TD3 demonstrated the best overall performance in terms of learning stability, tracking accuracy, and robustness to noise. Therefore, TD3 was selected as the representative algorithm for the ablation analysis. Restricting the ablation experiments to TD3 avoids unnecessary computational overhead while providing a controlled evaluation of the effect of biological-parameter integration on controller performance.
Three TD3 variants were evaluated under identical training conditions using 500 training episodes and five independent random seeds at SNR = ∞ dB. The variants were designed to progressively isolate the effects of biological variability and its explicit integration into the learning process, while the results are summarised in Table 4:
  • Baseline: biological parameters were completely excluded from both the state observation and reward function.
  • Randomisation-only: biological parameters were randomised during training (domain randomisation) but not explicitly included in the state or reward.
  • Proposed (full integration): biological parameters were both randomised during training and explicitly incorporated into the agent’s state space and reward function.
The Proposed variant, which integrates biological features directly into the state space and reward function, achieved the best performance across all metrics. It improved the mean reward by approximately 18 % compared to the Baseline and 10.5 % compared to the Randomisation-only variant. More importantly, it reduced angle tracking error by 27 % relative to the Baseline and 15 % relative to Randomisation-only. Torque estimation error was also significantly lowered (over 30 % improvement compared to Baseline).
Overall, the ablation results indicate that explicit integration of patient-specific biological parameters into the state representation and reward function provides a measurable performance advantage beyond the robustness gained through domain randomisation alone. By conditioning the learning process on individual differences in anthropometry and muscular characteristics, the proposed approach enables the controller to adapt its policy to patient-specific physical properties. This capability is particularly important for personalised lower-limb exoskeleton rehabilitation, where variations in patient morphology and physical characteristics can substantially affect the human–robot interaction dynamics and the effectiveness of assistance.

4.6. Sensitivity Analysis to Anthropometric Parameters

To assess the robustness of the best-performing TD3 policy to variations in patient-specific anthropometric parameters, a sensitivity analysis was conducted by independently varying thigh length ( d t ), shank length ( d s ), thigh mass ( m t ), and shank mass ( m s ) from 15 % to + 15 % relative to their nominal values reported in Table 1. During each evaluation, the remaining parameters were kept fixed at their nominal values. The policy was evaluated over 100 test episodes at SNR = ∞ dB, and the resulting joint angle RMSE and torque RMSE are presented in Figure 7. The dashed horizontal lines indicate the corresponding performance at the nominal parameter values, with an angle RMSE of approximately 0.0412 rad and a torque RMSE of approximately 0.685 Nm.
Overall, the TD3 policy exhibits a relatively smooth sensitivity profile around the nominal parameter values, although the magnitude of performance degradation varies across the anthropometric parameters. Variations in limb lengths, particularly thigh length ( d t ), have a noticeable effect on both tracking and torque performance. A ± 15 % variation in thigh mass ( m t ) produces a pronounced increase in torque RMSE, reaching approximately 1.15 Nm compared with the nominal value of 0.685 Nm. Shank length ( d s ) produces a somewhat smaller but still measurable effect on both metrics. This sensitivity is consistent with the influence of limb segment lengths on the geometric and dynamic characteristics of the lower-limb system, including moment–arm relationships.
Variations in segment masses primarily affect torque performance. In particular, a + 15 % variation in thigh mass ( m t ) increases the torque RMSE by approximately 35– 40 % , reflecting the influence of segment mass on the inertial and gravitational characteristics of the biomechanical model. In comparison, the effect of mass variation on joint-angle tracking is smaller, with the angle RMSE increasing by approximately 10– 14 % over the ± 15 % variation range. The shank mass ( m s ) exhibits a similar but comparatively moderate influence on the control performance.
For small-to-moderate parameter deviations of approximately ± 5 % , both angle and torque tracking errors remain relatively close to their nominal values. As the deviations increase toward ± 10 % and ± 15 % , performance degradation becomes more pronounced, particularly for torque tracking. Nevertheless, the policy maintains stable performance across the entire parameter range evaluated in this study. This indicates that the combination of parameter randomisation during training and explicit incorporation of anthropometric information into the learning framework provides a degree of robustness to variations in patient-specific biomechanical characteristics.
The ± 15 % variation range was selected to provide a controlled assessment of the policy under moderate deviations from the nominal anthropometric parameters while maintaining stable training and evaluation conditions. However, this range may not represent the full extent of anthropometric and biomechanical variability encountered in clinical populations. In particular, individuals recovering from stroke may exhibit substantial inter-subject differences in muscle mass, limb characteristics, strength, and neuromuscular function due to factors such as muscle atrophy, abnormal muscle tone, prolonged disuse, and unilateral impairment. Therefore, the sensitivity results should be interpreted as an evaluation of robustness within the tested parameter range rather than as a comprehensive characterisation of all clinically relevant patient variability. Future studies will investigate wider parameter ranges and patient-specific scaling strategies based on clinical anthropometric measurements and biomechanical datasets. Such extensions may provide a more comprehensive assessment of policy robustness and further improve the adaptation of the exoskeleton controller to the heterogeneous physical characteristics of rehabilitation patients.

5. Discussion

This study investigated a deep reinforcement learning (RL) framework for personalised adaptive control of a lower-limb exoskeleton. The proposed framework combines model-based impedance control with DDPG, TD3, and SAC while incorporating patient-specific biological parameters into the RL state representation and reward function. Unlike supervised sequence-learning methods such as Long Short-Term Memory (LSTM) and Time Delay Neural Networks (TDNNs), which primarily learn temporal dependencies for trajectory prediction, RL formulates exoskeleton control as a sequential decision-making problem. This enables the controller to optimise long-term control performance while considering tracking accuracy, control effort, smoothness, and robustness to disturbances.
Evaluation across SNR levels from 5 dB to ∞ dB demonstrated different characteristics among the three algorithms. TD3 provided the most consistent overall performance in terms of learning stability, tracking accuracy, and robustness, achieving a mean reward of 354.24 at SNR = ∞ dB. DDPG achieved the lowest angle RMSE under noise-free conditions ( 0.0369 rad), whereas SAC demonstrated comparatively strong robustness under severe noise. Overall, angle RMSE values generally remained below 0.1 rad, with correlation coefficients reaching 0.9825 . Torque estimation was more challenging, with RMSE increasing to 1.0591 Nm at SNR = 5 dB, reflecting the greater sensitivity of torque control to dynamic uncertainties and measurement noise.
The ablation study demonstrated the contribution of explicitly incorporating biological parameters into the learning process. The full-integration configuration improved angle RMSE by approximately 27.2 % and torque RMSE by 30.5 % compared with the baseline without biological information. Domain randomisation alone also improved performance, but the additional gains obtained through explicit integration indicate that providing patient-specific information directly to the learning process can further improve control performance.
The sensitivity analysis showed that the TD3 policy maintained stable performance within the tested ± 15 % anthropometric variation range. Thigh length and mass had relatively stronger effects on performance, particularly for torque tracking, while small-to-moderate parameter variations resulted in limited degradation. These findings suggest that the proposed framework provides a degree of robustness to moderate patient-specific biomechanical variability.

5.1. Limitations

Several limitations should be considered. First, the evaluation was entirely simulation-based using a simplified 2-DoF rigid-body dynamic model for each leg. The model does not fully represent musculoskeletal dynamics, muscle activation, passive joint compliance, soft-tissue deformation, actuator non-linearities, or complex human–exoskeleton interaction forces. Consequently, the sim-to-real gap remains an important challenge for practical deployment. Second, anthropometric randomisation was limited to ± 15 % , which may not capture the full range of variability and asymmetry observed in some stroke survivors. Third, the reward coefficients were determined through empirical tuning and may not provide an optimal balance across different patients and rehabilitation tasks. Fourth, the current framework relies primarily on biomechanical and anthropometric information and does not incorporate physiological signals or direct movement-intention measurements. Finally, the policies were developed and evaluated using healthy gait reference trajectories, and the ablation analysis was restricted to TD3. Therefore, the present results should be considered a simulation-based proof of concept rather than definitive validation for clinical populations.

5.2. Future Work

Future research will focus on experimental validation using a physical lower-limb exoskeleton, initially with healthy participants and subsequently with stroke survivors exhibiting different impairment levels. Pathological gait datasets and broader patient-specific anthropometric distributions will be incorporated to improve clinical relevance and evaluate generalisation to unseen subjects. Further work will investigate automated reward-design and online adaptation methods to reduce dependence on empirical parameter tuning and enable adaptation to changes in patient condition, such as fatigue or altered movement patterns. Physiological sensing modalities, including electromyography (EMG), electroencephalography (EEG), and mechanomyography (MMG), will also be explored to incorporate movement intention and neuromuscular information into the human-in-the-loop control framework. In addition, comparisons with supervised sequence-learning approaches such as LSTM and TDNN will provide a more direct evaluation of policy optimisation versus trajectory prediction for rehabilitation control. More realistic musculoskeletal and human–exoskeleton interaction models, together with safe reinforcement learning and computationally efficient deployment methods, will also be investigated. These developments are expected to support robust real-time operation and facilitate the eventual translation of the proposed framework from simulation to practical rehabilitation applications.

6. Conclusions

In conclusion, the proposed deep RL framework provides a promising approach for personalised lower-limb exoskeleton control. Among the evaluated algorithms, TD3 achieved the most favourable overall balance of learning stability, tracking performance, and robustness to noise. The ablation and sensitivity analyses demonstrated that explicit integration of patient-specific biological parameters can improve control performance and provide robustness to moderate anthropometric variations. Although further experimental and clinical validation is required, the results provide a foundation for developing adaptive and personalised intelligent control strategies for lower-limb rehabilitation exoskeletons.

Author Contributions

Conceptualisation, A.F., M.M. and K.M.; methodology, A.F. and M.M.; software, A.F.; validation, A.F., M.M. and K.M.; formal analysis, A.F. and M.M.; investigation, A.F.; resources, A.F., M.M. and K.M.; data curation, A.F.; writing—original draft preparation, A.F.; writing—review and editing, M.M. and K.M.; visualisation, A.F. and M.M.; supervision, M.M. and K.M.; project administration, M.M.; funding acquisition, A.F. and M.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the University of Canberra WJ Weeden Postgraduate Research Scholarship and Research Training Program (RTP) Scholarship https://doi.org/10.82133/C42F-K220 [Policy ID: 3281612UC].

Informed Consent Statement

Informed consent was obtained from all individual participants included in this study.

Data Availability Statement

The MATLAB implementation of the musculoskeletal model and RL environment is available from the corresponding author upon reasonable request.

Acknowledgments

During the preparation of this study, the authors used Quillbot for text editing purposes.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Appendix Results

Appendix A.1. Detailed Per-SNR Performance

The performance of RL algorithms DDPG, TD3, and SAC at different signal-to-noise ratio (SNR) levels (5, 10, 20, 50, and ∞ dB) is evaluated in Table A1 to assess their effectiveness in controlling lower-limb exoskeletons for stroke rehabilitation. These algorithms provide insights into the robustness, convergence, and adaptability of the algorithms to noise and biological variability. The metrics include mean reward, reward range, final reward, cumulative reward, normalised cumulative reward, learning improvement, learning ratio, and mean rewards across three equal parts of the training process. The analysis reveals distinct performance profiles.

Appendix A.2. Angle Estimation Performance Metrics

The angle estimation performance of the RL algorithms DDPG, TD3, and SAC was evaluated for controlling a lower-limb exoskeleton across four joints (RH, RK, LH, and LK), as summarised in Table A2. The assessment was conducted under varying SNR levels (5, 10, 20, 50, and ∞ dB) to quantify the robustness of each algorithm to measurement noise and its ability to accurately predict joint angles. The evaluation metrics include Mean Error (ME), Error Standard Deviation (EST), Root Mean Square Error (RMSE), Mean Absolute Error (MAE), p-values obtained from normality tests, and the Correlation Coefficient (CC) between the reference and estimated joint angles. All values were obtained from post-training simulations using gait data sampled at 500 Hz.

Appendix A.3. Torque Estimation Performance Metrics

The torque estimation performance of the RL algorithms (DDPG, TD3, and SAC) was evaluated for controlling a lower-limb exoskeleton across four joints (RH, RK, LH, and LK), as presented in Table A3. The evaluation was performed under different SNR levels (5, 10, 20, 50, and ∞ dB) to assess the robustness of each algorithm in predicting joint torques under noisy conditions. Performance metrics include Mean Error (ME), Error Standard Deviation (EST), Root Mean Square Error (RMSE), Mean Absolute Error (MAE), p-values from normality t-tests, and the Correlation Coefficient (CC) between the reference and estimated torques. All values were obtained from post-training simulations using gait data sampled at 500 Hz.

Appendix A.4. Error Distribution Analysis

Figure A1 provides a comprehensive analysis of the deep reinforcement learning algorithms DDPG, TD3, and SAC employed for controlling a lower-limb exoskeleton, focusing on their performance in angle and torque estimation under different signal-to-noise ratio (SNR) conditions (5, 10, 20, 50, and ∞ dB). These visualisations combine the reinforcement learning results with the angle and torque estimation analyses to provide a comprehensive comparison of algorithm performance.
Table A1. RL performance metrics across DDPG, TD3, and SAC algorithms at different SNRs. Metrics include mean reward (mean ± std), reward range [min, max], final reward (mean ± std over last 20% episodes), cumulative reward, normalised cumulative reward, learning improvement (second half minus first half mean), learning ratio (second half mean/first half mean), and mean rewards for the first, second, and third thirds of episodes. All values are reported in reward units, with SNR in decibels (dB).
Table A1. RL performance metrics across DDPG, TD3, and SAC algorithms at different SNRs. Metrics include mean reward (mean ± std), reward range [min, max], final reward (mean ± std over last 20% episodes), cumulative reward, normalised cumulative reward, learning improvement (second half minus first half mean), learning ratio (second half mean/first half mean), and mean rewards for the first, second, and third thirds of episodes. All values are reported in reward units, with SNR in decibels (dB).
AlgorithmSNRMean RewardReward RangeFinal RewardCumulative RewardNormalised Cumulative RewardLearning ImprovementLearning
Ratio
Mean Reward First PartMean Reward Second PartMean Reward Third Part
DDPG5−929.89 ± 288.80−3829.50, −720.49−946.50 ± 341.52−464,949.26−929.9070.220.93−1042.79−826.52−921.07
10−653.93 ± 264.02−4166.84, −484.00−594.30 ± 99.10−326,966.83−653.93148.500.80−815.41−557.32−590.04
20−487.81 ± 336.70−4677.66, −303.42−378.34 ± 35.15−243,906.22−487.81225.300.62−708.78−375.09−380.89
50−455.18 ± 390.34−6143.52, −263.11−360.66 ± 40.51−227,591.43−455.18225.050.60−677.20−337.11−352.57
Inf−455.71 ± 376.54−4500.93, −269.85−338.83 ± 49.83−227,859.78−455.72261.500.55−700.26−339.20−329.16
SAC5−1298.33 ± 1338.59−23,142.49, −743.79−862.93 ± 192.92−649,165.36−1298.33833.390.51−2080.20−956.61−862.87
10−1088.79 ± 1266.89−21,234.69, −563.99−723.02 ± 93.87−544,399.46−1088.80719.380.50−1817.72−726.43−726.62
20−860.69 ± 1105.08−12,934.60, −397.72−477.08 ± 76.58−430,347.17−860.69769.800.38−1614.08−502.17−470.35
50−770.78 ± 1009.34−13,355.44, −368.25−424.55 ± 41.47−385,391.85−770.78695.610.38−1450.79−443.81−421.83
Inf−837.01 ± 1221.98−21,027.97, −396.48−447.52 ± 41.33−418,509.00−837.02747.600.38−1560.52−499.35−455.51
TD35−820.43 ± 271.14−3829.13, −699.63−789.53 ± 47.86−410,215.55−820.4389.300.90−920.47−758.37−783.05
10−543.28 ± 150.63−2213.51, −435.18−496.44 ± 31.61−271,640.87−543.2895.020.84−641.86−493.80−494.78
20−389.94 ± 154.34−2449.62, −283.74−349.16 ± 20.58−194,971.67−389.94100.930.77−494.24−332.78−343.43
50−362.43 ± 155.49−2027.11, −257.27−331.13 ± 23.76−181,218.33−362.4497.820.76−465.84−300.39−321.70
Inf−354.24 ± 174.25−2786.31, −263.14−303.70 ± 18.14−177,120.56−354.24111.340.73−466.79−296.45−300.15
Table A2. Angle estimation performance metrics for DDPG, TD3, and SAC algorithms across four joints at different SNRs. Metrics include ME, EST, RMSE, MAE in radians, p-value from normality tests, and CC between real and estimated angles. All values are based on 500 Hz gait signal data.
Table A2. Angle estimation performance metrics for DDPG, TD3, and SAC algorithms across four joints at different SNRs. Metrics include ME, EST, RMSE, MAE in radians, p-value from normality tests, and CC between real and estimated angles. All values are based on 500 Hz gait signal data.
SNRMetricDDPGSACTD3
RHRKLHLKRHRKLHLKRHRKLHLK
5ME−0.01250.00650.00860.04570.04880.00470.0208−0.02150.00890.0050−0.01430.0404
EST0.07450.05320.06990.05640.07780.05910.06860.05700.06950.05020.06100.0576
RMSE0.07550.05360.07040.07260.09180.05920.07170.06090.07000.05040.06270.0703
MAE0.05710.04100.05410.05940.07750.04690.05370.04740.05340.03680.04550.0549
p-value0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
CC0.92090.93100.94960.93600.94150.95830.95990.93650.94680.91920.95570.8607
10ME0.02510.0040−0.01930.00930.0234−0.00310.00170.01780.00140.0170−0.00580.0338
EST0.05020.04490.04650.04030.05110.04790.04500.04590.04640.04120.04910.0367
RMSE0.05620.04510.05040.04130.05610.04800.04500.04930.04640.04450.04950.0498
MAE0.04520.03430.04010.03120.04450.03760.03260.03810.03410.03330.03780.0402
p-value0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
CC0.96260.96970.96530.95240.95220.86260.92200.91110.92860.92540.93390.9610
20ME−0.01240.0270.01210.0163−0.00330.0265−0.00160.0201−0.01100.0164−0.0015−0.0066
EST0.03810.0370.03680.03110.03650.0340.03670.03290.04050.04060.03450.0392
RMSE0.04010.04630.03870.03510.03660.04310.03670.03860.04190.04370.03450.0397
MAE0.03230.03390.03220.02400.02840.03230.02830.02610.03370.03420.02690.0320
p-value0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
CC0.972030.94060.96740.95740.96340.97360.97330.96330.96800.91670.96300.9313
50ME−0.00180.0218−0.00370.0210−0.00600.01770.00670.02960.00870.0122−0.00290.0171
EST0.03410.03360.03480.02620.03840.03680.03800.02960.03910.03750.03720.0320
RMSE0.03410.04010.03500.03360.03880.04080.03850.04180.04000.03940.03730.0362
MAE0.02630.02880.02750.02400.03080.02880.03140.03120.03400.02750.02990.0261
p-value0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
CC0.96240.93160.97400.95740.96740.96500.97370.96470.95850.89750.96760.9099
InfME−0.0047−0.00470.01430.0142−0.00230.01270.0003−0.0048−0.00030.00730.00310.0156
EST0.03660.03660.03270.03400.04220.03660.04070.03500.03650.03450.03510.0318
RMSE0.03690.03690.03570.03690.04220.03870.04070.03530.03650.03530.03520.0354
MAE0.02970.02970.02420.03120.03410.02720.03350.02720.02840.02500.02920.0244
p-value0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
CC0.95210.94850.94450.98250.96450.96330.97460.93960.97280.93280.96460.9197
Table A3. Torque estimation performance metrics for DDPG, TD3, and SAC algorithms across four joints at different SNRs. Metrics include ME, EST, RMSE, MAE in Nm, p-value from normality tests, and CC between real and estimated torques. All values are based on 500 Hz gait signal data.
Table A3. Torque estimation performance metrics for DDPG, TD3, and SAC algorithms across four joints at different SNRs. Metrics include ME, EST, RMSE, MAE in Nm, p-value from normality tests, and CC between real and estimated torques. All values are based on 500 Hz gait signal data.
SNRMetricDDPGSACTD3
RHRKLHLKRHRKLHLKRHRKLHLK
5ME−0.03550.06440.07510.22200.57510.05720.1963−0.04620.17700.0588−0.15570.2008
EST0.78600.38741.03900.32910.88980.43071.02210.33970.78890.39470.97390.3361
RMSE0.78640.39251.04130.39691.05910.43431.04030.34270.80810.39880.98580.3914
MAE0.60140.31120.83020.32190.88910.34260.82890.27090.64130.30480.75520.3152
p-value0.00000.00000.00000.00020.00000.00000.00000.00000.00000.00000.00000.0027
CC0.4025−0.0673−0.28150.24170.2499−0.2176−0.27330.19000.3183−0.1327−0.32940.2095
10ME0.33520.0536−0.20640.07610.31850.02590.00270.11030.09870.1053−0.06990.1742
EST0.61450.36670.84720.26120.61360.35970.81520.25570.64340.34150.86570.2348
RMSE0.69970.37040.87160.27200.69110.36040.81480.27840.65060.35720.86810.2923
MAE0.60970.28680.67660.21110.59870.28800.64570.21760.53360.28050.69150.2299
p-value0.00000.00000.00000.00000.00000.00000.00000.02290.00000.00000.00000.0000
CC0.3678−0.2883−0.36820.17430.3845−0.1082−0.31020.33420.2750−0.1016−0.36260.3109
20ME−0.04270.14680.10590.10370.04870.1424−0.03120.1190−0.02730.1021−0.03070.0125
EST0.48020.30490.78080.22330.50660.31300.76180.20830.52040.32170.70380.2180
RMSE0.48190.33830.78750.24610.50870.34380.76210.23980.52090.33740.70410.2183
MAE0.37360.27320.67010.19250.42190.27100.61580.18270.41990.27030.56430.1752
p-value0.00830.00000.00840.00000.21600.00000.00010.00000.18990.00000.00000.0000
CC0.5353−0.0650−0.48460.23950.4680−0.1960−0.40540.37010.4620−0.1251−0.24930.3655
50ME0.06310.1242−0.0520.12220.02440.10790.05150.15650.16920.0856−0.04460.1067
EST0.47710.30720.76490.19970.51430.31280.78560.20520.62660.35680.78510.2308
RMSE0.48100.33120.76640.23410.51460.33080.78690.25800.64870.36670.78600.2542
MAE0.41100.26540.62040.18060.42240.25430.66010.20070.59090.29060.66230.2062
p-value0.00000.00000.00000.00000.03090.00000.00960.00000.00000.00000.00120.0000
CC0.5233−0.1609−0.49030.37080.4586−0.1493−0.46890.35520.1754−0.4751−0.49560.1820
InfME0.03440.094460.12670.14350.05910.0879−0.01260.01940.07810.06580.01560.1019
EST0.54340.321630.71540.20090.53330.32630.80890.22210.51540.32710.73670.1999
RMSE0.54430.335070.72620.24680.53630.33780.80860.22280.52100.33350.73650.2242
MAE0.45040.261940.63630.18280.45260.26370.66620.18070.45350.26740.61630.1786
p-value0.00700.00.00140.00000.00180.00000.00040.00000.00000.00000.00000.0000
CC0.3731−0.3063−0.33220.39270.4453−0.2558−0.47210.29040.4432−0.3156−0.37020.4042
Figure A1. Advanced error analysis of DDPG, TD3, and SAC networks under different SNR conditions. Part (1) corresponds to DDPG, Part (2) to SAC, and Part (3) to TD3. The networks reconstruct joint positions and torques under SNR levels of 5, 10, 20, 50, and ∞ dB (V, IV, III, II, and I, respectively). Panels (a,b) present the position and torque error distributions, panels (c,f) show the error and signal correlation matrices, and panels (d,e) present boxplots comparing the position and torque error distributions for the hip and knee joints of both legs.
Figure A1. Advanced error analysis of DDPG, TD3, and SAC networks under different SNR conditions. Part (1) corresponds to DDPG, Part (2) to SAC, and Part (3) to TD3. The networks reconstruct joint positions and torques under SNR levels of 5, 10, 20, 50, and ∞ dB (V, IV, III, II, and I, respectively). Panels (a,b) present the position and torque error distributions, panels (c,f) show the error and signal correlation matrices, and panels (d,e) present boxplots comparing the position and torque error distributions for the hip and knee joints of both legs.
Sensors 26 05217 g0a1aSensors 26 05217 g0a1bSensors 26 05217 g0a1c

References

  1. Pu, L.; Wang, L.; Zhang, R.; Zhao, T.; Jiang, Y.; Han, L. Projected global trends in ischemic stroke incidence, deaths and disability-adjusted life years from 2020 to 2030. Stroke 2023, 54, 1330–1339. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Feigin, V.L.; Brainin, M.; Norrving, B.; Martins, S.O.; Pandian, J.; Lindsay, P.; Grupper, M.F.; Rautalin, I. World Stroke Organization: Global stroke fact sheet 2025. Int. J. Stroke 2025, 20, 132–144. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Zhang, L.; Lin, F.; Sun, L.; Chen, C. Comparison of efficacy of Lokomat and wearable exoskeleton-assisted gait training in people with spinal cord injury: A systematic review and network meta-analysis. Front. Neurol. 2022, 13, 772660. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Schofield, Z.; Gardiner, F.W.; Bishop, L.; Spring, B.; Gale, L.; Quinlan, F. Best for the Bush In Focus: Heart, Stroke and Vascular Disease; Royal Flying Doctor Service of Australia: Canberra, Australia, 2023. [Google Scholar]
  5. Foroutannia, A.; Mohammadian, M.; Munasinghe, K. A Review of Control Methods in Lower Limb Exoskeleton Robots: From Classical to Machine Learning Approaches. In 2025 7th International Congress on Human-Computer Interaction, Optimization and Robotic Applications (ICHORA); IEEE: Piscataway, NJ, USA, 2025; pp. 1–9. [Google Scholar]
  6. Van der Loos, H.M.; Reinkensmeyer, D.J.; Guglielmelli, E. Rehabilitation and health care robotics. In Springer Handbook of Robotics; Springer: Cham, Switzerland, 2016; pp. 1685–1728. [Google Scholar]
  7. Bustamante Valles, K.; Montes, S.; Madrigal, M.D.J.; Burciaga, A.; Martínez, M.E.; Johnson, M.J. Technology-assisted stroke rehabilitation in Mexico: A pilot randomized trial comparing traditional therapy to circuit training in a Robot/technology-assisted therapy gym. J. NeuroEng. Rehabil. 2016, 13, 83. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Ma, Z.; Wang, Y.; Zhang, T.; Liu, J. Reconfigurable exomuscle system employing parameter tuning to assist hip flexion or ankle plantarflexion. IEEE/ASME Trans. Mechatron. 2025, 30, 7100–7111. [Google Scholar] [CrossRef] [Scilit]
  9. Watanabe, Y.; Miyazaki, T.; Wakai, Y.; Kawashima, K. Gait assist exosuit driven by pneumatic artificial muscles: Integrating posture estimation and assistance via phase-dependent role switching. IEEE Access 2026, 14, 120684–120697. [Google Scholar] [CrossRef] [Scilit]
  10. Calabrò, R.S.; Cacciola, A.; Bertè, F.; Manuli, A.; Leo, A.; Bramanti, A.; Naro, A.; Milardi, D.; Bramanti, P. Robotic gait rehabilitation and substitution devices in neurological disorders: Where are we now? Neurol. Sci. 2016, 37, 503–514. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Luo, S.; Jiang, M.; Zhang, S.; Zhu, J.; Yu, S.; Dominguez Silva, I.; Wang, T.; Rouse, E.; Zhou, B.; Yuk, H.; et al. Experiment-free exoskeleton assistance via learning in simulation. Nature 2024, 630, 353–359. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  12. Foroutannia, A.; Mohammadian, M. A comprehensive survey of lower limb assistive exoskeleton robots: Models, dynamics, mechanics, and control. Rob. Auton. Syst. 2025, 195, 105232. [Google Scholar] [CrossRef] [Scilit]
  13. Mashud, G.; Hasan, S.; Alam, N. Advances in Control Techniques for Rehabilitation Exoskeleton Robots: A Systematic Review. Actuators 2025, 14, 108. [Google Scholar] [CrossRef] [Scilit]
  14. Caulcrick, C. Model Predictive Control for Intelligent Lower Limb Robotic Assistance; Imperial College London: London, UK, 2021. [Google Scholar]
  15. Belal, M.; Alsheikh, N.; Aljarah, A.; Hussain, I. Deep learning approaches for enhanced lower-limb exoskeleton control: A review. IEEE Access 2024, 12, 143883–143907. [Google Scholar] [CrossRef] [Scilit]
  16. Coser, O.; Tamantini, C.; Soda, P.; Zollo, L. AI-based methodologies for exoskeleton-assisted rehabilitation of the lower limb: A review. Front. Rob. AI 2024, 11, 1341580. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Ajayi, M.O. Modelling and Control of Actuated Lower Limb Exoskeletons: A Mathematical Application Using Central Pattern Generators and Nonlinear Feedback Control Techniques; Université Paris-Est: Créteil, France; Tshwane University of Technology: Pretoria, South Africa, 2016. [Google Scholar]
  18. Foroutannia, A.; Akbarzadeh-T, M.-R.; Akbarzadeh, A. A deep learning strategy for EMG-based joint position prediction in hip exoskeleton assistive robots. Biomed. Signal Process. Control 2022, 75, 103557. [Google Scholar] [CrossRef] [Scilit]
  19. Nguyen, T.T.; Nguyen, N.D.; Nahavandi, S. Deep reinforcement learning for multiagent systems: A review of challenges, solutions, and applications. IEEE Trans. Cybern. 2020, 50, 3826–3839. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. Sivamayil, K.; Rajasekar, E.; Aljafari, B.; Nikolovski, S.; Vairavasundaram, S.; Vairavasundaram, I. A systematic study on reinforcement learning based applications. Energies 2023, 16, 1512. [Google Scholar] [CrossRef] [Scilit]
  21. Sharifi, M.; Tripathi, S.; Chen, Y.; Zhang, Q.; Tavakoli, M. Reinforcement Learning Methods for Assistive and Rehabilitation Robotic Systems: A Survey. IEEE Trans. Syst. Man Cybern. Syst. 2025, 55, 4534–4551. [Google Scholar] [CrossRef] [Scilit]
  22. Duan, H. Reinforcement Learning-Based Control for Bipedal Robots. Ph.D. Thesis, Oregon State University, Corvallis, OR, USA, 2024. [Google Scholar]
  23. Liu, S. An evaluation of DDPG, TD3, SAC, and PPO: Deep reinforcement learning algorithms for controlling continuous system. In 2023 International Conference on Data Science, Advanced Algorithm and Intelligent Computing (DAI 2023); Atlantis Press: Dordrecht, The Netherlands, 2024; pp. 15–24. [Google Scholar]
  24. Bondre, S.V.; Thakre, B.; Yadav, U.; Bondre, V.D. Deep reinforcement learning algorithms: A comprehensive overview. In Deep Reinforcement Learning and Its Industrial Use Cases: AI for Real-World Applications; Wiley Online Library: Medford, MA, USA, 2024; pp. 51–73. [Google Scholar]
  25. Arunkumar, S.; Jayakumar, N. A comprehensive review on lower limb exoskeleton: From origin to future expectations. Int. J. Interact. Des. Manuf. 2025, 19, 4625–4648. [Google Scholar] [CrossRef] [Scilit]
  26. Zoss, A.B.; Kazerooni, H.; Chu, A. Biomechanical design of the Berkeley lower extremity exoskeleton (BLEEX). IEEE/ASME Trans. Mechatron. 2006, 11, 128–138. [Google Scholar] [CrossRef] [Scilit]
  27. Zoss, A.; Kazerooni, H.; Chu, A. On the mechanical design of the Berkeley Lower Extremity Exoskeleton (BLEEX). In 2005 IEEE/RSJ International Conference on Intelligent Robots and Systems; IEEE: Piscataway, NJ, USA, 2005; pp. 3465–3472. [Google Scholar]
  28. Younis, S.; Narayan, J.; Mittal, M. Human-Robot Interaction in Lower Limb Rehabilitation: A Scoping Review. In Intelligent Cyber-Physical Systems for Healthcare Solutions: From Theory to Practice; Springer: Singapore, 2024; pp. 217–236. [Google Scholar]
  29. Parikesit, E. Lower Limb Exoskeleton of Robot Assisted Trainer; Rajamangala University of Technology Thanyaburi, Faculty of Technical Education: Pathum Thani, Thailand, 2023. [Google Scholar]
  30. Zhu, M.; Gong, D.; Zhao, Y.; Chen, J.; Qi, J.; Song, S. Compliant Force Control for Robots: A Survey. Mathematics 2025, 13, 2204. [Google Scholar] [CrossRef] [Scilit]
  31. Cao, Y.; Ma, S.; Zhang, M.; Li, Z.; Liu, J.; Huang, J.; Zhang, Z.Q. Musculoskeletal Model-Based Adaptive Variable Impedance Control With Flexible Prescribed Performance for Rehabilitation Robots. IEEE/ASME Trans. Mechatron. 2025, 30, 2862–2870. [Google Scholar] [CrossRef] [Scilit]
  32. Zhao, Y.; Qian, K.; Bo, S.; Zhang, Z.; Li, Z.; Li, G.Q.; Dehghani-Sanij, A.A.; Xie, S.Q. Adaptive cooperative control strategy for a wrist exoskeleton using model-based joint impedance estimation. IEEE/ASME Trans. Mechatron. 2022, 28, 748–757. [Google Scholar] [CrossRef] [Scilit]
  33. Foroutannia, A.; Ghasemi, M. Predicting cortical oscillations with bidirectional LSTM network: A simulation study. Nonlinear Dyn. 2023, 111, 8713–8736. [Google Scholar] [CrossRef] [Scilit]
  34. Zhang, Z.; Wang, Z.; Lei, H.; Gu, W. Gait phase recognition of lower limb exoskeleton system based on the integrated network model. Biomed. Signal Process. Control 2022, 76, 103693. [Google Scholar] [CrossRef] [Scilit]
  35. Foroutannia, A.; Akbarzadeh-T, M.-R.; Akbarzadeh, A.; Tahamipour-Z, S.M. Adaptive fuzzy impedance control of exoskeleton robots with electromyography-based convolutional neural networks for human intended trajectory estimation. Mechatronics 2023, 91, 102952. [Google Scholar] [CrossRef] [Scilit]
  36. Zheng, R.; Yu, Z.; Liu, H.; Lin, J.; Zeng, B.; Jia, L. Virtual Impedance Adaptation of Lower-Limb Exoskeleton for Human Performance Augmentation Based on Deep Reinforcement Learning. Chin. J. Mech. Eng. 2025, 38, 194. [Google Scholar] [CrossRef] [Scilit]
  37. Sang, M.W.; Narayan, J.; Omarali, B.; Faisal, A.A. Towards Safer Rehabilitation: Improving Gait Trajectory Tracking for Lower Limb Exoskeletons Using Offline Reinforcement Learning. In 2025 International Conference On Rehabilitation Robotics (ICORR); IEEE: Piscataway, NJ, USA, 2025; pp. 577–582. [Google Scholar]
  38. Rose, L.; Bazzocchi, M.C.; Nejat, G. A model-free deep reinforcement learning approach for control of exoskeleton gait patterns. Robotica 2022, 40, 2189–2214. [Google Scholar] [CrossRef] [Scilit]
  39. Luo, S.; Androwis, G.; Adamovich, S.; Su, H.; Nunez, E.; Zhou, X. Reinforcement learning and control of a lower extremity exoskeleton for squat assistance. Front. Rob. AI 2021, 8, 702845. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  40. Huang, L.; Zheng, J.; Gao, Y.; Song, Q.; Liu, Y. A Lower Limb Exoskeleton Adaptive Control Method Based on Model-free Reinforcement Learning and Improved Dynamic Movement Primitives. J. Intell. Robot. Syst. 2025, 111, 24. [Google Scholar] [CrossRef] [Scilit]
  41. Luo, S.; Androwis, G.; Adamovich, S.; Nunez, E.; Su, H.; Zhou, X. Robust walking control of a lower limb rehabilitation exoskeleton coupled with a musculoskeletal model via deep reinforcement learning. J. NeuroEng. Rehabil. 2023, 20, 34. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  42. Zheng, R.; Yu, Z.; Liu, H.; Zhao, Z.; Chen, J.; Jia, L. Sensitivity adaptation of lower-limb exoskeleton for human performance augmentation based on deep reinforcement learning. IEEE Access 2023, 11, 36029–36040. [Google Scholar] [CrossRef] [Scilit]
  43. Zheng, R.; Yu, Z.; Liu, H.; Chen, J.; Zhao, Z.; Jia, L. End-to-end high-level control of lower-limb exoskeleton for human performance augmentation based on deep reinforcement learning. IEEE Access 2023, 11, 102340–102351. [Google Scholar] [CrossRef] [Scilit]
  44. Yuan, Y.; Li, Z.; Zhao, T.; Gan, D. DMP-based motion generation for a walking exoskeleton robot using reinforcement learning. IEEE Trans. Ind. Electron. 2019, 67, 3830–3839. [Google Scholar] [CrossRef] [Scilit]
  45. Yu, Z.; Zhao, J.; Chen, D.; Chen, S.; Wang, X. Adaptive gait trajectory and event prediction of lower limb exoskeletons for various terrains using reinforcement learning. J. Intell. Robot. Syst. 2023, 109, 23. [Google Scholar] [CrossRef] [Scilit]
  46. Dizor, R.; Raj, A.; Gonzalez, M.B.; Smith, M.G.; Carter, Z.; Rodrigues, M.D.; Newton, J. Deep reinforcement learning to assess lower extremity movement intention and assist a rehabilitation exoskeleton. In Disruptive Technologies in Information Sciences VIII; SPIE: Bellingham, WA, USA, 2024; Volume 13058, pp. 34–42. [Google Scholar]
  47. Rv, M.; Rakshit, S. Deep Reinforcement Learning Based Control of Lower Limb Exoskeleton. In 2024 International Joint Conference on Neural Networks (IJCNN); IEEE: Piscataway, NJ, USA, 2024; pp. 1–6. [Google Scholar]
  48. Xu, J.; Huang, K.; Zhang, T.; Zhao, M.; Ji, A.; Li, Y. Mirror adaptive impedance control of multi-mode soft exoskeleton with reinforcement learning. IEEE Trans. Autom. Sci. Eng. 2024, 22, 6773–6785. [Google Scholar] [CrossRef] [Scilit]
  49. Xu, J.; Xu, L.; Ji, A.; Li, Y.; Cao, K. A DMP-based motion generation scheme for robotic mirror therapy. IEEE/ASME Trans. Mechatron. 2023, 28, 3120–3131. [Google Scholar] [CrossRef] [Scilit]
  50. Tu, X.; Li, M.; Liu, M.; Si, J.; Huang, H.H. A data-driven reinforcement learning solution framework for optimal and adaptive personalization of a hip exoskeleton. In 2021 IEEE International Conference on Robotics and Automation (ICRA); IEEE: Piscataway, NJ, USA, 2021. [Google Scholar]
  51. Zhang, P.; Zhang, J.; Elsabbagh, A. Fuzzy radial-based impedance controller design for lower limb exoskeleton robot. Robotica 2023, 41, 326–345. [Google Scholar] [CrossRef] [Scilit]
  52. Aguirre-Ollinger, G.; Colgate, J.E.; Peshkin, M.A.; Goswami, A. Active-impedance control of a lower-limb assistive exoskeleton. In 2007 IEEE 10th International Conference on Rehabilitation Robotics; IEEE: Piscataway, NJ, USA, 2007; pp. 188–195. [Google Scholar]
  53. Li, Y. Deep reinforcement learning: An overview. arXiv 2017, arXiv:1701.07274. [Google Scholar]
  54. Arulkumaran, K.; Deisenroth, M.P.; Brundage, M.; Bharath, A.A. Deep reinforcement learning: A brief survey. IEEE Signal Process Mag. 2017, 34, 26–38. [Google Scholar] [CrossRef] [Scilit]
  55. François-Lavet, V.; Henderson, P.; Islam, R.; Bellemare, M.G.; Pineau, J. An introduction to deep reinforcement learning. Found. Trends Mach. Learn. 2018, 11, 219–354. [Google Scholar] [CrossRef] [Scilit]
  56. Li, Z.; Guan, X.; Liu, C.; Li, D.; He, L.; Cao, Y.; Long, Y. Active Disturbance Rejection Control Based on Twin-Delayed Deep Deterministic Policy Gradient for an Exoskeleton. J. Bionic Eng. 2025, 22, 1211–1230. [Google Scholar] [CrossRef] [Scilit]
  57. Qasim, M.H.; Al-Darraji, S. Traversing Dynamic Environments: Advanced Deep Reinforcement Learning for Mobile Robots Path Planning-A Comprehensive Review. Int. J. Comput. Digit. Syst. 2024, 16, 1–26. [Google Scholar]
  58. Tan, H. Reinforcement learning with deep deterministic policy gradient. In 2021 International Conference on Artificial Intelligence, Big Data and Algorithms (CAIBDA); IEEE: Piscataway, NJ, USA, 2021; pp. 82–85. [Google Scholar]
  59. Dankwa, S.; Zheng, W. Twin-delayed ddpg: A deep reinforcement learning technique to model a continuous movement of an intelligent robot agent. In Proceedings of the 3rd International Conference on Vision, Image and Signal Processing; Association for Computing Machinery: New York, NY, USA, 2019; pp. 1–5. [Google Scholar]
  60. Xu, Y.; Wei, Y.; Jiang, K.; Chen, L.; Wang, D.; Deng, H. Action decoupled SAC reinforcement learning with discrete-continuous hybrid action spaces. Neurocomputing 2023, 537, 141–151. [Google Scholar] [CrossRef] [Scilit]
  61. Zhang, K.; Yang, Z.; Başar, T. Multi-agent reinforcement learning: A selective overview of theories and algorithms. In Handbook of Reinforcement Learning and Control; Springer: Cham, Switzerland, 2021; pp. 321–384. [Google Scholar]
  62. Albrecht, S.V.; Christianos, F.; Schäfer, L. Multi-Agent Reinforcement Learning: Foundations and Modern Approaches; MIT Press: Cambridge, MA, USA, 2024. [Google Scholar]
  63. Kong, S.-H.; Nahrendra, I.M.A.; Paek, D.-H. Enhanced off-policy reinforcement learning with focused experience replay. IEEE Access 2021, 9, 93152–93164. [Google Scholar] [CrossRef] [Scilit]
  64. Mao, H.; Zhang, Z.; Xiao, Z.; Gong, Z. Modelling the dynamic joint policy of teammates with attention multi-agent DDPG. arXiv 2018, arXiv:1811.07029. [Google Scholar]
  65. Zhang, F.; Li, J.; Li, Z. A TD3-based multi-agent deep reinforcement learning method in mixed cooperation-competition environment. Neurocomputing 2020, 411, 206–215. [Google Scholar] [CrossRef] [Scilit]
  66. Shi, H.; Wu, X.; Wang, G. Tracking Control of CSTRs Based on Improved OU Noise and the TD3 Algorithm. IEEE Access 2025, 13, 94944–94952. [Google Scholar] [CrossRef] [Scilit]
  67. Lin, Q.; Ma, H. SACHA: Soft actor-critic with heuristic-based attention for partially observable multi-agent path finding. IEEE Rob. Autom. Lett. 2023, 8, 5100–5107. [Google Scholar] [CrossRef] [Scilit]
  68. Sumiea, E.H.; Abdulkadir, S.J.; Alhussian, H.S.; Al-Selwi, S.M.; Alqushaibi, A.; Ragab, M.G.; Fati, S.M. Deep deterministic policy gradient algorithm: A systematic review. Heliyon 2024, 10, e30697. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  69. Fan, Y.; Dong, H.; Zhao, X.; Denissenko, P. Path-following control of unmanned underwater vehicle based on an improved TD3 deep reinforcement learning. IEEE Trans. Control Syst. Technol. 2024, 32, 1904–1919. [Google Scholar] [CrossRef] [Scilit]
  70. Ma, X.; Chen, J.; Xia, L.; Yang, J.; Zhao, Q.; Zhou, Z. DSAC: Distributional Soft Actor-Critic for Risk-Sensitive Reinforcement Learning. J. Artif. Intell. Res. 2025, 83, 4. [Google Scholar] [CrossRef] [Scilit]
  71. Wiltzer, H. On the Evolution of Return Distributions in Continuous-Time Reinforcement Learning; McGill University: Montreal, QC, Canada, 2021. [Google Scholar]
Figure 1. Schematic of the proposed adaptive control framework, integrating RL algorithms (DDPG, TD3, SAC) with model-based controllers to personalise lower-limb exoskeleton behaviour for walking, sitting, and standing, utilising sensory data and kinematics and inverse dynamics. Patient-specific biological parameters enter the control loop through the RL agent’s state space and reward function, enabling sequential decision-making tailored to individual variability, uncertainty, and long-term rehabilitation benefits.
Figure 1. Schematic of the proposed adaptive control framework, integrating RL algorithms (DDPG, TD3, SAC) with model-based controllers to personalise lower-limb exoskeleton behaviour for walking, sitting, and standing, utilising sensory data and kinematics and inverse dynamics. Patient-specific biological parameters enter the control loop through the RL agent’s state space and reward function, enabling sequential decision-making tailored to individual variability, uncertainty, and long-term rehabilitation benefits.
Sensors 26 05217 g001
Figure 2. Proposed dynamic model of a two-degree-of-freedom skeletal robot that includes hip, knee, and ankle joints. The centres of mass applied torques ( τ ) at each joint are specified, along with segment lengths (L) and angles ( θ ). The x and y coordinates, direction of gravity (g), and effective masses (m) are also shown in the diagram.
Figure 2. Proposed dynamic model of a two-degree-of-freedom skeletal robot that includes hip, knee, and ankle joints. The centres of mass applied torques ( τ ) at each joint are specified, along with segment lengths (L) and angles ( θ ). The x and y coordinates, direction of gravity (g), and effective masses (m) are also shown in the diagram.
Sensors 26 05217 g002
Figure 3. Neural network architectures for the actor and critic components. (Part I) Actor network used by DDPG and TD3, with the architecture 4 256 128 64 4 and ReLU activations in the hidden layers followed by tanh activation for bounded actions in [ 1 , 1 ] . The SAC actor uses the same hidden-layer architecture with a stochastic policy output. (Part II) Branched critic architecture used by DDPG and TD3, in which the state pathway ( 4 256 128 ) and action pathway ( 4 128 ) are combined before the subsequent 64 1 layers. (Part III) Critic architecture used by SAC, consisting of the corresponding state-action processing layers followed by 64 1 Q-value estimation. All hidden layers use ReLU activation, and the final critic layer uses a linear activation.
Figure 3. Neural network architectures for the actor and critic components. (Part I) Actor network used by DDPG and TD3, with the architecture 4 256 128 64 4 and ReLU activations in the hidden layers followed by tanh activation for bounded actions in [ 1 , 1 ] . The SAC actor uses the same hidden-layer architecture with a stochastic policy output. (Part II) Branched critic architecture used by DDPG and TD3, in which the state pathway ( 4 256 128 ) and action pathway ( 4 128 ) are combined before the subsequent 64 1 layers. (Part III) Critic architecture used by SAC, consisting of the corresponding state-action processing layers followed by 64 1 Q-value estimation. All hidden layers use ReLU activation, and the final critic layer uses a linear activation.
Sensors 26 05217 g003
Figure 4. Learning curves of DDPG in Part I, SAC in Part II, and TD3 in Part III algorithms across different SNRs (5, 10, 20, 50, and ∞ dB), and comparison of the three algorithms under noise-free conditions in Part IV. The plots display episode rewards over 500 training episodes, with each curve representing the average reward trend for a specific algorithm and SNR condition. The x-axis denotes episode number, and the y-axis shows reward values, highlighting convergence rates and stability. TD3 exhibits the steadiest ascent, particularly at higher SNR, while SAC shows significant improvement despite initial fluctuations, and DDPG demonstrates moderate stability with noise reduction.
Figure 4. Learning curves of DDPG in Part I, SAC in Part II, and TD3 in Part III algorithms across different SNRs (5, 10, 20, 50, and ∞ dB), and comparison of the three algorithms under noise-free conditions in Part IV. The plots display episode rewards over 500 training episodes, with each curve representing the average reward trend for a specific algorithm and SNR condition. The x-axis denotes episode number, and the y-axis shows reward values, highlighting convergence rates and stability. TD3 exhibits the steadiest ascent, particularly at higher SNR, while SAC shows significant improvement despite initial fluctuations, and DDPG demonstrates moderate stability with noise reduction.
Sensors 26 05217 g004
Figure 5. Comparison of predicted joint positions by DDPG, SAC, and TD3 networks with real data at different SNRs. The responses of DDPG, SAC, and TD3 networks in parts (1), (2), and (3) for reconstructing the hip and knee joint positions of the right and left legs under different noise levels (SNR = 5, 10, 20, 50, and ∞ dB at V, IV, III, II, I) are compared with real data. Plots (a,c,e,g) show the predicted and real joint positions, while plots (b,d,f,h) show the position reconstruction error at each joint over time. Increasing noise increases the error fluctuations and reduces the accuracy of the position estimation at the network output.
Figure 5. Comparison of predicted joint positions by DDPG, SAC, and TD3 networks with real data at different SNRs. The responses of DDPG, SAC, and TD3 networks in parts (1), (2), and (3) for reconstructing the hip and knee joint positions of the right and left legs under different noise levels (SNR = 5, 10, 20, 50, and ∞ dB at V, IV, III, II, I) are compared with real data. Plots (a,c,e,g) show the predicted and real joint positions, while plots (b,d,f,h) show the position reconstruction error at each joint over time. Increasing noise increases the error fluctuations and reduces the accuracy of the position estimation at the network output.
Sensors 26 05217 g005aSensors 26 05217 g005bSensors 26 05217 g005c
Figure 6. Comparison of joint torques reconstructed by DDPG, SAC, and TD3 networks with real data at different SNRs. The response of (1) DDPG, (2) SAC, and (3) TD3 networks for reconstructing hip and knee joint torques in the right and left legs under different noise levels (SNR = 5, 10, 20, 50, and ∞ dB in V, IV, III, II, I) is compared with real data. Plots (a,c,e,g) show the estimated and actual joint torques, while plots (b,d,f,h) show the torque reconstruction error at each joint over time. Increasing noise increases the error fluctuations and reduces the accuracy of the torque estimation at the network output.
Figure 6. Comparison of joint torques reconstructed by DDPG, SAC, and TD3 networks with real data at different SNRs. The response of (1) DDPG, (2) SAC, and (3) TD3 networks for reconstructing hip and knee joint torques in the right and left legs under different noise levels (SNR = 5, 10, 20, 50, and ∞ dB in V, IV, III, II, I) is compared with real data. Plots (a,c,e,g) show the estimated and actual joint torques, while plots (b,d,f,h) show the torque reconstruction error at each joint over time. Increasing noise increases the error fluctuations and reduces the accuracy of the torque estimation at the network output.
Sensors 26 05217 g006aSensors 26 05217 g006bSensors 26 05217 g006c
Figure 7. Sensitivity of the TD3 policy to variations in anthropometric parameters. (Part I) shows joint angle RMSE (rad), and (Part II) shows torque RMSE (Nm). Results represent mean values over 100 test episodes at SNR = ∞ dB. Dashed horizontal lines indicate the nominal-parameter performance. Solid curves represent variations in thigh length ( d t ), shank length ( d s ), thigh mass ( m t ), and shank mass ( m s ).
Figure 7. Sensitivity of the TD3 policy to variations in anthropometric parameters. (Part I) shows joint angle RMSE (rad), and (Part II) shows torque RMSE (Nm). Results represent mean values over 100 test episodes at SNR = ∞ dB. Dashed horizontal lines indicate the nominal-parameter performance. Solid curves represent variations in thigh length ( d t ), shank length ( d s ), thigh mass ( m t ), and shank mass ( m s ).
Sensors 26 05217 g007
Table 1. Anthropometric parameters derived from average adult human data.
Table 1. Anthropometric parameters derived from average adult human data.
ParameterDescriptionValueParameterDescriptionValue
m t Thigh mass for right and left8.5 kg I t Moments of inertia thigh0.15 kg·m2
m s Shank mass for right and left4.3 kg I s Moments of inertia shank0.08 kg·m2
L t Thigh length0.42 m K p hip Position for hip joint500 Nm/rad
L s Shank length0.40 m K d hip Velocity for hip joint50 Nm·s/rad
d t Centre of mass distances thigh0.25 m K p knee Position for knee joint200 Nm/rad
d s Centre of mass distances shank0.20 m K d knee Velocity for knee joint100 Nm·s/rad
gGravity9.81 m/s2
Table 2. Neural-network architecture and training hyperparameters used for DDPG, TD3, and SAC.
Table 2. Neural-network architecture and training hyperparameters used for DDPG, TD3, and SAC.
ParameterValueParameterValue
Actor hidden layers256-128-64Critic hidden layers256-128-64
Activation functionReLUOutput activationtanh
OptimiserAdamActor learning rate 10 4
Critic learning rate 10 3 Mini-batch size128
Replay buffer size 10 6 Discount factor ( γ )0.99
Soft update factor ( τ )0.01L2 regularisation 10 4
Training episodes500
Table 3. Summary performance of RL algorithms at selected SNR ∞ dB and 5 dB levels (mean ± std, 5 seeds). Metrics include mean reward (mean ± std), angle RMSE base in rad (mean ± std), torque RMSE in Nm (mean ± std), learning ratio, p-value.
Table 3. Summary performance of RL algorithms at selected SNR ∞ dB and 5 dB levels (mean ± std, 5 seeds). Metrics include mean reward (mean ± std), angle RMSE base in rad (mean ± std), torque RMSE in Nm (mean ± std), learning ratio, p-value.
AlgorithmSNR (dB)Mean RewardAngle RMSE (Rad)Torque RMSE (Nm)Learning Ratiop-Value
DDPG−368.1 ± 22.50.0369 ± 0.0040.712 ± 0.0650.420
TD3−354.24 ± 18.70.0412 ± 0.0050.685 ± 0.0580.480
SAC−372.5 ± 25.30.0451 ± 0.0060.734 ± 0.0720.450
DDPG5−521.3 ± 41.20.112 ± 0.0141.059 ± 0.0980.380
TD35−498.7 ± 35.60.098 ± 0.0110.978 ± 0.0850.440
SAC5−482.4 ± 32.10.105 ± 0.0121.012 ± 0.0920.510
Table 4. Ablation study results on the effect of biological parameter integration (mean ± std over 5 seeds, SNR = ∞ dB). Bold values indicate the best performance.
Table 4. Ablation study results on the effect of biological parameter integration (mean ± std over 5 seeds, SNR = ∞ dB). Bold values indicate the best performance.
VariantMean RewardAngle RMSE (Rad)Torque RMSE (Nm)Notes
Baseline (No variation) 412.7 ± 28.4 0.0581 ± 0.007 1.284 ± 0.112 Nominal only
Randomisation-only 378.2 ± 24.1 0.0497 ± 0.006 1.056 ± 0.092 Varied in training, excluded from state/reward
Proposed (Full) 338 . 5 ± 19 . 2 0 . 0423 ± 0 . 005 0 . 892 ± 0 . 078 Varied + state/reward integration
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Foroutannia, A.; Mohammadian, M.; Munasinghe, K. Adaptive Control of Lower-Limb Assistive Exoskeleton for Rehabilitation Using Deep Reinforcement Learning. Sensors 2026, 26, 5217. https://doi.org/10.3390/s26165217

AMA Style

Foroutannia A, Mohammadian M, Munasinghe K. Adaptive Control of Lower-Limb Assistive Exoskeleton for Rehabilitation Using Deep Reinforcement Learning. Sensors. 2026; 26(16):5217. https://doi.org/10.3390/s26165217

Chicago/Turabian Style

Foroutannia, Ali, Masoud Mohammadian, and Kumudu Munasinghe. 2026. "Adaptive Control of Lower-Limb Assistive Exoskeleton for Rehabilitation Using Deep Reinforcement Learning" Sensors 26, no. 16: 5217. https://doi.org/10.3390/s26165217

APA Style

Foroutannia, A., Mohammadian, M., & Munasinghe, K. (2026). Adaptive Control of Lower-Limb Assistive Exoskeleton for Rehabilitation Using Deep Reinforcement Learning. Sensors, 26(16), 5217. https://doi.org/10.3390/s26165217

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop