Article
Physical Reinforcement Learning with Integral Temporal
Difference Error for Constrained Robots
Luis Pantoja-Garcia 1 , Vicente Parra-Vega 2, *
1
2
3
*
and Rodolfo Garcia-Rodriguez 3
Tecnologico de Monterrey, Institute of Advanced Materials for Sustainable Manufacturing, Av. General
Ramon Corona 2514, Zapopan 45210, Jalisco, Mexico; luis.pantoja@tec.mx
Robotics and Advanced Manufacturing Department, Research Center for Advanced Studies (Cinvestav-Ipn),
Mexico City 07360, Mexico
Facultad de Ciencias de la Administración, Universidad Autónoma de Coahuila, Saltillo 25225, Mexico;
rodolfo.garcia@uadec.edu.mx
Correspondence: vparra@cinvestav.mx; Tel.: +52-844-4389600
Abstract
The paradigm of reinforcement learning (RL) refers to agents that learn iteratively through
continuous interactions with their environment. However, when the value function is
unknown, a neural network is used, which is typically encoded into an unknown temporal
difference equation. When RL is implemented in physical systems, explicit convergence
and stability analyses are required to guarantee the worst-case operations for any trial, even
when the initial conditions are set to zero. In this paper, physical RL (p-RL) refers to the
application of RL in dynamical systems that interact with their environments, such as robot
manipulators in contact tasks and humanoid robots in cooperation or interaction tasks.
Unfortunately, most p-RL schemes lack stability properties, which can even be dangerous
for specific robot applications, such as those involving contact (constrained) tasks or
interaction tasks. Considering an unknown and disturbed DAE2 robot, in this paper a p-RL
approach is developed to guaranteeing robust stability throughout a continuous-timeadaptive actor–critic, with local exponential convergence of force–position tracking error.
The novel adaptive mechanisms lead to robustness, while an integral sliding mode enforces
tracking. Simulations are presented and discussed to show our proposal’s effectiveness,
and some final remarks are addressed concerning the structural aspects.
Academic Editor: Guanghui Wen
Received: 5 June 2025
Revised: 29 July 2025
Keywords: continuous actor–critic; reinforcement learning; force–position control; robot
manipulators; stability
Accepted: 12 August 2025
Published: 14 August 2025
Citation: Pantoja-Garcia, L.;
Parra-Vega, V.; Garcia-Rodriguez, R.
Physical Reinforcement Learning with
Integral Temporal Difference Error for
Constrained Robots. Robotics 2025, 14,
111. https://doi.org/10.3390/
robotics14080111
Copyright: © 2025 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license
(https://creativecommons.org/
licenses/by/4.0/).
Robotics 2025, 14, 111
1. Introduction
Reinforcement learning (RL) has emerged as an alternative decision-making learning
technique that issues a reinforcement to compute the action, or control, based on recollection of the discount reward encoded throughout the performance evaluation; a distinct
feature of RL versus control is precisely that it evaluates the performance each time and
iteratively corrects the action to improve it, leading to a task being learned. Unfortunately,
for us roboticists, it was developed and substantiated for the tuple of state–action, with
the state s being the output and the action π the input of a system Σ—however, without
an explicit structure of Σ. Thus, to deploy RL in the physical layer, e.g., a robot, a lot of effort is required to guarantee that the physical structural properties of all of the components
are met, with concerns arising about the safety of its deployment in a real-world application [1]. In addition, due to the iterative realm of these schemes, the safety requirements
https://doi.org/10.3390/robotics14080111
Robotics 2025, 14, 111
2 of 13
are exacerbated, leading to sim-to-real schemes to transfer RL schemes to the physical
realm. In addition, when a rigid-body robot engages in contact with a rigid environment,
high-frequency contact is of concern due to the high energy transfer index. Fortunately,
the robotics community has proposed RL schemes based on a Lagrangian structure for
Σ and derived RL motor learning, ready to meet such structures based on passivity-based
and model-free adaptive schemes [2]. In the latter type of scheme, ordinary differential
equations (ODEs) model the Lagrangian robot for free-motion tasks, and safety issues
are handled since the passivity is preserved; uncertainties and unmodeled dynamics are
considered; smooth action is synthesized; and no trial-and-error is involved, but explicit
energy-based stability conditions are established. In this context, the energy-based stability
and adaptive mechanism that substitutes pre-training sets apart this approach of RL for
robots as a machine learning scheme since the learning paradigm of a black-box interactive
process of exploration and exploitation is circumvented using a structure energy-based
adaptation that guides reward recollection without pre-training, quite convenient for physical world applications. In this paper, we extended such an approach to constrained motion
modeled using a differential algebraic system of equations (DAE2) to study position–force
learning tasks.
Most robotic contact tasks require precise control of the normal force exerted on
a surface while following a desired end-effector trajectory on the tangent plane. Active
force–position control considers the DAE2’s constrained dynamics, wherein the derivative
of the momentum represents the Lagrangian multiplier (contact force) to be controlled. Most
schemes circumvent the DAE2 formulation, using ODE (unconstrained motion) dynamical
models, where no state is related to the contact force [3]. Popular schemes that use the latter
have proliferated, among them impedance control [4,5] and stiffness control, which cannot
guarantee position–force convergence. On the other hand, the DAE2 formulation leverages
orthogonalized subspaces to model orthogonal operators from the holonomic constraint,
thereby projecting force and velocity errors into orthogonal complements. Then, control is
designed to enforce force and position convergence simultaneously and independently [6],
followed by model-based schemes [7]. Additionally, to compensate for unknown robot
dynamics, even Lipschitz disturbances, a method called neurocontrol is proposed where
neural networks, NNs, are used as approximator functions or to compensate for unknown
dynamics. Some approaches to contact tasks based on NNs are presented in [8–10]. In
recent years, the application of reinforcement learning (RL) to dynamical systems has
attracted attention due to its ability to learn through interaction by encoding different
behaviors [11]. Crucial elements of RL are the instrumentation of a “reward” and its “effort”
(the value function), which qualify a robot’s task performance accordingly. Depending on
such an evaluation, it issues a reinforcement to the “action”, which leads to an improved
performance while minimizing the value function.
Actor–critic is a technique used to instrument RL based on a critic NN used to approximate the value function of the temporal difference error equation. In contrast, the actor NN
approximates inverse dynamics to yield the action [12]. In control schemes, the actor NN is
coupled with a damping term to stabilize the robot. This scheme has gained popularity
due to its ability to handle uncertainties while gradually improving the performance to
facilitate the successful completion of robotic tasks for free motion, such as in [13,14],
to name a few. For contact/interaction tasks, see [15–18]; notably, in [19], an admittance
controller computes the desired force based on RL, leading to a stable force error. Similarly,
in [15], adaptive dynamic programming based on an LQR is explored, with bounded
errors. In [16], an impedance-based advantage actor–critic (A2C) deals with constraint
uncertainties, while [17] uses an impedance-based natural gradient actor–critic (NAC),
with experiments. Additionally, [18] presents a model-based AC for optimal impedance
Robotics 2025, 14, 111
3 of 13
tuning, and it is used for cooperation with multi-robots in [20,21], even for humanoid
robots [22] without a stability analysis. Although variants of the AC approach have shown
effectiveness for contact/interaction tasks, the literature has overlooked the force–position
convergence, which is critical due to interactions that occur at a high frequency (due to
rigid-body contact), in particular when the robot is constrained by a rigid environment,
i.e., a holonomic constraint that yields a DAE2 model.
An early review [23] and recent work [24] on deep RL for manipulation have pointed
out the need to explicitly address certain challenges in constrained robot dynamics resulting from the physical interaction, which we refer to as physical RL (p-RL). This acronym
aims to distinguish it from RL schemes for unconstrained robots; the underlying foundation of p-RL is based on sound physical interaction principles or contact tasks rather
than simply software apps (s-RL). That is, in p-RL, the physical layer of a robotic system
cannot withstand hundreds, or thousands, or millions, of training or pre-training tests,
as are typically required nowadays in RL, due to the risk of compromising the robot’s
structural integrity. Thus, p-RL schemes need to be substantiated through a model-based
stability analysis to produce an actionable (physically speaking) action command. Actionable p-RL implies control that is smooth, causal, model-free, and bounded, without
pre-training requirements.
In this manuscript, we propose actionable p-RL for a DAE2 robot, showing position–
force convergence with a stability analysis. A continuous-time AC scheme deploys RL,
extending the methodology [25] from unconstrained to constrained robot dynamics. Hereby,
fast and robust adaptation for the critic is obtained by handling robust convergence of the
so-called integral temporal difference (ITD) error. At the same time, a passivity-based actor
is proposed over orthogonalized error manifolds, where robust convergence is guaranteed
based on chatterless integral sliding modes.
2. Preliminaries
2.1. Robot Dynamics and the Problem Statement
Let us take a robot manipulator with n degrees of freedom whose end-effector is
constrained to evolve onto a rigid surface, modeled by the following differential algebraic
equation (DAE index 2, or DAE-2)
H (q)q̈ + C (q, q̇)q̇ + τ f r + g(q) = τ + J φT (q)λ + τd ,
s.t. φ(q) = 0,
(1)
(2)
where q ∈ Rn stands for the generalized position and q̇ ∈ Rn the generalized velocity,
H (q) ∈ Rn×n is the inertia matrix, C (q, q̇) ∈ Rn×n is the Coriolis matrix, g(q) ∈ Rn is the
gravity vector, J φ ∈ Rl ×n is the constrained Jacobian, λ ∈ R1 stands for the contact force in
operational space, and τ f r represents affine friction and τd a Lipschitz disturbance. Notice
that the rigid surface is modeled by the implicit equation φ(q) = 0 ∈ Rl , for l = 1
independent contact point. Additionally, the DAE system is of index 2 since the input
R
appears in the second derivative of the constraint, and its state is ξ = (q, q̇, p = λ), where
q ∈ Rn−r , q̇ ∈ Rn−r , and the momentum p ∈ R1 .
2.2. The Actor–Critic Learning Control Problem
Leveraging the functional Yr = H (q)q̈r + C (q, q̇)q̇r + g(q) + τ f r , where q̇r is a nominal
velocity reference to the shape orthogonalized error coordinate system Sr = q̇ − q̇r , [26],
then the open-loop error equation is defined as
H (q)Ṡr + C (q, q̇)Sr + BSr = τ + τd + J φT λ − Yr .
(3)
Robotics 2025, 14, 111
4 of 13
Thus, the problem statement is to design a model-free p-RL control mechanism for
a DAE2 robot (1) and (2) in order to generate a smooth action policy τ such that the state
R
ξ = (q, q̇, p) → ξ d = (qd , q̇d , pd = λd ) without any previous training or learning and any
knowledge of the robot dynamics, Yr . The use of the term “model-free” in this work refers
to a lack of knowledge of the robot’s dynamic model, but the kinematics are assumed to
be known.
3. Learning Actor–Critic Design
In the AC algorithm proposed here, the critic learning process is based on a stabilityguaranteed integral temporal difference error. On the other hand, the actor synthesizes
a partial action, playing the role as an approximator of the inverse dynamics. In this
way, the proposed controller is composed of the action plus a stabilizer term, typically
a PID-like term.
In the following sections, it is shown how stability is ensured in the NN-critic using
Lyapunov stability theory. After that, the adaptation laws for the NN-actor are designed to
guarantee closed-loop stability.
3.1. The Value Function and the Temporal Difference Error
Let the value function in continuous time, representing the cumulative rewards, given
as [27],
Z
R=
∞
e
t0
− mψ−t
r (m)dm,
(4)
where r represents the instant reward, and ψ corresponds to a discount factor with t0 ≤
m ≤ ∞. In continuous time, the value function is driven by the temporal difference (TD)
error [11], such that differentiating (4), we have
Ṙ =
1
R − r ( t ).
ψ
(5)
In cases where the value function R is not exactly known, the learning goal is to guarantee that
1
δ = Ṙ − R + r = 0.
(6)
ψ
R
R tf
Expressing (6) as a lower-order equation γ = δ = t0 δ(τ )dτ, the integral temporal
difference (ITD) error arises as
γ = R−
1
ψ
Z
R+
Z
r.
(7)
Notice that if γ → 0, so does (6), and henceforth (5) applies. The foundations of this chain
of implications lead to the learning rationale encoded by the unknown value function (4).
Remark 1. The motivation behind the introduction of the ITD error is to drive the learning and
stability properties of the critic by γ, specifically the quasi-sliding mode condition. Additionally, the
inclusion of the ITD eliminates the need for R̈ in the stability analysis. In the next section, the use of
the TD error and the ITD as tools to design critic adaptive weights is explained.
3.2. The Critic Neural Network
Assuming that the smooth value function R of (4) is unknown, yet it is Lipschitz, then
it can be approximated by a neural network. To this end, a large vector of the ideal weights
Wc∗ and a basis Zc∗ ( Xc∗ ) exist for a set of ideal inputs Xc∗ such that R = Wc∗T Zc∗ . Now,
Robotics 2025, 14, 111
5 of 13
considering a smaller set of weights Wc ⊂ Wc∗ and basis Zc ⊂ Zc∗ (∗), a small reconstruction
error ϵR appears that approximates the value function, i.e.,
R = WcT Zc + ϵR .
(8)
The linear parametrization (8) suggests that a subset of adaptive weights Ŵc ∈ Wc and
a basis exist such that the value function R can be approximated as
R̂ = ŴcT Zc ,
(9)
where Ŵc ∈ R p×1 are adaptive weights; Zc = σ (χc ) is the bipolar sigmoid function, with
the scaled input χc = VcT Xc , with Vc a constant matrix; and Xc is the input vector to the
neural network. Using (9) and its derivative, the neural approximation of δ becomes
1
δ̂ = R̂˙ − R̂ + r
ψ
˙ T Z + Ŵ T Ż −
=Ŵ
c c
c c
1 T
Ŵ Zc + r,
ψ c
(10)
where δ̂(t0 ) ̸= 0 in general. Note that using the NN parametrization (9) in Equation (7),
˙ such that δ̂
we obtain γ̂˙ = δ̂. The challenge now becomes proposing an adaptive law Ŵ
c
converges, meaning that the learning process is achieved within a small approximation error.
Proposition 1 (Adaptive Critic Weight Design). Let the adaptation law for the critic’s weights
be defined as follows:
˙
Ŵ
c
= −Kω sgn(Ŵc ) − Ksgn(γ̂)
Zc
,
ZcT Zc
(11)
where Kw , K are positive gains. Then, γ̂ → ϵγ for ϵγ a constant, which leads to γ̂˙ = 0 → δ̂ = 0.
Finally, due to the reconstruction error, we obtain δ → ϵδ .
Proof. See Appendix A.1.
3.3. The Actor Neural Network
The actor network has the role of approximating the inverse dynamics parametrized
by the functional Yr . Then, analogously constant weights Wa and the basis Za exist such that
Yr = WaT Za + ϵa ,
(12)
where ϵa is the neural reconstruction error. Henceforth, an actor neural network exists that
approximates (12) as follows
Ŷr = ŴaT Za ,
(13)
where Ŵa ∈ Rh×n are adaptive weights, and Za = σ (χ a ) is the bipolar sigmoid function,
with the input χ a = VaT Xa , where Va are constant weights, and Xa its input vector. The
˙ still needs to be designed.
adaptation law Ŵ
a
Proposition 2 (Adaptive Actor Weight Design). Let the following adaptive law update the
actor weights:
˙ = −Γ Z S T − Γ Ŵ (γ̂r )2 ,
Ŵ
a
a a r
a a
(14)
Robotics 2025, 14, 111
6 of 13
h×h
where Γ a ∈ R+
is the feedback gain, and (γ̂r )2 constitutes the reinforcement. Then, weights Ŵa
are bounded.
Proof. See Appendix A.2.
3.4. Model-Free Actor–Critic Control Design
Assuming that Yr is unknown and approximated by the NN-actor, let the controller be
given as
τ = −Kd Sr + ŴaT Za + J φT −λd − ṠdF + K F tanh(µSqF ) + ηSvF ,
(15)
where Sr = q̇ − q̇r is an orthogonalized extended velocity error arising when the nominal
reference q̇r is
Z
q̇r = Q(q) q̇ − α∆q + Sdq − Kq sgn(Sqq ) + J φ+ (q) βSvF ,
(16)
where Q(q) = I − J φ+ (q) J φ (q) is the orthogonal projection of J φ , J φ+ is the right pseudoinverse, ∆q = q − qd is the position error, qd ∈ C 2 is the desired position, and β is a positive
definite gain. Thus, the extended velocity error Sr can be rewritten as follows:
Sr = Q(q)Svq − J φ+ (q) βSvF ,
(17)
where
Svq = Sqq + Kq
SvF = SqF + K F
Z
Z
sgn(Sqq )
position error manifold,
(18)
sgn(SqF )
force error manifold,
(19)
R
for Sqq = Sq − Sdq , Sq = ∆q̇ + α∆q, Sdq = Sq (t0 )e−k1 t , SqF = S F − SdF , S F =
∆λ,
−
k
t
2
SdF = S F (t0 )e
, and ∆λ = λ − λd , where λd is the desired contact force, and α, k1 ,
k2 , Kq , K F , β are positive definite feedback gains. Using (3) and (15), we obtain the following closed-loop error equation:
H (q)Ṡr = − C (q, q̇)Sr − BSr + τd − Kd Sr + ŴaT Za − Yr
+ J φT (ṠvF + ηSvF ) + K F J φT ϵz ,
(20)
where ϵz = (tanh(µSqF ) − sgn(SqF )). Notice that the state of the closed-loop error equation
is complemented with (10), (11) and (14). We are now ready to announce the main result.
Theorem 1. Consider the constrained robot dynamics (1) in the closed loop with the proposed
actor–critic learning controller (15), which leads to the system of Equations (10), (11), (14) and (20).
Then, from Propositions 1 and 2 and selecting Kd , Kq , K F large enough, the integral sliding mode at
Sqq = 0 and SqF = 0 is enforced. Thus, the local exponential convergence of the tracking errors ∆q,
∆q̇, and ∆λ is guaranteed, and δ̂ → 0 without any knowledge of the DAE2 dynamics.
Proof. See Appendix A.2.
4. Simulations
Simulations are carried out in Matlab Simulink using the integrator ode4, with a fixed
step of 1 × 10−4 . The simulation consists of a 3-dof robot in contact with a rigid plane
parallel to the x − y plane, see Figure 1, at a height of zd = 0.15 m. The desired trajectory
onto the plane x − y is a circle with the radius a = 0.15 centered at ( xc , yc ) = (0.5, 0);
Robotics 2025, 14, 111
7 of 13
then, the desired Cartesian path is xd = xc + a cos(wt) and yd = yc + a sin(wt), with the
frequency w = 1; the desired force is λd = 25 + 2 sin(t) N.
Figure 1. A robot manipulator in contact with a rigid plane follows the desired trajectory while
exerting a desired force on it.
The robot parameters are the following: link lengths l1 = 0.5, l2 = 0.5, and l3 = 0.35 m;
link masses m1 = 7.2, m2 = 5, and m3 = 1.9 kg; distances to the center of mass lc1 = 0.25,
lc2 = 0.19, and lc3 = 0.12; and inertias I1 = 0.15, I2 = 0.02, and I3 = 0.016. The initial
conditions are q(t0 ) = (0, 0, −π/2) T rad, q̇(t0 ) = (0, 0, 0) T rad/s, corresponding to being
in contact with the plane.
The reward is designed to continuously supervise the tracking performance. Thus,
a weighted summation of the position and velocity errors is considered, without weighting
the integral of the tracking errors, regardless of its orthogonal projection. Then, r =
R
∆q T P∆q + ∆q̇ T A∆q̇ + ( ∆λ)2 , with P = diag(0.9) ∈ Rn×n , A = diag(0.1) ∈ Rn×n so that
the position is greatly weighted given that the robot is constrained in its position. The
adaptation gains are selected as Kw = 7, K = 50, Γ a = I × 1500 and the feedback gains
are selected as Kd = diag(50 100 50), β = 1, α = diag(3 3 3), Kq = diag(1 1 1), K F = 1.15,
k1 = 50, k2 = 10, η = 2000.
Results
In Figure 2, we can see that the integral temporal difference error converges close to
zero and remains constant; consequently, the temporal difference error, a derivative of the
ITD error, converges to zero. This means that the adaptive laws for the NN-critic guarantee
the convergence of the TD error. The integral temporal difference error dynamics facilitate
motor learning through reward recollection; the larger the ITD error or the reward, the
greater the reinforcement to improve the task performance. This is independent of how the
reward policy is designed, including Pavlov’s negative rewards [28].
The joint position and velocity errors are shown in Figure 3, which converge approximately after 1 s, while Figure 4a shows the convergence of the force error in approximately
0.02 s, considerably faster than the position and velocity errors, shown in Figure 4b. Extended velocity errors are shown in Figure 5a, which remain bounded. Additionally,
Figures 5b and 6a show how the invariant manifolds for position-velocity and force, respectively, remain near zero. In Figure 6b, the performance of the smooth control signals
is shown. Finally, Figure 7 shows how the actor–critic weights remain bounded, as is
expected according to the theory. The convergence of the tracking errors stems from the
underlying integral sliding mode, notably without any chattering in the controller, which
Robotics 2025, 14, 111
8 of 13
contrasts with the existing literature, which lacks a similar result. Chattering refers to
a very high-frequency control component that puts the structural integrity of the robot, let
alone its constrained motion, in danger. It is unclear how to achieve smooth and robust
control and convergence using another technique.
(a)
(b)
Figure 2. TD error performance: (a) the ITD error converges faster to the origin, (b) the TD error
converges in approximately 0.02 s.
(a)
(b)
Figure 3. Tracking errors: (a) position tracking error convergence for each joint, ∆qi ; (b) velocity
tracking error convergence for each joint, ∆q̇i , for i = 1, 2, 3.
(a)
(b)
Figure 4. Tracking errors: (a) force tracking error convergence; (b) real vs. desired Cartesian trajectory.
To compare the performance of the proposed approach, a comparative study is presented under the same assumptions as those for the model-free DAE robot, including the
parameters and simulation conditions. Specifically, it is used as a force–position neurocontroller for a DAE-2 robot. For the comparative study, the following performance metrics
Rt
are used: ITAE pos = t t∥∆q∥2 represents the accumulation of the position error over
0
Rt
time; ITAEvel = t t∥∆q̇∥2 represents the accumulation of the velocity error over time;
0
Rt
Rt d
I AC = t ∥τ ∥ and I ACV = t dt
τ represent the control effort index and the smoothness
0
0
of the control signal index, respectively.
Robotics 2025, 14, 111
9 of 13
Table 1 presents the numerical values obtained for each case, indicating that our proposal
yields smaller values, representing a better performance than that of the neurocontroller.
(a)
(b)
Figure 5. Error manifolds: (a) orthogonalized extended velocity errors, Sri , (b) sliding position
manifold, Sqqi for i = 1, 2, 3.
(a)
(b)
Figure 6. (a) Sliding force manifold, SqF , (b) control signal performance, τi , for i = 1, 2, 3.
(a)
(b)
Figure 7. Adaptation of neural weights for the Critic NN (a), and the Actor NN (b).
Table 1. Metrics obtained from our proposal and the neurocontroller for contact tasks.
Control Law
Performance Metrics
ITAE pos
ITAEvel
I AC
I ACV
Our Proposal
4.796 × 10−4
9.194 × 10−2
258.8
142.9
Neurocontroller
7.142 × 10−4
9.246 × 10−2
259
151.6
Robotics 2025, 14, 111
10 of 13
5. Conclusions
A novel model-free AC controller for contact tasks, which yields motor learning in
DAE2 robots, is presented. This scheme is based on a method called p-RL, which refers
to the application of RL to dynamical systems that interact with their environments. The
proposed p-RL is instrumented through an AC architecture for robotic contact tasks, instrumenting novel adaptive laws. It is worth mentioning that the stability involves the nominal
DAE2 dynamics; however, the AC-based controller scheme is free of model dynamics.
Update laws are designed to satisfy Lyapunov stability rather than being concerned
with parametric variations, as in gradient descent. In this way, local minima are avoided,
resulting in stronger stability properties in the time domain of the complete state of the
closed-loop error equation.
A simulation for a 3D robot constrained by a rigid plane is presented, demonstrating
tracking with smooth control actions, without requiring knowledge of the disturbed dynamics. An experimental evaluation is underway, including a comparison with various
reward policies, as well as asymptotic model-free controllers that guarantee tracking, such
as neurocontrol and integral sliding modes. Finally, we have employed a general formulation of DAE2 robots, which enables a straightforward extension to multirobot tasks, such
as cooperative manipulators and robotic hand manipulation, particularly in critical contact
tasks where continuous oversight of the performance is required.
Safety concerns arise when attempting to deploy an RL scheme (obtained under
the premise of an abstract system Σ) in a physical system. Lyapunov-based schemes are
a straightforward methodology to deal with, as devised more than two decades ago in the
sound paper [29], or, for instance, in synthesizing control Lyapunov functions from barrier
Lyapunov functions or Lyapunov stability, as in our case.
Unlike the traditional RL schemes reported in the literature, the proposed p-RL does
not require any training or learning in the actor or the critic. Although sim-to-real transfer
may be recommended to reduce high real-world trial costs, it is not a fundamental step for
the proposed approach. That is, the process of transferring knowledge or policies learned
in a simulated environment to the real world is not necessary. Only the process of tuning
the gains is required to satisfy the stability conditions, where physics-based simulators can
be used to improve the transferability.
Last but not least, model-free force–position control for DAE2 robots was solved
over three decades ago, without chattering [7]. Therefore, the question arises as to what
contribution is obtained by introducing motor learning. When motor learning is deployed,
tracking is commensurate with the performance evaluation, not only asymptotic tracking.
This latter notion enforces tracking as t → ∞, whereas motor learning supervises the
performance at each instant, not in the limit, at infinity.
Author Contributions: Conceptualization and investigation, L.P.-G., V.P.-V. and R.G.-R.; methodology
and formal analysis, L.P.-G., V.P.-V. and R.G.-R.; software and resources, L.P.-G.; writing—original
draft preparation, L.P.-G., V.P.-V. and R.G.-R.; writing—review, editing and supervision, V.P.-V. and
R.G.-R. All authors have read and agreed to the published version of the manuscript.
Funding: This research received no external funding.
Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.
Data Availability Statement: No new data were created, or used from any publicly archived datasets.
Conflicts of Interest: The authors declare no conflicts of interest.
Robotics 2025, 14, 111
11 of 13
Appendix A. Proofs of the Propositions and Theorem
Appendix A.1. Proof of Proposition 1
Consider the following Lyapunov candidate function (LCF):
Vγ =
1 2 1 T
γ̂ + Ŵc Ŵc
2
2
(A1)
which qualifies as the LCF for system (10) and (11) for the origin (γ̂, Ŵc ) = (0, 0). Taking
the time derivative to (A1) and substituting Equation (10) leads to
˙
V̇γ =γ̂γ̂˙ + ŴcT Ŵ
c
1
˙
=γ̂ R̂˙ − R̂ + r + ŴcT Ŵ
c
ψ
˙ T Z + Ŵ T Ż − 1 Ŵ T Z + r + Ŵ T Ŵ
˙
=γ̂ Ŵ
c
c
c c
c c
c
ψ c
(A2)
Using the weight adaptation law defined in (11), (A2) can be written as follows:
!
T
Zc
1 T
T
V̇γ =γ̂
−Ksgn(γ̂) T − Kω sgn(Ŵc ) Zc + Ŵc Żc − Ŵc Zc + r
ψ
Zc Zc
Zc
+ ŴcT −Ksgn(γ̂) T − Kω sgn(Ŵc )
Zc Zc
(A3)
c
Considering ψ ≫ 1 and using ∥ ZZT Z
∥ ≤ 1, Equation (A3) becomes
c
c
γ̂
V̇γ = − K γ̂sgn(γ̂) − Kω γ̂ sgn(Ŵc ) T Zc +γ̂ŴcT Żc − ŴcT Zc +γ̂r
ψ
{z
}
|
|{z}
ϵ1
ϵ2
Zc
− KŴcT sgn(γ̂) T −Kω ŴcT sgn(Ŵc )
Zc Zc
|
{z
}
(A4)
ϵ3
where ϵ1 , ϵ2 , ϵ3 are bounded terms. Then, (A4) becomes
V̇γ ≤ − K |γ̂| − Kω Ŵc + |γ̂| Żc Ŵc + Kω |γ̂||ϵ1 | − ϵ2 Ŵc + γ̂r − Kϵ3 Ŵc
≤ − (K − Kω ϵ1 )|γ̂| − (Kω − |γ̂| Żc − ϵ2 − Kϵ3 ) Ŵc + γ̂r
≤ − η1 |γ̂| − η2 Ŵc + ϵγ
(A5)
If K > Kω ϵ1 and Kω > (| Żc ||γ̂| + ϵ2 )/(1 + ϵ3 ), then η1 > 0, η2 > 0. In this condition,
(A5) guarantees that (γ̂, Ŵc ) → ϵ = ϵγ / inf(η1 , η2 ), a very small vicinity. This implies that
the L1 norm induces a quasi-sliding mode at (γ̂, Ŵc ) = (ϵ5 , ϵ6 ) in finite time but not at
(γ̂, Ŵc ) = (0, 0) (QED).
Appendix A.2. Proof of the Theorem
Consider the derivative of the Lyapunov candidate function VT = 21 SrT H(q)Sr + 12 SvF βSvF +
1
T −1
2 tr(W̃a Γa W̃a ) + Vγ , along with its solutions (14) and (20); for γ̃ = ∆γ = γ − γ̂, we obtain
Robotics 2025, 14, 111
12 of 13
Ḣ
T
1 ˙
V̇T =SrT H (q)Ṡr + SrT Sr + SvF
βṠvF + tr −W̃aT Γ−
a Ŵa + V̇γ
2
T
T
=Sr −(Kd + B)Sr + ŴaT Za − Yr + τd + K F J φT ϵz − SvF
βηSvF
− tr W̃aT (− Za SrT − Ŵa (γ̂r )2 ) + V̇γ
T
=SrT −(Kd + B)Sr − W̃aT Za − ϵa + τd + K F J φT ϵz − SvF
βηSvF
+ SrT W̃aT Za − tr −W̃a Ŵa (γ̂r )2 + V̇γ
T
≤ − SrT (Kd + B)Sr + SrT (τd − ϵa ) − SvF
βηSvF + SrT K F J φT ϵz
− (γ̂r )2 tr W̃aT (W̃a − Wa ) − η1 |γ̂| − η2 Ŵc + γ̂r
(A6)
where we have used the trace property, and V̇γ ≤ −η1 |γ̂| − η2 Ŵc + γ̂r. Thus, (A6) becomes
T
V̇T ≤ − SrT (Kd + B)Sr − SvF
βηSvF + ∥Sr ∥ ϵa + ϵτd + Ez − η1 ∥γ̂∥ − η2 ∥Ŵc ∥
Wamax 2
Wamax
2
− (γ̂r )
W̃a −
+ (γ̂r )2
+ γ̂r
2
4
(A7)
where ϵτd ≥ ||τd || and Ez ≤ K F J φT ϵz . Then, for large enough gains Kd , β, η, η1 and η2 , the
closed-loop signals Sr , W̃c , W̃a , and γ̂ remain bounded. Now, we continue to prove the
existence of the sliding mode at Sqq and SqF . From (18) and (19), we obtain
T
Sqq
Ṡqq = − Kq Sqq + Ṡvq Sqq
≤ − µq Sqq
T
SqF ṠqF = − K F SqF
≤ − µ F SqF
(A8)
+ ṠvF SqF
(A9)
where µq = Kq − ϵq and µ F = K F − ϵ F , with ϵq > Ṡvq and ϵq > ṠvF ; then, tuning Kq > ϵq
and K F > ϵ F yields µq , µ F > 0, guaranteeing the sliding mode condition at Sqq = 0
and SqF = 0, with (∆q, ∆q̇), ∆λ as the unique solution to these manifolds, respectively;
thus, local exponential convergence for the position, velocity, and force tracking errors is
proven (QED).
References
1.
2.
3.
4.
5.
6.
7.
8.
9.
Gu, S.; Yang, L.; Du, Y.; Chen, G.; Walter, F.; Wang, J.; Knoll, A. A Review of Safe Reinforcement Learning: Methods, Theories,
and Applications. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 11216–11235. [CrossRef]
Pantoja-Garcia, L.; Parra-Vega, V.; Garcia-Rodriguez, R. Automatic reinforcement for robust model-free neurocontrol of robots
without persistent excitation. Int. J. Adapt. Control Signal Process. 2024, 38, 221–236. [CrossRef]
Chiaverini, S.; Siciliano, B.; Villani, L. A survey of robot interaction control schemes with experimental comparison. IEEE/ASME
Trans. Mechatronics 1999, 4, 273–285. [CrossRef]
Hogan, N. Impedance Control: An Approach to Manipulation. In Proceedings of the 1984 American Control Conference,
San Diego, CA, USA, 6–8 June 1984; pp. 304–313. [CrossRef]
Chien, M.C.; Huang, A.C. Adaptive Impedance Control of Robot Manipulators based on Function Approximation Technique.
Robotica 2004, 22, 395–403. [CrossRef]
McClamroch, N.; Wang, D. Feedback stabilization and tracking of constrained robots. IEEE Trans. Autom. Control 1988, 33, 419–426.
[CrossRef]
Parra-Vega, V.; Arimoto, S.; Liu, Y.; Naniwa, T. Model-based adaptive hybrid control for robot manipulators under holonomic
constraints. IFAC Proc. Vol. 1994, 27, 475–480. [CrossRef]
Jung, S.; Hsia, T. Neural network impedance force control of robot manipulator. IEEE Trans. Ind. Electron. 1998, 45, 451–461.
[CrossRef]
Bechlioulis, C.P.; Doulgeri, Z.; Rovithakis, G.A. Neuro-Adaptive Force/Position Control With Prescribed Performance and
Guaranteed Contact Maintenance. IEEE Trans. Neural Netw. 2010, 21, 1857–1868. [CrossRef] [PubMed]
Robotics 2025, 14, 111
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
13 of 13
Peng, G.; Yang, C.; He, W.; Chen, C.L.P. Force Sensorless Admittance Control With Neural Learning for Robots With Actuator
Saturation. IEEE Trans. Ind. Electron. 2020, 67, 3138–3148. [CrossRef]
Sutton, R.S.; Barto, A.G. Reinforcement Learning: An Introduction, 2nd ed.; The MIT Press: Cambridge, MA, USA, 2018.
Barto, A.G.; Sutton, R.S.; Anderson, C.W. Looking Back on the Actor–Critic Architecture. IEEE Trans. Syst. Man Cybern. Syst.
2021, 51, 40–50. [CrossRef]
He, W.; Gao, H.; Zhou, C.; Yang, C.; Li, Z. Reinforcement Learning Control of a Flexible Two-Link Manipulator: An Experimental
Investigation. IEEE Trans. Syst. Man Cybern. Syst. 2021, 51, 7326–7336. [CrossRef]
Vu, V.T.; Dao, P.N.; Loc, P.T.; Huy, T.Q. Sliding Variable-based Online Adaptive Reinforcement Learning of Uncertain/Disturbed
Nonlinear Mechanical Systems. J. Control Autom. Electr. Syst. 2021, 32, 281–290. [CrossRef]
Zhan, H.; Huang, D.; Chen, Z.; Wang, M.; Yang, C. Adaptive dynamic programming-based controller with admittance adaptation for
robot–environment interaction. Int. J. Adv. Robot. Syst. 2020, 17, 1729881420924610. [CrossRef]
Zhang, T.; Xiao, M.; Zou, Y.b.; Xiao, J.d.; Chen, S.y. Robotic Curved Surface Tracking with a Neural Network for Angle
Identification and Constant Force Control based on Reinforcement Learning. Int. J. Precis. Eng. Manuf. 2020, 21, 869–882.
[CrossRef]
Liang, L.; Chen, Y.; Liao, L.; Sun, H.; Liu, Y. A novel impedance control method of rubber unstacking robot dealing with
unpredictable and time-variable adhesion force. Robot. Comput.-Integr. Manuf. 2021, 67, 102038. [CrossRef]
Zhao, X.; Han, S.; Tao, B.; Yin, Z.; Ding, H. Model-Based Actor-Critic Learning of Robotic Impedance Control in Complex
Interactive Environment. IEEE Trans. Ind. Electron. 2022, 69, 13225–13235. [CrossRef]
Perrusquía, A.; Yu, W.; Soria, A. Position/force control of robot manipulators using reinforcement learning. Ind. Robot. Int. J.
Robot. Res. Appl. 2019, 46, 267–280. [CrossRef]
Dao, P.N.; Do, D.K.; Nguyen, D.K. Adaptive Reinforcement Learning-Enhanced Motion/Force Control Strategy for Multirobot
Systems. Math. Probl. Eng. 2021, 2021, 5560277. [CrossRef]
Dao, P.N.; Liu, Y.C. Adaptive reinforcement learning in control design for cooperating manipulator systems. Asian J. Control 2022,
24, 1088–1103. [CrossRef]
Katić, D.M.; Rodić, A.D.; Vukobratović, M.K. Hybrid dynamic control algorithm for humanoid robots based on reinforcement
learning. J. Intell. Robot. Syst. Theory Appl. 2008, 51, 3–30. [CrossRef]
Kormushev, P.; Calinon, S.; Caldwell, D.G. Reinforcement Learning in Robotics: Applications and Real-World Challenges.
Robotics 2013, 2, 122–148. [CrossRef]
Liu, R.; Nageotte, F.; Zanne, P.; de Mathelin, M.; Dresp-Langley, B. Deep Reinforcement Learning for the Control of Robotic
Manipulation: A Focussed Mini-Review. Robotics 2021, 10, 22. [CrossRef]
Pantoja-Garcia, L.; Parra-Vega, V.; Garcia-Rodriguez, R.; Vázquez-García, C.E. A Novel Actor—Critic Motor Reinforcement
Learning for Continuum Soft Robots. Robotics 2023, 12, 141. [CrossRef]
Parra-Vega, V.; Arimoto, S. A passivity-based adaptive sliding mode position-force control for robot manipulators. Int. J. Adapt.
Control Signal Process. 1996, 10, 365–377. [CrossRef]
Doya, K. Temporal Difference Learning in Continuous Time and Space. In Advances in Neural Information Processing Systems,
Proceedings of the 1995 Conference, Denver, CO, USA, 27–30 November 1995; Touretzky, D., Mozer, M., Hasselmo, M., Eds.; MIT Press:
Cambridge, MA, USA, 1995; Volume 8, pp. 1073–1079.
Madden, G.J.; Mahmoudi, S.; Brown, K. Pavlovian learning and conditioned reinforcement. J. Appl. Behav. Anal. 2023, 56, 498–519.
[CrossRef]
Perkins, T.; Barto, A. Lyapunov design for safe reinforcement learning control. In Safe Learning Agents: Papers from the 2002 AAAI
Symposium, Palo Alto, CA, USA, 25–27 March 2002; AAAI Press: Menlo Park, CA, USA, 2002; pp. 23–30.
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.
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )